@baishuyun/ui-base 6.29.0 → 6.29.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Amap/index.js +1 -1
- package/dist/Calendar/{Calendar-DHRiaiXw.js → Calendar-MCtQbn-u.js} +1 -1
- package/dist/Calendar/index.js +3 -3
- package/dist/Card/index.js +1 -1
- package/dist/CheckBox/index.js +1 -1
- package/dist/ColorPicker/index.js +1 -1
- package/dist/ConfigProvider/index.js +1 -1
- package/dist/DatePicker/{DatePicker-BfyiYmTl.js → DatePicker-CRnA0EoA.js} +1 -1
- package/dist/DatePicker/{DatePickerPanel-D8qVQZ0a.js → DatePickerPanel-DFk0OP4X.js} +1 -1
- package/dist/DatePicker/index.js +2 -2
- package/dist/DropDown/index.js +1 -1
- package/dist/Editor/index.js +1 -1
- package/dist/FieldCard/index.js +1 -1
- package/dist/Gantt/index.js +2 -2
- package/dist/Icon/index.js +1 -1
- package/dist/InputTag/index.js +1 -1
- package/dist/Kanban/index.js +8 -3
- package/dist/Loading/index.js +1 -1
- package/dist/Modal/index.js +1 -1
- package/dist/NotFoundContent/index.js +1 -1
- package/dist/Overlay/index.js +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/ScrollBar/index.js +1 -1
- package/dist/Segmented/index.js +1 -1
- package/dist/Select/index.js +1 -1
- package/dist/Table/{Table-BmPAWvbO.js → Table-B8381Lni.js} +399 -308
- package/dist/Table/index.js +2 -2
- package/dist/Tabs/index.js +1 -1
- package/dist/Tooltip/index.js +1 -1
- package/dist/Tree/index.js +1 -1
- package/dist/components/Table/components/TableBody.d.ts +1 -40
- package/dist/components/Table/components/TableFooter.d.ts +3 -3
- package/dist/components/Table/components/TableHeader.d.ts +2 -2
- package/dist/components/Table/hooks/useTableColumnWidths.d.ts +2 -2
- package/dist/components/Table/hooks/useTableVirtual.d.ts +7 -3
- package/dist/components/Table/index.d.ts +1 -2
- package/dist/components/Table/interface.d.ts +48 -9
- package/dist/components/Table/utils/flattenColumns.d.ts +1 -1
- package/dist/components/Table/utils/processRowspan.d.ts +1 -1
- package/dist/components/Table/utils/tableUtils.d.ts +9 -9
- package/dist/index.js +4 -4
- package/dist/style.css +1 -1
- package/dist/vendors/{version-BovtV-fV.js → version-CohiolFd.js} +1 -1
- package/package.json +1 -1
package/dist/Amap/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { t } from "../vendors/useLocale-3oUjPb-k.js";
|
|
|
3
3
|
import { t as n } from "../vendors/cssVars-UpriQzph.js";
|
|
4
4
|
import { t as r } from "../Segmented/Segmented-BMwjhsZw.js";
|
|
5
5
|
import { t as i } from "../Tooltip/Tooltip-N06Os8rG.js";
|
|
6
|
-
import { t as a } from "../DatePicker/DatePicker-
|
|
6
|
+
import { t as a } from "../DatePicker/DatePicker-CRnA0EoA.js";
|
|
7
7
|
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
8
8
|
import { memo as c, useCallback as l, useEffect as u, useLayoutEffect as d, useMemo as f, useRef as p, useState as m } from "react";
|
|
9
9
|
import h from "clsx";
|
package/dist/Calendar/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../vendors/version-
|
|
1
|
+
import "../vendors/version-CohiolFd.js";
|
|
2
2
|
import "../Icon/Icon-CcKDWNGy.js";
|
|
3
3
|
import "../vendors/LocaleContext-CsTLO_Y2.js";
|
|
4
4
|
import "../Overlay/OverlayContext-CVSFoyqN.js";
|
|
@@ -7,7 +7,7 @@ import "../vendors/useLocale-3oUjPb-k.js";
|
|
|
7
7
|
import "../vendors/useLatchedPopupPortalRoot-CC6af8t-.js";
|
|
8
8
|
import "../Segmented/Segmented-BMwjhsZw.js";
|
|
9
9
|
import "../Tooltip/Tooltip-N06Os8rG.js";
|
|
10
|
-
import { n as e, r as t, t as n } from "./Calendar-
|
|
11
|
-
import "../DatePicker/DatePicker-
|
|
10
|
+
import { n as e, r as t, t as n } from "./Calendar-MCtQbn-u.js";
|
|
11
|
+
import "../DatePicker/DatePicker-CRnA0EoA.js";
|
|
12
12
|
import "../DatePicker/pickerLocale-Brf7_Tnd.js";
|
|
13
13
|
export { n as Calendar, n as default, t as resolveCalendarThemeVars, e as resolvePlatformCalendarTheme };
|
package/dist/Card/index.js
CHANGED
package/dist/CheckBox/index.js
CHANGED
|
@@ -48,7 +48,7 @@ var w = {
|
|
|
48
48
|
"bsy-date-picker__content": "_bsy-date-picker__content_1i2le_33",
|
|
49
49
|
"bsy-date-picker__divider": "_bsy-date-picker__divider_1i2le_43",
|
|
50
50
|
"bsy-date-picker__panel-loading": "_bsy-date-picker__panel-loading_1i2le_49"
|
|
51
|
-
}, j = m(() => import("./DatePickerPanel-
|
|
51
|
+
}, j = m(() => import("./DatePickerPanel-DFk0OP4X.js")), M = (o) => {
|
|
52
52
|
let { children: m, picker: S = "date", theme: w, getPopupContainer: D, triggerActiveClassName: O, zIndex: M } = o, { locale: N } = r(), P = e(M), [F, I] = v(o, {
|
|
53
53
|
defaultValuePropName: "defaultValue",
|
|
54
54
|
valuePropName: "value",
|
package/dist/DatePicker/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../vendors/version-
|
|
1
|
+
import "../vendors/version-CohiolFd.js";
|
|
2
2
|
import "../vendors/LocaleContext-CsTLO_Y2.js";
|
|
3
3
|
import "../Overlay/OverlayContext-CVSFoyqN.js";
|
|
4
4
|
import "../vendors/useFloatingOverlay-B66lOL8v.js";
|
|
5
5
|
import "../vendors/useLocale-3oUjPb-k.js";
|
|
6
6
|
import "../vendors/useLatchedPopupPortalRoot-CC6af8t-.js";
|
|
7
|
-
import { t as e } from "./DatePicker-
|
|
7
|
+
import { t as e } from "./DatePicker-CRnA0EoA.js";
|
|
8
8
|
import "./pickerLocale-Brf7_Tnd.js";
|
|
9
9
|
export { e as default };
|
package/dist/DropDown/index.js
CHANGED
package/dist/Editor/index.js
CHANGED
package/dist/FieldCard/index.js
CHANGED
package/dist/Gantt/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../vendors/version-
|
|
1
|
+
import "../vendors/version-CohiolFd.js";
|
|
2
2
|
import "../ScrollBar/style-D26azwz6.js";
|
|
3
3
|
import { t as e } from "../Icon/Icon-CcKDWNGy.js";
|
|
4
4
|
import "../vendors/LocaleContext-CsTLO_Y2.js";
|
|
@@ -12,7 +12,7 @@ import "../NotFoundContent/NotFoundContent-DJUQ0_2D.js";
|
|
|
12
12
|
import "../ScrollBar/ScrollBar-IMTuAOF5.js";
|
|
13
13
|
import "../vendors/useFloatingPortal-DJ1iKmW-.js";
|
|
14
14
|
import { t as i } from "../DropDown/DropDown-B3VFy5GF.js";
|
|
15
|
-
import { r as a } from "../Table/Table-
|
|
15
|
+
import { r as a } from "../Table/Table-B8381Lni.js";
|
|
16
16
|
import { isFunction as o, isNumber as s, isString as c } from "lodash-es";
|
|
17
17
|
import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
18
18
|
import f, { createContext as p, forwardRef as m, memo as h, useCallback as g, useContext as _, useEffect as v, useImperativeHandle as y, useLayoutEffect as b, useMemo as x, useRef as S, useState as C } from "react";
|
package/dist/Icon/index.js
CHANGED
package/dist/InputTag/index.js
CHANGED
package/dist/Kanban/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../vendors/version-
|
|
1
|
+
import "../vendors/version-CohiolFd.js";
|
|
2
2
|
import "../ScrollBar/style-D26azwz6.js";
|
|
3
3
|
import { t as e } from "../Icon/Icon-CcKDWNGy.js";
|
|
4
4
|
import "../vendors/LocaleContext-CsTLO_Y2.js";
|
|
@@ -209,7 +209,9 @@ function J({ column: e, estimate: n, selectedIds: r, loadingIds: a, footer: o, o
|
|
|
209
209
|
return () => window.clearTimeout(e);
|
|
210
210
|
}, [j]);
|
|
211
211
|
let P = d((e) => {
|
|
212
|
-
M(e), v(e)
|
|
212
|
+
M(e), v(e);
|
|
213
|
+
let t = e?.clientHeight ?? 0;
|
|
214
|
+
t > 0 && x(t);
|
|
213
215
|
}, [M]), { t: F } = t(), L = g(e.paging?.loading), R = g(e.items.length);
|
|
214
216
|
p(() => {
|
|
215
217
|
let t = L.current && !e.paging?.loading, n = R.current !== e.items.length;
|
|
@@ -237,7 +239,10 @@ function J({ column: e, estimate: n, selectedIds: r, loadingIds: a, footer: o, o
|
|
|
237
239
|
]);
|
|
238
240
|
p(() => {
|
|
239
241
|
if (!h) return;
|
|
240
|
-
let e = new ResizeObserver(() =>
|
|
242
|
+
let e = new ResizeObserver(() => {
|
|
243
|
+
let e = h.clientHeight;
|
|
244
|
+
e > 0 && x(e);
|
|
245
|
+
});
|
|
241
246
|
return e.observe(h), () => e.disconnect();
|
|
242
247
|
}, [h]);
|
|
243
248
|
let V = !!e.paging?.loading, J = !!(e.paging?.noMore && !e.paging?.loading), oe = V || J, Y = N.getTotalSize(), se = Y, X = Y + (oe ? q : 0), Z = !!o && y > 0 && X + K > y, ce = X + (o && !Z ? K : 0);
|
package/dist/Loading/index.js
CHANGED
package/dist/Modal/index.js
CHANGED
package/dist/Overlay/index.js
CHANGED
package/dist/Radio/index.js
CHANGED
package/dist/ScrollBar/index.js
CHANGED
package/dist/Segmented/index.js
CHANGED
package/dist/Select/index.js
CHANGED