bitz-react-admin-ui 2.2.0 → 2.2.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/_virtual/dayjs.min.mjs +5 -2
- package/dist/_virtual/dayjs.min2.mjs +4 -0
- package/dist/components/BitzCalendar/index.mjs +1 -1
- package/dist/components/BitzDayJs/index.mjs +1 -1
- package/dist/components/BitzFuiCalendar/BitzFuiCalendarStore.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarAgendum.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarAgendumItem.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarHeadItem.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarToolbar.mjs +1 -1
- package/dist/components/BitzFuiCalendar/ColumnData.mjs +1 -1
- package/dist/components/BitzMeetingTime/BitzMeetingTimeItem.mjs +1 -1
- package/dist/components/BitzMeetingTime/index.mjs +1 -1
- package/dist/components/BitzPagination/index.d.ts +4 -0
- package/dist/components/BitzPagination/index.mjs +22 -21
- package/dist/components/BitzTable/ActionCol/index.mjs +1 -7
- package/dist/components/BitzTable/SelectionBar/SelectionBar.mjs +18 -45
- package/dist/components/BitzTable/Store/index.mjs +1 -3
- package/dist/components/BitzTable/Table/SortTableContext.d.ts +2 -2
- package/dist/components/BitzTable/Table/SortableRow.d.ts +1 -1
- package/dist/components/BitzTable/Table/index.d.ts +9 -1
- package/dist/components/BitzTable/Table/index.mjs +309 -268
- package/dist/components/BitzTable/Table/style.d.ts +2 -1
- package/dist/components/BitzTable/Table/style.mjs +17 -15
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +17 -2
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndItem.mjs +11 -2
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndList.d.ts +1 -1
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndList.mjs +21 -28
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +6 -1
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndList.d.ts +2 -2
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndList.mjs +19 -24
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.d.ts +1 -1
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.mjs +41 -31
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +118 -126
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/style.mjs +6 -2
- package/dist/components/BitzTable/ToolBar/ExportIcon/ExportModal.mjs +9 -1
- package/dist/components/BitzTable/ToolBar/ExportIcon/index.mjs +27 -1
- package/dist/components/BitzTable/ToolBar/FullscreenIcon/index.mjs +28 -24
- package/dist/components/BitzTable/ToolBar/Modal/index.mjs +14 -4
- package/dist/components/BitzTable/ToolBar/Modal/style.mjs +0 -1
- package/dist/components/BitzTable/ToolBar/RefreshIcon/index.mjs +13 -18
- package/dist/components/BitzTable/ToolBar/Wrapper/index.mjs +56 -52
- package/dist/components/BitzTable/ToolBar/style.mjs +46 -46
- package/dist/components/BitzTable/index.d.ts +2 -2
- package/dist/node_modules/.store/dayjs@1.11.10/node_modules/dayjs/dayjs.min.mjs +292 -292
- package/dist/node_modules/.store/dayjs@1.11.10/node_modules/dayjs/locale/zh-cn.mjs +13 -13
- package/dist/style.css +1 -1
- package/dist/utils/time.mjs +1 -1
- package/package.json +1 -1
|
@@ -52,7 +52,15 @@ const q = ({
|
|
|
52
52
|
),
|
|
53
53
|
/* @__PURE__ */ e.jsx(c, { onClick: o, children: "取消" })
|
|
54
54
|
] }),
|
|
55
|
-
children: (a) => /* @__PURE__ */ e.jsx(
|
|
55
|
+
children: (a) => /* @__PURE__ */ e.jsx(
|
|
56
|
+
z,
|
|
57
|
+
{
|
|
58
|
+
parentHeight: a,
|
|
59
|
+
refInstance: n,
|
|
60
|
+
display: !0,
|
|
61
|
+
showSelectRadio: !0
|
|
62
|
+
}
|
|
63
|
+
)
|
|
56
64
|
}
|
|
57
65
|
);
|
|
58
66
|
};
|
|
@@ -46,7 +46,33 @@ const D = ({
|
|
|
46
46
|
children: "导出"
|
|
47
47
|
}
|
|
48
48
|
)
|
|
49
|
-
] }) :
|
|
49
|
+
] }) : (
|
|
50
|
+
// <Dropdown
|
|
51
|
+
// open={open}
|
|
52
|
+
// onOpenChange={setOpen}
|
|
53
|
+
// overlayClassName={overlayStyles}
|
|
54
|
+
// trigger={['click']}
|
|
55
|
+
// disabled={loading}
|
|
56
|
+
// destroyPopupOnHide
|
|
57
|
+
// getPopupContainer={(node) =>
|
|
58
|
+
// node.parentElement!.parentElement!.parentElement!
|
|
59
|
+
// }
|
|
60
|
+
// menu={{
|
|
61
|
+
// items,
|
|
62
|
+
// onClick: ({ key }) => onClick?.(key as any, exportConfig),
|
|
63
|
+
// }}
|
|
64
|
+
// >
|
|
65
|
+
// <BitzButton
|
|
66
|
+
// type="text"
|
|
67
|
+
// className={toolbarItemClassName}
|
|
68
|
+
// icon={icon}
|
|
69
|
+
// style={{ order }}
|
|
70
|
+
// >
|
|
71
|
+
// 下载
|
|
72
|
+
// </BitzButton>
|
|
73
|
+
// </Dropdown>
|
|
74
|
+
null
|
|
75
|
+
);
|
|
50
76
|
}, F = b(D);
|
|
51
77
|
export {
|
|
52
78
|
F as default
|
|
@@ -1,41 +1,45 @@
|
|
|
1
1
|
import { j as t } from "../../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
|
|
2
|
-
import { memo as
|
|
3
|
-
import { Tooltip as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
2
|
+
import { memo as d, useContext as p, useMemo as x, useEffect as b } from "react";
|
|
3
|
+
import { Tooltip as B } from "antd";
|
|
4
|
+
import E from "../style.mjs";
|
|
5
|
+
import F from "../../../BitzButton/index.mjs";
|
|
6
6
|
import r from "../../../../node_modules/.store/screenfull@6.0.2/node_modules/screenfull/index.mjs";
|
|
7
|
-
import
|
|
8
|
-
import { findParentFirstNodeByClass as
|
|
9
|
-
import { BitzTableContext as
|
|
10
|
-
import
|
|
7
|
+
import j from "../../../BitzToast/index.mjs";
|
|
8
|
+
import { findParentFirstNodeByClass as z } from "../../../../utils/findNode.mjs";
|
|
9
|
+
import { BitzTableContext as T } from "../../Store/index.mjs";
|
|
10
|
+
import h from "../../../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/FullscreenExitOutlined.mjs";
|
|
11
11
|
import C from "../../../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/FullscreenOutlined.mjs";
|
|
12
|
-
const
|
|
13
|
-
order:
|
|
14
|
-
show:
|
|
12
|
+
const g = ({
|
|
13
|
+
order: m,
|
|
14
|
+
show: u = !0
|
|
15
15
|
}) => {
|
|
16
|
-
const { toolbarItemClassName:
|
|
16
|
+
const { toolbarItemClassName: a } = E(), { fullscreen: n, setFullscreen: s } = p(T), o = x(() => n ? {
|
|
17
17
|
title: "退出全屏",
|
|
18
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
18
|
+
icon: /* @__PURE__ */ t.jsx(h, {})
|
|
19
19
|
} : {
|
|
20
20
|
title: "全屏",
|
|
21
21
|
icon: /* @__PURE__ */ t.jsx(C, {})
|
|
22
|
-
}, [
|
|
23
|
-
r.isEnabled ||
|
|
24
|
-
const
|
|
25
|
-
|
|
22
|
+
}, [n]), f = (l) => {
|
|
23
|
+
r.isEnabled || j.error("您的浏览器不支持全屏");
|
|
24
|
+
const e = z(l.target, "bitzTableBlock");
|
|
25
|
+
n ? r.exit() : r.request(e);
|
|
26
26
|
};
|
|
27
|
-
return
|
|
28
|
-
|
|
27
|
+
return b(() => (document == null || document.addEventListener("fullscreenchange", (l) => {
|
|
28
|
+
var e, i, c;
|
|
29
|
+
(e = l.target) != null && e.classList.contains("bitzTableBlock") && (s(!!document.fullscreenElement), (c = (i = document.fullscreenElement) == null ? void 0 : i.classList) != null && c.contains("bitzTableBlock") || s(!1));
|
|
30
|
+
}), document == null ? void 0 : document.removeEventListener("fullscreenchange", () => {
|
|
31
|
+
})), []), u ? /* @__PURE__ */ t.jsx(B, { title: o.title, open: !1, children: /* @__PURE__ */ t.jsx(
|
|
32
|
+
F,
|
|
29
33
|
{
|
|
30
34
|
type: "text",
|
|
31
|
-
className:
|
|
32
|
-
onClick:
|
|
35
|
+
className: a,
|
|
36
|
+
onClick: f,
|
|
33
37
|
icon: o.icon,
|
|
34
|
-
style: { order:
|
|
38
|
+
style: { order: m },
|
|
35
39
|
children: o.title
|
|
36
40
|
}
|
|
37
41
|
) }) : null;
|
|
38
|
-
},
|
|
42
|
+
}, P = d(g);
|
|
39
43
|
export {
|
|
40
|
-
|
|
44
|
+
P as default
|
|
41
45
|
};
|
|
@@ -38,10 +38,20 @@ function $({
|
|
|
38
38
|
},
|
|
39
39
|
width: 700,
|
|
40
40
|
footer: y,
|
|
41
|
-
children: /* @__PURE__ */ e.jsx(N, { className: "container", bordered: !1, children: /* @__PURE__ */ e.jsxs(
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
children: /* @__PURE__ */ e.jsx(N, { className: "container", bordered: !1, children: /* @__PURE__ */ e.jsxs(
|
|
42
|
+
f,
|
|
43
|
+
{
|
|
44
|
+
ref: r,
|
|
45
|
+
vertical: !0,
|
|
46
|
+
align: "center",
|
|
47
|
+
gap: 24,
|
|
48
|
+
style: { height: "100%" },
|
|
49
|
+
children: [
|
|
50
|
+
o && /* @__PURE__ */ e.jsx("div", { className: "extraContent", ref: i, children: o }),
|
|
51
|
+
t ? /* @__PURE__ */ e.jsx(f, { className: "containerBody", style: { height: c }, children: p(c) }, l) : /* @__PURE__ */ e.jsx(e.Fragment, {})
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
) })
|
|
45
55
|
}
|
|
46
56
|
);
|
|
47
57
|
}
|
|
@@ -1,30 +1,25 @@
|
|
|
1
1
|
import { j as o } from "../../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
|
|
2
|
-
import { memo as
|
|
3
|
-
import { Tooltip as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { BitzTableContext as
|
|
7
|
-
import
|
|
8
|
-
const
|
|
9
|
-
const {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
show: s = !0,
|
|
13
|
-
icon: n = /* @__PURE__ */ o.jsx(u, {})
|
|
14
|
-
} = t, { loading: m } = a(d), { toolbarItemClassName: i } = p();
|
|
15
|
-
return s ? /* @__PURE__ */ o.jsx(c, { title: "刷新", open: !1, children: /* @__PURE__ */ o.jsx(
|
|
16
|
-
f,
|
|
2
|
+
import { memo as a, useContext as c } from "react";
|
|
3
|
+
import { Tooltip as p } from "antd";
|
|
4
|
+
import f from "../style.mjs";
|
|
5
|
+
import d from "../../../BitzButton/index.mjs";
|
|
6
|
+
import { BitzTableContext as u } from "../../Store/index.mjs";
|
|
7
|
+
import x from "../../../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/ReloadOutlined.mjs";
|
|
8
|
+
const h = (t) => {
|
|
9
|
+
const { onClick: e, order: r, show: s = !0, icon: n = /* @__PURE__ */ o.jsx(x, {}) } = t, { loading: l, selected: m } = c(u), { toolbarItemClassName: i } = f();
|
|
10
|
+
return s ? /* @__PURE__ */ o.jsx(p, { title: "刷新", open: !1, children: /* @__PURE__ */ o.jsx(
|
|
11
|
+
d,
|
|
17
12
|
{
|
|
18
13
|
type: "text",
|
|
19
14
|
className: i,
|
|
20
|
-
disabled: m,
|
|
15
|
+
disabled: l || m,
|
|
21
16
|
onClick: e,
|
|
22
17
|
icon: n,
|
|
23
18
|
style: { order: r },
|
|
24
19
|
children: "刷新"
|
|
25
20
|
}
|
|
26
21
|
) }) : null;
|
|
27
|
-
},
|
|
22
|
+
}, z = a(h);
|
|
28
23
|
export {
|
|
29
|
-
|
|
24
|
+
z as default
|
|
30
25
|
};
|
|
@@ -1,72 +1,76 @@
|
|
|
1
1
|
import { j as s } from "../../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
|
|
2
|
-
import { useContext as
|
|
3
|
-
import { Space as
|
|
4
|
-
import
|
|
2
|
+
import { useContext as i, useMemo as l } from "react";
|
|
3
|
+
import { Space as x } from "antd";
|
|
4
|
+
import u from "../RefreshIcon/index.mjs";
|
|
5
5
|
import g from "../ColConfigIcon/index.mjs";
|
|
6
6
|
import C from "../FullscreenIcon/index.mjs";
|
|
7
7
|
import j from "../ExportIcon/index.mjs";
|
|
8
|
-
import { BitzConfigContext as
|
|
9
|
-
import { BitzToolBarContext as
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
import { BitzConfigContext as z } from "../../../BitzConfigProvider/context.mjs";
|
|
9
|
+
import { BitzToolBarContext as B } from "./context.mjs";
|
|
10
|
+
import { BitzTableContext as I } from "../../Store/index.mjs";
|
|
11
|
+
const T = ["export", "refresh", "fullscreen", "config"], A = ({
|
|
12
|
+
size: E,
|
|
13
|
+
tools: m,
|
|
14
|
+
toolsConfig: c,
|
|
14
15
|
exclude: t,
|
|
15
|
-
|
|
16
|
-
onExport: c,
|
|
16
|
+
onExport: h,
|
|
17
17
|
onRefresh: p,
|
|
18
18
|
onColumnChange: d
|
|
19
19
|
}) => {
|
|
20
|
-
const { Table: r } =
|
|
21
|
-
const e =
|
|
20
|
+
const { Table: r } = i(z), { selected: a } = i(I), f = l(() => {
|
|
21
|
+
const e = m || (r == null ? void 0 : r.toolbar) || T;
|
|
22
22
|
return t != null && t.length ? e.filter((n) => !t.includes(n)) : e;
|
|
23
|
-
}, [r == null ? void 0 : r.toolbar, t]), o =
|
|
23
|
+
}, [r == null ? void 0 : r.toolbar, t]), o = l(() => {
|
|
24
24
|
const e = {
|
|
25
25
|
export: { order: 1, show: !1 },
|
|
26
26
|
refresh: { order: 2, show: !1 },
|
|
27
27
|
fullscreen: { order: 3, show: !1 },
|
|
28
28
|
config: { order: 4, show: !1 }
|
|
29
29
|
};
|
|
30
|
-
return f.forEach((n,
|
|
31
|
-
e[n].order =
|
|
30
|
+
return f.forEach((n, w) => {
|
|
31
|
+
e[n].order = w + 1, e[n].show = f.includes(n);
|
|
32
32
|
}), e;
|
|
33
33
|
}, [f]);
|
|
34
|
-
return /* @__PURE__ */ s.jsx(
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
{
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
34
|
+
return /* @__PURE__ */ s.jsx(B.Provider, { value: c ?? {}, children: /* @__PURE__ */ s.jsxs(
|
|
35
|
+
x.Compact,
|
|
36
|
+
{
|
|
37
|
+
style: { height: "100%", ...a && { zIndex: 10 } },
|
|
38
|
+
children: [
|
|
39
|
+
/* @__PURE__ */ s.jsx(
|
|
40
|
+
j,
|
|
41
|
+
{
|
|
42
|
+
order: o.export.order,
|
|
43
|
+
show: o.export.show,
|
|
44
|
+
onClick: h
|
|
45
|
+
}
|
|
46
|
+
),
|
|
47
|
+
/* @__PURE__ */ s.jsx(
|
|
48
|
+
u,
|
|
49
|
+
{
|
|
50
|
+
order: o.refresh.order,
|
|
51
|
+
show: o.refresh.show,
|
|
52
|
+
onClick: p
|
|
53
|
+
}
|
|
54
|
+
),
|
|
55
|
+
/* @__PURE__ */ s.jsx(
|
|
56
|
+
C,
|
|
57
|
+
{
|
|
58
|
+
order: o.fullscreen.order,
|
|
59
|
+
show: o.fullscreen.show
|
|
60
|
+
}
|
|
61
|
+
),
|
|
62
|
+
/* @__PURE__ */ s.jsx(
|
|
63
|
+
g,
|
|
64
|
+
{
|
|
65
|
+
order: o.config.order,
|
|
66
|
+
show: o.config.show,
|
|
67
|
+
onChange: d
|
|
68
|
+
}
|
|
69
|
+
)
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
) });
|
|
69
73
|
};
|
|
70
74
|
export {
|
|
71
|
-
|
|
75
|
+
A as default
|
|
72
76
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BitzTableContext as
|
|
1
|
+
import { BitzTableContext as h } from "../Store/index.mjs";
|
|
2
2
|
import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/extractStyle.mjs";
|
|
3
3
|
import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.mjs";
|
|
4
|
-
import { useContext as
|
|
4
|
+
import { useContext as u, useMemo as x } from "react";
|
|
5
5
|
import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/StyleContext.mjs";
|
|
6
6
|
import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/theme/createTheme.mjs";
|
|
7
7
|
import "../../../node_modules/.store/rc-util@5.39.1/node_modules/rc-util/es/warning.mjs";
|
|
@@ -9,75 +9,75 @@ import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@an
|
|
|
9
9
|
import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useCompatibleInsertionEffect.mjs";
|
|
10
10
|
import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useEffectCleanupRegister.mjs";
|
|
11
11
|
import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useHMR.mjs";
|
|
12
|
-
import
|
|
12
|
+
import y from "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.mjs";
|
|
13
13
|
import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/transformers/legacyLogicalProperties.mjs";
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
const
|
|
17
|
-
const { theme:
|
|
18
|
-
var
|
|
14
|
+
import B from "../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
|
|
15
|
+
import N from "../../BitzTheme/index.mjs";
|
|
16
|
+
const O = () => {
|
|
17
|
+
const { theme: S, token: i, hashId: n } = N.useToken(), { tableSize: a, selected: T } = u(h), $ = x(() => a ?? "lg", [a]), r = "toolbarItem", l = "rowSelecting", m = "ToolbarItemBtn", f = (e, g, t, o) => {
|
|
18
|
+
var s, c, p, b, d;
|
|
19
19
|
return [
|
|
20
20
|
{
|
|
21
|
-
[`.${
|
|
21
|
+
[`.${e}`]: {
|
|
22
22
|
height: "100%",
|
|
23
23
|
paddingBlock: 0,
|
|
24
24
|
borderRadius: 0,
|
|
25
25
|
borderColor: "transparent",
|
|
26
26
|
display: "block",
|
|
27
27
|
"&:not(&:disabled):hover": {
|
|
28
|
-
color:
|
|
28
|
+
color: o.colorText
|
|
29
29
|
},
|
|
30
30
|
"&:not(&:disabled):focus": {
|
|
31
|
-
color:
|
|
31
|
+
color: o.colorText
|
|
32
32
|
},
|
|
33
33
|
".ant-btn-icon": {
|
|
34
34
|
marginInlineEnd: "6px !important"
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
|
-
|
|
39
|
-
{
|
|
40
|
-
|
|
41
|
-
fontSize: (l = e.Table.xlTable) == null ? void 0 : l.fontSize
|
|
42
|
-
}
|
|
38
|
+
{
|
|
39
|
+
[`.${e}.${g}`]: {
|
|
40
|
+
color: "#fff !important"
|
|
43
41
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
{
|
|
47
|
-
|
|
48
|
-
fontSize: (s = e.Table.lgTable) == null ? void 0 : s.fontSize
|
|
49
|
-
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
[`.${e}.xl${t}`]: {
|
|
45
|
+
fontSize: (s = o.Table.xlTable) == null ? void 0 : s.fontSize
|
|
50
46
|
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
{
|
|
54
|
-
|
|
55
|
-
fontSize: (p = e.Table.mdTable) == null ? void 0 : p.fontSize
|
|
56
|
-
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
[`.${e}.lg${t}`]: {
|
|
50
|
+
fontSize: (c = o.Table.lgTable) == null ? void 0 : c.fontSize
|
|
57
51
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
{
|
|
61
|
-
|
|
62
|
-
fontSize: (b = e.Table.smTable) == null ? void 0 : b.fontSize
|
|
63
|
-
}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
[`.${e}.md${t}`]: {
|
|
55
|
+
fontSize: (p = o.Table.mdTable) == null ? void 0 : p.fontSize
|
|
64
56
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
{
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
[`.${e}.sm${t}`]: {
|
|
60
|
+
fontSize: (b = o.Table.smTable) == null ? void 0 : b.fontSize
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
[`.${e}.xs${t}`]: {
|
|
65
|
+
fontSize: (d = o.Table.xsTable) == null ? void 0 : d.fontSize
|
|
71
66
|
}
|
|
72
|
-
|
|
67
|
+
}
|
|
73
68
|
];
|
|
74
69
|
};
|
|
75
|
-
|
|
76
|
-
|
|
70
|
+
y({ theme: S, token: i, hashId: n, path: [r] }, () => [
|
|
71
|
+
f(r, l, m, i)
|
|
77
72
|
]);
|
|
78
|
-
const
|
|
79
|
-
return { toolbarItemClassName:
|
|
73
|
+
const z = `${$}${m}`;
|
|
74
|
+
return { toolbarItemClassName: B(
|
|
75
|
+
r,
|
|
76
|
+
{ [`${l}`]: T },
|
|
77
|
+
z,
|
|
78
|
+
n
|
|
79
|
+
) };
|
|
80
80
|
};
|
|
81
81
|
export {
|
|
82
|
-
|
|
82
|
+
O as default
|
|
83
83
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BitzTableProps } from './Table';
|
|
1
|
+
import { BitzTableProps, BitzTableRowSelectionProps } from './Table';
|
|
2
2
|
import BitzTableProvider, { BitzTableContext, DensitySize as BitzTableSizeType, StylesStateType, ColumnStateType, ExportColumnStateType } from './Store';
|
|
3
3
|
import SubTable from './SubTable';
|
|
4
4
|
import ActionBar from './ActionBar';
|
|
@@ -70,6 +70,6 @@ type CompoundedComponent = React.ForwardRefExoticComponent<BitzTableProps> & {
|
|
|
70
70
|
ActionCol: typeof ActionCol;
|
|
71
71
|
};
|
|
72
72
|
declare const BitzTable: CompoundedComponent;
|
|
73
|
-
export type { BitzTableProps, BitzTableSizeType, ColumnsConfigProps, StylesStateType, ColumnStateType, ExportColumnStateType, BitzTableColumnType, BitzTableColumnGroupType, BitzTableColumnsType, ActionsFunType, Action, BitzTableActionProps, BitzTableActionColProps, };
|
|
73
|
+
export type { BitzTableProps, BitzTableRowSelectionProps, BitzTableSizeType, ColumnsConfigProps, StylesStateType, ColumnStateType, ExportColumnStateType, BitzTableColumnType, BitzTableColumnGroupType, BitzTableColumnsType, ActionsFunType, Action, BitzTableActionProps, BitzTableActionColProps, };
|
|
74
74
|
export { BitzTableProvider, BitzTableContext };
|
|
75
75
|
export default BitzTable;
|