@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.
- package/Details.js +13 -2
- package/Divider.js +3 -2
- package/Flex.js +14 -4
- package/Loading.js +16 -3
- package/Space.js +3 -3
- package/Splitter.js +4 -3
- package/SuspenseFallbackTest.js +2 -4
- package/alert/index.js +60 -62
- package/back-top/index.js +32 -33
- package/calendar/index.js +85 -84
- package/components/common/development/index.js +44 -29
- package/components/common/empty/index.js +35 -23
- package/components/common/flex/index.js +64 -0
- package/components/common/flex/interface.js +9 -0
- package/components/common/higher-order/with-speech-synthesis/index.js +79 -55
- package/components/common/space/index.js +71 -91
- package/components/common/suspense-fallback-test/index.js +16 -0
- package/components/common/utils/toArray.js +12 -0
- package/details/index.js +102 -62
- package/divider/index.js +27 -21
- package/empty/index.js +13 -13
- package/flex/index.js +43 -55
- package/flex/interface.js +1 -34
- package/icon/interface.js +1 -0
- package/icon-hover/interface.js +1 -0
- package/index.js +537 -536
- package/loading/index.js +72 -53
- package/loading/interface.js +1 -0
- package/modal/Modal.js +73 -74
- package/package.json +1 -1
- package/portal/interface.js +1 -0
- package/segmented/index.js +47 -47
- package/space/index.js +41 -35
- package/speech-synthesis/interface.js +1 -0
- package/splitter/Splitter.js +85 -89
- package/splitter/hooks/useItems.js +1 -1
- package/splitter/index.js +5 -4
- package/style.css +1 -1
- package/suspense-fallback-test/index.js +2 -11
- package/suspense-fallback-test/interface.js +1 -0
- package/table/Table.js +38 -38
- package/trigger/index.js +67 -70
- package/types/common/development/index.d.ts +7 -1
- package/types/common/development/interface.d.ts +22 -0
- package/types/common/empty/index.d.ts +2 -1
- package/types/common/flex/index.d.ts +14 -0
- package/types/common/flex/interface.d.ts +62 -0
- package/types/common/higher-order/with-speech-synthesis/index.d.ts +6 -1
- package/types/common/higher-order/with-speech-synthesis/interface.d.ts +13 -0
- package/types/common/space/index.d.ts +4 -4
- package/types/common/space/interface.d.ts +10 -18
- package/types/common/suspense-fallback-test/index.d.ts +7 -0
- package/types/common/suspense-fallback-test/interface.d.ts +1 -0
- package/types/common/utils/PqbCSSTransition.d.ts +1 -1
- package/types/common/utils/toArray.d.ts +13 -0
- package/types/pc/alert/index.d.ts +2 -1
- package/types/pc/alert/interface.d.ts +7 -1
- package/types/pc/badge/Count.d.ts +1 -1
- package/types/pc/breadcrumb/Item.d.ts +1 -1
- package/types/pc/calendar/Month.d.ts +1 -1
- package/types/pc/calendar/WeekList.d.ts +1 -1
- package/types/pc/calendar/Year.d.ts +1 -1
- package/types/pc/calendar/header/Panel.d.ts +1 -1
- package/types/pc/calendar/header/index.d.ts +1 -1
- package/types/pc/calendar/index.d.ts +1 -1
- package/types/pc/calendar/interface.d.ts +2 -1
- package/types/pc/cascader/interface.d.ts +1 -1
- package/types/pc/cascader/panel/List.d.ts +1 -1
- package/types/pc/cascader/panel/Option.d.ts +1 -1
- package/types/pc/cascader/panel/Search.d.ts +1 -1
- package/types/pc/checkbox/Group.d.ts +2 -2
- package/types/pc/checkbox/GroupBlock.d.ts +1 -1
- package/types/pc/checkbox/IconCheck.d.ts +1 -1
- package/types/pc/color-picker/InputRgb.d.ts +1 -1
- package/types/pc/color-picker/Palette.d.ts +1 -1
- package/types/pc/config-provider/ConfigProvider.d.ts +1 -1
- package/types/pc/config-provider/interface.d.ts +4 -0
- package/types/pc/copy/index.d.ts +1 -1
- package/types/pc/date-picker/panel/Body.d.ts +1 -1
- package/types/pc/date-picker/panel/Footer.d.ts +1 -1
- package/types/pc/date-picker/panel/Header.d.ts +1 -1
- package/types/pc/date-picker/panel/WeekList.d.ts +1 -1
- package/types/pc/date-picker/panel/date/index.d.ts +1 -1
- package/types/pc/date-picker/panel/month/index.d.ts +1 -1
- package/types/pc/date-picker/panel/quarter/index.d.ts +1 -1
- package/types/pc/date-picker/panel/range/index.d.ts +1 -1
- package/types/pc/date-picker/panel/week/index.d.ts +1 -1
- package/types/pc/date-picker/panel/year/index.d.ts +1 -1
- package/types/pc/descriptions/index.d.ts +1 -1
- package/types/pc/details/index.d.ts +3 -2
- package/types/pc/details/interface.d.ts +16 -0
- package/types/pc/development/index.d.ts +2 -1
- package/types/pc/development/interface.d.ts +15 -0
- package/types/pc/divider/index.d.ts +7 -2
- package/types/pc/draggable/Item.d.ts +1 -1
- package/types/pc/draggable/index.d.ts +1 -1
- package/types/pc/flex/index.d.ts +4 -4
- package/types/pc/flex/interface.d.ts +8 -53
- package/types/pc/form/Control.d.ts +1 -1
- package/types/pc/form/FormList.d.ts +1 -1
- package/types/pc/form/IconSymbol.d.ts +1 -1
- package/types/pc/icon/addFromIconFontCn.d.ts +1 -7
- package/types/pc/icon/index.d.ts +2 -7
- package/types/pc/icon/interface.d.ts +13 -0
- package/types/pc/icon-hover/index.d.ts +2 -8
- package/types/pc/icon-hover/interface.d.ts +8 -0
- package/types/pc/image/ImageFooter.d.ts +1 -1
- package/types/pc/image/ImagePreviewArrow.d.ts +1 -1
- package/types/pc/image/TriggerForToolbar.d.ts +1 -1
- package/types/pc/index.d.ts +60 -51
- package/types/pc/loading/index.d.ts +4 -3
- package/types/pc/loading/interface.d.ts +6 -0
- package/types/pc/menu/Indent.d.ts +1 -1
- package/types/pc/menu/OverflowWrap.d.ts +1 -1
- package/types/pc/menu/sub-menu/Inline.d.ts +1 -1
- package/types/pc/menu/sub-menu/Pop.d.ts +1 -1
- package/types/pc/overflow-ellipsis/OverflowItem.d.ts +1 -1
- package/types/pc/overflow-ellipsis/index.d.ts +1 -1
- package/types/pc/pagination/PageItem.d.ts +3 -3
- package/types/pc/pagination/PageJumper.d.ts +1 -1
- package/types/pc/pagination/PageOption.d.ts +1 -1
- package/types/pc/portal/Portal.d.ts +2 -6
- package/types/pc/portal/index.d.ts +2 -9
- package/types/pc/portal/interface.d.ts +14 -0
- package/types/pc/progress/CircleProgress.d.ts +1 -1
- package/types/pc/progress/LineProgess.d.ts +1 -1
- package/types/pc/progress/StepProgress.d.ts +1 -1
- package/types/pc/radio/Group.d.ts +2 -2
- package/types/pc/radio/GroupBlock.d.ts +1 -1
- package/types/pc/radio/Radio.d.ts +1 -1
- package/types/pc/resize-box/ResizeTrigger.d.ts +1 -1
- package/types/pc/result/403.d.ts +1 -1
- package/types/pc/result/404.d.ts +1 -1
- package/types/pc/result/500.d.ts +1 -1
- package/types/pc/segmented/interface.d.ts +6 -6
- package/types/pc/skeleton/Image.d.ts +1 -1
- package/types/pc/skeleton/Text.d.ts +2 -1
- package/types/pc/slider/Button.d.ts +1 -1
- package/types/pc/slider/Input.d.ts +1 -1
- package/types/pc/slider/Tick.d.ts +1 -1
- package/types/pc/space/index.d.ts +6 -5
- package/types/pc/speech-synthesis/index.d.ts +3 -1
- package/types/pc/speech-synthesis/interface.d.ts +7 -0
- package/types/pc/spin/DotLoading.d.ts +1 -1
- package/types/pc/splitter/index.d.ts +5 -4
- package/types/pc/splitter/interface.d.ts +16 -16
- package/types/pc/suspense-fallback-test/index.d.ts +2 -3
- package/types/pc/suspense-fallback-test/interface.d.ts +2 -0
- package/types/pc/table/ColGroup.d.ts +1 -1
- package/types/pc/table/summary/Cell.d.ts +1 -1
- package/types/pc/table/summary/Row.d.ts +1 -1
- package/types/pc/table/tbody/Td.d.ts +1 -1
- package/types/pc/table/tbody/index.d.ts +1 -1
- package/types/pc/table/tfoot/index.d.ts +1 -1
- package/types/pc/table/th-resizable/index.d.ts +1 -1
- package/types/pc/table/thead/Column.d.ts +1 -1
- package/types/pc/table/thead/index.d.ts +1 -1
- package/types/pc/tabs/TabContent.d.ts +1 -1
- package/types/pc/tabs/tab-header/DropdownIcon.d.ts +1 -1
- package/types/pc/tabs/tab-header/TabInk.d.ts +1 -1
- package/types/pc/tabs/tab-header/TabNavIcon.d.ts +1 -1
- package/types/pc/time-picker/Picker.d.ts +1 -1
- package/types/pc/time-picker/RangePicker.d.ts +1 -1
- package/types/pc/time-picker/TimeColumn.d.ts +1 -1
- package/types/pc/time-picker/TimePicker.d.ts +1 -1
- package/types/pc/time-picker/index.d.ts +1 -1
- package/types/pc/transfer/Item.d.ts +1 -1
- package/types/pc/transfer/List.d.ts +1 -1
- package/types/pc/tree/Animation.d.ts +1 -1
- package/types/pc/typography/Operations.d.ts +1 -1
- package/types/pc/upload/list/index.d.ts +1 -1
- package/types/pc/utils/toArray.d.ts +1 -5
- package/types/pc/verification-code/VerificationCode.d.ts +1 -1
- package/types/pc/virtual-list/VirtualList.d.ts +2 -38
- package/types/pc/virtual-list/index.d.ts +2 -1
- package/types/pc/virtual-list/interface.d.ts +56 -0
- package/types/pc/watermark/Watermark.d.ts +1 -1
- package/utils/index.js +1 -1
- package/utils/toArray.js +3 -10
- package/version/index.js +1 -1
- package/virtual-list/interface.js +1 -0
- package/components/common/space/toArray.js +0 -11
- package/flex/utils.js +0 -13
- package/loading/style/index.module.less.js +0 -4
- package/types/common/space/toArray.d.ts +0 -3
- package/types/pc/flex/utils.d.ts +0 -9
- package/types/pc/suspense-fallback-test/style/index.d.ts +0 -1
- /package/{suspense-fallback-test/style/index.less.js → development/interface.js} +0 -0
|
@@ -1,13 +1,4 @@
|
|
|
1
|
-
import "
|
|
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
|
-
|
|
3
|
+
a as default
|
|
13
4
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
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),
|
|
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:
|
|
64
|
+
border: b,
|
|
65
65
|
borderCell: fe,
|
|
66
66
|
columns: ve = Ro,
|
|
67
|
-
data:
|
|
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
|
-
} =
|
|
88
|
-
() => vo(
|
|
89
|
-
[
|
|
90
|
-
), n = it?.("table"), ue =
|
|
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
|
-
(
|
|
116
|
-
) && t.push(l) : t.every((
|
|
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
|
|
155
|
-
return s === "descend" ? -
|
|
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:
|
|
161
|
-
if (typeof
|
|
160
|
+
const { sorterFn: h, direction: $e } = o[c];
|
|
161
|
+
if (typeof h != "function")
|
|
162
162
|
continue;
|
|
163
|
-
const re = t(
|
|
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((
|
|
225
|
-
($e, re) => $e || l.onFilter(re,
|
|
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) &&
|
|
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 =
|
|
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
|
-
|
|
289
|
+
g
|
|
290
290
|
]), et(() => {
|
|
291
|
-
const { total: e, pageSize: t } = L(
|
|
291
|
+
const { total: e, pageSize: t } = L(g);
|
|
292
292
|
Math.ceil(e / t) < O && ye(1);
|
|
293
|
-
}, [
|
|
293
|
+
}, [g?.length]), et(() => {
|
|
294
294
|
ee();
|
|
295
|
-
}, [
|
|
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(
|
|
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 =
|
|
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
|
-
|
|
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",
|
|
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"),
|
|
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
|
-
...
|
|
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
|
-
...
|
|
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___:
|
|
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(
|
|
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(
|
|
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:
|
|
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:
|
|
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(
|
|
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 =
|
|
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(
|
|
605
|
+
...yo(m),
|
|
606
606
|
children: /* @__PURE__ */ T(
|
|
607
607
|
go,
|
|
608
608
|
{
|