react-toolkits 0.8.66 → 0.8.67

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.8.67
4
+
5
+ ### Patch Changes
6
+
7
+ - a664b5d: fix: typescript types declaration issue
8
+
3
9
  ## 0.8.66
4
10
 
5
11
  ### Patch Changes
@@ -49,10 +49,10 @@ function Ic() {
49
49
  J.unshift("Warning: " + v), Function.prototype.apply.call(console[o], console, J);
50
50
  }
51
51
  }
52
- var I = !1, F = !1, T = !1, G = !1, D = !1, U;
52
+ var I = !1, F = !1, T = !1, L = !1, D = !1, U;
53
53
  U = Symbol.for("react.module.reference");
54
54
  function M(o) {
55
- return !!(typeof o == "string" || typeof o == "function" || o === n || o === s || D || o === a || o === d || o === h || G || o === p || I || F || T || typeof o == "object" && o !== null && (o.$$typeof === A || o.$$typeof === u || o.$$typeof === c || o.$$typeof === i || o.$$typeof === l || // This needs to include all possible module reference object
55
+ return !!(typeof o == "string" || typeof o == "function" || o === n || o === s || D || o === a || o === d || o === h || L || o === p || I || F || T || typeof o == "object" && o !== null && (o.$$typeof === A || o.$$typeof === u || o.$$typeof === c || o.$$typeof === i || o.$$typeof === l || // 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.
@@ -113,14 +113,14 @@ function Ic() {
113
113
  }
114
114
  return null;
115
115
  }
116
- var b = Object.assign, w = 0, m, x, C, P, B, L, W;
116
+ var b = Object.assign, w = 0, m, x, C, P, B, G, W;
117
117
  function Q() {
118
118
  }
119
119
  Q.__reactDisabledLog = !0;
120
120
  function te() {
121
121
  {
122
122
  if (w === 0) {
123
- m = console.log, x = console.info, C = console.warn, P = console.error, B = console.group, L = console.groupCollapsed, W = console.groupEnd;
123
+ m = console.log, x = console.info, C = console.warn, P = console.error, B = console.group, G = console.groupCollapsed, W = console.groupEnd;
124
124
  var o = {
125
125
  configurable: !0,
126
126
  enumerable: !0,
@@ -165,7 +165,7 @@ function Ic() {
165
165
  value: B
166
166
  }),
167
167
  groupCollapsed: b({}, o, {
168
- value: L
168
+ value: G
169
169
  }),
170
170
  groupEnd: b({}, o, {
171
171
  value: W
@@ -677,8 +677,8 @@ function Fc() {
677
677
  }
678
678
  function n(R, I, F) {
679
679
  {
680
- var T = t.ReactDebugCurrentFrame, G = T.getStackAddendum();
681
- G !== "" && (I += "%s", F = F.concat([G]));
680
+ var T = t.ReactDebugCurrentFrame, L = T.getStackAddendum();
681
+ L !== "" && (I += "%s", F = F.concat([L]));
682
682
  var D = F.map(function(U) {
683
683
  return String(U);
684
684
  });
@@ -693,8 +693,8 @@ function Fc() {
693
693
  h || e.startTransition !== void 0 && (h = !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
694
  var T = I();
695
695
  if (!u) {
696
- var G = I();
697
- s(T, G) || (r("The result of getSnapshot should be cached to avoid an infinite loop"), u = !0);
696
+ var L = I();
697
+ s(T, L) || (r("The result of getSnapshot should be cached to avoid an infinite loop"), u = !0);
698
698
  }
699
699
  var D = c({
700
700
  inst: {
@@ -807,22 +807,22 @@ function Bc() {
807
807
  value: null
808
808
  }, y.current = E) : E = y.current;
809
809
  var g = i(function() {
810
- var F = !1, T, G, D = function(N) {
810
+ var F = !1, T, L, D = function(N) {
811
811
  if (!F) {
812
812
  F = !0, T = N;
813
813
  var k = p(N);
814
814
  if (S !== void 0 && E.hasValue) {
815
815
  var b = E.value;
816
816
  if (S(b, k))
817
- return G = b, b;
817
+ return L = b, b;
818
818
  }
819
- return G = k, k;
819
+ return L = k, k;
820
820
  }
821
- var w = T, m = G;
821
+ var w = T, m = L;
822
822
  if (n(w, N))
823
823
  return m;
824
824
  var x = p(N);
825
- return S !== void 0 && S(m, x) ? m : (T = N, G = x, x);
825
+ return S !== void 0 && S(m, x) ? m : (T = N, L = x, x);
826
826
  }, U = A === void 0 ? null : A, M = function() {
827
827
  return D(u());
828
828
  }, j = U === null ? void 0 : function() {
@@ -868,16 +868,16 @@ function Nc() {
868
868
  function g(T) {
869
869
  if (!_) {
870
870
  if (_ = !0, R = T, T = A(T), p !== void 0 && y.hasValue) {
871
- var G = y.value;
872
- if (p(G, T))
873
- return I = G;
871
+ var L = y.value;
872
+ if (p(L, T))
873
+ return I = L;
874
874
  }
875
875
  return I = T;
876
876
  }
877
- if (G = I, n(R, T))
878
- return G;
877
+ if (L = I, n(R, T))
878
+ return L;
879
879
  var D = A(T);
880
- return p !== void 0 && p(G, D) ? G : (R = T, I = D);
880
+ return p !== void 0 && p(L, D) ? L : (R = T, I = D);
881
881
  }
882
882
  var _ = !1, R, I, F = u === void 0 ? null : u;
883
883
  return [function() {
@@ -2705,7 +2705,7 @@ const I3 = (e) => {
2705
2705
  u(!0);
2706
2706
  }, T = (N) => {
2707
2707
  p(N.target.value);
2708
- }, G = async () => {
2708
+ }, L = async () => {
2709
2709
  A && l.indexOf(A) === -1 && await (a == null ? void 0 : a(A)) && d([...l, A]), u(!1), p("");
2710
2710
  }, D = (N) => {
2711
2711
  g(N.target.value);
@@ -2761,8 +2761,8 @@ const I3 = (e) => {
2761
2761
  style: M,
2762
2762
  value: A,
2763
2763
  onChange: T,
2764
- onBlur: G,
2765
- onPressEnter: G
2764
+ onBlur: L,
2765
+ onPressEnter: L
2766
2766
  }
2767
2767
  ) : /* @__PURE__ */ f.jsxs(On, { style: j, onClick: F, children: [
2768
2768
  /* @__PURE__ */ f.jsx(W2, {}),
@@ -2918,7 +2918,7 @@ async function Is(...e) {
2918
2918
  };
2919
2919
  if (e.length < 3)
2920
2920
  return F();
2921
- let T = n, G;
2921
+ let T = n, L;
2922
2922
  const D = Nr();
2923
2923
  _[S] = [
2924
2924
  D,
@@ -2932,21 +2932,21 @@ async function Is(...e) {
2932
2932
  try {
2933
2933
  T = T(k);
2934
2934
  } catch (b) {
2935
- G = b;
2935
+ L = b;
2936
2936
  }
2937
2937
  if (T && j3(T))
2938
2938
  if (T = await T.catch((b) => {
2939
- G = b;
2939
+ L = b;
2940
2940
  }), D !== _[S][0]) {
2941
- if (G)
2942
- throw G;
2941
+ if (L)
2942
+ throw L;
2943
2943
  return T;
2944
2944
  } else
2945
- G && U && h(G) && (c = !0, E({
2945
+ L && U && h(L) && (c = !0, E({
2946
2946
  data: k,
2947
2947
  _c: fe
2948
2948
  }));
2949
- if (c && !G)
2949
+ if (c && !L)
2950
2950
  if (Me(c)) {
2951
2951
  const b = c(T, k);
2952
2952
  E({
@@ -2964,9 +2964,9 @@ async function Is(...e) {
2964
2964
  E({
2965
2965
  _c: fe
2966
2966
  });
2967
- }), G) {
2967
+ }), L) {
2968
2968
  if (u)
2969
- throw G;
2969
+ throw L;
2970
2970
  return;
2971
2971
  }
2972
2972
  return T;
@@ -3102,7 +3102,7 @@ const Aa = Ce.use || ((e) => {
3102
3102
  }), Sr = {
3103
3103
  dedupe: !0
3104
3104
  }, n0 = (e, t, r) => {
3105
- const { cache: n, compare: a, suspense: s, fallbackData: c, revalidateOnMount: i, revalidateIfStale: l, refreshInterval: d, refreshWhenHidden: h, refreshWhenOffline: u, keepPreviousData: A } = r, [p, S, y, E] = Ie.get(n), [g, _] = ct(e), R = _e(!1), I = _e(!1), F = _e(g), T = _e(t), G = _e(r), D = () => G.current, U = () => D().isVisible() && D().isOnline(), [M, j, N, k] = Le(n, g), b = _e({}).current, w = V(c) ? r.fallback[g] : c, m = (H, K) => {
3105
+ const { cache: n, compare: a, suspense: s, fallbackData: c, revalidateOnMount: i, revalidateIfStale: l, refreshInterval: d, refreshWhenHidden: h, refreshWhenOffline: u, keepPreviousData: A } = r, [p, S, y, E] = Ie.get(n), [g, _] = ct(e), R = _e(!1), I = _e(!1), F = _e(g), T = _e(t), L = _e(r), D = () => L.current, U = () => D().isVisible() && D().isOnline(), [M, j, N, k] = Le(n, g), b = _e({}).current, w = V(c) ? r.fallback[g] : c, m = (H, K) => {
3106
3106
  for (const ie in b) {
3107
3107
  const ee = ie;
3108
3108
  if (ee === "data") {
@@ -3141,7 +3141,7 @@ const Aa = Ce.use || ((e) => {
3141
3141
  n,
3142
3142
  g
3143
3143
  ]
3144
- ), x[0], x[1]), P = !R.current, B = p[g] && p[g].length > 0, L = C.data, W = V(L) ? w : L, Q = C.error, te = _e(W), X = A ? V(L) ? te.current : L : W, le = B && !V(Q) ? !1 : P && !V(i) ? i : D().isPaused() ? !1 : s ? V(W) ? !1 : l : V(W) || l, ue = !!(g && t && P && le), ge = V(C.isValidating) ? ue : C.isValidating, de = V(C.isLoading) ? ue : C.isLoading, Z = ke(
3144
+ ), x[0], x[1]), P = !R.current, B = p[g] && p[g].length > 0, G = C.data, W = V(G) ? w : G, Q = C.error, te = _e(W), X = A ? V(G) ? te.current : G : W, le = B && !V(Q) ? !1 : P && !V(i) ? i : D().isPaused() ? !1 : s ? V(W) ? !1 : l : V(W) || l, ue = !!(g && t && P && le), ge = V(C.isValidating) ? ue : C.isValidating, de = V(C.isLoading) ? ue : C.isLoading, Z = ke(
3145
3145
  async (H) => {
3146
3146
  const K = T.current;
3147
3147
  if (!g || !K || I.current || D().isPaused())
@@ -3211,7 +3211,7 @@ const Aa = Ce.use || ((e) => {
3211
3211
  []
3212
3212
  );
3213
3213
  if (Lt(() => {
3214
- T.current = t, G.current = r, V(L) || (te.current = L);
3214
+ T.current = t, L.current = r, V(G) || (te.current = G);
3215
3215
  }), Lt(() => {
3216
3216
  if (!g)
3217
3217
  return;
@@ -3257,7 +3257,7 @@ const Aa = Ce.use || ((e) => {
3257
3257
  ]), Ac(X), s && V(W) && g) {
3258
3258
  if (!da && St)
3259
3259
  throw new Error("Fallback data is required when using suspense in SSR.");
3260
- T.current = t, G.current = r, I.current = !1;
3260
+ T.current = t, L.current = r, I.current = !1;
3261
3261
  const H = E[g];
3262
3262
  if (!V(H)) {
3263
3263
  const K = me(H);
@@ -4027,25 +4027,25 @@ const Ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4027
4027
  if (!x)
4028
4028
  break;
4029
4029
  const [P, B] = Le(s, x);
4030
- let L = P().data;
4031
- const W = i || U || V(L) || d && !m && !V(k) || I || k && !V(k[m]) && !n.compare(k[m], L);
4030
+ let G = P().data;
4031
+ const W = i || U || V(G) || d && !m && !V(k) || I || k && !V(k[m]) && !n.compare(k[m], G);
4032
4032
  if (r && W) {
4033
4033
  const Q = async () => {
4034
4034
  if (!(x in A))
4035
- L = await r(C);
4035
+ G = await r(C);
4036
4036
  else {
4037
4037
  const X = A[x];
4038
- delete A[x], L = await X;
4038
+ delete A[x], G = await X;
4039
4039
  }
4040
4040
  B({
4041
- data: L,
4041
+ data: G,
4042
4042
  _k: C
4043
- }), M[m] = L;
4043
+ }), M[m] = G;
4044
4044
  };
4045
4045
  u ? b.push(Q) : await Q();
4046
4046
  } else
4047
- M[m] = L;
4048
- u || (w = L);
4047
+ M[m] = G;
4048
+ u || (w = G);
4049
4049
  }
4050
4050
  return u && await Promise.all(b.map((m) => m())), y({
4051
4051
  _i: fe
@@ -4071,7 +4071,7 @@ const Ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4071
4071
  p,
4072
4072
  s
4073
4073
  ]
4074
- ), G = ke(
4074
+ ), L = ke(
4075
4075
  (D) => {
4076
4076
  if (!p)
4077
4077
  return xr;
@@ -4103,7 +4103,7 @@ const Ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4103
4103
  );
4104
4104
  return {
4105
4105
  size: _(),
4106
- setSize: G,
4106
+ setSize: L,
4107
4107
  mutate: T,
4108
4108
  get data() {
4109
4109
  return F.data;
@@ -4317,11 +4317,11 @@ const I0 = (e) => {
4317
4317
  } = e, A = we(), [p] = Ae.useForm(), { accessible: S, isLoading: y } = yn(t), [E, g] = Re(!1), [_, R] = Re(), I = (x, C) => {
4318
4318
  if (!E)
4319
4319
  return null;
4320
- const P = h(_, x !== 0 ? c(C) : void 0);
4321
- return Ct.stringify(P) ? `${r}?${Ct.stringify(P)}` : r;
4320
+ const P = x !== 0 ? c(C) : void 0, B = h(_, P);
4321
+ return Ct.stringify(B) ? `${r}?${Ct.stringify(B)}` : r;
4322
4322
  }, F = Ot(), {
4323
4323
  data: T,
4324
- size: G,
4324
+ size: L,
4325
4325
  setSize: D,
4326
4326
  isValidating: U
4327
4327
  } = O0(
@@ -4335,7 +4335,7 @@ const I0 = (e) => {
4335
4335
  revalidateOnFocus: !1,
4336
4336
  revalidateFirstPage: !1
4337
4337
  }
4338
- ), M = i(T), j = U || G > 0 && T && typeof T[G - 1] > "u", N = typeof l < "u" ? !l(T) : !0, k = !M || M.length === 0, b = async () => {
4338
+ ), M = i(T), j = U || L > 0 && T && typeof T[L - 1] > "u", N = typeof l < "u" ? !l(T) : !0, k = !M || M.length === 0, b = async () => {
4339
4339
  const x = await p.getFieldsValue();
4340
4340
  R(x);
4341
4341
  try {
@@ -4344,7 +4344,7 @@ const I0 = (e) => {
4344
4344
  D(0), g(!1);
4345
4345
  }
4346
4346
  }, w = () => {
4347
- D(G + 1);
4347
+ D(L + 1);
4348
4348
  }, m = async () => {
4349
4349
  try {
4350
4350
  p.resetFields(), await p.validateFields({ validateOnly: !0 }), D(1);
@@ -4712,7 +4712,7 @@ const el = (e, t) => {
4712
4712
  getDataSource: g,
4713
4713
  onTableChange: _,
4714
4714
  ...R
4715
- } = r, I = we(), [F] = Ae.useForm(), { accessible: T, isLoading: G } = yn(a, c), D = _e(
4715
+ } = r, I = we(), [F] = Ae.useForm(), { accessible: T, isLoading: L } = yn(a, c), D = _e(
4716
4716
  "init"
4717
4717
  /* Init */
4718
4718
  ), { propsMap: U, getPayload: M, setPayload: j, getSwrkKey: N, updateSwrKey: k } = X0();
@@ -4754,7 +4754,7 @@ const el = (e, t) => {
4754
4754
  } catch {
4755
4755
  k(n, null);
4756
4756
  }
4757
- }, L = async () => {
4757
+ }, G = async () => {
4758
4758
  D.current = "reset", F.resetFields(), j(n, { page: 1, formValues: F.getFieldsValue() });
4759
4759
  try {
4760
4760
  await F.validateFields({ validateOnly: !0 }), k(n);
@@ -4770,7 +4770,7 @@ const el = (e, t) => {
4770
4770
  data: C,
4771
4771
  originalData: w,
4772
4772
  form: F
4773
- })), G)
4773
+ })), L)
4774
4774
  return /* @__PURE__ */ f.jsx(
4775
4775
  Yr,
4776
4776
  {
@@ -4784,7 +4784,7 @@ const el = (e, t) => {
4784
4784
  );
4785
4785
  if (!T)
4786
4786
  return /* @__PURE__ */ f.jsx($t, { status: 403, subTitle: I("global.noEntitlement") });
4787
- const W = S ? /* @__PURE__ */ f.jsx(Os, { isConfirming: P, onReset: L, onConfirm: B, children: S(F) }) : (
4787
+ const W = S ? /* @__PURE__ */ f.jsx(Os, { isConfirming: P, onReset: G, onConfirm: B, children: S(F) }) : (
4788
4788
  // 消除 Antd 的警告
4789
4789
  /* @__PURE__ */ f.jsx(Ae, { form: F })
4790
4790
  );
@@ -4924,8 +4924,8 @@ var qs = { exports: {} };
4924
4924
  return b === void 0;
4925
4925
  } }, F = "en", T = {};
4926
4926
  T[F] = _;
4927
- var G = "$isDayjsObject", D = function(b) {
4928
- return b instanceof N || !(!b || !b[G]);
4927
+ var L = "$isDayjsObject", D = function(b) {
4928
+ return b instanceof N || !(!b || !b[L]);
4929
4929
  }, U = function b(w, m, x) {
4930
4930
  var C;
4931
4931
  if (!w)
@@ -4937,8 +4937,8 @@ var qs = { exports: {} };
4937
4937
  if (!C && B.length > 1)
4938
4938
  return b(B[0]);
4939
4939
  } else {
4940
- var L = w.name;
4941
- T[L] = w, C = L;
4940
+ var G = w.name;
4941
+ T[G] = w, C = G;
4942
4942
  }
4943
4943
  return !x && C && (F = C), C || !x && F;
4944
4944
  }, M = function(b, w) {
@@ -4952,7 +4952,7 @@ var qs = { exports: {} };
4952
4952
  };
4953
4953
  var N = function() {
4954
4954
  function b(m) {
4955
- this.$L = U(m.locale, null, !0), this.parse(m), this.$x = this.$x || m.x || {}, this[G] = !0;
4955
+ this.$L = U(m.locale, null, !0), this.parse(m), this.$x = this.$x || m.x || {}, this[L] = !0;
4956
4956
  }
4957
4957
  var w = b.prototype;
4958
4958
  return w.parse = function(m) {
@@ -4967,8 +4967,8 @@ var qs = { exports: {} };
4967
4967
  if (typeof C == "string" && !/Z$/i.test(C)) {
4968
4968
  var B = C.match(E);
4969
4969
  if (B) {
4970
- var L = B[2] - 1 || 0, W = (B[7] || "0").substring(0, 3);
4971
- return P ? new Date(Date.UTC(B[1], L, B[3] || 1, B[4] || 0, B[5] || 0, B[6] || 0, W)) : new Date(B[1], L, B[3] || 1, B[4] || 0, B[5] || 0, B[6] || 0, W);
4970
+ var G = B[2] - 1 || 0, W = (B[7] || "0").substring(0, 3);
4971
+ return P ? new Date(Date.UTC(B[1], G, B[3] || 1, B[4] || 0, B[5] || 0, B[6] || 0, W)) : new Date(B[1], G, B[3] || 1, B[4] || 0, B[5] || 0, B[6] || 0, W);
4972
4972
  }
4973
4973
  }
4974
4974
  return new Date(C);
@@ -4994,7 +4994,7 @@ var qs = { exports: {} };
4994
4994
  }, w.valueOf = function() {
4995
4995
  return this.$d.getTime();
4996
4996
  }, w.startOf = function(m, x) {
4997
- var C = this, P = !!j.u(x) || x, B = j.p(m), L = function(de, Z) {
4997
+ var C = this, P = !!j.u(x) || x, B = j.p(m), G = function(de, Z) {
4998
4998
  var me = j.w(C.$u ? Date.UTC(C.$y, Z, de) : new Date(C.$y, Z, de), C);
4999
4999
  return P ? me : me.endOf(d);
5000
5000
  }, W = function(de, Z) {
@@ -5002,12 +5002,12 @@ var qs = { exports: {} };
5002
5002
  }, Q = this.$W, te = this.$M, X = this.$D, le = "set" + (this.$u ? "UTC" : "");
5003
5003
  switch (B) {
5004
5004
  case p:
5005
- return P ? L(1, 0) : L(31, 11);
5005
+ return P ? G(1, 0) : G(31, 11);
5006
5006
  case u:
5007
- return P ? L(1, te) : L(0, te + 1);
5007
+ return P ? G(1, te) : G(0, te + 1);
5008
5008
  case h:
5009
5009
  var ue = this.$locale().weekStart || 0, ge = (Q < ue ? Q + 7 : Q) - ue;
5010
- return L(P ? X - ge : X + (6 - ge), te);
5010
+ return G(P ? X - ge : X + (6 - ge), te);
5011
5011
  case d:
5012
5012
  case S:
5013
5013
  return W(le + "Hours", 0);
@@ -5023,12 +5023,12 @@ var qs = { exports: {} };
5023
5023
  }, w.endOf = function(m) {
5024
5024
  return this.startOf(m, !1);
5025
5025
  }, w.$set = function(m, x) {
5026
- var C, P = j.p(m), B = "set" + (this.$u ? "UTC" : ""), L = (C = {}, C[d] = B + "Date", C[S] = B + "Date", C[u] = B + "Month", C[p] = B + "FullYear", C[l] = B + "Hours", C[i] = B + "Minutes", C[c] = B + "Seconds", C[s] = B + "Milliseconds", C)[P], W = P === d ? this.$D + (x - this.$W) : x;
5026
+ var C, P = j.p(m), B = "set" + (this.$u ? "UTC" : ""), G = (C = {}, C[d] = B + "Date", C[S] = B + "Date", C[u] = B + "Month", C[p] = B + "FullYear", C[l] = B + "Hours", C[i] = B + "Minutes", C[c] = B + "Seconds", C[s] = B + "Milliseconds", C)[P], W = P === d ? this.$D + (x - this.$W) : x;
5027
5027
  if (P === u || P === p) {
5028
5028
  var Q = this.clone().set(S, 1);
5029
- Q.$d[L](W), Q.init(), this.$d = Q.set(S, Math.min(this.$D, Q.daysInMonth())).$d;
5029
+ Q.$d[G](W), Q.init(), this.$d = Q.set(S, Math.min(this.$D, Q.daysInMonth())).$d;
5030
5030
  } else
5031
- L && this.$d[L](W);
5031
+ G && this.$d[G](W);
5032
5032
  return this.init(), this;
5033
5033
  }, w.set = function(m, x) {
5034
5034
  return this.clone().$set(m, x);
@@ -5037,7 +5037,7 @@ var qs = { exports: {} };
5037
5037
  }, w.add = function(m, x) {
5038
5038
  var C, P = this;
5039
5039
  m = Number(m);
5040
- var B = j.p(x), L = function(te) {
5040
+ var B = j.p(x), G = function(te) {
5041
5041
  var X = M(P);
5042
5042
  return j.w(X.date(X.date() + Math.round(te * m)), P);
5043
5043
  };
@@ -5046,9 +5046,9 @@ var qs = { exports: {} };
5046
5046
  if (B === p)
5047
5047
  return this.set(p, this.$y + m);
5048
5048
  if (B === d)
5049
- return L(1);
5049
+ return G(1);
5050
5050
  if (B === h)
5051
- return L(7);
5051
+ return G(7);
5052
5052
  var W = (C = {}, C[i] = n, C[l] = a, C[c] = r, C)[B] || 1, Q = this.$d.getTime() + m * W;
5053
5053
  return j.w(Q, this);
5054
5054
  }, w.subtract = function(m, x) {
@@ -5057,10 +5057,10 @@ var qs = { exports: {} };
5057
5057
  var x = this, C = this.$locale();
5058
5058
  if (!this.isValid())
5059
5059
  return C.invalidDate || y;
5060
- var P = m || "YYYY-MM-DDTHH:mm:ssZ", B = j.z(this), L = this.$H, W = this.$m, Q = this.$M, te = C.weekdays, X = C.months, le = C.meridiem, ue = function(Z, me, H, K) {
5060
+ var P = m || "YYYY-MM-DDTHH:mm:ssZ", B = j.z(this), G = this.$H, W = this.$m, Q = this.$M, te = C.weekdays, X = C.months, le = C.meridiem, ue = function(Z, me, H, K) {
5061
5061
  return Z && (Z[me] || Z(x, P)) || H[me].slice(0, K);
5062
5062
  }, ge = function(Z) {
5063
- return j.s(L % 12 || 12, Z, "0");
5063
+ return j.s(G % 12 || 12, Z, "0");
5064
5064
  }, de = le || function(Z, me, H) {
5065
5065
  var K = Z < 12 ? "AM" : "PM";
5066
5066
  return H ? K.toLowerCase() : K;
@@ -5093,17 +5093,17 @@ var qs = { exports: {} };
5093
5093
  case "dddd":
5094
5094
  return te[x.$W];
5095
5095
  case "H":
5096
- return String(L);
5096
+ return String(G);
5097
5097
  case "HH":
5098
- return j.s(L, 2, "0");
5098
+ return j.s(G, 2, "0");
5099
5099
  case "h":
5100
5100
  return ge(1);
5101
5101
  case "hh":
5102
5102
  return ge(2);
5103
5103
  case "a":
5104
- return de(L, W, !0);
5104
+ return de(G, W, !0);
5105
5105
  case "A":
5106
- return de(L, W, !1);
5106
+ return de(G, W, !1);
5107
5107
  case "m":
5108
5108
  return String(W);
5109
5109
  case "mm":
@@ -5123,10 +5123,10 @@ var qs = { exports: {} };
5123
5123
  }, w.utcOffset = function() {
5124
5124
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
5125
5125
  }, w.diff = function(m, x, C) {
5126
- var P, B = this, L = j.p(x), W = M(m), Q = (W.utcOffset() - this.utcOffset()) * n, te = this - W, X = function() {
5126
+ var P, B = this, G = j.p(x), W = M(m), Q = (W.utcOffset() - this.utcOffset()) * n, te = this - W, X = function() {
5127
5127
  return j.m(B, W);
5128
5128
  };
5129
- switch (L) {
5129
+ switch (G) {
5130
5130
  case p:
5131
5131
  P = X() / 12;
5132
5132
  break;
@@ -5306,7 +5306,7 @@ const ul = /* @__PURE__ */ Qr(ll), { Option: ba } = Wr, { Paragraph: Sa } = Hr,
5306
5306
  }, vl = ml, _l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5307
5307
  __proto__: null,
5308
5308
  default: vl
5309
- }, Symbol.toStringTag, { value: "Module" })), bl = Ze(() => import("./index-CPcao_rh.chunk.js")), Sl = Ze(() => import("./index-bOArzWbR.chunk.js")), xl = Ze(() => import("./index-U4_wXe5n.chunk.js")), Cl = () => /* @__PURE__ */ f.jsxs(Da, { children: [
5309
+ }, Symbol.toStringTag, { value: "Module" })), bl = Ze(() => import("./index-gD2dnDu7.chunk.js")), Sl = Ze(() => import("./index-K5w_JTua.chunk.js")), xl = Ze(() => import("./index-CiNYhEey.chunk.js")), Cl = () => /* @__PURE__ */ f.jsxs(Da, { children: [
5310
5310
  /* @__PURE__ */ f.jsx(ze, { index: !0, element: /* @__PURE__ */ f.jsx(Cr, { to: "user" }) }),
5311
5311
  /* @__PURE__ */ f.jsx(ze, { path: "user", element: /* @__PURE__ */ f.jsx(bl, {}) }),
5312
5312
  /* @__PURE__ */ f.jsx(ze, { path: "role", element: /* @__PURE__ */ f.jsx(Sl, {}) }),
@@ -5376,4 +5376,4 @@ export {
5376
5376
  nl as y,
5377
5377
  gn as z
5378
5378
  };
5379
- //# sourceMappingURL=index-tuOuGmo8.chunk.js.map
5379
+ //# sourceMappingURL=index--jWvmyyO.chunk.js.map