bitz-react-admin-ui 2.5.9 → 2.6.0
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/assets/iconfont/IconChenggong.mjs +25 -4
- package/dist/assets/iconfont/IconClose.mjs +24 -3
- package/dist/assets/iconfont/IconColumnCancelFixed.mjs +23 -2
- package/dist/assets/iconfont/IconColumnFixedLeft.mjs +27 -6
- package/dist/assets/iconfont/IconColumnFixedRight.mjs +27 -6
- package/dist/assets/iconfont/IconCuowu.mjs +23 -2
- package/dist/assets/iconfont/IconDragOrder.mjs +25 -4
- package/dist/assets/iconfont/IconDuigoux.mjs +25 -4
- package/dist/assets/iconfont/IconFabu.mjs +35 -5
- package/dist/assets/iconfont/IconFanhui.mjs +25 -4
- package/dist/assets/iconfont/IconGaojisousuo.mjs +26 -5
- package/dist/assets/iconfont/IconHangfengexian.mjs +41 -3
- package/dist/assets/iconfont/IconHangliefengexian.mjs +42 -4
- package/dist/assets/iconfont/IconIcFluentHomeRegular.mjs +26 -5
- package/dist/assets/iconfont/IconIcon21.mjs +25 -4
- package/dist/assets/iconfont/IconJincoude.mjs +25 -4
- package/dist/assets/iconfont/IconJinggao.mjs +25 -4
- package/dist/assets/iconfont/IconKuansongde.mjs +26 -5
- package/dist/assets/iconfont/IconLiefengexian.mjs +41 -3
- package/dist/assets/iconfont/IconMore.mjs +41 -4
- package/dist/assets/iconfont/IconShanchu.mjs +27 -6
- package/dist/assets/iconfont/IconShanchu1.mjs +35 -5
- package/dist/assets/iconfont/IconSousuo.mjs +27 -6
- package/dist/assets/iconfont/IconTejincou.mjs +25 -4
- package/dist/assets/iconfont/IconTekuansong.mjs +26 -5
- package/dist/assets/iconfont/IconTishi1.mjs +27 -6
- package/dist/assets/iconfont/IconTuodong.mjs +28 -7
- package/dist/assets/iconfont/IconWubanmawentianchong.mjs +35 -3
- package/dist/assets/iconfont/IconWufengexian.mjs +26 -4
- package/dist/assets/iconfont/IconXinxitishi.mjs +27 -6
- package/dist/assets/iconfont/IconYoubanmawentianchong.mjs +34 -3
- package/dist/assets/iconfont/IconZhongdengde.mjs +24 -3
- package/dist/assets/iconfont/IconZhongzhi.mjs +24 -3
- package/dist/assets/iconfont/index.mjs +33 -33
- package/dist/components/BitzAddTag/index.mjs +41 -8
- package/dist/components/BitzAddressBook/index.mjs +122 -35
- package/dist/components/BitzAppPage/index.mjs +18 -4
- package/dist/components/BitzAppRefresh/index.mjs +27 -15
- package/dist/components/BitzBetterScroll/index.mjs +5 -5
- package/dist/components/BitzButton/index.mjs +23 -9
- package/dist/components/BitzCalendar/index.mjs +52 -19
- package/dist/components/BitzCascader/BitzCascaderMobile.mjs +68 -30
- package/dist/components/BitzCascader/index.mjs +6 -2
- package/dist/components/BitzCollapse/index.mjs +4 -4
- package/dist/components/BitzConfigProvider/context.mjs +3 -1
- package/dist/components/BitzConfigProvider/index.mjs +12 -8
- package/dist/components/BitzConfirmModal/index.mjs +24 -1
- package/dist/components/BitzDescriptions/index.mjs +11 -1
- package/dist/components/BitzDrawer/index.mjs +17 -2
- package/dist/components/BitzEmpty/index.mjs +6 -2
- package/dist/components/BitzException/index.mjs +6 -1
- package/dist/components/BitzFloatLayout/index.mjs +10 -1
- package/dist/components/BitzFluentDatePicker/index.mjs +1 -1
- package/dist/components/BitzFluentRangePicker/index.mjs +1 -1
- package/dist/components/BitzFluentRangeTimePicker/index.mjs +1 -1
- package/dist/components/BitzFluentTimePicker/index.mjs +1 -1
- package/dist/components/BitzFuiCalendar/BitzFuiCalendarStore.mjs +13 -16
- package/dist/components/BitzFuiCalendar/CalendarAgendum.mjs +26 -20
- package/dist/components/BitzFuiCalendar/CalendarAgendumItem.mjs +21 -3
- package/dist/components/BitzFuiCalendar/CalendarBody.mjs +27 -4
- package/dist/components/BitzFuiCalendar/CalendarHead.mjs +5 -2
- package/dist/components/BitzFuiCalendar/CalendarHeadItem.mjs +12 -3
- package/dist/components/BitzFuiCalendar/CalendarToolbar.mjs +47 -15
- package/dist/components/BitzFuiCalendar/ColumnData.mjs +25 -9
- package/dist/components/BitzFuiCalendar/FuiCalendarItem.mjs +44 -8
- package/dist/components/BitzFuiCalendar/index.mjs +7 -1
- package/dist/components/BitzFullScreen/index.mjs +9 -6
- package/dist/components/BitzHighlight/Child.mjs +23 -9
- package/dist/components/BitzHighlight/Highlight.mjs +26 -5
- package/dist/components/BitzHighlight/chunks.mjs +20 -17
- package/dist/components/BitzHighlight/style.mjs +4 -1
- package/dist/components/BitzImage/index.mjs +1 -1
- package/dist/components/BitzImage/previewImage.mjs +12 -5
- package/dist/components/BitzLanguageTabs/index.mjs +14 -3
- package/dist/components/BitzLazyLoad/index.mjs +7 -1
- package/dist/components/BitzList/List.mjs +17 -3
- package/dist/components/BitzList/LoadMore.mjs +29 -20
- package/dist/components/BitzLoadMore/index.mjs +34 -14
- package/dist/components/BitzMeetingTime/BitzMeetingTimeItem.mjs +24 -11
- package/dist/components/BitzMeetingTime/index.mjs +10 -6
- package/dist/components/BitzMobileLoading/index.mjs +1 -1
- package/dist/components/BitzModal/index.mjs +24 -11
- package/dist/components/BitzNoData/index.mjs +4 -1
- package/dist/components/BitzNoMore/index.mjs +1 -1
- package/dist/components/BitzOrganizationSelection/index.mjs +43 -14
- package/dist/components/BitzPageContainer/index.mjs +107 -46
- package/dist/components/BitzPageHeader/index.mjs +89 -21
- package/dist/components/BitzPagination/index.mjs +71 -22
- package/dist/components/BitzPopover/index.mjs +4 -4
- package/dist/components/BitzPullRefresh/PullRefresh.mjs +47 -18
- package/dist/components/BitzQRCode/index.mjs +6 -1
- package/dist/components/BitzQueryFilter/QueryFilterContent.mjs +35 -17
- package/dist/components/BitzQueryFilter/QueryFilterDrawer.mjs +20 -13
- package/dist/components/BitzQueryFilter/QueryFilterMobile.mjs +4 -1
- package/dist/components/BitzQueryFilter/index.mjs +69 -20
- package/dist/components/BitzRefresh/index.mjs +5 -1
- package/dist/components/BitzRemark/index.mjs +4 -4
- package/dist/components/BitzScheduleCenter/index.mjs +24 -30
- package/dist/components/BitzSearch/index.mjs +1 -1
- package/dist/components/BitzSelect/component/BitzSelectMobile.mjs +123 -48
- package/dist/components/BitzSelect/index.mjs +1 -1
- package/dist/components/BitzSkeleton/index.mjs +31 -1
- package/dist/components/BitzSwitch/index.mjs +7 -2
- package/dist/components/BitzTabbar/BitzTabbar.mjs +25 -8
- package/dist/components/BitzTabbar/BitzTabbarItem.mjs +4 -1
- package/dist/components/BitzTable/ActionBar/ActionBar.mjs +80 -12
- package/dist/components/BitzTable/ActionBar/Button.mjs +20 -15
- package/dist/components/BitzTable/ActionBar/style.mjs +12 -9
- package/dist/components/BitzTable/ActionCol/index.mjs +129 -33
- package/dist/components/BitzTable/ActionCol/style.mjs +15 -12
- package/dist/components/BitzTable/Dropdown/index.mjs +8 -1
- package/dist/components/BitzTable/Dropdown/style.mjs +9 -6
- package/dist/components/BitzTable/SelectionBar/Button.mjs +19 -6
- package/dist/components/BitzTable/SelectionBar/SelectionBar.mjs +11 -4
- package/dist/components/BitzTable/SelectionBar/style.mjs +18 -8
- package/dist/components/BitzTable/Store/index.mjs +170 -133
- package/dist/components/BitzTable/Store/utils/index.d.ts +1 -0
- package/dist/components/BitzTable/Store/utils/index.mjs +48 -38
- package/dist/components/BitzTable/SubTable/index.mjs +91 -43
- package/dist/components/BitzTable/Table/ResizableTitle copy.mjs +57 -40
- package/dist/components/BitzTable/Table/SortTableContext.mjs +39 -17
- package/dist/components/BitzTable/Table/SortableRow.mjs +44 -20
- package/dist/components/BitzTable/Table/index.mjs +476 -213
- package/dist/components/BitzTable/Table/style.mjs +10 -1
- package/dist/components/BitzTable/Table/utils.mjs +11 -4
- package/dist/components/BitzTable/TextOverflow/index.mjs +12 -3
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +83 -27
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndItem.mjs +104 -23
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndList.mjs +68 -29
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +278 -150
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndItem.mjs +50 -16
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndList.mjs +42 -16
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.mjs +129 -38
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/RadioCard.mjs +9 -2
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +97 -43
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/index.mjs +28 -6
- package/dist/components/BitzTable/ToolBar/ExportIcon/ExportModal.mjs +38 -9
- package/dist/components/BitzTable/ToolBar/ExportIcon/index.mjs +42 -14
- package/dist/components/BitzTable/ToolBar/FullscreenIcon/index.mjs +17 -4
- package/dist/components/BitzTable/ToolBar/Modal/index.mjs +37 -8
- package/dist/components/BitzTable/ToolBar/RefreshIcon/index.mjs +20 -9
- package/dist/components/BitzTable/ToolBar/Wrapper/index.mjs +49 -2
- package/dist/components/BitzTable/ToolBar/style.mjs +6 -1
- package/dist/components/BitzTableOperations/index.mjs +13 -3
- package/dist/components/BitzTableSelect/Picker/index.mjs +43 -10
- package/dist/components/BitzTableSelect/Select/index.mjs +90 -21
- package/dist/components/BitzTableSelect/SelectPopup/getData.mjs +23 -13
- package/dist/components/BitzTableSelect/SelectPopup/index.mjs +219 -69
- package/dist/components/BitzTableSelect/SingleSelect/index.mjs +87 -22
- package/dist/components/BitzTableSelect/TableCell/index.mjs +52 -11
- package/dist/components/BitzTableSelect/TextBlock/index.mjs +30 -12
- package/dist/components/BitzTableSelect/index.mjs +65 -14
- package/dist/components/BitzTableSelect/utils.mjs +3 -3
- package/dist/components/BitzTag/index.mjs +1 -1
- package/dist/components/BitzText/index.mjs +41 -14
- package/dist/components/BitzText/utils.mjs +3 -3
- package/dist/components/BitzTheme/index.mjs +6 -6
- package/dist/components/BitzTimeline/index.mjs +11 -1
- package/dist/components/BitzTimer/Form.mjs +32 -11
- package/dist/components/BitzTimer/Timer.mjs +76 -38
- package/dist/components/BitzTimer/index.mjs +66 -43
- package/dist/components/BitzToast/Toast/index.mjs +28 -10
- package/dist/components/BitzToast/index.mjs +1 -1
- package/dist/components/BitzTooltip/index.mjs +47 -17
- package/dist/components/BitzTooltip/style.mjs +9 -6
- package/dist/components/BitzTooltip/utils.mjs +2 -2
- package/dist/components/BitzTree/index.mjs +4 -1
- package/dist/components/BitzUeEditor/index.mjs +5 -5
- package/dist/components/BitzUpload/index.mjs +81 -43
- package/dist/components/BitzWebAppDrawer/index.mjs +35 -4
- package/dist/components/BitzWebAppModal/index.mjs +6 -3
- package/dist/hooks/use-event-listener.mjs +11 -2
- package/dist/hooks/use-lock-fn.mjs +13 -10
- package/dist/hooks/use-scroll-parent.mjs +16 -14
- package/dist/hooks/useEvent.mjs +7 -4
- package/dist/hooks/useMergedState.mjs +11 -11
- package/dist/node_modules/.store/ahooks@3.7.11/node_modules/ahooks/es/useDebounceFn/index.mjs +29 -0
- package/dist/node_modules/.store/ahooks@3.7.11/node_modules/ahooks/es/utils/lodash-polyfill.mjs +7 -0
- package/dist/node_modules/.store/lodash@4.17.21/node_modules/lodash/debounce.mjs +37 -34
- package/dist/style.css +1 -1
- package/dist/utils/WithFluent.mjs +27 -5
- package/dist/utils/create.mjs +7 -1
- package/package.json +1 -1
|
@@ -1,35 +1,42 @@
|
|
|
1
1
|
import { j as t } from "../../../../../node_modules/.store/react@18.3.1/node_modules/react/jsx-runtime.mjs";
|
|
2
2
|
import { BitzTableContext as U } from "../../../Store/index.mjs";
|
|
3
3
|
import W from "../../../../BitzTheme/index.mjs";
|
|
4
|
-
import { findParentFirstNodeByClass as
|
|
5
|
-
import { Form as
|
|
6
|
-
import { memo as _, useRef as
|
|
4
|
+
import { findParentFirstNodeByClass as A } from "../../../../../utils/findNode.mjs";
|
|
5
|
+
import { Form as H, Flex as E, Checkbox as X, Radio as u, InputNumber as Y, Select as Z } from "antd";
|
|
6
|
+
import { memo as _, useRef as F, useState as a, useEffect as R, useMemo as f, useContext as ee, useImperativeHandle as te } from "react";
|
|
7
7
|
import ne from "./DndList.mjs";
|
|
8
|
-
function oe({
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
function oe({
|
|
9
|
+
display: T,
|
|
10
|
+
showSelectRadio: C = !1,
|
|
11
|
+
fromExportIcon: B,
|
|
12
|
+
refInstance: V
|
|
13
|
+
}) {
|
|
14
|
+
W.useToken(), F(null);
|
|
15
|
+
const y = F(null), [K, M] = a("auto");
|
|
16
|
+
R(() => {
|
|
17
|
+
const e = A(y.current, "ant-card-body");
|
|
13
18
|
if (e) {
|
|
14
|
-
const { paddingBlockStart: n, paddingBlockEnd: l } = window.getComputedStyle(e), x = parseInt(n) + parseInt(l),
|
|
19
|
+
const { paddingBlockStart: n, paddingBlockEnd: l } = window.getComputedStyle(e), x = parseInt(n) + parseInt(l), k = e.clientHeight - x, d = e.firstElementChild;
|
|
15
20
|
if (d) {
|
|
16
|
-
const { rowGap: $ } = window.getComputedStyle(d),
|
|
17
|
-
|
|
21
|
+
const { rowGap: $ } = window.getComputedStyle(d), b = d == null ? void 0 : d.querySelector(".extraContent"), J = b == null ? void 0 : b.clientHeight, Q = k - J - parseInt($) - 20 - 120;
|
|
22
|
+
M(Q);
|
|
18
23
|
}
|
|
19
24
|
}
|
|
20
25
|
}, [y.current]);
|
|
21
|
-
const
|
|
22
|
-
display:
|
|
26
|
+
const D = f(() => ({
|
|
27
|
+
display: T ? "flex" : "none",
|
|
23
28
|
width: "100%"
|
|
24
|
-
}), [
|
|
25
|
-
|
|
29
|
+
}), [T]), h = ee(U), r = h.exportConfig, j = h.selected, o = h.pagination, i = h.total, [c, I] = a([]), [p, g] = a([]), [w, S] = a("current"), [m, N] = a("page"), [v, z] = a(1);
|
|
30
|
+
R(() => {
|
|
26
31
|
var e, n, l, x;
|
|
27
|
-
g(r.fields),
|
|
32
|
+
g(r.fields), I(r.fields.map((k) => k.field)), S(
|
|
33
|
+
C && j ? "selectedRows" : r.config.key
|
|
34
|
+
), N(((n = (e = r.config) == null ? void 0 : e.info) == null ? void 0 : n.type) ?? "page"), z(((x = (l = r.config) == null ? void 0 : l.info) == null ? void 0 : x.value) ?? 1);
|
|
28
35
|
}, [r, C, j]);
|
|
29
|
-
const s = f(() =>
|
|
30
|
-
g(
|
|
36
|
+
const s = f(() => p.filter((e) => e.show).map((e) => e.field), [p]), G = f(() => c.length === s.length, [c, s]), L = f(() => s.length > 0 && s.length < c.length, [s, c]), O = ({ target: e }) => {
|
|
37
|
+
g(p.map((n) => ({ ...n, show: e.checked })));
|
|
31
38
|
}, P = (e, n) => {
|
|
32
|
-
g(e),
|
|
39
|
+
g(e), I(n);
|
|
33
40
|
}, q = f(() => {
|
|
34
41
|
if (m === "page") {
|
|
35
42
|
if (i && (o != null && o.size)) {
|
|
@@ -40,7 +47,7 @@ function oe({ display: b, showSelectRadio: C = !1, fromExportIcon: A, refInstanc
|
|
|
40
47
|
}
|
|
41
48
|
return i;
|
|
42
49
|
}, [m, o, i]);
|
|
43
|
-
return te(
|
|
50
|
+
return te(V, () => ({
|
|
44
51
|
getExportConfig: () => {
|
|
45
52
|
const e = {
|
|
46
53
|
fields: [],
|
|
@@ -49,7 +56,7 @@ function oe({ display: b, showSelectRadio: C = !1, fromExportIcon: A, refInstanc
|
|
|
49
56
|
info: void 0
|
|
50
57
|
}
|
|
51
58
|
};
|
|
52
|
-
return
|
|
59
|
+
return p.forEach((n) => {
|
|
53
60
|
let l = !1;
|
|
54
61
|
s.includes(n.field) && (l = !0), e.fields.push({ ...n, show: l });
|
|
55
62
|
}), w === "any" && (e.config.info = {
|
|
@@ -58,24 +65,108 @@ function oe({ display: b, showSelectRadio: C = !1, fromExportIcon: A, refInstanc
|
|
|
58
65
|
}), e;
|
|
59
66
|
},
|
|
60
67
|
hasOne: () => s.length > 0
|
|
61
|
-
})), t.jsx("div", { ref: y, style:
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
68
|
+
})), /* @__PURE__ */ t.jsx("div", { ref: y, style: D, children: /* @__PURE__ */ t.jsxs(
|
|
69
|
+
H,
|
|
70
|
+
{
|
|
71
|
+
style: { width: "100%" },
|
|
72
|
+
labelCol: { span: 3 },
|
|
73
|
+
labelAlign: "left",
|
|
74
|
+
colon: !1,
|
|
75
|
+
className: "exportConfigFormContent",
|
|
76
|
+
children: [
|
|
77
|
+
/* @__PURE__ */ t.jsx(H.Item, { label: "导出字段", className: "exportFields", children: /* @__PURE__ */ t.jsxs(
|
|
78
|
+
E,
|
|
79
|
+
{
|
|
80
|
+
vertical: !0,
|
|
81
|
+
style: {
|
|
82
|
+
gap: 8,
|
|
83
|
+
...!B && {
|
|
84
|
+
maxHeight: K
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
children: [
|
|
88
|
+
/* @__PURE__ */ t.jsx(
|
|
89
|
+
X,
|
|
90
|
+
{
|
|
91
|
+
checked: G,
|
|
92
|
+
indeterminate: L,
|
|
93
|
+
onChange: O,
|
|
94
|
+
style: { alignSelf: "flex-start" },
|
|
95
|
+
children: "全选"
|
|
96
|
+
}
|
|
97
|
+
),
|
|
98
|
+
/* @__PURE__ */ t.jsx(
|
|
99
|
+
ne,
|
|
100
|
+
{
|
|
101
|
+
dataList: p,
|
|
102
|
+
keys: c,
|
|
103
|
+
onChange: g,
|
|
104
|
+
onMoveEnd: P
|
|
105
|
+
}
|
|
106
|
+
)
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
|
+
) }),
|
|
110
|
+
/* @__PURE__ */ t.jsx(
|
|
111
|
+
H.Item,
|
|
112
|
+
{
|
|
113
|
+
label: "导出设置",
|
|
114
|
+
className: "exportTotal",
|
|
115
|
+
style: {
|
|
116
|
+
...B ? {
|
|
117
|
+
marginTop: 20
|
|
118
|
+
} : {
|
|
119
|
+
height: 120,
|
|
120
|
+
marginTop: 20
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
children: /* @__PURE__ */ t.jsx(
|
|
124
|
+
u.Group,
|
|
125
|
+
{
|
|
126
|
+
value: w,
|
|
127
|
+
onChange: ({ target: e }) => S(e.value),
|
|
128
|
+
children: /* @__PURE__ */ t.jsxs(E, { vertical: !0, gap: 8, align: "flex-start", children: [
|
|
129
|
+
C && j && /* @__PURE__ */ t.jsx(u, { value: "selectedRows", children: "导出选中数据" }),
|
|
130
|
+
/* @__PURE__ */ t.jsx(u, { value: "current", children: "仅导出当前页" }),
|
|
131
|
+
/* @__PURE__ */ t.jsx(u, { value: "any", children: /* @__PURE__ */ t.jsxs(E, { align: "center", gap: 8, children: [
|
|
132
|
+
/* @__PURE__ */ t.jsx("span", { style: { whiteSpace: "nowrap" }, children: "导出" }),
|
|
133
|
+
/* @__PURE__ */ t.jsx(
|
|
134
|
+
Y,
|
|
135
|
+
{
|
|
136
|
+
controls: !1,
|
|
137
|
+
min: 1,
|
|
138
|
+
max: q,
|
|
139
|
+
value: v,
|
|
140
|
+
onChange: (e) => z(e),
|
|
141
|
+
style: { width: 120 },
|
|
142
|
+
addonAfter: /* @__PURE__ */ t.jsx(
|
|
143
|
+
Z,
|
|
144
|
+
{
|
|
145
|
+
value: m,
|
|
146
|
+
onChange: N,
|
|
147
|
+
options: [
|
|
148
|
+
{ label: "页", value: "page" },
|
|
149
|
+
{ label: "条", value: "pieces" }
|
|
150
|
+
],
|
|
151
|
+
onClick: (e) => e.preventDefault(),
|
|
152
|
+
getPopupContainer: (e) => A(e, "containerBody")
|
|
153
|
+
}
|
|
154
|
+
)
|
|
155
|
+
}
|
|
156
|
+
),
|
|
157
|
+
/* @__PURE__ */ t.jsx("span", { style: { whiteSpace: "nowrap" }, children: "数据" })
|
|
158
|
+
] }) }),
|
|
159
|
+
/* @__PURE__ */ t.jsx(u, { value: "all", children: "导出全部数据" })
|
|
160
|
+
] })
|
|
161
|
+
}
|
|
162
|
+
)
|
|
163
|
+
}
|
|
164
|
+
)
|
|
165
|
+
]
|
|
65
166
|
}
|
|
66
|
-
|
|
67
|
-
...A ? {
|
|
68
|
-
marginTop: 20
|
|
69
|
-
} : {
|
|
70
|
-
height: 120,
|
|
71
|
-
marginTop: 20
|
|
72
|
-
}
|
|
73
|
-
}, children: t.jsx(p.Group, { value: w, onChange: ({ target: e }) => T(e.value), children: t.jsxs(k, { vertical: !0, gap: 8, align: "flex-start", children: [C && j && t.jsx(p, { value: "selectedRows", children: "导出选中数据" }), t.jsx(p, { value: "current", children: "仅导出当前页" }), t.jsx(p, { value: "any", children: t.jsxs(k, { align: "center", gap: 8, children: [t.jsx("span", { style: { whiteSpace: "nowrap" }, children: "导出" }), t.jsx(Y, { controls: !1, min: 1, max: q, value: v, onChange: (e) => S(e), style: { width: 120 }, addonAfter: t.jsx(Z, { value: m, onChange: I, options: [
|
|
74
|
-
{ label: "页", value: "page" },
|
|
75
|
-
{ label: "条", value: "pieces" }
|
|
76
|
-
], onClick: (e) => e.preventDefault(), getPopupContainer: (e) => N(e, "containerBody") }) }), t.jsx("span", { style: { whiteSpace: "nowrap" }, children: "数据" })] }) }), t.jsx(p, { value: "all", children: "导出全部数据" })] }) }) })] }) });
|
|
167
|
+
) });
|
|
77
168
|
}
|
|
78
|
-
const
|
|
169
|
+
const ue = _(oe);
|
|
79
170
|
export {
|
|
80
|
-
|
|
171
|
+
ue as default
|
|
81
172
|
};
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { j as r } from "../../../../../node_modules/.store/react@18.3.1/node_modules/react/jsx-runtime.mjs";
|
|
2
2
|
import { Radio as i, Flex as o, Typography as s } from "antd";
|
|
3
|
-
const
|
|
3
|
+
const d = ({
|
|
4
|
+
label: e,
|
|
5
|
+
value: t,
|
|
6
|
+
children: a
|
|
7
|
+
}) => /* @__PURE__ */ r.jsx(i, { value: t, children: /* @__PURE__ */ r.jsxs(o, { vertical: !0, align: "center", gap: 8, children: [
|
|
8
|
+
a,
|
|
9
|
+
/* @__PURE__ */ r.jsx(s.Text, { children: e })
|
|
10
|
+
] }) });
|
|
4
11
|
export {
|
|
5
|
-
|
|
12
|
+
d as default
|
|
6
13
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { j as e } from "../../../../../node_modules/.store/react@18.3.1/node_modules/react/jsx-runtime.mjs";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import { BitzConfigContext as
|
|
14
|
-
import { BitzTableContext as
|
|
15
|
-
import
|
|
16
|
-
import { Form as i, Radio as
|
|
17
|
-
import
|
|
2
|
+
import H from "../../../../../assets/iconfont/IconKuansongde.mjs";
|
|
3
|
+
import C from "../../../../../assets/iconfont/IconTekuansong.mjs";
|
|
4
|
+
import S from "../../../../../assets/iconfont/IconJincoude.mjs";
|
|
5
|
+
import k from "../../../../../assets/iconfont/IconZhongdengde.mjs";
|
|
6
|
+
import T from "../../../../../assets/iconfont/IconTejincou.mjs";
|
|
7
|
+
import R from "../../../../../assets/iconfont/IconWufengexian.mjs";
|
|
8
|
+
import w from "../../../../../assets/iconfont/IconHangliefengexian.mjs";
|
|
9
|
+
import B from "../../../../../assets/iconfont/IconHangfengexian.mjs";
|
|
10
|
+
import G from "../../../../../assets/iconfont/IconLiefengexian.mjs";
|
|
11
|
+
import F from "../../../../../assets/iconfont/IconYoubanmawentianchong.mjs";
|
|
12
|
+
import N from "../../../../../assets/iconfont/IconWubanmawentianchong.mjs";
|
|
13
|
+
import { BitzConfigContext as W } from "../../../../BitzConfigProvider/context.mjs";
|
|
14
|
+
import { BitzTableContext as E } from "../../../Store/index.mjs";
|
|
15
|
+
import $ from "../../../../BitzTheme/index.mjs";
|
|
16
|
+
import { Form as i, Radio as u, Checkbox as A } from "antd";
|
|
17
|
+
import D from "../../../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
|
|
18
18
|
import { forwardRef as J, useMemo as K, useContext as p, useEffect as L, useImperativeHandle as M, memo as V } from "react";
|
|
19
19
|
import { BitzToolBarContext as Y } from "../../Wrapper/context.mjs";
|
|
20
20
|
import l from "./RadioCard.mjs";
|
|
@@ -23,74 +23,128 @@ const Z = ({ defaultSize: n, items: c }) => c.map((o) => o.key === n ? {
|
|
|
23
23
|
label: `${o.label}(默认)`
|
|
24
24
|
} : o), q = J(({ display: n }, c) => {
|
|
25
25
|
var x, b, f;
|
|
26
|
-
const { token: o } =
|
|
26
|
+
const { token: o } = $.useToken(), h = K(() => ({
|
|
27
27
|
width: "100%",
|
|
28
28
|
display: n ? "flex" : "none"
|
|
29
29
|
}), [n]), z = {
|
|
30
30
|
size: 26,
|
|
31
31
|
color: o.colorPrimary
|
|
32
|
-
}, [m] = i.useForm(), g = (x = p(
|
|
32
|
+
}, [m] = i.useForm(), g = (x = p(W).Table) == null ? void 0 : x.stylesScope, { defaultTableSize: P, stylesConfig: I } = p(E), r = (b = p(Y).config) == null ? void 0 : b.stylesConfig, d = (s, a) => {
|
|
33
33
|
var y, j;
|
|
34
34
|
let t = a;
|
|
35
|
-
return (y = r == null ? void 0 : r[s]) != null && y.disabled && (t =
|
|
35
|
+
return (y = r == null ? void 0 : r[s]) != null && y.disabled && (t = D(a, "disabledControl")), {
|
|
36
36
|
disabled: (j = r == null ? void 0 : r[s]) == null ? void 0 : j.disabled,
|
|
37
37
|
className: t
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
40
|
L(() => {
|
|
41
41
|
m.setFieldsValue({
|
|
42
|
-
...
|
|
42
|
+
...I,
|
|
43
43
|
stylesScope: g === "global"
|
|
44
44
|
});
|
|
45
45
|
}, []);
|
|
46
|
-
const
|
|
47
|
-
defaultSize:
|
|
46
|
+
const v = Z({
|
|
47
|
+
defaultSize: P,
|
|
48
48
|
items: [
|
|
49
49
|
{
|
|
50
50
|
key: "xs",
|
|
51
51
|
label: "特紧凑",
|
|
52
|
-
icon:
|
|
52
|
+
icon: T
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
key: "sm",
|
|
56
56
|
label: "紧凑",
|
|
57
|
-
icon:
|
|
57
|
+
icon: S
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
key: "md",
|
|
61
61
|
label: "中等",
|
|
62
|
-
icon:
|
|
62
|
+
icon: k
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
key: "lg",
|
|
66
66
|
label: "宽松",
|
|
67
|
-
icon:
|
|
67
|
+
icon: H
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
70
|
key: "xl",
|
|
71
71
|
label: "特宽松",
|
|
72
|
-
icon:
|
|
72
|
+
icon: C
|
|
73
73
|
}
|
|
74
74
|
]
|
|
75
75
|
});
|
|
76
76
|
return M(c, () => ({
|
|
77
77
|
getFormInstance: () => m
|
|
78
|
-
})),
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
78
|
+
})), /* @__PURE__ */ e.jsxs(
|
|
79
|
+
i,
|
|
80
|
+
{
|
|
81
|
+
form: m,
|
|
82
|
+
style: h,
|
|
83
|
+
labelCol: { span: 3 },
|
|
84
|
+
labelAlign: "left",
|
|
85
|
+
colon: !1,
|
|
86
|
+
className: "stylesConfigFormContent",
|
|
87
|
+
children: [
|
|
88
|
+
/* @__PURE__ */ e.jsx(i.Item, { label: "行高", name: "size", children: /* @__PURE__ */ e.jsx(u.Group, { ...d("size", "sizeRadioGroup"), children: v.map(({ key: s, label: a, icon: t }) => /* @__PURE__ */ e.jsx(l, { label: a, value: s, children: /* @__PURE__ */ e.jsx(t, { ...z }) }, s)) }) }),
|
|
89
|
+
/* @__PURE__ */ e.jsx(i.Item, { label: "分割线", name: "bordered", children: /* @__PURE__ */ e.jsxs(u.Group, { ...d("bordered", "splitBorderRadioGroup"), children: [
|
|
90
|
+
/* @__PURE__ */ e.jsx(l, { label: "无分割线", value: "hide", children: /* @__PURE__ */ e.jsx(R, { size: 26, color: o.colorPrimaryHover }) }),
|
|
91
|
+
/* @__PURE__ */ e.jsx(l, { label: "行分割线", value: "row", children: /* @__PURE__ */ e.jsx(
|
|
92
|
+
B,
|
|
93
|
+
{
|
|
94
|
+
size: 26,
|
|
95
|
+
color: [
|
|
96
|
+
o.colorPrimaryHover,
|
|
97
|
+
o.colorPrimary,
|
|
98
|
+
o.colorPrimary,
|
|
99
|
+
o.colorPrimaryHover
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
) }),
|
|
103
|
+
/* @__PURE__ */ e.jsx(l, { label: "列分割线", value: "column", children: /* @__PURE__ */ e.jsx(
|
|
104
|
+
G,
|
|
105
|
+
{
|
|
106
|
+
size: 26,
|
|
107
|
+
color: [
|
|
108
|
+
o.colorPrimaryHover,
|
|
109
|
+
o.colorPrimary,
|
|
110
|
+
o.colorPrimary,
|
|
111
|
+
o.colorPrimaryHover
|
|
112
|
+
]
|
|
113
|
+
}
|
|
114
|
+
) }),
|
|
115
|
+
/* @__PURE__ */ e.jsx(l, { label: "行列分割线", value: "row-column", children: /* @__PURE__ */ e.jsx(
|
|
116
|
+
w,
|
|
117
|
+
{
|
|
118
|
+
size: 26,
|
|
119
|
+
color: [
|
|
120
|
+
o.colorPrimaryHover,
|
|
121
|
+
o.colorPrimary,
|
|
122
|
+
o.colorPrimary,
|
|
123
|
+
o.colorPrimaryHover
|
|
124
|
+
]
|
|
125
|
+
}
|
|
126
|
+
) })
|
|
127
|
+
] }) }),
|
|
128
|
+
/* @__PURE__ */ e.jsx(i.Item, { label: "斑马纹", name: "zebra", children: /* @__PURE__ */ e.jsxs(u.Group, { ...d("zebra", "zebraRadioGroup"), children: [
|
|
129
|
+
/* @__PURE__ */ e.jsx(l, { label: "有斑马纹", value: !0, children: /* @__PURE__ */ e.jsx(
|
|
130
|
+
F,
|
|
131
|
+
{
|
|
132
|
+
size: 26,
|
|
133
|
+
color: [o.colorPrimaryHover, o.colorPrimary]
|
|
134
|
+
}
|
|
135
|
+
) }),
|
|
136
|
+
/* @__PURE__ */ e.jsx(l, { label: "无斑马纹", value: !1, children: /* @__PURE__ */ e.jsx(
|
|
137
|
+
N,
|
|
138
|
+
{
|
|
139
|
+
size: 26,
|
|
140
|
+
color: o.colorPrimaryHover
|
|
141
|
+
}
|
|
142
|
+
) })
|
|
143
|
+
] }) }),
|
|
144
|
+
/* @__PURE__ */ e.jsx(i.Item, { name: "stylesScope", valuePropName: "checked", className: "scope", children: /* @__PURE__ */ e.jsx(A, { disabled: (f = r == null ? void 0 : r.stylesScope) == null ? void 0 : f.disabled, children: "应用到全局表格" }) })
|
|
145
|
+
]
|
|
146
|
+
}
|
|
147
|
+
);
|
|
94
148
|
}), be = V(q);
|
|
95
149
|
export {
|
|
96
150
|
be as default
|
|
@@ -4,13 +4,35 @@ import g from "./ColumnConfigModal.mjs";
|
|
|
4
4
|
import j from "../style.mjs";
|
|
5
5
|
import h from "../../../BitzButton/index.mjs";
|
|
6
6
|
import { BitzTableContext as y } from "../../Store/index.mjs";
|
|
7
|
-
import
|
|
7
|
+
import B from "../../../../node_modules/.store/@ant-design_icons@5.3.7/node_modules/@ant-design/icons/es/icons/SettingOutlined.mjs";
|
|
8
8
|
const r = "表格设置", k = (e) => {
|
|
9
|
-
const { order:
|
|
10
|
-
return
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
const { order: l, show: m = !0, icon: i = /* @__PURE__ */ t.jsx(B, {}) } = e, { fullscreen: o } = C(y), { toolbarItemClassName: a } = j(), [u, n] = x(!1), c = d(() => o ? !1 : void 0, [o]);
|
|
10
|
+
return m ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
11
|
+
/* @__PURE__ */ t.jsx(
|
|
12
|
+
g,
|
|
13
|
+
{
|
|
14
|
+
open: u,
|
|
15
|
+
title: r,
|
|
16
|
+
onChange: async (...f) => {
|
|
17
|
+
var s;
|
|
18
|
+
return (s = e.onChange) == null ? void 0 : s.call(e, ...f);
|
|
19
|
+
},
|
|
20
|
+
getContainer: c,
|
|
21
|
+
close: () => n(!1)
|
|
22
|
+
}
|
|
23
|
+
),
|
|
24
|
+
/* @__PURE__ */ t.jsx(
|
|
25
|
+
h,
|
|
26
|
+
{
|
|
27
|
+
type: "text",
|
|
28
|
+
className: a,
|
|
29
|
+
onClick: () => n(!0),
|
|
30
|
+
icon: i,
|
|
31
|
+
style: { order: l },
|
|
32
|
+
children: r
|
|
33
|
+
}
|
|
34
|
+
)
|
|
35
|
+
] }) : null;
|
|
14
36
|
};
|
|
15
37
|
export {
|
|
16
38
|
k as default
|
|
@@ -3,12 +3,18 @@ import { message as C } from "antd";
|
|
|
3
3
|
import { useState as g, useContext as j, useRef as k, useMemo as E } from "react";
|
|
4
4
|
import { BitzTableContext as y } from "../../Store/index.mjs";
|
|
5
5
|
import f from "../../../BitzButton/index.mjs";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
6
|
+
import b from "../../../BitzTheme/index.mjs";
|
|
7
|
+
import B from "../Modal/index.mjs";
|
|
8
8
|
import O from "../ColConfigIcon/ExportConfig/index.mjs";
|
|
9
9
|
import R from "../../../../node_modules/.store/@ant-design_icons@5.3.7/node_modules/@ant-design/icons/es/icons/CheckCircleOutlined.mjs";
|
|
10
|
-
const H = ({
|
|
11
|
-
|
|
10
|
+
const H = ({
|
|
11
|
+
open: m,
|
|
12
|
+
title: c,
|
|
13
|
+
onExport: n,
|
|
14
|
+
close: o,
|
|
15
|
+
getContainer: l
|
|
16
|
+
}) => {
|
|
17
|
+
const { token: s } = b.useToken(), [u, t] = g(!1), { defaultTableExportConfig: p } = j(y), r = k(null), x = async () => {
|
|
12
18
|
var i, a;
|
|
13
19
|
if (u)
|
|
14
20
|
return;
|
|
@@ -23,12 +29,35 @@ const H = ({ open: c, title: l, onExport: n, close: o, getContainer: m }) => {
|
|
|
23
29
|
const d = () => {
|
|
24
30
|
t(!1);
|
|
25
31
|
};
|
|
26
|
-
return e.jsx(
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
32
|
+
return /* @__PURE__ */ e.jsx(
|
|
33
|
+
B,
|
|
34
|
+
{
|
|
35
|
+
open: m,
|
|
36
|
+
title: c,
|
|
37
|
+
close: o,
|
|
38
|
+
closeAfter: d,
|
|
39
|
+
getContainer: l,
|
|
40
|
+
styles: {
|
|
41
|
+
content: {
|
|
42
|
+
maxHeight: "calc(100vh - 200px)",
|
|
43
|
+
height: "auto"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
footer: /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
47
|
+
/* @__PURE__ */ e.jsx(
|
|
48
|
+
f,
|
|
49
|
+
{
|
|
50
|
+
type: "primary",
|
|
51
|
+
icon: /* @__PURE__ */ e.jsx(R, {}),
|
|
52
|
+
onClick: x,
|
|
53
|
+
children: "导出"
|
|
54
|
+
}
|
|
55
|
+
),
|
|
56
|
+
/* @__PURE__ */ e.jsx(f, { onClick: o, children: "取消" })
|
|
57
|
+
] }),
|
|
58
|
+
children: /* @__PURE__ */ e.jsx(O, { refInstance: r, fromExportIcon: !0, display: !0, showSelectRadio: !0 })
|
|
30
59
|
}
|
|
31
|
-
|
|
60
|
+
);
|
|
32
61
|
};
|
|
33
62
|
export {
|
|
34
63
|
H as default
|
|
@@ -1,19 +1,47 @@
|
|
|
1
1
|
import { j as t } from "../../../../node_modules/.store/react@18.3.1/node_modules/react/jsx-runtime.mjs";
|
|
2
|
-
import { memo as j, useState as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { BitzTableContext as
|
|
6
|
-
import { exportConfigTitle as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
import { memo as j, useState as y, useContext as l, useMemo as E } from "react";
|
|
3
|
+
import b from "../style.mjs";
|
|
4
|
+
import h from "../../../BitzButton/index.mjs";
|
|
5
|
+
import { BitzTableContext as i } from "../../Store/index.mjs";
|
|
6
|
+
import { exportConfigTitle as B } from "../ColConfigIcon/ColumnConfigModal.mjs";
|
|
7
|
+
import C from "./ExportModal.mjs";
|
|
8
|
+
import I from "../../../../node_modules/.store/@ant-design_icons@5.3.7/node_modules/@ant-design/icons/es/icons/DownloadOutlined.mjs";
|
|
9
|
+
const z = ({
|
|
10
|
+
show: p = !0,
|
|
11
|
+
order: a,
|
|
12
|
+
onClick: o,
|
|
13
|
+
icon: f = /* @__PURE__ */ t.jsx(I, {})
|
|
14
|
+
}) => {
|
|
15
|
+
const { toolbarItemClassName: x } = b(), [u, s] = y(!1);
|
|
16
|
+
l(i).exportConfig;
|
|
17
|
+
const { loading: c, fullscreen: n, dataSource: e } = l(i), d = E(() => n ? !1 : void 0, [n]), g = async (r) => {
|
|
13
18
|
var m;
|
|
14
|
-
|
|
19
|
+
o == null || o(r.config.key, r.fields, (m = r.config) == null ? void 0 : m.info);
|
|
15
20
|
};
|
|
16
|
-
return p ? t.jsxs(t.Fragment, { children: [
|
|
21
|
+
return p ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
22
|
+
/* @__PURE__ */ t.jsx(
|
|
23
|
+
C,
|
|
24
|
+
{
|
|
25
|
+
open: u,
|
|
26
|
+
title: B,
|
|
27
|
+
getContainer: d,
|
|
28
|
+
onExport: g,
|
|
29
|
+
close: () => s(!1)
|
|
30
|
+
}
|
|
31
|
+
),
|
|
32
|
+
/* @__PURE__ */ t.jsx(
|
|
33
|
+
h,
|
|
34
|
+
{
|
|
35
|
+
type: "text",
|
|
36
|
+
className: x,
|
|
37
|
+
icon: f,
|
|
38
|
+
style: { order: a },
|
|
39
|
+
disabled: c || !(e != null && e.length),
|
|
40
|
+
onClick: () => s(!0),
|
|
41
|
+
children: "导出"
|
|
42
|
+
}
|
|
43
|
+
)
|
|
44
|
+
] }) : (
|
|
17
45
|
// <Dropdown
|
|
18
46
|
// open={open}
|
|
19
47
|
// onOpenChange={setOpen}
|
|
@@ -40,7 +68,7 @@ const I = ({ show: p = !0, order: a, onClick: e, icon: f = t.jsx(F, {}) }) => {
|
|
|
40
68
|
// </Dropdown>
|
|
41
69
|
null
|
|
42
70
|
);
|
|
43
|
-
}, G = j(
|
|
71
|
+
}, G = j(z);
|
|
44
72
|
export {
|
|
45
73
|
G as default
|
|
46
74
|
};
|
|
@@ -8,13 +8,16 @@ import { findParentFirstNodeByClass as z } from "../../../../utils/findNode.mjs"
|
|
|
8
8
|
import { BitzTableContext as j } from "../../Store/index.mjs";
|
|
9
9
|
import C from "../../../../node_modules/.store/@ant-design_icons@5.3.7/node_modules/@ant-design/icons/es/icons/FullscreenExitOutlined.mjs";
|
|
10
10
|
import T from "../../../../node_modules/.store/@ant-design_icons@5.3.7/node_modules/@ant-design/icons/es/icons/FullscreenOutlined.mjs";
|
|
11
|
-
const g = ({
|
|
11
|
+
const g = ({
|
|
12
|
+
order: m,
|
|
13
|
+
show: u = !0
|
|
14
|
+
}) => {
|
|
12
15
|
const { toolbarItemClassName: a } = B(), { fullscreen: t, setFullscreen: r } = p(j), s = x(() => t ? {
|
|
13
16
|
title: "退出全屏",
|
|
14
|
-
icon: o.jsx(C, {})
|
|
17
|
+
icon: /* @__PURE__ */ o.jsx(C, {})
|
|
15
18
|
} : {
|
|
16
19
|
title: "全屏",
|
|
17
|
-
icon: o.jsx(T, {})
|
|
20
|
+
icon: /* @__PURE__ */ o.jsx(T, {})
|
|
18
21
|
}, [t]), f = (n) => {
|
|
19
22
|
l.isEnabled || F.error("您的浏览器不支持全屏");
|
|
20
23
|
const e = z(n.target, "bitzTableBlock");
|
|
@@ -24,7 +27,17 @@ const g = ({ order: m, show: u = !0 }) => {
|
|
|
24
27
|
var e, i, c;
|
|
25
28
|
(e = n.target) != null && e.classList.contains("bitzTableBlock") && (r(!!document.fullscreenElement), (c = (i = document.fullscreenElement) == null ? void 0 : i.classList) != null && c.contains("bitzTableBlock") || r(!1));
|
|
26
29
|
}), document == null ? void 0 : document.removeEventListener("fullscreenchange", () => {
|
|
27
|
-
})), []), u ? o.jsx(
|
|
30
|
+
})), []), u ? /* @__PURE__ */ o.jsx(
|
|
31
|
+
E,
|
|
32
|
+
{
|
|
33
|
+
type: "text",
|
|
34
|
+
className: a,
|
|
35
|
+
onClick: f,
|
|
36
|
+
icon: s.icon,
|
|
37
|
+
style: { order: m },
|
|
38
|
+
children: s.title
|
|
39
|
+
}
|
|
40
|
+
) : null;
|
|
28
41
|
}, G = d(g);
|
|
29
42
|
export {
|
|
30
43
|
G as default
|