xph-crud 0.1.5 → 0.1.7

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,5 +1,5 @@
1
- import Ee, { useCallback as Te, createContext as Jn, useContext as Zn, useState as ee, useRef as N, useEffect as Z, Fragment as Ur, forwardRef as _e, useImperativeHandle as Ae, useMemo as ut, memo as Vr } from "react";
2
- import { Button as me, Dropdown as Yr, theme as Ze, Space as Qn, Spin as qr, Form as rt, Select as Gr, TreeSelect as Xr, Transfer as Kr, AutoComplete as Jr, Upload as Et, message as Rt, Input as Ut, InputNumber as eo, Switch as to, Radio as Zr, Checkbox as Qr, Cascader as ro, TimePicker as no, DatePicker as dt, Col as oo, Row as so, Table as io, Pagination as ao } from "antd";
1
+ import Ee, { useCallback as Te, createContext as Jn, useContext as Zn, useState as ee, useRef as N, useEffect as Z, Fragment as Vr, forwardRef as _e, useImperativeHandle as Ae, useMemo as ut, memo as Ur } from "react";
2
+ import { Button as me, Dropdown as Yr, theme as Ze, Space as Qn, Spin as qr, Form as rt, Select as Gr, TreeSelect as Xr, Transfer as Kr, AutoComplete as Jr, Upload as Et, message as Rt, Input as Vt, InputNumber as eo, Switch as to, Radio as Zr, Checkbox as Qr, Cascader as ro, TimePicker as no, DatePicker as dt, Col as oo, Row as so, Table as io, Pagination as ao } from "antd";
3
3
  import { CaretDownOutlined as en, ShrinkOutlined as co, FullscreenOutlined as lo, FullscreenExitOutlined as uo, CloseOutlined as fo, DownOutlined as po, UpOutlined as ho, SearchOutlined as go, ReloadOutlined as mo } from "@ant-design/icons";
4
4
  import bo from "react-dom";
5
5
  const At = [];
@@ -46,11 +46,11 @@ function wo() {
46
46
  pr = 1;
47
47
  var e = Ee, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
48
48
  function s(a, l, u) {
49
- var d, h = {}, p = null, v = null;
50
- u !== void 0 && (p = "" + u), l.key !== void 0 && (p = "" + l.key), l.ref !== void 0 && (v = l.ref);
49
+ var d, h = {}, f = null, v = null;
50
+ u !== void 0 && (f = "" + u), l.key !== void 0 && (f = "" + l.key), l.ref !== void 0 && (v = l.ref);
51
51
  for (d in l) n.call(l, d) && !i.hasOwnProperty(d) && (h[d] = l[d]);
52
52
  if (a && a.defaultProps) for (d in l = a.defaultProps, l) h[d] === void 0 && (h[d] = l[d]);
53
- return { $$typeof: t, type: a, key: p, ref: v, props: h, _owner: o.current };
53
+ return { $$typeof: t, type: a, key: f, ref: v, props: h, _owner: o.current };
54
54
  }
55
55
  return Ye.Fragment = r, Ye.jsx = s, Ye.jsxs = s, Ye;
56
56
  }
@@ -67,11 +67,11 @@ var qe = {};
67
67
  var hr;
68
68
  function xo() {
69
69
  return hr || (hr = 1, process.env.NODE_ENV !== "production" && function() {
70
- var e = Ee, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = 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"), h = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), f = Symbol.iterator, x = "@@iterator";
70
+ var e = Ee, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = 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"), h = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), p = Symbol.iterator, x = "@@iterator";
71
71
  function R(c) {
72
72
  if (c === null || typeof c != "object")
73
73
  return null;
74
- var m = f && c[f] || c[x];
74
+ var m = p && c[p] || c[x];
75
75
  return typeof m == "function" ? m : null;
76
76
  }
77
77
  var k = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -92,10 +92,10 @@ function xo() {
92
92
  K.unshift("Warning: " + m), Function.prototype.apply.call(console[c], console, K);
93
93
  }
94
94
  }
95
- var U = !1, V = !1, q = !1, H = !1, j = !1, D;
95
+ var V = !1, U = !1, q = !1, H = !1, j = !1, D;
96
96
  D = Symbol.for("react.module.reference");
97
97
  function y(c) {
98
- return !!(typeof c == "string" || typeof c == "function" || c === n || c === i || j || c === o || c === u || c === d || H || c === v || U || V || q || typeof c == "object" && c !== null && (c.$$typeof === p || c.$$typeof === h || c.$$typeof === s || c.$$typeof === a || c.$$typeof === l || // This needs to include all possible module reference object
98
+ return !!(typeof c == "string" || typeof c == "function" || c === n || c === i || j || c === o || c === u || c === d || H || c === v || V || U || q || typeof c == "object" && c !== null && (c.$$typeof === f || c.$$typeof === h || c.$$typeof === s || c.$$typeof === a || c.$$typeof === l || // This needs to include all possible module reference object
99
99
  // types supported by any Flight configuration anywhere since
100
100
  // we don't know which Flight build this will end up being used
101
101
  // with.
@@ -145,7 +145,7 @@ function xo() {
145
145
  case h:
146
146
  var L = c.displayName || null;
147
147
  return L !== null ? L : I(c.type) || "Memo";
148
- case p: {
148
+ case f: {
149
149
  var G = c, K = G._payload, Y = G._init;
150
150
  try {
151
151
  return I(Y(K));
@@ -334,7 +334,7 @@ function xo() {
334
334
  return Re(c.render);
335
335
  case h:
336
336
  return De(c.type, m, S);
337
- case p: {
337
+ case f: {
338
338
  var L = c, G = L._payload, K = L._init;
339
339
  try {
340
340
  return De(K(G), m, S);
@@ -372,7 +372,7 @@ function xo() {
372
372
  }
373
373
  }
374
374
  var _t = Array.isArray;
375
- function Ue(c) {
375
+ function Ve(c) {
376
376
  return _t(c);
377
377
  }
378
378
  function wt(c) {
@@ -395,7 +395,7 @@ function xo() {
395
395
  if (xt(c))
396
396
  return O("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", wt(c)), er(c);
397
397
  }
398
- var Ve = k.ReactCurrentOwner, En = {
398
+ var Ue = k.ReactCurrentOwner, En = {
399
399
  key: !0,
400
400
  ref: !0,
401
401
  __self: !0,
@@ -419,9 +419,9 @@ function xo() {
419
419
  return c.key !== void 0;
420
420
  }
421
421
  function kn(c, m) {
422
- if (typeof c.ref == "string" && Ve.current && m && Ve.current.stateNode !== m) {
423
- var S = I(Ve.current.type);
424
- Ct[S] || (O('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', I(Ve.current.type), c.ref), Ct[S] = !0);
422
+ if (typeof c.ref == "string" && Ue.current && m && Ue.current.stateNode !== m) {
423
+ var S = I(Ue.current.type);
424
+ Ct[S] || (O('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', I(Ue.current.type), c.ref), Ct[S] = !0);
425
425
  }
426
426
  }
427
427
  function zn(c, m) {
@@ -490,7 +490,7 @@ function xo() {
490
490
  var ne = typeof c == "function" ? c.displayName || c.name || "Unknown" : c;
491
491
  B && zn(Y, ne), ae && In(Y, ne);
492
492
  }
493
- return Ln(c, B, ae, G, L, Ve.current, Y);
493
+ return Ln(c, B, ae, G, L, Ue.current, Y);
494
494
  }
495
495
  }
496
496
  var Tt = k.ReactCurrentOwner, or = k.ReactDebugCurrentFrame;
@@ -551,7 +551,7 @@ Check the top-level render call using <` + S + ">.");
551
551
  {
552
552
  if (typeof c != "object")
553
553
  return;
554
- if (Ue(c))
554
+ if (Ve(c))
555
555
  for (var S = 0; S < c.length; S++) {
556
556
  var L = c[S];
557
557
  $t(L) && ar(L, m);
@@ -591,7 +591,7 @@ Check the top-level render call using <` + S + ">.");
591
591
  typeof m.getDefaultProps == "function" && !m.getDefaultProps.isReactClassApproved && O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
592
592
  }
593
593
  }
594
- function Un(c) {
594
+ function Vn(c) {
595
595
  {
596
596
  for (var m = Object.keys(c.props), S = 0; S < m.length; S++) {
597
597
  var L = m[S];
@@ -613,7 +613,7 @@ Check the top-level render call using <` + S + ">.");
613
613
  var ae = Nn();
614
614
  ae ? B += ae : B += sr();
615
615
  var te;
616
- c === null ? te = "null" : Ue(c) ? te = "array" : c !== void 0 && c.$$typeof === t ? (te = "<" + (I(c.type) || "Unknown") + " />", B = " Did you accidentally export a JSX literal instead of a component?") : te = typeof c, O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", te, B);
616
+ c === null ? te = "null" : Ve(c) ? te = "array" : c !== void 0 && c.$$typeof === t ? (te = "<" + (I(c.type) || "Unknown") + " />", B = " Did you accidentally export a JSX literal instead of a component?") : te = typeof c, O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", te, B);
617
617
  }
618
618
  var ne = Wn(c, m, S, G, K);
619
619
  if (ne == null)
@@ -622,7 +622,7 @@ Check the top-level render call using <` + S + ">.");
622
622
  var ge = m.children;
623
623
  if (ge !== void 0)
624
624
  if (L)
625
- if (Ue(ge)) {
625
+ if (Ve(ge)) {
626
626
  for (var Be = 0; Be < ge.length; Be++)
627
627
  cr(ge[Be], c);
628
628
  Object.freeze && Object.freeze(ge);
@@ -645,16 +645,16 @@ React keys must be passed directly to JSX without using spread:
645
645
  <%s key={someKey} {...props} />`, Pt, ke, Xn, ke), lr[ke + Pt] = !0;
646
646
  }
647
647
  }
648
- return c === n ? Un(ne) : Bn(ne), ne;
648
+ return c === n ? Vn(ne) : Bn(ne), ne;
649
649
  }
650
650
  }
651
- function Vn(c, m, S) {
651
+ function Un(c, m, S) {
652
652
  return ur(c, m, S, !0);
653
653
  }
654
654
  function Yn(c, m, S) {
655
655
  return ur(c, m, S, !1);
656
656
  }
657
- var qn = Yn, Gn = Vn;
657
+ var qn = Yn, Gn = Un;
658
658
  qe.Fragment = n, qe.jsx = qn, qe.jsxs = Gn;
659
659
  }()), qe;
660
660
  }
@@ -682,7 +682,7 @@ function ye(e) {
682
682
  return e != null && typeof e == "object";
683
683
  }
684
684
  var Oo = "[object Symbol]";
685
- function Vt(e) {
685
+ function Ut(e) {
686
686
  return typeof e == "symbol" || ye(e) && xe(e) == Oo;
687
687
  }
688
688
  function Eo(e, t) {
@@ -696,7 +696,7 @@ function nn(e) {
696
696
  return e;
697
697
  if (fe(e))
698
698
  return Eo(e, nn) + "";
699
- if (Vt(e))
699
+ if (Ut(e))
700
700
  return br ? br.call(e) : "";
701
701
  var t = e + "";
702
702
  return t == "0" && 1 / e == -Ao ? "-0" : t;
@@ -736,7 +736,7 @@ function Ie(e) {
736
736
  }
737
737
  return "";
738
738
  }
739
- var Ho = /[\\^$.*+?()[\]{}|]/g, Bo = /^\[object .+?Constructor\]$/, Uo = Function.prototype, Vo = Object.prototype, Yo = Uo.toString, qo = Vo.hasOwnProperty, Go = RegExp(
739
+ var Ho = /[\\^$.*+?()[\]{}|]/g, Bo = /^\[object .+?Constructor\]$/, Vo = Function.prototype, Uo = Object.prototype, Yo = Vo.toString, qo = Uo.hasOwnProperty, Go = RegExp(
740
740
  "^" + Yo.call(qo).replace(Ho, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
741
741
  );
742
742
  function Xo(e) {
@@ -904,8 +904,8 @@ var cn = Object.prototype, _s = cn.hasOwnProperty, ws = cn.propertyIsEnumerable,
904
904
  function xs() {
905
905
  return !1;
906
906
  }
907
- var ln = typeof exports == "object" && exports && !exports.nodeType && exports, xr = ln && typeof module == "object" && module && !module.nodeType && module, Cs = xr && xr.exports === ln, Cr = Cs ? we.Buffer : void 0, Ts = Cr ? Cr.isBuffer : void 0, ot = Ts || xs, Ss = "[object Arguments]", $s = "[object Array]", Ps = "[object Boolean]", Rs = "[object Date]", Ds = "[object Error]", js = "[object Function]", Fs = "[object Map]", Os = "[object Number]", Es = "[object Object]", As = "[object RegExp]", Ms = "[object Set]", ks = "[object String]", zs = "[object WeakMap]", Is = "[object ArrayBuffer]", Ls = "[object DataView]", Ws = "[object Float32Array]", Ns = "[object Float64Array]", Hs = "[object Int8Array]", Bs = "[object Int16Array]", Us = "[object Int32Array]", Vs = "[object Uint8Array]", Ys = "[object Uint8ClampedArray]", qs = "[object Uint16Array]", Gs = "[object Uint32Array]", J = {};
908
- J[Ws] = J[Ns] = J[Hs] = J[Bs] = J[Us] = J[Vs] = J[Ys] = J[qs] = J[Gs] = !0;
907
+ var ln = typeof exports == "object" && exports && !exports.nodeType && exports, xr = ln && typeof module == "object" && module && !module.nodeType && module, Cs = xr && xr.exports === ln, Cr = Cs ? we.Buffer : void 0, Ts = Cr ? Cr.isBuffer : void 0, ot = Ts || xs, Ss = "[object Arguments]", $s = "[object Array]", Ps = "[object Boolean]", Rs = "[object Date]", Ds = "[object Error]", js = "[object Function]", Fs = "[object Map]", Os = "[object Number]", Es = "[object Object]", As = "[object RegExp]", Ms = "[object Set]", ks = "[object String]", zs = "[object WeakMap]", Is = "[object ArrayBuffer]", Ls = "[object DataView]", Ws = "[object Float32Array]", Ns = "[object Float64Array]", Hs = "[object Int8Array]", Bs = "[object Int16Array]", Vs = "[object Int32Array]", Us = "[object Uint8Array]", Ys = "[object Uint8ClampedArray]", qs = "[object Uint16Array]", Gs = "[object Uint32Array]", J = {};
908
+ J[Ws] = J[Ns] = J[Hs] = J[Bs] = J[Vs] = J[Us] = J[Ys] = J[qs] = J[Gs] = !0;
909
909
  J[Ss] = J[$s] = J[Is] = J[Ps] = J[Ls] = J[Rs] = J[Ds] = J[js] = J[Fs] = J[Os] = J[Es] = J[As] = J[Ms] = J[ks] = J[zs] = !1;
910
910
  function Xs(e) {
911
911
  return ye(e) && an(e.length) && !!J[xe(e)];
@@ -973,7 +973,7 @@ function di(e, t) {
973
973
  if (fe(e))
974
974
  return !1;
975
975
  var r = typeof e;
976
- return r == "number" || r == "symbol" || r == "boolean" || e == null || Vt(e) ? !0 : ui.test(e) || !li.test(e) || t != null && e in Object(t);
976
+ return r == "number" || r == "symbol" || r == "boolean" || e == null || Ut(e) ? !0 : ui.test(e) || !li.test(e) || t != null && e in Object(t);
977
977
  }
978
978
  var Ke = Le(Object, "create");
979
979
  function fi() {
@@ -1129,12 +1129,12 @@ function Hi(e) {
1129
1129
  function Bi(e, t) {
1130
1130
  return fe(e) ? e : di(e, t) ? [e] : Ni(Hi(e));
1131
1131
  }
1132
- var Ui = 1 / 0;
1133
- function Vi(e) {
1134
- if (typeof e == "string" || Vt(e))
1132
+ var Vi = 1 / 0;
1133
+ function Ui(e) {
1134
+ if (typeof e == "string" || Ut(e))
1135
1135
  return e;
1136
1136
  var t = e + "";
1137
- return t == "0" && 1 / e == -Ui ? "-0" : t;
1137
+ return t == "0" && 1 / e == -Vi ? "-0" : t;
1138
1138
  }
1139
1139
  function Yi(e, t) {
1140
1140
  for (var r = -1, n = t.length, o = e.length; ++r < n; )
@@ -1272,31 +1272,31 @@ function bn(e, t, r, n, o, i) {
1272
1272
  var u = i.get(e), d = i.get(t);
1273
1273
  if (u && d)
1274
1274
  return u == t && d == e;
1275
- var h = -1, p = !0, v = r & Ra ? new it() : void 0;
1275
+ var h = -1, f = !0, v = r & Ra ? new it() : void 0;
1276
1276
  for (i.set(e, t), i.set(t, e); ++h < a; ) {
1277
- var f = e[h], x = t[h];
1277
+ var p = e[h], x = t[h];
1278
1278
  if (n)
1279
- var R = s ? n(x, f, h, t, e, i) : n(f, x, h, e, t, i);
1279
+ var R = s ? n(x, p, h, t, e, i) : n(p, x, h, e, t, i);
1280
1280
  if (R !== void 0) {
1281
1281
  if (R)
1282
1282
  continue;
1283
- p = !1;
1283
+ f = !1;
1284
1284
  break;
1285
1285
  }
1286
1286
  if (v) {
1287
1287
  if (!Sa(t, function(k, O) {
1288
- if (!$a(v, O) && (f === k || o(f, k, r, n, i)))
1288
+ if (!$a(v, O) && (p === k || o(p, k, r, n, i)))
1289
1289
  return v.push(O);
1290
1290
  })) {
1291
- p = !1;
1291
+ f = !1;
1292
1292
  break;
1293
1293
  }
1294
- } else if (!(f === x || o(f, x, r, n, i))) {
1295
- p = !1;
1294
+ } else if (!(p === x || o(p, x, r, n, i))) {
1295
+ f = !1;
1296
1296
  break;
1297
1297
  }
1298
1298
  }
1299
- return i.delete(e), i.delete(t), p;
1299
+ return i.delete(e), i.delete(t), f;
1300
1300
  }
1301
1301
  function Da(e) {
1302
1302
  var t = -1, r = Array(e.size);
@@ -1311,7 +1311,7 @@ function ja(e) {
1311
1311
  }), r;
1312
1312
  }
1313
1313
  var Fa = 1, Oa = 2, Ea = "[object Boolean]", Aa = "[object Date]", Ma = "[object Error]", ka = "[object Map]", za = "[object Number]", Ia = "[object RegExp]", La = "[object Set]", Wa = "[object String]", Na = "[object Symbol]", Ha = "[object ArrayBuffer]", Ba = "[object DataView]", Mr = Fe ? Fe.prototype : void 0, Ft = Mr ? Mr.valueOf : void 0;
1314
- function Ua(e, t, r, n, o, i, s) {
1314
+ function Va(e, t, r, n, o, i, s) {
1315
1315
  switch (r) {
1316
1316
  case Ba:
1317
1317
  if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset)
@@ -1346,35 +1346,35 @@ function Ua(e, t, r, n, o, i, s) {
1346
1346
  }
1347
1347
  return !1;
1348
1348
  }
1349
- var Va = 1, Ya = Object.prototype, qa = Ya.hasOwnProperty;
1349
+ var Ua = 1, Ya = Object.prototype, qa = Ya.hasOwnProperty;
1350
1350
  function Ga(e, t, r, n, o, i) {
1351
- var s = r & Va, a = Dr(e), l = a.length, u = Dr(t), d = u.length;
1351
+ var s = r & Ua, a = Dr(e), l = a.length, u = Dr(t), d = u.length;
1352
1352
  if (l != d && !s)
1353
1353
  return !1;
1354
1354
  for (var h = l; h--; ) {
1355
- var p = a[h];
1356
- if (!(s ? p in t : qa.call(t, p)))
1355
+ var f = a[h];
1356
+ if (!(s ? f in t : qa.call(t, f)))
1357
1357
  return !1;
1358
1358
  }
1359
- var v = i.get(e), f = i.get(t);
1360
- if (v && f)
1361
- return v == t && f == e;
1359
+ var v = i.get(e), p = i.get(t);
1360
+ if (v && p)
1361
+ return v == t && p == e;
1362
1362
  var x = !0;
1363
1363
  i.set(e, t), i.set(t, e);
1364
1364
  for (var R = s; ++h < l; ) {
1365
- p = a[h];
1366
- var k = e[p], O = t[p];
1365
+ f = a[h];
1366
+ var k = e[f], O = t[f];
1367
1367
  if (n)
1368
- var A = s ? n(O, k, p, t, e, i) : n(k, O, p, e, t, i);
1368
+ var A = s ? n(O, k, f, t, e, i) : n(k, O, f, e, t, i);
1369
1369
  if (!(A === void 0 ? k === O || o(k, O, r, n, i) : A)) {
1370
1370
  x = !1;
1371
1371
  break;
1372
1372
  }
1373
- R || (R = p == "constructor");
1373
+ R || (R = f == "constructor");
1374
1374
  }
1375
1375
  if (x && !R) {
1376
- var U = e.constructor, V = t.constructor;
1377
- U != V && "constructor" in e && "constructor" in t && !(typeof U == "function" && U instanceof U && typeof V == "function" && V instanceof V) && (x = !1);
1376
+ var V = e.constructor, U = t.constructor;
1377
+ V != U && "constructor" in e && "constructor" in t && !(typeof V == "function" && V instanceof V && typeof U == "function" && U instanceof U) && (x = !1);
1378
1378
  }
1379
1379
  return i.delete(e), i.delete(t), x;
1380
1380
  }
@@ -1382,22 +1382,22 @@ var Xa = 1, kr = "[object Arguments]", zr = "[object Array]", et = "[object Obje
1382
1382
  function Ja(e, t, r, n, o, i) {
1383
1383
  var s = fe(e), a = fe(t), l = s ? zr : je(e), u = a ? zr : je(t);
1384
1384
  l = l == kr ? et : l, u = u == kr ? et : u;
1385
- var d = l == et, h = u == et, p = l == u;
1386
- if (p && ot(e)) {
1385
+ var d = l == et, h = u == et, f = l == u;
1386
+ if (f && ot(e)) {
1387
1387
  if (!ot(t))
1388
1388
  return !1;
1389
1389
  s = !0, d = !1;
1390
1390
  }
1391
- if (p && !d)
1392
- return i || (i = new Se()), s || Xt(e) ? bn(e, t, r, n, o, i) : Ua(e, t, l, r, n, o, i);
1391
+ if (f && !d)
1392
+ return i || (i = new Se()), s || Xt(e) ? bn(e, t, r, n, o, i) : Va(e, t, l, r, n, o, i);
1393
1393
  if (!(r & Xa)) {
1394
- var v = d && Ir.call(e, "__wrapped__"), f = h && Ir.call(t, "__wrapped__");
1395
- if (v || f) {
1396
- var x = v ? e.value() : e, R = f ? t.value() : t;
1394
+ var v = d && Ir.call(e, "__wrapped__"), p = h && Ir.call(t, "__wrapped__");
1395
+ if (v || p) {
1396
+ var x = v ? e.value() : e, R = p ? t.value() : t;
1397
1397
  return i || (i = new Se()), o(x, R, r, n, i);
1398
1398
  }
1399
1399
  }
1400
- return p ? (i || (i = new Se()), Ga(e, t, r, n, o, i)) : !1;
1400
+ return f ? (i || (i = new Se()), Ga(e, t, r, n, o, i)) : !1;
1401
1401
  }
1402
1402
  function vn(e, t, r, n, o) {
1403
1403
  return e === t ? !0 : e == null || t == null || !ye(e) && !ye(t) ? e !== e && t !== t : Ja(e, t, r, n, vn, o);
@@ -1434,8 +1434,8 @@ function rc(e, t, r, n, o, i, s) {
1434
1434
  }
1435
1435
  var d = i ? i(a, l, r + "", e, t, s) : void 0, h = d === void 0;
1436
1436
  if (h) {
1437
- var p = fe(l), v = !p && ot(l), f = !p && !v && Xt(l);
1438
- d = l, p || v || f ? fe(a) ? d = a : ec(a) ? d = Qo(a) : v ? (h = !1, d = ia(l)) : f ? (h = !1, d = _a(l)) : d = [] : Zi(l) || zt(l) ? (d = a, zt(a) ? d = tc(a) : (!be(a) || oe(a)) && (d = wa(l))) : h = !1;
1437
+ var f = fe(l), v = !f && ot(l), p = !f && !v && Xt(l);
1438
+ d = l, f || v || p ? fe(a) ? d = a : ec(a) ? d = Qo(a) : v ? (h = !1, d = ia(l)) : p ? (h = !1, d = _a(l)) : d = [] : Zi(l) || zt(l) ? (d = a, zt(a) ? d = tc(a) : (!be(a) || oe(a)) && (d = wa(l))) : h = !1;
1439
1439
  }
1440
1440
  h && (s.set(l, d), o(d, l, n, i, s), s.delete(l)), Nt(e, r, d);
1441
1441
  }
@@ -1478,7 +1478,7 @@ function cc(e, t, r, n) {
1478
1478
  return e;
1479
1479
  t = Bi(t, e);
1480
1480
  for (var o = -1, i = t.length, s = i - 1, a = e; a != null && ++o < i; ) {
1481
- var l = Vi(t[o]), u = r;
1481
+ var l = Ui(t[o]), u = r;
1482
1482
  if (l === "__proto__" || l === "constructor" || l === "prototype")
1483
1483
  return e;
1484
1484
  if (o != s) {
@@ -1636,7 +1636,7 @@ const Tn = Jn({}), iu = (e) => {
1636
1636
  );
1637
1637
  }, Jt = (e) => {
1638
1638
  const { actionsProps: t } = lc(e), { showActionItems: r, ellipsisActionItems: n } = dc(t), { renderContent: o } = Cn();
1639
- return t != null && t.render ? t.render : /* @__PURE__ */ g.jsxs(Ur, { children: [
1639
+ return t != null && t.render ? t.render : /* @__PURE__ */ g.jsxs(Vr, { children: [
1640
1640
  r == null ? void 0 : r.map((i, s) => o(i, s)),
1641
1641
  n != null && n.length ? /* @__PURE__ */ g.jsx(mc, { actionsProps: t, items: n }) : null
1642
1642
  ] });
@@ -1695,14 +1695,14 @@ const vc = (e) => {
1695
1695
  return {
1696
1696
  extendDialogProps: e == null ? void 0 : e.dialog
1697
1697
  };
1698
- }, _c = (e, t, r) => {
1699
- const { onOpen: n, onClose: o } = e;
1698
+ }, _c = (e, t, r, n) => {
1699
+ const { onOpen: o, onClose: i } = t;
1700
1700
  return {
1701
1701
  open: async () => {
1702
- n && n(), await t(!0);
1702
+ e || (o && o(), await r(!0));
1703
1703
  },
1704
1704
  close: () => {
1705
- t(!1), r(!1), o && o();
1705
+ r(!1), n(!1), i && i();
1706
1706
  }
1707
1707
  };
1708
1708
  }, wc = ({
@@ -1746,16 +1746,16 @@ const vc = (e) => {
1746
1746
  setDialogPosition: n
1747
1747
  }) => {
1748
1748
  const o = N(0), i = N(0), s = (d) => {
1749
- const h = d.getBoundingClientRect(), p = h.width, v = h.height, f = -0.5 * p, x = -0.5 * v;
1750
- return { translateX: f, translateY: x };
1749
+ const h = d.getBoundingClientRect(), f = h.width, v = h.height, p = -0.5 * f, x = -0.5 * v;
1750
+ return { translateX: p, translateY: x };
1751
1751
  }, a = Te((d) => {
1752
- const { offsetLeft: h, offsetTop: p } = r.current;
1753
- o.current = d.clientX - h, i.current = d.clientY - p, document.addEventListener("mousemove", l), document.addEventListener("mouseup", u);
1752
+ const { offsetLeft: h, offsetTop: f } = r.current;
1753
+ o.current = d.clientX - h, i.current = d.clientY - f, document.addEventListener("mousemove", l), document.addEventListener("mouseup", u);
1754
1754
  }, []), l = Te((d) => {
1755
- const h = r.current, { translateX: p, translateY: v } = s(h);
1756
- let f = d.clientX - o.current, x = d.clientY - i.current;
1757
- const R = -p, k = -v, O = e.current.scrollWidth - h.offsetWidth - p, A = e.current.scrollHeight - h.offsetHeight - v;
1758
- f < R && (f = R), f > O && (f = O), x < k && (x = k), x > A && (x = A), n({ left: f, top: x });
1755
+ const h = r.current, { translateX: f, translateY: v } = s(h);
1756
+ let p = d.clientX - o.current, x = d.clientY - i.current;
1757
+ const R = -f, k = -v, O = e.current.scrollWidth - h.offsetWidth - f, A = e.current.scrollHeight - h.offsetHeight - v;
1758
+ p < R && (p = R), p > O && (p = O), x < k && (x = k), x > A && (x = A), n({ left: p, top: x });
1759
1759
  }, []), u = Te(() => {
1760
1760
  document.removeEventListener("mousemove", l), document.removeEventListener("mouseup", u);
1761
1761
  }, []);
@@ -1781,13 +1781,13 @@ const vc = (e) => {
1781
1781
  },
1782
1782
  onMaximize: (v) => {
1783
1783
  if (v === "minimize" && s(!1), v === "maximize") {
1784
- const { scrollWidth: f, scrollHeight: x } = e.current, R = Math.floor(f), k = Math.floor(x), O = Math.floor(f / 2), A = Math.floor(x / 2);
1784
+ const { scrollWidth: p, scrollHeight: x } = e.current, R = Math.floor(p), k = Math.floor(x), O = Math.floor(p / 2), A = Math.floor(x / 2);
1785
1785
  n({ width: R, height: k }), o({ top: A, left: O }), l(!0);
1786
1786
  }
1787
1787
  },
1788
1788
  onRecovery: () => {
1789
- const { top: v, left: f, width: x, height: R } = t.current;
1790
- n({ width: x, height: R }), o({ top: v, left: f }), l(!1);
1789
+ const { top: v, left: p, width: x, height: R } = t.current;
1790
+ n({ width: x, height: R }), o({ top: v, left: p }), l(!1);
1791
1791
  },
1792
1792
  onClose: () => {
1793
1793
  s(!1), l(!1), r();
@@ -1803,23 +1803,23 @@ const vc = (e) => {
1803
1803
  }) => {
1804
1804
  const { clientHeight: s, scrollHeight: a } = t.current, [l, u] = ee(0), [d, h] = ee(
1805
1805
  "unset"
1806
- ), p = (v, f) => {
1807
- var V, q;
1808
- const k = (V = o.current) == null ? void 0 : V.offsetHeight, O = (q = i.current) == null ? void 0 : q.offsetHeight;
1806
+ ), f = (v, p) => {
1807
+ var U, q;
1808
+ const k = (U = o.current) == null ? void 0 : U.offsetHeight, O = (q = i.current) == null ? void 0 : q.offsetHeight;
1809
1809
  let A = v - k - O - 0;
1810
- const U = f - k - O - 0;
1811
- return A > U && (A = U), A;
1810
+ const V = p - k - O - 0;
1811
+ return A > V && (A = V), A;
1812
1812
  };
1813
1813
  return Z(() => {
1814
1814
  var v;
1815
1815
  if (l === s) {
1816
1816
  console.log("触发了dialogMaxHeight改变");
1817
- const f = (v = n.current) == null ? void 0 : v.getBoundingClientRect().height;
1818
- h(p(f, s)), u("unset");
1817
+ const p = (v = n.current) == null ? void 0 : v.getBoundingClientRect().height;
1818
+ h(f(p, s)), u("unset");
1819
1819
  }
1820
1820
  }, [l]), Z(() => {
1821
1821
  r !== "unset" && r !== 0 && (console.log("触发了重新设置contentMaxHeight", r), h(
1822
- p(
1822
+ f(
1823
1823
  r,
1824
1824
  r > s ? a : s
1825
1825
  )
@@ -1874,8 +1874,8 @@ const vc = (e) => {
1874
1874
  `.${o.xphDialog}`
1875
1875
  ), u = l[l.length - 1];
1876
1876
  if (((d = t.current) == null ? void 0 : d.parentNode) !== u && (i((h = t.current) == null ? void 0 : h.parentNode, u), a)) {
1877
- const p = a.target;
1878
- p.tagName === "INPUT" && p.focus && p.focus();
1877
+ const f = a.target;
1878
+ f.tagName === "INPUT" && f.focus && f.focus();
1879
1879
  }
1880
1880
  };
1881
1881
  return Z(() => {
@@ -1903,13 +1903,13 @@ const vc = (e) => {
1903
1903
  const a = Array.from(
1904
1904
  n.querySelectorAll(`.${o.xphDialog}`)
1905
1905
  ), l = a.map(
1906
- (p) => p.querySelector(`.${o.xphDialogWrapper}`)
1907
- ).filter((p) => p !== null), u = a.map(
1908
- (p) => p.querySelector(`.${o.xphMinimizeDialog}`)
1909
- ).filter((p) => p !== null), d = l.filter(
1910
- (p) => p.style.display === "flex"
1906
+ (f) => f.querySelector(`.${o.xphDialogWrapper}`)
1907
+ ).filter((f) => f !== null), u = a.map(
1908
+ (f) => f.querySelector(`.${o.xphMinimizeDialog}`)
1909
+ ).filter((f) => f !== null), d = l.filter(
1910
+ (f) => f.style.display === "flex"
1911
1911
  ), h = u.filter(
1912
- (p) => p.style.display === "flex"
1912
+ (f) => f.style.display === "flex"
1913
1913
  );
1914
1914
  if (d.length) {
1915
1915
  i(
@@ -1988,15 +1988,15 @@ const vc = (e) => {
1988
1988
  display: "none"
1989
1989
  }
1990
1990
  }
1991
- ), []), s = N(null), a = N(), l = N(!1), [u, d] = ee(!1), h = N(0), p = N(0), v = (H, j) => {
1991
+ ), []), s = N(null), a = N(), l = N(!1), [u, d] = ee(!1), h = N(0), f = N(0), v = (H, j) => {
1992
1992
  l.current = !0, d(!0), a.current = j;
1993
1993
  const { clientX: D, clientY: y } = H;
1994
- h.current = D, p.current = y;
1994
+ h.current = D, f.current = y;
1995
1995
  const C = parseFloat(t.current.style.left), z = parseFloat(t.current.style.top), I = t.current.offsetWidth, _ = t.current.offsetHeight;
1996
1996
  s.current.style.display = "block", s.current.style.left = `${C - 0.5 * I}px`, s.current.style.top = `${z - 0.5 * _}px`, s.current.style.width = `${I}px`, s.current.style.height = `${_}px`;
1997
- }, f = (H) => {
1997
+ }, p = (H) => {
1998
1998
  if (l.current) {
1999
- const { clientX: j, clientY: D } = H, y = j - h.current, C = D - p.current, z = parseFloat(s.current.style.left), I = parseFloat(s.current.style.top), _ = s.current.offsetWidth, b = s.current.offsetHeight, w = r.current.width, P = r.current.height, T = e.current.scrollWidth, E = e.current.scrollHeight;
1999
+ const { clientX: j, clientY: D } = H, y = j - h.current, C = D - f.current, z = parseFloat(s.current.style.left), I = parseFloat(s.current.style.top), _ = s.current.offsetWidth, b = s.current.offsetHeight, w = r.current.width, P = r.current.height, T = e.current.scrollWidth, E = e.current.scrollHeight;
2000
2000
  let $ = _, F = b, M = z, W = I;
2001
2001
  switch (a.current) {
2002
2002
  case "lt": {
@@ -2016,7 +2016,7 @@ const vc = (e) => {
2016
2016
  break;
2017
2017
  }
2018
2018
  }
2019
- s.current.style.left = `${M}px`, s.current.style.top = `${W}px`, s.current.style.width = `${$}px`, s.current.style.height = `${F}px`, h.current = j, p.current = D;
2019
+ s.current.style.left = `${M}px`, s.current.style.top = `${W}px`, s.current.style.width = `${$}px`, s.current.style.height = `${F}px`, h.current = j, f.current = D;
2020
2020
  }
2021
2021
  }, x = () => {
2022
2022
  if (l.current) {
@@ -2024,15 +2024,15 @@ const vc = (e) => {
2024
2024
  const { left: H, top: j, width: D, height: y } = s.current.style, C = parseFloat(H) + 0.5 * parseFloat(D), z = parseFloat(j) + 0.5 * parseFloat(y), I = parseFloat(D), _ = parseFloat(y);
2025
2025
  o({ left: C, top: z }), n({ width: I, height: _ });
2026
2026
  }
2027
- }, R = (H) => v(H, "lt"), k = (H) => v(H, "rt"), O = (H) => v(H, "rb"), A = (H) => v(H, "lb"), U = Te((H) => {
2028
- f(H);
2029
- }, []), V = Te(() => {
2027
+ }, R = (H) => v(H, "lt"), k = (H) => v(H, "rt"), O = (H) => v(H, "rb"), A = (H) => v(H, "lb"), V = Te((H) => {
2028
+ p(H);
2029
+ }, []), U = Te(() => {
2030
2030
  x();
2031
2031
  }, []), q = Te(() => {
2032
2032
  x();
2033
2033
  }, []);
2034
- return Z(() => (document.body.addEventListener("mousemove", U), document.body.addEventListener("mouseup", V), document.body.addEventListener("mouseleave", q), () => {
2035
- document.body.removeEventListener("mousemove", U), document.body.removeEventListener("mouseup", V), document.body.removeEventListener("mouseleave", q);
2034
+ return Z(() => (document.body.addEventListener("mousemove", V), document.body.addEventListener("mouseup", U), document.body.addEventListener("mouseleave", q), () => {
2035
+ document.body.removeEventListener("mousemove", V), document.body.removeEventListener("mouseup", U), document.body.removeEventListener("mouseleave", q);
2036
2036
  }), []), {
2037
2037
  resizingState: u,
2038
2038
  DashedBox: i,
@@ -2057,27 +2057,27 @@ const vc = (e) => {
2057
2057
  }, [e]);
2058
2058
  const { containerSizeTarget: s, setContainerSizeTarget: a } = Oc({
2059
2059
  container: e
2060
- }), { width: l, height: u } = r, { width: d, height: h } = t, p = d || l, v = h || u, { clientWidth: f, clientHeight: x } = s.current, R = p ? p > f ? f : p : 0, k = v ? v > x ? x : v : "unset", O = N(R), A = N(k), U = (j) => {
2060
+ }), { width: l, height: u } = r, { width: d, height: h } = t, f = d || l, v = h || u, { clientWidth: p, clientHeight: x } = s.current, R = f ? f > p ? p : f : 0, k = v ? v > x ? x : v : "unset", O = N(R), A = N(k), V = (j) => {
2061
2061
  O.current = j.width, A.current = j.height;
2062
- }, V = N(Math.floor(f / 2)), q = N(Math.floor(x / 2)), H = (j) => {
2063
- V.current = j.left, q.current = j.top;
2062
+ }, U = N(Math.floor(p / 2)), q = N(Math.floor(x / 2)), H = (j) => {
2063
+ U.current = j.left, q.current = j.top;
2064
2064
  };
2065
2065
  return Z(() => {
2066
- n !== 0 && (console.log("触发了内部parentResizeRecord"), a(), U({ width: R, height: k }), H({
2067
- left: Math.floor(f / 2),
2066
+ n !== 0 && (console.log("触发了内部parentResizeRecord"), a(), V({ width: R, height: k }), H({
2067
+ left: Math.floor(p / 2),
2068
2068
  top: Math.floor(x / 2)
2069
2069
  }));
2070
2070
  }, [n]), {
2071
2071
  containerSizeTarget: s,
2072
2072
  parentResizeRecord: n,
2073
- initLeft: V,
2073
+ initLeft: U,
2074
2074
  initTop: q,
2075
2075
  initWidth: O,
2076
2076
  initHeight: A,
2077
2077
  curPropsWidth: R,
2078
2078
  curPropsHeight: k,
2079
2079
  setInitPosition: H,
2080
- setInitSize: U
2080
+ setInitSize: V
2081
2081
  };
2082
2082
  }, Fc = (e, t, r, n) => {
2083
2083
  const o = N(null);
@@ -2244,7 +2244,12 @@ const vc = (e) => {
2244
2244
  renderFooter: l,
2245
2245
  renderTitle: u,
2246
2246
  getPopperContainer: d
2247
- } = e, h = d(), [p, v] = hc(!1), [f, x] = ee(!1), { open: R, close: k } = _c(e, v, x), { footerActions: O } = bc(e, f), A = N(null), U = N(null), V = N(null), q = N(null), {
2247
+ } = e, h = d(), [f, v] = hc(!1), [p, x] = ee(!1), { open: R, close: k } = _c(
2248
+ f,
2249
+ e,
2250
+ v,
2251
+ x
2252
+ ), { footerActions: O } = bc(e, p), A = N(null), V = N(null), U = N(null), q = N(null), {
2248
2253
  containerSizeTarget: H,
2249
2254
  parentResizeRecord: j,
2250
2255
  initLeft: D,
@@ -2266,14 +2271,14 @@ const vc = (e) => {
2266
2271
  initLeft: D,
2267
2272
  setDialogChangeRecord: w
2268
2273
  }), { dialogMaxHeight: W, contentMaxHeight: re } = Tc({
2269
- visible: p,
2274
+ visible: f,
2270
2275
  containerSizeTarget: H,
2271
2276
  dialogHeight: T,
2272
2277
  dialogRef: A,
2273
- dialogHeaderRef: U,
2278
+ dialogHeaderRef: V,
2274
2279
  dialogFooterRef: q
2275
2280
  }), { minResizeRecord: se } = Fc(
2276
- p,
2281
+ f,
2277
2282
  A,
2278
2283
  P,
2279
2284
  T
@@ -2306,7 +2311,7 @@ const vc = (e) => {
2306
2311
  setDialogPosition: M
2307
2312
  }), Wr({
2308
2313
  containerSizeTarget: H,
2309
- dialogHeaderRef: U,
2314
+ dialogHeaderRef: V,
2310
2315
  dialogRef: A,
2311
2316
  setDialogPosition: M
2312
2317
  }), Wr({
@@ -2316,7 +2321,7 @@ const vc = (e) => {
2316
2321
  setDialogPosition: ce
2317
2322
  });
2318
2323
  const { dialogTopShowClassConfig: We } = $c({
2319
- visible: p,
2324
+ visible: f,
2320
2325
  container: h,
2321
2326
  dialogRef: A,
2322
2327
  minimizeRef: ie
@@ -2324,7 +2329,7 @@ const vc = (e) => {
2324
2329
  resizingState: Ne,
2325
2330
  DashedBox: yt,
2326
2331
  onMousedownResizeLt: _t,
2327
- onMousedownResizeRt: Ue,
2332
+ onMousedownResizeRt: Ve,
2328
2333
  onMousedownResizeRb: wt,
2329
2334
  onMousedownResizeLb: xt
2330
2335
  } = Dc({
@@ -2337,15 +2342,16 @@ const vc = (e) => {
2337
2342
  return Ae(t, () => ({
2338
2343
  open: R,
2339
2344
  close: De,
2340
- setLoading: x
2345
+ setLoading: x,
2346
+ getVisible: () => f
2341
2347
  })), /* @__PURE__ */ g.jsxs("div", { className: We.xphDialog, children: [
2342
- s && p ? /* @__PURE__ */ g.jsx("div", { className: ue["xph-dialog-mask"] }) : null,
2348
+ s && f ? /* @__PURE__ */ g.jsx("div", { className: ue["xph-dialog-mask"] }) : null,
2343
2349
  /* @__PURE__ */ g.jsx(
2344
2350
  kc,
2345
2351
  {
2346
2352
  visible: Q,
2347
2353
  className: `${We.xphMinimizeDialog}`,
2348
- loading: f,
2354
+ loading: p,
2349
2355
  ref: ie,
2350
2356
  left: pe,
2351
2357
  top: de,
@@ -2360,7 +2366,7 @@ const vc = (e) => {
2360
2366
  ref: A,
2361
2367
  className: `${ue["xph-dialog-wrapper"]} ${We.xphDialogWrapper}`,
2362
2368
  style: {
2363
- display: p && !Q ? "flex" : "none",
2369
+ display: f && !Q ? "flex" : "none",
2364
2370
  left: $,
2365
2371
  top: F,
2366
2372
  width: P,
@@ -2371,26 +2377,26 @@ const vc = (e) => {
2371
2377
  ...n
2372
2378
  },
2373
2379
  children: [
2374
- /* @__PURE__ */ g.jsxs("div", { ref: U, className: ue.dialog__header, children: [
2380
+ /* @__PURE__ */ g.jsxs("div", { ref: V, className: ue.dialog__header, children: [
2375
2381
  /* @__PURE__ */ g.jsx("div", { children: u ? u() : a }),
2376
2382
  /* @__PURE__ */ g.jsxs("div", { className: ue["dialog__header-btns"], children: [
2377
2383
  /* @__PURE__ */ g.jsx(Ec, { onClick: Re }),
2378
2384
  he ? /* @__PURE__ */ g.jsx(Ac, { onClick: bt }) : /* @__PURE__ */ g.jsx($n, { onClick: () => ve("maximize") }),
2379
- /* @__PURE__ */ g.jsx(Pn, { onClick: De, disabled: f })
2385
+ /* @__PURE__ */ g.jsx(Pn, { onClick: De, disabled: p })
2380
2386
  ] })
2381
2387
  ] }),
2382
2388
  /* @__PURE__ */ g.jsx(
2383
2389
  "div",
2384
2390
  {
2385
- ref: V,
2391
+ ref: U,
2386
2392
  className: ue.dialog__main,
2387
2393
  style: {
2388
2394
  maxHeight: re
2389
2395
  },
2390
- children: /* @__PURE__ */ g.jsx(qr, { spinning: f, children: p ? o : null })
2396
+ children: /* @__PURE__ */ g.jsx(qr, { spinning: p, children: f ? o : null })
2391
2397
  }
2392
2398
  ),
2393
- l ? /* @__PURE__ */ g.jsx("div", { ref: q, children: l({ loading: f }) }) : /* @__PURE__ */ g.jsx("div", { ref: q, className: ue.dialog__footer, children: /* @__PURE__ */ g.jsx(Jt, { ...O }) }),
2399
+ l ? /* @__PURE__ */ g.jsx("div", { ref: q, children: l({ loading: p }) }) : /* @__PURE__ */ g.jsx("div", { ref: q, className: ue.dialog__footer, children: /* @__PURE__ */ g.jsx(Jt, { ...O }) }),
2394
2400
  /* @__PURE__ */ g.jsx(
2395
2401
  "div",
2396
2402
  {
@@ -2402,7 +2408,7 @@ const vc = (e) => {
2402
2408
  "div",
2403
2409
  {
2404
2410
  className: `${ue.dialog__resize} ${ue["dialog__resize-rt"]}`,
2405
- onMouseDown: Ue
2411
+ onMouseDown: Ve
2406
2412
  }
2407
2413
  ),
2408
2414
  /* @__PURE__ */ g.jsx(
@@ -2426,8 +2432,8 @@ const vc = (e) => {
2426
2432
  ] });
2427
2433
  }), Bc = (e, t) => {
2428
2434
  const { children: r, ...n } = e, { baseDialogProps: o, dialogProps: i } = vc(n), { getPopperContainer: s } = i;
2429
- return console.log("render XphDialog=============================================="), /* @__PURE__ */ g.jsx(Vc, { getPopperContainer: s, children: /* @__PURE__ */ g.jsx(Hc, { ...i, baseDialogProps: o, ref: t, children: r }) });
2430
- }, Uc = _e(Bc), Vc = ({
2435
+ return console.log("render XphDialog=============================================="), /* @__PURE__ */ g.jsx(Uc, { getPopperContainer: s, children: /* @__PURE__ */ g.jsx(Hc, { ...i, baseDialogProps: o, ref: t, children: r }) });
2436
+ }, Vc = _e(Bc), Uc = ({
2431
2437
  children: e,
2432
2438
  getPopperContainer: t
2433
2439
  }) => {
@@ -2501,27 +2507,27 @@ const Gc = [
2501
2507
  const { rules: o = [], label: i, required: s } = e;
2502
2508
  let a = o;
2503
2509
  const l = Zt(e), u = l ? Yc(e.component) + i : "";
2504
- function d(f, x) {
2505
- const R = f.message || u;
2510
+ function d(p, x) {
2511
+ const R = p.message || u;
2506
2512
  return x === void 0 || ac(x) || Array.isArray(x) && x.length === 0 || typeof x == "string" && x.trim() === "" || typeof x == "object" && Reflect.has(x, "checked") && Reflect.has(x, "halfChecked") && Array.isArray(x.checked) && Array.isArray(x.halfChecked) && x.checked.length === 0 && x.halfChecked.length === 0 ? Promise.reject(R) : Promise.resolve();
2507
2513
  }
2508
2514
  const h = oe(s) ? s({ model: t }) : s;
2509
2515
  h && (!a || a.length === 0 ? a = [{ required: h, validator: d }] : a.findIndex(
2510
2516
  (x) => Reflect.has(x, "required")
2511
2517
  ) === -1 && a.push({ required: h, validator: d }));
2512
- const p = a.findIndex(
2513
- (f) => Reflect.has(f, "required") && !Reflect.has(f, "validator")
2518
+ const f = a.findIndex(
2519
+ (p) => Reflect.has(p, "required") && !Reflect.has(p, "validator")
2514
2520
  );
2515
- if (p !== -1) {
2516
- const f = a[p];
2517
- if (r || (f.required = !1), l) {
2521
+ if (f !== -1) {
2522
+ const p = a[f];
2523
+ if (r || (p.required = !1), l) {
2518
2524
  const { component: x } = e;
2519
- Reflect.has(f, "type") || (f.type = x === "InputNumber" ? "number" : "string"), f.message = f.message || u, (x.includes("Input") || x.includes("Textarea")) && (f.whitespace = !0);
2525
+ Reflect.has(p, "type") || (p.type = x === "InputNumber" ? "number" : "string"), p.message = p.message || u, (x.includes("Input") || x.includes("Textarea")) && (p.whitespace = !0);
2520
2526
  const R = n.valueFormat;
2521
- qc(f, x, R);
2527
+ qc(p, x, R);
2522
2528
  }
2523
2529
  }
2524
- const v = a.findIndex((f) => f.max);
2530
+ const v = a.findIndex((p) => p.max);
2525
2531
  return v !== -1 && !a[v].validator && (a[v].message = a[v].message || `字符数应小于${a[v].max}位`), {
2526
2532
  rules: a
2527
2533
  };
@@ -2609,13 +2615,13 @@ var Rn = { exports: {} };
2609
2615
  (function(r, n) {
2610
2616
  e.exports = n();
2611
2617
  })(yo, function() {
2612
- var r = 1e3, n = 6e4, o = 36e5, i = "millisecond", s = "second", a = "minute", l = "hour", u = "day", d = "week", h = "month", p = "quarter", v = "year", f = "date", x = "Invalid Date", R = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, k = /\[([^\]]+)]|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, O = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(_) {
2618
+ var r = 1e3, n = 6e4, o = 36e5, i = "millisecond", s = "second", a = "minute", l = "hour", u = "day", d = "week", h = "month", f = "quarter", v = "year", p = "date", x = "Invalid Date", R = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, k = /\[([^\]]+)]|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, O = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(_) {
2613
2619
  var b = ["th", "st", "nd", "rd"], w = _ % 100;
2614
2620
  return "[" + _ + (b[(w - 20) % 10] || b[w] || b[0]) + "]";
2615
2621
  } }, A = function(_, b, w) {
2616
2622
  var P = String(_);
2617
2623
  return !P || P.length >= b ? _ : "" + Array(b + 1 - P.length).join(w) + _;
2618
- }, U = { s: A, z: function(_) {
2624
+ }, V = { s: A, z: function(_) {
2619
2625
  var b = -_.utcOffset(), w = Math.abs(b), P = Math.floor(w / 60), T = w % 60;
2620
2626
  return (b <= 0 ? "+" : "-") + A(P, 2, "0") + ":" + A(T, 2, "0");
2621
2627
  }, m: function _(b, w) {
@@ -2625,16 +2631,16 @@ var Rn = { exports: {} };
2625
2631
  }, a: function(_) {
2626
2632
  return _ < 0 ? Math.ceil(_) || 0 : Math.floor(_);
2627
2633
  }, p: function(_) {
2628
- return { M: h, y: v, w: d, d: u, D: f, h: l, m: a, s, ms: i, Q: p }[_] || String(_ || "").toLowerCase().replace(/s$/, "");
2634
+ return { M: h, y: v, w: d, d: u, D: p, h: l, m: a, s, ms: i, Q: f }[_] || String(_ || "").toLowerCase().replace(/s$/, "");
2629
2635
  }, u: function(_) {
2630
2636
  return _ === void 0;
2631
- } }, V = "en", q = {};
2632
- q[V] = O;
2637
+ } }, U = "en", q = {};
2638
+ q[U] = O;
2633
2639
  var H = "$isDayjsObject", j = function(_) {
2634
2640
  return _ instanceof z || !(!_ || !_[H]);
2635
2641
  }, D = function _(b, w, P) {
2636
2642
  var T;
2637
- if (!b) return V;
2643
+ if (!b) return U;
2638
2644
  if (typeof b == "string") {
2639
2645
  var E = b.toLowerCase();
2640
2646
  q[E] && (T = E), w && (q[E] = w, T = E);
@@ -2644,12 +2650,12 @@ var Rn = { exports: {} };
2644
2650
  var F = b.name;
2645
2651
  q[F] = b, T = F;
2646
2652
  }
2647
- return !P && T && (V = T), T || !P && V;
2653
+ return !P && T && (U = T), T || !P && U;
2648
2654
  }, y = function(_, b) {
2649
2655
  if (j(_)) return _.clone();
2650
2656
  var w = typeof b == "object" ? b : {};
2651
2657
  return w.date = _, w.args = arguments, new z(w);
2652
- }, C = U;
2658
+ }, C = V;
2653
2659
  C.l = D, C.i = j, C.w = function(_, b) {
2654
2660
  return y(_, { locale: b.$L, utc: b.$u, x: b.$x, $offset: b.$offset });
2655
2661
  };
@@ -2709,7 +2715,7 @@ var Rn = { exports: {} };
2709
2715
  var de = this.$locale().weekStart || 0, ie = (W < de ? W + 7 : W) - de;
2710
2716
  return F(E ? se - ie : se + (6 - ie), re);
2711
2717
  case u:
2712
- case f:
2718
+ case p:
2713
2719
  return M(pe + "Hours", 0);
2714
2720
  case l:
2715
2721
  return M(pe + "Minutes", 1);
@@ -2723,10 +2729,10 @@ var Rn = { exports: {} };
2723
2729
  }, b.endOf = function(w) {
2724
2730
  return this.startOf(w, !1);
2725
2731
  }, b.$set = function(w, P) {
2726
- var T, E = C.p(w), $ = "set" + (this.$u ? "UTC" : ""), F = (T = {}, T[u] = $ + "Date", T[f] = $ + "Date", T[h] = $ + "Month", T[v] = $ + "FullYear", T[l] = $ + "Hours", T[a] = $ + "Minutes", T[s] = $ + "Seconds", T[i] = $ + "Milliseconds", T)[E], M = E === u ? this.$D + (P - this.$W) : P;
2732
+ var T, E = C.p(w), $ = "set" + (this.$u ? "UTC" : ""), F = (T = {}, T[u] = $ + "Date", T[p] = $ + "Date", T[h] = $ + "Month", T[v] = $ + "FullYear", T[l] = $ + "Hours", T[a] = $ + "Minutes", T[s] = $ + "Seconds", T[i] = $ + "Milliseconds", T)[E], M = E === u ? this.$D + (P - this.$W) : P;
2727
2733
  if (E === h || E === v) {
2728
- var W = this.clone().set(f, 1);
2729
- W.$d[F](M), W.init(), this.$d = W.set(f, Math.min(this.$D, W.daysInMonth())).$d;
2734
+ var W = this.clone().set(p, 1);
2735
+ W.$d[F](M), W.init(), this.$d = W.set(p, Math.min(this.$D, W.daysInMonth())).$d;
2730
2736
  } else F && this.$d[F](M);
2731
2737
  return this.init(), this;
2732
2738
  }, b.set = function(w, P) {
@@ -2827,7 +2833,7 @@ var Rn = { exports: {} };
2827
2833
  case h:
2828
2834
  E = se();
2829
2835
  break;
2830
- case p:
2836
+ case f:
2831
2837
  E = se() / 3;
2832
2838
  break;
2833
2839
  case d:
@@ -2869,7 +2875,7 @@ var Rn = { exports: {} };
2869
2875
  return this.$d.toUTCString();
2870
2876
  }, _;
2871
2877
  }(), I = z.prototype;
2872
- return y.prototype = I, [["$ms", i], ["$s", s], ["$m", a], ["$H", l], ["$W", u], ["$M", h], ["$y", v], ["$D", f]].forEach(function(_) {
2878
+ return y.prototype = I, [["$ms", i], ["$s", s], ["$m", a], ["$H", l], ["$W", u], ["$M", h], ["$y", v], ["$D", p]].forEach(function(_) {
2873
2879
  I[_[1]] = function(b) {
2874
2880
  return this.$g(b, _[0], _[1]);
2875
2881
  };
@@ -2877,7 +2883,7 @@ var Rn = { exports: {} };
2877
2883
  return _.$i || (_(b, z, y), _.$i = !0), y;
2878
2884
  }, y.locale = D, y.isDayjs = j, y.unix = function(_) {
2879
2885
  return y(1e3 * _);
2880
- }, y.en = q[V], y.Ls = q, y.p = {}, y;
2886
+ }, y.en = q[U], y.Ls = q, y.p = {}, y;
2881
2887
  });
2882
2888
  })(Rn);
2883
2889
  var sl = Rn.exports;
@@ -2940,20 +2946,20 @@ const ll = (e, t, r) => {
2940
2946
  return n.forEach((u) => {
2941
2947
  const d = Reflect.has(s, u.name), h = il(u.name, s) || al(u.name, s);
2942
2948
  if (d || h) {
2943
- const p = h || s[u.name];
2949
+ const f = h || s[u.name];
2944
2950
  if (Zt(u))
2945
2951
  if (Gc.includes(u.component)) {
2946
- if (fe(p)) {
2952
+ if (fe(f)) {
2947
2953
  const v = [];
2948
- for (const f of p)
2949
- v.push(f ? lt(f) : null);
2954
+ for (const p of f)
2955
+ v.push(p ? lt(p) : null);
2950
2956
  a[u.name] = v;
2951
2957
  } else
2952
- a[u.name] = p ? lt(p) : null;
2958
+ a[u.name] = f ? lt(f) : null;
2953
2959
  l.push(u.name);
2954
2960
  } else
2955
- a[u.name] = p, l.push(u.name);
2956
- Qt(u) && (a[u.name] = p, l.push(u.name));
2961
+ a[u.name] = f, l.push(u.name);
2962
+ Qt(u) && (a[u.name] = f, l.push(u.name));
2957
2963
  }
2958
2964
  }), {
2959
2965
  renderValues: a,
@@ -2961,23 +2967,23 @@ const ll = (e, t, r) => {
2961
2967
  };
2962
2968
  },
2963
2969
  handleFormatReturnValues: (s) => {
2964
- var l, u, d, h, p;
2970
+ var l, u, d, h, f;
2965
2971
  if (!be(s))
2966
2972
  return {};
2967
2973
  const a = {};
2968
2974
  for (const v of Object.entries(s)) {
2969
- let [, f] = v;
2975
+ let [, p] = v;
2970
2976
  const [x] = v;
2971
- if (!x || fe(f) && f.length === 0 || oe(f))
2977
+ if (!x || fe(p) && p.length === 0 || oe(p))
2972
2978
  continue;
2973
2979
  const { transformDateFunc: R } = t, k = (d = (u = (l = r.current) == null ? void 0 : l.get(x)) == null ? void 0 : u.current) == null ? void 0 : d.componentProps, O = k == null ? void 0 : k.valueFormat;
2974
- if (be(f)) {
2975
- const A = f;
2976
- A.format && (f = R == null ? void 0 : R(A, O));
2980
+ if (be(p)) {
2981
+ const A = p;
2982
+ A.format && (p = R == null ? void 0 : R(A, O));
2977
2983
  }
2978
- fe(f) && ((h = f[0]) != null && h.format) && ((p = f[1]) != null && p.format) && (f = f.map(
2984
+ fe(p) && ((h = p[0]) != null && h.format) && ((f = p[1]) != null && f.format) && (p = p.map(
2979
2985
  (A) => R == null ? void 0 : R(A, O)
2980
- )), _n(f) && (f === "" ? f = void 0 : f = f.trim()), a[x] = f;
2986
+ )), _n(p) && (p === "" ? p = void 0 : p = p.trim()), a[x] = p;
2981
2987
  }
2982
2988
  return cl(a, t);
2983
2989
  }
@@ -3069,10 +3075,10 @@ const ll = (e, t, r) => {
3069
3075
  params: r,
3070
3076
  apiCallback: l,
3071
3077
  isUseWatch: s
3072
- }), d = (p) => {
3073
- p && !n && u(), i && i(p);
3078
+ }), d = (f) => {
3079
+ f && !n && u(), i && i(f);
3074
3080
  }, h = () => {
3075
- const { api: p, params: v, immediate: f, isusewatch: x, ...R } = e;
3081
+ const { api: f, params: v, immediate: p, isusewatch: x, ...R } = e;
3076
3082
  return R;
3077
3083
  };
3078
3084
  return /* @__PURE__ */ g.jsx(
@@ -3097,10 +3103,10 @@ const ll = (e, t, r) => {
3097
3103
  params: r,
3098
3104
  apiCallback: l,
3099
3105
  isUseWatch: s
3100
- }), d = (p) => {
3101
- p && !n && u(), i && i(p);
3106
+ }), d = (f) => {
3107
+ f && !n && u(), i && i(f);
3102
3108
  }, h = () => {
3103
- const { api: p, params: v, immediate: f, isusewatch: x, ...R } = e;
3109
+ const { api: f, params: v, immediate: p, isusewatch: x, ...R } = e;
3104
3110
  return R;
3105
3111
  };
3106
3112
  return /* @__PURE__ */ g.jsx(
@@ -3139,10 +3145,10 @@ const ll = (e, t, r) => {
3139
3145
  params: r,
3140
3146
  apiCallback: l,
3141
3147
  isUseWatch: s
3142
- }), d = (p) => {
3143
- p && !n && u(), i && i(p);
3148
+ }), d = (f) => {
3149
+ f && !n && u(), i && i(f);
3144
3150
  }, h = () => {
3145
- const { api: p, params: v, immediate: f, isusewatch: x, ...R } = e;
3151
+ const { api: f, params: v, immediate: p, isusewatch: x, ...R } = e;
3146
3152
  return R;
3147
3153
  };
3148
3154
  return /* @__PURE__ */ g.jsx(
@@ -3177,7 +3183,7 @@ const ll = (e, t, r) => {
3177
3183
  value: u = t,
3178
3184
  // 默认文件列表
3179
3185
  onChange: d
3180
- } = e, h = N(!0), p = N(0), v = N([]), [f, x] = ee([]), R = (j) => {
3186
+ } = e, h = N(!0), f = N(0), v = N([]), [p, x] = ee([]), R = (j) => {
3181
3187
  v.current = j, x([...j]);
3182
3188
  }, k = () => {
3183
3189
  const {
@@ -3194,15 +3200,15 @@ const ll = (e, t, r) => {
3194
3200
  }, O = (j) => {
3195
3201
  const D = j.size / 1024 / 1024 < o;
3196
3202
  D || Rt.error(`文件大小超过:${o}M, 请重试`);
3197
- const y = v.current.length + p.current < n;
3198
- return y || Rt.error(`文件数量不能超过${n}个`), D && y && p.current++, D && y && A(j), Et.LIST_IGNORE;
3203
+ const y = v.current.length + f.current < n;
3204
+ return y || Rt.error(`文件数量不能超过${n}个`), D && y && f.current++, D && y && A(j), Et.LIST_IGNORE;
3199
3205
  }, A = (j) => {
3200
- s ? (Rt.error("暂时不支持裁剪功能,后续兼容。。。。"), U({ file: j })) : U({ file: j });
3201
- }, U = (j) => {
3206
+ s ? (Rt.error("暂时不支持裁剪功能,后续兼容。。。。"), V({ file: j })) : V({ file: j });
3207
+ }, V = (j) => {
3202
3208
  r ? r({ file: j.file, ...a }).then((D) => {
3203
3209
  R([...v.current, ...D]);
3204
3210
  }).finally(() => {
3205
- p.current--;
3211
+ f.current--;
3206
3212
  }) : (Object.assign(j.file, {
3207
3213
  status: "done",
3208
3214
  url: URL.createObjectURL(
@@ -3210,8 +3216,8 @@ const ll = (e, t, r) => {
3210
3216
  type: Kc(j.file.type)
3211
3217
  })
3212
3218
  )
3213
- }), R([...v.current, j.file]), p.current--);
3214
- }, V = (j) => {
3219
+ }), R([...v.current, j.file]), f.current--);
3220
+ }, U = (j) => {
3215
3221
  const { file: D, fileList: y } = j, { status: C } = D;
3216
3222
  switch (C) {
3217
3223
  case "removed": {
@@ -3231,13 +3237,13 @@ const ll = (e, t, r) => {
3231
3237
  }, H = () => {
3232
3238
  switch (l) {
3233
3239
  case Ce.String:
3234
- return f.map((j) => j.url).join(",");
3240
+ return p.map((j) => j.url).join(",");
3235
3241
  case Ce["String[]"]:
3236
- return f.map((j) => j.url);
3242
+ return p.map((j) => j.url);
3237
3243
  case Ce["File[]"]:
3238
- return [...f];
3244
+ return [...p];
3239
3245
  case Ce.FileList:
3240
- return [...f];
3246
+ return [...p];
3241
3247
  }
3242
3248
  };
3243
3249
  return Z(() => {
@@ -3270,19 +3276,19 @@ const ll = (e, t, r) => {
3270
3276
  }
3271
3277
  const j = H();
3272
3278
  d == null || d(j);
3273
- }, [f]), /* @__PURE__ */ g.jsx(
3279
+ }, [p]), /* @__PURE__ */ g.jsx(
3274
3280
  Et,
3275
3281
  {
3276
3282
  listType: i,
3277
3283
  ...k(),
3278
- fileList: f,
3284
+ fileList: p,
3279
3285
  beforeUpload: O,
3280
- onChange: V,
3286
+ onChange: U,
3281
3287
  children: "上传"
3282
3288
  }
3283
3289
  );
3284
3290
  }, X = /* @__PURE__ */ new Map();
3285
- X.set("Input", Ut);
3291
+ X.set("Input", Vt);
3286
3292
  X.set("ApiSelect", pl);
3287
3293
  X.set("Select", Gr);
3288
3294
  X.set("InputNumber", eo);
@@ -3302,8 +3308,8 @@ X.set("DatePicker", dt);
3302
3308
  X.set("MonthPicker", dt.MonthPicker);
3303
3309
  X.set("WeekPicker", dt.WeekPicker);
3304
3310
  X.set("RangePicker", dt.RangePicker);
3305
- X.set("InputPassword", Ut.Password);
3306
- X.set("InputTextArea", Ut.TextArea);
3311
+ X.set("InputPassword", Vt.Password);
3312
+ X.set("InputTextArea", Vt.TextArea);
3307
3313
  X.set("ApiAutoComplete", ml);
3308
3314
  X.set("AutoComplete", Jr);
3309
3315
  X.set("Upload", Et);
@@ -3327,7 +3333,7 @@ const Nr = {
3327
3333
  ), { colProps: d } = rl(t, n), { componentProps: h } = tl(
3328
3334
  t,
3329
3335
  s
3330
- ), { rules: p } = Qc({
3336
+ ), { rules: f } = Qc({
3331
3337
  item: t,
3332
3338
  model: s,
3333
3339
  isShow: u,
@@ -3336,7 +3342,7 @@ const Nr = {
3336
3342
  n,
3337
3343
  t,
3338
3344
  s
3339
- ), { itemCollapse: f, setItemCollapse: x } = Zc(
3345
+ ), { itemCollapse: p, setItemCollapse: x } = Zc(
3340
3346
  n,
3341
3347
  e
3342
3348
  ), {
@@ -3344,24 +3350,24 @@ const Nr = {
3344
3350
  label: k,
3345
3351
  wrapperCol: O,
3346
3352
  labelCol: A,
3347
- valuePropName: U,
3348
- initialValue: V,
3353
+ valuePropName: V,
3354
+ initialValue: U,
3349
3355
  forceRow: q
3350
3356
  } = t;
3351
3357
  Ae(i, () => ({
3352
3358
  itemIndex: e,
3353
3359
  componentProps: h,
3354
- itemCollapse: f,
3360
+ itemCollapse: p,
3355
3361
  setItemCollapse: x
3356
3362
  }));
3357
3363
  const H = () => ({
3358
3364
  name: R,
3359
3365
  label: k,
3360
- rules: p,
3366
+ rules: f,
3361
3367
  wrapperCol: O,
3362
3368
  labelCol: A,
3363
- valuePropName: U,
3364
- initialValue: V
3369
+ valuePropName: V,
3370
+ initialValue: U
3365
3371
  }), { setExtendFormComp: j } = Dn();
3366
3372
  j(X);
3367
3373
  const D = Zt(t), y = Qt(t), C = () => {
@@ -3384,13 +3390,13 @@ const Nr = {
3384
3390
  componentProps: h
3385
3391
  }) : null;
3386
3392
  };
3387
- return /* @__PURE__ */ g.jsxs(Ur, { children: [
3393
+ return /* @__PURE__ */ g.jsxs(Vr, { children: [
3388
3394
  q ? /* @__PURE__ */ g.jsx("div", { className: Nr["form-item-force"] }) : null,
3389
3395
  l ? /* @__PURE__ */ g.jsx(
3390
3396
  oo,
3391
3397
  {
3392
3398
  ...d,
3393
- className: u && !f ? void 0 : Nr["form-item-hidden"],
3399
+ className: u && !p ? void 0 : Nr["form-item-hidden"],
3394
3400
  children: /* @__PURE__ */ g.jsx(rt.Item, { ...H(), children: C() })
3395
3401
  }
3396
3402
  ) : null
@@ -3444,24 +3450,24 @@ const Nr = {
3444
3450
  collapseRef: l,
3445
3451
  onClickCollapseToFalse: u,
3446
3452
  onClickCollapseToTrue: d
3447
- } = fl(n, i), { handleFormatRenderValues: h, handleFormatReturnValues: p } = ll(
3453
+ } = fl(n, i), { handleFormatRenderValues: h, handleFormatReturnValues: f } = ll(
3448
3454
  o,
3449
3455
  n,
3450
3456
  i
3451
3457
  ), {
3452
3458
  setFieldsValue: v,
3453
- getFieldsValue: f,
3459
+ getFieldsValue: p,
3454
3460
  resetFields: x,
3455
3461
  validator: R,
3456
3462
  scrollToField: k
3457
3463
  } = ul(
3458
3464
  r,
3459
3465
  h,
3460
- p
3466
+ f
3461
3467
  ), O = () => {
3462
3468
  const {
3463
- layout: U,
3464
- wrapperCol: V,
3469
+ layout: V,
3470
+ wrapperCol: U,
3465
3471
  labelCol: q,
3466
3472
  colon: H,
3467
3473
  disabled: j,
@@ -3471,8 +3477,8 @@ const Nr = {
3471
3477
  size: z
3472
3478
  } = n;
3473
3479
  return {
3474
- layout: U,
3475
- wrapperCol: V,
3480
+ layout: V,
3481
+ wrapperCol: U,
3476
3482
  labelCol: q,
3477
3483
  colon: H,
3478
3484
  disabled: j,
@@ -3483,7 +3489,7 @@ const Nr = {
3483
3489
  };
3484
3490
  }, A = {
3485
3491
  setFieldsValue: v,
3486
- getFieldsValue: f,
3492
+ getFieldsValue: p,
3487
3493
  resetFields: x,
3488
3494
  validator: R,
3489
3495
  scrollToField: k
@@ -3493,17 +3499,17 @@ const Nr = {
3493
3499
  })), Z(() => (console.log("Form is mounted======================="), n.register && n.register(A), () => {
3494
3500
  console.log("Form is unmounted========================="), i.current.clear();
3495
3501
  }), []), /* @__PURE__ */ g.jsxs(rt, { form: r, ...O(), children: [
3496
- /* @__PURE__ */ g.jsx(so, { children: o.map((U, V) => (i.current.has(U.name) || i.current.set(U.name, Ee.createRef()), /* @__PURE__ */ g.jsx(
3502
+ /* @__PURE__ */ g.jsx(so, { children: o.map((V, U) => (i.current.has(V.name) || i.current.set(V.name, Ee.createRef()), /* @__PURE__ */ g.jsx(
3497
3503
  vl,
3498
3504
  {
3499
- ref: i.current.get(U.name),
3500
- itemIndex: V,
3501
- itemProps: U,
3505
+ ref: i.current.get(V.name),
3506
+ itemIndex: U,
3507
+ itemProps: V,
3502
3508
  formProps: n,
3503
3509
  methods: A,
3504
3510
  collapseRef: l
3505
3511
  },
3506
- V
3512
+ U
3507
3513
  ))) }),
3508
3514
  /* @__PURE__ */ g.jsxs("div", { className: Cl["xph-form-action"], children: [
3509
3515
  /* @__PURE__ */ g.jsx(xl, { formProps: n }),
@@ -3518,13 +3524,13 @@ const Nr = {
3518
3524
  ) : null
3519
3525
  ] })
3520
3526
  ] });
3521
- }, jn = _e(Tl), Sl = Vr(jn), $l = _e((e, t) => {
3527
+ }, jn = _e(Tl), Sl = Ur(jn), $l = _e((e, t) => {
3522
3528
  const { renderActions: r, showSearch: n, tableRef: o } = e, [i, s] = ee(!1), a = N(null), l = () => {
3523
- const { reloadData: p } = o.current;
3524
- p();
3529
+ const { reloadData: f } = o.current;
3530
+ f();
3525
3531
  }, u = () => {
3526
- const { resetData: p } = o.current;
3527
- p();
3532
+ const { resetData: f } = o.current;
3533
+ f();
3528
3534
  }, d = Te(() => /* @__PURE__ */ g.jsxs("div", { style: { width: "100%", display: "flex" }, children: [
3529
3535
  /* @__PURE__ */ g.jsx("div", { style: { flex: 1, width: 0 }, children: r == null ? void 0 : r() }),
3530
3536
  n && /* @__PURE__ */ g.jsxs("div", { style: { display: "flex", gap: "8px" }, children: [
@@ -3540,7 +3546,7 @@ const Nr = {
3540
3546
  /* @__PURE__ */ g.jsx(me, { icon: /* @__PURE__ */ g.jsx(mo, {}), onClick: u, children: "重置" })
3541
3547
  ] })
3542
3548
  ] }), [n, r]), h = () => {
3543
- const { renderActions: p, ...v } = e;
3549
+ const { renderActions: f, ...v } = e;
3544
3550
  return {
3545
3551
  ...v,
3546
3552
  renderActions: d
@@ -3551,17 +3557,17 @@ const Nr = {
3551
3557
  setFormLoading: s,
3552
3558
  ...a.current
3553
3559
  })), /* @__PURE__ */ g.jsx(qr, { spinning: i, children: /* @__PURE__ */ g.jsx(Sl, { ref: a, ...h() }) });
3554
- }), Pl = Vr(jn), Rl = (e, t) => {
3560
+ }), Pl = Ur(jn), Rl = (e, t) => {
3555
3561
  const r = N(null), n = N(null), { formProps: o } = e, s = (() => {
3556
3562
  const { formProps: d, ...h } = e;
3557
3563
  return h;
3558
3564
  })(), a = N(null), l = async () => {
3559
3565
  const { onOk: d, renderFooter: h } = s;
3560
3566
  if (!h) {
3561
- const { ok: p, data: v } = a.current;
3562
- if (p) {
3563
- n.current.validator().then(async (f) => {
3564
- r.current.setLoading(!0), await p({
3567
+ const { ok: f, data: v } = a.current;
3568
+ if (f) {
3569
+ n.current.validator().then(async (p) => {
3570
+ r.current.setLoading(!0), await f({
3565
3571
  values: n.current.getFieldsValue()
3566
3572
  }).then((R) => R).finally(() => {
3567
3573
  r.current.setLoading(!1);
@@ -3570,9 +3576,9 @@ const Nr = {
3570
3576
  return;
3571
3577
  }
3572
3578
  if (d) {
3573
- n.current.validator().then(async (f) => {
3579
+ n.current.validator().then(async (p) => {
3574
3580
  r.current.setLoading(!0), await d({
3575
- values: f,
3581
+ values: p,
3576
3582
  data: v
3577
3583
  }).then((R) => (console.log(R), R)).finally(() => {
3578
3584
  r.current.setLoading(!1);
@@ -3585,9 +3591,9 @@ const Nr = {
3585
3591
  }, u = async () => {
3586
3592
  const { onCancel: d, renderFooter: h } = s;
3587
3593
  if (!h) {
3588
- const { cancel: p, data: v } = a.current;
3589
- if (p) {
3590
- if (await p({
3594
+ const { cancel: f, data: v } = a.current;
3595
+ if (f) {
3596
+ if (await f({
3591
3597
  values: n.current.getFieldsValue(!0)
3592
3598
  }) === !1) return;
3593
3599
  r.current.close(), a.current = null;
@@ -3605,21 +3611,23 @@ const Nr = {
3605
3611
  }
3606
3612
  };
3607
3613
  return Ae(t, () => ({
3608
- open: (d) => {
3609
- const { renderFooter: h } = s;
3610
- return !h && (a.current = d), r.current.open().then(() => {
3614
+ open: async (d) => {
3615
+ if (r.current.getVisible()) return;
3616
+ const { renderFooter: f } = s;
3617
+ return !f && (a.current = d), r.current.open().then(() => {
3611
3618
  n.current.setFieldsValue(d.data || {});
3612
3619
  });
3613
3620
  },
3614
3621
  close: (...d) => r.current.close(...d),
3615
3622
  setLoading: (...d) => r.current.setLoading(...d),
3623
+ getVisible: (...d) => r.current.getVisible(...d),
3616
3624
  getFieldsValue: (...d) => n.current.getFieldsValue(...d),
3617
3625
  setFieldsValue: (...d) => n.current.setFieldsValue(...d),
3618
3626
  resetFields: (...d) => n.current.resetFields(...d),
3619
3627
  validator: (...d) => n.current.validator(...d),
3620
3628
  scrollToField: (...d) => n.current.scrollToField(...d)
3621
3629
  })), /* @__PURE__ */ g.jsx(
3622
- Uc,
3630
+ Vc,
3623
3631
  {
3624
3632
  ...s,
3625
3633
  ref: r,
@@ -3802,15 +3810,15 @@ const { useToken: El } = Ze, Al = (e, t, r) => {
3802
3810
  borderRadius: s.borderRadiusLG,
3803
3811
  fontSize: s.fontSizeSM,
3804
3812
  ...d
3805
- }, p = () => {
3806
- var f;
3807
- return (f = a.find((x) => x.value === o)) == null ? void 0 : f.label;
3813
+ }, f = () => {
3814
+ var p;
3815
+ return (p = a.find((x) => x.value === o)) == null ? void 0 : p.label;
3808
3816
  };
3809
3817
  return /* @__PURE__ */ g.jsx(
3810
3818
  e,
3811
3819
  {
3812
3820
  ...r,
3813
- mainHandleText: p,
3821
+ mainHandleText: f,
3814
3822
  mainStyle: Object.assign((r == null ? void 0 : r.mainStyle) || {}, h)
3815
3823
  }
3816
3824
  );
@@ -3874,7 +3882,7 @@ function Bl(e) {
3874
3882
  columns: r
3875
3883
  };
3876
3884
  }
3877
- const Ul = (e) => {
3885
+ const Vl = (e) => {
3878
3886
  const { extendTableProps: t } = On();
3879
3887
  return {
3880
3888
  tableProps: {
@@ -3912,7 +3920,7 @@ const Ul = (e) => {
3912
3920
  }
3913
3921
  };
3914
3922
  };
3915
- function Vl(e) {
3923
+ function Ul(e) {
3916
3924
  const { pagination: t, autoPagination: r } = e.table, [n, o] = ee(
3917
3925
  t
3918
3926
  ), i = N(
@@ -3939,7 +3947,7 @@ function Yl(e, t) {
3939
3947
  onChange: i,
3940
3948
  requestFields: s,
3941
3949
  responseFields: a
3942
- } = e.table, l = e.onPaginationChange, { pagination: u, lastPaginationState: d } = Vl(e), [h, p] = ee({
3950
+ } = e.table, l = e.onPaginationChange, { pagination: u, lastPaginationState: d } = Ul(e), [h, f] = ee({
3943
3951
  loading: !1,
3944
3952
  dataSource: [],
3945
3953
  selection: [],
@@ -3949,12 +3957,12 @@ function Yl(e, t) {
3949
3957
  dataSource: [],
3950
3958
  selection: [],
3951
3959
  backupsDataSource: []
3952
- }), f = {
3960
+ }), p = {
3953
3961
  model: h,
3954
3962
  update: (D) => {
3955
3963
  var C;
3956
3964
  const y = { ...v.current, ...D };
3957
- p(y), v.current = y, (C = t.current) == null || C.setFormLoading(y.loading);
3965
+ f(y), v.current = y, (C = t.current) == null || C.setFormLoading(y.loading);
3958
3966
  }
3959
3967
  }, x = async () => {
3960
3968
  Z(() => {
@@ -3982,7 +3990,7 @@ function Yl(e, t) {
3982
3990
  a,
3983
3991
  z
3984
3992
  );
3985
- f.update({
3993
+ p.update({
3986
3994
  dataSource: n ? n(_) : _
3987
3995
  }), u.update({
3988
3996
  total: b,
@@ -3990,7 +3998,7 @@ function Yl(e, t) {
3990
3998
  pageSize: C[`${s.pageSize}`]
3991
3999
  });
3992
4000
  }).finally(() => {
3993
- f.update({ loading: !1 });
4001
+ p.update({ loading: !1 });
3994
4002
  });
3995
4003
  }, k = async ({
3996
4004
  searchFormParams: D,
@@ -3999,7 +4007,7 @@ function Yl(e, t) {
3999
4007
  const C = { ...D };
4000
4008
  return r(C).then((z) => {
4001
4009
  const { list: I } = fr(a, z), _ = n ? n(I) : I;
4002
- f.update({
4010
+ p.update({
4003
4011
  selection: [],
4004
4012
  dataSource: _
4005
4013
  }), u.update({
@@ -4007,7 +4015,7 @@ function Yl(e, t) {
4007
4015
  total: I.length
4008
4016
  });
4009
4017
  }).finally(() => {
4010
- f.update({ loading: !1 });
4018
+ p.update({ loading: !1 });
4011
4019
  });
4012
4020
  }, O = async ({
4013
4021
  searchFormParams: D,
@@ -4025,7 +4033,7 @@ function Yl(e, t) {
4025
4033
  b,
4026
4034
  w
4027
4035
  );
4028
- return f.update({
4036
+ return p.update({
4029
4037
  loading: !1,
4030
4038
  selection: [],
4031
4039
  dataSource: P
@@ -4034,7 +4042,7 @@ function Yl(e, t) {
4034
4042
  return r(C).then((I) => {
4035
4043
  let _ = n ? n(I) : I;
4036
4044
  const b = [..._], w = 0, P = w + d.current.pageSize;
4037
- _ = _.slice(w, P), f.update({
4045
+ _ = _.slice(w, P), p.update({
4038
4046
  selection: [],
4039
4047
  dataSource: _,
4040
4048
  backupsDataSource: b
@@ -4043,13 +4051,13 @@ function Yl(e, t) {
4043
4051
  total: I.length
4044
4052
  });
4045
4053
  }).finally(() => {
4046
- f.update({ loading: !1 });
4054
+ p.update({ loading: !1 });
4047
4055
  });
4048
4056
  }, A = async ({
4049
4057
  searchFormParams: D,
4050
4058
  paginationParams: y
4051
4059
  }) => {
4052
- if (f.update({ loading: !0, selection: [] }), r)
4060
+ if (p.update({ loading: !0, selection: [] }), r)
4053
4061
  switch (!!d.current) {
4054
4062
  case !0:
4055
4063
  return o === !0 ? O({
@@ -4068,10 +4076,10 @@ function Yl(e, t) {
4068
4076
  paginationParams: y
4069
4077
  });
4070
4078
  }
4071
- return f.update({ loading: !1 });
4079
+ return p.update({ loading: !1 });
4072
4080
  };
4073
4081
  return {
4074
- table: f,
4082
+ table: p,
4075
4083
  pagination: u,
4076
4084
  firstGetTableData: x,
4077
4085
  onPaginationChange: (D, y) => {
@@ -4218,13 +4226,13 @@ const On = () => {
4218
4226
  onPaginationChange: u,
4219
4227
  onAllChange: d,
4220
4228
  resetData: h,
4221
- resetAllData: p,
4229
+ resetAllData: f,
4222
4230
  reloadData: v
4223
- } = Yl(e, t), { rowSelection: f } = ql(e, s), { divRef: x, scroll: R } = Gl(e, r), { getTopToolbarBindProps: k } = Xl(e, s), O = () => {
4231
+ } = Yl(e, t), { rowSelection: p } = ql(e, s), { divRef: x, scroll: R } = Gl(e, r), { getTopToolbarBindProps: k } = Xl(e, s), O = () => {
4224
4232
  const {
4225
4233
  autoRequest: A,
4226
- api: U,
4227
- formatDataSource: V,
4234
+ api: V,
4235
+ formatDataSource: U,
4228
4236
  autoPagination: q,
4229
4237
  columns: H,
4230
4238
  scroll: j,
@@ -4237,7 +4245,7 @@ const On = () => {
4237
4245
  };
4238
4246
  return l(), Ae(n, () => ({
4239
4247
  resetData: h,
4240
- resetAllData: p,
4248
+ resetAllData: f,
4241
4249
  reloadData: v,
4242
4250
  /** 合并一下antd中table实例的方法 */
4243
4251
  ...i.current
@@ -4257,7 +4265,7 @@ const On = () => {
4257
4265
  columns: o,
4258
4266
  dataSource: s.model.dataSource,
4259
4267
  pagination: !1,
4260
- rowSelection: f,
4268
+ rowSelection: p,
4261
4269
  scroll: R,
4262
4270
  onChange: d
4263
4271
  }
@@ -4277,7 +4285,7 @@ const On = () => {
4277
4285
  "xph-table-full-wrapper": "_xph-table-full-wrapper_mdv0g_1",
4278
4286
  "full-wrapper__table": "_full-wrapper__table_mdv0g_13"
4279
4287
  }, tu = (e, t) => {
4280
- const { tableProps: r } = Ul(e), n = N(null), { searchFormRef: o, searchFormProps: i } = jl(r), { crudFormDialogRef: s, crudFormProps: a } = Kl(r);
4288
+ const { tableProps: r } = Vl(e), n = N(null), { searchFormRef: o, searchFormProps: i } = jl(r), { crudFormDialogRef: s, crudFormProps: a } = Kl(r);
4281
4289
  let { fullHeight: l } = r.table;
4282
4290
  const { virtual: u } = r.table;
4283
4291
  return u && (l = !0), Ae(t, () => ({
@@ -4307,10 +4315,10 @@ const On = () => {
4307
4315
  export {
4308
4316
  Jt as XphActions,
4309
4317
  Dl as XphCrudFormDialog,
4310
- Uc as XphDialog,
4318
+ Vc as XphDialog,
4311
4319
  iu as XphExtendCompPropsProvider,
4312
4320
  jn as XphForm,
4313
- Vc as XphPortal,
4321
+ Uc as XphPortal,
4314
4322
  cu as XphTable,
4315
4323
  dr as buildUUID,
4316
4324
  vo as getValueByPath,