a20974c8-7c92-402f-af9c-b882e50935e2.js.map
2.1 KB
{"version":3,"sources":["assets/script/game/ui/view/impl/ExchangeCodeViewImpl.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,+DAAyG;AACzG,wEAAqE;AACrE,yEAAuD;AACvD,sEAA6E;AAE7E,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC;AAI5C;IAAA,IAAa,oBAAoB,GAAjC,MAAa,oBAAqB,SAAQ,uBAAiC;QAA3E;;YAEI,aAAQ,GAAa,2BAAU,CAAC;YAGhC,YAAO,GAAe,6BAAY,CAAC;QAgBvC,CAAC;QAdG,MAAM;YACF,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE,IAAI,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;YACnD,IAAI,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACxD,CAAC;QAED,qBAAqB;YACjB,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;YACjC,IAAI,CAAC,KAAK,EAAE,CAAC;QACjB,CAAC;QAED,iBAAiB;YACb,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;YACrD,IAAI,CAAC,KAAK,EAAE,CAAC;QACjB,CAAC;KACJ,CAAA;IAnBG;QADC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC;0DACa;IAGhC;QADC,QAAQ,CAAC,EAAE,CAAC,OAAO,CAAC;yDACc;IAL1B,oBAAoB;QAFhC,OAAO;QACP,gCAAO,CAAC,uCAAoB,EAAE,4BAA4B,CAAC;OAC/C,oBAAoB,CAqBhC;IAAD,2BAAC;KAAA;AArBY,oDAAoB","file":"","sourceRoot":"/","sourcesContent":["import { ExchangeCodeViewType, ExchangeCodeViewProps, ExchangeCodeView } from \"../type/ExChangeCodeView\";\r\nimport { CCPureView } from \"../../../../common/classbase/CCViewBase\";\r\nimport { RegView } from \"../../PresenterCCViewFactory\";\r\nimport { DummyLabel, DymmyEditBox } from \"../../../../common/CCDummyObjects\";\r\n\r\nconst { ccclass, property } = cc._decorator;\r\n\r\n@ccclass\r\n@RegView(ExchangeCodeViewType, \"prefab/ui/ExchangeCodeView\")\r\nexport class ExchangeCodeViewImpl extends CCPureView<ExchangeCodeViewProps> implements ExchangeCodeView {\r\n @property(cc.Label)\r\n titlelbl: cc.Label = DummyLabel;\r\n\r\n @property(cc.EditBox)\r\n editbox: cc.EditBox = DymmyEditBox;\r\n\r\n onLoad() {\r\n this.bindProp(\"titletxt\", this.titlelbl, \"string\");\r\n this.bindProp(\"contenttxt\", this.editbox, \"string\");\r\n }\r\n\r\n onCancleClickCallback() {\r\n this._props.onActionClick(false);\r\n this.close();\r\n }\r\n\r\n onOkClickCallback() {\r\n this._props.onActionClick(true, this.editbox.string);\r\n this.close();\r\n }\r\n}"]}