@pnkx-lib/ui 1.0.7 → 1.0.8

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.
@@ -30,47 +30,47 @@ const Kr = (e) => /* @__PURE__ */ P.jsx(ba, { ...e }), sl = (e) => {
30
30
  rowsSelected: l,
31
31
  onSelect: s,
32
32
  onRowClick: u,
33
- ...d
33
+ rowKey: d = "id",
34
+ ...f
34
35
  }) => {
35
- const f = {
36
+ const m = {
36
37
  current: o.PageIndex,
37
38
  pageSize: o.PageSize,
38
39
  total: n,
39
40
  showSizeChanger: !0,
40
- onChange: (v, y) => {
41
- v !== o.PageIndex && i(v), y !== o.PageSize && a(y);
41
+ onChange: (y, b) => {
42
+ y !== o.PageIndex && i(y), b !== o.PageSize && a(b);
42
43
  }
43
- }, m = {
44
+ }, h = {
44
45
  selectedRowKeys: l,
45
- onChange: (v) => {
46
- s(v);
47
- }
48
- }, h = (v) => {
49
- v && v.field && c && c(v.field);
46
+ onChange: s
47
+ }, g = (y) => {
48
+ y && y.field && c && c(y.field);
50
49
  };
51
- function g(v, y) {
52
- return (S) => {
53
- const C = S.target;
54
- C.closest("input") || // ⛔ Checkbox
55
- C.closest("button") || // ⛔ Button trong row
56
- C.closest("svg") || // ⛔ Icon
57
- C.closest(".ant-checkbox") || // ⛔ AntD checkbox
58
- C.closest("a") || y == null || y(v);
50
+ function v(y, b) {
51
+ return (C) => {
52
+ const E = C.target;
53
+ E.closest("input") || // ⛔ Checkbox
54
+ E.closest("button") || // ⛔ Button trong row
55
+ E.closest("svg") || // ⛔ Icon
56
+ E.closest(".ant-checkbox") || // ⛔ AntD checkbox
57
+ E.closest("a") || b == null || b(y);
59
58
  };
60
59
  }
61
60
  return /* @__PURE__ */ P.jsx(P.Fragment, { children: e.length === 0 ? /* @__PURE__ */ P.jsx(cr, { children: /* @__PURE__ */ P.jsx(xa, {}) }) : /* @__PURE__ */ P.jsx(
62
61
  Ca,
63
62
  {
63
+ rowKey: d,
64
64
  dataSource: e,
65
65
  columns: r,
66
- pagination: f,
66
+ pagination: m,
67
67
  loading: t,
68
- rowSelection: m,
69
- onChange: h,
70
- onRow: (v) => ({
71
- onClick: g(v, u)
68
+ rowSelection: h,
69
+ onChange: g,
70
+ onRow: (y) => ({
71
+ onClick: v(y, u)
72
72
  }),
73
- ...d
73
+ ...f
74
74
  }
75
75
  ) });
76
76
  }, ll = ({
@@ -285,16 +285,16 @@ var V = {};
285
285
  var Zr;
286
286
  function Za() {
287
287
  return Zr || (Zr = 1, process.env.NODE_ENV !== "production" && function() {
288
- var e = Symbol.for("react.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), a = Symbol.for("react.context"), c = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), s = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), h = !1, g = !1, v = !1, y = !1, S = !1, C;
288
+ var e = Symbol.for("react.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), a = Symbol.for("react.context"), c = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), s = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), h = !1, g = !1, v = !1, y = !1, b = !1, C;
289
289
  C = Symbol.for("react.module.reference");
290
- function T(O) {
291
- return !!(typeof O == "string" || typeof O == "function" || O === t || O === o || S || O === n || O === s || O === u || y || O === m || h || g || v || typeof O == "object" && O !== null && (O.$$typeof === f || O.$$typeof === d || O.$$typeof === i || O.$$typeof === a || O.$$typeof === l || // This needs to include all possible module reference object
290
+ function E(O) {
291
+ return !!(typeof O == "string" || typeof O == "function" || O === t || O === o || b || O === n || O === s || O === u || y || O === m || h || g || v || typeof O == "object" && O !== null && (O.$$typeof === f || O.$$typeof === d || O.$$typeof === i || O.$$typeof === a || O.$$typeof === l || // This needs to include all possible module reference object
292
292
  // types supported by any Flight configuration anywhere since
293
293
  // we don't know which Flight build this will end up being used
294
294
  // with.
295
295
  O.$$typeof === C || O.getModuleId !== void 0));
296
296
  }
297
- function b(O) {
297
+ function S(O) {
298
298
  if (typeof O == "object" && O !== null) {
299
299
  var ze = O.$$typeof;
300
300
  switch (ze) {
@@ -326,7 +326,7 @@ function Za() {
326
326
  }
327
327
  }
328
328
  }
329
- var E = a, x = i, k = e, A = l, _ = t, L = f, I = d, $ = r, M = o, j = n, H = s, F = u, z = !1, W = !1;
329
+ var T = a, x = i, k = e, A = l, _ = t, L = f, I = d, $ = r, M = o, j = n, H = s, F = u, z = !1, W = !1;
330
330
  function X(O) {
331
331
  return z || (z = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
332
332
  }
@@ -334,42 +334,42 @@ function Za() {
334
334
  return W || (W = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
335
335
  }
336
336
  function U(O) {
337
- return b(O) === a;
337
+ return S(O) === a;
338
338
  }
339
339
  function B(O) {
340
- return b(O) === i;
340
+ return S(O) === i;
341
341
  }
342
342
  function Y(O) {
343
343
  return typeof O == "object" && O !== null && O.$$typeof === e;
344
344
  }
345
345
  function ce(O) {
346
- return b(O) === l;
346
+ return S(O) === l;
347
347
  }
348
348
  function he(O) {
349
- return b(O) === t;
349
+ return S(O) === t;
350
350
  }
351
351
  function oe(O) {
352
- return b(O) === f;
352
+ return S(O) === f;
353
353
  }
354
354
  function K(O) {
355
- return b(O) === d;
355
+ return S(O) === d;
356
356
  }
357
357
  function q(O) {
358
- return b(O) === r;
358
+ return S(O) === r;
359
359
  }
360
360
  function ie(O) {
361
- return b(O) === o;
361
+ return S(O) === o;
362
362
  }
363
363
  function Te(O) {
364
- return b(O) === n;
364
+ return S(O) === n;
365
365
  }
366
366
  function ve(O) {
367
- return b(O) === s;
367
+ return S(O) === s;
368
368
  }
369
369
  function Pe(O) {
370
- return b(O) === u;
370
+ return S(O) === u;
371
371
  }
372
- V.ContextConsumer = E, V.ContextProvider = x, V.Element = k, V.ForwardRef = A, V.Fragment = _, V.Lazy = L, V.Memo = I, V.Portal = $, V.Profiler = M, V.StrictMode = j, V.Suspense = H, V.SuspenseList = F, V.isAsyncMode = X, V.isConcurrentMode = G, V.isContextConsumer = U, V.isContextProvider = B, V.isElement = Y, V.isForwardRef = ce, V.isFragment = he, V.isLazy = oe, V.isMemo = K, V.isPortal = q, V.isProfiler = ie, V.isStrictMode = Te, V.isSuspense = ve, V.isSuspenseList = Pe, V.isValidElementType = T, V.typeOf = b;
372
+ V.ContextConsumer = T, V.ContextProvider = x, V.Element = k, V.ForwardRef = A, V.Fragment = _, V.Lazy = L, V.Memo = I, V.Portal = $, V.Profiler = M, V.StrictMode = j, V.Suspense = H, V.SuspenseList = F, V.isAsyncMode = X, V.isConcurrentMode = G, V.isContextConsumer = U, V.isContextProvider = B, V.isElement = Y, V.isForwardRef = ce, V.isFragment = he, V.isLazy = oe, V.isMemo = K, V.isPortal = q, V.isProfiler = ie, V.isStrictMode = Te, V.isSuspense = ve, V.isSuspenseList = Pe, V.isValidElementType = E, V.typeOf = S;
373
373
  }()), V;
374
374
  }
375
375
  var Jr;
@@ -845,9 +845,9 @@ if (process.env.NODE_ENV !== "production" && typeof module < "u" && module && mo
845
845
  function jr(e, r, t, n, o) {
846
846
  var i = p.useContext(mt), a = i.cache, c = [e].concat(Ce(r)), l = fr(c), s = _i([l]), u = Ai(), d = function(g) {
847
847
  a.opUpdate(l, function(v) {
848
- var y = v || [void 0, void 0], S = N(y, 2), C = S[0], T = C === void 0 ? 0 : C, b = S[1], E = b;
849
- process.env.NODE_ENV !== "production" && b && u && (n == null || n(E, u), E = null);
850
- var x = E || t(), k = [T, x];
848
+ var y = v || [void 0, void 0], b = N(y, 2), C = b[0], E = C === void 0 ? 0 : C, S = b[1], T = S;
849
+ process.env.NODE_ENV !== "production" && S && u && (n == null || n(T, u), T = null);
850
+ var x = T || t(), k = [E, x];
851
851
  return g ? g(k) : k;
852
852
  });
853
853
  };
@@ -866,14 +866,14 @@ function jr(e, r, t, n, o) {
866
866
  o == null || o(m);
867
867
  }, function(h) {
868
868
  return d(function(g) {
869
- var v = N(g, 2), y = v[0], S = v[1];
870
- return h && y === 0 && (o == null || o(m)), [y + 1, S];
869
+ var v = N(g, 2), y = v[0], b = v[1];
870
+ return h && y === 0 && (o == null || o(m)), [y + 1, b];
871
871
  }), function() {
872
872
  a.opUpdate(l, function(g) {
873
- var v = g || [], y = N(v, 2), S = y[0], C = S === void 0 ? 0 : S, T = y[1], b = C - 1;
874
- return b === 0 ? (s(function() {
875
- (h || !a.opGet(l)) && (n == null || n(T, !1));
876
- }), null) : [C - 1, T];
873
+ var v = g || [], y = N(v, 2), b = y[0], C = b === void 0 ? 0 : b, E = y[1], S = C - 1;
874
+ return S === 0 ? (s(function() {
875
+ (h || !a.opGet(l)) && (n == null || n(E, !1));
876
+ }), null) : [C - 1, E];
877
877
  });
878
878
  };
879
879
  }, [l]), m;
@@ -912,34 +912,34 @@ function Di(e, r) {
912
912
  var t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = Ie(mt), o = n.cache.instanceId, i = n.container, a = t.salt, c = a === void 0 ? "" : a, l = t.override, s = l === void 0 ? ji : l, u = t.formatToken, d = t.getComputedToken, f = t.cssVar, m = hi(function() {
913
913
  return Object.assign.apply(Object, [{}].concat(Ce(r)));
914
914
  }, r), h = ut(m), g = ut(s), v = f ? ut(f) : "", y = jr(Bn, [c, e.id, h, g, v], function() {
915
- var S, C = d ? d(m, s, e) : zi(m, s, e, u), T = w({}, C), b = "";
915
+ var b, C = d ? d(m, s, e) : zi(m, s, e, u), E = w({}, C), S = "";
916
916
  if (f) {
917
- var E = Hn(C, f.key, {
917
+ var T = Hn(C, f.key, {
918
918
  prefix: f.prefix,
919
919
  ignore: f.ignore,
920
920
  unitless: f.unitless,
921
921
  preserve: f.preserve
922
- }), x = N(E, 2);
923
- C = x[0], b = x[1];
922
+ }), x = N(T, 2);
923
+ C = x[0], S = x[1];
924
924
  }
925
925
  var k = rn(C, c);
926
- C._tokenKey = k, T._tokenKey = rn(T, c);
927
- var A = (S = f == null ? void 0 : f.key) !== null && S !== void 0 ? S : k;
926
+ C._tokenKey = k, E._tokenKey = rn(E, c);
927
+ var A = (b = f == null ? void 0 : f.key) !== null && b !== void 0 ? b : k;
928
928
  C._themeKey = A, Ri(A);
929
929
  var _ = "".concat($i, "-").concat(ft(k));
930
- return C._hashId = _, [C, _, T, b, (f == null ? void 0 : f.key) || ""];
931
- }, function(S) {
932
- Li(S[0]._themeKey, o);
933
- }, function(S) {
934
- var C = N(S, 4), T = C[0], b = C[3];
935
- if (f && b) {
936
- var E = Ye(b, ft("css-variables-".concat(T._themeKey)), {
930
+ return C._hashId = _, [C, _, E, S, (f == null ? void 0 : f.key) || ""];
931
+ }, function(b) {
932
+ Li(b[0]._themeKey, o);
933
+ }, function(b) {
934
+ var C = N(b, 4), E = C[0], S = C[3];
935
+ if (f && S) {
936
+ var T = Ye(S, ft("css-variables-".concat(E._themeKey)), {
937
937
  mark: ge,
938
938
  prepend: "queue",
939
939
  attachTo: i,
940
940
  priority: -999
941
941
  });
942
- E[$e] = o, E.setAttribute(et, T._themeKey);
942
+ T[$e] = o, T.setAttribute(et, E._themeKey);
943
943
  }
944
944
  });
945
945
  return y;
@@ -1141,19 +1141,19 @@ function rs(e) {
1141
1141
  return Qi(Rt("", null, null, null, [""], e = Yi(e), 0, [0], e));
1142
1142
  }
1143
1143
  function Rt(e, r, t, n, o, i, a, c, l) {
1144
- for (var s = 0, u = 0, d = a, f = 0, m = 0, h = 0, g = 1, v = 1, y = 1, S = 0, C = "", T = o, b = i, E = n, x = C; v; )
1145
- switch (h = S, S = me()) {
1144
+ for (var s = 0, u = 0, d = a, f = 0, m = 0, h = 0, g = 1, v = 1, y = 1, b = 0, C = "", E = o, S = i, T = n, x = C; v; )
1145
+ switch (h = b, b = me()) {
1146
1146
  // (
1147
1147
  case 40:
1148
1148
  if (h != 108 && Ze(x, d - 1) == 58) {
1149
- Ui(x += jt(rr(S), "&", "&\f"), "&\f", Un(s ? c[s - 1] : 0)) != -1 && (y = -1);
1149
+ Ui(x += jt(rr(b), "&", "&\f"), "&\f", Un(s ? c[s - 1] : 0)) != -1 && (y = -1);
1150
1150
  break;
1151
1151
  }
1152
1152
  // " ' [
1153
1153
  case 34:
1154
1154
  case 39:
1155
1155
  case 91:
1156
- x += rr(S);
1156
+ x += rr(b);
1157
1157
  break;
1158
1158
  // \t \n \r \s
1159
1159
  case 9:
@@ -1184,7 +1184,7 @@ function Rt(e, r, t, n, o, i, a, c, l) {
1184
1184
  case 125 * g:
1185
1185
  case 59:
1186
1186
  case 0:
1187
- switch (S) {
1187
+ switch (b) {
1188
1188
  // \0 }
1189
1189
  case 0:
1190
1190
  case 125:
@@ -1198,9 +1198,9 @@ function Rt(e, r, t, n, o, i, a, c, l) {
1198
1198
  x += ";";
1199
1199
  // { rule/at-rule
1200
1200
  default:
1201
- if (kt(E = an(x, r, t, s, u, o, c, C, T = [], b = [], d, i), i), S === 123)
1201
+ if (kt(T = an(x, r, t, s, u, o, c, C, E = [], S = [], d, i), i), b === 123)
1202
1202
  if (u === 0)
1203
- Rt(x, r, E, E, T, i, d, c, b);
1203
+ Rt(x, r, T, T, E, i, d, c, S);
1204
1204
  else {
1205
1205
  switch (f) {
1206
1206
  // c(ontainer)
@@ -1216,7 +1216,7 @@ function Rt(e, r, t, n, o, i, a, c, l) {
1216
1216
  case 109:
1217
1217
  case 115:
1218
1218
  }
1219
- u ? Rt(e, E, E, n && kt(an(e, E, E, 0, 0, o, c, C, o, T = [], d, b), b), o, b, d, c, n ? T : b) : Rt(x, E, E, E, [""], b, 0, c, b);
1219
+ u ? Rt(e, T, T, n && kt(an(e, T, T, 0, 0, o, c, C, o, E = [], d, S), S), o, S, d, c, n ? E : S) : Rt(x, T, T, T, [""], S, 0, c, S);
1220
1220
  }
1221
1221
  }
1222
1222
  s = u = m = 0, g = y = 1, C = x = "", d = a;
@@ -1226,12 +1226,12 @@ function Rt(e, r, t, n, o, i, a, c, l) {
1226
1226
  d = 1 + Se(x), m = h;
1227
1227
  default:
1228
1228
  if (g < 1) {
1229
- if (S == 123)
1229
+ if (b == 123)
1230
1230
  --g;
1231
- else if (S == 125 && g++ == 0 && qi() == 125)
1231
+ else if (b == 125 && g++ == 0 && qi() == 125)
1232
1232
  continue;
1233
1233
  }
1234
- switch (x += $r(S), S * g) {
1234
+ switch (x += $r(b), b * g) {
1235
1235
  // &
1236
1236
  case 38:
1237
1237
  y = u > 0 ? 1 : (x += "\f", -1);
@@ -1242,7 +1242,7 @@ function Rt(e, r, t, n, o, i, a, c, l) {
1242
1242
  break;
1243
1243
  // @
1244
1244
  case 64:
1245
- Re() === 45 && (x += rr(me())), f = Re(), u = d = Se(C = x += ts($t())), S++;
1245
+ Re() === 45 && (x += rr(me())), f = Re(), u = d = Se(C = x += ts($t())), b++;
1246
1246
  break;
1247
1247
  // -
1248
1248
  case 45:
@@ -1253,8 +1253,8 @@ function Rt(e, r, t, n, o, i, a, c, l) {
1253
1253
  }
1254
1254
  function an(e, r, t, n, o, i, a, c, l, s, u, d) {
1255
1255
  for (var f = o - 1, m = o === 0 ? i : [""], h = Gi(m), g = 0, v = 0, y = 0; g < n; ++g)
1256
- for (var S = 0, C = tt(e, f + 1, f = Un(v = a[g])), T = e; S < h; ++S)
1257
- (T = Gn(v > 0 ? m[S] + " " + C : jt(C, /&\f/g, m[S]))) && (l[y++] = T);
1256
+ for (var b = 0, C = tt(e, f + 1, f = Un(v = a[g])), E = e; b < h; ++b)
1257
+ (E = Gn(v > 0 ? m[b] + " " + C : jt(C, /&\f/g, m[b]))) && (l[y++] = E);
1258
1258
  return Rr(e, r, t, o === 0 ? Wn : c, l, s, u, d);
1259
1259
  }
1260
1260
  function ns(e, r, t, n) {
@@ -1350,37 +1350,37 @@ var fs = function e(r) {
1350
1350
  root: !0,
1351
1351
  parentSelectors: []
1352
1352
  }, o = n.root, i = n.injectHash, a = n.parentSelectors, c = t.hashId, l = t.layer, s = t.path, u = t.hashPriority, d = t.transformers, f = d === void 0 ? [] : d, m = t.linters, h = m === void 0 ? [] : m, g = "", v = {};
1353
- function y(T) {
1354
- var b = T.getName(c);
1355
- if (!v[b]) {
1356
- var E = e(T.style, t, {
1353
+ function y(E) {
1354
+ var S = E.getName(c);
1355
+ if (!v[S]) {
1356
+ var T = e(E.style, t, {
1357
1357
  root: !1,
1358
1358
  parentSelectors: a
1359
- }), x = N(E, 1), k = x[0];
1360
- v[b] = "@keyframes ".concat(T.getName(c)).concat(k);
1359
+ }), x = N(T, 1), k = x[0];
1360
+ v[S] = "@keyframes ".concat(E.getName(c)).concat(k);
1361
1361
  }
1362
1362
  }
1363
- function S(T) {
1364
- var b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
1365
- return T.forEach(function(E) {
1366
- Array.isArray(E) ? S(E, b) : E && b.push(E);
1367
- }), b;
1363
+ function b(E) {
1364
+ var S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
1365
+ return E.forEach(function(T) {
1366
+ Array.isArray(T) ? b(T, S) : T && S.push(T);
1367
+ }), S;
1368
1368
  }
1369
- var C = S(Array.isArray(r) ? r : [r]);
1370
- return C.forEach(function(T) {
1371
- var b = typeof T == "string" && !o ? {} : T;
1372
- if (typeof b == "string")
1373
- g += "".concat(b, `
1369
+ var C = b(Array.isArray(r) ? r : [r]);
1370
+ return C.forEach(function(E) {
1371
+ var S = typeof E == "string" && !o ? {} : E;
1372
+ if (typeof S == "string")
1373
+ g += "".concat(S, `
1374
1374
  `);
1375
- else if (b._keyframe)
1376
- y(b);
1375
+ else if (S._keyframe)
1376
+ y(S);
1377
1377
  else {
1378
- var E = f.reduce(function(x, k) {
1378
+ var T = f.reduce(function(x, k) {
1379
1379
  var A;
1380
1380
  return (k == null || (A = k.visit) === null || A === void 0 ? void 0 : A.call(k, x)) || x;
1381
- }, b);
1382
- Object.keys(E).forEach(function(x) {
1383
- var k = E[x];
1381
+ }, S);
1382
+ Object.keys(T).forEach(function(x) {
1383
+ var k = T[x];
1384
1384
  if (J(k) === "object" && k && (x !== "animationName" || !k._keyframe) && !us(k)) {
1385
1385
  var A = !1, _ = x.trim(), L = !1;
1386
1386
  (o || i) && c ? _.startsWith("@") ? A = !0 : _ === "&" ? _ = ln("", c, u) : _ = ln(x, c, u) : o && !c && (_ === "&" || _ === "") && (_ = "", L = !0);
@@ -1411,8 +1411,8 @@ var fs = function e(r) {
1411
1411
  }
1412
1412
  });
1413
1413
  }
1414
- }), o ? l && (g && (g = "@layer ".concat(l.name, " {").concat(g, "}")), l.dependencies && (v["@layer ".concat(l.name)] = l.dependencies.map(function(T) {
1415
- return "@layer ".concat(T, ", ").concat(l.name, ";");
1414
+ }), o ? l && (g && (g = "@layer ".concat(l.name, " {").concat(g, "}")), l.dependencies && (v["@layer ".concat(l.name)] = l.dependencies.map(function(E) {
1415
+ return "@layer ".concat(E, ", ").concat(l.name, ";");
1416
1416
  }).join(`
1417
1417
  `))) : g = "{".concat(g, "}"), [g, v];
1418
1418
  };
@@ -1424,30 +1424,30 @@ function ds() {
1424
1424
  }
1425
1425
  var to = "style";
1426
1426
  function hr(e, r) {
1427
- var t = e.token, n = e.path, o = e.hashId, i = e.layer, a = e.nonce, c = e.clientOnly, l = e.order, s = l === void 0 ? 0 : l, u = p.useContext(mt), d = u.autoClear, f = u.mock, m = u.defaultCache, h = u.hashPriority, g = u.container, v = u.ssrInline, y = u.transformers, S = u.linters, C = u.cache, T = u.layer, b = t._tokenKey, E = [b];
1428
- T && E.push("layer"), E.push.apply(E, Ce(n));
1427
+ var t = e.token, n = e.path, o = e.hashId, i = e.layer, a = e.nonce, c = e.clientOnly, l = e.order, s = l === void 0 ? 0 : l, u = p.useContext(mt), d = u.autoClear, f = u.mock, m = u.defaultCache, h = u.hashPriority, g = u.container, v = u.ssrInline, y = u.transformers, b = u.linters, C = u.cache, E = u.layer, S = t._tokenKey, T = [S];
1428
+ E && T.push("layer"), T.push.apply(T, Ce(n));
1429
1429
  var x = vr;
1430
1430
  process.env.NODE_ENV !== "production" && f !== void 0 && (x = f === "client");
1431
1431
  var k = jr(
1432
1432
  to,
1433
- E,
1433
+ T,
1434
1434
  // Create cache if needed
1435
1435
  function() {
1436
- var $ = E.join("|");
1436
+ var $ = T.join("|");
1437
1437
  if (cs($)) {
1438
1438
  var M = ls($), j = N(M, 2), H = j[0], F = j[1];
1439
1439
  if (H)
1440
- return [H, b, F, {}, c, s];
1440
+ return [H, S, F, {}, c, s];
1441
1441
  }
1442
1442
  var z = r(), W = fs(z, {
1443
1443
  hashId: o,
1444
1444
  hashPriority: h,
1445
- layer: T ? i : void 0,
1445
+ layer: E ? i : void 0,
1446
1446
  path: n.join("-"),
1447
1447
  transformers: y,
1448
- linters: S
1449
- }), X = N(W, 2), G = X[0], U = X[1], B = Nt(G), Y = eo(E, B);
1450
- return [B, b, Y, U, c, s];
1448
+ linters: b
1449
+ }), X = N(W, 2), G = X[0], U = X[1], B = Nt(G), Y = eo(T, B);
1450
+ return [B, S, Y, U, c, s];
1451
1451
  },
1452
1452
  // Remove cache if no need
1453
1453
  function($, M) {
@@ -1464,7 +1464,7 @@ function hr(e, r) {
1464
1464
  if (x && j !== Yn) {
1465
1465
  var z = {
1466
1466
  mark: ge,
1467
- prepend: T ? !1 : "queue",
1467
+ prepend: E ? !1 : "queue",
1468
1468
  attachTo: g,
1469
1469
  priority: s
1470
1470
  }, W = typeof a == "function" ? a() : a;
@@ -1480,7 +1480,7 @@ function hr(e, r) {
1480
1480
  }));
1481
1481
  });
1482
1482
  var U = Ye(j, H, z);
1483
- U[$e] = C.instanceId, U.setAttribute(et, b), process.env.NODE_ENV !== "production" && U.setAttribute(vi, E.join("|")), G.forEach(function(B) {
1483
+ U[$e] = C.instanceId, U.setAttribute(et, S), process.env.NODE_ENV !== "production" && U.setAttribute(vi, T.join("|")), G.forEach(function(B) {
1484
1484
  Ye(Nt(F[B]), "_effect-".concat(B), z);
1485
1485
  });
1486
1486
  }
@@ -1523,23 +1523,23 @@ var vs = function(r, t, n) {
1523
1523
  unitless: i,
1524
1524
  ignore: a,
1525
1525
  scope: s
1526
- }), S = N(y, 2), C = S[0], T = S[1], b = eo(h, T);
1527
- return [C, T, b, n];
1526
+ }), b = N(y, 2), C = b[0], E = b[1], S = eo(h, E);
1527
+ return [C, E, S, n];
1528
1528
  }, function(v) {
1529
- var y = N(v, 3), S = y[2];
1530
- vr && An(S, {
1529
+ var y = N(v, 3), b = y[2];
1530
+ vr && An(b, {
1531
1531
  mark: ge
1532
1532
  });
1533
1533
  }, function(v) {
1534
- var y = N(v, 3), S = y[1], C = y[2];
1535
- if (S) {
1536
- var T = Ye(S, C, {
1534
+ var y = N(v, 3), b = y[1], C = y[2];
1535
+ if (b) {
1536
+ var E = Ye(b, C, {
1537
1537
  mark: ge,
1538
1538
  prepend: "queue",
1539
1539
  attachTo: f,
1540
1540
  priority: -999
1541
1541
  });
1542
- T[$e] = d, T.setAttribute(et, n);
1542
+ E[$e] = d, E.setAttribute(et, n);
1543
1543
  }
1544
1544
  });
1545
1545
  return g;
@@ -1801,7 +1801,7 @@ function Es(e, r) {
1801
1801
  colorPrimary: l,
1802
1802
  colorBgBase: s,
1803
1803
  colorTextBase: u
1804
- } = e, d = t(l), f = t(o), m = t(i), h = t(a), g = t(c), v = n(s, u), y = e.colorLink || e.colorInfo, S = t(y), C = new ae(h[1]).mix(new ae(h[3]), 50).toHexString();
1804
+ } = e, d = t(l), f = t(o), m = t(i), h = t(a), g = t(c), v = n(s, u), y = e.colorLink || e.colorInfo, b = t(y), C = new ae(h[1]).mix(new ae(h[3]), 50).toHexString();
1805
1805
  return Object.assign(Object.assign({}, v), {
1806
1806
  colorPrimaryBg: d[1],
1807
1807
  colorPrimaryBgHover: d[2],
@@ -1855,9 +1855,9 @@ function Es(e, r) {
1855
1855
  colorInfoTextHover: g[8],
1856
1856
  colorInfoText: g[9],
1857
1857
  colorInfoTextActive: g[10],
1858
- colorLinkHover: S[4],
1859
- colorLink: S[6],
1860
- colorLinkActive: S[7],
1858
+ colorLinkHover: b[4],
1859
+ colorLink: b[6],
1860
+ colorLinkActive: b[7],
1861
1861
  colorBgMask: new ae("#000").setA(0.45).toRgbString(),
1862
1862
  colorWhite: "#fff"
1863
1863
  });
@@ -2372,21 +2372,21 @@ function Js(e) {
2372
2372
  function y(k) {
2373
2373
  return "".concat(String(v)).concat(k.slice(0, 1).toUpperCase()).concat(k.slice(1));
2374
2374
  }
2375
- var S = (g == null ? void 0 : g.unitless) || {}, C = typeof c == "function" ? c(f) : {}, T = w(w({}, C), {}, R({}, y("zIndexPopup"), !0));
2376
- Object.keys(S).forEach(function(k) {
2377
- T[y(k)] = S[k];
2375
+ var b = (g == null ? void 0 : g.unitless) || {}, C = typeof c == "function" ? c(f) : {}, E = w(w({}, C), {}, R({}, y("zIndexPopup"), !0));
2376
+ Object.keys(b).forEach(function(k) {
2377
+ E[y(k)] = b[k];
2378
2378
  });
2379
- var b = w(w({}, g), {}, {
2380
- unitless: T,
2379
+ var S = w(w({}, g), {}, {
2380
+ unitless: E,
2381
2381
  prefixToken: y
2382
- }), E = u(f, m, h, b), x = s(v, h, b);
2382
+ }), T = u(f, m, h, S), x = s(v, h, S);
2383
2383
  return function(k) {
2384
- var A = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : k, _ = E(k, A), L = N(_, 2), I = L[1], $ = x(A), M = N($, 2), j = M[0], H = M[1];
2384
+ var A = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : k, _ = T(k, A), L = N(_, 2), I = L[1], $ = x(A), M = N($, 2), j = M[0], H = M[1];
2385
2385
  return [j, I, H];
2386
2386
  };
2387
2387
  }
2388
2388
  function s(f, m, h) {
2389
- var g = h.unitless, v = h.injectStyle, y = v === void 0 ? !0 : v, S = h.prefixToken, C = h.ignore, T = function(x) {
2389
+ var g = h.unitless, v = h.injectStyle, y = v === void 0 ? !0 : v, b = h.prefixToken, C = h.ignore, E = function(x) {
2390
2390
  var k = x.rootCls, A = x.cssVar, _ = A === void 0 ? {} : A, L = n(), I = L.realToken;
2391
2391
  return ps({
2392
2392
  path: [f],
@@ -2401,32 +2401,32 @@ function Js(e) {
2401
2401
  deprecatedTokens: h == null ? void 0 : h.deprecatedTokens
2402
2402
  });
2403
2403
  return Object.keys($).forEach(function(j) {
2404
- M[S(j)] = M[j], delete M[j];
2404
+ M[b(j)] = M[j], delete M[j];
2405
2405
  }), M;
2406
2406
  }), null;
2407
- }, b = function(x) {
2407
+ }, S = function(x) {
2408
2408
  var k = n(), A = k.cssVar;
2409
2409
  return [function(_) {
2410
- return y && A ? /* @__PURE__ */ xe.createElement(xe.Fragment, null, /* @__PURE__ */ xe.createElement(T, {
2410
+ return y && A ? /* @__PURE__ */ xe.createElement(xe.Fragment, null, /* @__PURE__ */ xe.createElement(E, {
2411
2411
  rootCls: x,
2412
2412
  cssVar: A,
2413
2413
  component: f
2414
2414
  }), _) : _;
2415
2415
  }, A == null ? void 0 : A.key];
2416
2416
  };
2417
- return b;
2417
+ return S;
2418
2418
  }
2419
2419
  function u(f, m, h) {
2420
- var g = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, v = Array.isArray(f) ? f : [f, f], y = N(v, 1), S = y[0], C = v.join("-"), T = e.layer || {
2420
+ var g = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, v = Array.isArray(f) ? f : [f, f], y = N(v, 1), b = y[0], C = v.join("-"), E = e.layer || {
2421
2421
  name: "antd"
2422
2422
  };
2423
- return function(b) {
2424
- var E = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : b, x = n(), k = x.theme, A = x.realToken, _ = x.hashId, L = x.token, I = x.cssVar, $ = o(), M = $.rootPrefixCls, j = $.iconPrefixCls, H = t(), F = I ? "css" : "js", z = Qs(function() {
2423
+ return function(S) {
2424
+ var T = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : S, x = n(), k = x.theme, A = x.realToken, _ = x.hashId, L = x.token, I = x.cssVar, $ = o(), M = $.rootPrefixCls, j = $.iconPrefixCls, H = t(), F = I ? "css" : "js", z = Qs(function() {
2425
2425
  var Y = /* @__PURE__ */ new Set();
2426
2426
  return I && Object.keys(g.unitless || {}).forEach(function(ce) {
2427
- Y.add(Mt(ce, I.prefix)), Y.add(Mt(ce, vn(S, I.prefix)));
2427
+ Y.add(Mt(ce, I.prefix)), Y.add(Mt(ce, vn(b, I.prefix)));
2428
2428
  }), Xs(F, Y);
2429
- }, [F, S, I == null ? void 0 : I.prefix]), W = Ks(F), X = W.max, G = W.min, U = {
2429
+ }, [F, b, I == null ? void 0 : I.prefix]), W = Ks(F), X = W.max, G = W.min, U = {
2430
2430
  theme: k,
2431
2431
  token: L,
2432
2432
  hashId: _,
@@ -2434,7 +2434,7 @@ function Js(e) {
2434
2434
  return H.nonce;
2435
2435
  },
2436
2436
  clientOnly: g.clientOnly,
2437
- layer: T,
2437
+ layer: E,
2438
2438
  // antd is always at top of styles
2439
2439
  order: g.order || -999
2440
2440
  };
@@ -2451,19 +2451,19 @@ function Js(e) {
2451
2451
  });
2452
2452
  });
2453
2453
  var B = hr(w(w({}, U), {}, {
2454
- path: [C, b, j]
2454
+ path: [C, S, j]
2455
2455
  }), function() {
2456
2456
  if (g.injectStyle === !1)
2457
2457
  return [];
2458
- var Y = Gs(L), ce = Y.token, he = Y.flush, oe = mn(S, A, h), K = ".".concat(b), q = pn(S, A, oe, {
2458
+ var Y = Gs(L), ce = Y.token, he = Y.flush, oe = mn(b, A, h), K = ".".concat(S), q = pn(b, A, oe, {
2459
2459
  deprecatedTokens: g.deprecatedTokens
2460
2460
  });
2461
2461
  I && oe && J(oe) === "object" && Object.keys(oe).forEach(function(Pe) {
2462
- oe[Pe] = "var(".concat(Mt(Pe, vn(S, I.prefix)), ")");
2462
+ oe[Pe] = "var(".concat(Mt(Pe, vn(b, I.prefix)), ")");
2463
2463
  });
2464
2464
  var ie = mo(ce, {
2465
2465
  componentCls: K,
2466
- prefixCls: b,
2466
+ prefixCls: S,
2467
2467
  iconCls: ".".concat(j),
2468
2468
  antCls: ".".concat(M),
2469
2469
  calc: z,
@@ -2473,12 +2473,12 @@ function Js(e) {
2473
2473
  min: G
2474
2474
  }, I ? oe : q), Te = m(ie, {
2475
2475
  hashId: _,
2476
- prefixCls: b,
2476
+ prefixCls: S,
2477
2477
  rootPrefixCls: M,
2478
2478
  iconPrefixCls: j
2479
2479
  });
2480
- he(S, q);
2481
- var ve = typeof a == "function" ? a(ie, b, E, g.resetFont) : null;
2480
+ he(b, q);
2481
+ var ve = typeof a == "function" ? a(ie, S, T, g.resetFont) : null;
2482
2482
  return [g.resetStyle === !1 ? null : ve, Te];
2483
2483
  });
2484
2484
  return [B, _];
@@ -2490,8 +2490,8 @@ function Js(e) {
2490
2490
  // Sub Style should default after root one
2491
2491
  order: -998
2492
2492
  }, g)), y = function(C) {
2493
- var T = C.prefixCls, b = C.rootCls, E = b === void 0 ? T : b;
2494
- return v(T, E), null;
2493
+ var E = C.prefixCls, S = C.rootCls, T = S === void 0 ? E : S;
2494
+ return v(E, T), null;
2495
2495
  };
2496
2496
  return process.env.NODE_ENV !== "production" && (y.displayName = "SubStyle_".concat(String(Array.isArray(f) ? f.join(".") : f))), y;
2497
2497
  }
@@ -3130,7 +3130,7 @@ const Oc = function(e, r, t) {
3130
3130
  }, []), [d, i];
3131
3131
  };
3132
3132
  function _c(e, r, t, n) {
3133
- var o = n.motionEnter, i = o === void 0 ? !0 : o, a = n.motionAppear, c = a === void 0 ? !0 : a, l = n.motionLeave, s = l === void 0 ? !0 : l, u = n.motionDeadline, d = n.motionLeaveImmediately, f = n.onAppearPrepare, m = n.onEnterPrepare, h = n.onLeavePrepare, g = n.onAppearStart, v = n.onEnterStart, y = n.onLeaveStart, S = n.onAppearActive, C = n.onEnterActive, T = n.onLeaveActive, b = n.onAppearEnd, E = n.onEnterEnd, x = n.onLeaveEnd, k = n.onVisibleChanged, A = Er(), _ = N(A, 2), L = _[0], I = _[1], $ = hc(Ae), M = N($, 2), j = M[0], H = M[1], F = Er(null), z = N(F, 2), W = z[0], X = z[1], G = j(), U = je(!1), B = je(null);
3133
+ var o = n.motionEnter, i = o === void 0 ? !0 : o, a = n.motionAppear, c = a === void 0 ? !0 : a, l = n.motionLeave, s = l === void 0 ? !0 : l, u = n.motionDeadline, d = n.motionLeaveImmediately, f = n.onAppearPrepare, m = n.onEnterPrepare, h = n.onLeavePrepare, g = n.onAppearStart, v = n.onEnterStart, y = n.onLeaveStart, b = n.onAppearActive, C = n.onEnterActive, E = n.onLeaveActive, S = n.onAppearEnd, T = n.onEnterEnd, x = n.onLeaveEnd, k = n.onVisibleChanged, A = Er(), _ = N(A, 2), L = _[0], I = _[1], $ = hc(Ae), M = N($, 2), j = M[0], H = M[1], F = Er(null), z = N(F, 2), W = z[0], X = z[1], G = j(), U = je(!1), B = je(null);
3134
3134
  function Y() {
3135
3135
  return t();
3136
3136
  }
@@ -3144,17 +3144,17 @@ function _c(e, r, t, n) {
3144
3144
  var ue = Y();
3145
3145
  if (!(ne && !ne.deadline && ne.target !== ue)) {
3146
3146
  var Fe = ce.current, We;
3147
- ee === _t && Fe ? We = b == null ? void 0 : b(ue, ne) : ee === wt && Fe ? We = E == null ? void 0 : E(ue, ne) : ee === Pt && Fe && (We = x == null ? void 0 : x(ue, ne)), Fe && We !== !1 && he();
3147
+ ee === _t && Fe ? We = S == null ? void 0 : S(ue, ne) : ee === wt && Fe ? We = T == null ? void 0 : T(ue, ne) : ee === Pt && Fe && (We = x == null ? void 0 : x(ue, ne)), Fe && We !== !1 && he();
3148
3148
  }
3149
3149
  }
3150
3150
  }), K = xc(oe), q = N(K, 1), ie = q[0], Te = function(ee) {
3151
3151
  switch (ee) {
3152
3152
  case _t:
3153
- return R(R(R({}, pe, f), Ke, g), qe, S);
3153
+ return R(R(R({}, pe, f), Ke, g), qe, b);
3154
3154
  case wt:
3155
3155
  return R(R(R({}, pe, m), Ke, v), qe, C);
3156
3156
  case Pt:
3157
- return R(R(R({}, pe, h), Ke, y), qe, T);
3157
+ return R(R(R({}, pe, h), Ke, y), qe, E);
3158
3158
  default:
3159
3159
  return {};
3160
3160
  }
@@ -3213,18 +3213,18 @@ function wc(e) {
3213
3213
  return !!(o.motionName && r && i !== !1);
3214
3214
  }
3215
3215
  var n = /* @__PURE__ */ p.forwardRef(function(o, i) {
3216
- var a = o.visible, c = a === void 0 ? !0 : a, l = o.removeOnLeave, s = l === void 0 ? !0 : l, u = o.forceRender, d = o.children, f = o.motionName, m = o.leavedClassName, h = o.eventProps, g = p.useContext(Co), v = g.motion, y = t(o, v), S = je(), C = je();
3217
- function T() {
3216
+ var a = o.visible, c = a === void 0 ? !0 : a, l = o.removeOnLeave, s = l === void 0 ? !0 : l, u = o.forceRender, d = o.children, f = o.motionName, m = o.leavedClassName, h = o.eventProps, g = p.useContext(Co), v = g.motion, y = t(o, v), b = je(), C = je();
3217
+ function E() {
3218
3218
  try {
3219
- return S.current instanceof HTMLElement ? S.current : vc(C.current);
3219
+ return b.current instanceof HTMLElement ? b.current : vc(C.current);
3220
3220
  } catch {
3221
3221
  return null;
3222
3222
  }
3223
3223
  }
3224
- var b = _c(y, c, T, o), E = N(b, 4), x = E[0], k = E[1], A = E[2], _ = E[3], L = p.useRef(_);
3224
+ var S = _c(y, c, E, o), T = N(S, 4), x = T[0], k = T[1], A = T[2], _ = T[3], L = p.useRef(_);
3225
3225
  _ && (L.current = !0);
3226
3226
  var I = p.useCallback(function(z) {
3227
- S.current = z, oi(i, z);
3227
+ b.current = z, oi(i, z);
3228
3228
  }, [i]), $, M = w(w({}, h), {}, {
3229
3229
  visible: c
3230
3230
  });
@@ -3354,20 +3354,20 @@ function Nc(e) {
3354
3354
  return Rc.forEach(function(v) {
3355
3355
  g[v] = m[v], delete m[v];
3356
3356
  }), delete m.keys, /* @__PURE__ */ p.createElement(h, m, l.map(function(v, y) {
3357
- var S = v.status, C = sr(v, $c), T = S === kr || S === Or;
3357
+ var b = v.status, C = sr(v, $c), E = b === kr || b === Or;
3358
3358
  return /* @__PURE__ */ p.createElement(r, He({}, g, {
3359
3359
  key: C.key,
3360
- visible: T,
3360
+ visible: E,
3361
3361
  eventProps: C,
3362
- onVisibleChanged: function(E) {
3363
- f == null || f(E, {
3362
+ onVisibleChanged: function(T) {
3363
+ f == null || f(T, {
3364
3364
  key: C.key
3365
- }), E || c.removeKey(C.key);
3365
+ }), T || c.removeKey(C.key);
3366
3366
  }
3367
- }), function(b, E) {
3368
- return d(w(w({}, b), {}, {
3367
+ }), function(S, T) {
3368
+ return d(w(w({}, S), {}, {
3369
3369
  index: y
3370
- }), E);
3370
+ }), T);
3371
3371
  });
3372
3372
  }));
3373
3373
  }
@@ -3454,11 +3454,11 @@ const Bc = (e) => {
3454
3454
  popupOverflow: g,
3455
3455
  legacyLocale: v,
3456
3456
  parentContext: y,
3457
- iconPrefixCls: S,
3457
+ iconPrefixCls: b,
3458
3458
  theme: C,
3459
- componentDisabled: T,
3460
- segmented: b,
3461
- statistic: E,
3459
+ componentDisabled: E,
3460
+ segmented: S,
3461
+ statistic: T,
3462
3462
  spin: x,
3463
3463
  calendar: k,
3464
3464
  carousel: A,
@@ -3524,7 +3524,7 @@ const Bc = (e) => {
3524
3524
  return re;
3525
3525
  const be = ye || y.getPrefixCls("");
3526
3526
  return Q ? `${be}-${Q}` : be;
3527
- }, [y.getPrefixCls, e.prefixCls]), yt = S || y.iconPrefixCls || Nr, bt = t || y.csp;
3527
+ }, [y.getPrefixCls, e.prefixCls]), yt = b || y.iconPrefixCls || Nr, bt = t || y.csp;
3528
3528
  sc(yt, bt);
3529
3529
  const St = fc(C, y.theme, {
3530
3530
  prefixCls: Vr("")
@@ -3545,8 +3545,8 @@ const Bc = (e) => {
3545
3545
  getPrefixCls: Vr,
3546
3546
  iconPrefixCls: yt,
3547
3547
  theme: St,
3548
- segmented: b,
3549
- statistic: E,
3548
+ segmented: S,
3549
+ statistic: T,
3550
3550
  spin: x,
3551
3551
  calendar: k,
3552
3552
  carousel: A,
@@ -3669,8 +3669,8 @@ const Bc = (e) => {
3669
3669
  value: ca
3670
3670
  }, te)), Ue.warning && (te = /* @__PURE__ */ p.createElement(ao.Provider, {
3671
3671
  value: Ue.warning
3672
- }, te)), T !== void 0 && (te = /* @__PURE__ */ p.createElement(Ds, {
3673
- disabled: T
3672
+ }, te)), E !== void 0 && (te = /* @__PURE__ */ p.createElement(Ds, {
3673
+ disabled: E
3674
3674
  }, te)), /* @__PURE__ */ p.createElement(Ee.Provider, {
3675
3675
  value: Ue
3676
3676
  }, te);
@@ -3953,19 +3953,19 @@ const _n = {
3953
3953
  onCollapse: g,
3954
3954
  onBreakpoint: v
3955
3955
  } = e, y = Gc(e, ["prefixCls", "className", "trigger", "children", "defaultCollapsed", "theme", "style", "collapsible", "reverseArrow", "width", "collapsedWidth", "zeroWidthTriggerStyle", "breakpoint", "onCollapse", "onBreakpoint"]), {
3956
- siderHook: S
3957
- } = Ie(Lo), [C, T] = Ur("collapsed" in e ? e.collapsed : a), [b, E] = Ur(!1);
3956
+ siderHook: b
3957
+ } = Ie(Lo), [C, E] = Ur("collapsed" in e ? e.collapsed : a), [S, T] = Ur(!1);
3958
3958
  Ne(() => {
3959
- "collapsed" in e && T(e.collapsed);
3959
+ "collapsed" in e && E(e.collapsed);
3960
3960
  }, [e.collapsed]);
3961
3961
  const x = (K, q) => {
3962
- "collapsed" in e || T(K), g == null || g(K, q);
3962
+ "collapsed" in e || E(K), g == null || g(K, q);
3963
3963
  }, {
3964
3964
  getPrefixCls: k,
3965
3965
  direction: A
3966
3966
  } = Ie(Ee), _ = k("layout-sider", t), [L, I, $] = Uc(_), M = je(null);
3967
3967
  M.current = (K) => {
3968
- E(K.matches), v == null || v(K.matches), C !== K.matches && x(K.matches, "responsive");
3968
+ T(K.matches), v == null || v(K.matches), C !== K.matches && x(K.matches, "responsive");
3969
3969
  }, Ne(() => {
3970
3970
  function K(ie) {
3971
3971
  return M.current(ie);
@@ -3994,7 +3994,7 @@ const _n = {
3994
3994
  };
3995
3995
  }, [h]), Ne(() => {
3996
3996
  const K = qc("ant-sider-");
3997
- return S.addSider(K), () => S.removeSider(K);
3997
+ return b.addSider(K), () => b.removeSider(K);
3998
3998
  }, []);
3999
3999
  const j = () => {
4000
4000
  x(!C, "clickTrigger");
@@ -4019,7 +4019,7 @@ const _n = {
4019
4019
  }), he = Je(_, `${_}-${c}`, {
4020
4020
  [`${_}-collapsed`]: !!C,
4021
4021
  [`${_}-has-trigger`]: s && o !== null && !W,
4022
- [`${_}-below`]: !!b,
4022
+ [`${_}-below`]: !!S,
4023
4023
  [`${_}-zero-width`]: parseFloat(z) === 0
4024
4024
  }, n, I, $), oe = p.useMemo(() => ({
4025
4025
  siderCollapsed: C
@@ -4033,7 +4033,7 @@ const _n = {
4033
4033
  ref: r
4034
4034
  }), /* @__PURE__ */ p.createElement("div", {
4035
4035
  className: `${_}-children`
4036
- }, i), s || b && W ? Y : null)));
4036
+ }, i), s || S && W ? Y : null)));
4037
4037
  });
4038
4038
  process.env.NODE_ENV !== "production" && (zr.displayName = "Sider");
4039
4039
  function Yc(e, r, t) {
@@ -4089,10 +4089,10 @@ const Dr = /* @__PURE__ */ p.forwardRef((e, r) => {
4089
4089
  getPrefixCls: h,
4090
4090
  className: g,
4091
4091
  style: v
4092
- } = Ns("layout"), y = h("layout", i), S = Yc(n, l, s), [C, T, b] = Vo(y), E = Je(y, {
4093
- [`${y}-has-sider`]: S,
4092
+ } = Ns("layout"), y = h("layout", i), b = Yc(n, l, s), [C, E, S] = Vo(y), T = Je(y, {
4093
+ [`${y}-has-sider`]: b,
4094
4094
  [`${y}-rtl`]: t === "rtl"
4095
- }, g, a, c, T, b), x = p.useMemo(() => ({
4095
+ }, g, a, c, E, S), x = p.useMemo(() => ({
4096
4096
  siderHook: {
4097
4097
  addSider: (k) => {
4098
4098
  o((A) => [].concat(Ce(A), [k]));
@@ -4106,7 +4106,7 @@ const Dr = /* @__PURE__ */ p.forwardRef((e, r) => {
4106
4106
  value: x
4107
4107
  }, /* @__PURE__ */ p.createElement(u, Object.assign({
4108
4108
  ref: r,
4109
- className: E,
4109
+ className: T,
4110
4110
  style: Object.assign(Object.assign({}, v), d)
4111
4111
  }, m), l)));
4112
4112
  }), Zc = Kt({
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { e as o, g as e, B as r, C as t, f as l, d as p, D as d, F as n, L as T, M as i, P as C, R as F, c as b, S as m, T as x, b as y, a as M, t as c } from "./chunks/Layout-Ch_h9l7q.js";
1
+ import { e as o, g as e, B as r, C as t, f as l, d as p, D as d, F as n, L as T, M as i, P as C, R as F, c as b, S as m, T as x, b as y, a as M, t as c } from "./chunks/Layout-DiFWE7Vg.js";
2
2
  import { E as g, L as u, T as B } from "./chunks/createSuper-COi32LGt.js";
3
3
  import { I as P, P as E, T as S } from "./chunks/Switch-CV_omX2f.js";
4
4
  export {
@@ -356,7 +356,7 @@ declare type TabItem = {
356
356
  disabled?: boolean;
357
357
  };
358
358
 
359
- export declare const Table: <T extends RowCommon>({ data, columns, loading, totalItems, filters, onChangePage, onChangePageSize, onSort, rowsSelected, onSelect, onRowClick, ...rest }: TableCommonProps<T>) => JSX.Element;
359
+ export declare const Table: <T extends RowCommon>({ data, columns, loading, totalItems, filters, onChangePage, onChangePageSize, onSort, rowsSelected, onSelect, onRowClick, rowKey, ...rest }: TableCommonProps<T>) => JSX.Element;
360
360
 
361
361
  export declare interface TableCommonProps<T> extends TableProps<T> {
362
362
  data: T[];
@@ -228,7 +228,7 @@ declare type TabItem = {
228
228
  disabled?: boolean;
229
229
  };
230
230
 
231
- export declare const Table: <T extends RowCommon>({ data, columns, loading, totalItems, filters, onChangePage, onChangePageSize, onSort, rowsSelected, onSelect, onRowClick, ...rest }: TableCommonProps<T>) => JSX.Element;
231
+ export declare const Table: <T extends RowCommon>({ data, columns, loading, totalItems, filters, onChangePage, onChangePageSize, onSort, rowsSelected, onSelect, onRowClick, rowKey, ...rest }: TableCommonProps<T>) => JSX.Element;
232
232
 
233
233
  export declare interface TableCommonProps<T> extends TableProps<T> {
234
234
  data: T[];
package/dist/ui/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { e as o, g as e, B as r, C as t, f as l, d as p, D as d, F as T, L as b, M as n, P as C, R as F, c, S as g, T as i, b as m, a as y, t as B } from "../chunks/Layout-Ch_h9l7q.js";
1
+ import { e as o, g as e, B as r, C as t, f as l, d as p, D as d, F as T, L as b, M as n, P as C, R as F, c, S as g, T as i, b as m, a as y, t as B } from "../chunks/Layout-DiFWE7Vg.js";
2
2
  import { E as M, L as f, T as u } from "../chunks/createSuper-COi32LGt.js";
3
3
  export {
4
4
  o as Badge,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pnkx-lib/ui",
3
3
  "private": false,
4
- "version": "1.0.7",
4
+ "version": "1.0.8",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "exports": {