vue-2024-ui 0.1.23 → 0.1.24

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 It, { ElForm as ft, ElButtonGroup as ct, ElButton as De, ElPopover as ht, ElMessage as Fe, ElMessageBox as Vt, ElDialog as Bt, ElDrawer as Yt } from "element-plus";
2
- import { mergeModels as Ne, useModel as Pe, ref as le, nextTick as et, onMounted as ot, computed as Je, resolveComponent as I, openBlock as n, createElementBlock as F, Fragment as G, createElementVNode as X, createBlock as M, createCommentVNode as pe, unref as U, mergeProps as S, withCtx as h, renderSlot as y, renderList as L, createTextVNode as Me, toDisplayString as ye, createSlots as me, createVNode as Q, normalizeProps as gt, useSlots as Tt, inject as _t, useAttrs as kt, onUnmounted as Ut, normalizeStyle as Ie, withModifiers as mt, resolveDynamicComponent as Ye, guardReactiveProps as Rt, Transition as Lt, withDirectives as jt, vShow as zt, h as Ae, onBeforeUnmount as Ht, normalizeClass as St, watchEffect as Nt, watch as Pt, createApp as Wt } from "vue";
2
+ import { mergeModels as Ne, useModel as Pe, ref as le, nextTick as et, onMounted as ot, computed as Je, resolveComponent as I, openBlock as n, createElementBlock as F, Fragment as G, createElementVNode as X, createBlock as D, createCommentVNode as pe, unref as U, mergeProps as S, withCtx as h, renderSlot as y, renderList as L, createTextVNode as Me, toDisplayString as ye, createSlots as me, createVNode as Z, normalizeProps as gt, useSlots as Tt, inject as _t, useAttrs as kt, onUnmounted as Ut, normalizeStyle as Ie, withModifiers as mt, resolveDynamicComponent as Ye, guardReactiveProps as Rt, Transition as Lt, withDirectives as jt, vShow as zt, h as Ae, onBeforeUnmount as Ht, normalizeClass as St, watchEffect as Nt, watch as Pt, createApp as Wt } from "vue";
3
3
  import { Plus as Xt, ZoomIn as Gt, Delete as Qt, DocumentCopy as Zt, FullScreen as Jt, CopyDocument as Kt } from "@element-plus/icons-vue";
4
4
  import xt from "sortablejs";
5
5
  import { Dexie as el } from "dexie";
@@ -189,7 +189,7 @@ var Ft = { exports: {} };
189
189
  (function(r, t) {
190
190
  i.exports = t();
191
191
  })(ll, function() {
192
- var r = 1e3, t = 6e4, e = 36e5, d = "millisecond", E = "second", x = "minute", T = "hour", _ = "day", w = "week", z = "month", ee = "quarter", q = "year", B = "date", se = "Invalid Date", re = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, J = /\[([^\]]+)]|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, ve = { 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(p) {
192
+ var r = 1e3, t = 6e4, e = 36e5, d = "millisecond", E = "second", x = "minute", T = "hour", _ = "day", w = "week", z = "month", te = "quarter", q = "year", B = "date", se = "Invalid Date", re = /^(\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, ve = { 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(p) {
193
193
  var a = ["th", "st", "nd", "rd"], v = p % 100;
194
194
  return "[" + p + (a[(v - 20) % 10] || a[v] || a[0]) + "]";
195
195
  } }, ge = function(p, a, v) {
@@ -205,7 +205,7 @@ var Ft = { exports: {} };
205
205
  }, a: function(p) {
206
206
  return p < 0 ? Math.ceil(p) || 0 : Math.floor(p);
207
207
  }, p: function(p) {
208
- return { M: z, y: q, w, d: _, D: B, h: T, m: x, s: E, ms: d, Q: ee }[p] || String(p || "").toLowerCase().replace(/s$/, "");
208
+ return { M: z, y: q, w, d: _, D: B, h: T, m: x, s: E, ms: d, Q: te }[p] || String(p || "").toLowerCase().replace(/s$/, "");
209
209
  }, u: function(p) {
210
210
  return p === void 0;
211
211
  } }, ie = "en", de = {};
@@ -247,8 +247,8 @@ var Ft = { exports: {} };
247
247
  if (typeof s == "string" && !/Z$/i.test(s)) {
248
248
  var V = s.match(re);
249
249
  if (V) {
250
- var j = V[2] - 1 || 0, Z = (V[7] || "0").substring(0, 3);
251
- return C ? new Date(Date.UTC(V[1], j, V[3] || 1, V[4] || 0, V[5] || 0, V[6] || 0, Z)) : new Date(V[1], j, V[3] || 1, V[4] || 0, V[5] || 0, V[6] || 0, Z);
250
+ var j = V[2] - 1 || 0, J = (V[7] || "0").substring(0, 3);
251
+ return C ? new Date(Date.UTC(V[1], j, V[3] || 1, V[4] || 0, V[5] || 0, V[6] || 0, J)) : new Date(V[1], j, V[3] || 1, V[4] || 0, V[5] || 0, V[6] || 0, J);
252
252
  }
253
253
  }
254
254
  return new Date(s);
@@ -277,7 +277,7 @@ var Ft = { exports: {} };
277
277
  var s = this, C = !!b.u(g) || g, V = b.p(v), j = function(Se, we) {
278
278
  var xe = b.w(s.$u ? Date.UTC(s.$y, we, Se) : new Date(s.$y, we, Se), s);
279
279
  return C ? xe : xe.endOf(_);
280
- }, Z = function(Se, we) {
280
+ }, J = function(Se, we) {
281
281
  return b.w(s.toDate()[Se].apply(s.toDate("s"), (C ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(we)), s);
282
282
  }, Y = this.$W, O = this.$M, ue = this.$D, ke = "set" + (this.$u ? "UTC" : "");
283
283
  switch (V) {
@@ -290,24 +290,24 @@ var Ft = { exports: {} };
290
290
  return j(C ? ue - Te : ue + (6 - Te), O);
291
291
  case _:
292
292
  case B:
293
- return Z(ke + "Hours", 0);
293
+ return J(ke + "Hours", 0);
294
294
  case T:
295
- return Z(ke + "Minutes", 1);
295
+ return J(ke + "Minutes", 1);
296
296
  case x:
297
- return Z(ke + "Seconds", 2);
297
+ return J(ke + "Seconds", 2);
298
298
  case E:
299
- return Z(ke + "Milliseconds", 3);
299
+ return J(ke + "Milliseconds", 3);
300
300
  default:
301
301
  return this.clone();
302
302
  }
303
303
  }, a.endOf = function(v) {
304
304
  return this.startOf(v, !1);
305
305
  }, a.$set = function(v, g) {
306
- var s, C = b.p(v), V = "set" + (this.$u ? "UTC" : ""), j = (s = {}, s[_] = V + "Date", s[B] = V + "Date", s[z] = V + "Month", s[q] = V + "FullYear", s[T] = V + "Hours", s[x] = V + "Minutes", s[E] = V + "Seconds", s[d] = V + "Milliseconds", s)[C], Z = C === _ ? this.$D + (g - this.$W) : g;
306
+ var s, C = b.p(v), V = "set" + (this.$u ? "UTC" : ""), j = (s = {}, s[_] = V + "Date", s[B] = V + "Date", s[z] = V + "Month", s[q] = V + "FullYear", s[T] = V + "Hours", s[x] = V + "Minutes", s[E] = V + "Seconds", s[d] = V + "Milliseconds", s)[C], J = C === _ ? this.$D + (g - this.$W) : g;
307
307
  if (C === z || C === q) {
308
308
  var Y = this.clone().set(B, 1);
309
- Y.$d[j](Z), Y.init(), this.$d = Y.set(B, Math.min(this.$D, Y.daysInMonth())).$d;
310
- } else j && this.$d[j](Z);
309
+ Y.$d[j](J), Y.init(), this.$d = Y.set(B, Math.min(this.$D, Y.daysInMonth())).$d;
310
+ } else j && this.$d[j](J);
311
311
  return this.init(), this;
312
312
  }, a.set = function(v, g) {
313
313
  return this.clone().$set(v, g);
@@ -324,14 +324,14 @@ var Ft = { exports: {} };
324
324
  if (V === q) return this.set(q, this.$y + v);
325
325
  if (V === _) return j(1);
326
326
  if (V === w) return j(7);
327
- var Z = (s = {}, s[x] = t, s[T] = e, s[E] = r, s)[V] || 1, Y = this.$d.getTime() + v * Z;
327
+ var J = (s = {}, s[x] = t, s[T] = e, s[E] = r, s)[V] || 1, Y = this.$d.getTime() + v * J;
328
328
  return b.w(Y, this);
329
329
  }, a.subtract = function(v, g) {
330
330
  return this.add(-1 * v, g);
331
331
  }, a.format = function(v) {
332
332
  var g = this, s = this.$locale();
333
333
  if (!this.isValid()) return s.invalidDate || se;
334
- var C = v || "YYYY-MM-DDTHH:mm:ssZ", V = b.z(this), j = this.$H, Z = this.$m, Y = this.$M, O = s.weekdays, ue = s.months, ke = s.meridiem, _e = function(we, xe, Ue, Re) {
334
+ var C = v || "YYYY-MM-DDTHH:mm:ssZ", V = b.z(this), j = this.$H, J = this.$m, Y = this.$M, O = s.weekdays, ue = s.months, ke = s.meridiem, _e = function(we, xe, Ue, Re) {
335
335
  return we && (we[xe] || we(g, C)) || Ue[xe].slice(0, Re);
336
336
  }, Te = function(we) {
337
337
  return b.s(j % 12 || 12, we, "0");
@@ -339,7 +339,7 @@ var Ft = { exports: {} };
339
339
  var Re = we < 12 ? "AM" : "PM";
340
340
  return Ue ? Re.toLowerCase() : Re;
341
341
  };
342
- return C.replace(J, function(we, xe) {
342
+ return C.replace(K, function(we, xe) {
343
343
  return xe || function(Ue) {
344
344
  switch (Ue) {
345
345
  case "YY":
@@ -375,13 +375,13 @@ var Ft = { exports: {} };
375
375
  case "hh":
376
376
  return Te(2);
377
377
  case "a":
378
- return Se(j, Z, !0);
378
+ return Se(j, J, !0);
379
379
  case "A":
380
- return Se(j, Z, !1);
380
+ return Se(j, J, !1);
381
381
  case "m":
382
- return String(Z);
382
+ return String(J);
383
383
  case "mm":
384
- return b.s(Z, 2, "0");
384
+ return b.s(J, 2, "0");
385
385
  case "s":
386
386
  return String(g.$s);
387
387
  case "ss":
@@ -397,8 +397,8 @@ var Ft = { exports: {} };
397
397
  }, a.utcOffset = function() {
398
398
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
399
399
  }, a.diff = function(v, g, s) {
400
- var C, V = this, j = b.p(g), Z = ne(v), Y = (Z.utcOffset() - this.utcOffset()) * t, O = this - Z, ue = function() {
401
- return b.m(V, Z);
400
+ var C, V = this, j = b.p(g), J = ne(v), Y = (J.utcOffset() - this.utcOffset()) * t, O = this - J, ue = function() {
401
+ return b.m(V, J);
402
402
  };
403
403
  switch (j) {
404
404
  case q:
@@ -407,7 +407,7 @@ var Ft = { exports: {} };
407
407
  case z:
408
408
  C = ue();
409
409
  break;
410
- case ee:
410
+ case te:
411
411
  C = ue() / 3;
412
412
  break;
413
413
  case w:
@@ -481,7 +481,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
481
481
  emits: ["update:modelValue"],
482
482
  setup(i) {
483
483
  var $e, ne;
484
- const f = Pe(i, "modelValue"), r = i, t = le(r.item || {}), e = le(r.ctrlKey), d = le(r.ctrlType), E = le(r.model), x = le([]), T = le([]), _ = le(!1), w = le(!1), z = () => Object.keys(Tt()).filter((b) => b.startsWith(`${r.t}-${e}-`)).map((b) => b.replace(`${r.t}-${e}-`, "")), ee = le({
484
+ const f = Pe(i, "modelValue"), r = i, t = le(r.item || {}), e = le(r.ctrlKey), d = le(r.ctrlType), E = le(r.model), x = le([]), T = le([]), _ = le(!1), w = le(!1), z = () => Object.keys(Tt()).filter((b) => b.startsWith(`${r.t}-${e}-`)).map((b) => b.replace(`${r.t}-${e}-`, "")), te = le({
485
485
  multiple: !1,
486
486
  "show-file-list": !1,
487
487
  "file-list": [],
@@ -517,7 +517,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
517
517
  filterable: !0,
518
518
  remote: !!(t.value && t.value["remote-method"]),
519
519
  ...t.value
520
- }), J = le((b) => {
520
+ }), K = le((b) => {
521
521
  t.value["remote-method"](b, (o) => {
522
522
  et(() => {
523
523
  T.value = o;
@@ -552,7 +552,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
552
552
  }, fe = le(null);
553
553
  ot(async () => {
554
554
  var k, p, a, v, g;
555
- t.value && t.value["remote-method"] && (re.value["remote-method"] = J), (p = (k = E.value[e.value]) == null ? void 0 : k.options) != null && p.length && (T.value = E.value[e.value].options);
555
+ t.value && t.value["remote-method"] && (re.value["remote-method"] = K), (p = (k = E.value[e.value]) == null ? void 0 : k.options) != null && p.length && (T.value = E.value[e.value].options);
556
556
  const b = (s, C = "options", V = E.value[e.value]) => {
557
557
  typeof t.value.getDicts == "function" && ve(C).catch((j) => {
558
558
  console.error(`Failed to load ${C} for ${s}:`, j);
@@ -597,11 +597,11 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
597
597
  return t.value["file-list"] && t.value["file-list"].length ? (b = t.value["file-list"]) == null ? void 0 : b.map((o) => o == null ? void 0 : o.url) : [f.value];
598
598
  });
599
599
  return (b, o) => {
600
- var H, N, te, Ee, Ce, Le;
601
- const k = I("el-image-viewer"), p = I("el-radio"), a = I("el-radio-group"), v = I("el-radio-button"), g = I("el-checkbox"), s = I("el-checkbox-group"), C = I("el-checkbox-button"), V = I("g-select-option"), j = I("el-option"), Z = I("el-select"), Y = I("el-tree-select"), O = I("el-time-picker"), ue = I("el-time-select"), ke = I("el-date-picker"), _e = I("el-color-picker"), Te = I("el-rate"), Se = I("el-slider"), we = I("el-switch"), xe = I("el-transfer"), Ue = I("el-cascader"), Re = I("el-icon"), ut = I("el-image"), tt = I("el-tooltip"), nt = I("el-upload"), st = I("el-autocomplete"), it = I("el-input-number"), lt = I("el-input"), l = I("el-link"), u = I("el-text"), c = I("el-avatar"), D = I("el-tag");
600
+ var H, N, Q, Ee, Ce, Le;
601
+ const k = I("el-image-viewer"), p = I("el-radio"), a = I("el-radio-group"), v = I("el-radio-button"), g = I("el-checkbox"), s = I("el-checkbox-group"), C = I("el-checkbox-button"), V = I("g-select-option"), j = I("el-option"), J = I("el-select"), Y = I("el-tree-select"), O = I("el-time-picker"), ue = I("el-time-select"), ke = I("el-date-picker"), _e = I("el-color-picker"), Te = I("el-rate"), Se = I("el-slider"), we = I("el-switch"), xe = I("el-transfer"), Ue = I("el-cascader"), Re = I("el-icon"), ut = I("el-image"), tt = I("el-tooltip"), nt = I("el-upload"), st = I("el-autocomplete"), it = I("el-input-number"), lt = I("el-input"), l = I("el-link"), u = I("el-text"), c = I("el-avatar"), M = I("el-tag");
602
602
  return n(), F(G, null, [
603
603
  X("div", null, [
604
- _.value ? (n(), M(k, {
604
+ _.value ? (n(), D(k, {
605
605
  key: 0,
606
606
  teleported: !0,
607
607
  "url-list": ae.value,
@@ -609,14 +609,14 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
609
609
  }, null, 8, ["url-list"])) : pe("", !0)
610
610
  ]),
611
611
  X("div", ol, [
612
- d.value == U(he).RADIO ? (n(), M(a, S({
612
+ d.value == U(he).RADIO ? (n(), D(a, S({
613
613
  key: 0,
614
614
  modelValue: f.value,
615
615
  "onUpdate:modelValue": o[1] || (o[1] = (m) => f.value = m)
616
616
  }, t.value), {
617
617
  default: h(() => [
618
618
  y(b.$slots, `${r.t}-${e.value}`, { data: t.value }, () => [
619
- (n(!0), F(G, null, L(T.value, (m) => (n(), M(p, S({ ref_for: !0 }, m), {
619
+ (n(!0), F(G, null, L(T.value, (m) => (n(), D(p, S({ ref_for: !0 }, m), {
620
620
  default: h(() => [
621
621
  y(b.$slots, `${r.t}-${e.value}-options`, { option: m }, void 0, !0)
622
622
  ]),
@@ -625,14 +625,14 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
625
625
  ], !0)
626
626
  ]),
627
627
  _: 3
628
- }, 16, ["modelValue"])) : d.value == U(he).RADIOBUTTON ? (n(), M(a, S({
628
+ }, 16, ["modelValue"])) : d.value == U(he).RADIOBUTTON ? (n(), D(a, S({
629
629
  key: 1,
630
630
  modelValue: f.value,
631
631
  "onUpdate:modelValue": o[2] || (o[2] = (m) => f.value = m)
632
632
  }, t.value), {
633
633
  default: h(() => [
634
634
  y(b.$slots, `${r.t}-${e.value}`, { data: t.value }, () => [
635
- (n(!0), F(G, null, L(T.value, (m) => (n(), M(v, S({ ref_for: !0 }, m), {
635
+ (n(!0), F(G, null, L(T.value, (m) => (n(), D(v, S({ ref_for: !0 }, m), {
636
636
  default: h(() => [
637
637
  y(b.$slots, `${r.t}-${e.value}-options`, { option: m }, void 0, !0)
638
638
  ]),
@@ -641,7 +641,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
641
641
  ], !0)
642
642
  ]),
643
643
  _: 3
644
- }, 16, ["modelValue"])) : d.value == U(he).CHECKBOX ? (n(), M(g, S({
644
+ }, 16, ["modelValue"])) : d.value == U(he).CHECKBOX ? (n(), D(g, S({
645
645
  key: 2,
646
646
  modelValue: f.value,
647
647
  "onUpdate:modelValue": o[3] || (o[3] = (m) => f.value = m)
@@ -652,14 +652,14 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
652
652
  ], !0)
653
653
  ]),
654
654
  _: 3
655
- }, 16, ["modelValue"])) : d.value == U(he).CHECKBOXGROUP ? (n(), M(s, S({
655
+ }, 16, ["modelValue"])) : d.value == U(he).CHECKBOXGROUP ? (n(), D(s, S({
656
656
  key: 3,
657
657
  modelValue: f.value,
658
658
  "onUpdate:modelValue": o[4] || (o[4] = (m) => f.value = m)
659
659
  }, t.value), {
660
660
  default: h(() => [
661
661
  y(b.$slots, `${r.t}-${e.value}`, { data: t.value }, () => [
662
- (n(!0), F(G, null, L(T.value, (m) => (n(), M(g, S({ ref_for: !0 }, m), {
662
+ (n(!0), F(G, null, L(T.value, (m) => (n(), D(g, S({ ref_for: !0 }, m), {
663
663
  default: h(() => [
664
664
  y(b.$slots, `${r.t}-${e.value}-options`, { option: m }, () => [
665
665
  Me(ye(m.label), 1)
@@ -670,14 +670,14 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
670
670
  ], !0)
671
671
  ]),
672
672
  _: 3
673
- }, 16, ["modelValue"])) : d.value == U(he).CHECKBOXGROUPBUTTON ? (n(), M(s, S({
673
+ }, 16, ["modelValue"])) : d.value == U(he).CHECKBOXGROUPBUTTON ? (n(), D(s, S({
674
674
  key: 4,
675
675
  modelValue: f.value,
676
676
  "onUpdate:modelValue": o[5] || (o[5] = (m) => f.value = m)
677
677
  }, t.value), {
678
678
  default: h(() => [
679
679
  y(b.$slots, `${r.t}-${e.value}`, { data: t.value }, () => [
680
- (n(!0), F(G, null, L(T.value, (m) => (n(), M(C, S({ ref_for: !0 }, m), {
680
+ (n(!0), F(G, null, L(T.value, (m) => (n(), D(C, S({ ref_for: !0 }, m), {
681
681
  default: h(() => [
682
682
  y(b.$slots, `${r.t}-${e.value}-options`, { option: m }, void 0, !0)
683
683
  ]),
@@ -686,7 +686,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
686
686
  ], !0)
687
687
  ]),
688
688
  _: 3
689
- }, 16, ["modelValue"])) : d.value === U(he).SELECT ? (n(), M(Z, S({
689
+ }, 16, ["modelValue"])) : d.value === U(he).SELECT ? (n(), D(J, S({
690
690
  key: 5,
691
691
  modelValue: f.value,
692
692
  "onUpdate:modelValue": o[6] || (o[6] = (m) => f.value = m),
@@ -701,7 +701,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
701
701
  (n(!0), F(G, null, L(T.value, (m) => (n(), F(G, {
702
702
  key: m.value
703
703
  }, [
704
- Q(j, S({ ref_for: !0 }, U(Ve)(m, (W) => W != "children"), {
704
+ Z(j, S({ ref_for: !0 }, U(Ve)(m, (W) => W != "children"), {
705
705
  onClick: (W) => {
706
706
  re.value.change && re.value.change(m), ge();
707
707
  }
@@ -715,7 +715,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
715
715
  }, () => {
716
716
  var ce;
717
717
  return [
718
- Q(V, {
718
+ Z(V, {
719
719
  columns: (ce = t.value) == null ? void 0 : ce.columns,
720
720
  data: m,
721
721
  t: r.t
@@ -736,7 +736,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
736
736
  }),
737
737
  _: 2
738
738
  }, 1040, ["onClick"]),
739
- m.children && m.children.length ? (n(!0), F(G, { key: 0 }, L(m.children, (W) => (n(), M(j, S({
739
+ m.children && m.children.length ? (n(!0), F(G, { key: 0 }, L(m.children, (W) => (n(), D(j, S({
740
740
  style: { "margin-left": "20px" },
741
741
  key: W.value,
742
742
  ref_for: !0
@@ -754,7 +754,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
754
754
  }, () => {
755
755
  var Be;
756
756
  return [
757
- Q(V, {
757
+ Z(V, {
758
758
  columns: (Be = t.value) == null ? void 0 : Be.columns,
759
759
  data: W,
760
760
  t: r.t
@@ -785,7 +785,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
785
785
  fn: h(() => {
786
786
  var m;
787
787
  return [
788
- Q(V, {
788
+ Z(V, {
789
789
  columns: (m = t.value) == null ? void 0 : m.columns,
790
790
  title: !0,
791
791
  t: r.t
@@ -807,7 +807,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
807
807
  y(b.$slots, `${r.t}-${e.value}-${m}`, { data: W }, void 0, !0)
808
808
  ])
809
809
  }))
810
- ]), 1040, ["modelValue", "placeholder"])) : d.value == U(he).TREESELECT ? (n(), M(Y, S({
810
+ ]), 1040, ["modelValue", "placeholder"])) : d.value == U(he).TREESELECT ? (n(), D(Y, S({
811
811
  key: 6,
812
812
  modelValue: f.value,
813
813
  "onUpdate:modelValue": o[8] || (o[8] = (m) => f.value = m),
@@ -819,14 +819,14 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
819
819
  y(b.$slots, `${r.t}-${e.value}-${m}`, { data: W }, void 0, !0)
820
820
  ])
821
821
  }))
822
- ]), 1040, ["modelValue", "placeholder", "data"])) : d.value == U(he).TIME ? (n(), M(O, S({
822
+ ]), 1040, ["modelValue", "placeholder", "data"])) : d.value == U(he).TIME ? (n(), D(O, S({
823
823
  key: 7,
824
824
  modelValue: f.value,
825
825
  "onUpdate:modelValue": o[9] || (o[9] = (m) => f.value = m),
826
826
  "arrow-control": ""
827
827
  }, t.value, {
828
828
  placeholder: E.value[e.value].label
829
- }), null, 16, ["modelValue", "placeholder"])) : d.value == U(he).TIMESELECT ? (n(), M(ue, S({
829
+ }), null, 16, ["modelValue", "placeholder"])) : d.value == U(he).TIMESELECT ? (n(), D(ue, S({
830
830
  key: 8,
831
831
  modelValue: f.value,
832
832
  "onUpdate:modelValue": o[10] || (o[10] = (m) => f.value = m),
@@ -834,7 +834,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
834
834
  step: "00:15",
835
835
  end: "23:30",
836
836
  placeholder: E.value[e.value].label
837
- }, t.value), null, 16, ["modelValue", "placeholder"])) : B(d.value) ? (n(), M(ke, S({
837
+ }, t.value), null, 16, ["modelValue", "placeholder"])) : B(d.value) ? (n(), D(ke, S({
838
838
  key: 9,
839
839
  modelValue: f.value,
840
840
  "onUpdate:modelValue": o[11] || (o[11] = (m) => f.value = m),
@@ -848,19 +848,19 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
848
848
  y(b.$slots, `${r.t}-${e.value}-${m}`, { data: W }, void 0, !0)
849
849
  ])
850
850
  }))
851
- ]), 1040, ["modelValue", "type", "placeholder", "value-format"])) : d.value == U(he).COLOR ? (n(), M(_e, S({
851
+ ]), 1040, ["modelValue", "type", "placeholder", "value-format"])) : d.value == U(he).COLOR ? (n(), D(_e, S({
852
852
  key: 10,
853
853
  modelValue: f.value,
854
854
  "onUpdate:modelValue": o[12] || (o[12] = (m) => f.value = m)
855
- }, t.value), null, 16, ["modelValue"])) : d.value == U(he).RATE ? (n(), M(Te, S({
855
+ }, t.value), null, 16, ["modelValue"])) : d.value == U(he).RATE ? (n(), D(Te, S({
856
856
  key: 11,
857
857
  modelValue: f.value,
858
858
  "onUpdate:modelValue": o[13] || (o[13] = (m) => f.value = m)
859
- }, t.value), null, 16, ["modelValue"])) : d.value == U(he).SLIDER ? (n(), M(Se, S({
859
+ }, t.value), null, 16, ["modelValue"])) : d.value == U(he).SLIDER ? (n(), D(Se, S({
860
860
  key: 12,
861
861
  modelValue: f.value,
862
862
  "onUpdate:modelValue": o[14] || (o[14] = (m) => f.value = m)
863
- }, t.value), null, 16, ["modelValue"])) : d.value == U(he).SWITCH ? (n(), M(we, S({
863
+ }, t.value), null, 16, ["modelValue"])) : d.value == U(he).SWITCH ? (n(), D(we, S({
864
864
  key: 13,
865
865
  modelValue: f.value,
866
866
  "onUpdate:modelValue": o[15] || (o[15] = (m) => f.value = m),
@@ -872,7 +872,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
872
872
  y(b.$slots, `${r.t}-${e.value}-${m}`, { data: W }, void 0, !0)
873
873
  ])
874
874
  }))
875
- ]), 1040, ["modelValue"])) : d.value == U(he).TRANSFER ? (n(), M(xe, S({
875
+ ]), 1040, ["modelValue"])) : d.value == U(he).TRANSFER ? (n(), D(xe, S({
876
876
  key: 14,
877
877
  modelValue: f.value,
878
878
  "onUpdate:modelValue": o[16] || (o[16] = (m) => f.value = m)
@@ -883,7 +883,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
883
883
  y(b.$slots, `${r.t}-${e.value}-${m}`, { data: W }, void 0, !0)
884
884
  ])
885
885
  }))
886
- ]), 1040, ["modelValue"])) : d.value == U(he).CASCADER ? (n(), M(Ue, S({
886
+ ]), 1040, ["modelValue"])) : d.value == U(he).CASCADER ? (n(), D(Ue, S({
887
887
  key: 15,
888
888
  modelValue: f.value,
889
889
  "onUpdate:modelValue": o[17] || (o[17] = (m) => f.value = m)
@@ -894,14 +894,14 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
894
894
  y(b.$slots, `${r.t}-${e.value}-${m}`, { data: W }, void 0, !0)
895
895
  ])
896
896
  }))
897
- ]), 1040, ["modelValue", "options"])) : d.value == U(he).IMAGE ? (n(), M(nt, S({
897
+ ]), 1040, ["modelValue", "options"])) : d.value == U(he).IMAGE ? (n(), D(nt, S({
898
898
  key: 16,
899
899
  "file-list": t.value["file-list"],
900
900
  "onUpdate:fileList": o[21] || (o[21] = (m) => t.value["file-list"] = m),
901
901
  "list-type": "picture-card",
902
902
  class: "custom-upload",
903
903
  "on-preview": ie
904
- }, { ...ee.value, ...t.value }, {
904
+ }, { ...te.value, ...t.value }, {
905
905
  ref_key: "uploadRef",
906
906
  ref: fe
907
907
  }), me({
@@ -914,7 +914,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
914
914
  style: { display: "flex", width: "var(--up-width)", height: "var(--up-height)", position: "relative", "align-items": "center", "justify-content": "center", "box-sizing": "border-box" }
915
915
  }, [
916
916
  X("div", ul, [
917
- Q(ut, S({
917
+ Z(ut, S({
918
918
  style: { width: "var(--up-width)", height: "var(--up-height)" },
919
919
  src: f.value
920
920
  }, { fit: "cover", lazy: !0, ...(m = t.value) == null ? void 0 : m.img }), me({ _: 2 }, [
@@ -932,13 +932,13 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
932
932
  onMouseleave: o[19] || (o[19] = (W) => w.value = !1),
933
933
  class: "up-view"
934
934
  }, [
935
- w.value ? (n(), M(tt, {
935
+ w.value ? (n(), D(tt, {
936
936
  key: 0,
937
937
  content: "查看大图",
938
938
  placement: "top"
939
939
  }, {
940
940
  default: h(() => [
941
- Q(U(Gt), {
941
+ Z(U(Gt), {
942
942
  style: { width: "1.5em", height: "1.5em", "margin-right": "12px" },
943
943
  color: "white",
944
944
  onClick: de
@@ -946,13 +946,13 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
946
946
  ]),
947
947
  _: 1
948
948
  })) : pe("", !0),
949
- ee.value.showDel && w.value ? (n(), M(tt, {
949
+ te.value.showDel && w.value ? (n(), D(tt, {
950
950
  key: 1,
951
951
  content: "删除",
952
952
  placement: "top"
953
953
  }, {
954
954
  default: h(() => [
955
- Q(U(Qt), {
955
+ Z(U(Qt), {
956
956
  style: { width: "1.5em", height: "1.5em" },
957
957
  color: "white",
958
958
  onClick: be
@@ -961,9 +961,9 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
961
961
  _: 1
962
962
  })) : pe("", !0)
963
963
  ], 32)
964
- ])) : (n(), M(Re, { key: 0 }, {
964
+ ])) : (n(), D(Re, { key: 0 }, {
965
965
  default: h(() => [
966
- Q(U(Xt))
966
+ Z(U(Xt))
967
967
  ]),
968
968
  _: 1
969
969
  }))
@@ -977,7 +977,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
977
977
  y(b.$slots, `${r.t}-${e.value}-${m}`, { data: ce }, void 0, !0)
978
978
  ])
979
979
  }))
980
- ]), 1040, ["file-list"])) : d.value == U(he).AUTOCOMPLETE ? (n(), M(st, S({
980
+ ]), 1040, ["file-list"])) : d.value == U(he).AUTOCOMPLETE ? (n(), D(st, S({
981
981
  key: 17,
982
982
  modelValue: f.value,
983
983
  "onUpdate:modelValue": o[22] || (o[22] = (m) => f.value = m)
@@ -990,7 +990,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
990
990
  y(b.$slots, `${r.t}-${e.value}-${m}`, { data: ce }, void 0, !0)
991
991
  ])
992
992
  }))
993
- ]), 1040, ["modelValue", "placeholder"])) : d.value == U(he).INPUTNUMBER ? (n(), M(it, S({
993
+ ]), 1040, ["modelValue", "placeholder"])) : d.value == U(he).INPUTNUMBER ? (n(), D(it, S({
994
994
  key: 18,
995
995
  modelValue: f.value,
996
996
  "onUpdate:modelValue": o[23] || (o[23] = (m) => f.value = m),
@@ -1005,7 +1005,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1005
1005
  ])
1006
1006
  }))
1007
1007
  ]), 1040, ["modelValue", "placeholder"])) : d.value == U(he).MONEY ? (n(), F("div", nl, [
1008
- Q(lt, S({
1008
+ Z(lt, S({
1009
1009
  modelValue: f.value,
1010
1010
  "onUpdate:modelValue": o[24] || (o[24] = (m) => f.value = m),
1011
1011
  placeholder: E.value[e.value].label,
@@ -1027,32 +1027,32 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1027
1027
  ])
1028
1028
  }))
1029
1029
  ]), 1040, ["modelValue", "placeholder", "type", "maxlength"])
1030
- ])) : (te = d.value) != null && te.startsWith("link") ? (n(), F("div", il, [
1031
- Q(l, S(t.value, {
1030
+ ])) : (Q = d.value) != null && Q.startsWith("link") ? (n(), F("div", il, [
1031
+ Z(l, S(t.value, {
1032
1032
  type: d.value.replace("link-", ""),
1033
1033
  innerHTML: q.value || f.value
1034
1034
  }), null, 16, ["type", "innerHTML"])
1035
1035
  ])) : d.value != "textarea" && ((Ee = d.value) != null && Ee.startsWith("text")) ? (n(), F("div", dl, [
1036
- Q(u, S(t.value, {
1036
+ Z(u, S(t.value, {
1037
1037
  type: d.value.replace("text-", ""),
1038
1038
  innerHTML: q.value || f.value
1039
1039
  }), null, 16, ["type", "innerHTML"])
1040
1040
  ])) : d.value == "avatar" ? (n(), F("div", fl, [
1041
- q.value ? (n(), M(c, gt(S({ key: 0 }, t.value)), {
1041
+ q.value ? (n(), D(c, gt(S({ key: 0 }, t.value)), {
1042
1042
  default: h(() => [
1043
1043
  X("div", { innerHTML: q.value }, null, 8, cl)
1044
1044
  ]),
1045
1045
  _: 1
1046
- }, 16)) : (n(), M(c, gt(S({ key: 1 }, t.value)), null, 16))
1046
+ }, 16)) : (n(), D(c, gt(S({ key: 1 }, t.value)), null, 16))
1047
1047
  ])) : (Ce = d.value) != null && Ce.startsWith("tag") ? (n(), F("div", ml, [
1048
1048
  Array.isArray(q.value) && q.value.length > 0 ? (n(!0), F(G, { key: 0 }, L(q.value, (m, W) => (n(), F(G, { key: W }, [
1049
- typeof m == "object" ? (n(), M(D, S({
1049
+ typeof m == "object" ? (n(), D(M, S({
1050
1050
  key: 0,
1051
1051
  ref_for: !0
1052
1052
  }, m, {
1053
1053
  innerHTML: m == null ? void 0 : m.value,
1054
1054
  style: { "margin-right": "3px" }
1055
- }), null, 16, ["innerHTML"])) : (n(), M(D, S({
1055
+ }), null, 16, ["innerHTML"])) : (n(), D(M, S({
1056
1056
  key: 1,
1057
1057
  ref_for: !0
1058
1058
  }, t.value, {
@@ -1060,7 +1060,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1060
1060
  innerHTML: m,
1061
1061
  style: { "margin-right": "3px" }
1062
1062
  }), null, 16, ["type", "innerHTML"]))
1063
- ], 64))), 128)) : (n(), M(D, S({ key: 1 }, t.value, {
1063
+ ], 64))), 128)) : (n(), D(M, S({ key: 1 }, t.value, {
1064
1064
  type: d.value.replace("tag-", ""),
1065
1065
  innerHTML: q.value || f.value
1066
1066
  }), null, 16, ["type", "innerHTML"]))
@@ -1068,7 +1068,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1068
1068
  innerHTML: q.value || f.value
1069
1069
  }), null, 16, pl)) : d.value == "span" ? (n(), F("span", S({ key: 25 }, t.value, {
1070
1070
  innerHTML: q.value || f.value
1071
- }), null, 16, vl)) : (n(), M(lt, S({
1071
+ }), null, 16, vl)) : (n(), D(lt, S({
1072
1072
  key: 26,
1073
1073
  modelValue: f.value,
1074
1074
  "onUpdate:modelValue": o[25] || (o[25] = (m) => f.value = m),
@@ -1163,7 +1163,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1163
1163
  p--, await new Promise((a) => setTimeout(a, 50));
1164
1164
  }
1165
1165
  console.error("表单实例获取失败,请检查组件状态");
1166
- }, ee = async () => {
1166
+ }, te = async () => {
1167
1167
  let o = 5;
1168
1168
  for (; o > 0; ) {
1169
1169
  if (await et(), !d.value) {
@@ -1181,7 +1181,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1181
1181
  }
1182
1182
  console.error("表单实例获取失败,请检查组件状态");
1183
1183
  };
1184
- t.value.form.submit.click = z, t.value.form.reset.click = ee;
1184
+ t.value.form.submit.click = z, t.value.form.reset.click = te;
1185
1185
  const q = {
1186
1186
  type: "hidden",
1187
1187
  labelPosition: "right",
@@ -1275,7 +1275,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1275
1275
  return { ...a, ...j };
1276
1276
  }
1277
1277
  return a;
1278
- }, J = (o) => {
1278
+ }, K = (o) => {
1279
1279
  var p, a, v, g, s;
1280
1280
  const k = typeof o.editor == "function" ? o.editor(x.value, (p = t.value.form) == null ? void 0 : p.modalState) : o.editor;
1281
1281
  return ((a = t.value.form) == null ? void 0 : a.modalState) === "edit" ? ((v = k == null ? void 0 : k.ep) == null ? void 0 : v.type) ?? (k == null ? void 0 : k.type) ?? o.type : ((g = t.value.form) == null ? void 0 : g.modalState) === "add" ? ((s = k == null ? void 0 : k.ap) == null ? void 0 : s.type) ?? (k == null ? void 0 : k.type) ?? o.type : (k == null ? void 0 : k.type) ?? o.type;
@@ -1350,13 +1350,13 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1350
1350
  ], fe = Je(() => de.filter((o) => !o.hidden).sort((o, k) => o.sort - k.sort || o.originalOrder - k.originalOrder));
1351
1351
  return f({
1352
1352
  submit: z,
1353
- reset: ee,
1353
+ reset: te,
1354
1354
  formData: x
1355
1355
  }), (o, k) => {
1356
- var V, j, Z;
1356
+ var V, j, J;
1357
1357
  const p = I("el-form-item"), a = I("el-col"), v = I("el-tab-pane"), g = I("el-tabs"), s = I("el-form"), C = I("el-button");
1358
1358
  return n(), F("div", yl, [
1359
- Q(s, S(
1359
+ Z(s, S(
1360
1360
  {
1361
1361
  ref_key: "gform",
1362
1362
  ref: d,
@@ -1375,14 +1375,14 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1375
1375
  ), {
1376
1376
  default: h(() => [
1377
1377
  ie.value.length > 0 ? y(o.$slots, "default", { key: 0 }, () => [
1378
- Q(g, S({
1378
+ Z(g, S({
1379
1379
  class: "demo-tabs",
1380
1380
  modelValue: ie.value[0].groupName,
1381
1381
  "onUpdate:modelValue": k[0] || (k[0] = (Y) => ie.value[0].groupName = Y),
1382
1382
  style: { width: "100%" }
1383
1383
  }, t.value.form.tabs), {
1384
1384
  default: h(() => [
1385
- (n(!0), F(G, null, L(ie.value, (Y) => (n(), M(v, S({
1385
+ (n(!0), F(G, null, L(ie.value, (Y) => (n(), D(v, S({
1386
1386
  key: Y.groupName,
1387
1387
  label: Y.groupName,
1388
1388
  name: Y.groupName,
@@ -1390,14 +1390,14 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1390
1390
  ref_for: !0
1391
1391
  }, Y.tabPane), {
1392
1392
  default: h(() => [
1393
- (n(!0), F(G, null, L(Y.items, (O, ue) => (n(), M(a, S({ ref_for: !0 }, { ...t.value.form.cols, ...O == null ? void 0 : O.item.col }, {
1393
+ (n(!0), F(G, null, L(Y.items, (O, ue) => (n(), D(a, S({ ref_for: !0 }, { ...t.value.form.cols, ...O == null ? void 0 : O.item.col }, {
1394
1394
  key: O.key,
1395
1395
  style: { width: "100%" }
1396
1396
  }), {
1397
1397
  default: h(() => {
1398
1398
  var ke, _e;
1399
1399
  return [
1400
- Q(p, S({
1400
+ Z(p, S({
1401
1401
  label: O == null ? void 0 : O.item.label,
1402
1402
  prop: O.key,
1403
1403
  rules: se(O == null ? void 0 : O.item),
@@ -1409,12 +1409,12 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1409
1409
  formInfo: x.value,
1410
1410
  model: t.value
1411
1411
  }, () => [
1412
- (n(), M(vt, {
1412
+ (n(), D(vt, {
1413
1413
  modelValue: x.value[O.key],
1414
1414
  "onUpdate:modelValue": (Te) => x.value[O.key] = Te,
1415
1415
  item: re(O),
1416
1416
  ctrlKey: O.key,
1417
- ctrlType: J(O == null ? void 0 : O.item),
1417
+ ctrlType: K(O == null ? void 0 : O.item),
1418
1418
  model: t.value,
1419
1419
  key: `${O.key}-${T.value}`,
1420
1420
  class: "g-ctrl-container",
@@ -1447,14 +1447,14 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1447
1447
  _: 3
1448
1448
  }, 16, ["modelValue"])
1449
1449
  ], !0) : y(o.$slots, "default", { key: 1 }, () => [
1450
- (n(!0), F(G, null, L(ge.value, (Y, O) => (n(), M(a, S({ ref_for: !0 }, { ...t.value.form.cols, ...Y.col }, {
1450
+ (n(!0), F(G, null, L(ge.value, (Y, O) => (n(), D(a, S({ ref_for: !0 }, { ...t.value.form.cols, ...Y.col }, {
1451
1451
  key: O,
1452
1452
  style: { width: "100%" }
1453
1453
  }), {
1454
1454
  default: h(() => {
1455
1455
  var ue;
1456
1456
  return [
1457
- Q(p, S({
1457
+ Z(p, S({
1458
1458
  label: Y.label,
1459
1459
  prop: O,
1460
1460
  rules: se(Y),
@@ -1475,12 +1475,12 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1475
1475
  formInfo: x.value,
1476
1476
  model: t.value
1477
1477
  }, () => [
1478
- (n(), M(vt, {
1478
+ (n(), D(vt, {
1479
1479
  modelValue: x.value[O],
1480
1480
  "onUpdate:modelValue": (ke) => x.value[O] = ke,
1481
1481
  item: re(Y, !0),
1482
1482
  ctrlKey: O,
1483
- ctrlType: J(Y),
1483
+ ctrlType: K(Y),
1484
1484
  key: `${O}-${T.value}`,
1485
1485
  model: t.value,
1486
1486
  class: "g-ctrl-container",
@@ -1510,7 +1510,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1510
1510
  ]),
1511
1511
  _: 3
1512
1512
  }, 16, ["model"]),
1513
- (Z = (j = (V = t.value) == null ? void 0 : V.form) == null ? void 0 : j.footer) != null && Z.hidden ? pe("", !0) : y(o.$slots, "f-footer", { key: 0 }, () => [
1513
+ (J = (j = (V = t.value) == null ? void 0 : V.form) == null ? void 0 : j.footer) != null && J.hidden ? pe("", !0) : y(o.$slots, "f-footer", { key: 0 }, () => [
1514
1514
  X("div", {
1515
1515
  style: Ie(t.value.form.footer.style)
1516
1516
  }, [
@@ -1518,7 +1518,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1518
1518
  (n(!0), F(G, null, L(fe.value, (Y) => (n(), F(G, null, [
1519
1519
  y(o.$slots, Y.name + "-left", {}, void 0, !0),
1520
1520
  y(o.$slots, Y.name, {}, () => [
1521
- Q(C, S({ ref_for: !0 }, Y.info, {
1521
+ Z(C, S({ ref_for: !0 }, Y.info, {
1522
1522
  onClick: mt((O) => Y.click(x.value, t.value), ["stop"])
1523
1523
  }), {
1524
1524
  default: h(() => [
@@ -1560,7 +1560,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1560
1560
  queryModel: t.value,
1561
1561
  model: f.value
1562
1562
  }, () => [
1563
- Q(_, S({
1563
+ Z(_, S({
1564
1564
  label: w.label,
1565
1565
  ref_for: !0
1566
1566
  }, { ...f.value.queryItems, ...d(w) }), {
@@ -1571,9 +1571,9 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1571
1571
  })
1572
1572
  ]),
1573
1573
  default: h(() => [
1574
- Q(vt, {
1574
+ Z(vt, {
1575
1575
  modelValue: t.value[z],
1576
- "onUpdate:modelValue": (ee) => t.value[z] = ee,
1576
+ "onUpdate:modelValue": (te) => t.value[z] = te,
1577
1577
  item: { ...w == null ? void 0 : w.editor, ...d(w) },
1578
1578
  ctrlKey: z,
1579
1579
  ctrlType: E(w),
@@ -1581,10 +1581,10 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1581
1581
  t: "q",
1582
1582
  formInfo: t.value
1583
1583
  }, me({ _: 2 }, [
1584
- L(Object.keys(x.$slots), (ee) => ({
1585
- name: ee,
1584
+ L(Object.keys(x.$slots), (te) => ({
1585
+ name: te,
1586
1586
  fn: h((q) => [
1587
- y(x.$slots, ee, {
1587
+ y(x.$slots, te, {
1588
1588
  data: q,
1589
1589
  item: w,
1590
1590
  model: f.value
@@ -1690,7 +1690,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1690
1690
  };
1691
1691
  r.value.queryItems = qe(_, e == null ? void 0 : e.queryItems, r.value.queryItems);
1692
1692
  const w = (q, B) => {
1693
- const se = Object.keys(q.slots).filter((re) => re !== "default").reduce((re, J) => (re[J] = (ve) => q.slots[J]({
1693
+ const se = Object.keys(q.slots).filter((re) => re !== "default").reduce((re, K) => (re[K] = (ve) => q.slots[K]({
1694
1694
  model: r.value
1695
1695
  // 传递当前模型数据
1696
1696
  }), re), {});
@@ -1701,12 +1701,12 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1701
1701
  "onUpdate:info": (re) => E.value = re,
1702
1702
  more: B
1703
1703
  }, se);
1704
- }, z = Tt(), ee = () => {
1705
- var se, re, J, ve, ge, be, ie, de, fe;
1704
+ }, z = Tt(), te = () => {
1705
+ var se, re, K, ve, ge, be, ie, de, fe;
1706
1706
  const q = [
1707
1707
  {
1708
1708
  key: "query",
1709
- hidden: (J = (re = (se = r.value) == null ? void 0 : se.query) == null ? void 0 : re.query) == null ? void 0 : J.hidden,
1709
+ hidden: (K = (re = (se = r.value) == null ? void 0 : se.query) == null ? void 0 : re.query) == null ? void 0 : K.hidden,
1710
1710
  component: De,
1711
1711
  props: {
1712
1712
  ...r.value.query.query,
@@ -1748,46 +1748,46 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1748
1748
  }) : (ae.props.slot = "query-" + ae.key, ae.label ? Ae(ae.component, ae.props, () => ae.label) : Ae(ae.component, ae.props)));
1749
1749
  };
1750
1750
  return (q, B) => {
1751
- var J, ve, ge, be, ie, de, fe, ae, $e, ne, b, o, k, p, a, v, g;
1751
+ var K, ve, ge, be, ie, de, fe, ae, $e, ne, b, o, k, p, a, v, g;
1752
1752
  const se = I("el-form-item"), re = I("el-drawer");
1753
1753
  return n(), F(G, null, [
1754
1754
  X("div", {
1755
1755
  class: "g-query-container",
1756
- style: Ie((ve = (J = r.value.query) == null ? void 0 : J.container) == null ? void 0 : ve.style)
1756
+ style: Ie((ve = (K = r.value.query) == null ? void 0 : K.container) == null ? void 0 : ve.style)
1757
1757
  }, [
1758
- Q(U(ft), S({
1758
+ Z(U(ft), S({
1759
1759
  onSubmit: B[0] || (B[0] = mt(() => {
1760
1760
  }, ["prevent"]))
1761
1761
  }, U(Ve)(r.value.query, (s) => !["query", "more", "reset", "btns"].includes(s))), {
1762
1762
  default: h(() => {
1763
1763
  var s, C;
1764
1764
  return [
1765
- (n(), M(Ye(w({ slots: q.$slots }, void 0)))),
1766
- ((C = (s = r.value.query) == null ? void 0 : s.container) == null ? void 0 : C.inline) === !0 ? (n(), M(se, { key: 0 }, {
1765
+ (n(), D(Ye(w({ slots: q.$slots }, void 0)))),
1766
+ ((C = (s = r.value.query) == null ? void 0 : s.container) == null ? void 0 : C.inline) === !0 ? (n(), D(se, { key: 0 }, {
1767
1767
  default: h(() => {
1768
- var V, j, Z, Y, O;
1768
+ var V, j, J, Y, O;
1769
1769
  return [
1770
1770
  X("div", {
1771
1771
  style: Ie((j = (V = r.value.query) == null ? void 0 : V.btns) == null ? void 0 : j.style)
1772
1772
  }, [
1773
- r.value.query.group ? (n(), M(U(ct), { key: 0 }, {
1773
+ r.value.query.group ? (n(), D(U(ct), { key: 0 }, {
1774
1774
  default: h(() => [
1775
- (n(!0), F(G, null, L(ee(), (ue) => y(q.$slots, ue.props.slot, {}, () => [
1776
- (n(), M(Ye(ue)))
1775
+ (n(!0), F(G, null, L(te(), (ue) => y(q.$slots, ue.props.slot, {}, () => [
1776
+ (n(), D(Ye(ue)))
1777
1777
  ], !0)), 256)),
1778
1778
  y(q.$slots, "q-btns", {}, void 0, !0)
1779
1779
  ]),
1780
1780
  _: 3
1781
1781
  })) : (n(), F(G, { key: 1 }, [
1782
- (O = (Y = (Z = r.value) == null ? void 0 : Z.query) == null ? void 0 : Y.btns) != null && O.group ? (n(), M(U(ct), { key: 0 }, {
1782
+ (O = (Y = (J = r.value) == null ? void 0 : J.query) == null ? void 0 : Y.btns) != null && O.group ? (n(), D(U(ct), { key: 0 }, {
1783
1783
  default: h(() => [
1784
- (n(!0), F(G, null, L(ee(), (ue) => y(q.$slots, ue.props.slot, {}, () => [
1785
- (n(), M(Ye(ue)))
1784
+ (n(!0), F(G, null, L(te(), (ue) => y(q.$slots, ue.props.slot, {}, () => [
1785
+ (n(), D(Ye(ue)))
1786
1786
  ], !0)), 256))
1787
1787
  ]),
1788
1788
  _: 3
1789
- })) : (n(!0), F(G, { key: 1 }, L(ee(), (ue) => y(q.$slots, ue.props.slot, {}, () => [
1790
- (n(), M(Ye(ue)))
1789
+ })) : (n(!0), F(G, { key: 1 }, L(te(), (ue) => y(q.$slots, ue.props.slot, {}, () => [
1790
+ (n(), D(Ye(ue)))
1791
1791
  ], !0)), 256)),
1792
1792
  y(q.$slots, "q-btns", {}, void 0, !0)
1793
1793
  ], 64))
@@ -1804,30 +1804,30 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1804
1804
  key: 0,
1805
1805
  style: Ie((fe = (de = r.value.query) == null ? void 0 : de.btns) == null ? void 0 : fe.style)
1806
1806
  }, [
1807
- r.value.query.group ? (n(), M(U(ct), { key: 0 }, {
1807
+ r.value.query.group ? (n(), D(U(ct), { key: 0 }, {
1808
1808
  default: h(() => [
1809
- (n(!0), F(G, null, L(ee(), (s) => y(q.$slots, s.props.slot, {}, () => [
1810
- (n(), M(Ye(s)))
1809
+ (n(!0), F(G, null, L(te(), (s) => y(q.$slots, s.props.slot, {}, () => [
1810
+ (n(), D(Ye(s)))
1811
1811
  ], !0)), 256)),
1812
1812
  y(q.$slots, "q-btns", {}, void 0, !0)
1813
1813
  ]),
1814
1814
  _: 3
1815
1815
  })) : (n(), F(G, { key: 1 }, [
1816
- ($e = (ae = r.value.query) == null ? void 0 : ae.btns) != null && $e.group ? (n(), M(U(ct), { key: 0 }, {
1816
+ ($e = (ae = r.value.query) == null ? void 0 : ae.btns) != null && $e.group ? (n(), D(U(ct), { key: 0 }, {
1817
1817
  default: h(() => [
1818
- (n(!0), F(G, null, L(ee(), (s) => y(q.$slots, s.props.slot, {}, () => [
1819
- (n(), M(Ye(s)))
1818
+ (n(!0), F(G, null, L(te(), (s) => y(q.$slots, s.props.slot, {}, () => [
1819
+ (n(), D(Ye(s)))
1820
1820
  ], !0)), 256))
1821
1821
  ]),
1822
1822
  _: 3
1823
- })) : (n(!0), F(G, { key: 1 }, L(ee(), (s) => y(q.$slots, s.props.slot, {}, () => [
1824
- (n(), M(Ye(s)))
1823
+ })) : (n(!0), F(G, { key: 1 }, L(te(), (s) => y(q.$slots, s.props.slot, {}, () => [
1824
+ (n(), D(Ye(s)))
1825
1825
  ], !0)), 256)),
1826
1826
  y(q.$slots, "q-btns", {}, void 0, !0)
1827
1827
  ], 64))
1828
1828
  ], 4)) : pe("", !0)
1829
1829
  ], 4),
1830
- d.value && !((o = (b = (ne = r.value) == null ? void 0 : ne.query) == null ? void 0 : b.more) != null && o.hidden) && r.value.query.more.mode == 2 ? (n(), M(re, S({
1830
+ d.value && !((o = (b = (ne = r.value) == null ? void 0 : ne.query) == null ? void 0 : b.more) != null && o.hidden) && r.value.query.more.mode == 2 ? (n(), D(re, S({
1831
1831
  key: 0,
1832
1832
  modelValue: d.value,
1833
1833
  "onUpdate:modelValue": B[6] || (B[6] = (s) => d.value = s),
@@ -1835,12 +1835,12 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1835
1835
  "show-close": !1
1836
1836
  }, r.value.query.more.dialog), me({
1837
1837
  default: h(() => [
1838
- Q(U(ft), S({
1838
+ Z(U(ft), S({
1839
1839
  onSubmit: B[3] || (B[3] = mt(() => {
1840
1840
  }, ["prevent"]))
1841
1841
  }, U(Ve)(r.value.query, (s) => !["query", "more", "reset"].includes(s)), { style: { width: "98%" } }), {
1842
1842
  default: h(() => [
1843
- Q(Dt, {
1843
+ Z(Dt, {
1844
1844
  modelValue: r.value,
1845
1845
  "onUpdate:modelValue": B[1] || (B[1] = (s) => r.value = s),
1846
1846
  info: E.value,
@@ -1864,7 +1864,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1864
1864
  name: "footer",
1865
1865
  fn: h(() => [
1866
1866
  X("div", gt(Rt(r.value.query.more.dialog.footer)), [
1867
- Q(U(De), S(r.value.query.query, {
1867
+ Z(U(De), S(r.value.query.query, {
1868
1868
  onClick: B[4] || (B[4] = (s) => r.value.query.query.click())
1869
1869
  }), {
1870
1870
  default: h(() => [
@@ -1872,7 +1872,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1872
1872
  ]),
1873
1873
  _: 1
1874
1874
  }, 16),
1875
- Q(U(De), S(r.value.query.reset, {
1875
+ Z(U(De), S(r.value.query.reset, {
1876
1876
  onClick: B[5] || (B[5] = (s) => r.value.query.reset.click())
1877
1877
  }), {
1878
1878
  default: h(() => [
@@ -1885,7 +1885,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1885
1885
  key: "0"
1886
1886
  }
1887
1887
  ]), 1040, ["modelValue"])) : pe("", !0),
1888
- Q(Lt, {
1888
+ Z(Lt, {
1889
1889
  duration: 300,
1890
1890
  name: "nested",
1891
1891
  style: { padding: "10px" }
@@ -1895,13 +1895,13 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1895
1895
  return [
1896
1896
  d.value && !((V = (C = (s = r.value) == null ? void 0 : s.query) == null ? void 0 : C.more) != null && V.hidden) && r.value.query.more.mode == 1 ? (n(), F("div", bl, [
1897
1897
  X("div", $l, [
1898
- r.value.query.more.mode == 1 ? jt((n(), M(U(ft), S({
1898
+ r.value.query.more.mode == 1 ? jt((n(), D(U(ft), S({
1899
1899
  key: 0,
1900
1900
  onSubmit: B[7] || (B[7] = mt(() => {
1901
1901
  }, ["prevent"]))
1902
1902
  }, U(Ve)(r.value.query, (j) => !["query", "more", "reset"].includes(j))), {
1903
1903
  default: h(() => [
1904
- (n(), M(Ye(w({ slots: q.$slots }, !0))))
1904
+ (n(), D(Ye(w({ slots: q.$slots }, !0))))
1905
1905
  ]),
1906
1906
  _: 1
1907
1907
  }, 16)), [
@@ -1960,7 +1960,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1960
1960
  _ && _.destroy();
1961
1961
  });
1962
1962
  }), (T, _) => {
1963
- const w = I("el-divider"), z = I("el-alert"), ee = I("el-checkbox"), q = I("el-button");
1963
+ const w = I("el-divider"), z = I("el-alert"), te = I("el-checkbox"), q = I("el-button");
1964
1964
  return n(), F("div", _l, [
1965
1965
  X("div", kl, [
1966
1966
  X("div", Cl, [
@@ -1968,13 +1968,13 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1968
1968
  onClick: d,
1969
1969
  style: { cursor: "pointer" }
1970
1970
  }, "全选"),
1971
- Q(w, { direction: "vertical" }),
1971
+ Z(w, { direction: "vertical" }),
1972
1972
  X("a", {
1973
1973
  onClick: E,
1974
1974
  style: { cursor: "pointer" }
1975
1975
  }, "全不选")
1976
1976
  ]),
1977
- Q(z, {
1977
+ Z(z, {
1978
1978
  title: "拖动列标题可以改变表格列的生成顺序 !",
1979
1979
  type: "warning",
1980
1980
  "show-icon": "",
@@ -1983,7 +1983,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
1983
1983
  }),
1984
1984
  _[0] || (_[0] = X("div", { style: { margin: "1px 0" } }, null, -1)),
1985
1985
  X("div", Dl, [
1986
- (n(!0), F(G, null, L(e.value, (B) => (n(), M(ee, {
1986
+ (n(!0), F(G, null, L(e.value, (B) => (n(), D(te, {
1987
1987
  class: "check-box-hover",
1988
1988
  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" },
1989
1989
  "data-id": B.key,
@@ -2003,7 +2003,7 @@ const yt = /* @__PURE__ */ al(rl), We = (i, f) => {
2003
2003
  ])
2004
2004
  ]),
2005
2005
  X("div", Vl, [
2006
- Q(q, {
2006
+ Z(q, {
2007
2007
  type: "primary",
2008
2008
  onClick: x,
2009
2009
  disabled: e.value.filter((B) => B.value).length < 1
@@ -2086,11 +2086,11 @@ const Al = {
2086
2086
  //
2087
2087
  sort: !0,
2088
2088
  onEnd: () => {
2089
- w.toArray().forEach(async (ee, q) => {
2090
- t.value[ee].sort = q;
2091
- let B = t.value[ee].width || "auto";
2089
+ w.toArray().forEach(async (te, q) => {
2090
+ t.value[te].sort = q;
2091
+ let B = t.value[te].width || "auto";
2092
2092
  try {
2093
- await rt(t.value.table.user, f.name, ee, { sort: q, width: B });
2093
+ await rt(t.value.table.user, f.name, te, { sort: q, width: B });
2094
2094
  } catch (se) {
2095
2095
  console.error("列排序和宽度保存信息时出错:", se), Fe({
2096
2096
  type: "error",
@@ -2156,16 +2156,16 @@ const Al = {
2156
2156
  width: w.width || "auto"
2157
2157
  })).sort((_, w) => _.sort - w.sort), d();
2158
2158
  }), (_, w) => {
2159
- const z = I("el-divider"), ee = I("el-alert"), q = I("el-checkbox");
2159
+ const z = I("el-divider"), te = I("el-alert"), q = I("el-checkbox");
2160
2160
  return n(), F("div", null, [
2161
2161
  X("div", Al, [
2162
2162
  X("a", { onClick: E }, "全选"),
2163
- Q(z, { direction: "vertical" }),
2163
+ Z(z, { direction: "vertical" }),
2164
2164
  X("a", { onClick: x }, "全不选"),
2165
- Q(z, { direction: "vertical" }),
2165
+ Z(z, { direction: "vertical" }),
2166
2166
  X("a", { onClick: T }, "复位")
2167
2167
  ]),
2168
- Q(ee, {
2168
+ Z(te, {
2169
2169
  title: "拖动表格列标题可以改变表格列显示顺序 !",
2170
2170
  type: "warning",
2171
2171
  "show-icon": "",
@@ -2174,7 +2174,7 @@ const Al = {
2174
2174
  }),
2175
2175
  X("div", null, [
2176
2176
  X("div", Il, [
2177
- (n(!0), F(G, null, L(r.value, (B) => (n(), M(q, {
2177
+ (n(!0), F(G, null, L(r.value, (B) => (n(), D(q, {
2178
2178
  modelValue: B.showCol,
2179
2179
  "onUpdate:modelValue": (se) => B.showCol = se,
2180
2180
  "data-id": B.value,
@@ -2226,7 +2226,7 @@ const Al = {
2226
2226
  onClick: r,
2227
2227
  title: "复制内容"
2228
2228
  }, [
2229
- Q(U(Zt))
2229
+ Z(U(Zt))
2230
2230
  ])
2231
2231
  ]),
2232
2232
  X("div", Ll, ye(f.content), 1)
@@ -2292,7 +2292,7 @@ const Al = {
2292
2292
  "filter-multiple",
2293
2293
  "filter-method",
2294
2294
  "filtered-value"
2295
- ], ee = le([]), q = i, B = kt(), se = le({}), re = le([]), J = le(null), ve = le(""), ge = le({
2295
+ ], te = le([]), q = i, B = kt(), se = le({}), re = le([]), K = le(null), ve = le(""), ge = le({
2296
2296
  autoWatch: !1,
2297
2297
  data: [],
2298
2298
  border: !0,
@@ -2306,27 +2306,27 @@ const Al = {
2306
2306
  t(
2307
2307
  "load",
2308
2308
  { currentPage: l, pageSize: u, ...E.value },
2309
- (c = [], D = 0, { fields: H = [], sums: N = {} } = {}) => {
2310
- var te, Ee;
2309
+ (c = [], M = 0, { fields: H = [], sums: N = {} } = {}) => {
2310
+ var Q, Ee;
2311
2311
  if (!Array.isArray(c)) {
2312
2312
  console.error("从 load 事件回调中接收到的数据不是数组格式。"), Fe.error("数据加载失败,请检查数据格式。");
2313
2313
  return;
2314
2314
  }
2315
- if (typeof D != "number") {
2315
+ if (typeof M != "number") {
2316
2316
  console.error("从 load 事件回调中接收到的 total 不是数字格式。"), Fe.error("数据加载失败,请检查数据格式。");
2317
2317
  return;
2318
2318
  }
2319
- e.value.table.data = c, ((Ee = (te = e.value.control) == null ? void 0 : te.add) == null ? void 0 : Ee.inline) === !0 && e.value.table.data.unshift(J.value), e.value.table.page.total = D, re.value = H, se.value = N, Se(), ve.value = Math.random().toString(36).substring(2);
2319
+ e.value.table.data = c, ((Ee = (Q = e.value.control) == null ? void 0 : Q.add) == null ? void 0 : Ee.inline) === !0 && e.value.table.data.unshift(K.value), e.value.table.page.total = M, re.value = H, se.value = N, Se(), ve.value = Math.random().toString(36).substring(2);
2320
2320
  },
2321
- J.value
2321
+ K.value
2322
2322
  );
2323
2323
  } catch (c) {
2324
2324
  console.error("触发 load 事件时出现错误:", c), Fe.error("数据加载时出现错误,请稍后重试。");
2325
2325
  }
2326
2326
  },
2327
2327
  onHeaderDragend: (l, u, c) => {
2328
- var D;
2329
- rt((D = e.value.table) == null ? void 0 : D.user, q.name, c.property, {
2328
+ var M;
2329
+ rt((M = e.value.table) == null ? void 0 : M.user, q.name, c.property, {
2330
2330
  width: l
2331
2331
  });
2332
2332
  },
@@ -2356,7 +2356,7 @@ const Al = {
2356
2356
  },
2357
2357
  dblclickType: "edit",
2358
2358
  "summary-method": ({ columns: l, data: u }, c) => c,
2359
- onSortChange: ({ column: l, prop: u, order: c }, D) => {
2359
+ onSortChange: ({ column: l, prop: u, order: c }, M) => {
2360
2360
  }
2361
2361
  });
2362
2362
  e.value.table = qe(
@@ -2387,25 +2387,25 @@ const Al = {
2387
2387
  text: !0,
2388
2388
  type: "success",
2389
2389
  mode: "dialog",
2390
- auth: (l, u, c) => !1
2390
+ auth: (l, u, c, M) => !1
2391
2391
  },
2392
2392
  edit: {
2393
2393
  label: "编辑",
2394
2394
  text: !0,
2395
2395
  type: "primary",
2396
2396
  mode: "dialog",
2397
- auth: (l, u, c) => {
2398
- var D, H, N;
2399
- return ((N = (H = (D = e.value) == null ? void 0 : D.control) == null ? void 0 : H.add) == null ? void 0 : N.inline) === !1;
2397
+ auth: (l, u, c, M) => {
2398
+ var H, N, Q;
2399
+ return ((Q = (N = (H = M.value) == null ? void 0 : H.control) == null ? void 0 : N.add) == null ? void 0 : Q.inline) === !1;
2400
2400
  }
2401
2401
  },
2402
2402
  delete: {
2403
2403
  text: !0,
2404
2404
  label: "删除",
2405
2405
  type: "danger",
2406
- auth: (l, u, c) => {
2407
- var D, H, N;
2408
- return !(((N = (H = (D = e.value) == null ? void 0 : D.control) == null ? void 0 : H.add) == null ? void 0 : N.inline) === !0 && c === 0);
2406
+ auth: (l, u, c, M) => {
2407
+ var H, N, Q;
2408
+ return !(((Q = (N = (H = M.value) == null ? void 0 : H.control) == null ? void 0 : N.add) == null ? void 0 : Q.inline) === !0 && c === 0);
2409
2409
  },
2410
2410
  dialog: {
2411
2411
  message: "此操作将永久删除该文件, 是否继续?",
@@ -2423,14 +2423,14 @@ const Al = {
2423
2423
  type: "primary",
2424
2424
  mode: "dialog",
2425
2425
  excelLabel: "DOWNLOAD",
2426
- auth: () => !1
2426
+ auth: (l) => !1
2427
2427
  },
2428
2428
  setting: {
2429
2429
  label: "设置列",
2430
2430
  text: !1,
2431
2431
  type: "primary",
2432
2432
  mode: "dialog",
2433
- auth: () => !0
2433
+ auth: (l) => !0
2434
2434
  },
2435
2435
  save: {
2436
2436
  label: "保存",
@@ -2443,17 +2443,17 @@ const Al = {
2443
2443
  return ((c = (u = (l = e.value) == null ? void 0 : l.control) == null ? void 0 : u.add) == null ? void 0 : c.inline) === !0;
2444
2444
  }
2445
2445
  },
2446
- dropdown: (l, u, c, D) => ({
2446
+ dropdown: (l, u, c, M) => ({
2447
2447
  label: "编辑",
2448
2448
  operate: "edit",
2449
2449
  "split-button": !0,
2450
2450
  type: "primary",
2451
2451
  size: "small",
2452
- auth: () => !(D.control.add.inline === !0 && c == 0),
2452
+ auth: () => !(M.control.add.inline === !0 && c == 0),
2453
2453
  onClick: () => {
2454
2454
  var N;
2455
- let H = (N = ie(l, u, c, D)) == null ? void 0 : N.operate;
2456
- H === "edit" ? p(l, u, c, D) : H === "delete" ? a(l, u, c, D) : H === "view" && v(l, u, c, D);
2455
+ let H = (N = ie(l, u, c, M)) == null ? void 0 : N.operate;
2456
+ H === "edit" ? p(l, u, c, M) : H === "delete" ? a(l, u, c, M) : H === "view" && v(l, u, c, M);
2457
2457
  },
2458
2458
  "button-props": { round: !0, plain: !0 }
2459
2459
  })
@@ -2463,17 +2463,17 @@ const Al = {
2463
2463
  d == null ? void 0 : d.control,
2464
2464
  (tt = e.value) == null ? void 0 : tt.control
2465
2465
  );
2466
- const ie = (l, u, c, D) => {
2466
+ const ie = (l, u, c, M) => {
2467
2467
  var Ee, Ce, Le, m, W, ce;
2468
2468
  if (!l || !u || c == null)
2469
2469
  return console.warn("mergeDropdown: 缺少必要的参数(row, column或index)"), {};
2470
- const H = ((Ee = be.dropdown) == null ? void 0 : Ee.call(be, l, u, c, D)) || {}, N = ((Le = (Ce = d == null ? void 0 : d.control) == null ? void 0 : Ce.dropdown) == null ? void 0 : Le.call(Ce, l, u, c, D)) || {}, te = ((ce = (W = (m = e.value) == null ? void 0 : m.control) == null ? void 0 : W.dropdown) == null ? void 0 : ce.call(W, l, u, c, D)) || {};
2471
- return qe(H, N, te) || {};
2470
+ const H = ((Ee = be.dropdown) == null ? void 0 : Ee.call(be, l, u, c, M)) || {}, N = ((Le = (Ce = d == null ? void 0 : d.control) == null ? void 0 : Ce.dropdown) == null ? void 0 : Le.call(Ce, l, u, c, M)) || {}, Q = ((ce = (W = (m = e.value) == null ? void 0 : m.control) == null ? void 0 : W.dropdown) == null ? void 0 : ce.call(W, l, u, c, M)) || {};
2471
+ return qe(H, N, Q) || {};
2472
2472
  }, de = {
2473
2473
  type: "hidden",
2474
2474
  "min-width": 100,
2475
2475
  align: "center",
2476
- formatter: (l, u, c, D) => c,
2476
+ formatter: (l, u, c, M) => c,
2477
2477
  "tooltip-formatter": ({ row: l, column: u, cellValue: c }) => Ae(zl, { content: c, column: u })
2478
2478
  };
2479
2479
  e.value.tableColumns = qe(
@@ -2554,14 +2554,14 @@ const Al = {
2554
2554
  e.value.form.modalState = "add";
2555
2555
  try {
2556
2556
  if (!await ((u = e.value.control) == null ? void 0 : u.validate("add", { m: l }))) return;
2557
- } catch (D) {
2558
- console.error("验证失败:", D);
2557
+ } catch (M) {
2558
+ console.error("验证失败:", M);
2559
2559
  return;
2560
2560
  }
2561
- (c = e.value.control.add) != null && c.click ? e.value.control.add.click(l) : e.value.control.add.inline === !0 ? (e.value.table.data.unshift(J.value), t("open", "row-add", { initFormData: J.value })) : (e.value.form.disabled = !1, e.value.form.submit.hidden = !1, e.value.form.reset.hidden = !1, e.value.dialog.mode = e.value.control.add.mode, e.value.dialog.title = e.value.control.add.label, Object.keys(J.value).forEach((D) => {
2562
- e.value[D] && (e.value[D].value = J.value[D]);
2561
+ (c = e.value.control.add) != null && c.click ? e.value.control.add.click(l) : e.value.control.add.inline === !0 ? (e.value.table.data.unshift(K.value), t("open", "row-add", { initFormData: K.value })) : (e.value.form.disabled = !1, e.value.form.submit.hidden = !1, e.value.form.reset.hidden = !1, e.value.dialog.mode = e.value.control.add.mode, e.value.dialog.title = e.value.control.add.label, Object.keys(K.value).forEach((M) => {
2562
+ e.value[M] && (e.value[M].value = K.value[M]);
2563
2563
  }), w.value = !0, t("open", "add", { m: l }), pt());
2564
- }, p = async (l, u, c, D) => {
2564
+ }, p = async (l, u, c, M) => {
2565
2565
  var H, N;
2566
2566
  e.value.form.modalState = "edit";
2567
2567
  try {
@@ -2569,36 +2569,36 @@ const Al = {
2569
2569
  row: l,
2570
2570
  column: u,
2571
2571
  $index: c,
2572
- m: D
2572
+ m: M
2573
2573
  }))) return;
2574
- } catch (te) {
2575
- console.error("验证失败:", te);
2574
+ } catch (Q) {
2575
+ console.error("验证失败:", Q);
2576
2576
  return;
2577
2577
  }
2578
- (N = e.value.control.edit) != null && N.click ? e.value.control.edit.click(l, u, c, D) : (e.value.form.disabled = !1, e.value.form.submit.hidden = !1, e.value.form.reset.hidden = !1, e.value.dialog.mode = e.value.control.edit.mode, e.value.dialog.title = e.value.control.edit.label, Object.keys(l).forEach((te) => {
2579
- e.value[te] && (e.value[te].value = l[te]);
2580
- }), w.value = !0, t("open", "edit", { m: D, row: l, column: u, $index: c }), pt());
2581
- }, a = async (l, u, c, D) => {
2578
+ (N = e.value.control.edit) != null && N.click ? e.value.control.edit.click(l, u, c, M) : (e.value.form.disabled = !1, e.value.form.submit.hidden = !1, e.value.form.reset.hidden = !1, e.value.dialog.mode = e.value.control.edit.mode, e.value.dialog.title = e.value.control.edit.label, Object.keys(l).forEach((Q) => {
2579
+ e.value[Q] && (e.value[Q].value = l[Q]);
2580
+ }), w.value = !0, t("open", "edit", { m: M, row: l, column: u, $index: c }), pt());
2581
+ }, a = async (l, u, c, M) => {
2582
2582
  var H, N;
2583
2583
  try {
2584
2584
  if (!await ((H = e.value.control) == null ? void 0 : H.validate("delete", {
2585
2585
  row: l,
2586
2586
  column: u,
2587
2587
  $index: c,
2588
- m: D
2588
+ m: M
2589
2589
  }))) return;
2590
- } catch (te) {
2591
- console.error("验证失败:", te);
2590
+ } catch (Q) {
2591
+ console.error("验证失败:", Q);
2592
2592
  return;
2593
2593
  }
2594
2594
  if ((N = e.value.control.delete) != null && N.click)
2595
- e.value.control.delete.click(l, u, c, D);
2595
+ e.value.control.delete.click(l, u, c, M);
2596
2596
  else {
2597
- let { message: te, title: Ee, options: Ce } = e.value.control.delete.dialog;
2598
- Vt.confirm(te, Ee, Ce).then(() => {
2597
+ let { message: Q, title: Ee, options: Ce } = e.value.control.delete.dialog;
2598
+ Vt.confirm(Q, Ee, Ce).then(() => {
2599
2599
  t(
2600
2600
  "delete",
2601
- { row: l, column: u, $index: c, m: D },
2601
+ { row: l, column: u, $index: c, m: M },
2602
2602
  (Le = !0, m = !1) => {
2603
2603
  Le && (e.value.table.data.splice(c, 1), e.value.table.page.total--), m && e.value.table.load();
2604
2604
  }
@@ -2606,7 +2606,7 @@ const Al = {
2606
2606
  }).catch(() => {
2607
2607
  });
2608
2608
  }
2609
- }, v = async (l, u, c, D) => {
2609
+ }, v = async (l, u, c, M) => {
2610
2610
  var H, N;
2611
2611
  e.value.form.modalState = void 0;
2612
2612
  try {
@@ -2614,23 +2614,23 @@ const Al = {
2614
2614
  row: l,
2615
2615
  column: u,
2616
2616
  $index: c,
2617
- m: D
2617
+ m: M
2618
2618
  }))) return;
2619
- } catch (te) {
2620
- console.error("验证失败:", te);
2619
+ } catch (Q) {
2620
+ console.error("验证失败:", Q);
2621
2621
  return;
2622
2622
  }
2623
- (N = e.value.control.view) != null && N.click ? e.value.control.view.click(l, u, c, D) : (e.value.form.disabled = !0, e.value.form.submit.hidden = !0, e.value.form.reset.hidden = !0, e.value.dialog.mode = e.value.control.view.mode, e.value.dialog.title = e.value.control.view.label, Object.keys(l).forEach((te) => {
2624
- e.value[te] && (e.value[te].value = l[te]);
2625
- }), w.value = !0, t("open", "view", { m: D, row: l, column: u, $index: c }), pt());
2626
- }, g = (l, u, c, D) => {
2623
+ (N = e.value.control.view) != null && N.click ? e.value.control.view.click(l, u, c, M) : (e.value.form.disabled = !0, e.value.form.submit.hidden = !0, e.value.form.reset.hidden = !0, e.value.dialog.mode = e.value.control.view.mode, e.value.dialog.title = e.value.control.view.label, Object.keys(l).forEach((Q) => {
2624
+ e.value[Q] && (e.value[Q].value = l[Q]);
2625
+ }), w.value = !0, t("open", "view", { m: M, row: l, column: u, $index: c }), pt());
2626
+ }, g = (l, u, c, M) => {
2627
2627
  var H;
2628
- (H = e.value.control.save) != null && H.click ? e.value.control.save.click(l, u, c, D) : t(
2628
+ (H = e.value.control.save) != null && H.click ? e.value.control.save.click(l, u, c, M) : t(
2629
2629
  "row-save",
2630
2630
  { row: l, column: u, $index: c, data: e.value.table.data },
2631
- (N = !0, te = !0) => {
2632
- N && e.value.table.load(), te && et(() => {
2633
- J.value = Object.assign(
2631
+ (N = !0, Q = !0) => {
2632
+ N && e.value.table.load(), Q && et(() => {
2633
+ K.value = Object.assign(
2634
2634
  {},
2635
2635
  Object.fromEntries(
2636
2636
  Object.entries(
@@ -2652,17 +2652,17 @@ const Al = {
2652
2652
  if ((c = l.control.download) != null && c.click)
2653
2653
  l.control.download.click(l, u);
2654
2654
  else {
2655
- let D = wt(
2655
+ let M = wt(
2656
2656
  {
2657
2657
  title: l.control.download.label || l.control.download.title,
2658
- size: 480,
2659
- width: 600,
2658
+ size: l.control.download.size || 480,
2659
+ width: l.control.download.width || 600,
2660
2660
  slots: {
2661
2661
  default: () => Ae(Sl, {
2662
2662
  items: u,
2663
2663
  commitText: l.control.download.excelLabel,
2664
2664
  onExcel: (H, N) => {
2665
- t("download", H, E.value, N), D();
2665
+ t("download", H, E.value, N), M();
2666
2666
  }
2667
2667
  })
2668
2668
  }
@@ -2675,8 +2675,8 @@ const Al = {
2675
2675
  (u = l.control.setting) != null && u.click ? l.control.setting.click(l) : wt(
2676
2676
  {
2677
2677
  title: l.control.setting.label || l.control.setting.title,
2678
- size: 470,
2679
- width: 600,
2678
+ size: l.control.setting.size || 470,
2679
+ width: l.control.setting.width || 600,
2680
2680
  slots: {
2681
2681
  default: () => Ae(Ul, {
2682
2682
  modelValue: l,
@@ -2686,7 +2686,7 @@ const Al = {
2686
2686
  },
2687
2687
  l.control.setting.mode
2688
2688
  );
2689
- }, Z = e.value.control, Y = [
2689
+ }, J = e.value.control, Y = [
2690
2690
  { type: "add", func: k },
2691
2691
  { type: "download", func: V },
2692
2692
  { type: "setting", func: j },
@@ -2695,37 +2695,37 @@ const Al = {
2695
2695
  { type: "delete", func: a },
2696
2696
  { type: "save", func: g }
2697
2697
  ], O = (l) => Y.filter((u) => l.includes(u.type)).map(({ type: u, func: c }) => {
2698
- var D, H, N;
2698
+ var M, H, N;
2699
2699
  return {
2700
2700
  name: `control-${u}`,
2701
- attr: Z == null ? void 0 : Z[u],
2701
+ attr: J == null ? void 0 : J[u],
2702
2702
  func: c,
2703
- label: (D = Z == null ? void 0 : Z[u]) == null ? void 0 : D.label,
2704
- sort: ((H = Z == null ? void 0 : Z[u]) == null ? void 0 : H.sort) || 0,
2705
- groupName: ((N = Z == null ? void 0 : Z[u]) == null ? void 0 : N.groupName) || "default"
2703
+ label: (M = J == null ? void 0 : J[u]) == null ? void 0 : M.label,
2704
+ sort: ((H = J == null ? void 0 : J[u]) == null ? void 0 : H.sort) || 0,
2705
+ groupName: ((N = J == null ? void 0 : J[u]) == null ? void 0 : N.groupName) || "default"
2706
2706
  };
2707
2707
  }).sort((u, c) => u.sort - c.sort), ue = (l) => O(l).reduce((u, c) => {
2708
- const D = c.groupName || "default";
2709
- return u[D] || (u[D] = []), u[D].push(c), u;
2708
+ const M = c.groupName || "default";
2709
+ return u[M] || (u[M] = []), u[M].push(c), u;
2710
2710
  }, {}), ke = Je(
2711
2711
  () => Object.fromEntries(
2712
2712
  Object.entries(e.value).filter(([l, u]) => u.type !== "hidden").filter(([l, u]) => u.visible !== !1).filter(([l, u]) => u.showCol !== !1).map(([l, u]) => (u.sort = typeof u.sort == "number" ? u.sort : 0, [l, u])).sort((l, u) => l[1].sort - u[1].sort)
2713
2713
  )
2714
2714
  ), _e = le({}), Te = (l, u) => {
2715
- const c = (D, H) => {
2716
- for (const N of D) {
2715
+ const c = (M, H) => {
2716
+ for (const N of M) {
2717
2717
  if (N.value == H) return N.label;
2718
2718
  if (N.children) {
2719
- const te = c(N.children, H);
2720
- if (te) return te;
2719
+ const Q = c(N.children, H);
2720
+ if (Q) return Q;
2721
2721
  }
2722
2722
  }
2723
2723
  return null;
2724
2724
  };
2725
2725
  if (l.getDicts) {
2726
- const D = u.toString();
2727
- return _e.value[D] ? (l.options = _e.value[D], l.formatter || (l.formatter = (H, N, te, Ee) => l.options && c(l.options, te) || te), Promise.resolve()) : l.getDicts(e.value.table.data).then((H) => {
2728
- _e.value[D] = H, l.options = H, l.formatter || (l.formatter = (N, te, Ee, Ce) => l.options && c(l.options, Ee) || Ee);
2726
+ const M = u.toString();
2727
+ return _e.value[M] ? (l.options = _e.value[M], l.formatter || (l.formatter = (H, N, Q, Ee) => l.options && c(l.options, Q) || Q), Promise.resolve()) : l.getDicts(e.value.table.data).then((H) => {
2728
+ _e.value[M] = H, l.options = H, l.formatter || (l.formatter = (N, Q, Ee, Ce) => l.options && c(l.options, Ee) || Ee);
2729
2729
  });
2730
2730
  }
2731
2731
  return Promise.resolve();
@@ -2734,24 +2734,24 @@ const Al = {
2734
2734
  Object.keys(e.value).forEach((u) => {
2735
2735
  if (e.value[u].getDicts) {
2736
2736
  const c = Te(e.value[u], u).then(() => {
2737
- e.value.table.data.forEach((D) => {
2737
+ e.value.table.data.forEach((M) => {
2738
2738
  var H;
2739
2739
  if (e.value[u].getDicts && ((H = e.value[u]) == null ? void 0 : H.forceString) !== !1) {
2740
- const N = D[u];
2741
- D[u] = N != null ? N.toString() : N;
2740
+ const N = M[u];
2741
+ M[u] = N != null ? N.toString() : N;
2742
2742
  }
2743
2743
  });
2744
- }).catch((D) => {
2745
- console.error(`加载字典${u}出错:`, D);
2744
+ }).catch((M) => {
2745
+ console.error(`加载字典${u}出错:`, M);
2746
2746
  });
2747
2747
  l.push(c);
2748
2748
  }
2749
2749
  }), Promise.all(l).catch((u) => {
2750
2750
  console.error("字典加载过程中发生错误:", u);
2751
2751
  });
2752
- }, we = (l, u, c, D) => {
2752
+ }, we = (l, u, c, M) => {
2753
2753
  var H, N;
2754
- return l.table ? (H = l.table(u, c, D)) != null && H.auth ? (N = l.table(u, c, D)) == null ? void 0 : N.auth(u, c, D) : !0 : !1;
2754
+ return l.table ? (H = l.table(u, c, M)) != null && H.auth ? (N = l.table(u, c, M)) == null ? void 0 : N.auth(u, c, M) : !0 : !1;
2755
2755
  }, xe = (l, u) => l.name === "control-save" && u === 0 && e.value.control.add.inline === !0 ? l.attr.addLabel : l.label, Ue = () => {
2756
2756
  if (e.value.dialog.mode == "drawer")
2757
2757
  T.value.handleClose();
@@ -2768,14 +2768,14 @@ const Al = {
2768
2768
  e.value.table.autoWatch && e.value.table.load();
2769
2769
  }), ot(async () => {
2770
2770
  var l;
2771
- if (ee.value = Object.entries(e.value).filter(
2771
+ if (te.value = Object.entries(e.value).filter(
2772
2772
  ([u, c]) => c.type !== "hidden" && c.type !== "control" && c.visible !== !1
2773
2773
  ).map(([u, c]) => ({
2774
2774
  key: u || "",
2775
2775
  label: c.label,
2776
2776
  value: !0
2777
2777
  })), et(() => {
2778
- J.value = Object.assign(
2778
+ K.value = Object.assign(
2779
2779
  {},
2780
2780
  Object.fromEntries(
2781
2781
  Object.entries(
@@ -2821,10 +2821,10 @@ const Al = {
2821
2821
  closeDialog: Ue
2822
2822
  }), (l, u) => {
2823
2823
  var ce, Be, Ke, Ze, dt;
2824
- const c = I("el-icon"), D = I("el-dialog"), H = I("el-drawer"), N = I("el-button-group"), te = I("el-dropdown-item"), Ee = I("el-dropdown-menu"), Ce = I("el-dropdown"), Le = I("el-table-column"), m = I("el-table"), W = I("el-pagination");
2824
+ const c = I("el-icon"), M = I("el-dialog"), H = I("el-drawer"), N = I("el-button-group"), Q = I("el-dropdown-item"), Ee = I("el-dropdown-menu"), Ce = I("el-dropdown"), Le = I("el-table-column"), m = I("el-table"), W = I("el-pagination");
2825
2825
  return n(), F(G, null, [
2826
2826
  e.value.dialog.mode == "dialog" && w.value ? (n(), F("div", Hl, [
2827
- Q(D, S(
2827
+ Z(M, S(
2828
2828
  {
2829
2829
  ref_key: "dialogRef",
2830
2830
  ref: x,
@@ -2839,7 +2839,7 @@ const Al = {
2839
2839
  }
2840
2840
  ), {
2841
2841
  header: h(() => {
2842
- var R, oe, $, P, K, Xe, Ge, je, ze, at;
2842
+ var R, oe, $, P, ee, Xe, Ge, je, ze, at;
2843
2843
  return [
2844
2844
  X("div", Nl, [
2845
2845
  X("div", Pl, [
@@ -2849,15 +2849,15 @@ const Al = {
2849
2849
  ]),
2850
2850
  ((oe = (R = e.value) == null ? void 0 : R.dialog) == null ? void 0 : oe.fullScreen) === !1 ? (n(), F("div", {
2851
2851
  key: 0,
2852
- style: Ie((K = (P = ($ = e.value) == null ? void 0 : $.dialog) == null ? void 0 : P.max) == null ? void 0 : K.style),
2852
+ style: Ie((ee = (P = ($ = e.value) == null ? void 0 : $.dialog) == null ? void 0 : P.max) == null ? void 0 : ee.style),
2853
2853
  onClick: u[0] || (u[0] = (A) => e.value.dialog.fullScreen = !0),
2854
2854
  class: "max"
2855
2855
  }, [
2856
- Q(c, null, {
2856
+ Z(c, null, {
2857
2857
  default: h(() => {
2858
2858
  var A, Oe, Qe;
2859
2859
  return [
2860
- (n(), M(Ye((Qe = (Oe = (A = e.value) == null ? void 0 : A.dialog) == null ? void 0 : Oe.max) == null ? void 0 : Qe.icon)))
2860
+ (n(), D(Ye((Qe = (Oe = (A = e.value) == null ? void 0 : A.dialog) == null ? void 0 : Oe.max) == null ? void 0 : Qe.icon)))
2861
2861
  ];
2862
2862
  }),
2863
2863
  _: 1
@@ -2869,11 +2869,11 @@ const Al = {
2869
2869
  onClick: u[1] || (u[1] = (A) => e.value.dialog.fullScreen = !1),
2870
2870
  class: "max"
2871
2871
  }, [
2872
- Q(c, null, {
2872
+ Z(c, null, {
2873
2873
  default: h(() => {
2874
2874
  var A, Oe, Qe;
2875
2875
  return [
2876
- (n(), M(Ye((Qe = (Oe = (A = e.value) == null ? void 0 : A.dialog) == null ? void 0 : Oe.min) == null ? void 0 : Qe.icon)))
2876
+ (n(), D(Ye((Qe = (Oe = (A = e.value) == null ? void 0 : A.dialog) == null ? void 0 : Oe.min) == null ? void 0 : Qe.icon)))
2877
2877
  ];
2878
2878
  }),
2879
2879
  _: 1
@@ -2885,7 +2885,7 @@ const Al = {
2885
2885
  default: h(() => [
2886
2886
  X("div", Wl, [
2887
2887
  y(l.$slots, "table-dialog-form", { model: e.value }, () => [
2888
- Q(bt, {
2888
+ Z(bt, {
2889
2889
  modelValue: e.value,
2890
2890
  "onUpdate:modelValue": u[2] || (u[2] = (R) => e.value = R),
2891
2891
  onSubmit: s,
@@ -2905,7 +2905,7 @@ const Al = {
2905
2905
  }, 16, ["modelValue", "fullscreen", "width"])
2906
2906
  ])) : pe("", !0),
2907
2907
  e.value.dialog.mode == "drawer" && w.value ? (n(), F("div", Xl, [
2908
- Q(H, S({
2908
+ Z(H, S({
2909
2909
  ref_key: "drawerRef",
2910
2910
  ref: T,
2911
2911
  modelValue: w.value,
@@ -2922,7 +2922,7 @@ const Al = {
2922
2922
  ]),
2923
2923
  default: h(() => [
2924
2924
  y(l.$slots, "table-drawer-form", { model: e.value }, () => [
2925
- Q(bt, {
2925
+ Z(bt, {
2926
2926
  modelValue: e.value,
2927
2927
  "onUpdate:modelValue": u[4] || (u[4] = (R) => e.value = R),
2928
2928
  onSubmit: s,
@@ -2943,7 +2943,7 @@ const Al = {
2943
2943
  X("div", Zl, [
2944
2944
  ((Be = (ce = e.value) == null ? void 0 : ce.query) == null ? void 0 : Be.hidden) != !0 ? (n(), F("div", Jl, [
2945
2945
  y(l.$slots, "query", {}, () => [
2946
- Q(El, {
2946
+ Z(El, {
2947
2947
  modelValue: e.value,
2948
2948
  "onUpdate:modelValue": u[6] || (u[6] = (R) => e.value = R),
2949
2949
  info: E.value,
@@ -2960,49 +2960,49 @@ const Al = {
2960
2960
  ]), (R, oe) => (n(), F(G, null, [
2961
2961
  oe == "default" ? (n(!0), F(G, { key: 0 }, L(R, ($) => (n(), F(G, null, [
2962
2962
  y(l.$slots, $.name + "-left", {}, void 0, !0),
2963
- ($.name === "control-add" ? $.attr.auth() && $.attr.inline === !1 : $.attr.auth()) ? y(l.$slots, $.name, { key: 0 }, () => [
2964
- $.label ? (n(), M(U(De), S({
2963
+ ($.name === "control-add" ? $.attr.auth(e.value) && $.attr.inline === !1 : $.attr.auth(e.value)) ? y(l.$slots, $.name, { key: 0 }, () => [
2964
+ $.label ? (n(), D(U(De), S({
2965
2965
  key: 0,
2966
2966
  title: $.label,
2967
2967
  ref_for: !0
2968
2968
  }, $.attr, {
2969
- onClick: (P) => $.func(e.value, ee.value)
2969
+ onClick: (P) => $.func(e.value, te.value)
2970
2970
  }), {
2971
2971
  default: h(() => [
2972
2972
  Me(ye($.label), 1)
2973
2973
  ]),
2974
2974
  _: 2
2975
- }, 1040, ["title", "onClick"])) : (n(), M(U(De), S({
2975
+ }, 1040, ["title", "onClick"])) : (n(), D(U(De), S({
2976
2976
  key: 1,
2977
2977
  title: $.label,
2978
2978
  ref_for: !0
2979
2979
  }, $.attr, {
2980
- onClick: (P) => $.func(e.value, ee.value)
2980
+ onClick: (P) => $.func(e.value, te.value)
2981
2981
  }), null, 16, ["title", "onClick"]))
2982
2982
  ], !0) : pe("", !0),
2983
2983
  y(l.$slots, $.name + "-right", {}, void 0, !0)
2984
- ], 64))), 256)) : (n(), M(N, { key: 1 }, {
2984
+ ], 64))), 256)) : (n(), D(N, { key: 1 }, {
2985
2985
  default: h(() => [
2986
2986
  (n(!0), F(G, null, L(R, ($) => (n(), F(G, null, [
2987
2987
  y(l.$slots, $.name + "-left", {}, void 0, !0),
2988
- ($.name === "control-add" ? $.attr.auth() && $.attr.inline === !1 : $.attr.auth()) ? y(l.$slots, $.name, { key: 0 }, () => [
2989
- $.label ? (n(), M(U(De), S({
2988
+ ($.name === "control-add" ? $.attr.auth(e.value) && $.attr.inline === !1 : $.attr.auth(e.value)) ? y(l.$slots, $.name, { key: 0 }, () => [
2989
+ $.label ? (n(), D(U(De), S({
2990
2990
  key: 0,
2991
2991
  title: $.label,
2992
2992
  ref_for: !0
2993
2993
  }, $.attr, {
2994
- onClick: (P) => $.func(e.value, ee.value)
2994
+ onClick: (P) => $.func(e.value, te.value)
2995
2995
  }), {
2996
2996
  default: h(() => [
2997
2997
  Me(ye($.label), 1)
2998
2998
  ]),
2999
2999
  _: 2
3000
- }, 1040, ["title", "onClick"])) : (n(), M(U(De), S({
3000
+ }, 1040, ["title", "onClick"])) : (n(), D(U(De), S({
3001
3001
  key: 1,
3002
3002
  title: $.label,
3003
3003
  ref_for: !0
3004
3004
  }, $.attr, {
3005
- onClick: (P) => $.func(e.value, ee.value)
3005
+ onClick: (P) => $.func(e.value, te.value)
3006
3006
  }), null, 16, ["title", "onClick"]))
3007
3007
  ], !0) : pe("", !0),
3008
3008
  y(l.$slots, $.name + "-right", {}, void 0, !0)
@@ -3025,7 +3025,7 @@ const Al = {
3025
3025
  ], !0)
3026
3026
  ])) : pe("", !0),
3027
3027
  X("div", Kl, [
3028
- Q(m, S({
3028
+ Z(m, S({
3029
3029
  ...l.$attrs,
3030
3030
  ...U(Ve)(
3031
3031
  e.value.table,
@@ -3046,7 +3046,7 @@ const Al = {
3046
3046
  ]),
3047
3047
  default: h(() => [
3048
3048
  y(l.$slots, "default", {}, () => [
3049
- (n(!0), F(G, null, L(ke.value, (R, oe) => (n(), M(Le, S({
3049
+ (n(!0), F(G, null, L(ke.value, (R, oe) => (n(), D(Le, S({
3050
3050
  prop: oe,
3051
3051
  key: oe,
3052
3052
  ref_for: !0
@@ -3074,17 +3074,17 @@ const Al = {
3074
3074
  }, [
3075
3075
  R.type === "expand" ? {
3076
3076
  name: "default",
3077
- fn: h(({ row: $, column: P, $index: K }) => [
3077
+ fn: h(({ row: $, column: P, $index: ee }) => [
3078
3078
  y(l.$slots, `${oe}`, {
3079
3079
  row: $,
3080
3080
  column: P,
3081
- $index: K
3081
+ $index: ee
3082
3082
  }, void 0, !0)
3083
3083
  ]),
3084
3084
  key: "0"
3085
3085
  } : R.type == "control" ? {
3086
3086
  name: "default",
3087
- fn: h(({ row: $, column: P, $index: K }) => {
3087
+ fn: h(({ row: $, column: P, $index: ee }) => {
3088
3088
  var Xe, Ge;
3089
3089
  return [
3090
3090
  X("div", {
@@ -3095,7 +3095,7 @@ const Al = {
3095
3095
  y(l.$slots, "control-left", {
3096
3096
  row: $,
3097
3097
  column: P,
3098
- $index: K
3098
+ $index: ee
3099
3099
  }, void 0, !0),
3100
3100
  (n(!0), F(G, null, L(ue([
3101
3101
  "view",
@@ -3109,44 +3109,44 @@ const Al = {
3109
3109
  y(l.$slots, A.name + "-left", {
3110
3110
  row: $,
3111
3111
  column: P,
3112
- $index: K
3112
+ $index: ee
3113
3113
  }, void 0, !0),
3114
- A.attr.auth($, P, K) ? y(l.$slots, A.name, {
3114
+ A.attr.auth($, P, ee, e.value) ? y(l.$slots, A.name, {
3115
3115
  key: 0,
3116
3116
  row: $,
3117
3117
  column: P,
3118
- $index: K
3118
+ $index: ee
3119
3119
  }, () => [
3120
- A.label ? (n(), M(U(De), S({
3120
+ A.label ? (n(), D(U(De), S({
3121
3121
  key: 0,
3122
3122
  title: A.label,
3123
3123
  ref_for: !0
3124
3124
  }, A.attr, {
3125
- onClick: (Oe) => A.func($, P, K, e.value)
3125
+ onClick: (Oe) => A.func($, P, ee, e.value)
3126
3126
  }), {
3127
3127
  default: h(() => [
3128
- Me(ye(xe(A, K)), 1)
3128
+ Me(ye(xe(A, ee)), 1)
3129
3129
  ]),
3130
3130
  _: 2
3131
- }, 1040, ["title", "onClick"])) : (n(), M(U(De), S({
3131
+ }, 1040, ["title", "onClick"])) : (n(), D(U(De), S({
3132
3132
  key: 1,
3133
3133
  title: A.label,
3134
3134
  ref_for: !0
3135
3135
  }, A.attr, {
3136
- onClick: (Oe) => A.func($, P, K, e.value)
3136
+ onClick: (Oe) => A.func($, P, ee, e.value)
3137
3137
  }), null, 16, ["title", "onClick"]))
3138
3138
  ], !0) : pe("", !0),
3139
3139
  y(l.$slots, A.name + "-right", {
3140
3140
  row: $,
3141
3141
  column: P,
3142
- $index: K
3142
+ $index: ee
3143
3143
  }, void 0, !0)
3144
- ], 64))), 256)) : ze != null && ze.startsWith("dropdown") && ((at = ie($, P, K, e.value)) != null && at.auth()) ? (n(), M(Ce, S({
3144
+ ], 64))), 256)) : ze != null && ze.startsWith("dropdown") && ((at = ie($, P, ee, e.value)) != null && at.auth()) ? (n(), D(Ce, S({
3145
3145
  key: 1,
3146
3146
  ref_for: !0
3147
- }, ie($, P, K, e.value)), {
3147
+ }, ie($, P, ee, e.value)), {
3148
3148
  dropdown: h(() => [
3149
- Q(Ee, null, {
3149
+ Z(Ee, null, {
3150
3150
  default: h(() => [
3151
3151
  (n(!0), F(G, null, L(je, (A) => {
3152
3152
  var Oe, Qe, Ct;
@@ -3155,9 +3155,9 @@ const Al = {
3155
3155
  key: 0,
3156
3156
  row: $,
3157
3157
  column: P,
3158
- $index: K
3158
+ $index: ee
3159
3159
  }, void 0, !0) : pe("", !0),
3160
- A.attr.auth($, P, K) ? (n(), M(te, S({
3160
+ A.attr.auth($, P, ee, e.value) ? (n(), D(Q, S({
3161
3161
  key: 1,
3162
3162
  ref_for: !0
3163
3163
  }, {
@@ -3169,25 +3169,25 @@ const Al = {
3169
3169
  y(l.$slots, A.name, {
3170
3170
  row: $,
3171
3171
  column: P,
3172
- $index: K
3172
+ $index: ee
3173
3173
  }, () => [
3174
- A.label ? (n(), M(U(De), S({
3174
+ A.label ? (n(), D(U(De), S({
3175
3175
  key: 0,
3176
3176
  title: A.label,
3177
3177
  ref_for: !0
3178
3178
  }, A.attr, {
3179
- onClick: (At) => A.func($, P, K, e.value)
3179
+ onClick: (At) => A.func($, P, ee, e.value)
3180
3180
  }), {
3181
3181
  default: h(() => [
3182
- Me(ye(xe(A, K)), 1)
3182
+ Me(ye(xe(A, ee)), 1)
3183
3183
  ]),
3184
3184
  _: 2
3185
- }, 1040, ["title", "onClick"])) : (n(), M(U(De), S({
3185
+ }, 1040, ["title", "onClick"])) : (n(), D(U(De), S({
3186
3186
  key: 1,
3187
3187
  title: A.label,
3188
3188
  ref_for: !0
3189
3189
  }, A.attr, {
3190
- onClick: (At) => A.func($, P, K, e.value)
3190
+ onClick: (At) => A.func($, P, ee, e.value)
3191
3191
  }), null, 16, ["title", "onClick"]))
3192
3192
  ], !0)
3193
3193
  ]),
@@ -3197,7 +3197,7 @@ const Al = {
3197
3197
  key: 2,
3198
3198
  row: $,
3199
3199
  column: P,
3200
- $index: K
3200
+ $index: ee
3201
3201
  }, void 0, !0) : pe("", !0)
3202
3202
  ], 64);
3203
3203
  }), 256))
@@ -3208,47 +3208,47 @@ const Al = {
3208
3208
  default: h(() => {
3209
3209
  var A;
3210
3210
  return [
3211
- Me(ye((A = ie($, P, K, e.value)) == null ? void 0 : A.label) + " ", 1)
3211
+ Me(ye((A = ie($, P, ee, e.value)) == null ? void 0 : A.label) + " ", 1)
3212
3212
  ];
3213
3213
  }),
3214
3214
  _: 2
3215
- }, 1040)) : (n(), M(N, { key: 2 }, {
3215
+ }, 1040)) : (n(), D(N, { key: 2 }, {
3216
3216
  default: h(() => [
3217
3217
  (n(!0), F(G, null, L(je, (A) => (n(), F(G, null, [
3218
3218
  y(l.$slots, A.name + "-left", {
3219
3219
  row: $,
3220
3220
  column: P,
3221
- $index: K
3221
+ $index: ee
3222
3222
  }, void 0, !0),
3223
- A.attr.auth($, P, K) ? y(l.$slots, A.name, {
3223
+ A.attr.auth($, P, ee, e.value) ? y(l.$slots, A.name, {
3224
3224
  key: 0,
3225
3225
  row: $,
3226
3226
  column: P,
3227
- $index: K
3227
+ $index: ee
3228
3228
  }, () => [
3229
- A.label ? (n(), M(U(De), S({
3229
+ A.label ? (n(), D(U(De), S({
3230
3230
  key: 0,
3231
3231
  title: A.label,
3232
3232
  ref_for: !0
3233
3233
  }, A.attr, {
3234
- onClick: (Oe) => A.func($, P, K, e.value)
3234
+ onClick: (Oe) => A.func($, P, ee, e.value)
3235
3235
  }), {
3236
3236
  default: h(() => [
3237
- Me(ye(xe(A, K)), 1)
3237
+ Me(ye(xe(A, ee)), 1)
3238
3238
  ]),
3239
3239
  _: 2
3240
- }, 1040, ["title", "onClick"])) : (n(), M(U(De), S({
3240
+ }, 1040, ["title", "onClick"])) : (n(), D(U(De), S({
3241
3241
  key: 1,
3242
3242
  title: A.label,
3243
3243
  ref_for: !0
3244
3244
  }, A.attr, {
3245
- onClick: (Oe) => A.func($, P, K, e.value)
3245
+ onClick: (Oe) => A.func($, P, ee, e.value)
3246
3246
  }), null, 16, ["title", "onClick"]))
3247
3247
  ], !0) : pe("", !0),
3248
3248
  y(l.$slots, A.name + "-right", {
3249
3249
  row: $,
3250
3250
  column: P,
3251
- $index: K
3251
+ $index: ee
3252
3252
  }, void 0, !0)
3253
3253
  ], 64))), 256))
3254
3254
  ]),
@@ -3259,7 +3259,7 @@ const Al = {
3259
3259
  y(l.$slots, "control-right", {
3260
3260
  row: $,
3261
3261
  column: P,
3262
- $index: K
3262
+ $index: ee
3263
3263
  }, void 0, !0)
3264
3264
  ], !0)
3265
3265
  ], 6)
@@ -3268,22 +3268,22 @@ const Al = {
3268
3268
  key: "1"
3269
3269
  } : R.type != "selection" && R.type != "index" ? {
3270
3270
  name: "default",
3271
- fn: h(({ row: $, column: P, $index: K }) => [
3272
- we(R, $, P, K) && K != -1 ? y(l.$slots, `${oe}`, {
3271
+ fn: h(({ row: $, column: P, $index: ee }) => [
3272
+ we(R, $, P, ee) && ee != -1 ? y(l.$slots, `${oe}`, {
3273
3273
  key: 0,
3274
3274
  row: $,
3275
3275
  column: P,
3276
- $index: K
3276
+ $index: ee
3277
3277
  }, () => {
3278
3278
  var Xe;
3279
3279
  return [
3280
- (n(), M(vt, {
3280
+ (n(), D(vt, {
3281
3281
  modelValue: $[oe],
3282
3282
  "onUpdate:modelValue": (Ge) => $[oe] = Ge,
3283
- item: R == null ? void 0 : R.table($, P, K),
3283
+ item: R == null ? void 0 : R.table($, P, ee),
3284
3284
  ctrlKey: oe,
3285
- key: `${oe}-${K} -${ve.value}`,
3286
- ctrlType: (Xe = R.table($, P, K)) != null && Xe.type ? R.table($, P, K).type : R.type,
3285
+ key: `${oe}-${ee} -${ve.value}`,
3286
+ ctrlType: (Xe = R.table($, P, ee)) != null && Xe.type ? R.table($, P, ee).type : R.type,
3287
3287
  model: e.value,
3288
3288
  class: "g-ctrl-container",
3289
3289
  t: "t",
@@ -3305,13 +3305,13 @@ const Al = {
3305
3305
  key: 1,
3306
3306
  row: $,
3307
3307
  column: P,
3308
- $index: K
3308
+ $index: ee
3309
3309
  }, () => [
3310
3310
  X("div", {
3311
3311
  style: Ie([{ width: "100%", "text-overflow": "ellipsis", overflow: "hidden" }, R == null ? void 0 : R.style]),
3312
3312
  innerHTML: ne(
3313
3313
  R,
3314
- P.formatter($, P, $[oe], K)
3314
+ P.formatter($, P, $[oe], ee)
3315
3315
  )
3316
3316
  }, null, 12, ea)
3317
3317
  ], !0)
@@ -3324,7 +3324,7 @@ const Al = {
3324
3324
  _: 3
3325
3325
  }, 16, ["summary-method"]),
3326
3326
  (dt = (Ze = (Ke = e.value) == null ? void 0 : Ke.table) == null ? void 0 : Ze.page) != null && dt.hidden ? pe("", !0) : y(l.$slots, "page", { key: 0 }, () => [
3327
- Q(W, S({
3327
+ Z(W, S({
3328
3328
  "page-size": e.value.table.page.pageSize,
3329
3329
  "onUpdate:pageSize": u[9] || (u[9] = (R) => e.value.table.page.pageSize = R),
3330
3330
  "current-page": e.value.table.page.currentPage,
@@ -3341,7 +3341,7 @@ const Al = {
3341
3341
  ], 64);
3342
3342
  };
3343
3343
  }
3344
- }), la = /* @__PURE__ */ We(ta, [["__scopeId", "data-v-500e2bda"]]), aa = { class: "g-tree-table" }, ra = { class: "g-tree-container" }, oa = { class: "g-tree-table-container" }, ua = /* @__PURE__ */ Object.assign({
3344
+ }), la = /* @__PURE__ */ We(ta, [["__scopeId", "data-v-62a9a1b9"]]), aa = { class: "g-tree-table" }, ra = { class: "g-tree-container" }, oa = { class: "g-tree-table-container" }, ua = /* @__PURE__ */ Object.assign({
3345
3345
  name: "g-tree-table",
3346
3346
  inheritAttrs: !1
3347
3347
  }, {
@@ -3355,26 +3355,26 @@ const Al = {
3355
3355
  var q, B, se, re;
3356
3356
  const r = f, t = Pe(i, "modelValue"), e = kt(), d = le(
3357
3357
  typeof ((q = e == null ? void 0 : e.tree) == null ? void 0 : q.width) == "number" ? `${e.tree.width}px` : ((B = e == null ? void 0 : e.tree) == null ? void 0 : B.width) || "180px"
3358
- ), E = le(((se = e == null ? void 0 : e.tree) == null ? void 0 : se.search) === void 0 ? !0 : (re = e == null ? void 0 : e.tree) == null ? void 0 : re.search), x = le({}), T = le(""), _ = le(null), w = (J, ve) => {
3358
+ ), E = le(((se = e == null ? void 0 : e.tree) == null ? void 0 : se.search) === void 0 ? !0 : (re = e == null ? void 0 : e.tree) == null ? void 0 : re.search), x = le({}), T = le(""), _ = le(null), w = (K, ve) => {
3359
3359
  var be, ie;
3360
- if (!J) return !0;
3360
+ if (!K) return !0;
3361
3361
  const ge = ((ie = (be = e.tree) == null ? void 0 : be.props) == null ? void 0 : ie.label) || "label";
3362
- return ve[ge].includes(J);
3363
- }, z = (J, ve) => {
3364
- r("load", x.value, J, ve);
3365
- }, ee = (J) => {
3366
- x.value = J, t.value.table.load();
3362
+ return ve[ge].includes(K);
3363
+ }, z = (K, ve) => {
3364
+ r("load", x.value, K, ve);
3365
+ }, te = (K) => {
3366
+ x.value = K, t.value.table.load();
3367
3367
  };
3368
- return Pt(T, (J) => {
3369
- _.value.filter(J);
3370
- }), (J, ve) => {
3368
+ return Pt(T, (K) => {
3369
+ _.value.filter(K);
3370
+ }), (K, ve) => {
3371
3371
  const ge = I("el-input"), be = I("el-tree"), ie = I("g-table");
3372
3372
  return n(), F("div", aa, [
3373
3373
  X("div", {
3374
3374
  class: "g-tree-left",
3375
3375
  style: Ie({ width: d.value })
3376
3376
  }, [
3377
- E.value ? (n(), M(ge, {
3377
+ E.value ? (n(), D(ge, {
3378
3378
  key: 0,
3379
3379
  modelValue: T.value,
3380
3380
  "onUpdate:modelValue": ve[0] || (ve[0] = (de) => T.value = de),
@@ -3383,16 +3383,16 @@ const Al = {
3383
3383
  clearable: ""
3384
3384
  }, null, 8, ["modelValue"])) : pe("", !0),
3385
3385
  X("div", ra, [
3386
- Q(be, S({
3386
+ Z(be, S({
3387
3387
  style: { width: d.value },
3388
3388
  "filter-node-method": w,
3389
3389
  "expand-on-click-node": !1,
3390
3390
  ref_key: "treeRef",
3391
3391
  ref: _,
3392
- onNodeClick: ee
3393
- }, J.$attrs.tree), me({
3392
+ onNodeClick: te
3393
+ }, K.$attrs.tree), me({
3394
3394
  default: h(({ node: de, data: fe }) => [
3395
- y(J.$slots, "tree", {
3395
+ y(K.$slots, "tree", {
3396
3396
  node: de,
3397
3397
  data: fe
3398
3398
  }, () => [
@@ -3401,24 +3401,24 @@ const Al = {
3401
3401
  ]),
3402
3402
  _: 2
3403
3403
  }, [
3404
- L(J.$slots, (de, fe, ae) => ({
3404
+ L(K.$slots, (de, fe, ae) => ({
3405
3405
  name: fe,
3406
3406
  fn: h(($e) => [
3407
- y(J.$slots, fe, { data: $e }, void 0, !0)
3407
+ y(K.$slots, fe, { data: $e }, void 0, !0)
3408
3408
  ])
3409
3409
  }))
3410
3410
  ]), 1040, ["style"])
3411
3411
  ])
3412
3412
  ], 4),
3413
3413
  X("div", oa, [
3414
- Q(ie, S({
3414
+ Z(ie, S({
3415
3415
  modelValue: t.value,
3416
3416
  "onUpdate:modelValue": ve[1] || (ve[1] = (de) => t.value = de)
3417
- }, J.$attrs, { onLoad: z }), me({ _: 2 }, [
3418
- L(J.$slots, (de, fe, ae) => ({
3417
+ }, K.$attrs, { onLoad: z }), me({ _: 2 }, [
3418
+ L(K.$slots, (de, fe, ae) => ({
3419
3419
  name: fe,
3420
3420
  fn: h(($e) => [
3421
- y(J.$slots, fe, { data: $e }, void 0, !0)
3421
+ y(K.$slots, fe, { data: $e }, void 0, !0)
3422
3422
  ])
3423
3423
  }))
3424
3424
  ]), 1040, ["modelValue"])
@@ -3667,8 +3667,8 @@ const he = {
3667
3667
  w.preventDefault(), r = !0, t = w.clientX, e = w.clientY, d = parseInt(document.defaultView.getComputedStyle(i).width), E = parseInt(document.defaultView.getComputedStyle(i).height), document.addEventListener("mousemove", T), document.addEventListener("mouseup", _);
3668
3668
  }, T = (w) => {
3669
3669
  if (!r) return;
3670
- const z = Math.max(300, d + w.clientX - t), ee = Math.max(200, E + w.clientY - e);
3671
- i.style.width = `${z}px`, i.style.height = `${ee}px`;
3670
+ const z = Math.max(300, d + w.clientX - t), te = Math.max(200, E + w.clientY - e);
3671
+ i.style.width = `${z}px`, i.style.height = `${te}px`;
3672
3672
  }, _ = () => {
3673
3673
  r = !1, document.removeEventListener("mousemove", T), document.removeEventListener("mouseup", _);
3674
3674
  };