@yzsf2e/render-core 1.0.2-alpha.25 → 1.0.2-alpha.26

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.
@@ -1,10 +1,10 @@
1
- import { defineComponent as $e, ref as D, computed as H, openBlock as F, createBlock as q, resolveDynamicComponent as Zt, effectScope as ea, unref as ta, onMounted as pt, nextTick as qe, getCurrentScope as na, onScopeDispose as ra, readonly as oa, getCurrentInstance as gt, watch as pe, shallowRef as wt, resolveComponent as j, withCtx as R, createVNode as G, renderSlot as Jn, createElementVNode as _e, createTextVNode as fe, toRefs as ze, reactive as Ne, mergeProps as Pt, toDisplayString as ue, createCommentVNode as ge, createElementBlock as Z, toRaw as Ee, inject as Se, h as Qe, Fragment as de, renderList as Ie, withDirectives as Mn, vShow as Wr, withModifiers as qr, resolveDirective as aa, createSlots as ia, watchEffect as ct, onRenderTriggered as sa, normalizeProps as Vr, normalizeClass as la, normalizeStyle as ua, onUnmounted as en, isRef as ca, provide as En } from "vue";
1
+ import { defineComponent as $e, ref as D, computed as H, openBlock as L, createBlock as q, resolveDynamicComponent as Zt, effectScope as ea, unref as ta, onMounted as pt, nextTick as qe, getCurrentScope as na, onScopeDispose as ra, readonly as oa, getCurrentInstance as gt, watch as ge, shallowRef as wt, resolveComponent as j, withCtx as R, createVNode as G, renderSlot as Jn, createElementVNode as Ee, createElementBlock as Z, createTextVNode as fe, createCommentVNode as pe, toRefs as ze, reactive as Ne, mergeProps as Pt, toDisplayString as ue, toRaw as _e, inject as Se, h as Qe, Fragment as de, renderList as Ie, withDirectives as Mn, vShow as Wr, withModifiers as qr, resolveDirective as aa, createSlots as ia, watchEffect as ct, onRenderTriggered as sa, normalizeProps as Vr, normalizeClass as la, normalizeStyle as ua, onUnmounted as en, isRef as ca, provide as En } from "vue";
2
2
  import { DatePicker as Xr, Modal as Qr, Button as tn, Space as It, message as he, Input as fa, Select as Ut, RangePicker as da, Col as pa, Row as ga, Form as Ln, Menu as ma, MenuItem as ha, Dropdown as va, Pagination as ya, DropdownButton as ba, Alert as Zn, Spin as wa, Table as Sa, Transfer as $a, ConfigProvider as Ca } from "ant-design-vue";
3
3
  import * as Ta from "@ant-design/icons-vue";
4
4
  import { CloseOutlined as Oa, ShrinkOutlined as _a, ArrowsAltOutlined as Ea, DownOutlined as Jr, UpOutlined as Aa, SettingOutlined as Pa, LoadingOutlined as Zr, CaretDownOutlined as Ia, CaretUpOutlined as Na, FilterOutlined as er, FilterFilled as Da } from "@ant-design/icons-vue";
5
5
  import { useRouter as Ra } from "vue-router";
6
6
  /*!
7
- * @yzsf2e/render-core v0.0.2-alpha.25 Thu Mar 14 2024 13:05:01 GMT+0800 (中国标准时间)
7
+ * @yzsf2e/render-core v0.0.2-alpha.25 Fri Mar 15 2024 10:47:09 GMT+0800 (中国标准时间)
8
8
  * (c) 2023 @yzsf2e.
9
9
  */
10
10
  const Ma = Object.assign;
@@ -98,7 +98,7 @@ const nn = (e) => {
98
98
  return n;
99
99
  };
100
100
  function za(e, t, n, r, o, a) {
101
- return F(), q(Zt(e.type));
101
+ return L(), q(Zt(e.type));
102
102
  }
103
103
  const eo = /* @__PURE__ */ je(Ka, [["render", za]]);
104
104
  function to(e) {
@@ -146,7 +146,7 @@ function Qa(e, t, n = {}) {
146
146
  eventFilter: r = no,
147
147
  ...o
148
148
  } = n;
149
- return pe(
149
+ return ge(
150
150
  e,
151
151
  qa(
152
152
  r,
@@ -186,7 +186,7 @@ function tr(...e) {
186
186
  Array.isArray(n) || (n = [n]), Array.isArray(r) || (r = [r]);
187
187
  const a = [], s = () => {
188
188
  a.forEach((g) => g()), a.length = 0;
189
- }, i = (g, c, f, h) => (g.addEventListener(c, f, h), () => g.removeEventListener(c, f, h)), l = pe(
189
+ }, i = (g, c, f, h) => (g.addEventListener(c, f, h), () => g.removeEventListener(c, f, h)), l = ge(
190
190
  () => [An(t), kn(o)],
191
191
  ([g, c]) => {
192
192
  if (s(), !g)
@@ -350,7 +350,7 @@ function ui(e, t, n = {}) {
350
350
  let a;
351
351
  const s = ti(() => r && "ResizeObserver" in r), i = () => {
352
352
  a && (a.disconnect(), a = void 0);
353
- }, l = H(() => Array.isArray(e) ? e.map((c) => An(c)) : [An(e)]), u = pe(
353
+ }, l = H(() => Array.isArray(e) ? e.map((c) => An(c)) : [An(e)]), u = ge(
354
354
  l,
355
355
  (c) => {
356
356
  if (i(), s.value && r) {
@@ -386,12 +386,12 @@ function ro(e, t, n, r = {}) {
386
386
  if (l) {
387
387
  const d = v(), w = D(d);
388
388
  let $ = !1;
389
- return pe(
389
+ return ge(
390
390
  () => e[t],
391
391
  (y) => {
392
392
  $ || ($ = !0, w.value = m(y), qe(() => $ = !1));
393
393
  }
394
- ), pe(
394
+ ), ge(
395
395
  w,
396
396
  (y) => {
397
397
  !$ && (y !== e[t] || g) && b(y);
@@ -421,19 +421,23 @@ const ci = $e({
421
421
  default: ""
422
422
  },
423
423
  width: {
424
- type: Number,
424
+ type: [Number, String],
425
425
  default: 500
426
426
  },
427
427
  getContainer: {
428
428
  type: Function,
429
429
  default: () => document.querySelector(".page-renderer-wrapper")
430
+ },
431
+ hideFooter: {
432
+ type: Boolean,
433
+ default: !1
430
434
  }
431
435
  },
432
436
  setup(e, { emit: t }) {
433
437
  const n = D(null), r = ro(e, "visible", t), o = D(e.width), a = D(!1), s = () => r.value = !1, i = () => e.getContainer(), l = i(), u = 500, g = () => {
434
438
  o.value = a.value ? e.width : "100%", a.value = !a.value;
435
439
  };
436
- return pe(r, (f) => {
440
+ return ge(r, (f) => {
437
441
  f || (a.value = !1, o.value = e.width);
438
442
  }), {
439
443
  show: r,
@@ -459,10 +463,13 @@ const ci = $e({
459
463
  };
460
464
  }
461
465
  });
462
- const fi = { style: { position: "absolute", bottom: "0", left: "0", height: "50px", "line-height": "49px", width: "100%", "border-top": "1px solid #eee", "box-sizing": "content-box", "background-color": "#fff", "z-index": "2" } };
466
+ const fi = {
467
+ key: 0,
468
+ style: { position: "absolute", bottom: "0", left: "0", height: "50px", "line-height": "49px", width: "100%", "border-top": "1px solid #eee", "box-sizing": "content-box", "background-color": "#fff", "z-index": "2" }
469
+ };
463
470
  function di(e, t, n, r, o, a) {
464
471
  const s = j("ArrowsAltOutlined"), i = j("ShrinkOutlined"), l = j("CloseOutlined"), u = j("a-space"), g = j("a-button"), c = j("a-drawer");
465
- return F(), q(c, {
472
+ return L(), q(c, {
466
473
  ref: "dragDrawer",
467
474
  class: "drag-drawer-warpper",
468
475
  placement: "right",
@@ -479,11 +486,11 @@ function di(e, t, n, r, o, a) {
479
486
  extra: R(() => [
480
487
  G(u, { style: { transform: "translateY(2px)" } }, {
481
488
  default: R(() => [
482
- e.fullScreen ? (F(), q(i, {
489
+ e.fullScreen ? (L(), q(i, {
483
490
  key: 1,
484
491
  style: { color: "#fff", "font-size": "18px", cursor: "pointer", "margin-right": "10px" },
485
492
  onClick: e.toggleFullScreen
486
- }, null, 8, ["onClick"])) : (F(), q(s, {
493
+ }, null, 8, ["onClick"])) : (L(), q(s, {
487
494
  key: 0,
488
495
  style: { color: "#fff", "font-size": "18px", cursor: "pointer", "margin-right": "10px" },
489
496
  onClick: e.toggleFullScreen
@@ -498,11 +505,11 @@ function di(e, t, n, r, o, a) {
498
505
  ]),
499
506
  default: R(() => [
500
507
  Jn(e.$slots, "default"),
501
- _e("div", {
508
+ Ee("div", {
502
509
  class: "drag-trigger",
503
510
  onMousedown: t[0] || (t[0] = (f) => e.handleMouseDown(f))
504
511
  }, null, 32),
505
- _e("div", fi, [
512
+ e.hideFooter ? pe("", !0) : (L(), Z("div", fi, [
506
513
  G(u, { style: { "padding-left": "20px" } }, {
507
514
  default: R(() => [
508
515
  Jn(e.$slots, "footBtn"),
@@ -515,7 +522,7 @@ function di(e, t, n, r, o, a) {
515
522
  ]),
516
523
  _: 3
517
524
  })
518
- ])
525
+ ]))
519
526
  ]),
520
527
  _: 3
521
528
  }, 8, ["title", "width", "get-container", "visible"]);
@@ -555,7 +562,7 @@ const pi = /* @__PURE__ */ je(ci, [["render", di]]), gi = nn(pi), mi = $e({
555
562
  m && m.length && he.warn((v = m[0]) == null ? void 0 : v.errors.join("、"));
556
563
  });
557
564
  };
558
- pe(o, (f) => {
565
+ ge(o, (f) => {
559
566
  f && qe(() => {
560
567
  const h = document.querySelector(".ant-modal-root"), S = h == null ? void 0 : h.querySelector(".ant-modal-header"), p = h == null ? void 0 : h.querySelector(".ant-modal");
561
568
  S.style.cursor = "move";
@@ -590,7 +597,7 @@ const pi = /* @__PURE__ */ je(ci, [["render", di]]), gi = nn(pi), mi = $e({
590
597
  const hi = { key: 1 };
591
598
  function vi(e, t, n, r, o, a) {
592
599
  const s = j("Button"), i = j("Space"), l = j("Modal");
593
- return F(), q(l, Pt({
600
+ return L(), q(l, Pt({
594
601
  "wrap-class-name": "drag-modal-wrapper",
595
602
  visible: e.visible,
596
603
  "onUpdate:visible": t[1] || (t[1] = (u) => e.visible = u)
@@ -601,12 +608,12 @@ function vi(e, t, n, r, o, a) {
601
608
  onCancel: e.closeModal
602
609
  }), {
603
610
  title: R(() => [
604
- _e("span", null, ue(e.form.title), 1)
611
+ Ee("span", null, ue(e.form.title), 1)
605
612
  ]),
606
613
  footer: R(() => {
607
614
  var u;
608
615
  return [
609
- ((u = e.form.modalProps) == null ? void 0 : u.hideFooter) !== !0 ? (F(), q(i, { key: 0 }, {
616
+ ((u = e.form.modalProps) == null ? void 0 : u.hideFooter) !== !0 ? (L(), q(i, { key: 0 }, {
610
617
  default: R(() => {
611
618
  var g;
612
619
  return [
@@ -619,7 +626,7 @@ function vi(e, t, n, r, o, a) {
619
626
  }),
620
627
  _: 1
621
628
  }, 8, ["onClick"]),
622
- ((g = e.form.modalProps) == null ? void 0 : g.hideOkButton) !== !0 && e.modalConfig.showOk ? (F(), q(s, {
629
+ ((g = e.form.modalProps) == null ? void 0 : g.hideOkButton) !== !0 && e.modalConfig.showOk ? (L(), q(s, {
623
630
  key: 0,
624
631
  type: "primary",
625
632
  onClick: e.handleOk,
@@ -632,22 +639,22 @@ function vi(e, t, n, r, o, a) {
632
639
  ];
633
640
  }),
634
641
  _: 1
635
- }, 8, ["onClick", "loading"])) : ge("", !0)
642
+ }, 8, ["onClick", "loading"])) : pe("", !0)
636
643
  ];
637
644
  }),
638
645
  _: 1
639
- })) : ge("", !0)
646
+ })) : pe("", !0)
640
647
  ];
641
648
  }),
642
649
  default: R(() => [
643
- e.form.component ? (F(), q(Zt(e.form.component), {
650
+ e.form.component ? (L(), q(Zt(e.form.component), {
644
651
  key: 0,
645
652
  rows: e.rows,
646
653
  "extra-data": e.extraData,
647
654
  modalConfig: e.modalConfig,
648
655
  "onUpdate:modalConfig": t[0] || (t[0] = (u) => e.modalConfig = u),
649
656
  ref: "currentForm"
650
- }, null, 40, ["rows", "extra-data", "modalConfig"])) : (F(), Z("span", hi, "form配置中没有为【" + ue(e.form.title) + "】事件提供组件", 1))
657
+ }, null, 40, ["rows", "extra-data", "modalConfig"])) : (L(), Z("span", hi, "form配置中没有为【" + ue(e.form.title) + "】事件提供组件", 1))
651
658
  ]),
652
659
  _: 1
653
660
  }, 16, ["visible", "get-container", "mask-style", "onCancel"]);
@@ -666,16 +673,16 @@ var ao = { exports: {} };
666
673
  var E = ["th", "st", "nd", "rd"], P = N % 100;
667
674
  return "[" + N + (E[(P - 20) % 10] || E[P] || E[0]) + "]";
668
675
  } }, d = function(N, E, P) {
669
- var L = String(N);
670
- return !L || L.length >= E ? N : "" + Array(E + 1 - L.length).join(P) + N;
676
+ var F = String(N);
677
+ return !F || F.length >= E ? N : "" + Array(E + 1 - F.length).join(P) + N;
671
678
  }, w = { s: d, z: function(N) {
672
- var E = -N.utcOffset(), P = Math.abs(E), L = Math.floor(P / 60), I = P % 60;
673
- return (E <= 0 ? "+" : "-") + d(L, 2, "0") + ":" + d(I, 2, "0");
679
+ var E = -N.utcOffset(), P = Math.abs(E), F = Math.floor(P / 60), I = P % 60;
680
+ return (E <= 0 ? "+" : "-") + d(F, 2, "0") + ":" + d(I, 2, "0");
674
681
  }, m: function N(E, P) {
675
682
  if (E.date() < P.date())
676
683
  return -N(P, E);
677
- var L = 12 * (P.year() - E.year()) + (P.month() - E.month()), I = E.clone().add(L, c), z = P - I < 0, U = E.clone().add(L + (z ? -1 : 1), c);
678
- return +(-(L + (P - I) / (z ? I - U : U - I)) || 0);
684
+ var F = 12 * (P.year() - E.year()) + (P.month() - E.month()), I = E.clone().add(F, c), z = P - I < 0, U = E.clone().add(F + (z ? -1 : 1), c);
685
+ return +(-(F + (P - I) / (z ? I - U : U - I)) || 0);
679
686
  }, a: function(N) {
680
687
  return N < 0 ? Math.ceil(N) || 0 : Math.floor(N);
681
688
  }, p: function(N) {
@@ -686,7 +693,7 @@ var ao = { exports: {} };
686
693
  y[$] = b;
687
694
  var _ = "$isDayjsObject", O = function(N) {
688
695
  return N instanceof Y || !(!N || !N[_]);
689
- }, T = function N(E, P, L) {
696
+ }, T = function N(E, P, F) {
690
697
  var I;
691
698
  if (!E)
692
699
  return $;
@@ -700,7 +707,7 @@ var ao = { exports: {} };
700
707
  var X = E.name;
701
708
  y[X] = E, I = X;
702
709
  }
703
- return !L && I && ($ = I), I || !L && $;
710
+ return !F && I && ($ = I), I || !F && $;
704
711
  }, C = function(N, E) {
705
712
  if (O(N))
706
713
  return N.clone();
@@ -716,8 +723,8 @@ var ao = { exports: {} };
716
723
  }
717
724
  var E = N.prototype;
718
725
  return E.parse = function(P) {
719
- this.$d = function(L) {
720
- var I = L.date, z = L.utc;
726
+ this.$d = function(F) {
727
+ var I = F.date, z = F.utc;
721
728
  if (I === null)
722
729
  return /* @__PURE__ */ new Date(NaN);
723
730
  if (A.u(I))
@@ -740,21 +747,21 @@ var ao = { exports: {} };
740
747
  return A;
741
748
  }, E.isValid = function() {
742
749
  return this.$d.toString() !== p;
743
- }, E.isSame = function(P, L) {
750
+ }, E.isSame = function(P, F) {
744
751
  var I = C(P);
745
- return this.startOf(L) <= I && I <= this.endOf(L);
746
- }, E.isAfter = function(P, L) {
747
- return C(P) < this.startOf(L);
748
- }, E.isBefore = function(P, L) {
749
- return this.endOf(L) < C(P);
750
- }, E.$g = function(P, L, I) {
751
- return A.u(P) ? this[L] : this.set(I, P);
752
+ return this.startOf(F) <= I && I <= this.endOf(F);
753
+ }, E.isAfter = function(P, F) {
754
+ return C(P) < this.startOf(F);
755
+ }, E.isBefore = function(P, F) {
756
+ return this.endOf(F) < C(P);
757
+ }, E.$g = function(P, F, I) {
758
+ return A.u(P) ? this[F] : this.set(I, P);
752
759
  }, E.unix = function() {
753
760
  return Math.floor(this.valueOf() / 1e3);
754
761
  }, E.valueOf = function() {
755
762
  return this.$d.getTime();
756
- }, E.startOf = function(P, L) {
757
- var I = this, z = !!A.u(L) || L, U = A.p(P), X = function(Ce, le) {
763
+ }, E.startOf = function(P, F) {
764
+ var I = this, z = !!A.u(F) || F, U = A.p(P), X = function(Ce, le) {
758
765
  var ce = A.w(I.$u ? Date.UTC(I.$y, le, Ce) : new Date(I.$y, le, Ce), I);
759
766
  return z ? ce : ce.endOf(u);
760
767
  }, ae = function(Ce, le) {
@@ -782,22 +789,22 @@ var ao = { exports: {} };
782
789
  }
783
790
  }, E.endOf = function(P) {
784
791
  return this.startOf(P, !1);
785
- }, E.$set = function(P, L) {
786
- var I, z = A.p(P), U = "set" + (this.$u ? "UTC" : ""), X = (I = {}, I[u] = U + "Date", I[S] = U + "Date", I[c] = U + "Month", I[h] = U + "FullYear", I[l] = U + "Hours", I[i] = U + "Minutes", I[s] = U + "Seconds", I[a] = U + "Milliseconds", I)[z], ae = z === u ? this.$D + (L - this.$W) : L;
792
+ }, E.$set = function(P, F) {
793
+ var I, z = A.p(P), U = "set" + (this.$u ? "UTC" : ""), X = (I = {}, I[u] = U + "Date", I[S] = U + "Date", I[c] = U + "Month", I[h] = U + "FullYear", I[l] = U + "Hours", I[i] = U + "Minutes", I[s] = U + "Seconds", I[a] = U + "Milliseconds", I)[z], ae = z === u ? this.$D + (F - this.$W) : F;
787
794
  if (z === c || z === h) {
788
795
  var ie = this.clone().set(S, 1);
789
796
  ie.$d[X](ae), ie.init(), this.$d = ie.set(S, Math.min(this.$D, ie.daysInMonth())).$d;
790
797
  } else
791
798
  X && this.$d[X](ae);
792
799
  return this.init(), this;
793
- }, E.set = function(P, L) {
794
- return this.clone().$set(P, L);
800
+ }, E.set = function(P, F) {
801
+ return this.clone().$set(P, F);
795
802
  }, E.get = function(P) {
796
803
  return this[A.p(P)]();
797
- }, E.add = function(P, L) {
804
+ }, E.add = function(P, F) {
798
805
  var I, z = this;
799
806
  P = Number(P);
800
- var U = A.p(L), X = function(ne) {
807
+ var U = A.p(F), X = function(ne) {
801
808
  var se = C(z);
802
809
  return A.w(se.date(se.date() + Math.round(ne * P)), z);
803
810
  };
@@ -811,14 +818,14 @@ var ao = { exports: {} };
811
818
  return X(7);
812
819
  var ae = (I = {}, I[i] = r, I[l] = o, I[s] = n, I)[U] || 1, ie = this.$d.getTime() + P * ae;
813
820
  return A.w(ie, this);
814
- }, E.subtract = function(P, L) {
815
- return this.add(-1 * P, L);
821
+ }, E.subtract = function(P, F) {
822
+ return this.add(-1 * P, F);
816
823
  }, E.format = function(P) {
817
- var L = this, I = this.$locale();
824
+ var F = this, I = this.$locale();
818
825
  if (!this.isValid())
819
826
  return I.invalidDate || p;
820
827
  var z = P || "YYYY-MM-DDTHH:mm:ssZ", U = A.z(this), X = this.$H, ae = this.$m, ie = this.$M, ne = I.weekdays, se = I.months, ve = I.meridiem, ye = function(le, ce, Re, He) {
821
- return le && (le[ce] || le(L, z)) || Re[ce].slice(0, He);
828
+ return le && (le[ce] || le(F, z)) || Re[ce].slice(0, He);
822
829
  }, be = function(le) {
823
830
  return A.s(X % 12 || 12, le, "0");
824
831
  }, Ce = ve || function(le, ce, Re) {
@@ -829,9 +836,9 @@ var ao = { exports: {} };
829
836
  return ce || function(Re) {
830
837
  switch (Re) {
831
838
  case "YY":
832
- return String(L.$y).slice(-2);
839
+ return String(F.$y).slice(-2);
833
840
  case "YYYY":
834
- return A.s(L.$y, 4, "0");
841
+ return A.s(F.$y, 4, "0");
835
842
  case "M":
836
843
  return ie + 1;
837
844
  case "MM":
@@ -841,17 +848,17 @@ var ao = { exports: {} };
841
848
  case "MMMM":
842
849
  return ye(se, ie);
843
850
  case "D":
844
- return L.$D;
851
+ return F.$D;
845
852
  case "DD":
846
- return A.s(L.$D, 2, "0");
853
+ return A.s(F.$D, 2, "0");
847
854
  case "d":
848
- return String(L.$W);
855
+ return String(F.$W);
849
856
  case "dd":
850
- return ye(I.weekdaysMin, L.$W, ne, 2);
857
+ return ye(I.weekdaysMin, F.$W, ne, 2);
851
858
  case "ddd":
852
- return ye(I.weekdaysShort, L.$W, ne, 3);
859
+ return ye(I.weekdaysShort, F.$W, ne, 3);
853
860
  case "dddd":
854
- return ne[L.$W];
861
+ return ne[F.$W];
855
862
  case "H":
856
863
  return String(X);
857
864
  case "HH":
@@ -869,11 +876,11 @@ var ao = { exports: {} };
869
876
  case "mm":
870
877
  return A.s(ae, 2, "0");
871
878
  case "s":
872
- return String(L.$s);
879
+ return String(F.$s);
873
880
  case "ss":
874
- return A.s(L.$s, 2, "0");
881
+ return A.s(F.$s, 2, "0");
875
882
  case "SSS":
876
- return A.s(L.$ms, 3, "0");
883
+ return A.s(F.$ms, 3, "0");
877
884
  case "Z":
878
885
  return U;
879
886
  }
@@ -882,8 +889,8 @@ var ao = { exports: {} };
882
889
  });
883
890
  }, E.utcOffset = function() {
884
891
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
885
- }, E.diff = function(P, L, I) {
886
- var z, U = this, X = A.p(L), ae = C(P), ie = (ae.utcOffset() - this.utcOffset()) * r, ne = this - ae, se = function() {
892
+ }, E.diff = function(P, F, I) {
893
+ var z, U = this, X = A.p(F), ae = C(P), ie = (ae.utcOffset() - this.utcOffset()) * r, ne = this - ae, se = function() {
887
894
  return A.m(U, ae);
888
895
  };
889
896
  switch (X) {
@@ -919,10 +926,10 @@ var ao = { exports: {} };
919
926
  return this.endOf(c).$D;
920
927
  }, E.$locale = function() {
921
928
  return y[this.$L];
922
- }, E.locale = function(P, L) {
929
+ }, E.locale = function(P, F) {
923
930
  if (!P)
924
931
  return this.$L;
925
- var I = this.clone(), z = T(P, L, !0);
932
+ var I = this.clone(), z = T(P, F, !0);
926
933
  return z && (I.$L = z), I;
927
934
  }, E.clone = function() {
928
935
  return A.w(this.$d, this);
@@ -2287,7 +2294,7 @@ const hn = Fn(() => {
2287
2294
  if (u.success) {
2288
2295
  const S = dn(u, f || "data"), p = (m) => {
2289
2296
  Object.prototype.toString.call(m) === "[object Array]" ? e[o[l]] = [
2290
- ...Ee(e[o[l]] || []),
2297
+ ..._e(e[o[l]] || []),
2291
2298
  ...m.map((v) => ({
2292
2299
  ...h ? { group: v[h] } : {},
2293
2300
  label: v[g],
@@ -2463,7 +2470,7 @@ const hn = Fn(() => {
2463
2470
  const { config: a, immediateQuery: s } = ze(e), i = Se("pageName", ""), l = H(
2464
2471
  () => a.value.length > 6 * 3
2465
2472
  ), u = D(!l.value), { formState: g, dispatchFormState: c } = Rt(), { resetFields: f, validate: h, validateInfos: S } = _d(g[i]);
2466
- pe(
2473
+ ge(
2467
2474
  () => e.defaultQuery,
2468
2475
  (b) => {
2469
2476
  c(b, i), t("search");
@@ -2478,7 +2485,7 @@ const hn = Fn(() => {
2478
2485
  console.log(b);
2479
2486
  });
2480
2487
  }, m = (b) => b.label.slice(0, 10);
2481
- pe(u, () => t("changeExpand"));
2488
+ ge(u, () => t("changeExpand"));
2482
2489
  const v = H(() => u.value || !l.value ? (6 - a.value.length % 6) * 4 : 24);
2483
2490
  return n({ resetFields: f }), {
2484
2491
  expand: u,
@@ -2496,7 +2503,7 @@ const hn = Fn(() => {
2496
2503
  });
2497
2504
  function Ad(e, t, n, r, o, a) {
2498
2505
  const s = j("ConditionBuilder"), i = j("Item"), l = j("Col"), u = j("Button"), g = j("UpOutlined"), c = j("DownOutlined"), f = j("Space"), h = j("Row"), S = j("Form");
2499
- return F(), q(S, {
2506
+ return L(), q(S, {
2500
2507
  class: "page-renderer-conditions",
2501
2508
  "label-col": { span: 8 },
2502
2509
  "wrapper-col": { span: 16 }
@@ -2504,9 +2511,9 @@ function Ad(e, t, n, r, o, a) {
2504
2511
  default: R(() => [
2505
2512
  G(h, { gutter: 24 }, {
2506
2513
  default: R(() => [
2507
- (F(!0), Z(de, null, Ie(e.config, (p, m) => {
2514
+ (L(!0), Z(de, null, Ie(e.config, (p, m) => {
2508
2515
  var v;
2509
- return Mn((F(), q(l, {
2516
+ return Mn((L(), q(l, {
2510
2517
  key: p.fieldName,
2511
2518
  span: ((v = p.otherProps) == null ? void 0 : v.span) || 4,
2512
2519
  class: "conditions-item-col"
@@ -2565,19 +2572,19 @@ function Ad(e, t, n, r, o, a) {
2565
2572
  ]),
2566
2573
  _: 1
2567
2574
  }),
2568
- e.showAvailiableTrigger ? (F(), Z("a", {
2575
+ e.showAvailiableTrigger ? (L(), Z("a", {
2569
2576
  key: 0,
2570
2577
  style: { "font-size": "12px" },
2571
2578
  onClick: t[1] || (t[1] = (p) => e.expand = !e.expand)
2572
2579
  }, [
2573
- e.expand ? (F(), Z(de, { key: 0 }, [
2580
+ e.expand ? (L(), Z(de, { key: 0 }, [
2574
2581
  G(g),
2575
2582
  fe(" 收起 ")
2576
- ], 64)) : (F(), Z(de, { key: 1 }, [
2583
+ ], 64)) : (L(), Z(de, { key: 1 }, [
2577
2584
  G(c),
2578
2585
  fe(" 展开 ")
2579
2586
  ], 64))
2580
- ])) : ge("", !0)
2587
+ ])) : pe("", !0)
2581
2588
  ]),
2582
2589
  _: 1
2583
2590
  })
@@ -2595,7 +2602,7 @@ const Pd = /* @__PURE__ */ je(Ed, [["render", Ad]]), Mt = Fn(() => {
2595
2602
  const e = Ne(/* @__PURE__ */ Object.create(null)), t = Ne(/* @__PURE__ */ Object.create(null)), n = Ne(
2596
2603
  /* @__PURE__ */ Object.create(null)
2597
2604
  );
2598
- return pe(
2605
+ return ge(
2599
2606
  t,
2600
2607
  () => {
2601
2608
  for (const r in n)
@@ -2699,7 +2706,7 @@ const Pd = /* @__PURE__ */ je(Ed, [["render", Ad]]), Mt = Fn(() => {
2699
2706
  })) : [], m = async () => {
2700
2707
  var C;
2701
2708
  const { formState: O } = Rt(), T = o.value ? Vn({
2702
- conditions: Ee(O[l]),
2709
+ conditions: _e(O[l]),
2703
2710
  apiConfig: o.value
2704
2711
  }) : {};
2705
2712
  h(T, l);
@@ -2729,10 +2736,10 @@ const Pd = /* @__PURE__ */ je(Ed, [["render", Ad]]), Mt = Fn(() => {
2729
2736
  }
2730
2737
  }, b = async ({ accept: O, feedback: T = !0, needRefresh: C = !0 }, A) => {
2731
2738
  const Y = /^\.[a-zA-Z]+$/, V = O == null ? void 0 : O.reduce(
2732
- (P, L) => {
2733
- if (!Y.test(L))
2734
- throw `请提供正确的文件后缀名,是否是 【.${L}】 ?`;
2735
- return P[Id[L]] = [L], P;
2739
+ (P, F) => {
2740
+ if (!Y.test(F))
2741
+ throw `请提供正确的文件后缀名,是否是 【.${F}】 ?`;
2742
+ return P[Id[F]] = [F], P;
2736
2743
  },
2737
2744
  {}
2738
2745
  ), [N] = await window.showOpenFilePicker({
@@ -2747,12 +2754,12 @@ const Pd = /* @__PURE__ */ je(Ed, [["render", Ad]]), Mt = Fn(() => {
2747
2754
  // multiple: false,
2748
2755
  }), E = await N.getFile();
2749
2756
  if (E) {
2750
- const P = p[A], L = new FormData();
2751
- L.append("file", E), i.value = !0, he.success({
2757
+ const P = p[A], F = new FormData();
2758
+ F.append("file", E), i.value = !0, he.success({
2752
2759
  content: `正在导入: ${E.name}`,
2753
2760
  duration: 0
2754
2761
  });
2755
- const I = await P(L);
2762
+ const I = await P(F);
2756
2763
  if (i.value = !1, !I.success || T === !1)
2757
2764
  return;
2758
2765
  he.destroy(), he.success({
@@ -2789,18 +2796,18 @@ const Pd = /* @__PURE__ */ je(Ed, [["render", Ad]]), Mt = Fn(() => {
2789
2796
  const Md = { class: "page-renderer-buttons" }, Ld = { class: "page-renderer-buttons-left" }, Fd = { class: "page-renderer-setting-trigger" }, kd = { href: "javascript:;" };
2790
2797
  function jd(e, t, n, r, o, a) {
2791
2798
  const s = j("aicon"), i = j("MenuItem"), l = j("Menu"), u = j("Space"), g = j("Button"), c = j("Dropdown"), f = j("DownOutlined"), h = j("Pagination"), S = j("Select"), p = j("SettingOutlined"), m = aa("permission");
2792
- return F(), Z("div", Md, [
2793
- _e("div", Ld, [
2799
+ return L(), Z("div", Md, [
2800
+ Ee("div", Ld, [
2794
2801
  G(u, null, {
2795
2802
  default: R(() => [
2796
- (F(!0), Z(de, null, Ie(e.config, (v, b) => Mn((F(), q(Zt(v.type), Pt(v.otherProps, {
2803
+ (L(!0), Z(de, null, Ie(e.config, (v, b) => Mn((L(), q(Zt(v.type), Pt(v.otherProps, {
2797
2804
  key: `${v.type}${b}`,
2798
2805
  onClick: (d) => e.handleButtonClick(v, d)
2799
2806
  }), ia({
2800
2807
  overlay: R(() => [
2801
2808
  G(l, null, {
2802
2809
  default: R(() => [
2803
- (F(!0), Z(de, null, Ie(v.sublist, (d) => (F(), q(i, {
2810
+ (L(!0), Z(de, null, Ie(v.sublist, (d) => (L(), q(i, {
2804
2811
  key: d.action,
2805
2812
  onClick: (w) => e.handleButtonClick(d, w)
2806
2813
  }, {
@@ -2834,13 +2841,13 @@ function jd(e, t, n, r, o, a) {
2834
2841
  _: 1
2835
2842
  })
2836
2843
  ]),
2837
- _e("div", null, [
2844
+ Ee("div", null, [
2838
2845
  G(u, null, {
2839
2846
  default: R(() => {
2840
2847
  var v, b;
2841
2848
  return [
2842
- e.hasApiConfig ? (F(), Z(de, { key: 0 }, [
2843
- (v = e.importConfig) != null && v.children ? (F(), q(c, {
2849
+ e.hasApiConfig ? (L(), Z(de, { key: 0 }, [
2850
+ (v = e.importConfig) != null && v.children ? (L(), q(c, {
2844
2851
  key: 0,
2845
2852
  trigger: ["click"],
2846
2853
  disabled: e.importLoading
@@ -2848,7 +2855,7 @@ function jd(e, t, n, r, o, a) {
2848
2855
  overlay: R(() => [
2849
2856
  G(l, null, {
2850
2857
  default: R(() => [
2851
- (F(!0), Z(de, null, Ie(e.importConfig.children, (d, w) => (F(), q(i, {
2858
+ (L(!0), Z(de, null, Ie(e.importConfig.children, (d, w) => (L(), q(i, {
2852
2859
  key: w,
2853
2860
  onClick: () => e.handleImport(d, w)
2854
2861
  }, {
@@ -2874,8 +2881,8 @@ function jd(e, t, n, r, o, a) {
2874
2881
  }, 8, ["loading"])
2875
2882
  ]),
2876
2883
  _: 1
2877
- }, 8, ["disabled"])) : ge("", !0),
2878
- e.exportConfig ? (F(), q(g, {
2884
+ }, 8, ["disabled"])) : pe("", !0),
2885
+ e.exportConfig ? (L(), q(g, {
2879
2886
  key: 1,
2880
2887
  size: "small",
2881
2888
  type: "primary",
@@ -2886,9 +2893,9 @@ function jd(e, t, n, r, o, a) {
2886
2893
  fe(" 导出 ")
2887
2894
  ]),
2888
2895
  _: 1
2889
- }, 8, ["loading"])) : ge("", !0)
2890
- ], 64)) : (F(), Z(de, { key: 1 }, [
2891
- (b = e.importConfig) != null && b.sublist ? (F(), q(c, {
2896
+ }, 8, ["loading"])) : pe("", !0)
2897
+ ], 64)) : (L(), Z(de, { key: 1 }, [
2898
+ (b = e.importConfig) != null && b.sublist ? (L(), q(c, {
2892
2899
  key: 0,
2893
2900
  trigger: ["click"],
2894
2901
  disabled: e.importLoading
@@ -2896,7 +2903,7 @@ function jd(e, t, n, r, o, a) {
2896
2903
  overlay: R(() => [
2897
2904
  G(l, null, {
2898
2905
  default: R(() => [
2899
- (F(!0), Z(de, null, Ie(e.importConfig.sublist, (d, w) => (F(), q(i, {
2906
+ (L(!0), Z(de, null, Ie(e.importConfig.sublist, (d, w) => (L(), q(i, {
2900
2907
  key: w,
2901
2908
  onClick: () => e.handleImport(d, w)
2902
2909
  }, {
@@ -2922,14 +2929,14 @@ function jd(e, t, n, r, o, a) {
2922
2929
  }, 8, ["loading"])
2923
2930
  ]),
2924
2931
  _: 1
2925
- }, 8, ["disabled"])) : ge("", !0),
2926
- e.exportConfig ? (F(), q(c, { key: 1 }, {
2932
+ }, 8, ["disabled"])) : pe("", !0),
2933
+ e.exportConfig ? (L(), q(c, { key: 1 }, {
2927
2934
  overlay: R(() => [
2928
2935
  G(l, {
2929
2936
  onClick: t[1] || (t[1] = (d) => e.handleExport(d.key))
2930
2937
  }, {
2931
2938
  default: R(() => [
2932
- (F(!0), Z(de, null, Ie(e.OPERATIONS_EXPORT_MAP, (d, w) => (F(), q(i, { key: w }, {
2939
+ (L(!0), Z(de, null, Ie(e.OPERATIONS_EXPORT_MAP, (d, w) => (L(), q(i, { key: w }, {
2933
2940
  default: R(() => [
2934
2941
  fe(ue(d), 1)
2935
2942
  ]),
@@ -2953,7 +2960,7 @@ function jd(e, t, n, r, o, a) {
2953
2960
  }, 8, ["loading"])
2954
2961
  ]),
2955
2962
  _: 1
2956
- })) : ge("", !0)
2963
+ })) : pe("", !0)
2957
2964
  ], 64)),
2958
2965
  G(h, {
2959
2966
  class: "operations-pagination-simple",
@@ -2971,7 +2978,7 @@ function jd(e, t, n, r, o, a) {
2971
2978
  size: "small",
2972
2979
  options: e.pageSizeOptions
2973
2980
  }, null, 8, ["value", "options"]),
2974
- e.hasApiConfig ? ge("", !0) : (F(), q(c, {
2981
+ e.hasApiConfig ? pe("", !0) : (L(), q(c, {
2975
2982
  key: 2,
2976
2983
  placement: "bottomRight",
2977
2984
  trigger: ["click"]
@@ -2981,10 +2988,10 @@ function jd(e, t, n, r, o, a) {
2981
2988
  onClick: t[5] || (t[5] = (d) => e.$emit("customizeSetting", d.key))
2982
2989
  }, {
2983
2990
  default: R(() => [
2984
- (F(!0), Z(de, null, Ie(e.SETTINGS_MAP, (d, w) => (F(), q(i, { key: w }, {
2991
+ (L(!0), Z(de, null, Ie(e.SETTINGS_MAP, (d, w) => (L(), q(i, { key: w }, {
2985
2992
  default: R(() => [
2986
2993
  G(p, { style: { "margin-right": "4px" } }),
2987
- _e("a", kd, ue(d), 1)
2994
+ Ee("a", kd, ue(d), 1)
2988
2995
  ]),
2989
2996
  _: 2
2990
2997
  }, 1024))), 128))
@@ -2993,7 +3000,7 @@ function jd(e, t, n, r, o, a) {
2993
3000
  })
2994
3001
  ]),
2995
3002
  default: R(() => [
2996
- _e("div", Fd, [
3003
+ Ee("div", Fd, [
2997
3004
  G(p, { style: { "font-size": "15px", transform: "translateY(2px)" } })
2998
3005
  ])
2999
3006
  ]),
@@ -3036,7 +3043,7 @@ const Bd = /* @__PURE__ */ je(Rd, [["render", jd]]), xd = $e({
3036
3043
  });
3037
3044
  }).finally(() => o.value = !1);
3038
3045
  }, c = {
3039
- data: () => Ee(l),
3046
+ data: () => _e(l),
3040
3047
  template: r
3041
3048
  };
3042
3049
  return t({ fetchSummary: g }), () => Qe(
@@ -3496,7 +3503,7 @@ const Qd = {
3496
3503
  return;
3497
3504
  const k = [...$[p]], Q = c.value;
3498
3505
  k.indexOf(B[Q]) >= 0 ? k.splice(k.indexOf(B[Q]), 1) : k.push(B[Q]), $[p] = k, w[p] = Ce.value.filter((W) => k.includes(W[Q]));
3499
- }, L = (B) => ({
3506
+ }, F = (B) => ({
3500
3507
  onclick: () => P(B)
3501
3508
  }), I = H(() => {
3502
3509
  var k;
@@ -3703,7 +3710,7 @@ const Qd = {
3703
3710
  onConditionChange: se,
3704
3711
  onHeaderFilterChange: ne,
3705
3712
  emit: n,
3706
- customRow: L,
3713
+ customRow: F,
3707
3714
  actionVisible: He,
3708
3715
  onSelectChange: E,
3709
3716
  handleLinkClick: Re,
@@ -3717,16 +3724,16 @@ const Qd = {
3717
3724
  const np = {
3718
3725
  ref: "tableWrapper",
3719
3726
  style: { flex: "auto", overflow: "hidden" }
3720
- }, rp = { key: 1 }, op = { style: { color: "#999" } }, ap = { key: 1 }, ip = { key: 2 }, sp = ["onClick"], lp = /* @__PURE__ */ _e("span", { class: "table-summary-cell-text" }, "选中", -1), up = {
3727
+ }, rp = { key: 1 }, op = { style: { color: "#999" } }, ap = { key: 1 }, ip = { key: 2 }, sp = ["onClick"], lp = /* @__PURE__ */ Ee("span", { class: "table-summary-cell-text" }, "选中", -1), up = {
3721
3728
  key: 0,
3722
3729
  class: "table-summary-cell-text"
3723
3730
  }, cp = {
3724
3731
  key: 1,
3725
3732
  class: "table-summary-cell-text"
3726
- }, fp = /* @__PURE__ */ _e("span", { class: "table-summary-cell-text" }, "总计", -1), dp = { class: "table-summary-cell-text" };
3733
+ }, fp = /* @__PURE__ */ Ee("span", { class: "table-summary-cell-text" }, "总计", -1), dp = { class: "table-summary-cell-text" };
3727
3734
  function pp(e, t, n, r, o, a) {
3728
3735
  const s = j("a-tooltip"), i = j("ConditionBuilder"), l = j("a-input"), u = j("LoadingOutlined"), g = j("Space"), c = j("TableCell"), f = j("a-table-summary-cell"), h = j("a-table-summary-row"), S = j("a-table-summary"), p = j("Table");
3729
- return F(), Z("div", np, [
3736
+ return L(), Z("div", np, [
3730
3737
  G(p, {
3731
3738
  bordered: "",
3732
3739
  size: "small",
@@ -3749,25 +3756,25 @@ function pp(e, t, n, r, o, a) {
3749
3756
  onChange: e.onTableChange
3750
3757
  }, {
3751
3758
  headerCell: R(({ column: m }) => [
3752
- m.key === e.DATA_SOURCE_INDEX_KEY ? (F(), Z("div", {
3759
+ m.key === e.DATA_SOURCE_INDEX_KEY ? (L(), Z("div", {
3753
3760
  key: 0,
3754
3761
  onMouseenter: t[0] || (t[0] = (...v) => e.showFilled && e.showFilled(...v)),
3755
3762
  onMouseleave: t[1] || (t[1] = (...v) => e.showOutlined && e.showOutlined(...v)),
3756
3763
  onClick: t[2] || (t[2] = (...v) => e.headerFilterSwitch && e.headerFilterSwitch(...v))
3757
3764
  }, [
3758
- (F(), q(Zt(e.currentIcon)))
3759
- ], 32)) : (F(), Z("div", rp, [
3760
- m.sortable === !1 ? (F(), q(s, { key: 0 }, {
3765
+ (L(), q(Zt(e.currentIcon)))
3766
+ ], 32)) : (L(), Z("div", rp, [
3767
+ m.sortable === !1 ? (L(), q(s, { key: 0 }, {
3761
3768
  title: R(() => [
3762
3769
  fe("仅支持当前页的筛选排序,不支持跨页筛选排序。如需统计全部数据,请点[导出全部],在 excel 统计。")
3763
3770
  ]),
3764
3771
  default: R(() => [
3765
- _e("span", op, ue(m.title), 1)
3772
+ Ee("span", op, ue(m.title), 1)
3766
3773
  ]),
3767
3774
  _: 2
3768
- }, 1024)) : (F(), Z("div", ap, ue(m.title), 1)),
3769
- m.key.startsWith(e.DATA_SOURCE_FILTER_PREFIX) ? (F(), Z("div", ip, [
3770
- e.fieldNameConditionsByKey[m.dataIndex] ? (F(), q(i, {
3775
+ }, 1024)) : (L(), Z("div", ap, ue(m.title), 1)),
3776
+ m.key.startsWith(e.DATA_SOURCE_FILTER_PREFIX) ? (L(), Z("div", ip, [
3777
+ e.fieldNameConditionsByKey[m.dataIndex] ? (L(), q(i, {
3771
3778
  key: 0,
3772
3779
  value: e.formState[e.pageName][m.dataIndex],
3773
3780
  "onUpdate:value": (v) => e.formState[e.pageName][m.dataIndex] = v,
@@ -3777,7 +3784,7 @@ function pp(e, t, n, r, o, a) {
3777
3784
  },
3778
3785
  onPressEnter: e.onSubmit,
3779
3786
  style: { width: "100%" }
3780
- }, null, 8, ["value", "onUpdate:value", "materials", "onChange", "onPressEnter"])) : (F(), q(l, {
3787
+ }, null, 8, ["value", "onUpdate:value", "materials", "onChange", "onPressEnter"])) : (L(), q(l, {
3781
3788
  key: 1,
3782
3789
  disabled: "",
3783
3790
  size: "small",
@@ -3786,20 +3793,20 @@ function pp(e, t, n, r, o, a) {
3786
3793
  onChange: e.onHeaderFilterChange,
3787
3794
  onPressEnter: e.onSubmit
3788
3795
  }, null, 8, ["value", "onUpdate:value", "onChange", "onPressEnter"]))
3789
- ])) : ge("", !0)
3796
+ ])) : pe("", !0)
3790
3797
  ]))
3791
3798
  ]),
3792
3799
  bodyCell: R(({ column: m, record: v }) => [
3793
- m.dataIndex === "action" ? (F(), q(g, { key: 0 }, {
3800
+ m.dataIndex === "action" ? (L(), q(g, { key: 0 }, {
3794
3801
  default: R(() => [
3795
- (F(!0), Z(de, null, Ie(m.childActions, (b) => (F(), Z(de, {
3802
+ (L(!0), Z(de, null, Ie(m.childActions, (b) => (L(), Z(de, {
3796
3803
  key: b.action
3797
3804
  }, [
3798
- b.show === void 0 || e.actionVisible(b.show, v) ? (F(), Z(de, { key: 0 }, [
3799
- v[e.LOADING_SIGN][`${b.action}Loading`] ? (F(), q(u, {
3805
+ b.show === void 0 || e.actionVisible(b.show, v) ? (L(), Z(de, { key: 0 }, [
3806
+ v[e.LOADING_SIGN][`${b.action}Loading`] ? (L(), q(u, {
3800
3807
  key: 1,
3801
3808
  style: { color: "#1890ff" }
3802
- })) : (F(), Z("a", {
3809
+ })) : (L(), Z("a", {
3803
3810
  key: 0,
3804
3811
  onClick: qr(
3805
3812
  (d) => {
@@ -3808,19 +3815,19 @@ function pp(e, t, n, r, o, a) {
3808
3815
  ["stop"]
3809
3816
  )
3810
3817
  }, ue(b.text), 9, sp))
3811
- ], 64)) : ge("", !0)
3818
+ ], 64)) : pe("", !0)
3812
3819
  ], 64))), 128))
3813
3820
  ]),
3814
3821
  _: 2
3815
- }, 1024)) : ge("", !0),
3816
- [...e.linkCellKeys, ...e.keywords].includes(m.dataIndex) ? (F(), q(c, Vr(Pt({ key: 1 }, {
3822
+ }, 1024)) : pe("", !0),
3823
+ [...e.linkCellKeys, ...e.keywords].includes(m.dataIndex) ? (L(), q(c, Vr(Pt({ key: 1 }, {
3817
3824
  row: v,
3818
3825
  column: m,
3819
3826
  loading: v[e.LOADING_SIGN][`${m.action}Loading`],
3820
3827
  keywords: e.keywords,
3821
3828
  linkCellKeys: e.linkCellKeys,
3822
3829
  handleLinkClick: e.handleLinkClick
3823
- })), null, 16)) : ge("", !0)
3830
+ })), null, 16)) : pe("", !0)
3824
3831
  ]),
3825
3832
  summary: R(() => [
3826
3833
  G(S, { fixed: "" }, {
@@ -3833,13 +3840,13 @@ function pp(e, t, n, r, o, a) {
3833
3840
  ]),
3834
3841
  _: 1
3835
3842
  }),
3836
- (F(!0), Z(de, null, Ie(e.columns, (m, v) => (F(), q(f, {
3843
+ (L(!0), Z(de, null, Ie(e.columns, (m, v) => (L(), q(f, {
3837
3844
  key: m.key,
3838
3845
  index: v + 1,
3839
3846
  style: { "text-align": "center" }
3840
3847
  }, {
3841
3848
  default: R(() => [
3842
- v === 0 ? (F(), Z("span", up, ue(e.selectedRowKeys[e.pageName].length), 1)) : (F(), Z("span", cp, ue(m.summary ? e.transformSummary(m.summary, m) : null), 1))
3849
+ v === 0 ? (L(), Z("span", up, ue(e.selectedRowKeys[e.pageName].length), 1)) : (L(), Z("span", cp, ue(m.summary ? e.transformSummary(m.summary, m) : null), 1))
3843
3850
  ]),
3844
3851
  _: 2
3845
3852
  }, 1032, ["index"]))), 128))
@@ -3856,13 +3863,13 @@ function pp(e, t, n, r, o, a) {
3856
3863
  ]),
3857
3864
  _: 1
3858
3865
  }),
3859
- (F(!0), Z(de, null, Ie(e.totalList, (m, v) => (F(), q(f, {
3866
+ (L(!0), Z(de, null, Ie(e.totalList, (m, v) => (L(), q(f, {
3860
3867
  key: v,
3861
3868
  index: v + 1,
3862
3869
  style: { "text-align": "center" }
3863
3870
  }, {
3864
3871
  default: R(() => [
3865
- _e("span", dp, ue(m), 1)
3872
+ Ee("span", dp, ue(m), 1)
3866
3873
  ]),
3867
3874
  _: 2
3868
3875
  }, 1032, ["index"]))), 128))
@@ -3914,8 +3921,8 @@ const hp = {
3914
3921
  emits: ["change", "update:visible"],
3915
3922
  setup(e, { emit: t }) {
3916
3923
  const n = mn(), r = jo(), o = ro(e, "visible", t), a = D(!1), s = D([]), i = Ne({ dataSource: [] });
3917
- pe(o, (b) => {
3918
- b ? i.dataSource = Wn(Ee(e.columns)).map((d) => (d.show !== !1 && s.value.push(d.columnKey), {
3924
+ ge(o, (b) => {
3925
+ b ? i.dataSource = Wn(_e(e.columns)).map((d) => (d.show !== !1 && s.value.push(d.columnKey), {
3919
3926
  ...d,
3920
3927
  disabled: d.columnKey === "action" || d.fixed !== void 0 || d.disabled,
3921
3928
  key: d.columnKey,
@@ -3928,7 +3935,7 @@ const hp = {
3928
3935
  dataIndex: "title"
3929
3936
  }
3930
3937
  ], u = async () => {
3931
- const b = Ee(s.value), { dataSource: d } = i, { category: w, tab: $ } = n.meta, y = b.map((_) => {
3938
+ const b = _e(s.value), { dataSource: d } = i, { category: w, tab: $ } = n.meta, y = b.map((_) => {
3932
3939
  const O = {}, T = d.find((C) => C.columnKey === _);
3933
3940
  if (O.entityId = T.entityId, O.columnKey = T.columnKey, e.type === "SORT_SETTING") {
3934
3941
  const [C, A] = T.columnKey.split("@");
@@ -4030,7 +4037,7 @@ const hp = {
4030
4037
  O > -1 ? s.value.splice(O, 1) : s.value.push(y);
4031
4038
  }
4032
4039
  }), m = () => document.querySelector(".page-renderer-wrapper");
4033
- return pe(o, (b) => {
4040
+ return ge(o, (b) => {
4034
4041
  b && qe(() => {
4035
4042
  const d = document.querySelector(".ant-modal-root"), w = d == null ? void 0 : d.querySelector(".ant-modal-header"), $ = d == null ? void 0 : d.querySelector(".ant-modal");
4036
4043
  w.style.cursor = "move";
@@ -4072,7 +4079,7 @@ const hp = {
4072
4079
  });
4073
4080
  function yp(e, t, n, r, o, a) {
4074
4081
  const s = j("a-table"), i = j("Transfer"), l = j("Button"), u = j("Space"), g = j("Modal");
4075
- return F(), q(g, {
4082
+ return L(), q(g, {
4076
4083
  "wrap-class-name": "drag-modal-wrapper",
4077
4084
  visible: e.show,
4078
4085
  "onUpdate:visible": t[1] || (t[1] = (c) => e.show = c),
@@ -4082,7 +4089,7 @@ function yp(e, t, n, r, o, a) {
4082
4089
  onCancel: e.handleClose
4083
4090
  }, {
4084
4091
  title: R(() => [
4085
- _e("span", null, ue(e.title), 1)
4092
+ Ee("span", null, ue(e.title), 1)
4086
4093
  ]),
4087
4094
  footer: R(() => [
4088
4095
  G(u, null, {
@@ -4335,7 +4342,7 @@ var Pp = Ye((e, t) => {
4335
4342
  manual: r,
4336
4343
  defaultParams: o = []
4337
4344
  } = t;
4338
- return pe(n, (a) => {
4345
+ return ge(n, (a) => {
4339
4346
  !r && a && e.context.run(...o);
4340
4347
  }, {
4341
4348
  flush: "sync"
@@ -4356,7 +4363,7 @@ var Pp = Ye((e, t) => {
4356
4363
  if (n === void 0 || Qt(n) && n.length === 0)
4357
4364
  return {};
4358
4365
  const a = Qt(n) ? n : [n];
4359
- return pe(a, () => {
4366
+ return ge(a, () => {
4360
4367
  r ? r() : !o && e.context.refresh();
4361
4368
  }), {};
4362
4369
  }), Rp = Ye((e, t) => {
@@ -4699,7 +4706,7 @@ var Yp = Ye((e, t) => {
4699
4706
  }, S = () => {
4700
4707
  i.value && f() && (e.context.refresh(), i.value = !1);
4701
4708
  };
4702
- return pe(l, () => {
4709
+ return ge(l, () => {
4703
4710
  s.value && (s.value(), s.value = h(() => e.context.refresh()));
4704
4711
  }), r || c(Jt("VISIBLE_LISTENER", S)), o || c(Jt("RECONNECT_LISTENER", S)), en(() => {
4705
4712
  g.forEach((p) => p());
@@ -4866,10 +4873,10 @@ const zr = "COLUMN_SCHEME", Ur = {
4866
4873
  return ["", void 0, null].includes(x) || Array.isArray(x) ? !0 : Object.hasOwn(M, J) ? od((te = M[J]) == null ? void 0 : te.toString(), x) : !0;
4867
4874
  }));
4868
4875
  };
4869
- pe(g, () => {
4876
+ ge(g, () => {
4870
4877
  C();
4871
4878
  });
4872
- const { patchEnumerations: A, patchStaticEnumerations: Y } = hn(), V = D(null), N = D(null), E = D(null), P = li(zr, {}), L = D(
4879
+ const { patchEnumerations: A, patchStaticEnumerations: Y } = hn(), V = D(null), N = D(null), E = D(null), P = li(zr, {}), F = D(
4873
4880
  P.value[r.value.name] || r.value.columns
4874
4881
  ), I = Ne({
4875
4882
  type: "COLUMN_SETTING",
@@ -4880,7 +4887,7 @@ const zr = "COLUMN_SCHEME", Ur = {
4880
4887
  if (o)
4881
4888
  return r.value.rowKey || console.warn("【TablePage】rowKey 列表唯一键没有定义"), r.value.rowKey;
4882
4889
  {
4883
- const M = Rr(L.value, { isUniqueKey: !0 });
4890
+ const M = Rr(F.value, { isUniqueKey: !0 });
4884
4891
  return M.length === 0 ? console.warn("【TablePage】isUniqueKey 请设置唯一键") : M.length > 1 && console.warn("【TablePage】isUniqueKey 唯一键应该只有一个"), M[0].columnKey;
4885
4892
  }
4886
4893
  });
@@ -4941,7 +4948,7 @@ const zr = "COLUMN_SCHEME", Ur = {
4941
4948
  const le = Se("paramsGuard", (M) => M), ce = (M) => !_t(M) && M !== "", Re = () => {
4942
4949
  if (o) {
4943
4950
  const M = kr({
4944
- conditions: st({ ...Ee(ne) }, ce),
4951
+ conditions: st({ ..._e(ne) }, ce),
4945
4952
  pager: { pageNo: ve.value, pageSize: se.value },
4946
4953
  listApiConfig: o.list
4947
4954
  });
@@ -4955,7 +4962,7 @@ const zr = "COLUMN_SCHEME", Ur = {
4955
4962
  pageSize: se.value,
4956
4963
  fetchMode: "BODY",
4957
4964
  sorts: {},
4958
- filters: st({ ...Ee(ne) }, ce)
4965
+ filters: st({ ..._e(ne) }, ce)
4959
4966
  });
4960
4967
  }
4961
4968
  Ce(), k();
@@ -4973,7 +4980,7 @@ const zr = "COLUMN_SCHEME", Ur = {
4973
4980
  tab: te,
4974
4981
  fetchMode: "BODY",
4975
4982
  sorts: f.value,
4976
- filters: st({ ...Ee(ne) }, ce),
4983
+ filters: st({ ..._e(ne) }, ce),
4977
4984
  ids: x
4978
4985
  });
4979
4986
  if (!we)
@@ -4997,13 +5004,13 @@ const zr = "COLUMN_SCHEME", Ur = {
4997
5004
  });
4998
5005
  En("pageName", e.page.name);
4999
5006
  const W = (M, x, J, te) => {
5000
- const we = J || (ye[e.page.name] ? Ee(ye[e.page.name]) : []);
5007
+ const we = J || (ye[e.page.name] ? _e(ye[e.page.name]) : []);
5001
5008
  Q(M, we, te);
5002
5009
  }, We = async () => {
5003
5010
  I.visible = !1, setTimeout(() => {
5004
5011
  T();
5005
5012
  }, 500);
5006
- }, at = H(() => L.value.map((M) => ({
5013
+ }, at = H(() => F.value.map((M) => ({
5007
5014
  ...M,
5008
5015
  show: o ? !0 : z.value.includes(M.columnKey)
5009
5016
  })));
@@ -5026,14 +5033,14 @@ const zr = "COLUMN_SCHEME", Ur = {
5026
5033
  Y(e.page.enumerations), await A(e.page.enumapi), S.value = !0, qe().then(() => {
5027
5034
  k();
5028
5035
  });
5029
- }), o ? pe([ve, se], ([M, x]) => {
5036
+ }), o ? ge([ve, se], ([M, x]) => {
5030
5037
  const J = kr({
5031
- conditions: st({ ...Ee(ne) }, ce),
5038
+ conditions: st({ ..._e(ne) }, ce),
5032
5039
  pager: { pageNo: M, pageSize: x },
5033
5040
  listApiConfig: o.list
5034
5041
  });
5035
5042
  y.value.run(J);
5036
- }) : pe([ve, se, f], ([M, x]) => {
5043
+ }) : ge([ve, se, f], ([M, x]) => {
5037
5044
  const { category: J, tab: te } = n.meta;
5038
5045
  y.value.run({
5039
5046
  category: J,
@@ -5042,7 +5049,7 @@ const zr = "COLUMN_SCHEME", Ur = {
5042
5049
  pageSize: x,
5043
5050
  fetchMode: "BODY",
5044
5051
  sorts: f.value,
5045
- filters: st({ ...Ee(ne) }, ce)
5052
+ filters: st({ ..._e(ne) }, ce)
5046
5053
  });
5047
5054
  });
5048
5055
  const it = (M) => {
@@ -5113,7 +5120,7 @@ const zr = "COLUMN_SCHEME", Ur = {
5113
5120
  });
5114
5121
  function Xp(e, t, n, r, o, a) {
5115
5122
  const s = j("Conditions"), i = j("Operations"), l = j("SummaryBar"), u = j("TableView"), g = j("ColumnSettingModal");
5116
- return e.loaded ? (F(), Z(de, { key: 0 }, [
5123
+ return e.loaded ? (L(), Z(de, { key: 0 }, [
5117
5124
  G(s, {
5118
5125
  ref: "conditions",
5119
5126
  config: e.page.conditions,
@@ -5143,11 +5150,11 @@ function Xp(e, t, n, r, o, a) {
5143
5150
  onButtonClick: e.handleEmitAction,
5144
5151
  onCustomizeSetting: e.handleCustomizeSetting
5145
5152
  }, null, 8, ["total", "config", "has-api-config", "export-config", "import-config", "handle-export", "pageSize", "current", "onRefresh", "onButtonClick", "onCustomizeSetting"]),
5146
- e.summary ? (F(), q(l, {
5153
+ e.summary ? (L(), q(l, {
5147
5154
  key: 0,
5148
5155
  ref: "summaryBar",
5149
5156
  config: e.summary
5150
- }, null, 8, ["config"])) : ge("", !0),
5157
+ }, null, 8, ["config"])) : pe("", !0),
5151
5158
  G(u, {
5152
5159
  ref: "tableView",
5153
5160
  config: e.sortedColumns,
@@ -5173,7 +5180,7 @@ function Xp(e, t, n, r, o, a) {
5173
5180
  columns: e.columnSettingState.columns,
5174
5181
  onChange: e.columnSettingChange
5175
5182
  }, null, 8, ["visible", "type", "title", "columns", "onChange"])
5176
- ], 64)) : ge("", !0);
5183
+ ], 64)) : pe("", !0);
5177
5184
  }
5178
5185
  const Qo = /* @__PURE__ */ je(Vp, [["render", Xp]]), Qp = $e({
5179
5186
  name: "PageRendererTabsPage",
@@ -5206,7 +5213,7 @@ const Qo = /* @__PURE__ */ je(Vp, [["render", Xp]]), Qp = $e({
5206
5213
  });
5207
5214
  function Jp(e, t, n, r, o, a) {
5208
5215
  const s = j("TablePage"), i = j("a-tab-pane"), l = j("a-tabs");
5209
- return F(), q(l, {
5216
+ return L(), q(l, {
5210
5217
  type: "card",
5211
5218
  size: "small",
5212
5219
  class: "tabs-page-renderer",
@@ -5215,7 +5222,7 @@ function Jp(e, t, n, r, o, a) {
5215
5222
  onChange: e.activeChange
5216
5223
  }, {
5217
5224
  default: R(() => [
5218
- (F(!0), Z(de, null, Ie(e.pages, (u) => (F(), q(i, {
5225
+ (L(!0), Z(de, null, Ie(e.pages, (u) => (L(), q(i, {
5219
5226
  key: u.name,
5220
5227
  tab: u.title
5221
5228
  }, {
@@ -5235,7 +5242,7 @@ function Jp(e, t, n, r, o, a) {
5235
5242
  const Zp = /* @__PURE__ */ je(Qp, [["render", Jp]]), eg = (e) => ({
5236
5243
  mounted(t, n) {
5237
5244
  var g, c, f;
5238
- const o = (g = e.currentRoute.value.meta) == null ? void 0 : g.permissions, { value: a, modifiers: s } = n, i = (c = Ee(a)) == null ? void 0 : c.length;
5245
+ const o = (g = e.currentRoute.value.meta) == null ? void 0 : g.permissions, { value: a, modifiers: s } = n, i = (c = _e(a)) == null ? void 0 : c.length;
5239
5246
  if (!i)
5240
5247
  return;
5241
5248
  let l = !1, u = 0;
@@ -5610,21 +5617,21 @@ const fg = cg, dg = $e({
5610
5617
  }), pg = { class: "page-renderer-wrapper" };
5611
5618
  function gg(e, t, n, r, o, a) {
5612
5619
  const s = j("TablePage"), i = j("TabsPage"), l = j("FormModal"), u = j("ConfigProvider");
5613
- return e.rendererOptions ? (F(), q(u, Vr(Pt({ key: 0 }, e.getPopupContainer)), {
5620
+ return e.rendererOptions ? (L(), q(u, Vr(Pt({ key: 0 }, e.getPopupContainer)), {
5614
5621
  default: R(() => [
5615
- _e("div", pg, [
5616
- e.rendererOptions.type === "basic" ? (F(), q(s, {
5622
+ Ee("div", pg, [
5623
+ e.rendererOptions.type === "basic" ? (L(), q(s, {
5617
5624
  key: 0,
5618
5625
  page: e.rendererOptions.page,
5619
5626
  ref: "table"
5620
- }, null, 8, ["page"])) : ge("", !0),
5621
- e.rendererOptions.type === "tabs" ? (F(), q(i, {
5627
+ }, null, 8, ["page"])) : pe("", !0),
5628
+ e.rendererOptions.type === "tabs" ? (L(), q(i, {
5622
5629
  key: 1,
5623
5630
  pages: e.rendererOptions.pages,
5624
5631
  activePageName: e.activePageName,
5625
5632
  "onUpdate:activePageName": t[0] || (t[0] = (g) => e.activePageName = g),
5626
5633
  ref: "tabs"
5627
- }, null, 8, ["pages", "activePageName"])) : ge("", !0),
5634
+ }, null, 8, ["pages", "activePageName"])) : pe("", !0),
5628
5635
  G(l, {
5629
5636
  ref: "formModal",
5630
5637
  form: e.currentComponent,
@@ -5635,7 +5642,7 @@ function gg(e, t, n, r, o, a) {
5635
5642
  ])
5636
5643
  ]),
5637
5644
  _: 1
5638
- }, 16)) : ge("", !0);
5645
+ }, 16)) : pe("", !0);
5639
5646
  }
5640
5647
  const mg = /* @__PURE__ */ je(dg, [["render", gg]]);
5641
5648
  const hg = nn(mg), vg = [eo, xa, gi, yi, hg], { enumerations: Cg } = hn();