@gx-design-vue/pro-table 0.2.0-beta.29 → 0.2.0-beta.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- import { computed as w, Fragment as Ue, isVNode as Ct, Comment as dg, Text as Wi, provide as We, inject as je, shallowRef as G, onMounted as Ye, watchEffect as Be, defineComponent as ae, renderSlot as wl, createVNode as v, onUnmounted as Mn, getCurrentInstance as Kt, reactive as ot, onUpdated as bn, watch as ge, ref as re, createTextVNode as Gt, toRef as Ke, onBeforeUnmount as Ze, onActivated as fg, nextTick as qe, toRefs as zr, unref as me, isRef as pg, h as Fa, cloneVNode as So, Transition as Zn, withDirectives as yn, resolveDirective as vg, withModifiers as Sc, vShow as Xi, onBeforeMount as mg, Teleport as Pf, toRaw as Lt, render as Ef, onBeforeUpdate as gg, onDeactivated as hg, mergeProps as zt } from "vue";
2
- import { isBoolean as vn, isObject as En, getSlot as _f, isFunction as Fr, arrayRepeat as bg, runFunction as yg, handleCurrentPage as Sg, getSortIndex as xg, isDeepEqualReact as Mf, genColumnKey as Rf, compareArray as Cg, isNumber as Df, isString as wg, isArray as La, getPrefixCls as Gi, getRandomNumber as Ha, handleShowIndex as $g, getSlotVNode as No, hanndleField as Og } from "@gx-design-vue/pro-utils";
1
+ import { computed as w, Fragment as Ue, isVNode as Ct, Comment as dg, Text as Wi, provide as We, inject as je, shallowRef as G, onMounted as Ye, watchEffect as Be, defineComponent as ae, renderSlot as wl, createVNode as v, onUnmounted as _n, getCurrentInstance as Kt, reactive as ot, onUpdated as bn, watch as ge, ref as re, createTextVNode as Gt, toRef as Ke, onBeforeUnmount as Ze, onActivated as fg, nextTick as qe, toRefs as zr, unref as me, isRef as pg, h as Fa, cloneVNode as So, Transition as Zn, withDirectives as yn, resolveDirective as vg, withModifiers as Sc, vShow as Xi, onBeforeMount as mg, Teleport as Pf, toRaw as Lt, render as Ef, onBeforeUpdate as gg, onDeactivated as hg, mergeProps as zt } from "vue";
2
+ import { isBoolean as vn, isObject as Pn, getSlot as _f, isFunction as Fr, arrayRepeat as bg, runFunction as yg, handleCurrentPage as Sg, getSortIndex as xg, isDeepEqualReact as Mf, genColumnKey as Rf, compareArray as Cg, isNumber as Df, isString as wg, isArray as La, getPrefixCls as Gi, getRandomNumber as Ha, handleShowIndex as $g, getSlotVNode as No, hanndleField as Og } from "@gx-design-vue/pro-utils";
3
3
  import { createTypes as Ig } from "vue-types";
4
4
  import { isEmpty as Af, cloneDeep as Xt, omit as Bo } from "lodash-es";
5
5
  import { useFullscreen as Nf, useWindowSize as Tg } from "@vueuse/core";
@@ -191,7 +191,7 @@ const Th = (e) => e != null && e !== "", ka = Th, Ph = (e, t) => {
191
191
  let o = e.$slots[t] && e.$slots[t](n);
192
192
  return bt(o);
193
193
  }
194
- }, In = (e) => {
194
+ }, On = (e) => {
195
195
  var t;
196
196
  let n = ((t = e == null ? void 0 : e.vnode) === null || t === void 0 ? void 0 : t.el) || e && (e.$el || e);
197
197
  for (; n && !n.tagName; )
@@ -405,11 +405,11 @@ const po = "RC_TABLE_INTERNAL_COL_DEFINE", tp = Symbol("HoverContextProps"), Vh
405
405
  onHover() {
406
406
  }
407
407
  });
408
- function Rn() {
408
+ function Mn() {
409
409
  return !!(typeof window < "u" && window.document && window.document.createElement);
410
410
  }
411
411
  const np = (e) => {
412
- if (Rn() && window.document.documentElement) {
412
+ if (Mn() && window.document.documentElement) {
413
413
  const t = Array.isArray(e) ? e : [e], {
414
414
  documentElement: n
415
415
  } = window.document;
@@ -722,7 +722,7 @@ const rt = (e, t, n) => {
722
722
  const r = () => {
723
723
  n.remove(), o.remove();
724
724
  };
725
- Mn(() => {
725
+ _n(() => {
726
726
  r();
727
727
  }), Be(() => {
728
728
  rt(!isNaN(e.width), "Table", "width must be a number when use resizable");
@@ -1282,14 +1282,14 @@ const To = ae({
1282
1282
  a();
1283
1283
  return;
1284
1284
  }
1285
- const d = In(u);
1285
+ const d = On(u);
1286
1286
  d !== r && (a(), r = d), !l && d && (l = new vp(i), l.observe(d));
1287
1287
  };
1288
1288
  return Ye(() => {
1289
1289
  s();
1290
1290
  }), bn(() => {
1291
1291
  s();
1292
- }), Mn(() => {
1292
+ }), _n(() => {
1293
1293
  a();
1294
1294
  }), ge(() => e.disabled, () => {
1295
1295
  s();
@@ -2101,7 +2101,7 @@ const Xb = ae({
2101
2101
  }, null)]);
2102
2102
  };
2103
2103
  }
2104
- }), zc = Rn() ? window : null;
2104
+ }), zc = Mn() ? window : null;
2105
2105
  function Gb(e, t) {
2106
2106
  return w(() => {
2107
2107
  const {
@@ -2914,7 +2914,7 @@ function Ip(e, t, n, o) {
2914
2914
  u(l.value);
2915
2915
  }), a;
2916
2916
  }
2917
- function Hn(e, t) {
2917
+ function Ln(e, t) {
2918
2918
  return e && e.contains ? e.contains(t) : !1;
2919
2919
  }
2920
2920
  const kc = "data-vc-order", py = "vc-util-key", Qa = /* @__PURE__ */ new Map();
@@ -2935,7 +2935,7 @@ function Pp(e) {
2935
2935
  }
2936
2936
  function Ep(e) {
2937
2937
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2938
- if (!Rn())
2938
+ if (!Mn())
2939
2939
  return null;
2940
2940
  const {
2941
2941
  csp: n,
@@ -2968,7 +2968,7 @@ function nl(e) {
2968
2968
  }
2969
2969
  function my(e, t) {
2970
2970
  const n = Qa.get(e);
2971
- if (!n || !Hn(document, n)) {
2971
+ if (!n || !Ln(document, n)) {
2972
2972
  const o = Ep("", t), {
2973
2973
  parentNode: r
2974
2974
  } = o;
@@ -2999,7 +2999,7 @@ function gy(e, t) {
2999
2999
  const Vo = `layer-${Date.now()}-${Math.random()}`.replace(/\./g, ""), Mp = "903px";
3000
3000
  function hy(e, t) {
3001
3001
  var n;
3002
- if (Rn()) {
3002
+ if (Mn()) {
3003
3003
  ol(e, Vo);
3004
3004
  const o = document.createElement("div");
3005
3005
  o.style.position = "fixed", o.style.left = "0", o.style.top = "0", t == null || t(o), document.body.appendChild(o), process.env.NODE_ENV !== "production" && (o.innerHTML = "Test", o.style.zIndex = "9999999");
@@ -3014,9 +3014,9 @@ function by() {
3014
3014
  e.className = Vo;
3015
3015
  })), Yl;
3016
3016
  }
3017
- const jc = {}, yy = process.env.NODE_ENV !== "production" ? "css-dev-only-do-not-override" : "css", Kn = /* @__PURE__ */ new Map();
3017
+ const jc = {}, yy = process.env.NODE_ENV !== "production" ? "css-dev-only-do-not-override" : "css", Hn = /* @__PURE__ */ new Map();
3018
3018
  function Sy(e) {
3019
- Kn.set(e, (Kn.get(e) || 0) + 1);
3019
+ Hn.set(e, (Hn.get(e) || 0) + 1);
3020
3020
  }
3021
3021
  function xy(e) {
3022
3022
  typeof document < "u" && document.querySelectorAll(`style[${wp}="${e}"]`).forEach((n) => {
@@ -3025,10 +3025,10 @@ function xy(e) {
3025
3025
  });
3026
3026
  }
3027
3027
  function Cy(e) {
3028
- Kn.set(e, (Kn.get(e) || 0) - 1);
3029
- const t = Array.from(Kn.keys()), n = t.filter((o) => (Kn.get(o) || 0) <= 0);
3028
+ Hn.set(e, (Hn.get(e) || 0) - 1);
3029
+ const t = Array.from(Hn.keys()), n = t.filter((o) => (Hn.get(o) || 0) <= 0);
3030
3030
  n.length < t.length && n.forEach((o) => {
3031
- xy(o), Kn.delete(o);
3031
+ xy(o), Hn.delete(o);
3032
3032
  });
3033
3033
  }
3034
3034
  function wy(e, t) {
@@ -3366,7 +3366,7 @@ const ky = (e, t, n) => {
3366
3366
  }
3367
3367
  }, jy = ky, Vy = (e, t, n) => {
3368
3368
  e === "animation" && n.hashId && t !== "none" && zp(`You seem to be using hashed animation '${t}', in which case 'animationName' with Keyframe as value is recommended.`, n);
3369
- }, Wy = Vy, Xc = Rn(), Fp = "_skip_check_";
3369
+ }, Wy = Vy, Xc = Mn(), Fp = "_skip_check_";
3370
3370
  function Gc(e) {
3371
3371
  return ei(Ly(e), Ky).replace(/\{%%%\:[^;];}/g, ";");
3372
3372
  }
@@ -3909,8 +3909,8 @@ function fo(e) {
3909
3909
  a: n
3910
3910
  };
3911
3911
  }
3912
- var c0 = "[-\\+]?\\d+%?", u0 = "[-\\+]?\\d*\\.\\d+%?", Tn = "(?:".concat(u0, ")|(?:").concat(c0, ")"), Jl = "[\\s|\\(]+(".concat(Tn, ")[,|\\s]+(").concat(Tn, ")[,|\\s]+(").concat(Tn, ")\\s*\\)?"), ea = "[\\s|\\(]+(".concat(Tn, ")[,|\\s]+(").concat(Tn, ")[,|\\s]+(").concat(Tn, ")[,|\\s]+(").concat(Tn, ")\\s*\\)?"), Vt = {
3913
- CSS_UNIT: new RegExp(Tn),
3912
+ var c0 = "[-\\+]?\\d+%?", u0 = "[-\\+]?\\d*\\.\\d+%?", In = "(?:".concat(u0, ")|(?:").concat(c0, ")"), Jl = "[\\s|\\(]+(".concat(In, ")[,|\\s]+(").concat(In, ")[,|\\s]+(").concat(In, ")\\s*\\)?"), ea = "[\\s|\\(]+(".concat(In, ")[,|\\s]+(").concat(In, ")[,|\\s]+(").concat(In, ")[,|\\s]+(").concat(In, ")\\s*\\)?"), Vt = {
3913
+ CSS_UNIT: new RegExp(In),
3914
3914
  rgb: new RegExp("rgb" + Jl),
3915
3915
  rgba: new RegExp("rgba" + ea),
3916
3916
  hsl: new RegExp("hsl" + Jl),
@@ -5661,7 +5661,7 @@ const tv = v(tS, null, null), nv = v(nS, null, null), aS = () => ({
5661
5661
  });
5662
5662
  is.PRESENTED_IMAGE_DEFAULT = tv;
5663
5663
  is.PRESENTED_IMAGE_SIMPLE = nv;
5664
- const kn = El(is), ov = (e) => {
5664
+ const Kn = El(is), ov = (e) => {
5665
5665
  const {
5666
5666
  prefixCls: t
5667
5667
  } = Je("empty", e);
@@ -5669,20 +5669,20 @@ const kn = El(is), ov = (e) => {
5669
5669
  switch (o) {
5670
5670
  case "Table":
5671
5671
  case "List":
5672
- return v(kn, {
5673
- image: kn.PRESENTED_IMAGE_SIMPLE
5672
+ return v(Kn, {
5673
+ image: Kn.PRESENTED_IMAGE_SIMPLE
5674
5674
  }, null);
5675
5675
  case "Select":
5676
5676
  case "TreeSelect":
5677
5677
  case "Cascader":
5678
5678
  case "Transfer":
5679
5679
  case "Mentions":
5680
- return v(kn, {
5681
- image: kn.PRESENTED_IMAGE_SIMPLE,
5680
+ return v(Kn, {
5681
+ image: Kn.PRESENTED_IMAGE_SIMPLE,
5682
5682
  class: `${t.value}-small`
5683
5683
  }, null);
5684
5684
  default:
5685
- return v(kn, null, null);
5685
+ return v(Kn, null, null);
5686
5686
  }
5687
5687
  })(e.componentName);
5688
5688
  }, iS = Symbol("SizeContextKey"), sS = () => je(iS, re(void 0)), Je = (e, t) => {
@@ -6872,12 +6872,12 @@ function yx(e, t, n) {
6872
6872
  var o = n, r = "", l = mv(e);
6873
6873
  return o = o || l.defaultView.getComputedStyle(e, null), o && (r = o.getPropertyValue(t) || o[t]), r;
6874
6874
  }
6875
- var Sx = new RegExp("^(".concat(hx, ")(?!px)[a-z%]+$"), "i"), xx = /^(top|right|bottom|left)$/, aa = "currentStyle", ia = "runtimeStyle", Nn = "left", Cx = "px";
6875
+ var Sx = new RegExp("^(".concat(hx, ")(?!px)[a-z%]+$"), "i"), xx = /^(top|right|bottom|left)$/, aa = "currentStyle", ia = "runtimeStyle", An = "left", Cx = "px";
6876
6876
  function wx(e, t) {
6877
6877
  var n = e[aa] && e[aa][t];
6878
6878
  if (Sx.test(n) && !xx.test(t)) {
6879
- var o = e.style, r = o[Nn], l = e[ia][Nn];
6880
- e[ia][Nn] = e[aa][Nn], o[Nn] = t === "fontSize" ? "1em" : n || 0, n = o.pixelLeft + Cx, o[Nn] = r, e[ia][Nn] = l;
6879
+ var o = e.style, r = o[An], l = e[ia][An];
6880
+ e[ia][An] = e[aa][An], o[An] = t === "fontSize" ? "1em" : n || 0, n = o.pixelLeft + Cx, o[An] = r, e[ia][An] = l;
6881
6881
  }
6882
6882
  return n === "" ? "auto" : n;
6883
6883
  }
@@ -7287,7 +7287,7 @@ function zx(e, t) {
7287
7287
  return e === t ? !0 : !e || !t ? !1 : "pageX" in t && "pageY" in t ? e.pageX === t.pageX && e.pageY === t.pageY : "clientX" in t && "clientY" in t ? e.clientX === t.clientX && e.clientY === t.clientY : !1;
7288
7288
  }
7289
7289
  function Fx(e, t) {
7290
- e !== document.activeElement && Hn(t, e) && typeof e.focus == "function" && e.focus();
7290
+ e !== document.activeElement && Ln(t, e) && typeof e.focus == "function" && e.focus();
7291
7291
  }
7292
7292
  function Au(e, t) {
7293
7293
  let n = null, o = null;
@@ -7534,15 +7534,15 @@ function AC(e, t) {
7534
7534
  }
7535
7535
  return n.set(e, t), this.size = n.size, this;
7536
7536
  }
7537
- function _n(e) {
7537
+ function En(e) {
7538
7538
  var t = this.__data__ = new Sn(e);
7539
7539
  this.size = t.size;
7540
7540
  }
7541
- _n.prototype.clear = Gx;
7542
- _n.prototype.delete = Ux;
7543
- _n.prototype.get = Yx;
7544
- _n.prototype.has = qx;
7545
- _n.prototype.set = AC;
7541
+ En.prototype.clear = Gx;
7542
+ En.prototype.delete = Ux;
7543
+ En.prototype.get = Yx;
7544
+ En.prototype.has = qx;
7545
+ En.prototype.set = AC;
7546
7546
  var NC = "__lodash_hash_undefined__";
7547
7547
  function BC(e) {
7548
7548
  return this.__data__.set(e, NC), this;
@@ -7803,8 +7803,8 @@ var y$ = Ro(rn, "Set");
7803
7803
  const go = y$;
7804
7804
  var S$ = Ro(rn, "WeakMap");
7805
7805
  const hi = S$;
7806
- var Wu = "[object Map]", x$ = "[object Object]", Xu = "[object Promise]", Gu = "[object Set]", Uu = "[object WeakMap]", Yu = "[object DataView]", C$ = eo(mi), w$ = eo(ar), $$ = eo(gi), O$ = eo(go), I$ = eo(hi), Fn = Jn;
7807
- (mi && Fn(new mi(new ArrayBuffer(1))) != Yu || ar && Fn(new ar()) != Wu || gi && Fn(gi.resolve()) != Xu || go && Fn(new go()) != Gu || hi && Fn(new hi()) != Uu) && (Fn = function(e) {
7806
+ var Wu = "[object Map]", x$ = "[object Object]", Xu = "[object Promise]", Gu = "[object Set]", Uu = "[object WeakMap]", Yu = "[object DataView]", C$ = eo(mi), w$ = eo(ar), $$ = eo(gi), O$ = eo(go), I$ = eo(hi), zn = Jn;
7807
+ (mi && zn(new mi(new ArrayBuffer(1))) != Yu || ar && zn(new ar()) != Wu || gi && zn(gi.resolve()) != Xu || go && zn(new go()) != Gu || hi && zn(new hi()) != Uu) && (zn = function(e) {
7808
7808
  var t = Jn(e), n = t == x$ ? e.constructor : void 0, o = n ? eo(n) : "";
7809
7809
  if (o)
7810
7810
  switch (o) {
@@ -7821,7 +7821,7 @@ var Wu = "[object Map]", x$ = "[object Object]", Xu = "[object Promise]", Gu = "
7821
7821
  }
7822
7822
  return t;
7823
7823
  });
7824
- const qu = Fn;
7824
+ const qu = zn;
7825
7825
  var T$ = 1, Qu = "[object Arguments]", Zu = "[object Array]", Dr = "[object Object]", P$ = Object.prototype, Ju = P$.hasOwnProperty;
7826
7826
  function E$(e, t, n, o, r, l) {
7827
7827
  var a = dl(e), i = dl(t), u = a ? Zu : qu(e), s = i ? Zu : qu(t);
@@ -7833,15 +7833,15 @@ function E$(e, t, n, o, r, l) {
7833
7833
  a = !0, c = !1;
7834
7834
  }
7835
7835
  if (f && !c)
7836
- return l || (l = new _n()), a || Tv(e) ? Cv(e, t, n, o, r, l) : nw(e, t, u, n, o, r, l);
7836
+ return l || (l = new En()), a || Tv(e) ? Cv(e, t, n, o, r, l) : nw(e, t, u, n, o, r, l);
7837
7837
  if (!(n & T$)) {
7838
7838
  var p = c && Ju.call(e, "__wrapped__"), m = d && Ju.call(t, "__wrapped__");
7839
7839
  if (p || m) {
7840
7840
  var g = p ? e.value() : e, h = m ? t.value() : t;
7841
- return l || (l = new _n()), r(g, h, n, o, l);
7841
+ return l || (l = new En()), r(g, h, n, o, l);
7842
7842
  }
7843
7843
  }
7844
- return f ? (l || (l = new _n()), g$(e, t, n, o, r, l)) : !1;
7844
+ return f ? (l || (l = new En()), g$(e, t, n, o, r, l)) : !1;
7845
7845
  }
7846
7846
  function Pv(e, t, n, o, r) {
7847
7847
  return e === t ? !0 : e == null || t == null || !Xn(e) && !Xn(t) ? e !== e && t !== t : E$(e, t, n, o, Pv, r);
@@ -7922,7 +7922,7 @@ const R$ = ae({
7922
7922
  f ? d.value || (d.value = Ft(window, "resize", a)) : d.value && (d.value.remove(), d.value = null);
7923
7923
  }, {
7924
7924
  flush: "post"
7925
- }), Mn(() => {
7925
+ }), _n(() => {
7926
7926
  u.value.cancel(), s.value.cancel(), d.value && d.value.remove(), i();
7927
7927
  }), n({
7928
7928
  forceAlign: () => a(!0)
@@ -8247,8 +8247,8 @@ html body {
8247
8247
  flush: "post"
8248
8248
  });
8249
8249
  }
8250
- let Bn = 0;
8251
- const Wr = Rn(), rd = (e) => {
8250
+ let Nn = 0;
8251
+ const Wr = Mn(), rd = (e) => {
8252
8252
  if (!Wr)
8253
8253
  return null;
8254
8254
  if (e) {
@@ -8301,11 +8301,11 @@ const Wr = Rn(), rd = (e) => {
8301
8301
  d(), u();
8302
8302
  });
8303
8303
  const f = Kt();
8304
- return k$(w(() => e.autoLock && e.visible && Rn() && (o.value === document.body || o.value === s))), Ye(() => {
8304
+ return k$(w(() => e.autoLock && e.visible && Mn() && (o.value === document.body || o.value === s))), Ye(() => {
8305
8305
  let p = !1;
8306
8306
  ge([() => e.visible, () => e.getContainer], (m, g) => {
8307
8307
  let [h, y] = m, [x, S] = g;
8308
- Wr && (i = rd(e.getContainer), i === document.body && (h && !x ? Bn += 1 : p && (Bn -= 1))), p && (typeof y == "function" && typeof S == "function" ? y.toString() !== S.toString() : y !== S) && a(), p = !0;
8308
+ Wr && (i = rd(e.getContainer), i === document.body && (h && !x ? Nn += 1 : p && (Nn -= 1))), p && (typeof y == "function" && typeof S == "function" ? y.toString() !== S.toString() : y !== S) && a(), p = !0;
8309
8309
  }, {
8310
8310
  immediate: !0,
8311
8311
  flush: "post"
@@ -8318,7 +8318,7 @@ const Wr = Rn(), rd = (e) => {
8318
8318
  const {
8319
8319
  visible: p
8320
8320
  } = e;
8321
- Wr && i === document.body && (Bn = p && Bn ? Bn - 1 : Bn), a(), ke.cancel(l.value);
8321
+ Wr && i === document.body && (Nn = p && Nn ? Nn - 1 : Nn), a(), ke.cancel(l.value);
8322
8322
  }), () => {
8323
8323
  const {
8324
8324
  forceRender: p,
@@ -8326,7 +8326,7 @@ const Wr = Rn(), rd = (e) => {
8326
8326
  } = e;
8327
8327
  let g = null;
8328
8328
  const h = {
8329
- getOpenCount: () => Bn,
8329
+ getOpenCount: () => Nn,
8330
8330
  getContainer: c
8331
8331
  };
8332
8332
  return (p || m || r.value) && (g = v(L$, {
@@ -8452,7 +8452,7 @@ const Wr = Rn(), rd = (e) => {
8452
8452
  },
8453
8453
  onPopupMouseleave(e) {
8454
8454
  var t;
8455
- if (e && e.relatedTarget && !e.relatedTarget.setTimeout && Hn((t = this.popupRef) === null || t === void 0 ? void 0 : t.getElement(), e.relatedTarget))
8455
+ if (e && e.relatedTarget && !e.relatedTarget.setTimeout && Ln((t = this.popupRef) === null || t === void 0 ? void 0 : t.getElement(), e.relatedTarget))
8456
8456
  return;
8457
8457
  this.delaySetPopupVisible(!1, this.$props.mouseLeaveDelay);
8458
8458
  const {
@@ -8470,7 +8470,7 @@ const Wr = Rn(), rd = (e) => {
8470
8470
  this.fireEvents("onTouchstart", e), this.preTouchTime = Date.now();
8471
8471
  },
8472
8472
  onBlur(e) {
8473
- Hn(e.target, e.relatedTarget || document.activeElement) || (this.fireEvents("onBlur", e), this.clearDelayTimer(), this.isBlurToHide() && this.delaySetPopupVisible(!1, this.$props.blurDelay));
8473
+ Ln(e.target, e.relatedTarget || document.activeElement) || (this.fireEvents("onBlur", e), this.clearDelayTimer(), this.isBlurToHide() && this.delaySetPopupVisible(!1, this.$props.blurDelay));
8474
8474
  },
8475
8475
  onContextmenu(e) {
8476
8476
  e.preventDefault(), this.fireEvents("onContextmenu", e), this.setPopupVisible(!0, e);
@@ -8503,7 +8503,7 @@ const Wr = Rn(), rd = (e) => {
8503
8503
  const t = e.target, n = this.getRootDomNode(), o = this.getPopupDomNode();
8504
8504
  // mousedown on the target should also close popup when action is contextMenu.
8505
8505
  // https://github.com/ant-design/ant-design/issues/29853
8506
- (!Hn(n, t) || this.isContextMenuOnly()) && !Hn(o, t) && !this.hasPopupMouseDown && this.delaySetPopupVisible(!1, 0.1);
8506
+ (!Ln(n, t) || this.isContextMenuOnly()) && !Ln(o, t) && !this.hasPopupMouseDown && this.delaySetPopupVisible(!1, 0.1);
8507
8507
  },
8508
8508
  getPopupDomNode() {
8509
8509
  var e;
@@ -8515,16 +8515,16 @@ const Wr = Rn(), rd = (e) => {
8515
8515
  getTriggerDOMNode: r
8516
8516
  } = this.$props;
8517
8517
  if (r) {
8518
- const l = ((t = (e = this.triggerRef) === null || e === void 0 ? void 0 : e.$el) === null || t === void 0 ? void 0 : t.nodeName) === "#comment" ? null : In(this.triggerRef);
8519
- return In(r(l));
8518
+ const l = ((t = (e = this.triggerRef) === null || e === void 0 ? void 0 : e.$el) === null || t === void 0 ? void 0 : t.nodeName) === "#comment" ? null : On(this.triggerRef);
8519
+ return On(r(l));
8520
8520
  }
8521
8521
  try {
8522
- const l = ((o = (n = this.triggerRef) === null || n === void 0 ? void 0 : n.$el) === null || o === void 0 ? void 0 : o.nodeName) === "#comment" ? null : In(this.triggerRef);
8522
+ const l = ((o = (n = this.triggerRef) === null || n === void 0 ? void 0 : n.$el) === null || o === void 0 ? void 0 : o.nodeName) === "#comment" ? null : On(this.triggerRef);
8523
8523
  if (l)
8524
8524
  return l;
8525
8525
  } catch {
8526
8526
  }
8527
- return In(this);
8527
+ return On(this);
8528
8528
  },
8529
8529
  handleGetPopupClassFromAlign(e) {
8530
8530
  const t = [], n = this.$props, {
@@ -8745,7 +8745,7 @@ const Wr = Rn(), rd = (e) => {
8745
8745
  key: "trigger"
8746
8746
  };
8747
8747
  this.isContextmenuToShow() ? l.onContextmenu = this.onContextmenu : l.onContextmenu = this.createTwoChains("onContextmenu"), this.isClickToHide() || this.isClickToShow() ? (l.onClick = this.onClick, l.onMousedown = this.onMousedown, l[wt ? "onTouchstartPassive" : "onTouchstart"] = this.onTouchstart) : (l.onClick = this.createTwoChains("onClick"), l.onMousedown = this.createTwoChains("onMousedown"), l[wt ? "onTouchstartPassive" : "onTouchstart"] = this.createTwoChains("onTouchstart")), this.isMouseEnterToShow() ? (l.onMouseenter = this.onMouseenter, n && (l.onMousemove = this.onMouseMove)) : l.onMouseenter = this.createTwoChains("onMouseenter"), this.isMouseLeaveToHide() ? l.onMouseleave = this.onMouseleave : l.onMouseleave = this.createTwoChains("onMouseleave"), this.isFocusToShow() || this.isBlurToHide() ? (l.onFocus = this.onFocus, l.onBlur = this.onBlur) : (l.onFocus = this.createTwoChains("onFocus"), l.onBlur = (s) => {
8748
- s && (!s.relatedTarget || !Hn(s.target, s.relatedTarget)) && this.createTwoChains("onBlur")(s);
8748
+ s && (!s.relatedTarget || !Ln(s.target, s.relatedTarget)) && this.createTwoChains("onBlur")(s);
8749
8749
  });
8750
8750
  const a = de(r && r.props && r.props.class, e.class);
8751
8751
  a && (l.class = a);
@@ -9669,7 +9669,7 @@ const ao = void 0, Xr = ae({
9669
9669
  function a(i) {
9670
9670
  e.registerSize(e.itemKey, i);
9671
9671
  }
9672
- return Mn(() => {
9672
+ return _n(() => {
9673
9673
  a(null);
9674
9674
  }), () => {
9675
9675
  var i;
@@ -10910,14 +10910,14 @@ const $1 = ae({
10910
10910
  activeDescendantId: ro,
10911
10911
  activeValue: qt,
10912
10912
  OptionList: Do
10913
- } = L, lo = S1(L, ["prefixCls", "id", "open", "defaultOpen", "mode", "showSearch", "searchValue", "onSearch", "allowClear", "clearIcon", "showArrow", "inputIcon", "disabled", "loading", "getInputElement", "getPopupContainer", "placement", "animation", "transitionName", "dropdownStyle", "dropdownClassName", "dropdownMatchSelectWidth", "dropdownRender", "dropdownAlign", "showAction", "direction", "tokenSeparators", "tagRender", "optionLabelRender", "onPopupScroll", "onDropdownVisibleChange", "onFocus", "onBlur", "onKeyup", "onKeydown", "onMousedown", "onClear", "omitDomProps", "getRawInputElement", "displayValues", "onDisplayValuesChange", "emptyOptions", "activeDescendantId", "activeValue", "OptionList"]), Cn = ce === "combobox" && Ie && Ie() || null, Dn = typeof tt == "function" && tt(), Ao = b({}, lo);
10913
+ } = L, lo = S1(L, ["prefixCls", "id", "open", "defaultOpen", "mode", "showSearch", "searchValue", "onSearch", "allowClear", "clearIcon", "showArrow", "inputIcon", "disabled", "loading", "getInputElement", "getPopupContainer", "placement", "animation", "transitionName", "dropdownStyle", "dropdownClassName", "dropdownMatchSelectWidth", "dropdownRender", "dropdownAlign", "showAction", "direction", "tokenSeparators", "tagRender", "optionLabelRender", "onPopupScroll", "onDropdownVisibleChange", "onFocus", "onBlur", "onKeyup", "onKeydown", "onMousedown", "onClear", "omitDomProps", "getRawInputElement", "displayValues", "onDisplayValuesChange", "emptyOptions", "activeDescendantId", "activeValue", "OptionList"]), Cn = ce === "combobox" && Ie && Ie() || null, Rn = typeof tt == "function" && tt(), Ao = b({}, lo);
10914
10914
  let hr;
10915
- Dn && (hr = (An) => {
10916
- _(An);
10917
- }), x1.forEach((An) => {
10918
- delete Ao[An];
10919
- }), it == null || it.forEach((An) => {
10920
- delete Ao[An];
10915
+ Rn && (hr = (Dn) => {
10916
+ _(Dn);
10917
+ }), x1.forEach((Dn) => {
10918
+ delete Ao[Dn];
10919
+ }), it == null || it.forEach((Dn) => {
10920
+ delete Ao[Dn];
10921
10921
  });
10922
10922
  const br = fe !== void 0 ? fe : Ee || !l.value && ce !== "combobox";
10923
10923
  let yr;
@@ -10985,7 +10985,7 @@ const $1 = ae({
10985
10985
  onPopupVisibleChange: hr,
10986
10986
  onPopupMouseEnter: X
10987
10987
  }, {
10988
- default: () => Dn ? $t(Dn) && lt(Dn, {
10988
+ default: () => Rn ? $t(Rn) && lt(Rn, {
10989
10989
  ref: c
10990
10990
  }, !1, !0) : v(v1, k(k({}, e), {}, {
10991
10991
  domRef: c,
@@ -11010,7 +11010,7 @@ const $1 = ae({
11010
11010
  }), null)
11011
11011
  });
11012
11012
  let Gl;
11013
- return Dn ? Gl = wn : Gl = v("div", k(k({}, Ao), {}, {
11013
+ return Rn ? Gl = wn : Gl = v("div", k(k({}, Ao), {}, {
11014
11014
  class: Xl,
11015
11015
  ref: s,
11016
11016
  onMousedown: J,
@@ -11025,11 +11025,11 @@ const $1 = ae({
11025
11025
  opacity: 0
11026
11026
  },
11027
11027
  "aria-live": "polite"
11028
- }, [`${mt.map((An) => {
11028
+ }, [`${mt.map((Dn) => {
11029
11029
  let {
11030
11030
  label: yc,
11031
11031
  value: ug
11032
- } = An;
11032
+ } = Dn;
11033
11033
  return ["number", "string"].includes(typeof yc) ? yc : ug;
11034
11034
  }).join(", ")}`]), wn, yr, Sr]), Gl;
11035
11035
  };
@@ -11327,7 +11327,7 @@ function E1(e, t, n, o) {
11327
11327
  const p = t(d), m = r.get(p);
11328
11328
  f ? (r.set(p, f.$el || f), s()) : r.delete(p), !m != !f && (f ? n == null || n(d) : o == null || o(d));
11329
11329
  }
11330
- return Mn(() => {
11330
+ return _n(() => {
11331
11331
  u();
11332
11332
  }), [c, s, l, a];
11333
11333
  }
@@ -12101,7 +12101,7 @@ function q1(e, t, n) {
12101
12101
  };
12102
12102
  }
12103
12103
  let cd = 0;
12104
- const Q1 = process.env.NODE_ENV !== "test" && Rn();
12104
+ const Q1 = process.env.NODE_ENV !== "test" && Mn();
12105
12105
  function Z1() {
12106
12106
  let e;
12107
12107
  return Q1 ? (e = cd, cd += 1) : e = "TEST_OR_SSR", e;
@@ -14381,7 +14381,7 @@ const ml = en, CI = ae({
14381
14381
  return v(ml, r, o);
14382
14382
  };
14383
14383
  }
14384
- }), zn = ae({
14384
+ }), Bn = ae({
14385
14385
  compatConfig: {
14386
14386
  MODE: 3
14387
14387
  },
@@ -14454,7 +14454,7 @@ const ml = en, CI = ae({
14454
14454
  })]);
14455
14455
  };
14456
14456
  }
14457
- }), Ln = {
14457
+ }), Fn = {
14458
14458
  ZERO: 48,
14459
14459
  NINE: 57,
14460
14460
  NUMPAD_ZERO: 96,
@@ -14505,7 +14505,7 @@ const ml = en, CI = ae({
14505
14505
  } else
14506
14506
  c(n.value), t.value = "";
14507
14507
  }, a = (u) => {
14508
- t.value !== "" && (u.keyCode === Ln.ENTER || u.type === "click") && (e.quickGo(n.value), t.value = "");
14508
+ t.value !== "" && (u.keyCode === Fn.ENTER || u.type === "click") && (e.quickGo(n.value), t.value = "");
14509
14509
  }, i = w(() => {
14510
14510
  const {
14511
14511
  pageSize: u,
@@ -14762,7 +14762,7 @@ const EI = ae({
14762
14762
  // return Math.floor((this.total - 1) / pageSize) + 1
14763
14763
  // },
14764
14764
  handleKeyDown(e) {
14765
- (e.keyCode === Ln.ARROW_UP || e.keyCode === Ln.ARROW_DOWN) && e.preventDefault();
14765
+ (e.keyCode === Fn.ARROW_UP || e.keyCode === Fn.ARROW_DOWN) && e.preventDefault();
14766
14766
  },
14767
14767
  handleKeyUp(e) {
14768
14768
  if (e.isComposing || e.target.composing)
@@ -14770,7 +14770,7 @@ const EI = ae({
14770
14770
  const t = this.getValidValue(e), n = this.stateCurrentInputValue;
14771
14771
  t !== n && this.setState({
14772
14772
  stateCurrentInputValue: t
14773
- }), e.keyCode === Ln.ENTER ? this.handleChange(t) : e.keyCode === Ln.ARROW_UP ? this.handleChange(t - 1) : e.keyCode === Ln.ARROW_DOWN && this.handleChange(t + 1);
14773
+ }), e.keyCode === Fn.ENTER ? this.handleChange(t) : e.keyCode === Fn.ARROW_UP ? this.handleChange(t - 1) : e.keyCode === Fn.ARROW_DOWN && this.handleChange(t + 1);
14774
14774
  },
14775
14775
  changePageSize(e) {
14776
14776
  let t = this.stateCurrent;
@@ -14842,7 +14842,7 @@ const EI = ae({
14842
14842
  this.runIfEnter(e, this.jumpNext);
14843
14843
  },
14844
14844
  handleGoTO(e) {
14845
- (e.keyCode === Ln.ENTER || e.type === "click") && this.handleChange(this.stateCurrentInputValue);
14845
+ (e.keyCode === Fn.ENTER || e.type === "click") && this.handleChange(this.stateCurrentInputValue);
14846
14846
  },
14847
14847
  renderPrev(e) {
14848
14848
  const {
@@ -14956,14 +14956,14 @@ const EI = ae({
14956
14956
  onClick: this.handleChange,
14957
14957
  onKeypress: this.runIfEnter
14958
14958
  };
14959
- O || $.push(v(zn, k(k({}, J), {}, {
14959
+ O || $.push(v(Bn, k(k({}, J), {}, {
14960
14960
  key: "noPager",
14961
14961
  page: 1,
14962
14962
  class: `${e}-item-disabled`
14963
14963
  }), null));
14964
14964
  for (let Q = 1; Q <= O; Q += 1) {
14965
14965
  const oe = y === Q;
14966
- $.push(v(zn, k(k({}, J), {}, {
14966
+ $.push(v(Bn, k(k({}, J), {}, {
14967
14967
  key: Q,
14968
14968
  page: Q,
14969
14969
  active: oe
@@ -14997,7 +14997,7 @@ const EI = ae({
14997
14997
  page: this.getJumpNextPage(),
14998
14998
  type: "jump-next",
14999
14999
  originalElement: this.getItemIcon("jumpNextIcon", "next page")
15000
- })])), I = v(zn, {
15000
+ })])), I = v(Bn, {
15001
15001
  locale: r,
15002
15002
  last: !0,
15003
15003
  rootPrefixCls: e,
@@ -15008,7 +15008,7 @@ const EI = ae({
15008
15008
  active: !1,
15009
15009
  showTitle: i,
15010
15010
  itemRender: c
15011
- }, null), _ = v(zn, {
15011
+ }, null), _ = v(Bn, {
15012
15012
  locale: r,
15013
15013
  rootPrefixCls: e,
15014
15014
  onClick: this.handleChange,
@@ -15023,7 +15023,7 @@ const EI = ae({
15023
15023
  y - 1 <= z && (X = 1 + z * 2), O - y <= z && (oe = O - z * 2);
15024
15024
  for (let L = oe; L <= X; L += 1) {
15025
15025
  const Y = y === L;
15026
- $.push(v(zn, {
15026
+ $.push(v(Bn, {
15027
15027
  locale: r,
15028
15028
  rootPrefixCls: e,
15029
15029
  onClick: this.handleChange,
@@ -15035,7 +15035,7 @@ const EI = ae({
15035
15035
  itemRender: c
15036
15036
  }, null));
15037
15037
  }
15038
- y - 1 >= z * 2 && y !== 1 + 2 && ($[0] = v(zn, {
15038
+ y - 1 >= z * 2 && y !== 1 + 2 && ($[0] = v(Bn, {
15039
15039
  locale: r,
15040
15040
  rootPrefixCls: e,
15041
15041
  onClick: this.handleChange,
@@ -15046,7 +15046,7 @@ const EI = ae({
15046
15046
  active: !1,
15047
15047
  showTitle: this.showTitle,
15048
15048
  itemRender: c
15049
- }, null), $.unshift(E)), O - y >= z * 2 && y !== O - 2 && ($[$.length - 1] = v(zn, {
15049
+ }, null), $.unshift(E)), O - y >= z * 2 && y !== O - 2 && ($[$.length - 1] = v(Bn, {
15050
15050
  locale: r,
15051
15051
  rootPrefixCls: e,
15052
15052
  onClick: this.handleChange,
@@ -15164,7 +15164,7 @@ function Yv() {
15164
15164
  t = n.value.subscribe((o) => {
15165
15165
  e.value = o;
15166
15166
  });
15167
- }), Mn(() => {
15167
+ }), _n(() => {
15168
15168
  n.value.unsubscribe(t);
15169
15169
  }), e;
15170
15170
  }
@@ -18831,7 +18831,7 @@ function zT(e, t) {
18831
18831
  }
18832
18832
  function FT(e, t) {
18833
18833
  function n() {
18834
- const o = In(e);
18834
+ const o = On(e);
18835
18835
  zT(o, t.value);
18836
18836
  }
18837
18837
  return n;
@@ -18853,12 +18853,12 @@ const LT = ae({
18853
18853
  } = Je("wave", e), [, l] = DT(r), a = FT(o, w(() => de(r.value, l.value)));
18854
18854
  let i;
18855
18855
  const u = () => {
18856
- In(o).removeEventListener("click", i, !0);
18856
+ On(o).removeEventListener("click", i, !0);
18857
18857
  };
18858
18858
  return Ye(() => {
18859
18859
  ge(() => e.disabled, () => {
18860
18860
  u(), qe(() => {
18861
- const s = In(o);
18861
+ const s = On(o);
18862
18862
  if (!s || s.nodeType !== 1 || e.disabled)
18863
18863
  return;
18864
18864
  const c = (d) => {
@@ -21483,49 +21483,49 @@ const nE = () => ({
21483
21483
  });
21484
21484
  };
21485
21485
  }
21486
- }), Pn = {
21486
+ }), Tn = {
21487
21487
  adjustX: 1,
21488
21488
  adjustY: 1
21489
21489
  }, oE = {
21490
21490
  topLeft: {
21491
21491
  points: ["bl", "tl"],
21492
- overflow: Pn,
21492
+ overflow: Tn,
21493
21493
  offset: [0, -7]
21494
21494
  },
21495
21495
  bottomLeft: {
21496
21496
  points: ["tl", "bl"],
21497
- overflow: Pn,
21497
+ overflow: Tn,
21498
21498
  offset: [0, 7]
21499
21499
  },
21500
21500
  leftTop: {
21501
21501
  points: ["tr", "tl"],
21502
- overflow: Pn,
21502
+ overflow: Tn,
21503
21503
  offset: [-4, 0]
21504
21504
  },
21505
21505
  rightTop: {
21506
21506
  points: ["tl", "tr"],
21507
- overflow: Pn,
21507
+ overflow: Tn,
21508
21508
  offset: [4, 0]
21509
21509
  }
21510
21510
  }, rE = {
21511
21511
  topLeft: {
21512
21512
  points: ["bl", "tl"],
21513
- overflow: Pn,
21513
+ overflow: Tn,
21514
21514
  offset: [0, -7]
21515
21515
  },
21516
21516
  bottomLeft: {
21517
21517
  points: ["tl", "bl"],
21518
- overflow: Pn,
21518
+ overflow: Tn,
21519
21519
  offset: [0, 7]
21520
21520
  },
21521
21521
  rightTop: {
21522
21522
  points: ["tr", "tl"],
21523
- overflow: Pn,
21523
+ overflow: Tn,
21524
21524
  offset: [-4, 0]
21525
21525
  },
21526
21526
  leftTop: {
21527
21527
  points: ["tl", "tr"],
21528
- overflow: Pn,
21528
+ overflow: Tn,
21529
21529
  offset: [4, 0]
21530
21530
  }
21531
21531
  }, lE = {
@@ -26843,7 +26843,7 @@ const F2 = 10, L2 = ae({
26843
26843
  loadedKeys: w(() => d.value),
26844
26844
  loadingKeys: w(() => f.value),
26845
26845
  expandedKeys: w(() => p.value)
26846
- }), Mn(() => {
26846
+ }), _n(() => {
26847
26847
  window.removeEventListener("dragend", X), l.value = !0;
26848
26848
  }), rT({
26849
26849
  expandedKeys: p,
@@ -26891,7 +26891,7 @@ const F2 = 10, L2 = ae({
26891
26891
  height: Do,
26892
26892
  itemHeight: lo,
26893
26893
  virtual: Cn,
26894
- dropIndicatorRender: Dn,
26894
+ dropIndicatorRender: Rn,
26895
26895
  onContextmenu: Ao,
26896
26896
  onScroll: hr,
26897
26897
  direction: br,
@@ -26929,7 +26929,7 @@ const F2 = 10, L2 = ae({
26929
26929
  dragging: ne !== null,
26930
26930
  indent: i.value,
26931
26931
  direction: br,
26932
- dropIndicatorRender: Dn,
26932
+ dropIndicatorRender: Rn,
26933
26933
  loadData: ro,
26934
26934
  filterTreeNode: qt,
26935
26935
  onNodeClick: pe,
@@ -28304,8 +28304,8 @@ const K_ = ae({
28304
28304
  getPopupContainer: Y,
28305
28305
  prefixCls: K
28306
28306
  } = e;
28307
- return (J.filters || []).length === 0 ? v(kn, {
28308
- image: kn.PRESENTED_IMAGE_SIMPLE,
28307
+ return (J.filters || []).length === 0 ? v(Kn, {
28308
+ image: Kn.PRESENTED_IMAGE_SIMPLE,
28309
28309
  description: Q.filterEmptyText,
28310
28310
  imageStyle: {
28311
28311
  height: 24
@@ -30202,7 +30202,7 @@ b(_a, {
30202
30202
  Summary: Da,
30203
30203
  install: (e) => (e.component(Da.name, Da), e.component(Vi.name, Vi), e.component(ji.name, ji), e.component(_a.name, _a), e.component(Ma.name, Ma), e.component(Ra.name, Ra), e)
30204
30204
  });
30205
- const On = {
30205
+ const kn = {
30206
30206
  ...bc(),
30207
30207
  rowSelection: {
30208
30208
  type: Object,
@@ -30464,10 +30464,10 @@ const On = {
30464
30464
  };
30465
30465
  function PM({ emit: e, loading: t }) {
30466
30466
  var l;
30467
- const n = re(vn(t.value) ? t.value : En(t.value) ? (l = t.value) == null ? void 0 : l.spinning : !1);
30467
+ const n = re(vn(t.value) ? t.value : Pn(t.value) ? (l = t.value) == null ? void 0 : l.spinning : !1);
30468
30468
  Be(() => {
30469
30469
  var a;
30470
- n.value = vn(t.value) ? t.value : En(t.value) ? (a = t.value) == null ? void 0 : a.spinning : n.value;
30470
+ n.value = vn(t.value) ? t.value : Pn(t.value) ? (a = t.value) == null ? void 0 : a.spinning : n.value;
30471
30471
  });
30472
30472
  const o = w(() => me(n) || !1);
30473
30473
  function r(a) {
@@ -30612,7 +30612,7 @@ function AM({ polling: e, request: t, postData: n, dataSource: o, waitRequest: r
30612
30612
  $.run({ ...M, isPolling: q });
30613
30613
  }, Math.max(q, 2e3))), A;
30614
30614
  }, l.value || 10);
30615
- Mn(() => {
30615
+ _n(() => {
30616
30616
  y.value = !0, clearTimeout(O.value);
30617
30617
  }), hg(() => {
30618
30618
  y.value = !0, clearTimeout(O.value);
@@ -30656,7 +30656,7 @@ function AM({ polling: e, request: t, postData: n, dataSource: o, waitRequest: r
30656
30656
  const { current: K = 1, pageSize: U = 10, total: te } = me(m) || {};
30657
30657
  Q.pageNum = Sg({ current: K, pageSize: U, total: te }, F.length), F.length && c(F), Q.pageSize = U;
30658
30658
  }
30659
- (En(R) ? [R] : R).forEach((K) => {
30659
+ (Pn(R) ? [R] : R).forEach((K) => {
30660
30660
  const U = (K == null ? void 0 : K.columnKey) || (K == null ? void 0 : K.field);
30661
30661
  K && (K != null && K.order) ? s(me(a).map((te) => (te.dataIndex === U ? te.sortOrder = K == null ? void 0 : K.order : te.sortOrder = null, te))) : K && s(me(a).map((te) => (te.dataIndex === U && (te.sortOrder = null), te)));
30662
30662
  });
@@ -30707,7 +30707,7 @@ function NM(e) {
30707
30707
  function BM({ search: e, searchMap: t, params: n, columns: o }) {
30708
30708
  const r = ot({}), l = ot({}), a = re([]), i = w(() => {
30709
30709
  var c;
30710
- return En(e.value) ? !!((c = e.value) != null && c.showSearch) : !!e.value;
30710
+ return Pn(e.value) ? !!((c = e.value) != null && c.showSearch) : !!e.value;
30711
30711
  });
30712
30712
  Ye(() => {
30713
30713
  u("all");
@@ -30909,7 +30909,7 @@ function KM({ scroll: e, columns: t, autoScroll: n, modalScroll: o, neverScroll:
30909
30909
  }
30910
30910
  const ag = Symbol("table-context"), kM = (e = Symbol(), t) => je(e, t || {}), jM = (e) => {
30911
30911
  We(ag, e);
30912
- }, oo = () => kM(ag, []);
30912
+ }, oo = (e) => kM(ag, e);
30913
30913
  function VM(e, t) {
30914
30914
  const n = ot({});
30915
30915
  Be(() => {
@@ -30969,8 +30969,14 @@ const WM = (e) => ({
30969
30969
  } = Bf, ig = /* @__PURE__ */ ae({
30970
30970
  name: "ProTableForm",
30971
30971
  props: {
30972
- search: On.search,
30973
- modal: On.modalScroll,
30972
+ search: {
30973
+ type: [Object],
30974
+ default: () => ({
30975
+ resetText: "重置",
30976
+ searchText: "查询"
30977
+ })
30978
+ },
30979
+ modal: kn.modalScroll,
30974
30980
  searchMap: {
30975
30981
  type: Array,
30976
30982
  default: () => []
@@ -31854,13 +31860,13 @@ function nR(e) {
31854
31860
  }
31855
31861
  const cg = /* @__PURE__ */ ae({
31856
31862
  props: {
31857
- actions: On.toolBarBtn,
31863
+ actions: kn.toolBarBtn,
31858
31864
  settings: [Array],
31859
- titleTip: On.titleTip,
31865
+ titleTip: kn.titleTip,
31860
31866
  prefixCls: String,
31861
- headerTitle: On.headerTitle,
31862
- titleTipText: On.titleTipText,
31863
- optionsExtra: On.optionsExtra
31867
+ headerTitle: kn.headerTitle,
31868
+ titleTipText: kn.titleTipText,
31869
+ optionsExtra: kn.optionsExtra
31864
31870
  },
31865
31871
  setup(e) {
31866
31872
  const {
@@ -32060,7 +32066,7 @@ function cR(e, t, n, o) {
32060
32066
  if (!t)
32061
32067
  return e;
32062
32068
  let r = e;
32063
- if (En(t)) {
32069
+ if (Pn(t)) {
32064
32070
  const l = t.node === "a" ? "span" : t.node;
32065
32071
  return v(l, zt((t == null ? void 0 : t.attr) || {}, {
32066
32072
  class: [t.class, t.node === "a" ? `${n}-a` : ""],
@@ -32292,9 +32298,8 @@ const Ba = {
32292
32298
  }, za = /* @__PURE__ */ ae({
32293
32299
  name: "GProTable",
32294
32300
  inheritAttrs: !1,
32295
- props: On,
32301
+ props: kn,
32296
32302
  emits: ["reset", "reload", "submit", "sizeChange", "expandedRowsChange", "expand", "change", "requestError", "beforeSearchSubmit", "columnsStateChange", "loadingChange"],
32297
- slots: ["customize", "search", "toolBarBtn", "headerTitle", "titleTip", "optionsExtra"],
32298
32303
  setup(e, {
32299
32304
  emit: t,
32300
32305
  slots: n,
@@ -32422,9 +32427,9 @@ const Ba = {
32422
32427
  onBeforeSearchSubmit: e.onBeforeSearchSubmit
32423
32428
  }, t), Ie = w(() => e.options ? {
32424
32429
  ...pR,
32425
- ...Xt(En(e.options) ? e.options : {})
32430
+ ...Xt(Pn(e.options) ? e.options : {})
32426
32431
  } : !1), Re = w(() => {
32427
- const Z = En(e.loading) ? Bo(e.loading, "spinning") : {};
32432
+ const Z = Pn(e.loading) ? Bo(e.loading, "spinning") : {};
32428
32433
  return !Z.indicator && (d != null && d.value) && (Z.indicator = d == null ? void 0 : d.value), Bo({
32429
32434
  ...(Bo(o), ["class", "style", "id"]),
32430
32435
  ...e,
@@ -32458,7 +32463,7 @@ const Ba = {
32458
32463
  return Z;
32459
32464
  }), H = async (Z) => {
32460
32465
  var he;
32461
- En(e.search) && ((he = e.search) != null && he.showSearch) ? (Y({
32466
+ Pn(e.search) && ((he = e.search) != null && he.showSearch) ? (Y({
32462
32467
  ...Z,
32463
32468
  ...e.params || {}
32464
32469
  }), await ue()) : Y(Z);
@@ -32652,6 +32657,6 @@ za.install = (e) => (e.component(za.name, za), e);
32652
32657
  export {
32653
32658
  za as GProTable,
32654
32659
  za as default,
32655
- On as proTableProps,
32660
+ kn as proTableProps,
32656
32661
  OR as useTable
32657
32662
  };