vue-2024-ui 0.3.13 → 0.3.14

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.
package/dist/index.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import jl, { dayjs as Ul, ElForm as Vt, ElButtonGroup as Ot, ElButton as Ae, ElPopover as Ft, ElIcon as Bt, ElMessage as Je, ElMessageBox as fl } from "element-plus";
2
- import { ref as ie, useModel as dt, computed as Ye, nextTick as rt, onMounted as kt, watch as Et, resolveComponent as L, openBlock as y, createElementBlock as B, Fragment as fe, createElementVNode as ae, createBlock as P, createCommentVNode as Ve, normalizeStyle as Ge, unref as I, mergeProps as F, withCtx as h, renderSlot as C, renderList as ee, createTextVNode as Me, toDisplayString as Pe, createSlots as Se, createVNode as O, normalizeProps as Tt, resolveDynamicComponent as lt, guardReactiveProps as pl, mergeModels as ct, useSlots as ml, inject as zt, withModifiers as $t, Transition as ql, withDirectives as zl, vShow as Ll, h as $e, useAttrs as Lt, onUnmounted as Nl, onBeforeUnmount as Yl, normalizeClass as vl, watchEffect as Hl, onBeforeMount as Fl, reactive as Bl, createApp as Wl } from "vue";
2
+ import { ref as ie, useModel as dt, computed as Ye, nextTick as rt, onMounted as kt, watch as Et, resolveComponent as L, openBlock as y, createElementBlock as F, Fragment as fe, createElementVNode as ae, createBlock as P, createCommentVNode as Ve, normalizeStyle as Ge, unref as I, mergeProps as H, withCtx as h, renderSlot as C, renderList as ee, createTextVNode as Me, toDisplayString as Pe, createSlots as Se, createVNode as O, normalizeProps as Tt, resolveDynamicComponent as lt, guardReactiveProps as pl, mergeModels as ct, useSlots as ml, inject as zt, withModifiers as $t, Transition as ql, withDirectives as zl, vShow as Ll, h as $e, useAttrs as Lt, onUnmounted as Nl, onBeforeUnmount as Yl, normalizeClass as vl, watchEffect as Hl, onBeforeMount as Fl, reactive as Bl, createApp as Wl } from "vue";
3
3
  import { Plus as yl, Search as Gl, Refresh as Nt, More as Zl, CircleClose as Jl, CircleCheckFilled as Ql, CircleCheck as Ut, Minus as Xl, Close as Kl, Switch as hl, FullScreen as en, InfoFilled as gl, Download as Kt, DocumentCopy as tn, Setting as ln, CirclePlus as nn, Delete as el, Edit as bl, View as wl, ArrowUp as on, ArrowDown as an, CopyDocument as rn, ZoomOut as sn, ZoomIn as un, FolderChecked as dn, Printer as $l, Sunny as cn, Moon as fn, Reading as pn } from "@element-plus/icons-vue";
4
4
  import { hiPrintPlugin as kl, hiprint as it } from "vue-plugin-hiprint";
5
5
  import xl from "sortablejs";
@@ -188,7 +188,7 @@ var Ml = { exports: {} };
188
188
  (function(e, t) {
189
189
  a.exports = t();
190
190
  })(yn, function() {
191
- var e = 1e3, t = 6e4, s = 36e5, n = "millisecond", l = "second", p = "minute", T = "hour", f = "day", m = "week", r = "month", i = "quarter", c = "year", A = "date", Y = "Invalid Date", z = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, k = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, me = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(S) {
191
+ var e = 1e3, t = 6e4, s = 36e5, n = "millisecond", l = "second", p = "minute", T = "hour", f = "day", m = "week", r = "month", i = "quarter", c = "year", D = "date", Y = "Invalid Date", z = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, k = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, me = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(S) {
192
192
  var g = ["th", "st", "nd", "rd"], _ = S % 100;
193
193
  return "[" + S + (g[(_ - 20) % 10] || g[_] || g[0]) + "]";
194
194
  } }, Z = function(S, g, _) {
@@ -199,12 +199,12 @@ var Ml = { exports: {} };
199
199
  return (g <= 0 ? "+" : "-") + Z(R, 2, "0") + ":" + Z(E, 2, "0");
200
200
  }, m: function S(g, _) {
201
201
  if (g.date() < _.date()) return -S(_, g);
202
- var R = 12 * (_.year() - g.year()) + (_.month() - g.month()), E = g.clone().add(R, r), W = _ - E < 0, N = g.clone().add(R + (W ? -1 : 1), r);
203
- return +(-(R + (_ - E) / (W ? E - N : N - E)) || 0);
202
+ var R = 12 * (_.year() - g.year()) + (_.month() - g.month()), E = g.clone().add(R, r), B = _ - E < 0, N = g.clone().add(R + (B ? -1 : 1), r);
203
+ return +(-(R + (_ - E) / (B ? E - N : N - E)) || 0);
204
204
  }, a: function(S) {
205
205
  return S < 0 ? Math.ceil(S) || 0 : Math.floor(S);
206
206
  }, p: function(S) {
207
- return { M: r, y: c, w: m, d: f, D: A, h: T, m: p, s: l, ms: n, Q: i }[S] || String(S || "").toLowerCase().replace(/s$/, "");
207
+ return { M: r, y: c, w: m, d: f, D, h: T, m: p, s: l, ms: n, Q: i }[S] || String(S || "").toLowerCase().replace(/s$/, "");
208
208
  }, u: function(S) {
209
209
  return S === void 0;
210
210
  } }, X = "en", oe = {};
@@ -215,8 +215,8 @@ var Ml = { exports: {} };
215
215
  var E;
216
216
  if (!g) return X;
217
217
  if (typeof g == "string") {
218
- var W = g.toLowerCase();
219
- oe[W] && (E = W), _ && (oe[W] = _, E = W);
218
+ var B = g.toLowerCase();
219
+ oe[B] && (E = B), _ && (oe[B] = _, E = B);
220
220
  var N = g.split("-");
221
221
  if (!E && N.length > 1) return S(N[0]);
222
222
  } else {
@@ -239,7 +239,7 @@ var Ml = { exports: {} };
239
239
  var g = S.prototype;
240
240
  return g.parse = function(_) {
241
241
  this.$d = function(R) {
242
- var E = R.date, W = R.utc;
242
+ var E = R.date, B = R.utc;
243
243
  if (E === null) return /* @__PURE__ */ new Date(NaN);
244
244
  if (J.u(E)) return /* @__PURE__ */ new Date();
245
245
  if (E instanceof Date) return new Date(E);
@@ -247,7 +247,7 @@ var Ml = { exports: {} };
247
247
  var N = E.match(z);
248
248
  if (N) {
249
249
  var v = N[2] - 1 || 0, x = (N[7] || "0").substring(0, 3);
250
- return W ? new Date(Date.UTC(N[1], v, N[3] || 1, N[4] || 0, N[5] || 0, N[6] || 0, x)) : new Date(N[1], v, N[3] || 1, N[4] || 0, N[5] || 0, N[6] || 0, x);
250
+ return B ? new Date(Date.UTC(N[1], v, N[3] || 1, N[4] || 0, N[5] || 0, N[6] || 0, x)) : new Date(N[1], v, N[3] || 1, N[4] || 0, N[5] || 0, N[6] || 0, x);
251
251
  }
252
252
  }
253
253
  return new Date(E);
@@ -273,22 +273,22 @@ var Ml = { exports: {} };
273
273
  }, g.valueOf = function() {
274
274
  return this.$d.getTime();
275
275
  }, g.startOf = function(_, R) {
276
- var E = this, W = !!J.u(R) || R, N = J.p(_), v = function(le, he) {
276
+ var E = this, B = !!J.u(R) || R, N = J.p(_), v = function(le, he) {
277
277
  var He = J.w(E.$u ? Date.UTC(E.$y, he, le) : new Date(E.$y, he, le), E);
278
- return W ? He : He.endOf(f);
278
+ return B ? He : He.endOf(f);
279
279
  }, x = function(le, he) {
280
- return J.w(E.toDate()[le].apply(E.toDate("s"), (W ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(he)), E);
280
+ return J.w(E.toDate()[le].apply(E.toDate("s"), (B ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(he)), E);
281
281
  }, j = this.$W, b = this.$M, G = this.$D, K = "set" + (this.$u ? "UTC" : "");
282
282
  switch (N) {
283
283
  case c:
284
- return W ? v(1, 0) : v(31, 11);
284
+ return B ? v(1, 0) : v(31, 11);
285
285
  case r:
286
- return W ? v(1, b) : v(0, b + 1);
286
+ return B ? v(1, b) : v(0, b + 1);
287
287
  case m:
288
288
  var Q = this.$locale().weekStart || 0, de = (j < Q ? j + 7 : j) - Q;
289
- return v(W ? G - de : G + (6 - de), b);
289
+ return v(B ? G - de : G + (6 - de), b);
290
290
  case f:
291
- case A:
291
+ case D:
292
292
  return x(K + "Hours", 0);
293
293
  case T:
294
294
  return x(K + "Minutes", 1);
@@ -302,10 +302,10 @@ var Ml = { exports: {} };
302
302
  }, g.endOf = function(_) {
303
303
  return this.startOf(_, !1);
304
304
  }, g.$set = function(_, R) {
305
- var E, W = J.p(_), N = "set" + (this.$u ? "UTC" : ""), v = (E = {}, E[f] = N + "Date", E[A] = N + "Date", E[r] = N + "Month", E[c] = N + "FullYear", E[T] = N + "Hours", E[p] = N + "Minutes", E[l] = N + "Seconds", E[n] = N + "Milliseconds", E)[W], x = W === f ? this.$D + (R - this.$W) : R;
306
- if (W === r || W === c) {
307
- var j = this.clone().set(A, 1);
308
- j.$d[v](x), j.init(), this.$d = j.set(A, Math.min(this.$D, j.daysInMonth())).$d;
305
+ var E, B = J.p(_), N = "set" + (this.$u ? "UTC" : ""), v = (E = {}, E[f] = N + "Date", E[D] = N + "Date", E[r] = N + "Month", E[c] = N + "FullYear", E[T] = N + "Hours", E[p] = N + "Minutes", E[l] = N + "Seconds", E[n] = N + "Milliseconds", E)[B], x = B === f ? this.$D + (R - this.$W) : R;
306
+ if (B === r || B === c) {
307
+ var j = this.clone().set(D, 1);
308
+ j.$d[v](x), j.init(), this.$d = j.set(D, Math.min(this.$D, j.daysInMonth())).$d;
309
309
  } else v && this.$d[v](x);
310
310
  return this.init(), this;
311
311
  }, g.set = function(_, R) {
@@ -313,11 +313,11 @@ var Ml = { exports: {} };
313
313
  }, g.get = function(_) {
314
314
  return this[J.p(_)]();
315
315
  }, g.add = function(_, R) {
316
- var E, W = this;
316
+ var E, B = this;
317
317
  _ = Number(_);
318
318
  var N = J.p(R), v = function(b) {
319
- var G = ye(W);
320
- return J.w(G.date(G.date() + Math.round(b * _)), W);
319
+ var G = ye(B);
320
+ return J.w(G.date(G.date() + Math.round(b * _)), B);
321
321
  };
322
322
  if (N === r) return this.set(r, this.$M + _);
323
323
  if (N === c) return this.set(c, this.$y + _);
@@ -330,15 +330,15 @@ var Ml = { exports: {} };
330
330
  }, g.format = function(_) {
331
331
  var R = this, E = this.$locale();
332
332
  if (!this.isValid()) return E.invalidDate || Y;
333
- var W = _ || "YYYY-MM-DDTHH:mm:ssZ", N = J.z(this), v = this.$H, x = this.$m, j = this.$M, b = E.weekdays, G = E.months, K = E.meridiem, Q = function(he, He, Re, Ke) {
334
- return he && (he[He] || he(R, W)) || Re[He].slice(0, Ke);
333
+ var B = _ || "YYYY-MM-DDTHH:mm:ssZ", N = J.z(this), v = this.$H, x = this.$m, j = this.$M, b = E.weekdays, G = E.months, K = E.meridiem, Q = function(he, He, Re, Ke) {
334
+ return he && (he[He] || he(R, B)) || Re[He].slice(0, Ke);
335
335
  }, de = function(he) {
336
336
  return J.s(v % 12 || 12, he, "0");
337
337
  }, le = K || function(he, He, Re) {
338
338
  var Ke = he < 12 ? "AM" : "PM";
339
339
  return Re ? Ke.toLowerCase() : Ke;
340
340
  };
341
- return W.replace(k, function(he, He) {
341
+ return B.replace(k, function(he, He) {
342
342
  return He || function(Re) {
343
343
  switch (Re) {
344
344
  case "YY":
@@ -396,46 +396,46 @@ var Ml = { exports: {} };
396
396
  }, g.utcOffset = function() {
397
397
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
398
398
  }, g.diff = function(_, R, E) {
399
- var W, N = this, v = J.p(R), x = ye(_), j = (x.utcOffset() - this.utcOffset()) * t, b = this - x, G = function() {
399
+ var B, N = this, v = J.p(R), x = ye(_), j = (x.utcOffset() - this.utcOffset()) * t, b = this - x, G = function() {
400
400
  return J.m(N, x);
401
401
  };
402
402
  switch (v) {
403
403
  case c:
404
- W = G() / 12;
404
+ B = G() / 12;
405
405
  break;
406
406
  case r:
407
- W = G();
407
+ B = G();
408
408
  break;
409
409
  case i:
410
- W = G() / 3;
410
+ B = G() / 3;
411
411
  break;
412
412
  case m:
413
- W = (b - j) / 6048e5;
413
+ B = (b - j) / 6048e5;
414
414
  break;
415
415
  case f:
416
- W = (b - j) / 864e5;
416
+ B = (b - j) / 864e5;
417
417
  break;
418
418
  case T:
419
- W = b / s;
419
+ B = b / s;
420
420
  break;
421
421
  case p:
422
- W = b / t;
422
+ B = b / t;
423
423
  break;
424
424
  case l:
425
- W = b / e;
425
+ B = b / e;
426
426
  break;
427
427
  default:
428
- W = b;
428
+ B = b;
429
429
  }
430
- return E ? W : J.a(W);
430
+ return E ? B : J.a(B);
431
431
  }, g.daysInMonth = function() {
432
432
  return this.endOf(r).$D;
433
433
  }, g.$locale = function() {
434
434
  return oe[this.$L];
435
435
  }, g.locale = function(_, R) {
436
436
  if (!_) return this.$L;
437
- var E = this.clone(), W = qe(_, R, !0);
438
- return W && (E.$L = W), E;
437
+ var E = this.clone(), B = qe(_, R, !0);
438
+ return B && (E.$L = B), E;
439
439
  }, g.clone = function() {
440
440
  return J.w(this.$d, this);
441
441
  }, g.toDate = function() {
@@ -448,7 +448,7 @@ var Ml = { exports: {} };
448
448
  return this.$d.toUTCString();
449
449
  }, S;
450
450
  }(), Ie = ze.prototype;
451
- return ye.prototype = Ie, [["$ms", n], ["$s", l], ["$m", p], ["$H", T], ["$W", f], ["$M", r], ["$y", c], ["$D", A]].forEach(function(S) {
451
+ return ye.prototype = Ie, [["$ms", n], ["$s", l], ["$m", p], ["$H", T], ["$W", f], ["$M", r], ["$y", c], ["$D", D]].forEach(function(S) {
452
452
  Ie[S[1]] = function(g) {
453
453
  return this.$g(g, S[0], S[1]);
454
454
  };
@@ -473,20 +473,20 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
473
473
  }),
474
474
  emits: ["update:modelValue"],
475
475
  setup(a) {
476
- var R, E, W, N, v, x, j, b, G, K, Q, de, le, he, He, Re, Ke, Le;
476
+ var R, E, B, N, v, x, j, b, G, K, Q, de, le, he, He, Re, Ke, Le;
477
477
  const u = a, e = ie(u.item || {}), t = dt(a, "modelValue"), s = Ye(() => u.ctrlKey), n = Ye(() => u.ctrlType), l = Ye(() => u.model), p = Ye(() => {
478
- var V, D, H;
479
- return ((D = (V = l.value) == null ? void 0 : V[s.value]) == null ? void 0 : D.disabled) ?? ((H = e.value) == null ? void 0 : H.disabled);
480
- }), T = ie([]), f = ie([]), m = ie(!1), r = ie(0), i = ie([]), c = ie((E = (R = l == null ? void 0 : l.value) == null ? void 0 : R.form) != null && E["default-placeholder"] ? (N = (W = l == null ? void 0 : l.value) == null ? void 0 : W[s == null ? void 0 : s.value]) == null ? void 0 : N.label : "");
478
+ var V, A, W;
479
+ return ((A = (V = l.value) == null ? void 0 : V[s.value]) == null ? void 0 : A.disabled) ?? ((W = e.value) == null ? void 0 : W.disabled);
480
+ }), T = ie([]), f = ie([]), m = ie(!1), r = ie(0), i = ie([]), c = ie((E = (R = l == null ? void 0 : l.value) == null ? void 0 : R.form) != null && E["default-placeholder"] ? (N = (B = l == null ? void 0 : l.value) == null ? void 0 : B[s == null ? void 0 : s.value]) == null ? void 0 : N.label : "");
481
481
  !((v = n.value) != null && v.startsWith("text")) && !((x = n.value) != null && x.startsWith("link")) && !((j = n.value) != null && j.startsWith("tag")) && !((b = n.value) != null && b.startsWith("div")) && !((G = n.value) != null && G.startsWith("span")) && !((K = n.value) != null && K.startsWith("avatar")) && ((Q = e.value) != null && Q.style || (e.value.style = { width: ((le = (de = e.value) == null ? void 0 : de.style) == null ? void 0 : le.width) || "100%" }));
482
- const A = ie({ display: "flex", flex: 1, whiteSpace: "pre-wrap" });
482
+ const D = ie({ display: "flex", flex: 1, whiteSpace: "pre-wrap" });
483
483
  let Y = u.t === "t" ? "center" : "flex-start";
484
484
  ((he = e.value) == null ? void 0 : he.align) == "right" ? Y = "flex-end" : ((He = e.value) == null ? void 0 : He.align) == "left" ? Y = "flex-start" : ((Re = e.value) == null ? void 0 : Re.align) == "center" && (Y = "center");
485
485
  const z = ((Ke = e.value) == null ? void 0 : Ke.style) || {};
486
- A.value = { ...A.value, justifyContent: Y, ...z };
486
+ D.value = { ...D.value, justifyContent: Y, ...z };
487
487
  const k = () => {
488
- const V = ml(), D = Object.keys(V), H = `${u.t}-${s.value}-`;
489
- return D.filter((ge) => ge.startsWith(H)).map((ge) => ge.replace(H, ""));
488
+ const V = ml(), A = Object.keys(V), W = `${u.t}-${s.value}-`;
489
+ return A.filter((ge) => ge.startsWith(W)).map((ge) => ge.replace(W, ""));
490
490
  }, me = ie({
491
491
  disabled: u.t !== "f",
492
492
  "list-type": "picture-card",
@@ -523,51 +523,51 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
523
523
  monthrange: "YYYY-MM",
524
524
  yearrange: "YYYY"
525
525
  })[V] || "YYYY-MM-DD", oe = Ye(() => {
526
- const V = !!(e.value && (e.value["remote-method"] || e.value.remoteMethod)), D = {
526
+ const V = !!(e.value && (e.value["remote-method"] || e.value.remoteMethod)), A = {
527
527
  filterable: !0,
528
528
  remote: V,
529
529
  ...e.value
530
530
  };
531
531
  if (V) {
532
- const H = e.value["remote-method"] || e.value.remoteMethod;
533
- D["remote-method"] = (U) => {
534
- H(U, (ue) => {
532
+ const W = e.value["remote-method"] || e.value.remoteMethod;
533
+ A["remote-method"] = (U) => {
534
+ W(U, (ue) => {
535
535
  rt(() => {
536
536
  f.value = ue;
537
537
  });
538
538
  });
539
539
  };
540
540
  }
541
- return D;
541
+ return A;
542
542
  }), be = async (V = "options") => {
543
- var D;
543
+ var A;
544
544
  try {
545
- const H = await ((D = e.value) == null ? void 0 : D.getDicts(u.formInfo));
546
- if (typeof H == "string")
547
- f.value = [{ label: H, value: t.value }];
545
+ const W = await ((A = e.value) == null ? void 0 : A.getDicts(u.formInfo));
546
+ if (typeof W == "string")
547
+ f.value = [{ label: W, value: t.value }];
548
548
  else {
549
- const U = H == null ? void 0 : H.map((ue, ge) => ({
549
+ const U = W == null ? void 0 : W.map((ue, ge) => ({
550
550
  ...ue,
551
551
  value: ue.value ?? ue.label ?? ge,
552
552
  label: ue.label || "未知选项"
553
553
  }));
554
554
  f.value = U || [];
555
555
  }
556
- } catch (H) {
557
- throw console.error("获取选项失败:", H), H;
556
+ } catch (W) {
557
+ throw console.error("获取选项失败:", W), W;
558
558
  }
559
559
  }, _e = () => {
560
- var V, D;
561
- e.value.noSearch !== !0 && u.t === "q" && ((D = (V = l.value) == null ? void 0 : V.table) == null || D.load());
560
+ var V, A;
561
+ e.value.noSearch !== !0 && u.t === "q" && ((A = (V = l.value) == null ? void 0 : V.table) == null || A.load());
562
562
  }, qe = (V) => {
563
- var D;
563
+ var A;
564
564
  if (e.value["file-list"] && e.value["file-list"].length > 0) {
565
- const H = e.value["file-list"].findIndex(
565
+ const W = e.value["file-list"].findIndex(
566
566
  (U) => U.url === V.url || U.uid === V.uid || V.raw && U.raw && U.raw.uid === V.raw.uid
567
567
  );
568
- r.value = H >= 0 ? H : 0;
568
+ r.value = W >= 0 ? W : 0;
569
569
  } else {
570
- const H = V.url || ((D = V.raw) == null ? void 0 : D.url), U = S.value.indexOf(H);
570
+ const W = V.url || ((A = V.raw) == null ? void 0 : A.url), U = S.value.indexOf(W);
571
571
  r.value = U >= 0 ? U : 0;
572
572
  }
573
573
  m.value = !0;
@@ -585,30 +585,30 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
585
585
  V.style.setProperty(o, M);
586
586
  }
587
587
  });
588
- const H = ((et = (Ne = e.value) == null ? void 0 : Ne.img) == null ? void 0 : et.fit) ?? ((Xe = e.value) == null ? void 0 : Xe.fit);
589
- H && V.style.setProperty("--up-fit", H), V.style.setProperty(
588
+ const W = ((et = (Ne = e.value) == null ? void 0 : Ne.img) == null ? void 0 : et.fit) ?? ((Xe = e.value) == null ? void 0 : Xe.fit);
589
+ W && V.style.setProperty("--up-fit", W), V.style.setProperty(
590
590
  "--up-plus-display",
591
591
  ((st = e.value) == null ? void 0 : st.disabled) ?? me.value.disabled ? "none" : "flex"
592
592
  );
593
- }, ze = (V, D = 2) => {
593
+ }, ze = (V, A = 2) => {
594
594
  if (V === "") {
595
595
  t.value = "";
596
596
  return;
597
597
  }
598
- let H = V.replace(/[^-\d.]/g, "");
599
- if (H.includes("-") && (H.startsWith("-") ? H = "-" + H.substring(1).replace(/-/g, "") : H = H.replace(/-/g, "")), (H.match(/\./g) || []).length > 1) {
600
- const ge = H.indexOf(".");
601
- H = H.substring(0, ge + 1) + H.substring(ge + 1).replace(/\./g, "");
598
+ let W = V.replace(/[^-\d.]/g, "");
599
+ if (W.includes("-") && (W.startsWith("-") ? W = "-" + W.substring(1).replace(/-/g, "") : W = W.replace(/-/g, "")), (W.match(/\./g) || []).length > 1) {
600
+ const ge = W.indexOf(".");
601
+ W = W.substring(0, ge + 1) + W.substring(ge + 1).replace(/\./g, "");
602
602
  }
603
- if (H = H.replace(/^-\./, "-0."), H = H.replace(/^\./, "0."), H = H.replace(/^-0+(\d)/, "-$1"), H = H.replace(/^0+(\d)/, "$1"), (H === "-" || H === "" || H === ".") && (H = "0"), D >= 0 && H.includes(".")) {
604
- const [ge, Ce] = H.split(".");
605
- Ce.length > D && (H = ge + "." + Ce.substring(0, D));
603
+ if (W = W.replace(/^-\./, "-0."), W = W.replace(/^\./, "0."), W = W.replace(/^-0+(\d)/, "-$1"), W = W.replace(/^0+(\d)/, "$1"), (W === "-" || W === "" || W === ".") && (W = "0"), A >= 0 && W.includes(".")) {
604
+ const [ge, Ce] = W.split(".");
605
+ Ce.length > A && (W = ge + "." + Ce.substring(0, A));
606
606
  }
607
- t.value = H;
607
+ t.value = W;
608
608
  };
609
609
  kt(async () => {
610
- var H, U;
611
- (U = (H = l.value[s.value]) == null ? void 0 : H.options) != null && U.length && (f.value = l.value[s.value].options);
610
+ var W, U;
611
+ (U = (W = l.value[s.value]) == null ? void 0 : W.options) != null && U.length && (f.value = l.value[s.value].options);
612
612
  const V = (ue, ge = "options", Ce = l.value[s.value]) => {
613
613
  typeof e.value.getDicts == "function" && be(ge).catch((Ne) => {
614
614
  console.error(`Failed to load ${ge} for ${ue}:`, Ne);
@@ -650,47 +650,46 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
650
650
  });
651
651
  const Ie = () => e.value["file-list"] ? e.value["file-list"] : n.value == Ue.IMAGE ? Array.isArray(t.value) ? t.value.map((V) => typeof V == "string" ? { name: V, url: V } : V) : t.value && typeof t.value == "string" ? [{ name: t.value, url: t.value }] : [] : [], S = Ye(() => {
652
652
  var V;
653
- return (V = i.value) == null ? void 0 : V.map((D) => D == null ? void 0 : D.url);
654
- }), g = Ye(() => f.value), _ = (V, D) => {
653
+ return (V = i.value) == null ? void 0 : V.map((A) => A == null ? void 0 : A.url);
654
+ }), g = Ye(() => f.value), _ = (V, A) => {
655
655
  if (Array.isArray(V))
656
- return V.every((ue) => _(ue, D));
657
- const H = [], U = (ue) => {
656
+ return V.every((ue) => _(ue, A));
657
+ const W = [], U = (ue) => {
658
658
  ue == null || ue.forEach((ge) => {
659
659
  var Ce;
660
- H.push(ge.value), (Ce = ge.children) != null && Ce.length && U(ge.children);
660
+ W.push(ge.value), (Ce = ge.children) != null && Ce.length && U(ge.children);
661
661
  });
662
662
  };
663
- return U(D || []), H.some((ue) => ue == V);
663
+ return U(A || []), W.some((ue) => ue == V);
664
664
  };
665
665
  return Et(t, (V) => {
666
- var H;
667
- n.value !== Ue.SELECT || V == null || V === "" || Array.isArray(V) && V.length === 0 || typeof ((H = e.value) == null ? void 0 : H.getDicts) != "function" || (e.value["remote-method"] || e.value.remoteMethod) || _(V, f.value) || be().catch((U) => console.error("[g-ctrl] 补全字典失败:", U));
668
- }), (V, D) => {
666
+ n.value === Ue.SELECT && (V == null || V === "" || Array.isArray(V) && V.length === 0 || item.getDicts && (_(V, f.value) || be().catch((A) => console.error("[g-ctrl] 补全字典失败:", A))));
667
+ }), (V, A) => {
669
668
  var ft, pe, we, ke, ht, gt, pt, mt, _t, re, vt, Mt, Ct, Dt, nl, ol, al, rl, il, sl;
670
- const H = L("el-image-viewer"), U = L("el-radio"), ue = L("el-radio-group"), ge = L("el-radio-button"), Ce = L("el-checkbox"), Ne = L("el-checkbox-group"), et = L("el-checkbox-button"), Xe = L("g-select-option"), st = L("el-option"), o = L("el-select"), d = L("el-tree-select"), w = L("el-time-picker"), M = L("el-time-select"), q = L("el-date-picker"), te = L("el-color-picker"), ne = L("el-rate"), Ee = L("el-slider"), Oe = L("el-switch"), Fe = L("el-transfer"), Be = L("el-cascader"), tt = L("el-icon"), ot = L("el-upload"), wt = L("el-autocomplete"), St = L("el-input-number"), At = L("el-input-tag"), ce = L("el-input"), xe = L("el-link"), ve = L("el-text"), Ze = L("el-avatar"), at = L("el-tag");
671
- return y(), B(fe, null, [
669
+ const W = L("el-image-viewer"), U = L("el-radio"), ue = L("el-radio-group"), ge = L("el-radio-button"), Ce = L("el-checkbox"), Ne = L("el-checkbox-group"), et = L("el-checkbox-button"), Xe = L("g-select-option"), st = L("el-option"), o = L("el-select"), d = L("el-tree-select"), w = L("el-time-picker"), M = L("el-time-select"), q = L("el-date-picker"), te = L("el-color-picker"), ne = L("el-rate"), Ee = L("el-slider"), Oe = L("el-switch"), Fe = L("el-transfer"), Be = L("el-cascader"), tt = L("el-icon"), ot = L("el-upload"), wt = L("el-autocomplete"), St = L("el-input-number"), At = L("el-input-tag"), ce = L("el-input"), xe = L("el-link"), ve = L("el-text"), Ze = L("el-avatar"), at = L("el-tag");
670
+ return y(), F(fe, null, [
672
671
  ae("div", null, [
673
- m.value ? (y(), P(H, {
672
+ m.value ? (y(), P(W, {
674
673
  key: 0,
675
674
  teleported: !0,
676
675
  "initial-index": r.value,
677
676
  "url-list": S.value,
678
- onClose: D[0] || (D[0] = ($) => m.value = !1)
677
+ onClose: A[0] || (A[0] = ($) => m.value = !1)
679
678
  }, null, 8, ["initial-index", "url-list"])) : Ve("", !0)
680
679
  ]),
681
680
  ae("div", {
682
- style: Ge([{ display: "flex", width: "100%" }, A.value]),
681
+ style: Ge([{ display: "flex", width: "100%" }, D.value]),
683
682
  class: "g-ctrl-container"
684
683
  }, [
685
- n.value == I(Ue).RADIO ? (y(), P(ue, F({
684
+ n.value == I(Ue).RADIO ? (y(), P(ue, H({
686
685
  key: 0,
687
686
  modelValue: t.value,
688
- "onUpdate:modelValue": D[1] || (D[1] = ($) => t.value = $),
687
+ "onUpdate:modelValue": A[1] || (A[1] = ($) => t.value = $),
689
688
  disabled: p.value
690
689
  }, e.value), {
691
690
  default: h(() => [
692
691
  C(V.$slots, `${u.t}-${s.value}`, { data: e.value }, () => [
693
- (y(!0), B(fe, null, ee(g.value, ($) => (y(), P(U, F({ ref_for: !0 }, $), {
692
+ (y(!0), F(fe, null, ee(g.value, ($) => (y(), P(U, H({ ref_for: !0 }, $), {
694
693
  default: h(() => [
695
694
  C(V.$slots, `${u.t}-${s.value}-options`, { option: $ }, void 0, !0)
696
695
  ]),
@@ -699,15 +698,15 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
699
698
  ], !0)
700
699
  ]),
701
700
  _: 3
702
- }, 16, ["modelValue", "disabled"])) : n.value == I(Ue).RADIOBUTTON ? (y(), P(ue, F({
701
+ }, 16, ["modelValue", "disabled"])) : n.value == I(Ue).RADIOBUTTON ? (y(), P(ue, H({
703
702
  key: 1,
704
703
  modelValue: t.value,
705
- "onUpdate:modelValue": D[2] || (D[2] = ($) => t.value = $),
704
+ "onUpdate:modelValue": A[2] || (A[2] = ($) => t.value = $),
706
705
  disabled: p.value
707
706
  }, e.value), {
708
707
  default: h(() => [
709
708
  C(V.$slots, `${u.t}-${s.value}`, { data: e.value }, () => [
710
- (y(!0), B(fe, null, ee(g.value, ($) => (y(), P(ge, F({ ref_for: !0 }, $), {
709
+ (y(!0), F(fe, null, ee(g.value, ($) => (y(), P(ge, H({ ref_for: !0 }, $), {
711
710
  default: h(() => [
712
711
  C(V.$slots, `${u.t}-${s.value}-options`, { option: $ }, void 0, !0)
713
712
  ]),
@@ -716,27 +715,27 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
716
715
  ], !0)
717
716
  ]),
718
717
  _: 3
719
- }, 16, ["modelValue", "disabled"])) : n.value == I(Ue).CHECKBOX ? (y(), P(Ce, F({
718
+ }, 16, ["modelValue", "disabled"])) : n.value == I(Ue).CHECKBOX ? (y(), P(Ce, H({
720
719
  key: 2,
721
720
  modelValue: t.value,
722
- "onUpdate:modelValue": D[3] || (D[3] = ($) => t.value = $),
721
+ "onUpdate:modelValue": A[3] || (A[3] = ($) => t.value = $),
723
722
  disabled: p.value
724
723
  }, e.value), {
725
724
  default: h(() => [
726
725
  C(V.$slots, `${u.t}-${s.value}`, { data: e.value }, () => [
727
- D[27] || (D[27] = Me(Pe(" "), -1))
726
+ A[27] || (A[27] = Me(Pe(" "), -1))
728
727
  ], !0)
729
728
  ]),
730
729
  _: 3
731
- }, 16, ["modelValue", "disabled"])) : n.value == I(Ue).CHECKBOXGROUP ? (y(), P(Ne, F({
730
+ }, 16, ["modelValue", "disabled"])) : n.value == I(Ue).CHECKBOXGROUP ? (y(), P(Ne, H({
732
731
  key: 3,
733
732
  modelValue: t.value,
734
- "onUpdate:modelValue": D[4] || (D[4] = ($) => t.value = $),
733
+ "onUpdate:modelValue": A[4] || (A[4] = ($) => t.value = $),
735
734
  disabled: p.value
736
735
  }, e.value), {
737
736
  default: h(() => [
738
737
  C(V.$slots, `${u.t}-${s.value}`, { data: e.value }, () => [
739
- (y(!0), B(fe, null, ee(g.value, ($) => (y(), P(Ce, F({ ref_for: !0 }, $), {
738
+ (y(!0), F(fe, null, ee(g.value, ($) => (y(), P(Ce, H({ ref_for: !0 }, $), {
740
739
  default: h(() => [
741
740
  C(V.$slots, `${u.t}-${s.value}-options`, { option: $ }, () => [
742
741
  Me(Pe($.label), 1)
@@ -747,15 +746,15 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
747
746
  ], !0)
748
747
  ]),
749
748
  _: 3
750
- }, 16, ["modelValue", "disabled"])) : n.value == I(Ue).CHECKBOXGROUPBUTTON ? (y(), P(Ne, F({
749
+ }, 16, ["modelValue", "disabled"])) : n.value == I(Ue).CHECKBOXGROUPBUTTON ? (y(), P(Ne, H({
751
750
  key: 4,
752
751
  modelValue: t.value,
753
- "onUpdate:modelValue": D[5] || (D[5] = ($) => t.value = $),
752
+ "onUpdate:modelValue": A[5] || (A[5] = ($) => t.value = $),
754
753
  disabled: p.value
755
754
  }, I(Qe)(e.value, ($) => $ != "type")), {
756
755
  default: h(() => [
757
756
  C(V.$slots, `${u.t}-${s.value}`, { data: e.value }, () => [
758
- (y(!0), B(fe, null, ee(g.value, ($) => (y(), P(et, F({ ref_for: !0 }, $), {
757
+ (y(!0), F(fe, null, ee(g.value, ($) => (y(), P(et, H({ ref_for: !0 }, $), {
759
758
  default: h(() => [
760
759
  C(V.$slots, `${u.t}-${s.value}-options`, { option: $ }, void 0, !0)
761
760
  ]),
@@ -764,13 +763,13 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
764
763
  ], !0)
765
764
  ]),
766
765
  _: 3
767
- }, 16, ["modelValue", "disabled"])) : n.value === I(Ue).SELECT ? (y(), P(o, F({
766
+ }, 16, ["modelValue", "disabled"])) : n.value === I(Ue).SELECT ? (y(), P(o, H({
768
767
  key: 5,
769
768
  modelValue: t.value,
770
- "onUpdate:modelValue": D[6] || (D[6] = ($) => t.value = $),
769
+ "onUpdate:modelValue": A[6] || (A[6] = ($) => t.value = $),
771
770
  placeholder: c.value,
772
771
  clearable: u.t == "q",
773
- onClear: D[7] || (D[7] = () => {
772
+ onClear: A[7] || (A[7] = () => {
774
773
  u.t == "q" && l.value.table.load();
775
774
  }),
776
775
  disabled: p.value
@@ -782,10 +781,10 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
782
781
  key: 0,
783
782
  options: g.value
784
783
  }, () => [
785
- (y(!0), B(fe, null, ee(g.value, (Te) => (y(), B(fe, {
784
+ (y(!0), F(fe, null, ee(g.value, (Te) => (y(), F(fe, {
786
785
  key: Te.value
787
786
  }, [
788
- O(st, F({ ref_for: !0 }, I(Qe)(Te, (je) => je != "children"), {
787
+ O(st, H({ ref_for: !0 }, I(Qe)(Te, (je) => je != "children"), {
789
788
  onClick: (je) => {
790
789
  oe.value.change && oe.value.change(Te), _e();
791
790
  }
@@ -821,7 +820,7 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
821
820
  }),
822
821
  _: 2
823
822
  }, 1040, ["onClick"]),
824
- Te.children && Te.children.length ? (y(!0), B(fe, { key: 0 }, ee(Te.children, (je) => (y(), P(st, F({
823
+ Te.children && Te.children.length ? (y(!0), F(fe, { key: 0 }, ee(Te.children, (je) => (y(), P(st, H({
825
824
  style: { "margin-left": "20px" },
826
825
  key: je.value
827
826
  }, { ref_for: !0 }, I(Qe)(je, (ut) => ut != "children"), {
@@ -893,10 +892,10 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
893
892
  C(V.$slots, `${u.t}-${s.value}-${$}`, { form: a.formInfo }, void 0, !0)
894
893
  ])
895
894
  }))
896
- ]), 1040, ["modelValue", "placeholder", "clearable", "disabled"])) : n.value == I(Ue).TREESELECT ? (y(), P(d, F({
895
+ ]), 1040, ["modelValue", "placeholder", "clearable", "disabled"])) : n.value == I(Ue).TREESELECT ? (y(), P(d, H({
897
896
  key: 6,
898
897
  modelValue: t.value,
899
- "onUpdate:modelValue": D[8] || (D[8] = ($) => t.value = $),
898
+ "onUpdate:modelValue": A[8] || (A[8] = ($) => t.value = $),
900
899
  placeholder: c.value,
901
900
  disabled: p.value
902
901
  }, e.value, { data: T.value }), Se({ _: 2 }, [
@@ -906,27 +905,27 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
906
905
  C(V.$slots, `${u.t}-${s.value}-${$}`, { data: Te }, void 0, !0)
907
906
  ])
908
907
  }))
909
- ]), 1040, ["modelValue", "placeholder", "disabled", "data"])) : n.value == I(Ue).TIME ? (y(), P(w, F({
908
+ ]), 1040, ["modelValue", "placeholder", "disabled", "data"])) : n.value == I(Ue).TIME ? (y(), P(w, H({
910
909
  key: 7,
911
910
  modelValue: t.value,
912
- "onUpdate:modelValue": D[9] || (D[9] = ($) => t.value = $),
911
+ "onUpdate:modelValue": A[9] || (A[9] = ($) => t.value = $),
913
912
  "arrow-control": "",
914
913
  format: "HH:mm:ss",
915
914
  disabled: p.value
916
- }, e.value, { placeholder: c.value }), null, 16, ["modelValue", "disabled", "placeholder"])) : n.value == I(Ue).TIMESELECT ? (y(), P(M, F({
915
+ }, e.value, { placeholder: c.value }), null, 16, ["modelValue", "disabled", "placeholder"])) : n.value == I(Ue).TIMESELECT ? (y(), P(M, H({
917
916
  key: 8,
918
917
  modelValue: t.value,
919
- "onUpdate:modelValue": D[10] || (D[10] = ($) => t.value = $),
918
+ "onUpdate:modelValue": A[10] || (A[10] = ($) => t.value = $),
920
919
  start: "06:30",
921
920
  format: "mm:ss",
922
921
  step: "00:15",
923
922
  end: "23:30",
924
923
  placeholder: c.value,
925
924
  disabled: (pe = l.value[s.value]) == null ? void 0 : pe.disabled
926
- }, e.value), null, 16, ["modelValue", "placeholder", "disabled"])) : se(n.value) ? (y(), P(q, F({
925
+ }, e.value), null, 16, ["modelValue", "placeholder", "disabled"])) : se(n.value) ? (y(), P(q, H({
927
926
  key: 9,
928
927
  modelValue: t.value,
929
- "onUpdate:modelValue": D[11] || (D[11] = ($) => t.value = $),
928
+ "onUpdate:modelValue": A[11] || (A[11] = ($) => t.value = $),
930
929
  type: n.value,
931
930
  format: n.value === I(Ue).DATE ? "YYYY-MM-DD" : n.value === I(Ue).DATETIME ? "YYYY-MM-DD HH:mm:ss" : "",
932
931
  placeholder: c.value,
@@ -939,24 +938,24 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
939
938
  C(V.$slots, `${u.t}-${s.value}-${$}`, { data: Te }, void 0, !0)
940
939
  ])
941
940
  }))
942
- ]), 1040, ["modelValue", "type", "format", "placeholder", "value-format", "disabled"])) : n.value == I(Ue).COLOR ? (y(), P(te, F({
941
+ ]), 1040, ["modelValue", "type", "format", "placeholder", "value-format", "disabled"])) : n.value == I(Ue).COLOR ? (y(), P(te, H({
943
942
  key: 10,
944
943
  modelValue: t.value,
945
- "onUpdate:modelValue": D[12] || (D[12] = ($) => t.value = $)
946
- }, e.value), null, 16, ["modelValue"])) : n.value == I(Ue).RATE ? (y(), P(ne, F({
944
+ "onUpdate:modelValue": A[12] || (A[12] = ($) => t.value = $)
945
+ }, e.value), null, 16, ["modelValue"])) : n.value == I(Ue).RATE ? (y(), P(ne, H({
947
946
  key: 11,
948
947
  modelValue: t.value,
949
- "onUpdate:modelValue": D[13] || (D[13] = ($) => t.value = $),
948
+ "onUpdate:modelValue": A[13] || (A[13] = ($) => t.value = $),
950
949
  disabled: (ke = l.value[s.value]) == null ? void 0 : ke.disabled
951
- }, e.value), null, 16, ["modelValue", "disabled"])) : n.value == I(Ue).SLIDER ? (y(), P(Ee, F({
950
+ }, e.value), null, 16, ["modelValue", "disabled"])) : n.value == I(Ue).SLIDER ? (y(), P(Ee, H({
952
951
  key: 12,
953
952
  modelValue: t.value,
954
- "onUpdate:modelValue": D[14] || (D[14] = ($) => t.value = $),
953
+ "onUpdate:modelValue": A[14] || (A[14] = ($) => t.value = $),
955
954
  disabled: (ht = l.value[s.value]) == null ? void 0 : ht.disabled
956
- }, e.value), null, 16, ["modelValue", "disabled"])) : n.value == I(Ue).SWITCH ? (y(), P(Oe, F({
955
+ }, e.value), null, 16, ["modelValue", "disabled"])) : n.value == I(Ue).SWITCH ? (y(), P(Oe, H({
957
956
  key: 13,
958
957
  modelValue: t.value,
959
- "onUpdate:modelValue": D[15] || (D[15] = ($) => t.value = $),
958
+ "onUpdate:modelValue": A[15] || (A[15] = ($) => t.value = $),
960
959
  inlinePrompt: !0,
961
960
  disabled: (gt = l.value[s.value]) == null ? void 0 : gt.disabled
962
961
  }, e.value), Se({ _: 2 }, [
@@ -966,10 +965,10 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
966
965
  C(V.$slots, `${u.t}-${s.value}-${$}`, { data: Te }, void 0, !0)
967
966
  ])
968
967
  }))
969
- ]), 1040, ["modelValue", "disabled"])) : n.value == I(Ue).TRANSFER ? (y(), P(Fe, F({
968
+ ]), 1040, ["modelValue", "disabled"])) : n.value == I(Ue).TRANSFER ? (y(), P(Fe, H({
970
969
  key: 14,
971
970
  modelValue: t.value,
972
- "onUpdate:modelValue": D[16] || (D[16] = ($) => t.value = $)
971
+ "onUpdate:modelValue": A[16] || (A[16] = ($) => t.value = $)
973
972
  }, e.value), Se({ _: 2 }, [
974
973
  ee(k(), ($) => ({
975
974
  name: $,
@@ -977,10 +976,10 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
977
976
  C(V.$slots, `${u.t}-${s.value}-${$}`, { data: Te }, void 0, !0)
978
977
  ])
979
978
  }))
980
- ]), 1040, ["modelValue"])) : n.value == I(Ue).CASCADER ? (y(), P(Be, F({
979
+ ]), 1040, ["modelValue"])) : n.value == I(Ue).CASCADER ? (y(), P(Be, H({
981
980
  key: 15,
982
981
  modelValue: t.value,
983
- "onUpdate:modelValue": D[17] || (D[17] = ($) => t.value = $)
982
+ "onUpdate:modelValue": A[17] || (A[17] = ($) => t.value = $)
984
983
  }, e.value, { options: g.value }), Se({ _: 2 }, [
985
984
  ee(k(), ($) => ({
986
985
  name: $,
@@ -988,10 +987,10 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
988
987
  C(V.$slots, `${u.t}-${s.value}-${$}`, { data: Te }, void 0, !0)
989
988
  ])
990
989
  }))
991
- ]), 1040, ["modelValue", "options"])) : n.value == I(Ue).IMAGE ? (y(), P(ot, F({
990
+ ]), 1040, ["modelValue", "options"])) : n.value == I(Ue).IMAGE ? (y(), P(ot, H({
992
991
  key: 16,
993
992
  "file-list": i.value,
994
- "onUpdate:fileList": D[18] || (D[18] = ($) => i.value = $),
993
+ "onUpdate:fileList": A[18] || (A[18] = ($) => i.value = $),
995
994
  class: "custom-upload",
996
995
  "on-preview": qe
997
996
  }, { ...me.value, ...e.value }, {
@@ -1014,10 +1013,10 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
1014
1013
  C(V.$slots, `${u.t}-${s.value}-${$}`, { data: je }, void 0, !0)
1015
1014
  ])
1016
1015
  }))
1017
- ]), 1040, ["file-list"])) : n.value == I(Ue).AUTOCOMPLETE ? (y(), P(wt, F({
1016
+ ]), 1040, ["file-list"])) : n.value == I(Ue).AUTOCOMPLETE ? (y(), P(wt, H({
1018
1017
  key: 17,
1019
1018
  modelValue: t.value,
1020
- "onUpdate:modelValue": D[19] || (D[19] = ($) => t.value = $)
1019
+ "onUpdate:modelValue": A[19] || (A[19] = ($) => t.value = $)
1021
1020
  }, e.value, { placeholder: c.value }), Se({ _: 2 }, [
1022
1021
  ee(k(), ($, Te) => ({
1023
1022
  name: $,
@@ -1025,10 +1024,10 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
1025
1024
  C(V.$slots, `${u.t}-${s.value}-${$}`, { data: je }, void 0, !0)
1026
1025
  ])
1027
1026
  }))
1028
- ]), 1040, ["modelValue", "placeholder"])) : n.value == I(Ue).INPUTNUMBER ? (y(), P(St, F({
1027
+ ]), 1040, ["modelValue", "placeholder"])) : n.value == I(Ue).INPUTNUMBER ? (y(), P(St, H({
1029
1028
  key: 18,
1030
1029
  modelValue: t.value,
1031
- "onUpdate:modelValue": D[20] || (D[20] = ($) => t.value = $),
1030
+ "onUpdate:modelValue": A[20] || (A[20] = ($) => t.value = $),
1032
1031
  placeholder: c.value,
1033
1032
  disabled: (pt = l.value[s.value]) == null ? void 0 : pt.disabled
1034
1033
  }, e.value), Se({ _: 2 }, [
@@ -1041,10 +1040,10 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
1041
1040
  }, void 0, !0)
1042
1041
  ])
1043
1042
  }))
1044
- ]), 1040, ["modelValue", "placeholder", "disabled"])) : n.value == "input-tag" ? (y(), P(At, F({
1043
+ ]), 1040, ["modelValue", "placeholder", "disabled"])) : n.value == "input-tag" ? (y(), P(At, H({
1045
1044
  key: 19,
1046
1045
  modelValue: t.value,
1047
- "onUpdate:modelValue": D[21] || (D[21] = ($) => t.value = $),
1046
+ "onUpdate:modelValue": A[21] || (A[21] = ($) => t.value = $),
1048
1047
  placeholder: c.value,
1049
1048
  disabled: (mt = l.value[s.value]) == null ? void 0 : mt.disabled,
1050
1049
  draggable: ""
@@ -1082,16 +1081,16 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
1082
1081
  }, void 0, !0)
1083
1082
  ])
1084
1083
  }))
1085
- ]), 1040, ["modelValue", "placeholder", "disabled"])) : n.value == I(Ue).MONEY ? (y(), B("div", {
1084
+ ]), 1040, ["modelValue", "placeholder", "disabled"])) : n.value == I(Ue).MONEY ? (y(), F("div", {
1086
1085
  key: 20,
1087
- style: Ge([{ position: "relative" }, A.value])
1086
+ style: Ge([{ position: "relative" }, D.value])
1088
1087
  }, [
1089
- O(ce, F({
1088
+ O(ce, H({
1090
1089
  modelValue: t.value,
1091
- "onUpdate:modelValue": D[22] || (D[22] = ($) => t.value = $),
1090
+ "onUpdate:modelValue": A[22] || (A[22] = ($) => t.value = $),
1092
1091
  placeholder: c.value,
1093
1092
  type: "number",
1094
- onInput: D[23] || (D[23] = ($) => ze($, 2)),
1093
+ onInput: A[23] || (A[23] = ($) => ze($, 2)),
1095
1094
  maxlength: ((vt = e.value) == null ? void 0 : vt.max) || 25
1096
1095
  }, { ...e.value, type: n.value }), Se({
1097
1096
  suffix: h(() => [
@@ -1109,44 +1108,44 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
1109
1108
  ])
1110
1109
  }))
1111
1110
  ]), 1040, ["modelValue", "placeholder", "maxlength"])
1112
- ], 4)) : (Mt = n.value) != null && Mt.startsWith("link") ? (y(), B("div", {
1111
+ ], 4)) : (Mt = n.value) != null && Mt.startsWith("link") ? (y(), F("div", {
1113
1112
  key: 21,
1114
- style: Ge(A.value)
1113
+ style: Ge(D.value)
1115
1114
  }, [
1116
- O(xe, F(e.value, {
1115
+ O(xe, H(e.value, {
1117
1116
  type: n.value.replace("link-", ""),
1118
1117
  innerHTML: Z.value || t.value
1119
1118
  }), null, 16, ["type", "innerHTML"])
1120
- ], 4)) : n.value != "textarea" && ((Ct = n.value) != null && Ct.startsWith("text")) ? (y(), B("div", {
1119
+ ], 4)) : n.value != "textarea" && ((Ct = n.value) != null && Ct.startsWith("text")) ? (y(), F("div", {
1121
1120
  key: 22,
1122
- style: Ge(A.value)
1121
+ style: Ge(D.value)
1123
1122
  }, [
1124
- O(ve, F(e.value, {
1123
+ O(ve, H(e.value, {
1125
1124
  type: n.value.replace("text-", ""),
1126
1125
  innerHTML: Z.value || t.value
1127
1126
  }), null, 16, ["type", "innerHTML"])
1128
- ], 4)) : n.value == "avatar" ? (y(), B("div", {
1127
+ ], 4)) : n.value == "avatar" ? (y(), F("div", {
1129
1128
  key: 23,
1130
- style: Ge(A.value)
1129
+ style: Ge(D.value)
1131
1130
  }, [
1132
- Z.value ? (y(), P(Ze, Tt(F({ key: 0 }, e.value)), {
1131
+ Z.value ? (y(), P(Ze, Tt(H({ key: 0 }, e.value)), {
1133
1132
  default: h(() => [
1134
1133
  ae("div", { innerHTML: Z.value }, null, 8, $n)
1135
1134
  ]),
1136
1135
  _: 1
1137
- }, 16)) : (y(), P(Ze, Tt(F({ key: 1 }, e.value)), null, 16))
1138
- ], 4)) : (Dt = n.value) != null && Dt.startsWith("tag") ? (y(), B("div", {
1136
+ }, 16)) : (y(), P(Ze, Tt(H({ key: 1 }, e.value)), null, 16))
1137
+ ], 4)) : (Dt = n.value) != null && Dt.startsWith("tag") ? (y(), F("div", {
1139
1138
  key: 24,
1140
- style: Ge(A.value)
1139
+ style: Ge(D.value)
1141
1140
  }, [
1142
- Array.isArray(Z.value) && Z.value.length > 0 ? (y(!0), B(fe, { key: 0 }, ee(Z.value, ($, Te) => (y(), B(fe, { key: Te }, [
1143
- typeof $ == "object" ? (y(), P(at, F({
1141
+ Array.isArray(Z.value) && Z.value.length > 0 ? (y(!0), F(fe, { key: 0 }, ee(Z.value, ($, Te) => (y(), F(fe, { key: Te }, [
1142
+ typeof $ == "object" ? (y(), P(at, H({
1144
1143
  key: 0,
1145
1144
  "disable-transitions": ""
1146
1145
  }, { ref_for: !0 }, $, {
1147
1146
  innerHTML: $ == null ? void 0 : $.value,
1148
1147
  style: { "margin-right": "3px" }
1149
- }), null, 16, ["innerHTML"])) : (y(), P(at, F({
1148
+ }), null, 16, ["innerHTML"])) : (y(), P(at, H({
1150
1149
  key: 1,
1151
1150
  "disable-transitions": ""
1152
1151
  }, { ref_for: !0 }, e.value, {
@@ -1154,36 +1153,36 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
1154
1153
  innerHTML: $,
1155
1154
  style: { "margin-right": "3px" }
1156
1155
  }), null, 16, ["type", "innerHTML"]))
1157
- ], 64))), 128)) : (y(), P(at, F({
1156
+ ], 64))), 128)) : (y(), P(at, H({
1158
1157
  key: 1,
1159
1158
  "disable-transitions": ""
1160
1159
  }, e.value, {
1161
1160
  type: n.value.replace("tag-", ""),
1162
1161
  innerHTML: Z.value || t.value
1163
1162
  }), null, 16, ["type", "innerHTML"]))
1164
- ], 4)) : n.value == "div" ? (y(), B("div", F({ key: 25 }, e.value, {
1163
+ ], 4)) : n.value == "div" ? (y(), F("div", H({ key: 25 }, e.value, {
1165
1164
  innerHTML: Z.value || t.value,
1166
- style: A.value
1167
- }), null, 16, kn)) : n.value == "span" ? (y(), B("span", F({ key: 26 }, e.value, {
1165
+ style: D.value
1166
+ }), null, 16, kn)) : n.value == "span" ? (y(), F("span", H({ key: 26 }, e.value, {
1168
1167
  innerHTML: Z.value || t.value,
1169
- style: A.value
1170
- }), null, 16, xn)) : n.value == "custom" ? (y(), B("div", {
1168
+ style: D.value
1169
+ }), null, 16, xn)) : n.value == "custom" ? (y(), F("div", {
1171
1170
  key: 27,
1172
- style: Ge(A.value)
1171
+ style: Ge(D.value)
1173
1172
  }, [
1174
1173
  (y(), P(lt(e.value.component), Tt(pl(I(Qe)(e.value, ($) => $ != "component"))), null, 16))
1175
- ], 4)) : (y(), P(ce, F({
1174
+ ], 4)) : (y(), P(ce, H({
1176
1175
  key: 28,
1177
1176
  modelValue: t.value,
1178
- "onUpdate:modelValue": D[24] || (D[24] = ($) => t.value = $),
1177
+ "onUpdate:modelValue": A[24] || (A[24] = ($) => t.value = $),
1179
1178
  placeholder: c.value,
1180
1179
  maxlength: ((nl = e.value) == null ? void 0 : nl.max) || 25,
1181
1180
  clearable: !0,
1182
- onInput: D[25] || (D[25] = ($) => {
1181
+ onInput: A[25] || (A[25] = ($) => {
1183
1182
  var Te;
1184
1183
  return n.value == I(Ue).NUMBER ? ze($, ((Te = e.value) == null ? void 0 : Te.precision) || 2) : $;
1185
1184
  }),
1186
- onClear: D[26] || (D[26] = () => {
1185
+ onClear: A[26] || (A[26] = () => {
1187
1186
  u.t == "q" && l.value.table.load();
1188
1187
  }),
1189
1188
  disabled: (ol = l.value[s.value]) == null ? void 0 : ol.disabled
@@ -1250,7 +1249,7 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
1250
1249
  ], 64);
1251
1250
  };
1252
1251
  }
1253
- }), xt = /* @__PURE__ */ nt(En, [["__scopeId", "data-v-1b0bebff"]]), ul = {
1252
+ }), xt = /* @__PURE__ */ nt(En, [["__scopeId", "data-v-7065aa56"]]), ul = {
1254
1253
  __name: "g-query-item",
1255
1254
  props: /* @__PURE__ */ ct(["more"], {
1256
1255
  modelValue: { required: !0 },
@@ -1271,9 +1270,9 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
1271
1270
  const m = Object.entries(u.value).filter(([, r]) => {
1272
1271
  const i = s(r);
1273
1272
  return r.search && (i == null ? void 0 : i.more) === f && (i == null ? void 0 : i.hidden) !== !0 && (i == null ? void 0 : i.visible) !== !1;
1274
- }).sort(([r, i], [c, A]) => {
1273
+ }).sort(([r, i], [c, D]) => {
1275
1274
  var k, me;
1276
- const Y = Number((k = s(i)) == null ? void 0 : k.sort) || 0, z = Number((me = s(A)) == null ? void 0 : me.sort) || 0;
1275
+ const Y = Number((k = s(i)) == null ? void 0 : k.sort) || 0, z = Number((me = s(D)) == null ? void 0 : me.sort) || 0;
1277
1276
  return Y - z;
1278
1277
  });
1279
1278
  return Object.fromEntries(m);
@@ -1288,16 +1287,16 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
1288
1287
  };
1289
1288
  return (f, m) => {
1290
1289
  const r = L("el-form-item");
1291
- return y(!0), B(fe, null, ee(n(e.more), (i, c) => C(f.$slots, `q-${c}`, {
1290
+ return y(!0), F(fe, null, ee(n(e.more), (i, c) => C(f.$slots, `q-${c}`, {
1292
1291
  key: c,
1293
1292
  item: i,
1294
1293
  queryModel: t.value,
1295
1294
  model: u.value
1296
1295
  }, () => [
1297
- O(r, F({
1296
+ O(r, H({
1298
1297
  label: i.label,
1299
1298
  style: { width: T(i) }
1300
- }, { ref_for: !0 }, { ...u.value.queryItems, ...I(Qe)(l(i), (A) => A != "onClick") }), {
1299
+ }, { ref_for: !0 }, { ...u.value.queryItems, ...I(Qe)(l(i), (D) => D != "onClick") }), {
1301
1300
  label: h(() => [
1302
1301
  C(f.$slots, `q-${c}-label`, {
1303
1302
  item: i,
@@ -1307,7 +1306,7 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
1307
1306
  default: h(() => [
1308
1307
  O(xt, {
1309
1308
  modelValue: t.value[c],
1310
- "onUpdate:modelValue": (A) => t.value[c] = A,
1309
+ "onUpdate:modelValue": (D) => t.value[c] = D,
1311
1310
  item: { getDicts: i == null ? void 0 : i.getDicts, ...i == null ? void 0 : i.editor, ...l(i) },
1312
1311
  ctrlKey: c,
1313
1312
  ctrlType: p(i),
@@ -1315,10 +1314,10 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
1315
1314
  t: "q",
1316
1315
  formInfo: t.value
1317
1316
  }, Se({ _: 2 }, [
1318
- ee(Object.keys(f.$slots), (A) => ({
1319
- name: A,
1317
+ ee(Object.keys(f.$slots), (D) => ({
1318
+ name: D,
1320
1319
  fn: h((Y) => [
1321
- C(f.$slots, A, {
1320
+ C(f.$slots, D, {
1322
1321
  data: Y,
1323
1322
  item: i,
1324
1323
  model: u.value,
@@ -1496,21 +1495,21 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
1496
1495
  reference: () => $e(Ae, e.value.query.more, () => J.label),
1497
1496
  default: J.content
1498
1497
  }) : (J.props.slot = "query-" + J.key, J.label ? $e(J.component, J.props, () => J.label) : $e(J.component, J.props)));
1499
- }, A = Ye(() => ({
1498
+ }, D = Ye(() => ({
1500
1499
  display: "flex",
1501
1500
  flexDirection: e.value.query.container.mode === "row" ? "row" : "column"
1502
1501
  })), Y = () => {
1503
1502
  };
1504
1503
  return (z, k) => {
1505
- var se, X, oe, be, _e, qe, ye, J, ze, Ie, S, g, _, R, E, W, N;
1504
+ var se, X, oe, be, _e, qe, ye, J, ze, Ie, S, g, _, R, E, B, N;
1506
1505
  const me = L("el-form-item"), Z = L("el-drawer");
1507
- return y(), B(fe, null, [
1506
+ return y(), F(fe, null, [
1508
1507
  ae("div", {
1509
1508
  class: "g-query-container",
1510
- style: Ge({ ...A.value, ...((X = (se = e.value.query) == null ? void 0 : se.container) == null ? void 0 : X.style) || {} }),
1509
+ style: Ge({ ...D.value, ...((X = (se = e.value.query) == null ? void 0 : se.container) == null ? void 0 : X.style) || {} }),
1511
1510
  onDblclick: Y
1512
1511
  }, [
1513
- O(I(Vt), F({
1512
+ O(I(Vt), H({
1514
1513
  onSubmit: k[0] || (k[0] = $t(() => {
1515
1514
  }, ["prevent"]))
1516
1515
  }, I(Qe)(e.value.query, (v) => !["query", "more", "reset", "btns"].includes(v))), {
@@ -1527,21 +1526,21 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
1527
1526
  }, [
1528
1527
  e.value.query.group ? (y(), P(I(Ot), { key: 0 }, {
1529
1528
  default: h(() => [
1530
- (y(!0), B(fe, null, ee(c(), (de) => C(z.$slots, de.props.slot, {}, () => [
1529
+ (y(!0), F(fe, null, ee(c(), (de) => C(z.$slots, de.props.slot, {}, () => [
1531
1530
  (y(), P(lt(de)))
1532
1531
  ], !0)), 256)),
1533
1532
  C(z.$slots, "q-btns", {}, void 0, !0)
1534
1533
  ]),
1535
1534
  _: 3
1536
- })) : (y(), B(fe, { key: 1 }, [
1535
+ })) : (y(), F(fe, { key: 1 }, [
1537
1536
  (Q = (K = (G = e.value) == null ? void 0 : G.query) == null ? void 0 : K.btns) != null && Q.group ? (y(), P(I(Ot), { key: 0 }, {
1538
1537
  default: h(() => [
1539
- (y(!0), B(fe, null, ee(c(), (de) => C(z.$slots, de.props.slot, {}, () => [
1538
+ (y(!0), F(fe, null, ee(c(), (de) => C(z.$slots, de.props.slot, {}, () => [
1540
1539
  (y(), P(lt(de)))
1541
1540
  ], !0)), 256))
1542
1541
  ]),
1543
1542
  _: 3
1544
- })) : (y(!0), B(fe, { key: 1 }, ee(c(), (de) => C(z.$slots, de.props.slot, {}, () => [
1543
+ })) : (y(!0), F(fe, { key: 1 }, ee(c(), (de) => C(z.$slots, de.props.slot, {}, () => [
1545
1544
  (y(), P(lt(de)))
1546
1545
  ], !0)), 256)),
1547
1546
  C(z.$slots, "q-btns", {}, void 0, !0)
@@ -1555,34 +1554,34 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
1555
1554
  }),
1556
1555
  _: 3
1557
1556
  }, 16),
1558
- ((_e = (be = (oe = e.value) == null ? void 0 : oe.query) == null ? void 0 : be.container) == null ? void 0 : _e.inline) === !1 ? (y(), B("div", {
1557
+ ((_e = (be = (oe = e.value) == null ? void 0 : oe.query) == null ? void 0 : be.container) == null ? void 0 : _e.inline) === !1 ? (y(), F("div", {
1559
1558
  key: 0,
1560
1559
  style: Ge([{ "margin-bottom": "18px" }, (ye = (qe = e.value.query) == null ? void 0 : qe.btns) == null ? void 0 : ye.style])
1561
1560
  }, [
1562
1561
  e.value.query.group ? (y(), P(I(Ot), { key: 0 }, {
1563
1562
  default: h(() => [
1564
- (y(!0), B(fe, null, ee(c(), (v) => C(z.$slots, v.props.slot, {}, () => [
1563
+ (y(!0), F(fe, null, ee(c(), (v) => C(z.$slots, v.props.slot, {}, () => [
1565
1564
  (y(), P(lt(v)))
1566
1565
  ], !0)), 256)),
1567
1566
  C(z.$slots, "q-btns", {}, void 0, !0)
1568
1567
  ]),
1569
1568
  _: 3
1570
- })) : (y(), B(fe, { key: 1 }, [
1569
+ })) : (y(), F(fe, { key: 1 }, [
1571
1570
  (ze = (J = e.value.query) == null ? void 0 : J.btns) != null && ze.group ? (y(), P(I(Ot), { key: 0 }, {
1572
1571
  default: h(() => [
1573
- (y(!0), B(fe, null, ee(c(), (v) => C(z.$slots, v.props.slot, {}, () => [
1572
+ (y(!0), F(fe, null, ee(c(), (v) => C(z.$slots, v.props.slot, {}, () => [
1574
1573
  (y(), P(lt(v)))
1575
1574
  ], !0)), 256))
1576
1575
  ]),
1577
1576
  _: 3
1578
- })) : (y(!0), B(fe, { key: 1 }, ee(c(), (v) => C(z.$slots, v.props.slot, {}, () => [
1577
+ })) : (y(!0), F(fe, { key: 1 }, ee(c(), (v) => C(z.$slots, v.props.slot, {}, () => [
1579
1578
  (y(), P(lt(v)))
1580
1579
  ], !0)), 256)),
1581
1580
  C(z.$slots, "q-btns", {}, void 0, !0)
1582
1581
  ], 64))
1583
1582
  ], 4)) : Ve("", !0)
1584
1583
  ], 36),
1585
- n.value && !((g = (S = (Ie = e.value) == null ? void 0 : Ie.query) == null ? void 0 : S.more) != null && g.hidden) && e.value.query.more.mode == 2 ? (y(), P(Z, F({
1584
+ n.value && !((g = (S = (Ie = e.value) == null ? void 0 : Ie.query) == null ? void 0 : S.more) != null && g.hidden) && e.value.query.more.mode == 2 ? (y(), P(Z, H({
1586
1585
  key: 0,
1587
1586
  modelValue: n.value,
1588
1587
  "onUpdate:modelValue": k[6] || (k[6] = (v) => n.value = v),
@@ -1590,7 +1589,7 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
1590
1589
  "show-close": !1
1591
1590
  }, e.value.query.more.dialog), Se({
1592
1591
  default: h(() => [
1593
- O(I(Vt), F({
1592
+ O(I(Vt), H({
1594
1593
  onSubmit: k[3] || (k[3] = $t(() => {
1595
1594
  }, ["prevent"]))
1596
1595
  }, I(Qe)(e.value.query, (v) => !["query", "more", "reset"].includes(v)), { style: { width: "98%" } }), {
@@ -1615,11 +1614,11 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
1615
1614
  ]),
1616
1615
  _: 2
1617
1616
  }, [
1618
- (N = (W = (E = (R = (_ = e.value) == null ? void 0 : _.query) == null ? void 0 : R.more) == null ? void 0 : E.dialog) == null ? void 0 : W.footer) != null && N.hidden ? void 0 : {
1617
+ (N = (B = (E = (R = (_ = e.value) == null ? void 0 : _.query) == null ? void 0 : R.more) == null ? void 0 : E.dialog) == null ? void 0 : B.footer) != null && N.hidden ? void 0 : {
1619
1618
  name: "footer",
1620
1619
  fn: h(() => [
1621
1620
  ae("div", Tt(pl(e.value.query.more.dialog.footer)), [
1622
- O(I(Ae), F(e.value.query.query, {
1621
+ O(I(Ae), H(e.value.query.query, {
1623
1622
  onClick: k[4] || (k[4] = (v) => e.value.query.query.click())
1624
1623
  }), {
1625
1624
  default: h(() => [
@@ -1627,7 +1626,7 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
1627
1626
  ]),
1628
1627
  _: 1
1629
1628
  }, 16),
1630
- O(I(Ae), F(e.value.query.reset, {
1629
+ O(I(Ae), H(e.value.query.reset, {
1631
1630
  onClick: k[5] || (k[5] = (v) => e.value.query.reset.click())
1632
1631
  }), {
1633
1632
  default: h(() => [
@@ -1648,9 +1647,9 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
1648
1647
  default: h(() => {
1649
1648
  var v, x, j;
1650
1649
  return [
1651
- n.value && !((j = (x = (v = e.value) == null ? void 0 : v.query) == null ? void 0 : x.more) != null && j.hidden) && e.value.query.more.mode == 1 ? (y(), B("div", Sn, [
1650
+ n.value && !((j = (x = (v = e.value) == null ? void 0 : v.query) == null ? void 0 : x.more) != null && j.hidden) && e.value.query.more.mode == 1 ? (y(), F("div", Sn, [
1652
1651
  ae("div", An, [
1653
- e.value.query.more.mode == 1 ? zl((y(), P(I(Vt), F({
1652
+ e.value.query.more.mode == 1 ? zl((y(), P(I(Vt), H({
1654
1653
  key: 0,
1655
1654
  onSubmit: k[7] || (k[7] = $t(() => {
1656
1655
  }, ["prevent"]))
@@ -1747,7 +1746,7 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
1747
1746
  }),
1748
1747
  emits: /* @__PURE__ */ ct(["submit", "reset"], ["update:modelValue"]),
1749
1748
  setup(a, { expose: u, emit: e }) {
1750
- var S, g, _, R, E, W, N;
1749
+ var S, g, _, R, E, B, N;
1751
1750
  const t = dt(a, "modelValue"), s = e, n = ie(null), l = [
1752
1751
  'input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([disabled])',
1753
1752
  'select:not([disabled]):not([tabindex="-1"])',
@@ -1761,7 +1760,7 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
1761
1760
  const x = v.target;
1762
1761
  if (!x || !(x instanceof HTMLElement) || ((le = x.tagName) == null ? void 0 : le.toLowerCase()) === "textarea") return;
1763
1762
  if (x.getAttribute("data-enter-submit") === "true") {
1764
- v.preventDefault(), A(r.value, t.value, 1);
1763
+ v.preventDefault(), D(r.value, t.value, 1);
1765
1764
  return;
1766
1765
  }
1767
1766
  const b = ((he = n.value) == null ? void 0 : he.$el) || n.value;
@@ -1781,9 +1780,9 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
1781
1780
  const Q = (K + 1) % G.length, de = G[Q];
1782
1781
  de.focus(), (de.tagName === "INPUT" || de.tagName === "TEXTAREA") && ((He = de.select) == null || He.call(de));
1783
1782
  }, T = (v) => {
1784
- (v.ctrlKey || v.metaKey) && v.key.toLowerCase() === "s" && (v.preventDefault(), A(r.value, t.value, 1));
1783
+ (v.ctrlKey || v.metaKey) && v.key.toLowerCase() === "s" && (v.preventDefault(), D(r.value, t.value, 1));
1785
1784
  }, f = (v) => {
1786
- v.shiftKey && (v.ctrlKey || v.metaKey) && v.key.toLowerCase() === "s" && (v.preventDefault(), A(r.value, t.value, 2));
1785
+ v.shiftKey && (v.ctrlKey || v.metaKey) && v.key.toLowerCase() === "s" && (v.preventDefault(), D(r.value, t.value, 2));
1787
1786
  }, m = zt("options"), r = ie({}), i = ie(""), c = a;
1788
1787
  t.value.form = We(
1789
1788
  Cl,
@@ -1793,7 +1792,7 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
1793
1792
  (_ = (g = t.value) == null ? void 0 : g.form) == null ? void 0 : _.style,
1794
1793
  { ...(R = Lt()) == null ? void 0 : R.style }
1795
1794
  );
1796
- const A = async (v, x, j) => {
1795
+ const D = async (v, x, j) => {
1797
1796
  let b = 5;
1798
1797
  for (; b > 0; ) {
1799
1798
  if (await rt(), n.value) {
@@ -1820,7 +1819,7 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
1820
1819
  }
1821
1820
  console.error("表单实例获取失败,无法重置表单");
1822
1821
  };
1823
- t.value.form.submit.click = A, t.value.form.saveSubmit.click = A, t.value.form.reset.click = Y;
1822
+ t.value.form.submit.click = D, t.value.form.saveSubmit.click = D, t.value.form.reset.click = Y;
1824
1823
  const z = {
1825
1824
  type: "hidden",
1826
1825
  labelPosition: "right",
@@ -1845,7 +1844,7 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
1845
1844
  };
1846
1845
  t.value.form.cols = We(
1847
1846
  t.value.form.crossRow ? me : k,
1848
- (W = m == null ? void 0 : m.form) == null ? void 0 : W.cols,
1847
+ (B = m == null ? void 0 : m.form) == null ? void 0 : B.cols,
1849
1848
  t.value.form.cols
1850
1849
  );
1851
1850
  const Z = (v) => {
@@ -2026,15 +2025,15 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
2026
2025
  }
2027
2026
  ]), Ie = Ye(() => ze.value.filter((v) => !v.hidden).sort((v, x) => v.sort - x.sort || v.originalOrder - x.originalOrder));
2028
2027
  return u({
2029
- submit: A,
2030
- saveSubmit: A,
2028
+ submit: D,
2029
+ saveSubmit: D,
2031
2030
  reset: Y,
2032
2031
  formData: r
2033
2032
  }), (v, x) => {
2034
2033
  var He, Re, Ke;
2035
2034
  const j = L("el-form-item"), b = L("el-col"), G = L("el-tab-pane"), K = L("el-tabs"), Q = L("el-descriptions-item"), de = L("el-descriptions"), le = L("el-form"), he = L("el-button");
2036
- return y(), B("div", Vn, [
2037
- O(le, F(
2035
+ return y(), F("div", Vn, [
2036
+ O(le, H(
2038
2037
  {
2039
2038
  ref_key: "gform",
2040
2039
  ref: n,
@@ -2054,29 +2053,29 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
2054
2053
  ), {
2055
2054
  default: h(() => [
2056
2055
  ye.value.length > 0 ? C(v.$slots, "default", { key: 0 }, () => {
2057
- var Le, V, D;
2056
+ var Le, V, A;
2058
2057
  return [
2059
- O(K, F({
2058
+ O(K, H({
2060
2059
  modelValue: J.value,
2061
- "onUpdate:modelValue": x[0] || (x[0] = (H) => J.value = H),
2062
- style: [{ width: "100%" }, { height: (D = (V = (Le = t.value) == null ? void 0 : Le.form) == null ? void 0 : V.tabs) == null ? void 0 : D.height }]
2060
+ "onUpdate:modelValue": x[0] || (x[0] = (W) => J.value = W),
2061
+ style: [{ width: "100%" }, { height: (A = (V = (Le = t.value) == null ? void 0 : Le.form) == null ? void 0 : V.tabs) == null ? void 0 : A.height }]
2063
2062
  }, t.value.form.tabs), {
2064
2063
  default: h(() => [
2065
- (y(!0), B(fe, null, ee(ye.value, (H) => (y(), P(G, F({
2066
- key: H.groupName,
2067
- label: H.groupName,
2068
- name: H.groupName,
2064
+ (y(!0), F(fe, null, ee(ye.value, (W) => (y(), P(G, H({
2065
+ key: W.groupName,
2066
+ label: W.groupName,
2067
+ name: W.groupName,
2069
2068
  style: { width: "100%", display: "flex", "flex-wrap": "wrap", "overflow-y": "auto", "overflow-x": "hidden" }
2070
- }, { ref_for: !0 }, H.tabPane), {
2069
+ }, { ref_for: !0 }, W.tabPane), {
2071
2070
  default: h(() => [
2072
- (y(!0), B(fe, null, ee(H.items, (U, ue) => (y(), P(b, F({ ref_for: !0 }, { ...t.value.form.cols, ...U == null ? void 0 : U.item.col }, {
2071
+ (y(!0), F(fe, null, ee(W.items, (U, ue) => (y(), P(b, H({ ref_for: !0 }, { ...t.value.form.cols, ...U == null ? void 0 : U.item.col }, {
2073
2072
  key: U.key,
2074
2073
  style: { width: "100%" }
2075
2074
  }), {
2076
2075
  default: h(() => {
2077
2076
  var ge, Ce;
2078
2077
  return [
2079
- O(j, F({
2078
+ O(j, H({
2080
2079
  label: U == null ? void 0 : U.item.label,
2081
2080
  prop: U.key,
2082
2081
  rules: Z(U == null ? void 0 : U.item)
@@ -2128,13 +2127,13 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
2128
2127
  }, 16, ["modelValue", "style"])
2129
2128
  ];
2130
2129
  }, !0) : C(v.$slots, "default", { key: 1 }, () => {
2131
- var Le, V, D, H;
2130
+ var Le, V, A, W;
2132
2131
  return [
2133
- (V = (Le = t.value) == null ? void 0 : Le.form) != null && V.crossRow ? (y(), P(de, Tt(F({ key: 1 }, I(Qe)((H = (D = t.value) == null ? void 0 : D.form) == null ? void 0 : H.cols, (U) => !["width", "span"].includes(U)))), {
2132
+ (V = (Le = t.value) == null ? void 0 : Le.form) != null && V.crossRow ? (y(), P(de, Tt(H({ key: 1 }, I(Qe)((W = (A = t.value) == null ? void 0 : A.form) == null ? void 0 : W.cols, (U) => !["width", "span"].includes(U)))), {
2134
2133
  default: h(() => [
2135
- (y(!0), B(fe, null, ee(_e.value, (U, ue) => {
2134
+ (y(!0), F(fe, null, ee(_e.value, (U, ue) => {
2136
2135
  var ge, Ce, Ne;
2137
- return y(), P(Q, F({
2136
+ return y(), P(Q, H({
2138
2137
  width: (Ne = (Ce = (ge = t.value) == null ? void 0 : ge.form) == null ? void 0 : Ce.cols) == null ? void 0 : Ne.width
2139
2138
  }, { ref_for: !0 }, { ...(U == null ? void 0 : U.col) || {} }, {
2140
2139
  key: ue,
@@ -2143,7 +2142,7 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
2143
2142
  default: h(() => {
2144
2143
  var et;
2145
2144
  return [
2146
- O(j, F({
2145
+ O(j, H({
2147
2146
  label: U.label,
2148
2147
  prop: ue,
2149
2148
  rules: Z(U)
@@ -2199,14 +2198,14 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
2199
2198
  }), 128))
2200
2199
  ]),
2201
2200
  _: 3
2202
- }, 16)) : (y(!0), B(fe, { key: 0 }, ee(_e.value, (U, ue) => (y(), P(b, F({ ref_for: !0 }, { ...t.value.form.cols, ...U.col }, {
2201
+ }, 16)) : (y(!0), F(fe, { key: 0 }, ee(_e.value, (U, ue) => (y(), P(b, H({ ref_for: !0 }, { ...t.value.form.cols, ...U.col }, {
2203
2202
  key: ue,
2204
2203
  style: { width: "100%" }
2205
2204
  }), {
2206
2205
  default: h(() => {
2207
2206
  var ge;
2208
2207
  return [
2209
- O(j, F({
2208
+ O(j, H({
2210
2209
  label: U.label,
2211
2210
  prop: ue,
2212
2211
  rules: Z(U)
@@ -2269,16 +2268,16 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
2269
2268
  style: Ge({ justifyContent: oe(t.value.form.footer.align), ...t.value.form.footer.style })
2270
2269
  }, [
2271
2270
  C(v.$slots, "f-footer-left", {}, void 0, !0),
2272
- (y(!0), B(fe, null, ee(Ie.value, (Le) => (y(), B(fe, null, [
2271
+ (y(!0), F(fe, null, ee(Ie.value, (Le) => (y(), F(fe, null, [
2273
2272
  C(v.$slots, Le.name + "-left", {}, void 0, !0),
2274
2273
  C(v.$slots, Le.name, {}, () => {
2275
2274
  var V;
2276
2275
  return [
2277
- (V = Le == null ? void 0 : Le.info) != null && V.hidden ? Ve("", !0) : (y(), P(he, F({
2276
+ (V = Le == null ? void 0 : Le.info) != null && V.hidden ? Ve("", !0) : (y(), P(he, H({
2278
2277
  key: 0,
2279
2278
  ref_for: !0
2280
2279
  }, Le.info, {
2281
- onClick: $t((D) => Le.click(r.value, t.value, Le.flag), ["stop"])
2280
+ onClick: $t((A) => Le.click(r.value, t.value, Le.flag), ["stop"])
2282
2281
  }), {
2283
2282
  default: h(() => [
2284
2283
  Me(Pe(Le == null ? void 0 : Le.label), 1)
@@ -2370,7 +2369,7 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
2370
2369
  function c() {
2371
2370
  r.value = !1, i.value = !1, n("open");
2372
2371
  }
2373
- function A() {
2372
+ function D() {
2374
2373
  n("opened");
2375
2374
  }
2376
2375
  function Y() {
@@ -2390,19 +2389,19 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
2390
2389
  }
2391
2390
  return u({
2392
2391
  handleClose: () => m.value.handleClose()
2393
- }), (se, X) => (y(), B("div", Pn, [
2394
- i.value ? (y(), B("div", {
2392
+ }), (se, X) => (y(), F("div", Pn, [
2393
+ i.value ? (y(), F("div", {
2395
2394
  key: 0,
2396
2395
  class: "minimize-ball",
2397
2396
  onClick: Z
2398
- }, Pe(a.title), 1)) : (y(), B("div", Rn, [
2399
- (y(), P(lt(p.value), F({
2397
+ }, Pe(a.title), 1)) : (y(), F("div", Rn, [
2398
+ (y(), P(lt(p.value), H({
2400
2399
  ref_key: "dialogExtend",
2401
2400
  ref: m,
2402
2401
  modelValue: f.value,
2403
2402
  "onUpdate:modelValue": X[1] || (X[1] = (oe) => f.value = oe),
2404
2403
  onOpen: c,
2405
- onOpened: A,
2404
+ onOpened: D,
2406
2405
  "lock-scroll": !0,
2407
2406
  onClose: Y,
2408
2407
  onClosed: z,
@@ -2525,8 +2524,8 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
2525
2524
  f && f.destroy();
2526
2525
  });
2527
2526
  }), (T, f) => {
2528
- const m = L("el-divider"), r = L("el-icon"), i = L("el-text"), c = L("el-checkbox"), A = L("el-button");
2529
- return y(), B("div", qn, [
2527
+ const m = L("el-divider"), r = L("el-icon"), i = L("el-text"), c = L("el-checkbox"), D = L("el-button");
2528
+ return y(), F("div", qn, [
2530
2529
  ae("div", null, [
2531
2530
  ae("div", zn, [
2532
2531
  ae("div", Ln, [
@@ -2560,7 +2559,7 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
2560
2559
  ]),
2561
2560
  f[1] || (f[1] = ae("div", { style: { margin: "1px 0" } }, null, -1)),
2562
2561
  ae("div", Nn, [
2563
- (y(!0), B(fe, null, ee(s.value, (Y) => (y(), P(c, {
2562
+ (y(!0), F(fe, null, ee(s.value, (Y) => (y(), P(c, {
2564
2563
  class: "check-box-hover",
2565
2564
  style: { width: "120px !important", height: "30px !important", border: "1px solid #dfe6ec", margin: "5px !important", "border-radius": "3px !important", "padding-left": "5px !important", display: "flex !important", "align-items": "center !important" },
2566
2565
  "data-id": Y.key,
@@ -2580,7 +2579,7 @@ const Rt = /* @__PURE__ */ _l(hn), nt = (a, u) => {
2580
2579
  ])
2581
2580
  ]),
2582
2581
  ae("div", Hn, [
2583
- O(A, {
2582
+ O(D, {
2584
2583
  type: "primary",
2585
2584
  onClick: p,
2586
2585
  icon: I(Kt),
@@ -2728,11 +2727,11 @@ const no = { style: { padding: "15px", "box-sizing": "border-box" } }, oo = { st
2728
2727
  onEnd: async () => {
2729
2728
  let c = i.toArray();
2730
2729
  try {
2731
- to(e.tuid, c).then((A) => {
2730
+ to(e.tuid, c).then((D) => {
2732
2731
  t("setting-drag-end");
2733
2732
  });
2734
- } catch (A) {
2735
- console.error("列排序保存信息时出错:", A), Je({
2733
+ } catch (D) {
2734
+ console.error("列排序保存信息时出错:", D), Je({
2736
2735
  type: "error",
2737
2736
  message: "列排序保存信息失败!"
2738
2737
  });
@@ -2793,8 +2792,8 @@ const no = { style: { padding: "15px", "box-sizing": "border-box" } }, oo = { st
2793
2792
  width: i == null ? void 0 : i.width
2794
2793
  })).sort((r, i) => r.sort - i.sort), p();
2795
2794
  }), (r, i) => {
2796
- const c = L("el-divider"), A = L("el-icon"), Y = L("el-text"), z = L("el-checkbox");
2797
- return y(), B("div", no, [
2795
+ const c = L("el-divider"), D = L("el-icon"), Y = L("el-text"), z = L("el-checkbox");
2796
+ return y(), F("div", no, [
2798
2797
  ae("div", oo, [
2799
2798
  ae("div", ao, [
2800
2799
  ae("a", { onClick: T }, "全选"),
@@ -2805,7 +2804,7 @@ const no = { style: { padding: "15px", "box-sizing": "border-box" } }, oo = { st
2805
2804
  ]),
2806
2805
  O(Y, { type: "warning" }, {
2807
2806
  default: h(() => [
2808
- O(A, { size: "16" }, {
2807
+ O(D, { size: "16" }, {
2809
2808
  default: h(() => [
2810
2809
  O(I(gl))
2811
2810
  ]),
@@ -2818,7 +2817,7 @@ const no = { style: { padding: "15px", "box-sizing": "border-box" } }, oo = { st
2818
2817
  ]),
2819
2818
  ae("div", null, [
2820
2819
  ae("div", ro, [
2821
- (y(!0), B(fe, null, ee(I(s), (k) => (y(), P(z, {
2820
+ (y(!0), F(fe, null, ee(I(s), (k) => (y(), P(z, {
2822
2821
  modelValue: k.showCol,
2823
2822
  "onUpdate:modelValue": (me) => k.showCol = me,
2824
2823
  "data-id": k.value,
@@ -2859,7 +2858,7 @@ const no = { style: { padding: "15px", "box-sizing": "border-box" } }, oo = { st
2859
2858
  const u = a, e = () => {
2860
2859
  u.content ? (navigator.clipboard.writeText(u.content), Je.success("复制成功")) : Je.warning("没有内容可复制");
2861
2860
  };
2862
- return (t, s) => (y(), B("div", {
2861
+ return (t, s) => (y(), F("div", {
2863
2862
  class: "g-cell-toopTip",
2864
2863
  style: Ge({ width: u.column.width + "px" })
2865
2864
  }, [
@@ -2918,42 +2917,42 @@ const no = { style: { padding: "15px", "box-sizing": "border-box" } }, oo = { st
2918
2917
  ...((i = u == null ? void 0 : u.container) == null ? void 0 : i.items) || {}
2919
2918
  };
2920
2919
  }), p = (i) => {
2921
- const c = u.m[i], A = c == null ? void 0 : c.view, Y = typeof A == "function" ? A(u.row, null, 0, u.m) : A || {}, z = c == null ? void 0 : c.table;
2920
+ const c = u.m[i], D = c == null ? void 0 : c.view, Y = typeof D == "function" ? D(u.row, null, 0, u.m) : D || {}, z = c == null ? void 0 : c.table;
2922
2921
  return { ...typeof z == "function" ? z(u.row) || {} : {}, ...Y };
2923
2922
  }, T = (i) => {
2924
2923
  const c = p(i);
2925
2924
  return (c == null ? void 0 : c.type) || "text-info";
2926
2925
  }, f = Ye(() => Object.entries(u.m).filter(([i, c]) => {
2927
2926
  if (tl.includes(i) || (c == null ? void 0 : c.type) === "hidden") return !1;
2928
- let A = (c == null ? void 0 : c.visible) !== !1;
2927
+ let D = (c == null ? void 0 : c.visible) !== !1;
2929
2928
  const Y = p(i);
2930
- return Object.hasOwn(Y, "visible") ? A = Y.visible : Object.hasOwn(Y, "hidden") && (A = !Y.hidden), A;
2929
+ return Object.hasOwn(Y, "visible") ? D = Y.visible : Object.hasOwn(Y, "hidden") && (D = !Y.hidden), D;
2931
2930
  }).sort(([i], [c]) => {
2932
2931
  var z, k;
2933
- const A = ((z = p(i)) == null ? void 0 : z.sort) ?? 0, Y = ((k = p(c)) == null ? void 0 : k.sort) ?? 0;
2934
- return A - Y;
2932
+ const D = ((z = p(i)) == null ? void 0 : z.sort) ?? 0, Y = ((k = p(c)) == null ? void 0 : k.sort) ?? 0;
2933
+ return D - Y;
2935
2934
  })), m = {
2936
2935
  date: "YYYY-MM-DD",
2937
2936
  datetime: "YYYY-MM-DD HH:mm:ss",
2938
2937
  time: "HH:mm:ss"
2939
- }, r = Ye(() => ({ ...Object.fromEntries(f.value.map(([c, A]) => {
2938
+ }, r = Ye(() => ({ ...Object.fromEntries(f.value.map(([c, D]) => {
2940
2939
  const Y = p(c);
2941
- let z = Object.hasOwn(Y, "value") ? Y.value : A == null ? void 0 : A.value;
2942
- const k = Y.format || m[A == null ? void 0 : A.type];
2940
+ let z = Object.hasOwn(Y, "value") ? Y.value : D == null ? void 0 : D.value;
2941
+ const k = Y.format || m[D == null ? void 0 : D.type];
2943
2942
  return k && z && (z = Rt(z).format(k)), [c, z];
2944
2943
  })), ...u.row }));
2945
2944
  return (i, c) => {
2946
2945
  var z;
2947
- const A = L("el-descriptions-item"), Y = L("el-descriptions");
2948
- return y(), B("div", {
2946
+ const D = L("el-descriptions-item"), Y = L("el-descriptions");
2947
+ return y(), F("div", {
2949
2948
  class: "g-detail-container",
2950
2949
  style: Ge(((z = s.value) == null ? void 0 : z.style) || {})
2951
2950
  }, [
2952
- O(Y, F({ border: "" }, I(Qe)(s.value, (k) => !["container"].includes(k))), Se({
2951
+ O(Y, H({ border: "" }, I(Qe)(s.value, (k) => !["container"].includes(k))), Se({
2953
2952
  default: h(() => [
2954
- (y(!0), B(fe, null, ee(f.value, ([k, me]) => {
2953
+ (y(!0), F(fe, null, ee(f.value, ([k, me]) => {
2955
2954
  var Z, se;
2956
- return y(), P(A, F({
2955
+ return y(), P(D, H({
2957
2956
  label: (Z = u.m[k]) == null ? void 0 : Z.label
2958
2957
  }, { ref_for: !0 }, { ...l.value, ...((se = p(k)) == null ? void 0 : se.item) || {} }, { key: k }), {
2959
2958
  label: h(() => [
@@ -3114,9 +3113,9 @@ function go(a) {
3114
3113
  for (var p = a.bytesToWords(n), T = n.length * 8, f = 1732584193, m = -271733879, r = -1732584194, i = 271733878, c = 0; c < p.length; c++)
3115
3114
  p[c] = (p[c] << 8 | p[c] >>> 24) & 16711935 | (p[c] << 24 | p[c] >>> 8) & 4278255360;
3116
3115
  p[T >>> 5] |= 128 << T % 32, p[(T + 64 >>> 9 << 4) + 14] = T;
3117
- for (var A = s._ff, Y = s._gg, z = s._hh, k = s._ii, c = 0; c < p.length; c += 16) {
3116
+ for (var D = s._ff, Y = s._gg, z = s._hh, k = s._ii, c = 0; c < p.length; c += 16) {
3118
3117
  var me = f, Z = m, se = r, X = i;
3119
- f = A(f, m, r, i, p[c + 0], 7, -680876936), i = A(i, f, m, r, p[c + 1], 12, -389564586), r = A(r, i, f, m, p[c + 2], 17, 606105819), m = A(m, r, i, f, p[c + 3], 22, -1044525330), f = A(f, m, r, i, p[c + 4], 7, -176418897), i = A(i, f, m, r, p[c + 5], 12, 1200080426), r = A(r, i, f, m, p[c + 6], 17, -1473231341), m = A(m, r, i, f, p[c + 7], 22, -45705983), f = A(f, m, r, i, p[c + 8], 7, 1770035416), i = A(i, f, m, r, p[c + 9], 12, -1958414417), r = A(r, i, f, m, p[c + 10], 17, -42063), m = A(m, r, i, f, p[c + 11], 22, -1990404162), f = A(f, m, r, i, p[c + 12], 7, 1804603682), i = A(i, f, m, r, p[c + 13], 12, -40341101), r = A(r, i, f, m, p[c + 14], 17, -1502002290), m = A(m, r, i, f, p[c + 15], 22, 1236535329), f = Y(f, m, r, i, p[c + 1], 5, -165796510), i = Y(i, f, m, r, p[c + 6], 9, -1069501632), r = Y(r, i, f, m, p[c + 11], 14, 643717713), m = Y(m, r, i, f, p[c + 0], 20, -373897302), f = Y(f, m, r, i, p[c + 5], 5, -701558691), i = Y(i, f, m, r, p[c + 10], 9, 38016083), r = Y(r, i, f, m, p[c + 15], 14, -660478335), m = Y(m, r, i, f, p[c + 4], 20, -405537848), f = Y(f, m, r, i, p[c + 9], 5, 568446438), i = Y(i, f, m, r, p[c + 14], 9, -1019803690), r = Y(r, i, f, m, p[c + 3], 14, -187363961), m = Y(m, r, i, f, p[c + 8], 20, 1163531501), f = Y(f, m, r, i, p[c + 13], 5, -1444681467), i = Y(i, f, m, r, p[c + 2], 9, -51403784), r = Y(r, i, f, m, p[c + 7], 14, 1735328473), m = Y(m, r, i, f, p[c + 12], 20, -1926607734), f = z(f, m, r, i, p[c + 5], 4, -378558), i = z(i, f, m, r, p[c + 8], 11, -2022574463), r = z(r, i, f, m, p[c + 11], 16, 1839030562), m = z(m, r, i, f, p[c + 14], 23, -35309556), f = z(f, m, r, i, p[c + 1], 4, -1530992060), i = z(i, f, m, r, p[c + 4], 11, 1272893353), r = z(r, i, f, m, p[c + 7], 16, -155497632), m = z(m, r, i, f, p[c + 10], 23, -1094730640), f = z(f, m, r, i, p[c + 13], 4, 681279174), i = z(i, f, m, r, p[c + 0], 11, -358537222), r = z(r, i, f, m, p[c + 3], 16, -722521979), m = z(m, r, i, f, p[c + 6], 23, 76029189), f = z(f, m, r, i, p[c + 9], 4, -640364487), i = z(i, f, m, r, p[c + 12], 11, -421815835), r = z(r, i, f, m, p[c + 15], 16, 530742520), m = z(m, r, i, f, p[c + 2], 23, -995338651), f = k(f, m, r, i, p[c + 0], 6, -198630844), i = k(i, f, m, r, p[c + 7], 10, 1126891415), r = k(r, i, f, m, p[c + 14], 15, -1416354905), m = k(m, r, i, f, p[c + 5], 21, -57434055), f = k(f, m, r, i, p[c + 12], 6, 1700485571), i = k(i, f, m, r, p[c + 3], 10, -1894986606), r = k(r, i, f, m, p[c + 10], 15, -1051523), m = k(m, r, i, f, p[c + 1], 21, -2054922799), f = k(f, m, r, i, p[c + 8], 6, 1873313359), i = k(i, f, m, r, p[c + 15], 10, -30611744), r = k(r, i, f, m, p[c + 6], 15, -1560198380), m = k(m, r, i, f, p[c + 13], 21, 1309151649), f = k(f, m, r, i, p[c + 4], 6, -145523070), i = k(i, f, m, r, p[c + 11], 10, -1120210379), r = k(r, i, f, m, p[c + 2], 15, 718787259), m = k(m, r, i, f, p[c + 9], 21, -343485551), f = f + me >>> 0, m = m + Z >>> 0, r = r + se >>> 0, i = i + X >>> 0;
3118
+ f = D(f, m, r, i, p[c + 0], 7, -680876936), i = D(i, f, m, r, p[c + 1], 12, -389564586), r = D(r, i, f, m, p[c + 2], 17, 606105819), m = D(m, r, i, f, p[c + 3], 22, -1044525330), f = D(f, m, r, i, p[c + 4], 7, -176418897), i = D(i, f, m, r, p[c + 5], 12, 1200080426), r = D(r, i, f, m, p[c + 6], 17, -1473231341), m = D(m, r, i, f, p[c + 7], 22, -45705983), f = D(f, m, r, i, p[c + 8], 7, 1770035416), i = D(i, f, m, r, p[c + 9], 12, -1958414417), r = D(r, i, f, m, p[c + 10], 17, -42063), m = D(m, r, i, f, p[c + 11], 22, -1990404162), f = D(f, m, r, i, p[c + 12], 7, 1804603682), i = D(i, f, m, r, p[c + 13], 12, -40341101), r = D(r, i, f, m, p[c + 14], 17, -1502002290), m = D(m, r, i, f, p[c + 15], 22, 1236535329), f = Y(f, m, r, i, p[c + 1], 5, -165796510), i = Y(i, f, m, r, p[c + 6], 9, -1069501632), r = Y(r, i, f, m, p[c + 11], 14, 643717713), m = Y(m, r, i, f, p[c + 0], 20, -373897302), f = Y(f, m, r, i, p[c + 5], 5, -701558691), i = Y(i, f, m, r, p[c + 10], 9, 38016083), r = Y(r, i, f, m, p[c + 15], 14, -660478335), m = Y(m, r, i, f, p[c + 4], 20, -405537848), f = Y(f, m, r, i, p[c + 9], 5, 568446438), i = Y(i, f, m, r, p[c + 14], 9, -1019803690), r = Y(r, i, f, m, p[c + 3], 14, -187363961), m = Y(m, r, i, f, p[c + 8], 20, 1163531501), f = Y(f, m, r, i, p[c + 13], 5, -1444681467), i = Y(i, f, m, r, p[c + 2], 9, -51403784), r = Y(r, i, f, m, p[c + 7], 14, 1735328473), m = Y(m, r, i, f, p[c + 12], 20, -1926607734), f = z(f, m, r, i, p[c + 5], 4, -378558), i = z(i, f, m, r, p[c + 8], 11, -2022574463), r = z(r, i, f, m, p[c + 11], 16, 1839030562), m = z(m, r, i, f, p[c + 14], 23, -35309556), f = z(f, m, r, i, p[c + 1], 4, -1530992060), i = z(i, f, m, r, p[c + 4], 11, 1272893353), r = z(r, i, f, m, p[c + 7], 16, -155497632), m = z(m, r, i, f, p[c + 10], 23, -1094730640), f = z(f, m, r, i, p[c + 13], 4, 681279174), i = z(i, f, m, r, p[c + 0], 11, -358537222), r = z(r, i, f, m, p[c + 3], 16, -722521979), m = z(m, r, i, f, p[c + 6], 23, 76029189), f = z(f, m, r, i, p[c + 9], 4, -640364487), i = z(i, f, m, r, p[c + 12], 11, -421815835), r = z(r, i, f, m, p[c + 15], 16, 530742520), m = z(m, r, i, f, p[c + 2], 23, -995338651), f = k(f, m, r, i, p[c + 0], 6, -198630844), i = k(i, f, m, r, p[c + 7], 10, 1126891415), r = k(r, i, f, m, p[c + 14], 15, -1416354905), m = k(m, r, i, f, p[c + 5], 21, -57434055), f = k(f, m, r, i, p[c + 12], 6, 1700485571), i = k(i, f, m, r, p[c + 3], 10, -1894986606), r = k(r, i, f, m, p[c + 10], 15, -1051523), m = k(m, r, i, f, p[c + 1], 21, -2054922799), f = k(f, m, r, i, p[c + 8], 6, 1873313359), i = k(i, f, m, r, p[c + 15], 10, -30611744), r = k(r, i, f, m, p[c + 6], 15, -1560198380), m = k(m, r, i, f, p[c + 13], 21, 1309151649), f = k(f, m, r, i, p[c + 4], 6, -145523070), i = k(i, f, m, r, p[c + 11], 10, -1120210379), r = k(r, i, f, m, p[c + 2], 15, 718787259), m = k(m, r, i, f, p[c + 9], 21, -343485551), f = f + me >>> 0, m = m + Z >>> 0, r = r + se >>> 0, i = i + X >>> 0;
3120
3119
  }
3121
3120
  return a.endian([f, m, r, i]);
3122
3121
  };
@@ -3213,7 +3212,7 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
3213
3212
  "filter-multiple",
3214
3213
  "filter-method",
3215
3214
  "filtered-value"
3216
- ], c = ie([]), A = Lt(), Y = ie({}), z = ie([]), k = ie(null), me = ie(""), Z = ie("/"), se = dt(a, "selectedRows"), X = ie({
3215
+ ], c = ie([]), D = Lt(), Y = ie({}), z = ie([]), k = ie(null), me = ie(""), Z = ie("/"), se = dt(a, "selectedRows"), X = ie({
3217
3216
  autoWatch: !1,
3218
3217
  data: [],
3219
3218
  border: !0,
@@ -3252,7 +3251,7 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
3252
3251
  Zn(Z.value, w.property, o);
3253
3252
  },
3254
3253
  onRowDblclick: (o, d, w) => {
3255
- l.value.table.dblclickType == "edit" ? E(o, d, w, l) : l.value.table.dblclickType == "view" ? N(o, d, w, l) : l.value.table.dblclickType == "delete" ? W(o, d, w, l) : l.value.table.dblclickType(o, d, w, l);
3254
+ l.value.table.dblclickType == "edit" ? E(o, d, w, l) : l.value.table.dblclickType == "view" ? N(o, d, w, l) : l.value.table.dblclickType == "delete" ? B(o, d, w, l) : l.value.table.dblclickType(o, d, w, l);
3256
3255
  },
3257
3256
  style: { "min-height": "100px", backgroundColor: "var(--el-bg-color)" },
3258
3257
  page: {
@@ -3289,7 +3288,7 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
3289
3288
  X.value,
3290
3289
  p == null ? void 0 : p.table,
3291
3290
  l.value.table,
3292
- A
3291
+ D
3293
3292
  // 继承父组件的属性
3294
3293
  );
3295
3294
  const oe = {
@@ -3410,7 +3409,7 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
3410
3409
  onClick: () => {
3411
3410
  var te;
3412
3411
  let q = (te = _e(o, d, w, M)) == null ? void 0 : te.operate;
3413
- q === "edit" ? E(o, d, w, M) : q === "delete" ? W(o, d, w, M) : q === "view" && N(o, d, w, M);
3412
+ q === "edit" ? E(o, d, w, M) : q === "delete" ? B(o, d, w, M) : q === "view" && N(o, d, w, M);
3414
3413
  },
3415
3414
  "button-props": { round: !0, plain: !0 }
3416
3415
  })
@@ -3541,7 +3540,7 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
3541
3540
  (te = l.value.control.edit(o, d, w, M)) != null && te.click ? l.value.control.edit(o, d, w, M).click(o, d, w, M) : (l.value.form.disabled = !1, l.value.dialog.mode = l.value.control.edit(o, d, w, M).mode, l.value.dialog.title = l.value.control.edit(o, d, w, M).title || l.value.control.edit(o, d, w, M).label || "编辑", Object.keys(o).forEach((ne) => {
3542
3541
  l.value[ne] && (l.value[ne].value = o[ne]);
3543
3542
  }), r.value = !0, await rt(), n("open", "edit", { m: M, row: o, column: d, index: w }), jt());
3544
- }, W = async (o, d, w, M) => {
3543
+ }, B = async (o, d, w, M) => {
3545
3544
  var q, te;
3546
3545
  try {
3547
3546
  if (!await ((q = l.value.control) == null ? void 0 : q.validate("delete", { row: o, column: d, index: w, m: M, node: s.node }))) return;
@@ -3652,10 +3651,10 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
3652
3651
  modelValue: d,
3653
3652
  tuid: Z.value,
3654
3653
  onSettingDragEnd: async () => {
3655
- await H(Z.value);
3654
+ await W(Z.value);
3656
3655
  },
3657
3656
  onSelectAll: async (M) => {
3658
- await H(Z.value);
3657
+ await W(Z.value);
3659
3658
  }
3660
3659
  })
3661
3660
  }
@@ -3669,7 +3668,7 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
3669
3668
  setting: K,
3670
3669
  view: N,
3671
3670
  edit: E,
3672
- delete: W,
3671
+ delete: B,
3673
3672
  save: x
3674
3673
  }, le = (o, d, w, M, q) => o.filter((te) => de[te]).map((te) => {
3675
3674
  const ne = Q == null ? void 0 : Q[te](d, w, M, q);
@@ -3718,13 +3717,13 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
3718
3717
  }, V = (o, d, w, M) => {
3719
3718
  var q, te;
3720
3719
  return o.table ? (q = o.table(d, w, M)) != null && q.auth ? (te = o.table(d, w, M)) == null ? void 0 : te.auth(d, w, M) : !0 : !1;
3721
- }, D = () => {
3720
+ }, A = () => {
3722
3721
  r.value = !1;
3723
3722
  };
3724
3723
  Hl(() => {
3725
3724
  l.value.table.autoWatch && l.value.table.load();
3726
3725
  });
3727
- const H = async () => {
3726
+ const W = async () => {
3728
3727
  try {
3729
3728
  const [o, d, w] = await Promise.all([
3730
3729
  Jn(Z.value),
@@ -3765,15 +3764,15 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
3765
3764
  );
3766
3765
  k.value = Object.fromEntries(
3767
3766
  o.map(([d, w]) => [d, w.value])
3768
- ), await H(), l.value.table.autoWatch || l.value.table.load();
3767
+ ), await W(), l.value.table.autoWatch || l.value.table.load();
3769
3768
  } catch (o) {
3770
3769
  console.error("Error during component initialization:", o), l.value.table.autoWatch || l.value.table.load();
3771
3770
  }
3772
- }), u({ addRow: g, editRow: E, deleteRow: W, readForm: N, saveRowData: x, closeDialog: D, formData: k }), (o, d) => {
3771
+ }), u({ addRow: g, editRow: E, deleteRow: B, readForm: N, saveRowData: x, closeDialog: A, formData: k }), (o, d) => {
3773
3772
  var Fe, Be, tt, ot, wt, St, At;
3774
3773
  const w = L("el-button-group"), M = L("el-dropdown-item"), q = L("el-dropdown-menu"), te = L("el-dropdown"), ne = L("el-table-column"), Ee = L("el-table"), Oe = L("el-pagination");
3775
- return y(), B(fe, null, [
3776
- r.value ? (y(), P(ll, F({
3774
+ return y(), F(fe, null, [
3775
+ r.value ? (y(), P(ll, H({
3777
3776
  key: 0,
3778
3777
  modelValue: r.value,
3779
3778
  "onUpdate:modelValue": d[2] || (d[2] = (ce) => r.value = ce)
@@ -3835,7 +3834,7 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
3835
3834
  } : void 0
3836
3835
  ]), 1040, ["modelValue", "type"])) : Ve("", !0),
3837
3836
  ae("div", $o, [
3838
- ((ot = (tt = l.value) == null ? void 0 : tt.query) == null ? void 0 : ot.hidden) != !0 ? (y(), B("div", ko, [
3837
+ ((ot = (tt = l.value) == null ? void 0 : tt.query) == null ? void 0 : ot.hidden) != !0 ? (y(), F("div", ko, [
3839
3838
  C(o.$slots, "query", {}, () => [
3840
3839
  O(In, {
3841
3840
  modelValue: l.value,
@@ -3847,13 +3846,13 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
3847
3846
  }, Se({
3848
3847
  "q-btns": h(() => [
3849
3848
  C(o.$slots, "q-btns", {}, () => [
3850
- (y(!0), B(fe, null, ee(he(["add", "toggleExpand", "batch", "download", "setting"], k.value, l.value), (ce, xe) => (y(), B(fe, null, [
3851
- xe == "default" ? (y(!0), B(fe, { key: 0 }, ee(ce, (ve) => (y(), B(fe, null, [
3849
+ (y(!0), F(fe, null, ee(he(["add", "toggleExpand", "batch", "download", "setting"], k.value, l.value), (ce, xe) => (y(), F(fe, null, [
3850
+ xe == "default" ? (y(!0), F(fe, { key: 0 }, ee(ce, (ve) => (y(), F(fe, null, [
3852
3851
  C(o.$slots, ve.name + "-left", {}, void 0, !0),
3853
3852
  (ve.name === "control-add" ? ve.attr.auth() && ve.attr.inline === !1 : ve.attr.auth()) ? C(o.$slots, ve.name, { key: 0 }, () => {
3854
3853
  var Ze, at;
3855
3854
  return [
3856
- ve.label ? (y(), P(I(Ae), F({
3855
+ ve.label ? (y(), P(I(Ae), H({
3857
3856
  key: 0,
3858
3857
  title: ve.label,
3859
3858
  disabled: ve.name === "control-batch" && ((Ze = se.value) == null ? void 0 : Ze.length) === 0
@@ -3864,7 +3863,7 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
3864
3863
  Me(Pe(ve.label), 1)
3865
3864
  ]),
3866
3865
  _: 2
3867
- }, 1040, ["title", "disabled", "onClick"])) : (y(), P(I(Ae), F({
3866
+ }, 1040, ["title", "disabled", "onClick"])) : (y(), P(I(Ae), H({
3868
3867
  key: 1,
3869
3868
  title: ve.label,
3870
3869
  disabled: ve.name === "control-batch" && ((at = se.value) == null ? void 0 : at.length) === 0
@@ -3876,12 +3875,12 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
3876
3875
  C(o.$slots, ve.name + "-right", {}, void 0, !0)
3877
3876
  ], 64))), 256)) : (y(), P(w, { key: 1 }, {
3878
3877
  default: h(() => [
3879
- (y(!0), B(fe, null, ee(ce, (ve) => (y(), B(fe, null, [
3878
+ (y(!0), F(fe, null, ee(ce, (ve) => (y(), F(fe, null, [
3880
3879
  C(o.$slots, ve.name + "-left", {}, void 0, !0),
3881
3880
  (ve.name === "control-add" ? ve.attr.auth() && ve.attr.inline === !1 : ve.attr.auth()) ? C(o.$slots, ve.name, { key: 0 }, () => {
3882
3881
  var Ze, at;
3883
3882
  return [
3884
- ve.label ? (y(), P(I(Ae), F({
3883
+ ve.label ? (y(), P(I(Ae), H({
3885
3884
  key: 0,
3886
3885
  title: ve.label,
3887
3886
  disabled: ve.name === "control-batch" && ((Ze = se.value) == null ? void 0 : Ze.length) === 0,
@@ -3893,7 +3892,7 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
3893
3892
  Me(Pe(ve.label), 1)
3894
3893
  ]),
3895
3894
  _: 2
3896
- }, 1040, ["title", "disabled", "onClick"])) : (y(), P(I(Ae), F({
3895
+ }, 1040, ["title", "disabled", "onClick"])) : (y(), P(I(Ae), H({
3897
3896
  key: 1,
3898
3897
  title: ve.label,
3899
3898
  disabled: ve.name === "control-batch" && ((at = se.value) == null ? void 0 : at.length) === 0
@@ -3929,7 +3928,7 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
3929
3928
  queryInfo: T.value
3930
3929
  }, void 0, !0),
3931
3930
  ae("div", xo, [
3932
- f.value ? (y(), P(Ee, F({ key: 0 }, {
3931
+ f.value ? (y(), P(Ee, H({ key: 0 }, {
3933
3932
  ...o.$attrs,
3934
3933
  ...I(Qe)(
3935
3934
  l.value.table,
@@ -3950,9 +3949,9 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
3950
3949
  ]),
3951
3950
  default: h(() => [
3952
3951
  C(o.$slots, "default", {}, () => [
3953
- (y(!0), B(fe, null, ee(He.value, (ce, xe) => {
3952
+ (y(!0), F(fe, null, ee(He.value, (ce, xe) => {
3954
3953
  var ve, Ze, at, ft;
3955
- return y(), P(ne, F({
3954
+ return y(), P(ne, H({
3956
3955
  prop: xe,
3957
3956
  "column-key": xe
3958
3957
  }, { ref_for: !0 }, ((Ze = (ve = l.value) == null ? void 0 : ve.table) == null ? void 0 : Ze["row-key"]) == xe ? {
@@ -4004,10 +4003,10 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
4004
4003
  column: we,
4005
4004
  index: ke
4006
4005
  }, void 0, !0),
4007
- (y(!0), B(fe, null, ee(he(["view", "edit", "delete", "save"], pe, we, ke, l.value), (pt, mt) => {
4006
+ (y(!0), F(fe, null, ee(he(["view", "edit", "delete", "save"], pe, we, ke, l.value), (pt, mt) => {
4008
4007
  var _t;
4009
- return y(), B(fe, null, [
4010
- mt == "default" ? (y(!0), B(fe, { key: 0 }, ee(pt, (re) => (y(), B(fe, null, [
4008
+ return y(), F(fe, null, [
4009
+ mt == "default" ? (y(!0), F(fe, { key: 0 }, ee(pt, (re) => (y(), F(fe, null, [
4011
4010
  C(o.$slots, re.name + "-left", {
4012
4011
  row: pe,
4013
4012
  column: we,
@@ -4019,7 +4018,7 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
4019
4018
  column: we,
4020
4019
  index: ke
4021
4020
  }, () => [
4022
- re.label ? (y(), P(I(Ae), F({
4021
+ re.label ? (y(), P(I(Ae), H({
4023
4022
  key: 0,
4024
4023
  title: re.label
4025
4024
  }, { ref_for: !0 }, re.attr, {
@@ -4029,7 +4028,7 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
4029
4028
  Me(Pe(re.label), 1)
4030
4029
  ]),
4031
4030
  _: 2
4032
- }, 1040, ["title", "onClick"])) : (y(), P(I(Ae), F({
4031
+ }, 1040, ["title", "onClick"])) : (y(), P(I(Ae), H({
4033
4032
  key: 1,
4034
4033
  title: re.label
4035
4034
  }, { ref_for: !0 }, re.attr, {
@@ -4041,23 +4040,23 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
4041
4040
  column: we,
4042
4041
  index: ke
4043
4042
  }, void 0, !0)
4044
- ], 64))), 256)) : mt != null && mt.startsWith("dropdown") && ((_t = _e(pe, we, ke, l.value)) != null && _t.auth()) ? (y(), P(te, F({
4043
+ ], 64))), 256)) : mt != null && mt.startsWith("dropdown") && ((_t = _e(pe, we, ke, l.value)) != null && _t.auth()) ? (y(), P(te, H({
4045
4044
  key: 1,
4046
4045
  ref_for: !0
4047
4046
  }, _e(pe, we, ke, l.value)), {
4048
4047
  dropdown: h(() => [
4049
4048
  O(q, null, {
4050
4049
  default: h(() => [
4051
- (y(!0), B(fe, null, ee(pt, (re) => {
4050
+ (y(!0), F(fe, null, ee(pt, (re) => {
4052
4051
  var vt, Mt, Ct;
4053
- return y(), B(fe, null, [
4052
+ return y(), F(fe, null, [
4054
4053
  o.$slots[re.name + "-left"] ? C(o.$slots, re.name + "-left", {
4055
4054
  key: 0,
4056
4055
  row: pe,
4057
4056
  column: we,
4058
4057
  index: ke
4059
4058
  }, void 0, !0) : Ve("", !0),
4060
- re.attr.auth() ? (y(), P(M, F({
4059
+ re.attr.auth() ? (y(), P(M, H({
4061
4060
  key: 1,
4062
4061
  ref_for: !0
4063
4062
  }, {
@@ -4071,7 +4070,7 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
4071
4070
  column: we,
4072
4071
  index: ke
4073
4072
  }, () => [
4074
- re.label ? (y(), P(I(Ae), F({
4073
+ re.label ? (y(), P(I(Ae), H({
4075
4074
  key: 0,
4076
4075
  title: re.label
4077
4076
  }, { ref_for: !0 }, re.attr, {
@@ -4081,7 +4080,7 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
4081
4080
  Me(Pe(re.label), 1)
4082
4081
  ]),
4083
4082
  _: 2
4084
- }, 1040, ["title", "onClick"])) : (y(), P(I(Ae), F({
4083
+ }, 1040, ["title", "onClick"])) : (y(), P(I(Ae), H({
4085
4084
  key: 1,
4086
4085
  title: re.label
4087
4086
  }, { ref_for: !0 }, re.attr, {
@@ -4112,7 +4111,7 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
4112
4111
  _: 2
4113
4112
  }, 1040)) : (y(), P(w, { key: 2 }, {
4114
4113
  default: h(() => [
4115
- (y(!0), B(fe, null, ee(pt, (re) => (y(), B(fe, null, [
4114
+ (y(!0), F(fe, null, ee(pt, (re) => (y(), F(fe, null, [
4116
4115
  C(o.$slots, re.name + "-left", {
4117
4116
  row: pe,
4118
4117
  column: we,
@@ -4124,7 +4123,7 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
4124
4123
  column: we,
4125
4124
  index: ke
4126
4125
  }, () => [
4127
- re.label ? (y(), P(I(Ae), F({
4126
+ re.label ? (y(), P(I(Ae), H({
4128
4127
  key: 0,
4129
4128
  title: re.label
4130
4129
  }, { ref_for: !0 }, re.attr, {
@@ -4134,7 +4133,7 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
4134
4133
  Me(Pe(re.label), 1)
4135
4134
  ]),
4136
4135
  _: 2
4137
- }, 1040, ["title", "onClick"])) : (y(), P(I(Ae), F({
4136
+ }, 1040, ["title", "onClick"])) : (y(), P(I(Ae), H({
4138
4137
  key: 1,
4139
4138
  title: re.label
4140
4139
  }, { ref_for: !0 }, re.attr, {
@@ -4222,7 +4221,7 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
4222
4221
  _: 3
4223
4222
  }, 16, ["summary-method"])) : Ve("", !0),
4224
4223
  (At = (St = (wt = l.value) == null ? void 0 : wt.table) == null ? void 0 : St.page) != null && At.hidden ? Ve("", !0) : C(o.$slots, "page", { key: 1 }, () => [
4225
- O(Oe, F({
4224
+ O(Oe, H({
4226
4225
  "page-size": l.value.table.page.pageSize,
4227
4226
  "onUpdate:pageSize": d[6] || (d[6] = (ce) => l.value.table.page.pageSize = ce),
4228
4227
  "current-page": l.value.table.page.currentPage,
@@ -4269,8 +4268,8 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
4269
4268
  refresh: { icon: Nt, label: "刷新", divided: !0, type: "primary" }
4270
4269
  }, e.menu(e.nodeInfo)), l = Ye(() => {
4271
4270
  const r = Object.entries(n).filter(([i, c]) => (c == null ? void 0 : c.hidden) !== !0).filter(([i, c]) => (c == null ? void 0 : c.visible) !== !1).sort((i, c) => {
4272
- var A, Y;
4273
- return ((A = i[1]) == null ? void 0 : A.sort) || 0 - ((Y = c[1]) == null ? void 0 : Y.sort) || 0;
4271
+ var D, Y;
4272
+ return ((D = i[1]) == null ? void 0 : D.sort) || 0 - ((Y = c[1]) == null ? void 0 : Y.sort) || 0;
4274
4273
  });
4275
4274
  return Object.fromEntries(r);
4276
4275
  }), p = Ye(() => {
@@ -4280,14 +4279,14 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
4280
4279
  ]);
4281
4280
  return Object.fromEntries(r);
4282
4281
  }), T = ie({}), f = ie({}), m = async (r) => {
4283
- var A, Y;
4282
+ var D, Y;
4284
4283
  if (!e.nodeInfo) return;
4285
4284
  const { data: i, node: c } = e.nodeInfo;
4286
4285
  switch (r) {
4287
4286
  case "add":
4288
4287
  e.processFormData ? T.value = await e.processFormData({ cmd: r, data: p.value, node: c }) : T.value = p.value;
4289
4288
  const z = yt({
4290
- title: ((A = n == null ? void 0 : n.add) == null ? void 0 : A.label) || "新增子节点",
4289
+ title: ((D = n == null ? void 0 : n.add) == null ? void 0 : D.label) || "新增子节点",
4291
4290
  width: 450,
4292
4291
  alignCenter: !0,
4293
4292
  slots: {
@@ -4345,22 +4344,22 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
4345
4344
  }
4346
4345
  };
4347
4346
  return (r, i) => {
4348
- const c = L("el-button"), A = L("el-dropdown-item"), Y = L("el-dropdown-menu");
4347
+ const c = L("el-button"), D = L("el-dropdown-item"), Y = L("el-dropdown-menu");
4349
4348
  return y(), P(Y, null, {
4350
4349
  default: h(() => [
4351
- (y(!0), B(fe, null, ee(l.value, (z, k) => {
4350
+ (y(!0), F(fe, null, ee(l.value, (z, k) => {
4352
4351
  var me;
4353
- return y(), B(fe, { key: k }, [
4352
+ return y(), F(fe, { key: k }, [
4354
4353
  C(r.$slots, `menu-${k}-left`, {
4355
4354
  nodeInfo: e.nodeInfo
4356
4355
  }),
4357
- O(A, {
4356
+ O(D, {
4358
4357
  onClick: (Z) => m(k),
4359
4358
  style: { "box-sizing": "border-box" },
4360
4359
  divided: z == null ? void 0 : z.divided
4361
4360
  }, {
4362
4361
  default: h(() => [
4363
- O(c, F({ text: "" }, { ref_for: !0 }, z), {
4362
+ O(c, H({ text: "" }, { ref_for: !0 }, z), {
4364
4363
  default: h(() => [
4365
4364
  Me(Pe(z.label), 1)
4366
4365
  ]),
@@ -4400,7 +4399,7 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
4400
4399
  return oe[be].includes(X);
4401
4400
  }, c = (X, oe) => {
4402
4401
  e("load", T.value, X, oe);
4403
- }, A = (X, oe) => {
4402
+ }, D = (X, oe) => {
4404
4403
  T.value = { data: X, node: oe }, t.value.table.load();
4405
4404
  }, Y = async (X, oe, be) => {
4406
4405
  X.preventDefault(), r.value = { data: oe, node: be };
@@ -4430,12 +4429,12 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
4430
4429
  }), (X, oe) => {
4431
4430
  var J, ze;
4432
4431
  const be = L("el-input"), _e = L("el-dropdown"), qe = L("el-tree"), ye = L("g-table");
4433
- return y(), B("div", Eo, [
4432
+ return y(), F("div", Eo, [
4434
4433
  ae("div", {
4435
4434
  class: "g-tree-left",
4436
4435
  style: Ge({ width: l.value })
4437
4436
  }, [
4438
- p.value ? (y(), P(be, F({
4437
+ p.value ? (y(), P(be, H({
4439
4438
  key: 0,
4440
4439
  modelValue: f.value,
4441
4440
  "onUpdate:modelValue": oe[0] || (oe[0] = (Ie) => f.value = Ie),
@@ -4444,14 +4443,14 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
4444
4443
  clearable: ""
4445
4444
  }, (ze = (J = I(n)) == null ? void 0 : J.tree) == null ? void 0 : ze.search), null, 16, ["modelValue"])) : Ve("", !0),
4446
4445
  ae("div", So, [
4447
- s.value ? (y(), P(qe, F({
4446
+ s.value ? (y(), P(qe, H({
4448
4447
  key: 0,
4449
4448
  style: { width: l.value },
4450
4449
  "filter-node-method": i,
4451
4450
  "expand-on-click-node": !1,
4452
4451
  ref_key: "treeRef",
4453
4452
  ref: m,
4454
- onNodeClick: A,
4453
+ onNodeClick: D,
4455
4454
  onNodeContextmenu: Y
4456
4455
  }, X.$attrs.tree), Se({
4457
4456
  default: h(({ node: Ie, data: S }) => [
@@ -4467,13 +4466,13 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
4467
4466
  "node-info": r.value,
4468
4467
  columns: (_ = (g = I(n)) == null ? void 0 : g.tree) == null ? void 0 : _.columns,
4469
4468
  menu: () => {
4470
- var W, N, v, x;
4471
- return ((N = (W = I(n)) == null ? void 0 : W.tree) == null ? void 0 : N.menu) && ((x = (v = I(n)) == null ? void 0 : v.tree) == null ? void 0 : x.menu({ node: Ie, data: S }));
4469
+ var B, N, v, x;
4470
+ return ((N = (B = I(n)) == null ? void 0 : B.tree) == null ? void 0 : N.menu) && ((x = (v = I(n)) == null ? void 0 : v.tree) == null ? void 0 : x.menu({ node: Ie, data: S }));
4472
4471
  },
4473
4472
  onMenuCommand: z,
4474
4473
  "process-form-data": (E = (R = I(n)) == null ? void 0 : R.tree) == null ? void 0 : E.processFormData
4475
4474
  }, Se({ _: 2 }, [
4476
- ee(X.$slots, (W, N, v) => ({
4475
+ ee(X.$slots, (B, N, v) => ({
4477
4476
  name: N,
4478
4477
  fn: h((x) => [
4479
4478
  C(X.$slots, N, {
@@ -4506,7 +4505,7 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
4506
4505
  ])
4507
4506
  ], 4),
4508
4507
  ae("div", Do, [
4509
- O(ye, F({
4508
+ O(ye, H({
4510
4509
  modelValue: t.value,
4511
4510
  "onUpdate:modelValue": oe[1] || (oe[1] = (Ie) => t.value = Ie)
4512
4511
  }, I(Qe)(X.$attrs, (Ie) => Ie !== "tree"), {
@@ -4553,8 +4552,8 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
4553
4552
  },
4554
4553
  setup(a) {
4555
4554
  const u = a;
4556
- return (e, t) => u.title ? (y(), B("div", Oo, [
4557
- (y(!0), B(fe, null, ee(u.columns, (s) => (y(), B("span", {
4555
+ return (e, t) => u.title ? (y(), F("div", Oo, [
4556
+ (y(!0), F(fe, null, ee(u.columns, (s) => (y(), F("span", {
4558
4557
  style: Ge({ width: (s == null ? void 0 : s.width) || cl, ...s == null ? void 0 : s.titleStyle, textAlign: (s == null ? void 0 : s.headerAlign) || "center" }),
4559
4558
  key: s.key
4560
4559
  }, [
@@ -4562,8 +4561,8 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
4562
4561
  Me(Pe(s.label), 1)
4563
4562
  ], !0)
4564
4563
  ], 4))), 128))
4565
- ])) : (y(), B("div", Po, [
4566
- (y(!0), B(fe, null, ee(u.columns, (s) => (y(), B("span", {
4564
+ ])) : (y(), F("div", Po, [
4565
+ (y(!0), F(fe, null, ee(u.columns, (s) => (y(), F("span", {
4567
4566
  style: Ge({ width: (s == null ? void 0 : s.width) || cl, textAlign: (s == null ? void 0 : s.align) || "center", ...s == null ? void 0 : s.style }),
4568
4567
  key: s.key,
4569
4568
  title: a.data[s.key]
@@ -4603,7 +4602,7 @@ const wo = /* @__PURE__ */ _l(bo), $o = { class: "g-table-container" }, ko = {
4603
4602
  }
4604
4603
  return (p, T) => {
4605
4604
  const f = L("el-switch"), m = L("el-icon"), r = L("el-button"), i = L("el-input");
4606
- return y(), B("div", qo, [
4605
+ return y(), F("div", qo, [
4607
4606
  ae("div", zo, [
4608
4607
  O(f, {
4609
4608
  "inline-prompt": "",
@@ -5193,17 +5192,17 @@ const Ho = function(a) {
5193
5192
  B5: { width: 250, height: 175.6 }
5194
5193
  };
5195
5194
  let n = null;
5196
- const l = ie(null), p = ie(0), T = ie([]), f = Bl({ type: "A4", width: 210, height: 296.6 }), m = ie(1), r = ie(!1), i = ie("220"), c = ie("80"), A = ie(document.documentElement.classList.contains("dark"));
5197
- Et(A, (S) => {
5195
+ const l = ie(null), p = ie(0), T = ie([]), f = Bl({ type: "A4", width: 210, height: 296.6 }), m = ie(1), r = ie(!1), i = ie("220"), c = ie("80"), D = ie(document.documentElement.classList.contains("dark"));
5196
+ Et(D, (S) => {
5198
5197
  document.documentElement.classList.toggle("dark", S);
5199
5198
  });
5200
5199
  function Y(S, g = "sync") {
5201
- var E, W;
5200
+ var E, B;
5202
5201
  if (!((E = S == null ? void 0 : S.panels) != null && E.length)) {
5203
5202
  console.warn(`[${g}] syncTableColumnsFromProps: tplData 无 panels,跳过(可能是空模板)`, S);
5204
5203
  return;
5205
5204
  }
5206
- if (!((W = e.table) != null && W.length)) {
5205
+ if (!((B = e.table) != null && B.length)) {
5207
5206
  console.warn(`[${g}] syncTableColumnsFromProps: props.table 为空,跳过`);
5208
5207
  return;
5209
5208
  }
@@ -5267,7 +5266,7 @@ const Ho = function(a) {
5267
5266
  let _ = g[S.value] || {};
5268
5267
  Y(_);
5269
5268
  const R = () => {
5270
- var W;
5269
+ var B;
5271
5270
  Y(_, "before-PrintTemplate"), n = new it.PrintTemplate({
5272
5271
  template: _,
5273
5272
  dataMode: 1,
@@ -5277,7 +5276,7 @@ const Ho = function(a) {
5277
5276
  paginationContainer: ".hiprint-printPagination"
5278
5277
  }), n.design("#hiprint-printTemplate");
5279
5278
  const E = n.getJson();
5280
- Y(E, "after-PrintTemplate"), l.value = n, m.value = ((W = n.editingPanel) == null ? void 0 : W.scale) || 1;
5279
+ Y(E, "after-PrintTemplate"), l.value = n, m.value = ((B = n.editingPanel) == null ? void 0 : B.scale) || 1;
5281
5280
  };
5282
5281
  try {
5283
5282
  R();
@@ -5293,10 +5292,10 @@ const Ho = function(a) {
5293
5292
  return;
5294
5293
  }
5295
5294
  S.printElements.forEach((_) => {
5296
- var R, E, W, N, v;
5295
+ var R, E, B, N, v;
5297
5296
  try {
5298
5297
  (R = _.designTarget) == null || R.children("div[panelindex]").addClass("selected"), (E = _.designTarget) == null || E.children().last().css({ display: "block" });
5299
- const x = (W = _.designTarget) == null ? void 0 : W[0];
5298
+ const x = (B = _.designTarget) == null ? void 0 : B[0];
5300
5299
  if (x && window.jQuery) {
5301
5300
  const j = window.jQuery(x).data("hidraggable");
5302
5301
  (v = (N = j == null ? void 0 : j.options) == null ? void 0 : N.onBeforeSelectAllDrag) == null || v.call(x, {});
@@ -5338,8 +5337,8 @@ const Ho = function(a) {
5338
5337
  });
5339
5338
  }
5340
5339
  function ye() {
5341
- var W;
5342
- const S = Wt({ table: e.table })[p.value], g = n.getJson(), _ = ((W = S.f.groups) == null ? void 0 : W.flatMap((N) => N.items || [])) || [];
5340
+ var B;
5341
+ const S = Wt({ table: e.table })[p.value], g = n.getJson(), _ = ((B = S.f.groups) == null ? void 0 : B.flatMap((N) => N.items || [])) || [];
5343
5342
  g != null && g.panels && g.panels.forEach((N) => {
5344
5343
  (N.printElements || []).forEach((v) => {
5345
5344
  var G, K;
@@ -5369,7 +5368,7 @@ const Ho = function(a) {
5369
5368
  return kt(() => {
5370
5369
  me(), X("A4", s.A4);
5371
5370
  }), (S, g) => {
5372
- const _ = L("el-option"), R = L("el-select"), E = L("el-col"), W = L("el-input"), N = L("el-popover"), v = L("el-button-group"), x = L("el-icon"), j = L("el-input-number"), b = L("el-popconfirm"), G = L("el-switch"), K = L("el-space"), Q = L("el-row"), de = L("el-card");
5371
+ const _ = L("el-option"), R = L("el-select"), E = L("el-col"), B = L("el-input"), N = L("el-popover"), v = L("el-button-group"), x = L("el-icon"), j = L("el-input-number"), b = L("el-popconfirm"), G = L("el-switch"), K = L("el-space"), Q = L("el-row"), de = L("el-card");
5373
5372
  return y(), P(de, { style: { margin: "10px" } }, {
5374
5373
  default: h(() => [
5375
5374
  O(Q, {
@@ -5387,7 +5386,7 @@ const Ho = function(a) {
5387
5386
  style: { width: "100%" }
5388
5387
  }, {
5389
5388
  default: h(() => [
5390
- (y(!0), B(fe, null, ee(T.value, (le, he) => (y(), P(_, {
5389
+ (y(!0), F(fe, null, ee(T.value, (le, he) => (y(), P(_, {
5391
5390
  key: he,
5392
5391
  label: le.name,
5393
5392
  value: he
@@ -5412,7 +5411,7 @@ const Ho = function(a) {
5412
5411
  default: h(() => [
5413
5412
  O(v, null, {
5414
5413
  default: h(() => [
5415
- (y(), B(fe, null, ee(s, (le, he) => O(I(Ae), {
5414
+ (y(), F(fe, null, ee(s, (le, he) => O(I(Ae), {
5416
5415
  type: z.value === he ? "primary" : "",
5417
5416
  onClick: (He) => X(he, le),
5418
5417
  key: he
@@ -5441,18 +5440,18 @@ const Ho = function(a) {
5441
5440
  ]),
5442
5441
  default: h(() => [
5443
5442
  ae("div", Bo, [
5444
- O(W, {
5443
+ O(B, {
5445
5444
  modelValue: i.value,
5446
5445
  "onUpdate:modelValue": g[1] || (g[1] = (le) => i.value = le),
5447
5446
  style: { width: "100px", "text-align": "center" },
5448
5447
  placeholder: "宽(mm)"
5449
5448
  }, null, 8, ["modelValue"]),
5450
- O(W, {
5449
+ O(B, {
5451
5450
  style: { width: "30px", "border-left": "0", "pointer-events": "none", margin: "0 2px" },
5452
5451
  placeholder: "~",
5453
5452
  disabled: ""
5454
5453
  }),
5455
- O(W, {
5454
+ O(B, {
5456
5455
  modelValue: c.value,
5457
5456
  "onUpdate:modelValue": g[2] || (g[2] = (le) => c.value = le),
5458
5457
  style: { width: "100px", "text-align": "center", "border-left": "0" },
@@ -5591,8 +5590,8 @@ const Ho = function(a) {
5591
5590
  _: 1
5592
5591
  }),
5593
5592
  O(G, {
5594
- modelValue: A.value,
5595
- "onUpdate:modelValue": g[7] || (g[7] = (le) => A.value = le),
5593
+ modelValue: D.value,
5594
+ "onUpdate:modelValue": g[7] || (g[7] = (le) => D.value = le),
5596
5595
  "inline-prompt": "",
5597
5596
  "active-icon": I(fn),
5598
5597
  "inactive-icon": I(cn),
@@ -5725,7 +5724,7 @@ const Ho = function(a) {
5725
5724
  }
5726
5725
  return kt(() => {
5727
5726
  s(e.hiprintTemplate, e.printData);
5728
- }), u({ show: s }), (n, l) => (y(), B("div", Go));
5727
+ }), u({ show: s }), (n, l) => (y(), F("div", Go));
5729
5728
  }
5730
5729
  }), Jo = Object.freeze({}), Vl = [Co, qt, Vo, Uo, ll, Tl, Il];
5731
5730
  let Qt = {};