vue-2024-ui 0.2.71 → 0.2.72

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 Gt, { dayjs as yl, ElForm as Tt, ElButtonGroup as Vt, ElButton as je, ElPopover as zt, ElIcon as Bt, ElMessage as it, ElMessageBox as Xt, ElDrawer as gl, ElDialog as bl } from "element-plus";
2
- import { ref as ne, useModel as rt, nextTick as ht, onMounted as kt, computed as Pe, resolveComponent as F, openBlock as v, createElementBlock as U, Fragment as re, createElementVNode as K, createBlock as E, createCommentVNode as be, unref as Y, mergeProps as A, withCtx as k, renderSlot as C, renderList as W, createTextVNode as Re, toDisplayString as Me, createSlots as ye, createVNode as oe, normalizeStyle as Ye, normalizeProps as Dt, resolveDynamicComponent as Je, guardReactiveProps as Qt, mergeModels as dt, useSlots as Zt, inject as Ot, withModifiers as mt, Transition as $l, withDirectives as wl, vShow as kl, h as ke, useAttrs as qt, onUnmounted as _l, onBeforeUnmount as Cl, normalizeClass as Jt, watchEffect as xl, onBeforeMount as Ml, watch as Kt, createApp as el } from "vue";
2
+ import { ref as ne, useModel as rt, nextTick as ht, onMounted as kt, computed as Pe, resolveComponent as F, openBlock as v, createElementBlock as U, Fragment as re, createElementVNode as K, createBlock as E, createCommentVNode as $e, unref as Y, mergeProps as A, withCtx as k, renderSlot as C, renderList as W, createTextVNode as Re, toDisplayString as Me, createSlots as ge, createVNode as oe, normalizeStyle as Ye, normalizeProps as Dt, resolveDynamicComponent as Je, guardReactiveProps as Qt, mergeModels as dt, useSlots as Zt, inject as Ot, withModifiers as mt, Transition as $l, withDirectives as wl, vShow as kl, h as ke, useAttrs as qt, onUnmounted as _l, onBeforeUnmount as Cl, normalizeClass as Jt, watchEffect as xl, onBeforeMount as Ml, watch as Kt, createApp as el } from "vue";
3
3
  import { Plus as Sl, ZoomIn as Tl, Delete as tl, Search as Vl, Refresh as ll, More as El, CircleClose as Dl, CircleCheckFilled as Il, CircleCheck as Lt, Minus as Ol, Switch as al, FullScreen as ql, InfoFilled as rl, Download as nl, DocumentCopy as Al, Setting as zl, CirclePlus as Ul, Edit as Ll, View as Rl } from "@element-plus/icons-vue";
4
4
  import ol from "sortablejs";
5
5
  import { Dexie as Yl } from "dexie";
@@ -198,8 +198,8 @@ var il = { exports: {} };
198
198
  return ($ <= 0 ? "+" : "-") + B(p, 2, "0") + ":" + B(S, 2, "0");
199
199
  }, m: function g($, w) {
200
200
  if ($.date() < w.date()) return -g(w, $);
201
- var p = 12 * (w.year() - $.year()) + (w.month() - $.month()), S = $.clone().add(p, o), D = w - S < 0, O = $.clone().add(p + (D ? -1 : 1), o);
202
- return +(-(p + (w - S) / (D ? S - O : O - S)) || 0);
201
+ var p = 12 * (w.year() - $.year()) + (w.month() - $.month()), S = $.clone().add(p, o), I = w - S < 0, O = $.clone().add(p + (I ? -1 : 1), o);
202
+ return +(-(p + (w - S) / (I ? S - O : O - S)) || 0);
203
203
  }, a: function(g) {
204
204
  return g < 0 ? Math.ceil(g) || 0 : Math.floor(g);
205
205
  }, p: function(g) {
@@ -214,8 +214,8 @@ var il = { exports: {} };
214
214
  var S;
215
215
  if (!$) return le;
216
216
  if (typeof $ == "string") {
217
- var D = $.toLowerCase();
218
- se[D] && (S = D), w && (se[D] = w, S = D);
217
+ var I = $.toLowerCase();
218
+ se[I] && (S = I), w && (se[I] = w, S = I);
219
219
  var O = $.split("-");
220
220
  if (!S && O.length > 1) return g(O[0]);
221
221
  } else {
@@ -238,7 +238,7 @@ var il = { exports: {} };
238
238
  var $ = g.prototype;
239
239
  return $.parse = function(w) {
240
240
  this.$d = function(p) {
241
- var S = p.date, D = p.utc;
241
+ var S = p.date, I = p.utc;
242
242
  if (S === null) return /* @__PURE__ */ new Date(NaN);
243
243
  if (N.u(S)) return /* @__PURE__ */ new Date();
244
244
  if (S instanceof Date) return new Date(S);
@@ -246,7 +246,7 @@ var il = { exports: {} };
246
246
  var O = S.match(x);
247
247
  if (O) {
248
248
  var z = O[2] - 1 || 0, ae = (O[7] || "0").substring(0, 3);
249
- return D ? new Date(Date.UTC(O[1], z, O[3] || 1, O[4] || 0, O[5] || 0, O[6] || 0, ae)) : new Date(O[1], z, O[3] || 1, O[4] || 0, O[5] || 0, O[6] || 0, ae);
249
+ return I ? new Date(Date.UTC(O[1], z, O[3] || 1, O[4] || 0, O[5] || 0, O[6] || 0, ae)) : new Date(O[1], z, O[3] || 1, O[4] || 0, O[5] || 0, O[6] || 0, ae);
250
250
  }
251
251
  }
252
252
  return new Date(S);
@@ -272,20 +272,20 @@ var il = { exports: {} };
272
272
  }, $.valueOf = function() {
273
273
  return this.$d.getTime();
274
274
  }, $.startOf = function(w, p) {
275
- var S = this, D = !!N.u(p) || p, O = N.p(w), z = function(qe, xe) {
275
+ var S = this, I = !!N.u(p) || p, O = N.p(w), z = function(qe, xe) {
276
276
  var Ue = N.w(S.$u ? Date.UTC(S.$y, xe, qe) : new Date(S.$y, xe, qe), S);
277
- return D ? Ue : Ue.endOf(f);
277
+ return I ? Ue : Ue.endOf(f);
278
278
  }, ae = function(qe, xe) {
279
- return N.w(S.toDate()[qe].apply(S.toDate("s"), (D ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(xe)), S);
280
- }, de = this.$W, he = this.$M, G = this.$D, X = "set" + (this.$u ? "UTC" : "");
279
+ return N.w(S.toDate()[qe].apply(S.toDate("s"), (I ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(xe)), S);
280
+ }, de = this.$W, ye = this.$M, G = this.$D, X = "set" + (this.$u ? "UTC" : "");
281
281
  switch (O) {
282
282
  case b:
283
- return D ? z(1, 0) : z(31, 11);
283
+ return I ? z(1, 0) : z(31, 11);
284
284
  case o:
285
- return D ? z(1, he) : z(0, he + 1);
285
+ return I ? z(1, ye) : z(0, ye + 1);
286
286
  case i:
287
287
  var De = this.$locale().weekStart || 0, _e = (de < De ? de + 7 : de) - De;
288
- return z(D ? G - _e : G + (6 - _e), he);
288
+ return z(I ? G - _e : G + (6 - _e), ye);
289
289
  case f:
290
290
  case P:
291
291
  return ae(X + "Hours", 0);
@@ -301,8 +301,8 @@ var il = { exports: {} };
301
301
  }, $.endOf = function(w) {
302
302
  return this.startOf(w, !1);
303
303
  }, $.$set = function(w, p) {
304
- var S, D = N.p(w), O = "set" + (this.$u ? "UTC" : ""), z = (S = {}, S[f] = O + "Date", S[P] = O + "Date", S[o] = O + "Month", S[b] = O + "FullYear", S[M] = O + "Hours", S[c] = O + "Minutes", S[h] = O + "Seconds", S[e] = O + "Milliseconds", S)[D], ae = D === f ? this.$D + (p - this.$W) : p;
305
- if (D === o || D === b) {
304
+ var S, I = N.p(w), O = "set" + (this.$u ? "UTC" : ""), z = (S = {}, S[f] = O + "Date", S[P] = O + "Date", S[o] = O + "Month", S[b] = O + "FullYear", S[M] = O + "Hours", S[c] = O + "Minutes", S[h] = O + "Seconds", S[e] = O + "Milliseconds", S)[I], ae = I === f ? this.$D + (p - this.$W) : p;
305
+ if (I === o || I === b) {
306
306
  var de = this.clone().set(P, 1);
307
307
  de.$d[z](ae), de.init(), this.$d = de.set(P, Math.min(this.$D, de.daysInMonth())).$d;
308
308
  } else z && this.$d[z](ae);
@@ -312,11 +312,11 @@ var il = { exports: {} };
312
312
  }, $.get = function(w) {
313
313
  return this[N.p(w)]();
314
314
  }, $.add = function(w, p) {
315
- var S, D = this;
315
+ var S, I = this;
316
316
  w = Number(w);
317
- var O = N.p(p), z = function(he) {
318
- var G = me(D);
319
- return N.w(G.date(G.date() + Math.round(he * w)), D);
317
+ var O = N.p(p), z = function(ye) {
318
+ var G = me(I);
319
+ return N.w(G.date(G.date() + Math.round(ye * w)), I);
320
320
  };
321
321
  if (O === o) return this.set(o, this.$M + w);
322
322
  if (O === b) return this.set(b, this.$y + w);
@@ -329,15 +329,15 @@ var il = { exports: {} };
329
329
  }, $.format = function(w) {
330
330
  var p = this, S = this.$locale();
331
331
  if (!this.isValid()) return S.invalidDate || L;
332
- var D = w || "YYYY-MM-DDTHH:mm:ssZ", O = N.z(this), z = this.$H, ae = this.$m, de = this.$M, he = S.weekdays, G = S.months, X = S.meridiem, De = function(xe, Ue, q, T) {
333
- return xe && (xe[Ue] || xe(p, D)) || q[Ue].slice(0, T);
332
+ var I = w || "YYYY-MM-DDTHH:mm:ssZ", O = N.z(this), z = this.$H, ae = this.$m, de = this.$M, ye = S.weekdays, G = S.months, X = S.meridiem, De = function(xe, Ue, q, T) {
333
+ return xe && (xe[Ue] || xe(p, I)) || q[Ue].slice(0, T);
334
334
  }, _e = function(xe) {
335
335
  return N.s(z % 12 || 12, xe, "0");
336
336
  }, qe = X || function(xe, Ue, q) {
337
337
  var T = xe < 12 ? "AM" : "PM";
338
338
  return q ? T.toLowerCase() : T;
339
339
  };
340
- return D.replace(V, function(xe, Ue) {
340
+ return I.replace(V, function(xe, Ue) {
341
341
  return Ue || function(q) {
342
342
  switch (q) {
343
343
  case "YY":
@@ -359,11 +359,11 @@ var il = { exports: {} };
359
359
  case "d":
360
360
  return String(p.$W);
361
361
  case "dd":
362
- return De(S.weekdaysMin, p.$W, he, 2);
362
+ return De(S.weekdaysMin, p.$W, ye, 2);
363
363
  case "ddd":
364
- return De(S.weekdaysShort, p.$W, he, 3);
364
+ return De(S.weekdaysShort, p.$W, ye, 3);
365
365
  case "dddd":
366
- return he[p.$W];
366
+ return ye[p.$W];
367
367
  case "H":
368
368
  return String(z);
369
369
  case "HH":
@@ -395,46 +395,46 @@ var il = { exports: {} };
395
395
  }, $.utcOffset = function() {
396
396
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
397
397
  }, $.diff = function(w, p, S) {
398
- var D, O = this, z = N.p(p), ae = me(w), de = (ae.utcOffset() - this.utcOffset()) * l, he = this - ae, G = function() {
398
+ var I, O = this, z = N.p(p), ae = me(w), de = (ae.utcOffset() - this.utcOffset()) * l, ye = this - ae, G = function() {
399
399
  return N.m(O, ae);
400
400
  };
401
401
  switch (z) {
402
402
  case b:
403
- D = G() / 12;
403
+ I = G() / 12;
404
404
  break;
405
405
  case o:
406
- D = G();
406
+ I = G();
407
407
  break;
408
408
  case d:
409
- D = G() / 3;
409
+ I = G() / 3;
410
410
  break;
411
411
  case i:
412
- D = (he - de) / 6048e5;
412
+ I = (ye - de) / 6048e5;
413
413
  break;
414
414
  case f:
415
- D = (he - de) / 864e5;
415
+ I = (ye - de) / 864e5;
416
416
  break;
417
417
  case M:
418
- D = he / n;
418
+ I = ye / n;
419
419
  break;
420
420
  case c:
421
- D = he / l;
421
+ I = ye / l;
422
422
  break;
423
423
  case h:
424
- D = he / t;
424
+ I = ye / t;
425
425
  break;
426
426
  default:
427
- D = he;
427
+ I = ye;
428
428
  }
429
- return S ? D : N.a(D);
429
+ return S ? I : N.a(I);
430
430
  }, $.daysInMonth = function() {
431
431
  return this.endOf(o).$D;
432
432
  }, $.$locale = function() {
433
433
  return se[this.$L];
434
434
  }, $.locale = function(w, p) {
435
435
  if (!w) return this.$L;
436
- var S = this.clone(), D = Ee(w, p, !0);
437
- return D && (S.$L = D), S;
436
+ var S = this.clone(), I = Ee(w, p, !0);
437
+ return I && (S.$L = I), S;
438
438
  }, $.clone = function() {
439
439
  return N.w(this.$d, this);
440
440
  }, $.toDate = function() {
@@ -475,9 +475,9 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
475
475
  }),
476
476
  emits: ["update:modelValue"],
477
477
  setup(r) {
478
- var $, w, p, S, D, O, z, ae, de, he, G, X, De, _e, qe, xe, Ue;
478
+ var $, w, p, S, I, O, z, ae, de, ye, G, X, De, _e, qe, xe, Ue;
479
479
  const u = r, t = ne(u.item || {}), l = rt(r, "modelValue"), n = ne(u.ctrlKey), e = ne(u.ctrlType), h = ne(u.model), c = ne([]), M = ne([]), f = ne(!1), i = ne(!1), o = ne(0), d = ne((w = ($ = h == null ? void 0 : h.value) == null ? void 0 : $.form) != null && w["default-placeholder"] ? (S = (p = h == null ? void 0 : h.value) == null ? void 0 : p[n == null ? void 0 : n.value]) == null ? void 0 : S.label : "");
480
- !((D = e.value) != null && D.startsWith("text")) && !((O = e.value) != null && O.startsWith("link")) && !((z = e.value) != null && z.startsWith("tag")) && !((ae = e.value) != null && ae.startsWith("div")) && !((de = e.value) != null && de.startsWith("span")) && !((he = e.value) != null && he.startsWith("avatar")) && ((G = t.value) != null && G.style || (t.value.style = { width: ((De = (X = t.value) == null ? void 0 : X.style) == null ? void 0 : De.width) || "100%" }));
480
+ !((I = e.value) != null && I.startsWith("text")) && !((O = e.value) != null && O.startsWith("link")) && !((z = e.value) != null && z.startsWith("tag")) && !((ae = e.value) != null && ae.startsWith("div")) && !((de = e.value) != null && de.startsWith("span")) && !((ye = e.value) != null && ye.startsWith("avatar")) && ((G = t.value) != null && G.style || (t.value.style = { width: ((De = (X = t.value) == null ? void 0 : X.style) == null ? void 0 : De.width) || "100%" }));
481
481
  const b = ne({ display: "flex", flex: 1 }), P = u.t === "t" ? "center" : "flex-start", L = ((_e = t.value) == null ? void 0 : _e.style) || {};
482
482
  b.value = { ...b.value, justifyContent: P, ...L };
483
483
  const x = () => {
@@ -637,7 +637,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
637
637
  });
638
638
  return (q, T) => {
639
639
  var nt, ee, ue, fe, ct, ft, ot, ut, yt, Q, st, gt;
640
- const Z = F("el-image-viewer"), Ie = F("el-radio"), Ae = F("el-radio-group"), Fe = F("el-radio-button"), tt = F("el-checkbox"), Be = F("el-checkbox-group"), Xe = F("el-checkbox-button"), Qe = F("g-select-option"), Ze = F("el-option"), _t = F("el-select"), Ct = F("el-tree-select"), a = F("el-time-picker"), s = F("el-time-select"), m = F("el-date-picker"), _ = F("el-color-picker"), I = F("el-rate"), H = F("el-slider"), j = F("el-switch"), $e = F("el-transfer"), we = F("el-cascader"), Ve = F("el-icon"), ze = F("el-image"), He = F("el-tooltip"), Ke = F("el-upload"), pt = F("el-autocomplete"), xt = F("el-input-number"), Mt = F("el-input-tag"), J = F("el-input"), ve = F("el-link"), te = F("el-text"), Ne = F("el-avatar"), et = F("el-tag");
640
+ const Z = F("el-image-viewer"), Ie = F("el-radio"), Ae = F("el-radio-group"), Fe = F("el-radio-button"), tt = F("el-checkbox"), Be = F("el-checkbox-group"), Xe = F("el-checkbox-button"), Qe = F("g-select-option"), Ze = F("el-option"), _t = F("el-select"), Ct = F("el-tree-select"), a = F("el-time-picker"), s = F("el-time-select"), m = F("el-date-picker"), _ = F("el-color-picker"), D = F("el-rate"), H = F("el-slider"), j = F("el-switch"), he = F("el-transfer"), we = F("el-cascader"), Ve = F("el-icon"), ze = F("el-image"), He = F("el-tooltip"), Ke = F("el-upload"), pt = F("el-autocomplete"), xt = F("el-input-number"), Mt = F("el-input-tag"), J = F("el-input"), ve = F("el-link"), te = F("el-text"), Ne = F("el-avatar"), et = F("el-tag");
641
641
  return v(), U(re, null, [
642
642
  K("div", null, [
643
643
  f.value ? (v(), E(Z, {
@@ -646,7 +646,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
646
646
  "initial-index": o.value,
647
647
  "url-list": g.value,
648
648
  onClose: T[0] || (T[0] = (y) => f.value = !1)
649
- }, null, 8, ["initial-index", "url-list"])) : be("", !0)
649
+ }, null, 8, ["initial-index", "url-list"])) : $e("", !0)
650
650
  ]),
651
651
  K("div", jl, [
652
652
  e.value == Y(Se).RADIO ? (v(), E(Ae, A({
@@ -741,7 +741,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
741
741
  u.t == "q" && h.value.table.load();
742
742
  }),
743
743
  disabled: h.value[n.value].disabled
744
- }, le.value), ye({
744
+ }, le.value), ge({
745
745
  default: k(() => {
746
746
  var y;
747
747
  return [
@@ -770,7 +770,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
770
770
  columns: (lt = t.value) == null ? void 0 : lt.columns,
771
771
  data: ce,
772
772
  t: u.t
773
- }, ye({ _: 2 }, [
773
+ }, ge({ _: 2 }, [
774
774
  W(q.$slots, (bt, At) => ({
775
775
  name: At,
776
776
  fn: k((St) => [
@@ -783,7 +783,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
783
783
  }))
784
784
  ]), 1032, ["columns", "data", "t"])
785
785
  ];
786
- }, !0) : be("", !0)
786
+ }, !0) : $e("", !0)
787
787
  ];
788
788
  }),
789
789
  _: 2
@@ -809,7 +809,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
809
809
  columns: (bt = t.value) == null ? void 0 : bt.columns,
810
810
  data: pe,
811
811
  t: u.t
812
- }, ye({ _: 2 }, [
812
+ }, ge({ _: 2 }, [
813
813
  W(q.$slots, (At, St) => ({
814
814
  name: St,
815
815
  fn: k((hl) => [
@@ -822,13 +822,13 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
822
822
  }))
823
823
  ]), 1032, ["columns", "data", "t"])
824
824
  ];
825
- }, !0) : be("", !0)
825
+ }, !0) : $e("", !0)
826
826
  ];
827
827
  }),
828
828
  _: 2
829
- }, 1040, ["onClick"]))), 128)) : be("", !0)
829
+ }, 1040, ["onClick"]))), 128)) : $e("", !0)
830
830
  ], 64))), 128))
831
- ], !0) : be("", !0)
831
+ ], !0) : $e("", !0)
832
832
  ];
833
833
  }),
834
834
  _: 2
@@ -842,7 +842,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
842
842
  columns: (y = t.value) == null ? void 0 : y.columns,
843
843
  title: !0,
844
844
  t: u.t
845
- }, ye({ _: 2 }, [
845
+ }, ge({ _: 2 }, [
846
846
  W(q.$slots, (ce, pe) => ({
847
847
  name: pe,
848
848
  fn: k((lt) => [
@@ -866,7 +866,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
866
866
  "onUpdate:modelValue": T[8] || (T[8] = (y) => l.value = y),
867
867
  placeholder: d.value,
868
868
  disabled: h.value[n.value].disabled
869
- }, t.value, { data: c.value }), ye({ _: 2 }, [
869
+ }, t.value, { data: c.value }), ge({ _: 2 }, [
870
870
  W(x(), (y) => ({
871
871
  name: y,
872
872
  fn: k((ce) => [
@@ -896,7 +896,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
896
896
  placeholder: d.value,
897
897
  "value-format": ie(e.value),
898
898
  disabled: h.value[n.value].disabled
899
- }, t.value), ye({ _: 2 }, [
899
+ }, t.value), ge({ _: 2 }, [
900
900
  W(x(), (y) => ({
901
901
  name: y,
902
902
  fn: k((ce) => [
@@ -907,7 +907,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
907
907
  key: 10,
908
908
  modelValue: l.value,
909
909
  "onUpdate:modelValue": T[12] || (T[12] = (y) => l.value = y)
910
- }, t.value), null, 16, ["modelValue"])) : e.value == Y(Se).RATE ? (v(), E(I, A({
910
+ }, t.value), null, 16, ["modelValue"])) : e.value == Y(Se).RATE ? (v(), E(D, A({
911
911
  key: 11,
912
912
  modelValue: l.value,
913
913
  "onUpdate:modelValue": T[13] || (T[13] = (y) => l.value = y),
@@ -923,18 +923,18 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
923
923
  "onUpdate:modelValue": T[15] || (T[15] = (y) => l.value = y),
924
924
  inlinePrompt: !0,
925
925
  disabled: h.value[n.value].disabled
926
- }, t.value), ye({ _: 2 }, [
926
+ }, t.value), ge({ _: 2 }, [
927
927
  W(x(), (y) => ({
928
928
  name: y,
929
929
  fn: k((ce) => [
930
930
  C(q.$slots, `${u.t}-${n.value}-${y}`, { data: ce }, void 0, !0)
931
931
  ])
932
932
  }))
933
- ]), 1040, ["modelValue", "disabled"])) : e.value == Y(Se).TRANSFER ? (v(), E($e, A({
933
+ ]), 1040, ["modelValue", "disabled"])) : e.value == Y(Se).TRANSFER ? (v(), E(he, A({
934
934
  key: 14,
935
935
  modelValue: l.value,
936
936
  "onUpdate:modelValue": T[16] || (T[16] = (y) => l.value = y)
937
- }, t.value), ye({ _: 2 }, [
937
+ }, t.value), ge({ _: 2 }, [
938
938
  W(x(), (y) => ({
939
939
  name: y,
940
940
  fn: k((ce) => [
@@ -945,7 +945,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
945
945
  key: 15,
946
946
  modelValue: l.value,
947
947
  "onUpdate:modelValue": T[17] || (T[17] = (y) => l.value = y)
948
- }, t.value, { options: M.value }), ye({ _: 2 }, [
948
+ }, t.value, { options: M.value }), ge({ _: 2 }, [
949
949
  W(x(), (y) => ({
950
950
  name: y,
951
951
  fn: k((ce) => [
@@ -962,7 +962,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
962
962
  }, { ...V.value, ...t.value }, {
963
963
  ref_key: "uploadRef",
964
964
  ref: Te
965
- }), ye({
965
+ }), ge({
966
966
  default: k(() => {
967
967
  var y, ce;
968
968
  return [
@@ -980,7 +980,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
980
980
  oe(ze, A({
981
981
  style: { width: "var(--up-width)", height: "var(--up-height)" },
982
982
  src: l.value
983
- }, { fit: "cover", lazy: !0, ...(ce = t.value) == null ? void 0 : ce.img }), ye({ _: 2 }, [
983
+ }, { fit: "cover", lazy: !0, ...(ce = t.value) == null ? void 0 : ce.img }), ge({ _: 2 }, [
984
984
  W(x(), (pe, lt) => ({
985
985
  name: pe,
986
986
  fn: k((bt) => [
@@ -1008,7 +1008,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
1008
1008
  })
1009
1009
  ]),
1010
1010
  _: 1
1011
- })) : be("", !0),
1011
+ })) : $e("", !0),
1012
1012
  V.value.showDel && i.value ? (v(), E(He, {
1013
1013
  key: 1,
1014
1014
  content: "删除",
@@ -1022,7 +1022,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
1022
1022
  })
1023
1023
  ]),
1024
1024
  _: 1
1025
- })) : be("", !0)
1025
+ })) : $e("", !0)
1026
1026
  ], 32)
1027
1027
  ]))
1028
1028
  ];
@@ -1039,7 +1039,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
1039
1039
  key: 17,
1040
1040
  modelValue: l.value,
1041
1041
  "onUpdate:modelValue": T[22] || (T[22] = (y) => l.value = y)
1042
- }, t.value, { placeholder: d.value }), ye({ _: 2 }, [
1042
+ }, t.value, { placeholder: d.value }), ge({ _: 2 }, [
1043
1043
  W(x(), (y, ce) => ({
1044
1044
  name: y,
1045
1045
  fn: k((pe) => [
@@ -1052,7 +1052,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
1052
1052
  "onUpdate:modelValue": T[23] || (T[23] = (y) => l.value = y),
1053
1053
  placeholder: d.value,
1054
1054
  disabled: h.value[n.value].disabled
1055
- }, t.value), ye({ _: 2 }, [
1055
+ }, t.value), ge({ _: 2 }, [
1056
1056
  W(x(), (y, ce) => ({
1057
1057
  name: y,
1058
1058
  fn: k((pe) => [
@@ -1069,7 +1069,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
1069
1069
  placeholder: d.value,
1070
1070
  disabled: h.value[n.value].disabled,
1071
1071
  draggable: ""
1072
- }, t.value), ye({ _: 2 }, [
1072
+ }, t.value), ge({ _: 2 }, [
1073
1073
  (ee = t.value) != null && ee.suffix ? {
1074
1074
  name: "suffix",
1075
1075
  fn: k(() => {
@@ -1114,7 +1114,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
1114
1114
  type: "number",
1115
1115
  onInput: T[26] || (T[26] = (y) => Ge(y, 2)),
1116
1116
  maxlength: ((fe = t.value) == null ? void 0 : fe.max) || 25
1117
- }, { ...t.value, type: e.value }), ye({
1117
+ }, { ...t.value, type: e.value }), ge({
1118
1118
  suffix: k(() => [
1119
1119
  K("div", {
1120
1120
  title: Y(Ft)(l.value),
@@ -1208,7 +1208,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
1208
1208
  u.t == "q" && h.value.table.load();
1209
1209
  }),
1210
1210
  disabled: h.value[n.value].disabled
1211
- }, { ...Y(We)(t.value, (y) => !["suffix", "prefix", "append", "prepend"].includes(y)), type: e.value }), ye({ _: 2 }, [
1211
+ }, { ...Y(We)(t.value, (y) => !["suffix", "prefix", "append", "prepend"].includes(y)), type: e.value }), ge({ _: 2 }, [
1212
1212
  (yt = t.value) != null && yt.suffix ? {
1213
1213
  name: "suffix",
1214
1214
  fn: k(() => {
@@ -1340,7 +1340,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
1340
1340
  model: u.value,
1341
1341
  t: "q",
1342
1342
  formInfo: l.value
1343
- }, ye({ _: 2 }, [
1343
+ }, ge({ _: 2 }, [
1344
1344
  W(Object.keys(M.$slots), (b) => ({
1345
1345
  name: b,
1346
1346
  fn: k((P) => [
@@ -1386,7 +1386,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
1386
1386
  style: { display: "flex", flex: 1, "flex-wrap": "wrap" },
1387
1387
  container: {
1388
1388
  mode: "row",
1389
- inline: !1,
1389
+ inline: !0,
1390
1390
  style: { paddingBottom: "0px", paddingTop: "18px", boxSizing: "border-box" }
1391
1391
  },
1392
1392
  more: {
@@ -1524,10 +1524,9 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
1524
1524
  display: "flex",
1525
1525
  flexDirection: t.value.query.container.mode === "row" ? "row" : "column"
1526
1526
  })), L = () => {
1527
- alert("查询设置,正在开发中......");
1528
1527
  };
1529
1528
  return (x, V) => {
1530
- var ie, le, se, Ce, Oe, Ee, me, N, Te, Ge, g, $, w, p, S, D, O;
1529
+ var ie, le, se, Ce, Oe, Ee, me, N, Te, Ge, g, $, w, p, S, I, O;
1531
1530
  const R = F("el-form-item"), B = F("el-drawer");
1532
1531
  return v(), U(re, null, [
1533
1532
  K("div", {
@@ -1545,10 +1544,10 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
1545
1544
  (v(), E(Je(o({ slots: x.$slots }, void 0)))),
1546
1545
  ((ae = (z = t.value.query) == null ? void 0 : z.container) == null ? void 0 : ae.inline) === !0 ? (v(), E(R, { key: 0 }, {
1547
1546
  default: k(() => {
1548
- var de, he, G, X, De;
1547
+ var de, ye, G, X, De;
1549
1548
  return [
1550
1549
  K("div", {
1551
- style: Ye((he = (de = t.value.query) == null ? void 0 : de.btns) == null ? void 0 : he.style)
1550
+ style: Ye((ye = (de = t.value.query) == null ? void 0 : de.btns) == null ? void 0 : ye.style)
1552
1551
  }, [
1553
1552
  t.value.query.group ? (v(), E(Y(Vt), { key: 0 }, {
1554
1553
  default: k(() => [
@@ -1575,7 +1574,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
1575
1574
  ];
1576
1575
  }),
1577
1576
  _: 3
1578
- })) : be("", !0)
1577
+ })) : $e("", !0)
1579
1578
  ];
1580
1579
  }),
1581
1580
  _: 3
@@ -1605,7 +1604,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
1605
1604
  ], !0)), 256)),
1606
1605
  C(x.$slots, "q-btns", {}, void 0, !0)
1607
1606
  ], 64))
1608
- ], 4)) : be("", !0)
1607
+ ], 4)) : $e("", !0)
1609
1608
  ], 36),
1610
1609
  e.value && !(($ = (g = (Ge = t.value) == null ? void 0 : Ge.query) == null ? void 0 : g.more) != null && $.hidden) && t.value.query.more.mode == 2 ? (v(), E(B, A({
1611
1610
  key: 0,
@@ -1613,7 +1612,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
1613
1612
  "onUpdate:modelValue": V[6] || (V[6] = (z) => e.value = z),
1614
1613
  title: "更多查询",
1615
1614
  "show-close": !1
1616
- }, t.value.query.more.dialog), ye({
1615
+ }, t.value.query.more.dialog), ge({
1617
1616
  default: k(() => [
1618
1617
  oe(Y(Tt), A({
1619
1618
  onSubmit: V[3] || (V[3] = mt(() => {
@@ -1626,10 +1625,10 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
1626
1625
  info: h.value,
1627
1626
  "onUpdate:info": V[2] || (V[2] = (z) => h.value = z),
1628
1627
  more: !0
1629
- }, ye({ _: 2 }, [
1628
+ }, ge({ _: 2 }, [
1630
1629
  W(x.$slots, (z, ae, de) => ({
1631
1630
  name: ae,
1632
- fn: k((he) => [
1631
+ fn: k((ye) => [
1633
1632
  C(x.$slots, ae, { model: t.value }, void 0, !0)
1634
1633
  ])
1635
1634
  }))
@@ -1640,7 +1639,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
1640
1639
  ]),
1641
1640
  _: 2
1642
1641
  }, [
1643
- (O = (D = (S = (p = (w = t.value) == null ? void 0 : w.query) == null ? void 0 : p.more) == null ? void 0 : S.dialog) == null ? void 0 : D.footer) != null && O.hidden ? void 0 : {
1642
+ (O = (I = (S = (p = (w = t.value) == null ? void 0 : w.query) == null ? void 0 : p.more) == null ? void 0 : S.dialog) == null ? void 0 : I.footer) != null && O.hidden ? void 0 : {
1644
1643
  name: "footer",
1645
1644
  fn: k(() => [
1646
1645
  K("div", Dt(Qt(t.value.query.more.dialog.footer)), [
@@ -1664,7 +1663,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
1664
1663
  ]),
1665
1664
  key: "0"
1666
1665
  }
1667
- ]), 1040, ["modelValue"])) : be("", !0),
1666
+ ]), 1040, ["modelValue"])) : $e("", !0),
1668
1667
  oe($l, {
1669
1668
  duration: 300,
1670
1669
  name: "nested",
@@ -1679,16 +1678,16 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
1679
1678
  key: 0,
1680
1679
  onSubmit: V[7] || (V[7] = mt(() => {
1681
1680
  }, ["prevent"]))
1682
- }, Y(We)(t.value.query, (he) => !["query", "more", "reset"].includes(he))), {
1681
+ }, Y(We)(t.value.query, (ye) => !["query", "more", "reset"].includes(ye))), {
1683
1682
  default: k(() => [
1684
1683
  (v(), E(Je(o({ slots: x.$slots }, !0))))
1685
1684
  ]),
1686
1685
  _: 1
1687
1686
  }, 16)), [
1688
1687
  [kl, e.value]
1689
- ]) : be("", !0)
1688
+ ]) : $e("", !0)
1690
1689
  ])
1691
- ])) : be("", !0)
1690
+ ])) : $e("", !0)
1692
1691
  ];
1693
1692
  }),
1694
1693
  _: 1
@@ -1696,7 +1695,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
1696
1695
  ], 64);
1697
1696
  };
1698
1697
  }
1699
- }, na = /* @__PURE__ */ at(ra, [["__scopeId", "data-v-f573157f"]]), dl = {
1698
+ }, na = /* @__PURE__ */ at(ra, [["__scopeId", "data-v-eaca2240"]]), dl = {
1700
1699
  inline: !0,
1701
1700
  type: "hidden",
1702
1701
  "scroll-to-error": !0,
@@ -1783,8 +1782,8 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
1783
1782
  let p = 5;
1784
1783
  for (; p > 0; ) {
1785
1784
  if (await ht(), e.value) {
1786
- e.value.validate((S, D) => {
1787
- S ? n("submit", g, $, w) : console.error("表单验证不通过!", D);
1785
+ e.value.validate((S, I) => {
1786
+ S ? n("submit", g, $, w) : console.error("表单验证不通过!", I);
1788
1787
  });
1789
1788
  return;
1790
1789
  }
@@ -1847,51 +1846,51 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
1847
1846
  message: `${p.label}不能为空!`,
1848
1847
  trigger: "blur"
1849
1848
  }), p.max !== void 0 && p.max !== null && p.max !== "" && (p.min === void 0 || p.min === null || p.min === "") && $.push({
1850
- validator: (S, D, O) => {
1851
- if (D == null || D === "") return O();
1852
- p.type !== "number" && p.type !== "input-number" ? ((D == null ? void 0 : D.toString()) || "").length > Number(p.max) ? O(
1849
+ validator: (S, I, O) => {
1850
+ if (I == null || I === "") return O();
1851
+ p.type !== "number" && p.type !== "input-number" ? ((I == null ? void 0 : I.toString()) || "").length > Number(p.max) ? O(
1853
1852
  new Error(`${p.label}长度不能超过${p.max}个字符!`)
1854
- ) : O() : Number(D) > Number(p.max) ? O(new Error(`${p.label}不能大于${p.max}!`)) : O();
1853
+ ) : O() : Number(I) > Number(p.max) ? O(new Error(`${p.label}不能大于${p.max}!`)) : O();
1855
1854
  }
1856
1855
  }), p.min !== void 0 && p.min !== null && p.min !== "" && (p.max === void 0 || p.max === null || p.max === "") && $.push({
1857
- validator: (S, D, O) => {
1858
- if (D == null || D === "") return O();
1856
+ validator: (S, I, O) => {
1857
+ if (I == null || I === "") return O();
1859
1858
  p.type !== "number" && p.type !== "input-number" ? Number(p.min) < 1 ? O(
1860
1859
  new Error(
1861
1860
  `${p.label}长度最小值${p.min}设置错误!`
1862
1861
  )
1863
- ) : D.toString().length < Number(p.min) ? O(
1862
+ ) : I.toString().length < Number(p.min) ? O(
1864
1863
  new Error(
1865
1864
  `${p.label}长度不能少于${p.min}个字符!`
1866
1865
  )
1867
- ) : O() : Number(D) < Number(p.min) ? O(new Error(`${p.label}不能小于${p.min}!`)) : O();
1866
+ ) : O() : Number(I) < Number(p.min) ? O(new Error(`${p.label}不能小于${p.min}!`)) : O();
1868
1867
  }
1869
1868
  }), p.min !== void 0 && p.min !== null && p.min !== "" && p.max !== void 0 && p.max !== null && p.max !== "" && $.push({
1870
- validator: (S, D, O) => {
1871
- if (D == null || D === "") return O();
1869
+ validator: (S, I, O) => {
1870
+ if (I == null || I === "") return O();
1872
1871
  const z = Number(p.min), ae = Number(p.max);
1873
1872
  p.type !== "number" && p.type !== "input-number" ? Number(p.min) < 1 ? O(
1874
1873
  new Error(
1875
1874
  `${p.label}长度最小值${p.min}设置错误!`
1876
1875
  )
1877
- ) : D.toString().length < z || D.toString().length > ae ? O(
1876
+ ) : I.toString().length < z || I.toString().length > ae ? O(
1878
1877
  new Error(
1879
1878
  `${p.label}长度必须在${z}-${ae}个字符之间!`
1880
1879
  )
1881
- ) : O() : Number(D) < z || D > ae ? O(new Error(`${p.label}必须在${z}-${ae}之间!`)) : O();
1880
+ ) : O() : Number(I) < z || I > ae ? O(new Error(`${p.label}必须在${z}-${ae}之间!`)) : O();
1882
1881
  }
1883
1882
  }), p.type == "email" && $.push({ type: "email", message: "不是一个正确的邮箱地址!" }), p.type == "url" && $.push({ type: "url", message: "不是一个合正确的URL!" }), p.pattern && $.push({
1884
1883
  pattern: p == null ? void 0 : p.pattern,
1885
1884
  message: (p == null ? void 0 : p.message) || "格式不正确!"
1886
1885
  }), p.validate && $.push({
1887
- validator: (S, D, O) => p.validate(S, D, O)
1886
+ validator: (S, I, O) => p.validate(S, I, O)
1888
1887
  });
1889
1888
  }
1890
1889
  return $;
1891
1890
  }, L = (g, $ = !1) => {
1892
- var S, D, O, z, ae;
1891
+ var S, I, O, z, ae;
1893
1892
  const w = $ ? g : g == null ? void 0 : g.item, p = typeof (w == null ? void 0 : w.editor) == "function" ? w.editor(c.value, (S = l.value.form) == null ? void 0 : S.modalState) : (w == null ? void 0 : w.editor) || {};
1894
- if (((D = l.value.form) == null ? void 0 : D.modalState) === "edit") {
1893
+ if (((I = l.value.form) == null ? void 0 : I.modalState) === "edit") {
1895
1894
  const de = typeof (w == null ? void 0 : w.editor) == "object" ? (O = w.editor) == null ? void 0 : O.ep : typeof (w == null ? void 0 : w.editor) == "function" ? p == null ? void 0 : p.ep : {};
1896
1895
  return { ...p, ...de };
1897
1896
  }
@@ -1901,9 +1900,9 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
1901
1900
  }
1902
1901
  return p;
1903
1902
  }, x = (g) => {
1904
- var w, p, S, D, O;
1903
+ var w, p, S, I, O;
1905
1904
  const $ = typeof g.editor == "function" ? g.editor(c.value, (w = l.value.form) == null ? void 0 : w.modalState) : g.editor;
1906
- return ((p = l.value.form) == null ? void 0 : p.modalState) === "edit" ? ((S = $ == null ? void 0 : $.ep) == null ? void 0 : S.type) ?? ($ == null ? void 0 : $.type) ?? g.type : ((D = l.value.form) == null ? void 0 : D.modalState) === "add" ? ((O = $ == null ? void 0 : $.ap) == null ? void 0 : O.type) ?? ($ == null ? void 0 : $.type) ?? g.type : ($ == null ? void 0 : $.type) ?? g.type;
1905
+ return ((p = l.value.form) == null ? void 0 : p.modalState) === "edit" ? ((S = $ == null ? void 0 : $.ep) == null ? void 0 : S.type) ?? ($ == null ? void 0 : $.type) ?? g.type : ((I = l.value.form) == null ? void 0 : I.modalState) === "add" ? ((O = $ == null ? void 0 : $.ap) == null ? void 0 : O.type) ?? ($ == null ? void 0 : $.type) ?? g.type : ($ == null ? void 0 : $.type) ?? g.type;
1907
1906
  }, V = (g) => g === "left" ? "flex-start" : g === "right" ? "flex-end" : g === "center" ? "center" : "flex-end";
1908
1907
  kt(() => {
1909
1908
  R(), f != null && f.editForm ? c.value = f.editForm : c.value = ie.value;
@@ -2005,8 +2004,8 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
2005
2004
  reset: o,
2006
2005
  formData: c
2007
2006
  }), (g, $) => {
2008
- var ae, de, he;
2009
- const w = F("el-form-item"), p = F("el-col"), S = F("el-tab-pane"), D = F("el-tabs"), O = F("el-form"), z = F("el-button");
2007
+ var ae, de, ye;
2008
+ const w = F("el-form-item"), p = F("el-col"), S = F("el-tab-pane"), I = F("el-tabs"), O = F("el-form"), z = F("el-button");
2010
2009
  return v(), U("div", oa, [
2011
2010
  oe(O, A(
2012
2011
  {
@@ -2027,7 +2026,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
2027
2026
  ), {
2028
2027
  default: k(() => [
2029
2028
  le.value.length > 0 ? C(g.$slots, "default", { key: 0 }, () => [
2030
- oe(D, A({
2029
+ oe(I, A({
2031
2030
  class: "demo-tabs",
2032
2031
  modelValue: le.value[0].groupName,
2033
2032
  "onUpdate:modelValue": $[0] || ($[0] = (G) => le.value[0].groupName = G),
@@ -2071,7 +2070,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
2071
2070
  class: "g-ctrl-container",
2072
2071
  t: "f",
2073
2072
  formInfo: c.value
2074
- }, ye({ _: 2 }, [
2073
+ }, ge({ _: 2 }, [
2075
2074
  W(g.$slots, (xe, Ue) => ({
2076
2075
  name: Ue,
2077
2076
  fn: k((q) => [
@@ -2137,7 +2136,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
2137
2136
  class: "g-ctrl-container",
2138
2137
  t: "f",
2139
2138
  formInfo: c.value
2140
- }, ye({ _: 2 }, [
2139
+ }, ge({ _: 2 }, [
2141
2140
  W(g.$slots, (_e, qe) => ({
2142
2141
  name: qe,
2143
2142
  fn: k((xe) => [
@@ -2161,7 +2160,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
2161
2160
  ]),
2162
2161
  _: 3
2163
2162
  }, 16, ["model"]),
2164
- (he = (de = (ae = l.value) == null ? void 0 : ae.form) == null ? void 0 : de.footer) != null && he.hidden ? be("", !0) : C(g.$slots, "f-footer", { key: 0 }, () => [
2163
+ (ye = (de = (ae = l.value) == null ? void 0 : ae.form) == null ? void 0 : de.footer) != null && ye.hidden ? $e("", !0) : C(g.$slots, "f-footer", { key: 0 }, () => [
2165
2164
  K("div", {
2166
2165
  style: Ye({ justifyContent: V(l.value.form.footer.align), ...l.value.form.footer.style })
2167
2166
  }, [
@@ -2171,7 +2170,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
2171
2170
  C(g.$slots, G.name, {}, () => {
2172
2171
  var X;
2173
2172
  return [
2174
- (X = G == null ? void 0 : G.info) != null && X.hidden ? be("", !0) : (v(), E(z, A({
2173
+ (X = G == null ? void 0 : G.info) != null && X.hidden ? $e("", !0) : (v(), E(z, A({
2175
2174
  key: 0,
2176
2175
  ref_for: !0
2177
2176
  }, G.info, {
@@ -2299,7 +2298,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
2299
2298
  onClose: P,
2300
2299
  onClosed: L,
2301
2300
  draggable: ""
2302
- }, c.value), ye({
2301
+ }, c.value), ge({
2303
2302
  header: k(({ titleClass: le, closeIconClass: se }) => [
2304
2303
  C(B.$slots, "header", {
2305
2304
  titleClass: le,
@@ -2323,7 +2322,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
2323
2322
  (v(), E(Je(r.minIcon)))
2324
2323
  ]),
2325
2324
  _: 1
2326
- })) : be("", !0),
2325
+ })) : $e("", !0),
2327
2326
  r.maximize ? (v(), E(Y(Bt), {
2328
2327
  key: 1,
2329
2328
  class: "btn-icon",
@@ -2333,7 +2332,7 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
2333
2332
  (v(), E(Je(i.value ? r.resizeIcon : r.maxIcon)))
2334
2333
  ]),
2335
2334
  _: 1
2336
- })) : be("", !0)
2335
+ })) : $e("", !0)
2337
2336
  ])
2338
2337
  ], 36)
2339
2338
  ], !0)
@@ -2475,8 +2474,8 @@ const Ut = /* @__PURE__ */ sl(Hl), at = (r, u) => {
2475
2474
  ]);
2476
2475
  };
2477
2476
  }
2478
- }, ba = /* @__PURE__ */ at(ga, [["__scopeId", "data-v-13575747"]]), $a = "vue-gyc-ui", wa = 1, ge = new Yl($a);
2479
- ge.version(wa).stores({
2477
+ }, ba = /* @__PURE__ */ at(ga, [["__scopeId", "data-v-13575747"]]), $a = "vue-gyc-ui", wa = 1, be = new Yl($a);
2478
+ be.version(wa).stores({
2480
2479
  // 记录表格项设置信息
2481
2480
  tableWidths: "++id, [page+key], page, key,width",
2482
2481
  // 记录表格分页条数
@@ -2492,8 +2491,8 @@ const vt = (r, u) => {
2492
2491
  };
2493
2492
  async function Et(r, u, t) {
2494
2493
  try {
2495
- const l = await ge.tableColsState.where({ page: r }).first();
2496
- l ? t === "add" ? l.keys.includes(u) || (l.keys.push(u), await ge.tableColsState.put(l)) : t === "del" ? (l.keys = l.keys.filter((n) => n !== u), await ge.tableColsState.put(l)) : t === "delAll" ? (l.keys = u, await ge.tableColsState.put(l)) : t === "selectAll" && await ge.tableColsState.where({ page: r }).delete() : t === "add" ? await ge.tableColsState.add({ page: r, keys: [u] }) : t === "delAll" && await ge.tableColsState.add({ page: r, keys: u });
2494
+ const l = await be.tableColsState.where({ page: r }).first();
2495
+ l ? t === "add" ? l.keys.includes(u) || (l.keys.push(u), await be.tableColsState.put(l)) : t === "del" ? (l.keys = l.keys.filter((n) => n !== u), await be.tableColsState.put(l)) : t === "delAll" ? (l.keys = u, await be.tableColsState.put(l)) : t === "selectAll" && await be.tableColsState.where({ page: r }).delete() : t === "add" ? await be.tableColsState.add({ page: r, keys: [u] }) : t === "delAll" && await be.tableColsState.add({ page: r, keys: u });
2497
2496
  } catch (l) {
2498
2497
  throw console.error(`处理表格列状态时出错 (page: ${r}, key: ${u}, state: ${t}):`, l), l;
2499
2498
  }
@@ -2501,8 +2500,8 @@ async function Et(r, u, t) {
2501
2500
  async function ka(r, u, t) {
2502
2501
  vt(r);
2503
2502
  try {
2504
- const l = await ge.tableWidths.where({ page: r, key: u }).first();
2505
- return l ? (await ge.tableWidths.put({ ...l, width: t }), "update success") : (await ge.tableWidths.add({ page: r, key: u, width: t }), "add success");
2503
+ const l = await be.tableWidths.where({ page: r, key: u }).first();
2504
+ return l ? (await be.tableWidths.put({ ...l, width: t }), "update success") : (await be.tableWidths.add({ page: r, key: u, width: t }), "add success");
2506
2505
  } catch (l) {
2507
2506
  throw console.error(`保存表格项设置信息时出错 (page: ${r}, key: ${u}):`, l), l;
2508
2507
  }
@@ -2510,7 +2509,7 @@ async function ka(r, u, t) {
2510
2509
  async function _a(r) {
2511
2510
  vt(r);
2512
2511
  try {
2513
- return await ge.tableWidths.where({ page: r }).toArray();
2512
+ return await be.tableWidths.where({ page: r }).toArray();
2514
2513
  } catch (u) {
2515
2514
  throw console.error(`获取表格项设置信息时出错 (page: ${r}):`, u), u;
2516
2515
  }
@@ -2518,7 +2517,7 @@ async function _a(r) {
2518
2517
  async function Ca(r) {
2519
2518
  vt(r);
2520
2519
  try {
2521
- const u = await ge.tableColsState.where({ page: r }).toArray();
2520
+ const u = await be.tableColsState.where({ page: r }).toArray();
2522
2521
  return !u || u.length === 0 ? [] : u[0].keys;
2523
2522
  } catch (u) {
2524
2523
  throw console.error(`获取表格列状态时出错 (page: ${r}):`, u), u;
@@ -2527,12 +2526,12 @@ async function Ca(r) {
2527
2526
  async function xa(r) {
2528
2527
  vt(r);
2529
2528
  try {
2530
- return await ge.transaction("rw", ge.tableWidths, ge.pageInfo, ge.sorts, ge.tableColsState, async () => {
2529
+ return await be.transaction("rw", be.tableWidths, be.pageInfo, be.sorts, be.tableColsState, async () => {
2531
2530
  await Promise.all([
2532
- ge.tableWidths.where({ page: r }).delete(),
2533
- ge.pageInfo.where({ page: r }).delete(),
2534
- ge.sorts.where({ page: r }).delete(),
2535
- ge.tableColsState.where({ page: r }).delete()
2531
+ be.tableWidths.where({ page: r }).delete(),
2532
+ be.pageInfo.where({ page: r }).delete(),
2533
+ be.sorts.where({ page: r }).delete(),
2534
+ be.tableColsState.where({ page: r }).delete()
2536
2535
  ]);
2537
2536
  });
2538
2537
  } catch (u) {
@@ -2542,8 +2541,8 @@ async function xa(r) {
2542
2541
  async function Ma({ page: r, size: u }) {
2543
2542
  vt(r);
2544
2543
  try {
2545
- const t = await ge.pageInfo.where({ page: r }).first();
2546
- return t ? (await ge.pageInfo.put({ ...t, size: u }), "update success") : (await ge.pageInfo.add({ page: r, size: u }), "add success");
2544
+ const t = await be.pageInfo.where({ page: r }).first();
2545
+ return t ? (await be.pageInfo.put({ ...t, size: u }), "update success") : (await be.pageInfo.add({ page: r, size: u }), "add success");
2547
2546
  } catch (t) {
2548
2547
  throw console.error(`保存分页条数时出错 (page: ${r}):`, t), t;
2549
2548
  }
@@ -2551,8 +2550,8 @@ async function Ma({ page: r, size: u }) {
2551
2550
  async function Sa(r) {
2552
2551
  vt(r);
2553
2552
  try {
2554
- const u = await ge.pageInfo.where({ page: r }).first();
2555
- return (u == null ? void 0 : u.size) || 20;
2553
+ const u = await be.pageInfo.where({ page: r }).first();
2554
+ return u == null ? void 0 : u.size;
2556
2555
  } catch (u) {
2557
2556
  throw console.error(`获取分页条数时出错 (page: ${r}):`, u), u;
2558
2557
  }
@@ -2560,8 +2559,8 @@ async function Sa(r) {
2560
2559
  async function Ta(r, u) {
2561
2560
  vt(r);
2562
2561
  try {
2563
- const t = await ge.sorts.where({ page: r }).first();
2564
- return t ? (await ge.sorts.put({ ...t, keys: u }), "update success") : (await ge.sorts.add({ page: r, keys: u }), "add success");
2562
+ const t = await be.sorts.where({ page: r }).first();
2563
+ return t ? (await be.sorts.put({ ...t, keys: u }), "update success") : (await be.sorts.add({ page: r, keys: u }), "add success");
2565
2564
  } catch (t) {
2566
2565
  throw console.error(`保存表格字段顺序时出错 (page: ${r}):`, t), t;
2567
2566
  }
@@ -2569,7 +2568,7 @@ async function Ta(r, u) {
2569
2568
  async function Va(r) {
2570
2569
  vt(r);
2571
2570
  try {
2572
- const u = await ge.sorts.where({ page: r }).first();
2571
+ const u = await be.sorts.where({ page: r }).first();
2573
2572
  return (u == null ? void 0 : u.keys) || [];
2574
2573
  } catch (u) {
2575
2574
  throw console.error(`获取表格字段顺序时出错 (page: ${r}):`, u), u;
@@ -2820,7 +2819,7 @@ const Ea = { style: { padding: "15px", "box-sizing": "border-box" } }, Da = { st
2820
2819
  class: "g-detail-container",
2821
2820
  style: Ye(((P = n.value) == null ? void 0 : P.style) || {})
2822
2821
  }, [
2823
- oe(b, A({ border: "" }, Y(We)(n.value, (L) => !["container"].includes(L))), ye({
2822
+ oe(b, A({ border: "" }, Y(We)(n.value, (L) => !["container"].includes(L))), ge({
2824
2823
  default: k(() => [
2825
2824
  (v(!0), U(re, null, W(f.value, ([L, x]) => {
2826
2825
  var V, R;
@@ -3041,8 +3040,8 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3041
3040
  var _;
3042
3041
  let m;
3043
3042
  if (typeof s.search == "function") {
3044
- const I = s.search(c.value);
3045
- m = (I == null ? void 0 : I.value) ?? s.value;
3043
+ const D = s.search(c.value);
3044
+ m = (D == null ? void 0 : D.value) ?? s.value;
3046
3045
  } else
3047
3046
  m = ((_ = s.search) == null ? void 0 : _.value) ?? s.value;
3048
3047
  return [a, m];
@@ -3087,42 +3086,43 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3087
3086
  stripe: !0,
3088
3087
  type: "hidden",
3089
3088
  load: async () => {
3090
- e.value.table.page.pageSize = await Sa(R.value);
3091
- let { currentPage: a, pageSize: s } = e.value.table.page;
3089
+ const a = Number(await Sa(R.value));
3090
+ a && a > 0 && (e.value.table.page.pageSize = a);
3091
+ let { currentPage: s, pageSize: m } = e.value.table.page;
3092
3092
  try {
3093
3093
  n(
3094
3094
  "load",
3095
- { currentPage: a, pageSize: s, ...c.value },
3096
- (m = [], _ = 0, { fields: I = [], sums: H = {} } = {}) => {
3097
- var j;
3098
- if (!Array.isArray(m)) {
3095
+ { currentPage: s, pageSize: m, ...c.value },
3096
+ (_ = [], D = 0, { fields: H = [], sums: j = {} } = {}) => {
3097
+ var he;
3098
+ if (!Array.isArray(_)) {
3099
3099
  console.error("从 load 事件回调中接收到的数据不是数组格式。"), it.error("数据加载失败,请检查数据格式。");
3100
3100
  return;
3101
3101
  }
3102
- if (typeof _ != "number") {
3102
+ if (typeof D != "number") {
3103
3103
  console.error("从 load 事件回调中接收到的 total 不是数字格式。"), it.error("数据加载失败,请检查数据格式。");
3104
3104
  return;
3105
3105
  }
3106
- e.value.table.data = m, ((j = e.value.control) == null ? void 0 : j.add(x.value, e).inline) === !0 && e.value.table.data.unshift(x.value), e.value.table.page.total = _, L.value = I, P.value = H, T(), V.value = Math.random().toString(36).substring(2);
3106
+ e.value.table.data = _, ((he = e.value.control) == null ? void 0 : he.add(x.value, e).inline) === !0 && e.value.table.data.unshift(x.value), e.value.table.page.total = D, L.value = H, P.value = j, T(), V.value = Math.random().toString(36).substring(2);
3107
3107
  },
3108
3108
  x.value
3109
3109
  );
3110
- } catch (m) {
3111
- console.error("触发 load 事件时出现错误:", m), it.error("数据加载时出现错误,请稍后重试。");
3110
+ } catch (_) {
3111
+ console.error("触发 load 事件时出现错误:", _), it.error("数据加载时出现错误,请稍后重试。");
3112
3112
  }
3113
3113
  },
3114
3114
  onHeaderDragend: (a, s, m) => {
3115
3115
  ka(R.value, m.property, a);
3116
3116
  },
3117
3117
  onRowDblclick: (a, s, m) => {
3118
- e.value.table.dblclickType == "edit" ? p(a, s, m, e) : e.value.table.dblclickType == "view" ? D(a, s, m, e) : e.value.table.dblclickType == "delete" ? S(a, s, m, e) : e.value.table.dblclickType(a, s, m, e);
3118
+ e.value.table.dblclickType == "edit" ? p(a, s, m, e) : e.value.table.dblclickType == "view" ? I(a, s, m, e) : e.value.table.dblclickType == "delete" ? S(a, s, m, e) : e.value.table.dblclickType(a, s, m, e);
3119
3119
  },
3120
3120
  style: { "min-height": "100px", backgroundColor: "var(--el-bg-color)" },
3121
3121
  page: {
3122
3122
  total: 0,
3123
3123
  pageSize: 20,
3124
3124
  currentPage: 1,
3125
- pageSizes: [5, 10, 20, 30, 40, 50],
3125
+ pageSizes: [5, 10, 20, 30, 40, 50, 100],
3126
3126
  layout: "total, sizes, prev, pager, next, jumper",
3127
3127
  style: {
3128
3128
  display: "flex",
@@ -3174,8 +3174,8 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3174
3174
  // description || readonly
3175
3175
  icon: () => ke(Rl),
3176
3176
  auth: () => {
3177
- var I;
3178
- return !(((I = _ == null ? void 0 : _.control) == null ? void 0 : I.add(a, _).inline) === !0 && m === 0);
3177
+ var D;
3178
+ return !(((D = _ == null ? void 0 : _.control) == null ? void 0 : D.add(a, _).inline) === !0 && m === 0);
3179
3179
  }
3180
3180
  }),
3181
3181
  edit: (a, s, m, _) => ({
@@ -3185,8 +3185,8 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3185
3185
  mode: "dialog",
3186
3186
  icon: () => ke(Ll),
3187
3187
  auth: () => {
3188
- var I;
3189
- return ((I = _ == null ? void 0 : _.control) == null ? void 0 : I.add(a, _).inline) !== !0;
3188
+ var D;
3189
+ return ((D = _ == null ? void 0 : _.control) == null ? void 0 : D.add(a, _).inline) !== !0;
3190
3190
  }
3191
3191
  }),
3192
3192
  delete: (a, s, m, _) => ({
@@ -3195,8 +3195,8 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3195
3195
  type: "danger",
3196
3196
  icon: () => ke(tl),
3197
3197
  auth: () => {
3198
- var I;
3199
- return !(((I = _.control) == null ? void 0 : I.add(a, _).inline) === !0 && m === 0);
3198
+ var D;
3199
+ return !(((D = _.control) == null ? void 0 : D.add(a, _).inline) === !0 && m === 0);
3200
3200
  },
3201
3201
  dialog: {
3202
3202
  message: "此操作将永久删除该文件, 是否继续?",
@@ -3209,9 +3209,9 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3209
3209
  }
3210
3210
  }),
3211
3211
  save: (a, s, m, _) => {
3212
- var I, H;
3212
+ var D, H;
3213
3213
  return {
3214
- label: ((I = _.control) == null ? void 0 : I.add(a, _).inline) !== !0 ? "保存" : m === 0 ? "新增" : "保存",
3214
+ label: ((D = _.control) == null ? void 0 : D.add(a, _).inline) !== !0 ? "保存" : m === 0 ? "新增" : "保存",
3215
3215
  text: !0,
3216
3216
  icon: () => ke(Lt),
3217
3217
  type: ((H = _.control) == null ? void 0 : H.add(a, _).inline) !== !0 || m === 0 ? "primary" : "success",
@@ -3272,8 +3272,8 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3272
3272
  auth: () => !(_.control.add(a, _).inline === !0 && m == 0),
3273
3273
  onClick: () => {
3274
3274
  var H;
3275
- let I = (H = Ce(a, s, m, _)) == null ? void 0 : H.operate;
3276
- I === "edit" ? p(a, s, m, _) : I === "delete" ? S(a, s, m, _) : I === "view" && D(a, s, m, _);
3275
+ let D = (H = Ce(a, s, m, _)) == null ? void 0 : H.operate;
3276
+ D === "edit" ? p(a, s, m, _) : D === "delete" ? S(a, s, m, _) : D === "view" && I(a, s, m, _);
3277
3277
  },
3278
3278
  "button-props": { round: !0, plain: !0 }
3279
3279
  })
@@ -3284,26 +3284,26 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3284
3284
  (Xe = e.value) == null ? void 0 : Xe.control
3285
3285
  );
3286
3286
  const se = (a, s = !0) => {
3287
- const m = e.value.control[a], _ = s ? (I, H, j, $e) => {
3287
+ const m = e.value.control[a], _ = s ? (D, H, j, he) => {
3288
3288
  var He, Ke, pt;
3289
- if (!I || !H || j == null)
3289
+ if (!D || !H || j == null)
3290
3290
  return console.warn(`merge${a.charAt(0).toUpperCase() + a.slice(1)}: 缺少必要的参数(row, column或index)`), {};
3291
- const we = ((He = le[a]) == null ? void 0 : He.call(le, I, H, j, $e)) || {}, Ve = ((pt = (Ke = h == null ? void 0 : h.control) == null ? void 0 : Ke[a]) == null ? void 0 : pt.call(Ke, I, H, j, $e)) || {}, ze = (m == null ? void 0 : m(I, H, j, $e)) || {};
3291
+ const we = ((He = le[a]) == null ? void 0 : He.call(le, D, H, j, he)) || {}, Ve = ((pt = (Ke = h == null ? void 0 : h.control) == null ? void 0 : Ke[a]) == null ? void 0 : pt.call(Ke, D, H, j, he)) || {}, ze = (m == null ? void 0 : m(D, H, j, he)) || {};
3292
3292
  return Le(we, Ve, ze) || {};
3293
- } : (I, H) => {
3293
+ } : (D, H) => {
3294
3294
  var Ve, ze, He;
3295
- const j = ((Ve = le[a]) == null ? void 0 : Ve.call(le, I, H)) || {}, $e = ((He = (ze = h == null ? void 0 : h.control) == null ? void 0 : ze[a]) == null ? void 0 : He.call(ze, I, H)) || {}, we = (m == null ? void 0 : m(I, H)) || {};
3296
- return Le(j, $e, we) || {};
3295
+ const j = ((Ve = le[a]) == null ? void 0 : Ve.call(le, D, H)) || {}, he = ((He = (ze = h == null ? void 0 : h.control) == null ? void 0 : ze[a]) == null ? void 0 : He.call(ze, D, H)) || {}, we = (m == null ? void 0 : m(D, H)) || {};
3296
+ return Le(j, he, we) || {};
3297
3297
  };
3298
3298
  e.value.control[a] = _;
3299
3299
  };
3300
3300
  se("edit"), se("delete"), se("view"), se("save"), se("add", !1), se("download", !1), se("setting", !1), se("batch", !1), se("toggleExpand", !1);
3301
3301
  const Ce = (a, s, m, _) => {
3302
- var $e, we, Ve, ze, He, Ke;
3302
+ var he, we, Ve, ze, He, Ke;
3303
3303
  if (!a || !s || m == null)
3304
3304
  return console.warn("mergeDropdown: 缺少必要的参数(row, column或index)"), {};
3305
- const I = (($e = le.dropdown) == null ? void 0 : $e.call(le, a, s, m, _)) || {}, H = ((Ve = (we = h == null ? void 0 : h.control) == null ? void 0 : we.dropdown) == null ? void 0 : Ve.call(we, a, s, m, _)) || {}, j = ((Ke = (He = (ze = e.value) == null ? void 0 : ze.control) == null ? void 0 : He.dropdown) == null ? void 0 : Ke.call(He, a, s, m, _)) || {};
3306
- return Le(I, H, j) || {};
3305
+ const D = ((he = le.dropdown) == null ? void 0 : he.call(le, a, s, m, _)) || {}, H = ((Ve = (we = h == null ? void 0 : h.control) == null ? void 0 : we.dropdown) == null ? void 0 : Ve.call(we, a, s, m, _)) || {}, j = ((Ke = (He = (ze = e.value) == null ? void 0 : ze.control) == null ? void 0 : He.dropdown) == null ? void 0 : Ke.call(He, a, s, m, _)) || {};
3306
+ return Le(D, H, j) || {};
3307
3307
  }, Oe = {
3308
3308
  type: "hidden",
3309
3309
  "min-width": 100,
@@ -3360,12 +3360,12 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3360
3360
  if (a.precision && !isNaN(parseFloat(s)) && (typeof a.precision == "number" ? m = parseFloat(m).toFixed(a.precision) : typeof a.precision == "object" && a.precision.num && (a.precision.pad ? m = parseFloat(m).toFixed(a.precision.num) : m = parseFloat(
3361
3361
  parseFloat(m).toFixed(a.precision.num)
3362
3362
  ).toString())), ["date", "datetime", "time", "time-select"].includes(a.type) && Ut(s).isValid()) {
3363
- const I = {
3363
+ const D = {
3364
3364
  date: "YYYY-MM-DD",
3365
3365
  datetime: "YYYY-MM-DD HH:mm:ss",
3366
3366
  time: "HH:mm:ss"
3367
3367
  };
3368
- m = a.format ? Ut(m).format(a.format) : Ut(m).format(I[a.type]);
3368
+ m = a.format ? Ut(m).format(a.format) : Ut(m).format(D[a.type]);
3369
3369
  }
3370
3370
  return a.type === "money" && (a.align = a.align || "right", a.width = a.width || 130, m = `<span title="${Ft(
3371
3371
  parseFloat(m)
@@ -3379,12 +3379,12 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3379
3379
  e.value.form.modalState = "add", l.value = "add";
3380
3380
  try {
3381
3381
  if (!await ((m = e.value.control) == null ? void 0 : m.validate("add", { row: x.value, m: s }))) return;
3382
- } catch (I) {
3383
- console.error("验证失败:", I);
3382
+ } catch (D) {
3383
+ console.error("验证失败:", D);
3384
3384
  return;
3385
3385
  }
3386
- (_ = e.value.control.add(x.value, s)) != null && _.click ? e.value.control.add(x.value, s).click(x.value, s) : e.value.control.add(x.value, s).inline === !0 ? (e.value.table.data.unshift({ ...x.value }), n("open", "row-add", { row: x.value })) : (e.value.form.disabled = !1, e.value.dialog.mode = e.value.control.add(x.value, s).mode, e.value.dialog.title = e.value.control.add(x.value, s).title || e.value.control.add(x.value, s).label || "新增", Object.keys(x.value).forEach((I) => {
3387
- e.value[I] && (e.value[I].value = x.value[I]);
3386
+ (_ = e.value.control.add(x.value, s)) != null && _.click ? e.value.control.add(x.value, s).click(x.value, s) : e.value.control.add(x.value, s).inline === !0 ? (e.value.table.data.unshift({ ...x.value }), n("open", "row-add", { row: x.value })) : (e.value.form.disabled = !1, e.value.dialog.mode = e.value.control.add(x.value, s).mode, e.value.dialog.title = e.value.control.add(x.value, s).title || e.value.control.add(x.value, s).label || "新增", Object.keys(x.value).forEach((D) => {
3387
+ e.value[D] && (e.value[D].value = x.value[D]);
3388
3388
  }), i.value = !0, n("open", "add", { row: x.value, m: s }), $t());
3389
3389
  }, $ = () => {
3390
3390
  n("batch", B.value);
@@ -3393,10 +3393,10 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3393
3393
  M.value = !0;
3394
3394
  });
3395
3395
  }, p = async (a, s, m, _) => {
3396
- var I, H;
3396
+ var D, H;
3397
3397
  e.value.form.modalState = "edit", l.value = "edit";
3398
3398
  try {
3399
- if (!await ((I = e.value.control) == null ? void 0 : I.validate("edit", { row: a, column: s, index: m, m: _ }))) return;
3399
+ if (!await ((D = e.value.control) == null ? void 0 : D.validate("edit", { row: a, column: s, index: m, m: _ }))) return;
3400
3400
  } catch (j) {
3401
3401
  console.error("验证失败:", j);
3402
3402
  return;
@@ -3405,9 +3405,9 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3405
3405
  e.value[j] && (e.value[j].value = a[j]);
3406
3406
  }), i.value = !0, n("open", "edit", { m: _, row: a, column: s, index: m }), $t());
3407
3407
  }, S = async (a, s, m, _) => {
3408
- var I, H;
3408
+ var D, H;
3409
3409
  try {
3410
- if (!await ((I = e.value.control) == null ? void 0 : I.validate("delete", { row: a, column: s, index: m, m: _ }))) return;
3410
+ if (!await ((D = e.value.control) == null ? void 0 : D.validate("delete", { row: a, column: s, index: m, m: _ }))) return;
3411
3411
  } catch (j) {
3412
3412
  console.error("验证失败:", j);
3413
3413
  return;
@@ -3415,8 +3415,8 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3415
3415
  if ((H = e.value.control.delete(a, s, m, _)) != null && H.click)
3416
3416
  e.value.control.delete(a, s, m, _).click(a, s, m, _);
3417
3417
  else {
3418
- let { message: j, title: $e, options: we } = e.value.control.delete(a, s, m, _).dialog;
3419
- Xt.confirm(j, $e, we).then(() => {
3418
+ let { message: j, title: he, options: we } = e.value.control.delete(a, s, m, _).dialog;
3419
+ Xt.confirm(j, he, we).then(() => {
3420
3420
  n(
3421
3421
  "delete",
3422
3422
  { row: a, column: s, index: m, m: _ },
@@ -3427,11 +3427,11 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3427
3427
  }).catch(() => {
3428
3428
  });
3429
3429
  }
3430
- }, D = async (a, s, m, _) => {
3431
- var I, H, j, $e;
3430
+ }, I = async (a, s, m, _) => {
3431
+ var D, H, j, he;
3432
3432
  e.value.form.modalState = void 0, l.value = "view";
3433
3433
  try {
3434
- if (!await ((I = e.value.control) == null ? void 0 : I.validate("view", { row: a, column: s, index: m, m: _ }))) return;
3434
+ if (!await ((D = e.value.control) == null ? void 0 : D.validate("view", { row: a, column: s, index: m, m: _ }))) return;
3435
3435
  } catch (we) {
3436
3436
  console.error("验证失败:", we);
3437
3437
  return;
@@ -3451,22 +3451,22 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3451
3451
  }, ((ze = (Ve = e.value.control.view(a, s, m, _)) == null ? void 0 : Ve.container) == null ? void 0 : ze.slots) || {});
3452
3452
  }
3453
3453
  }
3454
- }) : (($e = e.value.control.view(a, s, m, _)) == null ? void 0 : $e["view-mode"]) === "readonly" && (i.value = !0, $t()), n("open", "view", { m: _, row: a, column: s, index: m }));
3454
+ }) : ((he = e.value.control.view(a, s, m, _)) == null ? void 0 : he["view-mode"]) === "readonly" && (i.value = !0, $t()), n("open", "view", { m: _, row: a, column: s, index: m }));
3455
3455
  }, O = (a, s = x.value) => {
3456
3456
  Object.assign(a, s);
3457
3457
  }, z = (a, s, m, _) => {
3458
- const I = e.value.control.save(a, s, m, _);
3459
- I != null && I.click ? I.click(a, s, m, _) : n(
3458
+ const D = e.value.control.save(a, s, m, _);
3459
+ D != null && D.click ? D.click(a, s, m, _) : n(
3460
3460
  "row-save",
3461
3461
  { row: a, column: s, index: m, data: e.value.table.data },
3462
3462
  async (H = !0, j = !0) => {
3463
3463
  if (H && e.value.table.load(), j && m === 0) {
3464
- const $e = Object.entries(e.value).filter(
3464
+ const he = Object.entries(e.value).filter(
3465
3465
  ([we, Ve]) => Ve.type !== "control" && Ve.type !== "hidden"
3466
3466
  // && val.editor !== false
3467
3467
  );
3468
3468
  x.value = Object.fromEntries(
3469
- $e.map(([we, Ve]) => [we, Ve.value])
3469
+ he.map(([we, Ve]) => [we, Ve.value])
3470
3470
  ), e.value.table.data[m] = { ...x.value };
3471
3471
  }
3472
3472
  }
@@ -3477,12 +3477,12 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3477
3477
  });
3478
3478
  }, 300), de = (a, s) => {
3479
3479
  O(a), n("reset", a, s);
3480
- }, he = (a, s, m) => {
3480
+ }, ye = (a, s, m) => {
3481
3481
  var _;
3482
3482
  if ((_ = s.control.download(a, s)) != null && _.click)
3483
3483
  s.control.download(a, s).click(a, s, m);
3484
3484
  else {
3485
- let I = Yt(
3485
+ let D = Yt(
3486
3486
  {
3487
3487
  title: s.control.download(a, s).title || s.control.download(a, s).label || "下载",
3488
3488
  size: s.control.download(a, s).size || 480,
@@ -3492,7 +3492,7 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3492
3492
  items: m,
3493
3493
  commitText: s.control.download(a, s).excelLabel,
3494
3494
  onExcel: (H, j) => {
3495
- n("download", H, c.value, j), I();
3495
+ n("download", H, c.value, j), D();
3496
3496
  }
3497
3497
  })
3498
3498
  }
@@ -3525,15 +3525,15 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3525
3525
  }, X = e.value.control, De = {
3526
3526
  add: g,
3527
3527
  batch: $,
3528
- download: he,
3528
+ download: ye,
3529
3529
  toggleExpand: w,
3530
3530
  setting: G,
3531
- view: D,
3531
+ view: I,
3532
3532
  edit: p,
3533
3533
  delete: S,
3534
3534
  save: z
3535
- }, _e = (a, s, m, _, I) => a.filter((H) => De[H]).map((H) => {
3536
- const j = X == null ? void 0 : X[H](s, m, _, I);
3535
+ }, _e = (a, s, m, _, D) => a.filter((H) => De[H]).map((H) => {
3536
+ const j = X == null ? void 0 : X[H](s, m, _, D);
3537
3537
  return {
3538
3538
  name: `control-${H}`,
3539
3539
  attr: j,
@@ -3542,19 +3542,19 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3542
3542
  sort: (j == null ? void 0 : j.sort) || 0,
3543
3543
  groupName: (j == null ? void 0 : j.groupName) || "default"
3544
3544
  };
3545
- }).sort((H, j) => H.sort - j.sort), qe = (a, s, m, _, I) => _e(a, s, m, _, I).reduce((H, j) => {
3546
- const $e = j.groupName || "default";
3547
- return H[$e] || (H[$e] = []), H[$e].push(j), H;
3545
+ }).sort((H, j) => H.sort - j.sort), qe = (a, s, m, _, D) => _e(a, s, m, _, D).reduce((H, j) => {
3546
+ const he = j.groupName || "default";
3547
+ return H[he] || (H[he] = []), H[he].push(j), H;
3548
3548
  }, {}), xe = Pe(() => Object.fromEntries(
3549
3549
  Object.entries(e.value).filter(
3550
3550
  ([a, s]) => s.type !== "hidden" && s.hidden !== !0 && s.visible !== !1 && s.showCol !== !1
3551
3551
  ).map(([a, s]) => (s.sort = typeof s.sort == "number" ? s.sort : 0, [a, s])).sort((a, s) => a[1].sort - s[1].sort)
3552
3552
  )), Ue = ne({}), q = (a, s) => {
3553
- const m = (_, I) => {
3553
+ const m = (_, D) => {
3554
3554
  for (const H of _) {
3555
- if (H.value == I) return H.label;
3555
+ if (H.value == D) return H.label;
3556
3556
  if (H.children) {
3557
- const j = m(H.children, I);
3557
+ const j = m(H.children, D);
3558
3558
  if (j) return j;
3559
3559
  }
3560
3560
  }
@@ -3562,8 +3562,8 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3562
3562
  };
3563
3563
  if (a.getDicts) {
3564
3564
  const _ = s.toString();
3565
- return Ue.value[_] ? (a.options = Ue.value[_], a.formatter || (a.formatter = (I, H, j, $e) => a.options && m(a.options, j) || j), Promise.resolve()) : a.getDicts(e.value.table.data).then((I) => {
3566
- Ue.value[_] = I, a.options = I, a.formatter || (a.formatter = (H, j, $e, we) => a.options && m(a.options, $e) || $e);
3565
+ return Ue.value[_] ? (a.options = Ue.value[_], a.formatter || (a.formatter = (D, H, j, he) => a.options && m(a.options, j) || j), Promise.resolve()) : a.getDicts(e.value.table.data).then((D) => {
3566
+ Ue.value[_] = D, a.options = D, a.formatter || (a.formatter = (H, j, he, we) => a.options && m(a.options, he) || he);
3567
3567
  });
3568
3568
  }
3569
3569
  return Promise.resolve();
@@ -3577,8 +3577,8 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3577
3577
  console.error("字典加载过程中发生错误:", a);
3578
3578
  }
3579
3579
  }, Z = (a, s, m, _) => {
3580
- var I, H;
3581
- return a.table ? (I = a.table(s, m, _)) != null && I.auth ? (H = a.table(s, m, _)) == null ? void 0 : H.auth(s, m, _) : !0 : !1;
3580
+ var D, H;
3581
+ return a.table ? (D = a.table(s, m, _)) != null && D.auth ? (H = a.table(s, m, _)) == null ? void 0 : H.auth(s, m, _) : !0 : !1;
3582
3582
  }, Ie = () => {
3583
3583
  i.value = !1;
3584
3584
  };
@@ -3593,14 +3593,14 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3593
3593
  Ca(R.value)
3594
3594
  ]);
3595
3595
  a && Array.isArray(a) && a.forEach((_) => {
3596
- const I = e.value[_.key];
3597
- I && (I.width = _.width);
3598
- }), s && Array.isArray(s) && s.forEach((_, I) => {
3596
+ const D = e.value[_.key];
3597
+ D && (D.width = _.width);
3598
+ }), s && Array.isArray(s) && s.forEach((_, D) => {
3599
3599
  const H = e.value[_];
3600
- H && (H.sort = I);
3600
+ H && (H.sort = D);
3601
3601
  }), m && Array.isArray(m) && m.length > 0 ? m.forEach((_) => {
3602
- const I = e.value[_];
3603
- I && (I.showCol = !1);
3602
+ const D = e.value[_];
3603
+ D && (D.showCol = !1);
3604
3604
  }) : Object.keys(e.value).filter((_) => e.value[_].type !== "control").forEach((_) => {
3605
3605
  e.value[_].showCol = !0;
3606
3606
  });
@@ -3630,9 +3630,9 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3630
3630
  } catch (a) {
3631
3631
  console.error("Error during component initialization:", a), e.value.table.autoWatch || e.value.table.load();
3632
3632
  }
3633
- }), u({ addRow: g, editRow: p, deleteRow: S, readForm: D, saveRowData: z, closeDialog: Ie, formData: x }), (a, s) => {
3633
+ }), u({ addRow: g, editRow: p, deleteRow: S, readForm: I, saveRowData: z, closeDialog: Ie, formData: x }), (a, s) => {
3634
3634
  var Ve, ze, He, Ke, pt, xt, Mt;
3635
- const m = F("el-button-group"), _ = F("el-dropdown-item"), I = F("el-dropdown-menu"), H = F("el-dropdown"), j = F("el-table-column"), $e = F("el-table"), we = F("el-pagination");
3635
+ const m = F("el-button-group"), _ = F("el-dropdown-item"), D = F("el-dropdown-menu"), H = F("el-dropdown"), j = F("el-table-column"), he = F("el-table"), we = F("el-pagination");
3636
3636
  return v(), U(re, null, [
3637
3637
  i.value ? (v(), E(Ht, A({
3638
3638
  key: 0,
@@ -3640,7 +3640,7 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3640
3640
  "onUpdate:modelValue": s[2] || (s[2] = (J) => i.value = J)
3641
3641
  }, e.value.dialog, {
3642
3642
  type: e.value.dialog.mode
3643
- }), ye({
3643
+ }), ge({
3644
3644
  default: k(() => [
3645
3645
  i.value ? (v(), E(Je(cl), {
3646
3646
  key: 0,
@@ -3649,14 +3649,14 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3649
3649
  onSubmit: s[1] || (s[1] = (J, ve, te) => Y(ae)(J, ve, te)),
3650
3650
  onReset: de,
3651
3651
  flag: l.value
3652
- }, ye({ _: 2 }, [
3652
+ }, ge({ _: 2 }, [
3653
3653
  W(a.$slots, (J, ve, te) => ({
3654
3654
  name: ve,
3655
3655
  fn: k((Ne) => [
3656
3656
  C(a.$slots, ve, { model: Ne }, void 0, !0)
3657
3657
  ])
3658
3658
  }))
3659
- ]), 1064, ["modelValue", "flag"])) : be("", !0)
3659
+ ]), 1064, ["modelValue", "flag"])) : $e("", !0)
3660
3660
  ]),
3661
3661
  _: 2
3662
3662
  }, [
@@ -3691,7 +3691,7 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3691
3691
  ]),
3692
3692
  key: "3"
3693
3693
  } : void 0
3694
- ]), 1040, ["modelValue", "type"])) : be("", !0),
3694
+ ]), 1040, ["modelValue", "type"])) : $e("", !0),
3695
3695
  K("div", Ga, [
3696
3696
  ((Ke = (He = e.value) == null ? void 0 : He.query) == null ? void 0 : Ke.hidden) != !0 ? (v(), U("div", Xa, [
3697
3697
  C(a.$slots, "query", {}, () => [
@@ -3702,7 +3702,7 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3702
3702
  "onUpdate:info": s[4] || (s[4] = (J) => c.value = J),
3703
3703
  onQuery: Ge,
3704
3704
  onReset: Te
3705
- }, ye({
3705
+ }, ge({
3706
3706
  "q-btns": k(() => [
3707
3707
  C(a.$slots, "q-btns", {}, () => [
3708
3708
  (v(!0), U(re, null, W(qe(["add", "toggleExpand", "batch", "download", "setting"], x.value, e.value), (J, ve) => (v(), U(re, null, [
@@ -3730,7 +3730,7 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3730
3730
  onClick: (nt) => te.func(x.value, e.value, d.value)
3731
3731
  }), null, 16, ["title", "disabled", "onClick"]))
3732
3732
  ];
3733
- }, !0) : be("", !0),
3733
+ }, !0) : $e("", !0),
3734
3734
  C(a.$slots, te.name + "-right", {}, void 0, !0)
3735
3735
  ], 64))), 256)) : (v(), E(m, { key: 1 }, {
3736
3736
  default: k(() => [
@@ -3759,7 +3759,7 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3759
3759
  onClick: (nt) => te.func(x.value, e.value, d.value)
3760
3760
  }), null, 16, ["title", "disabled", "onClick"]))
3761
3761
  ];
3762
- }, !0) : be("", !0),
3762
+ }, !0) : $e("", !0),
3763
3763
  C(a.$slots, te.name + "-right", {}, void 0, !0)
3764
3764
  ], 64))), 256))
3765
3765
  ]),
@@ -3778,13 +3778,13 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3778
3778
  }))
3779
3779
  ]), 1032, ["modelValue", "info"])
3780
3780
  ], !0)
3781
- ])) : be("", !0),
3781
+ ])) : $e("", !0),
3782
3782
  C(a.$slots, "table-title", {
3783
3783
  model: e.value,
3784
3784
  queryInfo: c.value
3785
3785
  }, void 0, !0),
3786
3786
  K("div", Qa, [
3787
- M.value ? (v(), E($e, A({ key: 0 }, {
3787
+ M.value ? (v(), E(he, A({ key: 0 }, {
3788
3788
  ...a.$attrs,
3789
3789
  ...Y(We)(
3790
3790
  e.value.table,
@@ -3815,7 +3815,7 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3815
3815
  } : {
3816
3816
  ...e.value.tableColumns,
3817
3817
  ...Y(We)(J, (ee) => o.includes(ee))
3818
- }), ye({
3818
+ }), ge({
3819
3819
  header: k(({ column: ee, $index: ue }) => [
3820
3820
  ve == "control" ? C(a.$slots, `${ve}-header`, {
3821
3821
  key: 0,
@@ -3890,7 +3890,7 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3890
3890
  }, { ref_for: !0 }, Q.attr, {
3891
3891
  onClick: (st) => Q.func(ee, ue, fe, e.value)
3892
3892
  }), null, 16, ["title", "onClick"]))
3893
- ], !0) : be("", !0),
3893
+ ], !0) : $e("", !0),
3894
3894
  C(a.$slots, Q.name + "-right", {
3895
3895
  row: ee,
3896
3896
  column: ue,
@@ -3901,7 +3901,7 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3901
3901
  ref_for: !0
3902
3902
  }, Ce(ee, ue, fe, e.value)), {
3903
3903
  dropdown: k(() => [
3904
- oe(I, null, {
3904
+ oe(D, null, {
3905
3905
  default: k(() => [
3906
3906
  (v(!0), U(re, null, W(ot, (Q) => {
3907
3907
  var st, gt, y;
@@ -3911,7 +3911,7 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3911
3911
  row: ee,
3912
3912
  column: ue,
3913
3913
  index: fe
3914
- }, void 0, !0) : be("", !0),
3914
+ }, void 0, !0) : $e("", !0),
3915
3915
  Q.attr.auth() ? (v(), E(_, A({
3916
3916
  key: 1,
3917
3917
  ref_for: !0
@@ -3945,13 +3945,13 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3945
3945
  ], !0)
3946
3946
  ]),
3947
3947
  _: 2
3948
- }, 1040)) : be("", !0),
3948
+ }, 1040)) : $e("", !0),
3949
3949
  a.$slots[Q.name + "-right"] ? C(a.$slots, Q.name + "-right", {
3950
3950
  key: 2,
3951
3951
  row: ee,
3952
3952
  column: ue,
3953
3953
  index: fe
3954
- }, void 0, !0) : be("", !0)
3954
+ }, void 0, !0) : $e("", !0)
3955
3955
  ], 64);
3956
3956
  }), 256))
3957
3957
  ]),
@@ -3995,7 +3995,7 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
3995
3995
  }, { ref_for: !0 }, Q.attr, {
3996
3996
  onClick: (st) => Q.func(ee, ue, fe, e.value)
3997
3997
  }), null, 16, ["title", "onClick"]))
3998
- ], !0) : be("", !0),
3998
+ ], !0) : $e("", !0),
3999
3999
  C(a.$slots, Q.name + "-right", {
4000
4000
  row: ee,
4001
4001
  column: ue,
@@ -4039,7 +4039,7 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
4039
4039
  class: "g-ctrl-container",
4040
4040
  t: "t",
4041
4041
  formInfo: ee
4042
- }, ye({ _: 2 }, [
4042
+ }, ge({ _: 2 }, [
4043
4043
  W(a.$slots, (ft, ot) => ({
4044
4044
  name: ot,
4045
4045
  fn: k((ut) => [
@@ -4074,8 +4074,8 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
4074
4074
  ], !0)
4075
4075
  ]),
4076
4076
  _: 3
4077
- }, 16, ["summary-method"])) : be("", !0),
4078
- (Mt = (xt = (pt = e.value) == null ? void 0 : pt.table) == null ? void 0 : xt.page) != null && Mt.hidden ? be("", !0) : C(a.$slots, "page", { key: 1 }, () => [
4077
+ }, 16, ["summary-method"])) : $e("", !0),
4078
+ (Mt = (xt = (pt = e.value) == null ? void 0 : pt.table) == null ? void 0 : xt.page) != null && Mt.hidden ? $e("", !0) : C(a.$slots, "page", { key: 1 }, () => [
4079
4079
  oe(we, A({
4080
4080
  "page-size": e.value.table.page.pageSize,
4081
4081
  "onUpdate:pageSize": s[6] || (s[6] = (J) => e.value.table.page.pageSize = J),
@@ -4093,7 +4093,7 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
4093
4093
  ], 64);
4094
4094
  };
4095
4095
  }
4096
- }), Ka = /* @__PURE__ */ at(Ja, [["__scopeId", "data-v-3e9c9913"]]), er = { class: "g-tree-table" }, tr = { class: "g-tree-container" }, lr = { class: "g-tree-table-container" }, ar = /* @__PURE__ */ Object.assign({
4096
+ }), Ka = /* @__PURE__ */ at(Ja, [["__scopeId", "data-v-0d4992ad"]]), er = { class: "g-tree-table" }, tr = { class: "g-tree-container" }, lr = { class: "g-tree-table-container" }, ar = /* @__PURE__ */ Object.assign({
4097
4097
  name: "g-tree-table",
4098
4098
  inheritAttrs: !1
4099
4099
  }, {
@@ -4133,7 +4133,7 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
4133
4133
  style: { width: "100%", "box-sizing": "border-box", "margin-bottom": "10px" },
4134
4134
  placeholder: "输入节点查询",
4135
4135
  clearable: ""
4136
- }, null, 8, ["modelValue"])) : be("", !0),
4136
+ }, null, 8, ["modelValue"])) : $e("", !0),
4137
4137
  K("div", tr, [
4138
4138
  oe(ie, A({
4139
4139
  style: { width: e.value },
@@ -4142,7 +4142,7 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
4142
4142
  ref_key: "treeRef",
4143
4143
  ref: f,
4144
4144
  onNodeClick: d
4145
- }, V.$attrs.tree), ye({
4145
+ }, V.$attrs.tree), ge({
4146
4146
  default: k(({ node: se, data: Ce }) => [
4147
4147
  C(V.$slots, "tree", {
4148
4148
  node: se,
@@ -4166,7 +4166,7 @@ const Wa = /* @__PURE__ */ sl(Na), Ga = { class: "g-table-container" }, Xa = {
4166
4166
  oe(le, A({
4167
4167
  modelValue: l.value,
4168
4168
  "onUpdate:modelValue": R[1] || (R[1] = (se) => l.value = se)
4169
- }, V.$attrs, { onLoad: o }), ye({ _: 2 }, [
4169
+ }, V.$attrs, { onLoad: o }), ge({ _: 2 }, [
4170
4170
  W(V.$slots, (se, Ce, Oe) => ({
4171
4171
  name: Ce,
4172
4172
  fn: k((Ee) => [