react-toolkits 0.7.1 → 0.7.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # react-toolkits
2
2
 
3
+ ## 0.7.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 7d91a12: fix: useValidateToken hook excution twice not allowed
8
+
3
9
  ## 0.7.1
4
10
 
5
11
  ### Patch Changes
@@ -1,6 +1,6 @@
1
- import { u as S, j as e, b as $ } from "./index-2hcycK2e.chunk.js";
1
+ import { u as S, j as e, b as $ } from "./index-8Dl-Is61.chunk.js";
2
2
  import { Collapse as D, Checkbox as k, Row as G, Col as _, Skeleton as T, Typography as A, Divider as w, Card as K, Space as M, Select as E, Button as N, Empty as O } from "antd";
3
- import { d as R, e as B } from "./index-3653RPnV.chunk.js";
3
+ import { d as R, e as B } from "./index-beVcBbFw.chunk.js";
4
4
  import { useState as P, useCallback as F, useEffect as b } from "react";
5
5
  const q = (x) => {
6
6
  const { permissions: l, readonly: t, expand: d, value: r, onChange: a } = x, [m, p] = P([]), [g, u] = P({}), [c, f] = P(r ?? []), C = S(), h = F((s) => {
@@ -1,7 +1,7 @@
1
1
  var Ii = Object.defineProperty;
2
2
  var Pi = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
3
  var xn = (e, t, r) => (Pi(e, typeof t != "symbol" ? t + "" : t, r), r);
4
- import * as Se from "react";
4
+ import * as we from "react";
5
5
  import ye, { createContext as Xr, useContext as Zr, useEffect as _e, useState as Fe, useRef as fe, useLayoutEffect as Di, useMemo as Yt, useCallback as Ce, useDebugValue as ji, memo as Fi, Suspense as Ni, forwardRef as Bi, useImperativeHandle as Li, lazy as gt } from "react";
6
6
  import * as zt from "antd";
7
7
  import { theme as Ua, Space as ut, Input as In, Tag as Pn, Button as ct, Select as Mi, Typography as Ui, Form as Ot, Spin as Jr, Result as en, Table as Ga, Menu as Gi, Card as Vi, Empty as Dn, Dropdown as ki, Divider as Wi, Tooltip as Hi, Modal as Qi } from "antd";
@@ -34,36 +34,36 @@ function Xi() {
34
34
  var h = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
35
35
  function m(s) {
36
36
  {
37
- for (var y = arguments.length, w = new Array(y > 1 ? y - 1 : 0), I = 1; I < y; I++)
38
- w[I - 1] = arguments[I];
39
- C("error", s, w);
37
+ for (var y = arguments.length, S = new Array(y > 1 ? y - 1 : 0), I = 1; I < y; I++)
38
+ S[I - 1] = arguments[I];
39
+ C("error", s, S);
40
40
  }
41
41
  }
42
- function C(s, y, w) {
42
+ function C(s, y, S) {
43
43
  {
44
44
  var I = h.ReactDebugCurrentFrame, U = I.getStackAddendum();
45
- U !== "" && (y += "%s", w = w.concat([U]));
46
- var H = w.map(function(M) {
45
+ U !== "" && (y += "%s", S = S.concat([U]));
46
+ var H = S.map(function(M) {
47
47
  return String(M);
48
48
  });
49
49
  H.unshift("Warning: " + y), Function.prototype.apply.call(console[s], console, H);
50
50
  }
51
51
  }
52
- var S = !1, _ = !1, O = !1, x = !1, R = !1, j;
52
+ var w = !1, _ = !1, O = !1, x = !1, R = !1, j;
53
53
  j = Symbol.for("react.module.reference");
54
54
  function T(s) {
55
- return !!(typeof s == "string" || typeof s == "function" || s === n || s === o || R || s === a || s === f || s === d || x || s === g || S || _ || O || typeof s == "object" && s !== null && (s.$$typeof === A || s.$$typeof === l || s.$$typeof === i || s.$$typeof === c || s.$$typeof === u || // This needs to include all possible module reference object
55
+ return !!(typeof s == "string" || typeof s == "function" || s === n || s === o || R || s === a || s === f || s === d || x || s === g || w || _ || O || typeof s == "object" && s !== null && (s.$$typeof === A || s.$$typeof === l || s.$$typeof === i || s.$$typeof === c || s.$$typeof === u || // This needs to include all possible module reference object
56
56
  // types supported by any Flight configuration anywhere since
57
57
  // we don't know which Flight build this will end up being used
58
58
  // with.
59
59
  s.$$typeof === j || s.getModuleId !== void 0));
60
60
  }
61
- function G(s, y, w) {
61
+ function G(s, y, S) {
62
62
  var I = s.displayName;
63
63
  if (I)
64
64
  return I;
65
65
  var U = y.displayName || y.name || "";
66
- return U !== "" ? w + "(" + U + ")" : w;
66
+ return U !== "" ? S + "(" + U + ")" : S;
67
67
  }
68
68
  function D(s) {
69
69
  return s.displayName || "Context";
@@ -95,8 +95,8 @@ function Xi() {
95
95
  var y = s;
96
96
  return D(y) + ".Consumer";
97
97
  case i:
98
- var w = s;
99
- return D(w._context) + ".Provider";
98
+ var S = s;
99
+ return D(S._context) + ".Provider";
100
100
  case u:
101
101
  return G(s, s.render, "ForwardRef");
102
102
  case l:
@@ -176,7 +176,7 @@ function Xi() {
176
176
  }
177
177
  }
178
178
  var Ae = h.ReactCurrentDispatcher, ge;
179
- function pe(s, y, w) {
179
+ function pe(s, y, S) {
180
180
  {
181
181
  if (ge === void 0)
182
182
  try {
@@ -198,9 +198,9 @@ function Xi() {
198
198
  if (!s || qe)
199
199
  return "";
200
200
  {
201
- var w = ue.get(s);
202
- if (w !== void 0)
203
- return w;
201
+ var S = ue.get(s);
202
+ if (S !== void 0)
203
+ return S;
204
204
  }
205
205
  var I;
206
206
  qe = !0;
@@ -265,14 +265,14 @@ function Xi() {
265
265
  var st = s ? s.displayName || s.name : "", Tn = st ? pe(st) : "";
266
266
  return typeof s == "function" && ue.set(s, Tn), Tn;
267
267
  }
268
- function W(s, y, w) {
268
+ function W(s, y, S) {
269
269
  return k(s, !1);
270
270
  }
271
271
  function re(s) {
272
272
  var y = s.prototype;
273
273
  return !!(y && y.isReactComponent);
274
274
  }
275
- function Q(s, y, w) {
275
+ function Q(s, y, S) {
276
276
  if (s == null)
277
277
  return "";
278
278
  if (typeof s == "function")
@@ -290,11 +290,11 @@ function Xi() {
290
290
  case u:
291
291
  return W(s.render);
292
292
  case l:
293
- return Q(s.type, y, w);
293
+ return Q(s.type, y, S);
294
294
  case A: {
295
295
  var I = s, U = I._payload, H = I._init;
296
296
  try {
297
- return Q(H(U), y, w);
297
+ return Q(H(U), y, S);
298
298
  } catch {
299
299
  }
300
300
  }
@@ -304,12 +304,12 @@ function Xi() {
304
304
  var oe = Object.prototype.hasOwnProperty, Ie = {}, X = h.ReactDebugCurrentFrame;
305
305
  function Z(s) {
306
306
  if (s) {
307
- var y = s._owner, w = Q(s.type, s._source, y ? y.type : null);
308
- X.setExtraStackFrame(w);
307
+ var y = s._owner, S = Q(s.type, s._source, y ? y.type : null);
308
+ X.setExtraStackFrame(S);
309
309
  } else
310
310
  X.setExtraStackFrame(null);
311
311
  }
312
- function Ee(s, y, w, I, U) {
312
+ function Ee(s, y, S, I, U) {
313
313
  {
314
314
  var H = Function.call.bind(oe);
315
315
  for (var M in s)
@@ -317,14 +317,14 @@ function Xi() {
317
317
  var B = void 0;
318
318
  try {
319
319
  if (typeof s[M] != "function") {
320
- var ie = Error((I || "React class") + ": " + w + " type `" + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[M] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
320
+ var ie = Error((I || "React class") + ": " + S + " type `" + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[M] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
321
321
  throw ie.name = "Invariant Violation", ie;
322
322
  }
323
- B = s[M](y, M, I, w, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
323
+ B = s[M](y, M, I, S, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
324
324
  } catch (q) {
325
325
  B = q;
326
326
  }
327
- B && !(B instanceof Error) && (Z(U), m("%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).", I || "React class", w, M, typeof B), Z(null)), B instanceof Error && !(B.message in Ie) && (Ie[B.message] = !0, Z(U), m("Failed %s type: %s", w, B.message), Z(null));
327
+ B && !(B instanceof Error) && (Z(U), m("%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).", I || "React class", S, M, typeof B), Z(null)), B instanceof Error && !(B.message in Ie) && (Ie[B.message] = !0, Z(U), m("Failed %s type: %s", S, B.message), Z(null));
328
328
  }
329
329
  }
330
330
  }
@@ -334,8 +334,8 @@ function Xi() {
334
334
  }
335
335
  function Nt(s) {
336
336
  {
337
- var y = typeof Symbol == "function" && Symbol.toStringTag, w = y && s[Symbol.toStringTag] || s.constructor.name || "Object";
338
- return w;
337
+ var y = typeof Symbol == "function" && Symbol.toStringTag, S = y && s[Symbol.toStringTag] || s.constructor.name || "Object";
338
+ return S;
339
339
  }
340
340
  }
341
341
  function se(s) {
@@ -377,40 +377,40 @@ function Xi() {
377
377
  }
378
378
  function mi(s, y) {
379
379
  if (typeof s.ref == "string" && Ze.current && y && Ze.current.stateNode !== y) {
380
- var w = F(Ze.current.type);
381
- sr[w] || (m('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', F(Ze.current.type), s.ref), sr[w] = !0);
380
+ var S = F(Ze.current.type);
381
+ sr[S] || (m('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', F(Ze.current.type), s.ref), sr[S] = !0);
382
382
  }
383
383
  }
384
384
  function vi(s, y) {
385
385
  {
386
- var w = function() {
386
+ var S = function() {
387
387
  bn || (bn = !0, m("%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)", y));
388
388
  };
389
- w.isReactWarning = !0, Object.defineProperty(s, "key", {
390
- get: w,
389
+ S.isReactWarning = !0, Object.defineProperty(s, "key", {
390
+ get: S,
391
391
  configurable: !0
392
392
  });
393
393
  }
394
394
  }
395
395
  function yi(s, y) {
396
396
  {
397
- var w = function() {
397
+ var S = function() {
398
398
  En || (En = !0, m("%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)", y));
399
399
  };
400
- w.isReactWarning = !0, Object.defineProperty(s, "ref", {
401
- get: w,
400
+ S.isReactWarning = !0, Object.defineProperty(s, "ref", {
401
+ get: S,
402
402
  configurable: !0
403
403
  });
404
404
  }
405
405
  }
406
- var bi = function(s, y, w, I, U, H, M) {
406
+ var bi = function(s, y, S, I, U, H, M) {
407
407
  var B = {
408
408
  // This tag allows us to uniquely identify this as a React Element
409
409
  $$typeof: t,
410
410
  // Built-in properties that belong on the element
411
411
  type: s,
412
412
  key: y,
413
- ref: w,
413
+ ref: S,
414
414
  props: M,
415
415
  // Record the component responsible for creating this element.
416
416
  _owner: H
@@ -432,10 +432,10 @@ function Xi() {
432
432
  value: U
433
433
  }), Object.freeze && (Object.freeze(B.props), Object.freeze(B)), B;
434
434
  };
435
- function Ei(s, y, w, I, U) {
435
+ function Ei(s, y, S, I, U) {
436
436
  {
437
437
  var H, M = {}, B = null, ie = null;
438
- w !== void 0 && (ot(w), B = "" + w), hi(y) && (ot(y.key), B = "" + y.key), pi(y) && (ie = y.ref, mi(y, U));
438
+ S !== void 0 && (ot(S), B = "" + S), hi(y) && (ot(y.key), B = "" + y.key), pi(y) && (ie = y.ref, mi(y, U));
439
439
  for (H in y)
440
440
  oe.call(y, H) && !pt.hasOwnProperty(H) && (M[H] = y[H]);
441
441
  if (s && s.defaultProps) {
@@ -450,20 +450,20 @@ function Xi() {
450
450
  return bi(s, B, ie, U, I, Ze.current, M);
451
451
  }
452
452
  }
453
- var cr = h.ReactCurrentOwner, wn = h.ReactDebugCurrentFrame;
453
+ var cr = h.ReactCurrentOwner, Sn = h.ReactDebugCurrentFrame;
454
454
  function it(s) {
455
455
  if (s) {
456
- var y = s._owner, w = Q(s.type, s._source, y ? y.type : null);
457
- wn.setExtraStackFrame(w);
456
+ var y = s._owner, S = Q(s.type, s._source, y ? y.type : null);
457
+ Sn.setExtraStackFrame(S);
458
458
  } else
459
- wn.setExtraStackFrame(null);
459
+ Sn.setExtraStackFrame(null);
460
460
  }
461
461
  var ur;
462
462
  ur = !1;
463
463
  function lr(s) {
464
464
  return typeof s == "object" && s !== null && s.$$typeof === t;
465
465
  }
466
- function Sn() {
466
+ function wn() {
467
467
  {
468
468
  if (cr.current) {
469
469
  var s = F(cr.current.type);
@@ -475,26 +475,26 @@ Check the render method of \`` + s + "`.";
475
475
  return "";
476
476
  }
477
477
  }
478
- function wi(s) {
478
+ function Si(s) {
479
479
  {
480
480
  if (s !== void 0) {
481
- var y = s.fileName.replace(/^.*[\\\/]/, ""), w = s.lineNumber;
481
+ var y = s.fileName.replace(/^.*[\\\/]/, ""), S = s.lineNumber;
482
482
  return `
483
483
 
484
- Check your code at ` + y + ":" + w + ".";
484
+ Check your code at ` + y + ":" + S + ".";
485
485
  }
486
486
  return "";
487
487
  }
488
488
  }
489
489
  var Cn = {};
490
- function Si(s) {
490
+ function wi(s) {
491
491
  {
492
- var y = Sn();
492
+ var y = wn();
493
493
  if (!y) {
494
- var w = typeof s == "string" ? s : s.displayName || s.name;
495
- w && (y = `
494
+ var S = typeof s == "string" ? s : s.displayName || s.name;
495
+ S && (y = `
496
496
 
497
- Check the top-level render call using <` + w + ">.");
497
+ Check the top-level render call using <` + S + ">.");
498
498
  }
499
499
  return y;
500
500
  }
@@ -504,12 +504,12 @@ Check the top-level render call using <` + w + ">.");
504
504
  if (!s._store || s._store.validated || s.key != null)
505
505
  return;
506
506
  s._store.validated = !0;
507
- var w = Si(y);
508
- if (Cn[w])
507
+ var S = wi(y);
508
+ if (Cn[S])
509
509
  return;
510
- Cn[w] = !0;
510
+ Cn[S] = !0;
511
511
  var I = "";
512
- s && s._owner && s._owner !== cr.current && (I = " It was passed a child from " + F(s._owner.type) + "."), it(s), m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', w, I), it(null);
512
+ s && s._owner && s._owner !== cr.current && (I = " It was passed a child from " + F(s._owner.type) + "."), it(s), m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', S, I), it(null);
513
513
  }
514
514
  }
515
515
  function Rn(s, y) {
@@ -517,8 +517,8 @@ Check the top-level render call using <` + w + ">.");
517
517
  if (typeof s != "object")
518
518
  return;
519
519
  if (at(s))
520
- for (var w = 0; w < s.length; w++) {
521
- var I = s[w];
520
+ for (var S = 0; S < s.length; S++) {
521
+ var I = s[S];
522
522
  lr(I) && On(I, y);
523
523
  }
524
524
  else if (lr(s))
@@ -536,18 +536,18 @@ Check the top-level render call using <` + w + ">.");
536
536
  var y = s.type;
537
537
  if (y == null || typeof y == "string")
538
538
  return;
539
- var w;
539
+ var S;
540
540
  if (typeof y == "function")
541
- w = y.propTypes;
541
+ S = y.propTypes;
542
542
  else if (typeof y == "object" && (y.$$typeof === u || // Note: Memo only checks outer props here.
543
543
  // Inner props are checked in the reconciler.
544
544
  y.$$typeof === l))
545
- w = y.propTypes;
545
+ S = y.propTypes;
546
546
  else
547
547
  return;
548
- if (w) {
548
+ if (S) {
549
549
  var I = F(y);
550
- Ee(w, s.props, "prop", I, s);
550
+ Ee(S, s.props, "prop", I, s);
551
551
  } else if (y.PropTypes !== void 0 && !ur) {
552
552
  ur = !0;
553
553
  var U = F(y);
@@ -558,8 +558,8 @@ Check the top-level render call using <` + w + ">.");
558
558
  }
559
559
  function Oi(s) {
560
560
  {
561
- for (var y = Object.keys(s.props), w = 0; w < y.length; w++) {
562
- var I = y[w];
561
+ for (var y = Object.keys(s.props), S = 0; S < y.length; S++) {
562
+ var I = y[S];
563
563
  if (I !== "children" && I !== "key") {
564
564
  it(s), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", I), it(null);
565
565
  break;
@@ -568,18 +568,18 @@ Check the top-level render call using <` + w + ">.");
568
568
  s.ref !== null && (it(s), m("Invalid attribute `ref` supplied to `React.Fragment`."), it(null));
569
569
  }
570
570
  }
571
- function _n(s, y, w, I, U, H) {
571
+ function _n(s, y, S, I, U, H) {
572
572
  {
573
573
  var M = T(s);
574
574
  if (!M) {
575
575
  var B = "";
576
576
  (s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (B += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
577
- var ie = wi(U);
578
- ie ? B += ie : B += Sn();
577
+ var ie = Si(U);
578
+ ie ? B += ie : B += wn();
579
579
  var q;
580
580
  s === null ? q = "null" : at(s) ? q = "array" : s !== void 0 && s.$$typeof === t ? (q = "<" + (F(s.type) || "Unknown") + " />", B = " Did you accidentally export a JSX literal instead of a component?") : q = typeof s, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", q, B);
581
581
  }
582
- var J = Ei(s, y, w, U, H);
582
+ var J = Ei(s, y, S, U, H);
583
583
  if (J == null)
584
584
  return J;
585
585
  if (M) {
@@ -598,11 +598,11 @@ Check the top-level render call using <` + w + ">.");
598
598
  return s === n ? Oi(J) : Ci(J), J;
599
599
  }
600
600
  }
601
- function Ri(s, y, w) {
602
- return _n(s, y, w, !0);
601
+ function Ri(s, y, S) {
602
+ return _n(s, y, S, !0);
603
603
  }
604
- function _i(s, y, w) {
605
- return _n(s, y, w, !1);
604
+ function _i(s, y, S) {
605
+ return _n(s, y, S, !1);
606
606
  }
607
607
  var Ti = _i, xi = Ri;
608
608
  ht.Fragment = n, ht.jsx = Ti, ht.jsxs = xi;
@@ -670,43 +670,43 @@ function es() {
670
670
  var e = ye, t = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
671
671
  function r(C) {
672
672
  {
673
- for (var S = arguments.length, _ = new Array(S > 1 ? S - 1 : 0), O = 1; O < S; O++)
673
+ for (var w = arguments.length, _ = new Array(w > 1 ? w - 1 : 0), O = 1; O < w; O++)
674
674
  _[O - 1] = arguments[O];
675
675
  n("error", C, _);
676
676
  }
677
677
  }
678
- function n(C, S, _) {
678
+ function n(C, w, _) {
679
679
  {
680
680
  var O = t.ReactDebugCurrentFrame, x = O.getStackAddendum();
681
- x !== "" && (S += "%s", _ = _.concat([x]));
681
+ x !== "" && (w += "%s", _ = _.concat([x]));
682
682
  var R = _.map(function(j) {
683
683
  return String(j);
684
684
  });
685
- R.unshift("Warning: " + S), Function.prototype.apply.call(console[C], console, R);
685
+ R.unshift("Warning: " + w), Function.prototype.apply.call(console[C], console, R);
686
686
  }
687
687
  }
688
- function a(C, S) {
689
- return C === S && (C !== 0 || 1 / C === 1 / S) || C !== C && S !== S;
688
+ function a(C, w) {
689
+ return C === w && (C !== 0 || 1 / C === 1 / w) || C !== C && w !== w;
690
690
  }
691
691
  var o = typeof Object.is == "function" ? Object.is : a, i = e.useState, c = e.useEffect, u = e.useLayoutEffect, f = e.useDebugValue, d = !1, l = !1;
692
- function A(C, S, _) {
692
+ function A(C, w, _) {
693
693
  d || e.startTransition !== void 0 && (d = !0, r("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));
694
- var O = S();
694
+ var O = w();
695
695
  if (!l) {
696
- var x = S();
696
+ var x = w();
697
697
  o(O, x) || (r("The result of getSnapshot should be cached to avoid an infinite loop"), l = !0);
698
698
  }
699
699
  var R = i({
700
700
  inst: {
701
701
  value: O,
702
- getSnapshot: S
702
+ getSnapshot: w
703
703
  }
704
704
  }), j = R[0].inst, T = R[1];
705
705
  return u(function() {
706
- j.value = O, j.getSnapshot = S, g(j) && T({
706
+ j.value = O, j.getSnapshot = w, g(j) && T({
707
707
  inst: j
708
708
  });
709
- }, [C, O, S]), c(function() {
709
+ }, [C, O, w]), c(function() {
710
710
  g(j) && T({
711
711
  inst: j
712
712
  });
@@ -719,16 +719,16 @@ function es() {
719
719
  }, [C]), f(O), O;
720
720
  }
721
721
  function g(C) {
722
- var S = C.getSnapshot, _ = C.value;
722
+ var w = C.getSnapshot, _ = C.value;
723
723
  try {
724
- var O = S();
724
+ var O = w();
725
725
  return !o(_, O);
726
726
  } catch {
727
727
  return !0;
728
728
  }
729
729
  }
730
- function v(C, S, _) {
731
- return S();
730
+ function v(C, w, _) {
731
+ return w();
732
732
  }
733
733
  var p = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", E = !p, h = E ? v : A, m = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : h;
734
734
  dr.useSyncExternalStore = m, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
@@ -829,10 +829,10 @@ function rs() {
829
829
  return R(j());
830
830
  };
831
831
  return [T, G];
832
- }, [l, A, g, v]), m = h[0], C = h[1], S = a(d, m, C);
832
+ }, [l, A, g, v]), m = h[0], C = h[1], w = a(d, m, C);
833
833
  return i(function() {
834
- E.hasValue = !0, E.value = S;
835
- }, [S]), u(S), S;
834
+ E.hasValue = !0, E.value = w;
835
+ }, [w]), u(w), w;
836
836
  }
837
837
  fr.useSyncExternalStoreWithSelector = f, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
838
838
  }()), fr;
@@ -870,16 +870,16 @@ function ns() {
870
870
  if (m = !0, C = O, O = A(O), g !== void 0 && p.hasValue) {
871
871
  var x = p.value;
872
872
  if (g(x, O))
873
- return S = x;
873
+ return w = x;
874
874
  }
875
- return S = O;
875
+ return w = O;
876
876
  }
877
- if (x = S, n(C, O))
877
+ if (x = w, n(C, O))
878
878
  return x;
879
879
  var R = A(O);
880
- return g !== void 0 && g(x, R) ? x : (C = O, S = R);
880
+ return g !== void 0 && g(x, R) ? x : (C = O, w = R);
881
881
  }
882
- var m = !1, C, S, _ = l === void 0 ? null : l;
882
+ var m = !1, C, w, _ = l === void 0 ? null : l;
883
883
  return [function() {
884
884
  return h(d());
885
885
  }, _ === null ? void 0 : function() {
@@ -1101,7 +1101,7 @@ function bs(e) {
1101
1101
  function Es(e) {
1102
1102
  return typeof e == "string" && e.indexOf("%") !== -1;
1103
1103
  }
1104
- function ws(e) {
1104
+ function Ss(e) {
1105
1105
  return e = parseFloat(e), (isNaN(e) || e < 0 || e > 1) && (e = 1), e;
1106
1106
  }
1107
1107
  function Bt(e) {
@@ -1110,7 +1110,7 @@ function Bt(e) {
1110
1110
  function pr(e) {
1111
1111
  return e.length === 1 ? "0" + e : String(e);
1112
1112
  }
1113
- function Ss(e, t, r) {
1113
+ function ws(e, t, r) {
1114
1114
  return {
1115
1115
  r: ve(e, 255) * 255,
1116
1116
  g: ve(t, 255) * 255,
@@ -1322,7 +1322,7 @@ var Hn = {
1322
1322
  };
1323
1323
  function vt(e) {
1324
1324
  var t = { r: 0, g: 0, b: 0 }, r = 1, n = null, a = null, o = null, i = !1, c = !1;
1325
- return typeof e == "string" && (e = Is(e)), typeof e == "object" && (De(e.r) && De(e.g) && De(e.b) ? (t = Ss(e.r, e.g, e.b), i = !0, c = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : De(e.h) && De(e.s) && De(e.v) ? (n = Bt(e.s), a = Bt(e.v), t = Rs(e.h, n, a), i = !0, c = "hsv") : De(e.h) && De(e.s) && De(e.l) && (n = Bt(e.s), o = Bt(e.l), t = Cs(e.h, n, o), i = !0, c = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (r = e.a)), r = ws(r), {
1325
+ return typeof e == "string" && (e = Is(e)), typeof e == "object" && (De(e.r) && De(e.g) && De(e.b) ? (t = ws(e.r, e.g, e.b), i = !0, c = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : De(e.h) && De(e.s) && De(e.v) ? (n = Bt(e.s), a = Bt(e.v), t = Rs(e.h, n, a), i = !0, c = "hsv") : De(e.h) && De(e.s) && De(e.l) && (n = Bt(e.s), o = Bt(e.l), t = Cs(e.h, n, o), i = !0, c = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (r = e.a)), r = Ss(r), {
1326
1326
  ok: i,
1327
1327
  format: e.format || c,
1328
1328
  r: Math.min(255, Math.max(t.r, 0)),
@@ -1331,7 +1331,7 @@ function vt(e) {
1331
1331
  a: r
1332
1332
  };
1333
1333
  }
1334
- var Ts = "[-\\+]?\\d+%?", xs = "[-\\+]?\\d*\\.\\d+%?", We = "(?:".concat(xs, ")|(?:").concat(Ts, ")"), mr = "[\\s|\\(]+(".concat(We, ")[,|\\s]+(").concat(We, ")[,|\\s]+(").concat(We, ")\\s*\\)?"), vr = "[\\s|\\(]+(".concat(We, ")[,|\\s]+(").concat(We, ")[,|\\s]+(").concat(We, ")[,|\\s]+(").concat(We, ")\\s*\\)?"), we = {
1334
+ var Ts = "[-\\+]?\\d+%?", xs = "[-\\+]?\\d*\\.\\d+%?", We = "(?:".concat(xs, ")|(?:").concat(Ts, ")"), mr = "[\\s|\\(]+(".concat(We, ")[,|\\s]+(").concat(We, ")[,|\\s]+(").concat(We, ")\\s*\\)?"), vr = "[\\s|\\(]+(".concat(We, ")[,|\\s]+(").concat(We, ")[,|\\s]+(").concat(We, ")[,|\\s]+(").concat(We, ")\\s*\\)?"), Se = {
1335
1335
  CSS_UNIT: new RegExp(We),
1336
1336
  rgb: new RegExp("rgb" + mr),
1337
1337
  rgba: new RegExp("rgba" + vr),
@@ -1352,25 +1352,25 @@ function Is(e) {
1352
1352
  e = Hn[e], t = !0;
1353
1353
  else if (e === "transparent")
1354
1354
  return { r: 0, g: 0, b: 0, a: 0, format: "name" };
1355
- var r = we.rgb.exec(e);
1356
- return r ? { r: r[1], g: r[2], b: r[3] } : (r = we.rgba.exec(e), r ? { r: r[1], g: r[2], b: r[3], a: r[4] } : (r = we.hsl.exec(e), r ? { h: r[1], s: r[2], l: r[3] } : (r = we.hsla.exec(e), r ? { h: r[1], s: r[2], l: r[3], a: r[4] } : (r = we.hsv.exec(e), r ? { h: r[1], s: r[2], v: r[3] } : (r = we.hsva.exec(e), r ? { h: r[1], s: r[2], v: r[3], a: r[4] } : (r = we.hex8.exec(e), r ? {
1355
+ var r = Se.rgb.exec(e);
1356
+ return r ? { r: r[1], g: r[2], b: r[3] } : (r = Se.rgba.exec(e), r ? { r: r[1], g: r[2], b: r[3], a: r[4] } : (r = Se.hsl.exec(e), r ? { h: r[1], s: r[2], l: r[3] } : (r = Se.hsla.exec(e), r ? { h: r[1], s: r[2], l: r[3], a: r[4] } : (r = Se.hsv.exec(e), r ? { h: r[1], s: r[2], v: r[3] } : (r = Se.hsva.exec(e), r ? { h: r[1], s: r[2], v: r[3], a: r[4] } : (r = Se.hex8.exec(e), r ? {
1357
1357
  r: le(r[1]),
1358
1358
  g: le(r[2]),
1359
1359
  b: le(r[3]),
1360
1360
  a: Wn(r[4]),
1361
1361
  format: t ? "name" : "hex8"
1362
- } : (r = we.hex6.exec(e), r ? {
1362
+ } : (r = Se.hex6.exec(e), r ? {
1363
1363
  r: le(r[1]),
1364
1364
  g: le(r[2]),
1365
1365
  b: le(r[3]),
1366
1366
  format: t ? "name" : "hex"
1367
- } : (r = we.hex4.exec(e), r ? {
1367
+ } : (r = Se.hex4.exec(e), r ? {
1368
1368
  r: le(r[1] + r[1]),
1369
1369
  g: le(r[2] + r[2]),
1370
1370
  b: le(r[3] + r[3]),
1371
1371
  a: Wn(r[4] + r[4]),
1372
1372
  format: t ? "name" : "hex8"
1373
- } : (r = we.hex3.exec(e), r ? {
1373
+ } : (r = Se.hex3.exec(e), r ? {
1374
1374
  r: le(r[1] + r[1]),
1375
1375
  g: le(r[2] + r[2]),
1376
1376
  b: le(r[3] + r[3]),
@@ -1378,7 +1378,7 @@ function Is(e) {
1378
1378
  } : !1)))))))));
1379
1379
  }
1380
1380
  function De(e) {
1381
- return !!we.CSS_UNIT.exec(String(e));
1381
+ return !!Se.CSS_UNIT.exec(String(e));
1382
1382
  }
1383
1383
  var Lt = 2, Qn = 0.16, Ps = 0.05, Ds = 0.05, js = 0.15, Ja = 5, eo = 4, Fs = [{
1384
1384
  index: 7,
@@ -1746,20 +1746,20 @@ var Js = `
1746
1746
  attachTo: c
1747
1747
  });
1748
1748
  }, []);
1749
- }, tc = ["icon", "className", "onClick", "style", "primaryColor", "secondaryColor"], wt = {
1749
+ }, tc = ["icon", "className", "onClick", "style", "primaryColor", "secondaryColor"], St = {
1750
1750
  primaryColor: "#333",
1751
1751
  secondaryColor: "#E6E6E6",
1752
1752
  calculated: !1
1753
1753
  };
1754
1754
  function rc(e) {
1755
1755
  var t = e.primaryColor, r = e.secondaryColor;
1756
- wt.primaryColor = t, wt.secondaryColor = r || io(t), wt.calculated = !!r;
1756
+ St.primaryColor = t, St.secondaryColor = r || io(t), St.calculated = !!r;
1757
1757
  }
1758
1758
  function nc() {
1759
- return He({}, wt);
1759
+ return He({}, St);
1760
1760
  }
1761
1761
  var Jt = function(t) {
1762
- var r = t.icon, n = t.className, a = t.onClick, o = t.style, i = t.primaryColor, c = t.secondaryColor, u = Xa(t, tc), f = Se.useRef(), d = wt;
1762
+ var r = t.icon, n = t.className, a = t.onClick, o = t.style, i = t.primaryColor, c = t.secondaryColor, u = Xa(t, tc), f = we.useRef(), d = St;
1763
1763
  if (i && (d = {
1764
1764
  primaryColor: i,
1765
1765
  secondaryColor: c || io(i)
@@ -1798,14 +1798,14 @@ function ac() {
1798
1798
  }
1799
1799
  var oc = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"];
1800
1800
  co(Bs.primary);
1801
- var er = /* @__PURE__ */ Se.forwardRef(function(e, t) {
1802
- var r, n = e.className, a = e.icon, o = e.spin, i = e.rotate, c = e.tabIndex, u = e.onClick, f = e.twoToneColor, d = Xa(e, oc), l = Se.useContext(Ka), A = l.prefixCls, g = A === void 0 ? "anticon" : A, v = l.rootClassName, p = ys(v, g, (r = {}, jr(r, "".concat(g, "-").concat(a.name), !!a.name), jr(r, "".concat(g, "-spin"), !!o || a.name === "loading"), r), n), E = c;
1801
+ var er = /* @__PURE__ */ we.forwardRef(function(e, t) {
1802
+ var r, n = e.className, a = e.icon, o = e.spin, i = e.rotate, c = e.tabIndex, u = e.onClick, f = e.twoToneColor, d = Xa(e, oc), l = we.useContext(Ka), A = l.prefixCls, g = A === void 0 ? "anticon" : A, v = l.rootClassName, p = ys(v, g, (r = {}, jr(r, "".concat(g, "-").concat(a.name), !!a.name), jr(r, "".concat(g, "-spin"), !!o || a.name === "loading"), r), n), E = c;
1803
1803
  E === void 0 && u && (E = -1);
1804
1804
  var h = i ? {
1805
1805
  msTransform: "rotate(".concat(i, "deg)"),
1806
1806
  transform: "rotate(".concat(i, "deg)")
1807
- } : void 0, m = so(f), C = qa(m, 2), S = C[0], _ = C[1];
1808
- return /* @__PURE__ */ Se.createElement("span", lt({
1807
+ } : void 0, m = so(f), C = qa(m, 2), w = C[0], _ = C[1];
1808
+ return /* @__PURE__ */ we.createElement("span", lt({
1809
1809
  role: "img",
1810
1810
  "aria-label": a.name
1811
1811
  }, d, {
@@ -1813,9 +1813,9 @@ var er = /* @__PURE__ */ Se.forwardRef(function(e, t) {
1813
1813
  tabIndex: E,
1814
1814
  onClick: u,
1815
1815
  className: p
1816
- }), /* @__PURE__ */ Se.createElement(nn, {
1816
+ }), /* @__PURE__ */ we.createElement(nn, {
1817
1817
  icon: a,
1818
- primaryColor: S,
1818
+ primaryColor: w,
1819
1819
  secondaryColor: _,
1820
1820
  style: h
1821
1821
  }));
@@ -1827,33 +1827,33 @@ const an = er;
1827
1827
  var ic = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M868 732h-70.3c-4.8 0-9.3 2.1-12.3 5.8-7 8.5-14.5 16.7-22.4 24.5a353.84 353.84 0 01-112.7 75.9A352.8 352.8 0 01512.4 866c-47.9 0-94.3-9.4-137.9-27.8a353.84 353.84 0 01-112.7-75.9 353.28 353.28 0 01-76-112.5C167.3 606.2 158 559.9 158 512s9.4-94.2 27.8-137.8c17.8-42.1 43.4-80 76-112.5s70.5-58.1 112.7-75.9c43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 7.9 7.9 15.3 16.1 22.4 24.5 3 3.7 7.6 5.8 12.3 5.8H868c6.3 0 10.2-7 6.7-12.3C798 160.5 663.8 81.6 511.3 82 271.7 82.6 79.6 277.1 82 516.4 84.4 751.9 276.2 942 512.4 942c152.1 0 285.7-78.8 362.3-197.7 3.4-5.3-.4-12.3-6.7-12.3zm88.9-226.3L815 393.7c-5.3-4.2-13-.4-13 6.3v76H488c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 000-12.6z" } }] }, name: "logout", theme: "outlined" };
1828
1828
  const sc = ic;
1829
1829
  var uo = function(t, r) {
1830
- return /* @__PURE__ */ Se.createElement(an, lt({}, t, {
1830
+ return /* @__PURE__ */ we.createElement(an, lt({}, t, {
1831
1831
  ref: r,
1832
1832
  icon: sc
1833
1833
  }));
1834
1834
  };
1835
1835
  process.env.NODE_ENV !== "production" && (uo.displayName = "LogoutOutlined");
1836
- const cc = /* @__PURE__ */ Se.forwardRef(uo);
1836
+ const cc = /* @__PURE__ */ we.forwardRef(uo);
1837
1837
  var uc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" } }, { tag: "path", attrs: { d: "M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" } }] }, name: "plus", theme: "outlined" };
1838
1838
  const lc = uc;
1839
1839
  var lo = function(t, r) {
1840
- return /* @__PURE__ */ Se.createElement(an, lt({}, t, {
1840
+ return /* @__PURE__ */ we.createElement(an, lt({}, t, {
1841
1841
  ref: r,
1842
1842
  icon: lc
1843
1843
  }));
1844
1844
  };
1845
1845
  process.env.NODE_ENV !== "production" && (lo.displayName = "PlusOutlined");
1846
- const fc = /* @__PURE__ */ Se.forwardRef(lo);
1846
+ const fc = /* @__PURE__ */ we.forwardRef(lo);
1847
1847
  var dc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z" } }] }, name: "user", theme: "outlined" };
1848
1848
  const Ac = dc;
1849
1849
  var fo = function(t, r) {
1850
- return /* @__PURE__ */ Se.createElement(an, lt({}, t, {
1850
+ return /* @__PURE__ */ we.createElement(an, lt({}, t, {
1851
1851
  ref: r,
1852
1852
  icon: Ac
1853
1853
  }));
1854
1854
  };
1855
1855
  process.env.NODE_ENV !== "production" && (fo.displayName = "UserOutlined");
1856
- const gc = /* @__PURE__ */ Se.forwardRef(fo);
1856
+ const gc = /* @__PURE__ */ we.forwardRef(fo);
1857
1857
  var pc = typeof global == "object" && global && global.Object === Object && global;
1858
1858
  const Ao = pc;
1859
1859
  var hc = typeof self == "object" && self && self.Object === Object && self, mc = Ao || hc || Function("return this")();
@@ -1871,9 +1871,9 @@ function Ec(e) {
1871
1871
  var a = bc.call(e);
1872
1872
  return n && (t ? e[yt] = r : delete e[yt]), a;
1873
1873
  }
1874
- var wc = Object.prototype, Sc = wc.toString;
1874
+ var Sc = Object.prototype, wc = Sc.toString;
1875
1875
  function Cc(e) {
1876
- return Sc.call(e);
1876
+ return wc.call(e);
1877
1877
  }
1878
1878
  var Oc = "[object Null]", Rc = "[object Undefined]", ta = Te ? Te.toStringTag : void 0;
1879
1879
  function Ke(e) {
@@ -2026,7 +2026,7 @@ function Pt(e, t) {
2026
2026
  return e === t || e !== e && t !== t;
2027
2027
  }
2028
2028
  var ou = Object.prototype, iu = ou.hasOwnProperty;
2029
- function wo(e, t, r) {
2029
+ function So(e, t, r) {
2030
2030
  var n = e[t];
2031
2031
  (!(iu.call(e, t) && Pt(n, r)) || r === void 0 && !(t in e)) && Eo(e, t, r);
2032
2032
  }
@@ -2035,12 +2035,12 @@ function su(e, t, r, n) {
2035
2035
  r || (r = {});
2036
2036
  for (var o = -1, i = t.length; ++o < i; ) {
2037
2037
  var c = t[o], u = n ? n(r[c], e[c], c, r, e) : void 0;
2038
- u === void 0 && (u = e[c]), a ? Eo(r, c, u) : wo(r, c, u);
2038
+ u === void 0 && (u = e[c]), a ? Eo(r, c, u) : So(r, c, u);
2039
2039
  }
2040
2040
  return r;
2041
2041
  }
2042
2042
  var oa = Math.max;
2043
- function So(e, t, r) {
2043
+ function wo(e, t, r) {
2044
2044
  return t = oa(t === void 0 ? e.length - 1 : t, 0), function() {
2045
2045
  for (var n = arguments, a = -1, o = oa(n.length - t, 0), i = Array(o); ++a < o; )
2046
2046
  i[a] = n[t + a];
@@ -2051,7 +2051,7 @@ function So(e, t, r) {
2051
2051
  };
2052
2052
  }
2053
2053
  function Co(e, t) {
2054
- return bo(So(e, t, mo), e + "");
2054
+ return bo(wo(e, t, mo), e + "");
2055
2055
  }
2056
2056
  var cu = 9007199254740991;
2057
2057
  function sn(e) {
@@ -2101,9 +2101,9 @@ function hu() {
2101
2101
  }
2102
2102
  var To = typeof exports == "object" && exports && !exports.nodeType && exports, sa = To && typeof module == "object" && module && !module.nodeType && module, mu = sa && sa.exports === To, ca = mu ? Le.Buffer : void 0, vu = ca ? ca.isBuffer : void 0, yu = vu || hu;
2103
2103
  const Ur = yu;
2104
- var bu = "[object Arguments]", Eu = "[object Array]", wu = "[object Boolean]", Su = "[object Date]", Cu = "[object Error]", Ou = "[object Function]", Ru = "[object Map]", _u = "[object Number]", Tu = "[object Object]", xu = "[object RegExp]", Iu = "[object Set]", Pu = "[object String]", Du = "[object WeakMap]", ju = "[object ArrayBuffer]", Fu = "[object DataView]", Nu = "[object Float32Array]", Bu = "[object Float64Array]", Lu = "[object Int8Array]", Mu = "[object Int16Array]", Uu = "[object Int32Array]", Gu = "[object Uint8Array]", Vu = "[object Uint8ClampedArray]", ku = "[object Uint16Array]", Wu = "[object Uint32Array]", z = {};
2104
+ var bu = "[object Arguments]", Eu = "[object Array]", Su = "[object Boolean]", wu = "[object Date]", Cu = "[object Error]", Ou = "[object Function]", Ru = "[object Map]", _u = "[object Number]", Tu = "[object Object]", xu = "[object RegExp]", Iu = "[object Set]", Pu = "[object String]", Du = "[object WeakMap]", ju = "[object ArrayBuffer]", Fu = "[object DataView]", Nu = "[object Float32Array]", Bu = "[object Float64Array]", Lu = "[object Int8Array]", Mu = "[object Int16Array]", Uu = "[object Int32Array]", Gu = "[object Uint8Array]", Vu = "[object Uint8ClampedArray]", ku = "[object Uint16Array]", Wu = "[object Uint32Array]", z = {};
2105
2105
  z[Nu] = z[Bu] = z[Lu] = z[Mu] = z[Uu] = z[Gu] = z[Vu] = z[ku] = z[Wu] = !0;
2106
- z[bu] = z[Eu] = z[ju] = z[wu] = z[Fu] = z[Su] = z[Cu] = z[Ou] = z[Ru] = z[_u] = z[Tu] = z[xu] = z[Iu] = z[Pu] = z[Du] = !1;
2106
+ z[bu] = z[Eu] = z[ju] = z[Su] = z[Fu] = z[wu] = z[Cu] = z[Ou] = z[Ru] = z[_u] = z[Tu] = z[xu] = z[Iu] = z[Pu] = z[Du] = !1;
2107
2107
  function Hu(e) {
2108
2108
  return ze(e) && sn(e.length) && !!z[Ke(e)];
2109
2109
  }
@@ -2112,10 +2112,10 @@ function Qu(e) {
2112
2112
  return e(t);
2113
2113
  };
2114
2114
  }
2115
- var xo = typeof exports == "object" && exports && !exports.nodeType && exports, St = xo && typeof module == "object" && module && !module.nodeType && module, Yu = St && St.exports === xo, wr = Yu && Ao.process, zu = function() {
2115
+ var xo = typeof exports == "object" && exports && !exports.nodeType && exports, wt = xo && typeof module == "object" && module && !module.nodeType && module, Yu = wt && wt.exports === xo, Sr = Yu && Ao.process, zu = function() {
2116
2116
  try {
2117
- var e = St && St.require && St.require("util").types;
2118
- return e || wr && wr.binding && wr.binding("util");
2117
+ var e = wt && wt.require && wt.require("util").types;
2118
+ return e || Sr && Sr.binding && Sr.binding("util");
2119
2119
  } catch {
2120
2120
  }
2121
2121
  }();
@@ -2206,7 +2206,7 @@ function bl(e) {
2206
2206
  return Rt ? t[e] !== void 0 : yl.call(t, e);
2207
2207
  }
2208
2208
  var El = "__lodash_hash_undefined__";
2209
- function wl(e, t) {
2209
+ function Sl(e, t) {
2210
2210
  var r = this.__data__;
2211
2211
  return this.size += this.has(e) ? 0 : 1, r[e] = Rt && t === void 0 ? El : t, this;
2212
2212
  }
@@ -2221,8 +2221,8 @@ tt.prototype.clear = dl;
2221
2221
  tt.prototype.delete = Al;
2222
2222
  tt.prototype.get = ml;
2223
2223
  tt.prototype.has = bl;
2224
- tt.prototype.set = wl;
2225
- function Sl() {
2224
+ tt.prototype.set = Sl;
2225
+ function wl() {
2226
2226
  this.__data__ = [], this.size = 0;
2227
2227
  }
2228
2228
  function rr(e, t) {
@@ -2257,7 +2257,7 @@ function Me(e) {
2257
2257
  this.set(n[0], n[1]);
2258
2258
  }
2259
2259
  }
2260
- Me.prototype.clear = Sl;
2260
+ Me.prototype.clear = wl;
2261
2261
  Me.prototype.delete = Rl;
2262
2262
  Me.prototype.get = _l;
2263
2263
  Me.prototype.has = Tl;
@@ -2378,7 +2378,7 @@ function zl(e) {
2378
2378
  return t ? Bo(e, 1) : [];
2379
2379
  }
2380
2380
  function $l(e) {
2381
- return bo(So(e, void 0, zl), e + "");
2381
+ return bo(wo(e, void 0, zl), e + "");
2382
2382
  }
2383
2383
  var Kl = Do(Object.getPrototypeOf, Object);
2384
2384
  const ql = Kl;
@@ -2468,10 +2468,10 @@ function Ef(e, t, r) {
2468
2468
  function ga(e) {
2469
2469
  return Ef(e, jo, bf);
2470
2470
  }
2471
- var wf = nt(Le, "DataView");
2472
- const Gr = wf;
2473
- var Sf = nt(Le, "Promise");
2474
- const Vr = Sf;
2471
+ var Sf = nt(Le, "DataView");
2472
+ const Gr = Sf;
2473
+ var wf = nt(Le, "Promise");
2474
+ const Vr = wf;
2475
2475
  var Cf = nt(Le, "Set");
2476
2476
  const kr = Cf;
2477
2477
  var pa = "[object Map]", Of = "[object Object]", ha = "[object Promise]", ma = "[object Set]", va = "[object WeakMap]", ya = "[object DataView]", Rf = rt(Gr), _f = rt(_t), Tf = rt(Vr), xf = rt(kr), If = rt(Mr), Je = Ke;
@@ -2564,7 +2564,7 @@ function Gf(e) {
2564
2564
  r[++t] = n;
2565
2565
  }), r;
2566
2566
  }
2567
- var Vf = 1, kf = 2, Wf = "[object Boolean]", Hf = "[object Date]", Qf = "[object Error]", Yf = "[object Map]", zf = "[object Number]", $f = "[object RegExp]", Kf = "[object Set]", qf = "[object String]", Xf = "[object Symbol]", Zf = "[object ArrayBuffer]", Jf = "[object DataView]", wa = Te ? Te.prototype : void 0, Sr = wa ? wa.valueOf : void 0;
2567
+ var Vf = 1, kf = 2, Wf = "[object Boolean]", Hf = "[object Date]", Qf = "[object Error]", Yf = "[object Map]", zf = "[object Number]", $f = "[object RegExp]", Kf = "[object Set]", qf = "[object String]", Xf = "[object Symbol]", Zf = "[object ArrayBuffer]", Jf = "[object DataView]", Sa = Te ? Te.prototype : void 0, wr = Sa ? Sa.valueOf : void 0;
2568
2568
  function ed(e, t, r, n, a, o, i) {
2569
2569
  switch (r) {
2570
2570
  case Jf:
@@ -2595,8 +2595,8 @@ function ed(e, t, r, n, a, o, i) {
2595
2595
  var d = Uo(c(e), c(t), n, a, o, i);
2596
2596
  return i.delete(e), d;
2597
2597
  case Xf:
2598
- if (Sr)
2599
- return Sr.call(e) == Sr.call(t);
2598
+ if (wr)
2599
+ return wr.call(e) == wr.call(t);
2600
2600
  }
2601
2601
  return !1;
2602
2602
  }
@@ -2627,15 +2627,15 @@ function ad(e, t, r, n, a, o) {
2627
2627
  E || (E = A == "constructor");
2628
2628
  }
2629
2629
  if (p && !E) {
2630
- var S = e.constructor, _ = t.constructor;
2631
- S != _ && "constructor" in e && "constructor" in t && !(typeof S == "function" && S instanceof S && typeof _ == "function" && _ instanceof _) && (p = !1);
2630
+ var w = e.constructor, _ = t.constructor;
2631
+ w != _ && "constructor" in e && "constructor" in t && !(typeof w == "function" && w instanceof w && typeof _ == "function" && _ instanceof _) && (p = !1);
2632
2632
  }
2633
2633
  return o.delete(e), o.delete(t), p;
2634
2634
  }
2635
- var od = 1, Sa = "[object Arguments]", Ca = "[object Array]", Ut = "[object Object]", id = Object.prototype, Oa = id.hasOwnProperty;
2635
+ var od = 1, wa = "[object Arguments]", Ca = "[object Array]", Ut = "[object Object]", id = Object.prototype, Oa = id.hasOwnProperty;
2636
2636
  function sd(e, t, r, n, a, o) {
2637
2637
  var i = Ne(e), c = Ne(t), u = i ? Ca : ba(e), f = c ? Ca : ba(t);
2638
- u = u == Sa ? Ut : u, f = f == Sa ? Ut : f;
2638
+ u = u == wa ? Ut : u, f = f == wa ? Ut : f;
2639
2639
  var d = u == Ut, l = f == Ut, A = u == f;
2640
2640
  if (A && Ur(e)) {
2641
2641
  if (!Ur(t))
@@ -2711,24 +2711,24 @@ function Ed(e, t, r, n) {
2711
2711
  var d = c[u];
2712
2712
  f = n ? n(d, u, c) : void 0, f === void 0 && (f = ft(d) ? d : tr(t[a + 1]) ? [] : {});
2713
2713
  }
2714
- wo(c, u, f), c = c[u];
2714
+ So(c, u, f), c = c[u];
2715
2715
  }
2716
2716
  return e;
2717
2717
  }
2718
- function wd(e, t, r) {
2718
+ function Sd(e, t, r) {
2719
2719
  for (var n = -1, a = t.length, o = {}; ++n < a; ) {
2720
2720
  var i = t[n], c = Fo(e, i);
2721
2721
  r(c, i) && Ed(o, ar(i, e), c);
2722
2722
  }
2723
2723
  return o;
2724
2724
  }
2725
- function Sd(e, t) {
2726
- return wd(e, t, function(r, n) {
2725
+ function wd(e, t) {
2726
+ return Sd(e, t, function(r, n) {
2727
2727
  return ud(e, n);
2728
2728
  });
2729
2729
  }
2730
2730
  var Cd = $l(function(e, t) {
2731
- return e == null ? {} : Sd(e, t);
2731
+ return e == null ? {} : wd(e, t);
2732
2732
  });
2733
2733
  const Od = Cd;
2734
2734
  var Wo = Object.prototype, Rd = Wo.hasOwnProperty;
@@ -2807,11 +2807,11 @@ function Wd(e, t, r) {
2807
2807
  "g"
2808
2808
  ), g = Ta.call(t, "sourceURL") ? "//# sourceURL=" + (t.sourceURL + "").replace(/\s/g, " ") + `
2809
2809
  ` : "";
2810
- e.replace(A, function(E, h, m, C, S, _) {
2810
+ e.replace(A, function(E, h, m, C, w, _) {
2811
2811
  return m || (m = C), l += e.slice(f, _).replace(Vd, Td), h && (c = !0, l += `' +
2812
2812
  __e(` + h + `) +
2813
- '`), S && (u = !0, l += `';
2814
- ` + S + `;
2813
+ '`), w && (u = !0, l += `';
2814
+ ` + w + `;
2815
2815
  __p += '`), m && (l += `' +
2816
2816
  ((__t = (` + m + `)) == null ? '' : __t) +
2817
2817
  '`), f = _ + E.length, E;
@@ -2942,7 +2942,7 @@ const Yd = (e) => {
2942
2942
  var D;
2943
2943
  (D = C.current) == null || D.focus();
2944
2944
  }, [A]);
2945
- const S = async (D) => {
2945
+ const w = async (D) => {
2946
2946
  if (await (o == null ? void 0 : o(D))) {
2947
2947
  const P = u.filter(($) => $ !== D);
2948
2948
  f(P);
@@ -2984,7 +2984,7 @@ const Yd = (e) => {
2984
2984
  closable: n,
2985
2985
  style: { userSelect: "none" },
2986
2986
  onClose: async (P) => {
2987
- P.preventDefault(), await S(D);
2987
+ P.preventDefault(), await w(D);
2988
2988
  },
2989
2989
  children: /* @__PURE__ */ b.jsx(
2990
2990
  "span",
@@ -3158,9 +3158,9 @@ async function Ko(...e) {
3158
3158
  const [v] = dt(g);
3159
3159
  if (!v)
3160
3160
  return;
3161
- const [p, E] = Ve(t, v), [h, m, C, S] = Oe.get(t), _ = () => {
3161
+ const [p, E] = Ve(t, v), [h, m, C, w] = Oe.get(t), _ = () => {
3162
3162
  const P = h[v];
3163
- return f && (delete C[v], delete S[v], P && P[0]) ? P[0]($o).then(() => p().data) : p().data;
3163
+ return f && (delete C[v], delete w[v], P && P[0]) ? P[0]($o).then(() => p().data) : p().data;
3164
3164
  };
3165
3165
  if (e.length < 3)
3166
3166
  return _();
@@ -3348,7 +3348,7 @@ const Da = ye.use || ((e) => {
3348
3348
  }), _r = {
3349
3349
  dedupe: !0
3350
3350
  }, vA = (e, t, r) => {
3351
- const { cache: n, compare: a, suspense: o, fallbackData: i, revalidateOnMount: c, revalidateIfStale: u, refreshInterval: f, refreshWhenHidden: d, refreshWhenOffline: l, keepPreviousData: A } = r, [g, v, p, E] = Oe.get(n), [h, m] = dt(e), C = fe(!1), S = fe(!1), _ = fe(h), O = fe(t), x = fe(r), R = () => x.current, j = () => R().isVisible() && R().isOnline(), [T, G, D, F] = Ve(n, h), P = fe({}).current, $ = N(i) ? r.fallback[h] : i, L = (k, W) => {
3351
+ const { cache: n, compare: a, suspense: o, fallbackData: i, revalidateOnMount: c, revalidateIfStale: u, refreshInterval: f, refreshWhenHidden: d, refreshWhenOffline: l, keepPreviousData: A } = r, [g, v, p, E] = Oe.get(n), [h, m] = dt(e), C = fe(!1), w = fe(!1), _ = fe(h), O = fe(t), x = fe(r), R = () => x.current, j = () => R().isVisible() && R().isOnline(), [T, G, D, F] = Ve(n, h), P = fe({}).current, $ = N(i) ? r.fallback[h] : i, L = (k, W) => {
3352
3352
  for (const re in P) {
3353
3353
  const Q = re;
3354
3354
  if (Q === "data") {
@@ -3390,10 +3390,10 @@ const Da = ye.use || ((e) => {
3390
3390
  ), V[0], V[1]), be = !C.current, xe = g[h] && g[h].length > 0, K = te.data, ce = N(K) ? $ : K, de = te.error, Y = fe(ce), ne = A ? N(K) ? Y.current : K : ce, Ae = xe && !N(de) ? !1 : be && !N(c) ? c : R().isPaused() ? !1 : o ? N(ce) ? !1 : u : N(ce) || u, ge = !!(h && t && be && Ae), pe = N(te.isValidating) ? ge : te.isValidating, qe = N(te.isLoading) ? ge : te.isLoading, ue = Ce(
3391
3391
  async (k) => {
3392
3392
  const W = O.current;
3393
- if (!h || !W || S.current || R().isPaused())
3393
+ if (!h || !W || w.current || R().isPaused())
3394
3394
  return !1;
3395
3395
  let re, Q, oe = !0;
3396
- const Ie = k || {}, X = !p[h] || !Ie.dedupe, Z = () => xa ? !S.current && h === _.current && C.current : h === _.current, Ee = {
3396
+ const Ie = k || {}, X = !p[h] || !Ie.dedupe, Z = () => xa ? !w.current && h === _.current && C.current : h === _.current, Ee = {
3397
3397
  isValidating: !1,
3398
3398
  isLoading: !1
3399
3399
  }, Ft = () => {
@@ -3476,10 +3476,10 @@ const Da = ye.use || ((e) => {
3476
3476
  return ue(Ie);
3477
3477
  }
3478
3478
  });
3479
- return S.current = !1, _.current = h, C.current = !0, G({
3479
+ return w.current = !1, _.current = h, C.current = !0, G({
3480
3480
  _k: m
3481
3481
  }), Ae && (N(ce) || xt ? k() : nA(k)), () => {
3482
- S.current = !0, Q();
3482
+ w.current = !0, Q();
3483
3483
  };
3484
3484
  }, [
3485
3485
  h
@@ -3503,7 +3503,7 @@ const Da = ye.use || ((e) => {
3503
3503
  ]), ji(ne), o && N(ce) && h) {
3504
3504
  if (!xa && xt)
3505
3505
  throw new Error("Fallback data is required when using suspense in SSR.");
3506
- O.current = t, x.current = r, S.current = !1;
3506
+ O.current = t, x.current = r, w.current = !1;
3507
3507
  const k = E[h];
3508
3508
  if (!N(k)) {
3509
3509
  const W = Xe(k);
@@ -3573,7 +3573,7 @@ const It = (e) => (t) => {
3573
3573
  }
3574
3574
  };
3575
3575
  }
3576
- }, wA = (e, t) => (r, n, a) => {
3576
+ }, SA = (e, t) => (r, n, a) => {
3577
3577
  let o = {
3578
3578
  getStorage: () => localStorage,
3579
3579
  serialize: JSON.stringify,
@@ -3679,7 +3679,7 @@ const It = (e) => (t) => {
3679
3679
  u.delete(E);
3680
3680
  })
3681
3681
  }, p(), v || g;
3682
- }, SA = (e, t) => (r, n, a) => {
3682
+ }, wA = (e, t) => (r, n, a) => {
3683
3683
  let o = {
3684
3684
  storage: pn(() => localStorage),
3685
3685
  partialize: (p) => p,
@@ -3776,7 +3776,7 @@ const It = (e) => (t) => {
3776
3776
  }, o.skipHydration || v(), g || A;
3777
3777
  }, CA = (e, t) => "getStorage" in t || "serialize" in t || "deserialize" in t ? ((EA ? "production" : void 0) !== "production" && console.warn(
3778
3778
  "[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."
3779
- ), wA(e, t)) : SA(e, t), hn = CA;
3779
+ ), SA(e, t)) : wA(e, t), hn = CA;
3780
3780
  class Et extends Error {
3781
3781
  }
3782
3782
  Et.prototype.name = "InvalidTokenError";
@@ -4243,7 +4243,7 @@ function Pg(e) {
4243
4243
  }),
4244
4244
  {
4245
4245
  suspense: !0,
4246
- dedupingInterval: 0
4246
+ revalidateIfStale: !1
4247
4247
  }
4248
4248
  );
4249
4249
  }
@@ -4397,7 +4397,7 @@ const QA = (e) => {
4397
4397
  g,
4398
4398
  o
4399
4399
  ]);
4400
- const S = d && !a.current, _ = e(g, async (R) => {
4400
+ const w = d && !a.current, _ = e(g, async (R) => {
4401
4401
  const j = v()._i, T = [], G = m(), [D] = Ve(o, R), F = D().data, P = [];
4402
4402
  let $ = null;
4403
4403
  for (let L = 0; L < G; ++L) {
@@ -4406,7 +4406,7 @@ const QA = (e) => {
4406
4406
  break;
4407
4407
  const [be, xe] = Ve(o, V);
4408
4408
  let K = be().data;
4409
- const ce = c || j || N(K) || f && !L && !N(F) || S || F && !N(F[L]) && !n.compare(F[L], K);
4409
+ const ce = c || j || N(K) || f && !L && !N(F) || w || F && !N(F[L]) && !n.compare(F[L], K);
4410
4410
  if (r && ce) {
4411
4411
  const de = async () => {
4412
4412
  if (!(V in A))
@@ -4548,7 +4548,7 @@ const KA = (e) => {
4548
4548
  renderForm: f,
4549
4549
  transformArg: d,
4550
4550
  ...l
4551
- } = e, A = Ge(), [g] = Ot.useForm(), { accessible: v, isLoading: p } = ir(t), [E, h] = Fe(!1), [m, C] = Fe(), S = (L, V) => {
4551
+ } = e, A = Ge(), [g] = Ot.useForm(), { accessible: v, isLoading: p } = ir(t), [E, h] = Fe(!1), [m, C] = Fe(), w = (L, V) => {
4552
4552
  if (!E)
4553
4553
  return null;
4554
4554
  const te = d(m, L !== 0 ? i(V) : void 0);
@@ -4559,7 +4559,7 @@ const KA = (e) => {
4559
4559
  setSize: x,
4560
4560
  isValidating: R
4561
4561
  } = $A(
4562
- S,
4562
+ w,
4563
4563
  (L) => jt(L, {
4564
4564
  headers: typeof a == "function" ? a(g) : a,
4565
4565
  isGlobalNS: o
@@ -4866,7 +4866,7 @@ const pg = (e, t) => {
4866
4866
  getDataSource: E = (Y) => Y.list,
4867
4867
  onTableChange: h,
4868
4868
  ...m
4869
- } = e, C = Ge(), [S] = Ot.useForm(), { accessible: _, isLoading: O } = ir(n, o), { payloadMap: x, keyMap: R, setPayload: j } = Ag(), T = x.get(r), G = fe(
4869
+ } = e, C = Ge(), [w] = Ot.useForm(), { accessible: _, isLoading: O } = ir(n, o), { payloadMap: x, keyMap: R, setPayload: j } = Ag(), T = x.get(r), G = fe(
4870
4870
  "init"
4871
4871
  /* Init */
4872
4872
  ), F = ((Y) => (...ne) => Y(r, ...ne))(j), [P, $] = Fe(null), L = fe(!1), {
@@ -4903,27 +4903,27 @@ const pg = (e, t) => {
4903
4903
  }
4904
4904
  }
4905
4905
  ), xe = async () => {
4906
- const Y = S.getFieldsValue();
4906
+ const Y = w.getFieldsValue();
4907
4907
  bd(T, { ...T, page: 1, arg: Y }) ? await be(void 0, { revalidate: !0 }) : F({ page: 1, arg: Y });
4908
4908
  }, K = async () => {
4909
- await be(void 0, { revalidate: !1 }), F({ page: 1, arg: S.getFieldsValue() });
4909
+ await be(void 0, { revalidate: !1 }), F({ page: 1, arg: w.getFieldsValue() });
4910
4910
  }, ce = async () => {
4911
4911
  G.current = "confirm";
4912
4912
  try {
4913
- await S.validateFields(), await xe();
4913
+ await w.validateFields(), await xe();
4914
4914
  } catch {
4915
4915
  await K();
4916
4916
  }
4917
4917
  }, de = async () => {
4918
- G.current = "reset", S.resetFields();
4918
+ G.current = "reset", w.resetFields();
4919
4919
  try {
4920
- await S.validateFields({ validateOnly: !0 }), await xe();
4920
+ await w.validateFields({ validateOnly: !0 }), await xe();
4921
4921
  } catch {
4922
4922
  await K();
4923
4923
  }
4924
4924
  };
4925
4925
  return _e(() => {
4926
- _ && S.validateFields({ validateOnly: !0 }).then(() => {
4926
+ _ && w.validateFields({ validateOnly: !0 }).then(() => {
4927
4927
  const { url: Y, query: ne } = At.parseUrl(r), { page: Ae = 1, size: ge = d, arg: pe = {} } = T ?? {}, qe = Object.assign(
4928
4928
  ne,
4929
4929
  typeof f == "function" ? f == null ? void 0 : f({ page: Ae, size: ge, arg: pe }) : i ? f : {
@@ -4938,7 +4938,7 @@ const pg = (e, t) => {
4938
4938
  });
4939
4939
  }, [_, x]), Li(t, () => ({
4940
4940
  data: V,
4941
- form: S
4941
+ form: w
4942
4942
  })), O ? /* @__PURE__ */ b.jsx(
4943
4943
  Jr,
4944
4944
  {
@@ -4950,11 +4950,11 @@ const pg = (e, t) => {
4950
4950
  }
4951
4951
  }
4952
4952
  ) : _ ? /* @__PURE__ */ b.jsxs("div", { children: [
4953
- g ? /* @__PURE__ */ b.jsx(Qo, { isConfirming: te, onReset: de, onConfirm: ce, children: g(S) }) : (
4953
+ g ? /* @__PURE__ */ b.jsx(Qo, { isConfirming: te, onReset: de, onConfirm: ce, children: g(w) }) : (
4954
4954
  // 消除 Antd 的警告
4955
- /* @__PURE__ */ b.jsx(Ot, { form: S })
4955
+ /* @__PURE__ */ b.jsx(Ot, { form: w })
4956
4956
  ),
4957
- A && /* @__PURE__ */ b.jsx("div", { className: "mt-2 mb-4", children: A(S) }),
4957
+ A && /* @__PURE__ */ b.jsx("div", { className: "mt-2 mb-4", children: A(w) }),
4958
4958
  /* @__PURE__ */ b.jsx(
4959
4959
  Ga,
4960
4960
  {
@@ -5008,9 +5008,9 @@ function Lg(e) {
5008
5008
  contextHolder: /* @__PURE__ */ b.jsx("div", { children: i })
5009
5009
  };
5010
5010
  }
5011
- const mg = gt(() => import("./index-Gjj548Jd.chunk.js")), vg = gt(() => import("./index-KaQkC5pk.chunk.js")), yg = gt(() => import("./index-VvGWTSW2.chunk.js")), bg = gt(() => import("./index-WWyVzA1Q.chunk.js")), Eg = gt(() => import("./index-M-Nv2pl5.chunk.js")), wg = gt(() => import("./index-jIrNjvzP.chunk.js")), Ma = (e, t) => () => /* @__PURE__ */ b.jsx(us, { ...t, children: /* @__PURE__ */ b.jsx(lg, { children: /* @__PURE__ */ b.jsx(e, {}) }) }), Sg = () => /* @__PURE__ */ b.jsxs(ka, { children: [
5011
+ const mg = gt(() => import("./index-Poo8s5fO.chunk.js")), vg = gt(() => import("./index-vVswoZwO.chunk.js")), yg = gt(() => import("./index-_CSOYDr8.chunk.js")), bg = gt(() => import("./index-hJHf_a6d.chunk.js")), Eg = gt(() => import("./index-fOsup4HS.chunk.js")), Sg = gt(() => import("./index-kXt2tMvw.chunk.js")), Ma = (e, t) => () => /* @__PURE__ */ b.jsx(us, { ...t, children: /* @__PURE__ */ b.jsx(lg, { children: /* @__PURE__ */ b.jsx(e, {}) }) }), wg = () => /* @__PURE__ */ b.jsxs(ka, { children: [
5012
5012
  /* @__PURE__ */ b.jsx(ke, { index: !0, element: /* @__PURE__ */ b.jsx(qi, { to: "user" }) }),
5013
- /* @__PURE__ */ b.jsx(ke, { path: "user", element: /* @__PURE__ */ b.jsx(wg, {}) }),
5013
+ /* @__PURE__ */ b.jsx(ke, { path: "user", element: /* @__PURE__ */ b.jsx(Sg, {}) }),
5014
5014
  /* @__PURE__ */ b.jsx(ke, { path: "role", element: /* @__PURE__ */ b.jsx(Eg, {}) }),
5015
5015
  /* @__PURE__ */ b.jsx(ke, { path: "role/:name", element: /* @__PURE__ */ b.jsx(bg, {}) })
5016
5016
  ] });
@@ -5020,7 +5020,7 @@ function Mg(e, t) {
5020
5020
  return /* @__PURE__ */ b.jsxs(ka, { children: [
5021
5021
  e,
5022
5022
  /* @__PURE__ */ b.jsx(ke, { path: "/operation_log", Component: Ma(vg, n) }),
5023
- /* @__PURE__ */ b.jsx(ke, { path: "/permission/*", Component: Ma(Sg, n) }),
5023
+ /* @__PURE__ */ b.jsx(ke, { path: "/permission/*", Component: Ma(wg, n) }),
5024
5024
  /* @__PURE__ */ b.jsx(ke, { path: "/sign_in", element: /* @__PURE__ */ b.jsx(yg, {}) }),
5025
5025
  /* @__PURE__ */ b.jsx(ke, { path: "*", element: /* @__PURE__ */ b.jsx(mg, {}) })
5026
5026
  ] });
@@ -1,4 +1,4 @@
1
- import { u as o, j as t } from "./index-2hcycK2e.chunk.js";
1
+ import { u as o, j as t } from "./index-8Dl-Is61.chunk.js";
2
2
  import { Result as r, Button as i } from "antd";
3
3
  import { useNavigate as n } from "react-router-dom";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { a as y, u as M, b as S, d as G, r as f, j as c, l as h } from "./index-2hcycK2e.chunk.js";
1
+ import { a as y, u as M, b as S, d as G, r as f, j as c, l as h } from "./index-8Dl-Is61.chunk.js";
2
2
  import { Typography as i, Space as g, Alert as z, Form as s, Input as _, Button as o, Divider as C } from "antd";
3
3
  import { useSearchParams as u, useLocation as m, Navigate as F } from "react-router-dom";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { I as O, w as W, i as h, k as x, s as z, m as w, n as V, U as R, o as U, b as G, r as n, e as K } from "./index-2hcycK2e.chunk.js";
1
+ import { I as O, w as W, i as h, k as x, s as z, m as w, n as V, U as R, o as U, b as G, r as n, e as K } from "./index-8Dl-Is61.chunk.js";
2
2
  import L, { useRef as o, useCallback as N, useState as $ } from "react";
3
3
  const P = O ? (e) => {
4
4
  e();
@@ -1,9 +1,9 @@
1
- import { A as T, _, e as M, b as N, f as b, u as f, j as e, P as j, r as z, H as P, Q as $, h as A } from "./index-2hcycK2e.chunk.js";
1
+ import { A as T, _, e as M, b as N, f as b, u as f, j as e, P as j, r as z, H as P, Q as $, h as A } from "./index-8Dl-Is61.chunk.js";
2
2
  import { App as w, Space as H, Card as G, Form as m, Input as S } from "antd";
3
3
  import { p as k } from "./immer-BLf7GM7E.chunk.js";
4
4
  import { Link as B } from "react-router-dom";
5
- import { P as I } from "./index-GuTCmGSQ.chunk.js";
6
- import { a as E, b as V, c as q } from "./index-3653RPnV.chunk.js";
5
+ import { P as I } from "./index-1N12CQTA.chunk.js";
6
+ import { a as E, b as V, c as q } from "./index-beVcBbFw.chunk.js";
7
7
  import * as U from "react";
8
8
  import "react-dom";
9
9
  var D = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M892 772h-80v-80c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v80h-80c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h80v80c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-80h80c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM373.5 498.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.8-1.7-203.2 89.2-203.2 200 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.8-1.1 6.4-4.8 5.9-8.8zM824 472c0-109.4-87.9-198.3-196.9-200C516.3 270.3 424 361.2 424 472c0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C357 742.6 326 814.8 324 891.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5C505.8 695.7 563 672 624 672c110.4 0 200-89.5 200-200zm-109.5 90.5C690.3 586.7 658.2 600 624 600s-66.3-13.3-90.5-37.5a127.26 127.26 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4-.1 34.2-13.4 66.3-37.6 90.5z" } }] }, name: "usergroup-add", theme: "outlined" };
@@ -1,8 +1,8 @@
1
- import { u as t, j as i } from "./index-2hcycK2e.chunk.js";
1
+ import { u as t, j as i } from "./index-8Dl-Is61.chunk.js";
2
2
  import { Breadcrumb as m, Card as n, Skeleton as a, Descriptions as r } from "antd";
3
3
  import { useParams as c, Link as p } from "react-router-dom";
4
- import { P as u } from "./index-GuTCmGSQ.chunk.js";
5
- import { u as x } from "./index-3653RPnV.chunk.js";
4
+ import { P as u } from "./index-1N12CQTA.chunk.js";
5
+ import { u as x } from "./index-beVcBbFw.chunk.js";
6
6
  import "react";
7
7
  import "react-dom";
8
8
  const k = () => {
@@ -1,8 +1,8 @@
1
- import { A as M, _ as N, f as b, u as U, j as e, P as h, H as z, Q as H, h as S } from "./index-2hcycK2e.chunk.js";
1
+ import { A as M, _ as N, f as b, u as U, j as e, P as h, H as z, Q as H, h as S } from "./index-8Dl-Is61.chunk.js";
2
2
  import { App as y, Row as R, Col as E, Tag as L, Space as G, Card as D, Form as c, Input as j, Select as f } from "antd";
3
3
  import { p as I } from "./immer-BLf7GM7E.chunk.js";
4
4
  import { Link as P } from "react-router-dom";
5
- import { f as Q, g as _, h as k, i as $ } from "./index-3653RPnV.chunk.js";
5
+ import { f as Q, g as _, h as k, i as $ } from "./index-beVcBbFw.chunk.js";
6
6
  import * as O from "react";
7
7
  import "react-dom";
8
8
  var q = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M678.3 642.4c24.2-13 51.9-20.4 81.4-20.4h.1c3 0 4.4-3.6 2.2-5.6a371.67 371.67 0 00-103.7-65.8c-.4-.2-.8-.3-1.2-.5C719.2 505 759.6 431.7 759.6 349c0-137-110.8-248-247.5-248S264.7 212 264.7 349c0 82.7 40.4 156 102.6 201.1-.4.2-.8.3-1.2.5-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00137 888.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 628.2 432.2 597 512.2 597c56.7 0 111.1 15.7 158 45.1a8.1 8.1 0 008.1.3zM512.2 521c-45.8 0-88.9-17.9-121.4-50.4A171.2 171.2 0 01340.5 349c0-45.9 17.9-89.1 50.3-121.6S466.3 177 512.2 177s88.9 17.9 121.4 50.4A171.2 171.2 0 01683.9 349c0 45.9-17.9 89.1-50.3 121.6C601.1 503.1 558 521 512.2 521zM880 759h-84v-84c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v84h-84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h84v84c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-84h84c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" } }] }, name: "user-add", theme: "outlined" };
@@ -1,4 +1,4 @@
1
- import { c as st, g as at, u as it, j as c, Q as ut } from "./index-2hcycK2e.chunk.js";
1
+ import { c as st, g as at, u as it, j as c, Q as ut } from "./index-8Dl-Is61.chunk.js";
2
2
  import { Card as ot, Form as H, Row as ct, Col as E, Input as Z, Select as K, Typography as lt } from "antd";
3
3
  import "react";
4
4
  import "react-dom";
package/lib/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { C as i, D as u, F as n, G as m, H as p, q as l, L as d, N as x, P as y, v as L, Q as P, p as S, K as g, R as G, y as T, x as c, B as h, r as q, h as F, t as Q, e as R, z as f, f as k, a as v, b as B, u as C, E as D, J as E } from "./index-2hcycK2e.chunk.js";
1
+ import { C as i, D as u, F as n, G as m, H as p, q as l, L as d, N as x, P as y, v as L, Q as P, p as S, K as g, R as G, y as T, x as c, B as h, r as q, h as F, t as Q, e as R, z as f, f as k, a as v, b as B, u as C, E as D, J as E } from "./index-8Dl-Is61.chunk.js";
2
2
  import "react";
3
3
  import "antd";
4
4
  import "react-dom";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-toolkits",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "packageManager": "^pnpm@8.7.5",
5
5
  "sideEffects": [
6
6
  "**/*.css"
@@ -69,9 +69,9 @@
69
69
  "typescript": "^5.3.3",
70
70
  "vite": "^5.0.10",
71
71
  "vite-plugin-dts": "^3.6.4",
72
- "@flow97/eslint-config-mono": "0.0.4",
73
72
  "tailwind-config": "0.1.1",
74
- "tsconfig": "0.0.5"
73
+ "tsconfig": "0.0.5",
74
+ "@flow97/eslint-config-mono": "0.0.4"
75
75
  },
76
76
  "peerDependencies": {
77
77
  "antd": "^5.12.2",