@mi-avalon/libs 0.0.27 → 0.0.28

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.es.js CHANGED
@@ -1,10 +1,10 @@
1
- var Zr = Object.defineProperty;
2
- var Gr = (n, e, t) => e in n ? Zr(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
- var m = (n, e, t) => (Gr(n, typeof e != "symbol" ? e + "" : e, t), t);
4
- import * as F from "react";
5
- import Ye, { createContext as Qt, useContext as er, useEffect as ae, Component as Jr, useState as L, useRef as G, useCallback as Z, useMemo as Kr } from "react";
6
- import { theme as Ie, ConfigProvider as tr, Button as ke, Affix as Xr, Card as rr, Breadcrumb as zt, Descriptions as It, Input as et, InputNumber as Qr, DatePicker as nr, Select as en, Radio as tn, Checkbox as rn, Upload as nn, Mentions as sn, Cascader as an, TreeSelect as on, Form as st, Row as cn, Col as ln, Modal as un, Table as dn } from "antd";
7
- import fn from "react-dom";
1
+ var Gr = Object.defineProperty;
2
+ var Jr = (n, e, t) => e in n ? Gr(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
+ var m = (n, e, t) => (Jr(n, typeof e != "symbol" ? e + "" : e, t), t);
4
+ import * as q from "react";
5
+ import Ye, { createContext as Qt, useContext as er, useEffect as ae, Component as Kr, useState as H, useRef as G, useMemo as tr, useCallback as Z } from "react";
6
+ import { theme as Ie, ConfigProvider as rr, Button as ke, Affix as Xr, Card as nr, Breadcrumb as zt, Descriptions as It, Input as et, InputNumber as Qr, DatePicker as sr, Select as en, Radio as tn, Checkbox as rn, Upload as nn, Mentions as sn, Cascader as an, TreeSelect as on, Form as st, Row as cn, Col as ln, Modal as un, Table as fn } from "antd";
7
+ import dn from "react-dom";
8
8
  function hn(n, e) {
9
9
  for (var t = 0; t < e.length; t++) {
10
10
  const r = e[t];
@@ -40,15 +40,15 @@ function pn() {
40
40
  return Se;
41
41
  Yt = 1;
42
42
  var n = Ye, e = Symbol.for("react.element"), t = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, i = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
43
- function o(l, d, c) {
44
- var f, g = {}, v = null, j = null;
45
- c !== void 0 && (v = "" + c), d.key !== void 0 && (v = "" + d.key), d.ref !== void 0 && (j = d.ref);
46
- for (f in d)
47
- r.call(d, f) && !a.hasOwnProperty(f) && (g[f] = d[f]);
43
+ function o(l, f, c) {
44
+ var d, g = {}, y = null, j = null;
45
+ c !== void 0 && (y = "" + c), f.key !== void 0 && (y = "" + f.key), f.ref !== void 0 && (j = f.ref);
46
+ for (d in f)
47
+ r.call(f, d) && !a.hasOwnProperty(d) && (g[d] = f[d]);
48
48
  if (l && l.defaultProps)
49
- for (f in d = l.defaultProps, d)
50
- g[f] === void 0 && (g[f] = d[f]);
51
- return { $$typeof: e, type: l, key: v, ref: j, props: g, _owner: i.current };
49
+ for (d in f = l.defaultProps, f)
50
+ g[d] === void 0 && (g[d] = f[d]);
51
+ return { $$typeof: e, type: l, key: y, ref: j, props: g, _owner: i.current };
52
52
  }
53
53
  return Se.Fragment = t, Se.jsx = o, Se.jsxs = o, Se;
54
54
  }
@@ -65,15 +65,15 @@ var Ce = {};
65
65
  var Lt;
66
66
  function mn() {
67
67
  return Lt || (Lt = 1, process.env.NODE_ENV !== "production" && function() {
68
- var n = Ye, e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), l = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), N = Symbol.iterator, T = "@@iterator";
69
- function H(s) {
68
+ var n = Ye, e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), l = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), $ = Symbol.iterator, N = "@@iterator";
69
+ function I(s) {
70
70
  if (s === null || typeof s != "object")
71
71
  return null;
72
- var u = N && s[N] || s[T];
72
+ var u = $ && s[$] || s[N];
73
73
  return typeof u == "function" ? u : null;
74
74
  }
75
- var O = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
76
- function y(s) {
75
+ var P = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
76
+ function v(s) {
77
77
  {
78
78
  for (var u = arguments.length, h = new Array(u > 1 ? u - 1 : 0), b = 1; b < u; b++)
79
79
  h[b - 1] = arguments[b];
@@ -82,7 +82,7 @@ function mn() {
82
82
  }
83
83
  function k(s, u, h) {
84
84
  {
85
- var b = O.ReactDebugCurrentFrame, S = b.getStackAddendum();
85
+ var b = P.ReactDebugCurrentFrame, S = b.getStackAddendum();
86
86
  S !== "" && (u += "%s", h = h.concat([S]));
87
87
  var _ = h.map(function(R) {
88
88
  return String(R);
@@ -90,10 +90,10 @@ function mn() {
90
90
  _.unshift("Warning: " + u), Function.prototype.apply.call(console[s], console, _);
91
91
  }
92
92
  }
93
- var V = !1, I = !1, J = !1, K = !1, ye = !1, te;
93
+ var F = !1, Y = !1, J = !1, K = !1, ye = !1, te;
94
94
  te = Symbol.for("react.module.reference");
95
95
  function ie(s) {
96
- return !!(typeof s == "string" || typeof s == "function" || s === r || s === a || ye || s === i || s === c || s === f || K || s === j || V || I || J || typeof s == "object" && s !== null && (s.$$typeof === v || s.$$typeof === g || s.$$typeof === o || s.$$typeof === l || s.$$typeof === d || // This needs to include all possible module reference object
96
+ return !!(typeof s == "string" || typeof s == "function" || s === r || s === a || ye || s === i || s === c || s === d || K || s === j || F || Y || J || typeof s == "object" && s !== null && (s.$$typeof === y || s.$$typeof === g || s.$$typeof === o || s.$$typeof === l || s.$$typeof === f || // This needs to include all possible module reference object
97
97
  // types supported by any Flight configuration anywhere since
98
98
  // we don't know which Flight build this will end up being used
99
99
  // with.
@@ -112,7 +112,7 @@ function mn() {
112
112
  function E(s) {
113
113
  if (s == null)
114
114
  return null;
115
- if (typeof s.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof s == "function")
115
+ if (typeof s.tag == "number" && v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof s == "function")
116
116
  return s.displayName || s.name || null;
117
117
  if (typeof s == "string")
118
118
  return s;
@@ -127,7 +127,7 @@ function mn() {
127
127
  return "StrictMode";
128
128
  case c:
129
129
  return "Suspense";
130
- case f:
130
+ case d:
131
131
  return "SuspenseList";
132
132
  }
133
133
  if (typeof s == "object")
@@ -138,12 +138,12 @@ function mn() {
138
138
  case o:
139
139
  var h = s;
140
140
  return we(h._context) + ".Provider";
141
- case d:
141
+ case f:
142
142
  return le(s, s.render, "ForwardRef");
143
143
  case g:
144
144
  var b = s.displayName || null;
145
145
  return b !== null ? b : E(s.type) || "Memo";
146
- case v: {
146
+ case y: {
147
147
  var S = s, _ = S._payload, R = S._init;
148
148
  try {
149
149
  return E(R(_));
@@ -154,14 +154,14 @@ function mn() {
154
154
  }
155
155
  return null;
156
156
  }
157
- var Y = Object.assign, w = 0, M, X, U, re, Q, ue, de;
157
+ var L = Object.assign, w = 0, A, X, U, re, Q, ue, fe;
158
158
  function Rt() {
159
159
  }
160
160
  Rt.__reactDisabledLog = !0;
161
- function xr() {
161
+ function Rr() {
162
162
  {
163
163
  if (w === 0) {
164
- M = console.log, X = console.info, U = console.warn, re = console.error, Q = console.group, ue = console.groupCollapsed, de = console.groupEnd;
164
+ A = console.log, X = console.info, U = console.warn, re = console.error, Q = console.group, ue = console.groupCollapsed, fe = console.groupEnd;
165
165
  var s = {
166
166
  configurable: !0,
167
167
  enumerable: !0,
@@ -181,7 +181,7 @@ function mn() {
181
181
  w++;
182
182
  }
183
183
  }
184
- function Rr() {
184
+ function Sr() {
185
185
  {
186
186
  if (w--, w === 0) {
187
187
  var s = {
@@ -190,33 +190,33 @@ function mn() {
190
190
  writable: !0
191
191
  };
192
192
  Object.defineProperties(console, {
193
- log: Y({}, s, {
194
- value: M
193
+ log: L({}, s, {
194
+ value: A
195
195
  }),
196
- info: Y({}, s, {
196
+ info: L({}, s, {
197
197
  value: X
198
198
  }),
199
- warn: Y({}, s, {
199
+ warn: L({}, s, {
200
200
  value: U
201
201
  }),
202
- error: Y({}, s, {
202
+ error: L({}, s, {
203
203
  value: re
204
204
  }),
205
- group: Y({}, s, {
205
+ group: L({}, s, {
206
206
  value: Q
207
207
  }),
208
- groupCollapsed: Y({}, s, {
208
+ groupCollapsed: L({}, s, {
209
209
  value: ue
210
210
  }),
211
- groupEnd: Y({}, s, {
212
- value: de
211
+ groupEnd: L({}, s, {
212
+ value: fe
213
213
  })
214
214
  });
215
215
  }
216
- w < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
216
+ w < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
217
217
  }
218
218
  }
219
- var Ue = O.ReactCurrentDispatcher, Be;
219
+ var Ue = P.ReactCurrentDispatcher, Be;
220
220
  function Ne(s, u, h) {
221
221
  {
222
222
  if (Be === void 0)
@@ -232,8 +232,8 @@ function mn() {
232
232
  }
233
233
  var We = !1, De;
234
234
  {
235
- var Sr = typeof WeakMap == "function" ? WeakMap : Map;
236
- De = new Sr();
235
+ var Cr = typeof WeakMap == "function" ? WeakMap : Map;
236
+ De = new Cr();
237
237
  }
238
238
  function St(s, u) {
239
239
  if (!s || We)
@@ -248,7 +248,7 @@ function mn() {
248
248
  var S = Error.prepareStackTrace;
249
249
  Error.prepareStackTrace = void 0;
250
250
  var _;
251
- _ = Ue.current, Ue.current = null, xr();
251
+ _ = Ue.current, Ue.current = null, Rr();
252
252
  try {
253
253
  if (u) {
254
254
  var R = function() {
@@ -284,32 +284,32 @@ function mn() {
284
284
  } catch (B) {
285
285
  if (B && b && typeof B.stack == "string") {
286
286
  for (var x = B.stack.split(`
287
- `), q = b.stack.split(`
288
- `), D = x.length - 1, P = q.length - 1; D >= 1 && P >= 0 && x[D] !== q[P]; )
289
- P--;
290
- for (; D >= 1 && P >= 0; D--, P--)
291
- if (x[D] !== q[P]) {
292
- if (D !== 1 || P !== 1)
287
+ `), V = b.stack.split(`
288
+ `), D = x.length - 1, T = V.length - 1; D >= 1 && T >= 0 && x[D] !== V[T]; )
289
+ T--;
290
+ for (; D >= 1 && T >= 0; D--, T--)
291
+ if (x[D] !== V[T]) {
292
+ if (D !== 1 || T !== 1)
293
293
  do
294
- if (D--, P--, P < 0 || x[D] !== q[P]) {
294
+ if (D--, T--, T < 0 || x[D] !== V[T]) {
295
295
  var ee = `
296
296
  ` + x[D].replace(" at new ", " at ");
297
297
  return s.displayName && ee.includes("<anonymous>") && (ee = ee.replace("<anonymous>", s.displayName)), typeof s == "function" && De.set(s, ee), ee;
298
298
  }
299
- while (D >= 1 && P >= 0);
299
+ while (D >= 1 && T >= 0);
300
300
  break;
301
301
  }
302
302
  }
303
303
  } finally {
304
- We = !1, Ue.current = _, Rr(), Error.prepareStackTrace = S;
304
+ We = !1, Ue.current = _, Sr(), Error.prepareStackTrace = S;
305
305
  }
306
306
  var he = s ? s.displayName || s.name : "", oe = he ? Ne(he) : "";
307
307
  return typeof s == "function" && De.set(s, oe), oe;
308
308
  }
309
- function Cr(s, u, h) {
309
+ function _r(s, u, h) {
310
310
  return St(s, !1);
311
311
  }
312
- function _r(s) {
312
+ function Er(s) {
313
313
  var u = s.prototype;
314
314
  return !!(u && u.isReactComponent);
315
315
  }
@@ -317,22 +317,22 @@ function mn() {
317
317
  if (s == null)
318
318
  return "";
319
319
  if (typeof s == "function")
320
- return St(s, _r(s));
320
+ return St(s, Er(s));
321
321
  if (typeof s == "string")
322
322
  return Ne(s);
323
323
  switch (s) {
324
324
  case c:
325
325
  return Ne("Suspense");
326
- case f:
326
+ case d:
327
327
  return Ne("SuspenseList");
328
328
  }
329
329
  if (typeof s == "object")
330
330
  switch (s.$$typeof) {
331
- case d:
332
- return Cr(s.render);
331
+ case f:
332
+ return _r(s.render);
333
333
  case g:
334
334
  return Pe(s.type, u, h);
335
- case v: {
335
+ case y: {
336
336
  var b = s, S = b._payload, _ = b._init;
337
337
  try {
338
338
  return Pe(_(S), u, h);
@@ -342,7 +342,7 @@ function mn() {
342
342
  }
343
343
  return "";
344
344
  }
345
- var xe = Object.prototype.hasOwnProperty, Ct = {}, _t = O.ReactDebugCurrentFrame;
345
+ var xe = Object.prototype.hasOwnProperty, Ct = {}, _t = P.ReactDebugCurrentFrame;
346
346
  function Te(s) {
347
347
  if (s) {
348
348
  var u = s._owner, h = Pe(s.type, s._source, u ? u.type : null);
@@ -350,7 +350,7 @@ function mn() {
350
350
  } else
351
351
  _t.setExtraStackFrame(null);
352
352
  }
353
- function Er(s, u, h, b, S) {
353
+ function jr(s, u, h, b, S) {
354
354
  {
355
355
  var _ = Function.call.bind(xe);
356
356
  for (var R in s)
@@ -358,28 +358,28 @@ function mn() {
358
358
  var x = void 0;
359
359
  try {
360
360
  if (typeof s[R] != "function") {
361
- var q = Error((b || "React class") + ": " + h + " type `" + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[R] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
362
- throw q.name = "Invariant Violation", q;
361
+ var V = Error((b || "React class") + ": " + h + " type `" + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[R] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
362
+ throw V.name = "Invariant Violation", V;
363
363
  }
364
364
  x = s[R](u, R, b, h, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
365
365
  } catch (D) {
366
366
  x = D;
367
367
  }
368
- x && !(x instanceof Error) && (Te(S), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", b || "React class", h, R, typeof x), Te(null)), x instanceof Error && !(x.message in Ct) && (Ct[x.message] = !0, Te(S), y("Failed %s type: %s", h, x.message), Te(null));
368
+ x && !(x instanceof Error) && (Te(S), v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", b || "React class", h, R, typeof x), Te(null)), x instanceof Error && !(x.message in Ct) && (Ct[x.message] = !0, Te(S), v("Failed %s type: %s", h, x.message), Te(null));
369
369
  }
370
370
  }
371
371
  }
372
- var jr = Array.isArray;
372
+ var kr = Array.isArray;
373
373
  function Ze(s) {
374
- return jr(s);
374
+ return kr(s);
375
375
  }
376
- function kr(s) {
376
+ function Or(s) {
377
377
  {
378
378
  var u = typeof Symbol == "function" && Symbol.toStringTag, h = u && s[Symbol.toStringTag] || s.constructor.name || "Object";
379
379
  return h;
380
380
  }
381
381
  }
382
- function Or(s) {
382
+ function $r(s) {
383
383
  try {
384
384
  return Et(s), !1;
385
385
  } catch {
@@ -390,17 +390,17 @@ function mn() {
390
390
  return "" + s;
391
391
  }
392
392
  function jt(s) {
393
- if (Or(s))
394
- return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", kr(s)), Et(s);
393
+ if ($r(s))
394
+ return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Or(s)), Et(s);
395
395
  }
396
- var Re = O.ReactCurrentOwner, $r = {
396
+ var Re = P.ReactCurrentOwner, Nr = {
397
397
  key: !0,
398
398
  ref: !0,
399
399
  __self: !0,
400
400
  __source: !0
401
401
  }, kt, Ot, Ge;
402
402
  Ge = {};
403
- function Nr(s) {
403
+ function Dr(s) {
404
404
  if (xe.call(s, "ref")) {
405
405
  var u = Object.getOwnPropertyDescriptor(s, "ref").get;
406
406
  if (u && u.isReactWarning)
@@ -408,7 +408,7 @@ function mn() {
408
408
  }
409
409
  return s.ref !== void 0;
410
410
  }
411
- function Dr(s) {
411
+ function Pr(s) {
412
412
  if (xe.call(s, "key")) {
413
413
  var u = Object.getOwnPropertyDescriptor(s, "key").get;
414
414
  if (u && u.isReactWarning)
@@ -416,16 +416,16 @@ function mn() {
416
416
  }
417
417
  return s.key !== void 0;
418
418
  }
419
- function Pr(s, u) {
419
+ function Tr(s, u) {
420
420
  if (typeof s.ref == "string" && Re.current && u && Re.current.stateNode !== u) {
421
421
  var h = E(Re.current.type);
422
- Ge[h] || (y('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', E(Re.current.type), s.ref), Ge[h] = !0);
422
+ Ge[h] || (v('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', E(Re.current.type), s.ref), Ge[h] = !0);
423
423
  }
424
424
  }
425
- function Tr(s, u) {
425
+ function Ar(s, u) {
426
426
  {
427
427
  var h = function() {
428
- kt || (kt = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", u));
428
+ kt || (kt = !0, v("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", u));
429
429
  };
430
430
  h.isReactWarning = !0, Object.defineProperty(s, "key", {
431
431
  get: h,
@@ -436,7 +436,7 @@ function mn() {
436
436
  function Mr(s, u) {
437
437
  {
438
438
  var h = function() {
439
- Ot || (Ot = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", u));
439
+ Ot || (Ot = !0, v("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", u));
440
440
  };
441
441
  h.isReactWarning = !0, Object.defineProperty(s, "ref", {
442
442
  get: h,
@@ -444,7 +444,7 @@ function mn() {
444
444
  });
445
445
  }
446
446
  }
447
- var Ar = function(s, u, h, b, S, _, R) {
447
+ var zr = function(s, u, h, b, S, _, R) {
448
448
  var x = {
449
449
  // This tag allows us to uniquely identify this as a React Element
450
450
  $$typeof: e,
@@ -473,26 +473,26 @@ function mn() {
473
473
  value: S
474
474
  }), Object.freeze && (Object.freeze(x.props), Object.freeze(x)), x;
475
475
  };
476
- function zr(s, u, h, b, S) {
476
+ function Ir(s, u, h, b, S) {
477
477
  {
478
- var _, R = {}, x = null, q = null;
479
- h !== void 0 && (jt(h), x = "" + h), Dr(u) && (jt(u.key), x = "" + u.key), Nr(u) && (q = u.ref, Pr(u, S));
478
+ var _, R = {}, x = null, V = null;
479
+ h !== void 0 && (jt(h), x = "" + h), Pr(u) && (jt(u.key), x = "" + u.key), Dr(u) && (V = u.ref, Tr(u, S));
480
480
  for (_ in u)
481
- xe.call(u, _) && !$r.hasOwnProperty(_) && (R[_] = u[_]);
481
+ xe.call(u, _) && !Nr.hasOwnProperty(_) && (R[_] = u[_]);
482
482
  if (s && s.defaultProps) {
483
483
  var D = s.defaultProps;
484
484
  for (_ in D)
485
485
  R[_] === void 0 && (R[_] = D[_]);
486
486
  }
487
- if (x || q) {
488
- var P = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
489
- x && Tr(R, P), q && Mr(R, P);
487
+ if (x || V) {
488
+ var T = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
489
+ x && Ar(R, T), V && Mr(R, T);
490
490
  }
491
- return Ar(s, x, q, S, b, Re.current, R);
491
+ return zr(s, x, V, S, b, Re.current, R);
492
492
  }
493
493
  }
494
- var Je = O.ReactCurrentOwner, $t = O.ReactDebugCurrentFrame;
495
- function fe(s) {
494
+ var Je = P.ReactCurrentOwner, $t = P.ReactDebugCurrentFrame;
495
+ function de(s) {
496
496
  if (s) {
497
497
  var u = s._owner, h = Pe(s.type, s._source, u ? u.type : null);
498
498
  $t.setExtraStackFrame(h);
@@ -516,7 +516,7 @@ Check the render method of \`` + s + "`.";
516
516
  return "";
517
517
  }
518
518
  }
519
- function Ir(s) {
519
+ function Yr(s) {
520
520
  {
521
521
  if (s !== void 0) {
522
522
  var u = s.fileName.replace(/^.*[\\\/]/, ""), h = s.lineNumber;
@@ -528,7 +528,7 @@ Check your code at ` + u + ":" + h + ".";
528
528
  }
529
529
  }
530
530
  var Dt = {};
531
- function Yr(s) {
531
+ function Lr(s) {
532
532
  {
533
533
  var u = Nt();
534
534
  if (!u) {
@@ -545,12 +545,12 @@ Check the top-level render call using <` + h + ">.");
545
545
  if (!s._store || s._store.validated || s.key != null)
546
546
  return;
547
547
  s._store.validated = !0;
548
- var h = Yr(u);
548
+ var h = Lr(u);
549
549
  if (Dt[h])
550
550
  return;
551
551
  Dt[h] = !0;
552
552
  var b = "";
553
- s && s._owner && s._owner !== Je.current && (b = " It was passed a child from " + E(s._owner.type) + "."), fe(s), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', h, b), fe(null);
553
+ s && s._owner && s._owner !== Je.current && (b = " It was passed a child from " + E(s._owner.type) + "."), de(s), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', h, b), de(null);
554
554
  }
555
555
  }
556
556
  function Tt(s, u) {
@@ -565,14 +565,14 @@ Check the top-level render call using <` + h + ">.");
565
565
  else if (Xe(s))
566
566
  s._store && (s._store.validated = !0);
567
567
  else if (s) {
568
- var S = H(s);
568
+ var S = I(s);
569
569
  if (typeof S == "function" && S !== s.entries)
570
570
  for (var _ = S.call(s), R; !(R = _.next()).done; )
571
571
  Xe(R.value) && Pt(R.value, u);
572
572
  }
573
573
  }
574
574
  }
575
- function Lr(s) {
575
+ function Hr(s) {
576
576
  {
577
577
  var u = s.type;
578
578
  if (u == null || typeof u == "string")
@@ -580,7 +580,7 @@ Check the top-level render call using <` + h + ">.");
580
580
  var h;
581
581
  if (typeof u == "function")
582
582
  h = u.propTypes;
583
- else if (typeof u == "object" && (u.$$typeof === d || // Note: Memo only checks outer props here.
583
+ else if (typeof u == "object" && (u.$$typeof === f || // Note: Memo only checks outer props here.
584
584
  // Inner props are checked in the reconciler.
585
585
  u.$$typeof === g))
586
586
  h = u.propTypes;
@@ -588,42 +588,42 @@ Check the top-level render call using <` + h + ">.");
588
588
  return;
589
589
  if (h) {
590
590
  var b = E(u);
591
- Er(h, s.props, "prop", b, s);
591
+ jr(h, s.props, "prop", b, s);
592
592
  } else if (u.PropTypes !== void 0 && !Ke) {
593
593
  Ke = !0;
594
594
  var S = E(u);
595
- y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", S || "Unknown");
595
+ v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", S || "Unknown");
596
596
  }
597
- typeof u.getDefaultProps == "function" && !u.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
597
+ typeof u.getDefaultProps == "function" && !u.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
598
598
  }
599
599
  }
600
- function Hr(s) {
600
+ function Vr(s) {
601
601
  {
602
602
  for (var u = Object.keys(s.props), h = 0; h < u.length; h++) {
603
603
  var b = u[h];
604
604
  if (b !== "children" && b !== "key") {
605
- fe(s), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", b), fe(null);
605
+ de(s), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", b), de(null);
606
606
  break;
607
607
  }
608
608
  }
609
- s.ref !== null && (fe(s), y("Invalid attribute `ref` supplied to `React.Fragment`."), fe(null));
609
+ s.ref !== null && (de(s), v("Invalid attribute `ref` supplied to `React.Fragment`."), de(null));
610
610
  }
611
611
  }
612
- var Mt = {};
613
- function At(s, u, h, b, S, _) {
612
+ var At = {};
613
+ function Mt(s, u, h, b, S, _) {
614
614
  {
615
615
  var R = ie(s);
616
616
  if (!R) {
617
617
  var x = "";
618
618
  (s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (x += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
619
- var q = Ir(S);
620
- q ? x += q : x += Nt();
619
+ var V = Yr(S);
620
+ V ? x += V : x += Nt();
621
621
  var D;
622
- s === null ? D = "null" : Ze(s) ? D = "array" : s !== void 0 && s.$$typeof === e ? (D = "<" + (E(s.type) || "Unknown") + " />", x = " Did you accidentally export a JSX literal instead of a component?") : D = typeof s, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", D, x);
622
+ s === null ? D = "null" : Ze(s) ? D = "array" : s !== void 0 && s.$$typeof === e ? (D = "<" + (E(s.type) || "Unknown") + " />", x = " Did you accidentally export a JSX literal instead of a component?") : D = typeof s, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", D, x);
623
623
  }
624
- var P = zr(s, u, h, S, _);
625
- if (P == null)
626
- return P;
624
+ var T = Ir(s, u, h, S, _);
625
+ if (T == null)
626
+ return T;
627
627
  if (R) {
628
628
  var ee = u.children;
629
629
  if (ee !== void 0)
@@ -633,35 +633,35 @@ Check the top-level render call using <` + h + ">.");
633
633
  Tt(ee[he], s);
634
634
  Object.freeze && Object.freeze(ee);
635
635
  } else
636
- y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
636
+ v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
637
637
  else
638
638
  Tt(ee, s);
639
639
  }
640
640
  if (xe.call(u, "key")) {
641
- var oe = E(s), B = Object.keys(u).filter(function(Wr) {
642
- return Wr !== "key";
641
+ var oe = E(s), B = Object.keys(u).filter(function(Zr) {
642
+ return Zr !== "key";
643
643
  }), Qe = B.length > 0 ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}";
644
- if (!Mt[oe + Qe]) {
645
- var Br = B.length > 0 ? "{" + B.join(": ..., ") + ": ...}" : "{}";
646
- y(`A props object containing a "key" prop is being spread into JSX:
644
+ if (!At[oe + Qe]) {
645
+ var Wr = B.length > 0 ? "{" + B.join(": ..., ") + ": ...}" : "{}";
646
+ v(`A props object containing a "key" prop is being spread into JSX:
647
647
  let props = %s;
648
648
  <%s {...props} />
649
649
  React keys must be passed directly to JSX without using spread:
650
650
  let props = %s;
651
- <%s key={someKey} {...props} />`, Qe, oe, Br, oe), Mt[oe + Qe] = !0;
651
+ <%s key={someKey} {...props} />`, Qe, oe, Wr, oe), At[oe + Qe] = !0;
652
652
  }
653
653
  }
654
- return s === r ? Hr(P) : Lr(P), P;
654
+ return s === r ? Vr(T) : Hr(T), T;
655
655
  }
656
656
  }
657
- function Vr(s, u, h) {
658
- return At(s, u, h, !0);
659
- }
660
657
  function qr(s, u, h) {
661
- return At(s, u, h, !1);
658
+ return Mt(s, u, h, !0);
659
+ }
660
+ function Fr(s, u, h) {
661
+ return Mt(s, u, h, !1);
662
662
  }
663
- var Fr = qr, Ur = Vr;
664
- Ce.Fragment = r, Ce.jsx = Fr, Ce.jsxs = Ur;
663
+ var Ur = Fr, Br = qr;
664
+ Ce.Fragment = r, Ce.jsx = Ur, Ce.jsxs = Br;
665
665
  }()), Ce;
666
666
  }
667
667
  process.env.NODE_ENV === "production" ? at.exports = pn() : at.exports = mn();
@@ -698,8 +698,8 @@ const z = class z {
698
698
  */
699
699
  add(...e) {
700
700
  return e.length < 2 ? e[0] || 0 : e.reduce((t, r) => {
701
- const i = z.getDecimalLength(t), a = z.getDecimalLength(r), o = Math.max(i, a), l = Math.pow(10, o), d = z.toInteger(t, o - i), c = z.toInteger(r, o - a);
702
- return (d + c) / l;
701
+ const i = z.getDecimalLength(t), a = z.getDecimalLength(r), o = Math.max(i, a), l = Math.pow(10, o), f = z.toInteger(t, o - i), c = z.toInteger(r, o - a);
702
+ return (f + c) / l;
703
703
  });
704
704
  }
705
705
  /**
@@ -810,9 +810,9 @@ const z = class z {
810
810
  const i = Math.pow(10, -t - 1);
811
811
  let a = this.div(this.sub(e, 1), this.add(e, 1));
812
812
  const o = this.mul(a, a);
813
- let l = a, d = 1;
813
+ let l = a, f = 1;
814
814
  do
815
- r = this.add(r, this.div(l, d)), l = this.mul(l, o), d += 2;
815
+ r = this.add(r, this.div(l, f)), l = this.mul(l, o), f += 2;
816
816
  while (Math.abs(l) > i);
817
817
  return this.round(this.mul(2, r), t);
818
818
  }
@@ -1036,24 +1036,24 @@ const ws = new it(), $e = class $e {
1036
1036
  m($e, "_instance");
1037
1037
  let Le = $e;
1038
1038
  const xs = Le.instance.nextTick.bind(Le.instance);
1039
- var ge = {}, ot, ct, _e = fn;
1039
+ var ge = {}, ot, ct, _e = dn;
1040
1040
  if (process.env.NODE_ENV === "production")
1041
1041
  ct = ge.createRoot = _e.createRoot, ot = ge.hydrateRoot = _e.hydrateRoot;
1042
1042
  else {
1043
- var Me = _e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
1043
+ var Ae = _e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
1044
1044
  ct = ge.createRoot = function(n, e) {
1045
- Me.usingClientEntryPoint = !0;
1045
+ Ae.usingClientEntryPoint = !0;
1046
1046
  try {
1047
1047
  return _e.createRoot(n, e);
1048
1048
  } finally {
1049
- Me.usingClientEntryPoint = !1;
1049
+ Ae.usingClientEntryPoint = !1;
1050
1050
  }
1051
1051
  }, ot = ge.hydrateRoot = function(n, e, t) {
1052
- Me.usingClientEntryPoint = !0;
1052
+ Ae.usingClientEntryPoint = !0;
1053
1053
  try {
1054
1054
  return _e.hydrateRoot(n, e, t);
1055
1055
  } finally {
1056
- Me.usingClientEntryPoint = !1;
1056
+ Ae.usingClientEntryPoint = !1;
1057
1057
  }
1058
1058
  };
1059
1059
  }
@@ -1078,7 +1078,7 @@ function wn(n, e) {
1078
1078
  ...e,
1079
1079
  // 默认自动关闭
1080
1080
  onClosed: e.onClosed || ((c) => {
1081
- d(c);
1081
+ f(c);
1082
1082
  })
1083
1083
  };
1084
1084
  if (!ce)
@@ -1100,17 +1100,17 @@ function wn(n, e) {
1100
1100
  ce && ce.render(/* @__PURE__ */ p.jsx(n, { ...c }));
1101
1101
  }, l = (c) => {
1102
1102
  r = typeof c == "function" ? c(r) : { ...r, ...c }, o(r);
1103
- }, d = (c) => {
1103
+ }, f = (c) => {
1104
1104
  r.open ? (r = {
1105
1105
  ...r,
1106
1106
  open: !1,
1107
- onClosed: (f) => {
1108
- e.onClosed && e.onClosed(f || c), a(f || c);
1107
+ onClosed: (d) => {
1108
+ e.onClosed && e.onClosed(d || c), a(d || c);
1109
1109
  }
1110
1110
  }, o(r)) : console.warn("Modal is already closed.");
1111
1111
  };
1112
1112
  return o(r), {
1113
- destroy: d,
1113
+ destroy: f,
1114
1114
  update: l
1115
1115
  };
1116
1116
  }
@@ -1136,7 +1136,7 @@ const Rs = () => {
1136
1136
  for (const e in n)
1137
1137
  n[e] === null && delete n[e];
1138
1138
  return n;
1139
- }, sr = (n, e) => {
1139
+ }, ar = (n, e) => {
1140
1140
  let t = null;
1141
1141
  return (...r) => {
1142
1142
  t && clearTimeout(t), t = setTimeout(() => {
@@ -1170,12 +1170,12 @@ class _s {
1170
1170
  static compare(e, t) {
1171
1171
  if (!this.isValid(e) || !this.isValid(t))
1172
1172
  throw new Error("Invalid version format");
1173
- const r = (d) => d.replace(/^v/, "").split(/[-+]/)[0].split("."), i = r(e), a = r(t);
1174
- for (let d = 0; d < 3; d++) {
1175
- const c = parseInt(i[d] || "0", 10), f = parseInt(a[d] || "0", 10);
1176
- if (c > f)
1173
+ const r = (f) => f.replace(/^v/, "").split(/[-+]/)[0].split("."), i = r(e), a = r(t);
1174
+ for (let f = 0; f < 3; f++) {
1175
+ const c = parseInt(i[f] || "0", 10), d = parseInt(a[f] || "0", 10);
1176
+ if (c > d)
1177
1177
  return 1;
1178
- if (c < f)
1178
+ if (c < d)
1179
1179
  return -1;
1180
1180
  }
1181
1181
  const o = e.match(/-(.+)/), l = t.match(/-(.+)/);
@@ -1195,10 +1195,10 @@ class _s {
1195
1195
  const o = a.match(/([<>]=?|==?|\^|~)?\s*(v?[0-9].*)/);
1196
1196
  if (!o)
1197
1197
  return !1;
1198
- const l = o[1] || "==", d = o[2];
1199
- if (!this.isValid(d))
1198
+ const l = o[1] || "==", f = o[2];
1199
+ if (!this.isValid(f))
1200
1200
  return !1;
1201
- const c = this.compare(e, d);
1201
+ const c = this.compare(e, f);
1202
1202
  switch (l) {
1203
1203
  case ">":
1204
1204
  return c > 0;
@@ -1209,9 +1209,9 @@ class _s {
1209
1209
  case "<=":
1210
1210
  return c <= 0;
1211
1211
  case "^":
1212
- return this.caretRange(e, d);
1212
+ return this.caretRange(e, f);
1213
1213
  case "~":
1214
- return this.tildeRange(e, d);
1214
+ return this.tildeRange(e, f);
1215
1215
  case "=":
1216
1216
  case "==":
1217
1217
  default:
@@ -1234,8 +1234,8 @@ class _s {
1234
1234
  break;
1235
1235
  }
1236
1236
  for (let l = 0; l <= o; l++) {
1237
- const d = parseInt(i[l] || "0", 10), c = parseInt(a[l] || "0", 10);
1238
- if (d !== c)
1237
+ const f = parseInt(i[l] || "0", 10), c = parseInt(a[l] || "0", 10);
1238
+ if (f !== c)
1239
1239
  return !1;
1240
1240
  }
1241
1241
  return this.compare(e, t) >= 0;
@@ -1247,10 +1247,10 @@ class _s {
1247
1247
  * @returns 是否匹配
1248
1248
  */
1249
1249
  static tildeRange(e, t) {
1250
- const r = (d) => d.replace(/^v/, "").split(/[-+]/)[0].split("."), i = r(e), a = r(t);
1251
- for (let d = 0; d < a.length - 1; d++) {
1252
- const c = parseInt(i[d] || "0", 10), f = parseInt(a[d] || "0", 10);
1253
- if (c !== f)
1250
+ const r = (f) => f.replace(/^v/, "").split(/[-+]/)[0].split("."), i = r(e), a = r(t);
1251
+ for (let f = 0; f < a.length - 1; f++) {
1252
+ const c = parseInt(i[f] || "0", 10), d = parseInt(a[f] || "0", 10);
1253
+ if (c !== d)
1254
1254
  return !1;
1255
1255
  }
1256
1256
  const o = parseInt(i[a.length - 1] || "0", 10), l = parseInt(a[a.length - 1] || "0", 10);
@@ -1312,18 +1312,18 @@ class _s {
1312
1312
  return t ? t[1] : null;
1313
1313
  }
1314
1314
  }
1315
- const ar = Qt({
1315
+ const ir = Qt({
1316
1316
  theme: {
1317
1317
  cssVar: !0,
1318
1318
  algorithm: [Ie.defaultAlgorithm]
1319
1319
  }
1320
- }), Es = ar.Provider;
1320
+ }), Es = ir.Provider;
1321
1321
  function Rn() {
1322
- return er(ar);
1322
+ return er(ir);
1323
1323
  }
1324
1324
  function ve(n) {
1325
1325
  const { theme: e } = Rn();
1326
- return /* @__PURE__ */ p.jsx(tr, { theme: e, children: n.children });
1326
+ return /* @__PURE__ */ p.jsx(rr, { theme: e, children: n.children });
1327
1327
  }
1328
1328
  const Ht = (n = "") => He("items-row", n), Sn = (n) => n.items ? /* @__PURE__ */ p.jsx(ve, { children: /* @__PURE__ */ p.jsx("div", { className: `${Ht()} ${n.className || ""}`, style: n.style, children: (n.items || []).map((e, t) => {
1329
1329
  const r = `${Ht("item")} ${e.className}`;
@@ -1348,32 +1348,32 @@ const Ee = (n = "") => He("m-breadcrumb", n), js = (n) => {
1348
1348
  offsetTop: a = 64,
1349
1349
  mainAppBaseUrl: o,
1350
1350
  microAppName: l
1351
- } = n, d = F.useRef(null), c = F.useCallback(() => {
1352
- var g, v;
1353
- (v = (g = d.current) == null ? void 0 : g.updatePosition) == null || v.call(g);
1351
+ } = n, f = q.useRef(null), c = q.useCallback(() => {
1352
+ var g, y;
1353
+ (y = (g = f.current) == null ? void 0 : g.updatePosition) == null || y.call(g);
1354
1354
  }, []);
1355
- F.useEffect(() => (window.addEventListener("scroll", c, !0), () => window.removeEventListener("scroll", c)), [c]);
1356
- const f = F.useCallback(
1355
+ q.useEffect(() => (window.addEventListener("scroll", c, !0), () => window.removeEventListener("scroll", c)), [c]);
1356
+ const d = q.useCallback(
1357
1357
  (g) => {
1358
1358
  if (!g)
1359
1359
  return "";
1360
- const v = g.replace(/^\/+/, "");
1360
+ const y = g.replace(/^\/+/, "");
1361
1361
  return `/${[
1362
1362
  o == null ? void 0 : o.replace(/\/+$/, ""),
1363
1363
  l == null ? void 0 : l.replace(/\/+$/, ""),
1364
- v
1364
+ y
1365
1365
  ].filter(Boolean).join("/")}`;
1366
1366
  },
1367
1367
  [o, l]
1368
1368
  );
1369
- return /* @__PURE__ */ p.jsx(ve, { children: /* @__PURE__ */ p.jsx("div", { className: `${Ee()} ${i || ""}`, style: r, children: /* @__PURE__ */ p.jsx(Xr, { ref: d, offsetTop: a, children: /* @__PURE__ */ p.jsxs(
1370
- rr,
1369
+ return /* @__PURE__ */ p.jsx(ve, { children: /* @__PURE__ */ p.jsx("div", { className: `${Ee()} ${i || ""}`, style: r, children: /* @__PURE__ */ p.jsx(Xr, { ref: f, offsetTop: a, children: /* @__PURE__ */ p.jsxs(
1370
+ nr,
1371
1371
  {
1372
1372
  className: Ee("container"),
1373
1373
  rootClassName: Ee("body"),
1374
1374
  variant: "borderless",
1375
1375
  children: [
1376
- /* @__PURE__ */ p.jsx(zt, { className: Ee("inner-breadcrumb"), style: { fontSize: "18px" }, children: e == null ? void 0 : e.map((g) => /* @__PURE__ */ p.jsx(zt.Item, { children: g.url ? /* @__PURE__ */ p.jsx("a", { href: `#${f(g.url)}`, children: g.name }) : g.name }, g.url || g.name)) }),
1376
+ /* @__PURE__ */ p.jsx(zt, { className: Ee("inner-breadcrumb"), style: { fontSize: "18px" }, children: e == null ? void 0 : e.map((g) => /* @__PURE__ */ p.jsx(zt.Item, { children: g.url ? /* @__PURE__ */ p.jsx("a", { href: `#${d(g.url)}`, children: g.name }) : g.name }, g.url || g.name)) }),
1377
1377
  /* @__PURE__ */ p.jsx("div", { className: Ee("custom-item-wrapper"), children: /* @__PURE__ */ p.jsx(Sn, { items: t }) })
1378
1378
  ]
1379
1379
  }
@@ -1387,20 +1387,20 @@ const Ee = (n = "") => He("m-breadcrumb", n), js = (n) => {
1387
1387
  align: a = "left",
1388
1388
  itemLayout: o,
1389
1389
  colon: l = !0,
1390
- bordered: d = !1,
1390
+ bordered: f = !1,
1391
1391
  style: c,
1392
- className: f,
1392
+ className: d,
1393
1393
  labelStyle: g,
1394
- contentStyle: v
1394
+ contentStyle: y
1395
1395
  } = n, j = {
1396
1396
  ...i ? { lineHeight: `${i}px` } : {},
1397
1397
  textAlign: a,
1398
1398
  ...o != null && o.label ? { width: `${o.label}px` } : {},
1399
1399
  ...g
1400
- }, N = {
1400
+ }, $ = {
1401
1401
  ...i ? { lineHeight: `${i}px` } : {},
1402
1402
  ...o != null && o.value ? { width: `${o.value}px` } : {},
1403
- ...v
1403
+ ...y
1404
1404
  };
1405
1405
  return /* @__PURE__ */ p.jsx(ve, { children: /* @__PURE__ */ p.jsx(
1406
1406
  It,
@@ -1408,29 +1408,29 @@ const Ee = (n = "") => He("m-breadcrumb", n), js = (n) => {
1408
1408
  title: t,
1409
1409
  column: r,
1410
1410
  colon: l,
1411
- bordered: d,
1411
+ bordered: f,
1412
1412
  style: c,
1413
- className: f,
1413
+ className: d,
1414
1414
  labelStyle: j,
1415
- contentStyle: N,
1416
- children: e.map((T, H) => {
1417
- var O;
1415
+ contentStyle: $,
1416
+ children: e.map((N, I) => {
1417
+ var P;
1418
1418
  return /* @__PURE__ */ p.jsx(
1419
1419
  It.Item,
1420
1420
  {
1421
- label: T.label,
1422
- span: T.span,
1423
- children: T.value || "-"
1421
+ label: N.label,
1422
+ span: N.span,
1423
+ children: N.value || "-"
1424
1424
  },
1425
- ((O = T.label) == null ? void 0 : O.toString()) || H
1425
+ ((P = N.label) == null ? void 0 : P.toString()) || I
1426
1426
  );
1427
1427
  })
1428
1428
  }
1429
1429
  ) });
1430
1430
  };
1431
1431
  Cn.displayName = "MDescriptions";
1432
- const _n = /* @__PURE__ */ Qt({}), ir = _n;
1433
- var or = { exports: {} };
1432
+ const _n = /* @__PURE__ */ Qt({}), or = _n;
1433
+ var cr = { exports: {} };
1434
1434
  /*!
1435
1435
  Copyright (c) 2018 Jed Watson.
1436
1436
  Licensed under the MIT License (MIT), see
@@ -1465,8 +1465,8 @@ var or = { exports: {} };
1465
1465
  }
1466
1466
  n.exports ? (t.default = t, n.exports = t) : window.classNames = t;
1467
1467
  })();
1468
- })(or);
1469
- var En = or.exports;
1468
+ })(cr);
1469
+ var En = cr.exports;
1470
1470
  const jn = /* @__PURE__ */ gn(En), kn = {
1471
1471
  aliceblue: "9ehhb",
1472
1472
  antiquewhite: "9sgk7",
@@ -1616,7 +1616,7 @@ const jn = /* @__PURE__ */ gn(En), kn = {
1616
1616
  whitesmoke: "9lhpx",
1617
1617
  yellow: "9zl6o",
1618
1618
  yellowgreen: "61fzm"
1619
- }, A = Math.round;
1619
+ }, M = Math.round;
1620
1620
  function tt(n, e) {
1621
1621
  const t = n.replace(/^[^(]*\((.*)/, "$1").replace(/\).*/, "").match(/\d*\.?\d+%?/g) || [], r = t.map((i) => parseFloat(i));
1622
1622
  for (let i = 0; i < 3; i += 1)
@@ -1727,7 +1727,7 @@ class pe {
1727
1727
  getHue() {
1728
1728
  if (typeof this._h > "u") {
1729
1729
  const e = this.getMax() - this.getMin();
1730
- e === 0 ? this._h = 0 : this._h = A(60 * (this.r === this.getMax() ? (this.g - this.b) / e + (this.g < this.b ? 6 : 0) : this.g === this.getMax() ? (this.b - this.r) / e + 2 : (this.r - this.g) / e + 4));
1730
+ e === 0 ? this._h = 0 : this._h = M(60 * (this.r === this.getMax() ? (this.g - this.b) / e + (this.g < this.b ? 6 : 0) : this.g === this.getMax() ? (this.b - this.r) / e + 2 : (this.r - this.g) / e + 4));
1731
1731
  }
1732
1732
  return this._h;
1733
1733
  }
@@ -1779,10 +1779,10 @@ class pe {
1779
1779
  */
1780
1780
  mix(e, t = 50) {
1781
1781
  const r = this._c(e), i = t / 100, a = (l) => (r[l] - this[l]) * i + this[l], o = {
1782
- r: A(a("r")),
1783
- g: A(a("g")),
1784
- b: A(a("b")),
1785
- a: A(a("a") * 100) / 100
1782
+ r: M(a("r")),
1783
+ g: M(a("g")),
1784
+ b: M(a("b")),
1785
+ a: M(a("a") * 100) / 100
1786
1786
  };
1787
1787
  return this._c(o);
1788
1788
  }
@@ -1811,7 +1811,7 @@ class pe {
1811
1811
  }, e);
1812
1812
  }
1813
1813
  onBackground(e) {
1814
- const t = this._c(e), r = this.a + t.a * (1 - this.a), i = (a) => A((this[a] * this.a + t[a] * t.a * (1 - this.a)) / r);
1814
+ const t = this._c(e), r = this.a + t.a * (1 - this.a), i = (a) => M((this[a] * this.a + t[a] * t.a * (1 - this.a)) / r);
1815
1815
  return this._c({
1816
1816
  r: i("r"),
1817
1817
  g: i("g"),
@@ -1842,7 +1842,7 @@ class pe {
1842
1842
  e += r.length === 2 ? r : "0" + r;
1843
1843
  const i = (this.b || 0).toString(16);
1844
1844
  if (e += i.length === 2 ? i : "0" + i, typeof this.a == "number" && this.a >= 0 && this.a < 1) {
1845
- const a = A(this.a * 255).toString(16);
1845
+ const a = M(this.a * 255).toString(16);
1846
1846
  e += a.length === 2 ? a : "0" + a;
1847
1847
  }
1848
1848
  return e;
@@ -1858,7 +1858,7 @@ class pe {
1858
1858
  }
1859
1859
  /** CSS support color pattern */
1860
1860
  toHslString() {
1861
- const e = this.getHue(), t = A(this.getSaturation() * 100), r = A(this.getLightness() * 100);
1861
+ const e = this.getHue(), t = M(this.getSaturation() * 100), r = M(this.getLightness() * 100);
1862
1862
  return this.a !== 1 ? `hsla(${e},${t}%,${r}%,${this.a})` : `hsl(${e},${t}%,${r}%)`;
1863
1863
  }
1864
1864
  /** Same as toHsb */
@@ -1913,14 +1913,14 @@ class pe {
1913
1913
  a: i
1914
1914
  }) {
1915
1915
  if (this._h = e % 360, this._s = t, this._l = r, this.a = typeof i == "number" ? i : 1, t <= 0) {
1916
- const v = A(r * 255);
1917
- this.r = v, this.g = v, this.b = v;
1916
+ const y = M(r * 255);
1917
+ this.r = y, this.g = y, this.b = y;
1918
1918
  }
1919
1919
  let a = 0, o = 0, l = 0;
1920
- const d = e / 60, c = (1 - Math.abs(2 * r - 1)) * t, f = c * (1 - Math.abs(d % 2 - 1));
1921
- d >= 0 && d < 1 ? (a = c, o = f) : d >= 1 && d < 2 ? (a = f, o = c) : d >= 2 && d < 3 ? (o = c, l = f) : d >= 3 && d < 4 ? (o = f, l = c) : d >= 4 && d < 5 ? (a = f, l = c) : d >= 5 && d < 6 && (a = c, l = f);
1920
+ const f = e / 60, c = (1 - Math.abs(2 * r - 1)) * t, d = c * (1 - Math.abs(f % 2 - 1));
1921
+ f >= 0 && f < 1 ? (a = c, o = d) : f >= 1 && f < 2 ? (a = d, o = c) : f >= 2 && f < 3 ? (o = c, l = d) : f >= 3 && f < 4 ? (o = d, l = c) : f >= 4 && f < 5 ? (a = d, l = c) : f >= 5 && f < 6 && (a = c, l = d);
1922
1922
  const g = r - c / 2;
1923
- this.r = A((a + g) * 255), this.g = A((o + g) * 255), this.b = A((l + g) * 255);
1923
+ this.r = M((a + g) * 255), this.g = M((o + g) * 255), this.b = M((l + g) * 255);
1924
1924
  }
1925
1925
  fromHsv({
1926
1926
  h: e,
@@ -1929,29 +1929,29 @@ class pe {
1929
1929
  a: i
1930
1930
  }) {
1931
1931
  this._h = e % 360, this._s = t, this._v = r, this.a = typeof i == "number" ? i : 1;
1932
- const a = A(r * 255);
1932
+ const a = M(r * 255);
1933
1933
  if (this.r = a, this.g = a, this.b = a, t <= 0)
1934
1934
  return;
1935
- const o = e / 60, l = Math.floor(o), d = o - l, c = A(r * (1 - t) * 255), f = A(r * (1 - t * d) * 255), g = A(r * (1 - t * (1 - d)) * 255);
1935
+ const o = e / 60, l = Math.floor(o), f = o - l, c = M(r * (1 - t) * 255), d = M(r * (1 - t * f) * 255), g = M(r * (1 - t * (1 - f)) * 255);
1936
1936
  switch (l) {
1937
1937
  case 0:
1938
1938
  this.g = g, this.b = c;
1939
1939
  break;
1940
1940
  case 1:
1941
- this.r = f, this.b = c;
1941
+ this.r = d, this.b = c;
1942
1942
  break;
1943
1943
  case 2:
1944
1944
  this.r = c, this.b = g;
1945
1945
  break;
1946
1946
  case 3:
1947
- this.r = c, this.g = f;
1947
+ this.r = c, this.g = d;
1948
1948
  break;
1949
1949
  case 4:
1950
1950
  this.r = g, this.g = c;
1951
1951
  break;
1952
1952
  case 5:
1953
1953
  default:
1954
- this.g = c, this.b = f;
1954
+ this.g = c, this.b = d;
1955
1955
  break;
1956
1956
  }
1957
1957
  }
@@ -1976,12 +1976,12 @@ class pe {
1976
1976
  fromRgbString(e) {
1977
1977
  const t = tt(e, (r, i) => (
1978
1978
  // Convert percentage to number. e.g. 50% -> 128
1979
- i.includes("%") ? A(r / 100 * 255) : r
1979
+ i.includes("%") ? M(r / 100 * 255) : r
1980
1980
  ));
1981
1981
  this.r = t[0], this.g = t[1], this.b = t[2], this.a = t[3];
1982
1982
  }
1983
1983
  }
1984
- const Ae = 2, qt = 0.16, On = 0.05, $n = 0.05, Nn = 0.15, cr = 5, lr = 4, Dn = [{
1984
+ const Me = 2, qt = 0.16, On = 0.05, $n = 0.05, Nn = 0.15, lr = 5, ur = 4, Dn = [{
1985
1985
  index: 7,
1986
1986
  amount: 15
1987
1987
  }, {
@@ -2014,13 +2014,13 @@ const Ae = 2, qt = 0.16, On = 0.05, $n = 0.05, Nn = 0.15, cr = 5, lr = 4, Dn = [
2014
2014
  }];
2015
2015
  function Ft(n, e, t) {
2016
2016
  let r;
2017
- return Math.round(n.h) >= 60 && Math.round(n.h) <= 240 ? r = t ? Math.round(n.h) - Ae * e : Math.round(n.h) + Ae * e : r = t ? Math.round(n.h) + Ae * e : Math.round(n.h) - Ae * e, r < 0 ? r += 360 : r >= 360 && (r -= 360), r;
2017
+ return Math.round(n.h) >= 60 && Math.round(n.h) <= 240 ? r = t ? Math.round(n.h) - Me * e : Math.round(n.h) + Me * e : r = t ? Math.round(n.h) + Me * e : Math.round(n.h) - Me * e, r < 0 ? r += 360 : r >= 360 && (r -= 360), r;
2018
2018
  }
2019
2019
  function Ut(n, e, t) {
2020
2020
  if (n.h === 0 && n.s === 0)
2021
2021
  return n.s;
2022
2022
  let r;
2023
- return t ? r = n.s - qt * e : e === lr ? r = n.s + qt : r = n.s + On * e, r > 1 && (r = 1), t && e === cr && r > 0.1 && (r = 0.1), r < 0.06 && (r = 0.06), Math.round(r * 100) / 100;
2023
+ return t ? r = n.s - qt * e : e === ur ? r = n.s + qt : r = n.s + On * e, r > 1 && (r = 1), t && e === lr && r > 0.1 && (r = 0.1), r < 0.06 && (r = 0.06), Math.round(r * 100) / 100;
2024
2024
  }
2025
2025
  function Bt(n, e, t) {
2026
2026
  let r;
@@ -2028,7 +2028,7 @@ function Bt(n, e, t) {
2028
2028
  }
2029
2029
  function Pn(n, e = {}) {
2030
2030
  const t = [], r = new pe(n), i = r.toHsv();
2031
- for (let a = cr; a > 0; a -= 1) {
2031
+ for (let a = lr; a > 0; a -= 1) {
2032
2032
  const o = new pe({
2033
2033
  h: Ft(i, a, !0),
2034
2034
  s: Ut(i, a, !0),
@@ -2037,7 +2037,7 @@ function Pn(n, e = {}) {
2037
2037
  t.push(o);
2038
2038
  }
2039
2039
  t.push(r);
2040
- for (let a = 1; a <= lr; a += 1) {
2040
+ for (let a = 1; a <= ur; a += 1) {
2041
2041
  const o = new pe({
2042
2042
  h: Ft(i, a),
2043
2043
  s: Ut(i, a),
@@ -2055,7 +2055,7 @@ lt.primary = lt[5];
2055
2055
  function Tn() {
2056
2056
  return !!(typeof window < "u" && window.document && window.document.createElement);
2057
2057
  }
2058
- function Mn(n, e) {
2058
+ function An(n, e) {
2059
2059
  if (!n)
2060
2060
  return !1;
2061
2061
  if (n.contains)
@@ -2068,11 +2068,11 @@ function Mn(n, e) {
2068
2068
  }
2069
2069
  return !1;
2070
2070
  }
2071
- const Wt = "data-rc-order", Zt = "data-rc-priority", An = "rc-util-key", ut = /* @__PURE__ */ new Map();
2072
- function ur({
2071
+ const Wt = "data-rc-order", Zt = "data-rc-priority", Mn = "rc-util-key", ut = /* @__PURE__ */ new Map();
2072
+ function fr({
2073
2073
  mark: n
2074
2074
  } = {}) {
2075
- return n ? n.startsWith("data-") ? n : `data-${n}` : An;
2075
+ return n ? n.startsWith("data-") ? n : `data-${n}` : Mn;
2076
2076
  }
2077
2077
  function bt(n) {
2078
2078
  return n.attachTo ? n.attachTo : document.querySelector("head") || document.body;
@@ -2092,34 +2092,34 @@ function dr(n, e = {}) {
2092
2092
  priority: i = 0
2093
2093
  } = e, a = zn(r), o = a === "prependQueue", l = document.createElement("style");
2094
2094
  l.setAttribute(Wt, a), o && i && l.setAttribute(Zt, `${i}`), t != null && t.nonce && (l.nonce = t == null ? void 0 : t.nonce), l.innerHTML = n;
2095
- const d = bt(e), {
2095
+ const f = bt(e), {
2096
2096
  firstChild: c
2097
- } = d;
2097
+ } = f;
2098
2098
  if (r) {
2099
2099
  if (o) {
2100
- const f = (e.styles || vt(d)).filter((g) => {
2100
+ const d = (e.styles || vt(f)).filter((g) => {
2101
2101
  if (!["prepend", "prependQueue"].includes(g.getAttribute(Wt)))
2102
2102
  return !1;
2103
- const v = Number(g.getAttribute(Zt) || 0);
2104
- return i >= v;
2103
+ const y = Number(g.getAttribute(Zt) || 0);
2104
+ return i >= y;
2105
2105
  });
2106
- if (f.length)
2107
- return d.insertBefore(l, f[f.length - 1].nextSibling), l;
2106
+ if (d.length)
2107
+ return f.insertBefore(l, d[d.length - 1].nextSibling), l;
2108
2108
  }
2109
- d.insertBefore(l, c);
2109
+ f.insertBefore(l, c);
2110
2110
  } else
2111
- d.appendChild(l);
2111
+ f.appendChild(l);
2112
2112
  return l;
2113
2113
  }
2114
2114
  function In(n, e = {}) {
2115
2115
  let {
2116
2116
  styles: t
2117
2117
  } = e;
2118
- return t || (t = vt(bt(e))), t.find((r) => r.getAttribute(ur(e)) === n);
2118
+ return t || (t = vt(bt(e))), t.find((r) => r.getAttribute(fr(e)) === n);
2119
2119
  }
2120
2120
  function Yn(n, e) {
2121
2121
  const t = ut.get(n);
2122
- if (!t || !Mn(document, t)) {
2122
+ if (!t || !An(document, t)) {
2123
2123
  const r = dr("", e), {
2124
2124
  parentNode: i
2125
2125
  } = r;
@@ -2127,7 +2127,7 @@ function Yn(n, e) {
2127
2127
  }
2128
2128
  }
2129
2129
  function Ln(n, e, t = {}) {
2130
- var d, c, f;
2130
+ var f, c, d;
2131
2131
  const r = bt(t), i = vt(r), a = {
2132
2132
  ...t,
2133
2133
  styles: i
@@ -2135,21 +2135,21 @@ function Ln(n, e, t = {}) {
2135
2135
  Yn(r, a);
2136
2136
  const o = In(e, a);
2137
2137
  if (o)
2138
- return (d = a.csp) != null && d.nonce && o.nonce !== ((c = a.csp) == null ? void 0 : c.nonce) && (o.nonce = (f = a.csp) == null ? void 0 : f.nonce), o.innerHTML !== n && (o.innerHTML = n), o;
2138
+ return (f = a.csp) != null && f.nonce && o.nonce !== ((c = a.csp) == null ? void 0 : c.nonce) && (o.nonce = (d = a.csp) == null ? void 0 : d.nonce), o.innerHTML !== n && (o.innerHTML = n), o;
2139
2139
  const l = dr(n, a);
2140
- return l.setAttribute(ur(a), e), l;
2140
+ return l.setAttribute(fr(a), e), l;
2141
2141
  }
2142
- function fr(n) {
2142
+ function hr(n) {
2143
2143
  var e;
2144
2144
  return (e = n == null ? void 0 : n.getRootNode) == null ? void 0 : e.call(n);
2145
2145
  }
2146
2146
  function Hn(n) {
2147
- return fr(n) instanceof ShadowRoot;
2147
+ return hr(n) instanceof ShadowRoot;
2148
2148
  }
2149
2149
  function Vn(n) {
2150
- return Hn(n) ? fr(n) : null;
2150
+ return Hn(n) ? hr(n) : null;
2151
2151
  }
2152
- let dt = {};
2152
+ let ft = {};
2153
2153
  const yt = [], qn = (n) => {
2154
2154
  yt.push(n);
2155
2155
  };
@@ -2166,16 +2166,16 @@ function Un(n, e) {
2166
2166
  }
2167
2167
  }
2168
2168
  function Bn() {
2169
- dt = {};
2169
+ ft = {};
2170
2170
  }
2171
- function hr(n, e, t) {
2172
- !e && !dt[t] && (n(!1, t), dt[t] = !0);
2171
+ function gr(n, e, t) {
2172
+ !e && !ft[t] && (n(!1, t), ft[t] = !0);
2173
2173
  }
2174
2174
  function Ve(n, e) {
2175
- hr(Fn, n, e);
2175
+ gr(Fn, n, e);
2176
2176
  }
2177
2177
  function Wn(n, e) {
2178
- hr(Un, n, e);
2178
+ gr(Un, n, e);
2179
2179
  }
2180
2180
  Ve.preMessage = qn;
2181
2181
  Ve.resetWarned = Bn;
@@ -2202,20 +2202,20 @@ function Jt(n = {}) {
2202
2202
  return e;
2203
2203
  }, {});
2204
2204
  }
2205
- function ft(n, e, t) {
2205
+ function dt(n, e, t) {
2206
2206
  return t ? /* @__PURE__ */ Ye.createElement(n.tag, {
2207
2207
  key: e,
2208
2208
  ...Jt(n.attrs),
2209
2209
  ...t
2210
- }, (n.children || []).map((r, i) => ft(r, `${e}-${n.tag}-${i}`))) : /* @__PURE__ */ Ye.createElement(n.tag, {
2210
+ }, (n.children || []).map((r, i) => dt(r, `${e}-${n.tag}-${i}`))) : /* @__PURE__ */ Ye.createElement(n.tag, {
2211
2211
  key: e,
2212
2212
  ...Jt(n.attrs)
2213
- }, (n.children || []).map((r, i) => ft(r, `${e}-${n.tag}-${i}`)));
2213
+ }, (n.children || []).map((r, i) => dt(r, `${e}-${n.tag}-${i}`)));
2214
2214
  }
2215
- function gr(n) {
2215
+ function pr(n) {
2216
2216
  return Pn(n)[0];
2217
2217
  }
2218
- function pr(n) {
2218
+ function mr(n) {
2219
2219
  return n ? Array.isArray(n) ? n : [n] : [];
2220
2220
  }
2221
2221
  const Jn = `
@@ -2279,7 +2279,7 @@ const Jn = `
2279
2279
  csp: e,
2280
2280
  prefixCls: t,
2281
2281
  layer: r
2282
- } = er(ir);
2282
+ } = er(or);
2283
2283
  let i = Jn;
2284
2284
  t && (i = i.replace(/anticon/g, t)), r && (i = `@layer ${r} {
2285
2285
  ${i}
@@ -2300,7 +2300,7 @@ function Xn({
2300
2300
  primaryColor: n,
2301
2301
  secondaryColor: e
2302
2302
  }) {
2303
- Oe.primaryColor = n, Oe.secondaryColor = e || gr(n), Oe.calculated = !!e;
2303
+ Oe.primaryColor = n, Oe.secondaryColor = e || pr(n), Oe.calculated = !!e;
2304
2304
  }
2305
2305
  function Qn() {
2306
2306
  return {
@@ -2316,36 +2316,36 @@ const qe = (n) => {
2316
2316
  primaryColor: a,
2317
2317
  secondaryColor: o,
2318
2318
  ...l
2319
- } = n, d = F.useRef();
2319
+ } = n, f = q.useRef();
2320
2320
  let c = Oe;
2321
2321
  if (a && (c = {
2322
2322
  primaryColor: a,
2323
- secondaryColor: o || gr(a)
2324
- }), Kn(d), Gn(Gt(e), `icon should be icon definiton, but got ${e}`), !Gt(e))
2323
+ secondaryColor: o || pr(a)
2324
+ }), Kn(f), Gn(Gt(e), `icon should be icon definiton, but got ${e}`), !Gt(e))
2325
2325
  return null;
2326
- let f = e;
2327
- return f && typeof f.icon == "function" && (f = {
2328
- ...f,
2329
- icon: f.icon(c.primaryColor, c.secondaryColor)
2330
- }), ft(f.icon, `svg-${f.name}`, {
2326
+ let d = e;
2327
+ return d && typeof d.icon == "function" && (d = {
2328
+ ...d,
2329
+ icon: d.icon(c.primaryColor, c.secondaryColor)
2330
+ }), dt(d.icon, `svg-${d.name}`, {
2331
2331
  className: t,
2332
2332
  onClick: r,
2333
2333
  style: i,
2334
- "data-icon": f.name,
2334
+ "data-icon": d.name,
2335
2335
  width: "1em",
2336
2336
  height: "1em",
2337
2337
  fill: "currentColor",
2338
2338
  "aria-hidden": "true",
2339
2339
  ...l,
2340
- ref: d
2340
+ ref: f
2341
2341
  });
2342
2342
  };
2343
2343
  qe.displayName = "IconReact";
2344
2344
  qe.getTwoToneColors = Qn;
2345
2345
  qe.setTwoToneColors = Xn;
2346
2346
  const wt = qe;
2347
- function mr(n) {
2348
- const [e, t] = pr(n);
2347
+ function br(n) {
2348
+ const [e, t] = mr(n);
2349
2349
  return wt.setTwoToneColors({
2350
2350
  primaryColor: e,
2351
2351
  secondaryColor: t
@@ -2365,8 +2365,8 @@ function ht() {
2365
2365
  return n;
2366
2366
  }, ht.apply(this, arguments);
2367
2367
  }
2368
- mr(lt.primary);
2369
- const Fe = /* @__PURE__ */ F.forwardRef((n, e) => {
2368
+ br(lt.primary);
2369
+ const Fe = /* @__PURE__ */ q.forwardRef((n, e) => {
2370
2370
  const {
2371
2371
  // affect outter <i>...</i>
2372
2372
  className: t,
@@ -2377,39 +2377,39 @@ const Fe = /* @__PURE__ */ F.forwardRef((n, e) => {
2377
2377
  tabIndex: o,
2378
2378
  onClick: l,
2379
2379
  // other
2380
- twoToneColor: d,
2380
+ twoToneColor: f,
2381
2381
  ...c
2382
2382
  } = n, {
2383
- prefixCls: f = "anticon",
2383
+ prefixCls: d = "anticon",
2384
2384
  rootClassName: g
2385
- } = F.useContext(ir), v = jn(g, f, {
2386
- [`${f}-${r.name}`]: !!r.name,
2387
- [`${f}-spin`]: !!i || r.name === "loading"
2385
+ } = q.useContext(or), y = jn(g, d, {
2386
+ [`${d}-${r.name}`]: !!r.name,
2387
+ [`${d}-spin`]: !!i || r.name === "loading"
2388
2388
  }, t);
2389
2389
  let j = o;
2390
2390
  j === void 0 && l && (j = -1);
2391
- const N = a ? {
2391
+ const $ = a ? {
2392
2392
  msTransform: `rotate(${a}deg)`,
2393
2393
  transform: `rotate(${a}deg)`
2394
- } : void 0, [T, H] = pr(d);
2395
- return /* @__PURE__ */ F.createElement("span", ht({
2394
+ } : void 0, [N, I] = mr(f);
2395
+ return /* @__PURE__ */ q.createElement("span", ht({
2396
2396
  role: "img",
2397
2397
  "aria-label": r.name
2398
2398
  }, c, {
2399
2399
  ref: e,
2400
2400
  tabIndex: j,
2401
2401
  onClick: l,
2402
- className: v
2403
- }), /* @__PURE__ */ F.createElement(wt, {
2402
+ className: y
2403
+ }), /* @__PURE__ */ q.createElement(wt, {
2404
2404
  icon: r,
2405
- primaryColor: T,
2406
- secondaryColor: H,
2407
- style: N
2405
+ primaryColor: N,
2406
+ secondaryColor: I,
2407
+ style: $
2408
2408
  }));
2409
2409
  });
2410
2410
  Fe.displayName = "AntdIcon";
2411
2411
  Fe.getTwoToneColor = es;
2412
- Fe.setTwoToneColor = mr;
2412
+ Fe.setTwoToneColor = br;
2413
2413
  const xt = Fe;
2414
2414
  var ts = { icon: { tag: "svg", attrs: { viewBox: "0 0 1024 1024", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" } }] }, name: "caret-down", theme: "outlined" };
2415
2415
  const rs = ts;
@@ -2423,12 +2423,12 @@ function gt() {
2423
2423
  return n;
2424
2424
  }, gt.apply(this, arguments);
2425
2425
  }
2426
- const ns = (n, e) => /* @__PURE__ */ F.createElement(xt, gt({}, n, {
2426
+ const ns = (n, e) => /* @__PURE__ */ q.createElement(xt, gt({}, n, {
2427
2427
  ref: e,
2428
2428
  icon: rs
2429
- })), br = /* @__PURE__ */ F.forwardRef(ns);
2430
- process.env.NODE_ENV !== "production" && (br.displayName = "CaretDownOutlined");
2431
- const ss = br;
2429
+ })), vr = /* @__PURE__ */ q.forwardRef(ns);
2430
+ process.env.NODE_ENV !== "production" && (vr.displayName = "CaretDownOutlined");
2431
+ const ss = vr;
2432
2432
  var as = { icon: { tag: "svg", attrs: { viewBox: "0 0 1024 1024", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" } }] }, name: "caret-up", theme: "outlined" };
2433
2433
  const is = as;
2434
2434
  function pt() {
@@ -2441,12 +2441,12 @@ function pt() {
2441
2441
  return n;
2442
2442
  }, pt.apply(this, arguments);
2443
2443
  }
2444
- const os = (n, e) => /* @__PURE__ */ F.createElement(xt, pt({}, n, {
2444
+ const os = (n, e) => /* @__PURE__ */ q.createElement(xt, pt({}, n, {
2445
2445
  ref: e,
2446
2446
  icon: is
2447
- })), vr = /* @__PURE__ */ F.forwardRef(os);
2448
- process.env.NODE_ENV !== "production" && (vr.displayName = "CaretUpOutlined");
2449
- const cs = vr;
2447
+ })), yr = /* @__PURE__ */ q.forwardRef(os);
2448
+ process.env.NODE_ENV !== "production" && (yr.displayName = "CaretUpOutlined");
2449
+ const cs = yr;
2450
2450
  var ls = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" } }] }, name: "upload", theme: "outlined" };
2451
2451
  const us = ls;
2452
2452
  function mt() {
@@ -2459,14 +2459,14 @@ function mt() {
2459
2459
  return n;
2460
2460
  }, mt.apply(this, arguments);
2461
2461
  }
2462
- const ds = (n, e) => /* @__PURE__ */ F.createElement(xt, mt({}, n, {
2462
+ const fs = (n, e) => /* @__PURE__ */ q.createElement(xt, mt({}, n, {
2463
2463
  ref: e,
2464
2464
  icon: us
2465
- })), yr = /* @__PURE__ */ F.forwardRef(ds);
2466
- process.env.NODE_ENV !== "production" && (yr.displayName = "UploadOutlined");
2467
- const fs = yr;
2465
+ })), wr = /* @__PURE__ */ q.forwardRef(fs);
2466
+ process.env.NODE_ENV !== "production" && (wr.displayName = "UploadOutlined");
2467
+ const ds = wr;
2468
2468
  var W = /* @__PURE__ */ ((n) => (n.Input = "input", n.InputNumber = "inputNumber", n.Text = "text", n.Password = "password", n.Radio = "radio", n.Select = "select", n.Checkbox = "checkbox", n.DatePicker = "datePicker", n.RangePicker = "rangePicker", n.Upload = "upload", n.Mentions = "mentions", n.Cascader = "cascader", n.TreeSelect = "treeSelect", n))(W || {});
2469
- const { RangePicker: hs } = nr, C = class C {
2469
+ const { RangePicker: hs } = sr, C = class C {
2470
2470
  static getDefaultArrayPlaceholder(e) {
2471
2471
  let t;
2472
2472
  switch (e.type) {
@@ -2535,7 +2535,7 @@ m(C, "labelCol", { span: 7 }), m(C, "wrapperCol", { span: 17 }), m(C, "defaultRo
2535
2535
  placeholder: e.placeholder || C.getDefaultPlaceholder(e)
2536
2536
  }
2537
2537
  )), m(C, "datePicker", (e) => /* @__PURE__ */ p.jsx(
2538
- nr,
2538
+ sr,
2539
2539
  {
2540
2540
  disabled: e.disabled,
2541
2541
  ...e.props,
@@ -2556,7 +2556,7 @@ m(C, "labelCol", { span: 7 }), m(C, "wrapperCol", { span: 17 }), m(C, "defaultRo
2556
2556
  placeholder: e.placeholder || C.getDefaultPlaceholder(e)
2557
2557
  }
2558
2558
  )), m(C, "radio", (e) => /* @__PURE__ */ p.jsx(tn.Group, { disabled: e.disabled, ...e.props })), m(C, "checkbox", (e) => /* @__PURE__ */ p.jsx(rn.Group, { disabled: e.disabled, ...e.props })), m(C, "upload", (e) => /* @__PURE__ */ p.jsx(nn, { ...e.props, children: e.children || /* @__PURE__ */ p.jsxs(ke, { children: [
2559
- /* @__PURE__ */ p.jsx(fs, {}),
2559
+ /* @__PURE__ */ p.jsx(ds, {}),
2560
2560
  " 点击上传"
2561
2561
  ] }) })), m(C, "mentions", (e) => /* @__PURE__ */ p.jsx(
2562
2562
  sn,
@@ -2579,19 +2579,19 @@ m(C, "labelCol", { span: 7 }), m(C, "wrapperCol", { span: 17 }), m(C, "defaultRo
2579
2579
  ));
2580
2580
  let me = C;
2581
2581
  const rt = (n = "") => He("m-form", n);
2582
- function wr(n) {
2583
- const { formProps: e, formItems: t = [], column: r = 1, form: i, itemLayout: a, formRowProps: o } = n, l = (c, f) => {
2582
+ function xr(n) {
2583
+ const { formProps: e, formItems: t = [], column: r = 1, form: i, itemLayout: a, formRowProps: o } = n, l = (c, d) => {
2584
2584
  if (c.render)
2585
- return c.render(f);
2585
+ return c.render(d);
2586
2586
  const g = me[c.type];
2587
2587
  return c && c.type && g ? g(c) : /* @__PURE__ */ p.jsx("div", { className: "error-message", children: "Invalid form item configuration" });
2588
- }, d = (c) => {
2589
- const { show: f = !0 } = c;
2590
- if (!f)
2588
+ }, f = (c) => {
2589
+ const { show: d = !0 } = c;
2590
+ if (!d)
2591
2591
  return null;
2592
2592
  const g = [...c.rules || []];
2593
2593
  c.required && g.push({ required: !0, message: c.required });
2594
- const v = {
2594
+ const y = {
2595
2595
  labelCol: me.labelCol,
2596
2596
  wrapperCol: me.wrapperCol,
2597
2597
  ...a,
@@ -2604,7 +2604,7 @@ function wr(n) {
2604
2604
  name: c.id,
2605
2605
  rules: g,
2606
2606
  initialValue: c.initialValue,
2607
- ...v,
2607
+ ...y,
2608
2608
  ...c.formItemProps,
2609
2609
  children: l(c, i)
2610
2610
  }
@@ -2616,11 +2616,11 @@ function wr(n) {
2616
2616
  gutter: me.defaultRowGutter,
2617
2617
  ...o,
2618
2618
  className: `${rt("grid")} ${o == null ? void 0 : o.className}`,
2619
- children: t.map((c) => d(c))
2619
+ children: t.map((c) => f(c))
2620
2620
  }
2621
2621
  ) }) });
2622
2622
  }
2623
- wr.displayName = "MForm";
2623
+ xr.displayName = "MForm";
2624
2624
  let nt = "default";
2625
2625
  const ze = [];
2626
2626
  let Kt = (n) => {
@@ -2639,7 +2639,7 @@ let Kt = (n) => {
2639
2639
  };
2640
2640
  }
2641
2641
  };
2642
- const be = class be extends Jr {
2642
+ const be = class be extends Kr {
2643
2643
  constructor() {
2644
2644
  super(...arguments);
2645
2645
  m(this, "handleCancel", (t) => {
@@ -2657,7 +2657,7 @@ const be = class be extends Jr {
2657
2657
  }
2658
2658
  render() {
2659
2659
  return /* @__PURE__ */ p.jsx(
2660
- tr,
2660
+ rr,
2661
2661
  {
2662
2662
  theme: this.getTheme(),
2663
2663
  componentSize: "middle",
@@ -2709,56 +2709,56 @@ const gs = 13, ne = (n = "") => He("m-search", n), ks = (n) => {
2709
2709
  defaultShowAll: i = !1,
2710
2710
  customButtons: a = [],
2711
2711
  form: o
2712
- } = n, [l, d] = L(i), [c] = st.useForm(), f = G(null), g = o ?? c, v = (y) => {
2713
- const { keyCode: k } = y;
2714
- k === gs && N();
2712
+ } = n, [l, f] = H(i), [c] = st.useForm(), d = G(null), g = o ?? c, y = (v) => {
2713
+ const { keyCode: k } = v;
2714
+ k === gs && $();
2715
2715
  };
2716
2716
  ae(() => {
2717
- const y = f.current;
2718
- return y == null || y.addEventListener("keydown", v), () => {
2719
- y == null || y.removeEventListener("keydown", v);
2717
+ const v = d.current;
2718
+ return v == null || v.addEventListener("keydown", y), () => {
2719
+ v == null || v.removeEventListener("keydown", y);
2720
2720
  };
2721
2721
  }, []);
2722
2722
  const j = () => {
2723
- g == null || g.resetFields(), N(!0);
2724
- }, N = (y = !1) => {
2723
+ g == null || g.resetFields(), $(!0);
2724
+ }, $ = (v = !1) => {
2725
2725
  g == null || g.validateFields().then((k) => {
2726
- xn(k), r == null || r(k, y);
2726
+ xn(k), r == null || r(k, v);
2727
2727
  });
2728
- }, T = () => {
2729
- const y = t.length > 2;
2730
- return /* @__PURE__ */ p.jsxs("div", { className: ne("btn-wrapper"), children: [
2731
- (a == null ? void 0 : a.length) > 0 ? /* @__PURE__ */ p.jsx(p.Fragment, { children: a.map((k, V) => /* @__PURE__ */ p.jsx(ke, { className: ne("btn"), ...k, children: k.children }, `custom-btn-${V}`)) }) : /* @__PURE__ */ p.jsxs(p.Fragment, { children: [
2732
- /* @__PURE__ */ p.jsx(ke, { className: ne("btn btn-reset"), onClick: j, children: "重置" }),
2733
- /* @__PURE__ */ p.jsx(ke, { className: ne("btn btn-search"), onClick: () => N(), type: "primary", children: "搜索" })
2734
- ] }),
2735
- y && /* @__PURE__ */ p.jsxs("div", { className: ne("btn btn-collapse"), onClick: () => d(!l), children: [
2736
- /* @__PURE__ */ p.jsx("span", { children: l ? "收起" : "展开" }),
2737
- l ? /* @__PURE__ */ p.jsx(cs, {}) : /* @__PURE__ */ p.jsx(ss, {})
2738
- ] })
2739
- ] });
2740
- }, H = t.map((y, k) => {
2741
- var I;
2742
- const V = { ...y };
2743
- return t.length > 2 && k >= 2 && !l && (V.formItemProps = {
2744
- ...y.formItemProps,
2728
+ }, N = tr(
2729
+ () => (t == null ? void 0 : t.filter((v) => v.show != !1).length) > 2,
2730
+ [t]
2731
+ ), I = () => /* @__PURE__ */ p.jsxs("div", { className: ne("btn-wrapper"), children: [
2732
+ (a == null ? void 0 : a.length) > 0 ? /* @__PURE__ */ p.jsx(p.Fragment, { children: a.map((v, k) => /* @__PURE__ */ p.jsx(ke, { className: ne("btn"), ...v, children: v.children }, `custom-btn-${k}`)) }) : /* @__PURE__ */ p.jsxs(p.Fragment, { children: [
2733
+ /* @__PURE__ */ p.jsx(ke, { className: ne("btn btn-reset"), onClick: j, children: "重置" }),
2734
+ /* @__PURE__ */ p.jsx(ke, { className: ne("btn btn-search"), onClick: () => $(), type: "primary", children: "搜索" })
2735
+ ] }),
2736
+ N && /* @__PURE__ */ p.jsxs("div", { className: ne("btn btn-collapse"), onClick: () => f(!l), children: [
2737
+ /* @__PURE__ */ p.jsx("span", { children: l ? "收起" : "展开" }),
2738
+ l ? /* @__PURE__ */ p.jsx(cs, {}) : /* @__PURE__ */ p.jsx(ss, {})
2739
+ ] })
2740
+ ] }), P = t.map((v, k) => {
2741
+ var Y;
2742
+ const F = { ...v };
2743
+ return t.length > 2 && k >= 2 && !l && (F.formItemProps = {
2744
+ ...v.formItemProps,
2745
2745
  style: {
2746
- ...(I = y.formItemProps) == null ? void 0 : I.style,
2746
+ ...(Y = v.formItemProps) == null ? void 0 : Y.style,
2747
2747
  display: "none"
2748
2748
  }
2749
- }), V;
2750
- }), O = t.length > 2;
2749
+ }), F;
2750
+ });
2751
2751
  return /* @__PURE__ */ p.jsx(ve, { children: /* @__PURE__ */ p.jsx(
2752
2752
  "div",
2753
2753
  {
2754
2754
  className: `${ne("")} ${l ? "" : ne("collapsed")} ${e || ""}`,
2755
- ref: f,
2756
- children: /* @__PURE__ */ p.jsxs(rr, { children: [
2755
+ ref: d,
2756
+ children: /* @__PURE__ */ p.jsxs(nr, { children: [
2757
2757
  /* @__PURE__ */ p.jsxs("div", { className: ne("form"), children: [
2758
- /* @__PURE__ */ p.jsx(wr, { form: g, formItems: H, column: 3 }),
2759
- (!O || O && !l) && T()
2758
+ /* @__PURE__ */ p.jsx(xr, { form: g, formItems: P, column: 3 }),
2759
+ (!N || N && !l) && I()
2760
2760
  ] }),
2761
- O && l && /* @__PURE__ */ p.jsx("div", { className: ne("footer"), children: T() })
2761
+ N && l && /* @__PURE__ */ p.jsx("div", { className: ne("footer"), children: I() })
2762
2762
  ] })
2763
2763
  }
2764
2764
  ) });
@@ -2767,7 +2767,7 @@ function Os(n) {
2767
2767
  var t;
2768
2768
  const e = ((t = n.columns) == null ? void 0 : t.map((r) => ({ ...r, dataIndex: r.key }))) ?? [];
2769
2769
  return /* @__PURE__ */ p.jsxs(ve, { children: [
2770
- /* @__PURE__ */ p.jsx(dn, { rowKey: (r) => r.id, ...n, columns: e }),
2770
+ /* @__PURE__ */ p.jsx(fn, { rowKey: (r) => r.id, ...n, columns: e }),
2771
2771
  ";"
2772
2772
  ] });
2773
2773
  }
@@ -2784,100 +2784,100 @@ const $s = {
2784
2784
  YMD_SLASH: "YYYY/MM/DD",
2785
2785
  YMD_SLASH_Hms: "YYYY/MM/DD HH:mm:ss"
2786
2786
  }, ps = 10;
2787
- class $ {
2787
+ class O {
2788
2788
  }
2789
2789
  /**
2790
2790
  * 整数
2791
2791
  */
2792
- m($, "integerRegex", /^-?\d+$/), /**
2792
+ m(O, "integerRegex", /^-?\d+$/), /**
2793
2793
  * 正整数
2794
2794
  */
2795
- m($, "positiveIntegerRegex", /^[1-9]\d*$/), /**
2795
+ m(O, "positiveIntegerRegex", /^[1-9]\d*$/), /**
2796
2796
  * 负整数
2797
2797
  */
2798
- m($, "negativeIntegerRegex", /^-[1-9]\d*$/), /**
2798
+ m(O, "negativeIntegerRegex", /^-[1-9]\d*$/), /**
2799
2799
  * 浮点数
2800
2800
  */
2801
- m($, "floatRegex", /^-?\d+(\.\d+)?$/), /**
2801
+ m(O, "floatRegex", /^-?\d+(\.\d+)?$/), /**
2802
2802
  * 字母
2803
2803
  */
2804
- m($, "letter", /^[a-zA-Z]+$/), /**
2804
+ m(O, "letter", /^[a-zA-Z]+$/), /**
2805
2805
  * 汉字
2806
2806
  */
2807
- m($, "chinese", /^[\u4e00-\u9fa5]+$/), /**
2807
+ m(O, "chinese", /^[\u4e00-\u9fa5]+$/), /**
2808
2808
  * 数字
2809
2809
  */
2810
- m($, "number", /^[0-9]*$/), /**
2810
+ m(O, "number", /^[0-9]*$/), /**
2811
2811
  * 用户名 字母开头,允许字母数字下划线,长度4-16
2812
2812
  */
2813
- m($, "username", /^[a-zA-Z]\w{3,15}$/), /**
2813
+ m(O, "username", /^[a-zA-Z]\w{3,15}$/), /**
2814
2814
  * 强用户名 必须包含大小写字母和数字,6-20位
2815
2815
  */
2816
- m($, "strongUsername", /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z\d]{6,20}$/), /**
2816
+ m(O, "strongUsername", /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z\d]{6,20}$/), /**
2817
2817
  * 密码 至少8位,包含字母和数字
2818
2818
  */
2819
- m($, "password", /^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{8,}$/), /**
2819
+ m(O, "password", /^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{8,}$/), /**
2820
2820
  * 强密码 至少8位,包含大小写字母、数字和特殊字符
2821
2821
  */
2822
- m($, "strongPassword", /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$/), /**
2822
+ m(O, "strongPassword", /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$/), /**
2823
2823
  * 中国大陆的手机号
2824
2824
  */
2825
- m($, "phone", /^1[3-9]\d{9}$/), /**
2825
+ m(O, "phone", /^1[3-9]\d{9}$/), /**
2826
2826
  * 带区号的手机号
2827
2827
  */
2828
- m($, "phoneWithAreaCode", /^\+?\d{2,3}-?\d{8,11}$/), /**
2828
+ m(O, "phoneWithAreaCode", /^\+?\d{2,3}-?\d{8,11}$/), /**
2829
2829
  * 邮箱
2830
2830
  */
2831
- m($, "email", /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/), /**
2831
+ m(O, "email", /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/), /**
2832
2832
  * 身份证
2833
2833
  */
2834
- m($, "idCard", /^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/), /**
2834
+ m(O, "idCard", /^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/), /**
2835
2835
  * 银行卡
2836
2836
  */
2837
- m($, "bankCard", /^[1-9]\d{3,30}$/), /**
2837
+ m(O, "bankCard", /^[1-9]\d{3,30}$/), /**
2838
2838
  * 邮政编码
2839
2839
  */
2840
- m($, "zipCode", /^[1-9]\d{5}$/), /**
2840
+ m(O, "zipCode", /^[1-9]\d{5}$/), /**
2841
2841
  * IP
2842
2842
  */
2843
- m($, "ip", /^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/), /**
2843
+ m(O, "ip", /^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/), /**
2844
2844
  * URL
2845
2845
  */
2846
- m($, "url", /^(https?:\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w .-]*)*\/?$/), /**
2846
+ m(O, "url", /^(https?:\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w .-]*)*\/?$/), /**
2847
2847
  * 车牌
2848
2848
  */
2849
- m($, "carNumber", /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领][A-HJ-NP-Z][A-HJ-NP-Z0-9]{4,5}[A-HJ-NP-Z0-9挂学警港澳]$/), /**
2849
+ m(O, "carNumber", /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领][A-HJ-NP-Z][A-HJ-NP-Z0-9]{4,5}[A-HJ-NP-Z0-9挂学警港澳]$/), /**
2850
2850
  * 时间 hh:mm:ss
2851
2851
  */
2852
- m($, "time", /^([0-1][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/), /**
2852
+ m(O, "time", /^([0-1][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/), /**
2853
2853
  * 日期 YYYY-MM-DD
2854
2854
  */
2855
- m($, "date", /^(\d{4})-(\d{2})-(\d{2})$/);
2855
+ m(O, "date", /^(\d{4})-(\d{2})-(\d{2})$/);
2856
2856
  function Ns(n, e) {
2857
- const [t, r] = L(!1), [i, a] = L(null), [o, l] = L(null), d = G(void 0), c = G(0), f = () => {
2858
- var v;
2859
- (v = d.current) == null || v.abort(), r(!1), a(null);
2860
- }, g = async (...v) => {
2861
- var T, H, O, y;
2857
+ const [t, r] = H(!1), [i, a] = H(null), [o, l] = H(null), f = G(void 0), c = G(0), d = () => {
2858
+ var y;
2859
+ (y = f.current) == null || y.abort(), r(!1), a(null);
2860
+ }, g = async (...y) => {
2861
+ var N, I, P, v;
2862
2862
  const j = ++c.current;
2863
- f();
2864
- const N = new AbortController();
2865
- d.current = N;
2863
+ d();
2864
+ const $ = new AbortController();
2865
+ f.current = $;
2866
2866
  try {
2867
- if (r(!0), a(null), e != null && e.onBefore && !await ((T = e == null ? void 0 : e.onBefore) == null ? void 0 : T.call(e, ...v))) {
2868
- f();
2867
+ if (r(!0), a(null), e != null && e.onBefore && !await ((N = e == null ? void 0 : e.onBefore) == null ? void 0 : N.call(e, ...y))) {
2868
+ d();
2869
2869
  return;
2870
2870
  }
2871
- const k = v.length >= n.length ? v : [...v, { signal: N.signal }], V = await n(...k);
2872
- return !N.signal.aborted && j === c.current && (l(V), await ((H = e == null ? void 0 : e.onSuccess) == null ? void 0 : H.call(e, V))), V;
2871
+ const k = y.length >= n.length ? y : [...y, { signal: $.signal }], F = await n(...k);
2872
+ return !$.signal.aborted && j === c.current && (l(F), await ((I = e == null ? void 0 : e.onSuccess) == null ? void 0 : I.call(e, F))), F;
2873
2873
  } catch (k) {
2874
- throw !N.signal.aborted && j === c.current && (a(k), await ((O = e == null ? void 0 : e.onError) == null ? void 0 : O.call(e, k))), k;
2874
+ throw !$.signal.aborted && j === c.current && (a(k), await ((P = e == null ? void 0 : e.onError) == null ? void 0 : P.call(e, k))), k;
2875
2875
  } finally {
2876
- !N.signal.aborted && j === c.current && (r(!1), await ((y = e == null ? void 0 : e.onFinally) == null ? void 0 : y.call(e)));
2876
+ !$.signal.aborted && j === c.current && (r(!1), await ((v = e == null ? void 0 : e.onFinally) == null ? void 0 : v.call(e)));
2877
2877
  }
2878
2878
  };
2879
2879
  return ae(() => (e != null && e.autoRunArgs && g(...e.autoRunArgs).catch(() => {
2880
- }), f), [JSON.stringify(e == null ? void 0 : e.autoRunArgs)]), { run: g, cancel: f, loading: t, error: i, data: o };
2880
+ }), d), [JSON.stringify(e == null ? void 0 : e.autoRunArgs)]), { run: g, cancel: d, loading: t, error: i, data: o };
2881
2881
  }
2882
2882
  function Ds(n, e, t = !1) {
2883
2883
  const r = G(void 0), i = G(n);
@@ -2897,21 +2897,21 @@ const Ps = (n, e, t) => {
2897
2897
  dataSource: i = [],
2898
2898
  current: a = 1,
2899
2899
  pageSize: o = 10
2900
- } = t || {}, [l, d] = L(a), [c, f] = L(o), [g, v] = L(i), [j, N] = L(0), [T, H] = L(!1), [O, y] = L(!1), k = G(l), V = G(c), I = (w) => {
2901
- d(w), k.current = w;
2900
+ } = t || {}, [l, f] = H(a), [c, d] = H(o), [g, y] = H(i), [j, $] = H(0), [N, I] = H(!1), [P, v] = H(!1), k = G(l), F = G(c), Y = (w) => {
2901
+ f(w), k.current = w;
2902
2902
  }, J = (w) => {
2903
- f(w), V.current = w;
2903
+ d(w), F.current = w;
2904
2904
  }, K = G(0), ye = async () => {
2905
2905
  if (!r)
2906
2906
  return;
2907
- let w = k.current, M = V.current;
2908
- H(!0), K.current++;
2907
+ let w = k.current, A = F.current;
2908
+ I(!0), K.current++;
2909
2909
  const X = K.current;
2910
2910
  try {
2911
- let U = Math.round((w - 1) * M);
2912
- U < 0 && (U = 0), M < 1 && (M = 1);
2911
+ let U = Math.round((w - 1) * A);
2912
+ U < 0 && (U = 0), A < 1 && (A = 1);
2913
2913
  let { dataSource: re, total: Q } = await n({
2914
- limit: M,
2914
+ limit: A,
2915
2915
  offset: U,
2916
2916
  current: w
2917
2917
  });
@@ -2921,31 +2921,31 @@ const Ps = (n, e, t) => {
2921
2921
  w = 1;
2922
2922
  const ue = Math.ceil(Q / c);
2923
2923
  if ({ dataSource: re, total: Q } = await n({
2924
- limit: M,
2924
+ limit: A,
2925
2925
  offset: U,
2926
2926
  current: w
2927
2927
  }), X !== K.current)
2928
2928
  return;
2929
2929
  w = ue;
2930
2930
  }
2931
- v(re), I(w), J(M), N(Q);
2931
+ y(re), Y(w), J(A), $(Q);
2932
2932
  } catch (U) {
2933
2933
  if (console.error("usePagination error", U), X !== K.current)
2934
2934
  return;
2935
2935
  } finally {
2936
- y(!0), H(!1);
2936
+ v(!0), I(!1);
2937
2937
  }
2938
2938
  }, te = async (w) => {
2939
- w && (v([]), I(a), J(o)), await ye();
2940
- }, ie = Z(sr(te, 500), [te]), le = [...e || [], r];
2939
+ w && (y([]), Y(a), J(o)), await ye();
2940
+ }, ie = Z(ar(te, 500), [te]), le = [...e || [], r];
2941
2941
  return ae(() => {
2942
2942
  r && ie(!0);
2943
2943
  }, le), {
2944
2944
  tableProps: {
2945
- loading: T,
2945
+ loading: N,
2946
2946
  dataSource: g
2947
2947
  },
2948
- loading: T,
2948
+ loading: N,
2949
2949
  dataSource: g,
2950
2950
  paginationProps: {
2951
2951
  current: l,
@@ -2954,35 +2954,35 @@ const Ps = (n, e, t) => {
2954
2954
  showTotal(w) {
2955
2955
  return `共 ${w} 条`;
2956
2956
  },
2957
- onChange: async (w, M) => {
2958
- I(w), J(M), await te();
2957
+ onChange: async (w, A) => {
2958
+ Y(w), J(A), await te();
2959
2959
  },
2960
- onShowSizeChange: async (w, M) => {
2961
- J(w), I(M), await te();
2960
+ onShowSizeChange: async (w, A) => {
2961
+ J(w), Y(A), await te();
2962
2962
  }
2963
2963
  },
2964
- isFirstComplete: O,
2964
+ isFirstComplete: P,
2965
2965
  refresh: te,
2966
2966
  debounceRefresh: ie,
2967
- setDataSource: v
2967
+ setDataSource: y
2968
2968
  };
2969
2969
  };
2970
2970
  function Ts() {
2971
2971
  const n = window.location.href.split("?")[1] || "", e = new URLSearchParams(n);
2972
2972
  return Object.fromEntries(e.entries());
2973
2973
  }
2974
- const Ms = (n) => {
2975
- const [e, t] = L(n), r = G(e), i = Z((l) => {
2976
- t((d) => {
2977
- const c = typeof l == "function" ? l(d) : l, f = { ...d, ...c };
2978
- return r.current = f, f;
2974
+ const As = (n) => {
2975
+ const [e, t] = H(n), r = G(e), i = Z((l) => {
2976
+ t((f) => {
2977
+ const c = typeof l == "function" ? l(f) : l, d = { ...f, ...c };
2978
+ return r.current = d, d;
2979
2979
  });
2980
2980
  }, []), a = Z(() => r.current, []), o = Z(() => {
2981
2981
  t(n), r.current = n;
2982
2982
  }, [n]);
2983
2983
  return [e, i, a, o];
2984
2984
  };
2985
- function As(n, e, t = !1) {
2985
+ function Ms(n, e, t = !1) {
2986
2986
  const r = G(void 0), i = G(n);
2987
2987
  ae(() => {
2988
2988
  i.current = n;
@@ -3000,57 +3000,57 @@ const zs = (n, e, t) => {
3000
3000
  dataSource: i = [],
3001
3001
  current: a = 1,
3002
3002
  pageSize: o = ps
3003
- } = t || {}, [l, d] = L(!1), [c, f] = L(a), [g, v] = L(o), [j, N] = L(0), [T, H] = L(!1), [O, y] = L(i), k = G(c), V = G(g), I = G(0), J = Z((E) => {
3004
- f(E), k.current = E;
3003
+ } = t || {}, [l, f] = H(!1), [c, d] = H(a), [g, y] = H(o), [j, $] = H(0), [N, I] = H(!1), [P, v] = H(i), k = G(c), F = G(g), Y = G(0), J = Z((E) => {
3004
+ d(E), k.current = E;
3005
3005
  }, []), K = Z((E) => {
3006
- v(E), V.current = E;
3006
+ y(E), F.current = E;
3007
3007
  }, []), ye = Z((E) => {
3008
- y(E);
3008
+ v(E);
3009
3009
  }, []), te = Z(
3010
3010
  async (E) => {
3011
3011
  if (!r)
3012
3012
  return;
3013
- let Y = k.current, w = V.current;
3014
- H(!0), I.current += 1;
3015
- const M = I.current;
3013
+ let L = k.current, w = F.current;
3014
+ I(!0), Y.current += 1;
3015
+ const A = Y.current;
3016
3016
  try {
3017
- let X = Math.max(0, Math.round((Y - 1) * w));
3017
+ let X = Math.max(0, Math.round((L - 1) * w));
3018
3018
  w = Math.max(1, w);
3019
3019
  let U = await n({
3020
3020
  limit: w,
3021
3021
  offset: X,
3022
- current: Y
3022
+ current: L
3023
3023
  });
3024
- if (M !== I.current)
3024
+ if (A !== Y.current)
3025
3025
  return;
3026
3026
  let { dataSource: re, total: Q } = U;
3027
- if (g * (Y - 1) >= Q && Y !== 1) {
3028
- const de = Math.max(1, Math.ceil(Q / g));
3029
- if (X = Math.max(0, Math.round((de - 1) * w)), U = await n({
3027
+ if (g * (L - 1) >= Q && L !== 1) {
3028
+ const fe = Math.max(1, Math.ceil(Q / g));
3029
+ if (X = Math.max(0, Math.round((fe - 1) * w)), U = await n({
3030
3030
  limit: w,
3031
3031
  offset: X,
3032
- current: de
3033
- }), M !== I.current)
3032
+ current: fe
3033
+ }), A !== Y.current)
3034
3034
  return;
3035
- re = U.dataSource, Q = U.total, Y = de;
3035
+ re = U.dataSource, Q = U.total, L = fe;
3036
3036
  }
3037
- const ue = E ? re : [...O, ...re];
3038
- y(ue), J(Y), K(w), N(Q), d(!0);
3037
+ const ue = E ? re : [...P, ...re];
3038
+ v(ue), J(L), K(w), $(Q), f(!0);
3039
3039
  } catch (X) {
3040
- if (console.error("useVirtualList error", X), M !== I.current)
3040
+ if (console.error("useVirtualList error", X), A !== Y.current)
3041
3041
  return;
3042
3042
  } finally {
3043
- M === I.current && H(!1);
3043
+ A === Y.current && I(!1);
3044
3044
  }
3045
3045
  },
3046
- [r, n, O, J, K]
3046
+ [r, n, P, J, K]
3047
3047
  ), ie = Z(
3048
3048
  async (E) => {
3049
3049
  if (E)
3050
- y([]), J(a), K(o);
3050
+ v([]), J(a), K(o);
3051
3051
  else {
3052
- const Y = g * c;
3053
- if (j && j <= Y)
3052
+ const L = g * c;
3053
+ if (j && j <= L)
3054
3054
  return;
3055
3055
  J(c + 1);
3056
3056
  }
@@ -3067,16 +3067,16 @@ const zs = (n, e, t) => {
3067
3067
  j
3068
3068
  ]
3069
3069
  ), le = Z(
3070
- sr((E) => {
3070
+ ar((E) => {
3071
3071
  ie(E);
3072
3072
  }, 500),
3073
3073
  [ie]
3074
- ), we = Kr(() => [...e || [], r], [e, r]);
3074
+ ), we = tr(() => [...e || [], r], [e, r]);
3075
3075
  return ae(() => {
3076
3076
  r && le(!0);
3077
3077
  }, we), {
3078
- loading: T,
3079
- dataSource: O,
3078
+ loading: N,
3079
+ dataSource: P,
3080
3080
  paginationProps: {
3081
3081
  current: c,
3082
3082
  pageSize: g,
@@ -3086,7 +3086,7 @@ const zs = (n, e, t) => {
3086
3086
  refresh: ie,
3087
3087
  debounceRefresh: le,
3088
3088
  setDataSource: ye,
3089
- setTotal: N
3089
+ setTotal: $
3090
3090
  };
3091
3091
  };
3092
3092
  export {
@@ -3095,7 +3095,7 @@ export {
3095
3095
  Sn as ItemsRow,
3096
3096
  js as MBreadcrumb,
3097
3097
  Cn as MDescriptions,
3098
- wr as MForm,
3098
+ xr as MForm,
3099
3099
  me as MFormItemConst,
3100
3100
  W as MFormItemTypeEnum,
3101
3101
  ks as MSearch,
@@ -3104,10 +3104,10 @@ export {
3104
3104
  Es as MiThemeProvider,
3105
3105
  Le as NextTick,
3106
3106
  ps as PAGE_SIZE,
3107
- $ as PatternType,
3107
+ O as PatternType,
3108
3108
  _s as VersionUtil,
3109
3109
  ws as cmx,
3110
- sr as debounce,
3110
+ ar as debounce,
3111
3111
  He as getClassName,
3112
3112
  Ss as getFieldsByPath,
3113
3113
  xs as nextTick,
@@ -3120,7 +3120,7 @@ export {
3120
3120
  Rn as useMiThemeConfig,
3121
3121
  Ps as usePagination,
3122
3122
  Ts as useQuery,
3123
- Ms as useReactive,
3124
- As as useTimeout,
3123
+ As as useReactive,
3124
+ Ms as useTimeout,
3125
3125
  zs as useVirtualList
3126
3126
  };