xph-crud 0.3.2 → 0.3.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
@@ -43,11 +43,11 @@ function yo() {
43
43
  pr = 1;
44
44
  var e = Te, 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, s = { key: !0, ref: !0, __self: !0, __source: !0 };
45
45
  function a(i, l, u) {
46
- var d, g = {}, f = null, b = null;
47
- u !== void 0 && (f = "" + u), l.key !== void 0 && (f = "" + l.key), l.ref !== void 0 && (b = l.ref);
48
- for (d in l) n.call(l, d) && !s.hasOwnProperty(d) && (g[d] = l[d]);
49
- if (i && i.defaultProps) for (d in l = i.defaultProps, l) g[d] === void 0 && (g[d] = l[d]);
50
- return { $$typeof: t, type: i, key: f, ref: b, props: g, _owner: o.current };
46
+ var f, g = {}, d = null, b = null;
47
+ u !== void 0 && (d = "" + u), l.key !== void 0 && (d = "" + l.key), l.ref !== void 0 && (b = l.ref);
48
+ for (f in l) n.call(l, f) && !s.hasOwnProperty(f) && (g[f] = l[f]);
49
+ if (i && i.defaultProps) for (f in l = i.defaultProps, l) g[f] === void 0 && (g[f] = l[f]);
50
+ return { $$typeof: t, type: i, key: d, ref: b, props: g, _owner: o.current };
51
51
  }
52
52
  return Ve.Fragment = r, Ve.jsx = a, Ve.jsxs = a, Ve;
53
53
  }
@@ -64,7 +64,7 @@ var Ue = {};
64
64
  var gr;
65
65
  function _o() {
66
66
  return gr || (gr = 1, process.env.NODE_ENV !== "production" && function() {
67
- var e = Te, 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"), a = Symbol.for("react.provider"), i = 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";
67
+ var e = Te, 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"), a = Symbol.for("react.provider"), i = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), p = Symbol.iterator, v = "@@iterator";
68
68
  function _(c) {
69
69
  if (c === null || typeof c != "object")
70
70
  return null;
@@ -92,7 +92,7 @@ function _o() {
92
92
  var k = !1, I = !1, U = !1, Y = !1, x = !1, C;
93
93
  C = Symbol.for("react.module.reference");
94
94
  function w(c) {
95
- return !!(typeof c == "string" || typeof c == "function" || c === n || c === s || x || c === o || c === u || c === d || Y || c === b || k || I || U || typeof c == "object" && c !== null && (c.$$typeof === f || c.$$typeof === g || c.$$typeof === a || c.$$typeof === i || c.$$typeof === l || // This needs to include all possible module reference object
95
+ return !!(typeof c == "string" || typeof c == "function" || c === n || c === s || x || c === o || c === u || c === f || Y || c === b || k || I || U || typeof c == "object" && c !== null && (c.$$typeof === d || c.$$typeof === g || c.$$typeof === a || c.$$typeof === i || 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.
@@ -126,7 +126,7 @@ function _o() {
126
126
  return "StrictMode";
127
127
  case u:
128
128
  return "Suspense";
129
- case d:
129
+ case f:
130
130
  return "SuspenseList";
131
131
  }
132
132
  if (typeof c == "object")
@@ -142,7 +142,7 @@ function _o() {
142
142
  case g:
143
143
  var P = c.displayName || null;
144
144
  return P !== null ? P : E(c.type) || "Memo";
145
- case f: {
145
+ case d: {
146
146
  var z = c, H = z._payload, $ = z._init;
147
147
  try {
148
148
  return E($(H));
@@ -153,14 +153,14 @@ function _o() {
153
153
  }
154
154
  return null;
155
155
  }
156
- var D = Object.assign, M = 0, Q, te, he, de, ce, L, W;
156
+ var D = Object.assign, M = 0, Q, te, he, de, ce, L, N;
157
157
  function B() {
158
158
  }
159
159
  B.__reactDisabledLog = !0;
160
160
  function q() {
161
161
  {
162
162
  if (M === 0) {
163
- Q = console.log, te = console.info, he = console.warn, de = console.error, ce = console.group, L = console.groupCollapsed, W = console.groupEnd;
163
+ Q = console.log, te = console.info, he = console.warn, de = console.error, ce = console.group, L = console.groupCollapsed, N = console.groupEnd;
164
164
  var c = {
165
165
  configurable: !0,
166
166
  enumerable: !0,
@@ -208,7 +208,7 @@ function _o() {
208
208
  value: L
209
209
  }),
210
210
  groupEnd: D({}, c, {
211
- value: W
211
+ value: N
212
212
  })
213
213
  });
214
214
  }
@@ -229,13 +229,13 @@ function _o() {
229
229
  ` + Oe + c;
230
230
  }
231
231
  }
232
- var We = !1, me;
232
+ var Ne = !1, me;
233
233
  {
234
234
  var Qe = typeof WeakMap == "function" ? WeakMap : Map;
235
235
  me = new Qe();
236
236
  }
237
- function Ne(c, m) {
238
- if (!c || We)
237
+ function We(c, m) {
238
+ if (!c || Ne)
239
239
  return "";
240
240
  {
241
241
  var y = me.get(c);
@@ -243,7 +243,7 @@ function _o() {
243
243
  return y;
244
244
  }
245
245
  var P;
246
- We = !0;
246
+ Ne = !0;
247
247
  var z = Error.prepareStackTrace;
248
248
  Error.prepareStackTrace = void 0;
249
249
  var H;
@@ -300,13 +300,13 @@ function _o() {
300
300
  }
301
301
  }
302
302
  } finally {
303
- We = !1, Le.current = H, yt(), Error.prepareStackTrace = z;
303
+ Ne = !1, Le.current = H, yt(), Error.prepareStackTrace = z;
304
304
  }
305
305
  var Ie = c ? c.displayName || c.name : "", Fe = Ie ? $e(Ie) : "";
306
306
  return typeof c == "function" && me.set(c, Fe), Fe;
307
307
  }
308
308
  function _t(c, m, y) {
309
- return Ne(c, !1);
309
+ return We(c, !1);
310
310
  }
311
311
  function wt(c) {
312
312
  var m = c.prototype;
@@ -316,13 +316,13 @@ function _o() {
316
316
  if (c == null)
317
317
  return "";
318
318
  if (typeof c == "function")
319
- return Ne(c, wt(c));
319
+ return We(c, wt(c));
320
320
  if (typeof c == "string")
321
321
  return $e(c);
322
322
  switch (c) {
323
323
  case u:
324
324
  return $e("Suspense");
325
- case d:
325
+ case f:
326
326
  return $e("SuspenseList");
327
327
  }
328
328
  if (typeof c == "object")
@@ -331,7 +331,7 @@ function _o() {
331
331
  return _t(c.render);
332
332
  case g:
333
333
  return Pe(c.type, m, y);
334
- case f: {
334
+ case d: {
335
335
  var P = c, z = P._payload, H = P._init;
336
336
  try {
337
337
  return Pe(H(z), m, y);
@@ -515,11 +515,11 @@ Check the render method of \`` + c + "`.";
515
515
  return "";
516
516
  }
517
517
  }
518
- function Wn(c) {
518
+ function Nn(c) {
519
519
  return "";
520
520
  }
521
521
  var ir = {};
522
- function Nn(c) {
522
+ function Wn(c) {
523
523
  {
524
524
  var m = sr();
525
525
  if (!m) {
@@ -536,7 +536,7 @@ Check the top-level render call using <` + y + ">.");
536
536
  if (!c._store || c._store.validated || c.key != null)
537
537
  return;
538
538
  c._store.validated = !0;
539
- var y = Nn(m);
539
+ var y = Wn(m);
540
540
  if (ir[y])
541
541
  return;
542
542
  ir[y] = !0;
@@ -607,7 +607,7 @@ Check the top-level render call using <` + y + ">.");
607
607
  if (!$) {
608
608
  var O = "";
609
609
  (c === void 0 || typeof c == "object" && c !== null && Object.keys(c).length === 0) && (O += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
610
- var ee = Wn();
610
+ var ee = Nn();
611
611
  ee ? O += ee : O += sr();
612
612
  var K;
613
613
  c === null ? K = "null" : Be(c) ? K = "array" : c !== void 0 && c.$$typeof === t ? (K = "<" + (E(c.type) || "Unknown") + " />", O = " Did you accidentally export a JSX literal instead of a component?") : K = typeof c, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", K, O);
@@ -733,13 +733,13 @@ function Ae(e) {
733
733
  }
734
734
  return "";
735
735
  }
736
- var Wo = /[\\^$.*+?()[\]{}|]/g, No = /^\[object .+?Constructor\]$/, Ho = Function.prototype, Bo = Object.prototype, Vo = Ho.toString, Uo = Bo.hasOwnProperty, Yo = RegExp(
737
- "^" + Vo.call(Uo).replace(Wo, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
736
+ var No = /[\\^$.*+?()[\]{}|]/g, Wo = /^\[object .+?Constructor\]$/, Ho = Function.prototype, Bo = Object.prototype, Vo = Ho.toString, Uo = Bo.hasOwnProperty, Yo = RegExp(
737
+ "^" + Vo.call(Uo).replace(No, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
738
738
  );
739
739
  function Go(e) {
740
740
  if (!ae(e) || zo(e))
741
741
  return !1;
742
- var t = Z(e) ? Yo : No;
742
+ var t = Z(e) ? Yo : Wo;
743
743
  return t.test(Ae(e));
744
744
  }
745
745
  function Xo(e, t) {
@@ -901,8 +901,8 @@ var cn = Object.prototype, vs = cn.hasOwnProperty, ys = cn.propertyIsEnumerable,
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, ct = 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]", Ws = "[object Int8Array]", Ns = "[object Int16Array]", Hs = "[object Int32Array]", Bs = "[object Uint8Array]", Vs = "[object Uint8ClampedArray]", Us = "[object Uint16Array]", Ys = "[object Uint32Array]", V = {};
905
- V[Is] = V[Ls] = V[Ws] = V[Ns] = V[Hs] = V[Bs] = V[Vs] = V[Us] = V[Ys] = !0;
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, ct = 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]", Hs = "[object Int32Array]", Bs = "[object Uint8Array]", Vs = "[object Uint8ClampedArray]", Us = "[object Uint16Array]", Ys = "[object Uint32Array]", V = {};
905
+ V[Is] = V[Ls] = V[Ns] = V[Ws] = V[Hs] = V[Bs] = V[Vs] = V[Us] = V[Ys] = !0;
906
906
  V[Cs] = V[Ts] = V[ks] = V[Ss] = V[zs] = V[Ps] = V[Rs] = V[js] = V[Fs] = V[Es] = V[As] = V[Ds] = V[Os] = V[$s] = V[Ms] = !1;
907
907
  function Gs(e) {
908
908
  return ue(e) && an(e.length) && !!V[ge(e)];
@@ -1120,11 +1120,11 @@ var zi = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=
1120
1120
  t.push(o ? s.replace(Ii, "$1") : n || r);
1121
1121
  }), t;
1122
1122
  });
1123
- function Wi(e) {
1123
+ function Ni(e) {
1124
1124
  return e == null ? "" : nn(e);
1125
1125
  }
1126
- function Ni(e, t) {
1127
- return oe(e) ? e : li(e, t) ? [e] : Li(Wi(e));
1126
+ function Wi(e, t) {
1127
+ return oe(e) ? e : li(e, t) ? [e] : Li(Ni(e));
1128
1128
  }
1129
1129
  var Hi = 1 / 0;
1130
1130
  function Bi(e) {
@@ -1208,8 +1208,8 @@ function ua(e, t, r) {
1208
1208
  function Fr(e) {
1209
1209
  return ua(e, ri, la);
1210
1210
  }
1211
- var Lt = De(pe, "DataView"), Wt = De(pe, "Promise"), Nt = De(pe, "Set"), Er = "[object Map]", da = "[object Object]", Ar = "[object Promise]", Dr = "[object Set]", Or = "[object WeakMap]", $r = "[object DataView]", fa = Ae(Lt), pa = Ae(qe), ga = Ae(Wt), ha = Ae(Nt), ma = Ae(zt), xe = ge;
1212
- (Lt && xe(new Lt(new ArrayBuffer(1))) != $r || qe && xe(new qe()) != Er || Wt && xe(Wt.resolve()) != Ar || Nt && xe(new Nt()) != Dr || zt && xe(new zt()) != Or) && (xe = function(e) {
1211
+ var Lt = De(pe, "DataView"), Nt = De(pe, "Promise"), Wt = De(pe, "Set"), Er = "[object Map]", da = "[object Object]", Ar = "[object Promise]", Dr = "[object Set]", Or = "[object WeakMap]", $r = "[object DataView]", fa = Ae(Lt), pa = Ae(qe), ga = Ae(Nt), ha = Ae(Wt), ma = Ae(zt), xe = ge;
1212
+ (Lt && xe(new Lt(new ArrayBuffer(1))) != $r || qe && xe(new qe()) != Er || Nt && xe(Nt.resolve()) != Ar || Wt && xe(new Wt()) != Dr || zt && xe(new zt()) != Or) && (xe = function(e) {
1213
1213
  var t = ge(e), r = t == da ? e.constructor : void 0, n = r ? Ae(r) : "";
1214
1214
  if (n)
1215
1215
  switch (n) {
@@ -1266,10 +1266,10 @@ function bn(e, t, r, n, o, s) {
1266
1266
  var a = r & Sa, i = e.length, l = t.length;
1267
1267
  if (i != l && !(a && l > i))
1268
1268
  return !1;
1269
- var u = s.get(e), d = s.get(t);
1270
- if (u && d)
1271
- return u == t && d == e;
1272
- var g = -1, f = !0, b = r & Pa ? new ut() : void 0;
1269
+ var u = s.get(e), f = s.get(t);
1270
+ if (u && f)
1271
+ return u == t && f == e;
1272
+ var g = -1, d = !0, b = r & Pa ? new ut() : void 0;
1273
1273
  for (s.set(e, t), s.set(t, e); ++g < i; ) {
1274
1274
  var p = e[g], v = t[g];
1275
1275
  if (n)
@@ -1277,7 +1277,7 @@ function bn(e, t, r, n, o, s) {
1277
1277
  if (_ !== void 0) {
1278
1278
  if (_)
1279
1279
  continue;
1280
- f = !1;
1280
+ d = !1;
1281
1281
  break;
1282
1282
  }
1283
1283
  if (b) {
@@ -1285,15 +1285,15 @@ function bn(e, t, r, n, o, s) {
1285
1285
  if (!Ta(b, S) && (p === R || o(p, R, r, n, s)))
1286
1286
  return b.push(S);
1287
1287
  })) {
1288
- f = !1;
1288
+ d = !1;
1289
1289
  break;
1290
1290
  }
1291
1291
  } else if (!(p === v || o(p, v, r, n, s))) {
1292
- f = !1;
1292
+ d = !1;
1293
1293
  break;
1294
1294
  }
1295
1295
  }
1296
- return s.delete(e), s.delete(t), f;
1296
+ return s.delete(e), s.delete(t), d;
1297
1297
  }
1298
1298
  function Ra(e) {
1299
1299
  var t = -1, r = Array(e.size);
@@ -1307,14 +1307,14 @@ function ja(e) {
1307
1307
  r[++t] = n;
1308
1308
  }), r;
1309
1309
  }
1310
- var Fa = 1, Ea = 2, Aa = "[object Boolean]", Da = "[object Date]", Oa = "[object Error]", $a = "[object Map]", Ma = "[object Number]", ka = "[object RegExp]", za = "[object Set]", Ia = "[object String]", La = "[object Symbol]", Wa = "[object ArrayBuffer]", Na = "[object DataView]", Mr = Ce ? Ce.prototype : void 0, Dt = Mr ? Mr.valueOf : void 0;
1310
+ var Fa = 1, Ea = 2, Aa = "[object Boolean]", Da = "[object Date]", Oa = "[object Error]", $a = "[object Map]", Ma = "[object Number]", ka = "[object RegExp]", za = "[object Set]", Ia = "[object String]", La = "[object Symbol]", Na = "[object ArrayBuffer]", Wa = "[object DataView]", Mr = Ce ? Ce.prototype : void 0, Dt = Mr ? Mr.valueOf : void 0;
1311
1311
  function Ha(e, t, r, n, o, s, a) {
1312
1312
  switch (r) {
1313
- case Na:
1313
+ case Wa:
1314
1314
  if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset)
1315
1315
  return !1;
1316
1316
  e = e.buffer, t = t.buffer;
1317
- case Wa:
1317
+ case Na:
1318
1318
  return !(e.byteLength != t.byteLength || !s(new lt(e), new lt(t)));
1319
1319
  case Aa:
1320
1320
  case Da:
@@ -1335,8 +1335,8 @@ function Ha(e, t, r, n, o, s, a) {
1335
1335
  if (u)
1336
1336
  return u == t;
1337
1337
  n |= Ea, a.set(e, t);
1338
- var d = bn(i(e), i(t), n, o, s, a);
1339
- return a.delete(e), d;
1338
+ var f = bn(i(e), i(t), n, o, s, a);
1339
+ return a.delete(e), f;
1340
1340
  case La:
1341
1341
  if (Dt)
1342
1342
  return Dt.call(e) == Dt.call(t);
@@ -1345,12 +1345,12 @@ function Ha(e, t, r, n, o, s, a) {
1345
1345
  }
1346
1346
  var Ba = 1, Va = Object.prototype, Ua = Va.hasOwnProperty;
1347
1347
  function Ya(e, t, r, n, o, s) {
1348
- var a = r & Ba, i = Fr(e), l = i.length, u = Fr(t), d = u.length;
1349
- if (l != d && !a)
1348
+ var a = r & Ba, i = Fr(e), l = i.length, u = Fr(t), f = u.length;
1349
+ if (l != f && !a)
1350
1350
  return !1;
1351
1351
  for (var g = l; g--; ) {
1352
- var f = i[g];
1353
- if (!(a ? f in t : Ua.call(t, f)))
1352
+ var d = i[g];
1353
+ if (!(a ? d in t : Ua.call(t, d)))
1354
1354
  return !1;
1355
1355
  }
1356
1356
  var b = s.get(e), p = s.get(t);
@@ -1359,15 +1359,15 @@ function Ya(e, t, r, n, o, s) {
1359
1359
  var v = !0;
1360
1360
  s.set(e, t), s.set(t, e);
1361
1361
  for (var _ = a; ++g < l; ) {
1362
- f = i[g];
1363
- var R = e[f], S = t[f];
1362
+ d = i[g];
1363
+ var R = e[d], S = t[d];
1364
1364
  if (n)
1365
- var j = a ? n(S, R, f, t, e, s) : n(R, S, f, e, t, s);
1365
+ var j = a ? n(S, R, d, t, e, s) : n(R, S, d, e, t, s);
1366
1366
  if (!(j === void 0 ? R === S || o(R, S, r, n, s) : j)) {
1367
1367
  v = !1;
1368
1368
  break;
1369
1369
  }
1370
- _ || (_ = f == "constructor");
1370
+ _ || (_ = d == "constructor");
1371
1371
  }
1372
1372
  if (v && !_) {
1373
1373
  var k = e.constructor, I = t.constructor;
@@ -1379,22 +1379,22 @@ var Ga = 1, kr = "[object Arguments]", zr = "[object Array]", nt = "[object Obje
1379
1379
  function qa(e, t, r, n, o, s) {
1380
1380
  var a = oe(e), i = oe(t), l = a ? zr : xe(e), u = i ? zr : xe(t);
1381
1381
  l = l == kr ? nt : l, u = u == kr ? nt : u;
1382
- var d = l == nt, g = u == nt, f = l == u;
1383
- if (f && ct(e)) {
1382
+ var f = l == nt, g = u == nt, d = l == u;
1383
+ if (d && ct(e)) {
1384
1384
  if (!ct(t))
1385
1385
  return !1;
1386
- a = !0, d = !1;
1386
+ a = !0, f = !1;
1387
1387
  }
1388
- if (f && !d)
1388
+ if (d && !f)
1389
1389
  return s || (s = new ye()), a || Kt(e) ? bn(e, t, r, n, o, s) : Ha(e, t, l, r, n, o, s);
1390
1390
  if (!(r & Ga)) {
1391
- var b = d && Ir.call(e, "__wrapped__"), p = g && Ir.call(t, "__wrapped__");
1391
+ var b = f && Ir.call(e, "__wrapped__"), p = g && Ir.call(t, "__wrapped__");
1392
1392
  if (b || p) {
1393
1393
  var v = b ? e.value() : e, _ = p ? t.value() : t;
1394
1394
  return s || (s = new ye()), o(v, _, r, n, s);
1395
1395
  }
1396
1396
  }
1397
- return f ? (s || (s = new ye()), Ya(e, t, r, n, o, s)) : !1;
1397
+ return d ? (s || (s = new ye()), Ya(e, t, r, n, o, s)) : !1;
1398
1398
  }
1399
1399
  function vn(e, t, r, n, o) {
1400
1400
  return e === t ? !0 : e == null || t == null || !ue(e) && !ue(t) ? e !== e && t !== t : qa(e, t, r, n, vn, o);
@@ -1429,12 +1429,12 @@ function ec(e, t, r, n, o, s, a) {
1429
1429
  Ht(e, r, u);
1430
1430
  return;
1431
1431
  }
1432
- var d = s ? s(i, l, r + "", e, t, a) : void 0, g = d === void 0;
1432
+ var f = s ? s(i, l, r + "", e, t, a) : void 0, g = f === void 0;
1433
1433
  if (g) {
1434
- var f = oe(l), b = !f && ct(l), p = !f && !b && Kt(l);
1435
- d = l, f || b || p ? oe(i) ? d = i : Za(i) ? d = Jo(i) : b ? (g = !1, d = oa(l)) : p ? (g = !1, d = va(l)) : d = [] : Ki(l) || It(l) ? (d = i, It(i) ? d = Qa(i) : (!ae(i) || Z(i)) && (d = ya(l))) : g = !1;
1434
+ var d = oe(l), b = !d && ct(l), p = !d && !b && Kt(l);
1435
+ f = l, d || b || p ? oe(i) ? f = i : Za(i) ? f = Jo(i) : b ? (g = !1, f = oa(l)) : p ? (g = !1, f = va(l)) : f = [] : Ki(l) || It(l) ? (f = i, It(i) ? f = Qa(i) : (!ae(i) || Z(i)) && (f = ya(l))) : g = !1;
1436
1436
  }
1437
- g && (a.set(l, d), o(d, l, n, s, a), a.delete(l)), Ht(e, r, d);
1437
+ g && (a.set(l, f), o(f, l, n, s, a), a.delete(l)), Ht(e, r, f);
1438
1438
  }
1439
1439
  function yn(e, t, r, n, o) {
1440
1440
  e !== t && Ja(t, function(s, a) {
@@ -1473,14 +1473,14 @@ var le = gs(function(e, t, r) {
1473
1473
  function ic(e, t, r, n) {
1474
1474
  if (!ae(e))
1475
1475
  return e;
1476
- t = Ni(t, e);
1476
+ t = Wi(t, e);
1477
1477
  for (var o = -1, s = t.length, a = s - 1, i = e; i != null && ++o < s; ) {
1478
1478
  var l = Bi(t[o]), u = r;
1479
1479
  if (l === "__proto__" || l === "constructor" || l === "prototype")
1480
1480
  return e;
1481
1481
  if (o != a) {
1482
- var d = i[l];
1483
- u = void 0, u === void 0 && (u = ae(d) ? d : Gt(t[o + 1]) ? [] : {});
1482
+ var f = i[l];
1483
+ u = void 0, u === void 0 && (u = ae(f) ? f : Gt(t[o + 1]) ? [] : {});
1484
1484
  }
1485
1485
  sn(i, l, u), i = i[l];
1486
1486
  }
@@ -1517,16 +1517,16 @@ function cc(e) {
1517
1517
  }
1518
1518
  function lc(e, t) {
1519
1519
  const { type: r, disabled: n, items: o, max: s } = e, a = (g) => {
1520
- const { auth: f } = g;
1520
+ const { auth: d } = g;
1521
1521
  let b = !1;
1522
- return f ? oe(f) ? b = f.every((p) => t(p)) : b = t(f) : b = !0, b;
1522
+ return d ? oe(d) ? b = d.every((p) => t(p)) : b = t(d) : b = !0, b;
1523
1523
  }, i = (g) => {
1524
- let { ifShow: f = !0 } = g;
1525
- return f = f && Z(f) ? f() : f, f && a(g);
1524
+ let { ifShow: d = !0 } = g;
1525
+ return d = d && Z(d) ? d() : d, d && a(g);
1526
1526
  }, l = (g) => {
1527
- const { component: f, render: b, componentProps: p } = g;
1528
- if (f)
1529
- switch (f) {
1527
+ const { component: d, render: b, componentProps: p } = g;
1528
+ if (d)
1529
+ switch (d) {
1530
1530
  case "Dropdown": {
1531
1531
  const { dropDownItems: v } = p;
1532
1532
  return !!v.length;
@@ -1536,29 +1536,29 @@ function lc(e, t) {
1536
1536
  }
1537
1537
  return !!b;
1538
1538
  }, u = o.map((g) => {
1539
- const f = { ...g };
1540
- if (xn(f)) {
1541
- const b = f.component;
1542
- switch (f.componentProps = {
1539
+ const d = { ...g };
1540
+ if (xn(d)) {
1541
+ const b = d.component;
1542
+ switch (d.componentProps = {
1543
1543
  type: r,
1544
1544
  disabled: n,
1545
- ...f.componentProps
1545
+ ...d.componentProps
1546
1546
  }, b) {
1547
1547
  case "Dropdown": {
1548
- f.componentProps.dropDownItems = (f.componentProps.dropDownItems || []).filter(i);
1548
+ d.componentProps.dropDownItems = (d.componentProps.dropDownItems || []).filter(i);
1549
1549
  break;
1550
1550
  }
1551
1551
  }
1552
1552
  }
1553
- return f;
1554
- }).filter(i).filter(l), d = oc(s) && s >= 0;
1553
+ return d;
1554
+ }).filter(i).filter(l), f = oc(s) && s >= 0;
1555
1555
  return {
1556
1556
  showActionItems: u.slice(
1557
1557
  0,
1558
- d ? s : u.length
1558
+ f ? s : u.length
1559
1559
  ),
1560
1560
  ellipsisActionItems: u.slice(
1561
- d ? s : u.length
1561
+ f ? s : u.length
1562
1562
  )
1563
1563
  };
1564
1564
  }
@@ -1777,30 +1777,30 @@ const mc = (e) => {
1777
1777
  r({ left: n, top: s }), l !== void 0 && o(l), u !== void 0 && a(u);
1778
1778
  }
1779
1779
  };
1780
- }, Wr = ({
1780
+ }, Nr = ({
1781
1781
  containerSizeTarget: e,
1782
1782
  dialogHeaderRef: t,
1783
1783
  dialogRef: r,
1784
1784
  setDialogPosition: n
1785
1785
  }) => {
1786
- const o = A(0), s = A(0), a = (d) => {
1787
- const g = d.getBoundingClientRect(), f = g.width, b = g.height, p = -0.5 * f, v = -0.5 * b;
1786
+ const o = A(0), s = A(0), a = (f) => {
1787
+ const g = f.getBoundingClientRect(), d = g.width, b = g.height, p = -0.5 * d, v = -0.5 * b;
1788
1788
  return { translateX: p, translateY: v };
1789
- }, i = ve((d) => {
1790
- const { offsetLeft: g, offsetTop: f } = r.current;
1791
- o.current = d.clientX - g, s.current = d.clientY - f, document.addEventListener("mousemove", l), document.addEventListener("mouseup", u);
1792
- }, []), l = ve((d) => {
1793
- const g = r.current, { translateX: f, translateY: b } = a(g);
1794
- let p = d.clientX - o.current, v = d.clientY - s.current;
1795
- const _ = -f, R = -b, S = e.current.scrollWidth - g.offsetWidth - f, j = e.current.scrollHeight - g.offsetHeight - b;
1789
+ }, i = ve((f) => {
1790
+ const { offsetLeft: g, offsetTop: d } = r.current;
1791
+ o.current = f.clientX - g, s.current = f.clientY - d, document.addEventListener("mousemove", l), document.addEventListener("mouseup", u);
1792
+ }, []), l = ve((f) => {
1793
+ const g = r.current, { translateX: d, translateY: b } = a(g);
1794
+ let p = f.clientX - o.current, v = f.clientY - s.current;
1795
+ const _ = -d, R = -b, S = e.current.scrollWidth - g.offsetWidth - d, j = e.current.scrollHeight - g.offsetHeight - b;
1796
1796
  p < _ && (p = _), p > S && (p = S), 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
  }, []);
1800
1800
  return G(() => {
1801
- const d = t.current;
1802
- return d.addEventListener("mousedown", i), () => {
1803
- d.removeEventListener("mousedown", i);
1801
+ const f = t.current;
1802
+ return f.addEventListener("mousedown", i), () => {
1803
+ f.removeEventListener("mousedown", i);
1804
1804
  };
1805
1805
  }, []), {};
1806
1806
  }, wc = ({
@@ -1841,9 +1841,9 @@ const mc = (e) => {
1841
1841
  dialogHeaderRef: o,
1842
1842
  dialogFooterRef: s
1843
1843
  }) => {
1844
- const { clientHeight: a, scrollHeight: i } = t.current, [l, u] = X(0), [d, g] = X(
1844
+ const { clientHeight: a, scrollHeight: i } = t.current, [l, u] = X(0), [f, g] = X(
1845
1845
  "unset"
1846
- ), f = (b, p) => {
1846
+ ), d = (b, p) => {
1847
1847
  var I, U;
1848
1848
  const R = (I = o.current) == null ? void 0 : I.offsetHeight, S = (U = s.current) == null ? void 0 : U.offsetHeight;
1849
1849
  let j = b - R - S - 0;
@@ -1855,11 +1855,11 @@ const mc = (e) => {
1855
1855
  if (l === a) {
1856
1856
  console.log("触发了dialogMaxHeight改变");
1857
1857
  const p = (b = n.current) == null ? void 0 : b.getBoundingClientRect().height;
1858
- g(f(p, a)), u("unset");
1858
+ g(d(p, a)), u("unset");
1859
1859
  }
1860
1860
  }, [l]), G(() => {
1861
1861
  r !== "unset" && r !== 0 && (console.log("触发了重新设置contentMaxHeight", r), g(
1862
- f(
1862
+ d(
1863
1863
  r,
1864
1864
  r > a ? i : a
1865
1865
  )
@@ -1868,7 +1868,7 @@ const mc = (e) => {
1868
1868
  e ? u(a) : (u(0), g("unset"));
1869
1869
  }, [e]), {
1870
1870
  dialogMaxHeight: l,
1871
- contentMaxHeight: d
1871
+ contentMaxHeight: f
1872
1872
  };
1873
1873
  }, Cc = () => {
1874
1874
  const [e, t] = X(160), [r, n] = X(60), o = A(null);
@@ -1909,13 +1909,13 @@ const mc = (e) => {
1909
1909
  l.nextSibling
1910
1910
  ), l.parentNode.insertBefore(i, u), l.parentNode.removeChild(u);
1911
1911
  }, a = (i) => {
1912
- var d, g;
1913
- const l = n.querySelectorAll(
1914
- `.${o.xphDialog}`
1915
- ), u = l[l.length - 1];
1916
- if (((d = t.current) == null ? void 0 : d.parentNode) !== u && (s((g = t.current) == null ? void 0 : g.parentNode, u), i)) {
1917
- const f = i.target;
1918
- f.tagName === "INPUT" && f.focus && f.focus();
1912
+ var f, g;
1913
+ const l = Array.from(
1914
+ n.querySelectorAll(`.${o.xphDialog}`)
1915
+ ).filter((d) => (d == null ? void 0 : d.parentNode) === n), u = l[l.length - 1];
1916
+ if (((f = t.current) == null ? void 0 : f.parentNode) !== u && (s((g = t.current) == null ? void 0 : g.parentNode, u), i)) {
1917
+ const d = i.target;
1918
+ d.tagName === "INPUT" && d.focus && d.focus();
1919
1919
  }
1920
1920
  };
1921
1921
  return G(() => {
@@ -1925,12 +1925,12 @@ const mc = (e) => {
1925
1925
  a,
1926
1926
  !1
1927
1927
  ), () => {
1928
- var u, d;
1928
+ var u, f;
1929
1929
  (u = t.current) == null || u.removeEventListener(
1930
1930
  "mousedown",
1931
1931
  a,
1932
1932
  !1
1933
- ), (d = r.current) == null || d.removeEventListener(
1933
+ ), (f = r.current) == null || f.removeEventListener(
1934
1934
  "mousedown",
1935
1935
  a,
1936
1936
  !1
@@ -1942,18 +1942,18 @@ const mc = (e) => {
1942
1942
  else {
1943
1943
  const i = Array.from(
1944
1944
  n.querySelectorAll(`.${o.xphDialog}`)
1945
- ), l = i.map(
1946
- (f) => f.querySelector(`.${o.xphDialogWrapper}`)
1947
- ).filter((f) => f !== null), u = i.map(
1948
- (f) => f.querySelector(`.${o.xphMinimizeDialog}`)
1949
- ).filter((f) => f !== null), d = l.filter(
1950
- (f) => f.style.display === "flex"
1945
+ ).filter((d) => (d == null ? void 0 : d.parentNode) === n), l = i.map(
1946
+ (d) => d.querySelector(`.${o.xphDialogWrapper}`)
1947
+ ).filter((d) => d !== null), u = i.map(
1948
+ (d) => d.querySelector(`.${o.xphMinimizeDialog}`)
1949
+ ).filter((d) => d !== null), f = l.filter(
1950
+ (d) => d.style.display === "flex"
1951
1951
  ), g = u.filter(
1952
- (f) => f.style.display === "flex"
1952
+ (d) => d.style.display === "flex"
1953
1953
  );
1954
- if (d.length) {
1954
+ if (f.length) {
1955
1955
  s(
1956
- d[d.length - 1].parentNode,
1956
+ f[f.length - 1].parentNode,
1957
1957
  i[i.length - 1]
1958
1958
  );
1959
1959
  return;
@@ -2031,38 +2031,38 @@ const mc = (e) => {
2031
2031
  display: "none"
2032
2032
  }
2033
2033
  }
2034
- ), []), i = A(null), l = A(), u = A(!1), [d, g] = X(!1), f = A(0), b = A(0), p = (x, C) => {
2034
+ ), []), i = A(null), l = A(), u = A(!1), [f, g] = X(!1), d = A(0), b = A(0), p = (x, C) => {
2035
2035
  r.current || s({
2036
2036
  width: t.current.offsetWidth,
2037
2037
  height: t.current.offsetHeight
2038
2038
  }), u.current = !0, g(!0), l.current = C;
2039
2039
  const { clientX: w, clientY: T } = x;
2040
- f.current = w, b.current = T;
2040
+ d.current = w, b.current = T;
2041
2041
  const F = parseFloat(t.current.style.left), E = parseFloat(t.current.style.top), D = t.current.offsetWidth, M = t.current.offsetHeight;
2042
2042
  i.current.style.display = "block", i.current.style.left = `${F - 0.5 * D}px`, i.current.style.top = `${E - 0.5 * M}px`, i.current.style.width = `${D}px`, i.current.style.height = `${M}px`;
2043
2043
  }, v = (x) => {
2044
2044
  if (u.current) {
2045
- const { clientX: C, clientY: w } = x, T = C - f.current, F = w - b.current, E = parseFloat(i.current.style.left), D = parseFloat(i.current.style.top), M = i.current.offsetWidth, Q = i.current.offsetHeight, te = r.current.width, he = r.current.height, de = e.current.scrollWidth, ce = e.current.scrollHeight;
2046
- let L = M, W = Q, B = E, q = D;
2045
+ const { clientX: C, clientY: w } = x, T = C - d.current, F = w - b.current, E = parseFloat(i.current.style.left), D = parseFloat(i.current.style.top), M = i.current.offsetWidth, Q = i.current.offsetHeight, te = r.current.width, he = r.current.height, de = e.current.scrollWidth, ce = e.current.scrollHeight;
2046
+ let L = M, N = Q, B = E, q = D;
2047
2047
  switch (l.current) {
2048
2048
  case "lt": {
2049
- L = L - T, W = W - F, q = q + F, B = B + T, L < te && (L = M, B = E), W < he && (W = Q, q = D), B < 0 && (B = 0, L = M), q < 0 && (q = 0, W = Q);
2049
+ L = L - T, N = N - F, q = q + F, B = B + T, L < te && (L = M, B = E), N < he && (N = Q, q = D), B < 0 && (B = 0, L = M), q < 0 && (q = 0, N = Q);
2050
2050
  break;
2051
2051
  }
2052
2052
  case "rt": {
2053
- L = L + T, W = W - F, q = q + F, B = E, L < te && (L = M), W < he && (W = Q, q = D), L > de - B && (L = de - B), q < 0 && (q = 0, W = Q);
2053
+ L = L + T, N = N - F, q = q + F, B = E, L < te && (L = M), N < he && (N = Q, q = D), L > de - B && (L = de - B), q < 0 && (q = 0, N = Q);
2054
2054
  break;
2055
2055
  }
2056
2056
  case "rb": {
2057
- L = L + T, W = W + F, q = D, B = E, L < te && (L = M), W < he && (W = Q), L > de - B && (L = de - B), W > ce - q && (W = ce - q);
2057
+ L = L + T, N = N + F, q = D, B = E, L < te && (L = M), N < he && (N = Q), L > de - B && (L = de - B), N > ce - q && (N = ce - q);
2058
2058
  break;
2059
2059
  }
2060
2060
  case "lb": {
2061
- L = L - T, W = W + F, q = D, B = B + T, L < te && (L = M, B = E), W < he && (W = Q), B < 0 && (B = 0, L = M), W > ce - q && (W = ce - q);
2061
+ L = L - T, N = N + F, q = D, B = B + T, L < te && (L = M, B = E), N < he && (N = Q), B < 0 && (B = 0, L = M), N > ce - q && (N = ce - q);
2062
2062
  break;
2063
2063
  }
2064
2064
  }
2065
- i.current.style.left = `${B}px`, i.current.style.top = `${q}px`, i.current.style.width = `${L}px`, i.current.style.height = `${W}px`, f.current = C, b.current = w;
2065
+ i.current.style.left = `${B}px`, i.current.style.top = `${q}px`, i.current.style.width = `${L}px`, i.current.style.height = `${N}px`, d.current = C, b.current = w;
2066
2066
  }
2067
2067
  }, _ = () => {
2068
2068
  if (u.current) {
@@ -2080,7 +2080,7 @@ const mc = (e) => {
2080
2080
  return G(() => (document.body.addEventListener("mousemove", I), document.body.addEventListener("mouseup", U), document.body.addEventListener("mouseleave", Y), () => {
2081
2081
  document.body.removeEventListener("mousemove", I), document.body.removeEventListener("mouseup", U), document.body.removeEventListener("mouseleave", Y);
2082
2082
  }), []), {
2083
- resizingState: d,
2083
+ resizingState: f,
2084
2084
  DashedBox: a,
2085
2085
  onMousedownResizeLt: R,
2086
2086
  onMousedownResizeRt: S,
@@ -2100,7 +2100,7 @@ const mc = (e) => {
2100
2100
  }), []);
2101
2101
  const { containerSizeTarget: a, setContainerSizeTarget: i } = Ec({
2102
2102
  container: e
2103
- }), { width: l, height: u } = r, { width: d, height: g } = t, f = d || l, b = g || u, { clientWidth: p, clientHeight: v } = a.current, _ = f ? f > p ? p : f : 0, R = b ? b > v ? v : b : "unset", S = A(_), j = A(R), k = (x) => {
2103
+ }), { width: l, height: u } = r, { width: f, height: g } = t, d = f || l, b = g || u, { clientWidth: p, clientHeight: v } = a.current, _ = d ? d > p ? p : d : 0, R = b ? b > v ? v : b : "unset", S = A(_), j = A(R), k = (x) => {
2104
2104
  S.current = x.width, j.current = x.height;
2105
2105
  }, I = A(Math.floor(p / 2)), U = A(Math.floor(v / 2)), Y = (x) => {
2106
2106
  I.current = x.left, U.current = x.top;
@@ -2234,7 +2234,7 @@ const mc = (e) => {
2234
2234
  onClosesquare: a,
2235
2235
  className: i
2236
2236
  }, l) => {
2237
- const { token: u } = Oc(), d = {
2237
+ const { token: u } = Oc(), f = {
2238
2238
  borderRadius: u.borderRadiusLG
2239
2239
  };
2240
2240
  return /* @__PURE__ */ h.jsxs(
@@ -2244,7 +2244,7 @@ const mc = (e) => {
2244
2244
  display: n ? "flex" : "none",
2245
2245
  left: t,
2246
2246
  top: r,
2247
- ...d
2247
+ ...f
2248
2248
  },
2249
2249
  className: `${Ot["minimize-windows"]} ${i}`,
2250
2250
  ref: l,
@@ -2270,7 +2270,7 @@ const mc = (e) => {
2270
2270
  "dialog__resize-rt": "_dialog__resize-rt_o2yvb_125",
2271
2271
  "dialog__resize-rb": "_dialog__resize-rb_o2yvb_137",
2272
2272
  "dialog__resize-lb": "_dialog__resize-lb_o2yvb_149"
2273
- }, { useToken: Lc } = Ke, Wc = fe((e, t) => {
2273
+ }, { useToken: Lc } = Ke, Nc = fe((e, t) => {
2274
2274
  console.log("render Dialog==============================================");
2275
2275
  const { token: r } = Lc(), n = {
2276
2276
  borderRadius: r.borderRadiusLG
@@ -2281,9 +2281,9 @@ const mc = (e) => {
2281
2281
  title: i,
2282
2282
  renderFooter: l,
2283
2283
  renderTitle: u,
2284
- getPopperContainer: d
2285
- } = e, g = d(), [f, b] = fc(!1), [p, v] = X(!1), { open: _, close: R } = vc(
2286
- f,
2284
+ getPopperContainer: f
2285
+ } = e, g = f(), [d, b] = fc(!1), [p, v] = X(!1), { open: _, close: R } = vc(
2286
+ d,
2287
2287
  e,
2288
2288
  b,
2289
2289
  v
@@ -2305,19 +2305,19 @@ const mc = (e) => {
2305
2305
  initWidth: T,
2306
2306
  initHeight: F,
2307
2307
  setDialogChangeRecord: te
2308
- }), { dialogLeft: L, dialogTop: W, setDialogPosition: B } = _c({
2308
+ }), { dialogLeft: L, dialogTop: N, setDialogPosition: B } = _c({
2309
2309
  initTop: w,
2310
2310
  initLeft: C,
2311
2311
  setDialogChangeRecord: te
2312
2312
  }), { dialogMaxHeight: q, contentMaxHeight: yt } = xc({
2313
- visible: f,
2313
+ visible: d,
2314
2314
  containerSizeTarget: Y,
2315
2315
  dialogHeight: de,
2316
2316
  dialogRef: j,
2317
2317
  dialogHeaderRef: k,
2318
2318
  dialogFooterRef: U
2319
- }), { minResizeRecord: Le, setMinResizeRecord: Oe } = Fc(), { minimizeLeft: $e, minimizeTop: We, minimizeRef: me, setMinimizePosition: Qe } = Cc(), {
2320
- minimizeVisible: Ne,
2319
+ }), { minResizeRecord: Le, setMinResizeRecord: Oe } = Fc(), { minimizeLeft: $e, minimizeTop: Ne, minimizeRef: me, setMinimizePosition: Qe } = Cc(), {
2320
+ minimizeVisible: We,
2321
2321
  maximizeVisible: _t,
2322
2322
  setMaximizeVisible: wt,
2323
2323
  onMaximize: Pe,
@@ -2341,19 +2341,19 @@ const mc = (e) => {
2341
2341
  curPropsWidth: E,
2342
2342
  curPropsHeight: D,
2343
2343
  setParentInitRecord: M
2344
- }), Wr({
2344
+ }), Nr({
2345
2345
  containerSizeTarget: Y,
2346
2346
  dialogHeaderRef: k,
2347
2347
  dialogRef: j,
2348
2348
  setDialogPosition: B
2349
- }), Wr({
2349
+ }), Nr({
2350
2350
  containerSizeTarget: Y,
2351
2351
  dialogHeaderRef: me,
2352
2352
  dialogRef: me,
2353
2353
  setDialogPosition: Qe
2354
2354
  });
2355
2355
  const { dialogTopShowClassConfig: He } = Tc({
2356
- visible: f,
2356
+ visible: d,
2357
2357
  container: g,
2358
2358
  dialogRef: j,
2359
2359
  minimizeRef: me
@@ -2376,18 +2376,18 @@ const mc = (e) => {
2376
2376
  open: _,
2377
2377
  close: Me,
2378
2378
  setLoading: v,
2379
- getVisible: () => f
2379
+ getVisible: () => d
2380
2380
  })), /* @__PURE__ */ h.jsxs("div", { className: He.xphDialog, children: [
2381
- a && f ? /* @__PURE__ */ h.jsx("div", { className: ne["xph-dialog-mask"] }) : null,
2381
+ a && d ? /* @__PURE__ */ h.jsx("div", { className: ne["xph-dialog-mask"] }) : null,
2382
2382
  /* @__PURE__ */ h.jsx(
2383
2383
  $c,
2384
2384
  {
2385
- visible: Ne,
2385
+ visible: We,
2386
2386
  className: `${He.xphMinimizeDialog}`,
2387
2387
  loading: p,
2388
2388
  ref: me,
2389
2389
  left: $e,
2390
- top: We,
2390
+ top: Ne,
2391
2391
  title: i,
2392
2392
  onMaximize: () => Pe("minimize"),
2393
2393
  onClosesquare: Me
@@ -2399,9 +2399,9 @@ const mc = (e) => {
2399
2399
  ref: j,
2400
2400
  className: `${ne["xph-dialog-wrapper"]} ${He.xphDialogWrapper}`,
2401
2401
  style: {
2402
- display: f && !Ne ? "flex" : "none",
2402
+ display: d && !We ? "flex" : "none",
2403
2403
  left: L,
2404
- top: W,
2404
+ top: N,
2405
2405
  width: he,
2406
2406
  height: de,
2407
2407
  maxHeight: q,
@@ -2426,7 +2426,7 @@ const mc = (e) => {
2426
2426
  style: {
2427
2427
  maxHeight: yt
2428
2428
  },
2429
- children: /* @__PURE__ */ h.jsx(Gr, { spinning: p, children: f ? o : null })
2429
+ children: /* @__PURE__ */ h.jsx(Gr, { spinning: p, children: d ? o : null })
2430
2430
  }
2431
2431
  ),
2432
2432
  l ? /* @__PURE__ */ h.jsx("div", { ref: U, children: l({ loading: p }) }) : /* @__PURE__ */ h.jsx("div", { ref: U, className: ne.dialog__footer, children: /* @__PURE__ */ h.jsx(Zt, { ...S }) }),
@@ -2463,10 +2463,10 @@ const mc = (e) => {
2463
2463
  ),
2464
2464
  /* @__PURE__ */ h.jsx(xt, {})
2465
2465
  ] });
2466
- }), Nc = (e, t) => {
2466
+ }), Wc = (e, t) => {
2467
2467
  const { children: r, ...n } = e, { baseDialogProps: o, dialogProps: s } = mc(n), { getPopperContainer: a } = s;
2468
- return console.log("render XphDialog=============================================="), /* @__PURE__ */ h.jsx(Bc, { getPopperContainer: a, children: /* @__PURE__ */ h.jsx(Wc, { ...s, baseDialogProps: o, ref: t, children: r }) });
2469
- }, Hc = fe(Nc), Bc = ({
2468
+ return console.log("render XphDialog=============================================="), /* @__PURE__ */ h.jsx(Bc, { getPopperContainer: a, children: /* @__PURE__ */ h.jsx(Nc, { ...s, baseDialogProps: o, ref: t, children: r }) });
2469
+ }, Hc = fe(Wc), Bc = ({
2470
2470
  children: e,
2471
2471
  getPopperContainer: t
2472
2472
  }) => {
@@ -2532,16 +2532,16 @@ const Xc = [
2532
2532
  let l = !0, u = !0;
2533
2533
  if (Vt(a) && (l = a), Vt(i) && (u = i), Z(a)) {
2534
2534
  l = a({ model: t });
2535
- const d = Lr(n.current) ? l : n.current;
2535
+ const f = Lr(n.current) ? l : n.current;
2536
2536
  G(() => {
2537
- dt(l, d) || s && s();
2537
+ dt(l, f) || s && s();
2538
2538
  }, [t]);
2539
2539
  }
2540
2540
  if (Z(i)) {
2541
2541
  u = i({ model: t });
2542
- const d = Lr(o.current) ? u : o.current;
2542
+ const f = Lr(o.current) ? u : o.current;
2543
2543
  G(() => {
2544
- dt(u, d) || s && s();
2544
+ dt(u, f) || s && s();
2545
2545
  }, [t]);
2546
2546
  }
2547
2547
  return n.current = l, o.current = u, { isShow: l, isIfShow: u };
@@ -2562,19 +2562,19 @@ const Xc = [
2562
2562
  const { rules: o = [], label: s, required: a } = e;
2563
2563
  let i = o;
2564
2564
  const l = Qt(e), u = l ? Yc(e.component) + s : "";
2565
- function d(p, v) {
2565
+ function f(p, v) {
2566
2566
  const _ = p.message || u;
2567
2567
  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(_) : Promise.resolve();
2568
2568
  }
2569
2569
  const g = Z(a) ? a({ model: t }) : a;
2570
- g && (!i || i.length === 0 ? i = [{ required: g, validator: d }] : i.findIndex(
2570
+ g && (!i || i.length === 0 ? i = [{ required: g, validator: f }] : i.findIndex(
2571
2571
  (v) => Reflect.has(v, "required")
2572
- ) === -1 && i.push({ required: g, validator: d }));
2573
- const f = i.findIndex(
2572
+ ) === -1 && i.push({ required: g, validator: f }));
2573
+ const d = i.findIndex(
2574
2574
  (p) => Reflect.has(p, "required") && !Reflect.has(p, "validator")
2575
2575
  );
2576
- if (f !== -1) {
2577
- const p = i[f];
2576
+ if (d !== -1) {
2577
+ const p = i[d];
2578
2578
  if (r || (p.required = !1), l) {
2579
2579
  const { component: v } = e;
2580
2580
  Reflect.has(p, "type") || (p.type = v === "InputNumber" ? "number" : "string"), p.message = p.message || u, (v.includes("Input") || v.includes("Textarea")) && (p.whitespace = !0);
@@ -2710,8 +2710,8 @@ function al(e, t) {
2710
2710
  Reflect.deleteProperty(e, n);
2711
2711
  continue;
2712
2712
  }
2713
- const [i, l] = e[n], [u, d] = Array.isArray(a) ? a : [a, a];
2714
- e[o] = it(i).format(u), e[s] = it(l).format(d), Reflect.deleteProperty(e, n);
2713
+ const [i, l] = e[n], [u, f] = Array.isArray(a) ? a : [a, a];
2714
+ e[o] = it(i).format(u), e[s] = it(l).format(f), Reflect.deleteProperty(e, n);
2715
2715
  }
2716
2716
  return e;
2717
2717
  }
@@ -2721,22 +2721,22 @@ const cl = (e, t, r) => {
2721
2721
  handleFormatRenderValues: (a) => {
2722
2722
  const i = {}, l = [];
2723
2723
  return n.forEach((u) => {
2724
- const d = Reflect.has(a, u.name), g = sl(u.name, a) || il(u.name, a);
2725
- if (d || g) {
2726
- const f = g || a[u.name];
2724
+ const f = Reflect.has(a, u.name), g = sl(u.name, a) || il(u.name, a);
2725
+ if (f || g) {
2726
+ const d = g || a[u.name];
2727
2727
  if (Qt(u))
2728
2728
  if (Xc.includes(u.component)) {
2729
- if (oe(f)) {
2729
+ if (oe(d)) {
2730
2730
  const b = [];
2731
- for (const p of f)
2731
+ for (const p of d)
2732
2732
  b.push(p ? it(p) : null);
2733
2733
  i[u.name] = b;
2734
2734
  } else
2735
- i[u.name] = f ? it(f) : null;
2735
+ i[u.name] = d ? it(d) : null;
2736
2736
  l.push(u.name);
2737
2737
  } else
2738
- i[u.name] = f, l.push(u.name);
2739
- er(u) && (i[u.name] = f, l.push(u.name));
2738
+ i[u.name] = d, l.push(u.name);
2739
+ er(u) && (i[u.name] = d, l.push(u.name));
2740
2740
  }
2741
2741
  }), {
2742
2742
  renderValues: i,
@@ -2744,7 +2744,7 @@ const cl = (e, t, r) => {
2744
2744
  };
2745
2745
  },
2746
2746
  handleFormatReturnValues: (a) => {
2747
- var l, u, d, g, f;
2747
+ var l, u, f, g, d;
2748
2748
  if (!ae(a))
2749
2749
  return {};
2750
2750
  const i = {};
@@ -2753,12 +2753,12 @@ const cl = (e, t, r) => {
2753
2753
  const [v] = b;
2754
2754
  if (!v || Z(p))
2755
2755
  continue;
2756
- const { transformDateFunc: _ } = t, R = (d = (u = (l = r.current) == null ? void 0 : l.get(v)) == null ? void 0 : u.current) == null ? void 0 : d.componentProps, S = R == null ? void 0 : R.valueFormat;
2756
+ const { transformDateFunc: _ } = t, R = (f = (u = (l = r.current) == null ? void 0 : l.get(v)) == null ? void 0 : u.current) == null ? void 0 : f.componentProps, S = R == null ? void 0 : R.valueFormat;
2757
2757
  if (ae(p)) {
2758
2758
  const j = p;
2759
2759
  j.format && (p = _ == null ? void 0 : _(j, S));
2760
2760
  }
2761
- oe(p) && ((g = p[0]) != null && g.format) && ((f = p[1]) != null && f.format) && (p = p.map(
2761
+ oe(p) && ((g = p[0]) != null && g.format) && ((d = p[1]) != null && d.format) && (p = p.map(
2762
2762
  (j) => _ == null ? void 0 : _(j, S)
2763
2763
  )), _n(p) && (p === "" ? p = void 0 : p = p.trim()), i[v] = p;
2764
2764
  }
@@ -2770,8 +2770,8 @@ const cl = (e, t, r) => {
2770
2770
  e.getFieldsValue(...l)
2771
2771
  ),
2772
2772
  setFieldsValue: (l) => {
2773
- const { renderValues: u, validKeys: d } = t(l);
2774
- e.setFieldsValue(u), e.validateFields(d);
2773
+ const { renderValues: u, validKeys: f } = t(l);
2774
+ e.setFieldsValue(u), e.validateFields(f);
2775
2775
  },
2776
2776
  resetFields: async () => e.resetFields(),
2777
2777
  validator: async (l) => e.validateFields(l).then((u) => r(u)),
@@ -2852,10 +2852,10 @@ const cl = (e, t, r) => {
2852
2852
  params: r,
2853
2853
  apiCallback: l,
2854
2854
  isUseWatch: a
2855
- }), d = (f) => {
2856
- f && !n && u(), s && s(f);
2855
+ }), f = (d) => {
2856
+ d && !n && u(), s && s(d);
2857
2857
  }, g = () => {
2858
- const { api: f, params: b, immediate: p, isusewatch: v, ..._ } = e;
2858
+ const { api: d, params: b, immediate: p, isusewatch: v, ..._ } = e;
2859
2859
  return _;
2860
2860
  };
2861
2861
  return /* @__PURE__ */ h.jsx(
@@ -2863,7 +2863,7 @@ const cl = (e, t, r) => {
2863
2863
  {
2864
2864
  ...g(),
2865
2865
  options: i,
2866
- onDropdownVisibleChange: d
2866
+ onDropdownVisibleChange: f
2867
2867
  }
2868
2868
  );
2869
2869
  }, pl = (e) => {
@@ -2880,10 +2880,10 @@ const cl = (e, t, r) => {
2880
2880
  params: r,
2881
2881
  apiCallback: l,
2882
2882
  isUseWatch: a
2883
- }), d = (f) => {
2884
- f && !n && u(), s && s(f);
2883
+ }), f = (d) => {
2884
+ d && !n && u(), s && s(d);
2885
2885
  }, g = () => {
2886
- const { api: f, params: b, immediate: p, isusewatch: v, ..._ } = e;
2886
+ const { api: d, params: b, immediate: p, isusewatch: v, ..._ } = e;
2887
2887
  return _;
2888
2888
  };
2889
2889
  return /* @__PURE__ */ h.jsx(
@@ -2891,7 +2891,7 @@ const cl = (e, t, r) => {
2891
2891
  {
2892
2892
  ...g(),
2893
2893
  treeData: i,
2894
- onDropdownVisibleChange: d
2894
+ onDropdownVisibleChange: f
2895
2895
  }
2896
2896
  );
2897
2897
  }, gl = (e) => {
@@ -2904,7 +2904,7 @@ const cl = (e, t, r) => {
2904
2904
  isUseWatch: o
2905
2905
  });
2906
2906
  const i = () => {
2907
- const { api: l, params: u, isusewatch: d, ...g } = e;
2907
+ const { api: l, params: u, isusewatch: f, ...g } = e;
2908
2908
  return g;
2909
2909
  };
2910
2910
  return /* @__PURE__ */ h.jsx(Kr, { ...i(), dataSource: s });
@@ -2922,10 +2922,10 @@ const cl = (e, t, r) => {
2922
2922
  params: r,
2923
2923
  apiCallback: l,
2924
2924
  isUseWatch: a
2925
- }), d = (f) => {
2926
- f && !n && u(), s && s(f);
2925
+ }), f = (d) => {
2926
+ d && !n && u(), s && s(d);
2927
2927
  }, g = () => {
2928
- const { api: f, params: b, immediate: p, isusewatch: v, ..._ } = e;
2928
+ const { api: d, params: b, immediate: p, isusewatch: v, ..._ } = e;
2929
2929
  return _;
2930
2930
  };
2931
2931
  return /* @__PURE__ */ h.jsx(
@@ -2933,7 +2933,7 @@ const cl = (e, t, r) => {
2933
2933
  {
2934
2934
  ...g(),
2935
2935
  options: i,
2936
- onDropdownVisibleChange: d
2936
+ onDropdownVisibleChange: f
2937
2937
  }
2938
2938
  );
2939
2939
  }, be = {
@@ -2959,8 +2959,8 @@ const cl = (e, t, r) => {
2959
2959
  // 默认返回String(如果多文件默认","拼接)
2960
2960
  value: u = t,
2961
2961
  // 默认文件列表
2962
- onChange: d
2963
- } = e, g = A(!0), f = A(0), b = A([]), [p, v] = X([]), _ = (x) => {
2962
+ onChange: f
2963
+ } = e, g = A(!0), d = A(0), b = A([]), [p, v] = X([]), _ = (x) => {
2964
2964
  b.current = x, v([...x]);
2965
2965
  }, R = () => {
2966
2966
  const {
@@ -2977,15 +2977,15 @@ const cl = (e, t, r) => {
2977
2977
  }, S = (x) => {
2978
2978
  const C = x.size / 1024 / 1024 < o;
2979
2979
  C || Ft.error(`文件大小超过:${o}M, 请重试`);
2980
- const w = b.current.length + f.current < n;
2981
- return w || Ft.error(`文件数量不能超过${n}个`), C && w && f.current++, C && w && j(x), $t.LIST_IGNORE;
2980
+ const w = b.current.length + d.current < n;
2981
+ return w || Ft.error(`文件数量不能超过${n}个`), C && w && d.current++, C && w && j(x), $t.LIST_IGNORE;
2982
2982
  }, j = (x) => {
2983
2983
  a ? (Ft.error("暂时不支持裁剪功能,后续兼容。。。。"), k({ file: x })) : k({ file: x });
2984
2984
  }, k = (x) => {
2985
2985
  r ? r({ file: x.file, ...i }).then((C) => {
2986
2986
  _([...b.current, ...C]);
2987
2987
  }).finally(() => {
2988
- f.current--;
2988
+ d.current--;
2989
2989
  }) : (Object.assign(x.file, {
2990
2990
  status: "done",
2991
2991
  url: URL.createObjectURL(
@@ -2993,7 +2993,7 @@ const cl = (e, t, r) => {
2993
2993
  type: Kc(x.file.type)
2994
2994
  })
2995
2995
  )
2996
- }), _([...b.current, x.file]), f.current--);
2996
+ }), _([...b.current, x.file]), d.current--);
2997
2997
  }, I = (x) => {
2998
2998
  const { file: C, fileList: w } = x, { status: T } = C;
2999
2999
  switch (T) {
@@ -3052,7 +3052,7 @@ const cl = (e, t, r) => {
3052
3052
  return;
3053
3053
  }
3054
3054
  const x = Y();
3055
- d == null || d(x);
3055
+ f == null || f(x);
3056
3056
  }, [p]), /* @__PURE__ */ h.jsx(
3057
3057
  $t,
3058
3058
  {
@@ -3064,34 +3064,34 @@ const cl = (e, t, r) => {
3064
3064
  children: "上传"
3065
3065
  }
3066
3066
  );
3067
- }, N = /* @__PURE__ */ new Map();
3068
- N.set("Input", Ut);
3069
- N.set("ApiSelect", fl);
3070
- N.set("Select", Xr);
3071
- N.set("InputNumber", eo);
3072
- N.set("ApiTreeSelect", pl);
3073
- N.set("TreeSelect", qr);
3074
- N.set("ApiTransfer", gl);
3075
- N.set("Transfer", Kr);
3076
- N.set("Switch", to);
3077
- N.set("Button", ie);
3078
- N.set("Radio", Zr);
3079
- N.set("RadioGroup", Zr.Group);
3080
- N.set("Checkbox", Qr);
3081
- N.set("CheckboxGroup", Qr.Group);
3082
- N.set("Cascader", ro);
3083
- N.set("TimePicker", no);
3084
- N.set("DatePicker", gt);
3085
- N.set("MonthPicker", gt.MonthPicker);
3086
- N.set("WeekPicker", gt.WeekPicker);
3087
- N.set("RangePicker", gt.RangePicker);
3088
- N.set("InputPassword", Ut.Password);
3089
- N.set("InputTextArea", Ut.TextArea);
3090
- N.set("ApiAutoComplete", hl);
3091
- N.set("AutoComplete", Jr);
3092
- N.set("Upload", $t);
3093
- N.set("AutoUpload", ml);
3094
- const Nr = {
3067
+ }, W = /* @__PURE__ */ new Map();
3068
+ W.set("Input", Ut);
3069
+ W.set("ApiSelect", fl);
3070
+ W.set("Select", Xr);
3071
+ W.set("InputNumber", eo);
3072
+ W.set("ApiTreeSelect", pl);
3073
+ W.set("TreeSelect", qr);
3074
+ W.set("ApiTransfer", gl);
3075
+ W.set("Transfer", Kr);
3076
+ W.set("Switch", to);
3077
+ W.set("Button", ie);
3078
+ W.set("Radio", Zr);
3079
+ W.set("RadioGroup", Zr.Group);
3080
+ W.set("Checkbox", Qr);
3081
+ W.set("CheckboxGroup", Qr.Group);
3082
+ W.set("Cascader", ro);
3083
+ W.set("TimePicker", no);
3084
+ W.set("DatePicker", gt);
3085
+ W.set("MonthPicker", gt.MonthPicker);
3086
+ W.set("WeekPicker", gt.WeekPicker);
3087
+ W.set("RangePicker", gt.RangePicker);
3088
+ W.set("InputPassword", Ut.Password);
3089
+ W.set("InputTextArea", Ut.TextArea);
3090
+ W.set("ApiAutoComplete", hl);
3091
+ W.set("AutoComplete", Jr);
3092
+ W.set("Upload", $t);
3093
+ W.set("AutoUpload", ml);
3094
+ const Wr = {
3095
3095
  "form-item-force": "_form-item-force_1hsf3_1",
3096
3096
  "form-item-hidden": "_form-item-hidden_1hsf3_9"
3097
3097
  }, bl = fe(
@@ -3107,10 +3107,10 @@ const Nr = {
3107
3107
  t,
3108
3108
  a,
3109
3109
  o
3110
- ), { colProps: d } = rl(t, n), { componentProps: g } = tl(
3110
+ ), { colProps: f } = rl(t, n), { componentProps: g } = tl(
3111
3111
  t,
3112
3112
  a
3113
- ), { rules: f } = Qc({
3113
+ ), { rules: d } = Qc({
3114
3114
  item: t,
3115
3115
  model: a,
3116
3116
  isShow: u,
@@ -3140,16 +3140,16 @@ const Nr = {
3140
3140
  const Y = () => ({
3141
3141
  name: _,
3142
3142
  label: R,
3143
- rules: f,
3143
+ rules: d,
3144
3144
  wrapperCol: S,
3145
3145
  labelCol: j,
3146
3146
  valuePropName: k,
3147
3147
  initialValue: I
3148
3148
  }), { setExtendFormComp: x } = jn();
3149
- x(N);
3149
+ x(W);
3150
3150
  const C = Qt(t), w = er(t), T = () => {
3151
3151
  if (C) {
3152
- const F = N.get(t.component);
3152
+ const F = W.get(t.component);
3153
3153
  return /* @__PURE__ */ h.jsx(
3154
3154
  F,
3155
3155
  {
@@ -3168,12 +3168,12 @@ const Nr = {
3168
3168
  }) : null;
3169
3169
  };
3170
3170
  return /* @__PURE__ */ h.jsxs(Vr, { children: [
3171
- U ? /* @__PURE__ */ h.jsx("div", { className: Nr["form-item-force"] }) : null,
3171
+ U ? /* @__PURE__ */ h.jsx("div", { className: Wr["form-item-force"] }) : null,
3172
3172
  l ? /* @__PURE__ */ h.jsx(
3173
3173
  oo,
3174
3174
  {
3175
- ...d,
3176
- className: u && !p ? void 0 : Nr["form-item-hidden"],
3175
+ ...f,
3176
+ className: u && !p ? void 0 : Wr["form-item-hidden"],
3177
3177
  children: /* @__PURE__ */ h.jsx(st.Item, { ...Y(), children: T() })
3178
3178
  }
3179
3179
  ) : null
@@ -3226,8 +3226,8 @@ const Nr = {
3226
3226
  collapseNum: i,
3227
3227
  collapseRef: l,
3228
3228
  onClickCollapseToFalse: u,
3229
- onClickCollapseToTrue: d
3230
- } = dl(n, s), { handleFormatRenderValues: g, handleFormatReturnValues: f } = cl(
3229
+ onClickCollapseToTrue: f
3230
+ } = dl(n, s), { handleFormatRenderValues: g, handleFormatReturnValues: d } = cl(
3231
3231
  o,
3232
3232
  n,
3233
3233
  s
@@ -3240,7 +3240,7 @@ const Nr = {
3240
3240
  } = ll(
3241
3241
  r,
3242
3242
  g,
3243
- f
3243
+ d
3244
3244
  ), S = () => {
3245
3245
  const {
3246
3246
  layout: k,
@@ -3296,19 +3296,19 @@ const Nr = {
3296
3296
  ref: l,
3297
3297
  collapsible: o.length > i,
3298
3298
  onClickExpand: u,
3299
- onClickFold: d
3299
+ onClickFold: f
3300
3300
  }
3301
3301
  ) : null
3302
3302
  ] })
3303
3303
  ] });
3304
3304
  }, Fn = fe(Cl), Tl = Ur(Fn), Sl = fe((e, t) => {
3305
3305
  const { renderActions: r, showSearch: n, tableRef: o } = e, [s, a] = X(!1), i = A(null), l = () => {
3306
- const { reloadData: f } = o.current;
3307
- f();
3306
+ const { reloadData: d } = o.current;
3307
+ d();
3308
3308
  }, u = () => {
3309
- const { resetData: f } = o.current;
3310
- f();
3311
- }, d = ve(() => /* @__PURE__ */ h.jsxs("div", { style: { width: "100%", display: "flex" }, children: [
3309
+ const { resetData: d } = o.current;
3310
+ d();
3311
+ }, f = ve(() => /* @__PURE__ */ h.jsxs("div", { style: { width: "100%", display: "flex" }, children: [
3312
3312
  /* @__PURE__ */ h.jsx("div", { style: { flex: 1, width: 0 }, children: r == null ? void 0 : r() }),
3313
3313
  n && /* @__PURE__ */ h.jsxs("div", { style: { display: "flex", gap: "8px" }, children: [
3314
3314
  /* @__PURE__ */ h.jsx(
@@ -3323,10 +3323,10 @@ const Nr = {
3323
3323
  /* @__PURE__ */ h.jsx(ie, { icon: /* @__PURE__ */ h.jsx(mo, {}), onClick: u, children: "重置" })
3324
3324
  ] })
3325
3325
  ] }), [n, r]), g = () => {
3326
- const { renderActions: f, ...b } = e;
3326
+ const { renderActions: d, ...b } = e;
3327
3327
  return {
3328
3328
  ...b,
3329
- renderActions: d
3329
+ renderActions: f
3330
3330
  };
3331
3331
  };
3332
3332
  return Se(t, () => ({
@@ -3336,15 +3336,15 @@ const Nr = {
3336
3336
  })), /* @__PURE__ */ h.jsx(Gr, { spinning: s, children: /* @__PURE__ */ h.jsx(Tl, { ref: i, ...g() }) });
3337
3337
  }), Pl = Ur(Fn), Rl = (e, t) => {
3338
3338
  const r = A(null), n = A(null), { formProps: o } = e, a = (() => {
3339
- const { formProps: d, ...g } = e;
3339
+ const { formProps: f, ...g } = e;
3340
3340
  return g;
3341
3341
  })(), i = A(null), l = async () => {
3342
- const { onOk: d, renderFooter: g } = a;
3342
+ const { onOk: f, renderFooter: g } = a;
3343
3343
  if (!g) {
3344
- const { ok: f, data: b } = i.current;
3345
- if (f) {
3344
+ const { ok: d, data: b } = i.current;
3345
+ if (d) {
3346
3346
  n.current.validator().then(async (p) => {
3347
- r.current.setLoading(!0), await f({
3347
+ r.current.setLoading(!0), await d({
3348
3348
  values: n.current.getFieldsValue()
3349
3349
  }).then((_) => _).finally(() => {
3350
3350
  r.current.setLoading(!1);
@@ -3352,9 +3352,9 @@ const Nr = {
3352
3352
  });
3353
3353
  return;
3354
3354
  }
3355
- if (d) {
3355
+ if (f) {
3356
3356
  n.current.validator().then(async (p) => {
3357
- r.current.setLoading(!0), await d({
3357
+ r.current.setLoading(!0), await f({
3358
3358
  values: p,
3359
3359
  data: b
3360
3360
  }).then((_) => (console.log(_), _)).finally(() => {
@@ -3366,18 +3366,18 @@ const Nr = {
3366
3366
  r.current.close(), i.current = null;
3367
3367
  }
3368
3368
  }, u = async () => {
3369
- const { onCancel: d, renderFooter: g } = a;
3369
+ const { onCancel: f, renderFooter: g } = a;
3370
3370
  if (!g) {
3371
- const { cancel: f, data: b } = i.current;
3372
- if (f) {
3373
- if (await f({
3371
+ const { cancel: d, data: b } = i.current;
3372
+ if (d) {
3373
+ if (await d({
3374
3374
  values: n.current.getFieldsValue(!0)
3375
3375
  }) === !1) return;
3376
3376
  r.current.close(), i.current = null;
3377
3377
  return;
3378
3378
  }
3379
- if (d) {
3380
- if (await d({
3379
+ if (f) {
3380
+ if (await f({
3381
3381
  values: n.current.getFieldsValue(!0),
3382
3382
  data: b
3383
3383
  }) === !1) return;
@@ -3388,21 +3388,21 @@ const Nr = {
3388
3388
  }
3389
3389
  };
3390
3390
  return Se(t, () => ({
3391
- open: async (d) => {
3391
+ open: async (f) => {
3392
3392
  if (r.current.getVisible()) return;
3393
- const { renderFooter: f } = a;
3394
- return !f && (i.current = d), r.current.open().then(() => {
3395
- n.current.setFieldsValue(d.data || {});
3393
+ const { renderFooter: d } = a;
3394
+ return !d && (i.current = f), r.current.open().then(() => {
3395
+ n.current.setFieldsValue(f.data || {});
3396
3396
  });
3397
3397
  },
3398
- close: (...d) => r.current.close(...d),
3399
- setLoading: (...d) => r.current.setLoading(...d),
3400
- getVisible: (...d) => r.current.getVisible(...d),
3401
- getFieldsValue: (...d) => n.current.getFieldsValue(...d),
3402
- setFieldsValue: (...d) => n.current.setFieldsValue(...d),
3403
- resetFields: (...d) => n.current.resetFields(...d),
3404
- validator: (...d) => n.current.validator(...d),
3405
- scrollToField: (...d) => n.current.scrollToField(...d)
3398
+ close: (...f) => r.current.close(...f),
3399
+ setLoading: (...f) => r.current.setLoading(...f),
3400
+ getVisible: (...f) => r.current.getVisible(...f),
3401
+ getFieldsValue: (...f) => n.current.getFieldsValue(...f),
3402
+ setFieldsValue: (...f) => n.current.setFieldsValue(...f),
3403
+ resetFields: (...f) => n.current.resetFields(...f),
3404
+ validator: (...f) => n.current.validator(...f),
3405
+ scrollToField: (...f) => n.current.scrollToField(...f)
3406
3406
  })), /* @__PURE__ */ h.jsx(
3407
3407
  Hc,
3408
3408
  {
@@ -3578,7 +3578,7 @@ const { useToken: Dl } = Ke, Ol = (e, t, r) => {
3578
3578
  backgroundColor: a.colorErrorBg,
3579
3579
  border: `1px solid ${a.colorError}`
3580
3580
  }
3581
- }, d = Il(
3581
+ }, f = Il(
3582
3582
  i,
3583
3583
  s,
3584
3584
  l
@@ -3586,8 +3586,8 @@ const { useToken: Dl } = Ke, Ol = (e, t, r) => {
3586
3586
  padding: "0 8px",
3587
3587
  borderRadius: a.borderRadiusLG,
3588
3588
  fontSize: a.fontSizeSM,
3589
- ...d
3590
- }, f = () => {
3589
+ ...f
3590
+ }, d = () => {
3591
3591
  var p;
3592
3592
  return (p = i.find((v) => v.value === o)) == null ? void 0 : p.label;
3593
3593
  };
@@ -3595,7 +3595,7 @@ const { useToken: Dl } = Ke, Ol = (e, t, r) => {
3595
3595
  e,
3596
3596
  {
3597
3597
  ...r,
3598
- mainHandleText: f,
3598
+ mainHandleText: d,
3599
3599
  mainStyle: Object.assign((r == null ? void 0 : r.mainStyle) || {}, g)
3600
3600
  }
3601
3601
  );
@@ -3612,17 +3612,17 @@ const { useToken: Dl } = Ke, Ol = (e, t, r) => {
3612
3612
  tag: {
3613
3613
  Comp: Ll
3614
3614
  }
3615
- }, Wl = (e, t) => {
3615
+ }, Nl = (e, t) => {
3616
3616
  var o;
3617
3617
  const {
3618
3618
  renderPrams: { text: r }
3619
3619
  } = e, n = (o = t == null ? void 0 : t.mainHandleText) == null ? void 0 : o.call(t);
3620
3620
  return /* @__PURE__ */ h.jsx("span", { onClick: t == null ? void 0 : t.mainClick, style: t == null ? void 0 : t.mainStyle, children: n ?? r });
3621
- }, Nl = (e) => {
3621
+ }, Wl = (e) => {
3622
3622
  const { setExtendTableCellComp: t } = An();
3623
3623
  t(Hr);
3624
3624
  const { dslConfig: r } = e;
3625
- let n = Wl.bind(null, e), o = 0;
3625
+ let n = Nl.bind(null, e), o = 0;
3626
3626
  for (; o < r.length; ) {
3627
3627
  const s = o++, a = Hr[r[s].component];
3628
3628
  a && (n = a.Comp.bind(null, n, {
@@ -3640,13 +3640,13 @@ function En(e) {
3640
3640
  r = {
3641
3641
  ...o,
3642
3642
  render: (...s) => {
3643
- const a = Z(n), [i, l, u] = s, d = {
3643
+ const a = Z(n), [i, l, u] = s, f = {
3644
3644
  text: i,
3645
3645
  record: l,
3646
3646
  index: u,
3647
3647
  column: JSON.parse(JSON.stringify(o))
3648
- }, g = a ? n(d) : n;
3649
- return /* @__PURE__ */ h.jsx(Nl, { dslConfig: g, renderPrams: d });
3648
+ }, g = a ? n(f) : n;
3649
+ return /* @__PURE__ */ h.jsx(Wl, { dslConfig: g, renderPrams: f });
3650
3650
  }
3651
3651
  };
3652
3652
  }
@@ -3724,7 +3724,7 @@ function Ul(e, t) {
3724
3724
  onChange: s,
3725
3725
  requestFields: a,
3726
3726
  responseFields: i
3727
- } = e.table, l = e.onPaginationChange, { pagination: u, lastPaginationState: d } = Vl(e), [g, f] = X({
3727
+ } = e.table, l = e.onPaginationChange, { pagination: u, lastPaginationState: f } = Vl(e), [g, d] = X({
3728
3728
  loading: !1,
3729
3729
  dataSource: [],
3730
3730
  selection: [],
@@ -3739,7 +3739,7 @@ function Ul(e, t) {
3739
3739
  update: (C) => {
3740
3740
  var T;
3741
3741
  const w = { ...b.current, ...C };
3742
- f(w), b.current = w, (T = t.current) == null || T.setFormLoading(w.loading);
3742
+ d(w), b.current = w, (T = t.current) == null || T.setFormLoading(w.loading);
3743
3743
  }
3744
3744
  }, v = async () => {
3745
3745
  G(() => {
@@ -3755,8 +3755,8 @@ function Ul(e, t) {
3755
3755
  const T = {
3756
3756
  ...C,
3757
3757
  /** 没传paginationParams默认就是上一次 */
3758
- [`${a.current}`]: d.current.current,
3759
- [`${a.pageSize}`]: d.current.pageSize,
3758
+ [`${a.current}`]: f.current.current,
3759
+ [`${a.pageSize}`]: f.current.pageSize,
3760
3760
  ...w ? {
3761
3761
  [`${a.current}`]: w.current,
3762
3762
  [`${a.pageSize}`]: w.pageSize
@@ -3818,7 +3818,7 @@ function Ul(e, t) {
3818
3818
  } else
3819
3819
  return r(T).then((E) => {
3820
3820
  let D = n ? n(E) : E;
3821
- const M = [...D], Q = 0, te = Q + d.current.pageSize;
3821
+ const M = [...D], Q = 0, te = Q + f.current.pageSize;
3822
3822
  D = D.slice(Q, te), p.update({
3823
3823
  selection: [],
3824
3824
  dataSource: D,
@@ -3835,7 +3835,7 @@ function Ul(e, t) {
3835
3835
  paginationParams: w
3836
3836
  }) => {
3837
3837
  if (p.update({ loading: !0, selection: [] }), r)
3838
- switch (!!d.current) {
3838
+ switch (!!f.current) {
3839
3839
  case !0:
3840
3840
  return o === !0 ? S({
3841
3841
  searchFormParams: C,
@@ -3885,8 +3885,8 @@ function Ul(e, t) {
3885
3885
  const { resetFields: C, validator: w } = t.current;
3886
3886
  return C().then(async () => {
3887
3887
  const T = {};
3888
- if (d.current) {
3889
- const { pageSize: F } = d.current;
3888
+ if (f.current) {
3889
+ const { pageSize: F } = f.current;
3890
3890
  o === void 0 && (T.paginationParams = { current: 1, pageSize: F });
3891
3891
  }
3892
3892
  return T.searchFormParams = await w(), j(T);
@@ -3939,12 +3939,12 @@ function Gl(e, t) {
3939
3939
  g && o.current && g.unobserve(o.current);
3940
3940
  };
3941
3941
  }, []);
3942
- const d = pt(() => t ? n ? { x: s, y: i - 70, ...r } : { y: i - 70, ...r } : {
3942
+ const f = pt(() => t ? n ? { x: s, y: i - 70, ...r } : { y: i - 70, ...r } : {
3943
3943
  ...r
3944
3944
  }, [i]);
3945
3945
  return {
3946
3946
  divRef: o,
3947
- scroll: d
3947
+ scroll: f
3948
3948
  };
3949
3949
  }
3950
3950
  function Xl(e, t) {
@@ -3998,9 +3998,9 @@ const An = () => {
3998
3998
  pagination: i,
3999
3999
  firstGetTableData: l,
4000
4000
  onPaginationChange: u,
4001
- onAllChange: d,
4001
+ onAllChange: f,
4002
4002
  resetData: g,
4003
- resetAllData: f,
4003
+ resetAllData: d,
4004
4004
  reloadData: b
4005
4005
  } = Ul(e, t), { rowSelection: p } = Yl(e, a), { divRef: v, scroll: _ } = Gl(e, r), { getTopToolbarBindProps: R } = Xl(e, a), S = () => {
4006
4006
  const {
@@ -4019,7 +4019,7 @@ const An = () => {
4019
4019
  };
4020
4020
  return l(), Se(n, () => ({
4021
4021
  resetData: g,
4022
- resetAllData: f,
4022
+ resetAllData: d,
4023
4023
  reloadData: b,
4024
4024
  /** 合并一下antd中table实例的方法 */
4025
4025
  ...s.current
@@ -4041,7 +4041,7 @@ const An = () => {
4041
4041
  pagination: !1,
4042
4042
  rowSelection: p,
4043
4043
  scroll: _,
4044
- onChange: d
4044
+ onChange: f
4045
4045
  }
4046
4046
  )
4047
4047
  }
@@ -4098,6 +4098,12 @@ export {
4098
4098
  dr as buildUUID,
4099
4099
  vo as getValueByPath,
4100
4100
  fr as getValuesByPathObj,
4101
+ Al as isChildrenColumnProps,
4102
+ xn as isComponentActionItemProps,
4103
+ El as isComponentColumnProps,
4104
+ Qt as isComponentFormItemProps,
4105
+ cc as isRenderActionItemProps,
4106
+ er as isRenderFormItemProps,
4101
4107
  fc as useAsyncState,
4102
4108
  Ze as useXphExtendCompProps,
4103
4109
  cu as useXphForm