bitz-react-admin-ui 2.2.6 → 2.2.8
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/Draggable.mjs +4 -0
- package/dist/_virtual/DraggableCore.mjs +4 -0
- package/dist/_virtual/Resizable.mjs +4 -0
- package/dist/_virtual/ResizableBox.mjs +4 -0
- package/dist/_virtual/_commonjsHelpers.mjs +26 -4
- package/dist/_virtual/cjs.mjs +4 -0
- package/dist/_virtual/clsx.m.mjs +6 -0
- package/dist/_virtual/domFns.mjs +4 -0
- package/dist/_virtual/getPrefix.mjs +4 -0
- package/dist/_virtual/index6.mjs +4 -0
- package/dist/_virtual/log.mjs +4 -0
- package/dist/_virtual/positionFns.mjs +4 -0
- package/dist/_virtual/propTypes.mjs +4 -0
- package/dist/_virtual/shims.mjs +4 -0
- package/dist/_virtual/utils.mjs +4 -0
- package/dist/assets/iconfont/IconChenggong.mjs +4 -10
- package/dist/assets/iconfont/IconClose.mjs +1 -7
- package/dist/assets/iconfont/IconColumnCancelFixed.mjs +4 -25
- package/dist/assets/iconfont/IconColumnFixedLeft.mjs +8 -29
- package/dist/assets/iconfont/IconColumnFixedRight.mjs +7 -28
- package/dist/assets/iconfont/IconCuowu.mjs +2 -8
- package/dist/assets/iconfont/IconDragOrder.mjs +7 -28
- package/dist/assets/iconfont/IconDuigoux.mjs +2 -8
- package/dist/assets/iconfont/IconFabu.mjs +3 -18
- package/dist/assets/iconfont/IconFanhui.mjs +5 -11
- package/dist/assets/iconfont/IconGaojisousuo.mjs +4 -10
- package/dist/assets/iconfont/IconHangfengexian.mjs +4 -27
- package/dist/assets/iconfont/IconHangliefengexian.mjs +4 -27
- package/dist/assets/iconfont/IconIcFluentHomeRegular.mjs +5 -11
- package/dist/assets/iconfont/IconIcon21.mjs +2 -8
- package/dist/assets/iconfont/IconJincoude.mjs +3 -9
- package/dist/assets/iconfont/IconJinggao.mjs +2 -8
- package/dist/assets/iconfont/IconKuansongde.mjs +5 -11
- package/dist/assets/iconfont/IconLiefengexian.mjs +5 -28
- package/dist/assets/iconfont/IconMore.mjs +4 -26
- package/dist/assets/iconfont/IconShanchu.mjs +5 -11
- package/dist/assets/iconfont/IconShanchu1.mjs +3 -18
- package/dist/assets/iconfont/IconSousuo.mjs +4 -10
- package/dist/assets/iconfont/IconTejincou.mjs +1 -7
- package/dist/assets/iconfont/IconTekuansong.mjs +5 -11
- package/dist/assets/iconfont/IconTishi1.mjs +6 -12
- package/dist/assets/iconfont/IconTuodong.mjs +6 -12
- package/dist/assets/iconfont/IconWubanmawentianchong.mjs +5 -22
- package/dist/assets/iconfont/IconWufengexian.mjs +4 -11
- package/dist/assets/iconfont/IconXinxitishi.mjs +3 -9
- package/dist/assets/iconfont/IconYoubanmawentianchong.mjs +7 -23
- package/dist/assets/iconfont/IconZhongdengde.mjs +4 -10
- package/dist/assets/iconfont/IconZhongzhi.mjs +5 -11
- package/dist/assets/iconfont/index.mjs +33 -33
- package/dist/components/BitzAddTag/index.mjs +8 -41
- package/dist/components/BitzAddressBook/index.mjs +35 -122
- package/dist/components/BitzAppPage/index.mjs +4 -18
- package/dist/components/BitzAppRefresh/index.mjs +15 -27
- package/dist/components/BitzBetterScroll/index.mjs +5 -5
- package/dist/components/BitzButton/index.mjs +9 -23
- package/dist/components/BitzCalendar/index.mjs +19 -52
- package/dist/components/BitzCascader/BitzCascaderMobile.mjs +30 -68
- package/dist/components/BitzCascader/index.mjs +2 -6
- package/dist/components/BitzCollapse/index.mjs +4 -4
- package/dist/components/BitzConfigProvider/context.mjs +1 -3
- package/dist/components/BitzConfigProvider/index.mjs +8 -12
- package/dist/components/BitzConfirmModal/index.mjs +1 -24
- package/dist/components/BitzConvert/DropdownToButton/index.mjs +11 -14
- package/dist/components/BitzConvert/index.mjs +1 -1
- package/dist/components/BitzDescriptions/index.mjs +1 -11
- package/dist/components/BitzDrawer/index.mjs +2 -17
- package/dist/components/BitzEmpty/index.mjs +2 -6
- package/dist/components/BitzException/index.mjs +1 -6
- package/dist/components/BitzFloatLayout/index.mjs +1 -10
- package/dist/components/BitzFuiCalendar/BitzFuiCalendarStore.mjs +16 -13
- package/dist/components/BitzFuiCalendar/CalendarAgendum.mjs +20 -26
- package/dist/components/BitzFuiCalendar/CalendarAgendumItem.mjs +3 -21
- package/dist/components/BitzFuiCalendar/CalendarBody.mjs +4 -27
- package/dist/components/BitzFuiCalendar/CalendarHead.mjs +2 -5
- package/dist/components/BitzFuiCalendar/CalendarHeadItem.mjs +3 -12
- package/dist/components/BitzFuiCalendar/CalendarToolbar.mjs +19 -51
- package/dist/components/BitzFuiCalendar/ColumnData.mjs +14 -30
- package/dist/components/BitzFuiCalendar/FuiCalendarItem.mjs +5 -47
- package/dist/components/BitzFuiCalendar/index.mjs +1 -7
- package/dist/components/BitzFullScreen/index.mjs +6 -9
- package/dist/components/BitzHighlight/Child.mjs +9 -23
- package/dist/components/BitzHighlight/Highlight.mjs +5 -26
- package/dist/components/BitzHighlight/chunks.mjs +17 -20
- package/dist/components/BitzHighlight/style.mjs +1 -4
- package/dist/components/BitzImage/index.mjs +1 -1
- package/dist/components/BitzImage/previewImage.mjs +5 -12
- package/dist/components/BitzLanguageTabs/index.mjs +3 -14
- package/dist/components/BitzLazyLoad/index.mjs +1 -7
- package/dist/components/BitzList/List.mjs +3 -17
- package/dist/components/BitzList/LoadMore.mjs +20 -29
- package/dist/components/BitzLoadMore/index.mjs +14 -34
- package/dist/components/BitzMeetingTime/BitzMeetingTimeItem.mjs +11 -24
- package/dist/components/BitzMeetingTime/index.mjs +6 -10
- package/dist/components/BitzMobileLoading/index.mjs +1 -1
- package/dist/components/BitzModal/index.mjs +11 -24
- package/dist/components/BitzNoData/index.mjs +1 -4
- package/dist/components/BitzNoMore/index.mjs +1 -1
- package/dist/components/BitzOrganizationSelection/index.mjs +14 -43
- package/dist/components/BitzPageContainer/index.mjs +46 -107
- package/dist/components/BitzPageHeader/index.mjs +21 -89
- package/dist/components/BitzPagination/index.mjs +22 -71
- package/dist/components/BitzPopover/index.mjs +4 -4
- package/dist/components/BitzPullRefresh/PullRefresh.mjs +18 -47
- package/dist/components/BitzQRCode/index.mjs +1 -6
- package/dist/components/BitzQueryFilter/QueryFilterContent.mjs +17 -35
- package/dist/components/BitzQueryFilter/QueryFilterDrawer.mjs +13 -20
- package/dist/components/BitzQueryFilter/QueryFilterMobile.mjs +1 -4
- package/dist/components/BitzQueryFilter/index.mjs +20 -69
- package/dist/components/BitzRefresh/index.mjs +1 -5
- package/dist/components/BitzRemark/index.mjs +4 -4
- package/dist/components/BitzScheduleCenter/index.mjs +30 -24
- package/dist/components/BitzSearch/index.mjs +1 -1
- package/dist/components/BitzSelect/component/BitzSelectMobile.mjs +48 -123
- package/dist/components/BitzSelect/index.mjs +1 -1
- package/dist/components/BitzSkeleton/index.mjs +1 -31
- package/dist/components/BitzSwitch/index.mjs +2 -7
- package/dist/components/BitzTabbar/BitzTabbar.mjs +8 -25
- package/dist/components/BitzTabbar/BitzTabbarItem.mjs +1 -4
- package/dist/components/BitzTable/ActionBar/ActionBar.d.ts +21 -9
- package/dist/components/BitzTable/ActionBar/ActionBar.mjs +38 -66
- package/dist/components/BitzTable/ActionBar/Button.mjs +1 -1
- package/dist/components/BitzTable/ActionBar/style.mjs +9 -12
- package/dist/components/BitzTable/ActionCol/index.d.ts +1 -1
- package/dist/components/BitzTable/ActionCol/index.mjs +32 -98
- package/dist/components/BitzTable/ActionCol/style.mjs +12 -15
- package/dist/components/BitzTable/Dropdown/index.mjs +1 -8
- package/dist/components/BitzTable/Dropdown/style.mjs +6 -9
- package/dist/components/BitzTable/SelectionBar/Button.mjs +6 -19
- package/dist/components/BitzTable/SelectionBar/SelectionBar.mjs +2 -8
- package/dist/components/BitzTable/SelectionBar/style.mjs +8 -18
- package/dist/components/BitzTable/Store/index.d.ts +5 -1
- package/dist/components/BitzTable/Store/index.mjs +189 -199
- package/dist/components/BitzTable/Store/utils/index.d.ts +1 -1
- package/dist/components/BitzTable/Store/utils/index.mjs +30 -30
- package/dist/components/BitzTable/SubTable/index.mjs +76 -119
- package/dist/components/BitzTable/Table/ResizableTitle.d.ts +8 -0
- package/dist/components/BitzTable/Table/ResizableTitle.mjs +14 -0
- package/dist/components/BitzTable/Table/SortTableContext.mjs +7 -20
- package/dist/components/BitzTable/Table/SortableRow.mjs +20 -44
- package/dist/components/BitzTable/Table/index.d.ts +1 -1
- package/dist/components/BitzTable/Table/index.mjs +257 -446
- package/dist/components/BitzTable/Table/style.mjs +1 -11
- package/dist/components/BitzTable/Table/utils.d.ts +2 -2
- package/dist/components/BitzTable/Table/utils.mjs +30 -31
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +28 -92
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndItem.mjs +22 -97
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndList.mjs +29 -68
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +147 -255
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndItem.mjs +12 -38
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndList.mjs +16 -42
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.mjs +20 -96
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/RadioCard.mjs +2 -9
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +46 -100
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/index.mjs +8 -30
- package/dist/components/BitzTable/ToolBar/ExportIcon/ExportModal.mjs +14 -44
- package/dist/components/BitzTable/ToolBar/ExportIcon/index.mjs +12 -44
- package/dist/components/BitzTable/ToolBar/FullscreenIcon/index.mjs +4 -17
- package/dist/components/BitzTable/ToolBar/Modal/index.mjs +12 -49
- package/dist/components/BitzTable/ToolBar/Modal/style.mjs +4 -0
- package/dist/components/BitzTable/ToolBar/RefreshIcon/index.mjs +9 -20
- package/dist/components/BitzTable/ToolBar/Wrapper/index.mjs +2 -48
- package/dist/components/BitzTable/ToolBar/style.mjs +1 -6
- package/dist/components/BitzTable/index.d.ts +3 -2
- package/dist/components/BitzTable/index.mjs +17 -15
- package/dist/components/BitzTableOperations/index.mjs +3 -13
- package/dist/components/BitzTableSelect/Picker/index.mjs +10 -43
- package/dist/components/BitzTableSelect/Select/index.mjs +21 -87
- package/dist/components/BitzTableSelect/SelectPopup/getData.mjs +20 -30
- package/dist/components/BitzTableSelect/SelectPopup/index.mjs +61 -239
- package/dist/components/BitzTableSelect/TableCell/index.mjs +8 -49
- package/dist/components/BitzTableSelect/TextBlock/index.mjs +5 -23
- package/dist/components/BitzTableSelect/index.mjs +13 -61
- package/dist/components/BitzTag/index.mjs +1 -1
- package/dist/components/BitzTheme/index.mjs +6 -6
- package/dist/components/BitzTimeline/index.mjs +1 -11
- package/dist/components/BitzTimer/Form.mjs +11 -32
- package/dist/components/BitzTimer/Timer.mjs +38 -76
- package/dist/components/BitzTimer/index.mjs +43 -66
- package/dist/components/BitzToast/Toast/index.mjs +10 -28
- package/dist/components/BitzToast/index.mjs +1 -1
- package/dist/components/BitzTree/index.mjs +1 -4
- package/dist/components/BitzUeEditor/index.mjs +5 -5
- package/dist/components/BitzUpload/index.mjs +43 -81
- package/dist/components/BitzWebAppDrawer/index.mjs +4 -35
- package/dist/components/BitzWebAppModal/index.mjs +3 -6
- package/dist/hooks/use-event-listener.mjs +2 -11
- package/dist/hooks/use-lock-fn.mjs +10 -13
- package/dist/hooks/use-scroll-parent.mjs +14 -16
- package/dist/hooks/useEvent.mjs +4 -7
- package/dist/hooks/useMergedState.mjs +11 -11
- package/dist/node_modules/.store/clsx@1.2.1/node_modules/clsx/dist/clsx.m.mjs +22 -0
- package/dist/node_modules/.store/prop-types@15.8.1/node_modules/prop-types/index.mjs +8 -7
- package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/Draggable.mjs +343 -0
- package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/DraggableCore.mjs +324 -0
- package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/cjs.mjs +14 -0
- package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/domFns.mjs +174 -0
- package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/getPrefix.mjs +35 -0
- package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/log.mjs +7 -0
- package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/positionFns.mjs +107 -0
- package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/shims.mjs +30 -0
- package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/build/Resizable.mjs +201 -0
- package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/build/ResizableBox.mjs +162 -0
- package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/build/propTypes.mjs +118 -0
- package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/build/utils.mjs +54 -0
- package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/index.mjs +13 -0
- package/dist/node_modules/.store/use-sync-external-store@1.2.0/node_modules/use-sync-external-store/shim/index.mjs +1 -1
- package/dist/style.css +1 -1
- package/dist/utils/WithFluent.mjs +12 -27
- package/dist/utils/create.mjs +1 -7
- package/package.json +1 -1
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { j as a } from "../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
|
|
2
2
|
import { useState as w, useRef as P, useEffect as D } from "react";
|
|
3
3
|
import { BitzPickDrawer as U } from "../../BitzDrawer/index.mjs";
|
|
4
|
-
import { Tag as z, Input as
|
|
5
|
-
import
|
|
4
|
+
import { Tag as z, Input as E, Space as q } from "antd";
|
|
5
|
+
import O from "../../../node_modules/.store/@better-scroll_core@2.5.1/node_modules/@better-scroll/core/dist/core.esm.mjs";
|
|
6
6
|
import A from "../../../node_modules/.store/@better-scroll_wheel@2.5.1/node_modules/@better-scroll/wheel/dist/wheel.esm.mjs";
|
|
7
7
|
import n from "./index.module.less.mjs";
|
|
8
8
|
import { useImmer as T } from "../../../node_modules/.store/use-immer@0.9.0/node_modules/use-immer/dist/use-immer.module.mjs";
|
|
9
9
|
import y from "../../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/DownOutlined.mjs";
|
|
10
|
-
|
|
11
|
-
const { Search: G } =
|
|
12
|
-
var C,
|
|
10
|
+
O.use(A);
|
|
11
|
+
const { Search: G } = E, te = ({ ...e }) => {
|
|
12
|
+
var C, k, g;
|
|
13
13
|
const u = e.mode === "multiple" || e.mode === "tags";
|
|
14
14
|
let b = [];
|
|
15
15
|
if (e != null && e.options && ((C = e == null ? void 0 : e.options) != null && C.length) && (e != null && e.fieldNames)) {
|
|
16
|
-
const l = (
|
|
16
|
+
const l = (k = e == null ? void 0 : e.fieldNames) == null ? void 0 : k.label, t = (g = e == null ? void 0 : e.fieldNames) == null ? void 0 : g.value;
|
|
17
17
|
(e == null ? void 0 : e.options).map((s) => {
|
|
18
18
|
const c = {};
|
|
19
19
|
c.label = s[l], c.value = s[t], b.push(c);
|
|
20
20
|
});
|
|
21
21
|
} else
|
|
22
22
|
b = (e == null ? void 0 : e.options) || [];
|
|
23
|
-
const i = b,
|
|
23
|
+
const i = b, W = (l, t) => ((t == null ? void 0 : t.label) ?? "").toLowerCase().includes(l.toLowerCase()), m = e.value ?? e.defaultValue, S = e.filterOption || W, [N, $] = w(() => {
|
|
24
24
|
const l = i == null ? void 0 : i.findIndex((t) => t.value === m);
|
|
25
25
|
return l === -1 ? 0 : l;
|
|
26
|
-
}), [
|
|
26
|
+
}), [r, h] = T(() => {
|
|
27
27
|
var l;
|
|
28
28
|
return u ? m : ((l = i == null ? void 0 : i.find((t) => t.value === m)) == null ? void 0 : l.value) || "";
|
|
29
|
-
}), I = P(null), [j, x] = w(!1), [
|
|
29
|
+
}), I = P(null), [j, x] = w(!1), [B, L] = w(""), [f, v] = T([]), V = () => {
|
|
30
30
|
x(!1);
|
|
31
|
-
},
|
|
31
|
+
}, F = () => {
|
|
32
32
|
const l = e.onChange;
|
|
33
33
|
if (u)
|
|
34
34
|
h(f.map((t) => t.value)), l == null || l(f.map((t) => t.value));
|
|
@@ -41,7 +41,7 @@ const { Search: G } = W, te = ({ ...e }) => {
|
|
|
41
41
|
D(() => {
|
|
42
42
|
if (I.current)
|
|
43
43
|
if (j) {
|
|
44
|
-
let l = new
|
|
44
|
+
let l = new O("." + n.wheel, {
|
|
45
45
|
click: !0,
|
|
46
46
|
probeType: 3,
|
|
47
47
|
preventDefaultException: {
|
|
@@ -56,9 +56,9 @@ const { Search: G } = W, te = ({ ...e }) => {
|
|
|
56
56
|
useTransition: !1
|
|
57
57
|
});
|
|
58
58
|
if (l.on("scrollEnd", () => {
|
|
59
|
-
|
|
59
|
+
$(l.getSelectedIndex());
|
|
60
60
|
}), u) {
|
|
61
|
-
const t = i.filter((
|
|
61
|
+
const t = i.filter((d) => r == null ? void 0 : r.find((s) => s === d.value));
|
|
62
62
|
v(t);
|
|
63
63
|
}
|
|
64
64
|
} else
|
|
@@ -68,123 +68,48 @@ const { Search: G } = W, te = ({ ...e }) => {
|
|
|
68
68
|
}, [j]), D(() => {
|
|
69
69
|
h(m);
|
|
70
70
|
}, [m]);
|
|
71
|
-
function
|
|
72
|
-
return u ?
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
const c = d.findIndex((o) => o === l);
|
|
83
|
-
h((o) => {
|
|
84
|
-
o.splice(c, 1);
|
|
85
|
-
});
|
|
86
|
-
},
|
|
87
|
-
children: (r = i.find((s) => l === s.value)) == null ? void 0 : r.label
|
|
88
|
-
},
|
|
89
|
-
t
|
|
90
|
-
);
|
|
91
|
-
}) }),
|
|
92
|
-
/* @__PURE__ */ a.jsx(y, { style: { color: "#d9d9d9" } })
|
|
93
|
-
] }) : /* @__PURE__ */ a.jsx(
|
|
94
|
-
W,
|
|
95
|
-
{
|
|
96
|
-
placeholder: e.placeholder,
|
|
97
|
-
onClick: () => x(!0),
|
|
98
|
-
value: d,
|
|
99
|
-
suffix: /* @__PURE__ */ a.jsx(y, { style: { color: "#d9d9d9" } })
|
|
100
|
-
}
|
|
101
|
-
);
|
|
71
|
+
function M() {
|
|
72
|
+
return u ? a.jsxs("div", { className: n.textarea, onClick: () => x(!0), children: [a.jsx("div", { children: r == null ? void 0 : r.map((l, t) => {
|
|
73
|
+
var d;
|
|
74
|
+
return a.jsx(z, { bordered: !1, closable: !0, onClose: (s) => {
|
|
75
|
+
s.preventDefault();
|
|
76
|
+
const c = r.findIndex((o) => o === l);
|
|
77
|
+
h((o) => {
|
|
78
|
+
o.splice(c, 1);
|
|
79
|
+
});
|
|
80
|
+
}, children: (d = i.find((s) => l === s.value)) == null ? void 0 : d.label }, t);
|
|
81
|
+
}) }), a.jsx(y, { style: { color: "#d9d9d9" } })] }) : a.jsx(E, { placeholder: e.placeholder, onClick: () => x(!0), value: r, suffix: a.jsx(y, { style: { color: "#d9d9d9" } }) });
|
|
102
82
|
}
|
|
103
|
-
function
|
|
104
|
-
return e.showSearch ?
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
if (e.onSearch) {
|
|
109
|
-
e.onSearch(l.currentTarget.value);
|
|
110
|
-
return;
|
|
111
|
-
}
|
|
112
|
-
O(l.currentTarget.value);
|
|
113
|
-
}
|
|
83
|
+
function R() {
|
|
84
|
+
return e.showSearch ? a.jsx("div", { className: n["search-input"], children: a.jsx(G, { onKeyUp: (l) => {
|
|
85
|
+
if (e.onSearch) {
|
|
86
|
+
e.onSearch(l.currentTarget.value);
|
|
87
|
+
return;
|
|
114
88
|
}
|
|
115
|
-
|
|
89
|
+
L(l.currentTarget.value);
|
|
90
|
+
} }) }) : null;
|
|
116
91
|
}
|
|
117
92
|
function H() {
|
|
118
|
-
return u ?
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
onClose: (r) => {
|
|
126
|
-
r.preventDefault();
|
|
127
|
-
const s = f.findIndex((c) => l.value === c.value);
|
|
128
|
-
v((c) => {
|
|
129
|
-
c.splice(s, 1);
|
|
130
|
-
});
|
|
131
|
-
},
|
|
132
|
-
children: l.label
|
|
133
|
-
},
|
|
134
|
-
t
|
|
135
|
-
)) })
|
|
136
|
-
] }) : null;
|
|
93
|
+
return u ? a.jsxs(a.Fragment, { children: [a.jsx("div", { className: n["select-label"], children: "已选择:" }), a.jsx(q, { size: [0, "small"], wrap: !0, className: n["tag-list"], children: f.map((l, t) => a.jsx(z, { bordered: !1, closable: !0, onClose: (d) => {
|
|
94
|
+
d.preventDefault();
|
|
95
|
+
const s = f.findIndex((c) => l.value === c.value);
|
|
96
|
+
v((c) => {
|
|
97
|
+
c.splice(s, 1);
|
|
98
|
+
});
|
|
99
|
+
}, children: l.label }, t)) })] }) : null;
|
|
137
100
|
}
|
|
138
101
|
function K() {
|
|
139
|
-
return (S ? i.filter((t) => S(
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
} else
|
|
149
|
-
s.push(t);
|
|
150
|
-
});
|
|
151
|
-
},
|
|
152
|
-
children: t.label
|
|
153
|
-
},
|
|
154
|
-
r
|
|
155
|
-
));
|
|
102
|
+
return (S ? i.filter((t) => S(B, t)) : i).map((t, d) => a.jsx("li", { className: n["wheel-item"], onClick: () => {
|
|
103
|
+
u && v((s) => {
|
|
104
|
+
if (f.find((c) => c.value === t.value)) {
|
|
105
|
+
const c = f.findIndex((o) => t.value === o.value);
|
|
106
|
+
s.splice(c, 1);
|
|
107
|
+
} else
|
|
108
|
+
s.push(t);
|
|
109
|
+
});
|
|
110
|
+
}, children: t.label }, d));
|
|
156
111
|
}
|
|
157
|
-
return
|
|
158
|
-
R(),
|
|
159
|
-
/* @__PURE__ */ a.jsx(
|
|
160
|
-
U,
|
|
161
|
-
{
|
|
162
|
-
open: j,
|
|
163
|
-
handleCancel: V,
|
|
164
|
-
handleOk: M,
|
|
165
|
-
height: e.drawerHeight || 273,
|
|
166
|
-
children: /* @__PURE__ */ a.jsxs("div", { ref: I, className: n.bitzSelectWrapper, children: [
|
|
167
|
-
F(),
|
|
168
|
-
H(),
|
|
169
|
-
/* @__PURE__ */ a.jsxs("div", { className: n["picker-content"], children: [
|
|
170
|
-
/* @__PURE__ */ a.jsx(
|
|
171
|
-
"div",
|
|
172
|
-
{
|
|
173
|
-
className: `${n["mask-top"]} ${n["border-bottom-1px"]}`
|
|
174
|
-
}
|
|
175
|
-
),
|
|
176
|
-
/* @__PURE__ */ a.jsx(
|
|
177
|
-
"div",
|
|
178
|
-
{
|
|
179
|
-
className: `${n["mask-bottom"]} ${n["border-top-1px"]}`
|
|
180
|
-
}
|
|
181
|
-
),
|
|
182
|
-
/* @__PURE__ */ a.jsx("div", { className: n["wheel-wrapper"], children: /* @__PURE__ */ a.jsx("div", { className: n.wheel, children: /* @__PURE__ */ a.jsx("ul", { className: n["wheel-scroll"], children: K() }) }) })
|
|
183
|
-
] })
|
|
184
|
-
] })
|
|
185
|
-
}
|
|
186
|
-
)
|
|
187
|
-
] });
|
|
112
|
+
return a.jsxs("div", { className: `bitzSelectMobileBlock ${e.className}`, children: [M(), a.jsx(U, { open: j, handleCancel: V, handleOk: F, height: e.drawerHeight || 273, children: a.jsxs("div", { ref: I, className: n.bitzSelectWrapper, children: [R(), H(), a.jsxs("div", { className: n["picker-content"], children: [a.jsx("div", { className: `${n["mask-top"]} ${n["border-bottom-1px"]}` }), a.jsx("div", { className: `${n["mask-bottom"]} ${n["border-top-1px"]}` }), a.jsx("div", { className: n["wheel-wrapper"], children: a.jsx("div", { className: n.wheel, children: a.jsx("ul", { className: n["wheel-scroll"], children: K() }) }) })] })] }) })] });
|
|
188
113
|
};
|
|
189
114
|
export {
|
|
190
115
|
te as default
|
|
@@ -4,7 +4,7 @@ import { isMobile as m } from "../../node_modules/.store/react-device-detect@2.2
|
|
|
4
4
|
import p from "./component/BitzSelectMobile.mjs";
|
|
5
5
|
const x = ({ placeholder: r = "请选择", options: e = [], ...i }) => {
|
|
6
6
|
const t = { placeholder: r, options: e, ...i };
|
|
7
|
-
return m ?
|
|
7
|
+
return m ? o.jsx(p, { ...t }) : o.jsx(s, { ...t });
|
|
8
8
|
};
|
|
9
9
|
export {
|
|
10
10
|
x as default
|
|
@@ -1,36 +1,6 @@
|
|
|
1
1
|
import { j as e } from "../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
|
|
2
2
|
import { Skeleton as n } from "antd";
|
|
3
|
-
const o = (t) =>
|
|
4
|
-
n,
|
|
5
|
-
{
|
|
6
|
-
...t
|
|
7
|
-
}
|
|
8
|
-
), r = (t) => /* @__PURE__ */ e.jsx(
|
|
9
|
-
n.Button,
|
|
10
|
-
{
|
|
11
|
-
...t
|
|
12
|
-
}
|
|
13
|
-
), s = (t) => /* @__PURE__ */ e.jsx(
|
|
14
|
-
n.Avatar,
|
|
15
|
-
{
|
|
16
|
-
...t
|
|
17
|
-
}
|
|
18
|
-
), a = (t) => /* @__PURE__ */ e.jsx(
|
|
19
|
-
n.Input,
|
|
20
|
-
{
|
|
21
|
-
...t
|
|
22
|
-
}
|
|
23
|
-
), u = (t) => /* @__PURE__ */ e.jsx(
|
|
24
|
-
n.Image,
|
|
25
|
-
{
|
|
26
|
-
...t
|
|
27
|
-
}
|
|
28
|
-
), l = (t) => /* @__PURE__ */ e.jsx(
|
|
29
|
-
n.Node,
|
|
30
|
-
{
|
|
31
|
-
...t
|
|
32
|
-
}
|
|
33
|
-
);
|
|
3
|
+
const o = (t) => e.jsx(n, { ...t }), r = (t) => e.jsx(n.Button, { ...t }), s = (t) => e.jsx(n.Avatar, { ...t }), a = (t) => e.jsx(n.Input, { ...t }), u = (t) => e.jsx(n.Image, { ...t }), l = (t) => e.jsx(n.Node, { ...t });
|
|
34
4
|
o.Button = r;
|
|
35
5
|
o.Avatar = s;
|
|
36
6
|
o.Input = a;
|
|
@@ -1,18 +1,13 @@
|
|
|
1
1
|
import { j as i } from "../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
|
|
2
2
|
import { Switch as p } from "antd";
|
|
3
|
-
const n = ({
|
|
4
|
-
checkedChildren: t = "开启",
|
|
5
|
-
unCheckedChildren: r = "关闭",
|
|
6
|
-
defaultChecked: o = !0,
|
|
7
|
-
...s
|
|
8
|
-
}) => {
|
|
3
|
+
const n = ({ checkedChildren: t = "开启", unCheckedChildren: r = "关闭", defaultChecked: o = !0, ...s }) => {
|
|
9
4
|
const e = {
|
|
10
5
|
checkedChildren: t,
|
|
11
6
|
unCheckedChildren: r,
|
|
12
7
|
defaultChecked: o,
|
|
13
8
|
...s
|
|
14
9
|
};
|
|
15
|
-
return
|
|
10
|
+
return i.jsx(p, { ...e });
|
|
16
11
|
};
|
|
17
12
|
export {
|
|
18
13
|
n as default
|
|
@@ -1,37 +1,20 @@
|
|
|
1
|
-
import { j as
|
|
1
|
+
import { j as u } from "../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
|
|
2
2
|
import r from "react";
|
|
3
3
|
import "./index.less.mjs";
|
|
4
4
|
import p from "../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
|
|
5
5
|
const k = r.forwardRef((t, o) => {
|
|
6
|
-
const {
|
|
7
|
-
value: a,
|
|
8
|
-
zIndex: n = 1,
|
|
9
|
-
route: i,
|
|
10
|
-
fixed: s = !0,
|
|
11
|
-
border: c = !0,
|
|
12
|
-
safeAreaInsetBottom: l = !0,
|
|
13
|
-
onChange: b,
|
|
14
|
-
children: d
|
|
15
|
-
} = t, m = {
|
|
6
|
+
const { value: a, zIndex: n = 1, route: i, fixed: s = !0, border: c = !0, safeAreaInsetBottom: l = !0, onChange: b, children: d } = t, m = {
|
|
16
7
|
...i ? {} : {},
|
|
17
8
|
currentName: a,
|
|
18
9
|
onClick: (e) => {
|
|
19
10
|
b(e);
|
|
20
11
|
}
|
|
21
|
-
},
|
|
22
|
-
return
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
bitzTabbarFixedBlock: s,
|
|
28
|
-
bitzTabbarBlockBorder: c,
|
|
29
|
-
bitzTabbarBlockBottomSafe: l
|
|
30
|
-
}),
|
|
31
|
-
style: { zIndex: n },
|
|
32
|
-
children: r.Children.map(d, u)
|
|
33
|
-
}
|
|
34
|
-
);
|
|
12
|
+
}, f = (e) => r.cloneElement(e, m);
|
|
13
|
+
return u.jsx("div", { ref: o, className: p("bitzTabbarBlock", {
|
|
14
|
+
bitzTabbarFixedBlock: s,
|
|
15
|
+
bitzTabbarBlockBorder: c,
|
|
16
|
+
bitzTabbarBlockBottomSafe: l
|
|
17
|
+
}), style: { zIndex: n }, children: r.Children.map(d, f) });
|
|
35
18
|
});
|
|
36
19
|
export {
|
|
37
20
|
k as default
|
|
@@ -5,10 +5,7 @@ import j from "../../assets/iconfont/index.mjs";
|
|
|
5
5
|
import "./index.less.mjs";
|
|
6
6
|
const y = ({ name: o, config: t, title: n, children: l, badgeProps: m, ...v }) => {
|
|
7
7
|
const { onClick: I, currentName: e } = v, a = s.useToken().token.colorPrimary, i = s.useToken().token.colorText, x = c(() => t[o === e ? "activeIcon" : "inactiveIcon"], [t, e, o]), d = c(() => o === e ? t.activeColor : t.inactiveColor, [t.activeColor, t.inactiveColor, e, o]), u = c(() => o === e ? a : i, [a, e, o, i]), b = c(() => t[o === e ? "activeImage" : "inactiveImage"], [t, e, o]);
|
|
8
|
-
return
|
|
9
|
-
/* @__PURE__ */ r.jsx("div", { className: `${"activeIcon" in t ? "tabbarItemIcon" : "tabbarItemImage"}`, children: /* @__PURE__ */ r.jsx(C, { ...m, children: /* @__PURE__ */ r.jsx("div", { className: "activeIcon" in t ? "icon" : "image", children: "activeIcon" in t ? /* @__PURE__ */ r.jsx(j, { name: x, color: d, size: 22 }) : /* @__PURE__ */ r.jsx("img", { src: b }) }) }) }),
|
|
10
|
-
/* @__PURE__ */ r.jsx("div", { className: "tabbarItemText", style: { color: u }, children: n || l })
|
|
11
|
-
] });
|
|
8
|
+
return r.jsxs("div", { className: "tabbarItem", onClick: () => I(o), children: [r.jsx("div", { className: `${"activeIcon" in t ? "tabbarItemIcon" : "tabbarItemImage"}`, children: r.jsx(C, { ...m, children: r.jsx("div", { className: "activeIcon" in t ? "icon" : "image", children: "activeIcon" in t ? r.jsx(j, { name: x, color: d, size: 22 }) : r.jsx("img", { src: b }) }) }) }), r.jsx("div", { className: "tabbarItemText", style: { color: u }, children: n || l })] });
|
|
12
9
|
};
|
|
13
10
|
export {
|
|
14
11
|
y as default
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
import { FC, MouseEventHandler, ReactNode } from 'react';
|
|
2
|
-
import { DropdownProps } from 'antd';
|
|
2
|
+
import { DropdownProps as AntDropdownProps, ButtonProps as AntButtonProps } from 'antd';
|
|
3
3
|
import { SubMenuType } from 'antd/es/menu/hooks/useItems';
|
|
4
4
|
import { DensitySize } from '../Store';
|
|
5
|
-
|
|
5
|
+
interface AddButtonType extends Omit<AntButtonProps, 'children' | 'onClick'> {
|
|
6
6
|
/** 按钮文字 */
|
|
7
7
|
text: string;
|
|
8
8
|
show?: boolean;
|
|
9
9
|
onClick: MouseEventHandler;
|
|
10
|
-
}
|
|
11
|
-
|
|
10
|
+
}
|
|
11
|
+
interface ExcelButtonType extends Omit<AntDropdownProps, 'menu' | 'children'> {
|
|
12
12
|
show?: boolean;
|
|
13
13
|
/** 按钮文字 */
|
|
14
14
|
text?: string;
|
|
15
|
-
/** 触发下拉菜单的方式 */
|
|
16
|
-
trigger?: DropdownProps['trigger'];
|
|
17
15
|
menu?: SubMenuType[];
|
|
18
16
|
/**
|
|
19
17
|
* menu点击事件,通过key值判断是下载或导入
|
|
@@ -22,15 +20,29 @@ type ExcelButtonType = {
|
|
|
22
20
|
*/
|
|
23
21
|
onClick?: (key: string) => void;
|
|
24
22
|
otherMenu?: SubMenuType[];
|
|
25
|
-
}
|
|
23
|
+
}
|
|
24
|
+
interface ButtonProps extends Omit<AntButtonProps, 'type' | 'children'> {
|
|
25
|
+
type: 'primary' | 'secondary';
|
|
26
|
+
text: string;
|
|
27
|
+
}
|
|
28
|
+
interface DropdownProps extends AntDropdownProps {
|
|
29
|
+
type: 'dropdown';
|
|
30
|
+
text: string;
|
|
31
|
+
}
|
|
32
|
+
export type ActionbarBtnTypeValue = 'primary' | 'secondary' | 'dropdown';
|
|
33
|
+
export type ActionbarBtnBaseType<T extends ActionbarBtnTypeValue = 'primary'> = T extends 'primary' | 'secondary' ? Omit<AntButtonProps, 'type'> : DropdownProps;
|
|
34
|
+
export type ActionbarBtnType<T extends ActionbarBtnTypeValue = 'primary'> = {
|
|
35
|
+
type: T;
|
|
36
|
+
} & ActionbarBtnBaseType<T>;
|
|
26
37
|
export interface BitzTableActionBarProps {
|
|
27
38
|
size?: DensitySize;
|
|
28
39
|
/** 添加按钮 */
|
|
29
|
-
add
|
|
40
|
+
add?: AddButtonType;
|
|
30
41
|
/** excel dropdown按钮,下载和导入菜单 */
|
|
31
|
-
excel
|
|
42
|
+
excel?: ExcelButtonType;
|
|
32
43
|
/** 中间的按钮 */
|
|
33
44
|
children?: ReactNode;
|
|
45
|
+
actions?: (ButtonProps | DropdownProps)[];
|
|
34
46
|
}
|
|
35
47
|
/** 表格头部左侧按钮组 -- 添加、excel导入 */
|
|
36
48
|
declare const BitzTableActionBar: FC<BitzTableActionBarProps>;
|
|
@@ -1,69 +1,41 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { useMemo as
|
|
3
|
-
import { Space as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}, [
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
{
|
|
39
|
-
type: "primary",
|
|
40
|
-
icon: /* @__PURE__ */ o.jsx(g, {}),
|
|
41
|
-
onClick: i.onClick,
|
|
42
|
-
className: j,
|
|
43
|
-
children: i.text
|
|
44
|
-
}
|
|
45
|
-
),
|
|
46
|
-
C,
|
|
47
|
-
t.show !== !1 && /* @__PURE__ */ o.jsx(
|
|
48
|
-
c,
|
|
49
|
-
{
|
|
50
|
-
menu: { items: y, onClick: ({ key: n }) => {
|
|
51
|
-
var r;
|
|
52
|
-
return (r = t.onClick) == null ? void 0 : r.call(t, n);
|
|
53
|
-
} },
|
|
54
|
-
trigger: (t == null ? void 0 : t.trigger) || ["click"],
|
|
55
|
-
getPopupContainer: (n) => {
|
|
56
|
-
var r, s;
|
|
57
|
-
return (s = (r = n.parentElement) == null ? void 0 : r.parentElement) == null ? void 0 : s.parentElement;
|
|
58
|
-
},
|
|
59
|
-
children: /* @__PURE__ */ o.jsx(f, { className: k, type: "text", children: /* @__PURE__ */ o.jsxs(u, { size: 6, children: [
|
|
60
|
-
/* @__PURE__ */ o.jsx("span", { children: t.text ?? "Excel文档导入" }),
|
|
61
|
-
/* @__PURE__ */ o.jsx(w, {})
|
|
62
|
-
] }) })
|
|
63
|
-
}
|
|
64
|
-
)
|
|
65
|
-
] });
|
|
1
|
+
import { j as s } from "../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
|
|
2
|
+
import { useMemo as y } from "react";
|
|
3
|
+
import { Space as l } from "antd";
|
|
4
|
+
import m from "../../BitzButton/index.mjs";
|
|
5
|
+
import k from "./style.mjs";
|
|
6
|
+
import f from "../Dropdown/index.mjs";
|
|
7
|
+
import N from "../../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/PlusCircleFilled.mjs";
|
|
8
|
+
import o from "../../../node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/omit.mjs";
|
|
9
|
+
import c from "../../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/CaretDownOutlined.mjs";
|
|
10
|
+
const G = ({ size: C, add: e, excel: t, actions: i, children: E }) => {
|
|
11
|
+
const { blockCls: g, addBtnClassName: h, btnClassName: a } = k(C), w = y(() => [
|
|
12
|
+
{
|
|
13
|
+
key: "download",
|
|
14
|
+
label: "Excel模板下载"
|
|
15
|
+
// icon: (
|
|
16
|
+
// <CloudDownloadOutlined style={{ fontSize: 14 }} />
|
|
17
|
+
// ),
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
key: "import",
|
|
21
|
+
label: "Excel数据导入"
|
|
22
|
+
// icon: (
|
|
23
|
+
// <CloudUploadOutlined style={{ fontSize: 14 }} />
|
|
24
|
+
// ),
|
|
25
|
+
},
|
|
26
|
+
...(t == null ? void 0 : t.otherMenu) ?? []
|
|
27
|
+
], [t]), d = y(() => i == null ? void 0 : i.map((r, n) => r.type === "primary" ? s.jsx(m, { type: "primary", icon: s.jsx(N, {}), className: h, ...o(r, "type", "className", "children"), children: r == null ? void 0 : r.text }, n) : r.type === "secondary" ? s.jsx(m, { type: "text", className: a, ...o(r, "type", "className", "children"), children: r == null ? void 0 : r.text }, n) : s.jsx(f, { getPopupContainer: (p) => {
|
|
28
|
+
var j, u;
|
|
29
|
+
return (u = (j = p.parentElement) == null ? void 0 : j.parentElement) == null ? void 0 : u.parentElement;
|
|
30
|
+
}, ...o(r, "children"), children: s.jsx(m, { className: a, type: "text", children: s.jsxs(l, { size: 6, children: [s.jsx("span", { children: r.text }), s.jsx(c, {})] }) }) }, n)), [i]);
|
|
31
|
+
return s.jsxs(l.Compact, { className: g, style: { height: "100%" }, children: [(e == null ? void 0 : e.show) !== !1 && s.jsx(m, { type: "primary", icon: s.jsx(N, {}), className: h, ...o(e, "show", "type", "className", "children"), children: e == null ? void 0 : e.text }), i ? d : E, (t == null ? void 0 : t.show) !== !1 && s.jsx(f, { menu: { items: w, onClick: ({ key: r }) => {
|
|
32
|
+
var n;
|
|
33
|
+
return (n = t == null ? void 0 : t.onClick) == null ? void 0 : n.call(t, r);
|
|
34
|
+
} }, trigger: (t == null ? void 0 : t.trigger) || ["click"], getPopupContainer: (r) => {
|
|
35
|
+
var n, p;
|
|
36
|
+
return (p = (n = r.parentElement) == null ? void 0 : n.parentElement) == null ? void 0 : p.parentElement;
|
|
37
|
+
}, ...o(t, "show", "menu", "trigger", "children"), children: s.jsx(m, { className: a, type: "text", children: s.jsxs(l, { size: 6, children: [s.jsx("span", { children: (t == null ? void 0 : t.text) ?? "Excel文档导入" }), s.jsx(c, {})] }) }) })] });
|
|
66
38
|
};
|
|
67
39
|
export {
|
|
68
|
-
|
|
40
|
+
G as default
|
|
69
41
|
};
|
|
@@ -3,7 +3,7 @@ import e from "../../BitzButton/index.mjs";
|
|
|
3
3
|
import r from "./style.mjs";
|
|
4
4
|
const i = ({ ...t }) => {
|
|
5
5
|
const { btnClassName: o } = r();
|
|
6
|
-
return
|
|
6
|
+
return s.jsx(e, { className: o, type: "text", ...t });
|
|
7
7
|
};
|
|
8
8
|
export {
|
|
9
9
|
i as default
|
|
@@ -72,18 +72,15 @@ const Q = (m) => {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
];
|
|
75
|
-
A(
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
(
|
|
83
|
-
|
|
84
|
-
h(r, p, i)
|
|
85
|
-
]
|
|
86
|
-
);
|
|
75
|
+
A({
|
|
76
|
+
theme: g,
|
|
77
|
+
token: i,
|
|
78
|
+
hashId: n,
|
|
79
|
+
path: [r]
|
|
80
|
+
}, () => [
|
|
81
|
+
B(r, a, c, i),
|
|
82
|
+
h(r, p, i)
|
|
83
|
+
]);
|
|
87
84
|
const d = `${u}${c}`, x = f(a, d, n), y = f(a, p, d, n);
|
|
88
85
|
return { blockCls: r, addBtnClassName: x, btnClassName: y };
|
|
89
86
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BitzTableActionProps, BitzTableColumnType, BitzTableActionColProps } from '..';
|
|
2
|
-
export declare function BitzTableAction<T>({ actionGroup, refInstance, }: BitzTableActionProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare function BitzTableAction<T>({ loading, actionGroup, refInstance, }: BitzTableActionProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
/** 表格操作列 */
|
|
4
4
|
declare function BitzTableActionCol<T>(props: BitzTableActionColProps<T>): BitzTableColumnType<T>;
|
|
5
5
|
export default BitzTableActionCol;
|