@unicom-cloud/ui 0.8.100 → 0.8.101

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.
Files changed (188) hide show
  1. package/Details.js +13 -2
  2. package/Divider.js +3 -2
  3. package/Flex.js +14 -4
  4. package/Loading.js +16 -3
  5. package/Space.js +3 -3
  6. package/Splitter.js +4 -3
  7. package/SuspenseFallbackTest.js +2 -4
  8. package/alert/index.js +60 -62
  9. package/back-top/index.js +32 -33
  10. package/calendar/index.js +85 -84
  11. package/components/common/development/index.js +44 -29
  12. package/components/common/empty/index.js +35 -23
  13. package/components/common/flex/index.js +64 -0
  14. package/components/common/flex/interface.js +9 -0
  15. package/components/common/higher-order/with-speech-synthesis/index.js +79 -55
  16. package/components/common/space/index.js +71 -91
  17. package/components/common/suspense-fallback-test/index.js +16 -0
  18. package/components/common/utils/toArray.js +12 -0
  19. package/details/index.js +102 -62
  20. package/divider/index.js +27 -21
  21. package/empty/index.js +13 -13
  22. package/flex/index.js +43 -55
  23. package/flex/interface.js +1 -34
  24. package/icon/interface.js +1 -0
  25. package/icon-hover/interface.js +1 -0
  26. package/index.js +537 -536
  27. package/loading/index.js +72 -53
  28. package/loading/interface.js +1 -0
  29. package/modal/Modal.js +73 -74
  30. package/package.json +1 -1
  31. package/portal/interface.js +1 -0
  32. package/segmented/index.js +47 -47
  33. package/space/index.js +41 -35
  34. package/speech-synthesis/interface.js +1 -0
  35. package/splitter/Splitter.js +85 -89
  36. package/splitter/hooks/useItems.js +1 -1
  37. package/splitter/index.js +5 -4
  38. package/style.css +1 -1
  39. package/suspense-fallback-test/index.js +2 -11
  40. package/suspense-fallback-test/interface.js +1 -0
  41. package/table/Table.js +38 -38
  42. package/trigger/index.js +67 -70
  43. package/types/common/development/index.d.ts +7 -1
  44. package/types/common/development/interface.d.ts +22 -0
  45. package/types/common/empty/index.d.ts +2 -1
  46. package/types/common/flex/index.d.ts +14 -0
  47. package/types/common/flex/interface.d.ts +62 -0
  48. package/types/common/higher-order/with-speech-synthesis/index.d.ts +6 -1
  49. package/types/common/higher-order/with-speech-synthesis/interface.d.ts +13 -0
  50. package/types/common/space/index.d.ts +4 -4
  51. package/types/common/space/interface.d.ts +10 -18
  52. package/types/common/suspense-fallback-test/index.d.ts +7 -0
  53. package/types/common/suspense-fallback-test/interface.d.ts +1 -0
  54. package/types/common/utils/PqbCSSTransition.d.ts +1 -1
  55. package/types/common/utils/toArray.d.ts +13 -0
  56. package/types/pc/alert/index.d.ts +2 -1
  57. package/types/pc/alert/interface.d.ts +7 -1
  58. package/types/pc/badge/Count.d.ts +1 -1
  59. package/types/pc/breadcrumb/Item.d.ts +1 -1
  60. package/types/pc/calendar/Month.d.ts +1 -1
  61. package/types/pc/calendar/WeekList.d.ts +1 -1
  62. package/types/pc/calendar/Year.d.ts +1 -1
  63. package/types/pc/calendar/header/Panel.d.ts +1 -1
  64. package/types/pc/calendar/header/index.d.ts +1 -1
  65. package/types/pc/calendar/index.d.ts +1 -1
  66. package/types/pc/calendar/interface.d.ts +2 -1
  67. package/types/pc/cascader/interface.d.ts +1 -1
  68. package/types/pc/cascader/panel/List.d.ts +1 -1
  69. package/types/pc/cascader/panel/Option.d.ts +1 -1
  70. package/types/pc/cascader/panel/Search.d.ts +1 -1
  71. package/types/pc/checkbox/Group.d.ts +2 -2
  72. package/types/pc/checkbox/GroupBlock.d.ts +1 -1
  73. package/types/pc/checkbox/IconCheck.d.ts +1 -1
  74. package/types/pc/color-picker/InputRgb.d.ts +1 -1
  75. package/types/pc/color-picker/Palette.d.ts +1 -1
  76. package/types/pc/config-provider/ConfigProvider.d.ts +1 -1
  77. package/types/pc/config-provider/interface.d.ts +4 -0
  78. package/types/pc/copy/index.d.ts +1 -1
  79. package/types/pc/date-picker/panel/Body.d.ts +1 -1
  80. package/types/pc/date-picker/panel/Footer.d.ts +1 -1
  81. package/types/pc/date-picker/panel/Header.d.ts +1 -1
  82. package/types/pc/date-picker/panel/WeekList.d.ts +1 -1
  83. package/types/pc/date-picker/panel/date/index.d.ts +1 -1
  84. package/types/pc/date-picker/panel/month/index.d.ts +1 -1
  85. package/types/pc/date-picker/panel/quarter/index.d.ts +1 -1
  86. package/types/pc/date-picker/panel/range/index.d.ts +1 -1
  87. package/types/pc/date-picker/panel/week/index.d.ts +1 -1
  88. package/types/pc/date-picker/panel/year/index.d.ts +1 -1
  89. package/types/pc/descriptions/index.d.ts +1 -1
  90. package/types/pc/details/index.d.ts +3 -2
  91. package/types/pc/details/interface.d.ts +16 -0
  92. package/types/pc/development/index.d.ts +2 -1
  93. package/types/pc/development/interface.d.ts +15 -0
  94. package/types/pc/divider/index.d.ts +7 -2
  95. package/types/pc/draggable/Item.d.ts +1 -1
  96. package/types/pc/draggable/index.d.ts +1 -1
  97. package/types/pc/flex/index.d.ts +4 -4
  98. package/types/pc/flex/interface.d.ts +8 -53
  99. package/types/pc/form/Control.d.ts +1 -1
  100. package/types/pc/form/FormList.d.ts +1 -1
  101. package/types/pc/form/IconSymbol.d.ts +1 -1
  102. package/types/pc/icon/addFromIconFontCn.d.ts +1 -7
  103. package/types/pc/icon/index.d.ts +2 -7
  104. package/types/pc/icon/interface.d.ts +13 -0
  105. package/types/pc/icon-hover/index.d.ts +2 -8
  106. package/types/pc/icon-hover/interface.d.ts +8 -0
  107. package/types/pc/image/ImageFooter.d.ts +1 -1
  108. package/types/pc/image/ImagePreviewArrow.d.ts +1 -1
  109. package/types/pc/image/TriggerForToolbar.d.ts +1 -1
  110. package/types/pc/index.d.ts +60 -51
  111. package/types/pc/loading/index.d.ts +4 -3
  112. package/types/pc/loading/interface.d.ts +6 -0
  113. package/types/pc/menu/Indent.d.ts +1 -1
  114. package/types/pc/menu/OverflowWrap.d.ts +1 -1
  115. package/types/pc/menu/sub-menu/Inline.d.ts +1 -1
  116. package/types/pc/menu/sub-menu/Pop.d.ts +1 -1
  117. package/types/pc/overflow-ellipsis/OverflowItem.d.ts +1 -1
  118. package/types/pc/overflow-ellipsis/index.d.ts +1 -1
  119. package/types/pc/pagination/PageItem.d.ts +3 -3
  120. package/types/pc/pagination/PageJumper.d.ts +1 -1
  121. package/types/pc/pagination/PageOption.d.ts +1 -1
  122. package/types/pc/portal/Portal.d.ts +2 -6
  123. package/types/pc/portal/index.d.ts +2 -9
  124. package/types/pc/portal/interface.d.ts +14 -0
  125. package/types/pc/progress/CircleProgress.d.ts +1 -1
  126. package/types/pc/progress/LineProgess.d.ts +1 -1
  127. package/types/pc/progress/StepProgress.d.ts +1 -1
  128. package/types/pc/radio/Group.d.ts +2 -2
  129. package/types/pc/radio/GroupBlock.d.ts +1 -1
  130. package/types/pc/radio/Radio.d.ts +1 -1
  131. package/types/pc/resize-box/ResizeTrigger.d.ts +1 -1
  132. package/types/pc/result/403.d.ts +1 -1
  133. package/types/pc/result/404.d.ts +1 -1
  134. package/types/pc/result/500.d.ts +1 -1
  135. package/types/pc/segmented/interface.d.ts +6 -6
  136. package/types/pc/skeleton/Image.d.ts +1 -1
  137. package/types/pc/skeleton/Text.d.ts +2 -1
  138. package/types/pc/slider/Button.d.ts +1 -1
  139. package/types/pc/slider/Input.d.ts +1 -1
  140. package/types/pc/slider/Tick.d.ts +1 -1
  141. package/types/pc/space/index.d.ts +6 -5
  142. package/types/pc/speech-synthesis/index.d.ts +3 -1
  143. package/types/pc/speech-synthesis/interface.d.ts +7 -0
  144. package/types/pc/spin/DotLoading.d.ts +1 -1
  145. package/types/pc/splitter/index.d.ts +5 -4
  146. package/types/pc/splitter/interface.d.ts +16 -16
  147. package/types/pc/suspense-fallback-test/index.d.ts +2 -3
  148. package/types/pc/suspense-fallback-test/interface.d.ts +2 -0
  149. package/types/pc/table/ColGroup.d.ts +1 -1
  150. package/types/pc/table/summary/Cell.d.ts +1 -1
  151. package/types/pc/table/summary/Row.d.ts +1 -1
  152. package/types/pc/table/tbody/Td.d.ts +1 -1
  153. package/types/pc/table/tbody/index.d.ts +1 -1
  154. package/types/pc/table/tfoot/index.d.ts +1 -1
  155. package/types/pc/table/th-resizable/index.d.ts +1 -1
  156. package/types/pc/table/thead/Column.d.ts +1 -1
  157. package/types/pc/table/thead/index.d.ts +1 -1
  158. package/types/pc/tabs/TabContent.d.ts +1 -1
  159. package/types/pc/tabs/tab-header/DropdownIcon.d.ts +1 -1
  160. package/types/pc/tabs/tab-header/TabInk.d.ts +1 -1
  161. package/types/pc/tabs/tab-header/TabNavIcon.d.ts +1 -1
  162. package/types/pc/time-picker/Picker.d.ts +1 -1
  163. package/types/pc/time-picker/RangePicker.d.ts +1 -1
  164. package/types/pc/time-picker/TimeColumn.d.ts +1 -1
  165. package/types/pc/time-picker/TimePicker.d.ts +1 -1
  166. package/types/pc/time-picker/index.d.ts +1 -1
  167. package/types/pc/transfer/Item.d.ts +1 -1
  168. package/types/pc/transfer/List.d.ts +1 -1
  169. package/types/pc/tree/Animation.d.ts +1 -1
  170. package/types/pc/typography/Operations.d.ts +1 -1
  171. package/types/pc/upload/list/index.d.ts +1 -1
  172. package/types/pc/utils/toArray.d.ts +1 -5
  173. package/types/pc/verification-code/VerificationCode.d.ts +1 -1
  174. package/types/pc/virtual-list/VirtualList.d.ts +2 -38
  175. package/types/pc/virtual-list/index.d.ts +2 -1
  176. package/types/pc/virtual-list/interface.d.ts +56 -0
  177. package/types/pc/watermark/Watermark.d.ts +1 -1
  178. package/utils/index.js +1 -1
  179. package/utils/toArray.js +3 -10
  180. package/version/index.js +1 -1
  181. package/virtual-list/interface.js +1 -0
  182. package/components/common/space/toArray.js +0 -11
  183. package/flex/utils.js +0 -13
  184. package/loading/style/index.module.less.js +0 -4
  185. package/types/common/space/toArray.d.ts +0 -3
  186. package/types/pc/flex/utils.d.ts +0 -9
  187. package/types/pc/suspense-fallback-test/style/index.d.ts +0 -1
  188. /package/{suspense-fallback-test/style/index.less.js → development/interface.js} +0 -0
@@ -1,13 +1,4 @@
1
- import "./style/index.less.js";
2
- import e, { useImperativeHandle as t, useEffect as o } from "react";
3
- function a(n, r) {
4
- return t(r, () => ({})), o(() => () => {
5
- }, []), e.createElement(
6
- e.lazy(() => new Promise((s, m) => {
7
- }))
8
- );
9
- }
10
- const l = e.memo(e.forwardRef(a));
1
+ import a from "../components/common/suspense-fallback-test/index.js";
11
2
  export {
12
- l as default
3
+ a as default
13
4
  };
package/table/Table.js CHANGED
@@ -49,7 +49,7 @@ function ko(ce, st) {
49
49
  renderEmpty: at,
50
50
  componentConfig: ae,
51
51
  rtl: F
52
- } = fo(Lo), b = Ze(
52
+ } = fo(Lo), m = Ze(
53
53
  ce,
54
54
  Ho,
55
55
  ae?.Table
@@ -61,10 +61,10 @@ function ko(ce, st) {
61
61
  style: ft,
62
62
  className: dt,
63
63
  component: ut,
64
- border: h,
64
+ border: b,
65
65
  borderCell: fe,
66
66
  columns: ve = Ro,
67
- data: m = zo,
67
+ data: g = zo,
68
68
  scroll: i,
69
69
  noDataElement: pt,
70
70
  showHeader: mt,
@@ -84,10 +84,10 @@ function ko(ce, st) {
84
84
  renderPagination: Le,
85
85
  summary: de,
86
86
  rowKey: Y
87
- } = b, ze = ne(
88
- () => vo(m, H),
89
- [m, H]
90
- ), n = it?.("table"), ue = b.size || (["default", "middle", "small", "mini"].indexOf(Ne) > -1 ? Ne : "default"), D = w(null), u = w(null), pe = w(null), g = w(null), E = w(null), me = w(null), K = w(null), j = w(0), ge = w(!1), [Re, f] = bo(b), { currentFilters: Ct, defaultSorters: xt } = zt(), [O, ye] = V(1), [St, wt] = V(
87
+ } = m, ze = ne(
88
+ () => vo(g, H),
89
+ [g, H]
90
+ ), n = it?.("table"), ue = m.size || (["default", "middle", "small", "mini"].indexOf(Ne) > -1 ? Ne : "default"), D = w(null), u = w(null), pe = w(null), y = w(null), E = w(null), me = w(null), K = w(null), j = w(0), ge = w(!1), [Re, f] = bo(m), { currentFilters: Ct, defaultSorters: xt } = zt(), [O, ye] = V(1), [St, wt] = V(
91
91
  N.pageSize || N.defaultPageSize || 10
92
92
  ), [He, ke] = V(Ct), [Pt, Tt] = V(0), [$t, Ft] = V([]), he = To(f), [Nt, Ee] = Po(
93
93
  Re,
@@ -112,8 +112,8 @@ function ko(ce, st) {
112
112
  priority: s
113
113
  };
114
114
  c ? Je(s) ? t.every(
115
- (y) => Je(y.priority) || !y.direction
116
- ) && t.push(l) : t.every((y) => !y.direction) ? t.push(l) : t = [l] : t.push(l);
115
+ (h) => Je(h.priority) || !h.direction
116
+ ) && t.push(l) : t.every((h) => !h.direction) ? t.push(l) : t = [l] : t.push(l);
117
117
  }
118
118
  }), { currentFilters: e, defaultSorters: t };
119
119
  }
@@ -151,16 +151,16 @@ function ko(ce, st) {
151
151
  function Ht(e) {
152
152
  const t = function(r, s) {
153
153
  return (c, l) => {
154
- const y = r(c, l);
155
- return s === "descend" ? -y : y;
154
+ const h = r(c, l);
155
+ return s === "descend" ? -h : h;
156
156
  };
157
157
  }, o = [...e];
158
158
  return o.sort((r, s) => s.priority - r.priority), (r, s) => {
159
159
  for (let c = 0, l = o.length; c < l; c++) {
160
- const { sorterFn: y, direction: $e } = o[c];
161
- if (typeof y != "function")
160
+ const { sorterFn: h, direction: $e } = o[c];
161
+ if (typeof h != "function")
162
162
  continue;
163
- const re = t(y, $e)(r, s);
163
+ const re = t(h, $e)(r, s);
164
164
  if (re !== 0)
165
165
  return re;
166
166
  }
@@ -221,8 +221,8 @@ function ko(ce, st) {
221
221
  Object.keys(o).forEach((c) => {
222
222
  if (o[c] && o[c].length) {
223
223
  const l = Ve(c);
224
- l && typeof l.onFilter == "function" && (r = r.filter((y) => o[c].reduce(
225
- ($e, re) => $e || l.onFilter(re, y),
224
+ l && typeof l.onFilter == "function" && (r = r.filter((h) => o[c].reduce(
225
+ ($e, re) => $e || l.onFilter(re, h),
226
226
  !1
227
227
  )));
228
228
  }
@@ -269,12 +269,12 @@ function ko(ce, st) {
269
269
  const Z = L(), z = I();
270
270
  function I(e = B, t = Z) {
271
271
  const { current: o = 0, pageSize: r = 10 } = t;
272
- return P === !1 || p(P) && m.length <= r ? e : e.slice((o - 1) * r, o * r);
272
+ return P === !1 || p(P) && g.length <= r ? e : e.slice((o - 1) * r, o * r);
273
273
  }
274
274
  const We = io(Ie, 100), S = !!(i && i.y), _ = de?.(C(B)), Ce = de && co.isValidElement(_) && _.props.fixed, Et = S && Ce;
275
275
  mo(() => {
276
276
  Ie(), se(window, "resize", We);
277
- const e = D.current, t = u.current, o = g.current;
277
+ const e = D.current, t = u.current, o = y.current;
278
278
  t && se(t, "scroll", R);
279
279
  const r = e && e.parentNode;
280
280
  return e && r && se(r, "scroll", R), o && se(o, "scroll", R), () => {
@@ -286,13 +286,13 @@ function ko(ce, st) {
286
286
  i?.x,
287
287
  i?.y,
288
288
  f.length,
289
- m
289
+ g
290
290
  ]), et(() => {
291
- const { total: e, pageSize: t } = L(m);
291
+ const { total: e, pageSize: t } = L(g);
292
292
  Math.ceil(e / t) < O && ye(1);
293
- }, [m?.length]), et(() => {
293
+ }, [g?.length]), et(() => {
294
294
  ee();
295
- }, [m, G, X, F]), uo(st, () => ({
295
+ }, [g, G, X, F]), uo(st, () => ({
296
296
  getRootDomElement: xe,
297
297
  scrollIntoView: (e) => {
298
298
  me.current && me.current.scrollTo({ key: e });
@@ -363,7 +363,7 @@ function ko(ce, st) {
363
363
  setSelectedRowKeys: Vt,
364
364
  allSelectedRowKeys: Mt,
365
365
  flattenData: Yt
366
- } = So(b, z, ze, be);
366
+ } = So(m, z, ze, be);
367
367
  function Ve(e) {
368
368
  return f.find((t, o) => typeof t.key < "u" ? typeof t.key == "number" && typeof e == "string" ? t.key.toString() === e : t.key === e : typeof t.dataIndex < "u" ? t.dataIndex === e : typeof e == "number" ? o === e : !1);
369
369
  }
@@ -398,7 +398,7 @@ function ko(ce, st) {
398
398
  }).start();
399
399
  }
400
400
  function R(e) {
401
- const { target: t } = e, o = u.current, r = D.current && D.current.parentNode, s = g.current;
401
+ const { target: t } = e, o = u.current, r = D.current && D.current.parentNode, s = y.current;
402
402
  t.scrollLeft !== j.current && (r && (r.scrollLeft = t.scrollLeft), o && (o.scrollLeft = t.scrollLeft), s && (s.scrollLeft = t.scrollLeft), ee()), j.current = e.target.scrollLeft;
403
403
  }
404
404
  function qt(e) {
@@ -406,7 +406,7 @@ function ko(ce, st) {
406
406
  t.scrollLeft !== j.current && (o.scrollLeft = t.scrollLeft, ee()), j.current = e.target.scrollLeft;
407
407
  }
408
408
  const [Me, Ut] = xo(
409
- b,
409
+ m,
410
410
  Yt,
411
411
  be
412
412
  );
@@ -419,16 +419,16 @@ function ko(ce, st) {
419
419
  function Gt() {
420
420
  requestAnimationFrame((e) => {
421
421
  const t = D.current && D.current.parentNode, o = Do(t);
422
- o && o > 0 && (t.style.marginBottom = `-${o}px`, t.style.paddingBottom = "0px", g.current && (g.current.style.marginBottom = `-${o}px`, g.current.style.paddingBottom = "0px")), setTimeout(() => {
422
+ o && o > 0 && (t.style.marginBottom = `-${o}px`, t.style.paddingBottom = "0px", y.current && (y.current.style.marginBottom = `-${o}px`, y.current.style.paddingBottom = "0px")), setTimeout(() => {
423
423
  const r = u.current;
424
- Bo(r) ? (ge.current = !0, t && (t.style.overflowY = "scroll", t.style.scrollSnapType = "y mandatory"), g.current && (g.current.style.overflowY = "scroll", g.current.style.overflowY = "y mandatory")) : t && ge.current && (ge.current = !1, t.style.overflowY = "auto", t.style.overflowY = "y mandatory", g.current && (g.current.style.overflowY = "auto", g.current.style.overflowY = "y mandatory"));
424
+ Bo(r) ? (ge.current = !0, t && (t.style.overflowY = "scroll", t.style.scrollSnapType = "y mandatory"), y.current && (y.current.style.overflowY = "scroll", y.current.style.overflowY = "y mandatory")) : t && ge.current && (ge.current = !1, t.style.overflowY = "auto", t.style.overflowY = "y mandatory", y.current && (y.current.style.overflowY = "auto", y.current.style.overflowY = "y mandatory"));
425
425
  }, 0);
426
426
  });
427
427
  }
428
428
  const Ke = /* @__PURE__ */ a(
429
429
  No,
430
430
  {
431
- ...b,
431
+ ...m,
432
432
  activeSorters: d,
433
433
  currentSorter: W,
434
434
  selectedRowKeys: Se,
@@ -480,7 +480,7 @@ function ko(ce, st) {
480
480
  ), qe = /* @__PURE__ */ a(
481
481
  $o,
482
482
  {
483
- ...b,
483
+ ...m,
484
484
  saveRef: (e) => pe.current = e,
485
485
  selectedRowKeys: Se,
486
486
  indeterminateKeys: Wt,
@@ -503,7 +503,7 @@ function ko(ce, st) {
503
503
  saveVirtualListRef: (e) => {
504
504
  v && (me.current = e, u.current = e?.dom);
505
505
  },
506
- ___dangerouslySetInnerHTML___: b.___dangerouslySetInnerHTML___
506
+ ___dangerouslySetInnerHTML___: m.___dangerouslySetInnerHTML___
507
507
  }
508
508
  ), Ue = !v && !Et ? /* @__PURE__ */ T(Fe, { children: [
509
509
  qe,
@@ -514,10 +514,10 @@ function ko(ce, st) {
514
514
  return () => {
515
515
  t();
516
516
  };
517
- }, [u.current, pe.current]), Qe(() => (console.table(m), () => {
518
- }), [m]), !ve.length) return null;
517
+ }, [u.current, pe.current]), Qe(() => (m.consoleTable && console.table(g), () => {
518
+ }), [g, m.consoleTable]), !ve.length) return null;
519
519
  function Jt() {
520
- const e = p(i) && i.x === "max-content" && !!i.y && A(m) && m.length > 0;
520
+ const e = p(i) && i.x === "max-content" && !!i.y && A(g) && g.length > 0;
521
521
  return S && !v ? /* @__PURE__ */ a(
522
522
  Bt,
523
523
  {
@@ -533,7 +533,7 @@ function ko(ce, st) {
533
533
  producer: e,
534
534
  onSetColumnWidths: Ft,
535
535
  expandedRowKeys: Me,
536
- data: m
536
+ data: g
537
537
  }
538
538
  ),
539
539
  Ue
@@ -546,7 +546,7 @@ function ko(ce, st) {
546
546
  i && p(i) && i.x && (e = {
547
547
  width: i.x
548
548
  });
549
- const t = /* @__PURE__ */ a("div", { className: `${n}-tfoot`, ref: g, children: /* @__PURE__ */ T(q, { style: e, children: [
549
+ const t = /* @__PURE__ */ a("div", { className: `${n}-tfoot`, ref: y, children: /* @__PURE__ */ T(q, { style: e, children: [
550
550
  /* @__PURE__ */ a(le, { columns: f, prefixCls: n }),
551
551
  je
552
552
  ] }) }), o = _ && S && Ce === "top", r = _ && S && Ce === "bottom", s = /* @__PURE__ */ T(Fe, { children: [
@@ -571,7 +571,7 @@ function ko(ce, st) {
571
571
  typeof Be == "function" && /* @__PURE__ */ a("div", { className: `${n}-footer`, children: Be(z) })
572
572
  ] });
573
573
  }
574
- const Zt = p(h) ? h.wrapper : h, Pe = p(h) ? h.cell : fe, eo = p(h) ? h.cell || h.headerCell : fe, to = p(h) ? h.cell || h.bodyCell : fe, oo = ot(
574
+ const Zt = p(b) ? b.wrapper : b, Pe = p(b) ? b.cell : fe, eo = p(b) ? b.cell || b.headerCell : fe, to = p(b) ? b.cell || b.bodyCell : fe, oo = ot(
575
575
  n,
576
576
  `${n}-size-${ue}`,
577
577
  {
@@ -593,7 +593,7 @@ function ko(ce, st) {
593
593
  [`${n}-pagination-center`]: x === "topCenter" || x === "bottomCenter",
594
594
  [`${n}-pagination-top`]: Te
595
595
  });
596
- let oe = b.loading;
596
+ let oe = m.loading;
597
597
  typeof oe == "boolean" && (oe = { loading: oe });
598
598
  const Ge = typeof Le == "function" ? Le(/* @__PURE__ */ a(tt, { ...Z })) : /* @__PURE__ */ a("div", { className: ro, children: /* @__PURE__ */ a(tt, { ...Z }) }), Xe = P !== !1 && (B.length !== 0 || Z.total > 0);
599
599
  return /* @__PURE__ */ a(
@@ -602,7 +602,7 @@ function ko(ce, st) {
602
602
  ref: E,
603
603
  style: ft,
604
604
  className: oo,
605
- ...yo(b),
605
+ ...yo(m),
606
606
  children: /* @__PURE__ */ T(
607
607
  go,
608
608
  {