83983ea7-5e6e-4eda-b421-1ac148711443.js.map
1.79 KB
{"version":3,"sources":["assets/script/game/ui/presenter/AlertDialogViewPresenter.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sEAAyD;AACzD,kEAA0G;AAC1G,2EAAoE;AACpE,yCAAgC;AAGhC;IAAA,IAAqB,wBAAwB,GAA7C,MAAqB,wBAAyB,SAAQ,yBAAgD;QAOlG;YACI,KAAK,EAAE,CAAC;QACZ,CAAC;QAED,MAAM,CAAC,KAA2B;YAC9B,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YACpB,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;YACxB,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YACpC,IAAI,CAAC,MAAM,EAAE,CAAC;QAClB,CAAC;QAED,MAAM;YACF,KAAK,CAAC,MAAM,EAAE,CAAC;YACf,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACxC,CAAC;QAED,OAAO;YACH,KAAK,CAAC,OAAO,EAAE,CAAC;YAChB,eAAG,CAAC,YAAY,EAAE,CAAC;QACvB,CAAC;KACJ,CAAA;IAzBU,6BAAI,GAAG,iBAAiB,CAAC;IAFf,wBAAwB;QAD5C,qCAAY,CAAC,qCAAmB,CAAC;OACb,wBAAwB,CA2B5C;IAAD,+BAAC;KAAA;kBA3BoB,wBAAwB","file":"","sourceRoot":"/","sourcesContent":["import { RegPresenter } from \"../PresenterCCViewFactory\";\r\nimport { AlertDialogViewType, AlertDialogViewProps, AlertDialogView } from \"../view/type/AlertDialogView\";\r\nimport { Presenter } from \"../../../common/classbase/PresenterBase\";\r\nimport { SDK } from \"simba-sdk\";\r\n\r\n@RegPresenter(AlertDialogViewType)\r\nexport default class AlertDialogViewPresenter extends Presenter<AlertDialogViewProps, AlertDialogView>\r\n{\r\n static uuid = \"AlertDialogView\";\r\n\r\n private _viewProps: AlertDialogViewProps;\r\n\r\n\r\n constructor() {\r\n super();\r\n }\r\n\r\n onOpen(props: AlertDialogViewProps) {\r\n super.onOpen(props);\r\n this._viewProps = props;\r\n this.view.setProps(this._viewProps);\r\n this.onShow();\r\n }\r\n\r\n onShow() {\r\n super.onShow();\r\n this.view.showView(this._viewProps);\r\n }\r\n \r\n onClose() {\r\n super.onClose();\r\n SDK.hideBannerAd();\r\n }\r\n}"]}