vue-2024-ui 0.0.42 → 0.0.44

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 lt, { ElMessage as ye, ElMessageBox as Ke, ElDialog as ot, ElDrawer as at } from "element-plus";
2
- import { mergeModels as ke, useModel as Ve, ref as be, onMounted as Fe, resolveComponent as A, openBlock as w, createElementBlock as le, unref as a, createBlock as O, mergeProps as D, withCtx as d, renderSlot as $, Fragment as fe, renderList as P, createTextVNode as se, toDisplayString as Z, createSlots as Q, normalizeProps as Ce, createVNode as R, createElementVNode as W, useSlots as rt, inject as Pe, useAttrs as ut, computed as xe, normalizeStyle as Me, withModifiers as Xe, createCommentVNode as ue, guardReactiveProps as Oe, Transition as nt, withDirectives as qe, vShow as Be, onBeforeUnmount as st, normalizeClass as Qe, watchEffect as it, h as Ue, createApp as dt } from "vue";
2
+ import { mergeModels as Ve, useModel as Ce, ref as be, onMounted as Fe, resolveComponent as A, openBlock as w, createElementBlock as le, unref as a, createBlock as O, mergeProps as x, withCtx as d, renderSlot as $, Fragment as fe, renderList as P, createTextVNode as se, toDisplayString as Z, createSlots as Q, normalizeProps as ke, createVNode as R, createElementVNode as W, useSlots as rt, inject as Pe, useAttrs as ut, computed as xe, normalizeStyle as Se, withModifiers as Xe, createCommentVNode as ue, guardReactiveProps as Me, Transition as nt, withDirectives as qe, vShow as Be, onBeforeUnmount as st, normalizeClass as Qe, watchEffect as it, h as Ue, createApp as dt } from "vue";
3
3
  import { FullScreen as ct, Remove as ft } from "@element-plus/icons-vue";
4
4
  import Je from "sortablejs";
5
5
  import { Dexie as mt } from "dexie";
@@ -189,7 +189,7 @@ var Ze = { exports: {} };
189
189
  (function(t, e) {
190
190
  c.exports = e();
191
191
  })(vt, function() {
192
- var t = 1e3, e = 6e4, n = 36e5, f = "millisecond", E = "second", I = "minute", x = "hour", y = "day", M = "week", q = "month", B = "quarter", V = "year", m = "date", ee = "Invalid Date", ce = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, ge = /\[([^\]]+)]|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, g = { 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(u) {
192
+ var t = 1e3, e = 6e4, n = 36e5, f = "millisecond", E = "second", I = "minute", D = "hour", y = "day", M = "week", q = "month", B = "quarter", V = "year", m = "date", ee = "Invalid Date", ce = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, ge = /\[([^\]]+)]|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, g = { 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(u) {
193
193
  var b = ["th", "st", "nd", "rd"], i = u % 100;
194
194
  return "[" + u + (b[(i - 20) % 10] || b[i] || b[0]) + "]";
195
195
  } }, U = function(u, b, i) {
@@ -205,7 +205,7 @@ var Ze = { exports: {} };
205
205
  }, a: function(u) {
206
206
  return u < 0 ? Math.ceil(u) || 0 : Math.floor(u);
207
207
  }, p: function(u) {
208
- return { M: q, y: V, w: M, d: y, D: m, h: x, m: I, s: E, ms: f, Q: B }[u] || String(u || "").toLowerCase().replace(/s$/, "");
208
+ return { M: q, y: V, w: M, d: y, D: m, h: D, m: I, s: E, ms: f, Q: B }[u] || String(u || "").toLowerCase().replace(/s$/, "");
209
209
  }, u: function(u) {
210
210
  return u === void 0;
211
211
  } }, C = "en", te = {};
@@ -291,7 +291,7 @@ var Ze = { exports: {} };
291
291
  case y:
292
292
  case m:
293
293
  return L(k + "Hours", 0);
294
- case x:
294
+ case D:
295
295
  return L(k + "Minutes", 1);
296
296
  case I:
297
297
  return L(k + "Seconds", 2);
@@ -303,7 +303,7 @@ var Ze = { exports: {} };
303
303
  }, b.endOf = function(i) {
304
304
  return this.startOf(i, !1);
305
305
  }, b.$set = function(i, v) {
306
- var p, _ = h.p(i), T = "set" + (this.$u ? "UTC" : ""), j = (p = {}, p[y] = T + "Date", p[m] = T + "Date", p[q] = T + "Month", p[V] = T + "FullYear", p[x] = T + "Hours", p[I] = T + "Minutes", p[E] = T + "Seconds", p[f] = T + "Milliseconds", p)[_], L = _ === y ? this.$D + (v - this.$W) : v;
306
+ var p, _ = h.p(i), T = "set" + (this.$u ? "UTC" : ""), j = (p = {}, p[y] = T + "Date", p[m] = T + "Date", p[q] = T + "Month", p[V] = T + "FullYear", p[D] = T + "Hours", p[I] = T + "Minutes", p[E] = T + "Seconds", p[f] = T + "Milliseconds", p)[_], L = _ === y ? this.$D + (v - this.$W) : v;
307
307
  if (_ === q || _ === V) {
308
308
  var o = this.clone().set(m, 1);
309
309
  o.$d[j](L), o.init(), this.$d = o.set(m, Math.min(this.$D, o.daysInMonth())).$d;
@@ -324,7 +324,7 @@ var Ze = { exports: {} };
324
324
  if (T === V) return this.set(V, this.$y + i);
325
325
  if (T === y) return j(1);
326
326
  if (T === M) return j(7);
327
- var L = (p = {}, p[I] = e, p[x] = n, p[E] = t, p)[T] || 1, o = this.$d.getTime() + i * L;
327
+ var L = (p = {}, p[I] = e, p[D] = n, p[E] = t, p)[T] || 1, o = this.$d.getTime() + i * L;
328
328
  return h.w(o, this);
329
329
  }, b.subtract = function(i, v) {
330
330
  return this.add(-1 * i, v);
@@ -416,7 +416,7 @@ var Ze = { exports: {} };
416
416
  case y:
417
417
  _ = (r - o) / 864e5;
418
418
  break;
419
- case x:
419
+ case D:
420
420
  _ = r / n;
421
421
  break;
422
422
  case I:
@@ -449,7 +449,7 @@ var Ze = { exports: {} };
449
449
  return this.$d.toUTCString();
450
450
  }, u;
451
451
  }(), z = Y.prototype;
452
- return S.prototype = z, [["$ms", f], ["$s", E], ["$m", I], ["$H", x], ["$W", y], ["$M", q], ["$y", V], ["$D", m]].forEach(function(u) {
452
+ return S.prototype = z, [["$ms", f], ["$s", E], ["$m", I], ["$H", D], ["$W", y], ["$M", q], ["$y", V], ["$D", m]].forEach(function(u) {
453
453
  z[u[1]] = function(b) {
454
454
  return this.$g(b, u[0], u[1]);
455
455
  };
@@ -469,13 +469,13 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
469
469
  style: { position: "relative" }
470
470
  }, $t = ["title"], _e = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
471
471
  __name: "g-ctrl",
472
- props: /* @__PURE__ */ ke(["t", "ctrlKey", "item", "model", "ctrlType"], {
472
+ props: /* @__PURE__ */ Ve(["t", "ctrlKey", "item", "model", "ctrlType"], {
473
473
  modelValue: { required: !0 },
474
474
  modelModifiers: {}
475
475
  }),
476
476
  emits: ["update:modelValue"],
477
477
  setup(c) {
478
- const s = Ve(c, "modelValue"), t = c, e = t.item || {}, n = t.ctrlKey, f = t.ctrlType, E = t.model, I = be([]), x = () => Object.keys(rt()).filter((V) => V.startsWith(`${t.t}-${n}-`)).map((V) => V.replace(`${t.t}-${n}-`, "")), y = {
478
+ const s = Ce(c, "modelValue"), t = c, e = t.item || {}, n = t.ctrlKey, f = t.ctrlType, E = t.model, I = be([]), D = () => Object.keys(rt()).filter((V) => V.startsWith(`${t.t}-${n}-`)).map((V) => V.replace(`${t.t}-${n}-`, "")), y = {
479
479
  filterable: !0,
480
480
  remote: !!(e && e["remote-method"]),
481
481
  ...e
@@ -509,14 +509,14 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
509
509
  var o, r;
510
510
  const ee = A("el-radio"), ce = A("el-radio-group"), ge = A("el-radio-button"), g = A("el-checkbox"), U = A("el-checkbox-group"), oe = A("el-checkbox-button"), C = A("el-option"), te = A("el-option-group"), J = A("el-select"), K = A("el-tree-select"), me = A("el-time-picker"), S = A("el-time-select"), h = A("el-date-picker"), Y = A("el-color-picker"), z = A("el-rate"), u = A("el-slider"), b = A("el-switch"), i = A("el-transfer"), v = A("el-cascader"), p = A("el-button"), _ = A("el-upload"), T = A("el-autocomplete"), j = A("el-input-number"), L = A("el-input");
511
511
  return w(), le("div", yt, [
512
- a(f) == a(re).RADIO ? (w(), O(ce, D({
512
+ a(f) == a(re).RADIO ? (w(), O(ce, x({
513
513
  key: 0,
514
514
  modelValue: s.value,
515
515
  "onUpdate:modelValue": m[0] || (m[0] = (l) => s.value = l)
516
516
  }, a(e)), {
517
517
  default: d(() => [
518
518
  $(V.$slots, `${t.t}-${a(n)}`, { data: a(e) }, () => [
519
- (w(!0), le(fe, null, P(a(E)[a(n)].options, (l) => (w(), O(ee, D({ ref_for: !0 }, l), {
519
+ (w(!0), le(fe, null, P(a(E)[a(n)].options, (l) => (w(), O(ee, x({ ref_for: !0 }, l), {
520
520
  default: d(() => [
521
521
  $(V.$slots, `${t.t}-${a(n)}-options`, { option: l })
522
522
  ]),
@@ -525,14 +525,14 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
525
525
  ])
526
526
  ]),
527
527
  _: 3
528
- }, 16, ["modelValue"])) : a(f) == a(re).RADIOBUTTON ? (w(), O(ce, D({
528
+ }, 16, ["modelValue"])) : a(f) == a(re).RADIOBUTTON ? (w(), O(ce, x({
529
529
  key: 1,
530
530
  modelValue: s.value,
531
531
  "onUpdate:modelValue": m[1] || (m[1] = (l) => s.value = l)
532
532
  }, a(e)), {
533
533
  default: d(() => [
534
534
  $(V.$slots, `${t.t}-${a(n)}`, { data: a(e) }, () => [
535
- (w(!0), le(fe, null, P(a(E)[a(n)].options, (l) => (w(), O(ge, D({ ref_for: !0 }, l), {
535
+ (w(!0), le(fe, null, P(a(E)[a(n)].options, (l) => (w(), O(ge, x({ ref_for: !0 }, l), {
536
536
  default: d(() => [
537
537
  $(V.$slots, `${t.t}-${a(n)}-options`, { option: l })
538
538
  ]),
@@ -541,7 +541,7 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
541
541
  ])
542
542
  ]),
543
543
  _: 3
544
- }, 16, ["modelValue"])) : a(f) == a(re).CHECKBOX ? (w(), O(g, D({
544
+ }, 16, ["modelValue"])) : a(f) == a(re).CHECKBOX ? (w(), O(g, x({
545
545
  key: 2,
546
546
  modelValue: s.value,
547
547
  "onUpdate:modelValue": m[2] || (m[2] = (l) => s.value = l)
@@ -552,14 +552,14 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
552
552
  ])
553
553
  ]),
554
554
  _: 3
555
- }, 16, ["modelValue"])) : a(f) == a(re).CHECKBOXGROUP ? (w(), O(U, D({
555
+ }, 16, ["modelValue"])) : a(f) == a(re).CHECKBOXGROUP ? (w(), O(U, x({
556
556
  key: 3,
557
557
  modelValue: s.value,
558
558
  "onUpdate:modelValue": m[3] || (m[3] = (l) => s.value = l)
559
559
  }, a(e)), {
560
560
  default: d(() => [
561
561
  $(V.$slots, `${t.t}-${a(n)}`, { data: a(e) }, () => [
562
- (w(!0), le(fe, null, P(a(E)[a(n)].options, (l) => (w(), O(g, D({ ref_for: !0 }, l), {
562
+ (w(!0), le(fe, null, P(a(E)[a(n)].options, (l) => (w(), O(g, x({ ref_for: !0 }, l), {
563
563
  default: d(() => [
564
564
  $(V.$slots, `${t.t}-${a(n)}-options`, { option: l }, () => [
565
565
  se(Z(l.label), 1)
@@ -570,14 +570,14 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
570
570
  ])
571
571
  ]),
572
572
  _: 3
573
- }, 16, ["modelValue"])) : a(f) == a(re).CHECKBOXGROUPBUTTON ? (w(), O(U, D({
573
+ }, 16, ["modelValue"])) : a(f) == a(re).CHECKBOXGROUPBUTTON ? (w(), O(U, x({
574
574
  key: 4,
575
575
  modelValue: s.value,
576
576
  "onUpdate:modelValue": m[4] || (m[4] = (l) => s.value = l)
577
577
  }, a(e)), {
578
578
  default: d(() => [
579
579
  $(V.$slots, `${t.t}-${a(n)}`, { data: a(e) }, () => [
580
- (w(!0), le(fe, null, P(a(E)[a(n)].options, (l) => (w(), O(oe, D({ ref_for: !0 }, l), {
580
+ (w(!0), le(fe, null, P(a(E)[a(n)].options, (l) => (w(), O(oe, x({ ref_for: !0 }, l), {
581
581
  default: d(() => [
582
582
  $(V.$slots, `${t.t}-${a(n)}-options`, { option: l })
583
583
  ]),
@@ -586,7 +586,7 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
586
586
  ])
587
587
  ]),
588
588
  _: 3
589
- }, 16, ["modelValue"])) : a(f) === a(re).SELECT ? (w(), O(J, D({
589
+ }, 16, ["modelValue"])) : a(f) === a(re).SELECT ? (w(), O(J, x({
590
590
  key: 5,
591
591
  modelValue: s.value,
592
592
  "onUpdate:modelValue": m[5] || (m[5] = (l) => s.value = l),
@@ -603,7 +603,7 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
603
603
  label: F.label
604
604
  }, {
605
605
  default: d(() => [
606
- (w(!0), le(fe, null, P(F.options, (H) => (w(), O(C, D({ ref_for: !0 }, H, {
606
+ (w(!0), le(fe, null, P(F.options, (H) => (w(), O(C, x({ ref_for: !0 }, H, {
607
607
  key: H.value,
608
608
  onClick: (ne) => y.change && y.change(H)
609
609
  }), {
@@ -614,7 +614,7 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
614
614
  }, 1040, ["onClick"]))), 128))
615
615
  ]),
616
616
  _: 2
617
- }, 1032, ["label"]))), 128)) : (w(!0), le(fe, { key: 1 }, P(a(E)[a(n)].options, (F) => (w(), O(C, D({ ref_for: !0 }, F, {
617
+ }, 1032, ["label"]))), 128)) : (w(!0), le(fe, { key: 1 }, P(a(E)[a(n)].options, (F) => (w(), O(C, x({ ref_for: !0 }, F, {
618
618
  key: F.value,
619
619
  onClick: (H) => y.change && y.change(F)
620
620
  }), {
@@ -628,32 +628,32 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
628
628
  ]),
629
629
  _: 2
630
630
  }, [
631
- P(x(), (l) => ({
631
+ P(D(), (l) => ({
632
632
  name: l,
633
633
  fn: d((k) => [
634
634
  $(V.$slots, `${t.t}-${a(n)}-${l}`, { data: k })
635
635
  ])
636
636
  }))
637
- ]), 1040, ["modelValue", "placeholder"])) : a(f) == a(re).TREESELECT ? (w(), O(K, D({
637
+ ]), 1040, ["modelValue", "placeholder"])) : a(f) == a(re).TREESELECT ? (w(), O(K, x({
638
638
  key: 6,
639
639
  modelValue: s.value,
640
640
  "onUpdate:modelValue": m[6] || (m[6] = (l) => s.value = l),
641
641
  placeholder: a(E)[a(n)].label
642
642
  }, a(e), { data: I.value }), Q({ _: 2 }, [
643
- P(x(), (l) => ({
643
+ P(D(), (l) => ({
644
644
  name: l,
645
645
  fn: d((k) => [
646
646
  $(V.$slots, `${t.t}-${a(n)}-${l}`, { data: k })
647
647
  ])
648
648
  }))
649
- ]), 1040, ["modelValue", "placeholder", "data"])) : a(f) == a(re).TIME ? (w(), O(me, D({
649
+ ]), 1040, ["modelValue", "placeholder", "data"])) : a(f) == a(re).TIME ? (w(), O(me, x({
650
650
  key: 7,
651
651
  modelValue: s.value,
652
652
  "onUpdate:modelValue": m[7] || (m[7] = (l) => s.value = l),
653
653
  "arrow-control": ""
654
654
  }, a(e), {
655
655
  placeholder: a(E)[a(n)].label
656
- }), null, 16, ["modelValue", "placeholder"])) : a(f) == a(re).TIMESELECT ? (w(), O(S, D({
656
+ }), null, 16, ["modelValue", "placeholder"])) : a(f) == a(re).TIMESELECT ? (w(), O(S, x({
657
657
  key: 8,
658
658
  modelValue: s.value,
659
659
  "onUpdate:modelValue": m[8] || (m[8] = (l) => s.value = l),
@@ -661,80 +661,80 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
661
661
  step: "00:15",
662
662
  end: "23:30",
663
663
  placeholder: a(E)[a(n)].label
664
- }, a(e)), null, 16, ["modelValue", "placeholder"])) : a(f) == a(re).DATE ? (w(), O(h, D({
664
+ }, a(e)), null, 16, ["modelValue", "placeholder"])) : a(f) == a(re).DATE ? (w(), O(h, x({
665
665
  key: 9,
666
666
  modelValue: s.value,
667
667
  "onUpdate:modelValue": m[9] || (m[9] = (l) => s.value = l),
668
668
  type: "date",
669
669
  placeholder: a(E)[a(n)].label
670
670
  }, a(e)), Q({ _: 2 }, [
671
- P(x(), (l) => ({
671
+ P(D(), (l) => ({
672
672
  name: l,
673
673
  fn: d((k) => [
674
674
  $(V.$slots, `${t.t}-${a(n)}-${l}`, { data: k })
675
675
  ])
676
676
  }))
677
- ]), 1040, ["modelValue", "placeholder"])) : a(f) == a(re).DATETIME ? (w(), O(h, D({
677
+ ]), 1040, ["modelValue", "placeholder"])) : a(f) == a(re).DATETIME ? (w(), O(h, x({
678
678
  key: 10,
679
679
  modelValue: s.value,
680
680
  "onUpdate:modelValue": m[10] || (m[10] = (l) => s.value = l),
681
681
  type: a(re).DATETIME,
682
682
  placeholder: a(E)[a(n)].label
683
683
  }, a(e)), Q({ _: 2 }, [
684
- P(x(), (l) => ({
684
+ P(D(), (l) => ({
685
685
  name: l,
686
686
  fn: d((k) => [
687
687
  $(V.$slots, `${t.t}-${a(n)}-${l}`, { data: k })
688
688
  ])
689
689
  }))
690
- ]), 1040, ["modelValue", "type", "placeholder"])) : a(f) == a(re).COLOR ? (w(), O(Y, D({
690
+ ]), 1040, ["modelValue", "type", "placeholder"])) : a(f) == a(re).COLOR ? (w(), O(Y, x({
691
691
  key: 11,
692
692
  modelValue: s.value,
693
693
  "onUpdate:modelValue": m[11] || (m[11] = (l) => s.value = l)
694
- }, a(e)), null, 16, ["modelValue"])) : a(f) == a(re).RATE ? (w(), O(z, D({
694
+ }, a(e)), null, 16, ["modelValue"])) : a(f) == a(re).RATE ? (w(), O(z, x({
695
695
  key: 12,
696
696
  modelValue: s.value,
697
697
  "onUpdate:modelValue": m[12] || (m[12] = (l) => s.value = l)
698
- }, a(e)), null, 16, ["modelValue"])) : a(f) == a(re).SLIDER ? (w(), O(u, D({
698
+ }, a(e)), null, 16, ["modelValue"])) : a(f) == a(re).SLIDER ? (w(), O(u, x({
699
699
  key: 13,
700
700
  modelValue: s.value,
701
701
  "onUpdate:modelValue": m[13] || (m[13] = (l) => s.value = l)
702
- }, a(e)), null, 16, ["modelValue"])) : a(f) == a(re).SWITCH ? (w(), O(b, D({
702
+ }, a(e)), null, 16, ["modelValue"])) : a(f) == a(re).SWITCH ? (w(), O(b, x({
703
703
  key: 14,
704
704
  modelValue: s.value,
705
705
  "onUpdate:modelValue": m[14] || (m[14] = (l) => s.value = l)
706
706
  }, a(e)), Q({ _: 2 }, [
707
- P(x(), (l) => ({
707
+ P(D(), (l) => ({
708
708
  name: l,
709
709
  fn: d((k) => [
710
710
  $(V.$slots, `${t.t}-${a(n)}-${l}`, { data: k })
711
711
  ])
712
712
  }))
713
- ]), 1040, ["modelValue"])) : a(f) == a(re).TRANSFER ? (w(), O(i, D({
713
+ ]), 1040, ["modelValue"])) : a(f) == a(re).TRANSFER ? (w(), O(i, x({
714
714
  key: 15,
715
715
  modelValue: s.value,
716
716
  "onUpdate:modelValue": m[15] || (m[15] = (l) => s.value = l)
717
717
  }, a(e)), Q({ _: 2 }, [
718
- P(x(), (l) => ({
718
+ P(D(), (l) => ({
719
719
  name: l,
720
720
  fn: d((k) => [
721
721
  $(V.$slots, `${t.t}-${a(n)}-${l}`, { data: k })
722
722
  ])
723
723
  }))
724
- ]), 1040, ["modelValue"])) : a(f) == a(re).CASCADER ? (w(), O(v, D({
724
+ ]), 1040, ["modelValue"])) : a(f) == a(re).CASCADER ? (w(), O(v, x({
725
725
  key: 16,
726
726
  modelValue: s.value,
727
727
  "onUpdate:modelValue": m[16] || (m[16] = (l) => s.value = l)
728
728
  }, a(e), {
729
729
  options: a(E)[a(n)].options
730
730
  }), Q({ _: 2 }, [
731
- P(x(), (l) => ({
731
+ P(D(), (l) => ({
732
732
  name: l,
733
733
  fn: d((k) => [
734
734
  $(V.$slots, `${t.t}-${a(n)}-${l}`, { data: k })
735
735
  ])
736
736
  }))
737
- ]), 1040, ["modelValue", "options"])) : a(f) == a(re).IMAGE ? (w(), O(_, Ce(D({ key: 17 }, a(e))), Q({
737
+ ]), 1040, ["modelValue", "options"])) : a(f) == a(re).IMAGE ? (w(), O(_, ke(x({ key: 17 }, a(e))), Q({
738
738
  default: d(() => [
739
739
  R(p, { type: "primary" }, {
740
740
  default: d(() => m[22] || (m[22] = [
@@ -745,26 +745,26 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
745
745
  ]),
746
746
  _: 2
747
747
  }, [
748
- P(x(), (l, k) => ({
748
+ P(D(), (l, k) => ({
749
749
  name: l,
750
750
  fn: d((F) => [
751
751
  $(V.$slots, `${t.t}-${a(n)}-${l}`, { data: F })
752
752
  ])
753
753
  }))
754
- ]), 1040)) : a(f) == a(re).AUTOCOMPLETE ? (w(), O(T, D({
754
+ ]), 1040)) : a(f) == a(re).AUTOCOMPLETE ? (w(), O(T, x({
755
755
  key: 18,
756
756
  modelValue: s.value,
757
757
  "onUpdate:modelValue": m[17] || (m[17] = (l) => s.value = l)
758
758
  }, a(e), {
759
759
  placeholder: a(E)[a(n)].label
760
760
  }), Q({ _: 2 }, [
761
- P(x(), (l, k) => ({
761
+ P(D(), (l, k) => ({
762
762
  name: l,
763
763
  fn: d((F) => [
764
764
  $(V.$slots, `${t.t}-${a(n)}-${l}`, { data: F })
765
765
  ])
766
766
  }))
767
- ]), 1040, ["modelValue", "placeholder"])) : a(f) == a(re).INPUTNUMBER ? (w(), O(j, D({
767
+ ]), 1040, ["modelValue", "placeholder"])) : a(f) == a(re).INPUTNUMBER ? (w(), O(j, x({
768
768
  key: 19,
769
769
  modelValue: s.value,
770
770
  "onUpdate:modelValue": m[18] || (m[18] = (l) => s.value = l),
@@ -772,14 +772,14 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
772
772
  max: 1e8,
773
773
  placeholder: a(E)[a(n)].label
774
774
  }, a(e)), Q({ _: 2 }, [
775
- P(x(), (l, k) => ({
775
+ P(D(), (l, k) => ({
776
776
  name: l,
777
777
  fn: d((F) => [
778
778
  $(V.$slots, `${t.t}-${a(n)}-${l}`, { data: F })
779
779
  ])
780
780
  }))
781
781
  ]), 1040, ["modelValue", "placeholder"])) : a(f) == a(re).MONEY ? (w(), le("div", gt, [
782
- R(L, D({
782
+ R(L, x({
783
783
  modelValue: s.value,
784
784
  "onUpdate:modelValue": m[19] || (m[19] = (l) => s.value = l),
785
785
  placeholder: a(E)[a(n)].label,
@@ -796,14 +796,14 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
796
796
  ]),
797
797
  key: "0"
798
798
  } : void 0,
799
- P(x(), (l, k) => ({
799
+ P(D(), (l, k) => ({
800
800
  name: l,
801
801
  fn: d((F) => [
802
802
  $(V.$slots, `${t.t}-${a(n)}-${l}`, { data: F })
803
803
  ])
804
804
  }))
805
805
  ]), 1040, ["modelValue", "placeholder", "type", "maxlength"])
806
- ])) : (w(), O(L, D({
806
+ ])) : (w(), O(L, x({
807
807
  key: 21,
808
808
  modelValue: s.value,
809
809
  "onUpdate:modelValue": m[20] || (m[20] = (l) => s.value = l),
@@ -811,7 +811,7 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
811
811
  maxlength: ((r = a(e)) == null ? void 0 : r.max) || 25,
812
812
  clearable: !0
813
813
  }, { ...a(e), type: a(f) }), Q({ _: 2 }, [
814
- P(x(), (l, k) => ({
814
+ P(D(), (l, k) => ({
815
815
  name: l,
816
816
  fn: d((F) => [
817
817
  $(V.$slots, `${t.t}-${a(n)}-${l}`, { data: F })
@@ -830,10 +830,10 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
830
830
  modelValue: { required: !0 },
831
831
  modelModifiers: {}
832
832
  },
833
- emits: /* @__PURE__ */ ke(["submit", "reset"], ["update:modelValue"]),
833
+ emits: /* @__PURE__ */ Ve(["submit", "reset"], ["update:modelValue"]),
834
834
  setup(c, { emit: s }) {
835
835
  var m, ee, ce, ge;
836
- const t = Ve(c, "modelValue"), e = s, n = be(null), f = Pe("options"), E = {
836
+ const t = Ce(c, "modelValue"), e = s, n = be(null), f = Pe("options"), E = {
837
837
  inline: !0,
838
838
  type: "hidden",
839
839
  "scroll-to-error": !0,
@@ -906,12 +906,12 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
906
906
  f == null ? void 0 : f.formItems,
907
907
  (ce = t == null ? void 0 : t.value) == null ? void 0 : ce.formItems
908
908
  );
909
- const x = {
909
+ const D = {
910
910
  span: 12,
911
911
  offset: 0
912
912
  };
913
913
  t.value.form.cols = he(
914
- x,
914
+ D,
915
915
  (ge = f == null ? void 0 : f.form) == null ? void 0 : ge.cols,
916
916
  t.value.form.cols
917
917
  );
@@ -972,7 +972,7 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
972
972
  });
973
973
  return (g, U) => {
974
974
  const oe = A("el-form-item"), C = A("el-col"), te = A("el-tab-pane"), J = A("el-tabs"), K = A("el-button"), me = A("el-form");
975
- return w(), O(me, D({
975
+ return w(), O(me, x({
976
976
  ref_key: "gform",
977
977
  ref: n,
978
978
  model: t.value,
@@ -982,14 +982,14 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
982
982
  V.value.length > 0 ? $(g.$slots, "default", { key: 0 }, () => {
983
983
  var S, h, Y;
984
984
  return [
985
- R(J, D({
985
+ R(J, x({
986
986
  class: "demo-tabs",
987
987
  modelValue: V.value[0].groupName,
988
988
  "onUpdate:modelValue": U[0] || (U[0] = (z) => V.value[0].groupName = z),
989
989
  style: { width: "100%" }
990
990
  }, t.value.form.tabs), {
991
991
  default: d(() => [
992
- (w(!0), le(fe, null, P(V.value, (z) => (w(), O(te, D({
992
+ (w(!0), le(fe, null, P(V.value, (z) => (w(), O(te, x({
993
993
  key: z.groupName,
994
994
  label: z.groupName,
995
995
  name: z.groupName,
@@ -997,14 +997,14 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
997
997
  ref_for: !0
998
998
  }, z.tabPane), {
999
999
  default: d(() => [
1000
- (w(!0), le(fe, null, P(z.items, (u, b) => (w(), O(C, D({ ref_for: !0 }, { ...t.value.form.cols, ...u == null ? void 0 : u.item.col }, {
1000
+ (w(!0), le(fe, null, P(z.items, (u, b) => (w(), O(C, x({ ref_for: !0 }, { ...t.value.form.cols, ...u == null ? void 0 : u.item.col }, {
1001
1001
  key: u.key,
1002
1002
  style: { width: "100%" }
1003
1003
  }), {
1004
1004
  default: d(() => {
1005
1005
  var i, v;
1006
1006
  return [
1007
- R(oe, D({
1007
+ R(oe, x({
1008
1008
  label: u == null ? void 0 : u.item.label,
1009
1009
  prop: `${u.key}.value`,
1010
1010
  rules: y(u == null ? void 0 : u.item),
@@ -1100,10 +1100,10 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
1100
1100
  var z, u, b, i, v, p;
1101
1101
  return [
1102
1102
  W("div", {
1103
- style: Me(t.value.form.footer.style)
1103
+ style: Se(t.value.form.footer.style)
1104
1104
  }, [
1105
1105
  $(g.$slots, "f-footer-left"),
1106
- (b = (u = (z = t.value) == null ? void 0 : z.form) == null ? void 0 : u.submit) != null && b.hidden ? ue("", !0) : (w(), O(K, D({
1106
+ (b = (u = (z = t.value) == null ? void 0 : z.form) == null ? void 0 : u.submit) != null && b.hidden ? ue("", !0) : (w(), O(K, x({
1107
1107
  key: 0,
1108
1108
  onClick: U[1] || (U[1] = Xe((_) => t.value.form.submit.click(B.value, t.value), ["stop"]))
1109
1109
  }, a(pe)(t.value.form.submit, (_) => !["click"].includes(_))), {
@@ -1115,7 +1115,7 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
1115
1115
  }),
1116
1116
  _: 1
1117
1117
  }, 16)),
1118
- (p = (v = (i = t.value) == null ? void 0 : i.form) == null ? void 0 : v.reset) != null && p.hidden ? ue("", !0) : (w(), O(K, D({
1118
+ (p = (v = (i = t.value) == null ? void 0 : i.form) == null ? void 0 : v.reset) != null && p.hidden ? ue("", !0) : (w(), O(K, x({
1119
1119
  key: 1,
1120
1120
  onClick: U[2] || (U[2] = (_) => t.value.form.reset.click(t.value))
1121
1121
  }, a(pe)(t.value.form.reset, (_) => !["click"].includes(_))), {
@@ -1135,14 +1135,14 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
1135
1135
  }) : $(g.$slots, "default", { key: 1 }, () => {
1136
1136
  var S;
1137
1137
  return [
1138
- (w(!0), le(fe, null, P(q.value, (h, Y) => (w(), O(C, D({ ref_for: !0 }, { ...t.value.form.cols, ...h.col }, {
1138
+ (w(!0), le(fe, null, P(q.value, (h, Y) => (w(), O(C, x({ ref_for: !0 }, { ...t.value.form.cols, ...h.col }, {
1139
1139
  key: Y,
1140
1140
  style: { width: "100%" }
1141
1141
  }), {
1142
1142
  default: d(() => {
1143
1143
  var z;
1144
1144
  return [
1145
- R(oe, D({
1145
+ R(oe, x({
1146
1146
  label: h.label,
1147
1147
  prop: `${Y}.value`,
1148
1148
  rules: y(h),
@@ -1241,10 +1241,10 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
1241
1241
  var h, Y, z, u, b, i;
1242
1242
  return [
1243
1243
  W("div", {
1244
- style: Me(t.value.form.footer.style)
1244
+ style: Se(t.value.form.footer.style)
1245
1245
  }, [
1246
1246
  $(g.$slots, "f-footer-left"),
1247
- (z = (Y = (h = t.value) == null ? void 0 : h.form) == null ? void 0 : Y.submit) != null && z.hidden ? ue("", !0) : (w(), O(K, D({
1247
+ (z = (Y = (h = t.value) == null ? void 0 : h.form) == null ? void 0 : Y.submit) != null && z.hidden ? ue("", !0) : (w(), O(K, x({
1248
1248
  key: 0,
1249
1249
  onClick: U[3] || (U[3] = Xe((v) => t.value.form.submit.click(B.value, t.value), ["stop"]))
1250
1250
  }, a(pe)(t.value.form.submit, (v) => !["click"].includes(v))), {
@@ -1256,7 +1256,7 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
1256
1256
  }),
1257
1257
  _: 1
1258
1258
  }, 16)),
1259
- (i = (b = (u = t.value) == null ? void 0 : u.form) == null ? void 0 : b.reset) != null && i.hidden ? ue("", !0) : (w(), O(K, D({
1259
+ (i = (b = (u = t.value) == null ? void 0 : u.form) == null ? void 0 : b.reset) != null && i.hidden ? ue("", !0) : (w(), O(K, x({
1260
1260
  key: 1,
1261
1261
  onClick: U[4] || (U[4] = (v) => t.value.form.reset.click(t.value))
1262
1262
  }, a(pe)(t.value.form.reset, (v) => !["click"].includes(v))), {
@@ -1281,7 +1281,7 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
1281
1281
  }
1282
1282
  }), Te = {
1283
1283
  __name: "g-query-item",
1284
- props: /* @__PURE__ */ ke(["more"], {
1284
+ props: /* @__PURE__ */ Ve(["more"], {
1285
1285
  modelValue: { required: !0 },
1286
1286
  modelModifiers: {},
1287
1287
  info: { required: !0 },
@@ -1289,21 +1289,21 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
1289
1289
  }),
1290
1290
  emits: ["update:modelValue", "update:info"],
1291
1291
  setup(c) {
1292
- const s = Ve(c, "modelValue"), t = c, e = Ve(c, "info"), n = (f) => xe(() => Object.fromEntries(Object.entries(s.value).filter((E) => E[1].search && E[1].search.more === f).map((E) => [E[0], E[1]]))).value;
1292
+ const s = Ce(c, "modelValue"), t = c, e = Ce(c, "info"), n = (f) => xe(() => Object.fromEntries(Object.entries(s.value).filter((E) => E[1].search && E[1].search.more === f).map((E) => [E[0], E[1]]))).value;
1293
1293
  return (f, E) => {
1294
1294
  const I = A("el-form-item");
1295
- return w(!0), le(fe, null, P(n(t.more), (x, y) => $(f.$slots, `q-${y}`, {
1295
+ return w(!0), le(fe, null, P(n(t.more), (D, y) => $(f.$slots, `q-${y}`, {
1296
1296
  key: y,
1297
- item: x,
1297
+ item: D,
1298
1298
  model: s.value
1299
1299
  }, () => [
1300
- R(I, D({
1301
- label: x.label,
1300
+ R(I, x({
1301
+ label: D.label,
1302
1302
  ref_for: !0
1303
- }, { ...s.value.queryItems, ...x == null ? void 0 : x.search }), {
1303
+ }, { ...s.value.queryItems, ...D == null ? void 0 : D.search }), {
1304
1304
  label: d(() => [
1305
1305
  $(f.$slots, `q-${y}-label`, {
1306
- item: x,
1306
+ item: D,
1307
1307
  model: s.value
1308
1308
  })
1309
1309
  ]),
@@ -1311,9 +1311,9 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
1311
1311
  R(_e, {
1312
1312
  modelValue: e.value[y],
1313
1313
  "onUpdate:modelValue": (M) => e.value[y] = M,
1314
- item: { ...x == null ? void 0 : x.editor, ...x.search },
1314
+ item: { ...D == null ? void 0 : D.editor, ...D.search },
1315
1315
  ctrlKey: y,
1316
- ctrlType: x.type,
1316
+ ctrlType: D.type,
1317
1317
  model: s.value,
1318
1318
  t: "q"
1319
1319
  }, Q({ _: 2 }, [
@@ -1322,7 +1322,7 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
1322
1322
  fn: d((q) => [
1323
1323
  $(f.$slots, M, {
1324
1324
  data: q,
1325
- item: x,
1325
+ item: D,
1326
1326
  model: s.value
1327
1327
  })
1328
1328
  ])
@@ -1334,7 +1334,7 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
1334
1334
  ])), 128);
1335
1335
  };
1336
1336
  }
1337
- }, Se = (c, s) => {
1337
+ }, Oe = (c, s) => {
1338
1338
  const t = c.__vccOpts || c;
1339
1339
  for (const [e, n] of s)
1340
1340
  t[e] = n;
@@ -1351,11 +1351,11 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
1351
1351
  modelValue: { required: !0 },
1352
1352
  modelModifiers: {}
1353
1353
  },
1354
- emits: /* @__PURE__ */ ke(["query", "reset"], ["update:modelValue"]),
1354
+ emits: /* @__PURE__ */ Ve(["query", "reset"], ["update:modelValue"]),
1355
1355
  setup(c, { emit: s }) {
1356
- const t = Ve(c, "modelValue"), e = s, n = Pe("options"), f = be(!1);
1356
+ const t = Ce(c, "modelValue"), e = s, n = Pe("options"), f = be(!1);
1357
1357
  let E = Object.fromEntries(Object.entries(t.value).filter((q) => q[1].search).map(([q, B]) => [q, B.value]));
1358
- const I = be(E), x = {
1358
+ const I = be(E), D = {
1359
1359
  hidden: !1,
1360
1360
  type: "hidden",
1361
1361
  labelWidth: 100,
@@ -1396,7 +1396,7 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
1396
1396
  }
1397
1397
  }
1398
1398
  };
1399
- t.value.query = he(x, n == null ? void 0 : n.query, t.value.query);
1399
+ t.value.query = he(D, n == null ? void 0 : n.query, t.value.query);
1400
1400
  const y = {
1401
1401
  2: {
1402
1402
  title: "更多查询",
@@ -1429,7 +1429,7 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
1429
1429
  var g, U, oe, C, te, J, K, me;
1430
1430
  const V = A("el-form"), m = A("el-button"), ee = A("el-popover"), ce = A("el-form-item"), ge = A("el-drawer");
1431
1431
  return w(), le("div", Et, [
1432
- R(V, Ce(Oe(a(pe)(t.value.query, (S) => !["query", "more", "reset"].includes(S)))), {
1432
+ R(V, ke(Me(a(pe)(t.value.query, (S) => !["query", "more", "reset"].includes(S)))), {
1433
1433
  default: d(() => [
1434
1434
  R(Te, {
1435
1435
  modelValue: t.value,
@@ -1455,9 +1455,9 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
1455
1455
  var S, h, Y, z, u, b, i, v, p, _, T, j;
1456
1456
  return [
1457
1457
  W("div", {
1458
- style: Me(t.value.query.btns.style)
1458
+ style: Se(t.value.query.btns.style)
1459
1459
  }, [
1460
- ((Y = (h = (S = t.value) == null ? void 0 : S.query) == null ? void 0 : h.query) == null ? void 0 : Y.hidden) != !0 ? (w(), O(m, D({ key: 0 }, t.value.query.query, {
1460
+ ((Y = (h = (S = t.value) == null ? void 0 : S.query) == null ? void 0 : h.query) == null ? void 0 : Y.hidden) != !0 ? (w(), O(m, x({ key: 0 }, t.value.query.query, {
1461
1461
  onClick: B[2] || (B[2] = (L) => t.value.query.query.click())
1462
1462
  }), {
1463
1463
  default: d(() => [
@@ -1465,7 +1465,7 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
1465
1465
  ]),
1466
1466
  _: 1
1467
1467
  }, 16)) : ue("", !0),
1468
- ((b = (u = (z = t.value) == null ? void 0 : z.query) == null ? void 0 : u.reset) == null ? void 0 : b.hidden) != !0 ? (w(), O(m, D({ key: 1 }, t.value.query.reset, {
1468
+ ((b = (u = (z = t.value) == null ? void 0 : z.query) == null ? void 0 : u.reset) == null ? void 0 : b.hidden) != !0 ? (w(), O(m, x({ key: 1 }, t.value.query.reset, {
1469
1469
  onClick: B[3] || (B[3] = (L) => t.value.query.reset.click())
1470
1470
  }), {
1471
1471
  default: d(() => [
@@ -1473,7 +1473,7 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
1473
1473
  ]),
1474
1474
  _: 1
1475
1475
  }, 16)) : ue("", !0),
1476
- ((p = (v = (i = t.value) == null ? void 0 : i.query) == null ? void 0 : v.more) == null ? void 0 : p.hidden) !== !0 && t.value.query.more.mode !== 3 ? (w(), O(m, D({ key: 2 }, t.value.query.more, {
1476
+ ((p = (v = (i = t.value) == null ? void 0 : i.query) == null ? void 0 : v.more) == null ? void 0 : p.hidden) !== !0 && t.value.query.more.mode !== 3 ? (w(), O(m, x({ key: 2 }, t.value.query.more, {
1477
1477
  onClick: B[4] || (B[4] = (L) => t.value.query.more.click())
1478
1478
  }), {
1479
1479
  default: d(() => [
@@ -1481,9 +1481,9 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
1481
1481
  ]),
1482
1482
  _: 1
1483
1483
  }, 16)) : ue("", !0),
1484
- t.value.query.more.mode == 3 && ((j = (T = (_ = t.value) == null ? void 0 : _.query) == null ? void 0 : T.more) == null ? void 0 : j.hidden) !== !0 ? (w(), O(ee, Ce(D({ key: 3 }, t.value.query.more.dialog)), {
1484
+ t.value.query.more.mode == 3 && ((j = (T = (_ = t.value) == null ? void 0 : _.query) == null ? void 0 : T.more) == null ? void 0 : j.hidden) !== !0 ? (w(), O(ee, ke(x({ key: 3 }, t.value.query.more.dialog)), {
1485
1485
  reference: d(() => [
1486
- R(m, Ce(Oe(t.value.query.more)), {
1486
+ R(m, ke(Me(t.value.query.more)), {
1487
1487
  default: d(() => [
1488
1488
  se(Z(t.value.query.more.label), 1)
1489
1489
  ]),
@@ -1491,7 +1491,7 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
1491
1491
  }, 16)
1492
1492
  ]),
1493
1493
  default: d(() => [
1494
- R(V, D({ style: { padding: "20px", "background-color": "#f2f2f2", border: "1px solid rgba(0,0,0,0.1)", margin: "5px", "border-radius": "4px" } }, a(pe)(t.value.query, (L) => !["query", "more", "reset"].includes(L))), {
1494
+ R(V, x({ style: { padding: "20px", "background-color": "var(--el-bg-color)", border: "1px solid var(--el-border-color)", margin: "5px", "border-radius": "4px" } }, a(pe)(t.value.query, (L) => !["query", "more", "reset"].includes(L))), {
1495
1495
  default: d(() => [
1496
1496
  R(Te, {
1497
1497
  modelValue: t.value,
@@ -1531,7 +1531,7 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
1531
1531
  return [
1532
1532
  f.value && !((Y = (h = (S = t.value) == null ? void 0 : S.query) == null ? void 0 : h.more) != null && Y.hidden) && t.value.query.more.mode == 1 ? (w(), le("div", wt, [
1533
1533
  W("div", _t, [
1534
- t.value.query.more.mode == 1 ? qe((w(), O(V, Ce(D({ key: 0 }, a(pe)(t.value.query, (z) => !["query", "more", "reset"].includes(z)))), {
1534
+ t.value.query.more.mode == 1 ? qe((w(), O(V, ke(x({ key: 0 }, a(pe)(t.value.query, (z) => !["query", "more", "reset"].includes(z)))), {
1535
1535
  default: d(() => [
1536
1536
  R(Te, {
1537
1537
  modelValue: t.value,
@@ -1558,7 +1558,7 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
1558
1558
  }),
1559
1559
  _: 3
1560
1560
  }),
1561
- f.value && !((oe = (U = (g = t.value) == null ? void 0 : g.query) == null ? void 0 : U.more) != null && oe.hidden) && t.value.query.more.mode == 2 ? (w(), O(ge, D({
1561
+ f.value && !((oe = (U = (g = t.value) == null ? void 0 : g.query) == null ? void 0 : U.more) != null && oe.hidden) && t.value.query.more.mode == 2 ? (w(), O(ge, x({
1562
1562
  key: 0,
1563
1563
  modelValue: f.value,
1564
1564
  "onUpdate:modelValue": B[13] || (B[13] = (S) => f.value = S),
@@ -1566,7 +1566,7 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
1566
1566
  "show-close": !1
1567
1567
  }, t.value.query.more.dialog), Q({
1568
1568
  default: d(() => [
1569
- R(V, D(a(pe)(t.value.query, (S) => !["query", "more", "reset"].includes(S)), { style: { width: "98%" } }), {
1569
+ R(V, x(a(pe)(t.value.query, (S) => !["query", "more", "reset"].includes(S)), { style: { width: "98%" } }), {
1570
1570
  default: d(() => [
1571
1571
  R(Te, {
1572
1572
  modelValue: t.value,
@@ -1591,8 +1591,8 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
1591
1591
  (me = (K = (J = (te = (C = t.value) == null ? void 0 : C.query) == null ? void 0 : te.more) == null ? void 0 : J.dialog) == null ? void 0 : K.footer) != null && me.hidden ? void 0 : {
1592
1592
  name: "footer",
1593
1593
  fn: d(() => [
1594
- W("div", Ce(Oe(t.value.query.more.dialog.footer)), [
1595
- R(m, D(t.value.query.query, {
1594
+ W("div", ke(Me(t.value.query.more.dialog.footer)), [
1595
+ R(m, x(t.value.query.query, {
1596
1596
  onClick: B[11] || (B[11] = (S) => t.value.query.query.click())
1597
1597
  }), {
1598
1598
  default: d(() => [
@@ -1600,7 +1600,7 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
1600
1600
  ]),
1601
1601
  _: 1
1602
1602
  }, 16),
1603
- R(m, D(t.value.query.reset, {
1603
+ R(m, x(t.value.query.reset, {
1604
1604
  onClick: B[12] || (B[12] = (S) => t.value.query.reset.click())
1605
1605
  }), {
1606
1606
  default: d(() => [
@@ -1616,7 +1616,7 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
1616
1616
  ]);
1617
1617
  };
1618
1618
  }
1619
- }, Vt = /* @__PURE__ */ Se(kt, [["__scopeId", "data-v-0ea0cd78"]]), Ct = { style: { padding: "0", margin: "0", "box-sizing": "border-box" } }, Dt = { style: { padding: "10px", "box-sizing": "border-box" } }, xt = { style: { margin: "10px" } }, Ft = {
1619
+ }, Vt = /* @__PURE__ */ Oe(kt, [["__scopeId", "data-v-7fd988f5"]]), Ct = { style: { padding: "0", margin: "0", "box-sizing": "border-box" } }, Dt = { style: { padding: "10px", "box-sizing": "border-box" } }, xt = { style: { margin: "10px" } }, Ft = {
1620
1620
  style: { display: "flex", "flex-wrap": "wrap" },
1621
1621
  id: "excelSortEl"
1622
1622
  }, Tt = ["textContent"], Mt = { style: { width: "100%", display: "flex", padding: "10px", "box-sizing": "border-box", "justify-content": "center", "border-top": "1px solid #dcdfe6" } }, St = {
@@ -1628,39 +1628,39 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
1628
1628
  emits: ["excel"],
1629
1629
  setup(c, { emit: s }) {
1630
1630
  const t = c, e = s, n = be(t.items), f = () => {
1631
- n.value.forEach((x) => {
1632
- x.value = !0;
1631
+ n.value.forEach((D) => {
1632
+ D.value = !0;
1633
1633
  });
1634
1634
  }, E = () => {
1635
- n.value.forEach((x) => {
1636
- x.value = !1;
1635
+ n.value.forEach((D) => {
1636
+ D.value = !1;
1637
1637
  });
1638
1638
  }, I = () => {
1639
- e("excel", n.value, (x, y = "excel.xls") => {
1640
- if (!x) {
1639
+ e("excel", n.value, (D, y = "excel.xls") => {
1640
+ if (!D) {
1641
1641
  console.error("下载链接无效");
1642
1642
  return;
1643
1643
  }
1644
1644
  try {
1645
1645
  const M = document.createElement("a");
1646
- M.href = x, M.download = y, M.style.display = "none", document.body.appendChild(M), M.click(), document.body.removeChild(M);
1646
+ M.href = D, M.download = y, M.style.display = "none", document.body.appendChild(M), M.click(), document.body.removeChild(M);
1647
1647
  } catch (M) {
1648
1648
  console.error("下载文件时出现错误:", M);
1649
1649
  }
1650
1650
  });
1651
1651
  };
1652
1652
  return Fe(() => {
1653
- const x = new Je(document.getElementById("excelSortEl"), {
1653
+ const D = new Je(document.getElementById("excelSortEl"), {
1654
1654
  animation: 150,
1655
1655
  onEnd: () => {
1656
- let M = x.toArray();
1656
+ let M = D.toArray();
1657
1657
  console.log(M);
1658
1658
  }
1659
- }), y = x;
1659
+ }), y = D;
1660
1660
  st(() => {
1661
1661
  y && y.destroy();
1662
1662
  });
1663
- }), (x, y) => {
1663
+ }), (D, y) => {
1664
1664
  const M = A("el-divider"), q = A("el-alert"), B = A("el-checkbox"), V = A("el-button");
1665
1665
  return w(), le("div", Ct, [
1666
1666
  W("div", Dt, [
@@ -1718,7 +1718,7 @@ const Ae = /* @__PURE__ */ ht(bt), yt = {
1718
1718
  ]);
1719
1719
  };
1720
1720
  }
1721
- }, Ot = /* @__PURE__ */ Se(St, [["__scopeId", "data-v-64e6e1c0"]]), $e = new mt("gyc");
1721
+ }, Ot = /* @__PURE__ */ Oe(St, [["__scopeId", "data-v-51dfb7ef"]]), $e = new mt("gyc");
1722
1722
  $e.version(1).stores({
1723
1723
  tableInfo: "++id,[user+page+key],user,page,key,showCol,width,sort",
1724
1724
  tableList: "++id,name"
@@ -1757,7 +1757,7 @@ const It = {
1757
1757
  style: { display: "flex", "flex-wrap": "wrap", margin: "0 !important", padding: "0 !important" }
1758
1758
  }, Rt = ["textContent"], Lt = {
1759
1759
  __name: "columns-setting",
1760
- props: /* @__PURE__ */ ke({
1760
+ props: /* @__PURE__ */ Ve({
1761
1761
  name: {
1762
1762
  type: String,
1763
1763
  required: !0
@@ -1768,7 +1768,7 @@ const It = {
1768
1768
  }),
1769
1769
  emits: ["update:modelValue"],
1770
1770
  setup(c) {
1771
- const s = c, t = be([]), e = Ve(c, "modelValue"), n = async (y, M) => {
1771
+ const s = c, t = be([]), e = Ce(c, "modelValue"), n = async (y, M) => {
1772
1772
  y ? e.value[M].showCol = !0 : e.value[M].showCol = !1;
1773
1773
  try {
1774
1774
  const q = await De(e.value.table.user, s.name, M, { showCol: y });
@@ -1839,7 +1839,7 @@ const It = {
1839
1839
  message: "清除列保存信息失败!"
1840
1840
  });
1841
1841
  }
1842
- }, x = () => {
1842
+ }, D = () => {
1843
1843
  Ke.confirm("确定要复位吗?", "提示", {
1844
1844
  confirmButtonText: "确定",
1845
1845
  cancelButtonText: "取消",
@@ -1872,7 +1872,7 @@ const It = {
1872
1872
  R(q, { direction: "vertical" }),
1873
1873
  W("a", { onClick: I }, "全不选"),
1874
1874
  R(q, { direction: "vertical" }),
1875
- W("a", { onClick: x }, "复位")
1875
+ W("a", { onClick: D }, "复位")
1876
1876
  ]),
1877
1877
  R(B, {
1878
1878
  title: "拖动表格列标题可以改变表格列显示顺序 !",
@@ -1908,29 +1908,28 @@ const It = {
1908
1908
  ]);
1909
1909
  };
1910
1910
  }
1911
- }, Pt = /* @__PURE__ */ Se(Lt, [["__scopeId", "data-v-fe875b13"]]), Nt = {
1911
+ }, Pt = /* @__PURE__ */ Oe(Lt, [["__scopeId", "data-v-c423ede0"]]), Nt = { class: "g-table-container" }, zt = {
1912
1912
  key: 0,
1913
- class: "table-query-container",
1914
- style: { "background-color": "#fff", "border-radius": "10px", "margin-bottom": "14px" }
1915
- }, zt = { class: "btns" }, Ht = { class: "btns" }, Wt = { style: { padding: "16px", "box-sizing": "border-box", "background-color": "#fff", "border-radius": "10px" } }, Yt = ["innerHTML"], Gt = ["src"], Xt = { style: { display: "flex", "margin-top": "-2px" } }, Kt = { style: { display: "flex", flex: "1" } }, Qt = {
1913
+ class: "table-query-container"
1914
+ }, Ht = { class: "btns" }, Wt = { class: "btns" }, Yt = { class: "table-container" }, Gt = ["innerHTML"], Xt = ["src"], Kt = { style: { display: "flex", "margin-top": "-2px" } }, Qt = { style: { display: "flex", flex: "1" } }, Jt = {
1916
1915
  style: { display: "flex", "justify-content": "center", width: "100%", height: "100%" },
1917
1916
  id: "table-form"
1918
- }, Jt = { style: { display: "flex" } }, Zt = { style: { display: "flex", flex: "1" } }, el = /* @__PURE__ */ Object.assign({
1917
+ }, Zt = { style: { display: "flex" } }, el = { style: { display: "flex", flex: "1" } }, tl = /* @__PURE__ */ Object.assign({
1919
1918
  name: "g-table",
1920
1919
  inheritAttrs: !1
1921
1920
  }, {
1922
1921
  __name: "g-table",
1923
- props: /* @__PURE__ */ ke({
1922
+ props: /* @__PURE__ */ Ve({
1924
1923
  name: String,
1925
1924
  require: !0
1926
1925
  }, {
1927
1926
  modelValue: { required: !0 },
1928
1927
  modelModifiers: {}
1929
1928
  }),
1930
- emits: /* @__PURE__ */ ke(["load", "open", "delete", "submit", "reset", "download"], ["update:modelValue"]),
1929
+ emits: /* @__PURE__ */ Ve(["load", "open", "delete", "submit", "reset", "download"], ["update:modelValue"]),
1931
1930
  setup(c, { emit: s }) {
1932
1931
  var i, v, p, _, T, j, L;
1933
- const t = s, e = Ve(c, "modelValue"), n = Pe("options"), f = be({}), E = be(!1), I = ["type", "index", "label", "column-key", "prop", "width", "min-width", "fixed", "render-header", "sortable", "sort-method", "sort-by", "sort-orders", "resizable", "formatter", "show-overflow-tooltip", "align", "header-align", "class-name", "label-class-name", "selectable", "reserve-selection", "filters", "filter-placement", "filter-class-name", "filter-multiple", "filter-method", "filtered-value"], x = be([]), y = c, M = {
1932
+ const t = s, e = Ce(c, "modelValue"), n = Pe("options"), f = be({}), E = be(!1), I = ["type", "index", "label", "column-key", "prop", "width", "min-width", "fixed", "render-header", "sortable", "sort-method", "sort-by", "sort-orders", "resizable", "formatter", "show-overflow-tooltip", "align", "header-align", "class-name", "label-class-name", "selectable", "reserve-selection", "filters", "filter-placement", "filter-class-name", "filter-multiple", "filter-method", "filtered-value"], D = be([]), y = c, M = {
1934
1933
  data: [],
1935
1934
  border: !0,
1936
1935
  stripe: !0,
@@ -1962,7 +1961,7 @@ const It = {
1962
1961
  onRowDblclick: (o, r, l) => {
1963
1962
  e.value.table.dblclickType == "edit" ? C(o, r, l, e) : e.value.table.dblclickType == "view" && J(o, r, l, e);
1964
1963
  },
1965
- style: { "min-height": "100px", backgroundColor: "#fff" },
1964
+ style: { "min-height": "100px", backgroundColor: "var(--el-bg-color)" },
1966
1965
  page: {
1967
1966
  total: 0,
1968
1967
  pageSize: 20,
@@ -1973,7 +1972,7 @@ const It = {
1973
1972
  display: "flex",
1974
1973
  justifyContent: "flex-end",
1975
1974
  "padding-top": "16px",
1976
- backgroundColor: "#fff"
1975
+ backgroundColor: "var(--el-bg-color)"
1977
1976
  },
1978
1977
  hidden: !1
1979
1978
  },
@@ -2109,7 +2108,7 @@ const It = {
2109
2108
  };
2110
2109
  l = o.dateFormat ? Ae(l).format(o.dateFormat) : Ae(l).format(F[o.type]);
2111
2110
  }
2112
- return o.type === "money" && (o.align = o.align || "right", o.width = o.width || 130, l = `<span title="${Le(parseFloat(l))}">${rl(parseFloat(l))}</span>`), o.prefix && l && (l = `<span>${o.prefix}${l}</span>`), o.suffix && l && (l = `${l}<span>${o.suffix}</span>`), l;
2111
+ return o.type === "money" && (o.align = o.align || "right", o.width = o.width || 130, l = `<span title="${Le(parseFloat(l))}">${ul(parseFloat(l))}</span>`), o.prefix && l && (l = `<span>${o.prefix}${l}</span>`), o.suffix && l && (l = `${l}<span>${o.suffix}</span>`), l;
2113
2112
  }, g = (o) => {
2114
2113
  f.value = o.value;
2115
2114
  }, U = (o) => {
@@ -2226,7 +2225,7 @@ const It = {
2226
2225
  e.value.table.load();
2227
2226
  }), Fe(async () => {
2228
2227
  var o;
2229
- if (x.value = Object.values(e.value).filter((r) => r.type !== "hidden").filter((r) => r.type !== "control").filter((r) => r.visible !== !1).map((r) => ({ key: r.key || "", label: r.label, value: !0 })), !((o = e.value.table) != null && o.user)) {
2228
+ if (D.value = Object.values(e.value).filter((r) => r.type !== "hidden").filter((r) => r.type !== "control").filter((r) => r.visible !== !1).map((r) => ({ key: r.key || "", label: r.label, value: !0 })), !((o = e.value.table) != null && o.user)) {
2230
2229
  ye.error("必须给使用此表格的用户一个名字!");
2231
2230
  return;
2232
2231
  }
@@ -2258,8 +2257,8 @@ const It = {
2258
2257
  var Ee, we, Ne, ze, He;
2259
2258
  const l = A("el-button"), k = A("el-table-column"), F = A("el-table"), H = A("el-pagination"), ne = A("el-icon"), ae = A("el-dialog"), ve = A("el-drawer");
2260
2259
  return w(), le(fe, null, [
2261
- W("div", null, [
2262
- ((we = (Ee = e.value) == null ? void 0 : Ee.query) == null ? void 0 : we.hidden) != !0 ? (w(), le("div", Nt, [
2260
+ W("div", Nt, [
2261
+ ((we = (Ee = e.value) == null ? void 0 : Ee.query) == null ? void 0 : we.hidden) != !0 ? (w(), le("div", zt, [
2263
2262
  $(o.$slots, "query", {}, () => [
2264
2263
  R(Vt, {
2265
2264
  modelValue: e.value,
@@ -2269,10 +2268,10 @@ const It = {
2269
2268
  }, Q({
2270
2269
  "q-btns": d(() => [
2271
2270
  $(o.$slots, "q-btns", {}, () => [
2272
- W("div", zt, [
2271
+ W("div", Ht, [
2273
2272
  $(o.$slots, "control-add-left", {}, void 0, !0),
2274
2273
  e.value.control.add.auth() ? $(o.$slots, "control-add", { key: 0 }, () => [
2275
- R(l, D(e.value.control.add, {
2274
+ R(l, x(e.value.control.add, {
2276
2275
  onClick: r[0] || (r[0] = (N) => oe(e.value))
2277
2276
  }), {
2278
2277
  default: d(() => [
@@ -2283,10 +2282,10 @@ const It = {
2283
2282
  ], !0) : ue("", !0),
2284
2283
  $(o.$slots, "control-add-right", {}, void 0, !0)
2285
2284
  ]),
2286
- W("div", Ht, [
2285
+ W("div", Wt, [
2287
2286
  e.value.control.download.auth() ? $(o.$slots, "control-download", { key: 0 }, () => [
2288
- R(l, D(e.value.control.download, {
2289
- onClick: r[1] || (r[1] = (N) => S(e.value, x.value))
2287
+ R(l, x(e.value.control.download, {
2288
+ onClick: r[1] || (r[1] = (N) => S(e.value, D.value))
2290
2289
  }), {
2291
2290
  default: d(() => [
2292
2291
  se(Z(e.value.control.download.label), 1)
@@ -2295,7 +2294,7 @@ const It = {
2295
2294
  }, 16)
2296
2295
  ], !0) : ue("", !0),
2297
2296
  e.value.control.setting.auth() ? $(o.$slots, "control-setting", { key: 1 }, () => [
2298
- R(l, D(e.value.control.setting, {
2297
+ R(l, x(e.value.control.setting, {
2299
2298
  onClick: r[2] || (r[2] = (N) => h(e.value))
2300
2299
  }), {
2301
2300
  default: d(() => [
@@ -2318,8 +2317,8 @@ const It = {
2318
2317
  ]), 1032, ["modelValue"])
2319
2318
  ], !0)
2320
2319
  ])) : ue("", !0),
2321
- W("div", Wt, [
2322
- R(F, D({ class: "g-table-container" }, { ...o.$attrs, ...a(pe)(e.value.table, (N) => !["dblclickType", "page"].includes(N)) }), {
2320
+ W("div", Yt, [
2321
+ R(F, ke(Me({ ...o.$attrs, ...a(pe)(e.value.table, (N) => !["dblclickType", "page"].includes(N)) })), {
2323
2322
  append: d(() => [
2324
2323
  $(o.$slots, "append", {}, void 0, !0)
2325
2324
  ]),
@@ -2328,7 +2327,7 @@ const It = {
2328
2327
  ]),
2329
2328
  default: d(() => [
2330
2329
  $(o.$slots, "default", {}, () => [
2331
- (w(!0), le(fe, null, P(Y.value, (N, de) => (w(), O(k, D({
2330
+ (w(!0), le(fe, null, P(Y.value, (N, de) => (w(), O(k, x({
2332
2331
  prop: de,
2333
2332
  key: de,
2334
2333
  ref_for: !0
@@ -2354,7 +2353,7 @@ const It = {
2354
2353
  }, () => [
2355
2354
  W("div", {
2356
2355
  innerHTML: ge(N, X.formatter(G, X, G[de], ie))
2357
- }, null, 8, Yt)
2356
+ }, null, 8, Gt)
2358
2357
  ], !0)
2359
2358
  ]),
2360
2359
  key: "0"
@@ -2367,11 +2366,11 @@ const It = {
2367
2366
  column: X,
2368
2367
  $index: ie
2369
2368
  }, () => [
2370
- W("img", D({
2369
+ W("img", x({
2371
2370
  style: { width: "80px", height: "80px", "object-fit": "cover", "border-radius": "3px" },
2372
2371
  src: N.value,
2373
2372
  ref_for: !0
2374
- }, N), null, 16, Gt)
2373
+ }, N), null, 16, Xt)
2375
2374
  ], !0)
2376
2375
  ]),
2377
2376
  key: "1"
@@ -2383,7 +2382,7 @@ const It = {
2383
2382
  return [
2384
2383
  W("div", {
2385
2384
  class: Qe(["control", (We = e.value.control) == null ? void 0 : We.class]),
2386
- style: Me((Ye = e.value.control) == null ? void 0 : Ye.style)
2385
+ style: Se((Ye = e.value.control) == null ? void 0 : Ye.style)
2387
2386
  }, [
2388
2387
  $(o.$slots, "control", {}, () => [
2389
2388
  $(o.$slots, "control-left", {
@@ -2397,7 +2396,7 @@ const It = {
2397
2396
  column: X,
2398
2397
  $index: ie
2399
2398
  }, () => [
2400
- R(l, D({ ref_for: !0 }, e.value.control.view, {
2399
+ R(l, x({ ref_for: !0 }, e.value.control.view, {
2401
2400
  onClick: (Ge) => J(G, X, ie, e.value)
2402
2401
  }), {
2403
2402
  default: d(() => [
@@ -2417,7 +2416,7 @@ const It = {
2417
2416
  column: X,
2418
2417
  $index: ie
2419
2418
  }, () => [
2420
- R(l, D({ ref_for: !0 }, e.value.control.edit, {
2419
+ R(l, x({ ref_for: !0 }, e.value.control.edit, {
2421
2420
  onClick: (Ge) => C(G, X, ie, e.value)
2422
2421
  }), {
2423
2422
  default: d(() => [
@@ -2437,7 +2436,7 @@ const It = {
2437
2436
  column: X,
2438
2437
  $index: ie
2439
2438
  }, () => [
2440
- R(l, D({ ref_for: !0 }, e.value.control.delete, {
2439
+ R(l, x({ ref_for: !0 }, e.value.control.delete, {
2441
2440
  onClick: (Ge) => te(G, X, ie, e.value)
2442
2441
  }), {
2443
2442
  default: d(() => [
@@ -2463,7 +2462,7 @@ const It = {
2463
2462
  _: 3
2464
2463
  }, 16),
2465
2464
  (He = (ze = (Ne = e.value) == null ? void 0 : Ne.table) == null ? void 0 : ze.page) != null && He.hidden ? ue("", !0) : $(o.$slots, "page", { key: 0 }, () => [
2466
- R(H, D({
2465
+ R(H, x({
2467
2466
  "page-size": e.value.table.page.pageSize,
2468
2467
  "onUpdate:pageSize": r[4] || (r[4] = (N) => e.value.table.page.pageSize = N),
2469
2468
  "current-page": e.value.table.page.currentPage,
@@ -2478,7 +2477,7 @@ const It = {
2478
2477
  ])
2479
2478
  ]),
2480
2479
  qe(W("div", null, [
2481
- R(ae, D({
2480
+ R(ae, x({
2482
2481
  modelValue: E.value,
2483
2482
  "onUpdate:modelValue": r[9] || (r[9] = (N) => E.value = N),
2484
2483
  fullscreen: e.value.dialog.fullScreen
@@ -2488,8 +2487,8 @@ const It = {
2488
2487
  header: d(() => {
2489
2488
  var N, de, G, X;
2490
2489
  return [
2491
- W("div", Xt, [
2492
- W("div", Kt, [
2490
+ W("div", Kt, [
2491
+ W("div", Qt, [
2493
2492
  $(o.$slots, "f-header", {}, () => [
2494
2493
  W("div", null, Z(e.value.dialog.title), 1)
2495
2494
  ], !0)
@@ -2526,7 +2525,7 @@ const It = {
2526
2525
  ];
2527
2526
  }),
2528
2527
  default: d(() => [
2529
- W("div", Qt, [
2528
+ W("div", Jt, [
2530
2529
  R(Ie, {
2531
2530
  modelValue: e.value,
2532
2531
  "onUpdate:modelValue": r[8] || (r[8] = (N) => e.value = N),
@@ -2548,13 +2547,13 @@ const It = {
2548
2547
  [Be, e.value.dialog.mode == "dialog"]
2549
2548
  ]),
2550
2549
  qe(W("div", null, [
2551
- R(ve, D({
2550
+ R(ve, x({
2552
2551
  modelValue: E.value,
2553
2552
  "onUpdate:modelValue": r[11] || (r[11] = (N) => E.value = N)
2554
2553
  }, a(pe)(e.value.dialog, (N) => !["width"].includes(N))), {
2555
2554
  header: d(() => [
2556
- W("div", Jt, [
2557
- W("div", Zt, [
2555
+ W("div", Zt, [
2556
+ W("div", el, [
2558
2557
  $(o.$slots, "f-header", {}, () => [
2559
2558
  W("div", null, Z(e.value.dialog.title), 1)
2560
2559
  ], !0)
@@ -2584,24 +2583,24 @@ const It = {
2584
2583
  ], 64);
2585
2584
  };
2586
2585
  }
2587
- }), tl = /* @__PURE__ */ Se(el, [["__scopeId", "data-v-7de3f557"]]), ll = Object.freeze({}), et = [
2588
- tl,
2586
+ }), ll = /* @__PURE__ */ Oe(tl, [["__scopeId", "data-v-11203e03"]]), ol = Object.freeze({}), et = [
2587
+ ll,
2589
2588
  Ie
2590
2589
  ];
2591
2590
  let je = {};
2592
- const cl = {
2591
+ const fl = {
2593
2592
  install: (c, s = {}) => {
2594
- je = Object.freeze({ ...ll, ...s }), et.forEach((t) => {
2593
+ je = Object.freeze({ ...ol, ...s }), et.forEach((t) => {
2595
2594
  c.component(t.name, t);
2596
2595
  }), c.provide("options", je), c.config.globalProperties.$openModal = Re;
2597
2596
  }
2598
- }, ol = (c) => ({ dialog: ot, drawer: at })[c] || null, Re = (c = {}, s = "dialog") => {
2597
+ }, al = (c) => ({ dialog: ot, drawer: at })[c] || null, Re = (c = {}, s = "dialog") => {
2599
2598
  if (typeof document > "u") return () => {
2600
2599
  };
2601
2600
  const t = document.createElement("div");
2602
2601
  let e = () => {
2603
2602
  };
2604
- const n = ol(s);
2603
+ const n = al(s);
2605
2604
  if (!n) return () => {
2606
2605
  };
2607
2606
  const f = be(!0), E = dt({
@@ -2611,7 +2610,7 @@ const cl = {
2611
2610
  E.unmount(), t.remove();
2612
2611
  }, 300);
2613
2612
  }, () => {
2614
- var I, x, y;
2613
+ var I, D, y;
2615
2614
  return Ue(n, {
2616
2615
  modelValue: f.value,
2617
2616
  "onUpdate:modelValue": (M) => f.value = M,
@@ -2620,7 +2619,7 @@ const cl = {
2620
2619
  destroyOnClose: !0
2621
2620
  }, {
2622
2621
  default: (I = c.slots) == null ? void 0 : I.default,
2623
- header: (x = c.slots) == null ? void 0 : x.header,
2622
+ header: (D = c.slots) == null ? void 0 : D.header,
2624
2623
  footer: (y = c.slots) == null ? void 0 : y.footer
2625
2624
  });
2626
2625
  };
@@ -2652,7 +2651,7 @@ function tt(c, s = window.innerWidth) {
2652
2651
  throw new Error("Invalid calc expression");
2653
2652
  };
2654
2653
  const n = c.slice(5, -1).trim();
2655
- return f(n.replace(/([0-9.]+)([a-z%]+)/g, (I, x, y) => tt(x + y, s)));
2654
+ return f(n.replace(/([0-9.]+)([a-z%]+)/g, (I, D, y) => tt(D + y, s)));
2656
2655
  }
2657
2656
  throw new Error("Unsupported unit in value: " + c);
2658
2657
  }
@@ -2668,12 +2667,12 @@ function pe(c, s = (t, e) => s(t, e)) {
2668
2667
  c.hasOwnProperty(e) && s(e, c[e]) && (t[e] = c[e]);
2669
2668
  return t;
2670
2669
  }
2671
- function al(c, s, t = "value", e = "label", n = "children") {
2670
+ function rl(c, s, t = "value", e = "label", n = "children") {
2672
2671
  for (const f of c) {
2673
2672
  if (f[t] === s)
2674
2673
  return f[e];
2675
2674
  if (f[n] && f[n].length > 0) {
2676
- const E = al(f[n], s, t, e, n);
2675
+ const E = rl(f[n], s, t, e, n);
2677
2676
  if (E)
2678
2677
  return E;
2679
2678
  }
@@ -2692,13 +2691,13 @@ function Le(c) {
2692
2691
  f = f || "整", c = Math.floor(c);
2693
2692
  for (let E = 0; E < e[0].length && c > 0; E++) {
2694
2693
  let I = "";
2695
- for (let x = 0; x < e[1].length && c > 0; x++)
2696
- I = t[c % 10] + e[1][x] + I, c = Math.floor(c / 10);
2694
+ for (let D = 0; D < e[1].length && c > 0; D++)
2695
+ I = t[c % 10] + e[1][D] + I, c = Math.floor(c / 10);
2697
2696
  f = I.replace(/(零.)*零$/, "").replace(/^$/, "零") + e[0][E] + f;
2698
2697
  }
2699
2698
  return n + f.replace(/(零.)*零元/, "元").replace(/(零.)+/g, "零").replace(/^整$/, "零元整");
2700
2699
  }
2701
- function rl(c) {
2700
+ function ul(c) {
2702
2701
  if (typeof c != "number")
2703
2702
  return "0.00";
2704
2703
  const s = c.toFixed(2), [t, e] = s.split(".");
@@ -2736,10 +2735,10 @@ const re = {
2736
2735
  export {
2737
2736
  re as CT,
2738
2737
  tt as convertToPx,
2739
- cl as default,
2738
+ fl as default,
2740
2739
  pe as filterObject,
2741
- al as findTreeLabelByValue,
2742
- rl as formatAmount,
2740
+ rl as findTreeLabelByValue,
2741
+ ul as formatAmount,
2743
2742
  he as mergeObjects,
2744
2743
  Le as moneyToChinese,
2745
2744
  Re as openModal
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .g-query-container[data-v-0ea0cd78]{display:flex;flex:1;flex-direction:column;padding:10px;box-sizing:border-box}.outer[data-v-0ea0cd78]{min-height:100px;border-radius:10px;background-color:#fffc;box-shadow:0 0 10px #0000001a;top:60px;padding:10px;width:100%;box-sizing:border-box}.inner[data-v-0ea0cd78]{border-radius:6px;min-height:100px;border:1px solid #f2f2f2;padding:20px;box-sizing:border-box;width:100%;background-color:#fffc}.nested-enter-active[data-v-0ea0cd78],.nested-leave-active[data-v-0ea0cd78]{transition:all .3s ease-in-out}.nested-leave-active[data-v-0ea0cd78]{transition-delay:.25s}.nested-enter-from[data-v-0ea0cd78],.nested-leave-to[data-v-0ea0cd78]{transform:translateY(-100px);opacity:0}.nested-enter-active .inner[data-v-0ea0cd78],.nested-leave-active .inner[data-v-0ea0cd78]{transition:all .3s ease-in-out}.nested-enter-active .inner[data-v-0ea0cd78]{transition-delay:.25s}.nested-enter-from .inner[data-v-0ea0cd78],.nested-leave-to .inner[data-v-0ea0cd78]{transform:translateY(-100px);opacity:.001}.check-box-hover[data-v-64e6e1c0]:hover,.check-box-hover[data-v-fe875b13]:hover{background:#f5f1f1}.allcheck a[data-v-fe875b13]{cursor:pointer}.filtered[data-v-fe875b13]{pointer-events:none}.max[data-v-7de3f557]{cursor:pointer;color:#333}.max[data-v-7de3f557]:hover{color:var(--el-color-primary)}.btns[data-v-7de3f557]{display:flex}
1
+ .g-query-container[data-v-7fd988f5]{display:flex;flex:1;flex-direction:column;padding:10px;box-sizing:border-box}.outer[data-v-7fd988f5]{min-height:100px;border-radius:4px;background-color:var(--el-bg-color);top:60px;padding-top:10px;width:100%;box-sizing:border-box}.inner[data-v-7fd988f5]{border-radius:4px;min-height:100px;border:1px solid var(--el-border-color);padding:20px;box-sizing:border-box;width:100%;background-color:var(--el-bg-color)}.nested-enter-active[data-v-7fd988f5],.nested-leave-active[data-v-7fd988f5]{transition:all .3s ease-in-out}.nested-leave-active[data-v-7fd988f5]{transition-delay:.25s}.nested-enter-from[data-v-7fd988f5],.nested-leave-to[data-v-7fd988f5]{transform:translateY(-100px);opacity:0}.nested-enter-active .inner[data-v-7fd988f5],.nested-leave-active .inner[data-v-7fd988f5]{transition:all .3s ease-in-out}.nested-enter-active .inner[data-v-7fd988f5]{transition-delay:.25s}.nested-enter-from .inner[data-v-7fd988f5],.nested-leave-to .inner[data-v-7fd988f5]{transform:translateY(-100px);opacity:.001}.check-box-hover[data-v-51dfb7ef]:hover,.check-box-hover[data-v-c423ede0]:hover{background:var(--el-border-color)}.allcheck a[data-v-c423ede0]{cursor:pointer}.filtered[data-v-c423ede0]{pointer-events:none}.g-table-container[data-v-11203e03]{margin:0;padding:0;width:100%;height:100%}.table-query-container[data-v-11203e03]{background-color:var(--el-bg-color);border-radius:4px;margin-bottom:14px;border:1px solid var(--el-border-color)}.table-container[data-v-11203e03]{padding:16px;box-sizing:border-box;background-color:var(--el-bg-color);border-radius:4px;border:1px solid var(--el-border-color)}.max[data-v-11203e03]{cursor:pointer;color:var(--el-text-color)}.max[data-v-11203e03]:hover{color:var(--el-color-primary)}.btns[data-v-11203e03]{display:flex}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-2024-ui",
3
- "version": "0.0.42",
3
+ "version": "0.0.44",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "A Vue 3 and Element Plus based plugin",