hflvloader 0.0.3 → 0.0.4

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