44b2dcaf-3655-48c7-9fe9-9d1b11e5d257.js.map 2.09 KB
{"version":3,"sources":["assets/script/game/ui/view/impl/AlertToBeContinueImpl.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,sEAA8D;AAC9D,8EAA2E;AAC3E,4EAAyE;AACzE,uDAAoD;AACpD,sEAAmE;AAEnE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAA;AAG3C;IAAA,IAAa,qBAAqB,GAAlC,MAAa,qBAAsB,SAAQ,EAAE,CAAC,SAAS;QAAvD;;YAEI,eAAU,GAAY,0BAAS,CAAC;YAWhC,YAAY;QAChB,CAAC;QAXG,yBAAyB;QACzB,WAAW;YACP,uBAAuB;YACvB,+BAAc,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,UAAU,CAAC,EAAE;gBACvE,QAAQ,EAAE,GAAG,EAAE;oBACX,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;gBACxB,CAAC;aACJ,EAAE,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAA;YAClC,mCAAgB,CAAC,gBAAgB,EAAE,CAAC;QACxC,CAAC;KAEJ,CAAA;IAZG;QADC,QAAQ,CAAC,EAAE,CAAC,IAAI,CAAC;6DACc;IAFvB,qBAAqB;QADjC,OAAO;OACK,qBAAqB,CAcjC;IAAD,4BAAC;KAAA;AAdY,sDAAqB;AAgB3B,KAAK,UAAU,gBAAgB;IAClC,IAAI,CAAC,uBAAU,CAAC,gBAAgB,EAAE;QAC9B,uBAAU,CAAC,gBAAgB,GAAG,IAAI,CAAC;QACnC,MAAM,qBAAS,CAAC,SAAS,CAAC,wBAAwB,CAAC,CAAC;KACvD;AACL,CAAC;AALD,4CAKC","file":"","sourceRoot":"/","sourcesContent":["import { DummyNode } from \"../../../../common/CCDummyObjects\";\nimport { UIManager } from \"../../../../common/gameplay/managers/UIManager\";\nimport { AnimationUtils } from \"../../../../common/utils/AnimationUtils\";\nimport { GameConfig } from \"../../../../GameConfig\";\nimport { GameModelManager } from \"../../../model/GameModelManager\";\n\nconst { ccclass, property } = cc._decorator\n\n@ccclass\nexport class AlertToBeContinueImpl extends cc.Component {\n    @property(cc.Node)\n    momentNode: cc.Node = DummyNode;\n    //#region editor bindings\n    closeAction() {\n        // this.node.destroy();\n        AnimationUtils.hideUIAnim(this.node, this.node.getChildByName(\"mainNode\"), {\n            callback: () => {\n                this.node.destroy();\n            }\n        }, this.node.getChildByName(\"BG\"))\n        GameModelManager.checkAutoPopView();\n    }\n    //#endregion\n}\n\nexport async function showToBeContinue() {\n    if (!GameConfig.showToBeContinue) {\n        GameConfig.showToBeContinue = true;\n        await UIManager.showAlert(\"prefab/ui/ToBeContinue\");\n    }\n}"]}