78e0410b-bcbe-4e20-b27c-3c966b2d3076.js.map 2.04 KB
{"version":3,"sources":["assets/script/game/ui/view/type/DatingEventSubview.ts"],"names":[],"mappings":";;;;;;;AAmDa,QAAA,sBAAsB,GAAG,oBAAoB,CAAC","file":"","sourceRoot":"/","sourcesContent":["import { ListItemProps, ListView, ListViewProps } from \"../../baseview/ListView\";\nimport { PureSubview } from \"../../../../common/classbase/ViewBase\";\nimport { DatingEventStatus } from \"../../../model/DatingEventSceneModel\";\nimport { DatePrefabDirectType, StepType } from \"../../../Enums\";\n\nexport interface DatingEventItemProps extends ListItemProps {\n    title: string;\n    // date: string;\n    // time: string;\n    status: DatingEventStatus;\n    // lockText?: string;\n    coverImage: string;\n    portraitImage?: string;\n    // lineStyle: \"none\" | 0 | 1;\n    // progress: number;\n    // showItemClear: boolean;\n    // showProgress: boolean;\n    // reviewCostNum: number;\n    itype: DatePrefabDirectType;\n}\ntype OptionChapter = (stepType: StepType) => void;\nexport interface DatingEventSubviewProps extends ListViewProps<DatingEventItemProps> {\n    showContinue: boolean;\n    chapterName: string;\n    showLeft: boolean;\n    showRight: boolean;\n    showChapterClear: boolean;\n    onOptionChapter: OptionChapter;\n    chapterIndex: number;\n    onScrollBegin: () => void;\n    onScrollEnd: () => void;\n    onLeftButtonClickCallback: () => void;\n    onRightButtonClickCallback: () => void;\n    onNameButtonClickCallback: () => void;\n    onCloseSectionViewCallBack: () => void;\n}\n\nexport interface GetListItemNode {\n    getItemNode: (k: string) => cc.Node | undefined;\n    // setCurrEventId: (id: number) => void;\n    getLeftButton: () => cc.Button;\n    getNameButton: () => cc.Button;\n    getRightButton: () => cc.Button;\n    getScrollViewRoot: () => cc.Node;\n    getScrollViewContent: () => cc.Node;\n    getSectionBtn: () => cc.Prefab;\n    getExtraPlotButton: () => cc.Node;\n}\n\nexport type DatingEventSubview = ListView & PureSubview<DatingEventSubviewProps> & GetListItemNode;\n\nexport const DatingEventSubviewType = \"DatingEventSubview\";"]}