hflvloader 0.0.8 → 0.0.9

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 +420 -414
  2. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode('@charset "UTF-8";.component[data-v-56b0e3e4]{position:absolute}.canvas-container[data-v-71a9a9bf]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;margin:auto;overflow:hidden}.canvas-container .canvas[data-v-71a9a9bf]{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(a)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- import { withDirectives as Oe, createElementBlock as z, openBlock as A, createBlock as J, resolveDynamicComponent as we, normalizeStyle as be, vShow as et, computed as O, reactive as de, onMounted as xe, watch as Ae, ref as D, createElementVNode as oe, Fragment as je, renderList as Fe, provide as te, defineComponent as Lt, normalizeClass as tt, resolveComponent as B, withCtx as j, createVNode as R, mergeProps as qt, createSlots as Kt, createCommentVNode as qe, toDisplayString as zt, createTextVNode as F, renderSlot as Ut, inject as ue, onBeforeMount as Ke, onBeforeUnmount as ze, onUnmounted as Ue, resolveDirective as Wt, withKeys as Jt } from "vue";
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-c471d52f]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;margin:auto;overflow:hidden}.canvas-container .canvas[data-v-c471d52f]{position:relative;margin:auto}.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 Oe, createElementBlock as z, openBlock as A, createBlock as J, resolveDynamicComponent as be, normalizeStyle as we, vShow as et, computed as O, reactive as de, onMounted as xe, watch as Ae, ref as D, createElementVNode as oe, Fragment as je, renderList as Fe, provide as te, defineComponent as Lt, normalizeClass as tt, resolveComponent as B, withCtx as j, createVNode as R, mergeProps as qt, createSlots as Kt, createCommentVNode as qe, toDisplayString as zt, createTextVNode as F, renderSlot as Ut, inject as ue, onBeforeMount as Ke, onBeforeUnmount as ze, onUnmounted as Ue, resolveDirective as Wt, withKeys as Jt } from "vue";
3
3
  import Gt from "json5";
4
4
  import Qt from "js-md5";
5
5
  import { defineStore as Yt } from "pinia";
@@ -8,7 +8,7 @@ import { ElMessage as Xt, ElNotification as Zt, ElLoading as $t, ElMessageBox as
8
8
  import { useRouter as We, useRoute as Je } from "vue-router";
9
9
  (function() {
10
10
  const t = () => {
11
- console.log("%c 可视化加载器 hflvloader", "color: #3498db; font-size: 16px; font-weight: bold;"), console.log("%c版本号: 0.0.8", "color: #2ecc71;"), console.log("%c编译日期: 2026/1/25 22:09:36", "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;");
11
+ console.log("%c 可视化加载器 hflvloader", "color: #3498db; font-size: 16px; font-weight: bold;"), console.log("%c版本号: 0.0.9", "color: #2ecc71;"), console.log("%c编译日期: 2026/1/29 13:15:34", "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 = t;
@@ -25,7 +25,7 @@ import { useRouter as We, useRoute as Je } from "vue-router";
25
25
  }
26
26
  t();
27
27
  })();
28
- function v(t) {
28
+ function _(t) {
29
29
  return !!(t && t != "");
30
30
  }
31
31
  function pe(t) {
@@ -59,7 +59,7 @@ function Be(t) {
59
59
  return typeof t == "string" || t instanceof String;
60
60
  }
61
61
  function lt(t, o = {}) {
62
- if (Be(t) && v(t))
62
+ if (Be(t) && _(t))
63
63
  try {
64
64
  return Gt.parse(t);
65
65
  } catch (l) {
@@ -87,8 +87,8 @@ function st(t, o) {
87
87
  }
88
88
  function at(t, o) {
89
89
  if (t) {
90
- let l = t.getFullYear(), n = t.getMonth() + 1, f = t.getDate(), i = t.getHours(), c = t.getMinutes(), d = t.getSeconds(), a = o;
91
- return a = a.replace("yyyy", l), a.indexOf("MM") >= 0 ? n >= 10 ? a = a.replace("MM", n) : a = a.replace("MM", "0" + n) : a = a.replace("M", n), a.indexOf("dd") >= 0 ? f >= 10 ? a = a.replace("dd", f) : a = a.replace("dd", "0" + f) : a = a.replace("d", f), a.indexOf("HH") >= 0 ? i >= 10 ? a = a.replace("HH", i) : a = a.replace("HH", "0" + i) : a = a.replace("H", i), a.indexOf("mm") >= 0 ? c >= 10 ? a = a.replace("mm", c) : a = a.replace("mm", "0" + c) : a = a.replace("m", c), a.indexOf("ss") >= 0 ? d >= 10 ? a = a.replace("ss", d) : a = a.replace("ss", "0" + d) : a = a.replace("s", d), a;
90
+ let l = t.getFullYear(), n = t.getMonth() + 1, f = t.getDate(), i = t.getHours(), c = t.getMinutes(), d = t.getSeconds(), s = o;
91
+ return s = s.replace("yyyy", l), s.indexOf("MM") >= 0 ? n >= 10 ? s = s.replace("MM", n) : s = s.replace("MM", "0" + n) : s = s.replace("M", n), s.indexOf("dd") >= 0 ? f >= 10 ? s = s.replace("dd", f) : s = s.replace("dd", "0" + f) : s = s.replace("d", f), s.indexOf("HH") >= 0 ? i >= 10 ? s = s.replace("HH", i) : s = s.replace("HH", "0" + i) : s = s.replace("H", i), s.indexOf("mm") >= 0 ? c >= 10 ? s = s.replace("mm", c) : s = s.replace("mm", "0" + c) : s = s.replace("m", c), s.indexOf("ss") >= 0 ? d >= 10 ? s = s.replace("ss", d) : s = s.replace("ss", "0" + d) : s = s.replace("s", d), s;
92
92
  }
93
93
  return "";
94
94
  }
@@ -173,9 +173,9 @@ function sn(t, o = {}, l) {
173
173
  }
174
174
  }
175
175
  function ut(t) {
176
- return v(t) ? Qt(t) : "";
176
+ return _(t) ? Qt(t) : "";
177
177
  }
178
- function $(t, ...o) {
178
+ function Z(t, ...o) {
179
179
  if (!window.hflvloader_debug) return;
180
180
  const l = {
181
181
  debug: ["%c[DEBUG]", "color: #4CAF50; font-weight: bold"],
@@ -211,7 +211,7 @@ function cn(t) {
211
211
  }
212
212
  const $n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
213
213
  __proto__: null,
214
- consolePrint: $,
214
+ consolePrint: Z,
215
215
  copyToClipboard: ke,
216
216
  deepCopy: fe,
217
217
  deepMerge: st,
@@ -231,7 +231,7 @@ const $n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
231
231
  isEmptyObject: tn,
232
232
  isEven: cn,
233
233
  isFunction: K,
234
- isNotEmpty: v,
234
+ isNotEmpty: _,
235
235
  isNullOrUndefined: Se,
236
236
  isNumber: pe,
237
237
  isObject: ne,
@@ -244,7 +244,7 @@ const $n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
244
244
  function Ge(t) {
245
245
  const o = {};
246
246
  return Object.keys(t).filter((l) => !un.includes(l)).forEach((l) => {
247
- l === "fontSize" ? o[l] += "px" : l === "backgroundImage" && v(t[l]) ? o["background-image"] = "url(" + t[l] + ")" : l === "backgroundRepeat" ? o["background-repeat"] = t[l] : l === "backgroundSize" ? o["background-size"] = t[l] : l === "backgroundPosition" ? o["background-position"] = t[l] : o[l] = t[l];
247
+ l === "fontSize" ? o[l] += "px" : l === "backgroundImage" && _(t[l]) ? o["background-image"] = "url(" + t[l] + ")" : l === "backgroundRepeat" ? o["background-repeat"] = t[l] : l === "backgroundSize" ? o["background-size"] = t[l] : l === "backgroundPosition" ? o["background-position"] = t[l] : o[l] = t[l];
248
248
  }), o;
249
249
  }
250
250
  const ft = ["fontSize", "width", "height", "top", "left", "borderWidth", "letterSpacing", "borderRadius"];
@@ -281,14 +281,14 @@ function pn(t) {
281
281
  }
282
282
  function mn(t, o, l, n, f, i, c) {
283
283
  let d = pn(t.rotate);
284
- const a = dn(d), h = Math.round((t.left + t.width / 2) * 10) / 10, y = Math.round((t.top + t.height / 2) * 10) / 10;
285
- let g = d, w = a;
284
+ const s = dn(d), h = Math.round((t.left + t.width / 2) * 10) / 10, v = Math.round((t.top + t.height / 2) * 10) / 10;
285
+ let y = d, g = s;
286
286
  if (Math.abs(o - l) > 1e-3) {
287
- const U = Math.cos(w), Me = Math.sin(w);
288
- w = Math.atan2(l * Me, o * U), g = Math.floor(w * 180 / Math.PI % 360), g < 0 && (g += 360);
287
+ const U = Math.cos(g), Me = Math.sin(g);
288
+ g = Math.atan2(l * Me, o * U), y = Math.floor(g * 180 / Math.PI % 360), y < 0 && (y += 360);
289
289
  }
290
- const _ = Math.abs(Math.cos(w)), b = Math.abs(Math.sin(w));
291
- let C = Math.round((t.width * _ + t.height * b) * 10) / 10, M = Math.round((t.width * b + t.height * _) * 10) / 10, S = h - 0.5 * M, T = y - 0.5 * C, E = M, x = C, G = Math.round(t.height * b * 10) / 10, I = Math.round(G / E * 1e3) / 1e3;
290
+ const b = Math.abs(Math.cos(g)), w = Math.abs(Math.sin(g));
291
+ let x = Math.round((t.width * b + t.height * w) * 10) / 10, M = Math.round((t.width * w + t.height * b) * 10) / 10, C = h - 0.5 * M, T = v - 0.5 * x, E = M, S = x, G = Math.round(t.height * w * 10) / 10, I = Math.round(G / E * 1e3) / 1e3;
292
292
  if (o != 1) {
293
293
  if (t.wdSet == "calc")
294
294
  E = Math.floor(E * o);
@@ -297,59 +297,59 @@ function mn(t, o, l, n, f, i, c) {
297
297
  E = Math.floor(n - U);
298
298
  }
299
299
  if (t.hAffix != "left") if (t.hAffix == "right") {
300
- let U = i - (S + E);
301
- S = n - U - E;
302
- } else t.hAffix == "center" ? S = Math.floor(n * 0.5 - E * 0.5) : S = Math.floor(S * o);
300
+ let U = i - (C + E);
301
+ C = n - U - E;
302
+ } else t.hAffix == "center" ? C = Math.floor(n * 0.5 - E * 0.5) : C = Math.floor(C * o);
303
303
  }
304
304
  if (l != 1) {
305
305
  if (t.htSet == "calc")
306
- x = Math.floor(x * l);
306
+ S = Math.floor(S * l);
307
307
  else if (t.htSet == "overspread") {
308
308
  let U = t.htReserve < 0 ? 0 : t.htReserve;
309
- x = Math.floor(f - U);
309
+ S = Math.floor(f - U);
310
310
  }
311
311
  if (t.vAffix != "top") if (t.vAffix == "bottom") {
312
- let U = c - (T + x);
313
- T = f - U - x;
314
- } else t.vAffix == "center" ? T = Math.floor(f * 0.5 - x * 0.5) : T = Math.floor(T * l);
312
+ let U = c - (T + S);
313
+ T = f - U - S;
314
+ } else t.vAffix == "center" ? T = Math.floor(f * 0.5 - S * 0.5) : T = Math.floor(T * l);
315
315
  }
316
- const V = S + E * 0.5, H = T + x * 0.5, q = Math.round(E * I * 10) / 10, ie = Math.floor(Math.sqrt(q ** 2 + q ** 2)), ge = Math.floor((E - ie * _) / b), Q = V - ge / 2, Ce = H - ie / 2;
317
- t.left = Math.floor(Q), t.top = Math.floor(Ce), t.width = Math.floor(ge), t.height = Math.floor(ie), t.rotate = g;
316
+ const V = C + E * 0.5, H = T + S * 0.5, q = Math.round(E * I * 10) / 10, ie = Math.floor(Math.sqrt(q ** 2 + q ** 2)), ge = Math.floor((E - ie * b) / w), Q = V - ge / 2, Ce = H - ie / 2;
317
+ t.left = Math.floor(Q), t.top = Math.floor(Ce), t.width = Math.floor(ge), t.height = Math.floor(ie), t.rotate = y;
318
318
  }
319
319
  function le(t, o, l, n, f, i, c) {
320
320
  let d = JSON.parse(JSON.stringify(t));
321
- return d && d.length > 0 && d.forEach((a) => {
322
- if (a && a.style)
323
- if (Math.abs(a.style.rotate) >= 1)
324
- mn(a.style, n, f, o, l, i, c);
321
+ return d && d.length > 0 && d.forEach((s) => {
322
+ if (s && s.style)
323
+ if (Math.abs(s.style.rotate) >= 1)
324
+ mn(s.style, n, f, o, l, i, c);
325
325
  else {
326
326
  if (n != 1) {
327
- let h = a.style.width;
328
- if (a.style.wdSet == "calc")
329
- h = Math.floor(a.style.width * n);
330
- else if (a.style.wdSet == "overspread") {
331
- let y = a.style.wdReserve < 0 ? 0 : a.style.wdReserve;
332
- h = Math.floor(o - y);
327
+ let h = s.style.width;
328
+ if (s.style.wdSet == "calc")
329
+ h = Math.floor(s.style.width * n);
330
+ else if (s.style.wdSet == "overspread") {
331
+ let v = s.style.wdReserve < 0 ? 0 : s.style.wdReserve;
332
+ h = Math.floor(o - v);
333
333
  }
334
- if (a.style.hAffix != "left") if (a.style.hAffix == "right") {
335
- let y = i - (a.style.left + a.style.width);
336
- a.style.left = o - y - h;
337
- } else a.style.hAffix == "center" ? a.style.left = Math.floor(o * 0.5 - h * 0.5) : a.style.left = Math.floor(a.style.left * n);
338
- a.style.width = h;
334
+ if (s.style.hAffix != "left") if (s.style.hAffix == "right") {
335
+ let v = i - (s.style.left + s.style.width);
336
+ s.style.left = o - v - h;
337
+ } else s.style.hAffix == "center" ? s.style.left = Math.floor(o * 0.5 - h * 0.5) : s.style.left = Math.floor(s.style.left * n);
338
+ s.style.width = h;
339
339
  }
340
340
  if (f != 1) {
341
- let h = a.style.height;
342
- if (a.style.htSet == "calc")
343
- h = Math.floor(a.style.height * f);
344
- else if (a.style.htSet == "overspread") {
345
- let y = a.style.htReserve < 0 ? 0 : a.style.htReserve;
346
- h = Math.floor(l - y);
341
+ let h = s.style.height;
342
+ if (s.style.htSet == "calc")
343
+ h = Math.floor(s.style.height * f);
344
+ else if (s.style.htSet == "overspread") {
345
+ let v = s.style.htReserve < 0 ? 0 : s.style.htReserve;
346
+ h = Math.floor(l - v);
347
347
  }
348
- if (a.style.vAffix != "top") if (a.style.vAffix == "bottom") {
349
- let y = c - (a.style.top + a.style.height);
350
- a.style.top = l - y - h;
351
- } else a.style.vAffix == "center" ? a.style.top = Math.floor(l * 0.5 - h * 0.5) : a.style.top = Math.floor(a.style.top * f);
352
- a.style.height = h;
348
+ if (s.style.vAffix != "top") if (s.style.vAffix == "bottom") {
349
+ let v = c - (s.style.top + s.style.height);
350
+ s.style.top = l - v - h;
351
+ } else s.style.vAffix == "center" ? s.style.top = Math.floor(l * 0.5 - h * 0.5) : s.style.top = Math.floor(s.style.top * f);
352
+ s.style.height = h;
353
353
  }
354
354
  }
355
355
  }), d;
@@ -359,22 +359,22 @@ function eo(t, o, l, n) {
359
359
  if (!(l && l.screenAdapter && l.screenAdapter != "no-adapter"))
360
360
  f = l, i = n;
361
361
  else {
362
- let c = Math.floor(t), d = Math.floor(o), a = Number(l.width), h = Number(l.height), y = 1, g = 1;
362
+ let c = Math.floor(t), d = Math.floor(o), s = Number(l.width), h = Number(l.height), v = 1, y = 1;
363
363
  if (l.screenAdapter == "all-screen")
364
- f = JSON.parse(JSON.stringify(l)), c > a + 10 && (f.width = c, y = Math.floor(1e4 * c / a) / 1e4), d > h + 10 && (f.height = d, g = Math.floor(1e4 * d / h) / 1e4), i = le(n, c, d, y, g, a, h);
364
+ f = JSON.parse(JSON.stringify(l)), c > s + 10 && (f.width = c, v = Math.floor(1e4 * c / s) / 1e4), d > h + 10 && (f.height = d, y = Math.floor(1e4 * d / h) / 1e4), i = le(n, c, d, v, y, s, h);
365
365
  else if (l.screenAdapter == "original-ratio") {
366
366
  f = JSON.parse(JSON.stringify(l));
367
- let w = Math.floor(1e4 * a / h) / 1e4;
368
- Math.floor(d * w) > c ? (f.width = c, y = Math.floor(1e4 * c / a) / 1e4, d = Math.floor(c / w), f.height = d, g = Math.floor(1e4 * d / h) / 1e4) : (f.height = d, g = Math.floor(1e4 * d / h) / 1e4, c = Math.floor(d * w), f.width = c, y = Math.floor(1e4 * c / a) / 1e4), i = le(n, c, d, y, g, a, h);
367
+ let g = Math.floor(1e4 * s / h) / 1e4;
368
+ Math.floor(d * g) > c ? (f.width = c, v = Math.floor(1e4 * c / s) / 1e4, d = Math.floor(c / g), f.height = d, y = Math.floor(1e4 * d / h) / 1e4) : (f.height = d, y = Math.floor(1e4 * d / h) / 1e4, c = Math.floor(d * g), f.width = c, v = Math.floor(1e4 * c / s) / 1e4), i = le(n, c, d, v, y, s, h);
369
369
  } else if (l.screenAdapter == "h-adapter-wh") {
370
370
  f = JSON.parse(JSON.stringify(l));
371
- let w = Math.floor(1e4 * a / h) / 1e4;
372
- c > a + 10 && (f.width = c, y = Math.floor(1e4 * c / a) / 1e4, d = Math.floor(c / w), f.height = d, g = Math.floor(1e4 * d / h) / 1e4), i = le(n, c, d, y, g, a, h);
371
+ let g = Math.floor(1e4 * s / h) / 1e4;
372
+ c > s + 10 && (f.width = c, v = Math.floor(1e4 * c / s) / 1e4, d = Math.floor(c / g), f.height = d, y = Math.floor(1e4 * d / h) / 1e4), i = le(n, c, d, v, y, s, h);
373
373
  } else if (l.screenAdapter == "v-adapter-wh") {
374
374
  f = JSON.parse(JSON.stringify(l));
375
- let w = Math.floor(1e4 * a / h) / 1e4;
376
- d > h + 10 && (f.height = d, g = Math.floor(1e4 * d / h) / 1e4, c = Math.floor(d * w), f.width = c, y = Math.floor(1e4 * c / a) / 1e4), i = le(n, c, d, y, g, a, h);
377
- } else l.screenAdapter == "h-adapter" ? (f = JSON.parse(JSON.stringify(l)), c > a + 10 && (f.width = c, y = Math.floor(1e4 * c / a) / 1e4), i = le(n, c, d, y, g, a, h)) : l.screenAdapter == "v-adapter" ? (f = JSON.parse(JSON.stringify(l)), d > h + 10 && (f.height = d, g = Math.floor(1e4 * d / h) / 1e4), i = le(n, c, d, y, g, a, h)) : (f = l, i = n);
375
+ let g = Math.floor(1e4 * s / h) / 1e4;
376
+ d > h + 10 && (f.height = d, y = Math.floor(1e4 * d / h) / 1e4, c = Math.floor(d * g), f.width = c, v = Math.floor(1e4 * c / s) / 1e4), i = le(n, c, d, v, y, s, h);
377
+ } else l.screenAdapter == "h-adapter" ? (f = JSON.parse(JSON.stringify(l)), c > s + 10 && (f.width = c, v = Math.floor(1e4 * c / s) / 1e4), i = le(n, c, d, v, y, s, h)) : l.screenAdapter == "v-adapter" ? (f = JSON.parse(JSON.stringify(l)), d > h + 10 && (f.height = d, y = Math.floor(1e4 * d / h) / 1e4), i = le(n, c, d, v, y, s, h)) : (f = l, i = n);
378
378
  }
379
379
  return {
380
380
  canvasStyleData: f,
@@ -385,10 +385,10 @@ async function Qe(t, o = []) {
385
385
  const l = (n) => new Promise((f) => {
386
386
  const { animationTime: i, value: c = "", isLoop: d } = n;
387
387
  t.style.setProperty("--time", `${i}s`), t.classList.add(c, "animated", Ye(d));
388
- const a = () => {
389
- t.removeEventListener("animationend", a), t.removeEventListener("animationcancel", a), t.classList.remove(c, "animated", Ye(d)), t.style.removeProperty("--time"), f();
388
+ const s = () => {
389
+ t.removeEventListener("animationend", s), t.removeEventListener("animationcancel", s), t.classList.remove(c, "animated", Ye(d)), t.style.removeProperty("--time"), f();
390
390
  };
391
- t.addEventListener("animationend", a), t.addEventListener("animationcancel", a);
391
+ t.addEventListener("animationend", s), t.addEventListener("animationcancel", s);
392
392
  });
393
393
  for (let n = 0, f = o.length; n < f; n++)
394
394
  await l(o[n]);
@@ -396,7 +396,7 @@ async function Qe(t, o = []) {
396
396
  function Ye(t) {
397
397
  return t ? "infinite" : "no-infinite";
398
398
  }
399
- const Z = (t, o) => {
399
+ const $ = (t, o) => {
400
400
  const l = t.__vccOpts || t;
401
401
  for (const [n, f] of o)
402
402
  l[n] = f;
@@ -414,54 +414,54 @@ const Z = (t, o) => {
414
414
  setup(t, { expose: o }) {
415
415
  const l = t, n = O(() => l.config || {}), f = O({
416
416
  get: () => !n.value.style?.isHide,
417
- set: (_) => {
418
- n.value.style && (n.value.style.isHide = !_);
417
+ set: (b) => {
418
+ n.value.style && (n.value.style.isHide = !b);
419
419
  }
420
- }), i = de({}), c = (_, b) => {
421
- _ ? i[`Ve${b}`] = _ : delete i[`Ve${b}`];
422
- }, d = (_) => i[`Ve${_}`], a = () => {
420
+ }), i = de({}), c = (b, w) => {
421
+ b ? i[`Ve${w}`] = b : delete i[`Ve${w}`];
422
+ }, d = (b) => i[`Ve${b}`], s = () => {
423
423
  if (n.value.animations && n.value.animations.length > 0) {
424
- let _ = i[`Ve${n.value.id}`];
425
- _.$el && Qe(_.$el, n.value.animations);
424
+ let b = i[`Ve${n.value.id}`];
425
+ b.$el && Qe(b.$el, n.value.animations);
426
426
  }
427
427
  }, h = () => {
428
428
  f.value = !1;
429
- }, y = () => {
429
+ }, v = () => {
430
430
  f.value = !0;
431
- }, g = () => f.value;
431
+ }, y = () => f.value;
432
432
  xe(() => {
433
- a();
433
+ s();
434
434
  }), o({
435
435
  getComponentRef: d,
436
436
  hide: h,
437
- show: y,
438
- showStatus: g
437
+ show: v,
438
+ showStatus: y
439
439
  });
440
- const w = { props: l, config: n, isShow: f, componentRefs: i, setComponentRef: c, getComponentRef: d, execAnimation: a, hide: h, show: y, showStatus: g, ref: D, computed: O, onMounted: xe, reactive: de, watch: Ae, get getSVGStyle() {
440
+ const g = { props: l, config: n, isShow: f, componentRefs: i, setComponentRef: c, getComponentRef: d, execAnimation: s, hide: h, show: v, showStatus: y, ref: D, computed: O, onMounted: xe, reactive: de, watch: Ae, get getSVGStyle() {
441
441
  return fn;
442
442
  }, get getStyle() {
443
443
  return dt;
444
444
  }, get runAnimation() {
445
445
  return Qe;
446
446
  } };
447
- return Object.defineProperty(w, "__isScriptSetup", { enumerable: !1, value: !0 }), w;
447
+ return Object.defineProperty(g, "__isScriptSetup", { enumerable: !1, value: !0 }), g;
448
448
  }
449
449
  };
450
450
  function gn(t, o, l, n, f, i) {
451
451
  return Oe((A(), z("div", { class: "component-wrapper" }, [
452
- n.config.component.startsWith("SVG") ? (A(), J(we(n.config.component), {
452
+ n.config.component.startsWith("SVG") ? (A(), J(be(n.config.component), {
453
453
  key: 0,
454
454
  ref: (c) => n.setComponentRef(c, n.config.id),
455
455
  class: "component",
456
- style: be(n.getSVGStyle(n.config.style)),
456
+ style: we(n.getSVGStyle(n.config.style)),
457
457
  "prop-value": n.config.propValue,
458
458
  element: n.config,
459
459
  designStatus: !1
460
- }, null, 8, ["style", "prop-value", "element"])) : (A(), J(we(n.config.component), {
460
+ }, null, 8, ["style", "prop-value", "element"])) : (A(), J(be(n.config.component), {
461
461
  key: 1,
462
462
  ref: (c) => n.setComponentRef(c, n.config.id),
463
463
  class: "component",
464
- style: be(n.getStyle(n.config.style)),
464
+ style: we(n.getStyle(n.config.style)),
465
465
  "prop-value": n.config.propValue,
466
466
  element: n.config,
467
467
  designStatus: !1
@@ -470,7 +470,7 @@ function gn(t, o, l, n, f, i) {
470
470
  [et, n.isShow]
471
471
  ]);
472
472
  }
473
- const yn = /* @__PURE__ */ Z(hn, [["render", gn], ["__scopeId", "data-v-56b0e3e4"], ["__file", "ComponentWrapper.vue"]]), _n = /* @__PURE__ */ Object.assign({
473
+ const yn = /* @__PURE__ */ $(hn, [["render", gn], ["__scopeId", "data-v-56b0e3e4"], ["__file", "ComponentWrapper.vue"]]), _n = /* @__PURE__ */ Object.assign({
474
474
  name: "VEPage"
475
475
  }, {
476
476
  __name: "index",
@@ -488,72 +488,72 @@ const yn = /* @__PURE__ */ Z(hn, [["render", gn], ["__scopeId", "data-v-56b0e3e4
488
488
  }
489
489
  },
490
490
  setup(t, { expose: o }) {
491
- const l = t, n = D({}), f = O(() => l.canvasStyle || {}), i = O(() => l.componentData || []), c = (w, _) => {
492
- w && (n.value[_] = w);
491
+ const l = t, n = D({}), f = O(() => l.canvasStyle || {}), i = O(() => l.componentData || []), c = (g, b) => {
492
+ g && (n.value[b] = g);
493
493
  }, d = O(() => {
494
- let w = {}, _ = { ...f.value || {} }, b = _.diyStyles || {};
495
- delete _.diyStyles;
496
- let C = Ge(_ || {});
497
- return C.width = `${f.value.width}px`, C.height = `${f.value.height}px`, w = { ...C, ...b }, w;
498
- }), a = (w, _, b) => {
499
- if (v(w) && v(_)) {
500
- const C = "VeP" + w, M = n.value[C];
494
+ let g = {}, b = { ...f.value || {} }, w = b.diyStyles || {};
495
+ delete b.diyStyles;
496
+ let x = Ge(b || {});
497
+ return x.hasOwnProperty("backgroundColor") && (x["background-color"] = x.backgroundColor, delete x.backgroundColor), x.width = `${f.value.width}px`, x.height = `${f.value.height}px`, g = { ...x, ...w }, Z("debug", "style", g, "_style", x, "diyStyle", w), _(g.background) && !_(g["background-color"]) && delete g["background-color"], _(g.background) || _(g["background-image"]) || _(g["background-color"]) || (g["background-color"] = "transparent !important"), g;
498
+ }), s = (g, b, w) => {
499
+ if (_(g) && _(b)) {
500
+ const x = "VeP" + g, M = n.value[x];
501
501
  if (M) {
502
- let S;
503
- L(M) ? S = M[0] : S = M;
504
- const T = S.getComponentRef(w);
505
- T ? T?.$options.name === "Group" && b && b.compId ? T.callGroupCompMethod(b.compId, _, b.data) : T[_] && (b ? T[_](b) : T[_]()) : $("warning", "The component is not exist.id:", w);
502
+ let C;
503
+ L(M) ? C = M[0] : C = M;
504
+ const T = C.getComponentRef(g);
505
+ T ? T?.$options.name === "Group" && w && w.compId ? T.callGroupCompMethod(w.compId, b, w.data) : T[b] && (w ? T[b](w) : T[b]()) : Z("warning", "The component is not exist.id:", g);
506
506
  }
507
507
  }
508
- }, h = (w, _, b = {}) => {
509
- if (v(w)) {
510
- const C = "VeP" + w, M = n.value[C];
508
+ }, h = (g, b, w = {}) => {
509
+ if (_(g)) {
510
+ const x = "VeP" + g, M = n.value[x];
511
511
  if (M) {
512
- let S;
513
- L(M) ? S = M[0] : S = M, _ ? S.show() : S.hide();
512
+ let C;
513
+ L(M) ? C = M[0] : C = M, b ? C.show() : C.hide();
514
514
  }
515
515
  }
516
- }, y = (w, _, b) => {
517
- if (v(w) && v(_)) {
518
- const C = "VeP" + w, M = n.value[C];
516
+ }, v = (g, b, w) => {
517
+ if (_(g) && _(b)) {
518
+ const x = "VeP" + g, M = n.value[x];
519
519
  if (M) {
520
- let S;
521
- if (L(M) ? S = M[0] : S = M, S && S[_])
522
- return b ? S[_](b) : S[_]();
520
+ let C;
521
+ if (L(M) ? C = M[0] : C = M, C && C[b])
522
+ return w ? C[b](w) : C[b]();
523
523
  }
524
524
  }
525
525
  };
526
- te("VE-CompMethod", a), te("VE-CompHideAndShow", h), te("VE-CompWrapMethod", y), o({
527
- callCompMethod: a
526
+ te("VE-CompMethod", s), te("VE-CompHideAndShow", h), te("VE-CompWrapMethod", v), o({
527
+ callCompMethod: s
528
528
  });
529
- const g = { props: l, componentRefs: n, canvasStyle: f, componentData: i, setComponentRef: c, calcCanvasStyle: d, callCompMethod: a, callCompHideAndShow: h, callCompWrapMethod: y, ref: D, computed: O, provide: te, watch: Ae, get getCanvasStyle() {
529
+ const y = { props: l, componentRefs: n, canvasStyle: f, componentData: i, setComponentRef: c, calcCanvasStyle: d, callCompMethod: s, callCompHideAndShow: h, callCompWrapMethod: v, ref: D, computed: O, provide: te, watch: Ae, get getCanvasStyle() {
530
530
  return Ge;
531
531
  }, ComponentWrapper: yn, get isNotEmpty() {
532
- return v;
532
+ return _;
533
533
  }, get isArray() {
534
534
  return L;
535
535
  }, get consolePrint() {
536
- return $;
536
+ return Z;
537
537
  } };
538
- return Object.defineProperty(g, "__isScriptSetup", { enumerable: !1, value: !0 }), g;
538
+ return Object.defineProperty(y, "__isScriptSetup", { enumerable: !1, value: !0 }), y;
539
539
  }
540
540
  });
541
541
  function vn(t, o, l, n, f, i) {
542
542
  return A(), z("div", { class: "canvas-container" }, [
543
543
  oe("div", {
544
544
  class: "canvas",
545
- style: be(n.calcCanvasStyle)
545
+ style: we(n.calcCanvasStyle)
546
546
  }, [
547
547
  (A(!0), z(je, null, Fe(n.componentData, (c, d) => (A(), J(n.ComponentWrapper, {
548
548
  key: d,
549
549
  config: c,
550
550
  ref_for: !0,
551
- ref: (a) => n.setComponentRef(a, "VeP" + c.id)
551
+ ref: (s) => n.setComponentRef(s, "VeP" + c.id)
552
552
  }, null, 8, ["config"]))), 128))
553
553
  ], 4)
554
554
  ]);
555
555
  }
556
- const wn = /* @__PURE__ */ Z(_n, [["render", vn], ["__scopeId", "data-v-71a9a9bf"], ["__file", "index.vue"]]), bn = Lt({
556
+ const bn = /* @__PURE__ */ $(_n, [["render", vn], ["__scopeId", "data-v-c471d52f"], ["__file", "index.vue"]]), wn = Lt({
557
557
  name: "ve-comp-svg-icon",
558
558
  props: {
559
559
  iconClass: {
@@ -587,7 +587,7 @@ function xn(t, o, l, n, f, i) {
587
587
  }, null, 8, ["xlink:href", "fill"])
588
588
  ], 2);
589
589
  }
590
- const pt = /* @__PURE__ */ Z(bn, [["render", xn], ["__file", "index.vue"]]), Sn = /* @__PURE__ */ Object.assign({
590
+ const pt = /* @__PURE__ */ $(wn, [["render", xn], ["__file", "index.vue"]]), Sn = /* @__PURE__ */ Object.assign({
591
591
  name: "CompositeIcon"
592
592
  }, {
593
593
  __name: "index",
@@ -608,7 +608,7 @@ const pt = /* @__PURE__ */ Z(bn, [["render", xn], ["__file", "index.vue"]]), Sn
608
608
  },
609
609
  setup(t, { expose: o }) {
610
610
  o();
611
- const d = { props: t, isImage: (a) => a && a.toString().toLowerCase().startsWith("img#"), getImageSrc: (a) => a.toString().substring(4), isSvgIcon: (a) => a && a.toString().toLowerCase().indexOf("svg#") == 0, getSvgIconClass: (a) => a.toString().substring(4), VeCompSvgIcon: pt };
611
+ const d = { props: t, isImage: (s) => s && s.toString().toLowerCase().startsWith("img#"), getImageSrc: (s) => s.toString().substring(4), isSvgIcon: (s) => s && s.toString().toLowerCase().indexOf("svg#") == 0, getSvgIconClass: (s) => s.toString().substring(4), VeCompSvgIcon: pt };
612
612
  return Object.defineProperty(d, "__isScriptSetup", { enumerable: !1, value: !0 }), d;
613
613
  }
614
614
  });
@@ -626,12 +626,12 @@ function Cn(t, o, l, n, f, i) {
626
626
  key: 1,
627
627
  "icon-class": n.getSvgIconClass(n.props.icon),
628
628
  color: n.props.color
629
- }, null, 8, ["icon-class", "color"])) : (A(), J(we(n.props.icon), { key: 2 }))
629
+ }, null, 8, ["icon-class", "color"])) : (A(), J(be(n.props.icon), { key: 2 }))
630
630
  ]),
631
631
  _: 1
632
632
  }, 8, ["size", "color"]);
633
633
  }
634
- const Mn = /* @__PURE__ */ Z(Sn, [["render", Cn], ["__file", "index.vue"]]);
634
+ const Mn = /* @__PURE__ */ $(Sn, [["render", Cn], ["__file", "index.vue"]]);
635
635
  let Ve = null;
636
636
  const Te = () => {
637
637
  if (!Ve) {
@@ -640,21 +640,21 @@ const Te = () => {
640
640
  dialogs: t,
641
641
  dialogStack: o,
642
642
  openDialog: (c = {}) => {
643
- const d = c.dialogId || "dialog-" + ct(), a = o.value.length;
644
- a >= 1 && (c.appendToBody = !0);
643
+ const d = c.dialogId || "dialog-" + ct(), s = o.value.length;
644
+ s >= 1 && (c.appendToBody = !0);
645
645
  const h = {
646
646
  id: d,
647
- level: a,
647
+ level: s,
648
648
  config: c
649
649
  };
650
650
  if (t[d] = h, o.value.length >= 1) {
651
- let y = !1;
652
- for (let g = 0; g < o.value.length; g++)
653
- if (d == o.value[g]) {
654
- y = !0;
651
+ let v = !1;
652
+ for (let y = 0; y < o.value.length; y++)
653
+ if (d == o.value[y]) {
654
+ v = !0;
655
655
  break;
656
656
  }
657
- y || o.value.push(d);
657
+ v || o.value.push(d);
658
658
  } else
659
659
  o.value.push(d);
660
660
  return d;
@@ -683,20 +683,20 @@ const Te = () => {
683
683
  },
684
684
  emits: ["confirm", "cancel"],
685
685
  setup(t, { expose: o, emit: l }) {
686
- const n = t, f = l, i = O(() => n.config), c = O(() => i.value.title || "对话框"), d = O(() => !!n.config.showHeader), a = D(i.value.fullscreen), h = D(i.value.width), y = D(!0), g = O(() => {
687
- let x = i.value.width ?? 800;
688
- return d.value ? x + 32 : x;
689
- }), w = O(() => {
690
- let x = {};
691
- return x.style = {}, x.style.width = i.value.width ?? 800, x.style.height = i.value.height ?? 600, x.prop = {}, x.prop.subpageId = i.value.pageId, x.containerParam = i.value.pageParam || {}, x;
692
- }), _ = O(() => {
693
- let x = {};
694
- return x.modal = i.value.modal, x["show-close"] = i.value.showClose, x.draggable = i.value.draggable, i.value.appendToBody && (x["append-to-body"] = i.value.appendToBody), d.value || (x.class = " no-header-dialog"), i.value.customPosition ? x["align-center"] = !1 : x["align-center"] = !0, x;
686
+ const n = t, f = l, i = O(() => n.config), c = O(() => i.value.title || "对话框"), d = O(() => !!n.config.showHeader), s = D(i.value.fullscreen), h = D(i.value.width), v = D(!0), y = O(() => {
687
+ let S = i.value.width ?? 800;
688
+ return d.value ? S + 32 : S;
689
+ }), g = O(() => {
690
+ let S = {};
691
+ return S.style = {}, S.style.width = i.value.width ?? 800, S.style.height = i.value.height ?? 600, S.prop = {}, S.prop.subpageId = i.value.pageId, S.containerParam = i.value.pageParam || {}, S;
695
692
  }), b = O(() => {
696
- let x = {};
693
+ let S = {};
694
+ return S.modal = i.value.modal, S["show-close"] = i.value.showClose, S.draggable = i.value.draggable, i.value.appendToBody && (S["append-to-body"] = i.value.appendToBody), d.value || (S.class = " no-header-dialog"), i.value.customPosition ? S["align-center"] = !1 : S["align-center"] = !0, S;
695
+ }), w = O(() => {
696
+ let S = {};
697
697
  if (i.value.customPosition) {
698
698
  let G = i.value.absLeft ?? 100, I = i.value.absTop ?? 100;
699
- Object.assign(x, {
699
+ Object.assign(S, {
700
700
  position: "fixed",
701
701
  left: `${G}px`,
702
702
  top: `${I}px`,
@@ -704,39 +704,39 @@ const Te = () => {
704
704
  margin: "0 !important"
705
705
  });
706
706
  }
707
- return i.value.noBackgroundColor && Object.assign(x, {
707
+ return i.value.noBackgroundColor && Object.assign(S, {
708
708
  backgroundColor: "transparent"
709
- }), x;
710
- }), C = () => {
709
+ }), S;
710
+ }), x = () => {
711
711
  f("confirm");
712
712
  }, M = () => {
713
- f("cancel"), S();
714
- }, S = () => {
715
- y.value = !1;
716
- }, T = (x) => {
713
+ f("cancel"), C();
714
+ }, C = () => {
715
+ v.value = !1;
716
+ }, T = (S) => {
717
717
  f("cancel");
718
718
  };
719
719
  te("VE-CompMethod", function() {
720
- $("warning", "对话框模式,不提供compMethod函数实现");
720
+ Z("warning", "对话框模式,不提供compMethod函数实现");
721
721
  }), te("VE-CompHideAndShow", function() {
722
- $("warning", "对话框模式,不提供compHideAndShow函数实现");
722
+ Z("warning", "对话框模式,不提供compHideAndShow函数实现");
723
723
  }), te("VE-CompWrapMethod", function() {
724
- $("warning", "对话框模式,不提供compWrapMethod函数实现");
724
+ Z("warning", "对话框模式,不提供compWrapMethod函数实现");
725
725
  }), o({
726
- close: S
726
+ close: C
727
727
  });
728
- const E = { props: n, emit: f, config: i, title: c, showTitle: d, isFullscreen: a, previousWidth: h, openDialog: y, dialogWidth: g, element: w, bindAttr: _, customStyle: b, confirmInner: C, cancel: M, close: S, handleClose: T, ref: D, computed: O, provide: te, get consolePrint() {
729
- return $;
728
+ const E = { props: n, emit: f, config: i, title: c, showTitle: d, isFullscreen: s, previousWidth: h, openDialog: v, dialogWidth: y, element: g, bindAttr: b, customStyle: w, confirmInner: x, cancel: M, close: C, handleClose: T, ref: D, computed: O, provide: te, get consolePrint() {
729
+ return Z;
730
730
  }, get isNotEmpty() {
731
- return v;
731
+ return _;
732
732
  } };
733
733
  return Object.defineProperty(E, "__isScriptSetup", { enumerable: !1, value: !0 }), E;
734
734
  }
735
735
  });
736
736
  function Vn(t, o, l, n, f, i) {
737
- const c = B("Subpage"), d = B("el-button"), a = B("el-dialog");
737
+ const c = B("Subpage"), d = B("el-button"), s = B("el-dialog");
738
738
  return A(), z("div", { class: "full-screen-dialog-wrapper" }, [
739
- R(a, qt({
739
+ R(s, qt({
740
740
  modelValue: n.openDialog,
741
741
  "onUpdate:modelValue": o[0] || (o[0] = (h) => n.openDialog = h),
742
742
  width: n.dialogWidth,
@@ -784,7 +784,7 @@ function Vn(t, o, l, n, f, i) {
784
784
  ]), 1040, ["modelValue", "width", "fullscreen", "style"])
785
785
  ]);
786
786
  }
787
- const On = /* @__PURE__ */ Z(Pn, [["render", Vn], ["__scopeId", "data-v-7c104f83"], ["__file", "FullscreenDialog.vue"]]), kn = /* @__PURE__ */ Object.assign({
787
+ const On = /* @__PURE__ */ $(Pn, [["render", Vn], ["__scopeId", "data-v-7c104f83"], ["__file", "FullscreenDialog.vue"]]), kn = /* @__PURE__ */ Object.assign({
788
788
  name: "DialogContainer"
789
789
  }, {
790
790
  __name: "DialogContainer",
@@ -805,7 +805,7 @@ function In(t, o, l, n, f, i) {
805
805
  onCancel: (d) => n.cancelHandler(c.id)
806
806
  }, null, 8, ["config", "onCancel"]))), 128);
807
807
  }
808
- const En = /* @__PURE__ */ Z(kn, [["render", In], ["__file", "DialogContainer.vue"]]), Tn = /* @__PURE__ */ Object.assign({
808
+ const En = /* @__PURE__ */ $(kn, [["render", In], ["__file", "DialogContainer.vue"]]), Tn = /* @__PURE__ */ Object.assign({
809
809
  name: "CommonDialog"
810
810
  }, {
811
811
  __name: "index",
@@ -827,25 +827,25 @@ const En = /* @__PURE__ */ Z(kn, [["render", In], ["__file", "DialogContainer.vu
827
827
  setup(t, { expose: o, emit: l }) {
828
828
  const n = D("弹框"), f = D(!1), i = t, c = l;
829
829
  let d = null;
830
- const a = O(() => n.value && v(n.value) ? n.value : i.title), h = () => {
830
+ const s = O(() => n.value && _(n.value) ? n.value : i.title), h = () => {
831
831
  c("confirm", { callBack: d });
832
- }, y = () => {
832
+ }, v = () => {
833
833
  f.value = !1;
834
- }, g = (_ = {}) => {
835
- f.value = !0, d = _.callBack, n.value = _.title || "";
834
+ }, y = (b = {}) => {
835
+ f.value = !0, d = b.callBack, n.value = b.title || "";
836
836
  };
837
837
  o({
838
- show: g,
839
- cancel: y
838
+ show: y,
839
+ cancel: v
840
840
  });
841
- const w = { showTitle: n, openDialog: f, props: i, emit: c, get callBack() {
841
+ const g = { showTitle: n, openDialog: f, props: i, emit: c, get callBack() {
842
842
  return d;
843
- }, set callBack(_) {
844
- d = _;
845
- }, title: a, confirmInner: h, cancel: y, show: g, ref: D, computed: O, get isNotEmpty() {
846
- return v;
843
+ }, set callBack(b) {
844
+ d = b;
845
+ }, title: s, confirmInner: h, cancel: v, show: y, ref: D, computed: O, get isNotEmpty() {
846
+ return _;
847
847
  } };
848
- return Object.defineProperty(w, "__isScriptSetup", { enumerable: !1, value: !0 }), w;
848
+ return Object.defineProperty(g, "__isScriptSetup", { enumerable: !1, value: !0 }), g;
849
849
  }
850
850
  });
851
851
  function Rn(t, o, l, n, f, i) {
@@ -853,7 +853,7 @@ function Rn(t, o, l, n, f, i) {
853
853
  return A(), J(d, {
854
854
  title: n.title,
855
855
  modelValue: n.openDialog,
856
- "onUpdate:modelValue": o[0] || (o[0] = (a) => n.openDialog = a),
856
+ "onUpdate:modelValue": o[0] || (o[0] = (s) => n.openDialog = s),
857
857
  width: n.props.width,
858
858
  "before-close": n.cancel,
859
859
  "destroy-on-close": !0,
@@ -888,7 +888,7 @@ function Rn(t, o, l, n, f, i) {
888
888
  _: 3
889
889
  }, 8, ["title", "modelValue", "width", "modal"]);
890
890
  }
891
- const Dn = /* @__PURE__ */ Z(Tn, [["render", Rn], ["__file", "index.vue"]]), An = /* @__PURE__ */ Object.assign({
891
+ const Dn = /* @__PURE__ */ $(Tn, [["render", Rn], ["__file", "index.vue"]]), An = /* @__PURE__ */ Object.assign({
892
892
  name: "OmitInput"
893
893
  }, {
894
894
  __name: "index",
@@ -911,19 +911,19 @@ const Dn = /* @__PURE__ */ Z(Tn, [["render", Rn], ["__file", "index.vue"]]), An
911
911
  o();
912
912
  const n = t, f = l, i = D(null), c = D(""), d = O({
913
913
  get: () => n.modelValue,
914
- set: (g) => f("update:modelValue", g)
915
- }), y = { props: n, emits: f, inputDialogRef: i, inputTextArea: c, internalValue: d, openInputDialog: () => {
914
+ set: (y) => f("update:modelValue", y)
915
+ }), v = { props: n, emits: f, inputDialogRef: i, inputTextArea: c, internalValue: d, openInputDialog: () => {
916
916
  c.value = fe(d.value), i.value?.show();
917
- }, confirmEdit: (g) => {
917
+ }, confirmEdit: (y) => {
918
918
  d.value = fe(c.value), i.value?.cancel();
919
919
  }, ref: D, computed: O, get deepCopy() {
920
920
  return fe;
921
921
  } };
922
- return Object.defineProperty(y, "__isScriptSetup", { enumerable: !1, value: !0 }), y;
922
+ return Object.defineProperty(v, "__isScriptSetup", { enumerable: !1, value: !0 }), v;
923
923
  }
924
924
  });
925
925
  function jn(t, o, l, n, f, i) {
926
- const c = B("el-text"), d = B("el-input"), a = B("CommonDialog");
926
+ const c = B("el-text"), d = B("el-input"), s = B("CommonDialog");
927
927
  return A(), z("div", {
928
928
  class: tt(["custom-omit-input-wrapper", t.$attrs.class])
929
929
  }, [
@@ -949,7 +949,7 @@ function jn(t, o, l, n, f, i) {
949
949
  _: 1
950
950
  }, 8, ["modelValue", "placeholder"]),
951
951
  F(),
952
- R(a, {
952
+ R(s, {
953
953
  ref: "inputDialogRef",
954
954
  title: n.props.dialogTitle,
955
955
  width: 700,
@@ -969,7 +969,7 @@ function jn(t, o, l, n, f, i) {
969
969
  }, 8, ["title"])
970
970
  ], 2);
971
971
  }
972
- const Fn = /* @__PURE__ */ Z(An, [["render", jn], ["__scopeId", "data-v-956a5a3a"], ["__file", "index.vue"]]), me = Yt(
972
+ const Fn = /* @__PURE__ */ $(An, [["render", jn], ["__scopeId", "data-v-956a5a3a"], ["__file", "index.vue"]]), me = Yt(
973
973
  "ve/dataCache",
974
974
  {
975
975
  state: () => ({
@@ -1050,8 +1050,8 @@ async function ht(t, o, l = {}) {
1050
1050
  if (c.status === "fulfilled")
1051
1051
  d === 0 && (f = c.value);
1052
1052
  else {
1053
- const a = c.reason;
1054
- n.push(a);
1053
+ const s = c.reason;
1054
+ n.push(s);
1055
1055
  }
1056
1056
  });
1057
1057
  } catch (i) {
@@ -1066,8 +1066,8 @@ async function gt(t, o, l = {}) {
1066
1066
  if (c.status === "fulfilled")
1067
1067
  d === 0 && (f = c.value);
1068
1068
  else {
1069
- const a = c.reason;
1070
- n.push(a);
1069
+ const s = c.reason;
1070
+ n.push(s);
1071
1071
  }
1072
1072
  });
1073
1073
  } catch (i) {
@@ -1096,19 +1096,19 @@ const to = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1096
1096
  equalsIgnoreCase: (t, o) => t != null && String(t).toLowerCase() == String(o).toLowerCase()
1097
1097
  }, ae = (t) => typeof t == "string" && t.trim() !== "" && !isNaN(t) ? +t : t;
1098
1098
  function Ze(t = {}, o = !0, l = {}) {
1099
- const n = t, f = o, i = l, c = /* @__PURE__ */ new Map(), d = Bn(), a = me(), h = ue("VE-ContainerParam"), y = ue("VE-CompMethod"), g = [], { openDialog: w, closeDialog: _ } = Te();
1100
- let b = null;
1101
- const C = 250, M = ue("VE-CompHideAndShow"), S = [], T = ue("VE-CompWrapMethod"), E = (e) => {
1099
+ const n = t, f = o, i = l, c = /* @__PURE__ */ new Map(), d = Bn(), s = me(), h = ue("VE-ContainerParam"), v = ue("VE-CompMethod"), y = [], { openDialog: g, closeDialog: b } = Te();
1100
+ let w = null;
1101
+ const x = 250, M = ue("VE-CompHideAndShow"), C = [], T = ue("VE-CompWrapMethod"), E = (e) => {
1102
1102
  if (h) {
1103
1103
  if (rt(h))
1104
1104
  return h.value[e];
1105
1105
  if (ne(h))
1106
1106
  return h[e];
1107
1107
  }
1108
- }, x = (e) => {
1108
+ }, S = (e) => {
1109
1109
  if (e && e.path) {
1110
- let s = e.params || [], r = {};
1111
- s.forEach((u, p) => {
1110
+ let a = e.params || [], r = {};
1111
+ a.forEach((u, p) => {
1112
1112
  if (re(u)) {
1113
1113
  let m = Y(u);
1114
1114
  r[u.tarKey] = m;
@@ -1116,67 +1116,67 @@ function Ze(t = {}, o = !0, l = {}) {
1116
1116
  }), e.namedRouter ? K(i.routerPush) && i.routerPush(e.path, r) : K(i.routerPush2) && i.routerPush2(e.path, r);
1117
1117
  }
1118
1118
  }, G = (e = []) => {
1119
- let s = [];
1119
+ let a = [];
1120
1120
  return e.forEach((r) => {
1121
1121
  if (re(r)) {
1122
1122
  let u = Y(r);
1123
- s.push([
1123
+ a.push([
1124
1124
  r.tarKey,
1125
1125
  u
1126
1126
  ]);
1127
1127
  }
1128
- }), s;
1129
- }, I = (e, s) => {
1130
- if (e.customFunc && v(e.successFunc)) {
1128
+ }), a;
1129
+ }, I = (e, a) => {
1130
+ if (e.customFunc && _(e.successFunc)) {
1131
1131
  const r = {
1132
1132
  helper: { ...i, ...k }
1133
1133
  };
1134
1134
  try {
1135
1135
  let u = e.successFunc.toString().trim();
1136
- u.indexOf("function") < 0 && (u = `function(res) { ${u} }`), new Function("context", `with(context) {return ${u}}`)(r)(s);
1136
+ u.indexOf("function") < 0 && (u = `function(res) { ${u} }`), new Function("context", `with(context) {return ${u}}`)(r)(a);
1137
1137
  } catch (u) {
1138
1138
  console.error("[_dataRequestHandler4CustomSuccessFunc]处理自定义成功函数时出错:", u);
1139
1139
  }
1140
1140
  }
1141
- }, V = (e, s, r) => {
1142
- if (e.customFunc && v(e.errorFunc)) {
1141
+ }, V = (e, a, r) => {
1142
+ if (e.customFunc && _(e.errorFunc)) {
1143
1143
  const u = {
1144
1144
  helper: { ...i, ...k }
1145
1145
  };
1146
1146
  try {
1147
1147
  let p = e.errorFunc.toString().trim();
1148
- p.indexOf("function") < 0 && (p = "function (res,err){" + p + "}"), new Function("context", `with(context) {return ${p}}`)(u)(s, r);
1148
+ p.indexOf("function") < 0 && (p = "function (res,err){" + p + "}"), new Function("context", `with(context) {return ${p}}`)(u)(a, r);
1149
1149
  } catch (p) {
1150
1150
  console.error("[_dataRequestHandler4CustomErrorFunc]处理自定义失败函数时出错:", p);
1151
1151
  }
1152
1152
  }
1153
- }, H = (e, s) => {
1154
- if (L(s) && s.length > 0) {
1153
+ }, H = (e, a) => {
1154
+ if (L(a) && a.length > 0) {
1155
1155
  let r, u, p;
1156
- for (let m = 0; m < s.length; m++)
1157
- r = s[m], p = r.dataKey || "data", v(p) && Ee(e, p) && (u = Ie(e, p), v(r.ds) && v(r.tarKey) && vt(r, u));
1156
+ for (let m = 0; m < a.length; m++)
1157
+ r = a[m], p = r.dataKey || "data", _(p) && Ee(e, p) && (u = Ie(e, p), _(r.ds) && _(r.tarKey) && vt(r, u));
1158
1158
  }
1159
1159
  }, q = async (e) => {
1160
- let s = [], r = {};
1160
+ let a = [], r = {};
1161
1161
  try {
1162
1162
  (await Promise.allSettled([d.rawRequest(e)])).forEach((p, m) => {
1163
1163
  if (p.status === "fulfilled")
1164
1164
  m === 0 && (r = p.value);
1165
1165
  else {
1166
1166
  const P = p.reason;
1167
- s.push(P);
1167
+ a.push(P);
1168
1168
  }
1169
1169
  });
1170
1170
  } catch (u) {
1171
- console.error("_dataRequestHandler4Async 异常:", u), s.push(u);
1171
+ console.error("_dataRequestHandler4Async 异常:", u), a.push(u);
1172
1172
  }
1173
- return { errors: s, resultInfo: r };
1173
+ return { errors: a, resultInfo: r };
1174
1174
  }, ie = (e) => {
1175
1175
  if (e.method == "GET" || e.method == "get") {
1176
- let s = e.url;
1177
- if (/\{#.*?#\}/g.test(s)) {
1176
+ let a = e.url;
1177
+ if (/\{#.*?#\}/g.test(a)) {
1178
1178
  let u = e.data || [], p = /* @__PURE__ */ new Set(), m = !1, P = null;
1179
- if (s = s.replace(/\{#(.*?)#\}/g, (N, ee) => {
1179
+ if (a = a.replace(/\{#(.*?)#\}/g, (N, ee) => {
1180
1180
  m = !1, P = null;
1181
1181
  for (let ce = 0; ce < u.length; ce++)
1182
1182
  if (ee == u[ce][0]) {
@@ -1186,13 +1186,13 @@ function Ze(t = {}, o = !0, l = {}) {
1186
1186
  return m ? (p.add(ee), P) : N;
1187
1187
  }), p.size > 0) {
1188
1188
  let N = u.filter((ee, ce) => !p.has(ee[0]));
1189
- e.url = s, e.data = N || [];
1189
+ e.url = a, e.data = N || [];
1190
1190
  }
1191
1191
  }
1192
1192
  }
1193
1193
  }, ge = async (e) => {
1194
- if (e && v(e.url)) {
1195
- let s = e.respParams || [], r = {};
1194
+ if (e && _(e.url)) {
1195
+ let a = e.respParams || [], r = {};
1196
1196
  r.url = e.url, r.externalRequest = e.external || !1, r.method = e.method || "GET", r.paramType = "object", r.data = G(e.params), r.headers = e.headers, e.series && (r.series = e.series, r.requestCount = e.requestCount || 0, r.time = e.time || 1e3), ie(r);
1197
1197
  let u = null;
1198
1198
  if (e.loading) {
@@ -1220,7 +1220,7 @@ function Ze(t = {}, o = !0, l = {}) {
1220
1220
  let P = e.respTip || {};
1221
1221
  Q(P);
1222
1222
  }
1223
- H(m, s), I(e, m);
1223
+ H(m, a), I(e, m);
1224
1224
  } else {
1225
1225
  if (e.enabledRespErrTip) {
1226
1226
  let P = e.respErrTip || {};
@@ -1234,7 +1234,7 @@ function Ze(t = {}, o = !0, l = {}) {
1234
1234
  let P = e.respTip || {};
1235
1235
  Q(P);
1236
1236
  }
1237
- H(m, s);
1237
+ H(m, a);
1238
1238
  }
1239
1239
  I(e, m);
1240
1240
  }
@@ -1246,7 +1246,7 @@ function Ze(t = {}, o = !0, l = {}) {
1246
1246
  let P = e.respTip || {};
1247
1247
  Q(P);
1248
1248
  }
1249
- H(m, s), I(e, m);
1249
+ H(m, a), I(e, m);
1250
1250
  } else {
1251
1251
  if (e.enabledRespErrTip) {
1252
1252
  let P = e.respErrTip || {};
@@ -1260,7 +1260,7 @@ function Ze(t = {}, o = !0, l = {}) {
1260
1260
  let P = e.respTip || {};
1261
1261
  Q(P);
1262
1262
  }
1263
- H(m, s);
1263
+ H(m, a);
1264
1264
  }
1265
1265
  I(e, m);
1266
1266
  }
@@ -1271,25 +1271,25 @@ function Ze(t = {}, o = !0, l = {}) {
1271
1271
  }
1272
1272
  V(e, null, m);
1273
1273
  });
1274
- p && g.push(p);
1274
+ p && y.push(p);
1275
1275
  }
1276
1276
  }
1277
1277
  }, Q = (e = {}) => {
1278
1278
  e.tipType == "msg" ? he(e.type, e.msg, e.extParam) : e.tipType == "notify" && Re(e.type, e.msg, e.extParam);
1279
1279
  }, Ce = (e) => {
1280
1280
  if (e && L(e.params)) {
1281
- let s = e.params || [], r = null;
1282
- for (let u = 0; u < s.length; u++)
1283
- if (r = s[u], re(r)) {
1281
+ let a = e.params || [], r = null;
1282
+ for (let u = 0; u < a.length; u++)
1283
+ if (r = a[u], re(r)) {
1284
1284
  let p = Y(r);
1285
1285
  k.setDataCache(r.tarKey, p);
1286
1286
  }
1287
1287
  }
1288
1288
  }, U = (e) => {
1289
1289
  if (e && L(e.params)) {
1290
- let s = e.params || [], r = null;
1291
- for (let u = 0; u < s.length; u++)
1292
- if (r = s[u], v(r.ipn) && v(r.opn) && c.has(r.ipn)) {
1290
+ let a = e.params || [], r = null;
1291
+ for (let u = 0; u < a.length; u++)
1292
+ if (r = a[u], _(r.ipn) && _(r.opn) && c.has(r.ipn)) {
1293
1293
  let p = c.get(r.ipn), m = se.equals(p, r.ipv);
1294
1294
  if (m)
1295
1295
  c.set(r.opn, r.opv);
@@ -1301,9 +1301,9 @@ function Ze(t = {}, o = !0, l = {}) {
1301
1301
  }
1302
1302
  }, Me = (e) => {
1303
1303
  if (e && L(e.params)) {
1304
- let s = e.params || [], r = null;
1305
- for (let u = 0; u < s.length; u++)
1306
- if (r = s[u], re(r)) {
1304
+ let a = e.params || [], r = null;
1305
+ for (let u = 0; u < a.length; u++)
1306
+ if (r = a[u], re(r)) {
1307
1307
  let p = Y(r);
1308
1308
  k.setParam(r.tarKey, p);
1309
1309
  }
@@ -1315,35 +1315,35 @@ function Ze(t = {}, o = !0, l = {}) {
1315
1315
  getParam: function(e) {
1316
1316
  return c.get(e);
1317
1317
  },
1318
- setParam: function(e, s) {
1319
- c.set(e, s);
1318
+ setParam: function(e, a) {
1319
+ c.set(e, a);
1320
1320
  },
1321
1321
  getDataCache: function(e) {
1322
- return a.data[e];
1322
+ return s.data[e];
1323
1323
  },
1324
- setDataCache: function(e, s) {
1325
- a.data[e] = s;
1324
+ setDataCache: function(e, a) {
1325
+ s.data[e] = a;
1326
1326
  },
1327
1327
  getContainerParam: function(e) {
1328
1328
  return E(e);
1329
1329
  },
1330
- setSessionParam: function(e, s) {
1331
- sessionStorage.setItem(e, s);
1330
+ setSessionParam: function(e, a) {
1331
+ sessionStorage.setItem(e, a);
1332
1332
  },
1333
1333
  getSessionParam: function(e) {
1334
1334
  return sessionStorage.getItem(e);
1335
1335
  },
1336
- setLocalParam: function(e, s) {
1337
- localStorage.setItem(e, s);
1336
+ setLocalParam: function(e, a) {
1337
+ localStorage.setItem(e, a);
1338
1338
  },
1339
1339
  getLocalParam: function(e) {
1340
1340
  return localStorage.getItem(e);
1341
1341
  },
1342
- callCompMethod: function(e, s, r = {}) {
1343
- K(y) ? y(e, s, r) : console.error("compMethod is not function.");
1342
+ callCompMethod: function(e, a, r = {}) {
1343
+ K(v) ? v(e, a, r) : console.error("compMethod is not function.");
1344
1344
  },
1345
- setJsCookie: function(e, s, r = 30) {
1346
- Pe.set(e, s, { expires: r });
1345
+ setJsCookie: function(e, a, r = 30) {
1346
+ Pe.set(e, a, { expires: r });
1347
1347
  },
1348
1348
  getJsCookie: function(e) {
1349
1349
  return Pe.get(e);
@@ -1351,11 +1351,11 @@ function Ze(t = {}, o = !0, l = {}) {
1351
1351
  removeJsCookie: function(e) {
1352
1352
  Pe.remove(e);
1353
1353
  },
1354
- log: function(e = "log", s) {
1355
- e == "error" ? console.error(s) : e == "info" ? console.info(s) : e == "warn" ? console.warn(s) : console.log(s);
1354
+ log: function(e = "log", a) {
1355
+ e == "error" ? console.error(a) : e == "info" ? console.info(a) : e == "warn" ? console.warn(a) : console.log(a);
1356
1356
  },
1357
1357
  isNotEmptyStr: function(e) {
1358
- return v(e);
1358
+ return _(e);
1359
1359
  },
1360
1360
  md5: function(e) {
1361
1361
  return ut(e);
@@ -1363,49 +1363,55 @@ function Ze(t = {}, o = !0, l = {}) {
1363
1363
  getDate: function(e) {
1364
1364
  return it(e);
1365
1365
  },
1366
- formatDate: function(e, s = "yyyy-MM-dd") {
1367
- return at(e, s);
1366
+ formatDate: function(e, a = "yyyy-MM-dd") {
1367
+ return at(e, a);
1368
1368
  },
1369
1369
  closeDialog: function(e) {
1370
- _(e);
1370
+ b(e);
1371
1371
  },
1372
- hideAndShowComp: function(e, s, r = {}) {
1373
- K(M) ? M(e, s, r) : console.error("hideAndShowComp is not function.");
1372
+ hideAndShowComp: function(e, a, r = {}) {
1373
+ K(M) ? M(e, a, r) : console.error("hideAndShowComp is not function.");
1374
1374
  },
1375
- callCompWrapMethod: function(e, s, r = {}) {
1375
+ callCompWrapMethod: function(e, a, r = {}) {
1376
1376
  if (K(T))
1377
- return T(e, s, r);
1377
+ return T(e, a, r);
1378
1378
  console.error("compWrapMethod is not function.");
1379
+ },
1380
+ getRuleDataCache: function(e) {
1381
+ return s.rules[e];
1382
+ },
1383
+ setRuleDataCache: function(e, a, r = !1) {
1384
+ r ? s.rules[e] = a : s.rules[e] || (s.rules[e] = a);
1379
1385
  }
1380
1386
  }, yt = (e) => {
1381
- if (e && v(e.funcBody)) {
1382
- const s = {
1387
+ if (e && _(e.funcBody)) {
1388
+ const a = {
1383
1389
  helper: { ...i, ...k }
1384
1390
  };
1385
1391
  try {
1386
1392
  let r = e.funcBody.toString().trim();
1387
- r.indexOf("function") < 0 && (r = "function(){" + r + "}"), new Function("context", `with(context) {return ${r}}`)(s)();
1393
+ r.indexOf("function") < 0 && (r = "function(){" + r + "}"), new Function("context", `with(context) {return ${r}}`)(a)();
1388
1394
  } catch (r) {
1389
1395
  console.error("处理自定义函数时出错:", r);
1390
1396
  }
1391
1397
  }
1392
1398
  }, _t = (e) => {
1393
- if (e && v(e.type)) {
1399
+ if (e && _(e.type)) {
1394
1400
  if (e.opType == "clear") {
1395
- let s = e.type;
1396
- s == "session" ? sessionStorage.clear() : s == "local" && localStorage.clear();
1401
+ let a = e.type;
1402
+ a == "session" ? sessionStorage.clear() : a == "local" && localStorage.clear();
1397
1403
  } else if (L(e.params) && e.params.length > 0) {
1398
- let s = e.type, r = e.params || [], u = null;
1404
+ let a = e.type, r = e.params || [], u = null;
1399
1405
  for (let p = 0; p < r.length; p++)
1400
1406
  if (u = r[p], u.delete)
1401
- v(u.tarKey) && (s == "session" ? sessionStorage.removeItem(u.tarKey) : s == "local" ? localStorage.removeItem(u.tarKey) : s == "jsCookie" && k.removeJsCookie(u.tarKey));
1407
+ _(u.tarKey) && (a == "session" ? sessionStorage.removeItem(u.tarKey) : a == "local" ? localStorage.removeItem(u.tarKey) : a == "jsCookie" && k.removeJsCookie(u.tarKey));
1402
1408
  else if (re(u)) {
1403
1409
  let m = Y(u);
1404
- s == "session" ? sessionStorage.setItem(u.tarKey, m) : s == "local" ? localStorage.setItem(u.tarKey, m) : s == "jsCookie" && k.setJsCookie(u.tarKey, m);
1410
+ a == "session" ? sessionStorage.setItem(u.tarKey, m) : a == "local" ? localStorage.setItem(u.tarKey, m) : a == "jsCookie" && k.setJsCookie(u.tarKey, m);
1405
1411
  }
1406
1412
  }
1407
1413
  }
1408
- }, re = (e) => v(e.ds) && v(e.tarKey) ? e.ds != "inputV" ? v(e.key) : !0 : !1, Y = (e) => {
1414
+ }, re = (e) => _(e.ds) && _(e.tarKey) ? e.ds != "inputV" ? _(e.key) : !0 : !1, Y = (e) => {
1409
1415
  if (e.ds == "inputP")
1410
1416
  return k.getParam(e.key);
1411
1417
  if (e.ds == "cacheP")
@@ -1423,39 +1429,39 @@ function Ze(t = {}, o = !0, l = {}) {
1423
1429
  if (e.ds == "compStyle")
1424
1430
  return K(i.getStyleValue) ? i.getStyleValue(e.key) : null;
1425
1431
  if (e.ds == "_selectMenuValue" || e.ds == "_selectItemValue" || e.ds == "_changeItemValue") {
1426
- let s = k.getParam(e.ds);
1427
- return Se(s) ? null : ne(s) ? v(e.key) && Ee(s, e.key) ? Ie(s, e.key) : null : s;
1432
+ let a = k.getParam(e.ds);
1433
+ return Se(a) ? null : ne(a) ? _(e.key) && Ee(a, e.key) ? Ie(a, e.key) : null : a;
1428
1434
  } else {
1429
- let s = e.key;
1430
- return s.toString().trim().indexOf("#json#") == 0 ? (s = s.toString().trim().replace("#json#", ""), lt(s, {})) : e.key;
1435
+ let a = e.key;
1436
+ return a.toString().trim().indexOf("#json#") == 0 ? (a = a.toString().trim().replace("#json#", ""), lt(a, {})) : e.key;
1431
1437
  }
1432
- }, vt = (e, s) => {
1438
+ }, vt = (e, a) => {
1433
1439
  if (e.ds == "cacheP")
1434
- return k.setDataCache(e.tarKey, s);
1440
+ return k.setDataCache(e.tarKey, a);
1435
1441
  if (e.ds == "inputP")
1436
- return k.setParam(e.tarKey, s);
1442
+ return k.setParam(e.tarKey, a);
1437
1443
  if (e.ds == "sessionP")
1438
- return k.setSessionParam(e.tarKey, s);
1444
+ return k.setSessionParam(e.tarKey, a);
1439
1445
  if (e.ds == "localP")
1440
- return k.setLocalParam(e.tarKey, s);
1441
- e.ds == "jsCookieP" ? k.setJsCookie(e.tarKey, s) : e.ds == "compProp" ? K(i.setPropValue) && i.setPropValue(e.tarKey, s) : e.ds == "compStyle" && K(i.setStyleValue) && i.setStyleValue(e.tarKey, s);
1442
- }, wt = (e) => {
1446
+ return k.setLocalParam(e.tarKey, a);
1447
+ e.ds == "jsCookieP" ? k.setJsCookie(e.tarKey, a) : e.ds == "compProp" ? K(i.setPropValue) && i.setPropValue(e.tarKey, a) : e.ds == "compStyle" && K(i.setStyleValue) && i.setStyleValue(e.tarKey, a);
1448
+ }, bt = (e) => {
1443
1449
  if (e) {
1444
- let s = e.styleSets || [], r = e.propSets || [];
1450
+ let a = e.styleSets || [], r = e.propSets || [];
1445
1451
  L(r) && r.length > 0 && K(i.setPropValue) && r.forEach((u, p) => {
1446
1452
  if (re(u)) {
1447
1453
  let m = Y(u);
1448
1454
  i.setPropValue(u.tarKey, m);
1449
1455
  }
1450
- }), L(s) && s.length > 0 && K(i.setStyleValue) && s.forEach((u, p) => {
1456
+ }), L(a) && a.length > 0 && K(i.setStyleValue) && a.forEach((u, p) => {
1451
1457
  if (re(u)) {
1452
1458
  let m = Y(u);
1453
1459
  i.setStyleValue(u.tarKey, m);
1454
1460
  }
1455
1461
  });
1456
1462
  }
1457
- }, bt = (e) => {
1458
- let s = !1;
1463
+ }, wt = (e) => {
1464
+ let a = !1;
1459
1465
  if (e && L(e.params)) {
1460
1466
  let r = e.params || [], u = null, p = !1;
1461
1467
  for (let m = 0; m < r.length; m++) {
@@ -1463,46 +1469,46 @@ function Ze(t = {}, o = !0, l = {}) {
1463
1469
  let P = Y(u), N = u.value;
1464
1470
  const ee = u.opType;
1465
1471
  if ([">", ">=", "<", "<=", "=="].includes(ee) && (P = ae(P), N = ae(N)), se[ee] ? p = se[ee](P, N) : p = !1, p) {
1466
- s = !0;
1472
+ a = !0;
1467
1473
  break;
1468
1474
  }
1469
1475
  }
1470
- if (e.enabledTip && s) {
1476
+ if (e.enabledTip && a) {
1471
1477
  let m = e.tip || {};
1472
1478
  m.tipType == "msg" ? he(m.type, m.msg, m.extParam) : m.tipType == "notify" && Re(m.type, m.msg, m.extParam);
1473
1479
  }
1474
1480
  }
1475
- return s;
1476
- }, Ne = (e, s) => {
1477
- if (e.customFunc && v(e.confirmFunc)) {
1481
+ return a;
1482
+ }, Ne = (e, a) => {
1483
+ if (e.customFunc && _(e.confirmFunc)) {
1478
1484
  const r = {
1479
1485
  helper: { ...i, ...k }
1480
1486
  };
1481
1487
  try {
1482
1488
  let u = e.confirmFunc.toString().trim();
1483
- u.indexOf("function") < 0 && (u = "function (promptValue){" + u + "}"), new Function("context", `with(context) {return ${u}}`)(r)(s);
1489
+ u.indexOf("function") < 0 && (u = "function (promptValue){" + u + "}"), new Function("context", `with(context) {return ${u}}`)(r)(a);
1484
1490
  } catch (u) {
1485
1491
  console.error("[__messageBoxHandler4CustomSuccessFunc]处理自定义失败函数时出错:", u);
1486
1492
  }
1487
1493
  }
1488
- }, xt = (e, s) => {
1489
- if (e.customFunc && v(e.errorFunc)) {
1494
+ }, xt = (e, a) => {
1495
+ if (e.customFunc && _(e.errorFunc)) {
1490
1496
  const r = {
1491
1497
  helper: { ...i, ...k }
1492
1498
  };
1493
1499
  try {
1494
1500
  let u = e.errorFunc.toString().trim();
1495
- u.indexOf("function") < 0 && (u = "function (err){" + u + "}"), new Function("context", `with(context) {return ${u}}`)(r)(s);
1501
+ u.indexOf("function") < 0 && (u = "function (err){" + u + "}"), new Function("context", `with(context) {return ${u}}`)(r)(a);
1496
1502
  } catch (u) {
1497
1503
  console.error("[__messageBoxHandler4CustomErrorFunc]处理自定义失败函数时出错:", u);
1498
1504
  }
1499
1505
  }
1500
- }, ye = (e, s) => {
1506
+ }, ye = (e, a) => {
1501
1507
  if (e.customFunc) {
1502
1508
  let r = "";
1503
- if (s == "cancel" && v(e.cancelFunc))
1509
+ if (a == "cancel" && _(e.cancelFunc))
1504
1510
  r = e.cancelFunc;
1505
- else if (s == "close" && v(e.closeFunc))
1511
+ else if (a == "close" && _(e.closeFunc))
1506
1512
  r = e.closeFunc;
1507
1513
  else
1508
1514
  return;
@@ -1517,8 +1523,8 @@ function Ze(t = {}, o = !0, l = {}) {
1517
1523
  }
1518
1524
  }
1519
1525
  }, St = async (e) => {
1520
- let s = !1;
1521
- if (e && v(e.type)) {
1526
+ let a = !1;
1527
+ if (e && _(e.type)) {
1522
1528
  let r = {
1523
1529
  ...e.params,
1524
1530
  type: e.msgType || "info",
@@ -1527,71 +1533,71 @@ function Ze(t = {}, o = !0, l = {}) {
1527
1533
  };
1528
1534
  if (e.type == "confirm") {
1529
1535
  const { errors: u, resultInfo: p } = await ht(e.title, e.message, r);
1530
- u && u.length > 0 ? u[0] == "cancel" ? ye(e, "cancel") : u[0] == "close" && ye(e, "close") : p == "confirm" && (s = !0, Ne(e, null));
1536
+ u && u.length > 0 ? u[0] == "cancel" ? ye(e, "cancel") : u[0] == "close" && ye(e, "close") : p == "confirm" && (a = !0, Ne(e, null));
1531
1537
  } else if (e.type == "prompt") {
1532
- if (v(r.inputPattern)) {
1538
+ if (_(r.inputPattern)) {
1533
1539
  const m = r.inputPattern.replace(/\\\\/g, "\\");
1534
1540
  r.inputPattern = new RegExp(m);
1535
1541
  }
1536
1542
  const { errors: u, resultInfo: p } = await gt(e.title, e.message, r);
1537
- u && u.length > 0 ? u[0] == "cancel" ? ye(e, "cancel") : u[0] == "close" ? ye(e, "close") : xt(e, u[0]) : p.action == "confirm" && (s = !0, k.setParam("promptValue", p.value), Ne(e, p.value));
1543
+ u && u.length > 0 ? u[0] == "cancel" ? ye(e, "cancel") : u[0] == "close" ? ye(e, "close") : xt(e, u[0]) : p.action == "confirm" && (a = !0, k.setParam("promptValue", p.value), Ne(e, p.value));
1538
1544
  }
1539
- e.autoBlock || (s = !0);
1545
+ e.autoBlock || (a = !0);
1540
1546
  } else
1541
- s = !0;
1542
- return s;
1547
+ a = !0;
1548
+ return a;
1543
1549
  }, Ct = (e) => {
1544
- if (e && v(e.pageId)) {
1545
- let s = { ...e };
1550
+ if (e && _(e.pageId)) {
1551
+ let a = { ...e };
1546
1552
  if (e.customPosition) {
1547
1553
  let r = (k.getParam("elementRectLeft") ?? 0) + (pe(e.leftOffset) ? e.leftOffset : 0), u = (k.getParam("elementRectTop") ?? 0) + (pe(e.topOffset) ? e.topOffset : 0);
1548
- s.absLeft = r, s.absTop = u;
1554
+ a.absLeft = r, a.absTop = u;
1549
1555
  }
1550
- w(s);
1556
+ g(a);
1551
1557
  }
1552
1558
  }, Mt = (e) => {
1553
1559
  if (e && L(e.params)) {
1554
- let s = e.params || [], r = null;
1555
- for (let u = 0; u < s.length; u++)
1556
- if (r = s[u], v(r.compId)) {
1560
+ let a = e.params || [], r = null;
1561
+ for (let u = 0; u < a.length; u++)
1562
+ if (r = a[u], _(r.compId)) {
1557
1563
  let p = r.options || {};
1558
1564
  r.type == "s" ? k.hideAndShowComp(r.compId, !0, p) : k.hideAndShowComp(r.compId, !1, p);
1559
1565
  }
1560
1566
  }
1561
1567
  }, Pt = (e) => {
1562
1568
  if (e) {
1563
- let s = e.interval ?? 1e3, r = setInterval(
1569
+ let a = e.interval ?? 1e3, r = setInterval(
1564
1570
  () => {
1565
- $("debug", "定时器触发..."), Ht();
1571
+ Z("debug", "定时器触发..."), Ht();
1566
1572
  },
1567
- s
1573
+ a
1568
1574
  );
1569
- S.push(r);
1575
+ C.push(r);
1570
1576
  }
1571
- }, Vt = (e, s = {}) => {
1572
- if (e && v(e.eventId)) {
1573
- let r = s.eventIds || [];
1577
+ }, Vt = (e, a = {}) => {
1578
+ if (e && _(e.eventId)) {
1579
+ let r = a.eventIds || [];
1574
1580
  if (r.findIndex((p) => p == e.eventId) < 0) {
1575
1581
  let p = Object.keys(n);
1576
1582
  for (let m = 0; m < p.length; m++) {
1577
1583
  let P = n[p[m]] || [];
1578
1584
  for (const N of P)
1579
1585
  if (N.id == e.eventId) {
1580
- if (r.push(N.id), s.eventIds = [...r], N.default) {
1581
- _e(N.actionList, s);
1586
+ if (r.push(N.id), a.eventIds = [...r], N.default) {
1587
+ _e(N.actionList, a);
1582
1588
  break;
1583
- } else Le(N) && _e(N.actionList, s);
1589
+ } else Le(N) && _e(N.actionList, a);
1584
1590
  break;
1585
1591
  }
1586
1592
  }
1587
1593
  } else
1588
- $("error", "存在循环调用,不执行事件配置", e.eventId);
1594
+ Z("error", "存在循环调用,不执行事件配置", e.eventId);
1589
1595
  }
1590
- }, _e = async (e = [], s = {}) => {
1596
+ }, _e = async (e = [], a = {}) => {
1591
1597
  let r = null;
1592
1598
  for (let u = 0; u < e.length; u++)
1593
1599
  if (r = e[u], r.action == "router")
1594
- x(r.config);
1600
+ S(r.config);
1595
1601
  else if (r.action == "dataRequest")
1596
1602
  await ge(r.config);
1597
1603
  else if (r.action == "cacheSet")
@@ -1605,9 +1611,9 @@ function Ze(t = {}, o = !0, l = {}) {
1605
1611
  else if (r.action == "webStorage")
1606
1612
  _t(r.config);
1607
1613
  else if (r.action == "componentSet")
1608
- wt(r.config);
1614
+ bt(r.config);
1609
1615
  else if (r.action == "actionEnd") {
1610
- if (bt(r.config)) {
1616
+ if (wt(r.config)) {
1611
1617
  console.log("actionEnd is true. break");
1612
1618
  break;
1613
1619
  }
@@ -1619,12 +1625,12 @@ function Ze(t = {}, o = !0, l = {}) {
1619
1625
  } else if (r.action == "openDialog") {
1620
1626
  Ct(r.config);
1621
1627
  break;
1622
- } else r.action == "showAndHideSet" ? Mt(r.config) : r.action == "timerSet" ? Pt(r.config) : r.action == "performEvent" && Vt(r.config, s);
1628
+ } else r.action == "showAndHideSet" ? Mt(r.config) : r.action == "timerSet" ? Pt(r.config) : r.action == "performEvent" && Vt(r.config, a);
1623
1629
  }, He = (e) => e == "inputV" || e == "_selectMenuValue" || e == "_selectItemValue" || e == "_changeItemValue", Ot = (e) => {
1624
- let s = !1, r, u, p = !1;
1625
- v(e.lType) && (He(e.lType) ? p = !0 : p = v(e.lValue));
1630
+ let a = !1, r, u, p = !1;
1631
+ _(e.lType) && (He(e.lType) ? p = !0 : p = _(e.lValue));
1626
1632
  let m = !1;
1627
- if (v(e.rType) && (He(e.rType) ? m = !0 : m = v(e.rValue)), p && m) {
1633
+ if (_(e.rType) && (He(e.rType) ? m = !0 : m = _(e.rValue)), p && m) {
1628
1634
  r = Y({
1629
1635
  ds: e.lType,
1630
1636
  key: e.lValue
@@ -1633,14 +1639,14 @@ function Ze(t = {}, o = !0, l = {}) {
1633
1639
  key: e.rValue
1634
1640
  });
1635
1641
  const P = e.opType;
1636
- [">", ">=", "<", "<=", "=="].includes(P) && (r = ae(r), u = ae(u)), se[P] ? s = se[P](r, u) : (s = !1, console.warn("useEventHandler Invalid operator: " + P));
1642
+ [">", ">=", "<", "<=", "=="].includes(P) && (r = ae(r), u = ae(u)), se[P] ? a = se[P](r, u) : (a = !1, console.warn("useEventHandler Invalid operator: " + P));
1637
1643
  } else
1638
1644
  console.warn("_judgeCondition warn: the condition config is error.");
1639
- return s;
1645
+ return a;
1640
1646
  }, Le = (e) => {
1641
- let s = !1;
1647
+ let a = !1;
1642
1648
  if (e.default)
1643
- s = !0;
1649
+ a = !0;
1644
1650
  else {
1645
1651
  let r = e.condition || [];
1646
1652
  if (r.length > 0) {
@@ -1650,53 +1656,53 @@ function Ze(t = {}, o = !0, l = {}) {
1650
1656
  u = !1;
1651
1657
  break;
1652
1658
  }
1653
- u && (s = !0);
1659
+ u && (a = !0);
1654
1660
  } else
1655
- s = !0;
1661
+ a = !0;
1656
1662
  }
1657
- return s;
1663
+ return a;
1658
1664
  }, W = (e = []) => {
1659
- for (const s of e) {
1665
+ for (const a of e) {
1660
1666
  let r = {};
1661
- if (r.eventIds = [s.id], s.default) {
1662
- _e(s.actionList, r);
1667
+ if (r.eventIds = [a.id], a.default) {
1668
+ _e(a.actionList, r);
1663
1669
  break;
1664
- } else Le(s) && _e(s.actionList, r);
1670
+ } else Le(a) && _e(a.actionList, r);
1665
1671
  }
1666
1672
  }, kt = (e) => {
1667
- f || (b && clearTimeout(b), b = setTimeout(() => {
1673
+ f || (w && clearTimeout(w), w = setTimeout(() => {
1668
1674
  if (n && n.hasOwnProperty("onMouseClick")) {
1669
1675
  if (e && e.target) {
1670
1676
  const r = e.target.getBoundingClientRect();
1671
1677
  X("elementRect", r), X("elementRectLeft", r.left), X("elementRectTop", r.top);
1672
1678
  }
1673
- let s = n.onMouseClick;
1674
- W(s);
1679
+ let a = n.onMouseClick;
1680
+ W(a);
1675
1681
  }
1676
- }, C));
1682
+ }, x));
1677
1683
  }, It = (e) => {
1678
- if (!f && (b && clearTimeout(b), n && n.hasOwnProperty("onMouseDblClick"))) {
1684
+ if (!f && (w && clearTimeout(w), n && n.hasOwnProperty("onMouseDblClick"))) {
1679
1685
  if (e && e.target) {
1680
1686
  const r = e.target.getBoundingClientRect();
1681
1687
  X("elementRect", r), X("elementRectLeft", r.left), X("elementRectTop", r.top);
1682
1688
  }
1683
- let s = n.onMouseDblClick;
1684
- W(s);
1689
+ let a = n.onMouseDblClick;
1690
+ W(a);
1685
1691
  }
1686
- }, Et = (e, s) => {
1687
- if (!f && (X("_selectMenuValue", s), n && n.hasOwnProperty("onContextMenu"))) {
1692
+ }, Et = (e, a) => {
1693
+ if (!f && (X("_selectMenuValue", a), n && n.hasOwnProperty("onContextMenu"))) {
1688
1694
  let r = n.onContextMenu;
1689
1695
  W(r);
1690
1696
  }
1691
1697
  }, Tt = (e) => {
1692
1698
  if (!f && (X("_selectItemValue", e), n && n.hasOwnProperty("selectItem"))) {
1693
- let s = n.selectItem;
1694
- W(s);
1699
+ let a = n.selectItem;
1700
+ W(a);
1695
1701
  }
1696
1702
  }, Rt = (e) => {
1697
1703
  if (!f && (X("_changeItemValue", e), n && n.hasOwnProperty("changeValue"))) {
1698
- let s = n.changeValue;
1699
- W(s);
1704
+ let a = n.changeValue;
1705
+ W(a);
1700
1706
  }
1701
1707
  }, Dt = () => {
1702
1708
  if (!f && n && n.hasOwnProperty("keyEnter")) {
@@ -1714,21 +1720,21 @@ function Ze(t = {}, o = !0, l = {}) {
1714
1720
  W(e);
1715
1721
  }
1716
1722
  }, Ft = () => {
1717
- if (S && S.length > 0)
1718
- for (let e = 0; e < S.length; e++)
1723
+ if (C && C.length > 0)
1724
+ for (let e = 0; e < C.length; e++)
1719
1725
  try {
1720
- clearInterval(S[e]);
1721
- } catch (s) {
1722
- console.error("cancel request error", s);
1726
+ clearInterval(C[e]);
1727
+ } catch (a) {
1728
+ console.error("cancel request error", a);
1723
1729
  }
1724
1730
  }, Bt = () => {
1725
1731
  if (Ft(), !f) {
1726
- if (g && g.length > 0)
1727
- for (let e = 0; e < g.length; e++)
1732
+ if (y && y.length > 0)
1733
+ for (let e = 0; e < y.length; e++)
1728
1734
  try {
1729
- g[e] && g[e]();
1730
- } catch (s) {
1731
- console.error("cancel request error", s);
1735
+ y[e] && y[e]();
1736
+ } catch (a) {
1737
+ console.error("cancel request error", a);
1732
1738
  }
1733
1739
  if (n && n.hasOwnProperty("onBeforeUnmount")) {
1734
1740
  let e = n.onBeforeUnmount;
@@ -1745,8 +1751,8 @@ function Ze(t = {}, o = !0, l = {}) {
1745
1751
  let e = n.timerTrigger;
1746
1752
  W(e);
1747
1753
  }
1748
- }, X = (e, s) => {
1749
- k.setParam(e, s);
1754
+ }, X = (e, a) => {
1755
+ k.setParam(e, a);
1750
1756
  };
1751
1757
  return {
1752
1758
  handleClick: kt,
@@ -1817,12 +1823,12 @@ const Nn = /* @__PURE__ */ Object.assign({
1817
1823
  }
1818
1824
  },
1819
1825
  setup(t, { expose: o }) {
1820
- const l = t, n = me(), f = Xe(n), i = D(null), c = O(() => l.propValue || {}), d = O(() => l.element || {}), a = O(() => c.value.components || []), h = O(() => a.value.map((I) => {
1826
+ const l = t, n = me(), f = Xe(n), i = D(null), c = O(() => l.propValue || {}), d = O(() => l.element || {}), s = O(() => c.value.components || []), h = O(() => s.value.map((I) => {
1821
1827
  let V = { ...I }, H = M(I.groupStyle);
1822
1828
  return V.computedStyle = H, V.style && (V.style.width = V.computedStyle.width, V.style.height = V.computedStyle.height), V;
1823
- })), y = O(() => d.value.events || []), g = We(), w = Je(), _ = $e(c, d, g);
1829
+ })), v = O(() => d.value.events || []), y = We(), g = Je(), b = $e(c, d, y);
1824
1830
  Ke(() => {
1825
- i.value = Ze(y.value, l.designStatus, _), i.value?.beforeMount();
1831
+ i.value = Ze(v.value, l.designStatus, b), i.value?.beforeMount();
1826
1832
  }), xe(() => {
1827
1833
  i.value?.mounted();
1828
1834
  }), ze(() => {
@@ -1830,26 +1836,26 @@ const Nn = /* @__PURE__ */ Object.assign({
1830
1836
  }), Ue(() => {
1831
1837
  i.value?.unmounted();
1832
1838
  });
1833
- const b = (I) => {
1839
+ const w = (I) => {
1834
1840
  i.value?.setParam(I);
1835
- }, C = (I) => {
1841
+ }, x = (I) => {
1836
1842
  i.value?.handleDblClick(I);
1837
1843
  }, M = (I) => {
1838
1844
  if (!I || !d.value?.style) return {};
1839
1845
  let V = { ...I }, H = d.value.style.width, q = d.value.style.height;
1840
1846
  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;
1841
- }, S = de({}), T = (I, V) => {
1842
- I ? S[`Ve${V}`] = I : delete S[`Ve${V}`];
1843
- }, E = (I) => S[`Ve${I}`], x = (I, V, H) => {
1844
- if (v(I) && v(V)) {
1847
+ }, C = de({}), T = (I, V) => {
1848
+ I ? C[`Ve${V}`] = I : delete C[`Ve${V}`];
1849
+ }, E = (I) => C[`Ve${I}`], S = (I, V, H) => {
1850
+ if (_(I) && _(V)) {
1845
1851
  const q = E(I);
1846
1852
  q && q[V] && (H ? q[V](H) : q[V]());
1847
1853
  }
1848
1854
  };
1849
1855
  o({
1850
- callGroupCompMethod: x
1856
+ callGroupCompMethod: S
1851
1857
  });
1852
- const G = { props: l, dataCache: n, smartData: f, eventHandler: i, propValue: c, element: d, components: a, computedComponents: h, events: y, router: g, route: w, compContext: _, handleClick: b, handleDblClick: C, calcCompStyle: M, componentRefs: S, setComponentRef: T, getComponentRef: E, callGroupCompMethod: x, get useDataCacheStore() {
1858
+ const G = { props: l, dataCache: n, smartData: f, eventHandler: i, propValue: c, element: d, components: s, computedComponents: h, events: v, router: y, route: g, compContext: b, handleClick: w, handleDblClick: x, calcCompStyle: M, componentRefs: C, setComponentRef: T, getComponentRef: E, callGroupCompMethod: S, get useDataCacheStore() {
1853
1859
  return me;
1854
1860
  }, get createSmartAccessor() {
1855
1861
  return Xe;
@@ -1864,7 +1870,7 @@ const Nn = /* @__PURE__ */ Object.assign({
1864
1870
  }, get getStyle() {
1865
1871
  return dt;
1866
1872
  }, get isNotEmpty() {
1867
- return v;
1873
+ return _;
1868
1874
  } };
1869
1875
  return Object.defineProperty(G, "__isScriptSetup", { enumerable: !1, value: !0 }), G;
1870
1876
  }
@@ -1872,53 +1878,53 @@ const Nn = /* @__PURE__ */ Object.assign({
1872
1878
  function Hn(t, o, l, n, f, i) {
1873
1879
  return A(), z("div", { class: "group" }, [
1874
1880
  oe("div", null, [
1875
- (A(!0), z(je, null, Fe(n.computedComponents, (c) => (A(), J(we(c.component), {
1881
+ (A(!0), z(je, null, Fe(n.computedComponents, (c) => (A(), J(be(c.component), {
1876
1882
  id: "component" + c.id,
1877
1883
  ref_for: !0,
1878
1884
  ref: (d) => n.setComponentRef(d, c.id),
1879
1885
  key: c.id,
1880
1886
  class: "component",
1881
- style: be(n.getStyle(c.computedStyle)),
1887
+ style: we(n.getStyle(c.computedStyle)),
1882
1888
  "prop-value": c.propValue,
1883
1889
  element: c
1884
1890
  }, null, 8, ["id", "style", "prop-value", "element"]))), 128))
1885
1891
  ])
1886
1892
  ]);
1887
1893
  }
1888
- const Ln = /* @__PURE__ */ Z(Nn, [["render", Hn], ["__scopeId", "data-v-20de9881"], ["__file", "Component.vue"]]), qn = /* @__PURE__ */ Object.assign({
1894
+ const Ln = /* @__PURE__ */ $(Nn, [["render", Hn], ["__scopeId", "data-v-20de9881"], ["__file", "Component.vue"]]), qn = /* @__PURE__ */ Object.assign({
1889
1895
  name: "VEDataCache"
1890
1896
  }, {
1891
1897
  __name: "index",
1892
1898
  setup(t, { expose: o }) {
1893
1899
  o();
1894
- const l = D(null), n = D(null), f = D([]), i = D(0), c = me(), d = D(!1), a = D({
1900
+ const l = D(null), n = D(null), f = D([]), i = D(0), c = me(), d = D(!1), s = D({
1895
1901
  id: "",
1896
1902
  fuzzyQry: !1,
1897
1903
  pageNum: 1,
1898
1904
  pageSize: 15
1899
1905
  }), h = () => {
1900
- a.value.pageNum = 1, g();
1901
- }, y = () => {
1906
+ s.value.pageNum = 1, y();
1907
+ }, v = () => {
1902
1908
  l.value?.resetFields(), h();
1903
- }, g = () => {
1904
- if (!v(a.value.id)) {
1909
+ }, y = () => {
1910
+ if (!_(s.value.id)) {
1905
1911
  i.value = 0, f.value = [];
1906
1912
  return;
1907
1913
  }
1908
1914
  if (d.value = !0, c.data)
1909
- if (a.value.fuzzyQry) {
1910
- let b = Object.keys(c.data), C = [];
1911
- for (let M = 0; M < b.length; M++)
1912
- b[M].startsWith(a.value.id) && C.push(b[M]);
1913
- if (i.value = C.length, i.value > 0) {
1914
- let M = (a.value.pageNum - 1) * a.value.pageSize, S = M + a.value.pageSize;
1915
+ if (s.value.fuzzyQry) {
1916
+ let w = Object.keys(c.data), x = [];
1917
+ for (let M = 0; M < w.length; M++)
1918
+ w[M].startsWith(s.value.id) && x.push(w[M]);
1919
+ if (i.value = x.length, i.value > 0) {
1920
+ let M = (s.value.pageNum - 1) * s.value.pageSize, C = M + s.value.pageSize;
1915
1921
  if (M <= i.value) {
1916
1922
  let T = [];
1917
- for (let E = M; E < S; E++)
1923
+ for (let E = M; E < C; E++)
1918
1924
  if (E < i.value) {
1919
- let x = c.data[C[E]], G = ne(x) ? ve(x) : x;
1925
+ let S = c.data[x[E]], G = ne(S) ? ve(S) : S;
1920
1926
  T.push({
1921
- key: C[E],
1927
+ key: x[E],
1922
1928
  value: G
1923
1929
  });
1924
1930
  }
@@ -1928,27 +1934,27 @@ const Ln = /* @__PURE__ */ Z(Nn, [["render", Hn], ["__scopeId", "data-v-20de9881
1928
1934
  } else
1929
1935
  f.value = [];
1930
1936
  } else {
1931
- let b = c.data[a.value.id];
1932
- if (Se(b))
1937
+ let w = c.data[s.value.id];
1938
+ if (Se(w))
1933
1939
  i.value = 0, f.value = [];
1934
1940
  else {
1935
1941
  i.value = 1;
1936
- let C = ne(b) ? ve(b) : b;
1942
+ let x = ne(w) ? ve(w) : w;
1937
1943
  f.value = [{
1938
- key: a.value.id,
1939
- value: C
1944
+ key: s.value.id,
1945
+ value: x
1940
1946
  }];
1941
1947
  }
1942
1948
  }
1943
1949
  d.value = !1;
1944
- }, _ = { queryForm: l, resultTableRef: n, dataList: f, total: i, dataCache: c, loading: d, queryParams: a, handleQuery: h, resetQuery: y, getList: g, handleCopyData: (b) => {
1945
- b && ke(b.value) && he("success", "复制成功");
1950
+ }, b = { queryForm: l, resultTableRef: n, dataList: f, total: i, dataCache: c, loading: d, queryParams: s, handleQuery: h, resetQuery: v, getList: y, handleCopyData: (w) => {
1951
+ w && ke(w.value) && he("success", "复制成功");
1946
1952
  }, ref: D, get useDataCacheStore() {
1947
1953
  return me;
1948
1954
  }, get copyToClipboard() {
1949
1955
  return ke;
1950
1956
  }, get isNotEmpty() {
1951
- return v;
1957
+ return _;
1952
1958
  }, get isNullOrUndefined() {
1953
1959
  return Se;
1954
1960
  }, get isObject() {
@@ -1958,14 +1964,14 @@ const Ln = /* @__PURE__ */ Z(Nn, [["render", Hn], ["__scopeId", "data-v-20de9881
1958
1964
  }, get showMessage() {
1959
1965
  return he;
1960
1966
  } };
1961
- return Object.defineProperty(_, "__isScriptSetup", { enumerable: !1, value: !0 }), _;
1967
+ return Object.defineProperty(b, "__isScriptSetup", { enumerable: !1, value: !0 }), b;
1962
1968
  }
1963
1969
  });
1964
1970
  function Kn(t, o, l, n, f, i) {
1965
- const c = B("el-input"), d = B("el-form-item"), a = B("el-switch"), h = B("el-button"), y = B("el-form"), g = B("el-table-column"), w = B("el-table"), _ = B("pagination"), b = Wt("loading");
1971
+ const c = B("el-input"), d = B("el-form-item"), s = B("el-switch"), h = B("el-button"), v = B("el-form"), y = B("el-table-column"), g = B("el-table"), b = B("pagination"), w = Wt("loading");
1966
1972
  return A(), z("div", { class: "panel-area" }, [
1967
1973
  oe("div", { class: "panel-condition" }, [
1968
- R(y, {
1974
+ R(v, {
1969
1975
  model: n.queryParams,
1970
1976
  ref: "queryForm",
1971
1977
  inline: !0
@@ -1978,7 +1984,7 @@ function Kn(t, o, l, n, f, i) {
1978
1984
  default: j(() => [
1979
1985
  R(c, {
1980
1986
  modelValue: n.queryParams.id,
1981
- "onUpdate:modelValue": o[0] || (o[0] = (C) => n.queryParams.id = C),
1987
+ "onUpdate:modelValue": o[0] || (o[0] = (x) => n.queryParams.id = x),
1982
1988
  placeholder: "请输入缓存key",
1983
1989
  clearable: "",
1984
1990
  style: { width: "240px" },
@@ -1993,9 +1999,9 @@ function Kn(t, o, l, n, f, i) {
1993
1999
  prop: "name"
1994
2000
  }, {
1995
2001
  default: j(() => [
1996
- R(a, {
2002
+ R(s, {
1997
2003
  modelValue: n.queryParams.fuzzyQry,
1998
- "onUpdate:modelValue": o[1] || (o[1] = (C) => n.queryParams.fuzzyQry = C),
2004
+ "onUpdate:modelValue": o[1] || (o[1] = (x) => n.queryParams.fuzzyQry = x),
1999
2005
  "active-text": "模糊",
2000
2006
  "inactive-text": "精确"
2001
2007
  }, null, 8, ["modelValue"])
@@ -2039,7 +2045,7 @@ function Kn(t, o, l, n, f, i) {
2039
2045
  F(`\r
2040
2046
      \r
2041
2047
  `),
2042
- Oe((A(), J(w, {
2048
+ Oe((A(), J(g, {
2043
2049
  ref: "resultTableRef",
2044
2050
  data: n.dataList,
2045
2051
  stripe: "",
@@ -2047,13 +2053,13 @@ function Kn(t, o, l, n, f, i) {
2047
2053
  "highlight-current-row": ""
2048
2054
  }, {
2049
2055
  default: j(() => [
2050
- R(g, {
2056
+ R(y, {
2051
2057
  type: "index",
2052
2058
  align: "center",
2053
2059
  width: "60"
2054
2060
  }),
2055
2061
  F(),
2056
- R(g, {
2062
+ R(y, {
2057
2063
  label: "缓存Key",
2058
2064
  align: "center",
2059
2065
  property: "key",
@@ -2061,7 +2067,7 @@ function Kn(t, o, l, n, f, i) {
2061
2067
  "min-width": "200"
2062
2068
  }),
2063
2069
  F(),
2064
- R(g, {
2070
+ R(y, {
2065
2071
  label: "缓存值",
2066
2072
  align: "left",
2067
2073
  property: "value",
@@ -2069,17 +2075,17 @@ function Kn(t, o, l, n, f, i) {
2069
2075
  "min-width": "400"
2070
2076
  }),
2071
2077
  F(),
2072
- R(g, {
2078
+ R(y, {
2073
2079
  label: "操作",
2074
2080
  align: "center",
2075
2081
  "show-overflow-tooltip": !0,
2076
2082
  "min-width": "80"
2077
2083
  }, {
2078
- default: j((C) => [
2084
+ default: j((x) => [
2079
2085
  R(h, {
2080
2086
  link: "",
2081
2087
  icon: "document",
2082
- onClick: (M) => n.handleCopyData(C.row)
2088
+ onClick: (M) => n.handleCopyData(x.row)
2083
2089
  }, {
2084
2090
  default: j(() => [
2085
2091
  F(`复制数据\r
@@ -2093,15 +2099,15 @@ function Kn(t, o, l, n, f, i) {
2093
2099
  ]),
2094
2100
  _: 1
2095
2101
  }, 8, ["data"])), [
2096
- [b, n.loading]
2102
+ [w, n.loading]
2097
2103
  ]),
2098
2104
  F(),
2099
- Oe(R(_, {
2105
+ Oe(R(b, {
2100
2106
  total: n.total,
2101
2107
  page: n.queryParams.pageNum,
2102
- "onUpdate:page": o[2] || (o[2] = (C) => n.queryParams.pageNum = C),
2108
+ "onUpdate:page": o[2] || (o[2] = (x) => n.queryParams.pageNum = x),
2103
2109
  limit: n.queryParams.pageSize,
2104
- "onUpdate:limit": o[3] || (o[3] = (C) => n.queryParams.pageSize = C),
2110
+ "onUpdate:limit": o[3] || (o[3] = (x) => n.queryParams.pageSize = x),
2105
2111
  pageSizes: [15, 20, 30, 50],
2106
2112
  onPagination: n.getList
2107
2113
  }, null, 8, ["total", "page", "limit"]), [
@@ -2110,8 +2116,8 @@ function Kn(t, o, l, n, f, i) {
2110
2116
  ])
2111
2117
  ]);
2112
2118
  }
2113
- const zn = /* @__PURE__ */ Z(qn, [["render", Kn], ["__scopeId", "data-v-55cea49e"], ["__file", "index.vue"]]), Un = [
2114
- wn,
2119
+ const zn = /* @__PURE__ */ $(qn, [["render", Kn], ["__scopeId", "data-v-55cea49e"], ["__file", "index.vue"]]), Un = [
2120
+ bn,
2115
2121
  Mn,
2116
2122
  En,
2117
2123
  zn,