| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- System.register(["__unresolved_0", "cc", "__unresolved_1"], function (_export, _context) {
- "use strict";
- var _reporterNs, _cclegacy, JsonUtil, TablePromptWindow, _crd;
- function _reportPossibleCrUseOfJsonUtil(extras) {
- _reporterNs.report("JsonUtil", "../../../../../extensions/oops-plugin-framework/assets/core/utils/JsonUtil", _context.meta, extras);
- }
- _export("TablePromptWindow", void 0);
- return {
- setters: [function (_unresolved_) {
- _reporterNs = _unresolved_;
- }, function (_cc) {
- _cclegacy = _cc.cclegacy;
- }, function (_unresolved_2) {
- JsonUtil = _unresolved_2.JsonUtil;
- }],
- execute: function () {
- _crd = true;
- _cclegacy._RF.push({}, "1e3d7uann5MRokAL2wULm9y", "TablePromptWindow", undefined);
- /*
- * @Author: dgflash
- * @Date: 2022-06-02 09:38:48
- * @LastEditors: dgflash
- * @LastEditTime: 2022-08-02 14:26:35
- */
- /** 演示oops-plugin-excel-to-json插件生成的配置表数据结构(可删除) */
- _export("TablePromptWindow", TablePromptWindow = class TablePromptWindow {
- constructor() {
- this.data = void 0;
- this.id = 0;
- this.id1 = 0;
- this.id2 = 0;
- }
- init(id, id1, id2) {
- var table = (_crd && JsonUtil === void 0 ? (_reportPossibleCrUseOfJsonUtil({
- error: Error()
- }), JsonUtil) : JsonUtil).get(TablePromptWindow.TableName);
- this.data = table[id][id1][id2];
- this.id = id;
- this.id1 = id1;
- this.id2 = id2;
- }
- get title() {
- return this.data.title;
- }
- get describe() {
- return this.data.describe;
- }
- get array() {
- return this.data.array;
- }
- get hp() {
- return this.data.hp;
- }
- });
- TablePromptWindow.TableName = "PromptWindow";
- _cclegacy._RF.pop();
- _crd = false;
- }
- };
- });
- //# sourceMappingURL=d66f828ce5ef8b4325fb2691af217aa5ef0ca7a4.js.map
|