hflvloader 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/hflvloader.es.js +1131 -901
  2. package/package.json +1 -1
@@ -1,261 +1,261 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(".component[data-v-3fc3a63c]{position:absolute}.canvas-container[data-v-ed658753]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;margin:auto;overflow:hidden}.canvas-container .canvas[data-v-ed658753]{position:relative;margin:auto;background-color:transparent!important}.ve-comp-svg-icon{width:100%;height:100%;position:relative;fill:currentColor;vertical-align:-2px}.full-screen-dialog-wrapper[data-v-fe28b3b7] .no-header-dialog{margin:0!important;padding:0!important}.full-screen-dialog-wrapper[data-v-fe28b3b7] .no-header-dialog .el-dialog__header{display:none!important;padding-bottom:0!important}.custom-omit-input[data-v-956a5a3a]{width:100%}.custom-omit-input[data-v-956a5a3a] .el-input-group__append{padding:0}.group>div[data-v-20de9881]{position:relative;width:100%;height:100%}.group>div .component[data-v-20de9881]{position:absolute}")),document.head.appendChild(a)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
- import { withDirectives as At, createElementBlock as B, openBlock as O, createBlock as L, resolveDynamicComponent as pe, normalizeStyle as de, vShow as Ft, computed as w, reactive as se, onMounted as me, watch as Pe, ref as k, createElementVNode as ne, Fragment as Oe, renderList as Ve, provide as ge, defineComponent as jt, normalizeClass as Je, resolveComponent as W, withCtx as A, createVNode as U, mergeProps as Bt, createSlots as Ht, createCommentVNode as Re, toDisplayString as Nt, createTextVNode as $, renderSlot as Lt, inject as fe, onBeforeMount as De, onBeforeUnmount as Ae, onUnmounted as Fe } from "vue";
3
- import qt from "json5";
4
- import Kt from "js-md5";
5
- import { defineStore as Jt } from "pinia";
6
- import he from "js-cookie";
7
- import { ElMessage as Ut, ElNotification as Wt, ElLoading as zt, ElMessageBox as Ue } from "element-plus";
8
- import { useRouter as je, useRoute as Be } from "vue-router";
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('@charset "UTF-8";.component[data-v-3fc3a63c]{position:absolute}.canvas-container[data-v-ed658753]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;margin:auto;overflow:hidden}.canvas-container .canvas[data-v-ed658753]{position:relative;margin:auto;background-color:transparent!important}.ve-comp-svg-icon{width:100%;height:100%;position:relative;fill:currentColor;vertical-align:-2px}.full-screen-dialog-wrapper[data-v-f70ef416] .no-header-dialog{padding:0!important}.full-screen-dialog-wrapper[data-v-f70ef416] .no-header-dialog .el-dialog__header{display:none!important;padding-bottom:0!important}.custom-omit-input[data-v-956a5a3a]{width:100%}.custom-omit-input[data-v-956a5a3a] .el-input-group__append{padding:0}.group>div[data-v-20de9881]{position:relative;width:100%;height:100%}.group>div .component[data-v-20de9881]{position:absolute}.panel-area[data-v-f00c8b88]{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden}.panel-area .panel-condition[data-v-f00c8b88]{height:50px;flex-shrink:0;min-height:50px}.panel-area .panel-table[data-v-f00c8b88]{flex:1;overflow:hidden;min-height:100px}')),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
2
+ import { withDirectives as xe, createElementBlock as H, openBlock as T, createBlock as K, resolveDynamicComponent as ye, normalizeStyle as _e, vShow as Ge, computed as P, reactive as ae, onMounted as ve, watch as Ie, ref as E, createElementVNode as ee, Fragment as Ee, renderList as Te, provide as le, defineComponent as Bt, normalizeClass as Qe, resolveComponent as A, withCtx as D, createVNode as I, mergeProps as Ht, createSlots as Lt, createCommentVNode as je, toDisplayString as qt, createTextVNode as R, renderSlot as Kt, inject as ge, onBeforeMount as Ne, onBeforeUnmount as Be, onUnmounted as He, resolveDirective as zt, withKeys as Ut } from "vue";
3
+ import Jt from "json5";
4
+ import Wt from "js-md5";
5
+ import { defineStore as Gt } from "pinia";
6
+ import we from "js-cookie";
7
+ import { ElMessage as Qt, ElNotification as Yt, ElLoading as Xt, ElMessageBox as Ye } from "element-plus";
8
+ import { useRouter as Le, useRoute as qe } from "vue-router";
9
9
  (function() {
10
- const t = () => {
11
- console.log("%c 可视化加载器 hflvloader", "color: #3498db; font-size: 16px; font-weight: bold;"), console.log("%c版本号: 0.0.4", "color: #2ecc71;"), console.log("%c编译日期: 2025/12/18 16:42:44", "color: #3498db;"), console.log("%c版权声明:", "color: #e74c3c; font-weight: bold;"), console.log("%c 1. 版权完全归qbansanguo享有。", "color: #34495e;"), console.log("%c 2. 程序包完整引用,不得以任何形式破解、裁剪,不得隐藏或删除版权信息。", "color: #34495e;"), console.log("%c 3. 保留此版权信息在控制台输出。", "color: #34495e;"), console.log("%c 版权所有 ©2024-2025 qbansanguo 保留对此版权信息的最终解释权.", "color: #f39c12;"), console.log("%c Copyright ©2024-2025 qbansanguo All rights reserved.", "color: #f39c12;");
10
+ const n = () => {
11
+ console.log("%c 可视化加载器 hflvloader", "color: #3498db; font-size: 16px; font-weight: bold;"), console.log("%c版本号: 0.0.5", "color: #2ecc71;"), console.log("%c编译日期: 2025/12/22 15:49:08", "color: #3498db;"), console.log("%c版权声明:", "color: #e74c3c; font-weight: bold;"), console.log("%c 1. 版权完全归qbansanguo享有。", "color: #34495e;"), console.log("%c 2. 程序包完整引用,不得以任何形式破解、裁剪,不得隐藏或删除版权信息。", "color: #34495e;"), console.log("%c 3. 保留此版权信息在控制台输出。", "color: #34495e;"), console.log("%c 版权所有 ©2024-2025 qbansanguo 保留对此版权信息的最终解释权.", "color: #f39c12;"), console.log("%c Copyright ©2024-2025 qbansanguo All rights reserved.", "color: #f39c12;");
12
12
  };
13
13
  if (typeof window < "u") {
14
- window._copyright_hflvloader = t;
14
+ window._copyright_hflvloader = n;
15
15
  try {
16
16
  Object.defineProperty(window, _copyright_hflvloader, {
17
- value: t,
17
+ value: n,
18
18
  writable: !1,
19
19
  configurable: !1,
20
20
  enumerable: !1
21
21
  });
22
22
  } catch {
23
- window._copyright_hflvloader = t;
23
+ window._copyright_hflvloader = n;
24
24
  }
25
25
  }
26
- t();
26
+ n();
27
27
  })();
28
- function _(t) {
29
- return !!(t && t != "");
28
+ function _(n) {
29
+ return !!(n && n != "");
30
30
  }
31
- function Me(t) {
32
- return !isNaN(parseFloat(t)) && isFinite(t);
31
+ function ce(n) {
32
+ return !isNaN(parseFloat(n)) && isFinite(n);
33
33
  }
34
- function We(t) {
35
- return t && Object.prototype.toString.call(t) === "[object Date]" && !isNaN(t);
34
+ function Xe(n) {
35
+ return n && Object.prototype.toString.call(n) === "[object Date]" && !isNaN(n);
36
36
  }
37
- function D(t) {
38
- return typeof Array.isArray > "u" ? Object.prototype.toString.call(t) === "[object Array]" : Array.isArray(t);
37
+ function B(n) {
38
+ return typeof Array.isArray > "u" ? Object.prototype.toString.call(n) === "[object Array]" : Array.isArray(n);
39
39
  }
40
- function ze(t) {
41
- return t == null;
40
+ function Se(n) {
41
+ return n == null;
42
42
  }
43
- function Gt(t) {
44
- return !!(t || t === 0);
43
+ function Zt(n) {
44
+ return !!(n || n === 0);
45
45
  }
46
- function ie(t) {
47
- return t instanceof Object && t !== null;
46
+ function ue(n) {
47
+ return n instanceof Object && n !== null;
48
48
  }
49
- function Yt(t) {
50
- return Object.keys(t).length === 0;
49
+ function $t(n) {
50
+ return Object.keys(n).length === 0;
51
51
  }
52
- function j(t) {
53
- return !!(t && typeof t == "function");
52
+ function q(n) {
53
+ return !!(n && typeof n == "function");
54
54
  }
55
- function Ge(t) {
56
- return t && t.__v_isRef && !!t.effect;
55
+ function Ze(n) {
56
+ return n && n.__v_isRef && !!n.effect;
57
57
  }
58
- function Ie(t) {
59
- return typeof t == "string" || t instanceof String;
58
+ function De(n) {
59
+ return typeof n == "string" || n instanceof String;
60
60
  }
61
- function Ye(t, o = {}) {
62
- if (Ie(t) && _(t))
61
+ function $e(n, o = {}) {
62
+ if (De(n) && _(n))
63
63
  try {
64
- return qt.parse(t);
65
- } catch (s) {
66
- return console.warn("JSON 解析错误:", s), o;
64
+ return Jt.parse(n);
65
+ } catch (l) {
66
+ return console.warn("JSON 解析错误:", l), o;
67
67
  }
68
68
  else
69
- return ie(t) ? t : o;
69
+ return ue(n) ? n : o;
70
70
  }
71
- function $t(t) {
72
- return Ie(t) ? t : ie(t) ? JSON.stringify(t, null, 2) : "";
71
+ function he(n) {
72
+ return De(n) ? n : ue(n) ? JSON.stringify(n, null, 2) : "";
73
73
  }
74
- function le(t) {
75
- if (typeof t == "object") {
76
- const o = Array.isArray(t) ? [] : {};
77
- for (const s in t)
78
- typeof t[s] == "object" ? o[s] = le(t[s]) : o[s] = t[s];
74
+ function ie(n) {
75
+ if (typeof n == "object") {
76
+ const o = Array.isArray(n) ? [] : {};
77
+ for (const l in n)
78
+ typeof n[l] == "object" ? o[l] = ie(n[l]) : o[l] = n[l];
79
79
  return o;
80
80
  }
81
- return t;
81
+ return n;
82
82
  }
83
- function $e(t, o) {
84
- for (const s in o)
85
- o[s] instanceof Object && t[s] && Object.assign(o[s], $e(t[s], o[s]));
86
- return { ...t, ...o };
83
+ function et(n, o) {
84
+ for (const l in o)
85
+ o[l] instanceof Object && n[l] && Object.assign(o[l], et(n[l], o[l]));
86
+ return { ...n, ...o };
87
87
  }
88
- function Qe(t, o) {
89
- if (t) {
90
- let s = t.getFullYear(), n = t.getMonth() + 1, p = t.getDate(), a = t.getHours(), c = t.getMinutes(), f = t.getSeconds(), i = o;
91
- return i = i.replace("yyyy", s), i.indexOf("MM") >= 0 ? n >= 10 ? i = i.replace("MM", n) : i = i.replace("MM", "0" + n) : i = i.replace("M", n), i.indexOf("dd") >= 0 ? p >= 10 ? i = i.replace("dd", p) : i = i.replace("dd", "0" + p) : i = i.replace("d", p), i.indexOf("HH") >= 0 ? a >= 10 ? i = i.replace("HH", a) : i = i.replace("HH", "0" + a) : i = i.replace("H", a), i.indexOf("mm") >= 0 ? c >= 10 ? i = i.replace("mm", c) : i = i.replace("mm", "0" + c) : i = i.replace("m", c), i.indexOf("ss") >= 0 ? f >= 10 ? i = i.replace("ss", f) : i = i.replace("ss", "0" + f) : i = i.replace("s", f), i;
88
+ function tt(n, o) {
89
+ if (n) {
90
+ let l = n.getFullYear(), t = n.getMonth() + 1, d = n.getDate(), a = n.getHours(), c = n.getMinutes(), f = n.getSeconds(), i = o;
91
+ return i = i.replace("yyyy", l), i.indexOf("MM") >= 0 ? t >= 10 ? i = i.replace("MM", t) : i = i.replace("MM", "0" + t) : i = i.replace("M", t), i.indexOf("dd") >= 0 ? d >= 10 ? i = i.replace("dd", d) : i = i.replace("dd", "0" + d) : i = i.replace("d", d), i.indexOf("HH") >= 0 ? a >= 10 ? i = i.replace("HH", a) : i = i.replace("HH", "0" + a) : i = i.replace("H", a), i.indexOf("mm") >= 0 ? c >= 10 ? i = i.replace("mm", c) : i = i.replace("mm", "0" + c) : i = i.replace("m", c), i.indexOf("ss") >= 0 ? f >= 10 ? i = i.replace("ss", f) : i = i.replace("ss", "0" + f) : i = i.replace("s", f), i;
92
92
  }
93
93
  return "";
94
94
  }
95
- function Xe(t) {
96
- if (t) {
97
- if (We(t))
98
- return t;
99
- if (Me(t)) {
100
- let o = /* @__PURE__ */ new Date(), s = parseInt(t);
101
- return s < 9999999999 && (s = s * 1e3), o.setTime(s), o;
95
+ function nt(n) {
96
+ if (n) {
97
+ if (Xe(n))
98
+ return n;
99
+ if (ce(n)) {
100
+ let o = /* @__PURE__ */ new Date(), l = parseInt(n);
101
+ return l < 9999999999 && (l = l * 1e3), o.setTime(l), o;
102
102
  } else
103
103
  try {
104
- return new Date(t);
104
+ return new Date(n);
105
105
  } catch {
106
106
  }
107
107
  }
108
108
  return null;
109
109
  }
110
- function Qt(t, o = 0) {
111
- if (t) {
112
- let s = t.getDay(), n = ["星期天", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], p = ["周末", "周一", "周二", "周三", "周四", "周五", "周六"];
113
- return o == 1 ? n[s] : o == 2 ? p[s] : s;
110
+ function en(n, o = 0) {
111
+ if (n) {
112
+ let l = n.getDay(), t = ["星期天", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], d = ["周末", "周一", "周二", "周三", "周四", "周五", "周六"];
113
+ return o == 1 ? t[l] : o == 2 ? d[l] : l;
114
114
  }
115
115
  return null;
116
116
  }
117
- function Xt(t) {
117
+ function tn(n) {
118
118
  const o = document.createElement("textarea");
119
- o.value = t, document.body.appendChild(o), o.select();
120
- const s = document.execCommand("copy");
121
- return document.body.removeChild(o), s;
119
+ o.value = n, document.body.appendChild(o), o.select();
120
+ const l = document.execCommand("copy");
121
+ return document.body.removeChild(o), l;
122
122
  }
123
- async function Zt(t) {
123
+ async function Ce(n) {
124
124
  try {
125
- return navigator.clipboard ? (await navigator.clipboard.writeText(t), !0) : !!Xt(t);
125
+ return navigator.clipboard ? (await navigator.clipboard.writeText(n), !0) : !!tn(n);
126
126
  } catch (o) {
127
127
  return console.error("无法复制内容", o), !1;
128
128
  }
129
129
  }
130
- async function en() {
130
+ async function nn() {
131
131
  try {
132
132
  return navigator.clipboard ? await navigator.clipboard.readText() : null;
133
- } catch (t) {
134
- return console.error("无法读取黏贴版内容", t), null;
133
+ } catch (n) {
134
+ return console.error("无法读取黏贴版内容", n), null;
135
135
  }
136
136
  }
137
- function tn(t, o) {
138
- return Me(t) ? t : o;
137
+ function on(n, o) {
138
+ return ce(n) ? n : o;
139
139
  }
140
- function _e(t, o) {
141
- return o.split(".").reduce((s, n) => s && s[n], t);
140
+ function Pe(n, o) {
141
+ return o.split(".").reduce((l, t) => l && l[t], n);
142
142
  }
143
- function ve(t, o) {
144
- if (!t || typeof t != "object" || typeof o != "string" || !o)
143
+ function Ve(n, o) {
144
+ if (!n || typeof n != "object" || typeof o != "string" || !o)
145
145
  return !1;
146
- const s = o.split(".");
147
- let n = t;
148
- for (const p of s)
149
- if (n && typeof n == "object" && n.hasOwnProperty(p))
150
- n = n[p];
146
+ const l = o.split(".");
147
+ let t = n;
148
+ for (const d of l)
149
+ if (t && typeof t == "object" && t.hasOwnProperty(d))
150
+ t = t[d];
151
151
  else
152
152
  return !1;
153
153
  return !0;
154
154
  }
155
- function Ze() {
155
+ function ot() {
156
156
  if (typeof crypto < "u" && crypto.randomUUID)
157
157
  return crypto.randomUUID();
158
158
  if (typeof crypto < "u" && crypto.getRandomValues) {
159
- const t = new Uint8Array(16);
160
- return crypto.getRandomValues(t), t[6] = t[6] & 15 | 64, t[8] = t[8] & 63 | 128, Array.from(t).map((o, s) => [4, 6, 8, 10].includes(s) ? "-" + o.toString(16).padStart(2, "0") : o.toString(16).padStart(2, "0")).join("");
159
+ const n = new Uint8Array(16);
160
+ return crypto.getRandomValues(n), n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, Array.from(n).map((o, l) => [4, 6, 8, 10].includes(l) ? "-" + o.toString(16).padStart(2, "0") : o.toString(16).padStart(2, "0")).join("");
161
161
  }
162
- return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(t) {
162
+ return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(n) {
163
163
  const o = Math.random() * 16 | 0;
164
- return (t === "x" ? o : o & 3 | 8).toString(16);
164
+ return (n === "x" ? o : o & 3 | 8).toString(16);
165
165
  });
166
166
  }
167
- function nn(t, o = {}, s) {
167
+ function rn(n, o = {}, l) {
168
168
  try {
169
- let n = t.toString().trim();
170
- return n.indexOf("function") < 0 && (n = "function(param){" + n + "}"), new Function(`{return ${n}}`)()(o);
171
- } catch (n) {
172
- return console.error("执行自定义数时出错:", n), s;
169
+ let t = n.toString().trim();
170
+ return t.indexOf("function") < 0 && (t = "function(param){" + t + "}"), new Function(`{return ${t}}`)()(o);
171
+ } catch (t) {
172
+ return console.error("执行自定义数时出错:", t), l;
173
173
  }
174
174
  }
175
- function et(t) {
176
- return _(t) ? Kt(t) : "";
175
+ function rt(n) {
176
+ return _(n) ? Wt(n) : "";
177
177
  }
178
- function ae(t, ...o) {
178
+ function $(n, ...o) {
179
179
  if (!window.hflvloader_debug) return;
180
- const s = {
180
+ const l = {
181
181
  debug: ["%c[DEBUG]", "color: #4CAF50; font-weight: bold"],
182
182
  info: ["%c[INFO]", "color: #2196F3; font-weight: bold"],
183
183
  warn: ["%c[WARN]", "color: #FF9800; font-weight: bold"],
184
184
  error: ["%c[ERROR]", "color: #F44336; font-weight: bold"]
185
- }, n = s[t] || s.debug;
186
- switch (t) {
185
+ }, t = l[n] || l.debug;
186
+ switch (n) {
187
187
  case "debug":
188
- console.debug(n[0], n[1], ...o);
188
+ console.debug(t[0], t[1], ...o);
189
189
  break;
190
190
  case "info":
191
- console.info(n[0], n[1], ...o);
191
+ console.info(t[0], t[1], ...o);
192
192
  break;
193
193
  case "warn":
194
- console.warn(n[0], n[1], ...o);
194
+ console.warn(t[0], t[1], ...o);
195
195
  break;
196
196
  case "error":
197
- console.error(n[0], n[1], ...o);
197
+ console.error(t[0], t[1], ...o);
198
198
  break;
199
199
  default:
200
- console.log(n[0], n[1], ...o);
200
+ console.log(t[0], t[1], ...o);
201
201
  }
202
202
  }
203
- function on(t, o = 0) {
204
- if (typeof t != "number" || isNaN(t))
203
+ function ln(n, o = 0) {
204
+ if (typeof n != "number" || isNaN(n))
205
205
  return NaN;
206
- const n = 10 * Math.max(0, Math.floor(Number(o) || 0));
207
- return Math.round(t * n) / n;
206
+ const t = 10 * Math.max(0, Math.floor(Number(o) || 0));
207
+ return Math.round(n * t) / t;
208
208
  }
209
- function rn(t) {
210
- return (Math.floor(t) & 1) === 0;
209
+ function sn(n) {
210
+ return (Math.floor(n) & 1) === 0;
211
211
  }
212
- const Jn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
212
+ const Qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
213
213
  __proto__: null,
214
- consolePrint: ae,
215
- copyToClipboard: Zt,
216
- deepCopy: le,
217
- deepMerge: $e,
218
- doMD5: et,
219
- execCustomFunction: nn,
220
- formatDate: Qe,
221
- generateSecureUUID: Ze,
222
- getDate: Xe,
223
- getJsonObject: Ye,
224
- getValByDefault: tn,
225
- getValueByPath: _e,
226
- getWeek: Qt,
227
- hasOwnPathInObject: ve,
228
- isArray: D,
229
- isComputed: Ge,
230
- isDate: We,
231
- isEmptyObject: Yt,
232
- isEven: rn,
233
- isFunction: j,
214
+ consolePrint: $,
215
+ copyToClipboard: Ce,
216
+ deepCopy: ie,
217
+ deepMerge: et,
218
+ doMD5: rt,
219
+ execCustomFunction: rn,
220
+ formatDate: tt,
221
+ generateSecureUUID: ot,
222
+ getDate: nt,
223
+ getJsonObject: $e,
224
+ getValByDefault: on,
225
+ getValueByPath: Pe,
226
+ getWeek: en,
227
+ hasOwnPathInObject: Ve,
228
+ isArray: B,
229
+ isComputed: Ze,
230
+ isDate: Xe,
231
+ isEmptyObject: $t,
232
+ isEven: sn,
233
+ isFunction: q,
234
234
  isNotEmpty: _,
235
- isNullOrUndefined: ze,
236
- isNumber: Me,
237
- isObject: ie,
238
- isString: Ie,
239
- isValid: Gt,
240
- keepDecimalCalc: on,
241
- pasteFromClipboard: en,
242
- toJsonStr: $t
243
- }, Symbol.toStringTag, { value: "Module" })), ln = ["width", "height", "scale"];
244
- function sn(t) {
235
+ isNullOrUndefined: Se,
236
+ isNumber: ce,
237
+ isObject: ue,
238
+ isString: De,
239
+ isValid: Zt,
240
+ keepDecimalCalc: ln,
241
+ pasteFromClipboard: nn,
242
+ toJsonStr: he
243
+ }, Symbol.toStringTag, { value: "Module" })), an = ["width", "height", "scale"];
244
+ function cn(n) {
245
245
  const o = {};
246
- return Object.keys(t).filter((s) => !ln.includes(s)).forEach((s) => {
247
- s === "fontSize" ? o[s] += "px" : s === "backgroundImage" && _(t[s]) ? o["background-image"] = "url(" + t[s] + ")" : s === "backgroundRepeat" ? o["background-repeat"] = t[s] : s === "backgroundSize" ? o["background-size"] = t[s] : s === "backgroundPosition" ? o["background-position"] = t[s] : o[s] = t[s];
246
+ return Object.keys(n).filter((l) => !an.includes(l)).forEach((l) => {
247
+ l === "fontSize" ? o[l] += "px" : l === "backgroundImage" && _(n[l]) ? o["background-image"] = "url(" + n[l] + ")" : l === "backgroundRepeat" ? o["background-repeat"] = n[l] : l === "backgroundSize" ? o["background-size"] = n[l] : l === "backgroundPosition" ? o["background-position"] = n[l] : o[l] = n[l];
248
248
  }), o;
249
249
  }
250
- const tt = ["fontSize", "width", "height", "top", "left", "borderWidth", "letterSpacing", "borderRadius"];
251
- function nt(t, o = []) {
252
- const s = {};
253
- return Object.keys(t).forEach((n) => {
254
- o.includes(n) || (n != "rotate" ? t[n] !== "" && (s[n] = t[n], tt.includes(n) && (s[n] += "px")) : s.transform = `${n}(${t[n]}deg)`);
255
- }), s;
250
+ const lt = ["fontSize", "width", "height", "top", "left", "borderWidth", "letterSpacing", "borderRadius"];
251
+ function st(n, o = []) {
252
+ const l = {};
253
+ return Object.keys(n).forEach((t) => {
254
+ o.includes(t) || (t != "rotate" ? n[t] !== "" && (l[t] = n[t], lt.includes(t) && (l[t] += "px")) : l.transform = `${t}(${n[t]}deg)`);
255
+ }), l;
256
256
  }
257
- function an(t, o = []) {
258
- const s = {};
257
+ function un(n, o = []) {
258
+ const l = {};
259
259
  return [
260
260
  "opacity",
261
261
  "width",
@@ -269,18 +269,18 @@ function an(t, o = []) {
269
269
  "letterSpacing",
270
270
  "textAlign",
271
271
  "color"
272
- ].forEach((n) => {
273
- o.includes(n) || (n != "rotate" ? t[n] !== "" && (s[n] = t[n], tt.includes(n) && (s[n] += "px")) : s.transform = `${n}(${t[n]}deg)`);
274
- }), s;
272
+ ].forEach((t) => {
273
+ o.includes(t) || (t != "rotate" ? n[t] !== "" && (l[t] = n[t], lt.includes(t) && (l[t] += "px")) : l.transform = `${t}(${n[t]}deg)`);
274
+ }), l;
275
275
  }
276
- function Z(t, o, s, n, p, a, c) {
277
- let f = JSON.parse(JSON.stringify(t));
276
+ function ne(n, o, l, t, d, a, c) {
277
+ let f = JSON.parse(JSON.stringify(n));
278
278
  return f && f.length > 0 && f.forEach((i) => {
279
279
  if (i && i.style) {
280
- if (n != 1) {
280
+ if (t != 1) {
281
281
  let g = i.style.width;
282
282
  if (i.style.wdSet == "calc")
283
- g = Math.floor(i.style.width * n);
283
+ g = Math.floor(i.style.width * t);
284
284
  else if (i.style.wdSet == "overspread") {
285
285
  let h = i.style.wdReserve < 0 ? 0 : i.style.wdReserve;
286
286
  g = Math.floor(o - h);
@@ -288,74 +288,74 @@ function Z(t, o, s, n, p, a, c) {
288
288
  if (i.style.hAffix != "left") if (i.style.hAffix == "right") {
289
289
  let h = a - (i.style.left + i.style.width);
290
290
  i.style.left = o - h - g;
291
- } else i.style.hAffix == "center" ? i.style.left = Math.floor(o * 0.5 - g * 0.5) : i.style.left = Math.floor(i.style.left * n);
291
+ } else i.style.hAffix == "center" ? i.style.left = Math.floor(o * 0.5 - g * 0.5) : i.style.left = Math.floor(i.style.left * t);
292
292
  i.style.width = g;
293
293
  }
294
- if (p != 1) {
294
+ if (d != 1) {
295
295
  let g = i.style.height;
296
296
  if (i.style.htSet == "calc")
297
- g = Math.floor(i.style.height * p);
297
+ g = Math.floor(i.style.height * d);
298
298
  else if (i.style.htSet == "overspread") {
299
299
  let h = i.style.htReserve < 0 ? 0 : i.style.htReserve;
300
- g = Math.floor(s - h);
300
+ g = Math.floor(l - h);
301
301
  }
302
302
  if (i.style.vAffix != "top") if (i.style.vAffix == "bottom") {
303
303
  let h = c - (i.style.top + i.style.height);
304
- i.style.top = s - h - g;
305
- } else i.style.vAffix == "center" ? i.style.top = Math.floor(s * 0.5 - g * 0.5) : i.style.top = Math.floor(i.style.top * p);
304
+ i.style.top = l - h - g;
305
+ } else i.style.vAffix == "center" ? i.style.top = Math.floor(l * 0.5 - g * 0.5) : i.style.top = Math.floor(i.style.top * d);
306
306
  i.style.height = g;
307
307
  }
308
308
  }
309
309
  }), f;
310
310
  }
311
- function Un(t, o, s, n) {
312
- let p = {}, a = [];
313
- if (!(s && s.screenAdapter && s.screenAdapter != "no-adapter"))
314
- p = s, a = n;
311
+ function Yn(n, o, l, t) {
312
+ let d = {}, a = [];
313
+ if (!(l && l.screenAdapter && l.screenAdapter != "no-adapter"))
314
+ d = l, a = t;
315
315
  else {
316
- let c = Math.floor(t), f = Math.floor(o), i = Number(s.width), g = Number(s.height), h = 1, y = 1;
317
- if (s.screenAdapter == "all-screen")
318
- p = JSON.parse(JSON.stringify(s)), c > i + 10 && (p.width = c, h = Math.floor(1e4 * c / i) / 1e4), f > g + 10 && (p.height = f, y = Math.floor(1e4 * f / g) / 1e4), a = Z(n, c, f, h, y, i, g);
319
- else if (s.screenAdapter == "original-ratio") {
320
- p = JSON.parse(JSON.stringify(s));
316
+ let c = Math.floor(n), f = Math.floor(o), i = Number(l.width), g = Number(l.height), h = 1, y = 1;
317
+ if (l.screenAdapter == "all-screen")
318
+ d = JSON.parse(JSON.stringify(l)), c > i + 10 && (d.width = c, h = Math.floor(1e4 * c / i) / 1e4), f > g + 10 && (d.height = f, y = Math.floor(1e4 * f / g) / 1e4), a = ne(t, c, f, h, y, i, g);
319
+ else if (l.screenAdapter == "original-ratio") {
320
+ d = JSON.parse(JSON.stringify(l));
321
321
  let v = Math.floor(1e4 * i / g) / 1e4;
322
- Math.floor(f * v) > c ? (p.width = c, h = Math.floor(1e4 * c / i) / 1e4, f = Math.floor(c / v), p.height = f, y = Math.floor(1e4 * f / g) / 1e4) : (p.height = f, y = Math.floor(1e4 * f / g) / 1e4, c = Math.floor(f * v), p.width = c, h = Math.floor(1e4 * c / i) / 1e4), a = Z(n, c, f, h, y, i, g);
323
- } else if (s.screenAdapter == "h-adapter-wh") {
324
- p = JSON.parse(JSON.stringify(s));
322
+ Math.floor(f * v) > c ? (d.width = c, h = Math.floor(1e4 * c / i) / 1e4, f = Math.floor(c / v), d.height = f, y = Math.floor(1e4 * f / g) / 1e4) : (d.height = f, y = Math.floor(1e4 * f / g) / 1e4, c = Math.floor(f * v), d.width = c, h = Math.floor(1e4 * c / i) / 1e4), a = ne(t, c, f, h, y, i, g);
323
+ } else if (l.screenAdapter == "h-adapter-wh") {
324
+ d = JSON.parse(JSON.stringify(l));
325
325
  let v = Math.floor(1e4 * i / g) / 1e4;
326
- c > i + 10 && (p.width = c, h = Math.floor(1e4 * c / i) / 1e4, f = Math.floor(c / v), p.height = f, y = Math.floor(1e4 * f / g) / 1e4), a = Z(n, c, f, h, y, i, g);
327
- } else if (s.screenAdapter == "v-adapter-wh") {
328
- p = JSON.parse(JSON.stringify(s));
326
+ c > i + 10 && (d.width = c, h = Math.floor(1e4 * c / i) / 1e4, f = Math.floor(c / v), d.height = f, y = Math.floor(1e4 * f / g) / 1e4), a = ne(t, c, f, h, y, i, g);
327
+ } else if (l.screenAdapter == "v-adapter-wh") {
328
+ d = JSON.parse(JSON.stringify(l));
329
329
  let v = Math.floor(1e4 * i / g) / 1e4;
330
- f > g + 10 && (p.height = f, y = Math.floor(1e4 * f / g) / 1e4, c = Math.floor(f * v), p.width = c, h = Math.floor(1e4 * c / i) / 1e4), a = Z(n, c, f, h, y, i, g);
331
- } else s.screenAdapter == "h-adapter" ? (p = JSON.parse(JSON.stringify(s)), c > i + 10 && (p.width = c, h = Math.floor(1e4 * c / i) / 1e4), a = Z(n, c, f, h, y, i, g)) : s.screenAdapter == "v-adapter" ? (p = JSON.parse(JSON.stringify(s)), f > g + 10 && (p.height = f, y = Math.floor(1e4 * f / g) / 1e4), a = Z(n, c, f, h, y, i, g)) : (p = s, a = n);
330
+ f > g + 10 && (d.height = f, y = Math.floor(1e4 * f / g) / 1e4, c = Math.floor(f * v), d.width = c, h = Math.floor(1e4 * c / i) / 1e4), a = ne(t, c, f, h, y, i, g);
331
+ } else l.screenAdapter == "h-adapter" ? (d = JSON.parse(JSON.stringify(l)), c > i + 10 && (d.width = c, h = Math.floor(1e4 * c / i) / 1e4), a = ne(t, c, f, h, y, i, g)) : l.screenAdapter == "v-adapter" ? (d = JSON.parse(JSON.stringify(l)), f > g + 10 && (d.height = f, y = Math.floor(1e4 * f / g) / 1e4), a = ne(t, c, f, h, y, i, g)) : (d = l, a = t);
332
332
  }
333
333
  return {
334
- canvasStyleData: p,
334
+ canvasStyleData: d,
335
335
  componentData: a
336
336
  };
337
337
  }
338
- async function He(t, o = []) {
339
- const s = (n) => new Promise((p) => {
340
- const { animationTime: a, value: c = "", isLoop: f } = n;
341
- t.style.setProperty("--time", `${a}s`), t.classList.add(c, "animated", Ne(f));
338
+ async function Ke(n, o = []) {
339
+ const l = (t) => new Promise((d) => {
340
+ const { animationTime: a, value: c = "", isLoop: f } = t;
341
+ n.style.setProperty("--time", `${a}s`), n.classList.add(c, "animated", ze(f));
342
342
  const i = () => {
343
- t.removeEventListener("animationend", i), t.removeEventListener("animationcancel", i), t.classList.remove(c, "animated", Ne(f)), t.style.removeProperty("--time"), p();
343
+ n.removeEventListener("animationend", i), n.removeEventListener("animationcancel", i), n.classList.remove(c, "animated", ze(f)), n.style.removeProperty("--time"), d();
344
344
  };
345
- t.addEventListener("animationend", i), t.addEventListener("animationcancel", i);
345
+ n.addEventListener("animationend", i), n.addEventListener("animationcancel", i);
346
346
  });
347
- for (let n = 0, p = o.length; n < p; n++)
348
- await s(o[n]);
347
+ for (let t = 0, d = o.length; t < d; t++)
348
+ await l(o[t]);
349
349
  }
350
- function Ne(t) {
351
- return t ? "infinite" : "no-infinite";
350
+ function ze(n) {
351
+ return n ? "infinite" : "no-infinite";
352
352
  }
353
- const z = (t, o) => {
354
- const s = t.__vccOpts || t;
355
- for (const [n, p] of o)
356
- s[n] = p;
357
- return s;
358
- }, cn = {
353
+ const J = (n, o) => {
354
+ const l = n.__vccOpts || n;
355
+ for (const [t, d] of o)
356
+ l[t] = d;
357
+ return l;
358
+ }, fn = {
359
359
  __name: "ComponentWrapper",
360
360
  props: {
361
361
  config: {
@@ -365,65 +365,65 @@ const z = (t, o) => {
365
365
  }
366
366
  }
367
367
  },
368
- setup(t, { expose: o }) {
369
- const s = t, n = w(() => s.config || {}), p = w({
370
- get: () => !n.value.style?.isHide,
368
+ setup(n, { expose: o }) {
369
+ const l = n, t = P(() => l.config || {}), d = P({
370
+ get: () => !t.value.style?.isHide,
371
371
  set: (v) => {
372
- n.value.style && (n.value.style.isHide = !v);
372
+ t.value.style && (t.value.style.isHide = !v);
373
373
  }
374
- }), a = se({}), c = (v, V) => {
375
- v ? a[`Ve${V}`] = v : delete a[`Ve${V}`];
374
+ }), a = ae({}), c = (v, O) => {
375
+ v ? a[`Ve${O}`] = v : delete a[`Ve${O}`];
376
376
  }, f = (v) => a[`Ve${v}`], i = () => {
377
- if (n.value.animations && n.value.animations.length > 0) {
378
- let v = a[`Ve${n.value.id}`];
379
- v.$el && He(v.$el, n.value.animations);
377
+ if (t.value.animations && t.value.animations.length > 0) {
378
+ let v = a[`Ve${t.value.id}`];
379
+ v.$el && Ke(v.$el, t.value.animations);
380
380
  }
381
381
  }, g = () => {
382
- p.value = !1;
382
+ d.value = !1;
383
383
  }, h = () => {
384
- p.value = !0;
384
+ d.value = !0;
385
385
  };
386
- me(() => {
386
+ ve(() => {
387
387
  i();
388
388
  }), o({
389
389
  getComponentRef: f,
390
390
  hide: g,
391
391
  show: h
392
392
  });
393
- const y = { props: s, config: n, isShow: p, componentRefs: a, setComponentRef: c, getComponentRef: f, execAnimation: i, hide: g, show: h, ref: k, computed: w, onMounted: me, reactive: se, watch: Pe, get getSVGStyle() {
394
- return an;
393
+ const y = { props: l, config: t, isShow: d, componentRefs: a, setComponentRef: c, getComponentRef: f, execAnimation: i, hide: g, show: h, ref: E, computed: P, onMounted: ve, reactive: ae, watch: Ie, get getSVGStyle() {
394
+ return un;
395
395
  }, get getStyle() {
396
- return nt;
396
+ return st;
397
397
  }, get runAnimation() {
398
- return He;
398
+ return Ke;
399
399
  } };
400
400
  return Object.defineProperty(y, "__isScriptSetup", { enumerable: !1, value: !0 }), y;
401
401
  }
402
402
  };
403
- function un(t, o, s, n, p, a) {
404
- return At((O(), B("div", { class: "component-wrapper" }, [
405
- n.config.component.startsWith("SVG") ? (O(), L(pe(n.config.component), {
403
+ function dn(n, o, l, t, d, a) {
404
+ return xe((T(), H("div", { class: "component-wrapper" }, [
405
+ t.config.component.startsWith("SVG") ? (T(), K(ye(t.config.component), {
406
406
  key: 0,
407
- ref: (c) => n.setComponentRef(c, n.config.id),
407
+ ref: (c) => t.setComponentRef(c, t.config.id),
408
408
  class: "component",
409
- style: de(n.getSVGStyle(n.config.style)),
410
- "prop-value": n.config.propValue,
411
- element: n.config,
409
+ style: _e(t.getSVGStyle(t.config.style)),
410
+ "prop-value": t.config.propValue,
411
+ element: t.config,
412
412
  designStatus: !1
413
- }, null, 8, ["style", "prop-value", "element"])) : (O(), L(pe(n.config.component), {
413
+ }, null, 8, ["style", "prop-value", "element"])) : (T(), K(ye(t.config.component), {
414
414
  key: 1,
415
- ref: (c) => n.setComponentRef(c, n.config.id),
415
+ ref: (c) => t.setComponentRef(c, t.config.id),
416
416
  class: "component",
417
- style: de(n.getStyle(n.config.style)),
418
- "prop-value": n.config.propValue,
419
- element: n.config,
417
+ style: _e(t.getStyle(t.config.style)),
418
+ "prop-value": t.config.propValue,
419
+ element: t.config,
420
420
  designStatus: !1
421
421
  }, null, 8, ["style", "prop-value", "element"]))
422
422
  ], 512)), [
423
- [Ft, n.isShow]
423
+ [Ge, t.isShow]
424
424
  ]);
425
425
  }
426
- const fn = /* @__PURE__ */ z(cn, [["render", un], ["__scopeId", "data-v-3fc3a63c"], ["__file", "ComponentWrapper.vue"]]), pn = /* @__PURE__ */ Object.assign({
426
+ const pn = /* @__PURE__ */ J(fn, [["render", dn], ["__scopeId", "data-v-3fc3a63c"], ["__file", "ComponentWrapper.vue"]]), mn = /* @__PURE__ */ Object.assign({
427
427
  name: "VEPage"
428
428
  }, {
429
429
  __name: "index",
@@ -440,63 +440,63 @@ const fn = /* @__PURE__ */ z(cn, [["render", un], ["__scopeId", "data-v-3fc3a63c
440
440
  default: []
441
441
  }
442
442
  },
443
- setup(t, { expose: o }) {
444
- const s = t, n = k({}), p = w(() => s.canvasStyle || {}), a = w(() => s.componentData || []), c = (h, y) => {
445
- h && (n.value[y] = h);
443
+ setup(n, { expose: o }) {
444
+ const l = n, t = E({}), d = P(() => l.canvasStyle || {}), a = P(() => l.componentData || []), c = (h, y) => {
445
+ h && (t.value[y] = h);
446
446
  }, f = (h, y, v) => {
447
447
  if (_(h) && _(y)) {
448
- const V = "VeP" + h, M = n.value[V];
449
- if (M) {
450
- let E;
451
- D(M) ? E = M[0] : E = M;
452
- const T = E.getComponentRef(h);
453
- T ? T?.$options.name === "Group" && v && v.compId ? T.callGroupCompMethod(v.compId, y, v.data) : T[y] && (v ? T[y](v) : T[y]()) : ae("warning", "The component is not exist.id:", h);
448
+ const O = "VeP" + h, b = t.value[O];
449
+ if (b) {
450
+ let w;
451
+ B(b) ? w = b[0] : w = b;
452
+ const M = w.getComponentRef(h);
453
+ M ? M?.$options.name === "Group" && v && v.compId ? M.callGroupCompMethod(v.compId, y, v.data) : M[y] && (v ? M[y](v) : M[y]()) : $("warning", "The component is not exist.id:", h);
454
454
  }
455
455
  }
456
456
  }, i = (h, y, v = {}) => {
457
457
  if (_(h)) {
458
- const V = "VeP" + h, M = n.value[V];
459
- if (M) {
460
- let E;
461
- D(M) ? E = M[0] : E = M, y ? E.show() : E.hide();
458
+ const O = "VeP" + h, b = t.value[O];
459
+ if (b) {
460
+ let w;
461
+ B(b) ? w = b[0] : w = b, y ? w.show() : w.hide();
462
462
  }
463
463
  }
464
464
  };
465
- ge("VE-CompMethod", f), ge("VE-CompHideAndShow", i), o({
465
+ le("VE-CompMethod", f), le("VE-CompHideAndShow", i), o({
466
466
  callCompMethod: f
467
467
  });
468
- const g = { props: s, componentRefs: n, canvasStyle: p, componentData: a, setComponentRef: c, callCompMethod: f, callCompHideAndShow: i, ref: k, computed: w, provide: ge, watch: Pe, get getCanvasStyle() {
469
- return sn;
470
- }, ComponentWrapper: fn, get isNotEmpty() {
468
+ const g = { props: l, componentRefs: t, canvasStyle: d, componentData: a, setComponentRef: c, callCompMethod: f, callCompHideAndShow: i, ref: E, computed: P, provide: le, watch: Ie, get getCanvasStyle() {
469
+ return cn;
470
+ }, ComponentWrapper: pn, get isNotEmpty() {
471
471
  return _;
472
472
  }, get isArray() {
473
- return D;
473
+ return B;
474
474
  }, get consolePrint() {
475
- return ae;
475
+ return $;
476
476
  } };
477
477
  return Object.defineProperty(g, "__isScriptSetup", { enumerable: !1, value: !0 }), g;
478
478
  }
479
479
  });
480
- function dn(t, o, s, n, p, a) {
481
- return O(), B("div", { class: "canvas-container" }, [
482
- ne("div", {
480
+ function gn(n, o, l, t, d, a) {
481
+ return T(), H("div", { class: "canvas-container" }, [
482
+ ee("div", {
483
483
  class: "canvas",
484
- style: de({
485
- ...n.getCanvasStyle(n.canvasStyle || {}),
486
- width: n.canvasStyle.width + "px",
487
- height: n.canvasStyle.height + "px"
484
+ style: _e({
485
+ ...t.getCanvasStyle(t.canvasStyle || {}),
486
+ width: t.canvasStyle.width + "px",
487
+ height: t.canvasStyle.height + "px"
488
488
  })
489
489
  }, [
490
- (O(!0), B(Oe, null, Ve(n.componentData, (c, f) => (O(), L(n.ComponentWrapper, {
490
+ (T(!0), H(Ee, null, Te(t.componentData, (c, f) => (T(), K(t.ComponentWrapper, {
491
491
  key: f,
492
492
  config: c,
493
493
  ref_for: !0,
494
- ref: (i) => n.setComponentRef(i, "VeP" + c.id)
494
+ ref: (i) => t.setComponentRef(i, "VeP" + c.id)
495
495
  }, null, 8, ["config"]))), 128))
496
496
  ], 4)
497
497
  ]);
498
498
  }
499
- const mn = /* @__PURE__ */ z(pn, [["render", dn], ["__scopeId", "data-v-ed658753"], ["__file", "index.vue"]]), gn = jt({
499
+ const hn = /* @__PURE__ */ J(mn, [["render", gn], ["__scopeId", "data-v-ed658753"], ["__file", "index.vue"]]), yn = Bt({
500
500
  name: "ve-comp-svg-icon",
501
501
  props: {
502
502
  iconClass: {
@@ -512,25 +512,25 @@ const mn = /* @__PURE__ */ z(pn, [["render", dn], ["__scopeId", "data-v-ed658753
512
512
  default: ""
513
513
  }
514
514
  },
515
- setup(t) {
515
+ setup(n) {
516
516
  return {
517
- iconName: w(() => `#icon-${t.iconClass}`),
518
- svgClass: w(() => t.className ? `ve-comp-svg-icon ${t.className}` : "ve-comp-svg-icon")
517
+ iconName: P(() => `#icon-${n.iconClass}`),
518
+ svgClass: P(() => n.className ? `ve-comp-svg-icon ${n.className}` : "ve-comp-svg-icon")
519
519
  };
520
520
  }
521
521
  });
522
- function hn(t, o, s, n, p, a) {
523
- return O(), B("svg", {
524
- class: Je(t.svgClass),
522
+ function _n(n, o, l, t, d, a) {
523
+ return T(), H("svg", {
524
+ class: Qe(n.svgClass),
525
525
  "aria-hidden": "true"
526
526
  }, [
527
- ne("use", {
528
- "xlink:href": t.iconName,
529
- fill: t.color
527
+ ee("use", {
528
+ "xlink:href": n.iconName,
529
+ fill: n.color
530
530
  }, null, 8, ["xlink:href", "fill"])
531
531
  ], 2);
532
532
  }
533
- const ot = /* @__PURE__ */ z(gn, [["render", hn], ["__file", "index.vue"]]), yn = /* @__PURE__ */ Object.assign({
533
+ const it = /* @__PURE__ */ J(yn, [["render", _n], ["__file", "index.vue"]]), vn = /* @__PURE__ */ Object.assign({
534
534
  name: "CompositeIcon"
535
535
  }, {
536
536
  __name: "index",
@@ -549,48 +549,48 @@ const ot = /* @__PURE__ */ z(gn, [["render", hn], ["__file", "index.vue"]]), yn
549
549
  default: ""
550
550
  }
551
551
  },
552
- setup(t, { expose: o }) {
552
+ setup(n, { expose: o }) {
553
553
  o();
554
- const f = { props: t, isImage: (i) => i && i.toString().toLowerCase().startsWith("img#"), getImageSrc: (i) => i.toString().substring(4), isSvgIcon: (i) => i && i.toString().toLowerCase().indexOf("svg#") == 0, getSvgIconClass: (i) => i.toString().substring(4), VeCompSvgIcon: ot };
554
+ const f = { props: n, isImage: (i) => i && i.toString().toLowerCase().startsWith("img#"), getImageSrc: (i) => i.toString().substring(4), isSvgIcon: (i) => i && i.toString().toLowerCase().indexOf("svg#") == 0, getSvgIconClass: (i) => i.toString().substring(4), VeCompSvgIcon: it };
555
555
  return Object.defineProperty(f, "__isScriptSetup", { enumerable: !1, value: !0 }), f;
556
556
  }
557
557
  });
558
- function _n(t, o, s, n, p, a) {
559
- const c = W("el-icon");
560
- return O(), L(c, {
561
- size: n.props.iconSize,
562
- color: n.props.color
558
+ function Sn(n, o, l, t, d, a) {
559
+ const c = A("el-icon");
560
+ return T(), K(c, {
561
+ size: t.props.iconSize,
562
+ color: t.props.color
563
563
  }, {
564
- default: A(() => [
565
- n.isImage(n.props.icon) ? (O(), B("img", {
564
+ default: D(() => [
565
+ t.isImage(t.props.icon) ? (T(), H("img", {
566
566
  key: 0,
567
- src: n.getImageSrc(n.props.icon)
568
- }, null, 8, ["src"])) : n.isSvgIcon(n.props.icon) ? (O(), L(n.VeCompSvgIcon, {
567
+ src: t.getImageSrc(t.props.icon)
568
+ }, null, 8, ["src"])) : t.isSvgIcon(t.props.icon) ? (T(), K(t.VeCompSvgIcon, {
569
569
  key: 1,
570
- "icon-class": n.getSvgIconClass(n.props.icon),
571
- color: n.props.color
572
- }, null, 8, ["icon-class", "color"])) : (O(), L(pe(n.props.icon), { key: 2 }))
570
+ "icon-class": t.getSvgIconClass(t.props.icon),
571
+ color: t.props.color
572
+ }, null, 8, ["icon-class", "color"])) : (T(), K(ye(t.props.icon), { key: 2 }))
573
573
  ]),
574
574
  _: 1
575
575
  }, 8, ["size", "color"]);
576
576
  }
577
- const vn = /* @__PURE__ */ z(yn, [["render", _n], ["__file", "index.vue"]]);
578
- let ye = null;
579
- const Se = () => {
580
- if (!ye) {
581
- const t = se({}), o = k([]);
582
- ye = {
583
- dialogs: t,
577
+ const wn = /* @__PURE__ */ J(vn, [["render", Sn], ["__file", "index.vue"]]);
578
+ let be = null;
579
+ const Oe = () => {
580
+ if (!be) {
581
+ const n = ae({}), o = E([]);
582
+ be = {
583
+ dialogs: n,
584
584
  dialogStack: o,
585
585
  openDialog: (c = {}) => {
586
- const f = c.dialogId || "dialog-" + Ze(), i = o.value.length;
586
+ const f = c.dialogId || "dialog-" + ot(), i = o.value.length;
587
587
  i >= 1 && (c.appendToBody = !0);
588
588
  const g = {
589
589
  id: f,
590
590
  level: i,
591
591
  config: c
592
592
  };
593
- if (t[f] = g, o.value.length >= 1) {
593
+ if (n[f] = g, o.value.length >= 1) {
594
594
  let h = !1;
595
595
  for (let y = 0; y < o.value.length; y++)
596
596
  if (f == o.value[y]) {
@@ -603,18 +603,18 @@ const Se = () => {
603
603
  return f;
604
604
  },
605
605
  closeDialog: (c) => {
606
- delete t[c], o.value = o.value.filter((f) => f !== c);
606
+ delete n[c], o.value = o.value.filter((f) => f !== c);
607
607
  },
608
608
  closeAllDialogs: () => {
609
- Object.keys(t).forEach((c) => {
610
- delete t[c];
609
+ Object.keys(n).forEach((c) => {
610
+ delete n[c];
611
611
  }), o.value = [];
612
612
  },
613
613
  getDialogCount: () => o.value.length
614
614
  };
615
615
  }
616
- return ye;
617
- }, Sn = /* @__PURE__ */ Object.assign({
616
+ return be;
617
+ }, bn = /* @__PURE__ */ Object.assign({
618
618
  name: "FullScreenDialog"
619
619
  }, {
620
620
  __name: "FullscreenDialog",
@@ -625,90 +625,96 @@ const Se = () => {
625
625
  }
626
626
  },
627
627
  emits: ["confirm", "cancel"],
628
- setup(t, { expose: o, emit: s }) {
629
- const n = t, p = s, a = w(() => n.config), c = w(() => a.value.title || "对话框"), f = w(() => !!n.config.showHeader), i = k(a.value.fullscreen), g = k(a.value.width), h = k(!0), y = w(() => {
628
+ setup(n, { expose: o, emit: l }) {
629
+ const t = n, d = l, a = P(() => t.config), c = P(() => a.value.title || "对话框"), f = P(() => !!t.config.showHeader), i = E(a.value.fullscreen), g = E(a.value.width), h = E(!0), y = P(() => {
630
630
  let C = a.value.width ?? 800;
631
631
  return f.value ? C + 32 : C;
632
- }), v = w(() => {
632
+ }), v = P(() => {
633
633
  let C = {};
634
634
  return C.style = {}, C.style.width = a.value.width ?? 800, C.style.height = a.value.height ?? 600, C.prop = {}, C.prop.subpageId = a.value.pageId, C.containerParam = a.value.pageParam || {}, C;
635
- }), V = w(() => {
635
+ }), O = P(() => {
636
636
  let C = {};
637
637
  return C.modal = a.value.modal, C["show-close"] = a.value.showClose, C.draggable = a.value.draggable, a.value.appendToBody && (C["append-to-body"] = a.value.appendToBody), f.value || (C.class = " no-header-dialog"), C;
638
- }), M = w(() => {
638
+ }), b = P(() => {
639
639
  let C = {};
640
640
  if (a.value.customPosition) {
641
- let q = a.value.absLeft ?? 100, P = a.value.absTop ?? 100;
641
+ let W = a.value.absLeft ?? 100, k = a.value.absTop ?? 100;
642
642
  Object.assign(C, {
643
643
  position: "fixed",
644
- left: `${q}px`,
645
- top: `${P}px`,
644
+ left: `${W}px`,
645
+ top: `${k}px`,
646
646
  transform: "none",
647
- margin: "0"
647
+ margin: "0 !important"
648
648
  });
649
649
  }
650
650
  return a.value.noBackgroundColor && Object.assign(C, {
651
651
  backgroundColor: "transparent"
652
652
  }), C;
653
- }), E = () => {
654
- p("confirm");
655
- }, T = () => {
656
- p("cancel"), R();
657
- }, R = () => {
653
+ }), w = () => {
654
+ d("confirm");
655
+ }, M = () => {
656
+ d("cancel"), F();
657
+ }, F = () => {
658
658
  h.value = !1;
659
- }, oe = (C) => {
660
- p("cancel");
659
+ }, Y = (C) => {
660
+ d("cancel");
661
661
  };
662
- o({
663
- close: R
662
+ le("VE-CompMethod", function() {
663
+ $("warning", "对话框模式,不提供compMethod函数实现");
664
+ }), le("VE-CompHideAndShow", function() {
665
+ $("warning", "对话框模式,不提供compHideAndShow函数实现");
666
+ }), o({
667
+ close: F
664
668
  });
665
- const Q = { props: n, emit: p, config: a, title: c, showTitle: f, isFullscreen: i, previousWidth: g, openDialog: h, dialogWidth: y, element: v, bindAttr: V, customStyle: M, confirmInner: E, cancel: T, close: R, handleClose: oe, ref: k, computed: w, get isNotEmpty() {
669
+ const N = { props: t, emit: d, config: a, title: c, showTitle: f, isFullscreen: i, previousWidth: g, openDialog: h, dialogWidth: y, element: v, bindAttr: O, customStyle: b, confirmInner: w, cancel: M, close: F, handleClose: Y, ref: E, computed: P, provide: le, get consolePrint() {
670
+ return $;
671
+ }, get isNotEmpty() {
666
672
  return _;
667
673
  } };
668
- return Object.defineProperty(Q, "__isScriptSetup", { enumerable: !1, value: !0 }), Q;
674
+ return Object.defineProperty(N, "__isScriptSetup", { enumerable: !1, value: !0 }), N;
669
675
  }
670
676
  });
671
- function xn(t, o, s, n, p, a) {
672
- const c = W("Subpage"), f = W("el-button"), i = W("el-dialog");
673
- return O(), B("div", { class: "full-screen-dialog-wrapper" }, [
674
- U(i, Bt({
675
- modelValue: n.openDialog,
676
- "onUpdate:modelValue": o[0] || (o[0] = (g) => n.openDialog = g),
677
- width: n.dialogWidth,
678
- fullscreen: n.isFullscreen
679
- }, n.bindAttr, {
680
- style: n.customStyle,
681
- onClose: n.handleClose
682
- }), Ht({
683
- header: A(() => [
684
- n.showTitle ? (O(), B("span", { key: 0 }, Nt(n.title), 1)) : Re("", !0)
677
+ function xn(n, o, l, t, d, a) {
678
+ const c = A("Subpage"), f = A("el-button"), i = A("el-dialog");
679
+ return T(), H("div", { class: "full-screen-dialog-wrapper" }, [
680
+ I(i, Ht({
681
+ modelValue: t.openDialog,
682
+ "onUpdate:modelValue": o[0] || (o[0] = (g) => t.openDialog = g),
683
+ width: t.dialogWidth,
684
+ fullscreen: t.isFullscreen
685
+ }, t.bindAttr, {
686
+ style: t.customStyle,
687
+ onClose: t.handleClose
688
+ }), Lt({
689
+ header: D(() => [
690
+ t.showTitle ? (T(), H("span", { key: 0 }, qt(t.title), 1)) : je("", !0)
685
691
  ]),
686
- default: A(() => [
687
- n.isNotEmpty(n.config.pageId) ? (O(), L(c, {
692
+ default: D(() => [
693
+ t.isNotEmpty(t.config.pageId) ? (T(), K(c, {
688
694
  key: 0,
689
- "prop-value": n.element.prop,
690
- element: n.element
691
- }, null, 8, ["prop-value", "element"])) : Re("", !0)
695
+ "prop-value": t.element.prop,
696
+ element: t.element
697
+ }, null, 8, ["prop-value", "element"])) : je("", !0)
692
698
  ]),
693
699
  _: 2
694
700
  }, [
695
- n.config.showFooter ? {
701
+ t.config.showFooter ? {
696
702
  name: "footer",
697
- fn: A(() => [
698
- ne("div", { class: "dialog-footer" }, [
699
- U(f, {
703
+ fn: D(() => [
704
+ ee("div", { class: "dialog-footer" }, [
705
+ I(f, {
700
706
  type: "primary",
701
- onClick: n.confirmInner
707
+ onClick: t.confirmInner
702
708
  }, {
703
- default: A(() => [
704
- $("确定")
709
+ default: D(() => [
710
+ R("确定")
705
711
  ]),
706
712
  _: 1
707
713
  }),
708
- $(),
709
- U(f, { onClick: n.cancel }, {
710
- default: A(() => [
711
- $("关 闭")
714
+ R(),
715
+ I(f, { onClick: t.cancel }, {
716
+ default: D(() => [
717
+ R("关 闭")
712
718
  ]),
713
719
  _: 1
714
720
  })
@@ -719,28 +725,28 @@ function xn(t, o, s, n, p, a) {
719
725
  ]), 1040, ["modelValue", "width", "fullscreen", "style"])
720
726
  ]);
721
727
  }
722
- const wn = /* @__PURE__ */ z(Sn, [["render", xn], ["__scopeId", "data-v-fe28b3b7"], ["__file", "FullscreenDialog.vue"]]), bn = /* @__PURE__ */ Object.assign({
728
+ const Cn = /* @__PURE__ */ J(bn, [["render", xn], ["__scopeId", "data-v-f70ef416"], ["__file", "FullscreenDialog.vue"]]), Pn = /* @__PURE__ */ Object.assign({
723
729
  name: "DialogContainer"
724
730
  }, {
725
731
  __name: "DialogContainer",
726
- setup(t, { expose: o }) {
732
+ setup(n, { expose: o }) {
727
733
  o();
728
- const { dialogs: s, closeDialog: n } = Se(), p = w(() => Object.values(s)), c = { dialogs: s, closeDialog: n, dialogList: p, cancelHandler: (f) => {
729
- n(f);
734
+ const { dialogs: l, closeDialog: t } = Oe(), d = P(() => Object.values(l)), c = { dialogs: l, closeDialog: t, dialogList: d, cancelHandler: (f) => {
735
+ t(f);
730
736
  }, get useDialogManager() {
731
- return Se;
732
- }, computed: w, FullScreenDialog: wn };
737
+ return Oe;
738
+ }, computed: P, FullScreenDialog: Cn };
733
739
  return Object.defineProperty(c, "__isScriptSetup", { enumerable: !1, value: !0 }), c;
734
740
  }
735
741
  });
736
- function Cn(t, o, s, n, p, a) {
737
- return O(!0), B(Oe, null, Ve(n.dialogList, (c) => (O(), L(n.FullScreenDialog, {
742
+ function Vn(n, o, l, t, d, a) {
743
+ return T(!0), H(Ee, null, Te(t.dialogList, (c) => (T(), K(t.FullScreenDialog, {
738
744
  key: c.id,
739
745
  config: c.config,
740
- onCancel: (f) => n.cancelHandler(c.id)
746
+ onCancel: (f) => t.cancelHandler(c.id)
741
747
  }, null, 8, ["config", "onCancel"]))), 128);
742
748
  }
743
- const Pn = /* @__PURE__ */ z(bn, [["render", Cn], ["__file", "DialogContainer.vue"]]), On = /* @__PURE__ */ Object.assign({
749
+ const On = /* @__PURE__ */ J(Pn, [["render", Vn], ["__file", "DialogContainer.vue"]]), Mn = /* @__PURE__ */ Object.assign({
744
750
  name: "CommonDialog"
745
751
  }, {
746
752
  __name: "index",
@@ -759,62 +765,62 @@ const Pn = /* @__PURE__ */ z(bn, [["render", Cn], ["__file", "DialogContainer.vu
759
765
  }
760
766
  },
761
767
  emits: ["confirm"],
762
- setup(t, { expose: o, emit: s }) {
763
- const n = k("弹框"), p = k(!1), a = t, c = s;
768
+ setup(n, { expose: o, emit: l }) {
769
+ const t = E("弹框"), d = E(!1), a = n, c = l;
764
770
  let f = null;
765
- const i = w(() => n.value && _(n.value) ? n.value : a.title), g = () => {
771
+ const i = P(() => t.value && _(t.value) ? t.value : a.title), g = () => {
766
772
  c("confirm", { callBack: f });
767
773
  }, h = () => {
768
- p.value = !1;
769
- }, y = (V = {}) => {
770
- p.value = !0, f = V.callBack, n.value = V.title || "";
774
+ d.value = !1;
775
+ }, y = (O = {}) => {
776
+ d.value = !0, f = O.callBack, t.value = O.title || "";
771
777
  };
772
778
  o({
773
779
  show: y,
774
780
  cancel: h
775
781
  });
776
- const v = { showTitle: n, openDialog: p, props: a, emit: c, get callBack() {
782
+ const v = { showTitle: t, openDialog: d, props: a, emit: c, get callBack() {
777
783
  return f;
778
- }, set callBack(V) {
779
- f = V;
780
- }, title: i, confirmInner: g, cancel: h, show: y, ref: k, computed: w, get isNotEmpty() {
784
+ }, set callBack(O) {
785
+ f = O;
786
+ }, title: i, confirmInner: g, cancel: h, show: y, ref: E, computed: P, get isNotEmpty() {
781
787
  return _;
782
788
  } };
783
789
  return Object.defineProperty(v, "__isScriptSetup", { enumerable: !1, value: !0 }), v;
784
790
  }
785
791
  });
786
- function Vn(t, o, s, n, p, a) {
787
- const c = W("el-button"), f = W("el-dialog");
788
- return O(), L(f, {
789
- title: n.title,
790
- modelValue: n.openDialog,
791
- "onUpdate:modelValue": o[0] || (o[0] = (i) => n.openDialog = i),
792
- width: n.props.width,
793
- "before-close": n.cancel,
792
+ function kn(n, o, l, t, d, a) {
793
+ const c = A("el-button"), f = A("el-dialog");
794
+ return T(), K(f, {
795
+ title: t.title,
796
+ modelValue: t.openDialog,
797
+ "onUpdate:modelValue": o[0] || (o[0] = (i) => t.openDialog = i),
798
+ width: t.props.width,
799
+ "before-close": t.cancel,
794
800
  "destroy-on-close": !0,
795
- modal: n.props.modal,
801
+ modal: t.props.modal,
796
802
  "show-close": !1,
797
803
  "align-center": !0,
798
804
  draggable: ""
799
805
  }, {
800
- default: A(() => [
801
- Lt(t.$slots, "dialog-content")
806
+ default: D(() => [
807
+ Kt(n.$slots, "dialog-content")
802
808
  ]),
803
- footer: A(() => [
804
- ne("div", { class: "dialog-footer" }, [
805
- U(c, {
809
+ footer: D(() => [
810
+ ee("div", { class: "dialog-footer" }, [
811
+ I(c, {
806
812
  type: "primary",
807
- onClick: n.confirmInner
813
+ onClick: t.confirmInner
808
814
  }, {
809
- default: A(() => [
810
- $("确定")
815
+ default: D(() => [
816
+ R("确定")
811
817
  ]),
812
818
  _: 1
813
819
  }),
814
- $(),
815
- U(c, { onClick: n.cancel }, {
816
- default: A(() => [
817
- $("关 闭")
820
+ R(),
821
+ I(c, { onClick: t.cancel }, {
822
+ default: D(() => [
823
+ R("关 闭")
818
824
  ]),
819
825
  _: 1
820
826
  })
@@ -823,7 +829,7 @@ function Vn(t, o, s, n, p, a) {
823
829
  _: 3
824
830
  }, 8, ["title", "modelValue", "width", "modal"]);
825
831
  }
826
- const Mn = /* @__PURE__ */ z(On, [["render", Vn], ["__file", "index.vue"]]), In = /* @__PURE__ */ Object.assign({
832
+ const In = /* @__PURE__ */ J(Mn, [["render", kn], ["__file", "index.vue"]]), En = /* @__PURE__ */ Object.assign({
827
833
  name: "OmitInput"
828
834
  }, {
829
835
  __name: "index",
@@ -842,59 +848,59 @@ const Mn = /* @__PURE__ */ z(On, [["render", Vn], ["__file", "index.vue"]]), In
842
848
  }
843
849
  },
844
850
  emits: ["update:modelValue"],
845
- setup(t, { expose: o, emit: s }) {
851
+ setup(n, { expose: o, emit: l }) {
846
852
  o();
847
- const n = t, p = s, a = k(null), c = k(""), f = w({
848
- get: () => n.modelValue,
849
- set: (y) => p("update:modelValue", y)
850
- }), h = { props: n, emits: p, inputDialogRef: a, inputTextArea: c, internalValue: f, openInputDialog: () => {
851
- c.value = le(f.value), a.value?.show();
853
+ const t = n, d = l, a = E(null), c = E(""), f = P({
854
+ get: () => t.modelValue,
855
+ set: (y) => d("update:modelValue", y)
856
+ }), h = { props: t, emits: d, inputDialogRef: a, inputTextArea: c, internalValue: f, openInputDialog: () => {
857
+ c.value = ie(f.value), a.value?.show();
852
858
  }, confirmEdit: (y) => {
853
- f.value = le(c.value), a.value?.cancel();
854
- }, ref: k, computed: w, get deepCopy() {
855
- return le;
859
+ f.value = ie(c.value), a.value?.cancel();
860
+ }, ref: E, computed: P, get deepCopy() {
861
+ return ie;
856
862
  } };
857
863
  return Object.defineProperty(h, "__isScriptSetup", { enumerable: !1, value: !0 }), h;
858
864
  }
859
865
  });
860
- function kn(t, o, s, n, p, a) {
861
- const c = W("el-text"), f = W("el-input"), i = W("CommonDialog");
862
- return O(), B("div", {
863
- class: Je(["custom-omit-input-wrapper", t.$attrs.class])
866
+ function Tn(n, o, l, t, d, a) {
867
+ const c = A("el-text"), f = A("el-input"), i = A("CommonDialog");
868
+ return T(), H("div", {
869
+ class: Qe(["custom-omit-input-wrapper", n.$attrs.class])
864
870
  }, [
865
- U(f, {
866
- modelValue: n.internalValue,
867
- "onUpdate:modelValue": o[0] || (o[0] = (g) => n.internalValue = g),
868
- placeholder: n.props.placeholder,
871
+ I(f, {
872
+ modelValue: t.internalValue,
873
+ "onUpdate:modelValue": o[0] || (o[0] = (g) => t.internalValue = g),
874
+ placeholder: t.props.placeholder,
869
875
  clearable: "",
870
876
  type: "text",
871
877
  class: "custom-omit-input"
872
878
  }, {
873
- append: A(() => [
874
- U(c, {
879
+ append: D(() => [
880
+ I(c, {
875
881
  style: { width: "32px", "text-align": "center" },
876
- onClick: n.openInputDialog
882
+ onClick: t.openInputDialog
877
883
  }, {
878
- default: A(() => [
879
- $("...")
884
+ default: D(() => [
885
+ R("...")
880
886
  ]),
881
887
  _: 1
882
888
  })
883
889
  ]),
884
890
  _: 1
885
891
  }, 8, ["modelValue", "placeholder"]),
886
- $(),
887
- U(i, {
892
+ R(),
893
+ I(i, {
888
894
  ref: "inputDialogRef",
889
- title: n.props.dialogTitle,
895
+ title: t.props.dialogTitle,
890
896
  width: 700,
891
- onConfirm: n.confirmEdit
897
+ onConfirm: t.confirmEdit
892
898
  }, {
893
- "dialog-content": A(() => [
894
- ne("div", { style: { width: "100%", height: "500px", "overflow-y": "auto", "overflow-x": "hidden" } }, [
895
- U(f, {
896
- modelValue: n.inputTextArea,
897
- "onUpdate:modelValue": o[1] || (o[1] = (g) => n.inputTextArea = g),
899
+ "dialog-content": D(() => [
900
+ ee("div", { style: { width: "100%", height: "500px", "overflow-y": "auto", "overflow-x": "hidden" } }, [
901
+ I(f, {
902
+ modelValue: t.inputTextArea,
903
+ "onUpdate:modelValue": o[1] || (o[1] = (g) => t.inputTextArea = g),
898
904
  type: "textarea",
899
905
  rows: 22
900
906
  }, null, 8, ["modelValue"])
@@ -904,7 +910,7 @@ function kn(t, o, s, n, p, a) {
904
910
  }, 8, ["title"])
905
911
  ], 2);
906
912
  }
907
- const En = /* @__PURE__ */ z(In, [["render", kn], ["__scopeId", "data-v-956a5a3a"], ["__file", "index.vue"]]), xe = Jt(
913
+ const Dn = /* @__PURE__ */ J(En, [["render", Tn], ["__scopeId", "data-v-956a5a3a"], ["__file", "index.vue"]]), fe = Gt(
908
914
  "ve/dataCache",
909
915
  {
910
916
  state: () => ({
@@ -921,533 +927,533 @@ const En = /* @__PURE__ */ z(In, [["render", kn], ["__scopeId", "data-v-956a5a3a
921
927
  // 暂时只考虑扁平结构
922
928
  }),
923
929
  actions: {
924
- setData(t, o) {
925
- this.data[t] = o;
930
+ setData(n, o) {
931
+ this.data[n] = o;
926
932
  },
927
- setPageSource(t = "DB") {
928
- this.pageSource = t;
933
+ setPageSource(n = "DB") {
934
+ this.pageSource = n;
929
935
  },
930
- setContainerSymbol(t) {
931
- this.containerSymbol = t;
936
+ setContainerSymbol(n) {
937
+ this.containerSymbol = n;
932
938
  },
933
- setTdtApiKey(t = "") {
934
- this.tdtApiKey = t;
939
+ setTdtApiKey(n = "") {
940
+ this.tdtApiKey = n;
935
941
  },
936
- setRuleData(t, o, s = !1) {
937
- s ? this.rules[t] = o : this.rules[t] || (this.rules[t] = o);
942
+ setRuleData(n, o, l = !1) {
943
+ l ? this.rules[n] = o : this.rules[n] || (this.rules[n] = o);
938
944
  }
939
945
  }
940
946
  }
941
- ), Le = (t) => {
947
+ ), Ue = (n) => {
942
948
  const o = /* @__PURE__ */ new Map();
943
949
  return new Proxy({}, {
944
- get(s, n = "undefinedKey") {
945
- return o.has(n) || o.set(n, w(() => t.data[n] || {})), o.get(n);
950
+ get(l, t = "undefinedKey") {
951
+ return o.has(t) || o.set(t, P(() => n.data[t] || {})), o.get(t);
946
952
  },
947
- set(s, n, p) {
948
- return t.setData(n, p), !0;
953
+ set(l, t, d) {
954
+ return n.setData(t, d), !0;
949
955
  }
950
956
  });
951
957
  };
952
- function Tn() {
953
- const t = fe("hflvloader-api");
954
- if (!t)
958
+ function Rn() {
959
+ const n = ge("hflvloader-api");
960
+ if (!n)
955
961
  throw new Error("组件注册时未提供API,请检查!");
956
- return t;
962
+ return n;
957
963
  }
958
- function we(t, o, s = {}) {
959
- let n = {
960
- ...s,
964
+ function de(n, o, l = {}) {
965
+ let t = {
966
+ ...l,
961
967
  message: o || "message",
962
- type: t || "info"
968
+ type: n || "info"
963
969
  };
964
- Ut(n);
970
+ Qt(t);
965
971
  }
966
- function be(t, o, s = {}) {
967
- let n = {
968
- ...s,
972
+ function Me(n, o, l = {}) {
973
+ let t = {
974
+ ...l,
969
975
  message: o || "message",
970
- type: t || "info"
976
+ type: n || "info"
971
977
  };
972
- Wt(n);
978
+ Yt(t);
973
979
  }
974
- function rt(t = {}) {
975
- const o = zt.service(t);
976
- let s = t.timeout || 3e4;
980
+ function at(n = {}) {
981
+ const o = Xt.service(n);
982
+ let l = n.timeout || 3e4;
977
983
  return setTimeout(() => {
978
984
  o && o.close();
979
- }, s), o;
985
+ }, l), o;
980
986
  }
981
- async function lt(t, o, s = {}) {
982
- let n = [], p = {};
987
+ async function ct(n, o, l = {}) {
988
+ let t = [], d = {};
983
989
  try {
984
- (await Promise.allSettled([Ue.confirm(o, t, s)])).forEach((c, f) => {
990
+ (await Promise.allSettled([Ye.confirm(o, n, l)])).forEach((c, f) => {
985
991
  if (c.status === "fulfilled")
986
- f === 0 && (p = c.value);
992
+ f === 0 && (d = c.value);
987
993
  else {
988
994
  const i = c.reason;
989
- n.push(i);
995
+ t.push(i);
990
996
  }
991
997
  });
992
998
  } catch (a) {
993
- console.error("showMessageBoxConfirmAsync 异常:", a), n.push(a);
999
+ console.error("showMessageBoxConfirmAsync 异常:", a), t.push(a);
994
1000
  }
995
- return { errors: n, resultInfo: p };
1001
+ return { errors: t, resultInfo: d };
996
1002
  }
997
- async function st(t, o, s = {}) {
998
- let n = [], p = {};
1003
+ async function ut(n, o, l = {}) {
1004
+ let t = [], d = {};
999
1005
  try {
1000
- (await Promise.allSettled([Ue.prompt(o, t, s)])).forEach((c, f) => {
1006
+ (await Promise.allSettled([Ye.prompt(o, n, l)])).forEach((c, f) => {
1001
1007
  if (c.status === "fulfilled")
1002
- f === 0 && (p = c.value);
1008
+ f === 0 && (d = c.value);
1003
1009
  else {
1004
1010
  const i = c.reason;
1005
- n.push(i);
1011
+ t.push(i);
1006
1012
  }
1007
1013
  });
1008
1014
  } catch (a) {
1009
- console.error("showMessageBoxPromptAsync 异常:", a), n.push(a);
1015
+ console.error("showMessageBoxPromptAsync 异常:", a), t.push(a);
1010
1016
  }
1011
- return { errors: n, resultInfo: p };
1017
+ return { errors: t, resultInfo: d };
1012
1018
  }
1013
- const Wn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1019
+ const Xn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1014
1020
  __proto__: null,
1015
- showLoading: rt,
1016
- showMessage: we,
1017
- showMessageBoxConfirmAsync: lt,
1018
- showMessageBoxPromptAsync: st,
1019
- showNotification: be
1020
- }, Symbol.toStringTag, { value: "Module" })), ee = {
1021
- "==": (t, o) => t == o,
1022
- "!=": (t, o) => t != o,
1023
- ">": (t, o) => +t > +o,
1024
- ">=": (t, o) => +t >= +o,
1025
- "<": (t, o) => +t < +o,
1026
- "<=": (t, o) => +t <= +o,
1027
- contain: (t, o) => t != null && String(t).includes(String(o)),
1028
- unContain: (t, o) => t == null || !String(t).includes(String(o)),
1029
- equals: (t, o) => t != null && String(t) == String(o),
1030
- notEquals: (t, o) => t == null || !String(t) == String(o),
1031
- equalsIgnoreCase: (t, o) => t != null && String(t).toLowerCase() == String(o).toLowerCase()
1032
- }, te = (t) => typeof t == "string" && t.trim() !== "" && !isNaN(t) ? +t : t;
1033
- function qe(t = {}, o = !0, s = {}) {
1034
- const n = t, p = o, a = s, c = /* @__PURE__ */ new Map(), f = Tn(), i = xe(), g = fe("VE-ContainerParam"), h = fe("VE-CompMethod"), y = [], { openDialog: v, closeDialog: V } = Se();
1035
- let M = null;
1036
- const E = 250, T = fe("VE-CompHideAndShow"), R = [], oe = (e) => {
1021
+ showLoading: at,
1022
+ showMessage: de,
1023
+ showMessageBoxConfirmAsync: ct,
1024
+ showMessageBoxPromptAsync: ut,
1025
+ showNotification: Me
1026
+ }, Symbol.toStringTag, { value: "Module" })), oe = {
1027
+ "==": (n, o) => n == o,
1028
+ "!=": (n, o) => n != o,
1029
+ ">": (n, o) => +n > +o,
1030
+ ">=": (n, o) => +n >= +o,
1031
+ "<": (n, o) => +n < +o,
1032
+ "<=": (n, o) => +n <= +o,
1033
+ contain: (n, o) => n != null && String(n).includes(String(o)),
1034
+ unContain: (n, o) => n == null || !String(n).includes(String(o)),
1035
+ equals: (n, o) => n != null && String(n) == String(o),
1036
+ notEquals: (n, o) => n == null || !String(n) == String(o),
1037
+ equalsIgnoreCase: (n, o) => n != null && String(n).toLowerCase() == String(o).toLowerCase()
1038
+ }, re = (n) => typeof n == "string" && n.trim() !== "" && !isNaN(n) ? +n : n;
1039
+ function Je(n = {}, o = !0, l = {}) {
1040
+ const t = n, d = o, a = l, c = /* @__PURE__ */ new Map(), f = Rn(), i = fe(), g = ge("VE-ContainerParam"), h = ge("VE-CompMethod"), y = [], { openDialog: v, closeDialog: O } = Oe();
1041
+ let b = null;
1042
+ const w = 250, M = ge("VE-CompHideAndShow"), F = [], Y = (e) => {
1037
1043
  if (g) {
1038
- if (Ge(g))
1044
+ if (Ze(g))
1039
1045
  return g.value[e];
1040
- if (ie(g))
1046
+ if (ue(g))
1041
1047
  return g[e];
1042
1048
  }
1043
- }, Q = (e) => {
1049
+ }, N = (e) => {
1044
1050
  if (e && e.path) {
1045
- let l = e.params || [], r = {};
1046
- l.forEach((u, d) => {
1047
- if (X(u)) {
1048
- let m = H(u);
1051
+ let s = e.params || [], r = {};
1052
+ s.forEach((u, p) => {
1053
+ if (te(u)) {
1054
+ let m = z(u);
1049
1055
  r[u.tarKey] = m;
1050
1056
  }
1051
- }), e.namedRouter ? j(a.routerPush) && a.routerPush(e.path, r) : j(a.routerPush2) && a.routerPush2(e.path, r);
1057
+ }), e.namedRouter ? q(a.routerPush) && a.routerPush(e.path, r) : q(a.routerPush2) && a.routerPush2(e.path, r);
1052
1058
  }
1053
1059
  }, C = (e = []) => {
1054
- let l = [];
1060
+ let s = [];
1055
1061
  return e.forEach((r) => {
1056
- if (X(r)) {
1057
- let u = H(r);
1058
- l.push([
1062
+ if (te(r)) {
1063
+ let u = z(r);
1064
+ s.push([
1059
1065
  r.tarKey,
1060
1066
  u
1061
1067
  ]);
1062
1068
  }
1063
- }), l;
1064
- }, q = (e, l) => {
1069
+ }), s;
1070
+ }, W = (e, s) => {
1065
1071
  if (e.customFunc && _(e.successFunc)) {
1066
1072
  const r = {
1067
- helper: { ...a, ...b }
1073
+ helper: { ...a, ...V }
1068
1074
  };
1069
1075
  try {
1070
1076
  let u = e.successFunc.toString().trim();
1071
- u.indexOf("function") < 0 && (u = `function(res) { ${u} }`), new Function("context", `with(context) {return ${u}}`)(r)(l);
1077
+ u.indexOf("function") < 0 && (u = `function(res) { ${u} }`), new Function("context", `with(context) {return ${u}}`)(r)(s);
1072
1078
  } catch (u) {
1073
1079
  console.error("[_dataRequestHandler4CustomSuccessFunc]处理自定义成功函数时出错:", u);
1074
1080
  }
1075
1081
  }
1076
- }, P = (e, l, r) => {
1082
+ }, k = (e, s, r) => {
1077
1083
  if (e.customFunc && _(e.errorFunc)) {
1078
1084
  const u = {
1079
- helper: { ...a, ...b }
1085
+ helper: { ...a, ...V }
1080
1086
  };
1081
1087
  try {
1082
- let d = e.errorFunc.toString().trim();
1083
- d.indexOf("function") < 0 && (d = "function (res,err){" + d + "}"), new Function("context", `with(context) {return ${d}}`)(u)(l, r);
1084
- } catch (d) {
1085
- console.error("[_dataRequestHandler4CustomErrorFunc]处理自定义失败函数时出错:", d);
1088
+ let p = e.errorFunc.toString().trim();
1089
+ p.indexOf("function") < 0 && (p = "function (res,err){" + p + "}"), new Function("context", `with(context) {return ${p}}`)(u)(s, r);
1090
+ } catch (p) {
1091
+ console.error("[_dataRequestHandler4CustomErrorFunc]处理自定义失败函数时出错:", p);
1086
1092
  }
1087
1093
  }
1088
- }, x = (e, l) => {
1089
- if (D(l) && l.length > 0) {
1090
- let r, u, d;
1091
- for (let m = 0; m < l.length; m++)
1092
- r = l[m], d = r.dataKey || "data", _(d) && ve(e, d) && (u = _e(e, d), _(r.ds) && _(r.tarKey) && dt(r, u));
1094
+ }, x = (e, s) => {
1095
+ if (B(s) && s.length > 0) {
1096
+ let r, u, p;
1097
+ for (let m = 0; m < s.length; m++)
1098
+ r = s[m], p = r.dataKey || "data", _(p) && Ve(e, p) && (u = Pe(e, p), _(r.ds) && _(r.tarKey) && yt(r, u));
1093
1099
  }
1094
- }, K = async (e) => {
1095
- let l = [], r = {};
1100
+ }, G = async (e) => {
1101
+ let s = [], r = {};
1096
1102
  try {
1097
- (await Promise.allSettled([f.rawRequest(e)])).forEach((d, m) => {
1098
- if (d.status === "fulfilled")
1099
- m === 0 && (r = d.value);
1103
+ (await Promise.allSettled([f.rawRequest(e)])).forEach((p, m) => {
1104
+ if (p.status === "fulfilled")
1105
+ m === 0 && (r = p.value);
1100
1106
  else {
1101
- const S = d.reason;
1102
- l.push(S);
1107
+ const S = p.reason;
1108
+ s.push(S);
1103
1109
  }
1104
1110
  });
1105
1111
  } catch (u) {
1106
- console.error("_dataRequestHandler4Async 异常:", u), l.push(u);
1112
+ console.error("_dataRequestHandler4Async 异常:", u), s.push(u);
1107
1113
  }
1108
- return { errors: l, resultInfo: r };
1109
- }, J = (e) => {
1114
+ return { errors: s, resultInfo: r };
1115
+ }, Q = (e) => {
1110
1116
  if (e.method == "GET" || e.method == "get") {
1111
- let l = e.url;
1112
- if (/\{#.*?#\}/g.test(l)) {
1113
- let u = e.data || [], d = /* @__PURE__ */ new Set(), m = !1, S = null;
1114
- if (l = l.replace(/\{#(.*?)#\}/g, (I, Y) => {
1117
+ let s = e.url;
1118
+ if (/\{#.*?#\}/g.test(s)) {
1119
+ let u = e.data || [], p = /* @__PURE__ */ new Set(), m = !1, S = null;
1120
+ if (s = s.replace(/\{#(.*?)#\}/g, (j, Z) => {
1115
1121
  m = !1, S = null;
1116
- for (let re = 0; re < u.length; re++)
1117
- if (Y == u[re][0]) {
1118
- m = !0, S = u[re][1];
1122
+ for (let se = 0; se < u.length; se++)
1123
+ if (Z == u[se][0]) {
1124
+ m = !0, S = u[se][1];
1119
1125
  break;
1120
1126
  }
1121
- return m ? (d.add(Y), S) : I;
1122
- }), d.size > 0) {
1123
- let I = u.filter((Y, re) => !d.has(Y[0]));
1124
- e.url = l, e.data = I || [];
1127
+ return m ? (p.add(Z), S) : j;
1128
+ }), p.size > 0) {
1129
+ let j = u.filter((Z, se) => !p.has(Z[0]));
1130
+ e.url = s, e.data = j || [];
1125
1131
  }
1126
1132
  }
1127
1133
  }
1128
- }, it = async (e) => {
1134
+ }, ft = async (e) => {
1129
1135
  if (e && _(e.url)) {
1130
- let l = e.respParams || [], r = {};
1131
- r.url = e.url, r.externalRequest = e.external || !1, r.method = e.method || "GET", r.paramType = "object", r.data = C(e.params), r.headers = e.headers, e.series && (r.series = e.series, r.requestCount = e.requestCount || 0, r.time = e.time || 1e3), J(r);
1136
+ let s = e.respParams || [], r = {};
1137
+ r.url = e.url, r.externalRequest = e.external || !1, r.method = e.method || "GET", r.paramType = "object", r.data = C(e.params), r.headers = e.headers, e.series && (r.series = e.series, r.requestCount = e.requestCount || 0, r.time = e.time || 1e3), Q(r);
1132
1138
  let u = null;
1133
1139
  if (e.loading) {
1134
- let d = e.load || {}, m = {
1135
- ...d.extParam,
1136
- lock: d.lock,
1137
- background: d.background,
1138
- text: d.text
1140
+ let p = e.load || {}, m = {
1141
+ ...p.extParam,
1142
+ lock: p.lock,
1143
+ background: p.background,
1144
+ text: p.text
1139
1145
  };
1140
- u = rt(m);
1146
+ u = at(m);
1141
1147
  }
1142
1148
  if (e.sync) {
1143
1149
  r.series = !1;
1144
- const { errors: d, resultInfo: m } = await K(r);
1145
- if (u && u.close(), d && d.length > 0) {
1150
+ const { errors: p, resultInfo: m } = await G(r);
1151
+ if (u && u.close(), p && p.length > 0) {
1146
1152
  if (e.enabledRespErrTip) {
1147
1153
  let S = e.respErrTip || {};
1148
- G(S);
1154
+ X(S);
1149
1155
  }
1150
- P(e, m, d[0]);
1156
+ k(e, m, p[0]);
1151
1157
  } else if (m)
1152
1158
  if (r.externalRequest)
1153
1159
  if (m && m.status == 200) {
1154
1160
  if (e.enabledRespTip) {
1155
1161
  let S = e.respTip || {};
1156
- G(S);
1162
+ X(S);
1157
1163
  }
1158
- x(m, l), q(e, m);
1164
+ x(m, s), W(e, m);
1159
1165
  } else {
1160
1166
  if (e.enabledRespErrTip) {
1161
1167
  let S = e.respErrTip || {};
1162
- G(S);
1168
+ X(S);
1163
1169
  }
1164
- P(e, m, null);
1170
+ k(e, m, null);
1165
1171
  }
1166
1172
  else {
1167
1173
  if (m) {
1168
1174
  if (e.enabledRespTip) {
1169
1175
  let S = e.respTip || {};
1170
- G(S);
1176
+ X(S);
1171
1177
  }
1172
- x(m, l);
1178
+ x(m, s);
1173
1179
  }
1174
- q(e, m);
1180
+ W(e, m);
1175
1181
  }
1176
1182
  } else {
1177
- let d = f.request(r, function(m) {
1183
+ let p = f.request(r, function(m) {
1178
1184
  if (u && u.close(), r.externalRequest)
1179
1185
  if (m && m.status == 200) {
1180
1186
  if (e.enabledRespTip) {
1181
1187
  let S = e.respTip || {};
1182
- G(S);
1188
+ X(S);
1183
1189
  }
1184
- x(m, l), q(e, m);
1190
+ x(m, s), W(e, m);
1185
1191
  } else {
1186
1192
  if (e.enabledRespErrTip) {
1187
1193
  let S = e.respErrTip || {};
1188
- G(S);
1194
+ X(S);
1189
1195
  }
1190
- P(e, m, null);
1196
+ k(e, m, null);
1191
1197
  }
1192
1198
  else {
1193
1199
  if (m) {
1194
1200
  if (e.enabledRespTip) {
1195
1201
  let S = e.respTip || {};
1196
- G(S);
1202
+ X(S);
1197
1203
  }
1198
- x(m, l);
1204
+ x(m, s);
1199
1205
  }
1200
- q(e, m);
1206
+ W(e, m);
1201
1207
  }
1202
1208
  }, function(m) {
1203
1209
  if (u && u.close(), e.enabledRespErrTip) {
1204
1210
  let S = e.respErrTip || {};
1205
- G(S);
1211
+ X(S);
1206
1212
  }
1207
- P(e, null, m);
1213
+ k(e, null, m);
1208
1214
  });
1209
- d && y.push(d);
1215
+ p && y.push(p);
1210
1216
  }
1211
1217
  }
1212
- }, G = (e = {}) => {
1213
- e.tipType == "msg" ? we(e.type, e.msg, e.extParam) : e.tipType == "notify" && be(e.type, e.msg, e.extParam);
1214
- }, at = (e) => {
1215
- if (e && D(e.params)) {
1216
- let l = e.params || [], r = null;
1217
- for (let u = 0; u < l.length; u++)
1218
- if (r = l[u], X(r)) {
1219
- let d = H(r);
1220
- b.setDataCache(r.tarKey, d);
1218
+ }, X = (e = {}) => {
1219
+ e.tipType == "msg" ? de(e.type, e.msg, e.extParam) : e.tipType == "notify" && Me(e.type, e.msg, e.extParam);
1220
+ }, dt = (e) => {
1221
+ if (e && B(e.params)) {
1222
+ let s = e.params || [], r = null;
1223
+ for (let u = 0; u < s.length; u++)
1224
+ if (r = s[u], te(r)) {
1225
+ let p = z(r);
1226
+ V.setDataCache(r.tarKey, p);
1221
1227
  }
1222
1228
  }
1223
- }, ct = (e) => {
1224
- if (e && D(e.params)) {
1225
- let l = e.params || [], r = null;
1226
- for (let u = 0; u < l.length; u++)
1227
- if (r = l[u], _(r.ipn) && _(r.opn) && c.has(r.ipn)) {
1228
- let d = c.get(r.ipn), m = ee.equals(d, r.ipv);
1229
+ }, pt = (e) => {
1230
+ if (e && B(e.params)) {
1231
+ let s = e.params || [], r = null;
1232
+ for (let u = 0; u < s.length; u++)
1233
+ if (r = s[u], _(r.ipn) && _(r.opn) && c.has(r.ipn)) {
1234
+ let p = c.get(r.ipn), m = oe.equals(p, r.ipv);
1229
1235
  if (m)
1230
1236
  c.set(r.opn, r.opv);
1231
1237
  else {
1232
- let S = te(d), I = te(r.ipv);
1233
- m = ee["=="](S, I), m && c.set(r.opn, r.opv);
1238
+ let S = re(p), j = re(r.ipv);
1239
+ m = oe["=="](S, j), m && c.set(r.opn, r.opv);
1234
1240
  }
1235
1241
  }
1236
1242
  }
1237
- }, ut = (e) => {
1238
- if (e && D(e.params)) {
1239
- let l = e.params || [], r = null;
1240
- for (let u = 0; u < l.length; u++)
1241
- if (r = l[u], X(r)) {
1242
- let d = H(r);
1243
- b.setParam(r.tarKey, d);
1243
+ }, mt = (e) => {
1244
+ if (e && B(e.params)) {
1245
+ let s = e.params || [], r = null;
1246
+ for (let u = 0; u < s.length; u++)
1247
+ if (r = s[u], te(r)) {
1248
+ let p = z(r);
1249
+ V.setParam(r.tarKey, p);
1244
1250
  }
1245
1251
  }
1246
- }, b = {
1252
+ }, V = {
1247
1253
  hasParam: function(e) {
1248
1254
  return c.has(e);
1249
1255
  },
1250
1256
  getParam: function(e) {
1251
1257
  return c.get(e);
1252
1258
  },
1253
- setParam: function(e, l) {
1254
- c.set(e, l);
1259
+ setParam: function(e, s) {
1260
+ c.set(e, s);
1255
1261
  },
1256
1262
  getDataCache: function(e) {
1257
1263
  return i.data[e];
1258
1264
  },
1259
- setDataCache: function(e, l) {
1260
- i.data[e] = l;
1265
+ setDataCache: function(e, s) {
1266
+ i.data[e] = s;
1261
1267
  },
1262
1268
  getContainerParam: function(e) {
1263
- return oe(e);
1269
+ return Y(e);
1264
1270
  },
1265
- setSessionParam: function(e, l) {
1266
- sessionStorage.setItem(e, l);
1271
+ setSessionParam: function(e, s) {
1272
+ sessionStorage.setItem(e, s);
1267
1273
  },
1268
1274
  getSessionParam: function(e) {
1269
1275
  return sessionStorage.getItem(e);
1270
1276
  },
1271
- setLocalParam: function(e, l) {
1272
- localStorage.setItem(e, l);
1277
+ setLocalParam: function(e, s) {
1278
+ localStorage.setItem(e, s);
1273
1279
  },
1274
1280
  getLocalParam: function(e) {
1275
1281
  return localStorage.getItem(e);
1276
1282
  },
1277
- callCompMethod: function(e, l, r = {}) {
1278
- j(h) ? h(e, l, r) : console.error("compMethod is not function.");
1283
+ callCompMethod: function(e, s, r = {}) {
1284
+ q(h) ? h(e, s, r) : console.error("compMethod is not function.");
1279
1285
  },
1280
- setJsCookie: function(e, l, r = 30) {
1281
- he.set(e, l, { expires: r });
1286
+ setJsCookie: function(e, s, r = 30) {
1287
+ we.set(e, s, { expires: r });
1282
1288
  },
1283
1289
  getJsCookie: function(e) {
1284
- return he.get(e);
1290
+ return we.get(e);
1285
1291
  },
1286
1292
  removeJsCookie: function(e) {
1287
- he.remove(e);
1293
+ we.remove(e);
1288
1294
  },
1289
- log: function(e = "log", l) {
1290
- e == "error" ? console.error(l) : e == "info" ? console.info(l) : e == "warn" ? console.warn(l) : console.log(l);
1295
+ log: function(e = "log", s) {
1296
+ e == "error" ? console.error(s) : e == "info" ? console.info(s) : e == "warn" ? console.warn(s) : console.log(s);
1291
1297
  },
1292
1298
  isNotEmptyStr: function(e) {
1293
1299
  return _(e);
1294
1300
  },
1295
1301
  md5: function(e) {
1296
- return et(e);
1302
+ return rt(e);
1297
1303
  },
1298
1304
  getDate: function(e) {
1299
- return Xe(e);
1305
+ return nt(e);
1300
1306
  },
1301
- formatDate: function(e, l = "yyyy-MM-dd") {
1302
- return Qe(e, l);
1307
+ formatDate: function(e, s = "yyyy-MM-dd") {
1308
+ return tt(e, s);
1303
1309
  },
1304
1310
  closeDialog: function(e) {
1305
- V(e);
1311
+ O(e);
1306
1312
  },
1307
- hideAndShowComp: function(e, l, r = {}) {
1308
- j(T) ? T(e, l, r) : console.error("hideAndShowComp is not function.");
1313
+ hideAndShowComp: function(e, s, r = {}) {
1314
+ q(M) ? M(e, s, r) : console.error("hideAndShowComp is not function.");
1309
1315
  }
1310
- }, ft = (e) => {
1316
+ }, gt = (e) => {
1311
1317
  if (e && _(e.funcBody)) {
1312
- const l = {
1313
- helper: { ...a, ...b }
1318
+ const s = {
1319
+ helper: { ...a, ...V }
1314
1320
  };
1315
1321
  try {
1316
1322
  let r = e.funcBody.toString().trim();
1317
- r.indexOf("function") < 0 && (r = "function(){" + r + "}"), new Function("context", `with(context) {return ${r}}`)(l)();
1323
+ r.indexOf("function") < 0 && (r = "function(){" + r + "}"), new Function("context", `with(context) {return ${r}}`)(s)();
1318
1324
  } catch (r) {
1319
1325
  console.error("处理自定义函数时出错:", r);
1320
1326
  }
1321
1327
  }
1322
- }, pt = (e) => {
1328
+ }, ht = (e) => {
1323
1329
  if (e && _(e.type)) {
1324
1330
  if (e.opType == "clear") {
1325
- let l = e.type;
1326
- l == "session" ? sessionStorage.clear() : l == "local" && localStorage.clear();
1327
- } else if (D(e.params) && e.params.length > 0) {
1328
- let l = e.type, r = e.params || [], u = null;
1329
- for (let d = 0; d < r.length; d++)
1330
- if (u = r[d], u.delete)
1331
- _(u.tarKey) && (l == "session" ? sessionStorage.removeItem(u.tarKey) : l == "local" ? localStorage.removeItem(u.tarKey) : l == "jsCookie" && b.removeJsCookie(u.tarKey));
1332
- else if (X(u)) {
1333
- let m = H(u);
1334
- l == "session" ? sessionStorage.setItem(u.tarKey, m) : l == "local" ? localStorage.setItem(u.tarKey, m) : l == "jsCookie" && b.setJsCookie(u.tarKey, m);
1331
+ let s = e.type;
1332
+ s == "session" ? sessionStorage.clear() : s == "local" && localStorage.clear();
1333
+ } else if (B(e.params) && e.params.length > 0) {
1334
+ let s = e.type, r = e.params || [], u = null;
1335
+ for (let p = 0; p < r.length; p++)
1336
+ if (u = r[p], u.delete)
1337
+ _(u.tarKey) && (s == "session" ? sessionStorage.removeItem(u.tarKey) : s == "local" ? localStorage.removeItem(u.tarKey) : s == "jsCookie" && V.removeJsCookie(u.tarKey));
1338
+ else if (te(u)) {
1339
+ let m = z(u);
1340
+ s == "session" ? sessionStorage.setItem(u.tarKey, m) : s == "local" ? localStorage.setItem(u.tarKey, m) : s == "jsCookie" && V.setJsCookie(u.tarKey, m);
1335
1341
  }
1336
1342
  }
1337
1343
  }
1338
- }, X = (e) => _(e.ds) && _(e.tarKey) ? e.ds != "inputV" ? _(e.key) : !0 : !1, H = (e) => {
1344
+ }, te = (e) => _(e.ds) && _(e.tarKey) ? e.ds != "inputV" ? _(e.key) : !0 : !1, z = (e) => {
1339
1345
  if (e.ds == "inputP")
1340
- return b.getParam(e.key);
1346
+ return V.getParam(e.key);
1341
1347
  if (e.ds == "cacheP")
1342
- return b.getDataCache(e.key);
1348
+ return V.getDataCache(e.key);
1343
1349
  if (e.ds == "containerP")
1344
- return b.getContainerParam(e.key);
1350
+ return V.getContainerParam(e.key);
1345
1351
  if (e.ds == "sessionP")
1346
- return b.getSessionParam(e.key);
1352
+ return V.getSessionParam(e.key);
1347
1353
  if (e.ds == "localP")
1348
- return b.getLocalParam(e.key);
1354
+ return V.getLocalParam(e.key);
1349
1355
  if (e.ds == "jsCookieP")
1350
- return b.getJsCookie(e.key);
1356
+ return V.getJsCookie(e.key);
1351
1357
  if (e.ds == "compProp")
1352
- return j(a.getPropValue) ? a.getPropValue(e.key) : null;
1358
+ return q(a.getPropValue) ? a.getPropValue(e.key) : null;
1353
1359
  if (e.ds == "compStyle")
1354
- return j(a.getStyleValue) ? a.getStyleValue(e.key) : null;
1360
+ return q(a.getStyleValue) ? a.getStyleValue(e.key) : null;
1355
1361
  if (e.ds == "_selectMenuValue" || e.ds == "_selectItemValue" || e.ds == "_changeItemValue") {
1356
- let l = b.getParam(e.ds);
1357
- return ze(l) ? null : ie(l) ? _(e.key) && ve(l, e.key) ? _e(l, e.key) : null : l;
1362
+ let s = V.getParam(e.ds);
1363
+ return Se(s) ? null : ue(s) ? _(e.key) && Ve(s, e.key) ? Pe(s, e.key) : null : s;
1358
1364
  } else {
1359
- let l = e.key;
1360
- return l.toString().trim().indexOf("#json#") == 0 ? (l = l.toString().trim().replace("#json#", ""), Ye(l, {})) : e.key;
1365
+ let s = e.key;
1366
+ return s.toString().trim().indexOf("#json#") == 0 ? (s = s.toString().trim().replace("#json#", ""), $e(s, {})) : e.key;
1361
1367
  }
1362
- }, dt = (e, l) => {
1368
+ }, yt = (e, s) => {
1363
1369
  if (e.ds == "cacheP")
1364
- return b.setDataCache(e.tarKey, l);
1370
+ return V.setDataCache(e.tarKey, s);
1365
1371
  if (e.ds == "inputP")
1366
- return b.setParam(e.tarKey, l);
1372
+ return V.setParam(e.tarKey, s);
1367
1373
  if (e.ds == "sessionP")
1368
- return b.setSessionParam(e.tarKey, l);
1374
+ return V.setSessionParam(e.tarKey, s);
1369
1375
  if (e.ds == "localP")
1370
- return b.setLocalParam(e.tarKey, l);
1371
- e.ds == "jsCookieP" ? b.setJsCookie(e.tarKey, l) : e.ds == "compProp" ? j(a.setPropValue) && a.setPropValue(e.tarKey, l) : e.ds == "compStyle" && j(a.setStyleValue) && a.setStyleValue(e.tarKey, l);
1372
- }, mt = (e) => {
1376
+ return V.setLocalParam(e.tarKey, s);
1377
+ e.ds == "jsCookieP" ? V.setJsCookie(e.tarKey, s) : e.ds == "compProp" ? q(a.setPropValue) && a.setPropValue(e.tarKey, s) : e.ds == "compStyle" && q(a.setStyleValue) && a.setStyleValue(e.tarKey, s);
1378
+ }, _t = (e) => {
1373
1379
  if (e) {
1374
- let l = e.styleSets || [], r = e.propSets || [];
1375
- D(r) && r.length > 0 && j(a.setPropValue) && r.forEach((u, d) => {
1376
- if (X(u)) {
1377
- let m = H(u);
1380
+ let s = e.styleSets || [], r = e.propSets || [];
1381
+ B(r) && r.length > 0 && q(a.setPropValue) && r.forEach((u, p) => {
1382
+ if (te(u)) {
1383
+ let m = z(u);
1378
1384
  a.setPropValue(u.tarKey, m);
1379
1385
  }
1380
- }), D(l) && l.length > 0 && j(a.setStyleValue) && l.forEach((u, d) => {
1381
- if (X(u)) {
1382
- let m = H(u);
1386
+ }), B(s) && s.length > 0 && q(a.setStyleValue) && s.forEach((u, p) => {
1387
+ if (te(u)) {
1388
+ let m = z(u);
1383
1389
  a.setStyleValue(u.tarKey, m);
1384
1390
  }
1385
1391
  });
1386
1392
  }
1387
- }, gt = (e) => {
1388
- let l = !1;
1389
- if (e && D(e.params)) {
1390
- let r = e.params || [], u = null, d = !1;
1393
+ }, vt = (e) => {
1394
+ let s = !1;
1395
+ if (e && B(e.params)) {
1396
+ let r = e.params || [], u = null, p = !1;
1391
1397
  for (let m = 0; m < r.length; m++) {
1392
1398
  u = r[m];
1393
- let S = H(u), I = u.value;
1394
- const Y = u.opType;
1395
- if ([">", ">=", "<", "<=", "=="].includes(Y) && (S = te(S), I = te(I)), ee[Y] ? d = ee[Y](S, I) : d = !1, d) {
1396
- l = !0;
1399
+ let S = z(u), j = u.value;
1400
+ const Z = u.opType;
1401
+ if ([">", ">=", "<", "<=", "=="].includes(Z) && (S = re(S), j = re(j)), oe[Z] ? p = oe[Z](S, j) : p = !1, p) {
1402
+ s = !0;
1397
1403
  break;
1398
1404
  }
1399
1405
  }
1400
- if (e.enabledTip && l) {
1406
+ if (e.enabledTip && s) {
1401
1407
  let m = e.tip || {};
1402
- m.tipType == "msg" ? we(m.type, m.msg, m.extParam) : m.tipType == "notify" && be(m.type, m.msg, m.extParam);
1408
+ m.tipType == "msg" ? de(m.type, m.msg, m.extParam) : m.tipType == "notify" && Me(m.type, m.msg, m.extParam);
1403
1409
  }
1404
1410
  }
1405
- return l;
1406
- }, ke = (e, l) => {
1411
+ return s;
1412
+ }, Re = (e, s) => {
1407
1413
  if (e.customFunc && _(e.confirmFunc)) {
1408
1414
  const r = {
1409
- helper: { ...a, ...b }
1415
+ helper: { ...a, ...V }
1410
1416
  };
1411
1417
  try {
1412
1418
  let u = e.confirmFunc.toString().trim();
1413
- u.indexOf("function") < 0 && (u = "function (promptValue){" + u + "}"), new Function("context", `with(context) {return ${u}}`)(r)(l);
1419
+ u.indexOf("function") < 0 && (u = "function (promptValue){" + u + "}"), new Function("context", `with(context) {return ${u}}`)(r)(s);
1414
1420
  } catch (u) {
1415
1421
  console.error("[__messageBoxHandler4CustomSuccessFunc]处理自定义失败函数时出错:", u);
1416
1422
  }
1417
1423
  }
1418
- }, ht = (e, l) => {
1424
+ }, St = (e, s) => {
1419
1425
  if (e.customFunc && _(e.errorFunc)) {
1420
1426
  const r = {
1421
- helper: { ...a, ...b }
1427
+ helper: { ...a, ...V }
1422
1428
  };
1423
1429
  try {
1424
1430
  let u = e.errorFunc.toString().trim();
1425
- u.indexOf("function") < 0 && (u = "function (err){" + u + "}"), new Function("context", `with(context) {return ${u}}`)(r)(l);
1431
+ u.indexOf("function") < 0 && (u = "function (err){" + u + "}"), new Function("context", `with(context) {return ${u}}`)(r)(s);
1426
1432
  } catch (u) {
1427
1433
  console.error("[__messageBoxHandler4CustomErrorFunc]处理自定义失败函数时出错:", u);
1428
1434
  }
1429
1435
  }
1430
- }, ce = (e, l) => {
1436
+ }, pe = (e, s) => {
1431
1437
  if (e.customFunc) {
1432
1438
  let r = "";
1433
- if (l == "cancel" && _(e.cancelFunc))
1439
+ if (s == "cancel" && _(e.cancelFunc))
1434
1440
  r = e.cancelFunc;
1435
- else if (l == "close" && _(e.closeFunc))
1441
+ else if (s == "close" && _(e.closeFunc))
1436
1442
  r = e.closeFunc;
1437
1443
  else
1438
1444
  return;
1439
1445
  const u = {
1440
- helper: { ...a, ...b }
1446
+ helper: { ...a, ...V }
1441
1447
  };
1442
1448
  try {
1443
- let d = r.toString().trim();
1444
- d.indexOf("function") < 0 && (d = "function (err){" + d + "}"), new Function("context", `with(context) {return ${d}}`)(u)();
1445
- } catch (d) {
1446
- console.error("[__messageBoxHandler4CustomCancelOrCloseFunc]处理自定义失败函数时出错:", d);
1449
+ let p = r.toString().trim();
1450
+ p.indexOf("function") < 0 && (p = "function (err){" + p + "}"), new Function("context", `with(context) {return ${p}}`)(u)();
1451
+ } catch (p) {
1452
+ console.error("[__messageBoxHandler4CustomCancelOrCloseFunc]处理自定义失败函数时出错:", p);
1447
1453
  }
1448
1454
  }
1449
- }, yt = async (e) => {
1450
- let l = !1;
1455
+ }, wt = async (e) => {
1456
+ let s = !1;
1451
1457
  if (e && _(e.type)) {
1452
1458
  let r = {
1453
1459
  ...e.params,
@@ -1456,249 +1462,249 @@ function qe(t = {}, o = !0, s = {}) {
1456
1462
  cancelButtonText: e.cancelText
1457
1463
  };
1458
1464
  if (e.type == "confirm") {
1459
- const { errors: u, resultInfo: d } = await lt(e.title, e.message, r);
1460
- u && u.length > 0 ? u[0] == "cancel" ? ce(e, "cancel") : u[0] == "close" && ce(e, "close") : d == "confirm" && (l = !0, ke(e, null));
1465
+ const { errors: u, resultInfo: p } = await ct(e.title, e.message, r);
1466
+ u && u.length > 0 ? u[0] == "cancel" ? pe(e, "cancel") : u[0] == "close" && pe(e, "close") : p == "confirm" && (s = !0, Re(e, null));
1461
1467
  } else if (e.type == "prompt") {
1462
1468
  if (_(r.inputPattern)) {
1463
1469
  const m = r.inputPattern.replace(/\\\\/g, "\\");
1464
1470
  r.inputPattern = new RegExp(m);
1465
1471
  }
1466
- const { errors: u, resultInfo: d } = await st(e.title, e.message, r);
1467
- u && u.length > 0 ? u[0] == "cancel" ? ce(e, "cancel") : u[0] == "close" ? ce(e, "close") : ht(e, u[0]) : d.action == "confirm" && (l = !0, b.setParam("promptValue", d.value), ke(e, d.value));
1472
+ const { errors: u, resultInfo: p } = await ut(e.title, e.message, r);
1473
+ u && u.length > 0 ? u[0] == "cancel" ? pe(e, "cancel") : u[0] == "close" ? pe(e, "close") : St(e, u[0]) : p.action == "confirm" && (s = !0, V.setParam("promptValue", p.value), Re(e, p.value));
1468
1474
  }
1469
- e.autoBlock || (l = !0);
1475
+ e.autoBlock || (s = !0);
1470
1476
  } else
1471
- l = !0;
1472
- return l;
1473
- }, _t = (e) => {
1477
+ s = !0;
1478
+ return s;
1479
+ }, bt = (e) => {
1474
1480
  if (e && _(e.pageId)) {
1475
- let l = { ...e };
1481
+ let s = { ...e };
1476
1482
  if (e.customPosition) {
1477
- let r = (b.getParam("elementRectLeft") || 0) + e.leftOffset, u = (b.getParam("elementRectTop") || 0) + e.topOffset;
1478
- l.absLeft = r, l.absTop = u;
1483
+ let r = (V.getParam("elementRectLeft") ?? 0) + (ce(e.leftOffset) ? e.leftOffset : 0), u = (V.getParam("elementRectTop") ?? 0) + (ce(e.topOffset) ? e.topOffset : 0);
1484
+ s.absLeft = r, s.absTop = u;
1479
1485
  }
1480
- v(l);
1486
+ v(s);
1481
1487
  }
1482
- }, vt = (e) => {
1483
- if (e && D(e.params)) {
1484
- let l = e.params || [], r = null;
1485
- for (let u = 0; u < l.length; u++)
1486
- if (r = l[u], _(r.compId)) {
1487
- let d = r.options || {};
1488
- r.type == "s" ? b.hideAndShowComp(r.compId, !0, d) : b.hideAndShowComp(r.compId, !1, d);
1488
+ }, xt = (e) => {
1489
+ if (e && B(e.params)) {
1490
+ let s = e.params || [], r = null;
1491
+ for (let u = 0; u < s.length; u++)
1492
+ if (r = s[u], _(r.compId)) {
1493
+ let p = r.options || {};
1494
+ r.type == "s" ? V.hideAndShowComp(r.compId, !0, p) : V.hideAndShowComp(r.compId, !1, p);
1489
1495
  }
1490
1496
  }
1491
- }, St = (e) => {
1497
+ }, Ct = (e) => {
1492
1498
  if (e) {
1493
- let l = e.interval ?? 1e3, r = setInterval(
1499
+ let s = e.interval ?? 1e3, r = setInterval(
1494
1500
  () => {
1495
- ae("debug", "定时器触发..."), Dt();
1501
+ $("debug", "定时器触发..."), Nt();
1496
1502
  },
1497
- l
1503
+ s
1498
1504
  );
1499
- R.push(r);
1505
+ F.push(r);
1500
1506
  }
1501
- }, xt = (e, l = {}) => {
1507
+ }, Pt = (e, s = {}) => {
1502
1508
  if (e && _(e.eventId)) {
1503
- let r = l.eventIds || [];
1504
- if (r.findIndex((d) => d == e.eventId) < 0) {
1505
- let d = Object.keys(n);
1506
- for (let m = 0; m < d.length; m++) {
1507
- let S = n[d[m]] || [];
1508
- for (const I of S)
1509
- if (I.id == e.eventId) {
1510
- if (r.push(I.id), l.eventIds = [...r], I.default) {
1511
- ue(I.actionList, l);
1509
+ let r = s.eventIds || [];
1510
+ if (r.findIndex((p) => p == e.eventId) < 0) {
1511
+ let p = Object.keys(t);
1512
+ for (let m = 0; m < p.length; m++) {
1513
+ let S = t[p[m]] || [];
1514
+ for (const j of S)
1515
+ if (j.id == e.eventId) {
1516
+ if (r.push(j.id), s.eventIds = [...r], j.default) {
1517
+ me(j.actionList, s);
1512
1518
  break;
1513
- } else Te(I) && ue(I.actionList, l);
1519
+ } else Fe(j) && me(j.actionList, s);
1514
1520
  break;
1515
1521
  }
1516
1522
  }
1517
1523
  } else
1518
- ae("error", "存在循环调用,不执行事件配置", e.eventId);
1524
+ $("error", "存在循环调用,不执行事件配置", e.eventId);
1519
1525
  }
1520
- }, ue = async (e = [], l = {}) => {
1526
+ }, me = async (e = [], s = {}) => {
1521
1527
  let r = null;
1522
1528
  for (let u = 0; u < e.length; u++)
1523
1529
  if (r = e[u], r.action == "router")
1524
- Q(r.config);
1530
+ N(r.config);
1525
1531
  else if (r.action == "dataRequest")
1526
- await it(r.config);
1532
+ await ft(r.config);
1527
1533
  else if (r.action == "cacheSet")
1528
- at(r.config);
1534
+ dt(r.config);
1529
1535
  else if (r.action == "paramMap")
1530
- ct(r.config);
1536
+ pt(r.config);
1531
1537
  else if (r.action == "paramSet")
1532
- ut(r.config);
1538
+ mt(r.config);
1533
1539
  else if (r.action == "customFunction")
1534
- ft(r.config);
1540
+ gt(r.config);
1535
1541
  else if (r.action == "webStorage")
1536
- pt(r.config);
1542
+ ht(r.config);
1537
1543
  else if (r.action == "componentSet")
1538
- mt(r.config);
1544
+ _t(r.config);
1539
1545
  else if (r.action == "actionEnd") {
1540
- if (gt(r.config)) {
1546
+ if (vt(r.config)) {
1541
1547
  console.log("actionEnd is true. break");
1542
1548
  break;
1543
1549
  }
1544
1550
  } else if (r.action == "messageBox") {
1545
- if (!await yt(r.config)) {
1551
+ if (!await wt(r.config)) {
1546
1552
  console.log("messageBox is false. break");
1547
1553
  break;
1548
1554
  }
1549
1555
  } else if (r.action == "openDialog") {
1550
- _t(r.config);
1556
+ bt(r.config);
1551
1557
  break;
1552
- } else r.action == "showAndHideSet" ? vt(r.config) : r.action == "timerSet" ? St(r.config) : r.action == "performEvent" && xt(r.config, l);
1553
- }, Ee = (e) => e == "inputV" || e == "_selectMenuValue" || e == "_selectItemValue" || e == "_changeItemValue", wt = (e) => {
1554
- let l = !1, r, u, d = !1;
1555
- _(e.lType) && (Ee(e.lType) ? d = !0 : d = _(e.lValue));
1558
+ } else r.action == "showAndHideSet" ? xt(r.config) : r.action == "timerSet" ? Ct(r.config) : r.action == "performEvent" && Pt(r.config, s);
1559
+ }, Ae = (e) => e == "inputV" || e == "_selectMenuValue" || e == "_selectItemValue" || e == "_changeItemValue", Vt = (e) => {
1560
+ let s = !1, r, u, p = !1;
1561
+ _(e.lType) && (Ae(e.lType) ? p = !0 : p = _(e.lValue));
1556
1562
  let m = !1;
1557
- if (_(e.rType) && (Ee(e.rType) ? m = !0 : m = _(e.rValue)), d && m) {
1558
- r = H({
1563
+ if (_(e.rType) && (Ae(e.rType) ? m = !0 : m = _(e.rValue)), p && m) {
1564
+ r = z({
1559
1565
  ds: e.lType,
1560
1566
  key: e.lValue
1561
- }), u = H({
1567
+ }), u = z({
1562
1568
  ds: e.rType,
1563
1569
  key: e.rValue
1564
1570
  });
1565
1571
  const S = e.opType;
1566
- [">", ">=", "<", "<=", "=="].includes(S) && (r = te(r), u = te(u)), ee[S] ? l = ee[S](r, u) : (l = !1, console.warn("useEventHandler Invalid operator: " + S));
1572
+ [">", ">=", "<", "<=", "=="].includes(S) && (r = re(r), u = re(u)), oe[S] ? s = oe[S](r, u) : (s = !1, console.warn("useEventHandler Invalid operator: " + S));
1567
1573
  } else
1568
1574
  console.warn("_judgeCondition warn: the condition config is error.");
1569
- return l;
1570
- }, Te = (e) => {
1571
- let l = !1;
1575
+ return s;
1576
+ }, Fe = (e) => {
1577
+ let s = !1;
1572
1578
  if (e.default)
1573
- l = !0;
1579
+ s = !0;
1574
1580
  else {
1575
1581
  let r = e.condition || [];
1576
1582
  if (r.length > 0) {
1577
1583
  let u = !0;
1578
- for (let d = 0; d < r.length; d++)
1579
- if (!wt(r[d])) {
1584
+ for (let p = 0; p < r.length; p++)
1585
+ if (!Vt(r[p])) {
1580
1586
  u = !1;
1581
1587
  break;
1582
1588
  }
1583
- u && (l = !0);
1589
+ u && (s = !0);
1584
1590
  } else
1585
- l = !0;
1591
+ s = !0;
1586
1592
  }
1587
- return l;
1588
- }, F = (e = []) => {
1589
- for (const l of e) {
1593
+ return s;
1594
+ }, L = (e = []) => {
1595
+ for (const s of e) {
1590
1596
  let r = {};
1591
- if (r.eventIds = [l.id], l.default) {
1592
- ue(l.actionList, r);
1597
+ if (r.eventIds = [s.id], s.default) {
1598
+ me(s.actionList, r);
1593
1599
  break;
1594
- } else Te(l) && ue(l.actionList, r);
1600
+ } else Fe(s) && me(s.actionList, r);
1595
1601
  }
1596
- }, bt = (e) => {
1597
- p || (M && clearTimeout(M), M = setTimeout(() => {
1598
- if (n && n.hasOwnProperty("onMouseClick")) {
1602
+ }, Ot = (e) => {
1603
+ d || (b && clearTimeout(b), b = setTimeout(() => {
1604
+ if (t && t.hasOwnProperty("onMouseClick")) {
1599
1605
  if (e && e.target) {
1600
1606
  const r = e.target.getBoundingClientRect();
1601
- N("elementRect", r), N("elementRectLeft", r.left), N("elementRectTop", r.top);
1607
+ U("elementRect", r), U("elementRectLeft", r.left), U("elementRectTop", r.top);
1602
1608
  }
1603
- let l = n.onMouseClick;
1604
- F(l);
1609
+ let s = t.onMouseClick;
1610
+ L(s);
1605
1611
  }
1606
- }, E));
1607
- }, Ct = (e) => {
1608
- if (!p && (M && clearTimeout(M), n && n.hasOwnProperty("onMouseDblClick"))) {
1612
+ }, w));
1613
+ }, Mt = (e) => {
1614
+ if (!d && (b && clearTimeout(b), t && t.hasOwnProperty("onMouseDblClick"))) {
1609
1615
  if (e && e.target) {
1610
1616
  const r = e.target.getBoundingClientRect();
1611
- N("elementRect", r), N("elementRectLeft", r.left), N("elementRectTop", r.top);
1617
+ U("elementRect", r), U("elementRectLeft", r.left), U("elementRectTop", r.top);
1612
1618
  }
1613
- let l = n.onMouseDblClick;
1614
- F(l);
1619
+ let s = t.onMouseDblClick;
1620
+ L(s);
1615
1621
  }
1616
- }, Pt = (e, l) => {
1617
- if (!p && (N("_selectMenuValue", l), n && n.hasOwnProperty("onContextMenu"))) {
1618
- let r = n.onContextMenu;
1619
- F(r);
1622
+ }, kt = (e, s) => {
1623
+ if (!d && (U("_selectMenuValue", s), t && t.hasOwnProperty("onContextMenu"))) {
1624
+ let r = t.onContextMenu;
1625
+ L(r);
1620
1626
  }
1621
- }, Ot = (e) => {
1622
- if (!p && (N("_selectItemValue", e), n && n.hasOwnProperty("selectItem"))) {
1623
- let l = n.selectItem;
1624
- F(l);
1627
+ }, It = (e) => {
1628
+ if (!d && (U("_selectItemValue", e), t && t.hasOwnProperty("selectItem"))) {
1629
+ let s = t.selectItem;
1630
+ L(s);
1625
1631
  }
1626
- }, Vt = (e) => {
1627
- if (!p && (N("_changeItemValue", e), n && n.hasOwnProperty("changeValue"))) {
1628
- let l = n.changeValue;
1629
- F(l);
1632
+ }, Et = (e) => {
1633
+ if (!d && (U("_changeItemValue", e), t && t.hasOwnProperty("changeValue"))) {
1634
+ let s = t.changeValue;
1635
+ L(s);
1630
1636
  }
1631
- }, Mt = () => {
1632
- if (!p && n && n.hasOwnProperty("keyEnter")) {
1633
- let e = n.keyEnter;
1634
- F(e);
1637
+ }, Tt = () => {
1638
+ if (!d && t && t.hasOwnProperty("keyEnter")) {
1639
+ let e = t.keyEnter;
1640
+ L(e);
1635
1641
  }
1636
- }, It = () => {
1637
- if (!p && n && n.hasOwnProperty("onBeforeMount")) {
1638
- let e = n.onBeforeMount;
1639
- F(e);
1642
+ }, Dt = () => {
1643
+ if (!d && t && t.hasOwnProperty("onBeforeMount")) {
1644
+ let e = t.onBeforeMount;
1645
+ L(e);
1640
1646
  }
1641
- }, kt = () => {
1642
- if (!p && n && n.hasOwnProperty("onMounted")) {
1643
- let e = n.onMounted;
1644
- F(e);
1647
+ }, Rt = () => {
1648
+ if (!d && t && t.hasOwnProperty("onMounted")) {
1649
+ let e = t.onMounted;
1650
+ L(e);
1645
1651
  }
1646
- }, Et = () => {
1647
- if (R && R.length > 0)
1648
- for (let e = 0; e < R.length; e++)
1652
+ }, At = () => {
1653
+ if (F && F.length > 0)
1654
+ for (let e = 0; e < F.length; e++)
1649
1655
  try {
1650
- clearInterval(R[e]);
1651
- } catch (l) {
1652
- console.error("cancel request error", l);
1656
+ clearInterval(F[e]);
1657
+ } catch (s) {
1658
+ console.error("cancel request error", s);
1653
1659
  }
1654
- }, Tt = () => {
1655
- if (Et(), !p) {
1660
+ }, Ft = () => {
1661
+ if (At(), !d) {
1656
1662
  if (y && y.length > 0)
1657
1663
  for (let e = 0; e < y.length; e++)
1658
1664
  try {
1659
1665
  y[e] && y[e]();
1660
- } catch (l) {
1661
- console.error("cancel request error", l);
1666
+ } catch (s) {
1667
+ console.error("cancel request error", s);
1662
1668
  }
1663
- if (n && n.hasOwnProperty("onBeforeUnmount")) {
1664
- let e = n.onBeforeUnmount;
1665
- F(e);
1669
+ if (t && t.hasOwnProperty("onBeforeUnmount")) {
1670
+ let e = t.onBeforeUnmount;
1671
+ L(e);
1666
1672
  }
1667
1673
  }
1668
- }, Rt = () => {
1669
- if (!p && n && n.hasOwnProperty("onUnmounted")) {
1670
- let e = n.onUnmounted;
1671
- F(e);
1674
+ }, jt = () => {
1675
+ if (!d && t && t.hasOwnProperty("onUnmounted")) {
1676
+ let e = t.onUnmounted;
1677
+ L(e);
1672
1678
  }
1673
- }, Dt = () => {
1674
- if (!p && n && n.hasOwnProperty("timerTrigger")) {
1675
- let e = n.timerTrigger;
1676
- F(e);
1679
+ }, Nt = () => {
1680
+ if (!d && t && t.hasOwnProperty("timerTrigger")) {
1681
+ let e = t.timerTrigger;
1682
+ L(e);
1677
1683
  }
1678
- }, N = (e, l) => {
1679
- b.setParam(e, l);
1684
+ }, U = (e, s) => {
1685
+ V.setParam(e, s);
1680
1686
  };
1681
1687
  return {
1682
- handleClick: bt,
1683
- handleDblClick: Ct,
1684
- handleContextMenu: Pt,
1685
- selectItem: Ot,
1686
- changeValue: Vt,
1687
- beforeMount: It,
1688
- mounted: kt,
1689
- beforeUnmount: Tt,
1690
- unmounted: Rt,
1691
- setParam: N,
1692
- keyEnter: Mt
1688
+ handleClick: Ot,
1689
+ handleDblClick: Mt,
1690
+ handleContextMenu: kt,
1691
+ selectItem: It,
1692
+ changeValue: Et,
1693
+ beforeMount: Dt,
1694
+ mounted: Rt,
1695
+ beforeUnmount: Ft,
1696
+ unmounted: jt,
1697
+ setParam: U,
1698
+ keyEnter: Tt
1693
1699
  };
1694
1700
  }
1695
- function Ke(t, o, s, n) {
1701
+ function We(n, o, l, t) {
1696
1702
  return {
1697
1703
  setPropValue: function(a, c) {
1698
- t.value[a] = c;
1704
+ n.value[a] = c;
1699
1705
  },
1700
1706
  getPropValue: function(a) {
1701
- return t.value[a];
1707
+ return n.value[a];
1702
1708
  },
1703
1709
  setStyleValue: function(a, c) {
1704
1710
  o.value.style[a] = c;
@@ -1707,25 +1713,25 @@ function Ke(t, o, s, n) {
1707
1713
  return o.value.style[a];
1708
1714
  },
1709
1715
  routerPush: function(a, c) {
1710
- s && s.push({
1716
+ l && l.push({
1711
1717
  name: a,
1712
1718
  params: c
1713
1719
  });
1714
1720
  },
1715
1721
  routerPush2: function(a, c) {
1716
- s && s.push({
1722
+ l && l.push({
1717
1723
  path: a,
1718
1724
  query: c
1719
1725
  });
1720
1726
  },
1721
1727
  routerReplace: function(a) {
1722
- s && s.replace({
1728
+ l && l.replace({
1723
1729
  path: a
1724
1730
  });
1725
1731
  }
1726
1732
  };
1727
1733
  }
1728
- const Rn = /* @__PURE__ */ Object.assign({
1734
+ const An = /* @__PURE__ */ Object.assign({
1729
1735
  name: "Group"
1730
1736
  }, {
1731
1737
  __name: "Component",
@@ -1746,97 +1752,321 @@ const Rn = /* @__PURE__ */ Object.assign({
1746
1752
  default: !1
1747
1753
  }
1748
1754
  },
1749
- setup(t, { expose: o }) {
1750
- const s = t, n = xe(), p = Le(n), a = k(null), c = w(() => s.propValue || {}), f = w(() => s.element || {}), i = w(() => c.value.components || []), g = w(() => i.value.map((P) => {
1751
- let x = { ...P }, K = T(P.groupStyle);
1752
- return x.computedStyle = K, x.style && (x.style.width = x.computedStyle.width, x.style.height = x.computedStyle.height), x;
1753
- })), h = w(() => f.value.events || []), y = je(), v = Be(), V = Ke(c, f, y);
1754
- De(() => {
1755
- a.value = qe(h.value, s.designStatus, V), a.value?.beforeMount();
1756
- }), me(() => {
1755
+ setup(n, { expose: o }) {
1756
+ const l = n, t = fe(), d = Ue(t), a = E(null), c = P(() => l.propValue || {}), f = P(() => l.element || {}), i = P(() => c.value.components || []), g = P(() => i.value.map((k) => {
1757
+ let x = { ...k }, G = M(k.groupStyle);
1758
+ return x.computedStyle = G, x.style && (x.style.width = x.computedStyle.width, x.style.height = x.computedStyle.height), x;
1759
+ })), h = P(() => f.value.events || []), y = Le(), v = qe(), O = We(c, f, y);
1760
+ Ne(() => {
1761
+ a.value = Je(h.value, l.designStatus, O), a.value?.beforeMount();
1762
+ }), ve(() => {
1757
1763
  a.value?.mounted();
1758
- }), Ae(() => {
1764
+ }), Be(() => {
1759
1765
  a.value?.beforeUnmount();
1760
- }), Fe(() => {
1766
+ }), He(() => {
1761
1767
  a.value?.unmounted();
1762
1768
  });
1763
- const M = (P) => {
1764
- a.value?.setParam(P);
1765
- }, E = (P) => {
1766
- a.value?.handleDblClick(P);
1767
- }, T = (P) => {
1768
- if (!P || !f.value?.style) return {};
1769
- let x = { ...P }, K = f.value.style.width, J = f.value.style.height;
1770
- return x.width = Math.floor(parseFloat(x.width) / 100 * K), x.height = Math.floor(parseFloat(x.height) / 100 * J), x.top = Math.floor(parseFloat(x.top) / 100 * J), x.left = Math.floor(parseFloat(x.left) / 100 * K), x;
1771
- }, R = se({}), oe = (P, x) => {
1772
- P ? R[`Ve${x}`] = P : delete R[`Ve${x}`];
1773
- }, Q = (P) => R[`Ve${P}`], C = (P, x, K) => {
1774
- if (_(P) && _(x)) {
1775
- const J = Q(P);
1776
- J && J[x] && (K ? J[x](K) : J[x]());
1769
+ const b = (k) => {
1770
+ a.value?.setParam(k);
1771
+ }, w = (k) => {
1772
+ a.value?.handleDblClick(k);
1773
+ }, M = (k) => {
1774
+ if (!k || !f.value?.style) return {};
1775
+ let x = { ...k }, G = f.value.style.width, Q = f.value.style.height;
1776
+ return x.width = Math.floor(parseFloat(x.width) / 100 * G), x.height = Math.floor(parseFloat(x.height) / 100 * Q), x.top = Math.floor(parseFloat(x.top) / 100 * Q), x.left = Math.floor(parseFloat(x.left) / 100 * G), x;
1777
+ }, F = ae({}), Y = (k, x) => {
1778
+ k ? F[`Ve${x}`] = k : delete F[`Ve${x}`];
1779
+ }, N = (k) => F[`Ve${k}`], C = (k, x, G) => {
1780
+ if (_(k) && _(x)) {
1781
+ const Q = N(k);
1782
+ Q && Q[x] && (G ? Q[x](G) : Q[x]());
1777
1783
  }
1778
1784
  };
1779
1785
  o({
1780
1786
  callGroupCompMethod: C
1781
1787
  });
1782
- const q = { props: s, dataCache: n, smartData: p, eventHandler: a, propValue: c, element: f, components: i, computedComponents: g, events: h, router: y, route: v, compContext: V, handleClick: M, handleDblClick: E, calcCompStyle: T, componentRefs: R, setComponentRef: oe, getComponentRef: Q, callGroupCompMethod: C, get useDataCacheStore() {
1783
- return xe;
1788
+ const W = { props: l, dataCache: t, smartData: d, eventHandler: a, propValue: c, element: f, components: i, computedComponents: g, events: h, router: y, route: v, compContext: O, handleClick: b, handleDblClick: w, calcCompStyle: M, componentRefs: F, setComponentRef: Y, getComponentRef: N, callGroupCompMethod: C, get useDataCacheStore() {
1789
+ return fe;
1784
1790
  }, get createSmartAccessor() {
1785
- return Le;
1786
- }, ref: k, computed: w, onMounted: me, onBeforeMount: De, onBeforeUnmount: Ae, onUnmounted: Fe, watch: Pe, reactive: se, get useEventHandler() {
1787
- return qe;
1791
+ return Ue;
1792
+ }, ref: E, computed: P, onMounted: ve, onBeforeMount: Ne, onBeforeUnmount: Be, onUnmounted: He, watch: Ie, reactive: ae, get useEventHandler() {
1793
+ return Je;
1788
1794
  }, get useRoute() {
1789
- return Be;
1795
+ return qe;
1790
1796
  }, get useRouter() {
1791
- return je;
1797
+ return Le;
1792
1798
  }, get CreateCompContext() {
1793
- return Ke;
1799
+ return We;
1794
1800
  }, get getStyle() {
1795
- return nt;
1801
+ return st;
1796
1802
  }, get isNotEmpty() {
1797
1803
  return _;
1798
1804
  } };
1799
- return Object.defineProperty(q, "__isScriptSetup", { enumerable: !1, value: !0 }), q;
1805
+ return Object.defineProperty(W, "__isScriptSetup", { enumerable: !1, value: !0 }), W;
1800
1806
  }
1801
1807
  });
1802
- function Dn(t, o, s, n, p, a) {
1803
- return O(), B("div", { class: "group" }, [
1804
- ne("div", null, [
1805
- (O(!0), B(Oe, null, Ve(n.computedComponents, (c) => (O(), L(pe(c.component), {
1808
+ function Fn(n, o, l, t, d, a) {
1809
+ return T(), H("div", { class: "group" }, [
1810
+ ee("div", null, [
1811
+ (T(!0), H(Ee, null, Te(t.computedComponents, (c) => (T(), K(ye(c.component), {
1806
1812
  id: "component" + c.id,
1807
1813
  ref_for: !0,
1808
- ref: (f) => n.setComponentRef(f, c.id),
1814
+ ref: (f) => t.setComponentRef(f, c.id),
1809
1815
  key: c.id,
1810
1816
  class: "component",
1811
- style: de(n.getStyle(c.computedStyle)),
1817
+ style: _e(t.getStyle(c.computedStyle)),
1812
1818
  "prop-value": c.propValue,
1813
1819
  element: c
1814
1820
  }, null, 8, ["id", "style", "prop-value", "element"]))), 128))
1815
1821
  ])
1816
1822
  ]);
1817
1823
  }
1818
- const An = /* @__PURE__ */ z(Rn, [["render", Dn], ["__scopeId", "data-v-20de9881"], ["__file", "Component.vue"]]), Fn = [
1819
- mn,
1820
- vn,
1821
- Pn,
1822
- Mn,
1823
- ot,
1824
- En,
1825
- An
1826
- ], Ce = (t, o) => {
1827
- Ce.installed || (Ce.installed = !0, t.provide("hflvloader-api", o), Fn.forEach((s) => {
1828
- t.component(s.name, s);
1824
+ const jn = /* @__PURE__ */ J(An, [["render", Fn], ["__scopeId", "data-v-20de9881"], ["__file", "Component.vue"]]), Nn = /* @__PURE__ */ Object.assign({
1825
+ name: "VEDataCache"
1826
+ }, {
1827
+ __name: "index",
1828
+ setup(n, { expose: o }) {
1829
+ o();
1830
+ const l = E(null), t = E(null), d = E([]), a = E(0), c = fe(), f = E(!1), i = E({
1831
+ id: "",
1832
+ fuzzyQry: !1,
1833
+ pageNum: 1,
1834
+ pageSize: 15
1835
+ }), g = () => {
1836
+ i.value.pageNum = 1, y();
1837
+ }, h = () => {
1838
+ l.value?.resetFields(), g();
1839
+ }, y = () => {
1840
+ if (!_(i.value.id)) {
1841
+ a.value = 0, d.value = [];
1842
+ return;
1843
+ }
1844
+ if (f.value = !0, c.data)
1845
+ if (i.value.fuzzyQry) {
1846
+ let b = Object.keys(c.data), w = [];
1847
+ for (let M = 0; M < b.length; M++)
1848
+ b[M].startsWith(i.value.id) && w.push(b[M]);
1849
+ if (a.value = w.length, a.value > 0) {
1850
+ let M = (i.value.pageNum - 1) * i.value.pageSize, F = M + i.value.pageSize;
1851
+ if (M <= a.value) {
1852
+ let Y = [];
1853
+ for (let N = M; N < F; N++)
1854
+ if (N < a.value) {
1855
+ let C = he(c.data[w[N]]);
1856
+ Y.push({
1857
+ key: w[N],
1858
+ value: C
1859
+ });
1860
+ }
1861
+ d.value = Y;
1862
+ } else
1863
+ d.value = [];
1864
+ } else
1865
+ d.value = [];
1866
+ } else {
1867
+ let b = c.data[i.value.id];
1868
+ if (Se(b))
1869
+ a.value = 0, d.value = [];
1870
+ else {
1871
+ a.value = 1;
1872
+ let w = he(b);
1873
+ d.value = [{
1874
+ key: i.value.id,
1875
+ value: w
1876
+ }];
1877
+ }
1878
+ }
1879
+ f.value = !1;
1880
+ }, O = { queryForm: l, resultTableRef: t, dataList: d, total: a, dataCache: c, loading: f, queryParams: i, handleQuery: g, resetQuery: h, getList: y, handleCopyData: (b) => {
1881
+ b && Ce(b.value) && de("success", "复制成功");
1882
+ }, ref: E, get useDataCacheStore() {
1883
+ return fe;
1884
+ }, get copyToClipboard() {
1885
+ return Ce;
1886
+ }, get isNotEmpty() {
1887
+ return _;
1888
+ }, get isNullOrUndefined() {
1889
+ return Se;
1890
+ }, get toJsonStr() {
1891
+ return he;
1892
+ }, get showMessage() {
1893
+ return de;
1894
+ } };
1895
+ return Object.defineProperty(O, "__isScriptSetup", { enumerable: !1, value: !0 }), O;
1896
+ }
1897
+ });
1898
+ function Bn(n, o, l, t, d, a) {
1899
+ const c = A("el-input"), f = A("el-form-item"), i = A("el-switch"), g = A("el-button"), h = A("el-form"), y = A("el-table-column"), v = A("el-table"), O = A("pagination"), b = zt("loading");
1900
+ return T(), H("div", { class: "panel-area" }, [
1901
+ ee("div", { class: "panel-condition" }, [
1902
+ I(h, {
1903
+ model: t.queryParams,
1904
+ ref: "queryForm",
1905
+ inline: !0
1906
+ }, {
1907
+ default: D(() => [
1908
+ I(f, {
1909
+ label: "缓存key",
1910
+ prop: "id"
1911
+ }, {
1912
+ default: D(() => [
1913
+ I(c, {
1914
+ modelValue: t.queryParams.id,
1915
+ "onUpdate:modelValue": o[0] || (o[0] = (w) => t.queryParams.id = w),
1916
+ placeholder: "请输入缓存key",
1917
+ clearable: "",
1918
+ style: { width: "240px" },
1919
+ onKeyup: Ut(t.handleQuery, ["enter", "native"])
1920
+ }, null, 8, ["modelValue"])
1921
+ ]),
1922
+ _: 1
1923
+ }),
1924
+ R(),
1925
+ I(f, {
1926
+ label: "查询模式",
1927
+ prop: "name"
1928
+ }, {
1929
+ default: D(() => [
1930
+ I(i, {
1931
+ modelValue: t.queryParams.fuzzyQry,
1932
+ "onUpdate:modelValue": o[1] || (o[1] = (w) => t.queryParams.fuzzyQry = w),
1933
+ "active-text": "模糊",
1934
+ "inactive-text": "精确"
1935
+ }, null, 8, ["modelValue"])
1936
+ ]),
1937
+ _: 1
1938
+ }),
1939
+ R(),
1940
+ I(f, null, {
1941
+ default: D(() => [
1942
+ I(g, {
1943
+ type: "primary",
1944
+ icon: "search",
1945
+ size: "small",
1946
+ onClick: t.handleQuery
1947
+ }, {
1948
+ default: D(() => [
1949
+ R("搜索")
1950
+ ]),
1951
+ _: 1
1952
+ }),
1953
+ R(),
1954
+ I(g, {
1955
+ icon: "refresh",
1956
+ size: "small",
1957
+ onClick: t.resetQuery
1958
+ }, {
1959
+ default: D(() => [
1960
+ R("重置")
1961
+ ]),
1962
+ _: 1
1963
+ })
1964
+ ]),
1965
+ _: 1
1966
+ })
1967
+ ]),
1968
+ _: 1
1969
+ }, 8, ["model"])
1970
+ ]),
1971
+ R(),
1972
+ ee("div", { class: "panel-table" }, [
1973
+ R(`\r
1974
+     \r
1975
+ `),
1976
+ xe((T(), K(v, {
1977
+ ref: "resultTableRef",
1978
+ data: t.dataList,
1979
+ stripe: "",
1980
+ border: "",
1981
+ "highlight-current-row": ""
1982
+ }, {
1983
+ default: D(() => [
1984
+ I(y, {
1985
+ type: "index",
1986
+ align: "center",
1987
+ width: "60"
1988
+ }),
1989
+ R(),
1990
+ I(y, {
1991
+ label: "缓存Key",
1992
+ align: "center",
1993
+ property: "key",
1994
+ "show-overflow-tooltip": !0,
1995
+ "min-width": "200"
1996
+ }),
1997
+ R(),
1998
+ I(y, {
1999
+ label: "缓存值",
2000
+ align: "left",
2001
+ property: "value",
2002
+ "show-overflow-tooltip": !0,
2003
+ "min-width": "400"
2004
+ }),
2005
+ R(),
2006
+ I(y, {
2007
+ label: "操作",
2008
+ align: "center",
2009
+ "show-overflow-tooltip": !0,
2010
+ "min-width": "80"
2011
+ }, {
2012
+ default: D((w) => [
2013
+ I(g, {
2014
+ link: "",
2015
+ icon: "document",
2016
+ onClick: (M) => t.handleCopyData(w.row)
2017
+ }, {
2018
+ default: D(() => [
2019
+ R(`复制数据\r
2020
+ `)
2021
+ ]),
2022
+ _: 1
2023
+ }, 8, ["onClick"])
2024
+ ]),
2025
+ _: 1
2026
+ })
2027
+ ]),
2028
+ _: 1
2029
+ }, 8, ["data"])), [
2030
+ [b, t.loading]
2031
+ ]),
2032
+ R(),
2033
+ xe(I(O, {
2034
+ total: t.total,
2035
+ page: t.queryParams.pageNum,
2036
+ "onUpdate:page": o[2] || (o[2] = (w) => t.queryParams.pageNum = w),
2037
+ limit: t.queryParams.pageSize,
2038
+ "onUpdate:limit": o[3] || (o[3] = (w) => t.queryParams.pageSize = w),
2039
+ pageSizes: [15, 20, 30, 50],
2040
+ onPagination: t.getList
2041
+ }, null, 8, ["total", "page", "limit"]), [
2042
+ [Ge, t.total > 0]
2043
+ ])
2044
+ ])
2045
+ ]);
2046
+ }
2047
+ const Hn = /* @__PURE__ */ J(Nn, [["render", Bn], ["__scopeId", "data-v-f00c8b88"], ["__file", "index.vue"]]), Ln = [
2048
+ hn,
2049
+ wn,
2050
+ On,
2051
+ Hn,
2052
+ In,
2053
+ it,
2054
+ Dn,
2055
+ jn
2056
+ ], ke = (n, o) => {
2057
+ ke.installed || (ke.installed = !0, n.provide("hflvloader-api", o), Ln.forEach((l) => {
2058
+ n.component(l.name, l);
1829
2059
  }));
1830
- }, zn = {
1831
- install: Ce
2060
+ }, Zn = {
2061
+ install: ke
1832
2062
  };
1833
2063
  export {
1834
- Jn as CommonUtils,
1835
- Ke as CreateCompContext,
1836
- Wn as MessageUtils,
1837
- Le as createSmartAccessor,
1838
- zn as default,
1839
- Un as reCalcCanvasSize,
1840
- xe as useDataCacheStore,
1841
- qe as useEventHandler
2064
+ Qn as CommonUtils,
2065
+ We as CreateCompContext,
2066
+ Xn as MessageUtils,
2067
+ Ue as createSmartAccessor,
2068
+ Zn as default,
2069
+ Yn as reCalcCanvasSize,
2070
+ fe as useDataCacheStore,
2071
+ Je as useEventHandler
1842
2072
  };