hflvloader 0.0.3 → 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 +1203 -952
  2. package/package.json +1 -1
@@ -1,260 +1,260 @@
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 Dt, createElementBlock as j, openBlock as O, createBlock as N, resolveDynamicComponent as ue, normalizeStyle as fe, vShow as At, computed as w, reactive as se, onMounted as pe, watch as Ce, ref as I, createElementVNode as ne, Fragment as Pe, renderList as Oe, provide as me, defineComponent as Ft, normalizeClass as Ke, resolveComponent as W, withCtx as D, createVNode as U, mergeProps as jt, createSlots as Bt, createCommentVNode as Ee, toDisplayString as Ht, createTextVNode as $, renderSlot as Nt, inject as ce, onBeforeMount as Re, onBeforeUnmount as De, onUnmounted as Ae } from "vue";
3
- import Lt from "json5";
4
- import qt from "js-md5";
5
- import { defineStore as Kt } from "pinia";
6
- import ge from "js-cookie";
7
- import { ElMessage as Jt, ElNotification as Ut, ElLoading as Wt, ElMessageBox as Je } from "element-plus";
8
- import { useRouter as Fe, useRoute as je } 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.3", "color: #2ecc71;"), console.log("%c编译日期: 2025/12/16 13:41:57", "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 Ve(t) {
32
- return !isNaN(parseFloat(t)) && isFinite(t);
31
+ function ce(n) {
32
+ return !isNaN(parseFloat(n)) && isFinite(n);
33
33
  }
34
- function Ue(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 R(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 We(t) {
41
- return t == null;
40
+ function Se(n) {
41
+ return n == null;
42
42
  }
43
- function zt(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 Gt(t) {
50
- return Object.keys(t).length === 0;
49
+ function $t(n) {
50
+ return Object.keys(n).length === 0;
51
51
  }
52
- function F(t) {
53
- return !!(t && typeof t == "function");
52
+ function q(n) {
53
+ return !!(n && typeof n == "function");
54
54
  }
55
- function ze(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 Me(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 Ge(t, r = {}) {
62
- if (Me(t) && _(t))
61
+ function $e(n, o = {}) {
62
+ if (De(n) && _(n))
63
63
  try {
64
- return Lt.parse(t);
64
+ return Jt.parse(n);
65
65
  } catch (l) {
66
- return console.warn("JSON 解析错误:", l), r;
66
+ return console.warn("JSON 解析错误:", l), o;
67
67
  }
68
68
  else
69
- return ie(t) ? t : r;
69
+ return ue(n) ? n : o;
70
70
  }
71
- function Yt(t) {
72
- return Me(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 r = Array.isArray(t) ? [] : {};
77
- for (const l in t)
78
- typeof t[l] == "object" ? r[l] = le(t[l]) : r[l] = t[l];
79
- return r;
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
+ return o;
80
80
  }
81
- return t;
81
+ return n;
82
82
  }
83
- function Ye(t, r) {
84
- for (const l in r)
85
- r[l] instanceof Object && t[l] && Object.assign(r[l], Ye(t[l], r[l]));
86
- return { ...t, ...r };
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 $e(t, r) {
89
- if (t) {
90
- let l = t.getFullYear(), n = t.getMonth() + 1, p = t.getDate(), a = t.getHours(), c = t.getMinutes(), f = t.getSeconds(), s = r;
91
- return s = s.replace("yyyy", l), s.indexOf("MM") >= 0 ? n >= 10 ? s = s.replace("MM", n) : s = s.replace("MM", "0" + n) : s = s.replace("M", n), s.indexOf("dd") >= 0 ? p >= 10 ? s = s.replace("dd", p) : s = s.replace("dd", "0" + p) : s = s.replace("d", p), s.indexOf("HH") >= 0 ? a >= 10 ? s = s.replace("HH", a) : s = s.replace("HH", "0" + a) : s = s.replace("H", a), s.indexOf("mm") >= 0 ? c >= 10 ? s = s.replace("mm", c) : s = s.replace("mm", "0" + c) : s = s.replace("m", c), s.indexOf("ss") >= 0 ? f >= 10 ? s = s.replace("ss", f) : s = s.replace("ss", "0" + f) : s = s.replace("s", f), s;
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 Qe(t) {
96
- if (t) {
97
- if (Ue(t))
98
- return t;
99
- if (Ve(t)) {
100
- let r = /* @__PURE__ */ new Date(), l = parseInt(t);
101
- return l < 9999999999 && (l = l * 1e3), r.setTime(l), r;
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 $t(t, r = 0) {
111
- if (t) {
112
- let l = t.getDay(), n = ["星期天", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], p = ["周末", "周一", "周二", "周三", "周四", "周五", "周六"];
113
- return r == 1 ? n[l] : r == 2 ? p[l] : l;
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 Qt(t) {
118
- const r = document.createElement("textarea");
119
- r.value = t, document.body.appendChild(r), r.select();
117
+ function tn(n) {
118
+ const o = document.createElement("textarea");
119
+ o.value = n, document.body.appendChild(o), o.select();
120
120
  const l = document.execCommand("copy");
121
- return document.body.removeChild(r), l;
121
+ return document.body.removeChild(o), l;
122
122
  }
123
- async function Xt(t) {
123
+ async function Ce(n) {
124
124
  try {
125
- return navigator.clipboard ? (await navigator.clipboard.writeText(t), !0) : !!Qt(t);
126
- } catch (r) {
127
- return console.error("无法复制内容", r), !1;
125
+ return navigator.clipboard ? (await navigator.clipboard.writeText(n), !0) : !!tn(n);
126
+ } catch (o) {
127
+ return console.error("无法复制内容", o), !1;
128
128
  }
129
129
  }
130
- async function Zt() {
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 en(t, r) {
138
- return Ve(t) ? t : r;
137
+ function on(n, o) {
138
+ return ce(n) ? n : o;
139
139
  }
140
- function ye(t, r) {
141
- return r.split(".").reduce((l, n) => l && l[n], t);
140
+ function Pe(n, o) {
141
+ return o.split(".").reduce((l, t) => l && l[t], n);
142
142
  }
143
- function _e(t, r) {
144
- if (!t || typeof t != "object" || typeof r != "string" || !r)
143
+ function Ve(n, o) {
144
+ if (!n || typeof n != "object" || typeof o != "string" || !o)
145
145
  return !1;
146
- const l = r.split(".");
147
- let n = t;
148
- for (const p of l)
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 Xe() {
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((r, l) => [4, 6, 8, 10].includes(l) ? "-" + r.toString(16).padStart(2, "0") : r.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) {
163
- const r = Math.random() * 16 | 0;
164
- return (t === "x" ? r : r & 3 | 8).toString(16);
162
+ return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(n) {
163
+ const o = Math.random() * 16 | 0;
164
+ return (n === "x" ? o : o & 3 | 8).toString(16);
165
165
  });
166
166
  }
167
- function tn(t, r = {}, l) {
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}}`)()(r);
171
- } catch (n) {
172
- return console.error("执行自定义数时出错:", n), l;
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 Ze(t) {
176
- return _(t) ? qt(t) : "";
175
+ function rt(n) {
176
+ return _(n) ? Wt(n) : "";
177
177
  }
178
- function de(t, ...r) {
178
+ function $(n, ...o) {
179
179
  if (!window.hflvloader_debug) return;
180
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 = l[t] || l.debug;
186
- switch (t) {
185
+ }, t = l[n] || l.debug;
186
+ switch (n) {
187
187
  case "debug":
188
- console.debug(n[0], n[1], ...r);
188
+ console.debug(t[0], t[1], ...o);
189
189
  break;
190
190
  case "info":
191
- console.info(n[0], n[1], ...r);
191
+ console.info(t[0], t[1], ...o);
192
192
  break;
193
193
  case "warn":
194
- console.warn(n[0], n[1], ...r);
194
+ console.warn(t[0], t[1], ...o);
195
195
  break;
196
196
  case "error":
197
- console.error(n[0], n[1], ...r);
197
+ console.error(t[0], t[1], ...o);
198
198
  break;
199
199
  default:
200
- console.log(n[0], n[1], ...r);
200
+ console.log(t[0], t[1], ...o);
201
201
  }
202
202
  }
203
- function nn(t, r = 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(r) || 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 on(t) {
210
- return (Math.floor(t) & 1) === 0;
209
+ function sn(n) {
210
+ return (Math.floor(n) & 1) === 0;
211
211
  }
212
- const Kn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
212
+ const Qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
213
213
  __proto__: null,
214
- consolePrint: de,
215
- copyToClipboard: Xt,
216
- deepCopy: le,
217
- deepMerge: Ye,
218
- doMD5: Ze,
219
- execCustomFunction: tn,
220
- formatDate: $e,
221
- generateSecureUUID: Xe,
222
- getDate: Qe,
223
- getJsonObject: Ge,
224
- getValByDefault: en,
225
- getValueByPath: ye,
226
- getWeek: $t,
227
- hasOwnPathInObject: _e,
228
- isArray: R,
229
- isComputed: ze,
230
- isDate: Ue,
231
- isEmptyObject: Gt,
232
- isEven: on,
233
- isFunction: F,
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: We,
236
- isNumber: Ve,
237
- isObject: ie,
238
- isString: Me,
239
- isValid: zt,
240
- keepDecimalCalc: nn,
241
- pasteFromClipboard: Zt,
242
- toJsonStr: Yt
243
- }, Symbol.toStringTag, { value: "Module" })), rn = ["width", "height", "scale"];
244
- function ln(t) {
245
- const r = {};
246
- return Object.keys(t).filter((l) => !rn.includes(l)).forEach((l) => {
247
- l === "fontSize" ? r[l] += "px" : l === "backgroundImage" && _(t[l]) ? r["background-image"] = "url(" + t[l] + ")" : l === "backgroundRepeat" ? r["background-repeat"] = t[l] : l === "backgroundSize" ? r["background-size"] = t[l] : l === "backgroundPosition" ? r["background-position"] = t[l] : r[l] = t[l];
248
- }), r;
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
+ const o = {};
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
+ }), o;
249
249
  }
250
- const et = ["fontSize", "width", "height", "top", "left", "borderWidth", "letterSpacing", "borderRadius"];
251
- function tt(t, r = []) {
250
+ const lt = ["fontSize", "width", "height", "top", "left", "borderWidth", "letterSpacing", "borderRadius"];
251
+ function st(n, o = []) {
252
252
  const l = {};
253
- return Object.keys(t).forEach((n) => {
254
- r.includes(n) || (n != "rotate" ? t[n] !== "" && (l[n] = t[n], et.includes(n) && (l[n] += "px")) : l.transform = `${n}(${t[n]}deg)`);
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
255
  }), l;
256
256
  }
257
- function sn(t, r = []) {
257
+ function un(n, o = []) {
258
258
  const l = {};
259
259
  return [
260
260
  "opacity",
@@ -269,93 +269,93 @@ function sn(t, r = []) {
269
269
  "letterSpacing",
270
270
  "textAlign",
271
271
  "color"
272
- ].forEach((n) => {
273
- r.includes(n) || (n != "rotate" ? t[n] !== "" && (l[n] = t[n], et.includes(n) && (l[n] += "px")) : l.transform = `${n}(${t[n]}deg)`);
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
274
  }), l;
275
275
  }
276
- function Z(t, r, l, n, p, a, c) {
277
- let f = JSON.parse(JSON.stringify(t));
278
- return f && f.length > 0 && f.forEach((s) => {
279
- if (s && s.style) {
280
- if (n != 1) {
281
- let g = s.style.width;
282
- if (s.style.wdSet == "calc")
283
- g = Math.floor(s.style.width * n);
284
- else if (s.style.wdSet == "overspread") {
285
- let h = s.style.wdReserve < 0 ? 0 : s.style.wdReserve;
286
- g = Math.floor(r - h);
276
+ function ne(n, o, l, t, d, a, c) {
277
+ let f = JSON.parse(JSON.stringify(n));
278
+ return f && f.length > 0 && f.forEach((i) => {
279
+ if (i && i.style) {
280
+ if (t != 1) {
281
+ let g = i.style.width;
282
+ if (i.style.wdSet == "calc")
283
+ g = Math.floor(i.style.width * t);
284
+ else if (i.style.wdSet == "overspread") {
285
+ let h = i.style.wdReserve < 0 ? 0 : i.style.wdReserve;
286
+ g = Math.floor(o - h);
287
287
  }
288
- if (s.style.hAffix != "left") if (s.style.hAffix == "right") {
289
- let h = a - (s.style.left + s.style.width);
290
- s.style.left = r - h - g;
291
- } else s.style.hAffix == "center" ? s.style.left = Math.floor(r * 0.5 - g * 0.5) : s.style.left = Math.floor(s.style.left * n);
292
- s.style.width = g;
288
+ if (i.style.hAffix != "left") if (i.style.hAffix == "right") {
289
+ let h = a - (i.style.left + i.style.width);
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 * t);
292
+ i.style.width = g;
293
293
  }
294
- if (p != 1) {
295
- let g = s.style.height;
296
- if (s.style.htSet == "calc")
297
- g = Math.floor(s.style.height * p);
298
- else if (s.style.htSet == "overspread") {
299
- let h = s.style.htReserve < 0 ? 0 : s.style.htReserve;
294
+ if (d != 1) {
295
+ let g = i.style.height;
296
+ if (i.style.htSet == "calc")
297
+ g = Math.floor(i.style.height * d);
298
+ else if (i.style.htSet == "overspread") {
299
+ let h = i.style.htReserve < 0 ? 0 : i.style.htReserve;
300
300
  g = Math.floor(l - h);
301
301
  }
302
- if (s.style.vAffix != "top") if (s.style.vAffix == "bottom") {
303
- let h = c - (s.style.top + s.style.height);
304
- s.style.top = l - h - g;
305
- } else s.style.vAffix == "center" ? s.style.top = Math.floor(l * 0.5 - g * 0.5) : s.style.top = Math.floor(s.style.top * p);
306
- s.style.height = g;
302
+ if (i.style.vAffix != "top") if (i.style.vAffix == "bottom") {
303
+ let h = c - (i.style.top + i.style.height);
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
+ i.style.height = g;
307
307
  }
308
308
  }
309
309
  }), f;
310
310
  }
311
- function Jn(t, r, l, n) {
312
- let p = {}, a = [];
311
+ function Yn(n, o, l, t) {
312
+ let d = {}, a = [];
313
313
  if (!(l && l.screenAdapter && l.screenAdapter != "no-adapter"))
314
- p = l, a = n;
314
+ d = l, a = t;
315
315
  else {
316
- let c = Math.floor(t), f = Math.floor(r), s = Number(l.width), g = Number(l.height), h = 1, y = 1;
316
+ let c = Math.floor(n), f = Math.floor(o), i = Number(l.width), g = Number(l.height), h = 1, y = 1;
317
317
  if (l.screenAdapter == "all-screen")
318
- p = JSON.parse(JSON.stringify(l)), c > s + 10 && (p.width = c, h = Math.floor(1e4 * c / s) / 1e4), f > g + 10 && (p.height = f, y = Math.floor(1e4 * f / g) / 1e4), a = Z(n, c, f, h, y, s, g);
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
319
  else if (l.screenAdapter == "original-ratio") {
320
- p = JSON.parse(JSON.stringify(l));
321
- let v = Math.floor(1e4 * s / g) / 1e4;
322
- Math.floor(f * v) > c ? (p.width = c, h = Math.floor(1e4 * c / s) / 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 / s) / 1e4), a = Z(n, c, f, h, y, s, g);
320
+ d = JSON.parse(JSON.stringify(l));
321
+ let v = Math.floor(1e4 * i / g) / 1e4;
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
323
  } else if (l.screenAdapter == "h-adapter-wh") {
324
- p = JSON.parse(JSON.stringify(l));
325
- let v = Math.floor(1e4 * s / g) / 1e4;
326
- c > s + 10 && (p.width = c, h = Math.floor(1e4 * c / s) / 1e4, f = Math.floor(c / v), p.height = f, y = Math.floor(1e4 * f / g) / 1e4), a = Z(n, c, f, h, y, s, g);
324
+ d = JSON.parse(JSON.stringify(l));
325
+ let v = Math.floor(1e4 * i / g) / 1e4;
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
327
  } else if (l.screenAdapter == "v-adapter-wh") {
328
- p = JSON.parse(JSON.stringify(l));
329
- let v = Math.floor(1e4 * s / 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 / s) / 1e4), a = Z(n, c, f, h, y, s, g);
331
- } else l.screenAdapter == "h-adapter" ? (p = JSON.parse(JSON.stringify(l)), c > s + 10 && (p.width = c, h = Math.floor(1e4 * c / s) / 1e4), a = Z(n, c, f, h, y, s, g)) : l.screenAdapter == "v-adapter" ? (p = JSON.parse(JSON.stringify(l)), f > g + 10 && (p.height = f, y = Math.floor(1e4 * f / g) / 1e4), a = Z(n, c, f, h, y, s, g)) : (p = l, a = n);
328
+ d = JSON.parse(JSON.stringify(l));
329
+ let v = Math.floor(1e4 * i / g) / 1e4;
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 Be(t, r = []) {
339
- const l = (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", He(f));
342
- const s = () => {
343
- t.removeEventListener("animationend", s), t.removeEventListener("animationcancel", s), t.classList.remove(c, "animated", He(f)), t.style.removeProperty("--time"), p();
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
+ const i = () => {
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", s), t.addEventListener("animationcancel", s);
345
+ n.addEventListener("animationend", i), n.addEventListener("animationcancel", i);
346
346
  });
347
- for (let n = 0, p = r.length; n < p; n++)
348
- await l(r[n]);
347
+ for (let t = 0, d = o.length; t < d; t++)
348
+ await l(o[t]);
349
349
  }
350
- function He(t) {
351
- return t ? "infinite" : "no-infinite";
350
+ function ze(n) {
351
+ return n ? "infinite" : "no-infinite";
352
352
  }
353
- const z = (t, r) => {
354
- const l = t.__vccOpts || t;
355
- for (const [n, p] of r)
356
- l[n] = p;
353
+ const J = (n, o) => {
354
+ const l = n.__vccOpts || n;
355
+ for (const [t, d] of o)
356
+ l[t] = d;
357
357
  return l;
358
- }, an = {
358
+ }, fn = {
359
359
  __name: "ComponentWrapper",
360
360
  props: {
361
361
  config: {
@@ -365,65 +365,65 @@ const z = (t, r) => {
365
365
  }
366
366
  }
367
367
  },
368
- setup(t, { expose: r }) {
369
- const l = t, n = w(() => l.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}`];
376
- }, f = (v) => a[`Ve${v}`], s = () => {
377
- if (n.value.animations && n.value.animations.length > 0) {
378
- let v = a[`Ve${n.value.id}`];
379
- v.$el && Be(v.$el, n.value.animations);
374
+ }), a = ae({}), c = (v, O) => {
375
+ v ? a[`Ve${O}`] = v : delete a[`Ve${O}`];
376
+ }, f = (v) => a[`Ve${v}`], i = () => {
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
- pe(() => {
387
- s();
388
- }), r({
386
+ ve(() => {
387
+ i();
388
+ }), o({
389
389
  getComponentRef: f,
390
390
  hide: g,
391
391
  show: h
392
392
  });
393
- const y = { props: l, config: n, isShow: p, componentRefs: a, setComponentRef: c, getComponentRef: f, execAnimation: s, hide: g, show: h, ref: I, computed: w, onMounted: pe, reactive: se, watch: Ce, get getSVGStyle() {
394
- return sn;
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 tt;
396
+ return st;
397
397
  }, get runAnimation() {
398
- return Be;
398
+ return Ke;
399
399
  } };
400
400
  return Object.defineProperty(y, "__isScriptSetup", { enumerable: !1, value: !0 }), y;
401
401
  }
402
402
  };
403
- function cn(t, r, l, n, p, a) {
404
- return Dt((O(), j("div", { class: "component-wrapper" }, [
405
- n.config.component.startsWith("SVG") ? (O(), N(ue(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: fe(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(), N(ue(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: fe(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
- [At, n.isShow]
423
+ [Ge, t.isShow]
424
424
  ]);
425
425
  }
426
- const un = /* @__PURE__ */ z(an, [["render", cn], ["__scopeId", "data-v-3fc3a63c"], ["__file", "ComponentWrapper.vue"]]), fn = /* @__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 un = /* @__PURE__ */ z(an, [["render", cn], ["__scopeId", "data-v-3fc3a63c
440
440
  default: []
441
441
  }
442
442
  },
443
- setup(t, { expose: r }) {
444
- const l = t, n = I({}), p = w(() => l.canvasStyle || {}), a = w(() => l.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 k;
451
- R(M) ? k = M[0] : k = M;
452
- const T = k.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]()) : de("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
- }, s = (h, y, v = {}) => {
456
+ }, i = (h, y, v = {}) => {
457
457
  if (_(h)) {
458
- const V = "VeP" + h, M = n.value[V];
459
- if (M) {
460
- let k;
461
- R(M) ? k = M[0] : k = M, y ? k.show() : k.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
- me("VE-CompMethod", f), me("VE-CompHideAndShow", s), r({
465
+ le("VE-CompMethod", f), le("VE-CompHideAndShow", i), o({
466
466
  callCompMethod: f
467
467
  });
468
- const g = { props: l, componentRefs: n, canvasStyle: p, componentData: a, setComponentRef: c, callCompMethod: f, callCompHideAndShow: s, ref: I, computed: w, provide: me, watch: Ce, get getCanvasStyle() {
469
- return ln;
470
- }, ComponentWrapper: un, 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 R;
473
+ return B;
474
474
  }, get consolePrint() {
475
- return de;
475
+ return $;
476
476
  } };
477
477
  return Object.defineProperty(g, "__isScriptSetup", { enumerable: !1, value: !0 }), g;
478
478
  }
479
479
  });
480
- function pn(t, r, l, n, p, a) {
481
- return O(), j("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: fe({
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), j(Pe, null, Oe(n.componentData, (c, f) => (O(), N(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: (s) => n.setComponentRef(s, "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 dn = /* @__PURE__ */ z(fn, [["render", pn], ["__scopeId", "data-v-ed658753"], ["__file", "index.vue"]]), mn = Ft({
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 dn = /* @__PURE__ */ z(fn, [["render", pn], ["__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 gn(t, r, l, n, p, a) {
523
- return O(), j("svg", {
524
- class: Ke(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 nt = /* @__PURE__ */ z(mn, [["render", gn], ["__file", "index.vue"]]), hn = /* @__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,72 +549,72 @@ const nt = /* @__PURE__ */ z(mn, [["render", gn], ["__file", "index.vue"]]), hn
549
549
  default: ""
550
550
  }
551
551
  },
552
- setup(t, { expose: r }) {
553
- r();
554
- const f = { props: t, isImage: (s) => s && s.toString().toLowerCase().startsWith("img#"), getImageSrc: (s) => s.toString().substring(4), isSvgIcon: (s) => s && s.toString().toLowerCase().indexOf("svg#") == 0, getSvgIconClass: (s) => s.toString().substring(4), VeCompSvgIcon: nt };
552
+ setup(n, { expose: o }) {
553
+ o();
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 yn(t, r, l, n, p, a) {
559
- const c = W("el-icon");
560
- return O(), N(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
564
  default: D(() => [
565
- n.isImage(n.props.icon) ? (O(), j("img", {
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(), N(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(), N(ue(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 _n = /* @__PURE__ */ z(hn, [["render", yn], ["__file", "index.vue"]]);
578
- let he = null;
579
- const ve = () => {
580
- if (!he) {
581
- const t = se({}), r = I([]);
582
- he = {
583
- dialogs: t,
584
- dialogStack: r,
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
+ dialogStack: o,
585
585
  openDialog: (c = {}) => {
586
- const f = c.dialogId || "dialog-" + Xe(), s = r.value.length;
587
- s >= 1 && (c.appendToBody = !0);
586
+ const f = c.dialogId || "dialog-" + ot(), i = o.value.length;
587
+ i >= 1 && (c.appendToBody = !0);
588
588
  const g = {
589
589
  id: f,
590
- level: s,
590
+ level: i,
591
591
  config: c
592
592
  };
593
- if (t[f] = g, r.value.length >= 1) {
593
+ if (n[f] = g, o.value.length >= 1) {
594
594
  let h = !1;
595
- for (let y = 0; y < r.value.length; y++)
596
- if (f == r.value[y]) {
595
+ for (let y = 0; y < o.value.length; y++)
596
+ if (f == o.value[y]) {
597
597
  h = !0;
598
598
  break;
599
599
  }
600
- h || r.value.push(f);
600
+ h || o.value.push(f);
601
601
  } else
602
- r.value.push(f);
602
+ o.value.push(f);
603
603
  return f;
604
604
  },
605
605
  closeDialog: (c) => {
606
- delete t[c], r.value = r.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];
611
- }), r.value = [];
609
+ Object.keys(n).forEach((c) => {
610
+ delete n[c];
611
+ }), o.value = [];
612
612
  },
613
- getDialogCount: () => r.value.length
613
+ getDialogCount: () => o.value.length
614
614
  };
615
615
  }
616
- return he;
617
- }, vn = /* @__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 ve = () => {
625
625
  }
626
626
  },
627
627
  emits: ["confirm", "cancel"],
628
- setup(t, { expose: r, emit: l }) {
629
- const n = t, p = l, a = w(() => n.config), c = w(() => a.value.title || "对话框"), f = w(() => !!n.config.showHeader), s = I(a.value.fullscreen), g = I(a.value.width), h = I(!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 L = 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: `${L}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
- }), k = () => {
654
- p("confirm");
655
- }, T = () => {
656
- p("cancel"), E();
657
- }, E = () => {
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
- r({
663
- close: E
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: s, previousWidth: g, openDialog: h, dialogWidth: y, element: v, bindAttr: V, customStyle: M, confirmInner: k, cancel: T, close: E, handleClose: oe, ref: I, 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 Sn(t, r, l, n, p, a) {
672
- const c = W("Subpage"), f = W("el-button"), s = W("el-dialog");
673
- return O(), j("div", { class: "full-screen-dialog-wrapper" }, [
674
- U(s, jt({
675
- modelValue: n.openDialog,
676
- "onUpdate:modelValue": r[0] || (r[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
- }), Bt({
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({
683
689
  header: D(() => [
684
- n.showTitle ? (O(), j("span", { key: 0 }, Ht(n.title), 1)) : Ee("", !0)
690
+ t.showTitle ? (T(), H("span", { key: 0 }, qt(t.title), 1)) : je("", !0)
685
691
  ]),
686
692
  default: D(() => [
687
- n.isNotEmpty(n.config.pageId) ? (O(), N(c, {
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"])) : Ee("", !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
703
  fn: D(() => [
698
- ne("div", { class: "dialog-footer" }, [
699
- U(f, {
704
+ ee("div", { class: "dialog-footer" }, [
705
+ I(f, {
700
706
  type: "primary",
701
- onClick: n.confirmInner
707
+ onClick: t.confirmInner
702
708
  }, {
703
709
  default: D(() => [
704
- $("确定")
710
+ R("确定")
705
711
  ]),
706
712
  _: 1
707
713
  }),
708
- $(),
709
- U(f, { onClick: n.cancel }, {
714
+ R(),
715
+ I(f, { onClick: t.cancel }, {
710
716
  default: D(() => [
711
- $("关 闭")
717
+ R("关 闭")
712
718
  ]),
713
719
  _: 1
714
720
  })
@@ -719,28 +725,28 @@ function Sn(t, r, l, n, p, a) {
719
725
  ]), 1040, ["modelValue", "width", "fullscreen", "style"])
720
726
  ]);
721
727
  }
722
- const xn = /* @__PURE__ */ z(vn, [["render", Sn], ["__scopeId", "data-v-fe28b3b7"], ["__file", "FullscreenDialog.vue"]]), wn = /* @__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: r }) {
727
- r();
728
- const { dialogs: l, closeDialog: n } = ve(), p = w(() => Object.values(l)), c = { dialogs: l, closeDialog: n, dialogList: p, cancelHandler: (f) => {
729
- n(f);
732
+ setup(n, { expose: o }) {
733
+ o();
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 ve;
732
- }, computed: w, FullScreenDialog: xn };
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 bn(t, r, l, n, p, a) {
737
- return O(!0), j(Pe, null, Oe(n.dialogList, (c) => (O(), N(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 Cn = /* @__PURE__ */ z(wn, [["render", bn], ["__file", "DialogContainer.vue"]]), Pn = /* @__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 Cn = /* @__PURE__ */ z(wn, [["render", bn], ["__file", "DialogContainer.vu
759
765
  }
760
766
  },
761
767
  emits: ["confirm"],
762
- setup(t, { expose: r, emit: l }) {
763
- const n = I("弹框"), p = I(!1), a = t, c = l;
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 s = 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
- r({
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: s, confirmInner: g, cancel: h, show: y, ref: I, 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 On(t, r, l, n, p, a) {
787
- const c = W("el-button"), f = W("el-dialog");
788
- return O(), N(f, {
789
- title: n.title,
790
- modelValue: n.openDialog,
791
- "onUpdate:modelValue": r[0] || (r[0] = (s) => n.openDialog = s),
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
806
  default: D(() => [
801
- Nt(t.$slots, "dialog-content")
807
+ Kt(n.$slots, "dialog-content")
802
808
  ]),
803
809
  footer: D(() => [
804
- ne("div", { class: "dialog-footer" }, [
805
- U(c, {
810
+ ee("div", { class: "dialog-footer" }, [
811
+ I(c, {
806
812
  type: "primary",
807
- onClick: n.confirmInner
813
+ onClick: t.confirmInner
808
814
  }, {
809
815
  default: D(() => [
810
- $("确定")
816
+ R("确定")
811
817
  ]),
812
818
  _: 1
813
819
  }),
814
- $(),
815
- U(c, { onClick: n.cancel }, {
820
+ R(),
821
+ I(c, { onClick: t.cancel }, {
816
822
  default: D(() => [
817
- $("关 闭")
823
+ R("关 闭")
818
824
  ]),
819
825
  _: 1
820
826
  })
@@ -823,7 +829,7 @@ function On(t, r, l, n, p, a) {
823
829
  _: 3
824
830
  }, 8, ["title", "modelValue", "width", "modal"]);
825
831
  }
826
- const Vn = /* @__PURE__ */ z(Pn, [["render", On], ["__file", "index.vue"]]), Mn = /* @__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 Vn = /* @__PURE__ */ z(Pn, [["render", On], ["__file", "index.vue"]]), Mn
842
848
  }
843
849
  },
844
850
  emits: ["update:modelValue"],
845
- setup(t, { expose: r, emit: l }) {
846
- r();
847
- const n = t, p = l, a = I(null), c = I(""), 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();
851
+ setup(n, { expose: o, emit: l }) {
852
+ o();
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: I, 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 In(t, r, l, n, p, a) {
861
- const c = W("el-text"), f = W("el-input"), s = W("CommonDialog");
862
- return O(), j("div", {
863
- class: Ke(["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": r[0] || (r[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
879
  append: D(() => [
874
- U(c, {
880
+ I(c, {
875
881
  style: { width: "32px", "text-align": "center" },
876
- onClick: n.openInputDialog
882
+ onClick: t.openInputDialog
877
883
  }, {
878
884
  default: D(() => [
879
- $("...")
885
+ R("...")
880
886
  ]),
881
887
  _: 1
882
888
  })
883
889
  ]),
884
890
  _: 1
885
891
  }, 8, ["modelValue", "placeholder"]),
886
- $(),
887
- U(s, {
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
899
  "dialog-content": D(() => [
894
- ne("div", { style: { width: "100%", height: "500px", "overflow-y": "auto", "overflow-x": "hidden" } }, [
895
- U(f, {
896
- modelValue: n.inputTextArea,
897
- "onUpdate:modelValue": r[1] || (r[1] = (g) => n.inputTextArea = g),
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 In(t, r, l, n, p, a) {
904
910
  }, 8, ["title"])
905
911
  ], 2);
906
912
  }
907
- const kn = /* @__PURE__ */ z(Mn, [["render", In], ["__scopeId", "data-v-956a5a3a"], ["__file", "index.vue"]]), Se = Kt(
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,769 +927,790 @@ const kn = /* @__PURE__ */ z(Mn, [["render", In], ["__scopeId", "data-v-956a5a3a
921
927
  // 暂时只考虑扁平结构
922
928
  }),
923
929
  actions: {
924
- setData(t, r) {
925
- this.data[t] = r;
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, r, l = !1) {
937
- l ? this.rules[t] = r : this.rules[t] || (this.rules[t] = r);
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
- ), Ne = (t) => {
942
- const r = /* @__PURE__ */ new Map();
947
+ ), Ue = (n) => {
948
+ const o = /* @__PURE__ */ new Map();
943
949
  return new Proxy({}, {
944
- get(l, n = "undefinedKey") {
945
- return r.has(n) || r.set(n, w(() => t.data[n] || {})), r.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(l, 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 = ce("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 xe(t, r, l = {}) {
959
- let n = {
964
+ function de(n, o, l = {}) {
965
+ let t = {
960
966
  ...l,
961
- message: r || "message",
962
- type: t || "info"
967
+ message: o || "message",
968
+ type: n || "info"
963
969
  };
964
- Jt(n);
970
+ Qt(t);
965
971
  }
966
- function we(t, r, l = {}) {
967
- let n = {
972
+ function Me(n, o, l = {}) {
973
+ let t = {
968
974
  ...l,
969
- message: r || "message",
970
- type: t || "info"
975
+ message: o || "message",
976
+ type: n || "info"
971
977
  };
972
- Ut(n);
978
+ Yt(t);
973
979
  }
974
- function ot(t = {}) {
975
- const r = Wt.service(t);
976
- let l = t.timeout || 3e4;
980
+ function at(n = {}) {
981
+ const o = Xt.service(n);
982
+ let l = n.timeout || 3e4;
977
983
  return setTimeout(() => {
978
- r && r.close();
979
- }, l), r;
984
+ o && o.close();
985
+ }, l), o;
980
986
  }
981
- async function rt(t, r, l = {}) {
982
- let n = [], p = {};
987
+ async function ct(n, o, l = {}) {
988
+ let t = [], d = {};
983
989
  try {
984
- (await Promise.allSettled([Je.confirm(r, t, l)])).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
- const s = c.reason;
989
- n.push(s);
994
+ const i = c.reason;
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 lt(t, r, l = {}) {
998
- let n = [], p = {};
1003
+ async function ut(n, o, l = {}) {
1004
+ let t = [], d = {};
999
1005
  try {
1000
- (await Promise.allSettled([Je.prompt(r, t, l)])).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
- const s = c.reason;
1005
- n.push(s);
1010
+ const i = c.reason;
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 Un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1019
+ const Xn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1014
1020
  __proto__: null,
1015
- showLoading: ot,
1016
- showMessage: xe,
1017
- showMessageBoxConfirmAsync: rt,
1018
- showMessageBoxPromptAsync: lt,
1019
- showNotification: we
1020
- }, Symbol.toStringTag, { value: "Module" })), ee = {
1021
- "==": (t, r) => t == r,
1022
- "!=": (t, r) => t != r,
1023
- ">": (t, r) => +t > +r,
1024
- ">=": (t, r) => +t >= +r,
1025
- "<": (t, r) => +t < +r,
1026
- "<=": (t, r) => +t <= +r,
1027
- contain: (t, r) => t != null && String(t).includes(String(r)),
1028
- unContain: (t, r) => t == null || !String(t).includes(String(r)),
1029
- equals: (t, r) => t != null && String(t) == String(r),
1030
- notEquals: (t, r) => t == null || !String(t) == String(r),
1031
- equalsIgnoreCase: (t, r) => t != null && String(t).toLowerCase() == String(r).toLowerCase()
1032
- }, te = (t) => typeof t == "string" && t.trim() !== "" && !isNaN(t) ? +t : t;
1033
- function Le(t = {}, r = !0, l = {}) {
1034
- const n = t, p = r, a = l, c = /* @__PURE__ */ new Map(), f = Tn(), s = Se(), g = ce("VE-ContainerParam"), h = ce("VE-CompMethod"), y = [], { openDialog: v, closeDialog: V } = ve();
1035
- let M = null;
1036
- const k = 250, T = ce("VE-CompHideAndShow"), E = [], 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 (ze(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 o = e.params || [], i = {};
1046
- o.forEach((u, d) => {
1047
- if (X(u)) {
1048
- let m = B(u);
1049
- i[u.tarKey] = m;
1051
+ let s = e.params || [], r = {};
1052
+ s.forEach((u, p) => {
1053
+ if (te(u)) {
1054
+ let m = z(u);
1055
+ r[u.tarKey] = m;
1050
1056
  }
1051
- }), e.namedRouter ? F(a.routerPush) && a.routerPush(e.path, i) : F(a.routerPush2) && a.routerPush2(e.path, i);
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 o = [];
1055
- return e.forEach((i) => {
1056
- if (X(i)) {
1057
- let u = B(i);
1058
- o.push([
1059
- i.tarKey,
1060
+ let s = [];
1061
+ return e.forEach((r) => {
1062
+ if (te(r)) {
1063
+ let u = z(r);
1064
+ s.push([
1065
+ r.tarKey,
1060
1066
  u
1061
1067
  ]);
1062
1068
  }
1063
- }), o;
1064
- }, L = (e, o) => {
1069
+ }), s;
1070
+ }, W = (e, s) => {
1065
1071
  if (e.customFunc && _(e.successFunc)) {
1066
- const i = {
1067
- helper: { ...a, ...b }
1072
+ const r = {
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}}`)(i)(o);
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, o, i) => {
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)(o, i);
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, o) => {
1089
- if (R(o) && o.length > 0) {
1090
- let i, u, d;
1091
- for (let m = 0; m < o.length; m++)
1092
- i = o[m], d = i.dataKey || "data", _(d) && _e(e, d) && (u = ye(e, d), _(i.ds) && _(i.tarKey) && pt(i, 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
- }, q = async (e) => {
1095
- let o = [], i = {};
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 && (i = 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
- o.push(S);
1107
+ const S = p.reason;
1108
+ s.push(S);
1103
1109
  }
1104
1110
  });
1105
1111
  } catch (u) {
1106
- console.error("_dataRequestHandler4Async 异常:", u), o.push(u);
1112
+ console.error("_dataRequestHandler4Async 异常:", u), s.push(u);
1107
1113
  }
1108
- return { errors: o, resultInfo: i };
1109
- }, K = (e) => {
1114
+ return { errors: s, resultInfo: r };
1115
+ }, Q = (e) => {
1110
1116
  if (e.method == "GET" || e.method == "get") {
1111
- let o = e.url;
1112
- if (/\{#.*?#\}/g.test(o)) {
1113
- let u = e.data || [], d = /* @__PURE__ */ new Set(), m = !1, S = null;
1114
- if (o = o.replace(/\{#(.*?)#\}/g, (J, 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) : J;
1122
- }), d.size > 0) {
1123
- let J = u.filter((Y, re) => !d.has(Y[0]));
1124
- e.url = o, e.data = J || [];
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
- }, st = async (e) => {
1134
+ }, ft = async (e) => {
1129
1135
  if (e && _(e.url)) {
1130
- let o = e.respParams || [], i = {};
1131
- i.url = e.url, i.externalRequest = e.external || !1, i.method = e.method || "GET", i.paramType = "object", i.data = C(e.params), i.headers = e.headers, e.series && (i.series = e.series, i.requestCount = e.requestCount || 0, i.time = e.time || 1e3), K(i);
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 = ot(m);
1146
+ u = at(m);
1141
1147
  }
1142
1148
  if (e.sync) {
1143
- i.series = !1;
1144
- const { errors: d, resultInfo: m } = await q(i);
1145
- if (u && u.close(), d && d.length > 0) {
1149
+ r.series = !1;
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
- if (i.externalRequest)
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, o), L(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, o);
1178
+ x(m, s);
1173
1179
  }
1174
- L(e, m);
1180
+ W(e, m);
1175
1181
  }
1176
1182
  } else {
1177
- let d = f.request(i, function(m) {
1178
- if (u && u.close(), i.externalRequest)
1183
+ let p = f.request(r, function(m) {
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, o), L(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, o);
1204
+ x(m, s);
1199
1205
  }
1200
- L(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" ? xe(e.type, e.msg, e.extParam) : e.tipType == "notify" && we(e.type, e.msg, e.extParam);
1214
- }, it = (e) => {
1215
- if (e && R(e.params)) {
1216
- let o = e.params || [], i = null;
1217
- for (let u = 0; u < o.length; u++)
1218
- if (i = o[u], X(i)) {
1219
- let d = B(i);
1220
- b.setDataCache(i.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
- }, at = (e) => {
1224
- if (e && R(e.params)) {
1225
- let o = e.params || [], i = null;
1226
- for (let u = 0; u < o.length; u++)
1227
- if (i = o[u], _(i.ipn) && _(i.opn) && c.has(i.ipn)) {
1228
- let d = c.get(i.ipn), m = ee.equals(d, i.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
- c.set(i.opn, i.opv);
1236
+ c.set(r.opn, r.opv);
1231
1237
  else {
1232
- let S = te(d), J = te(i.ipv);
1233
- m = ee["=="](S, J), m && c.set(i.opn, i.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
- }, ct = (e) => {
1238
- if (e && R(e.params)) {
1239
- let o = e.params || [], i = null;
1240
- for (let u = 0; u < o.length; u++)
1241
- if (i = o[u], X(i)) {
1242
- let d = B(i);
1243
- b.setParam(i.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, o) {
1254
- c.set(e, o);
1259
+ setParam: function(e, s) {
1260
+ c.set(e, s);
1255
1261
  },
1256
1262
  getDataCache: function(e) {
1257
- return s.data[e];
1263
+ return i.data[e];
1258
1264
  },
1259
- setDataCache: function(e, o) {
1260
- s.data[e] = o;
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, o) {
1266
- sessionStorage.setItem(e, o);
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, o) {
1272
- localStorage.setItem(e, o);
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, o, i = {}) {
1278
- F(h) ? h(e, o, i) : 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, o, i = 30) {
1281
- ge.set(e, o, { expires: i });
1286
+ setJsCookie: function(e, s, r = 30) {
1287
+ we.set(e, s, { expires: r });
1282
1288
  },
1283
1289
  getJsCookie: function(e) {
1284
- return ge.get(e);
1290
+ return we.get(e);
1285
1291
  },
1286
1292
  removeJsCookie: function(e) {
1287
- ge.remove(e);
1293
+ we.remove(e);
1288
1294
  },
1289
- log: function(e = "log", o) {
1290
- e == "error" ? console.error(o) : e == "info" ? console.info(o) : e == "warn" ? console.warn(o) : console.log(o);
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 Ze(e);
1302
+ return rt(e);
1297
1303
  },
1298
1304
  getDate: function(e) {
1299
- return Qe(e);
1305
+ return nt(e);
1300
1306
  },
1301
- formatDate: function(e, o = "YYYY-MM-dd") {
1302
- return $e(e, o);
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, o, i = {}) {
1308
- F(T) ? T(e, o, i) : 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
- }, ut = (e) => {
1316
+ }, gt = (e) => {
1311
1317
  if (e && _(e.funcBody)) {
1312
- const o = {
1313
- helper: { ...a, ...b }
1318
+ const s = {
1319
+ helper: { ...a, ...V }
1314
1320
  };
1315
1321
  try {
1316
- let i = e.funcBody.toString().trim();
1317
- i.indexOf("function") < 0 && (i = "function(){" + i + "}"), new Function("context", `with(context) {return ${i}}`)(o)();
1318
- } catch (i) {
1319
- console.error("处理自定义函数时出错:", i);
1322
+ let r = e.funcBody.toString().trim();
1323
+ r.indexOf("function") < 0 && (r = "function(){" + r + "}"), new Function("context", `with(context) {return ${r}}`)(s)();
1324
+ } catch (r) {
1325
+ console.error("处理自定义函数时出错:", r);
1320
1326
  }
1321
1327
  }
1322
- }, ft = (e) => {
1328
+ }, ht = (e) => {
1323
1329
  if (e && _(e.type)) {
1324
1330
  if (e.opType == "clear") {
1325
- let o = e.type;
1326
- o == "session" ? sessionStorage.clear() : o == "local" && localStorage.clear();
1327
- } else if (R(e.params) && e.params.length > 0) {
1328
- let o = e.type, i = e.params || [], u = null;
1329
- for (let d = 0; d < i.length; d++)
1330
- if (u = i[d], u.delete)
1331
- _(u.tarKey) && (o == "session" ? sessionStorage.removeItem(u.tarKey) : o == "local" ? localStorage.removeItem(u.tarKey) : o == "jsCookie" && b.removeJsCookie(u.tarKey));
1332
- else if (X(u)) {
1333
- let m = B(u);
1334
- o == "session" ? sessionStorage.setItem(u.tarKey, m) : o == "local" ? localStorage.setItem(u.tarKey, m) : o == "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, B = (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 F(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 F(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 o = b.getParam(e.ds);
1357
- return We(o) ? null : ie(o) ? _(e.key) && _e(o, e.key) ? ye(o, e.key) : null : o;
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 o = e.key;
1360
- return o.toString().trim().indexOf("#json#") == 0 ? (o = o.toString().trim().replace("#json#", ""), Ge(o, {})) : 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
- }, pt = (e, o) => {
1368
+ }, yt = (e, s) => {
1363
1369
  if (e.ds == "cacheP")
1364
- return b.setDataCache(e.tarKey, o);
1370
+ return V.setDataCache(e.tarKey, s);
1365
1371
  if (e.ds == "inputP")
1366
- return b.setParam(e.tarKey, o);
1372
+ return V.setParam(e.tarKey, s);
1367
1373
  if (e.ds == "sessionP")
1368
- return b.setSessionParam(e.tarKey, o);
1374
+ return V.setSessionParam(e.tarKey, s);
1369
1375
  if (e.ds == "localP")
1370
- return b.setLocalParam(e.tarKey, o);
1371
- e.ds == "jsCookieP" ? b.setJsCookie(e.tarKey, o) : e.ds == "compProp" ? F(a.setPropValue) && a.setPropValue(e.tarKey, o) : e.ds == "compStyle" && F(a.setStyleValue) && a.setStyleValue(e.tarKey, o);
1372
- }, dt = (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 o = e.styleSets || [], i = e.propSets || [];
1375
- R(i) && i.length > 0 && F(a.setPropValue) && i.forEach((u, d) => {
1376
- if (X(u)) {
1377
- let m = B(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
- }), R(o) && o.length > 0 && F(a.setStyleValue) && o.forEach((u, d) => {
1381
- if (X(u)) {
1382
- let m = B(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
- }, mt = (e) => {
1388
- let o = !1;
1389
- if (e && R(e.params)) {
1390
- let i = e.params || [], u = null, d = !1;
1391
- for (let m = 0; m < i.length; m++) {
1392
- u = i[m];
1393
- let S = B(u), J = u.value;
1394
- const Y = u.opType;
1395
- if ([">", ">=", "<", "<=", "=="].includes(Y) && (S = te(S), J = te(J)), ee[Y] ? d = ee[Y](S, J) : d = !1, d) {
1396
- o = !0;
1393
+ }, vt = (e) => {
1394
+ let s = !1;
1395
+ if (e && B(e.params)) {
1396
+ let r = e.params || [], u = null, p = !1;
1397
+ for (let m = 0; m < r.length; m++) {
1398
+ u = r[m];
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 && o) {
1406
+ if (e.enabledTip && s) {
1401
1407
  let m = e.tip || {};
1402
- m.tipType == "msg" ? xe(m.type, m.msg, m.extParam) : m.tipType == "notify" && we(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 o;
1406
- }, Ie = (e, o) => {
1411
+ return s;
1412
+ }, Re = (e, s) => {
1407
1413
  if (e.customFunc && _(e.confirmFunc)) {
1408
- const i = {
1409
- helper: { ...a, ...b }
1414
+ const r = {
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}}`)(i)(o);
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
- }, gt = (e, o) => {
1424
+ }, St = (e, s) => {
1419
1425
  if (e.customFunc && _(e.errorFunc)) {
1420
- const i = {
1421
- helper: { ...a, ...b }
1426
+ const r = {
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}}`)(i)(o);
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
- }, ae = (e, o) => {
1436
+ }, pe = (e, s) => {
1431
1437
  if (e.customFunc) {
1432
- let i = "";
1433
- if (o == "cancel" && _(e.cancelFunc))
1434
- i = e.cancelFunc;
1435
- else if (o == "close" && _(e.closeFunc))
1436
- i = e.closeFunc;
1438
+ let r = "";
1439
+ if (s == "cancel" && _(e.cancelFunc))
1440
+ r = e.cancelFunc;
1441
+ else if (s == "close" && _(e.closeFunc))
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 = i.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
- }, ht = async (e) => {
1450
- let o = !1;
1455
+ }, wt = async (e) => {
1456
+ let s = !1;
1451
1457
  if (e && _(e.type)) {
1452
- let i = {
1458
+ let r = {
1453
1459
  ...e.params,
1454
1460
  type: e.msgType || "info",
1455
1461
  confirmButtonText: e.confirmText,
1456
1462
  cancelButtonText: e.cancelText
1457
1463
  };
1458
1464
  if (e.type == "confirm") {
1459
- const { errors: u, resultInfo: d } = await rt(e.title, e.message, i);
1460
- u && u.length > 0 ? u[0] == "cancel" ? ae(e, "cancel") : u[0] == "close" && ae(e, "close") : d == "confirm" && (o = !0, Ie(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
- if (_(i.inputPattern)) {
1463
- const m = i.inputPattern.replace(/\\\\/g, "\\");
1464
- i.inputPattern = new RegExp(m);
1468
+ if (_(r.inputPattern)) {
1469
+ const m = r.inputPattern.replace(/\\\\/g, "\\");
1470
+ r.inputPattern = new RegExp(m);
1465
1471
  }
1466
- const { errors: u, resultInfo: d } = await lt(e.title, e.message, i);
1467
- u && u.length > 0 ? u[0] == "cancel" ? ae(e, "cancel") : u[0] == "close" ? ae(e, "close") : gt(e, u[0]) : d.action == "confirm" && (o = !0, b.setParam("promptValue", d.value), Ie(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 || (o = !0);
1475
+ e.autoBlock || (s = !0);
1470
1476
  } else
1471
- o = !0;
1472
- return o;
1473
- }, yt = (e) => {
1477
+ s = !0;
1478
+ return s;
1479
+ }, bt = (e) => {
1474
1480
  if (e && _(e.pageId)) {
1475
- let o = { ...e };
1481
+ let s = { ...e };
1476
1482
  if (e.customPosition) {
1477
- let i = (b.getParam("elementRectLeft") || 0) + e.leftOffset, u = (b.getParam("elementRectTop") || 0) + e.topOffset;
1478
- o.absLeft = i, o.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(o);
1486
+ v(s);
1481
1487
  }
1482
- }, _t = (e) => {
1483
- if (e && R(e.params)) {
1484
- let o = e.params || [], i = null;
1485
- for (let u = 0; u < o.length; u++)
1486
- if (i = o[u], _(i.compId)) {
1487
- let d = i.options || {};
1488
- i.type == "s" ? b.hideAndShowComp(i.compId, !0, d) : b.hideAndShowComp(i.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
- }, vt = (e) => {
1497
+ }, Ct = (e) => {
1492
1498
  if (e) {
1493
- let o = e.interval ?? 1e3, i = setInterval(
1499
+ let s = e.interval ?? 1e3, r = setInterval(
1494
1500
  () => {
1495
- de("debug", "定时器触发..."), Rt();
1501
+ $("debug", "定时器触发..."), Nt();
1496
1502
  },
1497
- o
1503
+ s
1498
1504
  );
1499
- E.push(i);
1505
+ F.push(r);
1506
+ }
1507
+ }, Pt = (e, s = {}) => {
1508
+ if (e && _(e.eventId)) {
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);
1518
+ break;
1519
+ } else Fe(j) && me(j.actionList, s);
1520
+ break;
1521
+ }
1522
+ }
1523
+ } else
1524
+ $("error", "存在循环调用,不执行事件配置", e.eventId);
1500
1525
  }
1501
- }, ke = async (e = []) => {
1502
- let o = null;
1503
- for (let i = 0; i < e.length; i++)
1504
- if (o = e[i], o.action == "router")
1505
- Q(o.config);
1506
- else if (o.action == "dataRequest")
1507
- await st(o.config);
1508
- else if (o.action == "cacheSet")
1509
- it(o.config);
1510
- else if (o.action == "paramMap")
1511
- at(o.config);
1512
- else if (o.action == "paramSet")
1513
- ct(o.config);
1514
- else if (o.action == "customFunction")
1515
- ut(o.config);
1516
- else if (o.action == "webStorage")
1517
- ft(o.config);
1518
- else if (o.action == "componentSet")
1519
- dt(o.config);
1520
- else if (o.action == "actionEnd") {
1521
- if (mt(o.config)) {
1526
+ }, me = async (e = [], s = {}) => {
1527
+ let r = null;
1528
+ for (let u = 0; u < e.length; u++)
1529
+ if (r = e[u], r.action == "router")
1530
+ N(r.config);
1531
+ else if (r.action == "dataRequest")
1532
+ await ft(r.config);
1533
+ else if (r.action == "cacheSet")
1534
+ dt(r.config);
1535
+ else if (r.action == "paramMap")
1536
+ pt(r.config);
1537
+ else if (r.action == "paramSet")
1538
+ mt(r.config);
1539
+ else if (r.action == "customFunction")
1540
+ gt(r.config);
1541
+ else if (r.action == "webStorage")
1542
+ ht(r.config);
1543
+ else if (r.action == "componentSet")
1544
+ _t(r.config);
1545
+ else if (r.action == "actionEnd") {
1546
+ if (vt(r.config)) {
1522
1547
  console.log("actionEnd is true. break");
1523
1548
  break;
1524
1549
  }
1525
- } else if (o.action == "messageBox") {
1526
- if (!await ht(o.config)) {
1550
+ } else if (r.action == "messageBox") {
1551
+ if (!await wt(r.config)) {
1527
1552
  console.log("messageBox is false. break");
1528
1553
  break;
1529
1554
  }
1530
- } else if (o.action == "openDialog") {
1531
- yt(o.config);
1555
+ } else if (r.action == "openDialog") {
1556
+ bt(r.config);
1532
1557
  break;
1533
- } else o.action == "showAndHideSet" ? _t(o.config) : o.action == "timerSet" && vt(o.config);
1534
- }, Te = (e) => e == "inputV" || e == "_selectMenuValue" || e == "_selectItemValue" || e == "_changeItemValue", St = (e) => {
1535
- let o = !1, i, u, d = !1;
1536
- _(e.lType) && (Te(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));
1537
1562
  let m = !1;
1538
- if (_(e.rType) && (Te(e.rType) ? m = !0 : m = _(e.rValue)), d && m) {
1539
- i = B({
1563
+ if (_(e.rType) && (Ae(e.rType) ? m = !0 : m = _(e.rValue)), p && m) {
1564
+ r = z({
1540
1565
  ds: e.lType,
1541
1566
  key: e.lValue
1542
- }), u = B({
1567
+ }), u = z({
1543
1568
  ds: e.rType,
1544
1569
  key: e.rValue
1545
1570
  });
1546
1571
  const S = e.opType;
1547
- [">", ">=", "<", "<=", "=="].includes(S) && (i = te(i), u = te(u)), ee[S] ? o = ee[S](i, u) : (o = !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));
1548
1573
  } else
1549
1574
  console.warn("_judgeCondition warn: the condition config is error.");
1550
- return o;
1551
- }, xt = (e) => {
1552
- let o = !1;
1575
+ return s;
1576
+ }, Fe = (e) => {
1577
+ let s = !1;
1553
1578
  if (e.default)
1554
- o = !0;
1579
+ s = !0;
1555
1580
  else {
1556
- let i = e.condition || [];
1557
- if (i.length > 0) {
1581
+ let r = e.condition || [];
1582
+ if (r.length > 0) {
1558
1583
  let u = !0;
1559
- for (let d = 0; d < i.length; d++)
1560
- if (!St(i[d])) {
1584
+ for (let p = 0; p < r.length; p++)
1585
+ if (!Vt(r[p])) {
1561
1586
  u = !1;
1562
1587
  break;
1563
1588
  }
1564
- u && (o = !0);
1589
+ u && (s = !0);
1565
1590
  } else
1566
- o = !0;
1591
+ s = !0;
1567
1592
  }
1568
- return o;
1569
- }, A = (e = []) => {
1570
- for (const o of e)
1571
- if (o.default) {
1572
- ke(o.actionList);
1593
+ return s;
1594
+ }, L = (e = []) => {
1595
+ for (const s of e) {
1596
+ let r = {};
1597
+ if (r.eventIds = [s.id], s.default) {
1598
+ me(s.actionList, r);
1573
1599
  break;
1574
- } else xt(o) && ke(o.actionList);
1575
- }, wt = (e) => {
1576
- p || (M && clearTimeout(M), M = setTimeout(() => {
1577
- if (n && n.hasOwnProperty("onMouseClick")) {
1600
+ } else Fe(s) && me(s.actionList, r);
1601
+ }
1602
+ }, Ot = (e) => {
1603
+ d || (b && clearTimeout(b), b = setTimeout(() => {
1604
+ if (t && t.hasOwnProperty("onMouseClick")) {
1578
1605
  if (e && e.target) {
1579
- const i = e.target.getBoundingClientRect();
1580
- H("elementRect", i), H("elementRectLeft", i.left), H("elementRectTop", i.top);
1606
+ const r = e.target.getBoundingClientRect();
1607
+ U("elementRect", r), U("elementRectLeft", r.left), U("elementRectTop", r.top);
1581
1608
  }
1582
- let o = n.onMouseClick;
1583
- A(o);
1609
+ let s = t.onMouseClick;
1610
+ L(s);
1584
1611
  }
1585
- }, k));
1586
- }, bt = (e) => {
1587
- if (!p && (M && clearTimeout(M), n && n.hasOwnProperty("onMouseDblClick"))) {
1612
+ }, w));
1613
+ }, Mt = (e) => {
1614
+ if (!d && (b && clearTimeout(b), t && t.hasOwnProperty("onMouseDblClick"))) {
1588
1615
  if (e && e.target) {
1589
- const i = e.target.getBoundingClientRect();
1590
- H("elementRect", i), H("elementRectLeft", i.left), H("elementRectTop", i.top);
1616
+ const r = e.target.getBoundingClientRect();
1617
+ U("elementRect", r), U("elementRectLeft", r.left), U("elementRectTop", r.top);
1591
1618
  }
1592
- let o = n.onMouseDblClick;
1593
- A(o);
1619
+ let s = t.onMouseDblClick;
1620
+ L(s);
1594
1621
  }
1595
- }, Ct = (e, o) => {
1596
- if (!p && (H("_selectMenuValue", o), n && n.hasOwnProperty("onContextMenu"))) {
1597
- let i = n.onContextMenu;
1598
- A(i);
1622
+ }, kt = (e, s) => {
1623
+ if (!d && (U("_selectMenuValue", s), t && t.hasOwnProperty("onContextMenu"))) {
1624
+ let r = t.onContextMenu;
1625
+ L(r);
1599
1626
  }
1600
- }, Pt = (e) => {
1601
- if (!p && (H("_selectItemValue", e), n && n.hasOwnProperty("selectItem"))) {
1602
- let o = n.selectItem;
1603
- A(o);
1627
+ }, It = (e) => {
1628
+ if (!d && (U("_selectItemValue", e), t && t.hasOwnProperty("selectItem"))) {
1629
+ let s = t.selectItem;
1630
+ L(s);
1604
1631
  }
1605
- }, Ot = (e) => {
1606
- if (!p && (H("_changeItemValue", e), n && n.hasOwnProperty("changeValue"))) {
1607
- let o = n.changeValue;
1608
- A(o);
1632
+ }, Et = (e) => {
1633
+ if (!d && (U("_changeItemValue", e), t && t.hasOwnProperty("changeValue"))) {
1634
+ let s = t.changeValue;
1635
+ L(s);
1609
1636
  }
1610
- }, Vt = () => {
1611
- if (!p && n && n.hasOwnProperty("keyEnter")) {
1612
- let e = n.keyEnter;
1613
- A(e);
1637
+ }, Tt = () => {
1638
+ if (!d && t && t.hasOwnProperty("keyEnter")) {
1639
+ let e = t.keyEnter;
1640
+ L(e);
1614
1641
  }
1615
- }, Mt = () => {
1616
- if (!p && n && n.hasOwnProperty("onBeforeMount")) {
1617
- let e = n.onBeforeMount;
1618
- A(e);
1642
+ }, Dt = () => {
1643
+ if (!d && t && t.hasOwnProperty("onBeforeMount")) {
1644
+ let e = t.onBeforeMount;
1645
+ L(e);
1619
1646
  }
1620
- }, It = () => {
1621
- if (!p && n && n.hasOwnProperty("onMounted")) {
1622
- let e = n.onMounted;
1623
- A(e);
1647
+ }, Rt = () => {
1648
+ if (!d && t && t.hasOwnProperty("onMounted")) {
1649
+ let e = t.onMounted;
1650
+ L(e);
1624
1651
  }
1625
- }, kt = () => {
1626
- if (E && E.length > 0)
1627
- for (let e = 0; e < E.length; e++)
1652
+ }, At = () => {
1653
+ if (F && F.length > 0)
1654
+ for (let e = 0; e < F.length; e++)
1628
1655
  try {
1629
- clearInterval(E[e]);
1630
- } catch (o) {
1631
- console.error("cancel request error", o);
1656
+ clearInterval(F[e]);
1657
+ } catch (s) {
1658
+ console.error("cancel request error", s);
1632
1659
  }
1633
- }, Tt = () => {
1634
- if (kt(), !p) {
1660
+ }, Ft = () => {
1661
+ if (At(), !d) {
1635
1662
  if (y && y.length > 0)
1636
1663
  for (let e = 0; e < y.length; e++)
1637
1664
  try {
1638
1665
  y[e] && y[e]();
1639
- } catch (o) {
1640
- console.error("cancel request error", o);
1666
+ } catch (s) {
1667
+ console.error("cancel request error", s);
1641
1668
  }
1642
- if (n && n.hasOwnProperty("onBeforeUnmount")) {
1643
- let e = n.onBeforeUnmount;
1644
- A(e);
1669
+ if (t && t.hasOwnProperty("onBeforeUnmount")) {
1670
+ let e = t.onBeforeUnmount;
1671
+ L(e);
1645
1672
  }
1646
1673
  }
1647
- }, Et = () => {
1648
- if (!p && n && n.hasOwnProperty("onUnmounted")) {
1649
- let e = n.onUnmounted;
1650
- A(e);
1674
+ }, jt = () => {
1675
+ if (!d && t && t.hasOwnProperty("onUnmounted")) {
1676
+ let e = t.onUnmounted;
1677
+ L(e);
1651
1678
  }
1652
- }, Rt = () => {
1653
- if (!p && n && n.hasOwnProperty("timerTrigger")) {
1654
- let e = n.timerTrigger;
1655
- A(e);
1679
+ }, Nt = () => {
1680
+ if (!d && t && t.hasOwnProperty("timerTrigger")) {
1681
+ let e = t.timerTrigger;
1682
+ L(e);
1656
1683
  }
1657
- }, H = (e, o) => {
1658
- b.setParam(e, o);
1684
+ }, U = (e, s) => {
1685
+ V.setParam(e, s);
1659
1686
  };
1660
1687
  return {
1661
- handleClick: wt,
1662
- handleDblClick: bt,
1663
- handleContextMenu: Ct,
1664
- selectItem: Pt,
1665
- changeValue: Ot,
1666
- beforeMount: Mt,
1667
- mounted: It,
1668
- beforeUnmount: Tt,
1669
- unmounted: Et,
1670
- setParam: H,
1671
- keyEnter: Vt
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
1672
1699
  };
1673
1700
  }
1674
- function qe(t, r, l, n) {
1701
+ function We(n, o, l, t) {
1675
1702
  return {
1676
1703
  setPropValue: function(a, c) {
1677
- t.value[a] = c;
1704
+ n.value[a] = c;
1678
1705
  },
1679
1706
  getPropValue: function(a) {
1680
- return t.value[a];
1707
+ return n.value[a];
1681
1708
  },
1682
1709
  setStyleValue: function(a, c) {
1683
- r.value.style[a] = c;
1710
+ o.value.style[a] = c;
1684
1711
  },
1685
1712
  getStyleValue: function(a) {
1686
- return r.value.style[a];
1713
+ return o.value.style[a];
1687
1714
  },
1688
1715
  routerPush: function(a, c) {
1689
1716
  l && l.push({
@@ -1704,7 +1731,7 @@ function qe(t, r, l, n) {
1704
1731
  }
1705
1732
  };
1706
1733
  }
1707
- const En = /* @__PURE__ */ Object.assign({
1734
+ const An = /* @__PURE__ */ Object.assign({
1708
1735
  name: "Group"
1709
1736
  }, {
1710
1737
  __name: "Component",
@@ -1725,97 +1752,321 @@ const En = /* @__PURE__ */ Object.assign({
1725
1752
  default: !1
1726
1753
  }
1727
1754
  },
1728
- setup(t, { expose: r }) {
1729
- const l = t, n = Se(), p = Ne(n), a = I(null), c = w(() => l.propValue || {}), f = w(() => l.element || {}), s = w(() => c.value.components || []), g = w(() => s.value.map((P) => {
1730
- let x = { ...P }, q = T(P.groupStyle);
1731
- return x.computedStyle = q, x.style && (x.style.width = x.computedStyle.width, x.style.height = x.computedStyle.height), x;
1732
- })), h = w(() => f.value.events || []), y = Fe(), v = je(), V = qe(c, f, y);
1733
- Re(() => {
1734
- a.value = Le(h.value, l.designStatus, V), a.value?.beforeMount();
1735
- }), pe(() => {
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(() => {
1736
1763
  a.value?.mounted();
1737
- }), De(() => {
1764
+ }), Be(() => {
1738
1765
  a.value?.beforeUnmount();
1739
- }), Ae(() => {
1766
+ }), He(() => {
1740
1767
  a.value?.unmounted();
1741
1768
  });
1742
- const M = (P) => {
1743
- a.value?.setParam(P);
1744
- }, k = (P) => {
1745
- a.value?.handleDblClick(P);
1746
- }, T = (P) => {
1747
- if (!P || !f.value?.style) return {};
1748
- let x = { ...P }, q = f.value.style.width, K = f.value.style.height;
1749
- return x.width = Math.floor(parseFloat(x.width) / 100 * q), x.height = Math.floor(parseFloat(x.height) / 100 * K), x.top = Math.floor(parseFloat(x.top) / 100 * K), x.left = Math.floor(parseFloat(x.left) / 100 * q), x;
1750
- }, E = se({}), oe = (P, x) => {
1751
- P ? E[`Ve${x}`] = P : delete E[`Ve${x}`];
1752
- }, Q = (P) => E[`Ve${P}`], C = (P, x, q) => {
1753
- if (_(P) && _(x)) {
1754
- const K = Q(P);
1755
- K && K[x] && (q ? K[x](q) : K[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]());
1756
1783
  }
1757
1784
  };
1758
- r({
1785
+ o({
1759
1786
  callGroupCompMethod: C
1760
1787
  });
1761
- const L = { props: l, dataCache: n, smartData: p, eventHandler: a, propValue: c, element: f, components: s, computedComponents: g, events: h, router: y, route: v, compContext: V, handleClick: M, handleDblClick: k, calcCompStyle: T, componentRefs: E, setComponentRef: oe, getComponentRef: Q, callGroupCompMethod: C, get useDataCacheStore() {
1762
- return Se;
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;
1763
1790
  }, get createSmartAccessor() {
1764
- return Ne;
1765
- }, ref: I, computed: w, onMounted: pe, onBeforeMount: Re, onBeforeUnmount: De, onUnmounted: Ae, watch: Ce, reactive: se, get useEventHandler() {
1766
- return Le;
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;
1767
1794
  }, get useRoute() {
1768
- return je;
1795
+ return qe;
1769
1796
  }, get useRouter() {
1770
- return Fe;
1797
+ return Le;
1771
1798
  }, get CreateCompContext() {
1772
- return qe;
1799
+ return We;
1773
1800
  }, get getStyle() {
1774
- return tt;
1801
+ return st;
1775
1802
  }, get isNotEmpty() {
1776
1803
  return _;
1777
1804
  } };
1778
- return Object.defineProperty(L, "__isScriptSetup", { enumerable: !1, value: !0 }), L;
1805
+ return Object.defineProperty(W, "__isScriptSetup", { enumerable: !1, value: !0 }), W;
1779
1806
  }
1780
1807
  });
1781
- function Rn(t, r, l, n, p, a) {
1782
- return O(), j("div", { class: "group" }, [
1783
- ne("div", null, [
1784
- (O(!0), j(Pe, null, Oe(n.computedComponents, (c) => (O(), N(ue(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), {
1785
1812
  id: "component" + c.id,
1786
1813
  ref_for: !0,
1787
- ref: (f) => n.setComponentRef(f, c.id),
1814
+ ref: (f) => t.setComponentRef(f, c.id),
1788
1815
  key: c.id,
1789
1816
  class: "component",
1790
- style: fe(n.getStyle(c.computedStyle)),
1817
+ style: _e(t.getStyle(c.computedStyle)),
1791
1818
  "prop-value": c.propValue,
1792
1819
  element: c
1793
1820
  }, null, 8, ["id", "style", "prop-value", "element"]))), 128))
1794
1821
  ])
1795
1822
  ]);
1796
1823
  }
1797
- const Dn = /* @__PURE__ */ z(En, [["render", Rn], ["__scopeId", "data-v-20de9881"], ["__file", "Component.vue"]]), An = [
1798
- dn,
1799
- _n,
1800
- Cn,
1801
- Vn,
1802
- nt,
1803
- kn,
1804
- Dn
1805
- ], be = (t, r) => {
1806
- be.installed || (be.installed = !0, t.provide("hflvloader-api", r), An.forEach((l) => {
1807
- t.component(l.name, l);
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);
1808
2059
  }));
1809
- }, Wn = {
1810
- install: be
2060
+ }, Zn = {
2061
+ install: ke
1811
2062
  };
1812
2063
  export {
1813
- Kn as CommonUtils,
1814
- qe as CreateCompContext,
1815
- Un as MessageUtils,
1816
- Ne as createSmartAccessor,
1817
- Wn as default,
1818
- Jn as reCalcCanvasSize,
1819
- Se as useDataCacheStore,
1820
- Le 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
1821
2072
  };