bitz-react-admin-ui 2.10.7-beta.2 → 2.10.7-beta.3
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/index.mjs +2 -2
- package/dist/_virtual/index2.mjs +2 -2
- package/dist/assets/iconfont/IconChenggong.mjs +5 -18
- package/dist/assets/iconfont/IconClose.mjs +5 -18
- package/dist/assets/iconfont/IconColumnCancelFixed.mjs +5 -18
- package/dist/assets/iconfont/IconColumnFixedLeft.mjs +5 -18
- package/dist/assets/iconfont/IconColumnFixedRight.mjs +5 -18
- package/dist/assets/iconfont/IconCuowu.mjs +5 -18
- package/dist/assets/iconfont/IconDragOrder.mjs +5 -18
- package/dist/assets/iconfont/IconDuigoux.mjs +5 -18
- package/dist/assets/iconfont/IconFabu.mjs +8 -27
- package/dist/assets/iconfont/IconFanhui.mjs +5 -18
- package/dist/assets/iconfont/IconGaojisousuo.mjs +5 -18
- package/dist/assets/iconfont/IconHangfengexian.mjs +9 -35
- package/dist/assets/iconfont/IconHangliefengexian.mjs +9 -35
- package/dist/assets/iconfont/IconIcFluentHomeRegular.mjs +5 -18
- package/dist/assets/iconfont/IconIcon21.mjs +5 -18
- package/dist/assets/iconfont/IconJincoude.mjs +5 -18
- package/dist/assets/iconfont/IconJinggao.mjs +5 -18
- package/dist/assets/iconfont/IconKuansongde.mjs +5 -18
- package/dist/assets/iconfont/IconLiefengexian.mjs +9 -35
- package/dist/assets/iconfont/IconMore.mjs +9 -34
- package/dist/assets/iconfont/IconShanchu.mjs +5 -18
- package/dist/assets/iconfont/IconShanchu1.mjs +8 -27
- package/dist/assets/iconfont/IconSousuo.mjs +5 -18
- package/dist/assets/iconfont/IconTejincou.mjs +5 -18
- package/dist/assets/iconfont/IconTekuansong.mjs +5 -18
- package/dist/assets/iconfont/IconTishi1.mjs +5 -18
- package/dist/assets/iconfont/IconTuodong.mjs +5 -18
- package/dist/assets/iconfont/IconWubanmawentianchong.mjs +8 -29
- package/dist/assets/iconfont/IconWufengexian.mjs +5 -19
- package/dist/assets/iconfont/IconXinxitishi.mjs +5 -18
- package/dist/assets/iconfont/IconYoubanmawentianchong.mjs +8 -28
- package/dist/assets/iconfont/IconZhongdengde.mjs +5 -18
- package/dist/assets/iconfont/IconZhongzhi.mjs +5 -18
- package/dist/assets/iconfont/index.mjs +4 -1
- package/dist/components/BitzAddTag/index.mjs +17 -38
- package/dist/components/BitzAddressBook/index.mjs +33 -81
- package/dist/components/BitzAppRefresh/index.mjs +11 -17
- package/dist/components/BitzBetterScroll/index.mjs +13 -1
- package/dist/components/BitzButton/index.mjs +33 -25
- package/dist/components/BitzCalendar/index.mjs +42 -60
- package/dist/components/BitzCascader/BitzCascaderMobile.mjs +25 -47
- package/dist/components/BitzCascader/index.mjs +5 -1
- package/dist/components/BitzCollapse/index.mjs +5 -2
- package/dist/components/BitzConfigProvider/context.mjs +1 -3
- package/dist/components/BitzConfirmModal/index.mjs +22 -25
- package/dist/components/BitzDayJs/index.mjs +1 -1
- package/dist/components/BitzDescriptions/index.mjs +1 -11
- package/dist/components/BitzDrawer/index.mjs +14 -18
- package/dist/components/BitzEmpty/index.mjs +5 -1
- package/dist/components/BitzException/index.mjs +1 -6
- package/dist/components/BitzFloatLayout/index.mjs +14 -2
- package/dist/components/BitzFluentDatePicker/index.mjs +4 -1
- package/dist/components/BitzFluentRangePicker/index.mjs +4 -1
- package/dist/components/BitzFluentRangeTimePicker/index.mjs +4 -1
- package/dist/components/BitzFluentTimePicker/index.mjs +4 -1
- package/dist/components/BitzFuiCalendar/BitzFuiCalendarStore.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarAgendum.mjs +15 -15
- package/dist/components/BitzFuiCalendar/CalendarAgendumItem.mjs +4 -2
- package/dist/components/BitzFuiCalendar/CalendarBody.mjs +13 -24
- package/dist/components/BitzFuiCalendar/CalendarHead.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarHeadItem.mjs +10 -14
- package/dist/components/BitzFuiCalendar/CalendarToolbar.mjs +25 -46
- package/dist/components/BitzFuiCalendar/ColumnData.mjs +9 -17
- package/dist/components/BitzFuiCalendar/FuiCalendarItem.mjs +19 -20
- package/dist/components/BitzFuiCalendar/index.mjs +3 -1
- package/dist/components/BitzFullScreen/index.mjs +40 -17
- package/dist/components/BitzHighlight/Child.mjs +12 -9
- package/dist/components/BitzHighlight/Highlight.mjs +10 -8
- package/dist/components/BitzHighlight/chunks.mjs +17 -20
- package/dist/components/BitzHighlight/style.mjs +25 -22
- package/dist/components/BitzImage/index.mjs +5 -1
- package/dist/components/BitzImage/previewImage.mjs +5 -12
- package/dist/components/BitzLanguageTabs/index.mjs +29 -20
- package/dist/components/BitzLazyLoad/index.mjs +1 -7
- package/dist/components/BitzList/List.mjs +1 -15
- package/dist/components/BitzList/LoadMore.mjs +23 -22
- package/dist/components/BitzLoadMore/index.mjs +7 -13
- package/dist/components/BitzMeetingTime/BitzMeetingTimeItem.mjs +12 -10
- package/dist/components/BitzMeetingTime/index.mjs +15 -4
- package/dist/components/BitzMobileLoading/index.mjs +3 -1
- package/dist/components/BitzModal/index.mjs +13 -20
- package/dist/components/BitzNoData/index.mjs +8 -1
- package/dist/components/BitzNoMore/index.mjs +4 -1
- package/dist/components/BitzOrganizationSelection/index.mjs +32 -30
- package/dist/components/BitzPageContainer/index.mjs +21 -42
- package/dist/components/BitzPageHeader/index.mjs +14 -48
- package/dist/components/BitzPagination/index.mjs +9 -38
- package/dist/components/BitzPopover/index.mjs +8 -2
- package/dist/components/BitzPullRefresh/PullRefresh.mjs +43 -45
- package/dist/components/BitzQRCode/index.mjs +1 -6
- package/dist/components/BitzQueryFilter/QueryFilterContent.mjs +23 -20
- package/dist/components/BitzQueryFilter/QueryFilterDrawer.mjs +7 -1
- package/dist/components/BitzQueryFilter/QueryFilterMobile.mjs +3 -1
- package/dist/components/BitzQueryFilter/index.mjs +7 -39
- package/dist/components/BitzRefresh/index.mjs +13 -4
- package/dist/components/BitzRemark/index.mjs +6 -1
- package/dist/components/BitzSearch/index.mjs +12 -2
- package/dist/components/BitzSelect/component/BitzSelectMobile.mjs +49 -99
- package/dist/components/BitzSelect/index.mjs +10 -2
- package/dist/components/BitzSkeleton/index.mjs +1 -31
- package/dist/components/BitzTabbar/BitzTabbar.mjs +7 -13
- package/dist/components/BitzTabbar/BitzTabbarItem.mjs +15 -3
- package/dist/components/BitzTable/ActionBar/ActionBar.mjs +41 -86
- package/dist/components/BitzTable/ActionBar/Button.mjs +4 -1
- package/dist/components/BitzTable/ActionBar/style.mjs +62 -67
- package/dist/components/BitzTable/ActionCol/index.mjs +65 -166
- package/dist/components/BitzTable/ActionCol/style.mjs +74 -88
- package/dist/components/BitzTable/Dropdown/index.mjs +15 -11
- package/dist/components/BitzTable/Dropdown/style.mjs +66 -70
- package/dist/components/BitzTable/SelectionBar/Button.mjs +22 -16
- package/dist/components/BitzTable/SelectionBar/SelectionBar.mjs +15 -13
- package/dist/components/BitzTable/SelectionBar/style.mjs +79 -96
- package/dist/components/BitzTable/Store/index.mjs +126 -152
- package/dist/components/BitzTable/Store/utils/index.mjs +11 -2
- package/dist/components/BitzTable/SubTable/index.mjs +63 -68
- package/dist/components/BitzTable/Table/ResizableTitle copy.mjs +27 -37
- package/dist/components/BitzTable/Table/SortTableContext.mjs +7 -19
- package/dist/components/BitzTable/Table/SortableRow.mjs +32 -34
- package/dist/components/BitzTable/Table/TdCell.mjs +14 -12
- package/dist/components/BitzTable/Table/index.mjs +418 -532
- package/dist/components/BitzTable/Table/useScrollConfig.mjs +18 -10
- package/dist/components/BitzTable/Table/utils.mjs +20 -21
- package/dist/components/BitzTable/TextOverflow/index.mjs +15 -14
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.d.ts +0 -1
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +120 -119
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndItem.mjs +114 -120
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndList.mjs +26 -37
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +340 -342
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndItem.mjs +23 -33
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndList.mjs +16 -30
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.mjs +168 -145
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/RadioCard.mjs +12 -9
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/ScopeSwitch.mjs +29 -17
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +233 -170
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/index.mjs +51 -54
- package/dist/components/BitzTable/ToolBar/ExportIcon/ExportModal.mjs +53 -53
- package/dist/components/BitzTable/ToolBar/ExportIcon/index.mjs +33 -33
- package/dist/components/BitzTable/ToolBar/FullscreenIcon/index.mjs +52 -39
- package/dist/components/BitzTable/ToolBar/Modal/index.d.ts +1 -1
- package/dist/components/BitzTable/ToolBar/Modal/index.mjs +19 -38
- package/dist/components/BitzTable/ToolBar/RefreshIcon/index.mjs +34 -20
- package/dist/components/BitzTable/ToolBar/Wrapper/index.mjs +32 -44
- package/dist/components/BitzTable/ToolBar/style.mjs +59 -58
- package/dist/components/BitzTableOperations/index.mjs +8 -13
- package/dist/components/BitzTableSelect/Picker/index.mjs +4 -23
- package/dist/components/BitzTableSelect/Select/index.mjs +2 -48
- package/dist/components/BitzTableSelect/SelectPopup/getData.mjs +16 -22
- package/dist/components/BitzTableSelect/SelectPopup/index.mjs +72 -156
- package/dist/components/BitzTableSelect/SingleSelect/index.mjs +1 -43
- package/dist/components/BitzTableSelect/TableCell/index.mjs +24 -52
- package/dist/components/BitzTableSelect/TextBlock/index.mjs +10 -18
- package/dist/components/BitzTableSelect/index.mjs +5 -39
- package/dist/components/BitzTag/index.mjs +10 -2
- package/dist/components/BitzText/index.mjs +37 -42
- package/dist/components/BitzTheme/index.mjs +5 -1
- package/dist/components/BitzTimeline/index.mjs +1 -11
- package/dist/components/BitzTimer/Form.mjs +32 -38
- package/dist/components/BitzTimer/Timer.mjs +8 -23
- package/dist/components/BitzTimer/index.mjs +36 -35
- package/dist/components/BitzToast/Toast/index.mjs +24 -12
- package/dist/components/BitzToast/index.mjs +7 -1
- package/dist/components/BitzTooltip/index.mjs +35 -45
- package/dist/components/BitzTooltip/style.mjs +41 -38
- package/dist/components/BitzUeEditor/config.mjs +183 -185
- package/dist/components/BitzUeEditor/index.mjs +10 -2
- package/dist/components/BitzUpload/index.mjs +56 -67
- package/dist/components/BitzWebAppDrawer/index.mjs +4 -18
- package/dist/components/BitzWebAppModal/index.mjs +6 -1
- package/dist/hooks/use-event-listener.mjs +4 -5
- package/dist/hooks/use-lock-fn.mjs +10 -13
- package/dist/hooks/use-scroll-parent.mjs +4 -4
- package/dist/hooks/useEvent.mjs +4 -7
- package/dist/hooks/useMergedState.mjs +6 -1
- package/dist/node_modules/classnames/index.mjs +1 -1
- package/dist/node_modules/dayjs/locale/zh-cn.mjs +10 -10
- package/dist/node_modules/prop-types/index.mjs +1 -1
- package/dist/style.css +1 -1
- package/dist/utils/WithFluent.mjs +13 -9
- package/dist/utils/create.mjs +1 -7
- package/dist/utils/get-default-props.mjs +3 -1
- package/dist/utils/time.mjs +8 -8
- package/package.json +5 -5
- package/dist/_virtual/dayjs.min.mjs +0 -4
- package/dist/components/BitzTable/Select/index.d.ts +0 -3
- package/dist/components/BitzTable/Select/style.d.ts +0 -4
- package/dist/components/BitzTable/ToolBar/ExportIcon/AnyDataTotalLabel.d.ts +0 -11
- package/dist/components/BitzTable/ToolBar/ExportIcon/styles.d.ts +0 -3
- package/dist/node_modules/dayjs/dayjs.min.mjs +0 -297
|
@@ -3,9 +3,16 @@ import { useState as u, useRef as v, useMemo as D, useEffect as f } from "react"
|
|
|
3
3
|
import { PlusOutlined as L } from "@ant-design/icons";
|
|
4
4
|
import { theme as M, Space as O, Input as T, Tag as V, Tooltip as _ } from "antd";
|
|
5
5
|
import { useTranslation as $ } from "../../node_modules/react-i18next/dist/es/useTranslation.mjs";
|
|
6
|
-
const N = ({
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
const N = ({
|
|
7
|
+
tagData: h = [],
|
|
8
|
+
changeEmit: c = () => {
|
|
9
|
+
}
|
|
10
|
+
}) => {
|
|
11
|
+
const {
|
|
12
|
+
t: k
|
|
13
|
+
} = $(), {
|
|
14
|
+
token: z
|
|
15
|
+
} = M.useToken(), [n, l] = u(), [p, m] = u(!1), [r, I] = u(""), [x, j] = u(-1), [a, d] = u(""), C = v(null), g = v(null), s = D(() => h || [], [h]);
|
|
9
16
|
f(() => s != null && s.length && (s == null ? void 0 : s.length) > 0 ? l(s) : l([]), [s]), f(() => {
|
|
10
17
|
var e;
|
|
11
18
|
p && ((e = C.current) == null || e.focus());
|
|
@@ -45,43 +52,15 @@ const N = ({ tagData: h = [], changeEmit: c = () => {
|
|
|
45
52
|
return /* @__PURE__ */ t.jsxs(O, { size: [0, 8], wrap: !0, children: [
|
|
46
53
|
(n == null ? void 0 : n.length) > 0 ? /* @__PURE__ */ t.jsx(t.Fragment, { children: n.map((e, o) => {
|
|
47
54
|
if (x === o)
|
|
48
|
-
return /* @__PURE__ */ t.jsx(
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
value: a,
|
|
55
|
-
onChange: A,
|
|
56
|
-
onBlur: E,
|
|
57
|
-
onPressEnter: E
|
|
58
|
-
},
|
|
59
|
-
o
|
|
60
|
-
);
|
|
61
|
-
const i = (e == null ? void 0 : e.length) > 20, S = /* @__PURE__ */ t.jsx(V, { closable: !0, style: { userSelect: "none" }, onClose: () => B(e), children: /* @__PURE__ */ t.jsx(
|
|
62
|
-
"span",
|
|
63
|
-
{
|
|
64
|
-
onDoubleClick: (F) => {
|
|
65
|
-
o !== 0 && (j(o), d(e), F.preventDefault());
|
|
66
|
-
},
|
|
67
|
-
children: i ? `${e.slice(0, 20)}...` : e
|
|
68
|
-
}
|
|
69
|
-
) }, e);
|
|
55
|
+
return /* @__PURE__ */ t.jsx(T, { ref: g, size: "small", style: b, value: a, onChange: A, onBlur: E, onPressEnter: E }, o);
|
|
56
|
+
const i = (e == null ? void 0 : e.length) > 20, S = /* @__PURE__ */ t.jsx(V, { closable: !0, style: {
|
|
57
|
+
userSelect: "none"
|
|
58
|
+
}, onClose: () => B(e), children: /* @__PURE__ */ t.jsx("span", { onDoubleClick: (F) => {
|
|
59
|
+
o !== 0 && (j(o), d(e), F.preventDefault());
|
|
60
|
+
}, children: i ? `${e.slice(0, 20)}...` : e }) }, e);
|
|
70
61
|
return i ? /* @__PURE__ */ t.jsx(_, { title: e, children: S }, e) : S;
|
|
71
62
|
}) }) : /* @__PURE__ */ t.jsx(t.Fragment, {}),
|
|
72
|
-
p ? /* @__PURE__ */ t.jsx(
|
|
73
|
-
T,
|
|
74
|
-
{
|
|
75
|
-
ref: C,
|
|
76
|
-
type: "text",
|
|
77
|
-
size: "small",
|
|
78
|
-
style: b,
|
|
79
|
-
value: r,
|
|
80
|
-
onChange: R,
|
|
81
|
-
onBlur: y,
|
|
82
|
-
onPressEnter: y
|
|
83
|
-
}
|
|
84
|
-
) : /* @__PURE__ */ t.jsx(V, { style: w, icon: /* @__PURE__ */ t.jsx(L, {}), onClick: P, children: k("System_Add", "添加") })
|
|
63
|
+
p ? /* @__PURE__ */ t.jsx(T, { ref: C, type: "text", size: "small", style: b, value: r, onChange: R, onBlur: y, onPressEnter: y }) : /* @__PURE__ */ t.jsx(V, { style: w, icon: /* @__PURE__ */ t.jsx(L, {}), onClick: P, children: k("System_Add", "添加") })
|
|
85
64
|
] });
|
|
86
65
|
};
|
|
87
66
|
export {
|
|
@@ -6,43 +6,33 @@ import r from "./index.module.less.mjs";
|
|
|
6
6
|
import A from "../BitzEmpty/index.mjs";
|
|
7
7
|
import z from "../BitzDrawer/index.mjs";
|
|
8
8
|
import u from "../BitzButton/index.mjs";
|
|
9
|
-
const R = ({
|
|
9
|
+
const R = ({
|
|
10
|
+
list: l,
|
|
11
|
+
onSelect: t,
|
|
12
|
+
onClickItem: n
|
|
13
|
+
}) => {
|
|
10
14
|
const d = ["全部", "0-9", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"], a = v(null), [p, x] = m("全部");
|
|
11
15
|
function f(e) {
|
|
12
16
|
return /[\u4e00-\u9fa5]/.test(e) ? e == null ? void 0 : e.slice(1) : e == null ? void 0 : e.slice(0, 4);
|
|
13
17
|
}
|
|
14
18
|
function j(e) {
|
|
15
|
-
return e.length ? e == null ? void 0 : e.map((i) => /* @__PURE__ */ s.jsxs(
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
/* @__PURE__ */ s.jsx("div", { className: r.phone, children: i.phone })
|
|
27
|
-
] })
|
|
28
|
-
]
|
|
29
|
-
},
|
|
30
|
-
i.id
|
|
31
|
-
)) : /* @__PURE__ */ s.jsx(A, { style: { marginTop: 100 } });
|
|
19
|
+
return e.length ? e == null ? void 0 : e.map((i) => /* @__PURE__ */ s.jsxs("div", { className: r.item, onClick: () => {
|
|
20
|
+
n == null || n(i);
|
|
21
|
+
}, children: [
|
|
22
|
+
/* @__PURE__ */ s.jsx("div", { className: r.avatar, children: f(i.name) }),
|
|
23
|
+
/* @__PURE__ */ s.jsxs("div", { className: r.info, children: [
|
|
24
|
+
/* @__PURE__ */ s.jsx("div", { className: r.name, children: i.name }),
|
|
25
|
+
/* @__PURE__ */ s.jsx("div", { className: r.phone, children: i.phone })
|
|
26
|
+
] })
|
|
27
|
+
] }, i.id)) : /* @__PURE__ */ s.jsx(A, { style: {
|
|
28
|
+
marginTop: 100
|
|
29
|
+
} });
|
|
32
30
|
}
|
|
33
31
|
return /* @__PURE__ */ s.jsxs("div", { ref: a, className: r.container, children: [
|
|
34
32
|
/* @__PURE__ */ s.jsx("div", { className: r.main, children: j(l) }),
|
|
35
|
-
/* @__PURE__ */ s.jsx("div", { className: r.sidebar, children: d.map((e) => /* @__PURE__ */ s.jsx(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
className: `${r.item} ${p === e ? r.active : ""}`,
|
|
39
|
-
onClick: () => {
|
|
40
|
-
x(e), t == null || t(e);
|
|
41
|
-
},
|
|
42
|
-
children: e
|
|
43
|
-
},
|
|
44
|
-
e
|
|
45
|
-
)) })
|
|
33
|
+
/* @__PURE__ */ s.jsx("div", { className: r.sidebar, children: d.map((e) => /* @__PURE__ */ s.jsx("div", { className: `${r.item} ${p === e ? r.active : ""}`, onClick: () => {
|
|
34
|
+
x(e), t == null || t(e);
|
|
35
|
+
}, children: e }, e)) })
|
|
46
36
|
] });
|
|
47
37
|
}, K = ({
|
|
48
38
|
tabs: l = [],
|
|
@@ -70,61 +60,23 @@ const R = ({ list: l, onSelect: t, onClickItem: n }) => {
|
|
|
70
60
|
/* @__PURE__ */ s.jsxs("div", { className: r.filter, children: [
|
|
71
61
|
/* @__PURE__ */ s.jsxs("div", { className: r.input, children: [
|
|
72
62
|
/* @__PURE__ */ s.jsx(C, { className: r.icon }),
|
|
73
|
-
/* @__PURE__ */ s.jsx(
|
|
74
|
-
"
|
|
75
|
-
|
|
76
|
-
placeholder: "姓名",
|
|
77
|
-
type: "text",
|
|
78
|
-
onKeyUp: (o) => {
|
|
79
|
-
o.code.toLowerCase() === "enter" && (a == null || a(o.currentTarget.value));
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
)
|
|
63
|
+
/* @__PURE__ */ s.jsx("input", { placeholder: "姓名", type: "text", onKeyUp: (o) => {
|
|
64
|
+
o.code.toLowerCase() === "enter" && (a == null || a(o.currentTarget.value));
|
|
65
|
+
} })
|
|
83
66
|
] }),
|
|
84
|
-
/* @__PURE__ */ s.jsx(
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
className: r.filterIcon,
|
|
88
|
-
onClick: () => {
|
|
89
|
-
c(!0);
|
|
90
|
-
},
|
|
91
|
-
children: /* @__PURE__ */ s.jsx(g, {})
|
|
92
|
-
}
|
|
93
|
-
)
|
|
67
|
+
/* @__PURE__ */ s.jsx("div", { className: r.filterIcon, onClick: () => {
|
|
68
|
+
c(!0);
|
|
69
|
+
}, children: /* @__PURE__ */ s.jsx(g, {}) })
|
|
94
70
|
] }),
|
|
95
71
|
/* @__PURE__ */ s.jsx(N, { items: i, onChange: x, destroyInactiveTabPane: !0 }),
|
|
96
|
-
/* @__PURE__ */ s.jsx(
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
footer: /* @__PURE__ */ s.jsx(B, { justify: "center", children: /* @__PURE__ */ s.jsxs(y, { children: [
|
|
105
|
-
/* @__PURE__ */ s.jsx(
|
|
106
|
-
u,
|
|
107
|
-
{
|
|
108
|
-
onClick: () => {
|
|
109
|
-
j(), c(!1);
|
|
110
|
-
},
|
|
111
|
-
children: "重置"
|
|
112
|
-
}
|
|
113
|
-
),
|
|
114
|
-
/* @__PURE__ */ s.jsx(
|
|
115
|
-
u,
|
|
116
|
-
{
|
|
117
|
-
type: "primary",
|
|
118
|
-
onClick: () => {
|
|
119
|
-
e(), c(!1);
|
|
120
|
-
},
|
|
121
|
-
children: "确认"
|
|
122
|
-
}
|
|
123
|
-
)
|
|
124
|
-
] }) }),
|
|
125
|
-
children: n
|
|
126
|
-
}
|
|
127
|
-
)
|
|
72
|
+
/* @__PURE__ */ s.jsx(z, { title: "筛选", height: d, open: h, placement: "bottom", onClose: () => c(!1), footer: /* @__PURE__ */ s.jsx(B, { justify: "center", children: /* @__PURE__ */ s.jsxs(y, { children: [
|
|
73
|
+
/* @__PURE__ */ s.jsx(u, { onClick: () => {
|
|
74
|
+
j(), c(!1);
|
|
75
|
+
}, children: "重置" }),
|
|
76
|
+
/* @__PURE__ */ s.jsx(u, { type: "primary", onClick: () => {
|
|
77
|
+
e(), c(!1);
|
|
78
|
+
}, children: "确认" })
|
|
79
|
+
] }) }), children: n })
|
|
128
80
|
] });
|
|
129
81
|
};
|
|
130
82
|
export {
|
|
@@ -3,8 +3,11 @@ import { useState as o } from "react";
|
|
|
3
3
|
import { isMobile as T } from "../../node_modules/react-device-detect/dist/lib.mjs";
|
|
4
4
|
import P from "../BitzRefresh/index.mjs";
|
|
5
5
|
import "./index.less.mjs";
|
|
6
|
-
const b = ({
|
|
7
|
-
|
|
6
|
+
const b = ({
|
|
7
|
+
children: c,
|
|
8
|
+
pageRefeshEmit: r = () => {
|
|
9
|
+
}
|
|
10
|
+
}) => {
|
|
8
11
|
const [a, s] = o(!1), [u, h] = o(0), [f, e] = o(0), m = (t) => {
|
|
9
12
|
const n = t.changedTouches[0].clientY;
|
|
10
13
|
h(n);
|
|
@@ -16,21 +19,12 @@ const b = ({ children: c, pageRefeshEmit: r = () => {
|
|
|
16
19
|
r(), s(!1);
|
|
17
20
|
}, 2e3)), e(0));
|
|
18
21
|
};
|
|
19
|
-
return /* @__PURE__ */ i.jsxs(
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
onTouchEnd: () => {
|
|
26
|
-
d();
|
|
27
|
-
},
|
|
28
|
-
children: [
|
|
29
|
-
/* @__PURE__ */ i.jsx(P, { showRefresh: a }),
|
|
30
|
-
c
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
);
|
|
22
|
+
return /* @__PURE__ */ i.jsxs("div", { className: "bitzPageBlock", onTouchStart: m, onTouchMove: l, onTouchEnd: () => {
|
|
23
|
+
d();
|
|
24
|
+
}, children: [
|
|
25
|
+
/* @__PURE__ */ i.jsx(P, { showRefresh: a }),
|
|
26
|
+
c
|
|
27
|
+
] });
|
|
34
28
|
};
|
|
35
29
|
export {
|
|
36
30
|
b as default
|
|
@@ -4,7 +4,19 @@ import l from "../../node_modules/prop-types/index.mjs";
|
|
|
4
4
|
import x from "../../node_modules/better-scroll/dist/better-scroll.esm.mjs";
|
|
5
5
|
import { debounce as m } from "../../node_modules/throttle-debounce/esm/index.mjs";
|
|
6
6
|
const b = T((u, h) => {
|
|
7
|
-
const [o, s] = E(), f = L(), {
|
|
7
|
+
const [o, s] = E(), f = L(), {
|
|
8
|
+
direction: i,
|
|
9
|
+
click: w,
|
|
10
|
+
refresh: D,
|
|
11
|
+
pullUpLoading: y,
|
|
12
|
+
pullDownLoading: P,
|
|
13
|
+
bounceTop: S,
|
|
14
|
+
bounceBottom: B
|
|
15
|
+
} = u, {
|
|
16
|
+
pullUp: n,
|
|
17
|
+
pullDown: t,
|
|
18
|
+
onScroll: c
|
|
19
|
+
} = u, p = d(() => m(500, n), [n]), a = d(() => m(500, t), [t]);
|
|
8
20
|
return e(() => {
|
|
9
21
|
const r = new x(f.current, {
|
|
10
22
|
scrollX: i === "horizental",
|
|
@@ -1,30 +1,38 @@
|
|
|
1
1
|
import { j as e } from "../../node_modules/react/jsx-runtime.mjs";
|
|
2
2
|
import { Button as l } from "antd";
|
|
3
|
-
const c = ({
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
3
|
+
const c = ({
|
|
4
|
+
type: d = "default",
|
|
5
|
+
warning: f = !1,
|
|
6
|
+
success: n = !1,
|
|
7
|
+
...o
|
|
8
|
+
}) => {
|
|
9
|
+
const r = {
|
|
10
|
+
type: d,
|
|
11
|
+
...o
|
|
12
|
+
};
|
|
13
|
+
return o.danger ? /* @__PURE__ */ e.jsx(l, { danger: !0, ...r, children: r.children }) : f ? d === "default" ? /* @__PURE__ */ e.jsx(l, { style: {
|
|
14
|
+
borderColor: "#ff8f1f",
|
|
15
|
+
color: "#ff8f1f"
|
|
16
|
+
}, ...r, children: r.children }) : d === "dashed" ? /* @__PURE__ */ e.jsx(l, { style: {
|
|
17
|
+
borderColor: "#ff8f1f",
|
|
18
|
+
borderWidth: "dashed",
|
|
19
|
+
color: "#ff8f1f"
|
|
20
|
+
}, ...r, children: r.children }) : d === "text" || d === "link" ? /* @__PURE__ */ e.jsx(l, { style: {
|
|
21
|
+
color: "#ff8f1f"
|
|
22
|
+
}, ...r, children: r.children }) : /* @__PURE__ */ e.jsx(l, { style: {
|
|
23
|
+
backgroundColor: "#ff8f1f"
|
|
24
|
+
}, ...r, children: r.children }) : n ? d === "default" ? /* @__PURE__ */ e.jsx(l, { style: {
|
|
25
|
+
borderColor: "#00b578",
|
|
26
|
+
color: "#00b578"
|
|
27
|
+
}, ...r, children: r.children }) : d === "dashed" ? /* @__PURE__ */ e.jsx(l, { style: {
|
|
28
|
+
borderColor: "#00b578",
|
|
29
|
+
borderWidth: "dashed",
|
|
30
|
+
color: "#00b578"
|
|
31
|
+
}, ...r, children: r.children }) : d === "text" || d === "link" ? /* @__PURE__ */ e.jsx(l, { style: {
|
|
32
|
+
color: "#00b578"
|
|
33
|
+
}, ...r, children: r.children }) : /* @__PURE__ */ e.jsx(l, { style: {
|
|
34
|
+
backgroundColor: "#00b578"
|
|
35
|
+
}, ...r, children: r.children }) : /* @__PURE__ */ e.jsx(l, { ...r, children: r.children });
|
|
28
36
|
};
|
|
29
37
|
export {
|
|
30
38
|
c as default
|
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
import { j as n } from "../../node_modules/react/jsx-runtime.mjs";
|
|
2
|
-
import { useRef as
|
|
3
|
-
import { Calendar as
|
|
4
|
-
import
|
|
2
|
+
import { useRef as z, useEffect as O } from "react";
|
|
3
|
+
import { Calendar as R, Select as a, Row as k, Col as y } from "antd";
|
|
4
|
+
import w from "dayjs";
|
|
5
5
|
import B from "../../node_modules/dayjs/plugin/weekOfYear.mjs";
|
|
6
6
|
import "../../node_modules/dayjs/locale/zh-cn.mjs";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
w.extend(B);
|
|
8
|
+
const A = ({
|
|
9
|
+
fold: l = !1,
|
|
10
|
+
...N
|
|
11
|
+
}) => {
|
|
12
|
+
const m = {
|
|
13
|
+
fold: l,
|
|
14
|
+
...N
|
|
15
|
+
}, f = z(null);
|
|
16
|
+
return O(() => {
|
|
12
17
|
setTimeout(() => {
|
|
13
18
|
var c, i;
|
|
14
19
|
const t = (c = f.current) == null ? void 0 : c.querySelector(".ant-picker-calendar-date-today"), r = (i = t == null ? void 0 : t.parentNode) == null ? void 0 : i.parentNode, s = r == null ? void 0 : r.parentNode, u = s == null ? void 0 : s.parentNode;
|
|
@@ -16,58 +21,35 @@ const A = ({ fold: l = !1, ...g }) => {
|
|
|
16
21
|
l ? o.style.display = o === r ? "table-row" : "none" : o.style.display = "table-row";
|
|
17
22
|
});
|
|
18
23
|
}, 0);
|
|
19
|
-
}, [l]), /* @__PURE__ */ n.jsx("div", { ref: f, children: /* @__PURE__ */ n.jsx(
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
const p = t.clone().year(e);
|
|
49
|
-
s(p);
|
|
50
|
-
},
|
|
51
|
-
children: j
|
|
52
|
-
}
|
|
53
|
-
) }),
|
|
54
|
-
/* @__PURE__ */ n.jsx(y, { children: /* @__PURE__ */ n.jsx(
|
|
55
|
-
a,
|
|
56
|
-
{
|
|
57
|
-
size: "small",
|
|
58
|
-
popupMatchSelectWidth: !1,
|
|
59
|
-
value: S,
|
|
60
|
-
onChange: (e) => {
|
|
61
|
-
const p = t.clone().month(e);
|
|
62
|
-
s(p);
|
|
63
|
-
},
|
|
64
|
-
children: o
|
|
65
|
-
}
|
|
66
|
-
) })
|
|
67
|
-
] }) });
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
) });
|
|
24
|
+
}, [l]), /* @__PURE__ */ n.jsx("div", { ref: f, children: /* @__PURE__ */ n.jsx(R, { className: "BitzCalendarBlock", fullscreen: !1, headerRender: m.headerRender ? m.headerRender : ({
|
|
25
|
+
value: t,
|
|
26
|
+
type: r,
|
|
27
|
+
onChange: s,
|
|
28
|
+
onTypeChange: u
|
|
29
|
+
}) => {
|
|
30
|
+
const o = [];
|
|
31
|
+
let d = t.clone();
|
|
32
|
+
const g = t.localeData(), x = [];
|
|
33
|
+
for (let e = 0; e < 12; e++)
|
|
34
|
+
d = d.month(e), x.push(g.monthsShort(d));
|
|
35
|
+
for (let e = 0; e < 12; e++)
|
|
36
|
+
o.push(/* @__PURE__ */ n.jsx(a.Option, { value: e, className: "month-item", children: x[e] }, e));
|
|
37
|
+
const h = t.year(), S = t.month(), j = [];
|
|
38
|
+
for (let e = h - 10; e < h + 10; e += 1)
|
|
39
|
+
j.push(/* @__PURE__ */ n.jsx(a.Option, { value: e, className: "year-item", children: e }, e));
|
|
40
|
+
return /* @__PURE__ */ n.jsx("div", { style: {
|
|
41
|
+
padding: 8
|
|
42
|
+
}, children: /* @__PURE__ */ n.jsxs(k, { gutter: 8, children: [
|
|
43
|
+
/* @__PURE__ */ n.jsx(y, { children: /* @__PURE__ */ n.jsx(a, { size: "small", popupMatchSelectWidth: !1, className: "my-year-select", value: h, onChange: (e) => {
|
|
44
|
+
const p = t.clone().year(e);
|
|
45
|
+
s(p);
|
|
46
|
+
}, children: j }) }),
|
|
47
|
+
/* @__PURE__ */ n.jsx(y, { children: /* @__PURE__ */ n.jsx(a, { size: "small", popupMatchSelectWidth: !1, value: S, onChange: (e) => {
|
|
48
|
+
const p = t.clone().month(e);
|
|
49
|
+
s(p);
|
|
50
|
+
}, children: o }) })
|
|
51
|
+
] }) });
|
|
52
|
+
} }) });
|
|
71
53
|
};
|
|
72
54
|
export {
|
|
73
55
|
A as default
|
|
@@ -4,10 +4,20 @@ import { Input as N, Tabs as g, Radio as z } from "antd";
|
|
|
4
4
|
import { useImmer as B } from "../../node_modules/use-immer/dist/use-immer.module.mjs";
|
|
5
5
|
import { BitzPickDrawer as K } from "../BitzDrawer/index.mjs";
|
|
6
6
|
import { DownOutlined as O } from "@ant-design/icons";
|
|
7
|
-
const d = {
|
|
7
|
+
const d = {
|
|
8
|
+
label: "请选择",
|
|
9
|
+
key: "",
|
|
10
|
+
value: ""
|
|
11
|
+
}, V = (t) => {
|
|
8
12
|
var f;
|
|
9
|
-
const [v, x] = h(((f = t.defaultValue) == null ? void 0 : f.join(" / ")) || ""), [j, r] = h(!1), [o, b] = B([{
|
|
10
|
-
|
|
13
|
+
const [v, x] = h(((f = t.defaultValue) == null ? void 0 : f.join(" / ")) || ""), [j, r] = h(!1), [o, b] = B([{
|
|
14
|
+
...d,
|
|
15
|
+
children: t.options
|
|
16
|
+
}]), [u, i] = h(d.label), m = () => {
|
|
17
|
+
r(!1), b([{
|
|
18
|
+
...d,
|
|
19
|
+
children: t.options
|
|
20
|
+
}]), i(d.label);
|
|
11
21
|
}, k = () => {
|
|
12
22
|
var s;
|
|
13
23
|
const l = o.slice(1), a = l.map((c) => ({
|
|
@@ -38,50 +48,18 @@ const d = { label: "请选择", key: "", value: "" }, V = (t) => {
|
|
|
38
48
|
b(a);
|
|
39
49
|
};
|
|
40
50
|
return /* @__PURE__ */ n.jsxs("div", { className: "bitzCascaderMobileBlock", children: [
|
|
41
|
-
/* @__PURE__ */ n.jsx(
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
open: j,
|
|
54
|
-
handleCancel: m,
|
|
55
|
-
handleOk: k,
|
|
56
|
-
children: /* @__PURE__ */ n.jsx(
|
|
57
|
-
g,
|
|
58
|
-
{
|
|
59
|
-
defaultActiveKey: u,
|
|
60
|
-
activeKey: u,
|
|
61
|
-
items: o.map((l) => {
|
|
62
|
-
var a;
|
|
63
|
-
return {
|
|
64
|
-
key: l.label,
|
|
65
|
-
label: l.label,
|
|
66
|
-
children: (a = l.children) == null ? void 0 : a.map((e, s) => /* @__PURE__ */ n.jsxs(
|
|
67
|
-
"div",
|
|
68
|
-
{
|
|
69
|
-
className: "item",
|
|
70
|
-
onClick: () => C(e),
|
|
71
|
-
children: [
|
|
72
|
-
/* @__PURE__ */ n.jsx("span", { children: e.label }),
|
|
73
|
-
/* @__PURE__ */ n.jsx("span", { children: e.label === u ? /* @__PURE__ */ n.jsx(z, { checked: !0 }) : "" })
|
|
74
|
-
]
|
|
75
|
-
},
|
|
76
|
-
s
|
|
77
|
-
))
|
|
78
|
-
};
|
|
79
|
-
}),
|
|
80
|
-
onChange: y
|
|
81
|
-
}
|
|
82
|
-
)
|
|
83
|
-
}
|
|
84
|
-
)
|
|
51
|
+
/* @__PURE__ */ n.jsx(N, { placeholder: t.placeholder, onClick: () => r(!0), value: v, suffix: /* @__PURE__ */ n.jsx(O, {}) }),
|
|
52
|
+
/* @__PURE__ */ n.jsx(K, { open: j, handleCancel: m, handleOk: k, children: /* @__PURE__ */ n.jsx(g, { defaultActiveKey: u, activeKey: u, items: o.map((l) => {
|
|
53
|
+
var a;
|
|
54
|
+
return {
|
|
55
|
+
key: l.label,
|
|
56
|
+
label: l.label,
|
|
57
|
+
children: (a = l.children) == null ? void 0 : a.map((e, s) => /* @__PURE__ */ n.jsxs("div", { className: "item", onClick: () => C(e), children: [
|
|
58
|
+
/* @__PURE__ */ n.jsx("span", { children: e.label }),
|
|
59
|
+
/* @__PURE__ */ n.jsx("span", { children: e.label === u ? /* @__PURE__ */ n.jsx(z, { checked: !0 }) : "" })
|
|
60
|
+
] }, s))
|
|
61
|
+
};
|
|
62
|
+
}), onChange: y }) })
|
|
85
63
|
] });
|
|
86
64
|
};
|
|
87
65
|
export {
|
|
@@ -7,7 +7,11 @@ const x = ({
|
|
|
7
7
|
options: s = [],
|
|
8
8
|
...i
|
|
9
9
|
}) => {
|
|
10
|
-
const r = {
|
|
10
|
+
const r = {
|
|
11
|
+
placeholder: t,
|
|
12
|
+
options: s,
|
|
13
|
+
...i
|
|
14
|
+
};
|
|
11
15
|
return a ? /* @__PURE__ */ o.jsx(m, { ...r }) : /* @__PURE__ */ o.jsx(e, { ...r });
|
|
12
16
|
};
|
|
13
17
|
export {
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { j as l } from "../../node_modules/react/jsx-runtime.mjs";
|
|
2
2
|
import { MenuUnfoldOutlined as e, MenuFoldOutlined as i } from "@ant-design/icons";
|
|
3
3
|
import "./index.less.mjs";
|
|
4
|
-
const d = ({
|
|
5
|
-
|
|
4
|
+
const d = ({
|
|
5
|
+
isCollapse: s,
|
|
6
|
+
onClick: o = () => {
|
|
7
|
+
}
|
|
8
|
+
}) => /* @__PURE__ */ l.jsx("div", { className: "bitzCollapseBlock", onClick: o, children: s ? /* @__PURE__ */ l.jsx(e, { id: "isCollapse" }) : /* @__PURE__ */ l.jsx(i, { id: "isCollapse" }) });
|
|
6
9
|
export {
|
|
7
10
|
d as default
|
|
8
11
|
};
|
|
@@ -8,7 +8,19 @@ import "./index.less.mjs";
|
|
|
8
8
|
import { useTranslation as N } from "../../node_modules/react-i18next/dist/es/useTranslation.mjs";
|
|
9
9
|
const _ = (m) => {
|
|
10
10
|
var i;
|
|
11
|
-
const {
|
|
11
|
+
const {
|
|
12
|
+
okButtonProps: d,
|
|
13
|
+
okType: p,
|
|
14
|
+
onOk: t,
|
|
15
|
+
onCancel: r,
|
|
16
|
+
title: f,
|
|
17
|
+
modalText: x,
|
|
18
|
+
...u
|
|
19
|
+
} = m, {
|
|
20
|
+
t: s
|
|
21
|
+
} = N(), {
|
|
22
|
+
token: n
|
|
23
|
+
} = g.useToken(), o = v(), a = M(o), [h, l] = C(!1), k = async () => {
|
|
12
24
|
var c;
|
|
13
25
|
t ? (l(!0), (c = t == null ? void 0 : t()) == null || c.finally(() => {
|
|
14
26
|
l(!1), o.resolve("ok"), o.hide();
|
|
@@ -16,30 +28,15 @@ const _ = (m) => {
|
|
|
16
28
|
}, y = () => {
|
|
17
29
|
r == null || r(), o.resolve("cancel"), o.hide();
|
|
18
30
|
};
|
|
19
|
-
return /* @__PURE__ */ e.jsx(
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
onOk: k,
|
|
29
|
-
onCancel: y,
|
|
30
|
-
confirmLoading: h,
|
|
31
|
-
okText: s("System_Deter", "确定"),
|
|
32
|
-
okType: p || "primary",
|
|
33
|
-
okButtonProps: { danger: !0, ...d },
|
|
34
|
-
cancelText: s("System_Cancel", "取消"),
|
|
35
|
-
...u,
|
|
36
|
-
style: { "--modalContent-colorBg": (i = n.Modal) == null ? void 0 : i.headerBg },
|
|
37
|
-
children: /* @__PURE__ */ e.jsxs("div", { className: "textBox", children: [
|
|
38
|
-
/* @__PURE__ */ e.jsx("div", { className: "warnIcon", children: /* @__PURE__ */ e.jsx(S, { className: "icon", color: n.colorError, size: 20 }) }),
|
|
39
|
-
/* @__PURE__ */ e.jsx("div", { className: "modalText", children: x || s("System_CanUSure", "您确定要删除吗?") })
|
|
40
|
-
] })
|
|
41
|
-
}
|
|
42
|
-
);
|
|
31
|
+
return /* @__PURE__ */ e.jsx(j, { open: a.open, afterClose: a.afterClose, className: "bitzConfirmModalBlock", title: f || s("System_Tip", "提示"), width: 400, closeIcon: /* @__PURE__ */ e.jsx(T, {}), onOk: k, onCancel: y, confirmLoading: h, okText: s("System_Deter", "确定"), okType: p || "primary", okButtonProps: {
|
|
32
|
+
danger: !0,
|
|
33
|
+
...d
|
|
34
|
+
}, cancelText: s("System_Cancel", "取消"), ...u, style: {
|
|
35
|
+
"--modalContent-colorBg": (i = n.Modal) == null ? void 0 : i.headerBg
|
|
36
|
+
}, children: /* @__PURE__ */ e.jsxs("div", { className: "textBox", children: [
|
|
37
|
+
/* @__PURE__ */ e.jsx("div", { className: "warnIcon", children: /* @__PURE__ */ e.jsx(S, { className: "icon", color: n.colorError, size: 20 }) }),
|
|
38
|
+
/* @__PURE__ */ e.jsx("div", { className: "modalText", children: x || s("System_CanUSure", "您确定要删除吗?") })
|
|
39
|
+
] }) });
|
|
43
40
|
}, D = B(_);
|
|
44
41
|
export {
|
|
45
42
|
D as default
|