bitz-react-admin-ui 2.7.5 → 2.7.7
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/index2.mjs +2 -2
- package/dist/_virtual/index3.mjs +2 -2
- 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 +6 -6
- 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 +184 -55
- 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 +103 -62
- package/dist/components/BitzTable/Store/utils/index.mjs +5 -5
- package/dist/components/BitzTable/SubTable/index.mjs +122 -73
- package/dist/components/BitzTable/Table/ResizableTitle copy.mjs +43 -21
- 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 +444 -211
- 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 +105 -31
- 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 +325 -159
- 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 +135 -38
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/RadioCard.mjs +9 -2
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/ScopeSwitch.mjs +18 -5
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +121 -49
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/index.mjs +62 -18
- package/dist/components/BitzTable/ToolBar/ExportIcon/ExportModal.mjs +59 -16
- 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 +46 -14
- 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/BitzTable/index.d.ts +2 -0
- 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 +59 -20
- 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/classnames/index.mjs +1 -1
- package/dist/node_modules/react-is/index.mjs +1 -1
- package/dist/style.css +1 -1
- package/dist/utils/WithFluent.mjs +9 -3
- package/dist/utils/create.mjs +7 -1
- package/package.json +1 -1
|
@@ -1,10 +1,31 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { getIconColor as
|
|
3
|
-
const
|
|
1
|
+
import { j as i } from "../../node_modules/react/jsx-runtime.mjs";
|
|
2
|
+
import { getIconColor as x } from "./helper.mjs";
|
|
3
|
+
const s = {
|
|
4
4
|
display: "block"
|
|
5
|
-
}, p = ({
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
}, p = ({
|
|
6
|
+
size: t = 18,
|
|
7
|
+
color: c,
|
|
8
|
+
style: o,
|
|
9
|
+
...r
|
|
10
|
+
}) => {
|
|
11
|
+
const n = o ? { ...s, ...o } : s;
|
|
12
|
+
return /* @__PURE__ */ i.jsx(
|
|
13
|
+
"svg",
|
|
14
|
+
{
|
|
15
|
+
viewBox: "0 0 1024 1024",
|
|
16
|
+
width: t + "px",
|
|
17
|
+
height: t + "px",
|
|
18
|
+
style: n,
|
|
19
|
+
...r,
|
|
20
|
+
children: /* @__PURE__ */ i.jsx(
|
|
21
|
+
"path",
|
|
22
|
+
{
|
|
23
|
+
d: "M512 198.485c54.811 0 99.239-44.442 99.239-99.239 0-54.798-44.429-99.24-99.239-99.24-54.812 0-99.24 44.442-99.24 99.24 0 54.797 44.428 99.239 99.24 99.239zM512 315.127c-46.976 0-85.063 38.087-85.063 85.063v538.742c0 46.976 38.087 85.063 85.063 85.063 46.975 0 85.063-38.087 85.063-85.063V400.19c0-46.976-38.088-85.063-85.063-85.063z",
|
|
24
|
+
fill: x(c, 0, "#040000")
|
|
25
|
+
}
|
|
26
|
+
)
|
|
27
|
+
}
|
|
28
|
+
);
|
|
8
29
|
};
|
|
9
30
|
export {
|
|
10
31
|
p as default
|
|
@@ -2,9 +2,40 @@ import { j as t } from "../../node_modules/react/jsx-runtime.mjs";
|
|
|
2
2
|
import { getIconColor as s } from "./helper.mjs";
|
|
3
3
|
const n = {
|
|
4
4
|
display: "block"
|
|
5
|
-
}, r = ({
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
}, r = ({
|
|
6
|
+
size: h = 18,
|
|
7
|
+
color: o,
|
|
8
|
+
style: a,
|
|
9
|
+
...i
|
|
10
|
+
}) => {
|
|
11
|
+
const p = a ? { ...n, ...a } : n;
|
|
12
|
+
return /* @__PURE__ */ t.jsxs(
|
|
13
|
+
"svg",
|
|
14
|
+
{
|
|
15
|
+
viewBox: "0 0 1024 1024",
|
|
16
|
+
width: h + "px",
|
|
17
|
+
height: h + "px",
|
|
18
|
+
style: p,
|
|
19
|
+
...i,
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ t.jsx(
|
|
22
|
+
"path",
|
|
23
|
+
{
|
|
24
|
+
d: "M184.871385 0A184.871385 184.871385 0 0 0 0 184.871385v654.25723A184.871385 184.871385 0 0 0 184.871385 1024h654.25723A184.871385 184.871385 0 0 0 1024 839.128615V184.871385A184.871385 184.871385 0 0 0 839.128615 0H184.871385zM85.346462 184.871385a99.603692 99.603692 0 0 1 99.524923-99.524923h270.25723V315.076923h-369.821538V184.871385zM540.435692 708.923077h398.217846v130.205538a99.564308 99.564308 0 0 1-99.524923 99.524923h-298.692923V708.923077zM938.653538 315.076923h-398.178461V85.346462h298.653538a99.603692 99.603692 0 0 1 99.524923 99.524923V315.076923zM455.128615 708.923077v229.730461H184.871385a99.564308 99.564308 0 0 1-99.524923-99.524923V708.923077h369.782153z m-369.821538-367.576615h853.346461v341.307076H85.346462V341.346462z",
|
|
25
|
+
fill: s(o, 0, "#3F51B5"),
|
|
26
|
+
opacity: ".504"
|
|
27
|
+
}
|
|
28
|
+
),
|
|
29
|
+
/* @__PURE__ */ t.jsx(
|
|
30
|
+
"path",
|
|
31
|
+
{
|
|
32
|
+
d: "M78.769231 315.076923h866.461538v393.846154H78.769231z",
|
|
33
|
+
fill: s(o, 1, "#3F51B5")
|
|
34
|
+
}
|
|
35
|
+
)
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
);
|
|
8
39
|
};
|
|
9
40
|
export {
|
|
10
41
|
r as default
|
|
@@ -2,10 +2,31 @@ import { j as o } from "../../node_modules/react/jsx-runtime.mjs";
|
|
|
2
2
|
import { getIconColor as m } from "./helper.mjs";
|
|
3
3
|
const t = {
|
|
4
4
|
display: "block"
|
|
5
|
-
},
|
|
5
|
+
}, i = ({
|
|
6
|
+
size: a = 18,
|
|
7
|
+
color: v,
|
|
8
|
+
style: h,
|
|
9
|
+
...s
|
|
10
|
+
}) => {
|
|
6
11
|
const e = h ? { ...t, ...h } : t;
|
|
7
|
-
return
|
|
12
|
+
return /* @__PURE__ */ o.jsx(
|
|
13
|
+
"svg",
|
|
14
|
+
{
|
|
15
|
+
viewBox: "0 0 1024 1024",
|
|
16
|
+
width: a + "px",
|
|
17
|
+
height: a + "px",
|
|
18
|
+
style: e,
|
|
19
|
+
...s,
|
|
20
|
+
children: /* @__PURE__ */ o.jsx(
|
|
21
|
+
"path",
|
|
22
|
+
{
|
|
23
|
+
d: "M964.923077 846.769231a39.384615 39.384615 0 0 1 39.384615 39.384615v39.384616a39.384615 39.384615 0 0 1-39.384615 39.384615h-708.923077a39.384615 39.384615 0 0 1-39.384615-39.384615v-39.384616a39.384615 39.384615 0 0 1 39.384615-39.384615h708.923077z m-866.461539 0a39.384615 39.384615 0 0 1 39.384616 39.384615v39.384616a39.384615 39.384615 0 0 1-39.384616 39.384615h-39.384615a39.384615 39.384615 0 0 1-39.384615-39.384615v-39.384616a39.384615 39.384615 0 0 1 39.384615-39.384615h39.384615z m866.461539-393.846154a39.384615 39.384615 0 0 1 39.384615 39.384615v39.384616a39.384615 39.384615 0 0 1-39.384615 39.384615h-708.923077a39.384615 39.384615 0 0 1-39.384615-39.384615v-39.384616a39.384615 39.384615 0 0 1 39.384615-39.384615h708.923077z m-866.461539 0a39.384615 39.384615 0 0 1 39.384616 39.384615v39.384616a39.384615 39.384615 0 0 1-39.384616 39.384615h-39.384615a39.384615 39.384615 0 0 1-39.384615-39.384615v-39.384616a39.384615 39.384615 0 0 1 39.384615-39.384615h39.384615z m866.461539-393.846154a39.384615 39.384615 0 0 1 39.384615 39.384615v39.384616a39.384615 39.384615 0 0 1-39.384615 39.384615h-708.923077a39.384615 39.384615 0 0 1-39.384615-39.384615v-39.384616a39.384615 39.384615 0 0 1 39.384615-39.384615h708.923077z m-866.461539 0a39.384615 39.384615 0 0 1 39.384616 39.384615v39.384616a39.384615 39.384615 0 0 1-39.384616 39.384615h-39.384615a39.384615 39.384615 0 0 1-39.384615-39.384615v-39.384616a39.384615 39.384615 0 0 1 39.384615-39.384615h39.384615z",
|
|
24
|
+
fill: m(v, 0, "#333333")
|
|
25
|
+
}
|
|
26
|
+
)
|
|
27
|
+
}
|
|
28
|
+
);
|
|
8
29
|
};
|
|
9
30
|
export {
|
|
10
|
-
|
|
31
|
+
i as default
|
|
11
32
|
};
|
|
@@ -1,10 +1,31 @@
|
|
|
1
1
|
import { j as c } from "../../node_modules/react/jsx-runtime.mjs";
|
|
2
|
-
import { getIconColor as
|
|
2
|
+
import { getIconColor as i } from "./helper.mjs";
|
|
3
3
|
const l = {
|
|
4
4
|
display: "block"
|
|
5
|
-
}, p = ({
|
|
5
|
+
}, p = ({
|
|
6
|
+
size: o = 18,
|
|
7
|
+
color: s,
|
|
8
|
+
style: t,
|
|
9
|
+
...r
|
|
10
|
+
}) => {
|
|
6
11
|
const a = t ? { ...l, ...t } : l;
|
|
7
|
-
return
|
|
12
|
+
return /* @__PURE__ */ c.jsx(
|
|
13
|
+
"svg",
|
|
14
|
+
{
|
|
15
|
+
viewBox: "0 0 1024 1024",
|
|
16
|
+
width: o + "px",
|
|
17
|
+
height: o + "px",
|
|
18
|
+
style: a,
|
|
19
|
+
...r,
|
|
20
|
+
children: /* @__PURE__ */ c.jsx(
|
|
21
|
+
"path",
|
|
22
|
+
{
|
|
23
|
+
d: "M958.208 179.8912l-63.4112 48.384C808.3968 120.4224 673.9968 51.2 523.0848 51.2 262.4512 51.2 51.5072 256.9216 51.2 511.4624 50.8672 766.208 262.2464 972.8 523.0592 972.8c203.7504 0 377.3696-126.1824 443.4432-302.9248a8.7552 8.7552 0 0 0-5.504-11.2896l-63.7184-21.4016a9.0368 9.0368 0 0 0-11.3408 5.2736 375.04 375.04 0 0 1-89.4464 136.3712 388.096 388.096 0 0 1-122.8288 80.9728 392.1152 392.1152 0 0 1-150.3744 29.6192 391.68 391.68 0 0 1-150.3488-29.6192 384.384 384.384 0 0 1-122.8288-80.9728 375.04 375.04 0 0 1-82.816-120.0384 367.8208 367.8208 0 0 1-30.3616-146.8928c0-51.0208 10.24-100.4032 30.3616-146.9184A375.04 375.04 0 0 1 250.112 244.992a388.096 388.096 0 0 1 122.8288-80.9728 392.1152 392.1152 0 0 1 150.3488-29.6192 391.68 391.68 0 0 1 150.3744 29.6192 384.384 384.384 0 0 1 122.8032 80.9728c11.136 10.8544 21.5808 22.3744 31.232 34.432L760.064 331.008a8.704 8.704 0 0 0 3.3792 15.4624l197.3248 47.1808c5.632 1.3056 11.136-2.8672 11.136-8.448L972.8 186.7008c-0.1024-7.2448-8.7552-11.3152-14.592-6.8096z",
|
|
24
|
+
fill: i(s, 0, "#333333")
|
|
25
|
+
}
|
|
26
|
+
)
|
|
27
|
+
}
|
|
28
|
+
);
|
|
8
29
|
};
|
|
9
30
|
export {
|
|
10
31
|
p as default
|
|
@@ -35,71 +35,71 @@ import Z from "./IconTuodong.mjs";
|
|
|
35
35
|
const Io = ({ name: r, ...o }) => {
|
|
36
36
|
switch (r) {
|
|
37
37
|
case "drag-order":
|
|
38
|
-
return n.jsx(e, { ...o });
|
|
38
|
+
return /* @__PURE__ */ n.jsx(e, { ...o });
|
|
39
39
|
case "column-fixed-left":
|
|
40
|
-
return n.jsx(c, { ...o });
|
|
40
|
+
return /* @__PURE__ */ n.jsx(c, { ...o });
|
|
41
41
|
case "column-fixed-right":
|
|
42
|
-
return n.jsx(i, { ...o });
|
|
42
|
+
return /* @__PURE__ */ n.jsx(i, { ...o });
|
|
43
43
|
case "column-cancel-fixed":
|
|
44
|
-
return n.jsx(u, { ...o });
|
|
44
|
+
return /* @__PURE__ */ n.jsx(u, { ...o });
|
|
45
45
|
case "more":
|
|
46
|
-
return n.jsx(a, { ...o });
|
|
46
|
+
return /* @__PURE__ */ n.jsx(a, { ...o });
|
|
47
47
|
case "ic_fluent_home_regular":
|
|
48
|
-
return n.jsx(m, { ...o });
|
|
48
|
+
return /* @__PURE__ */ n.jsx(m, { ...o });
|
|
49
49
|
case "kuansongde":
|
|
50
|
-
return n.jsx(s, { ...o });
|
|
50
|
+
return /* @__PURE__ */ n.jsx(s, { ...o });
|
|
51
51
|
case "tekuansong":
|
|
52
|
-
return n.jsx(t, { ...o });
|
|
52
|
+
return /* @__PURE__ */ n.jsx(t, { ...o });
|
|
53
53
|
case "jincoude":
|
|
54
|
-
return n.jsx(x, { ...o });
|
|
54
|
+
return /* @__PURE__ */ n.jsx(x, { ...o });
|
|
55
55
|
case "zhongdengde":
|
|
56
|
-
return n.jsx(f, { ...o });
|
|
56
|
+
return /* @__PURE__ */ n.jsx(f, { ...o });
|
|
57
57
|
case "tejincou":
|
|
58
|
-
return n.jsx(g, { ...o });
|
|
58
|
+
return /* @__PURE__ */ n.jsx(g, { ...o });
|
|
59
59
|
case "wufengexian":
|
|
60
|
-
return n.jsx(j, { ...o });
|
|
60
|
+
return /* @__PURE__ */ n.jsx(j, { ...o });
|
|
61
61
|
case "hangliefengexian":
|
|
62
|
-
return n.jsx(p, { ...o });
|
|
62
|
+
return /* @__PURE__ */ n.jsx(p, { ...o });
|
|
63
63
|
case "hangfengexian":
|
|
64
|
-
return n.jsx(I, { ...o });
|
|
64
|
+
return /* @__PURE__ */ n.jsx(I, { ...o });
|
|
65
65
|
case "liefengexian":
|
|
66
|
-
return n.jsx(h, { ...o });
|
|
66
|
+
return /* @__PURE__ */ n.jsx(h, { ...o });
|
|
67
67
|
case "youbanmawentianchong":
|
|
68
|
-
return n.jsx(d, { ...o });
|
|
68
|
+
return /* @__PURE__ */ n.jsx(d, { ...o });
|
|
69
69
|
case "wubanmawentianchong":
|
|
70
|
-
return n.jsx(l, { ...o });
|
|
70
|
+
return /* @__PURE__ */ n.jsx(l, { ...o });
|
|
71
71
|
case "zhongzhi":
|
|
72
|
-
return n.jsx(w, { ...o });
|
|
72
|
+
return /* @__PURE__ */ n.jsx(w, { ...o });
|
|
73
73
|
case "gaojisousuo":
|
|
74
|
-
return n.jsx(C, { ...o });
|
|
74
|
+
return /* @__PURE__ */ n.jsx(C, { ...o });
|
|
75
75
|
case "sousuo":
|
|
76
|
-
return n.jsx(F, { ...o });
|
|
76
|
+
return /* @__PURE__ */ n.jsx(F, { ...o });
|
|
77
77
|
case "close":
|
|
78
|
-
return n.jsx(b, { ...o });
|
|
78
|
+
return /* @__PURE__ */ n.jsx(b, { ...o });
|
|
79
79
|
case "fanhui":
|
|
80
|
-
return n.jsx(z, { ...o });
|
|
80
|
+
return /* @__PURE__ */ n.jsx(z, { ...o });
|
|
81
81
|
case "jinggao":
|
|
82
|
-
return n.jsx(T, { ...o });
|
|
82
|
+
return /* @__PURE__ */ n.jsx(T, { ...o });
|
|
83
83
|
case "icon21":
|
|
84
|
-
return n.jsx(k, { ...o });
|
|
84
|
+
return /* @__PURE__ */ n.jsx(k, { ...o });
|
|
85
85
|
case "chenggong":
|
|
86
|
-
return n.jsx(H, { ...o });
|
|
86
|
+
return /* @__PURE__ */ n.jsx(H, { ...o });
|
|
87
87
|
case "tishi1":
|
|
88
|
-
return n.jsx(R, { ...o });
|
|
88
|
+
return /* @__PURE__ */ n.jsx(R, { ...o });
|
|
89
89
|
case "duigoux":
|
|
90
|
-
return n.jsx(S, { ...o });
|
|
90
|
+
return /* @__PURE__ */ n.jsx(S, { ...o });
|
|
91
91
|
case "cuowu":
|
|
92
|
-
return n.jsx(_, { ...o });
|
|
92
|
+
return /* @__PURE__ */ n.jsx(_, { ...o });
|
|
93
93
|
case "xinxitishi":
|
|
94
|
-
return n.jsx(D, { ...o });
|
|
94
|
+
return /* @__PURE__ */ n.jsx(D, { ...o });
|
|
95
95
|
case "fabu":
|
|
96
|
-
return n.jsx(J, { ...o });
|
|
96
|
+
return /* @__PURE__ */ n.jsx(J, { ...o });
|
|
97
97
|
case "shanchu1":
|
|
98
|
-
return n.jsx(L, { ...o });
|
|
98
|
+
return /* @__PURE__ */ n.jsx(L, { ...o });
|
|
99
99
|
case "shanchu":
|
|
100
|
-
return n.jsx(W, { ...o });
|
|
100
|
+
return /* @__PURE__ */ n.jsx(W, { ...o });
|
|
101
101
|
case "tuodong":
|
|
102
|
-
return n.jsx(Z, { ...o });
|
|
102
|
+
return /* @__PURE__ */ n.jsx(Z, { ...o });
|
|
103
103
|
}
|
|
104
104
|
return null;
|
|
105
105
|
};
|
|
@@ -42,14 +42,47 @@ const N = ({ tagData: h = [], changeEmit: c = () => {
|
|
|
42
42
|
borderStyle: "border",
|
|
43
43
|
cursor: "pointer"
|
|
44
44
|
};
|
|
45
|
-
return t.jsxs(M, { size: [0, 8], wrap: !0, children: [
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
45
|
+
return /* @__PURE__ */ t.jsxs(M, { size: [0, 8], wrap: !0, children: [
|
|
46
|
+
(n == null ? void 0 : n.length) > 0 ? /* @__PURE__ */ t.jsx(t.Fragment, { children: n.map((e, o) => {
|
|
47
|
+
if (x === o)
|
|
48
|
+
return /* @__PURE__ */ t.jsx(
|
|
49
|
+
T,
|
|
50
|
+
{
|
|
51
|
+
ref: g,
|
|
52
|
+
size: "small",
|
|
53
|
+
style: b,
|
|
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);
|
|
70
|
+
return i ? /* @__PURE__ */ t.jsx(O, { title: e, children: S }, e) : S;
|
|
71
|
+
}) }) : /* @__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($, {}), onClick: P, children: k("System_Add", "添加") })
|
|
85
|
+
] });
|
|
53
86
|
};
|
|
54
87
|
export {
|
|
55
88
|
N as default
|
|
@@ -1,47 +1,134 @@
|
|
|
1
1
|
import { j as s } from "../../node_modules/react/jsx-runtime.mjs";
|
|
2
|
-
import { useState as
|
|
2
|
+
import { useState as m, useRef as v } from "react";
|
|
3
3
|
import { Tabs as N, Row as B, Space as y } from "antd";
|
|
4
4
|
import r from "./index.module.less.mjs";
|
|
5
5
|
import C from "../BitzEmpty/index.mjs";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
const
|
|
11
|
-
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), [
|
|
12
|
-
function
|
|
6
|
+
import g from "../BitzDrawer/index.mjs";
|
|
7
|
+
import u from "../BitzButton/index.mjs";
|
|
8
|
+
import A from "../../node_modules/@ant-design/icons/es/icons/SearchOutlined.mjs";
|
|
9
|
+
import z from "../../node_modules/@ant-design/icons/es/icons/AlignCenterOutlined.mjs";
|
|
10
|
+
const R = ({ list: l, onSelect: t, onClickItem: n }) => {
|
|
11
|
+
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("全部");
|
|
12
|
+
function f(e) {
|
|
13
13
|
return /[\u4e00-\u9fa5]/.test(e) ? e == null ? void 0 : e.slice(1) : e == null ? void 0 : e.slice(0, 4);
|
|
14
14
|
}
|
|
15
|
-
function
|
|
16
|
-
return e.length ? e == null ? void 0 : e.map((i) =>
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
function j(e) {
|
|
16
|
+
return e.length ? e == null ? void 0 : e.map((i) => /* @__PURE__ */ s.jsxs(
|
|
17
|
+
"div",
|
|
18
|
+
{
|
|
19
|
+
className: r.item,
|
|
20
|
+
onClick: () => {
|
|
21
|
+
n == null || n(i);
|
|
22
|
+
},
|
|
23
|
+
children: [
|
|
24
|
+
/* @__PURE__ */ s.jsx("div", { className: r.avatar, children: f(i.name) }),
|
|
25
|
+
/* @__PURE__ */ s.jsxs("div", { className: r.info, children: [
|
|
26
|
+
/* @__PURE__ */ s.jsx("div", { className: r.name, children: i.name }),
|
|
27
|
+
/* @__PURE__ */ s.jsx("div", { className: r.phone, children: i.phone })
|
|
28
|
+
] })
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
i.id
|
|
32
|
+
)) : /* @__PURE__ */ s.jsx(C, { style: { marginTop: 100 } });
|
|
33
|
+
}
|
|
34
|
+
return /* @__PURE__ */ s.jsxs("div", { ref: a, className: r.container, children: [
|
|
35
|
+
/* @__PURE__ */ s.jsx("div", { className: r.main, children: j(l) }),
|
|
36
|
+
/* @__PURE__ */ s.jsx("div", { className: r.sidebar, children: d.map((e) => /* @__PURE__ */ s.jsx(
|
|
37
|
+
"div",
|
|
38
|
+
{
|
|
39
|
+
className: `${r.item} ${p === e ? r.active : ""}`,
|
|
40
|
+
onClick: () => {
|
|
41
|
+
x(e), t == null || t(e);
|
|
42
|
+
},
|
|
43
|
+
children: e
|
|
44
|
+
},
|
|
45
|
+
e
|
|
46
|
+
)) })
|
|
47
|
+
] });
|
|
48
|
+
}, P = ({
|
|
49
|
+
tabs: l = [],
|
|
50
|
+
list: t = [],
|
|
51
|
+
filterChildren: n,
|
|
52
|
+
filterHeight: d = 240,
|
|
53
|
+
onSearch: a = () => {
|
|
54
|
+
},
|
|
55
|
+
onSelect: p = () => {
|
|
56
|
+
},
|
|
57
|
+
tabChange: x = () => {
|
|
58
|
+
},
|
|
59
|
+
onClickItem: f = () => {
|
|
60
|
+
},
|
|
61
|
+
onReset: j = () => {
|
|
62
|
+
},
|
|
63
|
+
onOk: e = () => {
|
|
19
64
|
}
|
|
20
|
-
|
|
21
|
-
p(e), t == null || t(e);
|
|
22
|
-
}, children: e }, e)) })] });
|
|
23
|
-
}, K = ({ tabs: l = [], list: t = [], filterChildren: n, filterHeight: d = 240, onSearch: a = () => {
|
|
24
|
-
}, onSelect: u = () => {
|
|
25
|
-
}, tabChange: p = () => {
|
|
26
|
-
}, onClickItem: x = () => {
|
|
27
|
-
}, onReset: f = () => {
|
|
28
|
-
}, onOk: e = () => {
|
|
29
|
-
} }) => {
|
|
65
|
+
}) => {
|
|
30
66
|
const i = l.map((c) => ({
|
|
31
67
|
...c,
|
|
32
|
-
children: s.jsx(
|
|
33
|
-
})), [h, o] =
|
|
34
|
-
return
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
68
|
+
children: /* @__PURE__ */ s.jsx(R, { list: t, onSelect: p, onClickItem: f })
|
|
69
|
+
})), [h, o] = m(!1);
|
|
70
|
+
return /* @__PURE__ */ s.jsxs("div", { className: r.BitzAdressBook, children: [
|
|
71
|
+
/* @__PURE__ */ s.jsxs("div", { className: r.filter, children: [
|
|
72
|
+
/* @__PURE__ */ s.jsxs("div", { className: r.input, children: [
|
|
73
|
+
/* @__PURE__ */ s.jsx(A, { className: r.icon }),
|
|
74
|
+
/* @__PURE__ */ s.jsx(
|
|
75
|
+
"input",
|
|
76
|
+
{
|
|
77
|
+
placeholder: "姓名",
|
|
78
|
+
type: "text",
|
|
79
|
+
onKeyUp: (c) => {
|
|
80
|
+
c.code.toLowerCase() === "enter" && (a == null || a(c.currentTarget.value));
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
)
|
|
84
|
+
] }),
|
|
85
|
+
/* @__PURE__ */ s.jsx(
|
|
86
|
+
"div",
|
|
87
|
+
{
|
|
88
|
+
className: r.filterIcon,
|
|
89
|
+
onClick: () => {
|
|
90
|
+
o(!0);
|
|
91
|
+
},
|
|
92
|
+
children: /* @__PURE__ */ s.jsx(z, {})
|
|
93
|
+
}
|
|
94
|
+
)
|
|
95
|
+
] }),
|
|
96
|
+
/* @__PURE__ */ s.jsx(N, { items: i, onChange: x, destroyInactiveTabPane: !0 }),
|
|
97
|
+
/* @__PURE__ */ s.jsx(
|
|
98
|
+
g,
|
|
99
|
+
{
|
|
100
|
+
title: "筛选",
|
|
101
|
+
height: d,
|
|
102
|
+
open: h,
|
|
103
|
+
placement: "bottom",
|
|
104
|
+
onClose: () => o(!1),
|
|
105
|
+
footer: /* @__PURE__ */ s.jsx(B, { justify: "center", children: /* @__PURE__ */ s.jsxs(y, { children: [
|
|
106
|
+
/* @__PURE__ */ s.jsx(
|
|
107
|
+
u,
|
|
108
|
+
{
|
|
109
|
+
onClick: () => {
|
|
110
|
+
j(), o(!1);
|
|
111
|
+
},
|
|
112
|
+
children: "重置"
|
|
113
|
+
}
|
|
114
|
+
),
|
|
115
|
+
/* @__PURE__ */ s.jsx(
|
|
116
|
+
u,
|
|
117
|
+
{
|
|
118
|
+
type: "primary",
|
|
119
|
+
onClick: () => {
|
|
120
|
+
e(), o(!1);
|
|
121
|
+
},
|
|
122
|
+
children: "确认"
|
|
123
|
+
}
|
|
124
|
+
)
|
|
125
|
+
] }) }),
|
|
126
|
+
children: n
|
|
127
|
+
}
|
|
128
|
+
)
|
|
129
|
+
] });
|
|
43
130
|
};
|
|
44
131
|
export {
|
|
45
|
-
|
|
46
|
-
|
|
132
|
+
R as AdressBook,
|
|
133
|
+
P as default
|
|
47
134
|
};
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { j as s } from "../../node_modules/react/jsx-runtime.mjs";
|
|
2
2
|
import a from "../../assets/iconfont/index.mjs";
|
|
3
3
|
import "./index.less.mjs";
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
const p = ({
|
|
5
|
+
children: e,
|
|
6
|
+
title: i = "律智荟",
|
|
7
|
+
backIcon: c = "fanhui",
|
|
8
|
+
mainIcon: o = "ic_fluent_home_regular",
|
|
9
|
+
onClickBack: r = () => {
|
|
10
|
+
},
|
|
11
|
+
onClickMain: n = () => {
|
|
12
|
+
}
|
|
13
|
+
}) => /* @__PURE__ */ s.jsxs("div", { className: "bitzAppPage", children: [
|
|
14
|
+
/* @__PURE__ */ s.jsxs("div", { className: "pageNavBar", children: [
|
|
15
|
+
/* @__PURE__ */ s.jsx("div", { className: "barLeft", onClick: r, children: /* @__PURE__ */ s.jsx(a, { className: "icon", color: "#333", size: 24, name: c }) }),
|
|
16
|
+
i,
|
|
17
|
+
/* @__PURE__ */ s.jsx("div", { className: "barRight", onClick: n, children: /* @__PURE__ */ s.jsx(a, { className: "icon", color: "#333", size: 24, name: o }) })
|
|
18
|
+
] }),
|
|
19
|
+
/* @__PURE__ */ s.jsx("div", { className: "pageContent", children: e })
|
|
20
|
+
] });
|
|
7
21
|
export {
|
|
8
|
-
|
|
22
|
+
p as default
|
|
9
23
|
};
|
|
@@ -1,25 +1,37 @@
|
|
|
1
1
|
import { j as i } from "../../node_modules/react/jsx-runtime.mjs";
|
|
2
|
-
import { useState as
|
|
3
|
-
import { isMobile as
|
|
2
|
+
import { useState as o } from "react";
|
|
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
|
|
6
|
+
const b = ({ children: c, pageRefeshEmit: r = () => {
|
|
7
7
|
} }) => {
|
|
8
|
-
const [a, s] =
|
|
9
|
-
const n =
|
|
10
|
-
|
|
11
|
-
}, l = (
|
|
12
|
-
const
|
|
13
|
-
e(
|
|
14
|
-
},
|
|
15
|
-
|
|
8
|
+
const [a, s] = o(!1), [u, h] = o(0), [f, e] = o(0), m = (t) => {
|
|
9
|
+
const n = t.changedTouches[0].clientY;
|
|
10
|
+
h(n);
|
|
11
|
+
}, l = (t) => {
|
|
12
|
+
const p = t.changedTouches[0].clientY - u;
|
|
13
|
+
e(p);
|
|
14
|
+
}, d = () => {
|
|
15
|
+
T && (f > 400 && (s(!0), setTimeout(() => {
|
|
16
16
|
r(), s(!1);
|
|
17
17
|
}, 2e3)), e(0));
|
|
18
18
|
};
|
|
19
|
-
return i.jsxs(
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
return /* @__PURE__ */ i.jsxs(
|
|
20
|
+
"div",
|
|
21
|
+
{
|
|
22
|
+
className: "bitzPageBlock",
|
|
23
|
+
onTouchStart: m,
|
|
24
|
+
onTouchMove: l,
|
|
25
|
+
onTouchEnd: () => {
|
|
26
|
+
d();
|
|
27
|
+
},
|
|
28
|
+
children: [
|
|
29
|
+
/* @__PURE__ */ i.jsx(P, { showRefresh: a }),
|
|
30
|
+
c
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
);
|
|
22
34
|
};
|
|
23
35
|
export {
|
|
24
|
-
|
|
36
|
+
b as default
|
|
25
37
|
};
|
|
@@ -4,11 +4,11 @@ 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(),
|
|
7
|
+
const [o, s] = E(), f = L(), { direction: i, click: w, refresh: D, pullUpLoading: y, pullDownLoading: P, bounceTop: S, bounceBottom: B } = u, { pullUp: n, pullDown: t, onScroll: c } = u, p = d(() => m(500, n), [n]), a = d(() => m(500, t), [t]);
|
|
8
8
|
return e(() => {
|
|
9
|
-
const r = new x(
|
|
10
|
-
scrollX:
|
|
11
|
-
scrollY:
|
|
9
|
+
const r = new x(f.current, {
|
|
10
|
+
scrollX: i === "horizental",
|
|
11
|
+
scrollY: i === "vertical",
|
|
12
12
|
probeType: 3,
|
|
13
13
|
click: w,
|
|
14
14
|
bounce: {
|
|
@@ -52,7 +52,7 @@ const b = T((u, h) => {
|
|
|
52
52
|
if (o)
|
|
53
53
|
return o;
|
|
54
54
|
}
|
|
55
|
-
})), g.jsx("div", { className: "scroll_container", ref:
|
|
55
|
+
})), /* @__PURE__ */ g.jsx("div", { className: "scroll_container", ref: f, children: u.children });
|
|
56
56
|
});
|
|
57
57
|
b.defaultProps = {
|
|
58
58
|
direction: "vertical",
|
|
@@ -2,15 +2,29 @@ import { j as e } from "../../node_modules/react/jsx-runtime.mjs";
|
|
|
2
2
|
import { Button as l } from "antd";
|
|
3
3
|
const c = ({ type: d = "default", warning: f = !1, success: n = !1, ...o }) => {
|
|
4
4
|
const r = { type: d, ...o };
|
|
5
|
-
return o.danger ? e.jsx(l, { danger: !0, ...r, children: r.children }) : f ? d === "default" ? e.jsx(l, { style: { borderColor: "#ff8f1f", color: "#ff8f1f" }, ...r, children: r.children }) : d === "dashed" ? e.jsx(
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
return o.danger ? /* @__PURE__ */ e.jsx(l, { danger: !0, ...r, children: r.children }) : f ? d === "default" ? /* @__PURE__ */ e.jsx(l, { style: { borderColor: "#ff8f1f", color: "#ff8f1f" }, ...r, children: r.children }) : d === "dashed" ? /* @__PURE__ */ e.jsx(
|
|
6
|
+
l,
|
|
7
|
+
{
|
|
8
|
+
style: {
|
|
9
|
+
borderColor: "#ff8f1f",
|
|
10
|
+
borderWidth: "dashed",
|
|
11
|
+
color: "#ff8f1f"
|
|
12
|
+
},
|
|
13
|
+
...r,
|
|
14
|
+
children: r.children
|
|
15
|
+
}
|
|
16
|
+
) : d === "text" || d === "link" ? /* @__PURE__ */ e.jsx(l, { style: { color: "#ff8f1f" }, ...r, children: r.children }) : /* @__PURE__ */ e.jsx(l, { style: { backgroundColor: "#ff8f1f" }, ...r, children: r.children }) : n ? d === "default" ? /* @__PURE__ */ e.jsx(l, { style: { borderColor: "#00b578", color: "#00b578" }, ...r, children: r.children }) : d === "dashed" ? /* @__PURE__ */ e.jsx(
|
|
17
|
+
l,
|
|
18
|
+
{
|
|
19
|
+
style: {
|
|
20
|
+
borderColor: "#00b578",
|
|
21
|
+
borderWidth: "dashed",
|
|
22
|
+
color: "#00b578"
|
|
23
|
+
},
|
|
24
|
+
...r,
|
|
25
|
+
children: r.children
|
|
26
|
+
}
|
|
27
|
+
) : d === "text" || d === "link" ? /* @__PURE__ */ e.jsx(l, { style: { color: "#00b578" }, ...r, children: r.children }) : /* @__PURE__ */ e.jsx(l, { style: { backgroundColor: "#00b578" }, ...r, children: r.children }) : /* @__PURE__ */ e.jsx(l, { ...r, children: r.children });
|
|
14
28
|
};
|
|
15
29
|
export {
|
|
16
30
|
c as default
|