xph-crud 0.2.3 → 0.2.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
@@ -65,7 +65,7 @@ var gr;
65
65
  function _o() {
66
66
  return gr || (gr = 1, process.env.NODE_ENV !== "production" && function() {
67
67
  var e = Se, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), p = Symbol.iterator, v = "@@iterator";
68
- function w(c) {
68
+ function x(c) {
69
69
  if (c === null || typeof c != "object")
70
70
  return null;
71
71
  var m = p && c[p] || c[v];
@@ -89,14 +89,14 @@ function _o() {
89
89
  H.unshift("Warning: " + m), Function.prototype.apply.call(console[c], console, H);
90
90
  }
91
91
  }
92
- var k = !1, I = !1, Y = !1, $ = !1, C = !1, x;
93
- x = Symbol.for("react.module.reference");
92
+ var k = !1, I = !1, Y = !1, $ = !1, C = !1, w;
93
+ w = Symbol.for("react.module.reference");
94
94
  function _(c) {
95
95
  return !!(typeof c == "string" || typeof c == "function" || c === n || c === s || C || c === o || c === u || c === d || $ || c === b || k || I || Y || typeof c == "object" && c !== null && (c.$$typeof === f || c.$$typeof === g || c.$$typeof === i || c.$$typeof === a || c.$$typeof === l || // This needs to include all possible module reference object
96
96
  // types supported by any Flight configuration anywhere since
97
97
  // we don't know which Flight build this will end up being used
98
98
  // with.
99
- c.$$typeof === x || c.getModuleId !== void 0));
99
+ c.$$typeof === w || c.getModuleId !== void 0));
100
100
  }
101
101
  function S(c, m, y) {
102
102
  var P = c.displayName;
@@ -342,7 +342,7 @@ function _o() {
342
342
  return "";
343
343
  }
344
344
  var me = Object.prototype.hasOwnProperty, Je = {}, yt = R.ReactDebugCurrentFrame;
345
- function xe(c) {
345
+ function we(c) {
346
346
  if (c) {
347
347
  var m = c._owner, y = Oe(c.type, c._source, m ? m.type : null);
348
348
  yt.setExtraStackFrame(y);
@@ -364,15 +364,15 @@ function _o() {
364
364
  } catch (K) {
365
365
  O = K;
366
366
  }
367
- O && !(O instanceof Error) && (xe(z), T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", P || "React class", y, M, typeof O), xe(null)), O instanceof Error && !(O.message in Je) && (Je[O.message] = !0, xe(z), T("Failed %s type: %s", y, O.message), xe(null));
367
+ O && !(O instanceof Error) && (we(z), T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", P || "React class", y, M, typeof O), we(null)), O instanceof Error && !(O.message in Je) && (Je[O.message] = !0, we(z), T("Failed %s type: %s", y, O.message), we(null));
368
368
  }
369
369
  }
370
370
  }
371
- var wt = Array.isArray;
371
+ var xt = Array.isArray;
372
372
  function Ie(c) {
373
- return wt(c);
373
+ return xt(c);
374
374
  }
375
- function xt(c) {
375
+ function wt(c) {
376
376
  {
377
377
  var m = typeof Symbol == "function" && Symbol.toStringTag, y = m && c[Symbol.toStringTag] || c.constructor.name || "Object";
378
378
  return y;
@@ -390,7 +390,7 @@ function _o() {
390
390
  }
391
391
  function tr(c) {
392
392
  if (Ct(c))
393
- return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", xt(c)), Ze(c);
393
+ return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", wt(c)), Ze(c);
394
394
  }
395
395
  var Le = R.ReactCurrentOwner, Dn = {
396
396
  key: !0,
@@ -556,7 +556,7 @@ Check the top-level render call using <` + y + ">.");
556
556
  else if (Rt(c))
557
557
  c._store && (c._store.validated = !0);
558
558
  else if (c) {
559
- var z = w(c);
559
+ var z = x(c);
560
560
  if (typeof z == "function" && z !== c.entries)
561
561
  for (var H = z.call(c), M; !(M = H.next()).done; )
562
562
  Rt(M.value) && ar(M.value, m);
@@ -656,9 +656,9 @@ React keys must be passed directly to JSX without using spread:
656
656
  }()), We;
657
657
  }
658
658
  process.env.NODE_ENV === "production" ? kt.exports = yo() : kt.exports = _o();
659
- var h = kt.exports, tn = typeof global == "object" && global && global.Object === Object && global, wo = typeof self == "object" && self && self.Object === Object && self, pe = tn || wo || Function("return this")(), Te = pe.Symbol, rn = Object.prototype, xo = rn.hasOwnProperty, Co = rn.toString, Be = Te ? Te.toStringTag : void 0;
659
+ var h = kt.exports, tn = typeof global == "object" && global && global.Object === Object && global, xo = typeof self == "object" && self && self.Object === Object && self, pe = tn || xo || Function("return this")(), Te = pe.Symbol, rn = Object.prototype, wo = rn.hasOwnProperty, Co = rn.toString, Be = Te ? Te.toStringTag : void 0;
660
660
  function To(e) {
661
- var t = xo.call(e, Be), r = e[Be];
661
+ var t = wo.call(e, Be), r = e[Be];
662
662
  try {
663
663
  e[Be] = void 0;
664
664
  var n = !0;
@@ -890,18 +890,18 @@ function ms(e, t) {
890
890
  return n;
891
891
  }
892
892
  var bs = "[object Arguments]";
893
- function wr(e) {
893
+ function xr(e) {
894
894
  return de(e) && ge(e) == bs;
895
895
  }
896
- var cn = Object.prototype, vs = cn.hasOwnProperty, ys = cn.propertyIsEnumerable, It = wr(/* @__PURE__ */ function() {
896
+ var cn = Object.prototype, vs = cn.hasOwnProperty, ys = cn.propertyIsEnumerable, It = xr(/* @__PURE__ */ function() {
897
897
  return arguments;
898
- }()) ? wr : function(e) {
898
+ }()) ? xr : function(e) {
899
899
  return de(e) && vs.call(e, "callee") && !ys.call(e, "callee");
900
900
  };
901
901
  function _s() {
902
902
  return !1;
903
903
  }
904
- var ln = typeof exports == "object" && exports && !exports.nodeType && exports, xr = ln && typeof module == "object" && module && !module.nodeType && module, ws = xr && xr.exports === ln, Cr = ws ? pe.Buffer : void 0, xs = Cr ? Cr.isBuffer : void 0, ot = xs || _s, Cs = "[object Arguments]", Ts = "[object Array]", Ss = "[object Boolean]", Ps = "[object Date]", Rs = "[object Error]", js = "[object Function]", Fs = "[object Map]", Es = "[object Number]", As = "[object Object]", Ds = "[object RegExp]", Os = "[object Set]", $s = "[object String]", Ms = "[object WeakMap]", ks = "[object ArrayBuffer]", zs = "[object DataView]", Is = "[object Float32Array]", Ls = "[object Float64Array]", Ns = "[object Int8Array]", Ws = "[object Int16Array]", Bs = "[object Int32Array]", Hs = "[object Uint8Array]", Vs = "[object Uint8ClampedArray]", Us = "[object Uint16Array]", qs = "[object Uint32Array]", U = {};
904
+ var ln = typeof exports == "object" && exports && !exports.nodeType && exports, wr = ln && typeof module == "object" && module && !module.nodeType && module, xs = wr && wr.exports === ln, Cr = xs ? pe.Buffer : void 0, ws = Cr ? Cr.isBuffer : void 0, ot = ws || _s, Cs = "[object Arguments]", Ts = "[object Array]", Ss = "[object Boolean]", Ps = "[object Date]", Rs = "[object Error]", js = "[object Function]", Fs = "[object Map]", Es = "[object Number]", As = "[object Object]", Ds = "[object RegExp]", Os = "[object Set]", $s = "[object String]", Ms = "[object WeakMap]", ks = "[object ArrayBuffer]", zs = "[object DataView]", Is = "[object Float32Array]", Ls = "[object Float64Array]", Ns = "[object Int8Array]", Ws = "[object Int16Array]", Bs = "[object Int32Array]", Hs = "[object Uint8Array]", Vs = "[object Uint8ClampedArray]", Us = "[object Uint16Array]", qs = "[object Uint32Array]", U = {};
905
905
  U[Is] = U[Ls] = U[Ns] = U[Ws] = U[Bs] = U[Hs] = U[Vs] = U[Us] = U[qs] = !0;
906
906
  U[Cs] = U[Ts] = U[ks] = U[Ss] = U[zs] = U[Ps] = U[Rs] = U[js] = U[Fs] = U[Es] = U[As] = U[Ds] = U[Os] = U[$s] = U[Ms] = !1;
907
907
  function Ys(e) {
@@ -1011,7 +1011,7 @@ Fe.prototype.delete = di;
1011
1011
  Fe.prototype.get = hi;
1012
1012
  Fe.prototype.has = vi;
1013
1013
  Fe.prototype.set = _i;
1014
- function wi() {
1014
+ function xi() {
1015
1015
  this.__data__ = [], this.size = 0;
1016
1016
  }
1017
1017
  function ft(e, t) {
@@ -1020,7 +1020,7 @@ function ft(e, t) {
1020
1020
  return r;
1021
1021
  return -1;
1022
1022
  }
1023
- var xi = Array.prototype, Ci = xi.splice;
1023
+ var wi = Array.prototype, Ci = wi.splice;
1024
1024
  function Ti(e) {
1025
1025
  var t = this.__data__, r = ft(t, e);
1026
1026
  if (r < 0)
@@ -1046,7 +1046,7 @@ function _e(e) {
1046
1046
  this.set(n[0], n[1]);
1047
1047
  }
1048
1048
  }
1049
- _e.prototype.clear = wi;
1049
+ _e.prototype.clear = xi;
1050
1050
  _e.prototype.delete = Ti;
1051
1051
  _e.prototype.get = Si;
1052
1052
  _e.prototype.has = Pi;
@@ -1081,18 +1081,18 @@ function Oi(e, t) {
1081
1081
  var r = pt(this, e), n = r.size;
1082
1082
  return r.set(e, t), this.size += r.size == n ? 0 : 1, this;
1083
1083
  }
1084
- function we(e) {
1084
+ function xe(e) {
1085
1085
  var t = -1, r = e == null ? 0 : e.length;
1086
1086
  for (this.clear(); ++t < r; ) {
1087
1087
  var n = e[t];
1088
1088
  this.set(n[0], n[1]);
1089
1089
  }
1090
1090
  }
1091
- we.prototype.clear = ji;
1092
- we.prototype.delete = Ei;
1093
- we.prototype.get = Ai;
1094
- we.prototype.has = Di;
1095
- we.prototype.set = Oi;
1091
+ xe.prototype.clear = ji;
1092
+ xe.prototype.delete = Ei;
1093
+ xe.prototype.get = Ai;
1094
+ xe.prototype.has = Di;
1095
+ xe.prototype.set = Oi;
1096
1096
  var $i = "Expected a function";
1097
1097
  function Jt(e, t) {
1098
1098
  if (typeof e != "function" || t != null && typeof t != "function")
@@ -1104,9 +1104,9 @@ function Jt(e, t) {
1104
1104
  var i = e.apply(this, n);
1105
1105
  return r.cache = s.set(o, i) || s, i;
1106
1106
  };
1107
- return r.cache = new (Jt.Cache || we)(), r;
1107
+ return r.cache = new (Jt.Cache || xe)(), r;
1108
1108
  }
1109
- Jt.Cache = we;
1109
+ Jt.Cache = xe;
1110
1110
  var Mi = 500;
1111
1111
  function ki(e) {
1112
1112
  var t = Jt(e, function(n) {
@@ -1168,7 +1168,7 @@ function ra(e, t) {
1168
1168
  var n = r.__data__;
1169
1169
  if (!Ue || n.length < ta - 1)
1170
1170
  return n.push([e, t]), this.size = ++r.size, this;
1171
- r = this.__data__ = new we(n);
1171
+ r = this.__data__ = new xe(n);
1172
1172
  }
1173
1173
  return r.set(e, t), this.size = r.size, this;
1174
1174
  }
@@ -1239,19 +1239,19 @@ function ya(e) {
1239
1239
  return typeof e.constructor == "function" && !Xt(e) ? Xo(gn(e)) : {};
1240
1240
  }
1241
1241
  var _a = "__lodash_hash_undefined__";
1242
- function wa(e) {
1242
+ function xa(e) {
1243
1243
  return this.__data__.set(e, _a), this;
1244
1244
  }
1245
- function xa(e) {
1245
+ function wa(e) {
1246
1246
  return this.__data__.has(e);
1247
1247
  }
1248
1248
  function it(e) {
1249
1249
  var t = -1, r = e == null ? 0 : e.length;
1250
- for (this.__data__ = new we(); ++t < r; )
1250
+ for (this.__data__ = new xe(); ++t < r; )
1251
1251
  this.add(e[t]);
1252
1252
  }
1253
- it.prototype.add = it.prototype.push = wa;
1254
- it.prototype.has = xa;
1253
+ it.prototype.add = it.prototype.push = xa;
1254
+ it.prototype.has = wa;
1255
1255
  function Ca(e, t) {
1256
1256
  for (var r = -1, n = e == null ? 0 : e.length; ++r < n; )
1257
1257
  if (t(e[r], r, e))
@@ -1273,9 +1273,9 @@ function bn(e, t, r, n, o, s) {
1273
1273
  for (s.set(e, t), s.set(t, e); ++g < a; ) {
1274
1274
  var p = e[g], v = t[g];
1275
1275
  if (n)
1276
- var w = i ? n(v, p, g, t, e, s) : n(p, v, g, e, t, s);
1277
- if (w !== void 0) {
1278
- if (w)
1276
+ var x = i ? n(v, p, g, t, e, s) : n(p, v, g, e, t, s);
1277
+ if (x !== void 0) {
1278
+ if (x)
1279
1279
  continue;
1280
1280
  f = !1;
1281
1281
  break;
@@ -1358,7 +1358,7 @@ function qa(e, t, r, n, o, s) {
1358
1358
  return b == t && p == e;
1359
1359
  var v = !0;
1360
1360
  s.set(e, t), s.set(t, e);
1361
- for (var w = i; ++g < l; ) {
1361
+ for (var x = i; ++g < l; ) {
1362
1362
  f = a[g];
1363
1363
  var R = e[f], T = t[f];
1364
1364
  if (n)
@@ -1367,9 +1367,9 @@ function qa(e, t, r, n, o, s) {
1367
1367
  v = !1;
1368
1368
  break;
1369
1369
  }
1370
- w || (w = f == "constructor");
1370
+ x || (x = f == "constructor");
1371
1371
  }
1372
- if (v && !w) {
1372
+ if (v && !x) {
1373
1373
  var k = e.constructor, I = t.constructor;
1374
1374
  k != I && "constructor" in e && "constructor" in t && !(typeof k == "function" && k instanceof k && typeof I == "function" && I instanceof I) && (v = !1);
1375
1375
  }
@@ -1390,8 +1390,8 @@ function Xa(e, t, r, n, o, s) {
1390
1390
  if (!(r & Ya)) {
1391
1391
  var b = d && Ir.call(e, "__wrapped__"), p = g && Ir.call(t, "__wrapped__");
1392
1392
  if (b || p) {
1393
- var v = b ? e.value() : e, w = p ? t.value() : t;
1394
- return s || (s = new ye()), o(v, w, r, n, s);
1393
+ var v = b ? e.value() : e, x = p ? t.value() : t;
1394
+ return s || (s = new ye()), o(v, x, r, n, s);
1395
1395
  }
1396
1396
  }
1397
1397
  return f ? (s || (s = new ye()), qa(e, t, r, n, o, s)) : !1;
@@ -1486,7 +1486,7 @@ function ic(e, t, r, n) {
1486
1486
  }
1487
1487
  return e;
1488
1488
  }
1489
- function wn(e, t, r) {
1489
+ function xn(e, t, r) {
1490
1490
  return e == null ? e : ic(e, t, r);
1491
1491
  }
1492
1492
  function ac(e) {
@@ -1509,7 +1509,7 @@ function ac(e) {
1509
1509
  authProps: i
1510
1510
  };
1511
1511
  }
1512
- function xn(e) {
1512
+ function wn(e) {
1513
1513
  return "component" in e;
1514
1514
  }
1515
1515
  function cc(e) {
@@ -1537,7 +1537,7 @@ function lc(e, t) {
1537
1537
  return !!b;
1538
1538
  }, u = o.map((g) => {
1539
1539
  const f = { ...g };
1540
- if (xn(f)) {
1540
+ if (wn(f)) {
1541
1541
  const b = f.component;
1542
1542
  switch (f.componentProps = {
1543
1543
  type: r,
@@ -1599,7 +1599,7 @@ function Cn() {
1599
1599
  return e(ct), {
1600
1600
  renderContent: ve(
1601
1601
  (r, n) => {
1602
- const o = xn(r), s = cc(r);
1602
+ const o = wn(r), s = cc(r);
1603
1603
  if (o) {
1604
1604
  const i = ct.get(r.component);
1605
1605
  return /* @__PURE__ */ Kn(i, { ...r, key: n });
@@ -1792,8 +1792,8 @@ const mc = (e) => {
1792
1792
  }, []), l = ve((d) => {
1793
1793
  const g = r.current, { translateX: f, translateY: b } = i(g);
1794
1794
  let p = d.clientX - o.current, v = d.clientY - s.current;
1795
- const w = -f, R = -b, T = e.current.scrollWidth - g.offsetWidth - f, j = e.current.scrollHeight - g.offsetHeight - b;
1796
- p < w && (p = w), p > T && (p = T), v < R && (v = R), v > j && (v = j), n({ left: p, top: v });
1795
+ const x = -f, R = -b, T = e.current.scrollWidth - g.offsetWidth - f, j = e.current.scrollHeight - g.offsetHeight - b;
1796
+ p < x && (p = x), p > T && (p = T), v < R && (v = R), v > j && (v = j), n({ left: p, top: v });
1797
1797
  }, []), u = ve(() => {
1798
1798
  document.removeEventListener("mousemove", l), document.removeEventListener("mouseup", u);
1799
1799
  }, []);
@@ -1803,7 +1803,7 @@ const mc = (e) => {
1803
1803
  d.removeEventListener("mousedown", a);
1804
1804
  };
1805
1805
  }, []), {};
1806
- }, wc = ({
1806
+ }, xc = ({
1807
1807
  containerSizeTarget: e,
1808
1808
  dialogChangeRecord: t,
1809
1809
  close: r,
@@ -1821,19 +1821,19 @@ const mc = (e) => {
1821
1821
  },
1822
1822
  onMaximize: (b) => {
1823
1823
  if (b === "minimize" && i(!1), b === "maximize") {
1824
- const { scrollWidth: p, scrollHeight: v } = e.current, w = Math.floor(p), R = Math.floor(v), T = Math.floor(p / 2), j = Math.floor(v / 2);
1825
- n({ width: w, height: R }), o({ top: j, left: T }), l(!0);
1824
+ const { scrollWidth: p, scrollHeight: v } = e.current, x = Math.floor(p), R = Math.floor(v), T = Math.floor(p / 2), j = Math.floor(v / 2);
1825
+ n({ width: x, height: R }), o({ top: j, left: T }), l(!0);
1826
1826
  }
1827
1827
  },
1828
1828
  onRecovery: () => {
1829
- const { top: b, left: p, width: v, height: w } = t.current;
1830
- n({ width: v, height: w }), o({ top: b, left: p }), l(!1);
1829
+ const { top: b, left: p, width: v, height: x } = t.current;
1830
+ n({ width: v, height: x }), o({ top: b, left: p }), l(!1);
1831
1831
  },
1832
1832
  onClose: () => {
1833
1833
  i(!1), l(!1), r();
1834
1834
  }
1835
1835
  };
1836
- }, xc = ({
1836
+ }, wc = ({
1837
1837
  visible: e,
1838
1838
  containerSizeTarget: t,
1839
1839
  dialogHeight: r,
@@ -2030,13 +2030,13 @@ const mc = (e) => {
2030
2030
  }
2031
2031
  ), []), i = D(null), a = D(), l = D(!1), [u, d] = X(!1), g = D(0), f = D(0), b = ($, C) => {
2032
2032
  l.current = !0, d(!0), a.current = C;
2033
- const { clientX: x, clientY: _ } = $;
2034
- g.current = x, f.current = _;
2033
+ const { clientX: w, clientY: _ } = $;
2034
+ g.current = w, f.current = _;
2035
2035
  const S = parseFloat(t.current.style.left), E = parseFloat(t.current.style.top), F = t.current.offsetWidth, A = t.current.offsetHeight;
2036
2036
  i.current.style.display = "block", i.current.style.left = `${S - 0.5 * F}px`, i.current.style.top = `${E - 0.5 * A}px`, i.current.style.width = `${F}px`, i.current.style.height = `${A}px`;
2037
2037
  }, p = ($) => {
2038
2038
  if (l.current) {
2039
- const { clientX: C, clientY: x } = $, _ = C - g.current, S = x - f.current, E = parseFloat(i.current.style.left), F = parseFloat(i.current.style.top), A = i.current.offsetWidth, L = i.current.offsetHeight, Q = r.current.width, te = r.current.height, le = e.current.scrollWidth, se = e.current.scrollHeight;
2039
+ const { clientX: C, clientY: w } = $, _ = C - g.current, S = w - f.current, E = parseFloat(i.current.style.left), F = parseFloat(i.current.style.top), A = i.current.offsetWidth, L = i.current.offsetHeight, Q = r.current.width, te = r.current.height, le = e.current.scrollWidth, se = e.current.scrollHeight;
2040
2040
  let N = A, W = L, V = E, G = F;
2041
2041
  switch (a.current) {
2042
2042
  case "lt": {
@@ -2056,15 +2056,15 @@ const mc = (e) => {
2056
2056
  break;
2057
2057
  }
2058
2058
  }
2059
- i.current.style.left = `${V}px`, i.current.style.top = `${G}px`, i.current.style.width = `${N}px`, i.current.style.height = `${W}px`, g.current = C, f.current = x;
2059
+ i.current.style.left = `${V}px`, i.current.style.top = `${G}px`, i.current.style.width = `${N}px`, i.current.style.height = `${W}px`, g.current = C, f.current = w;
2060
2060
  }
2061
2061
  }, v = () => {
2062
2062
  if (l.current) {
2063
2063
  l.current = !1, d(!1), i.current.style.display = "none";
2064
- const { left: $, top: C, width: x, height: _ } = i.current.style, S = parseFloat($) + 0.5 * parseFloat(x), E = parseFloat(C) + 0.5 * parseFloat(_), F = parseFloat(x), A = parseFloat(_);
2064
+ const { left: $, top: C, width: w, height: _ } = i.current.style, S = parseFloat($) + 0.5 * parseFloat(w), E = parseFloat(C) + 0.5 * parseFloat(_), F = parseFloat(w), A = parseFloat(_);
2065
2065
  o({ left: S, top: E }), n({ width: F, height: A });
2066
2066
  }
2067
- }, w = ($) => b($, "lt"), R = ($) => b($, "rt"), T = ($) => b($, "rb"), j = ($) => b($, "lb"), k = ve(($) => {
2067
+ }, x = ($) => b($, "lt"), R = ($) => b($, "rt"), T = ($) => b($, "rb"), j = ($) => b($, "lb"), k = ve(($) => {
2068
2068
  p($);
2069
2069
  }, []), I = ve(() => {
2070
2070
  v();
@@ -2076,7 +2076,7 @@ const mc = (e) => {
2076
2076
  }), []), {
2077
2077
  resizingState: u,
2078
2078
  DashedBox: s,
2079
- onMousedownResizeLt: w,
2079
+ onMousedownResizeLt: x,
2080
2080
  onMousedownResizeRt: R,
2081
2081
  onMousedownResizeRb: T,
2082
2082
  onMousedownResizeLb: j
@@ -2094,13 +2094,13 @@ const mc = (e) => {
2094
2094
  }), []);
2095
2095
  const { containerSizeTarget: i, setContainerSizeTarget: a } = Ec({
2096
2096
  container: e
2097
- }), { width: l, height: u } = r, { width: d, height: g } = t, f = d || l, b = g || u, { clientWidth: p, clientHeight: v } = i.current, w = f ? f > p ? p : f : 0, R = b ? b > v ? v : b : "unset", T = D(w), j = D(R), k = (C) => {
2097
+ }), { width: l, height: u } = r, { width: d, height: g } = t, f = d || l, b = g || u, { clientWidth: p, clientHeight: v } = i.current, x = f ? f > p ? p : f : 0, R = b ? b > v ? v : b : "unset", T = D(x), j = D(R), k = (C) => {
2098
2098
  T.current = C.width, j.current = C.height;
2099
2099
  }, I = D(Math.floor(p / 2)), Y = D(Math.floor(v / 2)), $ = (C) => {
2100
2100
  I.current = C.left, Y.current = C.top;
2101
2101
  };
2102
2102
  return q(() => {
2103
- a(), k({ width: w, height: R }), $({
2103
+ a(), k({ width: x, height: R }), $({
2104
2104
  left: Math.floor(p / 2),
2105
2105
  top: Math.floor(v / 2)
2106
2106
  });
@@ -2111,7 +2111,7 @@ const mc = (e) => {
2111
2111
  initTop: Y,
2112
2112
  initWidth: T,
2113
2113
  initHeight: j,
2114
- curPropsWidth: w,
2114
+ curPropsWidth: x,
2115
2115
  curPropsHeight: R,
2116
2116
  setInitPosition: $,
2117
2117
  setInitSize: k
@@ -2281,7 +2281,7 @@ const mc = (e) => {
2281
2281
  renderFooter: l,
2282
2282
  renderTitle: u,
2283
2283
  getPopperContainer: d
2284
- } = e, g = d(), [f, b] = fc(!1), [p, v] = X(!1), { open: w, close: R } = vc(
2284
+ } = e, g = d(), [f, b] = fc(!1), [p, v] = X(!1), { open: x, close: R } = vc(
2285
2285
  f,
2286
2286
  e,
2287
2287
  b,
@@ -2289,7 +2289,7 @@ const mc = (e) => {
2289
2289
  ), { footerActions: T } = hc(e, p), j = D(null), k = D(null), I = D(null), Y = D(null), {
2290
2290
  containerSizeTarget: $,
2291
2291
  parentResizeRecord: C,
2292
- initLeft: x,
2292
+ initLeft: w,
2293
2293
  initTop: _,
2294
2294
  initWidth: S,
2295
2295
  initHeight: E,
@@ -2305,9 +2305,9 @@ const mc = (e) => {
2305
2305
  setDialogChangeRecord: Q
2306
2306
  }), { dialogLeft: N, dialogTop: W, setDialogPosition: V } = _c({
2307
2307
  initTop: _,
2308
- initLeft: x,
2308
+ initLeft: w,
2309
2309
  setDialogChangeRecord: Q
2310
- }), { dialogMaxHeight: G, contentMaxHeight: ht } = xc({
2310
+ }), { dialogMaxHeight: G, contentMaxHeight: ht } = wc({
2311
2311
  visible: f,
2312
2312
  containerSizeTarget: $,
2313
2313
  dialogHeight: le,
@@ -2327,21 +2327,21 @@ const mc = (e) => {
2327
2327
  onMinimize: vt,
2328
2328
  onRecovery: Oe,
2329
2329
  onClose: me
2330
- } = wc({
2330
+ } = xc({
2331
2331
  containerSizeTarget: $,
2332
2332
  dialogChangeRecord: L,
2333
2333
  close: R,
2334
2334
  setDialogSize: se,
2335
2335
  setDialogPosition: V
2336
2336
  }), Je = () => {
2337
- console.log("触发了initDialog"), se({ width: S.current, height: E.current }), V({ left: x.current, top: _.current }), De({ left: 160, top: 60 }), Xe(!1);
2337
+ console.log("触发了initDialog"), se({ width: S.current, height: E.current }), V({ left: w.current, top: _.current }), De({ left: 160, top: 60 }), Xe(!1);
2338
2338
  };
2339
2339
  q(() => {
2340
2340
  Je();
2341
2341
  }, [C]), Sc({
2342
2342
  initWidth: S,
2343
2343
  initHeight: E,
2344
- initLeft: x,
2344
+ initLeft: w,
2345
2345
  initTop: _,
2346
2346
  curPropsWidth: F,
2347
2347
  curPropsHeight: A,
@@ -2358,16 +2358,16 @@ const mc = (e) => {
2358
2358
  dialogRef: he,
2359
2359
  setDialogPosition: De
2360
2360
  });
2361
- const { dialogTopShowClassConfig: xe } = Tc({
2361
+ const { dialogTopShowClassConfig: we } = Tc({
2362
2362
  visible: f,
2363
2363
  container: g,
2364
2364
  dialogRef: j,
2365
2365
  minimizeRef: he
2366
2366
  }), {
2367
2367
  resizingState: _t,
2368
- DashedBox: wt,
2368
+ DashedBox: xt,
2369
2369
  onMousedownResizeLt: Ie,
2370
- onMousedownResizeRt: xt,
2370
+ onMousedownResizeRt: wt,
2371
2371
  onMousedownResizeRb: Ct,
2372
2372
  onMousedownResizeLb: Ze
2373
2373
  } = Rc({
@@ -2378,17 +2378,17 @@ const mc = (e) => {
2378
2378
  setDialogPosition: V
2379
2379
  });
2380
2380
  return Pe(t, () => ({
2381
- open: w,
2381
+ open: x,
2382
2382
  close: me,
2383
2383
  setLoading: v,
2384
2384
  getVisible: () => f
2385
- })), /* @__PURE__ */ h.jsxs("div", { className: xe.xphDialog, children: [
2385
+ })), /* @__PURE__ */ h.jsxs("div", { className: we.xphDialog, children: [
2386
2386
  i && f ? /* @__PURE__ */ h.jsx("div", { className: ne["xph-dialog-mask"] }) : null,
2387
2387
  /* @__PURE__ */ h.jsx(
2388
2388
  $c,
2389
2389
  {
2390
2390
  visible: Re,
2391
- className: `${xe.xphMinimizeDialog}`,
2391
+ className: `${we.xphMinimizeDialog}`,
2392
2392
  loading: p,
2393
2393
  ref: he,
2394
2394
  left: ke,
@@ -2402,7 +2402,7 @@ const mc = (e) => {
2402
2402
  "div",
2403
2403
  {
2404
2404
  ref: j,
2405
- className: `${ne["xph-dialog-wrapper"]} ${xe.xphDialogWrapper}`,
2405
+ className: `${ne["xph-dialog-wrapper"]} ${we.xphDialogWrapper}`,
2406
2406
  style: {
2407
2407
  display: f && !Re ? "flex" : "none",
2408
2408
  left: N,
@@ -2446,7 +2446,7 @@ const mc = (e) => {
2446
2446
  "div",
2447
2447
  {
2448
2448
  className: `${ne.dialog__resize} ${ne["dialog__resize-rt"]}`,
2449
- onMouseDown: xt
2449
+ onMouseDown: wt
2450
2450
  }
2451
2451
  ),
2452
2452
  /* @__PURE__ */ h.jsx(
@@ -2466,7 +2466,7 @@ const mc = (e) => {
2466
2466
  ]
2467
2467
  }
2468
2468
  ),
2469
- /* @__PURE__ */ h.jsx(wt, {})
2469
+ /* @__PURE__ */ h.jsx(xt, {})
2470
2470
  ] });
2471
2471
  }), Wc = (e, t) => {
2472
2472
  const { children: r, ...n } = e, { baseDialogProps: o, dialogProps: s } = mc(n), { getPopperContainer: i } = s;
@@ -2568,8 +2568,8 @@ const Gc = [
2568
2568
  let a = o;
2569
2569
  const l = Qt(e), u = l ? qc(e.component) + s : "";
2570
2570
  function d(p, v) {
2571
- const w = p.message || u;
2572
- return v === void 0 || sc(v) || Array.isArray(v) && v.length === 0 || typeof v == "string" && v.trim() === "" || typeof v == "object" && Reflect.has(v, "checked") && Reflect.has(v, "halfChecked") && Array.isArray(v.checked) && Array.isArray(v.halfChecked) && v.checked.length === 0 && v.halfChecked.length === 0 ? Promise.reject(w) : Promise.resolve();
2571
+ const x = p.message || u;
2572
+ return v === void 0 || sc(v) || Array.isArray(v) && v.length === 0 || typeof v == "string" && v.trim() === "" || typeof v == "object" && Reflect.has(v, "checked") && Reflect.has(v, "halfChecked") && Array.isArray(v.checked) && Array.isArray(v.halfChecked) && v.checked.length === 0 && v.halfChecked.length === 0 ? Promise.reject(x) : Promise.resolve();
2573
2573
  }
2574
2574
  const g = Z(i) ? i({ model: t }) : i;
2575
2575
  g && (!a || a.length === 0 ? a = [{ required: g, validator: d }] : a.findIndex(
@@ -2583,8 +2583,8 @@ const Gc = [
2583
2583
  if (r || (p.required = !1), l) {
2584
2584
  const { component: v } = e;
2585
2585
  Reflect.has(p, "type") || (p.type = v === "InputNumber" ? "number" : "string"), p.message = p.message || u, (v.includes("Input") || v.includes("Textarea")) && (p.whitespace = !0);
2586
- const w = n.valueFormat;
2587
- Yc(p, v, w);
2586
+ const x = n.valueFormat;
2587
+ Yc(p, v, x);
2588
2588
  }
2589
2589
  }
2590
2590
  const b = a.findIndex((p) => p.max);
@@ -2680,7 +2680,7 @@ function sl(e, t = {}) {
2680
2680
  return;
2681
2681
  const s = [];
2682
2682
  return o.forEach((i, a) => {
2683
- wn(s, a, t[i.trim()]);
2683
+ xn(s, a, t[i.trim()]);
2684
2684
  }), s.filter(Boolean).length ? s : void 0;
2685
2685
  }
2686
2686
  }
@@ -2695,7 +2695,7 @@ function il(e, t = {}) {
2695
2695
  return;
2696
2696
  const s = {};
2697
2697
  return o.forEach((i) => {
2698
- wn(s, i.trim(), t[i.trim()]);
2698
+ xn(s, i.trim(), t[i.trim()]);
2699
2699
  }), Object.values(s).filter(Boolean).length ? s : void 0;
2700
2700
  }
2701
2701
  }
@@ -2758,13 +2758,13 @@ const cl = (e, t, r) => {
2758
2758
  const [v] = b;
2759
2759
  if (!v || Z(p))
2760
2760
  continue;
2761
- const { transformDateFunc: w } = t, R = (d = (u = (l = r.current) == null ? void 0 : l.get(v)) == null ? void 0 : u.current) == null ? void 0 : d.componentProps, T = R == null ? void 0 : R.valueFormat;
2761
+ const { transformDateFunc: x } = t, R = (d = (u = (l = r.current) == null ? void 0 : l.get(v)) == null ? void 0 : u.current) == null ? void 0 : d.componentProps, T = R == null ? void 0 : R.valueFormat;
2762
2762
  if (ce(p)) {
2763
2763
  const j = p;
2764
- j.format && (p = w == null ? void 0 : w(j, T));
2764
+ j.format && (p = x == null ? void 0 : x(j, T));
2765
2765
  }
2766
2766
  oe(p) && ((g = p[0]) != null && g.format) && ((f = p[1]) != null && f.format) && (p = p.map(
2767
- (j) => w == null ? void 0 : w(j, T)
2767
+ (j) => x == null ? void 0 : x(j, T)
2768
2768
  )), _n(p) && (p === "" ? p = void 0 : p = p.trim()), a[v] = p;
2769
2769
  }
2770
2770
  return al(a, t);
@@ -2860,8 +2860,8 @@ const cl = (e, t, r) => {
2860
2860
  }), d = (f) => {
2861
2861
  f && !n && u(), s && s(f);
2862
2862
  }, g = () => {
2863
- const { api: f, params: b, immediate: p, isusewatch: v, ...w } = e;
2864
- return w;
2863
+ const { api: f, params: b, immediate: p, isusewatch: v, ...x } = e;
2864
+ return x;
2865
2865
  };
2866
2866
  return /* @__PURE__ */ h.jsx(
2867
2867
  Gr,
@@ -2888,8 +2888,8 @@ const cl = (e, t, r) => {
2888
2888
  }), d = (f) => {
2889
2889
  f && !n && u(), s && s(f);
2890
2890
  }, g = () => {
2891
- const { api: f, params: b, immediate: p, isusewatch: v, ...w } = e;
2892
- return w;
2891
+ const { api: f, params: b, immediate: p, isusewatch: v, ...x } = e;
2892
+ return x;
2893
2893
  };
2894
2894
  return /* @__PURE__ */ h.jsx(
2895
2895
  Xr,
@@ -2930,8 +2930,8 @@ const cl = (e, t, r) => {
2930
2930
  }), d = (f) => {
2931
2931
  f && !n && u(), s && s(f);
2932
2932
  }, g = () => {
2933
- const { api: f, params: b, immediate: p, isusewatch: v, ...w } = e;
2934
- return w;
2933
+ const { api: f, params: b, immediate: p, isusewatch: v, ...x } = e;
2934
+ return x;
2935
2935
  };
2936
2936
  return /* @__PURE__ */ h.jsx(
2937
2937
  Jr,
@@ -2965,12 +2965,12 @@ const cl = (e, t, r) => {
2965
2965
  value: u = t,
2966
2966
  // 默认文件列表
2967
2967
  onChange: d
2968
- } = e, g = D(!0), f = D(0), b = D([]), [p, v] = X([]), w = (C) => {
2968
+ } = e, g = D(!0), f = D(0), b = D([]), [p, v] = X([]), x = (C) => {
2969
2969
  b.current = C, v([...C]);
2970
2970
  }, R = () => {
2971
2971
  const {
2972
2972
  api: C,
2973
- maxCount: x,
2973
+ maxCount: w,
2974
2974
  maxSize: _,
2975
2975
  openCrop: S,
2976
2976
  beforeUpload: E,
@@ -2980,15 +2980,15 @@ const cl = (e, t, r) => {
2980
2980
  } = e;
2981
2981
  return L;
2982
2982
  }, T = (C) => {
2983
- const x = C.size / 1024 / 1024 < o;
2984
- x || Ft.error(`文件大小超过:${o}M, 请重试`);
2983
+ const w = C.size / 1024 / 1024 < o;
2984
+ w || Ft.error(`文件大小超过:${o}M, 请重试`);
2985
2985
  const _ = b.current.length + f.current < n;
2986
- return _ || Ft.error(`文件数量不能超过${n}个`), x && _ && f.current++, x && _ && j(C), $t.LIST_IGNORE;
2986
+ return _ || Ft.error(`文件数量不能超过${n}个`), w && _ && f.current++, w && _ && j(C), $t.LIST_IGNORE;
2987
2987
  }, j = (C) => {
2988
2988
  i ? (Ft.error("暂时不支持裁剪功能,后续兼容。。。。"), k({ file: C })) : k({ file: C });
2989
2989
  }, k = (C) => {
2990
- r ? r({ file: C.file, ...a }).then((x) => {
2991
- w([...b.current, ...x]);
2990
+ r ? r({ file: C.file, ...a }).then((w) => {
2991
+ x([...b.current, ...w]);
2992
2992
  }).finally(() => {
2993
2993
  f.current--;
2994
2994
  }) : (Object.assign(C.file, {
@@ -2998,24 +2998,24 @@ const cl = (e, t, r) => {
2998
2998
  type: Kc(C.file.type)
2999
2999
  })
3000
3000
  )
3001
- }), w([...b.current, C.file]), f.current--);
3001
+ }), x([...b.current, C.file]), f.current--);
3002
3002
  }, I = (C) => {
3003
- const { file: x, fileList: _ } = C, { status: S } = x;
3003
+ const { file: w, fileList: _ } = C, { status: S } = w;
3004
3004
  switch (S) {
3005
3005
  case "removed": {
3006
- w([..._]);
3006
+ x([..._]);
3007
3007
  break;
3008
3008
  }
3009
3009
  }
3010
3010
  }, Y = (C) => {
3011
- const x = (S) => {
3011
+ const w = (S) => {
3012
3012
  const E = S.split("/"), F = E[E.length - 1], [A] = F.split("?");
3013
3013
  return A;
3014
3014
  };
3015
3015
  return { uid: ((S) => {
3016
3016
  const E = b.current.find((F) => F.url === S);
3017
3017
  return E ? E.uid : dr();
3018
- })(C), name: x(C), url: C, status: "done" };
3018
+ })(C), name: w(C), url: C, status: "done" };
3019
3019
  }, $ = () => {
3020
3020
  switch (l) {
3021
3021
  case be.String:
@@ -3031,26 +3031,26 @@ const cl = (e, t, r) => {
3031
3031
  return q(() => {
3032
3032
  const C = $();
3033
3033
  if (at(C, u)) return;
3034
- let x = [];
3034
+ let w = [];
3035
3035
  switch (l) {
3036
3036
  case be.String: {
3037
- x = (u || "").split(",").filter((_) => _).map((_) => Y(_));
3037
+ w = (u || "").split(",").filter((_) => _).map((_) => Y(_));
3038
3038
  break;
3039
3039
  }
3040
3040
  case be["String[]"]: {
3041
- x = (u || []).map((_) => Y(_));
3041
+ w = (u || []).map((_) => Y(_));
3042
3042
  break;
3043
3043
  }
3044
3044
  case be["File[]"]: {
3045
- x = (u || []).map((_) => _);
3045
+ w = (u || []).map((_) => _);
3046
3046
  break;
3047
3047
  }
3048
3048
  case be.FileList: {
3049
- x = (u || []).map((_) => _);
3049
+ w = (u || []).map((_) => _);
3050
3050
  break;
3051
3051
  }
3052
3052
  }
3053
- w(x);
3053
+ x(w);
3054
3054
  }, [u]), q(() => {
3055
3055
  if (g.current) {
3056
3056
  g.current = !1;
@@ -3128,7 +3128,7 @@ const Wr = {
3128
3128
  n,
3129
3129
  e
3130
3130
  ), {
3131
- name: w,
3131
+ name: x,
3132
3132
  label: R,
3133
3133
  wrapperCol: T,
3134
3134
  labelCol: j,
@@ -3143,7 +3143,7 @@ const Wr = {
3143
3143
  setItemCollapse: v
3144
3144
  }));
3145
3145
  const $ = () => ({
3146
- name: w,
3146
+ name: x,
3147
3147
  label: R,
3148
3148
  rules: f,
3149
3149
  wrapperCol: T,
@@ -3152,8 +3152,8 @@ const Wr = {
3152
3152
  initialValue: I
3153
3153
  }), { setExtendFormComp: C } = jn();
3154
3154
  C(B);
3155
- const x = Qt(t), _ = er(t), S = () => {
3156
- if (x) {
3155
+ const w = Qt(t), _ = er(t), S = () => {
3156
+ if (w) {
3157
3157
  const E = B.get(t.component);
3158
3158
  return /* @__PURE__ */ h.jsx(
3159
3159
  E,
@@ -3166,7 +3166,7 @@ const Wr = {
3166
3166
  }
3167
3167
  return _ ? t.render({
3168
3168
  model: i,
3169
- name: w,
3169
+ name: x,
3170
3170
  disabled: b,
3171
3171
  methods: r,
3172
3172
  componentProps: g
@@ -3219,10 +3219,10 @@ const Wr = {
3219
3219
  }
3220
3220
  ), _l = {
3221
3221
  "group-wrapper": "_group-wrapper_g8zqi_1"
3222
- }, wl = ({ formProps: e }) => {
3222
+ }, xl = ({ formProps: e }) => {
3223
3223
  const { renderActions: t } = e;
3224
3224
  return /* @__PURE__ */ h.jsx("div", { className: _l["group-wrapper"], children: t == null ? void 0 : t() });
3225
- }, xl = {
3225
+ }, wl = {
3226
3226
  "xph-form-action": "_xph-form-action_8ws73_1"
3227
3227
  }, Cl = (e, t) => {
3228
3228
  console.log("render Form");
@@ -3240,7 +3240,7 @@ const Wr = {
3240
3240
  setFieldsValue: b,
3241
3241
  getFieldsValue: p,
3242
3242
  resetFields: v,
3243
- validator: w,
3243
+ validator: x,
3244
3244
  scrollToField: R
3245
3245
  } = ll(
3246
3246
  r,
@@ -3253,7 +3253,7 @@ const Wr = {
3253
3253
  labelCol: Y,
3254
3254
  colon: $,
3255
3255
  disabled: C,
3256
- labelWrap: x,
3256
+ labelWrap: w,
3257
3257
  labelAlign: _,
3258
3258
  scrollToFirstError: S,
3259
3259
  size: E
@@ -3264,7 +3264,7 @@ const Wr = {
3264
3264
  labelCol: Y,
3265
3265
  colon: $,
3266
3266
  disabled: C,
3267
- labelWrap: x,
3267
+ labelWrap: w,
3268
3268
  labelAlign: _,
3269
3269
  scrollToFirstError: S,
3270
3270
  size: E
@@ -3273,7 +3273,7 @@ const Wr = {
3273
3273
  setFieldsValue: b,
3274
3274
  getFieldsValue: p,
3275
3275
  resetFields: v,
3276
- validator: w,
3276
+ validator: x,
3277
3277
  scrollToField: R
3278
3278
  };
3279
3279
  return Pe(t, () => ({
@@ -3293,8 +3293,8 @@ const Wr = {
3293
3293
  },
3294
3294
  I
3295
3295
  ))) }),
3296
- /* @__PURE__ */ h.jsxs("div", { className: xl["xph-form-action"], children: [
3297
- /* @__PURE__ */ h.jsx(wl, { formProps: n }),
3296
+ /* @__PURE__ */ h.jsxs("div", { className: wl["xph-form-action"], children: [
3297
+ /* @__PURE__ */ h.jsx(xl, { formProps: n }),
3298
3298
  i ? /* @__PURE__ */ h.jsx(
3299
3299
  yl,
3300
3300
  {
@@ -3351,7 +3351,7 @@ const Wr = {
3351
3351
  n.current.validator().then(async (p) => {
3352
3352
  r.current.setLoading(!0), await f({
3353
3353
  values: n.current.getFieldsValue()
3354
- }).then((w) => w).finally(() => {
3354
+ }).then((x) => x).finally(() => {
3355
3355
  r.current.setLoading(!1);
3356
3356
  }) !== !1 && (r.current.close(), a.current = null);
3357
3357
  });
@@ -3362,7 +3362,7 @@ const Wr = {
3362
3362
  r.current.setLoading(!0), await d({
3363
3363
  values: p,
3364
3364
  data: b
3365
- }).then((w) => (console.log(w), w)).finally(() => {
3365
+ }).then((x) => (console.log(x), x)).finally(() => {
3366
3366
  r.current.setLoading(!1);
3367
3367
  }) !== !1 && (r.current.close(), a.current = null);
3368
3368
  });
@@ -3741,24 +3741,24 @@ function Ul(e, t) {
3741
3741
  backupsDataSource: []
3742
3742
  }), p = {
3743
3743
  model: g,
3744
- update: (x) => {
3744
+ update: (w) => {
3745
3745
  var S;
3746
- const _ = { ...b.current, ...x };
3746
+ const _ = { ...b.current, ...w };
3747
3747
  f(_), b.current = _, (S = t.current) == null || S.setFormLoading(_.loading);
3748
3748
  }
3749
3749
  }, v = async () => {
3750
3750
  q(() => {
3751
- const { autoRequest: x } = e.table, { validator: _ } = t.current;
3752
- x && _().then((S) => {
3751
+ const { autoRequest: w } = e.table, { validator: _ } = t.current;
3752
+ w && _().then((S) => {
3753
3753
  j({ searchFormParams: S });
3754
3754
  });
3755
3755
  }, []);
3756
- }, w = async ({
3757
- searchFormParams: x,
3756
+ }, x = async ({
3757
+ searchFormParams: w,
3758
3758
  paginationParams: _
3759
3759
  }) => {
3760
3760
  const S = {
3761
- ...x,
3761
+ ...w,
3762
3762
  /** 没传paginationParams默认就是上一次 */
3763
3763
  [`${i.current}`]: d.current.current,
3764
3764
  [`${i.pageSize}`]: d.current.pageSize,
@@ -3783,10 +3783,10 @@ function Ul(e, t) {
3783
3783
  p.update({ loading: !1 });
3784
3784
  });
3785
3785
  }, R = async ({
3786
- searchFormParams: x,
3786
+ searchFormParams: w,
3787
3787
  paginationParams: _
3788
3788
  }) => {
3789
- const S = { ...x };
3789
+ const S = { ...w };
3790
3790
  return r(S).then((E) => {
3791
3791
  const { list: F } = fr(a, E), A = n ? n(F) : F;
3792
3792
  p.update({
@@ -3800,11 +3800,11 @@ function Ul(e, t) {
3800
3800
  p.update({ loading: !1 });
3801
3801
  });
3802
3802
  }, T = async ({
3803
- searchFormParams: x,
3803
+ searchFormParams: w,
3804
3804
  paginationParams: _
3805
3805
  }) => {
3806
3806
  var E;
3807
- const S = { ...x };
3807
+ const S = { ...w };
3808
3808
  if (_) {
3809
3809
  const { current: F, pageSize: A } = _;
3810
3810
  u.update({
@@ -3836,25 +3836,25 @@ function Ul(e, t) {
3836
3836
  p.update({ loading: !1 });
3837
3837
  });
3838
3838
  }, j = async ({
3839
- searchFormParams: x,
3839
+ searchFormParams: w,
3840
3840
  paginationParams: _
3841
3841
  }) => {
3842
3842
  if (p.update({ loading: !0, selection: [] }), r)
3843
3843
  switch (!!d.current) {
3844
3844
  case !0:
3845
3845
  return o === !0 ? T({
3846
- searchFormParams: x,
3846
+ searchFormParams: w,
3847
3847
  paginationParams: _
3848
3848
  }) : o === !1 ? R({
3849
- searchFormParams: x,
3849
+ searchFormParams: w,
3850
3850
  paginationParams: _
3851
- }) : w({
3852
- searchFormParams: x,
3851
+ }) : x({
3852
+ searchFormParams: w,
3853
3853
  paginationParams: _
3854
3854
  });
3855
3855
  case !1:
3856
3856
  return R({
3857
- searchFormParams: x,
3857
+ searchFormParams: w,
3858
3858
  paginationParams: _
3859
3859
  });
3860
3860
  }
@@ -3864,31 +3864,31 @@ function Ul(e, t) {
3864
3864
  table: p,
3865
3865
  pagination: u,
3866
3866
  firstGetTableData: v,
3867
- onPaginationChange: (x, _) => {
3867
+ onPaginationChange: (w, _) => {
3868
3868
  const { validator: S } = t.current;
3869
3869
  S().then((E) => {
3870
3870
  j({
3871
3871
  searchFormParams: E,
3872
- paginationParams: { current: x, pageSize: _ }
3872
+ paginationParams: { current: w, pageSize: _ }
3873
3873
  });
3874
- }), l && l(x, _);
3874
+ }), l && l(w, _);
3875
3875
  },
3876
- onAllChange: async (...x) => {
3877
- const [_, S, E, F] = x, A = [];
3876
+ onAllChange: async (...w) => {
3877
+ const [_, S, E, F] = w, A = [];
3878
3878
  for (let L = 0; L < A.length && !A[L](); L++)
3879
3879
  ;
3880
3880
  s && s(S, E, F);
3881
3881
  },
3882
3882
  resetData: async () => {
3883
- const { resetFields: x, validator: _ } = t.current;
3884
- return x().then(async () => {
3883
+ const { resetFields: w, validator: _ } = t.current;
3884
+ return w().then(async () => {
3885
3885
  const S = await _();
3886
3886
  return j({ searchFormParams: S });
3887
3887
  });
3888
3888
  },
3889
3889
  resetAllData: async () => {
3890
- const { resetFields: x, validator: _ } = t.current;
3891
- return x().then(async () => {
3890
+ const { resetFields: w, validator: _ } = t.current;
3891
+ return w().then(async () => {
3892
3892
  const S = {};
3893
3893
  if (d.current) {
3894
3894
  const { pageSize: E } = d.current;
@@ -3898,8 +3898,8 @@ function Ul(e, t) {
3898
3898
  });
3899
3899
  },
3900
3900
  reloadData: async () => {
3901
- const { validator: x } = t.current;
3902
- return x().then((_) => j({
3901
+ const { validator: w } = t.current;
3902
+ return w().then((_) => j({
3903
3903
  searchFormParams: _
3904
3904
  }));
3905
3905
  }
@@ -3936,11 +3936,14 @@ const ql = (e, t) => {
3936
3936
  };
3937
3937
  function Yl(e, t) {
3938
3938
  const { scroll: r, virtual: n } = e.table, o = D(null), [s, i] = X(0), [a, l] = X(0), u = () => {
3939
- o.current && (i(o.current.offsetWidth), l(o.current.offsetHeight));
3939
+ o.current && (console.log("触发了table的handleResize"), i(o.current.offsetWidth), l(o.current.offsetHeight));
3940
3940
  };
3941
- q(() => (u(), window.addEventListener("resize", u), () => {
3942
- window.removeEventListener("resize", u);
3943
- }), []);
3941
+ q(() => {
3942
+ const g = new ResizeObserver(u);
3943
+ return o.current && g.observe(o.current), () => {
3944
+ g && o.current && g.unobserve(o.current);
3945
+ };
3946
+ }, []);
3944
3947
  const d = lt(() => t ? n ? { x: s, y: a - 70, ...r } : { x: "max-content", y: a - 70, ...r } : {
3945
3948
  x: "max-content",
3946
3949
  ...r
@@ -4005,7 +4008,7 @@ const An = () => {
4005
4008
  resetData: g,
4006
4009
  resetAllData: f,
4007
4010
  reloadData: b
4008
- } = Ul(e, t), { rowSelection: p } = ql(e, i), { divRef: v, scroll: w } = Yl(e, r), { getTopToolbarBindProps: R } = Gl(e, i), T = () => {
4011
+ } = Ul(e, t), { rowSelection: p } = ql(e, i), { divRef: v, scroll: x } = Yl(e, r), { getTopToolbarBindProps: R } = Gl(e, i), T = () => {
4009
4012
  const {
4010
4013
  autoRequest: j,
4011
4014
  api: k,
@@ -4013,7 +4016,7 @@ const An = () => {
4013
4016
  autoPagination: Y,
4014
4017
  columns: $,
4015
4018
  scroll: C,
4016
- pagination: x,
4019
+ pagination: w,
4017
4020
  rowSelection: _,
4018
4021
  onChange: S,
4019
4022
  ...E
@@ -4043,7 +4046,7 @@ const An = () => {
4043
4046
  dataSource: i.model.dataSource,
4044
4047
  pagination: !1,
4045
4048
  rowSelection: p,
4046
- scroll: w,
4049
+ scroll: x,
4047
4050
  onChange: d
4048
4051
  }
4049
4052
  )