abc0ee7c-b830-47fa-9a31-77c7d55ba3f7.js.map 1.55 KB
{"version":3,"sources":["assets/script/game/ui/presenter/QRCodeViewPresenter.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2EAAoE;AACpE,yGAAkG;AAClG,sEAAyD;AACzD,wDAAsF;AAGtF;IAAA,IAAqB,mBAAmB,GAAxC,MAAqB,mBAAoB,SAAQ,yBAAgC;QAK7E;YACI,KAAK,EAAE,CAAC;YACR,IAAI,CAAC,UAAU,GAAG;gBACd,QAAQ,EAAE,mCAAyB,CAAC,WAAW,EAAE,CAAC,WAAW,EAAE;gBAC/D,UAAU,EAAE,mCAAyB,CAAC,WAAW,EAAE,CAAC,aAAa,EAAE;aACtE,CAAC;QACN,CAAC;QAED,MAAM;YACF,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;YACxB,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACxC,CAAC;KACJ,CAAA;IAhBU,wBAAI,GAAG,qBAAqB,CAAC;IADnB,mBAAmB;QADvC,qCAAY,CAAC,2BAAc,CAAC;OACR,mBAAmB,CAiBvC;IAAD,0BAAC;KAAA;kBAjBoB,mBAAmB","file":"","sourceRoot":"/","sourcesContent":["import { Presenter } from \"../../../common/classbase/PresenterBase\";\nimport CustomerServiceDataCenter from \"../../../customerService/script/CustomerServiceDataCenter\";\nimport { RegPresenter } from \"../PresenterCCViewFactory\";\nimport { QRCodeViewType, QRCodeView, QRCodeViewProps } from \"../view/type/QRCodeView\";\n\n@RegPresenter(QRCodeViewType)\nexport default class QRCodeViewPresenter extends Presenter<undefined, QRCodeView>{\n    static uuid = \"QRCodeViewPresenter\";\n\n    private _viewProps: QRCodeViewProps;\n\n    constructor() {\n        super();\n        this._viewProps = {\n            tipLabel: CustomerServiceDataCenter.getInstance().getTipLabel(),\n            qrCodePath: CustomerServiceDataCenter.getInstance().getQRCodePath(),\n        };\n    }\n\n    onOpen() {\n        super.onOpen(undefined);\n        this.view.setProps(this._viewProps);\n    }\n}\n"]}