6a3ace6e-4fc7-4699-83d1-6a456d3a2937.js.map
1.3 KB
{"version":3,"sources":["assets/script/game/ui/view/type/AlertDialogView.ts"],"names":[],"mappings":";;;;;;;AA8Ba,QAAA,mBAAmB,GAAG,iBAAiB,CAAC","file":"","sourceRoot":"/","sourcesContent":["import { PureView } from \"../../../../common/classbase/ViewBase\";\r\n\r\n\r\nexport type AlertDialogClickCallback = (type: string, ret: boolean, param?: any) => void;\r\nexport type GetSvBtnType = () => string;\r\n\r\ntype ShowView = (props: AlertDialogViewProps) => void;\r\n\r\nexport interface AlertDialogViewProps {\r\n dataptr: any; //传送的数据\r\n titlecontent: string; //标题文本\r\n content: string; //文本内容\r\n ishasad: boolean; //是否存在广告\r\n istwobtn: boolean; //是否是双按钮的\r\n adconfig: string; //广告配置\r\n callback: AlertDialogClickCallback; //返回函数\r\n location?: string;\r\n hasBanner?: boolean;//是否展示bannner\r\n isthreebtn?: boolean;\r\n isadlimit?: boolean;\r\n isShareScreen?: boolean;\r\n}\r\n\r\ntype AlertDialogViewBase = PureView<AlertDialogViewProps>;\r\n\r\nexport interface AlertDialogView extends AlertDialogViewBase {\r\n getSvBtnType: GetSvBtnType;\r\n showView: ShowView;\r\n}\r\n\r\nexport const AlertDialogViewType = \"AlertDialogView\";\r\n\r\n\r\n\r\n"]}