hflvloader 0.0.11 → 0.0.12

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 +749 -747
  2. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
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 De, createElementBlock as W, openBlock as R, createBlock as $, resolveDynamicComponent as xe, normalizeStyle as Se, vShow as rt, computed as O, reactive as he, onMounted as Ce, watch as Me, ref as T, createElementVNode as le, Fragment as He, renderList as Le, provide as oe, defineComponent as Xt, normalizeClass as lt, resolveComponent as B, withCtx as A, createVNode as E, mergeProps as Zt, createSlots as en, createCommentVNode as Je, toDisplayString as tn, createTextVNode as N, renderSlot as nn, inject as me, onBeforeMount as Ge, onBeforeUnmount as $e, onUnmounted as Qe, resolveDirective as on, withKeys as rn } from "vue";
3
- import ln from "json5";
4
- import an from "js-md5";
2
+ import { withDirectives as De, createElementBlock as W, openBlock as A, createBlock as $, resolveDynamicComponent as be, normalizeStyle as Se, vShow as ot, computed as O, reactive as he, onMounted as Ce, watch as Me, ref as R, createElementVNode as le, Fragment as Ne, renderList as He, provide as oe, defineComponent as Yt, normalizeClass as rt, resolveComponent as H, withCtx as F, createVNode as T, mergeProps as Xt, createSlots as Zt, createCommentVNode as We, toDisplayString as en, createTextVNode as j, renderSlot as tn, inject as ge, onBeforeMount as Je, onBeforeUnmount as Ge, onUnmounted as $e, resolveDirective as nn, withKeys as on } from "vue";
3
+ import rn from "json5";
4
+ import ln from "js-md5";
5
5
  import { defineStore as sn } from "pinia";
6
6
  import Ie from "js-cookie";
7
- import { ElMessage as cn, ElNotification as un, ElLoading as fn, ElMessageBox as at } from "element-plus";
8
- import { useRouter as Ye, useRoute as Xe } from "vue-router";
9
- let Fe = class L {
7
+ import { ElMessage as an, ElNotification as cn, ElLoading as un, ElMessageBox as lt } from "element-plus";
8
+ import { useRouter as Qe, useRoute as Ye } from "vue-router";
9
+ class B {
10
10
  static SPECIAL_CHARS = ["0", "#", ".", "-", ",", "E", "%", "¤", "‰", "'"];
11
11
  constructor() {
12
12
  this.jsjava_class = "jsjava.text.NumberFormat", this.pattern = "", this._parsed = null;
@@ -27,7 +27,7 @@ let Fe = class L {
27
27
  r = !r;
28
28
  continue;
29
29
  }
30
- !r && L.SPECIAL_CHARS.indexOf(u) === -1 && console.warn(`警告: 模式包含非法字符: "${u}", 模式: "${o}"`);
30
+ !r && B.SPECIAL_CHARS.indexOf(u) === -1 && console.warn(`警告: 模式包含非法字符: "${u}", 模式: "${o}"`);
31
31
  }
32
32
  this.pattern = o, this._parsed = this._parsePattern(o);
33
33
  }
@@ -52,10 +52,10 @@ let Fe = class L {
52
52
  groupingSize: 3
53
53
  }, t = o.indexOf("%");
54
54
  o.indexOf("¤");
55
- const u = o.indexOf("‰"), s = o.indexOf("E"), c = o.indexOf("."), p = o.indexOf(",");
56
- if (t !== -1 && (r.isPercent = !0, r.multiplier = 100, o = o.replace("%", "")), u !== -1 && (r.multiplier = 1e3, o = o.replace("‰", "")), s !== -1 && (r.isScientific = !0, o = o.substring(0, s)), p !== -1 && (r.useGrouping = !0), c !== -1) {
57
- const a = o.substring(0, c), m = o.substring(c + 1), y = (m.match(/0/g) || []).length;
58
- r.minFractionDigits = y, r.maxFractionDigits = m.length, r.decimalPart = m, r.minIntegerDigits = (a.match(/0/g) || []).length, r.integerPart = a;
55
+ const u = o.indexOf("‰"), a = o.indexOf("E"), c = o.indexOf("."), p = o.indexOf(",");
56
+ if (t !== -1 && (r.isPercent = !0, r.multiplier = 100, o = o.replace("%", "")), u !== -1 && (r.multiplier = 1e3, o = o.replace("‰", "")), a !== -1 && (r.isScientific = !0, o = o.substring(0, a)), p !== -1 && (r.useGrouping = !0), c !== -1) {
57
+ const i = o.substring(0, c), g = o.substring(c + 1), y = (g.match(/0/g) || []).length;
58
+ r.minFractionDigits = y, r.maxFractionDigits = g.length, r.decimalPart = g, r.minIntegerDigits = (i.match(/0/g) || []).length, r.integerPart = i;
59
59
  } else
60
60
  r.minIntegerDigits = (o.match(/0/g) || []).length, r.integerPart = o;
61
61
  return r;
@@ -75,8 +75,8 @@ let Fe = class L {
75
75
  let t = o * r.multiplier;
76
76
  const u = t < 0;
77
77
  t = Math.abs(t);
78
- let s = this._formatNumber(t, r);
79
- return u && (s = "-" + s), r.isPercent ? s += "%" : r.multiplier === 1e3 && (s += "‰"), s;
78
+ let a = this._formatNumber(t, r);
79
+ return u && (a = "-" + a), r.isPercent ? a += "%" : r.multiplier === 1e3 && (a += "‰"), a;
80
80
  }
81
81
  /**
82
82
  * 格式化核心数字部分
@@ -84,8 +84,8 @@ let Fe = class L {
84
84
  */
85
85
  _formatNumber(o, r) {
86
86
  const u = o.toFixed(r.maxFractionDigits).split(".");
87
- let s = u[0], c = u[1] || "";
88
- return c = this._formatDecimal(c, r), s = this._formatInteger(s, r), c ? s + "." + c : r.minFractionDigits > 0 ? s + "." + "0".repeat(r.minFractionDigits) : s;
87
+ let a = u[0], c = u[1] || "";
88
+ return c = this._formatDecimal(c, r), a = this._formatInteger(a, r), c ? a + "." + c : r.minFractionDigits > 0 ? a + "." + "0".repeat(r.minFractionDigits) : a;
89
89
  }
90
90
  /**
91
91
  * 格式化整数部分
@@ -125,17 +125,17 @@ let Fe = class L {
125
125
  const {
126
126
  decimals: t = 2,
127
127
  useGrouping: u = !0,
128
- isPercent: s = !1
128
+ isPercent: a = !1
129
129
  } = r;
130
130
  let c = o;
131
- s && (c *= 100);
131
+ a && (c *= 100);
132
132
  const p = Math.pow(10, t);
133
133
  c = Math.round(c * p) / p;
134
- let [a, m = ""] = c.toFixed(t).split(".");
135
- const y = a.charAt(0) === "-";
136
- y && (a = a.substring(1)), u && (a = a.replace(/\B(?=(\d{3})+(?!\d))/g, ","));
137
- let h = m ? `${a}.${m}` : a;
138
- return y && (h = `-${h}`), s && (h += "%"), h;
134
+ let [i, g = ""] = c.toFixed(t).split(".");
135
+ const y = i.charAt(0) === "-";
136
+ y && (i = i.substring(1)), u && (i = i.replace(/\B(?=(\d{3})+(?!\d))/g, ","));
137
+ let h = g ? `${i}.${g}` : i;
138
+ return y && (h = `-${h}`), a && (h += "%"), h;
139
139
  }
140
140
  // ==================== 静态方法 ====================
141
141
  /**
@@ -145,7 +145,7 @@ let Fe = class L {
145
145
  * @returns {string} 格式化结果
146
146
  */
147
147
  static format(o, r) {
148
- const t = new L();
148
+ const t = new B();
149
149
  return t.applyPattern(r), t.format(o);
150
150
  }
151
151
  /**
@@ -156,7 +156,7 @@ let Fe = class L {
156
156
  */
157
157
  static formatInteger(o, r = !0) {
158
158
  const t = r ? "#,##0" : "0";
159
- return L.format(o, t);
159
+ return B.format(o, t);
160
160
  }
161
161
  /**
162
162
  * 格式化小数
@@ -167,8 +167,8 @@ let Fe = class L {
167
167
  * @returns {string} 格式化结果
168
168
  */
169
169
  static formatDecimal(o, r = 0, t = 3, u = !0) {
170
- const s = u ? "#,##0" : "0", c = "0".repeat(r) + "#".repeat(t - r);
171
- return L.format(o, `${s}.${c}`);
170
+ const a = u ? "#,##0" : "0", c = "0".repeat(r) + "#".repeat(t - r);
171
+ return B.format(o, `${a}.${c}`);
172
172
  }
173
173
  /**
174
174
  * 格式化百分比
@@ -178,8 +178,8 @@ let Fe = class L {
178
178
  * @returns {string} 格式化结果
179
179
  */
180
180
  static formatPercent(o, r = 2, t = !0) {
181
- const u = t ? "#,##0" : "0", s = "0".repeat(r);
182
- return L.format(o, `${u}.${s}%`);
181
+ const u = t ? "#,##0" : "0", a = "0".repeat(r);
182
+ return B.format(o, `${u}.${a}%`);
183
183
  }
184
184
  /**
185
185
  * 格式化货币
@@ -190,8 +190,8 @@ let Fe = class L {
190
190
  * @returns {string} 格式化结果
191
191
  */
192
192
  static formatCurrency(o, r = 2, t = !0, u = "¥") {
193
- const s = t ? "#,##0" : "0", c = "0".repeat(r);
194
- return L.format(o, `${u}${s}.${c}`);
193
+ const a = t ? "#,##0" : "0", c = "0".repeat(r);
194
+ return B.format(o, `${u}${a}.${c}`);
195
195
  }
196
196
  /**
197
197
  * 解析格式化模式并验证
@@ -199,7 +199,7 @@ let Fe = class L {
199
199
  * @returns {object} 解析结果
200
200
  */
201
201
  static parsePattern(o) {
202
- const r = new L();
202
+ const r = new B();
203
203
  return r.applyPattern(o), r._parsed;
204
204
  }
205
205
  /**
@@ -209,7 +209,7 @@ let Fe = class L {
209
209
  */
210
210
  static isValidPattern(o) {
211
211
  try {
212
- return new L().applyPattern(o), !0;
212
+ return new B().applyPattern(o), !0;
213
213
  } catch {
214
214
  return !1;
215
215
  }
@@ -221,7 +221,7 @@ let Fe = class L {
221
221
  * @returns {NumberFormat} 格式化器实例
222
222
  */
223
223
  static getIntegerInstance(o = !0) {
224
- const r = new L();
224
+ const r = new B();
225
225
  return r.applyPattern(o ? "#,##0" : "0"), r;
226
226
  }
227
227
  /**
@@ -232,8 +232,8 @@ let Fe = class L {
232
232
  * @returns {NumberFormat} 格式化器实例
233
233
  */
234
234
  static getNumberInstance(o = !0, r = 0, t = 3) {
235
- const u = new L(), s = o ? "#,##0" : "0", c = "0".repeat(r) + "#".repeat(t - r);
236
- return u.applyPattern(`${s}.${c}`), u;
235
+ const u = new B(), a = o ? "#,##0" : "0", c = "0".repeat(r) + "#".repeat(t - r);
236
+ return u.applyPattern(`${a}.${c}`), u;
237
237
  }
238
238
  /**
239
239
  * 创建货币格式化器
@@ -243,8 +243,8 @@ let Fe = class L {
243
243
  * @returns {NumberFormat} 格式化器实例
244
244
  */
245
245
  static getCurrencyInstance(o = "¥", r = 2, t = !0) {
246
- const u = new L(), s = t ? "#,##0" : "0", c = "0".repeat(r);
247
- return u.applyPattern(`${o}${s}.${c}`), u;
246
+ const u = new B(), a = t ? "#,##0" : "0", c = "0".repeat(r);
247
+ return u.applyPattern(`${o}${a}.${c}`), u;
248
248
  }
249
249
  /**
250
250
  * 创建百分比格式化器
@@ -253,15 +253,15 @@ let Fe = class L {
253
253
  * @returns {NumberFormat} 格式化器实例
254
254
  */
255
255
  static getPercentInstance(o = 2, r = !0) {
256
- const t = new L(), u = r ? "#,##0" : "0", s = "0".repeat(o);
257
- return t.applyPattern(`${u}.${s}%`), t;
256
+ const t = new B(), u = r ? "#,##0" : "0", a = "0".repeat(o);
257
+ return t.applyPattern(`${u}.${a}%`), t;
258
258
  }
259
259
  /**
260
260
  * 创建科学计数法格式化器
261
261
  * @returns {NumberFormat} 格式化器实例
262
262
  */
263
263
  static getScientificInstance() {
264
- const o = new L();
264
+ const o = new B();
265
265
  return o.applyPattern("0.##E0"), o;
266
266
  }
267
267
  // ==================== 常用格式化快捷方法 ====================
@@ -301,14 +301,14 @@ let Fe = class L {
301
301
  */
302
302
  static formatFileSize(o, r = 2) {
303
303
  if (o === 0) return "0 Bytes";
304
- const t = 1024, u = r < 0 ? 0 : r, s = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"], c = Math.floor(Math.log(o) / Math.log(t));
305
- return parseFloat((o / Math.pow(t, c)).toFixed(u)) + " " + s[c];
304
+ const t = 1024, u = r < 0 ? 0 : r, a = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"], c = Math.floor(Math.log(o) / Math.log(t));
305
+ return parseFloat((o / Math.pow(t, c)).toFixed(u)) + " " + a[c];
306
306
  }
307
- };
308
- Fe.commonNF = new Fe();
307
+ }
308
+ B.commonNF = new B();
309
309
  (function() {
310
310
  const n = () => {
311
- console.log("%c 可视化加载器 hflvloader", "color: #3498db; font-size: 16px; font-weight: bold;"), console.log("%c版本号: 0.0.11", "color: #2ecc71;"), console.log("%c编译日期: 2026/2/8 16:19:40", "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;");
311
+ console.log("%c 可视化加载器 hflvloader", "color: #3498db; font-size: 16px; font-weight: bold;"), console.log("%c版本号: 0.0.12", "color: #2ecc71;"), console.log("%c编译日期: 2026/3/8 17:39:23", "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;");
312
312
  };
313
313
  if (typeof window < "u") {
314
314
  window._copyright_hflvloader = n;
@@ -328,7 +328,7 @@ Fe.commonNF = new Fe();
328
328
  function v(n) {
329
329
  return !!(n && n != "");
330
330
  }
331
- function se(n) {
331
+ function ae(n) {
332
332
  return !isNaN(parseFloat(n)) && isFinite(n);
333
333
  }
334
334
  function it(n) {
@@ -340,13 +340,13 @@ function q(n) {
340
340
  function Pe(n) {
341
341
  return n == null;
342
342
  }
343
- function pn(n) {
343
+ function fn(n) {
344
344
  return !!(n || n === 0);
345
345
  }
346
346
  function re(n) {
347
347
  return n instanceof Object && n !== null;
348
348
  }
349
- function dn(n) {
349
+ function pn(n) {
350
350
  return Object.keys(n).length === 0;
351
351
  }
352
352
  function U(n) {
@@ -355,48 +355,48 @@ function U(n) {
355
355
  function st(n) {
356
356
  return n && n.__v_isRef && !!n.effect;
357
357
  }
358
- function qe(n) {
358
+ function Le(n) {
359
359
  return typeof n == "string" || n instanceof String;
360
360
  }
361
- function ct(n, o = {}) {
362
- if (qe(n) && v(n))
361
+ function at(n, o = {}) {
362
+ if (Le(n) && v(n))
363
363
  try {
364
- return ln.parse(n);
364
+ return rn.parse(n);
365
365
  } catch (r) {
366
366
  return console.warn("JSON 解析错误:", r), o;
367
367
  }
368
368
  else
369
369
  return re(n) ? n : o;
370
370
  }
371
- function we(n) {
372
- return qe(n) ? n : re(n) ? JSON.stringify(n, null, 2) : "";
371
+ function xe(n) {
372
+ return Le(n) ? n : re(n) ? JSON.stringify(n, null, 2) : "";
373
373
  }
374
- function ge(n) {
374
+ function me(n) {
375
375
  if (typeof n == "object") {
376
376
  const o = Array.isArray(n) ? [] : {};
377
377
  for (const r in n)
378
- typeof n[r] == "object" ? o[r] = ge(n[r]) : o[r] = n[r];
378
+ typeof n[r] == "object" ? o[r] = me(n[r]) : o[r] = n[r];
379
379
  return o;
380
380
  }
381
381
  return n;
382
382
  }
383
- function ut(n, o) {
383
+ function ct(n, o) {
384
384
  for (const r in o)
385
- o[r] instanceof Object && n[r] && Object.assign(o[r], ut(n[r], o[r]));
385
+ o[r] instanceof Object && n[r] && Object.assign(o[r], ct(n[r], o[r]));
386
386
  return { ...n, ...o };
387
387
  }
388
- function ft(n, o) {
388
+ function ut(n, o) {
389
389
  if (n) {
390
- let r = n.getFullYear(), t = n.getMonth() + 1, u = n.getDate(), s = n.getHours(), c = n.getMinutes(), p = n.getSeconds(), a = o;
391
- return a = a.replace("yyyy", r), a.indexOf("MM") >= 0 ? t >= 10 ? a = a.replace("MM", t) : a = a.replace("MM", "0" + t) : a = a.replace("M", t), a.indexOf("dd") >= 0 ? u >= 10 ? a = a.replace("dd", u) : a = a.replace("dd", "0" + u) : a = a.replace("d", u), a.indexOf("HH") >= 0 ? s >= 10 ? a = a.replace("HH", s) : a = a.replace("HH", "0" + s) : a = a.replace("H", s), 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 ? p >= 10 ? a = a.replace("ss", p) : a = a.replace("ss", "0" + p) : a = a.replace("s", p), a;
390
+ let r = n.getFullYear(), t = n.getMonth() + 1, u = n.getDate(), a = n.getHours(), c = n.getMinutes(), p = n.getSeconds(), i = o;
391
+ return i = i.replace("yyyy", r), 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 ? u >= 10 ? i = i.replace("dd", u) : i = i.replace("dd", "0" + u) : i = i.replace("d", u), 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 ? p >= 10 ? i = i.replace("ss", p) : i = i.replace("ss", "0" + p) : i = i.replace("s", p), i;
392
392
  }
393
393
  return "";
394
394
  }
395
- function pt(n) {
395
+ function ft(n) {
396
396
  if (n) {
397
397
  if (it(n))
398
398
  return n;
399
- if (se(n)) {
399
+ if (ae(n)) {
400
400
  let o = /* @__PURE__ */ new Date(), r = parseInt(n);
401
401
  return r < 9999999999 && (r = r * 1e3), o.setTime(r), o;
402
402
  } else
@@ -407,7 +407,7 @@ function pt(n) {
407
407
  }
408
408
  return null;
409
409
  }
410
- function mn(n, o = 0) {
410
+ function dn(n, o = 0) {
411
411
  if (n) {
412
412
  let r = n.getDay(), t = ["星期天", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], u = ["周末", "周一", "周二", "周三", "周四", "周五", "周六"];
413
413
  return o == 1 ? t[r] : o == 2 ? u[r] : r;
@@ -427,15 +427,15 @@ async function Ee(n) {
427
427
  return console.error("无法复制内容", o), !1;
428
428
  }
429
429
  }
430
- async function hn() {
430
+ async function mn() {
431
431
  try {
432
432
  return navigator.clipboard ? await navigator.clipboard.readText() : null;
433
433
  } catch (n) {
434
434
  return console.error("无法读取黏贴版内容", n), null;
435
435
  }
436
436
  }
437
- function yn(n, o) {
438
- return se(n) ? n : o;
437
+ function hn(n, o) {
438
+ return ae(n) ? n : o;
439
439
  }
440
440
  function Te(n, o) {
441
441
  return o.split(".").reduce((r, t) => r && r[t], n);
@@ -452,7 +452,7 @@ function Re(n, o) {
452
452
  return !1;
453
453
  return !0;
454
454
  }
455
- function dt() {
455
+ function pt() {
456
456
  if (typeof crypto < "u" && crypto.randomUUID)
457
457
  return crypto.randomUUID();
458
458
  if (typeof crypto < "u" && crypto.getRandomValues) {
@@ -464,7 +464,7 @@ function dt() {
464
464
  return (n === "x" ? o : o & 3 | 8).toString(16);
465
465
  });
466
466
  }
467
- function _n(n, o = {}, r) {
467
+ function yn(n, o = {}, r) {
468
468
  try {
469
469
  let t = n.toString().trim();
470
470
  return t.indexOf("function") < 0 && (t = "function(param){" + t + "}"), new Function(`{return ${t}}`)()(o);
@@ -472,8 +472,8 @@ function _n(n, o = {}, r) {
472
472
  return console.error("执行自定义数时出错:", t), r;
473
473
  }
474
474
  }
475
- function mt(n) {
476
- return v(n) ? an(n) : "";
475
+ function dt(n) {
476
+ return v(n) ? ln(n) : "";
477
477
  }
478
478
  function X(n, ...o) {
479
479
  if (!window.hflvloader_debug) return;
@@ -500,65 +500,65 @@ function X(n, ...o) {
500
500
  console.log(t[0], t[1], ...o);
501
501
  }
502
502
  }
503
- function vn(n, o = 0) {
503
+ function _n(n, o = 0) {
504
504
  if (typeof n != "number" || isNaN(n))
505
505
  return NaN;
506
506
  const t = 10 * Math.max(0, Math.floor(Number(o) || 0));
507
507
  return Math.round(n * t) / t;
508
508
  }
509
- function bn(n) {
509
+ function vn(n) {
510
510
  return (Math.floor(n) & 1) === 0;
511
511
  }
512
512
  function wn(n, o = 0, r = 3, t = !1) {
513
- return se(n) ? Fe.formatDecimal(Number(n), o, r, t) : n;
513
+ return ae(n) ? B.formatDecimal(Number(n), o, r, t) : n;
514
514
  }
515
- const fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
515
+ const uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
516
516
  __proto__: null,
517
517
  consolePrint: X,
518
518
  copyToClipboard: Ee,
519
- deepCopy: ge,
520
- deepMerge: ut,
521
- doMD5: mt,
522
- execCustomFunction: _n,
523
- formatDate: ft,
519
+ deepCopy: me,
520
+ deepMerge: ct,
521
+ doMD5: dt,
522
+ execCustomFunction: yn,
523
+ formatDate: ut,
524
524
  formatNum: wn,
525
- generateSecureUUID: dt,
526
- getDate: pt,
527
- getJsonObject: ct,
528
- getValByDefault: yn,
525
+ generateSecureUUID: pt,
526
+ getDate: ft,
527
+ getJsonObject: at,
528
+ getValByDefault: hn,
529
529
  getValueByPath: Te,
530
- getWeek: mn,
530
+ getWeek: dn,
531
531
  hasOwnPathInObject: Re,
532
532
  isArray: q,
533
533
  isComputed: st,
534
534
  isDate: it,
535
- isEmptyObject: dn,
536
- isEven: bn,
535
+ isEmptyObject: pn,
536
+ isEven: vn,
537
537
  isFunction: U,
538
538
  isNotEmpty: v,
539
539
  isNullOrUndefined: Pe,
540
- isNumber: se,
540
+ isNumber: ae,
541
541
  isObject: re,
542
- isString: qe,
543
- isValid: pn,
544
- keepDecimalCalc: vn,
545
- pasteFromClipboard: hn,
546
- toJsonStr: we
542
+ isString: Le,
543
+ isValid: fn,
544
+ keepDecimalCalc: _n,
545
+ pasteFromClipboard: mn,
546
+ toJsonStr: xe
547
547
  }, Symbol.toStringTag, { value: "Module" })), xn = ["width", "height", "scale"];
548
- function Ze(n) {
548
+ function Xe(n) {
549
549
  const o = {};
550
550
  return Object.keys(n).filter((r) => !xn.includes(r)).forEach((r) => {
551
551
  r === "fontSize" ? o[r] += "px" : r === "backgroundImage" && v(n[r]) ? o["background-image"] = "url(" + n[r] + ")" : r === "backgroundRepeat" ? o["background-repeat"] = n[r] : r === "backgroundSize" ? o["background-size"] = n[r] : r === "backgroundPosition" ? o["background-position"] = n[r] : o[r] = n[r];
552
552
  }), o;
553
553
  }
554
554
  const gt = ["fontSize", "width", "height", "top", "left", "borderWidth", "letterSpacing", "borderRadius"];
555
- function ht(n, o = []) {
555
+ function mt(n, o = []) {
556
556
  const r = {};
557
557
  return Object.keys(n).forEach((t) => {
558
558
  o.includes(t) || (t != "rotate" ? n[t] !== "" && (r[t] = n[t], gt.includes(t) && (r[t] += "px")) : r.transform = `${t}(${n[t]}deg)`);
559
559
  }), r;
560
560
  }
561
- function Sn(n, o = []) {
561
+ function bn(n, o = []) {
562
562
  const r = {};
563
563
  return [
564
564
  "opacity",
@@ -577,22 +577,22 @@ function Sn(n, o = []) {
577
577
  o.includes(t) || (t != "rotate" ? n[t] !== "" && (r[t] = n[t], gt.includes(t) && (r[t] += "px")) : r.transform = `${t}(${n[t]}deg)`);
578
578
  }), r;
579
579
  }
580
- function Cn(n) {
580
+ function Sn(n) {
581
581
  return n * Math.PI / 180;
582
582
  }
583
- function Pn(n) {
583
+ function Cn(n) {
584
584
  return (n + 360) % 360;
585
585
  }
586
- function Mn(n, o, r, t, u, s, c) {
587
- let p = Pn(n.rotate);
588
- const a = Cn(p), m = Math.round((n.left + n.width / 2) * 10) / 10, y = Math.round((n.top + n.height / 2) * 10) / 10;
589
- let h = p, _ = a;
586
+ function Pn(n, o, r, t, u, a, c) {
587
+ let p = Cn(n.rotate);
588
+ const i = Sn(p), g = Math.round((n.left + n.width / 2) * 10) / 10, y = Math.round((n.top + n.height / 2) * 10) / 10;
589
+ let h = p, _ = i;
590
590
  if (Math.abs(o - r) > 1e-3) {
591
591
  const G = Math.cos(_), Ve = Math.sin(_);
592
592
  _ = Math.atan2(r * Ve, o * G), h = Math.floor(_ * 180 / Math.PI % 360), h < 0 && (h += 360);
593
593
  }
594
- const b = Math.abs(Math.cos(_)), w = Math.abs(Math.sin(_));
595
- let S = Math.round((n.width * b + n.height * w) * 10) / 10, P = Math.round((n.width * w + n.height * b) * 10) / 10, C = m - 0.5 * P, F = y - 0.5 * S, k = P, x = S, j = Math.round(n.height * w * 10) / 10, D = Math.round(j / k * 1e3) / 1e3;
594
+ const w = Math.abs(Math.cos(_)), x = Math.abs(Math.sin(_));
595
+ let S = Math.round((n.width * w + n.height * x) * 10) / 10, P = Math.round((n.width * x + n.height * w) * 10) / 10, C = g - 0.5 * P, E = y - 0.5 * S, k = P, b = S, N = Math.round(n.height * x * 10) / 10, D = Math.round(N / k * 1e3) / 1e3;
596
596
  if (o != 1) {
597
597
  if (n.wdSet == "calc")
598
598
  k = Math.floor(k * o);
@@ -601,103 +601,103 @@ function Mn(n, o, r, t, u, s, c) {
601
601
  k = Math.floor(t - G);
602
602
  }
603
603
  if (n.hAffix != "left") if (n.hAffix == "right") {
604
- let G = s - (C + k);
604
+ let G = a - (C + k);
605
605
  C = t - G - k;
606
606
  } else n.hAffix == "center" ? C = Math.floor(t * 0.5 - k * 0.5) : C = Math.floor(C * o);
607
607
  }
608
608
  if (r != 1) {
609
609
  if (n.htSet == "calc")
610
- x = Math.floor(x * r);
610
+ b = Math.floor(b * r);
611
611
  else if (n.htSet == "overspread") {
612
612
  let G = n.htReserve < 0 ? 0 : n.htReserve;
613
- x = Math.floor(u - G);
613
+ b = Math.floor(u - G);
614
614
  }
615
615
  if (n.vAffix != "top") if (n.vAffix == "bottom") {
616
- let G = c - (F + x);
617
- F = u - G - x;
618
- } else n.vAffix == "center" ? F = Math.floor(u * 0.5 - x * 0.5) : F = Math.floor(F * r);
616
+ let G = c - (E + b);
617
+ E = u - G - b;
618
+ } else n.vAffix == "center" ? E = Math.floor(u * 0.5 - b * 0.5) : E = Math.floor(E * r);
619
619
  }
620
- const V = C + k * 0.5, J = F + x * 0.5, z = Math.round(k * D * 10) / 10, ee = Math.floor(Math.sqrt(z ** 2 + z ** 2)), ae = Math.floor((k - ee * b) / w), ce = V - ae / 2, Oe = J - ee / 2;
621
- n.left = Math.floor(ce), n.top = Math.floor(Oe), n.width = Math.floor(ae), n.height = Math.floor(ee), n.rotate = h;
620
+ const V = C + k * 0.5, J = E + b * 0.5, z = Math.round(k * D * 10) / 10, ee = Math.floor(Math.sqrt(z ** 2 + z ** 2)), ie = Math.floor((k - ee * w) / x), ce = V - ie / 2, Oe = J - ee / 2;
621
+ n.left = Math.floor(ce), n.top = Math.floor(Oe), n.width = Math.floor(ie), n.height = Math.floor(ee), n.rotate = h;
622
622
  }
623
- function ue(n, o, r, t, u, s, c) {
623
+ function ue(n, o, r, t, u, a, c) {
624
624
  let p = JSON.parse(JSON.stringify(n));
625
- return p && p.length > 0 && p.forEach((a) => {
626
- if (a && a.style)
627
- if (a.style.rotateZoom && Math.abs(a.style.rotate) >= 1)
628
- Mn(a.style, t, u, o, r, s, c);
625
+ return p && p.length > 0 && p.forEach((i) => {
626
+ if (i && i.style)
627
+ if (i.style.rotateZoom && Math.abs(i.style.rotate) >= 1)
628
+ Pn(i.style, t, u, o, r, a, c);
629
629
  else {
630
630
  if (t != 1) {
631
- let m = a.style.width;
632
- if (a.style.wdSet == "calc")
633
- m = Math.floor(a.style.width * t);
634
- else if (a.style.wdSet == "overspread") {
635
- let y = a.style.wdReserve < 0 ? 0 : a.style.wdReserve;
636
- m = Math.floor(o - y);
631
+ let g = i.style.width;
632
+ if (i.style.wdSet == "calc")
633
+ g = Math.floor(i.style.width * t);
634
+ else if (i.style.wdSet == "overspread") {
635
+ let y = i.style.wdReserve < 0 ? 0 : i.style.wdReserve;
636
+ g = Math.floor(o - y);
637
637
  }
638
- if (a.style.hAffix != "left") if (a.style.hAffix == "right") {
639
- let y = s - (a.style.left + a.style.width);
640
- a.style.left = o - y - m;
641
- } else a.style.hAffix == "center" ? a.style.left = Math.floor(o * 0.5 - m * 0.5) : a.style.left = Math.floor(a.style.left * t);
642
- a.style.width = m;
638
+ if (i.style.hAffix != "left") if (i.style.hAffix == "right") {
639
+ let y = a - (i.style.left + i.style.width);
640
+ i.style.left = o - y - g;
641
+ } 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);
642
+ i.style.width = g;
643
643
  }
644
644
  if (u != 1) {
645
- let m = a.style.height;
646
- if (a.style.htSet == "calc")
647
- m = Math.floor(a.style.height * u);
648
- else if (a.style.htSet == "overspread") {
649
- let y = a.style.htReserve < 0 ? 0 : a.style.htReserve;
650
- m = Math.floor(r - y);
645
+ let g = i.style.height;
646
+ if (i.style.htSet == "calc")
647
+ g = Math.floor(i.style.height * u);
648
+ else if (i.style.htSet == "overspread") {
649
+ let y = i.style.htReserve < 0 ? 0 : i.style.htReserve;
650
+ g = Math.floor(r - y);
651
651
  }
652
- if (a.style.vAffix != "top") if (a.style.vAffix == "bottom") {
653
- let y = c - (a.style.top + a.style.height);
654
- a.style.top = r - y - m;
655
- } else a.style.vAffix == "center" ? a.style.top = Math.floor(r * 0.5 - m * 0.5) : a.style.top = Math.floor(a.style.top * u);
656
- a.style.height = m;
652
+ if (i.style.vAffix != "top") if (i.style.vAffix == "bottom") {
653
+ let y = c - (i.style.top + i.style.height);
654
+ i.style.top = r - y - g;
655
+ } else i.style.vAffix == "center" ? i.style.top = Math.floor(r * 0.5 - g * 0.5) : i.style.top = Math.floor(i.style.top * u);
656
+ i.style.height = g;
657
657
  }
658
658
  }
659
659
  }), p;
660
660
  }
661
- function po(n, o, r, t) {
662
- let u = {}, s = [];
661
+ function fo(n, o, r, t) {
662
+ let u = {}, a = [];
663
663
  if (!(r && r.screenAdapter && r.screenAdapter != "no-adapter"))
664
- u = r, s = t;
664
+ u = r, a = t;
665
665
  else {
666
- let c = Math.floor(n), p = Math.floor(o), a = Number(r.width), m = Number(r.height), y = 1, h = 1;
666
+ let c = Math.floor(n), p = Math.floor(o), i = Number(r.width), g = Number(r.height), y = 1, h = 1;
667
667
  if (r.screenAdapter == "all-screen")
668
- u = JSON.parse(JSON.stringify(r)), c > a + 10 && (u.width = c, y = Math.floor(1e4 * c / a) / 1e4), p > m + 10 && (u.height = p, h = Math.floor(1e4 * p / m) / 1e4), s = ue(t, c, p, y, h, a, m);
668
+ u = JSON.parse(JSON.stringify(r)), c > i + 10 && (u.width = c, y = Math.floor(1e4 * c / i) / 1e4), p > g + 10 && (u.height = p, h = Math.floor(1e4 * p / g) / 1e4), a = ue(t, c, p, y, h, i, g);
669
669
  else if (r.screenAdapter == "original-ratio") {
670
670
  u = JSON.parse(JSON.stringify(r));
671
- let _ = Math.floor(1e4 * a / m) / 1e4;
672
- Math.floor(p * _) > c ? (u.width = c, y = Math.floor(1e4 * c / a) / 1e4, p = Math.floor(c / _), u.height = p, h = Math.floor(1e4 * p / m) / 1e4) : (u.height = p, h = Math.floor(1e4 * p / m) / 1e4, c = Math.floor(p * _), u.width = c, y = Math.floor(1e4 * c / a) / 1e4), s = ue(t, c, p, y, h, a, m);
671
+ let _ = Math.floor(1e4 * i / g) / 1e4;
672
+ Math.floor(p * _) > c ? (u.width = c, y = Math.floor(1e4 * c / i) / 1e4, p = Math.floor(c / _), u.height = p, h = Math.floor(1e4 * p / g) / 1e4) : (u.height = p, h = Math.floor(1e4 * p / g) / 1e4, c = Math.floor(p * _), u.width = c, y = Math.floor(1e4 * c / i) / 1e4), a = ue(t, c, p, y, h, i, g);
673
673
  } else if (r.screenAdapter == "h-adapter-wh") {
674
674
  u = JSON.parse(JSON.stringify(r));
675
- let _ = Math.floor(1e4 * a / m) / 1e4;
676
- c > a + 10 && (u.width = c, y = Math.floor(1e4 * c / a) / 1e4, p = Math.floor(c / _), u.height = p, h = Math.floor(1e4 * p / m) / 1e4), s = ue(t, c, p, y, h, a, m);
675
+ let _ = Math.floor(1e4 * i / g) / 1e4;
676
+ c > i + 10 && (u.width = c, y = Math.floor(1e4 * c / i) / 1e4, p = Math.floor(c / _), u.height = p, h = Math.floor(1e4 * p / g) / 1e4), a = ue(t, c, p, y, h, i, g);
677
677
  } else if (r.screenAdapter == "v-adapter-wh") {
678
678
  u = JSON.parse(JSON.stringify(r));
679
- let _ = Math.floor(1e4 * a / m) / 1e4;
680
- p > m + 10 && (u.height = p, h = Math.floor(1e4 * p / m) / 1e4, c = Math.floor(p * _), u.width = c, y = Math.floor(1e4 * c / a) / 1e4), s = ue(t, c, p, y, h, a, m);
681
- } else r.screenAdapter == "h-adapter" ? (u = JSON.parse(JSON.stringify(r)), c > a + 10 && (u.width = c, y = Math.floor(1e4 * c / a) / 1e4), s = ue(t, c, p, y, h, a, m)) : r.screenAdapter == "v-adapter" ? (u = JSON.parse(JSON.stringify(r)), p > m + 10 && (u.height = p, h = Math.floor(1e4 * p / m) / 1e4), s = ue(t, c, p, y, h, a, m)) : (u = r, s = t);
679
+ let _ = Math.floor(1e4 * i / g) / 1e4;
680
+ p > g + 10 && (u.height = p, h = Math.floor(1e4 * p / g) / 1e4, c = Math.floor(p * _), u.width = c, y = Math.floor(1e4 * c / i) / 1e4), a = ue(t, c, p, y, h, i, g);
681
+ } else r.screenAdapter == "h-adapter" ? (u = JSON.parse(JSON.stringify(r)), c > i + 10 && (u.width = c, y = Math.floor(1e4 * c / i) / 1e4), a = ue(t, c, p, y, h, i, g)) : r.screenAdapter == "v-adapter" ? (u = JSON.parse(JSON.stringify(r)), p > g + 10 && (u.height = p, h = Math.floor(1e4 * p / g) / 1e4), a = ue(t, c, p, y, h, i, g)) : (u = r, a = t);
682
682
  }
683
683
  return {
684
684
  canvasStyleData: u,
685
- componentData: s
685
+ componentData: a
686
686
  };
687
687
  }
688
- async function et(n, o = []) {
688
+ async function Ze(n, o = []) {
689
689
  const r = (t) => new Promise((u) => {
690
- const { animationTime: s, value: c = "", isLoop: p } = t;
691
- n.style.setProperty("--time", `${s}s`), n.classList.add(c, "animated", tt(p));
692
- const a = () => {
693
- n.removeEventListener("animationend", a), n.removeEventListener("animationcancel", a), n.classList.remove(c, "animated", tt(p)), n.style.removeProperty("--time"), u();
690
+ const { animationTime: a, value: c = "", isLoop: p } = t;
691
+ n.style.setProperty("--time", `${a}s`), n.classList.add(c, "animated", et(p));
692
+ const i = () => {
693
+ n.removeEventListener("animationend", i), n.removeEventListener("animationcancel", i), n.classList.remove(c, "animated", et(p)), n.style.removeProperty("--time"), u();
694
694
  };
695
- n.addEventListener("animationend", a), n.addEventListener("animationcancel", a);
695
+ n.addEventListener("animationend", i), n.addEventListener("animationcancel", i);
696
696
  });
697
697
  for (let t = 0, u = o.length; t < u; t++)
698
698
  await r(o[t]);
699
699
  }
700
- function tt(n) {
700
+ function et(n) {
701
701
  return n ? "infinite" : "no-infinite";
702
702
  }
703
703
  const Z = (n, o) => {
@@ -705,7 +705,7 @@ const Z = (n, o) => {
705
705
  for (const [t, u] of o)
706
706
  r[t] = u;
707
707
  return r;
708
- }, On = {
708
+ }, Mn = {
709
709
  __name: "ComponentWrapper",
710
710
  props: {
711
711
  config: {
@@ -718,42 +718,42 @@ const Z = (n, o) => {
718
718
  setup(n, { expose: o }) {
719
719
  const r = n, t = O(() => r.config || {}), u = O({
720
720
  get: () => !t.value.style?.isHide,
721
- set: (b) => {
722
- t.value.style && (t.value.style.isHide = !b);
721
+ set: (w) => {
722
+ t.value.style && (t.value.style.isHide = !w);
723
723
  }
724
- }), s = he({}), c = (b, w) => {
725
- b ? s[`Ve${w}`] = b : delete s[`Ve${w}`];
726
- }, p = (b) => s[`Ve${b}`], a = () => {
724
+ }), a = he({}), c = (w, x) => {
725
+ w ? a[`Ve${x}`] = w : delete a[`Ve${x}`];
726
+ }, p = (w) => a[`Ve${w}`], i = () => {
727
727
  if (t.value.animations && t.value.animations.length > 0) {
728
- let b = s[`Ve${t.value.id}`];
729
- b.$el && et(b.$el, t.value.animations);
728
+ let w = a[`Ve${t.value.id}`];
729
+ w.$el && Ze(w.$el, t.value.animations);
730
730
  }
731
- }, m = () => {
731
+ }, g = () => {
732
732
  u.value = !1;
733
733
  }, y = () => {
734
734
  u.value = !0;
735
735
  }, h = () => u.value;
736
736
  Ce(() => {
737
- a();
737
+ i();
738
738
  }), o({
739
739
  getComponentRef: p,
740
- hide: m,
740
+ hide: g,
741
741
  show: y,
742
742
  showStatus: h
743
743
  });
744
- const _ = { props: r, config: t, isShow: u, componentRefs: s, setComponentRef: c, getComponentRef: p, execAnimation: a, hide: m, show: y, showStatus: h, ref: T, computed: O, onMounted: Ce, reactive: he, watch: Me, get getSVGStyle() {
745
- return Sn;
744
+ const _ = { props: r, config: t, isShow: u, componentRefs: a, setComponentRef: c, getComponentRef: p, execAnimation: i, hide: g, show: y, showStatus: h, ref: R, computed: O, onMounted: Ce, reactive: he, watch: Me, get getSVGStyle() {
745
+ return bn;
746
746
  }, get getStyle() {
747
- return ht;
747
+ return mt;
748
748
  }, get runAnimation() {
749
- return et;
749
+ return Ze;
750
750
  } };
751
751
  return Object.defineProperty(_, "__isScriptSetup", { enumerable: !1, value: !0 }), _;
752
752
  }
753
753
  };
754
- function Vn(n, o, r, t, u, s) {
755
- return De((R(), W("div", { class: "component-wrapper" }, [
756
- t.config.component.startsWith("SVG") ? (R(), $(xe(t.config.component), {
754
+ function On(n, o, r, t, u, a) {
755
+ return De((A(), W("div", { class: "component-wrapper" }, [
756
+ t.config.component.startsWith("SVG") ? (A(), $(be(t.config.component), {
757
757
  key: 0,
758
758
  ref: (c) => t.setComponentRef(c, t.config.id),
759
759
  class: "component",
@@ -761,7 +761,7 @@ function Vn(n, o, r, t, u, s) {
761
761
  "prop-value": t.config.propValue,
762
762
  element: t.config,
763
763
  designStatus: !1
764
- }, null, 8, ["style", "prop-value", "element"])) : (R(), $(xe(t.config.component), {
764
+ }, null, 8, ["style", "prop-value", "element"])) : (A(), $(be(t.config.component), {
765
765
  key: 1,
766
766
  ref: (c) => t.setComponentRef(c, t.config.id),
767
767
  class: "component",
@@ -771,10 +771,10 @@ function Vn(n, o, r, t, u, s) {
771
771
  designStatus: !1
772
772
  }, null, 8, ["style", "prop-value", "element"]))
773
773
  ], 512)), [
774
- [rt, t.isShow]
774
+ [ot, t.isShow]
775
775
  ]);
776
776
  }
777
- const In = /* @__PURE__ */ Z(On, [["render", Vn], ["__scopeId", "data-v-56b0e3e4"], ["__file", "ComponentWrapper.vue"]]), kn = /* @__PURE__ */ Object.assign({
777
+ const Vn = /* @__PURE__ */ Z(Mn, [["render", On], ["__scopeId", "data-v-56b0e3e4"], ["__file", "ComponentWrapper.vue"]]), In = /* @__PURE__ */ Object.assign({
778
778
  name: "VEPage"
779
779
  }, {
780
780
  __name: "index",
@@ -792,47 +792,47 @@ const In = /* @__PURE__ */ Z(On, [["render", Vn], ["__scopeId", "data-v-56b0e3e4
792
792
  }
793
793
  },
794
794
  setup(n, { expose: o }) {
795
- const r = n, t = T({}), u = O(() => r.canvasStyle || {}), s = O(() => r.componentData || []), c = (_, b) => {
796
- _ && (t.value[b] = _);
795
+ const r = n, t = R({}), u = O(() => r.canvasStyle || {}), a = O(() => r.componentData || []), c = (_, w) => {
796
+ _ && (t.value[w] = _);
797
797
  }, p = O(() => {
798
- let _ = {}, b = { ...u.value || {} }, w = b.diyStyles || {};
799
- delete b.diyStyles;
800
- let S = Ze(b || {});
801
- return S.hasOwnProperty("backgroundColor") && (S["background-color"] = S.backgroundColor, delete S.backgroundColor), S.width = `${u.value.width}px`, S.height = `${u.value.height}px`, _ = { ...S, ...w }, X("debug", "style", _, "_style", S, "diyStyle", w), v(_.background) && !v(_["background-color"]) && delete _["background-color"], v(_.background) || v(_["background-image"]) || v(_["background-color"]) || (_["background-color"] = "transparent !important"), _;
802
- }), a = (_, b, w) => {
803
- if (v(_) && v(b)) {
798
+ let _ = {}, w = { ...u.value || {} }, x = w.diyStyles || {};
799
+ delete w.diyStyles;
800
+ let S = Xe(w || {});
801
+ return S.hasOwnProperty("backgroundColor") && (S["background-color"] = S.backgroundColor, delete S.backgroundColor), S.width = `${u.value.width}px`, S.height = `${u.value.height}px`, _ = { ...S, ...x }, X("debug", "style", _, "_style", S, "diyStyle", x), v(_.background) && !v(_["background-color"]) && delete _["background-color"], v(_.background) || v(_["background-image"]) || v(_["background-color"]) || (_["background-color"] = "transparent !important"), _;
802
+ }), i = (_, w, x) => {
803
+ if (v(_) && v(w)) {
804
804
  const S = "VeP" + _, P = t.value[S];
805
805
  if (P) {
806
806
  let C;
807
807
  q(P) ? C = P[0] : C = P;
808
- const F = C.getComponentRef(_);
809
- F ? F?.$options.name === "Group" && w && w.compId ? F.callGroupCompMethod(w.compId, b, w.data) : F[b] && (w ? F[b](w) : F[b]()) : X("warning", "The component is not exist.id:", _);
808
+ const E = C.getComponentRef(_);
809
+ E ? E?.$options.name === "Group" && x && x.compId ? E.callGroupCompMethod(x.compId, w, x.data) : E[w] && (x ? E[w](x) : E[w]()) : X("warning", "The component is not exist.id:", _);
810
810
  }
811
811
  }
812
- }, m = (_, b, w = {}) => {
812
+ }, g = (_, w, x = {}) => {
813
813
  if (v(_)) {
814
814
  const S = "VeP" + _, P = t.value[S];
815
815
  if (P) {
816
816
  let C;
817
- q(P) ? C = P[0] : C = P, b ? C.show() : C.hide();
817
+ q(P) ? C = P[0] : C = P, w ? C.show() : C.hide();
818
818
  }
819
819
  }
820
- }, y = (_, b, w) => {
821
- if (v(_) && v(b)) {
820
+ }, y = (_, w, x) => {
821
+ if (v(_) && v(w)) {
822
822
  const S = "VeP" + _, P = t.value[S];
823
823
  if (P) {
824
824
  let C;
825
- if (q(P) ? C = P[0] : C = P, C && C[b])
826
- return w ? C[b](w) : C[b]();
825
+ if (q(P) ? C = P[0] : C = P, C && C[w])
826
+ return x ? C[w](x) : C[w]();
827
827
  }
828
828
  }
829
829
  };
830
- oe("VE-CompMethod", a), oe("VE-CompHideAndShow", m), oe("VE-CompWrapMethod", y), o({
831
- callCompMethod: a
830
+ oe("VE-CompMethod", i), oe("VE-CompHideAndShow", g), oe("VE-CompWrapMethod", y), o({
831
+ callCompMethod: i
832
832
  });
833
- const h = { props: r, componentRefs: t, canvasStyle: u, componentData: s, setComponentRef: c, calcCanvasStyle: p, callCompMethod: a, callCompHideAndShow: m, callCompWrapMethod: y, ref: T, computed: O, provide: oe, watch: Me, get getCanvasStyle() {
834
- return Ze;
835
- }, ComponentWrapper: In, get isNotEmpty() {
833
+ const h = { props: r, componentRefs: t, canvasStyle: u, componentData: a, setComponentRef: c, calcCanvasStyle: p, callCompMethod: i, callCompHideAndShow: g, callCompWrapMethod: y, ref: R, computed: O, provide: oe, watch: Me, get getCanvasStyle() {
834
+ return Xe;
835
+ }, ComponentWrapper: Vn, get isNotEmpty() {
836
836
  return v;
837
837
  }, get isArray() {
838
838
  return q;
@@ -842,22 +842,22 @@ const In = /* @__PURE__ */ Z(On, [["render", Vn], ["__scopeId", "data-v-56b0e3e4
842
842
  return Object.defineProperty(h, "__isScriptSetup", { enumerable: !1, value: !0 }), h;
843
843
  }
844
844
  });
845
- function Dn(n, o, r, t, u, s) {
846
- return R(), W("div", { class: "canvas-container" }, [
845
+ function kn(n, o, r, t, u, a) {
846
+ return A(), W("div", { class: "canvas-container" }, [
847
847
  le("div", {
848
848
  class: "canvas",
849
849
  style: Se(t.calcCanvasStyle)
850
850
  }, [
851
- (R(!0), W(He, null, Le(t.componentData, (c, p) => (R(), $(t.ComponentWrapper, {
851
+ (A(!0), W(Ne, null, He(t.componentData, (c, p) => (A(), $(t.ComponentWrapper, {
852
852
  key: p,
853
853
  config: c,
854
854
  ref_for: !0,
855
- ref: (a) => t.setComponentRef(a, "VeP" + c.id)
855
+ ref: (i) => t.setComponentRef(i, "VeP" + c.id)
856
856
  }, null, 8, ["config"]))), 128))
857
857
  ], 4)
858
858
  ]);
859
859
  }
860
- const Fn = /* @__PURE__ */ Z(kn, [["render", Dn], ["__scopeId", "data-v-c471d52f"], ["__file", "index.vue"]]), En = Xt({
860
+ const Dn = /* @__PURE__ */ Z(In, [["render", kn], ["__scopeId", "data-v-c471d52f"], ["__file", "index.vue"]]), En = Yt({
861
861
  name: "ve-comp-svg-icon",
862
862
  props: {
863
863
  iconClass: {
@@ -880,9 +880,9 @@ const Fn = /* @__PURE__ */ Z(kn, [["render", Dn], ["__scopeId", "data-v-c471d52f
880
880
  };
881
881
  }
882
882
  });
883
- function Tn(n, o, r, t, u, s) {
884
- return R(), W("svg", {
885
- class: lt(n.svgClass),
883
+ function Tn(n, o, r, t, u, a) {
884
+ return A(), W("svg", {
885
+ class: rt(n.svgClass),
886
886
  "aria-hidden": "true"
887
887
  }, [
888
888
  le("use", {
@@ -891,7 +891,7 @@ function Tn(n, o, r, t, u, s) {
891
891
  }, null, 8, ["xlink:href", "fill"])
892
892
  ], 2);
893
893
  }
894
- const yt = /* @__PURE__ */ Z(En, [["render", Tn], ["__file", "index.vue"]]), Rn = /* @__PURE__ */ Object.assign({
894
+ const ht = /* @__PURE__ */ Z(En, [["render", Tn], ["__file", "index.vue"]]), Rn = /* @__PURE__ */ Object.assign({
895
895
  name: "CompositeIcon"
896
896
  }, {
897
897
  __name: "index",
@@ -912,46 +912,46 @@ const yt = /* @__PURE__ */ Z(En, [["render", Tn], ["__file", "index.vue"]]), Rn
912
912
  },
913
913
  setup(n, { expose: o }) {
914
914
  o();
915
- const p = { props: n, 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: yt };
915
+ const p = { props: n, isImage: (i) => i && i.toString().toLowerCase().startsWith("img#"), getImageSrc: (i) => i.toString().substring(4), isSvgIcon: (i) => i && i.toString().toLowerCase().indexOf("svg#") == 0, getSvgIconClass: (i) => i.toString().substring(4), VeCompSvgIcon: ht };
916
916
  return Object.defineProperty(p, "__isScriptSetup", { enumerable: !1, value: !0 }), p;
917
917
  }
918
918
  });
919
- function An(n, o, r, t, u, s) {
920
- const c = B("el-icon");
921
- return R(), $(c, {
919
+ function An(n, o, r, t, u, a) {
920
+ const c = H("el-icon");
921
+ return A(), $(c, {
922
922
  size: t.props.iconSize,
923
923
  color: t.props.color
924
924
  }, {
925
- default: A(() => [
926
- t.isImage(t.props.icon) ? (R(), W("img", {
925
+ default: F(() => [
926
+ t.isImage(t.props.icon) ? (A(), W("img", {
927
927
  key: 0,
928
928
  src: t.getImageSrc(t.props.icon)
929
- }, null, 8, ["src"])) : t.isSvgIcon(t.props.icon) ? (R(), $(t.VeCompSvgIcon, {
929
+ }, null, 8, ["src"])) : t.isSvgIcon(t.props.icon) ? (A(), $(t.VeCompSvgIcon, {
930
930
  key: 1,
931
931
  "icon-class": t.getSvgIconClass(t.props.icon),
932
932
  color: t.props.color
933
- }, null, 8, ["icon-class", "color"])) : (R(), $(xe(t.props.icon), { key: 2 }))
933
+ }, null, 8, ["icon-class", "color"])) : (A(), $(be(t.props.icon), { key: 2 }))
934
934
  ]),
935
935
  _: 1
936
936
  }, 8, ["size", "color"]);
937
937
  }
938
- const Nn = /* @__PURE__ */ Z(Rn, [["render", An], ["__file", "index.vue"]]);
938
+ const Fn = /* @__PURE__ */ Z(Rn, [["render", An], ["__file", "index.vue"]]);
939
939
  let ke = null;
940
940
  const Ae = () => {
941
941
  if (!ke) {
942
- const n = he({}), o = T([]);
942
+ const n = he({}), o = R([]);
943
943
  ke = {
944
944
  dialogs: n,
945
945
  dialogStack: o,
946
946
  openDialog: (c = {}) => {
947
- const p = c.dialogId || "dialog-" + dt(), a = o.value.length;
948
- a >= 1 && (c.appendToBody = !0);
949
- const m = {
947
+ const p = c.dialogId || "dialog-" + pt(), i = o.value.length;
948
+ i >= 1 && (c.appendToBody = !0);
949
+ const g = {
950
950
  id: p,
951
- level: a,
951
+ level: i,
952
952
  config: c
953
953
  };
954
- if (n[p] = m, o.value.length >= 1) {
954
+ if (n[p] = g, o.value.length >= 1) {
955
955
  let y = !1;
956
956
  for (let h = 0; h < o.value.length; h++)
957
957
  if (p == o.value[h]) {
@@ -987,37 +987,37 @@ const Ae = () => {
987
987
  },
988
988
  emits: ["confirm", "cancel"],
989
989
  setup(n, { expose: o, emit: r }) {
990
- const t = n, u = r, s = O(() => t.config), c = O(() => s.value.title || "对话框"), p = O(() => !!t.config.showHeader), a = T(s.value.fullscreen), m = T(s.value.width), y = T(!0), h = O(() => {
991
- let x = s.value.width ?? 800;
992
- return p.value ? x + 32 : x;
990
+ const t = n, u = r, a = O(() => t.config), c = O(() => a.value.title || "对话框"), p = O(() => !!t.config.showHeader), i = R(a.value.fullscreen), g = R(a.value.width), y = R(!0), h = O(() => {
991
+ let b = a.value.width ?? 800;
992
+ return p.value ? b + 32 : b;
993
993
  }), _ = O(() => {
994
- let x = {};
995
- return x.style = {}, x.style.width = s.value.width ?? 800, x.style.height = s.value.height ?? 600, x.prop = {}, x.prop.subpageId = s.value.pageId, x.containerParam = s.value.pageParam || {}, x;
996
- }), b = O(() => {
997
- let x = {};
998
- return x.modal = s.value.modal, x["show-close"] = s.value.showClose, x.draggable = s.value.draggable, s.value.appendToBody && (x["append-to-body"] = s.value.appendToBody), p.value || (x.class = " no-header-dialog"), s.value.customPosition ? x["align-center"] = !1 : x["align-center"] = !0, x;
994
+ let b = {};
995
+ return b.style = {}, b.style.width = a.value.width ?? 800, b.style.height = a.value.height ?? 600, b.prop = {}, b.prop.subpageId = a.value.pageId, b.containerParam = a.value.pageParam || {}, b;
999
996
  }), w = O(() => {
1000
- let x = {};
1001
- if (s.value.customPosition) {
1002
- let j = s.value.absLeft ?? 100, D = s.value.absTop ?? 100;
1003
- Object.assign(x, {
997
+ let b = {};
998
+ return b.modal = a.value.modal, b["show-close"] = a.value.showClose, b.draggable = a.value.draggable, a.value.appendToBody && (b["append-to-body"] = a.value.appendToBody), p.value || (b.class = " no-header-dialog"), a.value.customPosition ? b["align-center"] = !1 : b["align-center"] = !0, b;
999
+ }), x = O(() => {
1000
+ let b = {};
1001
+ if (a.value.customPosition) {
1002
+ let N = a.value.absLeft ?? 100, D = a.value.absTop ?? 100;
1003
+ Object.assign(b, {
1004
1004
  position: "fixed",
1005
- left: `${j}px`,
1005
+ left: `${N}px`,
1006
1006
  top: `${D}px`,
1007
1007
  transform: "none",
1008
1008
  margin: "0 !important"
1009
1009
  });
1010
1010
  }
1011
- return s.value.noBackgroundColor && Object.assign(x, {
1011
+ return a.value.noBackgroundColor && Object.assign(b, {
1012
1012
  backgroundColor: "transparent"
1013
- }), x;
1013
+ }), b;
1014
1014
  }), S = () => {
1015
1015
  u("confirm");
1016
1016
  }, P = () => {
1017
1017
  u("cancel"), C();
1018
1018
  }, C = () => {
1019
1019
  y.value = !1;
1020
- }, F = (x) => {
1020
+ }, E = (b) => {
1021
1021
  u("cancel");
1022
1022
  };
1023
1023
  oe("VE-CompMethod", function() {
@@ -1029,7 +1029,7 @@ const Ae = () => {
1029
1029
  }), o({
1030
1030
  close: C
1031
1031
  });
1032
- const k = { props: t, emit: u, config: s, title: c, showTitle: p, isFullscreen: a, previousWidth: m, openDialog: y, dialogWidth: h, element: _, bindAttr: b, customStyle: w, confirmInner: S, cancel: P, close: C, handleClose: F, ref: T, computed: O, provide: oe, get consolePrint() {
1032
+ const k = { props: t, emit: u, config: a, title: c, showTitle: p, isFullscreen: i, previousWidth: g, openDialog: y, dialogWidth: h, element: _, bindAttr: w, customStyle: x, confirmInner: S, cancel: P, close: C, handleClose: E, ref: R, computed: O, provide: oe, get consolePrint() {
1033
1033
  return X;
1034
1034
  }, get isNotEmpty() {
1035
1035
  return v;
@@ -1037,47 +1037,47 @@ const Ae = () => {
1037
1037
  return Object.defineProperty(k, "__isScriptSetup", { enumerable: !1, value: !0 }), k;
1038
1038
  }
1039
1039
  });
1040
- function Bn(n, o, r, t, u, s) {
1041
- const c = B("Subpage"), p = B("el-button"), a = B("el-dialog");
1042
- return R(), W("div", { class: "full-screen-dialog-wrapper" }, [
1043
- E(a, Zt({
1040
+ function Bn(n, o, r, t, u, a) {
1041
+ const c = H("Subpage"), p = H("el-button"), i = H("el-dialog");
1042
+ return A(), W("div", { class: "full-screen-dialog-wrapper" }, [
1043
+ T(i, Xt({
1044
1044
  modelValue: t.openDialog,
1045
- "onUpdate:modelValue": o[0] || (o[0] = (m) => t.openDialog = m),
1045
+ "onUpdate:modelValue": o[0] || (o[0] = (g) => t.openDialog = g),
1046
1046
  width: t.dialogWidth,
1047
1047
  fullscreen: t.isFullscreen
1048
1048
  }, t.bindAttr, {
1049
1049
  style: t.customStyle,
1050
1050
  onClose: t.handleClose
1051
- }), en({
1052
- header: A(() => [
1053
- t.showTitle ? (R(), W("span", { key: 0 }, tn(t.title), 1)) : Je("", !0)
1051
+ }), Zt({
1052
+ header: F(() => [
1053
+ t.showTitle ? (A(), W("span", { key: 0 }, en(t.title), 1)) : We("", !0)
1054
1054
  ]),
1055
- default: A(() => [
1056
- t.isNotEmpty(t.config.pageId) ? (R(), $(c, {
1055
+ default: F(() => [
1056
+ t.isNotEmpty(t.config.pageId) ? (A(), $(c, {
1057
1057
  key: 0,
1058
1058
  "prop-value": t.element.prop,
1059
1059
  element: t.element
1060
- }, null, 8, ["prop-value", "element"])) : Je("", !0)
1060
+ }, null, 8, ["prop-value", "element"])) : We("", !0)
1061
1061
  ]),
1062
1062
  _: 2
1063
1063
  }, [
1064
1064
  t.config.showFooter ? {
1065
1065
  name: "footer",
1066
- fn: A(() => [
1066
+ fn: F(() => [
1067
1067
  le("div", { class: "dialog-footer" }, [
1068
- E(p, {
1068
+ T(p, {
1069
1069
  type: "primary",
1070
1070
  onClick: t.confirmInner
1071
1071
  }, {
1072
- default: A(() => [
1073
- N("确定")
1072
+ default: F(() => [
1073
+ j("确定")
1074
1074
  ]),
1075
1075
  _: 1
1076
1076
  }),
1077
- N(),
1078
- E(p, { onClick: t.cancel }, {
1079
- default: A(() => [
1080
- N("关 闭")
1077
+ j(),
1078
+ T(p, { onClick: t.cancel }, {
1079
+ default: F(() => [
1080
+ j("关 闭")
1081
1081
  ]),
1082
1082
  _: 1
1083
1083
  })
@@ -1088,7 +1088,7 @@ function Bn(n, o, r, t, u, s) {
1088
1088
  ]), 1040, ["modelValue", "width", "fullscreen", "style"])
1089
1089
  ]);
1090
1090
  }
1091
- const Hn = /* @__PURE__ */ Z(jn, [["render", Bn], ["__scopeId", "data-v-7c104f83"], ["__file", "FullscreenDialog.vue"]]), Ln = /* @__PURE__ */ Object.assign({
1091
+ const Nn = /* @__PURE__ */ Z(jn, [["render", Bn], ["__scopeId", "data-v-7c104f83"], ["__file", "FullscreenDialog.vue"]]), Hn = /* @__PURE__ */ Object.assign({
1092
1092
  name: "DialogContainer"
1093
1093
  }, {
1094
1094
  __name: "DialogContainer",
@@ -1098,18 +1098,18 @@ const Hn = /* @__PURE__ */ Z(jn, [["render", Bn], ["__scopeId", "data-v-7c104f83
1098
1098
  t(p);
1099
1099
  }, get useDialogManager() {
1100
1100
  return Ae;
1101
- }, computed: O, FullScreenDialog: Hn };
1101
+ }, computed: O, FullScreenDialog: Nn };
1102
1102
  return Object.defineProperty(c, "__isScriptSetup", { enumerable: !1, value: !0 }), c;
1103
1103
  }
1104
1104
  });
1105
- function qn(n, o, r, t, u, s) {
1106
- return R(!0), W(He, null, Le(t.dialogList, (c) => (R(), $(t.FullScreenDialog, {
1105
+ function Ln(n, o, r, t, u, a) {
1106
+ return A(!0), W(Ne, null, He(t.dialogList, (c) => (A(), $(t.FullScreenDialog, {
1107
1107
  key: c.id,
1108
1108
  config: c.config,
1109
1109
  onCancel: (p) => t.cancelHandler(c.id)
1110
1110
  }, null, 8, ["config", "onCancel"]))), 128);
1111
1111
  }
1112
- const Kn = /* @__PURE__ */ Z(Ln, [["render", qn], ["__file", "DialogContainer.vue"]]), zn = /* @__PURE__ */ Object.assign({
1112
+ const qn = /* @__PURE__ */ Z(Hn, [["render", Ln], ["__file", "DialogContainer.vue"]]), Kn = /* @__PURE__ */ Object.assign({
1113
1113
  name: "CommonDialog"
1114
1114
  }, {
1115
1115
  __name: "index",
@@ -1129,35 +1129,35 @@ const Kn = /* @__PURE__ */ Z(Ln, [["render", qn], ["__file", "DialogContainer.vu
1129
1129
  },
1130
1130
  emits: ["confirm"],
1131
1131
  setup(n, { expose: o, emit: r }) {
1132
- const t = T("弹框"), u = T(!1), s = n, c = r;
1132
+ const t = R("弹框"), u = R(!1), a = n, c = r;
1133
1133
  let p = null;
1134
- const a = O(() => t.value && v(t.value) ? t.value : s.title), m = () => {
1134
+ const i = O(() => t.value && v(t.value) ? t.value : a.title), g = () => {
1135
1135
  c("confirm", { callBack: p });
1136
1136
  }, y = () => {
1137
1137
  u.value = !1;
1138
- }, h = (b = {}) => {
1139
- u.value = !0, p = b.callBack, t.value = b.title || "";
1138
+ }, h = (w = {}) => {
1139
+ u.value = !0, p = w.callBack, t.value = w.title || "";
1140
1140
  };
1141
1141
  o({
1142
1142
  show: h,
1143
1143
  cancel: y
1144
1144
  });
1145
- const _ = { showTitle: t, openDialog: u, props: s, emit: c, get callBack() {
1145
+ const _ = { showTitle: t, openDialog: u, props: a, emit: c, get callBack() {
1146
1146
  return p;
1147
- }, set callBack(b) {
1148
- p = b;
1149
- }, title: a, confirmInner: m, cancel: y, show: h, ref: T, computed: O, get isNotEmpty() {
1147
+ }, set callBack(w) {
1148
+ p = w;
1149
+ }, title: i, confirmInner: g, cancel: y, show: h, ref: R, computed: O, get isNotEmpty() {
1150
1150
  return v;
1151
1151
  } };
1152
1152
  return Object.defineProperty(_, "__isScriptSetup", { enumerable: !1, value: !0 }), _;
1153
1153
  }
1154
1154
  });
1155
- function Un(n, o, r, t, u, s) {
1156
- const c = B("el-button"), p = B("el-dialog");
1157
- return R(), $(p, {
1155
+ function zn(n, o, r, t, u, a) {
1156
+ const c = H("el-button"), p = H("el-dialog");
1157
+ return A(), $(p, {
1158
1158
  title: t.title,
1159
1159
  modelValue: t.openDialog,
1160
- "onUpdate:modelValue": o[0] || (o[0] = (a) => t.openDialog = a),
1160
+ "onUpdate:modelValue": o[0] || (o[0] = (i) => t.openDialog = i),
1161
1161
  width: t.props.width,
1162
1162
  "before-close": t.cancel,
1163
1163
  "destroy-on-close": !0,
@@ -1166,24 +1166,24 @@ function Un(n, o, r, t, u, s) {
1166
1166
  "align-center": !0,
1167
1167
  draggable: ""
1168
1168
  }, {
1169
- default: A(() => [
1170
- nn(n.$slots, "dialog-content")
1169
+ default: F(() => [
1170
+ tn(n.$slots, "dialog-content")
1171
1171
  ]),
1172
- footer: A(() => [
1172
+ footer: F(() => [
1173
1173
  le("div", { class: "dialog-footer" }, [
1174
- E(c, {
1174
+ T(c, {
1175
1175
  type: "primary",
1176
1176
  onClick: t.confirmInner
1177
1177
  }, {
1178
- default: A(() => [
1179
- N("确定")
1178
+ default: F(() => [
1179
+ j("确定")
1180
1180
  ]),
1181
1181
  _: 1
1182
1182
  }),
1183
- N(),
1184
- E(c, { onClick: t.cancel }, {
1185
- default: A(() => [
1186
- N("关 闭")
1183
+ j(),
1184
+ T(c, { onClick: t.cancel }, {
1185
+ default: F(() => [
1186
+ j("关 闭")
1187
1187
  ]),
1188
1188
  _: 1
1189
1189
  })
@@ -1192,7 +1192,7 @@ function Un(n, o, r, t, u, s) {
1192
1192
  _: 3
1193
1193
  }, 8, ["title", "modelValue", "width", "modal"]);
1194
1194
  }
1195
- const Wn = /* @__PURE__ */ Z(zn, [["render", Un], ["__file", "index.vue"]]), Jn = /* @__PURE__ */ Object.assign({
1195
+ const Un = /* @__PURE__ */ Z(Kn, [["render", zn], ["__file", "index.vue"]]), Wn = /* @__PURE__ */ Object.assign({
1196
1196
  name: "OmitInput"
1197
1197
  }, {
1198
1198
  __name: "index",
@@ -1213,57 +1213,57 @@ const Wn = /* @__PURE__ */ Z(zn, [["render", Un], ["__file", "index.vue"]]), Jn
1213
1213
  emits: ["update:modelValue"],
1214
1214
  setup(n, { expose: o, emit: r }) {
1215
1215
  o();
1216
- const t = n, u = r, s = T(null), c = T(""), p = O({
1216
+ const t = n, u = r, a = R(null), c = R(""), p = O({
1217
1217
  get: () => t.modelValue,
1218
1218
  set: (h) => u("update:modelValue", h)
1219
- }), y = { props: t, emits: u, inputDialogRef: s, inputTextArea: c, internalValue: p, openInputDialog: () => {
1220
- c.value = ge(p.value), s.value?.show();
1219
+ }), y = { props: t, emits: u, inputDialogRef: a, inputTextArea: c, internalValue: p, openInputDialog: () => {
1220
+ c.value = me(p.value), a.value?.show();
1221
1221
  }, confirmEdit: (h) => {
1222
- p.value = ge(c.value), s.value?.cancel();
1223
- }, ref: T, computed: O, get deepCopy() {
1224
- return ge;
1222
+ p.value = me(c.value), a.value?.cancel();
1223
+ }, ref: R, computed: O, get deepCopy() {
1224
+ return me;
1225
1225
  } };
1226
1226
  return Object.defineProperty(y, "__isScriptSetup", { enumerable: !1, value: !0 }), y;
1227
1227
  }
1228
1228
  });
1229
- function Gn(n, o, r, t, u, s) {
1230
- const c = B("el-text"), p = B("el-input"), a = B("CommonDialog");
1231
- return R(), W("div", {
1232
- class: lt(["custom-omit-input-wrapper", n.$attrs.class])
1229
+ function Jn(n, o, r, t, u, a) {
1230
+ const c = H("el-text"), p = H("el-input"), i = H("CommonDialog");
1231
+ return A(), W("div", {
1232
+ class: rt(["custom-omit-input-wrapper", n.$attrs.class])
1233
1233
  }, [
1234
- E(p, {
1234
+ T(p, {
1235
1235
  modelValue: t.internalValue,
1236
- "onUpdate:modelValue": o[0] || (o[0] = (m) => t.internalValue = m),
1236
+ "onUpdate:modelValue": o[0] || (o[0] = (g) => t.internalValue = g),
1237
1237
  placeholder: t.props.placeholder,
1238
1238
  clearable: "",
1239
1239
  type: "text",
1240
1240
  class: "custom-omit-input"
1241
1241
  }, {
1242
- append: A(() => [
1243
- E(c, {
1242
+ append: F(() => [
1243
+ T(c, {
1244
1244
  style: { width: "32px", "text-align": "center" },
1245
1245
  onClick: t.openInputDialog
1246
1246
  }, {
1247
- default: A(() => [
1248
- N("...")
1247
+ default: F(() => [
1248
+ j("...")
1249
1249
  ]),
1250
1250
  _: 1
1251
1251
  })
1252
1252
  ]),
1253
1253
  _: 1
1254
1254
  }, 8, ["modelValue", "placeholder"]),
1255
- N(),
1256
- E(a, {
1255
+ j(),
1256
+ T(i, {
1257
1257
  ref: "inputDialogRef",
1258
1258
  title: t.props.dialogTitle,
1259
1259
  width: 700,
1260
1260
  onConfirm: t.confirmEdit
1261
1261
  }, {
1262
- "dialog-content": A(() => [
1262
+ "dialog-content": F(() => [
1263
1263
  le("div", { style: { width: "100%", height: "500px", "overflow-y": "auto", "overflow-x": "hidden" } }, [
1264
- E(p, {
1264
+ T(p, {
1265
1265
  modelValue: t.inputTextArea,
1266
- "onUpdate:modelValue": o[1] || (o[1] = (m) => t.inputTextArea = m),
1266
+ "onUpdate:modelValue": o[1] || (o[1] = (g) => t.inputTextArea = g),
1267
1267
  type: "textarea",
1268
1268
  rows: 22
1269
1269
  }, null, 8, ["modelValue"])
@@ -1273,7 +1273,7 @@ function Gn(n, o, r, t, u, s) {
1273
1273
  }, 8, ["title"])
1274
1274
  ], 2);
1275
1275
  }
1276
- const $n = /* @__PURE__ */ Z(Jn, [["render", Gn], ["__scopeId", "data-v-956a5a3a"], ["__file", "index.vue"]]), ye = sn(
1276
+ const Gn = /* @__PURE__ */ Z(Wn, [["render", Jn], ["__scopeId", "data-v-956a5a3a"], ["__file", "index.vue"]]), ye = sn(
1277
1277
  "ve/dataCache",
1278
1278
  {
1279
1279
  state: () => ({
@@ -1307,19 +1307,19 @@ const $n = /* @__PURE__ */ Z(Jn, [["render", Gn], ["__scopeId", "data-v-956a5a3a
1307
1307
  }
1308
1308
  }
1309
1309
  }
1310
- ), Ne = (n) => {
1310
+ ), Fe = (n) => {
1311
1311
  const o = /* @__PURE__ */ new Map();
1312
1312
  return new Proxy({}, {
1313
1313
  get(r, t = "undefinedKey") {
1314
- return o.has(t) || o.set(t, O(() => n.data[t] || {})), o.get(t);
1314
+ return o.has(t) || o.set(t, O(() => n.data[t] ?? {})), o.get(t);
1315
1315
  },
1316
1316
  set(r, t, u) {
1317
1317
  return n.setData(t, u), !0;
1318
1318
  }
1319
1319
  });
1320
1320
  };
1321
- function Qn() {
1322
- const n = me("hflvloader-api");
1321
+ function $n() {
1322
+ const n = ge("hflvloader-api");
1323
1323
  if (!n)
1324
1324
  throw new Error("组件注册时未提供API,请检查!");
1325
1325
  return n;
@@ -1330,7 +1330,7 @@ function _e(n, o, r = {}) {
1330
1330
  message: o || "message",
1331
1331
  type: n || "info"
1332
1332
  };
1333
- cn(t);
1333
+ an(t);
1334
1334
  }
1335
1335
  function je(n, o, r = {}) {
1336
1336
  let t = {
@@ -1338,53 +1338,53 @@ function je(n, o, r = {}) {
1338
1338
  message: o || "message",
1339
1339
  type: n || "info"
1340
1340
  };
1341
- un(t);
1341
+ cn(t);
1342
1342
  }
1343
- function _t(n = {}) {
1344
- const o = fn.service(n);
1343
+ function yt(n = {}) {
1344
+ const o = un.service(n);
1345
1345
  let r = n.timeout || 3e4;
1346
1346
  return setTimeout(() => {
1347
1347
  o && o.close();
1348
1348
  }, r), o;
1349
1349
  }
1350
- async function vt(n, o, r = {}) {
1350
+ async function _t(n, o, r = {}) {
1351
1351
  let t = [], u = {};
1352
1352
  try {
1353
- (await Promise.allSettled([at.confirm(o, n, r)])).forEach((c, p) => {
1353
+ (await Promise.allSettled([lt.confirm(o, n, r)])).forEach((c, p) => {
1354
1354
  if (c.status === "fulfilled")
1355
1355
  p === 0 && (u = c.value);
1356
1356
  else {
1357
- const a = c.reason;
1358
- t.push(a);
1357
+ const i = c.reason;
1358
+ t.push(i);
1359
1359
  }
1360
1360
  });
1361
- } catch (s) {
1362
- console.error("showMessageBoxConfirmAsync 异常:", s), t.push(s);
1361
+ } catch (a) {
1362
+ console.error("showMessageBoxConfirmAsync 异常:", a), t.push(a);
1363
1363
  }
1364
1364
  return { errors: t, resultInfo: u };
1365
1365
  }
1366
- async function bt(n, o, r = {}) {
1366
+ async function vt(n, o, r = {}) {
1367
1367
  let t = [], u = {};
1368
1368
  try {
1369
- (await Promise.allSettled([at.prompt(o, n, r)])).forEach((c, p) => {
1369
+ (await Promise.allSettled([lt.prompt(o, n, r)])).forEach((c, p) => {
1370
1370
  if (c.status === "fulfilled")
1371
1371
  p === 0 && (u = c.value);
1372
1372
  else {
1373
- const a = c.reason;
1374
- t.push(a);
1373
+ const i = c.reason;
1374
+ t.push(i);
1375
1375
  }
1376
1376
  });
1377
- } catch (s) {
1378
- console.error("showMessageBoxPromptAsync 异常:", s), t.push(s);
1377
+ } catch (a) {
1378
+ console.error("showMessageBoxPromptAsync 异常:", a), t.push(a);
1379
1379
  }
1380
1380
  return { errors: t, resultInfo: u };
1381
1381
  }
1382
- const mo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1382
+ const po = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1383
1383
  __proto__: null,
1384
- showLoading: _t,
1384
+ showLoading: yt,
1385
1385
  showMessage: _e,
1386
- showMessageBoxConfirmAsync: vt,
1387
- showMessageBoxPromptAsync: bt,
1386
+ showMessageBoxConfirmAsync: _t,
1387
+ showMessageBoxPromptAsync: vt,
1388
1388
  showNotification: je
1389
1389
  }, Symbol.toStringTag, { value: "Module" })), fe = {
1390
1390
  "==": (n, o) => n == o,
@@ -1397,187 +1397,189 @@ const mo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1397
1397
  unContain: (n, o) => n == null || !String(n).includes(String(o)),
1398
1398
  equals: (n, o) => n != null && String(n) == String(o),
1399
1399
  notEquals: (n, o) => n == null || !String(n) == String(o),
1400
- equalsIgnoreCase: (n, o) => n != null && String(n).toLowerCase() == String(o).toLowerCase()
1400
+ equalsIgnoreCase: (n, o) => n != null && String(n).toLowerCase() == String(o).toLowerCase(),
1401
+ isNull: (n, o) => n == null,
1402
+ isNotNull: (n, o) => n != null
1401
1403
  }, pe = (n) => typeof n == "string" && n.trim() !== "" && !isNaN(n) ? +n : n;
1402
- function nt(n = {}, o = !0, r = {}) {
1403
- const t = n, u = o, s = r, c = /* @__PURE__ */ new Map(), p = Qn(), a = ye(), m = me("VE-ContainerParam"), y = me("VE-CompMethod"), h = [], { openDialog: _, closeDialog: b } = Ae();
1404
- let w = null;
1405
- const S = 250, P = me("VE-CompHideAndShow"), C = [], F = me("VE-CompWrapMethod"), k = Ne(a);
1404
+ function tt(n = {}, o = !0, r = {}) {
1405
+ const t = n, u = o, a = r, c = /* @__PURE__ */ new Map(), p = $n(), i = ye(), g = ge("VE-ContainerParam"), y = ge("VE-CompMethod"), h = [], { openDialog: _, closeDialog: w } = Ae();
1406
1406
  let x = null;
1407
- const j = /* @__PURE__ */ new Map(), D = () => {
1408
- x && (x(), x = null);
1407
+ const S = 250, P = ge("VE-CompHideAndShow"), C = [], E = ge("VE-CompWrapMethod"), k = Fe(i);
1408
+ let b = null;
1409
+ const N = /* @__PURE__ */ new Map(), D = () => {
1410
+ b && (b(), b = null);
1409
1411
  }, V = (e) => {
1410
- if (m) {
1411
- if (st(m))
1412
- return m.value[e];
1413
- if (re(m))
1414
- return m[e];
1412
+ if (g) {
1413
+ if (st(g))
1414
+ return g.value[e];
1415
+ if (re(g))
1416
+ return g[e];
1415
1417
  }
1416
1418
  }, J = (e) => {
1417
1419
  if (e && e.path) {
1418
- let i = e.params || [], l = {};
1419
- i.forEach((f, d) => {
1420
- if (ie(f)) {
1421
- let g = Q(f);
1422
- l[f.tarKey] = g;
1420
+ let s = e.params || [], l = {};
1421
+ s.forEach((f, d) => {
1422
+ if (se(f)) {
1423
+ let m = Q(f);
1424
+ l[f.tarKey] = m;
1423
1425
  }
1424
- }), e.namedRouter ? U(s.routerPush) && s.routerPush(e.path, l) : U(s.routerPush2) && s.routerPush2(e.path, l);
1426
+ }), e.namedRouter ? U(a.routerPush) && a.routerPush(e.path, l) : U(a.routerPush2) && a.routerPush2(e.path, l);
1425
1427
  }
1426
1428
  }, z = (e = []) => {
1427
- let i = [];
1429
+ let s = [];
1428
1430
  return e.forEach((l) => {
1429
- if (ie(l)) {
1431
+ if (se(l)) {
1430
1432
  let f = Q(l);
1431
- i.push([
1433
+ s.push([
1432
1434
  l.tarKey,
1433
1435
  f
1434
1436
  ]);
1435
1437
  }
1436
- }), i;
1437
- }, ee = (e, i) => {
1438
+ }), s;
1439
+ }, ee = (e, s) => {
1438
1440
  if (e.customFunc && v(e.successFunc)) {
1439
1441
  const l = {
1440
- helper: { ...s, ...I }
1442
+ helper: { ...a, ...I }
1441
1443
  };
1442
1444
  try {
1443
1445
  let f = e.successFunc.toString().trim();
1444
- f.indexOf("function") < 0 && (f = `function(res) { ${f} }`), new Function("context", `with(context) {return ${f}}`)(l)(i);
1446
+ f.indexOf("function") < 0 && (f = `function(res) { ${f} }`), new Function("context", `with(context) {return ${f}}`)(l)(s);
1445
1447
  } catch (f) {
1446
1448
  console.error("[_dataRequestHandler4CustomSuccessFunc]处理自定义成功函数时出错:", f);
1447
1449
  }
1448
1450
  }
1449
- }, ae = (e, i, l) => {
1451
+ }, ie = (e, s, l) => {
1450
1452
  if (e.customFunc && v(e.errorFunc)) {
1451
1453
  const f = {
1452
- helper: { ...s, ...I }
1454
+ helper: { ...a, ...I }
1453
1455
  };
1454
1456
  try {
1455
1457
  let d = e.errorFunc.toString().trim();
1456
- d.indexOf("function") < 0 && (d = "function (res,err){" + d + "}"), new Function("context", `with(context) {return ${d}}`)(f)(i, l);
1458
+ d.indexOf("function") < 0 && (d = "function (res,err){" + d + "}"), new Function("context", `with(context) {return ${d}}`)(f)(s, l);
1457
1459
  } catch (d) {
1458
1460
  console.error("[_dataRequestHandler4CustomErrorFunc]处理自定义失败函数时出错:", d);
1459
1461
  }
1460
1462
  }
1461
- }, ce = (e, i) => {
1462
- if (q(i) && i.length > 0) {
1463
+ }, ce = (e, s) => {
1464
+ if (q(s) && s.length > 0) {
1463
1465
  let l, f, d;
1464
- for (let g = 0; g < i.length; g++)
1465
- l = i[g], d = l.dataKey || "data", v(d) && Re(e, d) && (f = Te(e, d), v(l.ds) && v(l.tarKey) && Mt(l, f));
1466
+ for (let m = 0; m < s.length; m++)
1467
+ l = s[m], d = l.dataKey || "data", v(d) && Re(e, d) && (f = Te(e, d), v(l.ds) && v(l.tarKey) && Pt(l, f));
1466
1468
  }
1467
1469
  }, Oe = async (e) => {
1468
- let i = [], l = {};
1470
+ let s = [], l = {};
1469
1471
  try {
1470
- (await Promise.allSettled([p.rawRequest(e)])).forEach((d, g) => {
1472
+ (await Promise.allSettled([p.rawRequest(e)])).forEach((d, m) => {
1471
1473
  if (d.status === "fulfilled")
1472
- g === 0 && (l = d.value);
1474
+ m === 0 && (l = d.value);
1473
1475
  else {
1474
1476
  const M = d.reason;
1475
- i.push(M);
1477
+ s.push(M);
1476
1478
  }
1477
1479
  });
1478
1480
  } catch (f) {
1479
- console.error("_dataRequestHandler4Async 异常:", f), i.push(f);
1481
+ console.error("_dataRequestHandler4Async 异常:", f), s.push(f);
1480
1482
  }
1481
- return { errors: i, resultInfo: l };
1483
+ return { errors: s, resultInfo: l };
1482
1484
  }, G = (e) => {
1483
1485
  if (e.method == "GET" || e.method == "get") {
1484
- let i = e.url;
1485
- if (/\{#.*?#\}/g.test(i)) {
1486
- let f = e.data || [], d = /* @__PURE__ */ new Set(), g = !1, M = null;
1487
- if (i = i.replace(/\{#(.*?)#\}/g, (H, ne) => {
1488
- g = !1, M = null;
1486
+ let s = e.url;
1487
+ if (/\{#.*?#\}/g.test(s)) {
1488
+ let f = e.data || [], d = /* @__PURE__ */ new Set(), m = !1, M = null;
1489
+ if (s = s.replace(/\{#(.*?)#\}/g, (L, ne) => {
1490
+ m = !1, M = null;
1489
1491
  for (let de = 0; de < f.length; de++)
1490
1492
  if (ne == f[de][0]) {
1491
- g = !0, M = f[de][1];
1493
+ m = !0, M = f[de][1];
1492
1494
  break;
1493
1495
  }
1494
- return g ? (d.add(ne), M) : H;
1496
+ return m ? (d.add(ne), M) : L;
1495
1497
  }), d.size > 0) {
1496
- let H = f.filter((ne, de) => !d.has(ne[0]));
1497
- e.url = i, e.data = H || [];
1498
+ let L = f.filter((ne, de) => !d.has(ne[0]));
1499
+ e.url = s, e.data = L || [];
1498
1500
  }
1499
1501
  }
1500
1502
  }
1501
1503
  }, Ve = async (e) => {
1502
1504
  if (e && v(e.url)) {
1503
- let i = e.respParams || [], l = {};
1505
+ let s = e.respParams || [], l = {};
1504
1506
  l.url = e.url, l.externalRequest = e.external || !1, l.method = e.method || "GET", l.paramType = "object", l.data = z(e.params), l.headers = e.headers, e.series && (l.series = e.series, l.requestCount = e.requestCount || 0, l.time = e.time || 1e3), G(l);
1505
1507
  let f = null;
1506
1508
  if (e.loading) {
1507
- let d = e.load || {}, g = {
1509
+ let d = e.load || {}, m = {
1508
1510
  ...d.extParam,
1509
1511
  lock: d.lock,
1510
1512
  background: d.background,
1511
1513
  text: d.text
1512
1514
  };
1513
- f = _t(g);
1515
+ f = yt(m);
1514
1516
  }
1515
1517
  if (e.sync) {
1516
1518
  l.series = !1;
1517
- const { errors: d, resultInfo: g } = await Oe(l);
1519
+ const { errors: d, resultInfo: m } = await Oe(l);
1518
1520
  if (f && f.close(), d && d.length > 0) {
1519
1521
  if (e.enabledRespErrTip) {
1520
1522
  let M = e.respErrTip || {};
1521
1523
  te(M);
1522
1524
  }
1523
- ae(e, g, d[0]);
1524
- } else if (g)
1525
+ ie(e, m, d[0]);
1526
+ } else if (m)
1525
1527
  if (l.externalRequest)
1526
- if (g && g.status == 200) {
1528
+ if (m && m.status == 200) {
1527
1529
  if (e.enabledRespTip) {
1528
1530
  let M = e.respTip || {};
1529
1531
  te(M);
1530
1532
  }
1531
- ce(g, i), ee(e, g);
1533
+ ce(m, s), ee(e, m);
1532
1534
  } else {
1533
1535
  if (e.enabledRespErrTip) {
1534
1536
  let M = e.respErrTip || {};
1535
1537
  te(M);
1536
1538
  }
1537
- ae(e, g, null);
1539
+ ie(e, m, null);
1538
1540
  }
1539
1541
  else {
1540
- if (g) {
1542
+ if (m) {
1541
1543
  if (e.enabledRespTip) {
1542
1544
  let M = e.respTip || {};
1543
1545
  te(M);
1544
1546
  }
1545
- ce(g, i);
1547
+ ce(m, s);
1546
1548
  }
1547
- ee(e, g);
1549
+ ee(e, m);
1548
1550
  }
1549
1551
  } else {
1550
- let d = p.request(l, function(g) {
1552
+ let d = p.request(l, function(m) {
1551
1553
  if (f && f.close(), l.externalRequest)
1552
- if (g && g.status == 200) {
1554
+ if (m && m.status == 200) {
1553
1555
  if (e.enabledRespTip) {
1554
1556
  let M = e.respTip || {};
1555
1557
  te(M);
1556
1558
  }
1557
- ce(g, i), ee(e, g);
1559
+ ce(m, s), ee(e, m);
1558
1560
  } else {
1559
1561
  if (e.enabledRespErrTip) {
1560
1562
  let M = e.respErrTip || {};
1561
1563
  te(M);
1562
1564
  }
1563
- ae(e, g, null);
1565
+ ie(e, m, null);
1564
1566
  }
1565
1567
  else {
1566
- if (g) {
1568
+ if (m) {
1567
1569
  if (e.enabledRespTip) {
1568
1570
  let M = e.respTip || {};
1569
1571
  te(M);
1570
1572
  }
1571
- ce(g, i);
1573
+ ce(m, s);
1572
1574
  }
1573
- ee(e, g);
1575
+ ee(e, m);
1574
1576
  }
1575
- }, function(g) {
1577
+ }, function(m) {
1576
1578
  if (f && f.close(), e.enabledRespErrTip) {
1577
1579
  let M = e.respErrTip || {};
1578
1580
  te(M);
1579
1581
  }
1580
- ae(e, null, g);
1582
+ ie(e, null, m);
1581
1583
  });
1582
1584
  d && h.push(d);
1583
1585
  }
@@ -1586,32 +1588,32 @@ function nt(n = {}, o = !0, r = {}) {
1586
1588
  e.tipType == "msg" ? _e(e.type, e.msg, e.extParam) : e.tipType == "notify" && je(e.type, e.msg, e.extParam);
1587
1589
  }, wt = (e) => {
1588
1590
  if (e && q(e.params)) {
1589
- let i = e.params || [], l = null;
1590
- for (let f = 0; f < i.length; f++)
1591
- if (l = i[f], ie(l)) {
1591
+ let s = e.params || [], l = null;
1592
+ for (let f = 0; f < s.length; f++)
1593
+ if (l = s[f], se(l)) {
1592
1594
  let d = Q(l);
1593
1595
  I.setDataCache(l.tarKey, d);
1594
1596
  }
1595
1597
  }
1596
1598
  }, xt = (e) => {
1597
1599
  if (e && q(e.params)) {
1598
- let i = e.params || [], l = null;
1599
- for (let f = 0; f < i.length; f++)
1600
- if (l = i[f], v(l.ipn) && v(l.opn) && c.has(l.ipn)) {
1601
- let d = c.get(l.ipn), g = fe.equals(d, l.ipv);
1602
- if (g)
1600
+ let s = e.params || [], l = null;
1601
+ for (let f = 0; f < s.length; f++)
1602
+ if (l = s[f], v(l.ipn) && v(l.opn) && c.has(l.ipn)) {
1603
+ let d = c.get(l.ipn), m = fe.equals(d, l.ipv);
1604
+ if (m)
1603
1605
  c.set(l.opn, l.opv);
1604
1606
  else {
1605
- let M = pe(d), H = pe(l.ipv);
1606
- g = fe["=="](M, H), g && c.set(l.opn, l.opv);
1607
+ let M = pe(d), L = pe(l.ipv);
1608
+ m = fe["=="](M, L), m && c.set(l.opn, l.opv);
1607
1609
  }
1608
1610
  }
1609
1611
  }
1610
- }, St = (e) => {
1612
+ }, bt = (e) => {
1611
1613
  if (e && q(e.params)) {
1612
- let i = e.params || [], l = null;
1613
- for (let f = 0; f < i.length; f++)
1614
- if (l = i[f], ie(l)) {
1614
+ let s = e.params || [], l = null;
1615
+ for (let f = 0; f < s.length; f++)
1616
+ if (l = s[f], se(l)) {
1615
1617
  let d = Q(l);
1616
1618
  I.setParam(l.tarKey, d);
1617
1619
  }
@@ -1623,35 +1625,35 @@ function nt(n = {}, o = !0, r = {}) {
1623
1625
  getParam: function(e) {
1624
1626
  return c.get(e);
1625
1627
  },
1626
- setParam: function(e, i) {
1627
- c.set(e, i);
1628
+ setParam: function(e, s) {
1629
+ c.set(e, s);
1628
1630
  },
1629
1631
  getDataCache: function(e) {
1630
- return a.data[e];
1632
+ return i.data[e];
1631
1633
  },
1632
- setDataCache: function(e, i) {
1633
- a.data[e] = i;
1634
+ setDataCache: function(e, s) {
1635
+ i.setData(e, s);
1634
1636
  },
1635
1637
  getContainerParam: function(e) {
1636
1638
  return V(e);
1637
1639
  },
1638
- setSessionParam: function(e, i) {
1639
- sessionStorage.setItem(e, i);
1640
+ setSessionParam: function(e, s) {
1641
+ sessionStorage.setItem(e, s);
1640
1642
  },
1641
1643
  getSessionParam: function(e) {
1642
1644
  return sessionStorage.getItem(e);
1643
1645
  },
1644
- setLocalParam: function(e, i) {
1645
- localStorage.setItem(e, i);
1646
+ setLocalParam: function(e, s) {
1647
+ localStorage.setItem(e, s);
1646
1648
  },
1647
1649
  getLocalParam: function(e) {
1648
1650
  return localStorage.getItem(e);
1649
1651
  },
1650
- callCompMethod: function(e, i, l = {}) {
1651
- U(y) ? y(e, i, l) : console.error("compMethod is not function.");
1652
+ callCompMethod: function(e, s, l = {}) {
1653
+ U(y) ? y(e, s, l) : console.error("compMethod is not function.");
1652
1654
  },
1653
- setJsCookie: function(e, i, l = 30) {
1654
- Ie.set(e, i, { expires: l });
1655
+ setJsCookie: function(e, s, l = 30) {
1656
+ Ie.set(e, s, { expires: l });
1655
1657
  },
1656
1658
  getJsCookie: function(e) {
1657
1659
  return Ie.get(e);
@@ -1659,73 +1661,73 @@ function nt(n = {}, o = !0, r = {}) {
1659
1661
  removeJsCookie: function(e) {
1660
1662
  Ie.remove(e);
1661
1663
  },
1662
- log: function(e = "log", i) {
1663
- e == "error" ? console.error(i) : e == "info" ? console.info(i) : e == "warn" ? console.warn(i) : console.log(i);
1664
+ log: function(e = "log", s) {
1665
+ e == "error" ? console.error(s) : e == "info" ? console.info(s) : e == "warn" ? console.warn(s) : console.log(s);
1664
1666
  },
1665
1667
  isNotEmptyStr: function(e) {
1666
1668
  return v(e);
1667
1669
  },
1668
1670
  md5: function(e) {
1669
- return mt(e);
1671
+ return dt(e);
1670
1672
  },
1671
1673
  getDate: function(e) {
1672
- return pt(e);
1674
+ return ft(e);
1673
1675
  },
1674
- formatDate: function(e, i = "yyyy-MM-dd") {
1675
- return ft(e, i);
1676
+ formatDate: function(e, s = "yyyy-MM-dd") {
1677
+ return ut(e, s);
1676
1678
  },
1677
1679
  closeDialog: function(e) {
1678
- b(e);
1680
+ w(e);
1679
1681
  },
1680
- hideAndShowComp: function(e, i, l = {}) {
1681
- U(P) ? P(e, i, l) : console.error("hideAndShowComp is not function.");
1682
+ hideAndShowComp: function(e, s, l = {}) {
1683
+ U(P) ? P(e, s, l) : console.error("hideAndShowComp is not function.");
1682
1684
  },
1683
- callCompWrapMethod: function(e, i, l = {}) {
1684
- if (U(F))
1685
- return F(e, i, l);
1685
+ callCompWrapMethod: function(e, s, l = {}) {
1686
+ if (U(E))
1687
+ return E(e, s, l);
1686
1688
  console.error("compWrapMethod is not function.");
1687
1689
  },
1688
1690
  getRuleDataCache: function(e) {
1689
- return a.rules[e];
1691
+ return i.rules[e];
1690
1692
  },
1691
- setRuleDataCache: function(e, i, l = !1) {
1692
- l ? a.rules[e] = i : a.rules[e] || (a.rules[e] = i);
1693
+ setRuleDataCache: function(e, s, l = !1) {
1694
+ i.setRuleData(e, s, l);
1693
1695
  },
1694
1696
  getNumberFormat: function() {
1695
- return NumberFormat;
1697
+ return B;
1696
1698
  },
1697
- formatNum: function(e, i = 0, l = 3, f = !1) {
1698
- return se(e) ? NumberFormat.formatDecimal(e, i, l, f) : e;
1699
+ formatNum: function(e, s = 0, l = 3, f = !1) {
1700
+ return ae(e) ? B.formatDecimal(e, s, l, f) : e;
1699
1701
  }
1700
- }, Ct = (e) => {
1702
+ }, St = (e) => {
1701
1703
  if (e && v(e.funcBody)) {
1702
- const i = {
1703
- helper: { ...s, ...I }
1704
+ const s = {
1705
+ helper: { ...a, ...I }
1704
1706
  };
1705
1707
  try {
1706
1708
  let l = e.funcBody.toString().trim();
1707
- l.indexOf("function") < 0 && (l = "function(){" + l + "}"), new Function("context", `with(context) {return ${l}}`)(i)();
1709
+ l.indexOf("function") < 0 && (l = "function(){" + l + "}"), new Function("context", `with(context) {return ${l}}`)(s)();
1708
1710
  } catch (l) {
1709
1711
  console.error("处理自定义函数时出错:", l);
1710
1712
  }
1711
1713
  }
1712
- }, Pt = (e) => {
1714
+ }, Ct = (e) => {
1713
1715
  if (e && v(e.type)) {
1714
1716
  if (e.opType == "clear") {
1715
- let i = e.type;
1716
- i == "session" ? sessionStorage.clear() : i == "local" && localStorage.clear();
1717
+ let s = e.type;
1718
+ s == "session" ? sessionStorage.clear() : s == "local" && localStorage.clear();
1717
1719
  } else if (q(e.params) && e.params.length > 0) {
1718
- let i = e.type, l = e.params || [], f = null;
1720
+ let s = e.type, l = e.params || [], f = null;
1719
1721
  for (let d = 0; d < l.length; d++)
1720
1722
  if (f = l[d], f.delete)
1721
- v(f.tarKey) && (i == "session" ? sessionStorage.removeItem(f.tarKey) : i == "local" ? localStorage.removeItem(f.tarKey) : i == "jsCookie" && I.removeJsCookie(f.tarKey));
1722
- else if (ie(f)) {
1723
- let g = Q(f);
1724
- i == "session" ? sessionStorage.setItem(f.tarKey, g) : i == "local" ? localStorage.setItem(f.tarKey, g) : i == "jsCookie" && I.setJsCookie(f.tarKey, g);
1723
+ v(f.tarKey) && (s == "session" ? sessionStorage.removeItem(f.tarKey) : s == "local" ? localStorage.removeItem(f.tarKey) : s == "jsCookie" && I.removeJsCookie(f.tarKey));
1724
+ else if (se(f)) {
1725
+ let m = Q(f);
1726
+ s == "session" ? sessionStorage.setItem(f.tarKey, m) : s == "local" ? localStorage.setItem(f.tarKey, m) : s == "jsCookie" && I.setJsCookie(f.tarKey, m);
1725
1727
  }
1726
1728
  }
1727
1729
  }
1728
- }, ie = (e) => v(e.ds) && v(e.tarKey) ? e.ds != "inputV" ? v(e.key) : !0 : !1, Q = (e) => {
1730
+ }, se = (e) => v(e.ds) && v(e.tarKey) ? e.ds != "inputV" ? v(e.key) : !0 : !1, Q = (e) => {
1729
1731
  if (e.ds == "inputP")
1730
1732
  return I.getParam(e.key);
1731
1733
  if (e.ds == "cacheP")
@@ -1739,95 +1741,95 @@ function nt(n = {}, o = !0, r = {}) {
1739
1741
  if (e.ds == "jsCookieP")
1740
1742
  return I.getJsCookie(e.key);
1741
1743
  if (e.ds == "compProp")
1742
- return U(s.getPropValue) ? s.getPropValue(e.key) : null;
1744
+ return U(a.getPropValue) ? a.getPropValue(e.key) : null;
1743
1745
  if (e.ds == "compStyle")
1744
- return U(s.getStyleValue) ? s.getStyleValue(e.key) : null;
1746
+ return U(a.getStyleValue) ? a.getStyleValue(e.key) : null;
1745
1747
  if (e.ds == "_selectMenuValue" || e.ds == "_selectItemValue" || e.ds == "_changeItemValue") {
1746
- let i = I.getParam(e.ds);
1747
- return Pe(i) ? null : re(i) ? v(e.key) && Re(i, e.key) ? Te(i, e.key) : null : i;
1748
+ let s = I.getParam(e.ds);
1749
+ return Pe(s) ? null : re(s) ? v(e.key) && Re(s, e.key) ? Te(s, e.key) : null : s;
1748
1750
  } else {
1749
- let i = e.key;
1750
- return i.toString().trim().indexOf("#json#") == 0 ? (i = i.toString().trim().replace("#json#", ""), ct(i, {})) : e.key;
1751
+ let s = e.key;
1752
+ return s.toString().trim().indexOf("#json#") == 0 ? (s = s.toString().trim().replace("#json#", ""), at(s, {})) : e.key;
1751
1753
  }
1752
- }, Mt = (e, i) => {
1754
+ }, Pt = (e, s) => {
1753
1755
  if (e.ds == "cacheP")
1754
- return I.setDataCache(e.tarKey, i);
1756
+ return I.setDataCache(e.tarKey, s);
1755
1757
  if (e.ds == "inputP")
1756
- return I.setParam(e.tarKey, i);
1758
+ return I.setParam(e.tarKey, s);
1757
1759
  if (e.ds == "sessionP")
1758
- return I.setSessionParam(e.tarKey, i);
1760
+ return I.setSessionParam(e.tarKey, s);
1759
1761
  if (e.ds == "localP")
1760
- return I.setLocalParam(e.tarKey, i);
1761
- e.ds == "jsCookieP" ? I.setJsCookie(e.tarKey, i) : e.ds == "compProp" ? U(s.setPropValue) && s.setPropValue(e.tarKey, i) : e.ds == "compStyle" && U(s.setStyleValue) && s.setStyleValue(e.tarKey, i);
1762
- }, Ot = (e) => {
1762
+ return I.setLocalParam(e.tarKey, s);
1763
+ e.ds == "jsCookieP" ? I.setJsCookie(e.tarKey, s) : e.ds == "compProp" ? U(a.setPropValue) && a.setPropValue(e.tarKey, s) : e.ds == "compStyle" && U(a.setStyleValue) && a.setStyleValue(e.tarKey, s);
1764
+ }, Mt = (e) => {
1763
1765
  if (e) {
1764
- let i = e.styleSets || [], l = e.propSets || [];
1765
- q(l) && l.length > 0 && U(s.setPropValue) && l.forEach((f, d) => {
1766
- if (ie(f)) {
1767
- let g = Q(f);
1768
- s.setPropValue(f.tarKey, g);
1766
+ let s = e.styleSets || [], l = e.propSets || [];
1767
+ q(l) && l.length > 0 && U(a.setPropValue) && l.forEach((f, d) => {
1768
+ if (se(f)) {
1769
+ let m = Q(f);
1770
+ a.setPropValue(f.tarKey, m);
1769
1771
  }
1770
- }), q(i) && i.length > 0 && U(s.setStyleValue) && i.forEach((f, d) => {
1771
- if (ie(f)) {
1772
- let g = Q(f);
1773
- s.setStyleValue(f.tarKey, g);
1772
+ }), q(s) && s.length > 0 && U(a.setStyleValue) && s.forEach((f, d) => {
1773
+ if (se(f)) {
1774
+ let m = Q(f);
1775
+ a.setStyleValue(f.tarKey, m);
1774
1776
  }
1775
1777
  });
1776
1778
  }
1777
- }, Vt = (e) => {
1778
- let i = !1;
1779
+ }, Ot = (e) => {
1780
+ let s = !1;
1779
1781
  if (e && q(e.params)) {
1780
1782
  let l = e.params || [], f = null, d = !1;
1781
- for (let g = 0; g < l.length; g++) {
1782
- f = l[g];
1783
- let M = Q(f), H = f.value;
1783
+ for (let m = 0; m < l.length; m++) {
1784
+ f = l[m];
1785
+ let M = Q(f), L = f.value;
1784
1786
  const ne = f.opType;
1785
- if ([">", ">=", "<", "<=", "=="].includes(ne) && (M = pe(M), H = pe(H)), fe[ne] ? d = fe[ne](M, H) : d = !1, d) {
1786
- i = !0;
1787
+ if ([">", ">=", "<", "<=", "=="].includes(ne) && (M = pe(M), L = pe(L)), fe[ne] ? d = fe[ne](M, L) : d = !1, d) {
1788
+ s = !0;
1787
1789
  break;
1788
1790
  }
1789
1791
  }
1790
- if (e.enabledTip && i) {
1791
- let g = e.tip || {};
1792
- g.tipType == "msg" ? _e(g.type, g.msg, g.extParam) : g.tipType == "notify" && je(g.type, g.msg, g.extParam);
1792
+ if (e.enabledTip && s) {
1793
+ let m = e.tip || {};
1794
+ m.tipType == "msg" ? _e(m.type, m.msg, m.extParam) : m.tipType == "notify" && je(m.type, m.msg, m.extParam);
1793
1795
  }
1794
1796
  }
1795
- return i;
1796
- }, Ke = (e, i) => {
1797
+ return s;
1798
+ }, qe = (e, s) => {
1797
1799
  if (e.customFunc && v(e.confirmFunc)) {
1798
1800
  const l = {
1799
- helper: { ...s, ...I }
1801
+ helper: { ...a, ...I }
1800
1802
  };
1801
1803
  try {
1802
1804
  let f = e.confirmFunc.toString().trim();
1803
- f.indexOf("function") < 0 && (f = "function (promptValue){" + f + "}"), new Function("context", `with(context) {return ${f}}`)(l)(i);
1805
+ f.indexOf("function") < 0 && (f = "function (promptValue){" + f + "}"), new Function("context", `with(context) {return ${f}}`)(l)(s);
1804
1806
  } catch (f) {
1805
1807
  console.error("[__messageBoxHandler4CustomSuccessFunc]处理自定义失败函数时出错:", f);
1806
1808
  }
1807
1809
  }
1808
- }, It = (e, i) => {
1810
+ }, Vt = (e, s) => {
1809
1811
  if (e.customFunc && v(e.errorFunc)) {
1810
1812
  const l = {
1811
- helper: { ...s, ...I }
1813
+ helper: { ...a, ...I }
1812
1814
  };
1813
1815
  try {
1814
1816
  let f = e.errorFunc.toString().trim();
1815
- f.indexOf("function") < 0 && (f = "function (err){" + f + "}"), new Function("context", `with(context) {return ${f}}`)(l)(i);
1817
+ f.indexOf("function") < 0 && (f = "function (err){" + f + "}"), new Function("context", `with(context) {return ${f}}`)(l)(s);
1816
1818
  } catch (f) {
1817
1819
  console.error("[__messageBoxHandler4CustomErrorFunc]处理自定义失败函数时出错:", f);
1818
1820
  }
1819
1821
  }
1820
- }, ve = (e, i) => {
1822
+ }, ve = (e, s) => {
1821
1823
  if (e.customFunc) {
1822
1824
  let l = "";
1823
- if (i == "cancel" && v(e.cancelFunc))
1825
+ if (s == "cancel" && v(e.cancelFunc))
1824
1826
  l = e.cancelFunc;
1825
- else if (i == "close" && v(e.closeFunc))
1827
+ else if (s == "close" && v(e.closeFunc))
1826
1828
  l = e.closeFunc;
1827
1829
  else
1828
1830
  return;
1829
1831
  const f = {
1830
- helper: { ...s, ...I }
1832
+ helper: { ...a, ...I }
1831
1833
  };
1832
1834
  try {
1833
1835
  let d = l.toString().trim();
@@ -1836,8 +1838,8 @@ function nt(n = {}, o = !0, r = {}) {
1836
1838
  console.error("[__messageBoxHandler4CustomCancelOrCloseFunc]处理自定义失败函数时出错:", d);
1837
1839
  }
1838
1840
  }
1839
- }, kt = async (e) => {
1840
- let i = !1;
1841
+ }, It = async (e) => {
1842
+ let s = !1;
1841
1843
  if (e && v(e.type)) {
1842
1844
  let l = {
1843
1845
  ...e.params,
@@ -1846,93 +1848,93 @@ function nt(n = {}, o = !0, r = {}) {
1846
1848
  cancelButtonText: e.cancelText
1847
1849
  };
1848
1850
  if (e.type == "confirm") {
1849
- const { errors: f, resultInfo: d } = await vt(e.title, e.message, l);
1850
- f && f.length > 0 ? f[0] == "cancel" ? ve(e, "cancel") : f[0] == "close" && ve(e, "close") : d == "confirm" && (i = !0, Ke(e, null));
1851
+ const { errors: f, resultInfo: d } = await _t(e.title, e.message, l);
1852
+ f && f.length > 0 ? f[0] == "cancel" ? ve(e, "cancel") : f[0] == "close" && ve(e, "close") : d == "confirm" && (s = !0, qe(e, null));
1851
1853
  } else if (e.type == "prompt") {
1852
1854
  if (v(l.inputPattern)) {
1853
- const g = l.inputPattern.replace(/\\\\/g, "\\");
1854
- l.inputPattern = new RegExp(g);
1855
+ const m = l.inputPattern.replace(/\\\\/g, "\\");
1856
+ l.inputPattern = new RegExp(m);
1855
1857
  }
1856
- const { errors: f, resultInfo: d } = await bt(e.title, e.message, l);
1857
- f && f.length > 0 ? f[0] == "cancel" ? ve(e, "cancel") : f[0] == "close" ? ve(e, "close") : It(e, f[0]) : d.action == "confirm" && (i = !0, I.setParam("promptValue", d.value), Ke(e, d.value));
1858
+ const { errors: f, resultInfo: d } = await vt(e.title, e.message, l);
1859
+ f && f.length > 0 ? f[0] == "cancel" ? ve(e, "cancel") : f[0] == "close" ? ve(e, "close") : Vt(e, f[0]) : d.action == "confirm" && (s = !0, I.setParam("promptValue", d.value), qe(e, d.value));
1858
1860
  }
1859
- e.autoBlock || (i = !0);
1861
+ e.autoBlock || (s = !0);
1860
1862
  } else
1861
- i = !0;
1862
- return i;
1863
- }, Dt = (e) => {
1863
+ s = !0;
1864
+ return s;
1865
+ }, kt = (e) => {
1864
1866
  if (e && v(e.pageId)) {
1865
- let i = { ...e };
1867
+ let s = { ...e };
1866
1868
  if (e.customPosition) {
1867
- let l = (I.getParam("elementRectLeft") ?? 0) + (se(e.leftOffset) ? e.leftOffset : 0), f = (I.getParam("elementRectTop") ?? 0) + (se(e.topOffset) ? e.topOffset : 0);
1868
- i.absLeft = l, i.absTop = f;
1869
+ let l = (I.getParam("elementRectLeft") ?? 0) + (ae(e.leftOffset) ? e.leftOffset : 0), f = (I.getParam("elementRectTop") ?? 0) + (ae(e.topOffset) ? e.topOffset : 0);
1870
+ s.absLeft = l, s.absTop = f;
1869
1871
  }
1870
- _(i);
1872
+ _(s);
1871
1873
  }
1872
- }, Ft = (e) => {
1874
+ }, Dt = (e) => {
1873
1875
  if (e && q(e.params)) {
1874
- let i = e.params || [], l = null;
1875
- for (let f = 0; f < i.length; f++)
1876
- if (l = i[f], v(l.compId)) {
1876
+ let s = e.params || [], l = null;
1877
+ for (let f = 0; f < s.length; f++)
1878
+ if (l = s[f], v(l.compId)) {
1877
1879
  let d = l.options || {};
1878
1880
  l.type == "s" ? I.hideAndShowComp(l.compId, !0, d) : I.hideAndShowComp(l.compId, !1, d);
1879
1881
  }
1880
1882
  }
1881
1883
  }, Et = (e) => {
1882
1884
  if (e) {
1883
- let i = e.interval ?? 1e3, l = setInterval(
1885
+ let s = e.interval ?? 1e3, l = setInterval(
1884
1886
  () => {
1885
- X("debug", "定时器触发..."), We();
1887
+ X("debug", "定时器触发..."), Ue();
1886
1888
  },
1887
- i
1889
+ s
1888
1890
  );
1889
- C.push(l), We();
1891
+ C.push(l), Ue();
1890
1892
  }
1891
1893
  }, Tt = (e) => {
1892
1894
  if (e) {
1893
- let i = e.bindRefreshKey, l = e.clearFlag;
1894
- if (v(i))
1895
+ let s = e.bindRefreshKey, l = e.clearFlag;
1896
+ if (v(s))
1895
1897
  if (l)
1896
1898
  D();
1897
1899
  else {
1898
1900
  D();
1899
- const f = k[i];
1901
+ const f = k[s];
1900
1902
  if (!f) return;
1901
- x = Me(f, (d, g) => {
1902
- Yt();
1903
+ b = Me(f, (d, m) => {
1904
+ Qt();
1903
1905
  });
1904
1906
  }
1905
1907
  }
1906
1908
  }, Rt = (e) => {
1907
1909
  if (e) {
1908
- let i = e.interval ?? 1e3, l = setTimeout(
1910
+ let s = e.interval ?? 1e3, l = setTimeout(
1909
1911
  () => {
1910
- Qt(e.id);
1912
+ $t(e.id);
1911
1913
  },
1912
- i
1914
+ s
1913
1915
  );
1914
- j.set(e.id, l);
1916
+ N.set(e.id, l);
1915
1917
  }
1916
- }, At = (e, i = {}) => {
1918
+ }, At = (e, s = {}) => {
1917
1919
  if (e && v(e.eventId)) {
1918
- let l = i.eventIds || [];
1920
+ let l = s.eventIds || [];
1919
1921
  if (l.findIndex((d) => d == e.eventId) < 0) {
1920
1922
  let d = Object.keys(t);
1921
- for (let g = 0; g < d.length; g++) {
1922
- let M = t[d[g]] || [];
1923
- for (const H of M)
1924
- if (H.id == e.eventId) {
1925
- if (l.push(H.id), i.eventIds = [...l], H.default) {
1926
- be(H.actionList, i);
1923
+ for (let m = 0; m < d.length; m++) {
1924
+ let M = t[d[m]] || [];
1925
+ for (const L of M)
1926
+ if (L.id == e.eventId) {
1927
+ if (l.push(L.id), s.eventIds = [...l], L.default) {
1928
+ we(L.actionList, s);
1927
1929
  break;
1928
- } else Ue(H) && be(H.actionList, i);
1930
+ } else ze(L) && we(L.actionList, s);
1929
1931
  break;
1930
1932
  }
1931
1933
  }
1932
1934
  } else
1933
1935
  X("error", "存在循环调用,不执行事件配置", e.eventId);
1934
1936
  }
1935
- }, be = async (e = [], i = {}) => {
1937
+ }, we = async (e = [], s = {}) => {
1936
1938
  let l = null;
1937
1939
  for (let f = 0; f < e.length; f++)
1938
1940
  if (l = e[f], l.action == "router")
@@ -1944,32 +1946,32 @@ function nt(n = {}, o = !0, r = {}) {
1944
1946
  else if (l.action == "paramMap")
1945
1947
  xt(l.config);
1946
1948
  else if (l.action == "paramSet")
1947
- St(l.config);
1949
+ bt(l.config);
1948
1950
  else if (l.action == "customFunction")
1949
- Ct(l.config);
1951
+ St(l.config);
1950
1952
  else if (l.action == "webStorage")
1951
- Pt(l.config);
1953
+ Ct(l.config);
1952
1954
  else if (l.action == "componentSet")
1953
- Ot(l.config);
1955
+ Mt(l.config);
1954
1956
  else if (l.action == "actionEnd") {
1955
- if (Vt(l.config)) {
1957
+ if (Ot(l.config)) {
1956
1958
  console.log("actionEnd is true. break");
1957
1959
  break;
1958
1960
  }
1959
1961
  } else if (l.action == "messageBox") {
1960
- if (!await kt(l.config)) {
1962
+ if (!await It(l.config)) {
1961
1963
  console.log("messageBox is false. break");
1962
1964
  break;
1963
1965
  }
1964
1966
  } else if (l.action == "openDialog") {
1965
- Dt(l.config);
1967
+ kt(l.config);
1966
1968
  break;
1967
- } else l.action == "showAndHideSet" ? Ft(l.config) : l.action == "timerSet" ? Et(l.config) : l.action == "performEvent" ? At(l.config, i) : l.action == "bindRefreshSet" ? Tt(l.config) : l.action == "delaySet" && Rt(l.config);
1968
- }, ze = (e) => e == "inputV" || e == "_selectMenuValue" || e == "_selectItemValue" || e == "_changeItemValue", Nt = (e) => {
1969
- let i = !1, l, f, d = !1;
1970
- v(e.lType) && (ze(e.lType) ? d = !0 : d = v(e.lValue));
1971
- let g = !1;
1972
- if (v(e.rType) && (ze(e.rType) ? g = !0 : g = v(e.rValue)), d && g) {
1969
+ } else l.action == "showAndHideSet" ? Dt(l.config) : l.action == "timerSet" ? Et(l.config) : l.action == "performEvent" ? At(l.config, s) : l.action == "bindRefreshSet" ? Tt(l.config) : l.action == "delaySet" && Rt(l.config);
1970
+ }, Ke = (e) => e == "inputV" || e == "_selectMenuValue" || e == "_selectItemValue" || e == "_changeItemValue", Ft = (e) => {
1971
+ let s = !1, l, f, d = !1;
1972
+ v(e.lType) && (Ke(e.lType) ? d = !0 : d = v(e.lValue));
1973
+ let m = !1;
1974
+ if (v(e.rType) && (Ke(e.rType) ? m = !0 : m = v(e.rValue)), d && m) {
1973
1975
  l = Q({
1974
1976
  ds: e.lType,
1975
1977
  key: e.lValue
@@ -1978,186 +1980,186 @@ function nt(n = {}, o = !0, r = {}) {
1978
1980
  key: e.rValue
1979
1981
  });
1980
1982
  const M = e.opType;
1981
- [">", ">=", "<", "<=", "=="].includes(M) && (l = pe(l), f = pe(f)), fe[M] ? i = fe[M](l, f) : (i = !1, console.warn("useEventHandler Invalid operator: " + M));
1983
+ [">", ">=", "<", "<=", "=="].includes(M) && (l = pe(l), f = pe(f)), fe[M] ? s = fe[M](l, f) : (s = !1, console.warn("useEventHandler Invalid operator: " + M));
1982
1984
  } else
1983
1985
  console.warn("_judgeCondition warn: the condition config is error.");
1984
- return i;
1985
- }, Ue = (e) => {
1986
- let i = !1;
1986
+ return s;
1987
+ }, ze = (e) => {
1988
+ let s = !1;
1987
1989
  if (e.default)
1988
- i = !0;
1990
+ s = !0;
1989
1991
  else {
1990
1992
  let l = e.condition || [];
1991
1993
  if (l.length > 0) {
1992
1994
  let f = !0;
1993
1995
  for (let d = 0; d < l.length; d++)
1994
- if (!Nt(l[d])) {
1996
+ if (!Ft(l[d])) {
1995
1997
  f = !1;
1996
1998
  break;
1997
1999
  }
1998
- f && (i = !0);
2000
+ f && (s = !0);
1999
2001
  } else
2000
- i = !0;
2002
+ s = !0;
2001
2003
  }
2002
- return i;
2004
+ return s;
2003
2005
  }, K = (e = []) => {
2004
- for (const i of e) {
2006
+ for (const s of e) {
2005
2007
  let l = {};
2006
- if (l.eventIds = [i.id], i.default) {
2007
- be(i.actionList, l);
2008
+ if (l.eventIds = [s.id], s.default) {
2009
+ we(s.actionList, l);
2008
2010
  break;
2009
- } else Ue(i) && be(i.actionList, l);
2011
+ } else ze(s) && we(s.actionList, l);
2010
2012
  }
2011
2013
  }, jt = (e) => {
2012
- u || (w && clearTimeout(w), w = setTimeout(() => {
2014
+ u || (x && clearTimeout(x), x = setTimeout(() => {
2013
2015
  if (t && t.hasOwnProperty("onMouseClick")) {
2014
2016
  if (e && e.target) {
2015
2017
  const l = e.target.getBoundingClientRect();
2016
2018
  Y("elementRect", l), Y("elementRectLeft", l.left), Y("elementRectTop", l.top);
2017
2019
  }
2018
- let i = t.onMouseClick;
2019
- K(i);
2020
+ let s = t.onMouseClick;
2021
+ K(s);
2020
2022
  }
2021
2023
  }, S));
2022
2024
  }, Bt = (e) => {
2023
- if (!u && (w && clearTimeout(w), t && t.hasOwnProperty("onMouseDblClick"))) {
2025
+ if (!u && (x && clearTimeout(x), t && t.hasOwnProperty("onMouseDblClick"))) {
2024
2026
  if (e && e.target) {
2025
2027
  const l = e.target.getBoundingClientRect();
2026
2028
  Y("elementRect", l), Y("elementRectLeft", l.left), Y("elementRectTop", l.top);
2027
2029
  }
2028
- let i = t.onMouseDblClick;
2029
- K(i);
2030
+ let s = t.onMouseDblClick;
2031
+ K(s);
2030
2032
  }
2031
- }, Ht = (e, i) => {
2032
- if (!u && (Y("_selectMenuValue", i), t && t.hasOwnProperty("onContextMenu"))) {
2033
+ }, Nt = (e, s) => {
2034
+ if (!u && (Y("_selectMenuValue", s), t && t.hasOwnProperty("onContextMenu"))) {
2033
2035
  let l = t.onContextMenu;
2034
2036
  K(l);
2035
2037
  }
2036
- }, Lt = (e) => {
2038
+ }, Ht = (e) => {
2037
2039
  if (!u && (Y("_selectItemValue", e), t && t.hasOwnProperty("selectItem"))) {
2038
- let i = t.selectItem;
2039
- K(i);
2040
+ let s = t.selectItem;
2041
+ K(s);
2040
2042
  }
2041
- }, qt = (e) => {
2043
+ }, Lt = (e) => {
2042
2044
  if (!u && (Y("_changeItemValue", e), t && t.hasOwnProperty("changeValue"))) {
2043
- let i = t.changeValue;
2044
- K(i);
2045
+ let s = t.changeValue;
2046
+ K(s);
2045
2047
  }
2046
- }, Kt = () => {
2048
+ }, qt = () => {
2047
2049
  if (!u && t && t.hasOwnProperty("keyEnter")) {
2048
2050
  let e = t.keyEnter;
2049
2051
  K(e);
2050
2052
  }
2051
- }, zt = () => {
2053
+ }, Kt = () => {
2052
2054
  if (!u && t && t.hasOwnProperty("onBeforeMount")) {
2053
2055
  let e = t.onBeforeMount;
2054
2056
  K(e);
2055
2057
  }
2056
- }, Ut = () => {
2058
+ }, zt = () => {
2057
2059
  if (!u && t && t.hasOwnProperty("onMounted")) {
2058
2060
  let e = t.onMounted;
2059
2061
  K(e);
2060
2062
  }
2061
- }, Wt = () => {
2063
+ }, Ut = () => {
2062
2064
  if (C && C.length > 0)
2063
2065
  for (let e = 0; e < C.length; e++)
2064
2066
  try {
2065
2067
  clearInterval(C[e]);
2066
- } catch (i) {
2067
- console.error("cancel request error", i);
2068
+ } catch (s) {
2069
+ console.error("cancel request error", s);
2068
2070
  }
2069
- }, Jt = () => {
2070
- j && j.size > 0 && (j.forEach((e, i, l) => {
2071
+ }, Wt = () => {
2072
+ N && N.size > 0 && (N.forEach((e, s, l) => {
2071
2073
  clearTimeout(e);
2072
- }), j.clear());
2073
- }, Gt = () => {
2074
- if (Wt(), Jt(), !u) {
2074
+ }), N.clear());
2075
+ }, Jt = () => {
2076
+ if (Ut(), Wt(), !u) {
2075
2077
  if (h && h.length > 0)
2076
2078
  for (let e = 0; e < h.length; e++)
2077
2079
  try {
2078
2080
  h[e] && h[e]();
2079
- } catch (i) {
2080
- console.error("cancel request error", i);
2081
+ } catch (s) {
2082
+ console.error("cancel request error", s);
2081
2083
  }
2082
2084
  if (t && t.hasOwnProperty("onBeforeUnmount")) {
2083
2085
  let e = t.onBeforeUnmount;
2084
2086
  K(e);
2085
2087
  }
2086
2088
  }
2087
- }, $t = () => {
2089
+ }, Gt = () => {
2088
2090
  if (!u && t && t.hasOwnProperty("onUnmounted")) {
2089
2091
  let e = t.onUnmounted;
2090
2092
  K(e);
2091
2093
  }
2092
- }, We = () => {
2094
+ }, Ue = () => {
2093
2095
  if (!u && t && t.hasOwnProperty("timerTrigger")) {
2094
2096
  let e = t.timerTrigger;
2095
2097
  K(e);
2096
2098
  }
2097
- }, Qt = (e) => {
2099
+ }, $t = (e) => {
2098
2100
  if (!u) {
2099
2101
  if (t && t.hasOwnProperty("delayTrigger")) {
2100
- let i = t.delayTrigger;
2101
- K(i);
2102
+ let s = t.delayTrigger;
2103
+ K(s);
2102
2104
  }
2103
- j.has(e) && (clearTimeout(j.get(e)), j.delete(e));
2105
+ N.has(e) && (clearTimeout(N.get(e)), N.delete(e));
2104
2106
  }
2105
- }, Yt = () => {
2107
+ }, Qt = () => {
2106
2108
  if (!u && t && t.hasOwnProperty("bindRefreshTrigger")) {
2107
2109
  let e = t.bindRefreshTrigger;
2108
2110
  K(e);
2109
2111
  }
2110
- }, Y = (e, i) => {
2111
- I.setParam(e, i);
2112
+ }, Y = (e, s) => {
2113
+ I.setParam(e, s);
2112
2114
  };
2113
2115
  return {
2114
2116
  handleClick: jt,
2115
2117
  handleDblClick: Bt,
2116
- handleContextMenu: Ht,
2117
- selectItem: Lt,
2118
- changeValue: qt,
2119
- beforeMount: zt,
2120
- mounted: Ut,
2121
- beforeUnmount: Gt,
2122
- unmounted: $t,
2118
+ handleContextMenu: Nt,
2119
+ selectItem: Ht,
2120
+ changeValue: Lt,
2121
+ beforeMount: Kt,
2122
+ mounted: zt,
2123
+ beforeUnmount: Jt,
2124
+ unmounted: Gt,
2123
2125
  setParam: Y,
2124
- keyEnter: Kt
2126
+ keyEnter: qt
2125
2127
  };
2126
2128
  }
2127
- function ot(n, o, r, t) {
2129
+ function nt(n, o, r, t) {
2128
2130
  return {
2129
- setPropValue: function(s, c) {
2130
- n.value[s] = c;
2131
+ setPropValue: function(a, c) {
2132
+ n.value[a] = c;
2131
2133
  },
2132
- getPropValue: function(s) {
2133
- return n.value[s];
2134
+ getPropValue: function(a) {
2135
+ return n.value[a];
2134
2136
  },
2135
- setStyleValue: function(s, c) {
2136
- o.value.style[s] = c;
2137
+ setStyleValue: function(a, c) {
2138
+ o.value.style[a] = c;
2137
2139
  },
2138
- getStyleValue: function(s) {
2139
- return o.value.style[s];
2140
+ getStyleValue: function(a) {
2141
+ return o.value.style[a];
2140
2142
  },
2141
- routerPush: function(s, c) {
2143
+ routerPush: function(a, c) {
2142
2144
  r && r.push({
2143
- name: s,
2145
+ name: a,
2144
2146
  params: c
2145
2147
  });
2146
2148
  },
2147
- routerPush2: function(s, c) {
2149
+ routerPush2: function(a, c) {
2148
2150
  r && r.push({
2149
- path: s,
2151
+ path: a,
2150
2152
  query: c
2151
2153
  });
2152
2154
  },
2153
- routerReplace: function(s) {
2155
+ routerReplace: function(a) {
2154
2156
  r && r.replace({
2155
- path: s
2157
+ path: a
2156
2158
  });
2157
2159
  }
2158
2160
  };
2159
2161
  }
2160
- const Yn = /* @__PURE__ */ Object.assign({
2162
+ const Qn = /* @__PURE__ */ Object.assign({
2161
2163
  name: "Group"
2162
2164
  }, {
2163
2165
  __name: "Component",
@@ -2179,62 +2181,62 @@ const Yn = /* @__PURE__ */ Object.assign({
2179
2181
  }
2180
2182
  },
2181
2183
  setup(n, { expose: o }) {
2182
- const r = n, t = ye(), u = Ne(t), s = T(null), c = O(() => r.propValue || {}), p = O(() => r.element || {}), a = O(() => c.value.components || []), m = O(() => a.value.map((D) => {
2184
+ const r = n, t = ye(), u = Fe(t), a = R(null), c = O(() => r.propValue || {}), p = O(() => r.element || {}), i = O(() => c.value.components || []), g = O(() => i.value.map((D) => {
2183
2185
  let V = { ...D }, J = P(D.groupStyle);
2184
2186
  return V.computedStyle = J, V.style && (V.style.width = V.computedStyle.width, V.style.height = V.computedStyle.height), V;
2185
- })), y = O(() => p.value.events || []), h = Ye(), _ = Xe(), b = ot(c, p, h);
2186
- Ge(() => {
2187
- s.value = nt(y.value, r.designStatus, b), s.value?.beforeMount();
2187
+ })), y = O(() => p.value.events || []), h = Qe(), _ = Ye(), w = nt(c, p, h);
2188
+ Je(() => {
2189
+ a.value = tt(y.value, r.designStatus, w), a.value?.beforeMount();
2188
2190
  }), Ce(() => {
2189
- s.value?.mounted();
2191
+ a.value?.mounted();
2192
+ }), Ge(() => {
2193
+ a.value?.beforeUnmount();
2190
2194
  }), $e(() => {
2191
- s.value?.beforeUnmount();
2192
- }), Qe(() => {
2193
- s.value?.unmounted();
2195
+ a.value?.unmounted();
2194
2196
  });
2195
- const w = (D) => {
2196
- s.value?.setParam(D);
2197
+ const x = (D) => {
2198
+ a.value?.setParam(D);
2197
2199
  }, S = (D) => {
2198
- s.value?.handleDblClick(D);
2200
+ a.value?.handleDblClick(D);
2199
2201
  }, P = (D) => {
2200
2202
  if (!D || !p.value?.style) return {};
2201
2203
  let V = { ...D }, J = p.value.style.width, z = p.value.style.height;
2202
2204
  return V.width = Math.floor(parseFloat(V.width) / 100 * J), V.height = Math.floor(parseFloat(V.height) / 100 * z), V.top = Math.floor(parseFloat(V.top) / 100 * z), V.left = Math.floor(parseFloat(V.left) / 100 * J), V;
2203
- }, C = he({}), F = (D, V) => {
2205
+ }, C = he({}), E = (D, V) => {
2204
2206
  D ? C[`Ve${V}`] = D : delete C[`Ve${V}`];
2205
- }, k = (D) => C[`Ve${D}`], x = (D, V, J) => {
2207
+ }, k = (D) => C[`Ve${D}`], b = (D, V, J) => {
2206
2208
  if (v(D) && v(V)) {
2207
2209
  const z = k(D);
2208
2210
  z && z[V] && (J ? z[V](J) : z[V]());
2209
2211
  }
2210
2212
  };
2211
2213
  o({
2212
- callGroupCompMethod: x
2214
+ callGroupCompMethod: b
2213
2215
  });
2214
- const j = { props: r, dataCache: t, smartData: u, eventHandler: s, propValue: c, element: p, components: a, computedComponents: m, events: y, router: h, route: _, compContext: b, handleClick: w, handleDblClick: S, calcCompStyle: P, componentRefs: C, setComponentRef: F, getComponentRef: k, callGroupCompMethod: x, get useDataCacheStore() {
2216
+ const N = { props: r, dataCache: t, smartData: u, eventHandler: a, propValue: c, element: p, components: i, computedComponents: g, events: y, router: h, route: _, compContext: w, handleClick: x, handleDblClick: S, calcCompStyle: P, componentRefs: C, setComponentRef: E, getComponentRef: k, callGroupCompMethod: b, get useDataCacheStore() {
2215
2217
  return ye;
2216
2218
  }, get createSmartAccessor() {
2217
- return Ne;
2218
- }, ref: T, computed: O, onMounted: Ce, onBeforeMount: Ge, onBeforeUnmount: $e, onUnmounted: Qe, watch: Me, reactive: he, get useEventHandler() {
2219
- return nt;
2219
+ return Fe;
2220
+ }, ref: R, computed: O, onMounted: Ce, onBeforeMount: Je, onBeforeUnmount: Ge, onUnmounted: $e, watch: Me, reactive: he, get useEventHandler() {
2221
+ return tt;
2220
2222
  }, get useRoute() {
2221
- return Xe;
2222
- }, get useRouter() {
2223
2223
  return Ye;
2224
+ }, get useRouter() {
2225
+ return Qe;
2224
2226
  }, get CreateCompContext() {
2225
- return ot;
2227
+ return nt;
2226
2228
  }, get getStyle() {
2227
- return ht;
2229
+ return mt;
2228
2230
  }, get isNotEmpty() {
2229
2231
  return v;
2230
2232
  } };
2231
- return Object.defineProperty(j, "__isScriptSetup", { enumerable: !1, value: !0 }), j;
2233
+ return Object.defineProperty(N, "__isScriptSetup", { enumerable: !1, value: !0 }), N;
2232
2234
  }
2233
2235
  });
2234
- function Xn(n, o, r, t, u, s) {
2235
- return R(), W("div", { class: "group" }, [
2236
+ function Yn(n, o, r, t, u, a) {
2237
+ return A(), W("div", { class: "group" }, [
2236
2238
  le("div", null, [
2237
- (R(!0), W(He, null, Le(t.computedComponents, (c) => (R(), $(xe(c.component), {
2239
+ (A(!0), W(Ne, null, He(t.computedComponents, (c) => (A(), $(be(c.component), {
2238
2240
  id: "component" + c.id,
2239
2241
  ref_for: !0,
2240
2242
  ref: (p) => t.setComponentRef(p, c.id),
@@ -2247,65 +2249,65 @@ function Xn(n, o, r, t, u, s) {
2247
2249
  ])
2248
2250
  ]);
2249
2251
  }
2250
- const Zn = /* @__PURE__ */ Z(Yn, [["render", Xn], ["__scopeId", "data-v-20de9881"], ["__file", "Component.vue"]]), eo = /* @__PURE__ */ Object.assign({
2252
+ const Xn = /* @__PURE__ */ Z(Qn, [["render", Yn], ["__scopeId", "data-v-20de9881"], ["__file", "Component.vue"]]), Zn = /* @__PURE__ */ Object.assign({
2251
2253
  name: "VEDataCache"
2252
2254
  }, {
2253
2255
  __name: "index",
2254
2256
  setup(n, { expose: o }) {
2255
2257
  o();
2256
- const r = T(null), t = T(null), u = T([]), s = T(0), c = ye(), p = T(!1), a = T({
2258
+ const r = R(null), t = R(null), u = R([]), a = R(0), c = ye(), p = R(!1), i = R({
2257
2259
  id: "",
2258
2260
  fuzzyQry: !1,
2259
2261
  pageNum: 1,
2260
2262
  pageSize: 15
2261
- }), m = () => {
2262
- a.value.pageNum = 1, h();
2263
+ }), g = () => {
2264
+ i.value.pageNum = 1, h();
2263
2265
  }, y = () => {
2264
- r.value?.resetFields(), m();
2266
+ r.value?.resetFields(), g();
2265
2267
  }, h = () => {
2266
- if (!v(a.value.id)) {
2267
- s.value = 0, u.value = [];
2268
+ if (!v(i.value.id)) {
2269
+ a.value = 0, u.value = [];
2268
2270
  return;
2269
2271
  }
2270
2272
  if (p.value = !0, c.data)
2271
- if (a.value.fuzzyQry) {
2272
- let w = Object.keys(c.data), S = [];
2273
- for (let P = 0; P < w.length; P++)
2274
- w[P].startsWith(a.value.id) && S.push(w[P]);
2275
- if (s.value = S.length, s.value > 0) {
2276
- let P = (a.value.pageNum - 1) * a.value.pageSize, C = P + a.value.pageSize;
2277
- if (P <= s.value) {
2278
- let F = [];
2273
+ if (i.value.fuzzyQry) {
2274
+ let x = Object.keys(c.data), S = [];
2275
+ for (let P = 0; P < x.length; P++)
2276
+ x[P].startsWith(i.value.id) && S.push(x[P]);
2277
+ if (a.value = S.length, a.value > 0) {
2278
+ let P = (i.value.pageNum - 1) * i.value.pageSize, C = P + i.value.pageSize;
2279
+ if (P <= a.value) {
2280
+ let E = [];
2279
2281
  for (let k = P; k < C; k++)
2280
- if (k < s.value) {
2281
- let x = c.data[S[k]], j = re(x) ? we(x) : x;
2282
- F.push({
2282
+ if (k < a.value) {
2283
+ let b = c.data[S[k]], N = re(b) ? xe(b) : b;
2284
+ E.push({
2283
2285
  key: S[k],
2284
- value: j
2286
+ value: N
2285
2287
  });
2286
2288
  }
2287
- u.value = F;
2289
+ u.value = E;
2288
2290
  } else
2289
2291
  u.value = [];
2290
2292
  } else
2291
2293
  u.value = [];
2292
2294
  } else {
2293
- let w = c.data[a.value.id];
2294
- if (Pe(w))
2295
- s.value = 0, u.value = [];
2295
+ let x = c.data[i.value.id];
2296
+ if (Pe(x))
2297
+ a.value = 0, u.value = [];
2296
2298
  else {
2297
- s.value = 1;
2298
- let S = re(w) ? we(w) : w;
2299
+ a.value = 1;
2300
+ let S = re(x) ? xe(x) : x;
2299
2301
  u.value = [{
2300
- key: a.value.id,
2302
+ key: i.value.id,
2301
2303
  value: S
2302
2304
  }];
2303
2305
  }
2304
2306
  }
2305
2307
  p.value = !1;
2306
- }, b = { queryForm: r, resultTableRef: t, dataList: u, total: s, dataCache: c, loading: p, queryParams: a, handleQuery: m, resetQuery: y, getList: h, handleCopyData: (w) => {
2307
- w && Ee(w.value) && _e("success", "复制成功");
2308
- }, ref: T, get useDataCacheStore() {
2308
+ }, w = { queryForm: r, resultTableRef: t, dataList: u, total: a, dataCache: c, loading: p, queryParams: i, handleQuery: g, resetQuery: y, getList: h, handleCopyData: (x) => {
2309
+ x && Ee(x.value) && _e("success", "复制成功");
2310
+ }, ref: R, get useDataCacheStore() {
2309
2311
  return ye;
2310
2312
  }, get copyToClipboard() {
2311
2313
  return Ee;
@@ -2316,46 +2318,46 @@ const Zn = /* @__PURE__ */ Z(Yn, [["render", Xn], ["__scopeId", "data-v-20de9881
2316
2318
  }, get isObject() {
2317
2319
  return re;
2318
2320
  }, get toJsonStr() {
2319
- return we;
2321
+ return xe;
2320
2322
  }, get showMessage() {
2321
2323
  return _e;
2322
2324
  } };
2323
- return Object.defineProperty(b, "__isScriptSetup", { enumerable: !1, value: !0 }), b;
2325
+ return Object.defineProperty(w, "__isScriptSetup", { enumerable: !1, value: !0 }), w;
2324
2326
  }
2325
2327
  });
2326
- function to(n, o, r, t, u, s) {
2327
- const c = B("el-input"), p = B("el-form-item"), a = B("el-switch"), m = B("el-button"), y = B("el-form"), h = B("el-table-column"), _ = B("el-table"), b = B("pagination"), w = on("loading");
2328
- return R(), W("div", { class: "panel-area" }, [
2328
+ function eo(n, o, r, t, u, a) {
2329
+ const c = H("el-input"), p = H("el-form-item"), i = H("el-switch"), g = H("el-button"), y = H("el-form"), h = H("el-table-column"), _ = H("el-table"), w = H("pagination"), x = nn("loading");
2330
+ return A(), W("div", { class: "panel-area" }, [
2329
2331
  le("div", { class: "panel-condition" }, [
2330
- E(y, {
2332
+ T(y, {
2331
2333
  model: t.queryParams,
2332
2334
  ref: "queryForm",
2333
2335
  inline: !0
2334
2336
  }, {
2335
- default: A(() => [
2336
- E(p, {
2337
+ default: F(() => [
2338
+ T(p, {
2337
2339
  label: "缓存key",
2338
2340
  prop: "id"
2339
2341
  }, {
2340
- default: A(() => [
2341
- E(c, {
2342
+ default: F(() => [
2343
+ T(c, {
2342
2344
  modelValue: t.queryParams.id,
2343
2345
  "onUpdate:modelValue": o[0] || (o[0] = (S) => t.queryParams.id = S),
2344
2346
  placeholder: "请输入缓存key",
2345
2347
  clearable: "",
2346
2348
  style: { width: "240px" },
2347
- onKeyup: rn(t.handleQuery, ["enter", "native"])
2349
+ onKeyup: on(t.handleQuery, ["enter", "native"])
2348
2350
  }, null, 8, ["modelValue"])
2349
2351
  ]),
2350
2352
  _: 1
2351
2353
  }),
2352
- N(),
2353
- E(p, {
2354
+ j(),
2355
+ T(p, {
2354
2356
  label: "查询模式",
2355
2357
  prop: "name"
2356
2358
  }, {
2357
- default: A(() => [
2358
- E(a, {
2359
+ default: F(() => [
2360
+ T(i, {
2359
2361
  modelValue: t.queryParams.fuzzyQry,
2360
2362
  "onUpdate:modelValue": o[1] || (o[1] = (S) => t.queryParams.fuzzyQry = S),
2361
2363
  "active-text": "模糊",
@@ -2364,28 +2366,28 @@ function to(n, o, r, t, u, s) {
2364
2366
  ]),
2365
2367
  _: 1
2366
2368
  }),
2367
- N(),
2368
- E(p, null, {
2369
- default: A(() => [
2370
- E(m, {
2369
+ j(),
2370
+ T(p, null, {
2371
+ default: F(() => [
2372
+ T(g, {
2371
2373
  type: "primary",
2372
2374
  icon: "search",
2373
2375
  size: "small",
2374
2376
  onClick: t.handleQuery
2375
2377
  }, {
2376
- default: A(() => [
2377
- N("搜索")
2378
+ default: F(() => [
2379
+ j("搜索")
2378
2380
  ]),
2379
2381
  _: 1
2380
2382
  }),
2381
- N(),
2382
- E(m, {
2383
+ j(),
2384
+ T(g, {
2383
2385
  icon: "refresh",
2384
2386
  size: "small",
2385
2387
  onClick: t.resetQuery
2386
2388
  }, {
2387
- default: A(() => [
2388
- N("重置")
2389
+ default: F(() => [
2390
+ j("重置")
2389
2391
  ]),
2390
2392
  _: 1
2391
2393
  })
@@ -2396,55 +2398,55 @@ function to(n, o, r, t, u, s) {
2396
2398
  _: 1
2397
2399
  }, 8, ["model"])
2398
2400
  ]),
2399
- N(),
2401
+ j(),
2400
2402
  le("div", { class: "panel-table" }, [
2401
- N(`\r
2403
+ j(`\r
2402
2404
      \r
2403
2405
  `),
2404
- De((R(), $(_, {
2406
+ De((A(), $(_, {
2405
2407
  ref: "resultTableRef",
2406
2408
  data: t.dataList,
2407
2409
  stripe: "",
2408
2410
  border: "",
2409
2411
  "highlight-current-row": ""
2410
2412
  }, {
2411
- default: A(() => [
2412
- E(h, {
2413
+ default: F(() => [
2414
+ T(h, {
2413
2415
  type: "index",
2414
2416
  align: "center",
2415
2417
  width: "60"
2416
2418
  }),
2417
- N(),
2418
- E(h, {
2419
+ j(),
2420
+ T(h, {
2419
2421
  label: "缓存Key",
2420
2422
  align: "center",
2421
2423
  property: "key",
2422
2424
  "show-overflow-tooltip": !0,
2423
2425
  "min-width": "200"
2424
2426
  }),
2425
- N(),
2426
- E(h, {
2427
+ j(),
2428
+ T(h, {
2427
2429
  label: "缓存值",
2428
2430
  align: "left",
2429
2431
  property: "value",
2430
2432
  "show-overflow-tooltip": !0,
2431
2433
  "min-width": "400"
2432
2434
  }),
2433
- N(),
2434
- E(h, {
2435
+ j(),
2436
+ T(h, {
2435
2437
  label: "操作",
2436
2438
  align: "center",
2437
2439
  "show-overflow-tooltip": !0,
2438
2440
  "min-width": "80"
2439
2441
  }, {
2440
- default: A((S) => [
2441
- E(m, {
2442
+ default: F((S) => [
2443
+ T(g, {
2442
2444
  link: "",
2443
2445
  icon: "document",
2444
2446
  onClick: (P) => t.handleCopyData(S.row)
2445
2447
  }, {
2446
- default: A(() => [
2447
- N(`复制数据\r
2448
+ default: F(() => [
2449
+ j(`复制数据\r
2448
2450
  `)
2449
2451
  ]),
2450
2452
  _: 1
@@ -2455,10 +2457,10 @@ function to(n, o, r, t, u, s) {
2455
2457
  ]),
2456
2458
  _: 1
2457
2459
  }, 8, ["data"])), [
2458
- [w, t.loading]
2460
+ [x, t.loading]
2459
2461
  ]),
2460
- N(),
2461
- De(E(b, {
2462
+ j(),
2463
+ De(T(w, {
2462
2464
  total: t.total,
2463
2465
  page: t.queryParams.pageNum,
2464
2466
  "onUpdate:page": o[2] || (o[2] = (S) => t.queryParams.pageNum = S),
@@ -2467,34 +2469,34 @@ function to(n, o, r, t, u, s) {
2467
2469
  pageSizes: [15, 20, 30, 50],
2468
2470
  onPagination: t.getList
2469
2471
  }, null, 8, ["total", "page", "limit"]), [
2470
- [rt, t.total > 0]
2472
+ [ot, t.total > 0]
2471
2473
  ])
2472
2474
  ])
2473
2475
  ]);
2474
2476
  }
2475
- const no = /* @__PURE__ */ Z(eo, [["render", to], ["__scopeId", "data-v-55cea49e"], ["__file", "index.vue"]]), oo = [
2477
+ const to = /* @__PURE__ */ Z(Zn, [["render", eo], ["__scopeId", "data-v-55cea49e"], ["__file", "index.vue"]]), no = [
2478
+ Dn,
2476
2479
  Fn,
2477
- Nn,
2478
- Kn,
2479
- no,
2480
- Wn,
2481
- yt,
2482
- $n,
2483
- Zn
2480
+ qn,
2481
+ to,
2482
+ Un,
2483
+ ht,
2484
+ Gn,
2485
+ Xn
2484
2486
  ], Be = (n, o) => {
2485
- Be.installed || (Be.installed = !0, n.provide("hflvloader-api", o), oo.forEach((r) => {
2487
+ Be.installed || (Be.installed = !0, n.provide("hflvloader-api", o), no.forEach((r) => {
2486
2488
  n.component(r.name, r);
2487
2489
  }));
2488
2490
  }, go = {
2489
2491
  install: Be
2490
2492
  };
2491
2493
  export {
2492
- fo as CommonUtils,
2493
- ot as CreateCompContext,
2494
- mo as MessageUtils,
2495
- Ne as createSmartAccessor,
2494
+ uo as CommonUtils,
2495
+ nt as CreateCompContext,
2496
+ po as MessageUtils,
2497
+ Fe as createSmartAccessor,
2496
2498
  go as default,
2497
- po as reCalcCanvasSize,
2499
+ fo as reCalcCanvasSize,
2498
2500
  ye as useDataCacheStore,
2499
- nt as useEventHandler
2501
+ tt as useEventHandler
2500
2502
  };