z-ui-pc 1.4.2 → 1.4.4

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.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ref as R, defineComponent as L, resolveComponent as S, createBlock as G, openBlock as m, unref as d, createSlots as Le, withCtx as y, createElementVNode as x, normalizeStyle as nt, toDisplayString as X, useCssVars as Fe, computed as N, createElementBlock as E, renderSlot as ue, createTextVNode as U, normalizeClass as ne, createCommentVNode as M, provide as Ho, inject as Uo, resolveDynamicComponent as Zo, mergeProps as q, toHandlers as ge, onBeforeUnmount as at, getCurrentScope as Et, onScopeDispose as Bt, watch as wt, nextTick as W, isRef as Te, normalizeProps as ta, guardReactiveProps as oa, mergeModels as fe, useModel as Ie, createVNode as h, Fragment as H, renderList as Y, useSlots as st, resolveDirective as oe, withDirectives as te, h as Oe, withModifiers as me, markRaw as go, watchEffect as ut, watchPostEffect as lt, withKeys as St, onActivated as na, onDeactivated as aa, onMounted as rt, onUnmounted as kt, isVNode as Tt, getCurrentInstance as Qo, defineAsyncComponent as sa, render as ho, Teleport as ua, Transition as $o, useTemplateRef as la } from "vue";
1
+ import { ref as R, defineComponent as L, resolveComponent as S, createBlock as G, openBlock as D, unref as d, createSlots as Le, withCtx as y, createElementVNode as x, normalizeStyle as nt, toDisplayString as X, useCssVars as Fe, computed as N, createElementBlock as E, renderSlot as ue, createTextVNode as U, normalizeClass as ne, createCommentVNode as M, provide as Ho, inject as Uo, resolveDynamicComponent as Zo, mergeProps as q, toHandlers as ge, onBeforeUnmount as at, getCurrentScope as Et, onScopeDispose as Bt, watch as wt, nextTick as W, isRef as Te, normalizeProps as ta, guardReactiveProps as oa, mergeModels as fe, useModel as Ie, createVNode as h, Fragment as H, renderList as Y, useSlots as st, resolveDirective as oe, withDirectives as ee, h as Oe, withModifiers as me, markRaw as go, watchEffect as ut, watchPostEffect as lt, withKeys as St, onActivated as na, onDeactivated as aa, onMounted as rt, onUnmounted as kt, isVNode as Tt, getCurrentInstance as Qo, defineAsyncComponent as sa, render as ho, Teleport as ua, Transition as $o, useTemplateRef as la } from "vue";
2
2
  import z, { isNumber as zt, cloneDeep as ie, throttle as ra, isUndefined as we, isEqual as Wo, omit as ze, isFunction as be, merge as Ye, mergeWith as Yo, isObject as vt, isString as jo, sortBy as He, debounce as ia, isNull as At, toNumber as Co, isEmpty as ca, pick as Ko } from "lodash";
3
3
  import Ae from "dayjs";
4
4
  import { CircleClose as Xo, Search as qt, Close as Jt, EditPen as it, CloseBold as ct, Plus as eo, Loading as da, QuestionFilled as Ht, Refresh as pa, ArrowDownBold as ma, ArrowUp as Da, ArrowDown as fa, CircleCloseFilled as qo } from "@element-plus/icons-vue";
@@ -38,7 +38,7 @@ const ya = (t, e) => (o) => {
38
38
  });
39
39
  return (o, n) => {
40
40
  const a = S("el-tooltip");
41
- return m(), G(a, {
41
+ return D(), G(a, {
42
42
  visible: d(K).visible,
43
43
  "onUpdate:visible": n[0] || (n[0] = (s) => d(K).visible = s),
44
44
  effect: d(K).effect,
@@ -98,7 +98,7 @@ const ya = (t, e) => (o) => {
98
98
  const a = String(t.content);
99
99
  return a && t.showFirstLetter && a.length > 1 ? Array.from(a).filter(Boolean)[0] || "" : t.content || "";
100
100
  });
101
- return (a, s) => (m(), E("div", Ba, [
101
+ return (a, s) => (D(), E("div", Ba, [
102
102
  ue(a.$slots, "default", {}, () => [
103
103
  U(X(n.value), 1)
104
104
  ], !0)
@@ -132,7 +132,7 @@ const ya = (t, e) => (o) => {
132
132
  "0c7a2aa7": o.value
133
133
  }));
134
134
  const e = N(() => zt(t.mb) ? `${t.mb}px` : t.mb), o = N(() => zt(t.mt) ? `${t.mt}px` : t.mt);
135
- return (n, a) => (m(), E("div", ka, [
135
+ return (n, a) => (D(), E("div", ka, [
136
136
  x("div", {
137
137
  class: ne([
138
138
  "classify-title",
@@ -144,12 +144,12 @@ const ya = (t, e) => (o) => {
144
144
  ue(n.$slots, "default", {}, () => [
145
145
  U(X(n.title), 1)
146
146
  ], !0),
147
- n.tips || n.$slots.tips ? (m(), E("span", Ta, [
147
+ n.tips || n.$slots.tips ? (D(), E("span", Ta, [
148
148
  ue(n.$slots, "tips", {}, () => [
149
149
  U(X(n.tips), 1)
150
150
  ], !0)
151
151
  ])) : M("", !0),
152
- n.required ? (m(), E("span", Ia, "*")) : M("", !0)
152
+ n.required ? (D(), E("span", Ia, "*")) : M("", !0)
153
153
  ], 2)
154
154
  ]));
155
155
  }
@@ -164,7 +164,7 @@ const ya = (t, e) => (o) => {
164
164
  setup(t) {
165
165
  return (e, o) => {
166
166
  const n = S("el-empty");
167
- return m(), G(n, {
167
+ return D(), G(n, {
168
168
  class: "z-empty",
169
169
  image: e.image,
170
170
  "image-size": e.imageSize,
@@ -213,8 +213,8 @@ const Ma = {
213
213
  disabled: !0
214
214
  } : r;
215
215
  });
216
- return (r, l) => o.value ? (m(), E("div", Ma, [
217
- (m(), G(Zo(o.value.getFormComponent), q(u.value, {
216
+ return (r, l) => o.value ? (D(), E("div", Ma, [
217
+ (D(), G(Zo(o.value.getFormComponent), q(u.value, {
218
218
  "dynamic-expression": s.value,
219
219
  "onUpdate:dynamicExpression": l[0] || (l[0] = (i) => s.value = i),
220
220
  "model-value": d(e).formData[r.prop]
@@ -347,35 +347,35 @@ const Ma = {
347
347
  },
348
348
  emits: ["update:modelValue", "change"],
349
349
  setup(t, { emit: e }) {
350
- Fe((f) => ({
350
+ Fe((m) => ({
351
351
  "7da59f33": C.value
352
352
  }));
353
353
  const o = t, n = e, { parseOptions: a, loadingOptions: s } = dt(o), { value: u } = Ge(o, n), r = N(() => z.omit(o.on, ["blur", "change"])), l = N(() => Se(z.omit(o, ["on", "options", "modelValue"]))), i = () => {
354
354
  n("change", u.value);
355
355
  };
356
356
  let c;
357
- const p = async (f) => {
358
- f ? c = ie(u.value) : (await W(), Wo(c, u.value) || i(), c = void 0), o.on.visibleChange?.(f);
359
- }, C = N(() => o.width || "100%"), D = (f, g) => {
360
- const b = Reflect.get(o.on, f);
357
+ const p = async (m) => {
358
+ m ? c = ie(u.value) : (await W(), Wo(c, u.value) || i(), c = void 0), o.on.visibleChange?.(m);
359
+ }, C = N(() => o.width || "100%"), f = (m, g) => {
360
+ const b = Reflect.get(o.on, m);
361
361
  b && b(g), i(), c = ie(o.props.multiple ? g ?? [] : g);
362
362
  };
363
- return (f, g) => {
363
+ return (m, g) => {
364
364
  const b = S("el-cascader");
365
- return m(), G(b, q({
365
+ return D(), G(b, q({
366
366
  modelValue: d(u),
367
367
  "onUpdate:modelValue": g[0] || (g[0] = (B) => Te(u) ? u.value = B : null),
368
368
  class: "z-cascader",
369
369
  loading: d(s)
370
370
  }, l.value, { options: d(a) }, ge(r.value), {
371
371
  onVisibleChange: p,
372
- onClear: g[1] || (g[1] = (B) => D("clear", B)),
373
- onRemoveTag: g[2] || (g[2] = (B) => D("removeTag", B))
372
+ onClear: g[1] || (g[1] = (B) => f("clear", B)),
373
+ onRemoveTag: g[2] || (g[2] = (B) => f("removeTag", B))
374
374
  }), Le({ _: 2 }, [
375
- f.$slots.default ? {
375
+ m.$slots.default ? {
376
376
  name: "default",
377
377
  fn: y(({ node: B, data: v }) => [
378
- ue(f.$slots, "default", ta(oa({ node: B, data: v })))
378
+ ue(m.$slots, "default", ta(oa({ node: B, data: v })))
379
379
  ]),
380
380
  key: "0"
381
381
  } : void 0
@@ -467,20 +467,20 @@ const Ma = {
467
467
  ), i = N(() => {
468
468
  if (o.useDefaultTimeToDay)
469
469
  return [new Date(2e3, 1, 1, 0, 0, 0), new Date(2e3, 1, 1, 23, 59, 59)];
470
- }), c = (D, f) => {
471
- if (!D)
472
- return D;
473
- const g = o.format || "", b = Ae(D).format(g);
474
- return o.autoAddSeconds && g === "YYYY-MM-DD HH:mm" ? `${b}:${f ? "59" : "00"}` : b;
470
+ }), c = (f, m) => {
471
+ if (!f)
472
+ return f;
473
+ const g = o.format || "", b = Ae(f).format(g);
474
+ return o.autoAddSeconds && g === "YYYY-MM-DD HH:mm" ? `${b}:${m ? "59" : "00"}` : b;
475
475
  }, p = N(() => ({
476
476
  ...o.on,
477
- "update:modelValue": (D) => {
478
- const f = D ?? "";
479
- if (Array.isArray(f)) {
480
- const [g, b] = f;
477
+ "update:modelValue": (f) => {
478
+ const m = f ?? "";
479
+ if (Array.isArray(m)) {
480
+ const [g, b] = m;
481
481
  a("update:modelValue", [c(g), c(b, !0)]);
482
482
  } else
483
- a("update:modelValue", c(f, !0));
483
+ a("update:modelValue", c(m, !0));
484
484
  r();
485
485
  },
486
486
  /* clear 事件会触发 emit */
@@ -488,20 +488,20 @@ const Ma = {
488
488
  a("change", s.value);
489
489
  })
490
490
  })), C = N(
491
- () => o.shortcuts?.map((D) => {
492
- const { value: f, text: g } = D;
491
+ () => o.shortcuts?.map((f) => {
492
+ const { value: m, text: g } = f;
493
493
  return {
494
494
  text: g,
495
495
  value: () => (u({
496
496
  expression: "GET_DATE_RANGE",
497
497
  params: [g, o.format || "", o.autoAddSeconds]
498
- }), typeof f == "function" ? f() : f)
498
+ }), typeof m == "function" ? m() : m)
499
499
  };
500
500
  })
501
501
  );
502
- return (D, f) => {
502
+ return (f, m) => {
503
503
  const g = S("el-date-picker");
504
- return m(), G(g, q(l.value, {
504
+ return D(), G(g, q(l.value, {
505
505
  "popper-class": `z-base-date-popper ${o.popperClass || ""}`,
506
506
  "model-value": d(s),
507
507
  "default-time": i.value,
@@ -604,12 +604,12 @@ const Ma = {
604
604
  const B = ie(u.value), v = o.whenEmptyDateClearSelect && !b ? "" : u.value?.[2], k = [...b || ["", ""], v];
605
605
  u.value = k, Wo(B, k) || i();
606
606
  }
607
- }), D = N(() => {
607
+ }), f = N(() => {
608
608
  if (!o.disabledSelectByEmptyData)
609
609
  return !1;
610
610
  const [b, B] = o.modelValue;
611
611
  return !b || !B;
612
- }), f = N({
612
+ }), m = N({
613
613
  get() {
614
614
  return ie(n.value);
615
615
  },
@@ -623,7 +623,7 @@ const Ma = {
623
623
  }));
624
624
  return (b, B) => {
625
625
  const v = S("el-option"), w = S("el-select");
626
- return m(), E("div", {
626
+ return D(), E("div", {
627
627
  class: ne([
628
628
  "base-date-range-and-select-group__container",
629
629
  {
@@ -633,8 +633,8 @@ const Ma = {
633
633
  }, [
634
634
  x("div", Za, [
635
635
  h(Ut, q({
636
- "dynamic-expression": f.value,
637
- "onUpdate:dynamicExpression": B[0] || (B[0] = (k) => f.value = k),
636
+ "dynamic-expression": m.value,
637
+ "onUpdate:dynamicExpression": B[0] || (B[0] = (k) => m.value = k),
638
638
  modelValue: C.value,
639
639
  "onUpdate:modelValue": B[1] || (B[1] = (k) => C.value = k)
640
640
  }, s.value), null, 16, ["dynamic-expression", "modelValue"])
@@ -645,12 +645,12 @@ const Ma = {
645
645
  "onUpdate:modelValue": B[2] || (B[2] = (k) => c.value = k)
646
646
  }, g.value ?? {}, {
647
647
  style: { width: b.selectWidth },
648
- disabled: D.value ?? b.disabled,
648
+ disabled: f.value ?? b.disabled,
649
649
  clearable: !1,
650
650
  loading: d(l)
651
651
  }), {
652
652
  default: y(() => [
653
- (m(!0), E(H, null, Y(d(r), (k) => (m(), G(v, q({
653
+ (D(!0), E(H, null, Y(d(r), (k) => (D(), G(v, q({
654
654
  key: k.value
655
655
  }, { ref_for: !0 }, k), null, 16))), 128))
656
656
  ]),
@@ -667,7 +667,7 @@ const Ma = {
667
667
  const e = st(), o = N(() => Object.keys(e));
668
668
  return (n, a) => {
669
669
  const s = S("el-input"), u = oe("paste-trim");
670
- return te((m(), G(s, { class: "base-input" }, Le({ _: 2 }, [
670
+ return ee((D(), G(s, { class: "base-input" }, Le({ _: 2 }, [
671
671
  Y(o.value, (r) => ({
672
672
  name: r,
673
673
  fn: y(() => [
@@ -723,46 +723,46 @@ const Ma = {
723
723
  () => Se(z.omit(o, ["on", "modelValue", "precision", "max", "min"]))
724
724
  );
725
725
  let u = o.modelValue;
726
- const r = (f) => {
727
- let g = f;
726
+ const r = (m) => {
727
+ let g = m;
728
728
  isNaN(Number(g)) && (g = u), u !== g && (u = g), a.value = u;
729
729
  }, l = () => {
730
- let f = "^\\d+$";
731
- return o.precision && (f = `^\\d+(\\.)?(\\d{1,${o.precision}})?$`), new RegExp(f);
730
+ let m = "^\\d+$";
731
+ return o.precision && (m = `^\\d+(\\.)?(\\d{1,${o.precision}})?$`), new RegExp(m);
732
732
  }, i = () => {
733
733
  if (u === "") {
734
- const f = o.emptyValueToZero ? 0 : "";
735
- r(f), o.on?.change?.(f), n("change", f);
734
+ const m = o.emptyValueToZero ? 0 : "";
735
+ r(m), o.on?.change?.(m), n("change", m);
736
736
  return;
737
737
  }
738
738
  r(parseFloat(u)), o.on?.change?.(u), n("change", u);
739
- }, c = (f) => {
740
- if (typeof f != "number" && !f) {
739
+ }, c = (m) => {
740
+ if (typeof m != "number" && !m) {
741
741
  r(o.emptyValueToZero ? 0 : "");
742
742
  return;
743
743
  }
744
744
  const { min: g, max: b } = o;
745
- if (f && !l().test(f)) {
745
+ if (m && !l().test(m)) {
746
746
  r(u);
747
747
  return;
748
748
  }
749
- const B = Number(f), v = typeof g < "u" && B < g, w = typeof b < "u" && B > b;
750
- r(w ? b : v ? g : f), o.on?.input?.(u);
751
- }, p = N(() => z.omit(o.on, ["change", "input"])), C = st(), D = N(() => Object.keys(C));
752
- return (f, g) => {
749
+ const B = Number(m), v = typeof g < "u" && B < g, w = typeof b < "u" && B > b;
750
+ r(w ? b : v ? g : m), o.on?.input?.(u);
751
+ }, p = N(() => z.omit(o.on, ["change", "input"])), C = st(), f = N(() => Object.keys(C));
752
+ return (m, g) => {
753
753
  const b = S("el-input"), B = oe("paste-trim");
754
- return m(), E("div", ja, [
755
- te((m(), G(b, q(s.value, {
754
+ return D(), E("div", ja, [
755
+ ee((D(), G(b, q(s.value, {
756
756
  modelValue: d(a),
757
757
  "onUpdate:modelValue": g[0] || (g[0] = (v) => Te(a) ? a.value = v : null)
758
758
  }, ge(p.value), {
759
759
  onInput: c,
760
760
  onChange: i
761
761
  }), Le({ _: 2 }, [
762
- Y(D.value, (v) => ({
762
+ Y(f.value, (v) => ({
763
763
  name: v,
764
764
  fn: y(() => [
765
- ue(f.$slots, v, {}, void 0, !0)
765
+ ue(m.$slots, v, {}, void 0, !0)
766
766
  ])
767
767
  }))
768
768
  ]), 1040, ["modelValue"])), [
@@ -823,25 +823,25 @@ const qe = [], ft = [], so = () => ({
823
823
  c && (clearTimeout(c), i()), c = void 0;
824
824
  }, C = () => {
825
825
  p(), r("focus");
826
- }, D = () => {
826
+ }, f = () => {
827
827
  let v = "^\\d+$";
828
828
  return o.precision && (v = `^\\d+(\\.)?(\\d{1,${o.precision}})?$`), new RegExp(v);
829
829
  };
830
- let f = [...a.value];
830
+ let m = [...a.value];
831
831
  const g = (v) => {
832
- f = [...v], n("update:modelValue", [...v]);
832
+ m = [...v], n("update:modelValue", [...v]);
833
833
  }, b = (v, w) => {
834
834
  if (typeof v != "number" && !v) {
835
- f[w] = v;
835
+ m[w] = v;
836
836
  return;
837
837
  }
838
838
  const { min: k, max: T } = o, F = [...a.value];
839
- if (v && !D().test(v)) {
840
- g(f);
839
+ if (v && !f().test(v)) {
840
+ g(m);
841
841
  return;
842
842
  }
843
843
  const _ = Number(v), A = typeof k < "u" && _ < k, V = typeof T < "u" && _ > T;
844
- V || A ? (F.splice(w, 1, V ? T : k), g(F)) : f[w] = v;
844
+ V || A ? (F.splice(w, 1, V ? T : k), g(F)) : m[w] = v;
845
845
  }, B = () => {
846
846
  l(), c = setTimeout(() => {
847
847
  r("change"), n("change", s()), i();
@@ -851,9 +851,9 @@ const qe = [], ft = [], so = () => ({
851
851
  p();
852
852
  }), (v, w) => {
853
853
  const k = S("el-input"), T = oe("paste-trim");
854
- return m(), E("div", qa, [
855
- (m(), E(H, null, Y([0, 1], (F) => (m(), E(H, { key: F }, [
856
- te(h(k, q({ ref_for: !0 }, F === 0 ? v.minProps : v.maxProps, {
854
+ return D(), E("div", qa, [
855
+ (D(), E(H, null, Y([0, 1], (F) => (D(), E(H, { key: F }, [
856
+ ee(h(k, q({ ref_for: !0 }, F === 0 ? v.minProps : v.maxProps, {
857
857
  modelValue: d(a)[F],
858
858
  "onUpdate:modelValue": (_) => d(a)[F] = _,
859
859
  disabled: v.disabled
@@ -864,7 +864,7 @@ const qe = [], ft = [], so = () => ({
864
864
  }), null, 16, ["modelValue", "onUpdate:modelValue", "disabled", "onInput"]), [
865
865
  [T]
866
866
  ]),
867
- F === 0 ? (m(), E("div", Ja, "至")) : M("", !0)
867
+ F === 0 ? (D(), E("div", Ja, "至")) : M("", !0)
868
868
  ], 64))), 64))
869
869
  ]);
870
870
  };
@@ -889,18 +889,18 @@ const qe = [], ft = [], so = () => ({
889
889
  setup(t, { emit: e }) {
890
890
  const o = t, n = e, { parseOptions: a, loadingOptions: s } = dt(o), { value: u } = Ge(o, n), r = N(() => Se(ze(o, ["on", "options", "modelValue"]))), l = (i) => Se(ze(i, ["label", "leaf", "children"]));
891
891
  return (i, c) => {
892
- const p = S("el-radio"), C = S("el-radio-group"), D = oe("loading");
893
- return te((m(), G(C, q(r.value, {
892
+ const p = S("el-radio"), C = S("el-radio-group"), f = oe("loading");
893
+ return ee((D(), G(C, q(r.value, {
894
894
  modelValue: d(u),
895
- "onUpdate:modelValue": c[0] || (c[0] = (f) => Te(u) ? u.value = f : null)
895
+ "onUpdate:modelValue": c[0] || (c[0] = (m) => Te(u) ? u.value = m : null)
896
896
  }), {
897
897
  default: y(() => [
898
898
  ue(i.$slots, "default", {}, () => [
899
- (m(!0), E(H, null, Y(d(a), (f) => (m(), G(p, q({
900
- key: f.value
901
- }, { ref_for: !0 }, l(f)), {
899
+ (D(!0), E(H, null, Y(d(a), (m) => (D(), G(p, q({
900
+ key: m.value
901
+ }, { ref_for: !0 }, l(m)), {
902
902
  default: y(() => [
903
- U(X(f.label), 1)
903
+ U(X(m.label), 1)
904
904
  ]),
905
905
  _: 2
906
906
  }, 1040))), 128))
@@ -908,7 +908,7 @@ const qe = [], ft = [], so = () => ({
908
908
  ]),
909
909
  _: 3
910
910
  }, 16, ["modelValue"])), [
911
- [D, d(s)]
911
+ [f, d(s)]
912
912
  ]);
913
913
  };
914
914
  }
@@ -959,8 +959,8 @@ const qe = [], ft = [], so = () => ({
959
959
  },
960
960
  inputRef: u
961
961
  }), (c, p) => {
962
- const C = S("el-icon"), D = S("el-input"), f = oe("paste-trim");
963
- return te((m(), G(D, q({
962
+ const C = S("el-icon"), f = S("el-input"), m = oe("paste-trim");
963
+ return ee((D(), G(f, q({
964
964
  ref_key: "inputRef",
965
965
  ref: u
966
966
  }, r.value, {
@@ -971,7 +971,7 @@ const qe = [], ft = [], so = () => ({
971
971
  }, ge(n.on), { onChange: l }), {
972
972
  suffix: y(() => [
973
973
  x("div", ns, [
974
- d(s) ? (m(), G(C, {
974
+ d(s) ? (D(), G(C, {
975
975
  key: 0,
976
976
  onClick: i
977
977
  }, {
@@ -990,7 +990,7 @@ const qe = [], ft = [], so = () => ({
990
990
  ]),
991
991
  _: 1
992
992
  }, 16, ["modelValue"])), [
993
- [f]
993
+ [m]
994
994
  ]);
995
995
  };
996
996
  }
@@ -1067,28 +1067,28 @@ const qe = [], ft = [], so = () => ({
1067
1067
  }));
1068
1068
  const o = t, n = e, { parseOptions: a, loadingOptions: s } = dt(o), { value: u } = Ge(o, n), r = N(() => Se(z.omit(o, ["on", "options", "modelValue"]))), l = N(() => o.width || "100%"), i = st();
1069
1069
  return (c, p) => {
1070
- const C = S("el-option"), D = S("el-select");
1071
- return m(), G(D, q(r.value, {
1070
+ const C = S("el-option"), f = S("el-select");
1071
+ return D(), G(f, q(r.value, {
1072
1072
  modelValue: d(u),
1073
- "onUpdate:modelValue": p[0] || (p[0] = (f) => Te(u) ? u.value = f : null),
1073
+ "onUpdate:modelValue": p[0] || (p[0] = (m) => Te(u) ? u.value = m : null),
1074
1074
  loading: d(s)
1075
1075
  }, ge(c.on)), Le({
1076
1076
  default: y(() => [
1077
- (m(!0), E(H, null, Y(d(a), (f) => (m(), G(C, q({
1078
- key: f.value
1079
- }, { ref_for: !0 }, f), {
1077
+ (D(!0), E(H, null, Y(d(a), (m) => (D(), G(C, q({
1078
+ key: m.value
1079
+ }, { ref_for: !0 }, m), {
1080
1080
  default: y(() => [
1081
- h(d(rs), q({ ref_for: !0 }, f), null, 16)
1081
+ h(d(rs), q({ ref_for: !0 }, m), null, 16)
1082
1082
  ]),
1083
1083
  _: 2
1084
1084
  }, 1040))), 128))
1085
1085
  ]),
1086
1086
  _: 2
1087
1087
  }, [
1088
- Y(d(i), (f) => ({
1089
- name: f,
1088
+ Y(d(i), (m) => ({
1089
+ name: m,
1090
1090
  fn: y(() => [
1091
- ue(c.$slots, f, {}, void 0, !0)
1091
+ ue(c.$slots, m, {}, void 0, !0)
1092
1092
  ])
1093
1093
  }))
1094
1094
  ]), 1040, ["modelValue", "loading"]);
@@ -1172,16 +1172,16 @@ const qe = [], ft = [], so = () => ({
1172
1172
  }, C = () => {
1173
1173
  const g = a.value[0];
1174
1174
  p(""), (o.changeOnSelect || g) && l();
1175
- }, D = N(
1175
+ }, f = N(
1176
1176
  () => Se(
1177
1177
  z.omit(o, ["modelValue", "groupSelectInputAttrs", "placeholder", "options", "className", "class"])
1178
1178
  )
1179
- ), f = () => {
1179
+ ), m = () => {
1180
1180
  p(""), l();
1181
1181
  };
1182
1182
  return (g, b) => {
1183
1183
  const B = S("el-icon"), v = S("el-option"), w = S("el-select"), k = S("el-input"), T = oe("paste-trim");
1184
- return te((m(), G(k, q({
1184
+ return ee((D(), G(k, q({
1185
1185
  class: [
1186
1186
  "group-select-input",
1187
1187
  g.className || "",
@@ -1189,19 +1189,19 @@ const qe = [], ft = [], so = () => ({
1189
1189
  "is-reverse": g.selectToFirst
1190
1190
  }
1191
1191
  ]
1192
- }, D.value, {
1192
+ }, f.value, {
1193
1193
  "model-value": d(a)[0],
1194
1194
  placeholder: i.value,
1195
1195
  clearable: !1,
1196
- maxlength: c.value?.maxlength ?? D.value.maxlength,
1196
+ maxlength: c.value?.maxlength ?? f.value.maxlength,
1197
1197
  "onUpdate:modelValue": p,
1198
1198
  onChange: l
1199
1199
  }), {
1200
1200
  suffix: y(() => [
1201
1201
  x("div", fs, [
1202
- d(a)[0] ? (m(), G(B, {
1202
+ d(a)[0] ? (D(), G(B, {
1203
1203
  key: 0,
1204
- onClick: f
1204
+ onClick: m
1205
1205
  }, {
1206
1206
  default: y(() => [
1207
1207
  h(d(Xo))
@@ -1226,7 +1226,7 @@ const qe = [], ft = [], so = () => ({
1226
1226
  onChange: C
1227
1227
  }), {
1228
1228
  default: y(() => [
1229
- (m(!0), E(H, null, Y(d(s), (F) => (m(), G(v, q({
1229
+ (D(!0), E(H, null, Y(d(s), (F) => (D(), G(v, q({
1230
1230
  key: F.value
1231
1231
  }, { ref_for: !0 }, F), null, 16))), 128))
1232
1232
  ]),
@@ -1264,8 +1264,8 @@ const qe = [], ft = [], so = () => ({
1264
1264
  }), s();
1265
1265
  };
1266
1266
  return (p, C) => {
1267
- const D = S("ZEmpty"), f = S("el-checkbox"), g = S("el-col"), b = S("el-row"), B = S("el-form"), v = oe("ellipsis");
1268
- return m(), E("div", Cs, [
1267
+ const f = S("ZEmpty"), m = S("el-checkbox"), g = S("el-col"), b = S("el-row"), B = S("el-form"), v = oe("ellipsis");
1268
+ return D(), E("div", Cs, [
1269
1269
  x("div", vs, [
1270
1270
  h(d(It), {
1271
1271
  ref_key: "searchInputRef",
@@ -1277,14 +1277,14 @@ const qe = [], ft = [], so = () => ({
1277
1277
  onInput: c
1278
1278
  }, null, 8, ["modelValue"])
1279
1279
  ]),
1280
- d(e) && i.value.height ? (m(), E("div", {
1280
+ d(e) && i.value.height ? (D(), E("div", {
1281
1281
  key: 0,
1282
1282
  class: "search_result",
1283
1283
  style: nt({
1284
1284
  height: `${i.value.height}px`
1285
1285
  })
1286
1286
  }, [
1287
- d(n).length ? (m(), G(B, {
1287
+ d(n).length ? (D(), G(B, {
1288
1288
  key: 1,
1289
1289
  model: d(o).formData,
1290
1290
  onSubmit: C[1] || (C[1] = me(() => {
@@ -1293,19 +1293,19 @@ const qe = [], ft = [], so = () => ({
1293
1293
  default: y(() => [
1294
1294
  h(b, { span: 24 }, {
1295
1295
  default: y(() => [
1296
- (m(!0), E(H, null, Y(d(n), (w) => (m(), G(g, {
1296
+ (D(!0), E(H, null, Y(d(n), (w) => (D(), G(g, {
1297
1297
  key: w.prop,
1298
1298
  class: "advanced-filter-form__item",
1299
1299
  span: 12
1300
1300
  }, {
1301
1301
  default: y(() => [
1302
- h(f, {
1302
+ h(m, {
1303
1303
  disabled: w.readonly,
1304
1304
  "model-value": d(a)(w.prop),
1305
1305
  onChange: (k) => d(o).updateActiveGroupColumnChecked(w.prop, k)
1306
1306
  }, {
1307
1307
  default: y(() => [
1308
- te((m(), E("div", null, [
1308
+ ee((D(), E("div", null, [
1309
1309
  U(X(w.advancedFilterLabel || w.label), 1)
1310
1310
  ])), [
1311
1311
  [v]
@@ -1325,7 +1325,7 @@ const qe = [], ft = [], so = () => ({
1325
1325
  })
1326
1326
  ]),
1327
1327
  _: 1
1328
- }, 8, ["model"])) : (m(), G(D, {
1328
+ }, 8, ["model"])) : (D(), G(f, {
1329
1329
  key: 0,
1330
1330
  class: "search_result-empty",
1331
1331
  description: "无搜索结果"
@@ -1345,9 +1345,9 @@ function Bs() {
1345
1345
  (function(o, n) {
1346
1346
  t.exports = n();
1347
1347
  })(Es, (function() {
1348
- var o, n, a = 1e3, s = 6e4, u = 36e5, r = 864e5, l = /\[([^\]]+)]|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, i = 31536e6, c = 2628e6, p = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, C = { years: i, months: c, days: r, hours: u, minutes: s, seconds: a, milliseconds: 1, weeks: 6048e5 }, D = function(F) {
1348
+ var o, n, a = 1e3, s = 6e4, u = 36e5, r = 864e5, l = /\[([^\]]+)]|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, i = 31536e6, c = 2628e6, p = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, C = { years: i, months: c, days: r, hours: u, minutes: s, seconds: a, milliseconds: 1, weeks: 6048e5 }, f = function(F) {
1349
1349
  return F instanceof k;
1350
- }, f = function(F, _, A) {
1350
+ }, m = function(F, _, A) {
1351
1351
  return new k(F, A, _.$l);
1352
1352
  }, g = function(F) {
1353
1353
  return n.p(F) + "s";
@@ -1362,16 +1362,16 @@ function Bs() {
1362
1362
  }, k = (function() {
1363
1363
  function F(A, V, I) {
1364
1364
  var P = this;
1365
- if (this.$d = {}, this.$l = I, A === void 0 && (this.$ms = 0, this.parseFromMilliseconds()), V) return f(A * C[g(V)], this);
1365
+ if (this.$d = {}, this.$l = I, A === void 0 && (this.$ms = 0, this.parseFromMilliseconds()), V) return m(A * C[g(V)], this);
1366
1366
  if (typeof A == "number") return this.$ms = A, this.parseFromMilliseconds(), this;
1367
- if (typeof A == "object") return Object.keys(A).forEach((function(ee) {
1368
- P.$d[g(ee)] = A[ee];
1367
+ if (typeof A == "object") return Object.keys(A).forEach((function(te) {
1368
+ P.$d[g(te)] = A[te];
1369
1369
  })), this.calMilliseconds(), this;
1370
1370
  if (typeof A == "string") {
1371
1371
  var Z = A.match(p);
1372
1372
  if (Z) {
1373
- var j = Z.slice(2).map((function(ee) {
1374
- return ee != null ? Number(ee) : 0;
1373
+ var j = Z.slice(2).map((function(te) {
1374
+ return te != null ? Number(te) : 0;
1375
1375
  }));
1376
1376
  return this.$d.years = j[0], this.$d.months = j[1], this.$d.weeks = j[2], this.$d.days = j[3], this.$d.hours = j[4], this.$d.minutes = j[5], this.$d.seconds = j[6], this.calMilliseconds(), this;
1377
1377
  }
@@ -1390,9 +1390,9 @@ function Bs() {
1390
1390
  }, _.toISOString = function() {
1391
1391
  var A = w(this.$d.years, "Y"), V = w(this.$d.months, "M"), I = +this.$d.days || 0;
1392
1392
  this.$d.weeks && (I += 7 * this.$d.weeks);
1393
- var P = w(I, "D"), Z = w(this.$d.hours, "H"), j = w(this.$d.minutes, "M"), ee = this.$d.seconds || 0;
1394
- this.$d.milliseconds && (ee += this.$d.milliseconds / 1e3, ee = Math.round(1e3 * ee) / 1e3);
1395
- var le = w(ee, "S"), De = A.negative || V.negative || P.negative || Z.negative || j.negative || le.negative, ye = Z.format || j.format || le.format ? "T" : "", de = (De ? "-" : "") + "P" + A.format + V.format + P.format + ye + Z.format + j.format + le.format;
1393
+ var P = w(I, "D"), Z = w(this.$d.hours, "H"), j = w(this.$d.minutes, "M"), te = this.$d.seconds || 0;
1394
+ this.$d.milliseconds && (te += this.$d.milliseconds / 1e3, te = Math.round(1e3 * te) / 1e3);
1395
+ var le = w(te, "S"), De = A.negative || V.negative || P.negative || Z.negative || j.negative || le.negative, ye = Z.format || j.format || le.format ? "T" : "", de = (De ? "-" : "") + "P" + A.format + V.format + P.format + ye + Z.format + j.format + le.format;
1396
1396
  return de === "P" || de === "-P" ? "P0D" : de;
1397
1397
  }, _.toJSON = function() {
1398
1398
  return this.toISOString();
@@ -1408,14 +1408,14 @@ function Bs() {
1408
1408
  return I === "milliseconds" ? V %= 1e3 : V = I === "weeks" ? B(V / C[I]) : this.$d[I], V || 0;
1409
1409
  }, _.add = function(A, V, I) {
1410
1410
  var P;
1411
- return P = V ? A * C[g(V)] : D(A) ? A.$ms : f(A, this).$ms, f(this.$ms + P * (I ? -1 : 1), this);
1411
+ return P = V ? A * C[g(V)] : f(A) ? A.$ms : m(A, this).$ms, m(this.$ms + P * (I ? -1 : 1), this);
1412
1412
  }, _.subtract = function(A, V) {
1413
1413
  return this.add(A, V, !0);
1414
1414
  }, _.locale = function(A) {
1415
1415
  var V = this.clone();
1416
1416
  return V.$l = A, V;
1417
1417
  }, _.clone = function() {
1418
- return f(this.$ms, this);
1418
+ return m(this.$ms, this);
1419
1419
  }, _.humanize = function(A) {
1420
1420
  return o().add(this.$ms, "ms").locale(this.$l).fromNow(!A);
1421
1421
  }, _.valueOf = function() {
@@ -1459,13 +1459,13 @@ function Bs() {
1459
1459
  return function(F, _, A) {
1460
1460
  o = A, n = A().$utils(), A.duration = function(P, Z) {
1461
1461
  var j = A.locale();
1462
- return f(P, { $l: j }, Z);
1463
- }, A.isDuration = D;
1462
+ return m(P, { $l: j }, Z);
1463
+ }, A.isDuration = f;
1464
1464
  var V = _.prototype.add, I = _.prototype.subtract;
1465
1465
  _.prototype.add = function(P, Z) {
1466
- return D(P) ? T(this, P, 1) : V.bind(this)(P, Z);
1466
+ return f(P) ? T(this, P, 1) : V.bind(this)(P, Z);
1467
1467
  }, _.prototype.subtract = function(P, Z) {
1468
- return D(P) ? T(this, P, -1) : I.bind(this)(P, Z);
1468
+ return f(P) ? T(this, P, -1) : I.bind(this)(P, Z);
1469
1469
  };
1470
1470
  };
1471
1471
  }));
@@ -1977,11 +1977,11 @@ const Ls = (t) => {
1977
1977
  a.push({
1978
1978
  groupName: l,
1979
1979
  columns: s.map((p) => {
1980
- const { readonly: C } = p, D = c.get(p.prop);
1981
- return D ? {
1982
- ...D,
1983
- value: lo(D),
1984
- checked: !we(D.sort),
1980
+ const { readonly: C } = p, f = c.get(p.prop);
1981
+ return f ? {
1982
+ ...f,
1983
+ value: lo(f),
1984
+ checked: !we(f.sort),
1985
1985
  readonly: C
1986
1986
  } : p;
1987
1987
  })
@@ -1995,32 +1995,32 @@ const Ls = (t) => {
1995
1995
  __name: "AdvancedFilterForm",
1996
1996
  setup(t) {
1997
1997
  const e = Ze(), o = R(), n = R(), a = N(() => {
1998
- const D = zs(e.columns);
1998
+ const f = zs(e.columns);
1999
1999
  return {
2000
- groupNames: Reflect.ownKeys(D),
2001
- formItems: D
2000
+ groupNames: Reflect.ownKeys(f),
2001
+ formItems: f
2002
2002
  };
2003
- }), s = R(a.value?.groupNames?.[0] ?? ""), u = (D) => a.value.formItems[D].every(
2004
- (f) => !!e.activeGroupColumnsMap.get(f.prop)?.checked
2005
- ), r = (D) => {
2006
- const f = a.value.formItems[D], g = f.filter(
2003
+ }), s = R(a.value?.groupNames?.[0] ?? ""), u = (f) => a.value.formItems[f].every(
2004
+ (m) => !!e.activeGroupColumnsMap.get(m.prop)?.checked
2005
+ ), r = (f) => {
2006
+ const m = a.value.formItems[f], g = m.filter(
2007
2007
  (b) => !!e.activeGroupColumnsMap.get(b.prop)?.checked
2008
2008
  ).length;
2009
- return g > 0 && g < f.length;
2010
- }, l = (D, f) => {
2011
- a.value.formItems[D].forEach((g) => {
2012
- e.updateActiveGroupColumnChecked(g.prop, f);
2009
+ return g > 0 && g < m.length;
2010
+ }, l = (f, m) => {
2011
+ a.value.formItems[f].forEach((g) => {
2012
+ e.updateActiveGroupColumnChecked(g.prop, m);
2013
2013
  });
2014
- }, i = (D) => !!e.activeGroupColumnsMap.get(D)?.checked, c = (D, f) => `${f ? "#" : ""}${Eo}${D}`, p = (D) => {
2015
- D.preventDefault();
2016
- }, C = (D) => {
2017
- s.value = D ? D.replace(`#${Eo}`, "") : a.value?.groupNames?.[0] ?? "";
2014
+ }, i = (f) => !!e.activeGroupColumnsMap.get(f)?.checked, c = (f, m) => `${m ? "#" : ""}${Eo}${f}`, p = (f) => {
2015
+ f.preventDefault();
2016
+ }, C = (f) => {
2017
+ s.value = f ? f.replace(`#${Eo}`, "") : a.value?.groupNames?.[0] ?? "";
2018
2018
  };
2019
2019
  return e.on(ae.UPDATE_ACTIVE_GROUP, () => {
2020
2020
  n.value?.scrollTo(c(a.value.groupNames[0], !0));
2021
- }), (D, f) => {
2021
+ }), (f, m) => {
2022
2022
  const g = S("el-anchor-link"), b = S("el-checkbox"), B = S("el-col"), v = S("el-row"), w = S("el-form"), k = oe("ellipsis");
2023
- return m(), E("div", Zs, [
2023
+ return D(), E("div", Zs, [
2024
2024
  h(d(ga), {
2025
2025
  ref_key: "anchorRef",
2026
2026
  ref: n,
@@ -2035,7 +2035,7 @@ const Ls = (t) => {
2035
2035
  onChange: C
2036
2036
  }, {
2037
2037
  default: y(() => [
2038
- (m(!0), E(H, null, Y(a.value.groupNames, (T) => (m(), G(g, {
2038
+ (D(!0), E(H, null, Y(a.value.groupNames, (T) => (D(), G(g, {
2039
2039
  key: T,
2040
2040
  class: ne(["group-item", { "is-active": T === s.value }]),
2041
2041
  href: c(T, !0)
@@ -2055,13 +2055,13 @@ const Ls = (t) => {
2055
2055
  }, [
2056
2056
  h(w, {
2057
2057
  model: d(e).formData,
2058
- onSubmit: f[0] || (f[0] = me(() => {
2058
+ onSubmit: m[0] || (m[0] = me(() => {
2059
2059
  }, ["prevent"]))
2060
2060
  }, {
2061
2061
  default: y(() => [
2062
2062
  h(v, { span: 24 }, {
2063
2063
  default: y(() => [
2064
- (m(!0), E(H, null, Y(a.value.groupNames, (T) => (m(), E(H, { key: T }, [
2064
+ (D(!0), E(H, null, Y(a.value.groupNames, (T) => (D(), E(H, { key: T }, [
2065
2065
  h(B, {
2066
2066
  id: c(T),
2067
2067
  class: "advanced-filter-form__item advanced-filter-form__group-title",
@@ -2081,7 +2081,7 @@ const Ls = (t) => {
2081
2081
  ]),
2082
2082
  _: 2
2083
2083
  }, 1032, ["id"]),
2084
- (m(!0), E(H, null, Y(a.value.formItems[T], (F) => (m(), G(B, {
2084
+ (D(!0), E(H, null, Y(a.value.formItems[T], (F) => (D(), G(B, {
2085
2085
  key: F.prop,
2086
2086
  class: "advanced-filter-form__item",
2087
2087
  span: 12
@@ -2093,7 +2093,7 @@ const Ls = (t) => {
2093
2093
  onChange: (_) => d(e).updateActiveGroupColumnChecked(F.prop, _)
2094
2094
  }, {
2095
2095
  default: y(() => [
2096
- te((m(), E("div", null, [
2096
+ ee((D(), E("div", null, [
2097
2097
  U(X(F.advancedFilterLabel || F.label), 1)
2098
2098
  ])), [
2099
2099
  [k]
@@ -2138,14 +2138,14 @@ const Ls = (t) => {
2138
2138
  });
2139
2139
  return (a, s) => {
2140
2140
  const u = S("el-icon"), r = oe("ellipsis");
2141
- return m(), E("div", Ws, [
2141
+ return D(), E("div", Ws, [
2142
2142
  h(d(Ue), {
2143
2143
  modelValue: o.value,
2144
2144
  "onUpdate:modelValue": s[0] || (s[0] = (l) => o.value = l),
2145
2145
  draggable: ".selected-item-drag"
2146
2146
  }, {
2147
2147
  default: y(() => [
2148
- (m(!0), E(H, null, Y(o.value, (l) => (m(), E("div", {
2148
+ (D(!0), E(H, null, Y(o.value, (l) => (D(), E("div", {
2149
2149
  key: l.prop,
2150
2150
  class: "selected-item selected-item-drag"
2151
2151
  }, [
@@ -2153,12 +2153,12 @@ const Ls = (t) => {
2153
2153
  src: Nt,
2154
2154
  alt: "... "
2155
2155
  }, null, -1)),
2156
- te((m(), E("span", Ys, [
2156
+ ee((D(), E("span", Ys, [
2157
2157
  U(X(n.value(l.prop)), 1)
2158
2158
  ])), [
2159
2159
  [r]
2160
2160
  ]),
2161
- l.readonly ? M("", !0) : (m(), E("div", js, [
2161
+ l.readonly ? M("", !0) : (D(), E("div", js, [
2162
2162
  h(u, {
2163
2163
  onClick: (i) => d(e).updateActiveGroupColumnChecked(l.prop, !1)
2164
2164
  }, {
@@ -2184,14 +2184,14 @@ const Ls = (t) => {
2184
2184
  let a = {};
2185
2185
  return lt(() => {
2186
2186
  n.value && (a = n.value.getBoundingClientRect());
2187
- }), e.onStartColumnSearch(() => a), (s, u) => (m(), E("div", {
2187
+ }), e.onStartColumnSearch(() => a), (s, u) => (D(), E("div", {
2188
2188
  ref_key: "advancedFilterTabRef",
2189
2189
  ref: n,
2190
2190
  class: "advanced-filter-tab__container"
2191
2191
  }, [
2192
2192
  x("div", qs, [
2193
2193
  u[1] || (u[1] = x("div", { class: "title" }, "搜索列", -1)),
2194
- (m(), G($s, {
2194
+ (D(), G($s, {
2195
2195
  key: d(e).activeGroupName
2196
2196
  }))
2197
2197
  ]),
@@ -2204,7 +2204,7 @@ const Ls = (t) => {
2204
2204
  (...r) => d(e).resetActiveGroupColumnsStatus && d(e).resetActiveGroupColumnsStatus(...r))
2205
2205
  }, "重置")
2206
2206
  ]),
2207
- (m(), G(Xs, {
2207
+ (D(), G(Xs, {
2208
2208
  key: d(e).activeGroupName
2209
2209
  }))
2210
2210
  ])
@@ -2308,8 +2308,8 @@ const su = { class: "advanced-filter-tab-item__footer" }, uu = /* @__PURE__ */ L
2308
2308
  await W(), i.value?.focus();
2309
2309
  };
2310
2310
  return (p, C) => {
2311
- const D = S("el-icon"), f = S("el-input"), g = S("el-button"), b = S("el-popover");
2312
- return m(), E("div", {
2311
+ const f = S("el-icon"), m = S("el-input"), g = S("el-button"), b = S("el-popover");
2312
+ return D(), E("div", {
2313
2313
  class: ne([
2314
2314
  "advanced-filter-tab-item__container",
2315
2315
  {
@@ -2319,7 +2319,7 @@ const su = { class: "advanced-filter-tab-item__footer" }, uu = /* @__PURE__ */ L
2319
2319
  onClick: C[1] || (C[1] = me((B) => d(n).updateActiveGroup(e.value, !0), ["stop"]))
2320
2320
  }, [
2321
2321
  U(X(e.value) + " ", 1),
2322
- a.value ? M("", !0) : (m(), G(b, {
2322
+ a.value ? M("", !0) : (D(), G(b, {
2323
2323
  key: 0,
2324
2324
  ref_key: "popoverRef",
2325
2325
  ref: o,
@@ -2329,7 +2329,7 @@ const su = { class: "advanced-filter-tab-item__footer" }, uu = /* @__PURE__ */ L
2329
2329
  onShow: c
2330
2330
  }, {
2331
2331
  reference: y(() => [
2332
- h(D, null, {
2332
+ h(f, null, {
2333
2333
  default: y(() => [
2334
2334
  h(d(it))
2335
2335
  ]),
@@ -2337,7 +2337,7 @@ const su = { class: "advanced-filter-tab-item__footer" }, uu = /* @__PURE__ */ L
2337
2337
  })
2338
2338
  ]),
2339
2339
  default: y(() => [
2340
- h(f, {
2340
+ h(m, {
2341
2341
  ref_key: "inputRef",
2342
2342
  ref: i,
2343
2343
  modelValue: s.value,
@@ -2367,7 +2367,7 @@ const su = { class: "advanced-filter-tab-item__footer" }, uu = /* @__PURE__ */ L
2367
2367
  ]),
2368
2368
  _: 1
2369
2369
  }, 512)),
2370
- a.value ? M("", !0) : (m(), G(D, {
2370
+ a.value ? M("", !0) : (D(), G(f, {
2371
2371
  key: 1,
2372
2372
  onClick: me(u, ["stop"])
2373
2373
  }, {
@@ -2385,10 +2385,10 @@ const su = { class: "advanced-filter-tab-item__footer" }, uu = /* @__PURE__ */ L
2385
2385
  const e = Ze();
2386
2386
  return (o, n) => {
2387
2387
  const a = S("el-button");
2388
- return m(), E("div", ru, [
2388
+ return D(), E("div", ru, [
2389
2389
  x("div", iu, [
2390
2390
  n[2] || (n[2] = x("div", { class: "title" }, "常用筛选", -1)),
2391
- (m(!0), E(H, null, Y(d(e).groups, (s) => (m(), E("div", {
2391
+ (D(!0), E(H, null, Y(d(e).groups, (s) => (D(), E("div", {
2392
2392
  key: s.groupName,
2393
2393
  class: "advanced-content__tabs"
2394
2394
  }, [
@@ -2397,7 +2397,7 @@ const su = { class: "advanced-filter-tab-item__footer" }, uu = /* @__PURE__ */ L
2397
2397
  "onUpdate:modelValue": (u) => s.groupName = u
2398
2398
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
2399
2399
  ]))), 128)),
2400
- d(e).canAddAdvancedFilterGroup ? (m(), G(a, {
2400
+ d(e).canAddAdvancedFilterGroup ? (D(), G(a, {
2401
2401
  key: 0,
2402
2402
  icon: d(eo),
2403
2403
  link: "",
@@ -2411,7 +2411,7 @@ const su = { class: "advanced-filter-tab-item__footer" }, uu = /* @__PURE__ */ L
2411
2411
  }, 8, ["icon"])) : M("", !0)
2412
2412
  ]),
2413
2413
  h(Fs),
2414
- d(e).groups.length ? (m(), G(ou, { key: 0 })) : M("", !0)
2414
+ d(e).groups.length ? (D(), G(ou, { key: 0 })) : M("", !0)
2415
2415
  ]);
2416
2416
  };
2417
2417
  }
@@ -2501,7 +2501,11 @@ const su = { class: "advanced-filter-tab-item__footer" }, uu = /* @__PURE__ */ L
2501
2501
  /**
2502
2502
  * 默认在选中数据的时候不隐藏表格工作区头部
2503
2503
  */
2504
- hideTableWorkHeaderToSelected: !1
2504
+ hideTableWorkHeaderToSelected: !1,
2505
+ /**
2506
+ * 默认带padding
2507
+ */
2508
+ hideContainerPadding: !1
2505
2509
  }, pu = {
2506
2510
  empty: () => h(tn, null, null)
2507
2511
  }, Bo = {
@@ -3358,11 +3362,11 @@ const Au = {
3358
3362
  i.value = !0, e.value = !0, setTimeout(() => {
3359
3363
  p(C);
3360
3364
  });
3361
- }), (C, D) => {
3362
- const f = S("el-icon"), g = S("el-button"), b = S("el-dialog");
3363
- return m(), G(b, {
3365
+ }), (C, f) => {
3366
+ const m = S("el-icon"), g = S("el-button"), b = S("el-dialog");
3367
+ return D(), G(b, {
3364
3368
  modelValue: e.value,
3365
- "onUpdate:modelValue": D[0] || (D[0] = (B) => e.value = B),
3369
+ "onUpdate:modelValue": f[0] || (f[0] = (B) => e.value = B),
3366
3370
  class: "advanced-filter__dialog",
3367
3371
  title: "高级筛选",
3368
3372
  "close-on-click-modal": !1,
@@ -3373,7 +3377,7 @@ const Au = {
3373
3377
  loading: d(u),
3374
3378
  onClick: a
3375
3379
  }, {
3376
- default: y(() => [...D[2] || (D[2] = [
3380
+ default: y(() => [...f[2] || (f[2] = [
3377
3381
  U("取消", -1)
3378
3382
  ])]),
3379
3383
  _: 1
@@ -3383,25 +3387,25 @@ const Au = {
3383
3387
  type: "primary",
3384
3388
  onClick: l
3385
3389
  }, {
3386
- default: y(() => [...D[3] || (D[3] = [
3390
+ default: y(() => [...f[3] || (f[3] = [
3387
3391
  U("确认", -1)
3388
3392
  ])]),
3389
3393
  _: 1
3390
3394
  }, 8, ["loading"])
3391
3395
  ]),
3392
3396
  default: y(() => [
3393
- d(i) ? (m(), E("div", Au, [
3397
+ d(i) ? (D(), E("div", Au, [
3394
3398
  x("div", Fu, [
3395
- h(f, { class: "is-loading" }, {
3399
+ h(m, { class: "is-loading" }, {
3396
3400
  default: y(() => [
3397
3401
  h(d(da))
3398
3402
  ]),
3399
3403
  _: 1
3400
3404
  }),
3401
- D[1] || (D[1] = x("div", { class: "text" }, "加载中", -1))
3405
+ f[1] || (f[1] = x("div", { class: "text" }, "加载中", -1))
3402
3406
  ])
3403
3407
  ])) : M("", !0),
3404
- d(n) && e.value && !d(i) ? (m(), G(du, {
3408
+ d(n) && e.value && !d(i) ? (D(), G(du, {
3405
3409
  key: 1,
3406
3410
  "advanced-form-builder": d(n)
3407
3411
  }, null, 8, ["advanced-form-builder"])) : M("", !0)
@@ -3411,14 +3415,14 @@ const Au = {
3411
3415
  };
3412
3416
  }
3413
3417
  }), yu = (t) => {
3414
- const e = R(), o = R(!1), n = R({}), a = (D, f) => {
3415
- const { prop: g } = f;
3416
- g && Reflect.set(n.value, g, D);
3418
+ const e = R(), o = R(!1), n = R({}), a = (f, m) => {
3419
+ const { prop: g } = m;
3420
+ g && Reflect.set(n.value, g, f);
3417
3421
  }, s = R(!1), u = R([]), r = 5, l = async () => {
3418
3422
  if (ln(e.value?.$el))
3419
3423
  return;
3420
3424
  t.hiddenProps.clear();
3421
- const D = u.value.reduce((b, B) => {
3425
+ const f = u.value.reduce((b, B) => {
3422
3426
  const v = B.$el, w = v?.getAttribute("data-prop");
3423
3427
  return w && b.set(w, v), b;
3424
3428
  }, /* @__PURE__ */ new Map());
@@ -3428,7 +3432,7 @@ const Au = {
3428
3432
  t.getShowColumns.forEach((B) => {
3429
3433
  const { prop: v } = B;
3430
3434
  if (z.isString(v)) {
3431
- const w = D.get(v);
3435
+ const w = f.get(v);
3432
3436
  if (w) {
3433
3437
  const { top: k } = w.getBoundingClientRect() ?? {};
3434
3438
  b ? Math.abs(k - b) > r ? t.hiddenProps.add(v) : t.hiddenProps.delete(v) : (b = k, t.hiddenProps.delete(v));
@@ -3438,9 +3442,9 @@ const Au = {
3438
3442
  });
3439
3443
  }
3440
3444
  await W();
3441
- const f = t.getShowColumns[0], g = t.getShowColumns.at(-1);
3442
- if (f && g) {
3443
- const b = D.get(f.prop), B = D.get(g.prop);
3445
+ const m = t.getShowColumns[0], g = t.getShowColumns.at(-1);
3446
+ if (m && g) {
3447
+ const b = f.get(m.prop), B = f.get(g.prop);
3444
3448
  if (b && B) {
3445
3449
  const { top: v } = b.getBoundingClientRect() ?? {}, { top: w } = B.getBoundingClientRect() ?? {}, k = Math.abs(v - w) > r;
3446
3450
  s.value = !k;
@@ -3450,10 +3454,10 @@ const Au = {
3450
3454
  };
3451
3455
  let i = !0;
3452
3456
  const c = wt(
3453
- () => t.columns.map((D) => ({
3454
- visible: D.validateIsHidden(t.formData),
3457
+ () => t.columns.map((f) => ({
3458
+ visible: f.validateIsHidden(t.formData),
3455
3459
  /* 读取下 sort,当sort变化的时候需要触发监听 */
3456
- sort: D.sort
3460
+ sort: f.sort
3457
3461
  })).concat([t.config.hideExpandBtn, t.isExpand]),
3458
3462
  () => {
3459
3463
  !t.config.hideExpandBtn && t.columns && l(), e.value && n.value && t.formInstanceManagement.init(e, n);
@@ -3466,8 +3470,8 @@ const Au = {
3466
3470
  o.value = !0;
3467
3471
  try {
3468
3472
  await t.initGroups(), t.updateActiveGroup(t.activeGroupName);
3469
- } catch (D) {
3470
- throw o.value = !1, D;
3473
+ } catch (f) {
3474
+ throw o.value = !1, f;
3471
3475
  }
3472
3476
  } else
3473
3477
  t.columnManagement.showAllFormItems();
@@ -3511,36 +3515,36 @@ const Au = {
3511
3515
  },
3512
3516
  emits: ["change"],
3513
3517
  setup(t, { emit: e }) {
3514
- const o = e, { baseFormRef: n, autoHiddenExpand: a, colRefs: s, loadingConfigColumns: u, collectionRef: r } = yu(t.formBuilder), { configManagement: l, config: i } = t.formBuilder, c = (f, g) => g ? jo(g) ? `${Object.keys(f).reduce((B, v) => (B.push(`${v}:${Reflect.get(f, v)}`), B), []).join(";")} ${g}` : { ...f, ...g } : f, p = N(
3515
- () => (f) => f.parseColumnEvent((...g) => {
3518
+ const o = e, { baseFormRef: n, autoHiddenExpand: a, colRefs: s, loadingConfigColumns: u, collectionRef: r } = yu(t.formBuilder), { configManagement: l, config: i } = t.formBuilder, c = (m, g) => g ? jo(g) ? `${Object.keys(m).reduce((B, v) => (B.push(`${v}:${Reflect.get(m, v)}`), B), []).join(";")} ${g}` : { ...m, ...g } : m, p = N(
3519
+ () => (m) => m.parseColumnEvent((...g) => {
3516
3520
  t.formBuilder.emit(ae.CHANGE), o("change", ...g);
3517
3521
  })
3518
- ), C = (f, g) => {
3519
- t.formBuilder.updateFormData(f.prop, g);
3520
- }, D = () => {
3522
+ ), C = (m, g) => {
3523
+ t.formBuilder.updateFormData(m.prop, g);
3524
+ }, f = () => {
3521
3525
  t.formBuilder.isExpand || t.formBuilder.toggleExpand();
3522
3526
  };
3523
3527
  return t.formBuilder.on(ae.SAVE_CONFIG, async () => {
3524
- t.formBuilder.resetFormDataByActiveGroup(), t.formBuilder.emit(ae.CHANGE), await W(), D();
3525
- }), t.formBuilder.on(ae.UPDATE_ACTIVE_GROUP, D), (f, g) => {
3528
+ t.formBuilder.resetFormDataByActiveGroup(), t.formBuilder.emit(ae.CHANGE), await W(), f();
3529
+ }), t.formBuilder.on(ae.UPDATE_ACTIVE_GROUP, f), (m, g) => {
3526
3530
  const b = S("el-icon"), B = S("el-tooltip"), v = S("el-form-item"), w = S("el-col"), k = S("el-row"), T = S("el-form"), F = S("el-button"), _ = oe("loading");
3527
- return m(), E(H, null, [
3531
+ return D(), E(H, null, [
3528
3532
  x("div", {
3529
3533
  class: ne([
3530
3534
  "base-form__container z-form",
3531
3535
  d(i).className || "",
3532
3536
  d(i).useRowLayout ? "base-form__layout-container" : "base-form__no-layout-container",
3533
- f.formBuilder.getShowColumns.length ? "base-form__has-columns" : ""
3537
+ m.formBuilder.getShowColumns.length ? "base-form__has-columns" : ""
3534
3538
  ])
3535
3539
  }, [
3536
- te((m(), E("div", _u, [
3537
- d(u) ? M("", !0) : (m(), G(T, q({
3540
+ ee((D(), E("div", _u, [
3541
+ d(u) ? M("", !0) : (D(), G(T, q({
3538
3542
  key: 0,
3539
3543
  ref_key: "baseFormRef",
3540
3544
  ref: n,
3541
3545
  class: "base-form__form"
3542
3546
  }, d(l).getFormAttrs, {
3543
- model: f.formBuilder.formData,
3547
+ model: m.formBuilder.formData,
3544
3548
  onSubmit: g[0] || (g[0] = me(() => {
3545
3549
  }, ["prevent"]))
3546
3550
  }), {
@@ -3549,7 +3553,7 @@ const Au = {
3549
3553
  style: c({ marginLeft: "0", marginRight: "0" }, d(i).rowAttrs?.style)
3550
3554
  }), {
3551
3555
  default: y(() => [
3552
- (m(!0), E(H, null, Y(f.formBuilder.getShowColumns, (A) => (m(), G(w, q({ ref_for: !0 }, A.elColAttrs ?? {}, {
3556
+ (D(!0), E(H, null, Y(m.formBuilder.getShowColumns, (A) => (D(), G(w, q({ ref_for: !0 }, A.elColAttrs ?? {}, {
3553
3557
  key: A.prop,
3554
3558
  ref_for: !0,
3555
3559
  ref_key: "colRefs",
@@ -3564,10 +3568,10 @@ const Au = {
3564
3568
  class: A.className
3565
3569
  }), Le({
3566
3570
  default: y(() => [
3567
- (m(), G(Zo(A.getFormComponent), q({ ref_for: !0 }, A.attrs, {
3571
+ (D(), G(Zo(A.getFormComponent), q({ ref_for: !0 }, A.attrs, {
3568
3572
  ref_for: !0,
3569
3573
  ref: (V) => d(r)(V, A),
3570
- "model-value": f.formBuilder.formData[A.prop]
3574
+ "model-value": m.formBuilder.formData[A.prop]
3571
3575
  }, ge(p.value(A)), {
3572
3576
  "onUpdate:modelValue": (V) => C(A, V)
3573
3577
  }), null, 16, ["model-value", "onUpdate:modelValue"]))
@@ -3577,11 +3581,11 @@ const Au = {
3577
3581
  A.label || A.labelRender ? {
3578
3582
  name: "label",
3579
3583
  fn: y(() => [
3580
- A.labelRender ? (m(), E("div", Eu, [
3584
+ A.labelRender ? (D(), E("div", Eu, [
3581
3585
  h(d(is), q({ ref_for: !0 }, A), null, 16)
3582
- ])) : A.label ? (m(), E("div", Bu, [
3586
+ ])) : A.label ? (D(), E("div", Bu, [
3583
3587
  x("span", null, X(A.label), 1),
3584
- A.tips ? (m(), G(B, {
3588
+ A.tips ? (D(), G(B, {
3585
3589
  key: 0,
3586
3590
  content: A.tips,
3587
3591
  placement: "top"
@@ -3615,13 +3619,13 @@ const Au = {
3615
3619
  ])), [
3616
3620
  [_, d(u)]
3617
3621
  ]),
3618
- d(i).hasQueryAndResetBtn ? (m(), E("div", Su, [
3619
- ue(f.$slots, "actions", {}, () => [
3622
+ d(i).hasQueryAndResetBtn ? (D(), E("div", Su, [
3623
+ ue(m.$slots, "actions", {}, () => [
3620
3624
  h(F, {
3621
3625
  type: "primary",
3622
3626
  icon: d(qt),
3623
3627
  hollow: "",
3624
- onClick: g[1] || (g[1] = (A) => f.formBuilder.triggerSearch())
3628
+ onClick: g[1] || (g[1] = (A) => m.formBuilder.triggerSearch())
3625
3629
  }, {
3626
3630
  default: y(() => [...g[4] || (g[4] = [
3627
3631
  U("查询", -1)
@@ -3632,7 +3636,7 @@ const Au = {
3632
3636
  type: "primary",
3633
3637
  icon: d(pa),
3634
3638
  hollow: "",
3635
- onClick: g[2] || (g[2] = (A) => f.formBuilder.triggerReset())
3639
+ onClick: g[2] || (g[2] = (A) => m.formBuilder.triggerReset())
3636
3640
  }, {
3637
3641
  default: y(() => [...g[5] || (g[5] = [
3638
3642
  U("重置", -1)
@@ -3641,13 +3645,13 @@ const Au = {
3641
3645
  }, 8, ["icon"])
3642
3646
  ], !0)
3643
3647
  ])) : M("", !0),
3644
- d(i).hideExpandBtn ? M("", !0) : (m(), E(H, { key: 1 }, [
3645
- d(a) ? M("", !0) : (m(), E("div", {
3648
+ d(i).hideExpandBtn ? M("", !0) : (D(), E(H, { key: 1 }, [
3649
+ d(a) ? M("", !0) : (D(), E("div", {
3646
3650
  key: 0,
3647
- class: ne(["expand-btn", { "expand-btn__expand": f.formBuilder.isExpand }]),
3648
- style: nt({ display: f.formBuilder.getShowColumns.length ? "" : "none" }),
3651
+ class: ne(["expand-btn", { "expand-btn__expand": m.formBuilder.isExpand }]),
3652
+ style: nt({ display: m.formBuilder.getShowColumns.length ? "" : "none" }),
3649
3653
  onClick: g[3] || (g[3] = //@ts-ignore
3650
- (...A) => f.formBuilder.toggleExpand && f.formBuilder.toggleExpand(...A))
3654
+ (...A) => m.formBuilder.toggleExpand && m.formBuilder.toggleExpand(...A))
3651
3655
  }, [
3652
3656
  h(b, null, {
3653
3657
  default: y(() => [
@@ -3655,11 +3659,11 @@ const Au = {
3655
3659
  ]),
3656
3660
  _: 1
3657
3661
  }),
3658
- U(" " + X(f.formBuilder.isExpand ? "收起" : "展开"), 1)
3662
+ U(" " + X(m.formBuilder.isExpand ? "收起" : "展开"), 1)
3659
3663
  ], 6))
3660
3664
  ], 64))
3661
3665
  ], 2),
3662
- h(bu, { "form-builder": f.formBuilder }, null, 8, ["form-builder"])
3666
+ h(bu, { "form-builder": m.formBuilder }, null, 8, ["form-builder"])
3663
3667
  ], 64);
3664
3668
  };
3665
3669
  }
@@ -3682,8 +3686,8 @@ const Au = {
3682
3686
  const o = Ie(t, "modelValue"), n = e;
3683
3687
  return rt(() => {
3684
3688
  !o.value && t.steps.length && (o.value = t.steps[0].value);
3685
- }), (a, s) => (m(), E("div", Gu, [
3686
- (m(!0), E(H, null, Y(a.steps, (u, r) => (m(), E("div", {
3689
+ }), (a, s) => (D(), E("div", Gu, [
3690
+ (D(!0), E(H, null, Y(a.steps, (u, r) => (D(), E("div", {
3687
3691
  key: u.value,
3688
3692
  class: ne(["z-base-step__step-item", { "is-active": u.value === o.value }]),
3689
3693
  onClick: (l) => n("change", u.value)
@@ -3696,7 +3700,7 @@ const Au = {
3696
3700
  }, null, 8, ["content"]),
3697
3701
  U(" " + X(u.label), 1)
3698
3702
  ]),
3699
- r !== a.steps.length - 1 ? (m(), E("div", xu)) : M("", !0)
3703
+ r !== a.steps.length - 1 ? (D(), E("div", xu)) : M("", !0)
3700
3704
  ], 10, Nu))), 128))
3701
3705
  ]));
3702
3706
  }
@@ -3715,7 +3719,7 @@ const Au = {
3715
3719
  const o = e;
3716
3720
  return (n, a) => {
3717
3721
  const s = S("el-tooltip");
3718
- return n.tips ? (m(), G(s, {
3722
+ return n.tips ? (D(), G(s, {
3719
3723
  key: 0,
3720
3724
  content: n.tips,
3721
3725
  placement: "top",
@@ -3733,7 +3737,7 @@ const Au = {
3733
3737
  ])
3734
3738
  ]),
3735
3739
  _: 1
3736
- }, 8, ["content"])) : (m(), E("div", {
3740
+ }, 8, ["content"])) : (D(), E("div", {
3737
3741
  key: 1,
3738
3742
  class: "z-operation-icon-button",
3739
3743
  onClick: a[1] || (a[1] = (u) => o("click"))
@@ -3751,7 +3755,7 @@ const Au = {
3751
3755
  setup(t) {
3752
3756
  return (e, o) => {
3753
3757
  const n = S("el-icon");
3754
- return m(), G(n, { class: "z-plus-bold__container" }, {
3758
+ return D(), G(n, { class: "z-plus-bold__container" }, {
3755
3759
  default: y(() => [
3756
3760
  h(d(ct))
3757
3761
  ]),
@@ -3792,13 +3796,13 @@ const Au = {
3792
3796
  s?.disconnect();
3793
3797
  }), (u, r) => {
3794
3798
  const l = S("el-tag"), i = S("el-tooltip");
3795
- return m(), E("div", Qu, [h(i, {
3799
+ return D(), E("div", Qu, [h(i, {
3796
3800
  disabled: !o.value.length || !a.value,
3797
3801
  effect: "light",
3798
3802
  placement: "top",
3799
3803
  "popper-class": "z-show-to-tags__tooltip"
3800
3804
  }, {
3801
- content: y(() => [x("div", Yu, [(m(!0), E(H, null, Y(o.value, (c) => (m(), G(l, {
3805
+ content: y(() => [x("div", Yu, [(D(!0), E(H, null, Y(o.value, (c) => (D(), G(l, {
3802
3806
  key: c,
3803
3807
  type: "primary"
3804
3808
  }, {
@@ -3809,7 +3813,7 @@ const Au = {
3809
3813
  ref_key: "contentRef",
3810
3814
  ref: n,
3811
3815
  class: "z-show-to-tags__content"
3812
- }, X(o.value?.join("、")), 513), a.value && o.value.length ? (m(), E("div", Wu, "+" + X(o.value.length), 1)) : M("", !0)])]),
3816
+ }, X(o.value?.join("、")), 513), a.value && o.value.length ? (D(), E("div", Wu, "+" + X(o.value.length), 1)) : M("", !0)])]),
3813
3817
  _: 1
3814
3818
  }, 8, ["disabled"])]);
3815
3819
  };
@@ -3838,7 +3842,7 @@ const Au = {
3838
3842
  u !== t.groupId && o("change", u);
3839
3843
  }, ["stop"])
3840
3844
  }, {
3841
- default: () => [te(h("div", {
3845
+ default: () => [ee(h("div", {
3842
3846
  class: "config-columns__btn-item-name"
3843
3847
  }, [r]), [[oe("ellipsis")]]), h("div", {
3844
3848
  class: "config-columns__btn-operation"
@@ -3852,13 +3856,13 @@ const Au = {
3852
3856
  };
3853
3857
  return (s, u) => {
3854
3858
  const r = S("el-dropdown-menu"), l = S("el-dropdown");
3855
- return m(), G(l, {
3859
+ return D(), G(l, {
3856
3860
  "popper-class": "config-columns__btn-popper",
3857
3861
  trigger: "hover",
3858
3862
  placement: "bottom-end"
3859
3863
  }, {
3860
3864
  dropdown: y(() => [h(r, null, {
3861
- default: y(() => [(m(!0), E(H, null, Y(s.columnGroups, (i) => (m(), G(a, {
3865
+ default: y(() => [(D(!0), E(H, null, Y(s.columnGroups, (i) => (D(), G(a, {
3862
3866
  id: i.id,
3863
3867
  key: i.id,
3864
3868
  name: i.groupName
@@ -3932,7 +3936,7 @@ const Au = {
3932
3936
  emits: ["click"],
3933
3937
  setup(t, { emit: e }) {
3934
3938
  const o = e;
3935
- return (n, a) => (m(), E("div", {
3939
+ return (n, a) => (D(), E("div", {
3936
3940
  class: "table-link__button z-table-link-button",
3937
3941
  onClick: a[0] || (a[0] = (s) => o("click", s))
3938
3942
  }, [
@@ -3961,14 +3965,14 @@ function nl(t) {
3961
3965
  } = e;
3962
3966
  if (a) {
3963
3967
  const {
3964
- $tableData: D,
3965
- $index: f,
3968
+ $tableData: f,
3969
+ $index: m,
3966
3970
  $defaultSort: g,
3967
3971
  $rowKey: b
3968
3972
  } = o;
3969
- let B = f;
3970
- g && (b ? B = D.findIndex((w) => Reflect.get(w, b) === Reflect.get(n, b)) : console.warn("如果设置了default-sort,必须要设置row-key,否则可能会导致自定义渲染内容错乱!"));
3971
- const v = a(Oe, t.data ?? {}, Reflect.get(D, B) ?? {});
3973
+ let B = m;
3974
+ g && (b ? B = f.findIndex((w) => Reflect.get(w, b) === Reflect.get(n, b)) : console.warn("如果设置了default-sort,必须要设置row-key,否则可能会导致自定义渲染内容错乱!"));
3975
+ const v = a(Oe, t.data ?? {}, Reflect.get(f, B) ?? {});
3972
3976
  return typeof v != "number" && (!v || v === En) ? Lt : v;
3973
3977
  }
3974
3978
  const c = l ?? Lt;
@@ -3976,29 +3980,29 @@ function nl(t) {
3976
3980
  return c;
3977
3981
  const p = Reflect.get(t.data, i);
3978
3982
  if (s) {
3979
- const D = s.find((g) => g.value === p), f = D?.label ?? c;
3980
- return D?._color ? h("span", {
3983
+ const f = s.find((g) => g.value === p), m = f?.label ?? c;
3984
+ return f?._color ? h("span", {
3981
3985
  key: p,
3982
3986
  style: {
3983
- color: D._color
3987
+ color: f._color
3984
3988
  }
3985
- }, [f]) : D?._status ? h("span", {
3989
+ }, [m]) : f?._status ? h("span", {
3986
3990
  key: p,
3987
3991
  class: "custom-status__color",
3988
3992
  style: {
3989
- "--status-color": D._status
3993
+ "--status-color": f._status
3990
3994
  }
3991
- }, [f]) : f;
3995
+ }, [m]) : m;
3992
3996
  }
3993
3997
  const C = un(p) || p == l;
3994
3998
  if (u) {
3995
- const D = h(io, {
3999
+ const f = h(io, {
3996
4000
  key: p,
3997
4001
  onClick: () => u?.(t.data)
3998
4002
  }, ol(p) ? p : {
3999
4003
  default: () => [p]
4000
4004
  });
4001
- return r ? D : C ? c : D;
4005
+ return r ? f : C ? c : f;
4002
4006
  }
4003
4007
  return C ? c : p;
4004
4008
  }
@@ -4302,8 +4306,8 @@ const Sn = Symbol(
4302
4306
  }));
4303
4307
  const { keywords: e, checkedColumnsMap: o, search: n, searchResult: a, updateColumnChecked: s, searchInputRef: u } = dl(), { nextZIndex: r } = to(), l = r();
4304
4308
  return (i, c) => {
4305
- const p = S("ZEmpty"), C = S("el-checkbox"), D = S("el-col"), f = S("el-row"), g = oe("ellipsis");
4306
- return m(), E("div", pl, [
4309
+ const p = S("ZEmpty"), C = S("el-checkbox"), f = S("el-col"), m = S("el-row"), g = oe("ellipsis");
4310
+ return D(), E("div", pl, [
4307
4311
  x("div", ml, [
4308
4312
  h(d(It), {
4309
4313
  ref_key: "searchInputRef",
@@ -4315,18 +4319,18 @@ const Sn = Symbol(
4315
4319
  onInput: d(n)
4316
4320
  }, null, 8, ["modelValue", "onInput"])
4317
4321
  ]),
4318
- d(e) ? (m(), E("div", Dl, [
4319
- d(a).length ? M("", !0) : (m(), G(p, {
4322
+ d(e) ? (D(), E("div", Dl, [
4323
+ d(a).length ? M("", !0) : (D(), G(p, {
4320
4324
  key: 0,
4321
4325
  class: "search_result-empty",
4322
4326
  description: "无搜索结果"
4323
4327
  })),
4324
- h(f, {
4328
+ h(m, {
4325
4329
  gutter: 16,
4326
4330
  class: "custom-column-group-content__group-item-columns"
4327
4331
  }, {
4328
4332
  default: y(() => [
4329
- (m(!0), E(H, null, Y(d(a), (b) => (m(), G(D, {
4333
+ (D(!0), E(H, null, Y(d(a), (b) => (D(), G(f, {
4330
4334
  key: b.prop,
4331
4335
  span: 8
4332
4336
  }, {
@@ -4337,7 +4341,7 @@ const Sn = Symbol(
4337
4341
  onChange: (B) => d(s)(b, B)
4338
4342
  }, {
4339
4343
  default: y(() => [
4340
- te((m(), E("div", fl, [
4344
+ ee((D(), E("div", fl, [
4341
4345
  U(X(b.label), 1)
4342
4346
  ])), [
4343
4347
  [g]
@@ -4373,22 +4377,22 @@ const Al = /* @__PURE__ */ L({
4373
4377
  groupName: s,
4374
4378
  anchorId: u
4375
4379
  } = Ne(n), r = e.columns.filter((C) => C.prop && ll(C) === s), l = N(() => new Map(e.activeGroupSelectedColumns.map((C) => [C.prop, C]))), i = N(() => {
4376
- const C = r.filter((D) => l.value.has(D.prop)).length;
4380
+ const C = r.filter((f) => l.value.has(f.prop)).length;
4377
4381
  return C > 0 && C < r.length;
4378
4382
  }), c = N({
4379
4383
  get() {
4380
4384
  return r.every((C) => l.value.has(C.prop));
4381
4385
  },
4382
4386
  set(C) {
4383
- const D = new Map(r.map((f) => [f.prop, f]));
4384
- e.activeGroup && (i.value ? e.activeGroup.columns.forEach((f) => {
4385
- D.has(f.prop) && !f.checked && !f.readonly && e.activeGroup?.updateColumnChecked(f.prop, !0);
4386
- }) : e.activeGroup.columns.forEach((f) => {
4387
- D.has(f.prop) && !f.readonly && f.checked !== C && e.activeGroup?.updateColumnChecked(f.prop, C);
4387
+ const f = new Map(r.map((m) => [m.prop, m]));
4388
+ e.activeGroup && (i.value ? e.activeGroup.columns.forEach((m) => {
4389
+ f.has(m.prop) && !m.checked && !m.readonly && e.activeGroup?.updateColumnChecked(m.prop, !0);
4390
+ }) : e.activeGroup.columns.forEach((m) => {
4391
+ f.has(m.prop) && !m.readonly && m.checked !== C && e.activeGroup?.updateColumnChecked(m.prop, C);
4388
4392
  }));
4389
4393
  }
4390
- }), p = (C, D) => {
4391
- e.activeGroup?.updateColumnChecked(C.prop, D);
4394
+ }), p = (C, f) => {
4395
+ e.activeGroup?.updateColumnChecked(C.prop, f);
4392
4396
  };
4393
4397
  return h("div", {
4394
4398
  class: "custom-column-group-content__group-item"
@@ -4400,7 +4404,7 @@ const Al = /* @__PURE__ */ L({
4400
4404
  modelValue: c.value,
4401
4405
  "onUpdate:modelValue": (C) => c.value = C
4402
4406
  }, {
4403
- default: () => [te(h("div", {
4407
+ default: () => [ee(h("div", {
4404
4408
  class: "select-item__label"
4405
4409
  }, [s]), [[oe("ellipsis")]])]
4406
4410
  })]), h(S("el-row"), {
@@ -4413,9 +4417,9 @@ const Al = /* @__PURE__ */ L({
4413
4417
  default: () => [h(S("el-checkbox"), {
4414
4418
  disabled: C.readonly,
4415
4419
  "model-value": l.value.has(C.prop),
4416
- onChange: (D) => p(C, D)
4420
+ onChange: (f) => p(C, f)
4417
4421
  }, {
4418
- default: () => [te(h("div", {
4422
+ default: () => [ee(h("div", {
4419
4423
  class: "select-item__label"
4420
4424
  }, [C.label]), [[oe("ellipsis")]])]
4421
4425
  })]
@@ -4423,7 +4427,7 @@ const Al = /* @__PURE__ */ L({
4423
4427
  default: () => [a]
4424
4428
  })]);
4425
4429
  };
4426
- return (n, a) => (m(), E("div", Cl, [(m(!0), E(H, null, Y(d(e).anchors, (s) => (m(), G(o, {
4430
+ return (n, a) => (D(), E("div", Cl, [(D(!0), E(H, null, Y(d(e).anchors, (s) => (D(), G(o, {
4427
4431
  key: s.anchorId,
4428
4432
  "group-name": s.anchorName,
4429
4433
  "anchor-id": s.anchorId
@@ -4474,29 +4478,29 @@ const Al = /* @__PURE__ */ L({
4474
4478
  column: c,
4475
4479
  fixed: p,
4476
4480
  className: C,
4477
- isFixed: D
4478
- } = Ne(i), f = a.value || !p;
4481
+ isFixed: f
4482
+ } = Ne(i), m = a.value || !p;
4479
4483
  return h("div", {
4480
4484
  class: `custom-column-group-selected__column-item ${C}`
4481
4485
  }, [h("img", {
4482
4486
  src: Nt,
4483
4487
  alt: "..."
4484
- }, null), te(h("span", {
4488
+ }, null), ee(h("span", {
4485
4489
  class: "select-item__label"
4486
4490
  }, [s(c)]), [[oe("ellipsis")]]), h("div", {
4487
4491
  class: "select-item__icon"
4488
4492
  }, [h("img", {
4489
- class: f ? "" : "not-lock",
4490
- src: D ? kn : bl,
4493
+ class: m ? "" : "not-lock",
4494
+ src: f ? kn : bl,
4491
4495
  alt: "锁",
4492
- onClick: () => f && u(c, p)
4496
+ onClick: () => m && u(c, p)
4493
4497
  }, null), c.readonly ? h(S("el-icon"), null, null) : h(S("el-icon"), {
4494
4498
  onClick: () => r(c)
4495
4499
  }, {
4496
4500
  default: () => [h(Jt, null, null)]
4497
4501
  })])]);
4498
4502
  };
4499
- return (i, c) => (m(), E("div", yl, [x("div", _l, [U(" 已选 " + X(d(e).activeGroupSelectedColumns.length) + " 个 ", 1), x("div", {
4503
+ return (i, c) => (D(), E("div", yl, [x("div", _l, [U(" 已选 " + X(d(e).activeGroupSelectedColumns.length) + " 个 ", 1), x("div", {
4500
4504
  class: "reset-btn",
4501
4505
  onClick: c[0] || (c[0] = //@ts-ignore
4502
4506
  (...p) => d(e).resetActiveGroupColumnsStatus && d(e).resetActiveGroupColumnsStatus(...p))
@@ -4506,7 +4510,7 @@ const Al = /* @__PURE__ */ L({
4506
4510
  animation: 150,
4507
4511
  draggable: ".custom-column-group-selected__fixed-column-item"
4508
4512
  }, {
4509
- default: y(() => [(m(!0), E(H, null, Y(n.value, (p) => (m(), G(l, {
4513
+ default: y(() => [(D(!0), E(H, null, Y(n.value, (p) => (D(), G(l, {
4510
4514
  key: p.prop,
4511
4515
  "class-name": "custom-column-group-selected__fixed-column-item",
4512
4516
  column: p,
@@ -4520,7 +4524,7 @@ const Al = /* @__PURE__ */ L({
4520
4524
  "ghost-class": "ghost",
4521
4525
  draggable: ".custom-column-group-selected__un-fixed-column-item"
4522
4526
  }, {
4523
- default: y(() => [(m(!0), E(H, null, Y(o.value, (p) => (m(), G(l, {
4527
+ default: y(() => [(D(!0), E(H, null, Y(o.value, (p) => (D(), G(l, {
4524
4528
  key: p.prop,
4525
4529
  "class-name": "custom-column-group-selected__un-fixed-column-item",
4526
4530
  fixed: "left",
@@ -4558,9 +4562,9 @@ const Al = /* @__PURE__ */ L({
4558
4562
  return;
4559
4563
  }
4560
4564
  e.value.forEach(({ anchorId: C }) => {
4561
- const D = document.getElementById(C);
4562
- if (!D) return;
4563
- const g = D.getBoundingClientRect().top - i.top;
4565
+ const f = document.getElementById(C);
4566
+ if (!f) return;
4567
+ const g = f.getBoundingClientRect().top - i.top;
4564
4568
  g >= 0 && g < p && (p = g, c = C);
4565
4569
  }), o.value = c;
4566
4570
  }
@@ -4572,12 +4576,12 @@ const Al = /* @__PURE__ */ L({
4572
4576
  const { zTableCustomBuilder: e } = Qe(), { activeAnchorId: o, updateActiveAnchorIdByClick: n, handleContentScroll: a } = Tn(e.anchors);
4573
4577
  return (s, u) => {
4574
4578
  const r = oe("ellipsis");
4575
- return m(), E("div", Il, [
4579
+ return D(), E("div", Il, [
4576
4580
  x("div", Gl, [
4577
4581
  u[1] || (u[1] = x("div", { class: "custom-column__title" }, "自定义列", -1)),
4578
4582
  x("div", Nl, [
4579
4583
  x("div", Rl, [
4580
- (m(!0), E(H, null, Y(d(e).anchors, (l) => te((m(), E("div", {
4584
+ (D(!0), E(H, null, Y(d(e).anchors, (l) => ee((D(), E("div", {
4581
4585
  key: l.anchorId,
4582
4586
  class: ne([
4583
4587
  "anchor-item",
@@ -4633,8 +4637,8 @@ const Al = /* @__PURE__ */ L({
4633
4637
  o.updateGroupName(n.value, t.id), s();
4634
4638
  };
4635
4639
  return (i, c) => {
4636
- const p = S("el-icon"), C = S("el-input"), D = S("el-button");
4637
- return m(), E(H, null, [
4640
+ const p = S("el-icon"), C = S("el-input"), f = S("el-button");
4641
+ return D(), E(H, null, [
4638
4642
  h(d(Ca), {
4639
4643
  ref_key: "popoverRef",
4640
4644
  ref: a,
@@ -4656,20 +4660,20 @@ const Al = /* @__PURE__ */ L({
4656
4660
  ref_key: "inputRef",
4657
4661
  ref: u,
4658
4662
  modelValue: n.value,
4659
- "onUpdate:modelValue": c[0] || (c[0] = (f) => n.value = f),
4663
+ "onUpdate:modelValue": c[0] || (c[0] = (m) => n.value = m),
4660
4664
  placeholder: "请输入分组名称",
4661
4665
  maxlength: "8",
4662
4666
  "show-word-limit": "",
4663
4667
  onKeyup: St(l, ["enter"])
4664
4668
  }, null, 8, ["modelValue"]),
4665
4669
  x("div", Ll, [
4666
- h(D, { onClick: s }, {
4670
+ h(f, { onClick: s }, {
4667
4671
  default: y(() => [...c[2] || (c[2] = [
4668
4672
  U("取消", -1)
4669
4673
  ])]),
4670
4674
  _: 1
4671
4675
  }),
4672
- h(D, {
4676
+ h(f, {
4673
4677
  type: "primary",
4674
4678
  onClick: l
4675
4679
  }, {
@@ -4684,7 +4688,7 @@ const Al = /* @__PURE__ */ L({
4684
4688
  }, 512),
4685
4689
  h(p, {
4686
4690
  class: "group-item__delete-icon",
4687
- onClick: c[1] || (c[1] = me((f) => d(o).deleteGroup(i.id), ["stop"]))
4691
+ onClick: c[1] || (c[1] = me((m) => d(o).deleteGroup(i.id), ["stop"]))
4688
4692
  }, {
4689
4693
  default: y(() => [
4690
4694
  h(d(ct))
@@ -4701,9 +4705,9 @@ const Al = /* @__PURE__ */ L({
4701
4705
  const { zTableCustomBuilder: e } = Qe();
4702
4706
  return (o, n) => {
4703
4707
  const a = S("el-button");
4704
- return m(), E("div", zl, [
4708
+ return D(), E("div", zl, [
4705
4709
  n[2] || (n[2] = x("div", { class: "group-item__tips" }, "常用自定义列", -1)),
4706
- (m(!0), E(H, null, Y(d(e).groups, (s) => (m(), E("div", {
4710
+ (D(!0), E(H, null, Y(d(e).groups, (s) => (D(), E("div", {
4707
4711
  key: s.groupName,
4708
4712
  class: ne([
4709
4713
  "group-item",
@@ -4714,14 +4718,14 @@ const Al = /* @__PURE__ */ L({
4714
4718
  onClick: (u) => d(e).updateActiveGroup(s.id)
4715
4719
  }, [
4716
4720
  U(X(s.groupName) + " ", 1),
4717
- s.id !== d(Be) ? (m(), G(Ol, {
4721
+ s.id !== d(Be) ? (D(), G(Ol, {
4718
4722
  key: 0,
4719
4723
  id: s.id,
4720
4724
  modelValue: s.groupName,
4721
4725
  "onUpdate:modelValue": (u) => s.groupName = u
4722
4726
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue"])) : M("", !0)
4723
4727
  ], 10, Hl))), 128)),
4724
- d(e).canAdd ? (m(), G(a, {
4728
+ d(e).canAdd ? (D(), G(a, {
4725
4729
  key: 0,
4726
4730
  icon: d(eo),
4727
4731
  link: "",
@@ -4741,10 +4745,10 @@ const Al = /* @__PURE__ */ L({
4741
4745
  __name: "index",
4742
4746
  setup(t) {
4743
4747
  const { zTableCustomBuilder: e } = Qe();
4744
- return (o, n) => (m(), E("div", Ql, [
4748
+ return (o, n) => (D(), E("div", Ql, [
4745
4749
  h(Zl),
4746
4750
  h(hl),
4747
- (m(), G(Pl, {
4751
+ (D(), G(Pl, {
4748
4752
  key: d(e).activeId
4749
4753
  }))
4750
4754
  ]));
@@ -4816,7 +4820,7 @@ const xo = (t) => {
4816
4820
  // 立即加载
4817
4821
  }) : l;
4818
4822
  await W();
4819
- const D = c ?? Ro(), f = document.createElement("div");
4823
+ const f = c ?? Ro(), m = document.createElement("div");
4820
4824
  return new Promise((g, b) => {
4821
4825
  const B = p?.notCloseBeforeRouteChange ? null : wt(
4822
4826
  () => a.fullPath,
@@ -4829,7 +4833,7 @@ const xo = (t) => {
4829
4833
  modelValue: !0,
4830
4834
  "onUpdate:modelValue": (w) => {
4831
4835
  w || W(() => {
4832
- o.value.find((k) => k.id === D) && (s(D), b());
4836
+ o.value.find((k) => k.id === f) && (s(f), b());
4833
4837
  });
4834
4838
  },
4835
4839
  [xo(
@@ -4845,12 +4849,12 @@ const xo = (t) => {
4845
4849
  b(w), s();
4846
4850
  }
4847
4851
  }),
4848
- f
4852
+ m
4849
4853
  );
4850
4854
  o.value.push({
4851
- id: D,
4855
+ id: f,
4852
4856
  cleanup: () => {
4853
- v(f), B?.();
4857
+ v(m), B?.();
4854
4858
  }
4855
4859
  });
4856
4860
  });
@@ -4887,8 +4891,8 @@ const xo = (t) => {
4887
4891
  });
4888
4892
  };
4889
4893
  return (p, C) => {
4890
- const D = S("el-button"), f = S("el-dialog"), g = oe("loading");
4891
- return m(), G(f, {
4894
+ const f = S("el-button"), m = S("el-dialog"), g = oe("loading");
4895
+ return D(), G(m, {
4892
4896
  modelValue: a.value,
4893
4897
  "onUpdate:modelValue": C[0] || (C[0] = (b) => a.value = b),
4894
4898
  class: "z-table-custom-column__dialog",
@@ -4899,7 +4903,7 @@ const xo = (t) => {
4899
4903
  "close-on-press-escape": !1
4900
4904
  }, {
4901
4905
  footer: y(() => [
4902
- h(D, {
4906
+ h(f, {
4903
4907
  loading: d(s) || d(r),
4904
4908
  onClick: i
4905
4909
  }, {
@@ -4908,7 +4912,7 @@ const xo = (t) => {
4908
4912
  ])]),
4909
4913
  _: 1
4910
4914
  }, 8, ["loading"]),
4911
- h(D, {
4915
+ h(f, {
4912
4916
  loading: d(s) || d(r),
4913
4917
  type: "primary",
4914
4918
  onClick: c
@@ -4920,7 +4924,7 @@ const xo = (t) => {
4920
4924
  }, 8, ["loading"])
4921
4925
  ]),
4922
4926
  default: y(() => [
4923
- te(h(Wl, null, null, 512), [
4927
+ ee(h(Wl, null, null, 512), [
4924
4928
  [g, d(s)]
4925
4929
  ])
4926
4930
  ]),
@@ -4972,7 +4976,7 @@ const xo = (t) => {
4972
4976
  );
4973
4977
  },
4974
4978
  saveConfigColumns: async (i, c, p) => {
4975
- const C = new Map(i.map((g, b) => [g.prop, { ...g, index: b }])), D = t.columns.filter((g) => g.prop && g.label), f = z.sortBy(D, (g) => C.get(g.prop)?.index ?? -1).map(
4979
+ const C = new Map(i.map((g, b) => [g.prop, { ...g, index: b }])), f = t.columns.filter((g) => g.prop && g.label), m = z.sortBy(f, (g) => C.get(g.prop)?.index ?? -1).map(
4976
4980
  (g) => ({
4977
4981
  prop: g.prop,
4978
4982
  checked: C.has(g.prop),
@@ -4981,9 +4985,9 @@ const xo = (t) => {
4981
4985
  );
4982
4986
  if (p) {
4983
4987
  const { id: g, groupName: b } = c, B = e.value.find((v) => v.id === g);
4984
- B ? (B.columns = f, B.groupName = b) : e.value.push({ ...c, columns: f }), await o(g);
4988
+ B ? (B.columns = m, B.groupName = b) : e.value.push({ ...c, columns: m }), await o(g);
4985
4989
  }
4986
- return s(f);
4990
+ return s(m);
4987
4991
  },
4988
4992
  deleteGroupByGroupId: (i) => {
4989
4993
  const c = e.value.findIndex((p) => p.id === i);
@@ -5012,7 +5016,7 @@ const xo = (t) => {
5012
5016
  );
5013
5017
  }, C = (v, w, k) => {
5014
5018
  i.value = v, p(w ?? n(v)), !k && u(v);
5015
- }, D = (v) => {
5019
+ }, f = (v) => {
5016
5020
  r(jl, {
5017
5021
  activeId: v,
5018
5022
  columnConfig: {
@@ -5024,7 +5028,7 @@ const xo = (t) => {
5024
5028
  s.value = w, e("saveColumns"), await W(), C(k, void 0, !0);
5025
5029
  }).catch(() => {
5026
5030
  });
5027
- }, f = () => {
5031
+ }, m = () => {
5028
5032
  c.value = t.columns.filter(({ type: v, defaultChecked: w, readonly: k, prop: T }) => k || v && Reflect.has(Ct, v) || !T ? !0 : !!w);
5029
5033
  };
5030
5034
  (async () => {
@@ -5041,23 +5045,23 @@ const xo = (t) => {
5041
5045
  active: s.value.length === 0
5042
5046
  });
5043
5047
  const w = s.value.find((k) => k.active) || s.value[0];
5044
- w ? C(w.id, void 0, !0) : f();
5048
+ w ? C(w.id, void 0, !0) : m();
5045
5049
  } catch (v) {
5046
5050
  console.log(v);
5047
5051
  }
5048
5052
  else
5049
- f();
5053
+ m();
5050
5054
  l.value = !1;
5051
5055
  })();
5052
5056
  const b = (v) => {
5053
- D(v);
5057
+ f(v);
5054
5058
  }, B = async (v) => {
5055
5059
  await a(v), v === i.value && C(Be);
5056
5060
  };
5057
5061
  return wt(
5058
5062
  () => t.columns,
5059
5063
  () => {
5060
- t.columnConfig?.pageId ? p(n(i.value)) : f();
5064
+ t.columnConfig?.pageId ? p(n(i.value)) : m();
5061
5065
  },
5062
5066
  {
5063
5067
  deep: !0,
@@ -5068,7 +5072,7 @@ const xo = (t) => {
5068
5072
  loadingConfigColumns: l,
5069
5073
  groupId: i,
5070
5074
  columnGroups: s,
5071
- openConfigColumnDialog: D,
5075
+ openConfigColumnDialog: f,
5072
5076
  changeGroupId: C,
5073
5077
  editGroupByGroupId: b,
5074
5078
  deleteGroupByGroupId: B
@@ -5087,9 +5091,9 @@ const xo = (t) => {
5087
5091
  current: 1,
5088
5092
  size: t.paginationProps?.pageSize || ko.pageSize,
5089
5093
  total: 0
5090
- }), D = N(() => ({ ...ko, ...t.paginationProps })), f = R(""), g = () => {
5094
+ }), f = N(() => ({ ...ko, ...t.paginationProps })), m = R(""), g = () => {
5091
5095
  const I = c.value?.getBoundingClientRect();
5092
- f.value = `${I?.width}px`;
5096
+ m.value = `${I?.width}px`;
5093
5097
  }, b = new ResizeObserver(() => requestAnimationFrame(g)), B = R([]), v = N(() => {
5094
5098
  const I = z.omit(t, [
5095
5099
  "tableData",
@@ -5118,7 +5122,7 @@ const xo = (t) => {
5118
5122
  try {
5119
5123
  const P = t.loadMethod;
5120
5124
  if (P && typeof P == "function") {
5121
- const { data: Z, total: j, records: ee, count: le } = await P(z.omit(I, "total")) ?? {}, De = ee || Z || [], de = Number(le || j || 0);
5125
+ const { data: Z, total: j, records: te, count: le } = await P(z.omit(I, "total")) ?? {}, De = te || Z || [], de = Number(le || j || 0);
5122
5126
  if (!De.length && I.current > 1 && de) {
5123
5127
  const _e = Math.ceil(de / I.size);
5124
5128
  if (I.current > _e)
@@ -5143,8 +5147,8 @@ const xo = (t) => {
5143
5147
  baseTableContainerRef: c,
5144
5148
  baseTableRef: p,
5145
5149
  pagination: C,
5146
- getPaginationProps: D,
5147
- paginationWidth: f,
5150
+ getPaginationProps: f,
5151
+ paginationWidth: m,
5148
5152
  tableData: B,
5149
5153
  getTableAttrs: v,
5150
5154
  getColumnAttrs: w,
@@ -5237,9 +5241,9 @@ const xo = (t) => {
5237
5241
  l(g);
5238
5242
  }, C = async () => {
5239
5243
  s.value = !0, await W(), u.value?.focus();
5240
- }, D = () => {
5244
+ }, f = () => {
5241
5245
  s.value = !1, a.value = "", n.value = 0, o("hidden");
5242
- }, f = N(() => t.count ? n.value + 1 : 0);
5246
+ }, m = N(() => t.count ? n.value + 1 : 0);
5243
5247
  return rt(() => {
5244
5248
  r("keydown", (g) => {
5245
5249
  const b = g.target, B = u.value?.$el?.contains?.(b), { key: v, metaKey: w, ctrlKey: k, shiftKey: T } = g;
@@ -5250,7 +5254,7 @@ const xo = (t) => {
5250
5254
  (w || k) && T && (g.preventDefault(), C());
5251
5255
  break;
5252
5256
  case "Escape":
5253
- D();
5257
+ f();
5254
5258
  break;
5255
5259
  case "ArrowUp":
5256
5260
  B && g.preventDefault(), c();
@@ -5262,8 +5266,8 @@ const xo = (t) => {
5262
5266
  });
5263
5267
  }), (g, b) => {
5264
5268
  const B = S("el-icon");
5265
- return m(), G(ua, { to: "body" }, [
5266
- s.value ? (m(), E("div", er, [
5269
+ return D(), G(ua, { to: "body" }, [
5270
+ s.value ? (D(), E("div", er, [
5267
5271
  h(d(va), {
5268
5272
  ref_key: "inputRef",
5269
5273
  ref: u,
@@ -5274,7 +5278,7 @@ const xo = (t) => {
5274
5278
  onKeydown: St(p, ["enter"])
5275
5279
  }, {
5276
5280
  append: y(() => [
5277
- x("div", tr, X(f.value) + "/" + X(g.count), 1),
5281
+ x("div", tr, X(m.value) + "/" + X(g.count), 1),
5278
5282
  x("div", or, [
5279
5283
  h(B, {
5280
5284
  class: ne(g.count ? "is-active" : "is-disable"),
@@ -5294,7 +5298,7 @@ const xo = (t) => {
5294
5298
  ]),
5295
5299
  _: 1
5296
5300
  }, 8, ["class"]),
5297
- h(B, { onClick: D }, {
5301
+ h(B, { onClick: f }, {
5298
5302
  default: y(() => [
5299
5303
  h(d(ct))
5300
5304
  ]),
@@ -5314,19 +5318,19 @@ const xo = (t) => {
5314
5318
  if (c) {
5315
5319
  const p = c.querySelectorAll(".el-table__header-wrapper");
5316
5320
  if (p.length) {
5317
- const D = Array.from(p).filter((f) => {
5318
- const { display: g } = getComputedStyle(f);
5321
+ const f = Array.from(p).filter((m) => {
5322
+ const { display: g } = getComputedStyle(m);
5319
5323
  return g !== "none";
5320
5324
  }).pop()?.querySelectorAll(".el-table__cell");
5321
- if (D?.length) {
5322
- const f = Array.from(D), [g] = f, b = f.find((A) => !A.classList.contains("el-table-fixed-column--left")), B = b?.getBoundingClientRect().left ?? 0, v = c.getBoundingClientRect().left;
5325
+ if (f?.length) {
5326
+ const m = Array.from(f), [g] = m, b = m.find((A) => !A.classList.contains("el-table-fixed-column--left")), B = b?.getBoundingClientRect().left ?? 0, v = c.getBoundingClientRect().left;
5323
5327
  let w = Math.abs(B - v);
5324
5328
  if (g !== b) {
5325
- const A = f.findLastIndex((Z) => Z.classList.contains("el-table-fixed-column--left")), V = f[A], { left: I, width: P } = V.getBoundingClientRect();
5329
+ const A = m.findLastIndex((Z) => Z.classList.contains("el-table-fixed-column--left")), V = m[A], { left: I, width: P } = V.getBoundingClientRect();
5326
5330
  w = I + P - B;
5327
5331
  }
5328
5332
  const { width: k } = t.value.$el.getBoundingClientRect(), T = c.querySelector(".el-scrollbar__thumb"), F = T ? T.getBoundingClientRect().width : 0, _ = F ? F / 2 : 0;
5329
- f.forEach((A) => {
5333
+ m.forEach((A) => {
5330
5334
  const { top: V, left: I } = A.getBoundingClientRect();
5331
5335
  i.push({ element: A, rect: { top: V, left: I + w - k / 2 - _ } });
5332
5336
  });
@@ -5350,14 +5354,14 @@ const xo = (t) => {
5350
5354
  if (s(), i) {
5351
5355
  const p = o();
5352
5356
  if (p?.length) {
5353
- const C = p.filter(({ element: D }) => {
5354
- const f = D.textContent;
5355
- return f ? n(f, i) : !1;
5357
+ const C = p.filter(({ element: f }) => {
5358
+ const m = f.textContent;
5359
+ return m ? n(m, i) : !1;
5356
5360
  });
5357
5361
  if (C.length) {
5358
5362
  C.forEach(u);
5359
- const D = C[c];
5360
- D && r(D), e.value = C.length;
5363
+ const f = C[c];
5364
+ f && r(f), e.value = C.length;
5361
5365
  }
5362
5366
  }
5363
5367
  }
@@ -5460,8 +5464,8 @@ const xo = (t) => {
5460
5464
  ".el-scrollbar__wrap:not([data-first-row-sticky])"
5461
5465
  );
5462
5466
  if (!P) return;
5463
- const Z = F.getBoundingClientRect(), j = _.value.getBoundingClientRect(), ee = P.getBoundingClientRect(), De = Vo(V)[0]?.getBoundingClientRect().height || 0, de = Mo(V)?.offsetHeight || 0, _e = Z.top + j.height + De;
5464
- u.style.top = `${_e}px`, u.style.left = `${ee.left}px`, u.style.width = `${ee.width}px`, u.style.height = `${de}px`, u.style.overflow = "hidden", u.style.zIndex = "100";
5467
+ const Z = F.getBoundingClientRect(), j = _.value.getBoundingClientRect(), te = P.getBoundingClientRect(), De = Vo(V)[0]?.getBoundingClientRect().height || 0, de = Mo(V)?.offsetHeight || 0, _e = Z.top + j.height + De;
5468
+ u.style.top = `${_e}px`, u.style.left = `${te.left}px`, u.style.width = `${te.width}px`, u.style.height = `${de}px`, u.style.overflow = "hidden", u.style.zIndex = "100";
5465
5469
  }, C = () => {
5466
5470
  if (!u) return;
5467
5471
  const { baseTableRef: F } = e, _ = d(F)?.$el;
@@ -5472,7 +5476,7 @@ const xo = (t) => {
5472
5476
  ".el-scrollbar__wrap:not([data-first-row-sticky])"
5473
5477
  );
5474
5478
  V && (u.scrollLeft = V.scrollLeft);
5475
- }, D = () => {
5479
+ }, f = () => {
5476
5480
  if (!e.enableFirstRowSticky) return;
5477
5481
  const { baseTableRef: F } = e, _ = d(F)?.$el;
5478
5482
  if (!_ || u) return;
@@ -5480,16 +5484,16 @@ const xo = (t) => {
5480
5484
  if (!A) return;
5481
5485
  const V = c(_);
5482
5486
  if (!V) return;
5483
- u = V, A.appendChild(u), p();
5487
+ u = V, A.appendChild(u), p(), C();
5484
5488
  const I = u.querySelector("tbody tr:first-child"), P = Mo(_);
5485
5489
  if (I && P) {
5486
5490
  const j = () => {
5487
5491
  I.classList.add("hover-row"), P.classList.add("hover-row");
5488
- }, ee = () => {
5492
+ }, te = () => {
5489
5493
  I.classList.remove("hover-row"), P.classList.remove("hover-row");
5490
5494
  };
5491
- I.addEventListener("mouseenter", j), I.addEventListener("mouseleave", ee), i.push(() => {
5492
- I.removeEventListener("mouseenter", j), I.removeEventListener("mouseleave", ee), I.classList.remove("hover-row"), P.classList.remove("hover-row");
5495
+ I.addEventListener("mouseenter", j), I.addEventListener("mouseleave", te), i.push(() => {
5496
+ I.removeEventListener("mouseenter", j), I.removeEventListener("mouseleave", te), I.classList.remove("hover-row"), P.classList.remove("hover-row");
5493
5497
  }), n.push(() => {
5494
5498
  i.forEach((le) => le()), i.length = 0;
5495
5499
  });
@@ -5503,7 +5507,7 @@ const xo = (t) => {
5503
5507
  requestAnimationFrame(() => p());
5504
5508
  }), l.observe(A), l.observe(Z), n.push(() => l?.disconnect());
5505
5509
  }
5506
- }, f = () => {
5510
+ }, m = () => {
5507
5511
  if (i.forEach((F) => F()), i.length = 0, u) {
5508
5512
  const F = u.parentElement;
5509
5513
  F && F.contains(u) && F.removeChild(u);
@@ -5514,7 +5518,7 @@ const xo = (t) => {
5514
5518
  n.push(P);
5515
5519
  let j;
5516
5520
  return {
5517
- update: (ee) => {
5521
+ update: (te) => {
5518
5522
  if (ln(F))
5519
5523
  return;
5520
5524
  V();
@@ -5528,7 +5532,7 @@ const xo = (t) => {
5528
5532
  width: `${de}px`,
5529
5533
  zIndex: 100
5530
5534
  },
5531
- ee ?? {}
5535
+ te ?? {}
5532
5536
  );
5533
5537
  const { onUpdate: _e, onStop: mt } = cr(le);
5534
5538
  _e(() => {
@@ -5550,8 +5554,8 @@ const xo = (t) => {
5550
5554
  };
5551
5555
  }, b = (F, _, A, V, I = !1) => {
5552
5556
  const { update: P, reset: Z } = g(F, A);
5553
- _((j, ee) => {
5554
- !j && A && ee === "top" ? (P(V), I && e.enableFirstRowSticky && D()) : (Z(), I && e.enableFirstRowSticky && f());
5557
+ _((j, te) => {
5558
+ !j && A && te === "top" ? (P(V), I && e.enableFirstRowSticky && f()) : (Z(), I && e.enableFirstRowSticky && m());
5555
5559
  });
5556
5560
  }, B = (F) => {
5557
5561
  const _ = o();
@@ -5561,14 +5565,14 @@ const xo = (t) => {
5561
5565
  if (!I.value)
5562
5566
  return;
5563
5567
  b(I.value, A, _);
5564
- const Z = Vo(d(P)?.$el), { top: j } = _.getBoundingClientRect(), { height: ee } = I.value.getBoundingClientRect();
5568
+ const Z = Vo(d(P)?.$el), { top: j } = _.getBoundingClientRect(), { height: te } = I.value.getBoundingClientRect();
5565
5569
  Z.forEach(
5566
5570
  (le, De) => b(
5567
5571
  le,
5568
5572
  A,
5569
5573
  _,
5570
5574
  {
5571
- top: `${j + ee}px`
5575
+ top: `${j + te}px`
5572
5576
  },
5573
5577
  De === 0
5574
5578
  // 第一个元素是表头,标记为 true
@@ -5579,7 +5583,7 @@ const xo = (t) => {
5579
5583
  const { baseTableOperationElement: _ } = e;
5580
5584
  _.value && B(dr(_.value, "base-table-watch-sticky__operation"));
5581
5585
  }, w = () => {
5582
- n.forEach((F) => F()), n.length = 0, f();
5586
+ n.forEach((F) => F()), n.length = 0, m();
5583
5587
  };
5584
5588
  return kt(w), {
5585
5589
  start: v,
@@ -5588,7 +5592,7 @@ const xo = (t) => {
5588
5592
  w(), await W(), v();
5589
5593
  },
5590
5594
  updateFirstRow: async () => {
5591
- e.enableFirstRowSticky && (await W(), u && (f(), await W(), D()));
5595
+ e.enableFirstRowSticky && (await W(), u && (m(), await W(), f()));
5592
5596
  }
5593
5597
  };
5594
5598
  }, pr = {
@@ -5702,8 +5706,8 @@ const xo = (t) => {
5702
5706
  pagination: c,
5703
5707
  getPaginationProps: p,
5704
5708
  paginationWidth: C,
5705
- tableData: D,
5706
- getTableAttrs: f,
5709
+ tableData: f,
5710
+ getTableAttrs: m,
5707
5711
  getColumnAttrs: g,
5708
5712
  specialColumnMap: b,
5709
5713
  getTableRenderColumns: B,
@@ -5719,7 +5723,7 @@ const xo = (t) => {
5719
5723
  loadData: P,
5720
5724
  openConfigColumnDialog: Z,
5721
5725
  resetColumnsWidth: j
5722
- } = ql(n, s), { count: ee, find: le, clear: De } = Rn(l);
5726
+ } = ql(n, s), { count: te, find: le, clear: De } = Rn(l);
5723
5727
  let ye = !1;
5724
5728
  const de = () => {
5725
5729
  ye || (P(), s("paginationChange"));
@@ -5748,7 +5752,7 @@ const xo = (t) => {
5748
5752
  l.value?.clearSelection?.();
5749
5753
  }, Kn = N(() => !n.enableDragProps), Xn = (O) => {
5750
5754
  const { oldIndex: $, newIndex: he } = O;
5751
- At($) || At(he) || $ === he || s("drag", { oldIndex: $, newIndex: he }, D.value);
5755
+ At($) || At(he) || $ === he || s("drag", { oldIndex: $, newIndex: he }, f.value);
5752
5756
  }, qn = (O) => {
5753
5757
  if (!we(O.newIndex) && !we(O.oldIndex)) {
5754
5758
  const $ = document.querySelectorAll(".el-table__row"), he = document.querySelector(".mainWrapper");
@@ -5791,10 +5795,10 @@ const xo = (t) => {
5791
5795
  },
5792
5796
  getExportColumnsProps: Jn,
5793
5797
  elTable: l,
5794
- getTableData: () => D.value
5798
+ getTableData: () => f.value
5795
5799
  }), (O, $) => {
5796
5800
  const he = S("el-icon"), Ee = S("el-table-column"), Re = S("el-table"), fo = S("el-pagination"), Dt = oe("loading");
5797
- return m(), E(H, null, [
5801
+ return D(), E(H, null, [
5798
5802
  x("div", {
5799
5803
  ref_key: "baseTableContainerRef",
5800
5804
  ref: i,
@@ -5805,14 +5809,14 @@ const xo = (t) => {
5805
5809
  }
5806
5810
  ])
5807
5811
  }, [
5808
- O.hideTableWorkHeader ? M("", !0) : (m(), E(H, { key: 0 }, [
5809
- O.hasDefaultOperation || a.value.length || u.header || u.operation ? (m(), E("div", {
5812
+ O.hideTableWorkHeader ? M("", !0) : (D(), E(H, { key: 0 }, [
5813
+ O.hasDefaultOperation || a.value.length || u.header || u.operation ? (D(), E("div", {
5810
5814
  key: 0,
5811
5815
  ref_key: "baseTableOperationElement",
5812
5816
  ref: mt,
5813
5817
  class: "base-table__header"
5814
5818
  }, [
5815
- a.value.length ? (m(), E("div", {
5819
+ a.value.length ? (D(), E("div", {
5816
5820
  key: 0,
5817
5821
  class: ne([
5818
5822
  "select-count",
@@ -5822,7 +5826,7 @@ const xo = (t) => {
5822
5826
  }
5823
5827
  ])
5824
5828
  }, [
5825
- O.showSelectCount ? (m(), E("div", {
5829
+ O.showSelectCount ? (D(), E("div", {
5826
5830
  key: 0,
5827
5831
  class: ne([
5828
5832
  "select-count__count",
@@ -5841,27 +5845,27 @@ const xo = (t) => {
5841
5845
  ], 2)) : M("", !0),
5842
5846
  ue(O.$slots, "selectSlot", {}, void 0, !0)
5843
5847
  ], 2)) : M("", !0),
5844
- !u.selectSlot || !a.value.length ? (m(), E("div", pr, [
5848
+ !u.selectSlot || !a.value.length ? (D(), E("div", pr, [
5845
5849
  ue(O.$slots, "header", { pagination: mo.value }, void 0, !0)
5846
5850
  ])) : M("", !0),
5847
- O.hasDefaultOperation && (!u.selectSlot || !a.value.length) ? (m(), E("div", mr, [
5851
+ O.hasDefaultOperation && (!u.selectSlot || !a.value.length) ? (D(), E("div", mr, [
5848
5852
  ue(O.$slots, "operation", { pagination: mo.value }, void 0, !0),
5849
- (m(!0), E(H, null, Y(d(v), (se) => (m(), E(H, {
5853
+ (D(!0), E(H, null, Y(d(v), (se) => (D(), E(H, {
5850
5854
  key: se.type
5851
5855
  }, [
5852
- se.type === "refresh" ? (m(), G(Ke, {
5856
+ se.type === "refresh" ? (D(), G(Ke, {
5853
5857
  key: 0,
5854
5858
  tips: "刷新",
5855
5859
  src: d(Fn),
5856
5860
  onClick: $[0] || ($[0] = (Xe) => _e(!1))
5857
5861
  }, null, 8, ["src"])) : M("", !0),
5858
- se.type === "resetColumnsWidth" ? (m(), G(Ke, {
5862
+ se.type === "resetColumnsWidth" ? (D(), G(Ke, {
5859
5863
  key: 1,
5860
5864
  src: d(bn),
5861
5865
  tips: "重置列宽",
5862
5866
  onClick: d(j)
5863
5867
  }, null, 8, ["src", "onClick"])) : M("", !0),
5864
- se.type === "configColumns" && O.columnConfig?.pageId ? (m(), G(qu, {
5868
+ se.type === "configColumns" && O.columnConfig?.pageId ? (D(), G(qu, {
5865
5869
  key: 2,
5866
5870
  "group-id": d(T),
5867
5871
  "column-groups": d(_),
@@ -5874,7 +5878,7 @@ const xo = (t) => {
5874
5878
  ])) : M("", !0)
5875
5879
  ], 512)) : M("", !0)
5876
5880
  ], 64)),
5877
- te((m(), E("div", {
5881
+ ee((D(), E("div", {
5878
5882
  key: d(F),
5879
5883
  class: ne([
5880
5884
  "base-table__body",
@@ -5885,11 +5889,11 @@ const xo = (t) => {
5885
5889
  }
5886
5890
  ])
5887
5891
  }, [
5888
- !d(w) && Vt.value ? (m(), G(d(Ue), {
5892
+ !d(w) && Vt.value ? (D(), G(d(Ue), {
5889
5893
  key: 0,
5890
- modelValue: d(D),
5894
+ modelValue: d(f),
5891
5895
  "onUpdate:modelValue": [
5892
- $[1] || ($[1] = (se) => Te(D) ? D.value = se : null),
5896
+ $[1] || ($[1] = (se) => Te(f) ? f.value = se : null),
5893
5897
  $[2] || ($[2] = (se) => s("update:tableData", se))
5894
5898
  ],
5895
5899
  disabled: Kn.value,
@@ -5909,12 +5913,12 @@ const xo = (t) => {
5909
5913
  "base-table__table",
5910
5914
  {
5911
5915
  "el-table__outside-border": O.border,
5912
- "is-empty__table": !d(D).length
5916
+ "is-empty__table": !d(f).length
5913
5917
  }
5914
5918
  ]
5915
- }, d(f), {
5919
+ }, d(m), {
5916
5920
  "header-cell-style": d(el),
5917
- data: d(D),
5921
+ data: d(f),
5918
5922
  "show-overflow-tooltip": ""
5919
5923
  }, ge(d(r))), {
5920
5924
  empty: y(() => [
@@ -5923,7 +5927,7 @@ const xo = (t) => {
5923
5927
  ], !0)
5924
5928
  ]),
5925
5929
  default: y(() => [
5926
- (m(!0), E(H, null, Y(d(B), (se) => (m(), G(Ee, q({ ref_for: !0 }, d(g)(se), {
5930
+ (D(!0), E(H, null, Y(d(B), (se) => (D(), G(Ee, q({ ref_for: !0 }, d(g)(se), {
5927
5931
  key: se.prop,
5928
5932
  "class-name": `${Yn.value(se)} ${se.className ?? ""}`
5929
5933
  }), {
@@ -5939,11 +5943,11 @@ const xo = (t) => {
5939
5943
  ])
5940
5944
  ]),
5941
5945
  default: y(({ row: Xe, $index: Mt }) => [
5942
- !se.type || !d(b)[se.type] ? (m(), G(d(nl), {
5946
+ !se.type || !d(b)[se.type] ? (D(), G(d(nl), {
5943
5947
  key: 0,
5944
5948
  column: se,
5945
5949
  row: Xe,
5946
- data: { ...Xe, $index: Mt, $tableData: d(D), $defaultSort: O.defaultSort, $rowKey: O.rowKey }
5950
+ data: { ...Xe, $index: Mt, $tableData: d(f), $defaultSort: O.defaultSort, $rowKey: O.rowKey }
5947
5951
  }, null, 8, ["column", "row", "data"])) : M("", !0)
5948
5952
  ]),
5949
5953
  _: 2
@@ -5957,7 +5961,7 @@ const xo = (t) => {
5957
5961
  ], 2)), [
5958
5962
  [Dt, d(w) || d(k)]
5959
5963
  ]),
5960
- O.hasPagination ? (m(), E("div", gr, [
5964
+ O.hasPagination ? (D(), E("div", gr, [
5961
5965
  x("div", {
5962
5966
  class: ne({
5963
5967
  "base-table__pagination-fixed": O.fixedPagination,
@@ -5976,9 +5980,9 @@ const xo = (t) => {
5976
5980
  ], 2)
5977
5981
  ])) : M("", !0)
5978
5982
  ], 2),
5979
- O.enableColumnSearch ? (m(), G(Nn, {
5983
+ O.enableColumnSearch ? (D(), G(Nn, {
5980
5984
  key: 0,
5981
- count: d(ee),
5985
+ count: d(te),
5982
5986
  onFind: d(le),
5983
5987
  onHidden: d(De)
5984
5988
  }, null, 8, ["count", "onFind", "onHidden"])) : M("", !0)
@@ -6050,7 +6054,7 @@ const xo = (t) => {
6050
6054
  }, [n.default?.()]) : n.default?.();
6051
6055
  return (o, n) => {
6052
6056
  const a = S("ZTableElTableColumn", !0), s = S("el-table-column");
6053
- return m(), G(s, q(o.column.tableColumnAttrs, {
6057
+ return D(), G(s, q(o.column.tableColumnAttrs, {
6054
6058
  "class-name": o.column.className
6055
6059
  }), {
6056
6060
  header: y(({
@@ -6067,14 +6071,14 @@ const xo = (t) => {
6067
6071
  default: y(({
6068
6072
  row: u,
6069
6073
  $index: r
6070
- }) => [o.children?.length ? (m(!0), E(H, {
6074
+ }) => [o.children?.length ? (D(!0), E(H, {
6071
6075
  key: 0
6072
- }, Y(o.children, (l) => (m(), G(a, {
6076
+ }, Y(o.children, (l) => (D(), G(a, {
6073
6077
  key: l.prop,
6074
6078
  column: l,
6075
6079
  "table-builder": o.tableBuilder,
6076
6080
  count: o.count
6077
- }, null, 8, ["column", "table-builder", "count"]))), 128)) : M("", !0), !o.children?.length && (!o.column.props.type || !d(ot)[o.column.props.type]) ? (m(), G(d(Pn), {
6081
+ }, null, 8, ["column", "table-builder", "count"]))), 128)) : M("", !0), !o.children?.length && (!o.column.props.type || !d(ot)[o.column.props.type]) ? (D(), G(d(Pn), {
6078
6082
  key: 1,
6079
6083
  column: o.column.props,
6080
6084
  row: u,
@@ -6114,8 +6118,8 @@ const xo = (t) => {
6114
6118
  name: c
6115
6119
  }) => (pe.getZTableV2DefaultSlotRenderByName(c) ?? t.slots[c])?.();
6116
6120
  return (c, p) => {
6117
- const C = S("el-table");
6118
- return m(), E(H, null, [h(C, q({
6121
+ const C = S("el-table"), f = oe("loading");
6122
+ return D(), E(H, null, [ee((D(), G(C, q({
6119
6123
  ref: d(e),
6120
6124
  class: ["render-el-table__table", "z-table-v2__table", {
6121
6125
  "el-table__outside-border": c.tableBuilder.config.border,
@@ -6132,21 +6136,21 @@ const xo = (t) => {
6132
6136
  append: y(() => [h(i, {
6133
6137
  name: "append"
6134
6138
  })]),
6135
- default: y(() => [(m(!0), E(H, null, Y(d(a), ({
6136
- column: D,
6137
- subColumns: f
6138
- }) => (m(), G(_r, {
6139
- key: D.prop,
6140
- column: D,
6139
+ default: y(() => [(D(!0), E(H, null, Y(d(a), ({
6140
+ column: m,
6141
+ subColumns: g
6142
+ }) => (D(), G(_r, {
6143
+ key: m.prop,
6144
+ column: m,
6141
6145
  "table-builder": c.tableBuilder,
6142
6146
  count: d(s),
6143
- children: f
6147
+ children: g
6144
6148
  }, null, 8, ["column", "table-builder", "count", "children"]))), 128))]),
6145
6149
  _: 2
6146
- }, [Y(l(), (D) => ({
6147
- name: D,
6148
- fn: y(() => [ue(c.$slots, D, {}, void 0, !0)])
6149
- }))]), 1040, ["class", "data", "onSelectionChange"]), c.tableBuilder.config.enableColumnSearch ? (m(), G(Nn, {
6150
+ }, [Y(l(), (m) => ({
6151
+ name: m,
6152
+ fn: y(() => [ue(c.$slots, m, {}, void 0, !0)])
6153
+ }))]), 1040, ["class", "data", "onSelectionChange"])), [[f, c.tableBuilder.loading]]), c.tableBuilder.config.enableColumnSearch ? (D(), G(Nn, {
6150
6154
  key: 0,
6151
6155
  count: d(s),
6152
6156
  onFind: d(u),
@@ -6154,7 +6158,7 @@ const xo = (t) => {
6154
6158
  }, null, 8, ["count", "onFind", "onHidden"])) : M("", !0)], 64);
6155
6159
  };
6156
6160
  }
6157
- }), Br = /* @__PURE__ */ Q(Er, [["__scopeId", "data-v-3f084768"]]), wr = 150, ve = (t) => {
6161
+ }), Br = /* @__PURE__ */ Q(Er, [["__scopeId", "data-v-6fdaf5e0"]]), wr = 150, ve = (t) => {
6158
6162
  const e = Number(t);
6159
6163
  return Number.isFinite(e) && e > 0 ? e : void 0;
6160
6164
  }, Sr = (t) => {
@@ -6183,10 +6187,10 @@ const xo = (t) => {
6183
6187
  type: c,
6184
6188
  contentRender: p,
6185
6189
  _render: C,
6186
- headerRender: D,
6187
- renderHeader: f,
6190
+ headerRender: f,
6191
+ renderHeader: m,
6188
6192
  showOverflowTooltip: g
6189
- } = i, b = p || C, B = D || f, v = ze(u.tableV2ColumnAttrs, ["title", "width", "cellRenderer", "headerCellRenderer", "dataKey"]), w = o(i, v), k = n(i, v, w);
6193
+ } = i, b = p || C, B = f || m, v = ze(u.tableV2ColumnAttrs, ["title", "width", "cellRenderer", "headerCellRenderer", "dataKey"]), w = o(i, v), k = n(i, v, w);
6190
6194
  return c === "selection" ? {
6191
6195
  ...v,
6192
6196
  title: r,
@@ -6253,7 +6257,7 @@ const xo = (t) => {
6253
6257
  $rowKey: t.elTableAttrs.rowKey
6254
6258
  }
6255
6259
  }, null);
6256
- return g ? te(h("span", null, [h(_, null, null)]), [[oe("ellipsis")]]) : h(_, null, null);
6260
+ return g ? ee(h("span", null, [h(_, null, null)]), [[oe("ellipsis")]]) : h(_, null, null);
6257
6261
  } : void 0,
6258
6262
  headerCellRenderer: B ? ({
6259
6263
  column: T,
@@ -6318,12 +6322,12 @@ const xo = (t) => {
6318
6322
  scrollbarAlwaysOn: t.tableBuilder.elVirtualTableAttrs.scrollbarAlwaysOn ?? !0
6319
6323
  }));
6320
6324
  return (u, r) => {
6321
- const l = S("el-table-v2");
6322
- return m(), E("div", {
6325
+ const l = S("el-table-v2"), i = oe("loading");
6326
+ return D(), E("div", {
6323
6327
  ref_key: "containerRef",
6324
6328
  ref: o,
6325
6329
  class: "render-virtual-table__container"
6326
- }, [d(n).width && d(n).height ? (m(), G(l, q({
6330
+ }, [d(n).width && d(n).height ? ee((D(), G(l, q({
6327
6331
  key: 0,
6328
6332
  ref: d(a)
6329
6333
  }, s.value, {
@@ -6345,10 +6349,10 @@ const xo = (t) => {
6345
6349
  render: u.slots.append
6346
6350
  }, null, 8, ["render"])]),
6347
6351
  key: "1"
6348
- } : void 0]), 1040, ["columns", "width", "height", "data"])) : M("", !0)], 512);
6352
+ } : void 0]), 1040, ["columns", "width", "height", "data"])), [[i, u.tableBuilder.loading]]) : M("", !0)], 512);
6349
6353
  };
6350
6354
  }
6351
- }), Ir = /* @__PURE__ */ Q(Tr, [["__scopeId", "data-v-fcf86f7b"]]);
6355
+ }), Ir = /* @__PURE__ */ Q(Tr, [["__scopeId", "data-v-2ff99aa9"]]);
6352
6356
  function Gr(t) {
6353
6357
  return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !Tt(t);
6354
6358
  }
@@ -6393,30 +6397,30 @@ const Yt = (t) => {
6393
6397
  }
6394
6398
  if (!i)
6395
6399
  return p;
6396
- const D = Reflect.get(n, i);
6400
+ const f = Reflect.get(n, i);
6397
6401
  if (u) {
6398
- const g = u.find((B) => B.value === D), b = g?.label ?? p;
6402
+ const g = u.find((B) => B.value === f), b = g?.label ?? p;
6399
6403
  if (g?._color || g?._status) {
6400
6404
  const B = {};
6401
6405
  return g?._color && (B.color = g._color), g?._status && Reflect.set(B, "--status-color", g._status), h("span", {
6402
- key: D,
6406
+ key: f,
6403
6407
  style: B,
6404
6408
  class: g?._status ? "custom-status__color" : ""
6405
6409
  }, [b]);
6406
6410
  }
6407
6411
  return b;
6408
6412
  }
6409
- const f = un(D) || D == c;
6413
+ const m = un(f) || f == c;
6410
6414
  if (r) {
6411
6415
  const g = h(io, {
6412
- key: D,
6416
+ key: f,
6413
6417
  onClick: () => r?.(t.data)
6414
- }, Gr(D) ? D : {
6415
- default: () => [D]
6418
+ }, Gr(f) ? f : {
6419
+ default: () => [f]
6416
6420
  });
6417
- return l ? g : f ? p : g;
6421
+ return l ? g : m ? p : g;
6418
6422
  }
6419
- return f ? p : D;
6423
+ return m ? p : f;
6420
6424
  }, Po = ({
6421
6425
  render: t
6422
6426
  }) => be(t) ? t(Oe) : null, Nr = (t, e, o) => ({
@@ -6457,11 +6461,11 @@ const xr = /* @__PURE__ */ L({
6457
6461
  return u.every((p) => r.value.has(p.props.prop));
6458
6462
  },
6459
6463
  set(p) {
6460
- const C = new Map(u.map((D) => [D.props.prop, D]));
6461
- t.zTableV2CustomColumnBuilder.activeGroup && (l.value ? t.zTableV2CustomColumnBuilder.activeGroup.columns.forEach((D) => {
6462
- C.has(D.prop) && !D.checked && !D.readonly && t.zTableV2CustomColumnBuilder.activeGroup?.updateColumnChecked(D.prop, !0);
6463
- }) : t.zTableV2CustomColumnBuilder.activeGroup.columns.forEach((D) => {
6464
- C.has(D.prop) && !D.readonly && D.checked !== p && t.zTableV2CustomColumnBuilder.activeGroup?.updateColumnChecked(D.prop, p);
6464
+ const C = new Map(u.map((f) => [f.props.prop, f]));
6465
+ t.zTableV2CustomColumnBuilder.activeGroup && (l.value ? t.zTableV2CustomColumnBuilder.activeGroup.columns.forEach((f) => {
6466
+ C.has(f.prop) && !f.checked && !f.readonly && t.zTableV2CustomColumnBuilder.activeGroup?.updateColumnChecked(f.prop, !0);
6467
+ }) : t.zTableV2CustomColumnBuilder.activeGroup.columns.forEach((f) => {
6468
+ C.has(f.prop) && !f.readonly && f.checked !== p && t.zTableV2CustomColumnBuilder.activeGroup?.updateColumnChecked(f.prop, p);
6465
6469
  }));
6466
6470
  }
6467
6471
  }), c = (p, C) => {
@@ -6496,7 +6500,7 @@ const xr = /* @__PURE__ */ L({
6496
6500
  default: () => [n]
6497
6501
  })]);
6498
6502
  };
6499
- return (o, n) => (m(), E("div", Rr, [(m(!0), E(H, null, Y(o.zTableV2CustomColumnBuilder.anchors, (a) => (m(), G(e, {
6503
+ return (o, n) => (D(), E("div", Rr, [(D(!0), E(H, null, Y(o.zTableV2CustomColumnBuilder.anchors, (a) => (D(), G(e, {
6500
6504
  key: a.anchorId,
6501
6505
  "group-name": a.anchorName,
6502
6506
  "anchor-id": a.anchorId
@@ -6552,7 +6556,7 @@ const xr = /* @__PURE__ */ L({
6552
6556
  }, [h("img", {
6553
6557
  src: Nt,
6554
6558
  alt: "..."
6555
- }, null), te(h("span", {
6559
+ }, null), ee(h("span", {
6556
6560
  class: "select-item__label"
6557
6561
  }, [a(i)]), [[oe("ellipsis")]]), h("div", {
6558
6562
  class: "select-item__icon"
@@ -6567,7 +6571,7 @@ const xr = /* @__PURE__ */ L({
6567
6571
  default: () => [h(Jt, null, null)]
6568
6572
  })])]);
6569
6573
  };
6570
- return (l, i) => (m(), E("div", Mr, [x("div", Pr, [U(" 已选 " + X(l.zTableV2CustomColumnBuilder.activeGroupSelectedColumns.length) + " 个 ", 1), x("div", {
6574
+ return (l, i) => (D(), E("div", Mr, [x("div", Pr, [U(" 已选 " + X(l.zTableV2CustomColumnBuilder.activeGroupSelectedColumns.length) + " 个 ", 1), x("div", {
6571
6575
  class: "reset-btn",
6572
6576
  onClick: i[0] || (i[0] = //@ts-ignore
6573
6577
  (...c) => l.zTableV2CustomColumnBuilder.resetActiveGroupColumnsStatus && l.zTableV2CustomColumnBuilder.resetActiveGroupColumnsStatus(...c))
@@ -6577,7 +6581,7 @@ const xr = /* @__PURE__ */ L({
6577
6581
  animation: 150,
6578
6582
  draggable: ".custom-column-selected__fixed-column-item"
6579
6583
  }, {
6580
- default: y(() => [(m(!0), E(H, null, Y(o.value, (c) => (m(), G(r, {
6584
+ default: y(() => [(D(!0), E(H, null, Y(o.value, (c) => (D(), G(r, {
6581
6585
  key: c.prop,
6582
6586
  "class-name": "custom-column-selected__fixed-column-item",
6583
6587
  column: c
@@ -6592,7 +6596,7 @@ const xr = /* @__PURE__ */ L({
6592
6596
  "ghost-class": "ghost",
6593
6597
  draggable: ".custom-column-selected__un-fixed-column-item"
6594
6598
  }, {
6595
- default: y(() => [(m(!0), E(H, null, Y(e.value, (c) => (m(), G(r, {
6599
+ default: y(() => [(D(!0), E(H, null, Y(e.value, (c) => (D(), G(r, {
6596
6600
  key: c.prop,
6597
6601
  "class-name": "custom-column-selected__un-fixed-column-item",
6598
6602
  fixed: "left",
@@ -6611,12 +6615,12 @@ const xr = /* @__PURE__ */ L({
6611
6615
  const { activeAnchorId: e, updateActiveAnchorIdByClick: o, handleContentScroll: n } = Tn(
6612
6616
  t.zTableV2CustomColumnBuilder.anchors
6613
6617
  );
6614
- return (a, s) => (m(), E("div", Zr, [
6618
+ return (a, s) => (D(), E("div", Zr, [
6615
6619
  x("div", Qr, [
6616
6620
  s[1] || (s[1] = x("div", { class: "custom-column__title" }, "自定义列", -1)),
6617
6621
  x("div", $r, [
6618
6622
  x("div", Wr, [
6619
- (m(!0), E(H, null, Y(a.zTableV2CustomColumnBuilder.anchors, (u) => (m(), E("div", {
6623
+ (D(!0), E(H, null, Y(a.zTableV2CustomColumnBuilder.anchors, (u) => (D(), E("div", {
6620
6624
  key: u.anchorId,
6621
6625
  class: ne([
6622
6626
  "anchor-item",
@@ -6667,9 +6671,9 @@ const xr = /* @__PURE__ */ L({
6667
6671
  t.zTableV2CustomColumnBuilder.updateGroupName(o.value, e.value), a();
6668
6672
  };
6669
6673
  return (l, i) => {
6670
- const c = S("el-icon"), p = S("el-input"), C = S("el-button"), D = S("el-popover");
6671
- return m(), E(H, null, [
6672
- h(D, {
6674
+ const c = S("el-icon"), p = S("el-input"), C = S("el-button"), f = S("el-popover");
6675
+ return D(), E(H, null, [
6676
+ h(f, {
6673
6677
  ref_key: "popoverRef",
6674
6678
  ref: n,
6675
6679
  width: "240px",
@@ -6690,7 +6694,7 @@ const xr = /* @__PURE__ */ L({
6690
6694
  ref_key: "inputRef",
6691
6695
  ref: s,
6692
6696
  modelValue: o.value,
6693
- "onUpdate:modelValue": i[0] || (i[0] = (f) => o.value = f),
6697
+ "onUpdate:modelValue": i[0] || (i[0] = (m) => o.value = m),
6694
6698
  placeholder: "请输入分组名称",
6695
6699
  maxlength: "8",
6696
6700
  "show-word-limit": "",
@@ -6718,7 +6722,7 @@ const xr = /* @__PURE__ */ L({
6718
6722
  }, 512),
6719
6723
  h(c, {
6720
6724
  class: "group-item__delete-icon",
6721
- onClick: i[1] || (i[1] = me((f) => l.zTableV2CustomColumnBuilder.deleteGroup(e.value), ["stop"]))
6725
+ onClick: i[1] || (i[1] = me((m) => l.zTableV2CustomColumnBuilder.deleteGroup(e.value), ["stop"]))
6722
6726
  }, {
6723
6727
  default: y(() => [
6724
6728
  h(d(ct))
@@ -6737,9 +6741,9 @@ const xr = /* @__PURE__ */ L({
6737
6741
  setup(t) {
6738
6742
  return (e, o) => {
6739
6743
  const n = S("el-button");
6740
- return m(), E("div", ei, [
6744
+ return D(), E("div", ei, [
6741
6745
  o[2] || (o[2] = x("div", { class: "group-item__tips" }, "常用自定义列", -1)),
6742
- (m(!0), E(H, null, Y(e.zTableV2CustomColumnBuilder.groups, (a) => (m(), E("div", {
6746
+ (D(!0), E(H, null, Y(e.zTableV2CustomColumnBuilder.groups, (a) => (D(), E("div", {
6743
6747
  key: a.groupName,
6744
6748
  class: ne([
6745
6749
  "group-item",
@@ -6750,14 +6754,14 @@ const xr = /* @__PURE__ */ L({
6750
6754
  onClick: (s) => e.zTableV2CustomColumnBuilder.updateActiveGroup(a.groupName)
6751
6755
  }, [
6752
6756
  U(X(a.groupName) + " ", 1),
6753
- a.groupName !== e.zTableV2CustomColumnBuilder.defaultGroupName ? (m(), G(Jr, {
6757
+ a.groupName !== e.zTableV2CustomColumnBuilder.defaultGroupName ? (D(), G(Jr, {
6754
6758
  key: 0,
6755
6759
  modelValue: a.groupName,
6756
6760
  "onUpdate:modelValue": (s) => a.groupName = s,
6757
6761
  "z-table-v2-custom-column-builder": e.zTableV2CustomColumnBuilder
6758
6762
  }, null, 8, ["modelValue", "onUpdate:modelValue", "z-table-v2-custom-column-builder"])) : M("", !0)
6759
6763
  ], 10, ti))), 128)),
6760
- e.zTableV2CustomColumnBuilder.canAddGroup ? (m(), G(n, {
6764
+ e.zTableV2CustomColumnBuilder.canAddGroup ? (D(), G(n, {
6761
6765
  key: 0,
6762
6766
  icon: d(eo),
6763
6767
  link: "",
@@ -6793,8 +6797,8 @@ const xr = /* @__PURE__ */ L({
6793
6797
  t.zTableV2CustomColumnBuilder.activeGroup?.updateColumnChecked(i.props.prop, c);
6794
6798
  }, { nextZIndex: r } = to(), l = r();
6795
6799
  return (i, c) => {
6796
- const p = S("ZEmpty"), C = S("el-checkbox"), D = S("el-col"), f = S("el-row"), g = oe("ellipsis");
6797
- return m(), E("div", ai, [
6800
+ const p = S("ZEmpty"), C = S("el-checkbox"), f = S("el-col"), m = S("el-row"), g = oe("ellipsis");
6801
+ return D(), E("div", ai, [
6798
6802
  x("div", si, [
6799
6803
  h(d(It), {
6800
6804
  ref_key: "searchInputRef",
@@ -6806,18 +6810,18 @@ const xr = /* @__PURE__ */ L({
6806
6810
  onInput: a
6807
6811
  }, null, 8, ["modelValue"])
6808
6812
  ]),
6809
- d(e) ? (m(), E("div", ui, [
6810
- n.value.length ? M("", !0) : (m(), G(p, {
6813
+ d(e) ? (D(), E("div", ui, [
6814
+ n.value.length ? M("", !0) : (D(), G(p, {
6811
6815
  key: 0,
6812
6816
  class: "search_result-empty",
6813
6817
  description: "无搜索结果"
6814
6818
  })),
6815
- h(f, {
6819
+ h(m, {
6816
6820
  gutter: 16,
6817
6821
  class: "custom-column-group-content__group-item-columns"
6818
6822
  }, {
6819
6823
  default: y(() => [
6820
- (m(!0), E(H, null, Y(n.value, (b) => (m(), G(D, {
6824
+ (D(!0), E(H, null, Y(n.value, (b) => (D(), G(f, {
6821
6825
  key: b.prop,
6822
6826
  span: 8
6823
6827
  }, {
@@ -6828,7 +6832,7 @@ const xr = /* @__PURE__ */ L({
6828
6832
  onChange: (B) => u(b, B)
6829
6833
  }, {
6830
6834
  default: y(() => [
6831
- te((m(), E("div", li, [
6835
+ ee((D(), E("div", li, [
6832
6836
  U(X(b.label), 1)
6833
6837
  ])), [
6834
6838
  [g]
@@ -7042,8 +7046,8 @@ const ci = { class: "custom-column__container" }, di = /* @__PURE__ */ L({
7042
7046
  });
7043
7047
  };
7044
7048
  return (p, C) => {
7045
- const D = S("el-button"), f = S("el-dialog"), g = oe("loading");
7046
- return m(), G(f, {
7049
+ const f = S("el-button"), m = S("el-dialog"), g = oe("loading");
7050
+ return D(), G(m, {
7047
7051
  modelValue: o.value,
7048
7052
  "onUpdate:modelValue": C[0] || (C[0] = (b) => o.value = b),
7049
7053
  title: "自定义列",
@@ -7053,7 +7057,7 @@ const ci = { class: "custom-column__container" }, di = /* @__PURE__ */ L({
7053
7057
  "close-on-press-escape": !1
7054
7058
  }, {
7055
7059
  footer: y(() => [
7056
- h(D, {
7060
+ h(f, {
7057
7061
  loading: d(l),
7058
7062
  onClick: r
7059
7063
  }, {
@@ -7062,7 +7066,7 @@ const ci = { class: "custom-column__container" }, di = /* @__PURE__ */ L({
7062
7066
  ])]),
7063
7067
  _: 1
7064
7068
  }, 8, ["loading"]),
7065
- h(D, {
7069
+ h(f, {
7066
7070
  loading: d(l),
7067
7071
  type: "primary",
7068
7072
  onClick: c
@@ -7074,7 +7078,7 @@ const ci = { class: "custom-column__container" }, di = /* @__PURE__ */ L({
7074
7078
  }, 8, ["loading"])
7075
7079
  ]),
7076
7080
  default: y(() => [
7077
- te((m(), E("div", ci, [
7081
+ ee((D(), E("div", ci, [
7078
7082
  h(ni, { "z-table-v2-custom-column-builder": a.value }, null, 8, ["z-table-v2-custom-column-builder"]),
7079
7083
  h(ii, { "z-table-v2-custom-column-builder": a.value }, null, 8, ["z-table-v2-custom-column-builder"]),
7080
7084
  h(Xr, { "z-table-v2-custom-column-builder": a.value }, null, 8, ["z-table-v2-custom-column-builder"])
@@ -7115,20 +7119,20 @@ const ci = { class: "custom-column__container" }, di = /* @__PURE__ */ L({
7115
7119
  };
7116
7120
  return (a, s) => {
7117
7121
  const u = S("el-icon"), r = S("el-dropdown-item"), l = S("el-dropdown-menu"), i = S("el-dropdown"), c = oe("ellipsis");
7118
- return m(), G(i, {
7122
+ return D(), G(i, {
7119
7123
  "popper-class": "z-table-v2-custom-column__popper",
7120
7124
  trigger: "hover",
7121
7125
  placement: "bottom-start"
7122
7126
  }, {
7123
7127
  dropdown: y(() => [h(l, null, {
7124
- default: y(() => [(m(!0), E(H, null, Y(a.tableBuilder.tableCustomColumnManager.groups, (p) => (m(), G(r, {
7128
+ default: y(() => [(D(!0), E(H, null, Y(a.tableBuilder.tableCustomColumnManager.groups, (p) => (D(), G(r, {
7125
7129
  key: p.groupName,
7126
7130
  class: ne(["z-table-v2-custom-column__item", {
7127
7131
  "is-active": p.groupName === a.tableBuilder.activeGroup
7128
7132
  }]),
7129
7133
  onClick: me((C) => n(p.groupName), ["stop"])
7130
7134
  }, {
7131
- default: y(() => [te((m(), E("div", pi, [U(X(p.groupName), 1)])), [[c]]), h(u, {
7135
+ default: y(() => [ee((D(), E("div", pi, [U(X(p.groupName), 1)])), [[c]]), h(u, {
7132
7136
  class: "z-table-v2-custom-column__edit-icon",
7133
7137
  onClick: me((C) => o(p.groupName), ["stop"])
7134
7138
  }, {
@@ -7401,7 +7405,7 @@ const ci = { class: "custom-column__container" }, di = /* @__PURE__ */ L({
7401
7405
  }
7402
7406
  }
7403
7407
  );
7404
- const D = R(), f = new IntersectionObserver(
7408
+ const f = R(), m = new IntersectionObserver(
7405
7409
  (k) => {
7406
7410
  k.forEach((T) => {
7407
7411
  const { width: F, height: _, top: A, left: V } = T.intersectionRect;
@@ -7413,7 +7417,7 @@ const ci = { class: "custom-column__container" }, di = /* @__PURE__ */ L({
7413
7417
  }
7414
7418
  );
7415
7419
  lt(() => {
7416
- D.value && (f.disconnect(), f.observe(D.value));
7420
+ f.value && (m.disconnect(), m.observe(f.value));
7417
7421
  });
7418
7422
  const { start: g, updateFirstRow: b, stopSticky: B } = Vn(), v = R(!1);
7419
7423
  t.registerEvent("init", async () => {
@@ -7448,7 +7452,7 @@ const ci = { class: "custom-column__container" }, di = /* @__PURE__ */ L({
7448
7452
  paginationWidth: p,
7449
7453
  loadingRect: C,
7450
7454
  zTableV2OperationElement: i,
7451
- zTableV2BodyRef: D,
7455
+ zTableV2BodyRef: f,
7452
7456
  isInitialized: v,
7453
7457
  tableScrollLeft: w
7454
7458
  };
@@ -7467,8 +7471,8 @@ const ci = { class: "custom-column__container" }, di = /* @__PURE__ */ L({
7467
7471
  emits: [...Xt],
7468
7472
  setup(t, { emit: e }) {
7469
7473
  Fe((v) => ({
7470
- "7d9dfe8c": d(b),
7471
- "73a8b9f6": d(p)
7474
+ "5403746e": d(b),
7475
+ "67edfd9a": d(p)
7472
7476
  }));
7473
7477
  const o = e, n = st(), {
7474
7478
  zTableV2ContainerRef: a,
@@ -7480,26 +7484,26 @@ const ci = { class: "custom-column__container" }, di = /* @__PURE__ */ L({
7480
7484
  getPaginationProps: c,
7481
7485
  paginationWidth: p,
7482
7486
  loadingRect: C,
7483
- zTableV2OperationElement: D,
7484
- zTableV2BodyRef: f,
7487
+ zTableV2OperationElement: f,
7488
+ zTableV2BodyRef: m,
7485
7489
  isInitialized: g,
7486
7490
  tableScrollLeft: b
7487
7491
  } = fi(t.tableBuilder), { ZTableV2RenderTable: B } = Nr(t.tableBuilder, o, n);
7488
7492
  return (v, w) => {
7489
7493
  const k = S("el-icon"), T = S("el-pagination"), F = oe("loading");
7490
- return te((m(), E("div", {
7494
+ return ee((D(), E("div", {
7491
7495
  ref_key: "zTableV2ContainerRef",
7492
7496
  ref: a,
7493
- class: "z-table-v2 z-table-v2__container"
7497
+ class: ne(["z-table-v2 z-table-v2__container", { "no-padding": d(s).hideContainerPadding }])
7494
7498
  }, [
7495
- d(g) ? (m(), E(H, { key: 0 }, [
7496
- d(s).hideTableWorkHeader ? M("", !0) : (m(), E("div", {
7499
+ d(g) ? (D(), E(H, { key: 0 }, [
7500
+ d(s).hideTableWorkHeader ? M("", !0) : (D(), E("div", {
7497
7501
  key: 0,
7498
7502
  ref_key: "zTableV2OperationElement",
7499
- ref: D,
7503
+ ref: f,
7500
7504
  class: "z-table-v2__work-header"
7501
7505
  }, [
7502
- v.tableBuilder.selectList.length ? (m(), E("div", {
7506
+ v.tableBuilder.selectList.length ? (D(), E("div", {
7503
7507
  key: 0,
7504
7508
  class: ne([
7505
7509
  "z-table-v2__select-count-slot work-header__item",
@@ -7525,8 +7529,8 @@ const ci = { class: "custom-column__container" }, di = /* @__PURE__ */ L({
7525
7529
  }, void 0, !0)
7526
7530
  ])
7527
7531
  ], 2)) : M("", !0),
7528
- !d(s).hideTableWorkHeaderToSelected || !v.tableBuilder.selectList.length ? (m(), E(H, { key: 1 }, [
7529
- n.header ? (m(), E("div", Ci, [
7532
+ !d(s).hideTableWorkHeaderToSelected || !v.tableBuilder.selectList.length ? (D(), E(H, { key: 1 }, [
7533
+ n.header ? (D(), E("div", Ci, [
7530
7534
  ue(v.$slots, "header", {
7531
7535
  pagination: v.tableBuilder.transmitPagination
7532
7536
  }, void 0, !0)
@@ -7537,20 +7541,20 @@ const ci = { class: "custom-column__container" }, di = /* @__PURE__ */ L({
7537
7541
  ue(v.$slots, "operation", {
7538
7542
  pagination: v.tableBuilder.transmitPagination
7539
7543
  }, void 0, !0),
7540
- d(s).hasOperationBtn ? (m(!0), E(H, { key: 0 }, Y(d(s).operationBtnList, (_) => (m(), E(H, { key: _ }, [
7541
- _ === "refresh" ? (m(), G(Ke, {
7544
+ d(s).hasOperationBtn ? (D(!0), E(H, { key: 0 }, Y(d(s).operationBtnList, (_) => (D(), E(H, { key: _ }, [
7545
+ _ === "refresh" ? (D(), G(Ke, {
7542
7546
  key: 0,
7543
7547
  tips: "刷新",
7544
7548
  src: d(Fn),
7545
7549
  onClick: w[1] || (w[1] = (A) => v.tableBuilder.refresh(!1))
7546
7550
  }, null, 8, ["src"])) : M("", !0),
7547
- _ === "resetColumnsWidth" ? (m(), G(Ke, {
7551
+ _ === "resetColumnsWidth" ? (D(), G(Ke, {
7548
7552
  key: 1,
7549
7553
  src: d(bn),
7550
7554
  tips: "重置列宽",
7551
7555
  onClick: w[2] || (w[2] = () => v.tableBuilder.resetWidth())
7552
7556
  }, null, 8, ["src"])) : M("", !0),
7553
- (_ === "configColumns" || _ === "customColumn") && v.tableBuilder.pageId ? (m(), G(mi, {
7557
+ (_ === "configColumns" || _ === "customColumn") && v.tableBuilder.pageId ? (D(), G(mi, {
7554
7558
  key: 2,
7555
7559
  "table-builder": v.tableBuilder
7556
7560
  }, null, 8, ["table-builder"])) : M("", !0)
@@ -7558,18 +7562,18 @@ const ci = { class: "custom-column__container" }, di = /* @__PURE__ */ L({
7558
7562
  ], 2)
7559
7563
  ], 64)) : M("", !0)
7560
7564
  ], 512)),
7561
- v.tableBuilder.loading ? (m(), E("div", {
7565
+ v.tableBuilder.loading ? (D(), E("div", {
7562
7566
  key: 1,
7563
7567
  class: "z-table-v2__loading",
7564
7568
  style: nt(d(C))
7565
7569
  }, [
7566
- te(x("div", vi, null, 512), [
7570
+ ee(x("div", vi, null, 512), [
7567
7571
  [F, !0]
7568
7572
  ])
7569
7573
  ], 4)) : M("", !0),
7570
- te((m(), E("div", {
7574
+ x("div", {
7571
7575
  ref_key: "zTableV2BodyRef",
7572
- ref: f,
7576
+ ref: m,
7573
7577
  class: ne([
7574
7578
  "z-table-v2__body",
7575
7579
  {
@@ -7579,7 +7583,7 @@ const ci = { class: "custom-column__container" }, di = /* @__PURE__ */ L({
7579
7583
  }
7580
7584
  ])
7581
7585
  }, [
7582
- v.tableBuilder.starDraggable && !d(s).enableVirtualScroll ? (m(), G(d(Ue), {
7586
+ v.tableBuilder.starDraggable && !d(s).enableVirtualScroll ? (D(), G(d(Ue), {
7583
7587
  key: 0,
7584
7588
  "model-value": v.tableBuilder.data,
7585
7589
  class: "z-table-v2__draggable",
@@ -7597,11 +7601,9 @@ const ci = { class: "custom-column__container" }, di = /* @__PURE__ */ L({
7597
7601
  h(d(B))
7598
7602
  ]),
7599
7603
  _: 1
7600
- }, 8, ["model-value", "item-key", "handle", "animation", "onEnded", "onChange"])) : (m(), G(d(B), { key: 1 }))
7601
- ], 2)), [
7602
- [F, v.tableBuilder.loading]
7603
- ]),
7604
- d(s).hasPagination ? (m(), E("div", {
7604
+ }, 8, ["model-value", "item-key", "handle", "animation", "onEnded", "onChange"])) : (D(), G(d(B), { key: 1 }))
7605
+ ], 2),
7606
+ d(s).hasPagination ? (D(), E("div", {
7605
7607
  key: 2,
7606
7608
  class: ne([
7607
7609
  "z-table-v2__pagination",
@@ -7619,12 +7621,12 @@ const ci = { class: "custom-column__container" }, di = /* @__PURE__ */ L({
7619
7621
  }), null, 16, ["current-page", "page-size", "total", "onUpdate:currentPage", "onUpdate:pageSize"])
7620
7622
  ], 2)) : M("", !0)
7621
7623
  ], 64)) : M("", !0)
7622
- ])), [
7624
+ ], 2)), [
7623
7625
  [F, !d(g)]
7624
7626
  ]);
7625
7627
  };
7626
7628
  }
7627
- }), Fi = /* @__PURE__ */ Q(Ai, [["__scopeId", "data-v-6767f89e"]]), bi = ce(Fi, "ZTableV2"), yi = { class: "z-tips-form-item__container" }, _i = /* @__PURE__ */ L({
7629
+ }), Fi = /* @__PURE__ */ Q(Ai, [["__scopeId", "data-v-11b88c35"]]), bi = ce(Fi, "ZTableV2"), yi = { class: "z-tips-form-item__container" }, _i = /* @__PURE__ */ L({
7628
7630
  name: "ZTipsFormItem",
7629
7631
  __name: "index",
7630
7632
  props: {
@@ -7642,14 +7644,14 @@ const ci = { class: "custom-column__container" }, di = /* @__PURE__ */ L({
7642
7644
  };
7643
7645
  return (a, s) => {
7644
7646
  const u = S("el-icon"), r = S("el-tooltip"), l = S("el-form-item");
7645
- return m(), G(l, {
7647
+ return D(), G(l, {
7646
7648
  class: "z-tips-form-item__form-item",
7647
7649
  prop: a.prop
7648
7650
  }, {
7649
7651
  label: y(() => [
7650
7652
  x("div", yi, [
7651
7653
  U(X(a.label) + " ", 1),
7652
- a.content ? (m(), G(r, {
7654
+ a.content ? (D(), G(r, {
7653
7655
  key: 0,
7654
7656
  content: a.content,
7655
7657
  placement: "top",
@@ -7670,7 +7672,7 @@ const ci = { class: "custom-column__container" }, di = /* @__PURE__ */ L({
7670
7672
  ]),
7671
7673
  _: 1
7672
7674
  }, 8, ["content", "raw-content"])) : M("", !0),
7673
- a.tipsText ? (m(), E("div", {
7675
+ a.tipsText ? (D(), E("div", {
7674
7676
  key: 1,
7675
7677
  class: "tips__icon",
7676
7678
  onClick: me(n, ["stop", "prevent"])
@@ -7719,7 +7721,7 @@ const ci = { class: "custom-column__container" }, di = /* @__PURE__ */ L({
7719
7721
  }, u = (l) => {
7720
7722
  l.style.maxHeight = "", l.style.opacity = "";
7721
7723
  }, r = N(() => !we(t.visible));
7722
- return (l, i) => (m(), G($o, {
7724
+ return (l, i) => (D(), G($o, {
7723
7725
  name: "z-transition-fade-height",
7724
7726
  onBeforeEnter: e,
7725
7727
  onEnter: o,
@@ -7729,7 +7731,7 @@ const ci = { class: "custom-column__container" }, di = /* @__PURE__ */ L({
7729
7731
  onAfterLeave: u
7730
7732
  }, {
7731
7733
  default: y(() => [
7732
- !r.value || l.visible ? (m(), E("div", wi, [
7734
+ !r.value || l.visible ? (D(), E("div", wi, [
7733
7735
  ue(l.$slots, "default", {}, void 0, !0)
7734
7736
  ])) : M("", !0)
7735
7737
  ]),
@@ -7767,9 +7769,9 @@ const ci = { class: "custom-column__container" }, di = /* @__PURE__ */ L({
7767
7769
  "--z-fade-slide-translate-y": n
7768
7770
  };
7769
7771
  });
7770
- return (o, n) => (m(), G($o, { name: "z-fade-slide" }, {
7772
+ return (o, n) => (D(), G($o, { name: "z-fade-slide" }, {
7771
7773
  default: y(() => [
7772
- o.visible ? (m(), E("div", {
7774
+ o.visible ? (D(), E("div", {
7773
7775
  key: 0,
7774
7776
  class: "z-fade-slide__container",
7775
7777
  style: nt(e.value)
@@ -7843,8 +7845,8 @@ const ci = { class: "custom-column__container" }, di = /* @__PURE__ */ L({
7843
7845
  if (!document.execCommand?.("insertText", !1, a)) {
7844
7846
  if (c) {
7845
7847
  s.setRangeText(p);
7846
- const D = (u ?? 0) + a.length;
7847
- await W(), s.setSelectionRange(D, D);
7848
+ const f = (u ?? 0) + a.length;
7849
+ await W(), s.setSelectionRange(f, f);
7848
7850
  } else
7849
7851
  s.value = a;
7850
7852
  _t(s);
@@ -7921,7 +7923,7 @@ const ci = { class: "custom-column__container" }, di = /* @__PURE__ */ L({
7921
7923
  }, Oi = (t) => ({
7922
7924
  ...Li,
7923
7925
  ...t ?? {}
7924
- }), zi = "1.4.2", Hi = {
7926
+ }), zi = "1.4.4", Hi = {
7925
7927
  version: zi
7926
7928
  };
7927
7929
  function Bc(t, e, o) {