hflvloader 0.0.5 → 0.0.7

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