bitz-react-admin-ui 2.10.7-beta.2 → 2.10.7-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/iconfont/IconChenggong.mjs +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/dayjs/locale/zh-cn.mjs +10 -10
- 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
|
@@ -5,7 +5,9 @@ import { Spin as w, Watermark as H, Affix as B, Tabs as N } from "antd";
|
|
|
5
5
|
import C from "../BitzPageHeader/index.mjs";
|
|
6
6
|
import R from "../../node_modules/classnames/index.mjs";
|
|
7
7
|
function S(e) {
|
|
8
|
-
return typeof e == "object" ? e : {
|
|
8
|
+
return typeof e == "object" ? e : {
|
|
9
|
+
spinning: e
|
|
10
|
+
};
|
|
9
11
|
}
|
|
10
12
|
const z = ({
|
|
11
13
|
tabList: e,
|
|
@@ -37,13 +39,7 @@ const z = ({
|
|
|
37
39
|
}
|
|
38
40
|
) : null, M = (e, t, a, n) => !e && !t ? null : /* @__PURE__ */ r.jsx("div", { className: `${a}-detail ${n}`.trim(), children: /* @__PURE__ */ r.jsx("div", { className: `${a}-main ${n}`.trim(), children: /* @__PURE__ */ r.jsxs("div", { className: `${a}-row ${n}`.trim(), children: [
|
|
39
41
|
e && /* @__PURE__ */ r.jsx("div", { className: `${a}-content ${n}`.trim(), children: e }),
|
|
40
|
-
t && /* @__PURE__ */ r.jsx(
|
|
41
|
-
"div",
|
|
42
|
-
{
|
|
43
|
-
className: `${a}-extraContent ${n}`.trim(),
|
|
44
|
-
children: t
|
|
45
|
-
}
|
|
46
|
-
)
|
|
42
|
+
t && /* @__PURE__ */ r.jsx("div", { className: `${a}-extraContent ${n}`.trim(), children: t })
|
|
47
43
|
] }) }) }), A = (e) => {
|
|
48
44
|
var p;
|
|
49
45
|
const {
|
|
@@ -69,7 +65,10 @@ const z = ({
|
|
|
69
65
|
if (n)
|
|
70
66
|
return /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
71
67
|
" ",
|
|
72
|
-
n({
|
|
68
|
+
n({
|
|
69
|
+
...e,
|
|
70
|
+
...l
|
|
71
|
+
})
|
|
73
72
|
] });
|
|
74
73
|
let j = t;
|
|
75
74
|
!t && t !== !1 && (j = l.title);
|
|
@@ -84,26 +83,13 @@ const z = ({
|
|
|
84
83
|
prefixedClassName: f
|
|
85
84
|
}),
|
|
86
85
|
...d
|
|
87
|
-
}, {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
"avatar",
|
|
95
|
-
"backIcon"
|
|
96
|
-
].every((c) => !g[c]) && y && !a && !x ? null : /* @__PURE__ */ r.jsx(
|
|
97
|
-
C,
|
|
98
|
-
{
|
|
99
|
-
...g,
|
|
100
|
-
className: `${f}-warp-page-header ${h}`.trim(),
|
|
101
|
-
breadcrumb: i === !1 ? void 0 : { ...g.breadcrumb, ...l.breadcrumbProps },
|
|
102
|
-
breadcrumbRender: $(),
|
|
103
|
-
prefixCls: u,
|
|
104
|
-
children: (d == null ? void 0 : d.children) || M(a, x, f, h)
|
|
105
|
-
}
|
|
106
|
-
);
|
|
86
|
+
}, {
|
|
87
|
+
breadcrumb: o
|
|
88
|
+
} = g, y = (!o || !(o != null && o.itemRender) && !((p = o == null ? void 0 : o.items) != null && p.length)) && !i;
|
|
89
|
+
return ["title", "subTitle", "extra", "tags", "footer", "avatar", "backIcon"].every((c) => !g[c]) && y && !a && !x ? null : /* @__PURE__ */ r.jsx(C, { ...g, className: `${f}-warp-page-header ${h}`.trim(), breadcrumb: i === !1 ? void 0 : {
|
|
90
|
+
...g.breadcrumb,
|
|
91
|
+
...l.breadcrumbProps
|
|
92
|
+
}, breadcrumbRender: $(), prefixCls: u, children: (d == null ? void 0 : d.children) || M(a, x, f, h) });
|
|
107
93
|
}, V = (e) => {
|
|
108
94
|
var p;
|
|
109
95
|
const t = "id_asd123", {
|
|
@@ -136,13 +122,14 @@ const z = ({
|
|
|
136
122
|
if (typeof n == "boolean" && !n)
|
|
137
123
|
return null;
|
|
138
124
|
const c = S(n);
|
|
139
|
-
return c.spinning ? /* @__PURE__ */ r.jsx("div", { style: {
|
|
125
|
+
return c.spinning ? /* @__PURE__ */ r.jsx("div", { style: {
|
|
126
|
+
paddingBlockStart: 100,
|
|
127
|
+
textAlign: "center"
|
|
128
|
+
}, children: /* @__PURE__ */ r.jsx(w, { size: "large", ...c }) }) : null;
|
|
140
129
|
}, [n]), g = b(() => a ? /* @__PURE__ */ r.jsx(r.Fragment, { children: /* @__PURE__ */ r.jsx(
|
|
141
130
|
"div",
|
|
142
131
|
{
|
|
143
|
-
className: R(
|
|
144
|
-
`${i}-children-container ${t}`.trim()
|
|
145
|
-
),
|
|
132
|
+
className: R(`${i}-children-container ${t}`.trim()),
|
|
146
133
|
style: {
|
|
147
134
|
// paddingBlockStart: props?.header ? 0 : token?.layout?.pageContainer?.paddingBlockPageContainerContent,
|
|
148
135
|
...h
|
|
@@ -167,15 +154,7 @@ const z = ({
|
|
|
167
154
|
return /* @__PURE__ */ r.jsx("div", { className: "BitzPageContainerBlock", children: /* @__PURE__ */ r.jsxs("div", { style: f, className: y, children: [
|
|
168
155
|
m && $ ? (
|
|
169
156
|
// 在 hasHeader 且 fixedHeader 的情况下,才需要设置高度
|
|
170
|
-
/* @__PURE__ */ r.jsx(
|
|
171
|
-
B,
|
|
172
|
-
{
|
|
173
|
-
offsetTop: 1,
|
|
174
|
-
...s,
|
|
175
|
-
className: `${i}-affix ${t}`.trim(),
|
|
176
|
-
children: /* @__PURE__ */ r.jsx("div", { className: `${i}-warp ${t}`.trim(), children: $ })
|
|
177
|
-
}
|
|
178
|
-
)
|
|
157
|
+
/* @__PURE__ */ r.jsx(B, { offsetTop: 1, ...s, className: `${i}-affix ${t}`.trim(), children: /* @__PURE__ */ r.jsx("div", { className: `${i}-warp ${t}`.trim(), children: $ }) })
|
|
179
158
|
) : $,
|
|
180
159
|
o && o
|
|
181
160
|
] }) });
|
|
@@ -6,26 +6,11 @@ import { Avatar as R, Space as w, Breadcrumb as y } from "antd";
|
|
|
6
6
|
import { ArrowRightOutlined as A, ArrowLeftOutlined as F } from "@ant-design/icons";
|
|
7
7
|
import O from "../../node_modules/rc-resize-observer/es/index.mjs";
|
|
8
8
|
import "./index.less.mjs";
|
|
9
|
-
const P = (e, t, i, n) => !i || !n ? null : /* @__PURE__ */ s.jsx("div", { className: `${e}-back ${t}`.trim(), children: /* @__PURE__ */ s.jsx(
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
role: "button",
|
|
13
|
-
onClick: (o) => {
|
|
14
|
-
n == null || n(o);
|
|
15
|
-
},
|
|
16
|
-
className: `${e}-back-button ${t}`.trim(),
|
|
17
|
-
"aria-label": "back",
|
|
18
|
-
children: i
|
|
19
|
-
}
|
|
20
|
-
) }), T = (e, t) => {
|
|
9
|
+
const P = (e, t, i, n) => !i || !n ? null : /* @__PURE__ */ s.jsx("div", { className: `${e}-back ${t}`.trim(), children: /* @__PURE__ */ s.jsx("div", { role: "button", onClick: (o) => {
|
|
10
|
+
n == null || n(o);
|
|
11
|
+
}, className: `${e}-back-button ${t}`.trim(), "aria-label": "back", children: i }) }), T = (e, t) => {
|
|
21
12
|
var i;
|
|
22
|
-
return (i = e.items) != null && i.length ? /* @__PURE__ */ s.jsx(
|
|
23
|
-
y,
|
|
24
|
-
{
|
|
25
|
-
...e,
|
|
26
|
-
className: N(`${t}-breadcrumb`, e.className)
|
|
27
|
-
}
|
|
28
|
-
) : null;
|
|
13
|
+
return (i = e.items) != null && i.length ? /* @__PURE__ */ s.jsx(y, { ...e, className: N(`${t}-breadcrumb`, e.className) }) : null;
|
|
29
14
|
}, H = (e, t = "ltr") => e.backIcon !== void 0 ? e.backIcon : t === "rtl" ? /* @__PURE__ */ s.jsx(A, {}) : /* @__PURE__ */ s.jsx(F, {}), S = (e, t, i = "ltr", n) => {
|
|
30
15
|
const {
|
|
31
16
|
title: o,
|
|
@@ -41,39 +26,17 @@ const P = (e, t, i, n) => !i || !n ? null : /* @__PURE__ */ s.jsx("div", { class
|
|
|
41
26
|
return /* @__PURE__ */ s.jsxs("div", { className: c + " " + n, children: [
|
|
42
27
|
x && /* @__PURE__ */ s.jsxs("div", { className: `${c}-left ${n}`.trim(), children: [
|
|
43
28
|
$,
|
|
44
|
-
l && /* @__PURE__ */ s.jsx(
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
className: N(
|
|
48
|
-
`${c}-avatar`,
|
|
49
|
-
n,
|
|
50
|
-
l.className
|
|
51
|
-
),
|
|
52
|
-
...l
|
|
53
|
-
}
|
|
54
|
-
),
|
|
55
|
-
o && /* @__PURE__ */ s.jsx(
|
|
56
|
-
"span",
|
|
57
|
-
{
|
|
58
|
-
className: `${c}-title ${n}`.trim(),
|
|
59
|
-
title: typeof o == "string" ? o : void 0,
|
|
60
|
-
children: o
|
|
61
|
-
}
|
|
62
|
-
),
|
|
63
|
-
a && /* @__PURE__ */ s.jsx(
|
|
64
|
-
"span",
|
|
65
|
-
{
|
|
66
|
-
className: `${c}-sub-title ${n}`.trim(),
|
|
67
|
-
title: typeof a == "string" ? a : void 0,
|
|
68
|
-
children: a
|
|
69
|
-
}
|
|
70
|
-
),
|
|
29
|
+
l && /* @__PURE__ */ s.jsx(R, { className: N(`${c}-avatar`, n, l.className), ...l }),
|
|
30
|
+
o && /* @__PURE__ */ s.jsx("span", { className: `${c}-title ${n}`.trim(), title: typeof o == "string" ? o : void 0, children: o }),
|
|
31
|
+
a && /* @__PURE__ */ s.jsx("span", { className: `${c}-sub-title ${n}`.trim(), title: typeof a == "string" ? a : void 0, children: a }),
|
|
71
32
|
m && /* @__PURE__ */ s.jsx("span", { className: `${c}-tags ${n}`.trim(), children: m })
|
|
72
33
|
] }),
|
|
73
34
|
d && /* @__PURE__ */ s.jsx("span", { className: `${c}-extra ${n}`.trim(), children: /* @__PURE__ */ s.jsx(w, { children: d }) })
|
|
74
35
|
] });
|
|
75
36
|
}, E = (e, t, i) => /* @__PURE__ */ s.jsx("div", { className: `${e}-content ${i}`.trim(), children: t }), L = (e, t, i) => t ? /* @__PURE__ */ s.jsx("div", { className: `${e}-footer ${i}`.trim(), children: t }) : null, V = (e) => {
|
|
76
|
-
const [t, i] = C("bitz-page-header"), n = "ltr", o = "id_123123", [l, a] = B(!1), m = ({
|
|
37
|
+
const [t, i] = C("bitz-page-header"), n = "ltr", o = "id_123123", [l, a] = B(!1), m = ({
|
|
38
|
+
width: z
|
|
39
|
+
}) => a(z < 768), {
|
|
77
40
|
style: d,
|
|
78
41
|
footer: f,
|
|
79
42
|
children: c,
|
|
@@ -81,7 +44,10 @@ const P = (e, t, i, n) => !i || !n ? null : /* @__PURE__ */ s.jsx("div", { class
|
|
|
81
44
|
breadcrumbRender: u,
|
|
82
45
|
className: $,
|
|
83
46
|
contentWidth: x
|
|
84
|
-
} = e, p = (() => (r && !(r != null && r.items) && (r != null && r.routes) && (r.items = r.routes), r != null && r.items ? T(r, t) : null))(), h = r && "props" in r, D = (u == null ? void 0 : u({
|
|
47
|
+
} = e, p = (() => (r && !(r != null && r.items) && (r != null && r.routes) && (r.items = r.routes), r != null && r.items ? T(r, t) : null))(), h = r && "props" in r, D = (u == null ? void 0 : u({
|
|
48
|
+
...e,
|
|
49
|
+
prefixCls: t
|
|
50
|
+
}, p)) ?? p, j = h ? r : D, k = N(t, o, $, {
|
|
85
51
|
[`${t}-has-breadcrumb`]: !!j,
|
|
86
52
|
[`${t}-has-footer`]: !!f,
|
|
87
53
|
// [`${prefixCls}-rtl`]: direction === 'rtl',
|
|
@@ -25,7 +25,10 @@ const Q = ({
|
|
|
25
25
|
refInstance: S,
|
|
26
26
|
...T
|
|
27
27
|
}) => {
|
|
28
|
-
const [h, o] = l(1), [p, $] = l(10), t = c(() => u ? a : {
|
|
28
|
+
const [h, o] = l(1), [p, $] = l(10), t = c(() => u ? a : {
|
|
29
|
+
page: h,
|
|
30
|
+
size: p
|
|
31
|
+
}, [u, a, h, p]), n = c(() => m, [m]);
|
|
29
32
|
y(() => {
|
|
30
33
|
n != 0 && o(n);
|
|
31
34
|
}, [n]);
|
|
@@ -38,43 +41,11 @@ const Q = ({
|
|
|
38
41
|
}, 10);
|
|
39
42
|
}, 10);
|
|
40
43
|
};
|
|
41
|
-
return B(
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
[t]
|
|
47
|
-
), /* @__PURE__ */ s.jsx(s.Fragment, { children: (r == null ? void 0 : r.length) != 0 && !b && /* @__PURE__ */ s.jsx(
|
|
48
|
-
"div",
|
|
49
|
-
{
|
|
50
|
-
ref: P,
|
|
51
|
-
className: "bitzPaginationBlock",
|
|
52
|
-
style: { justifyContent: x },
|
|
53
|
-
children: /* @__PURE__ */ s.jsx(
|
|
54
|
-
M,
|
|
55
|
-
{
|
|
56
|
-
total: j,
|
|
57
|
-
defaultCurrent: t.page,
|
|
58
|
-
current: t.page,
|
|
59
|
-
pageSize: t.size,
|
|
60
|
-
showSizeChanger: !0,
|
|
61
|
-
showQuickJumper: !0,
|
|
62
|
-
pageSizeOptions: z,
|
|
63
|
-
showTotal: C ? void 0 : (e) => /* @__PURE__ */ s.jsx(
|
|
64
|
-
H,
|
|
65
|
-
{
|
|
66
|
-
highlightTag: "strong",
|
|
67
|
-
keywords: `${e}`,
|
|
68
|
-
sourceString: `${w} ${e} ${d}`
|
|
69
|
-
}
|
|
70
|
-
),
|
|
71
|
-
onChange: k,
|
|
72
|
-
onShowSizeChange: v,
|
|
73
|
-
...T
|
|
74
|
-
}
|
|
75
|
-
)
|
|
76
|
-
}
|
|
77
|
-
) });
|
|
44
|
+
return B(S, () => ({
|
|
45
|
+
getSize: () => t.size
|
|
46
|
+
}), [t]), /* @__PURE__ */ s.jsx(s.Fragment, { children: (r == null ? void 0 : r.length) != 0 && !b && /* @__PURE__ */ s.jsx("div", { ref: P, className: "bitzPaginationBlock", style: {
|
|
47
|
+
justifyContent: x
|
|
48
|
+
}, children: /* @__PURE__ */ s.jsx(M, { total: j, defaultCurrent: t.page, current: t.page, pageSize: t.size, showSizeChanger: !0, showQuickJumper: !0, pageSizeOptions: z, showTotal: C ? void 0 : (e) => /* @__PURE__ */ s.jsx(H, { highlightTag: "strong", keywords: `${e}`, sourceString: `${w} ${e} ${d}` }), onChange: k, onShowSizeChange: v, ...T }) }) });
|
|
78
49
|
};
|
|
79
50
|
export {
|
|
80
51
|
Q as default
|
|
@@ -2,8 +2,14 @@ import { j as o } from "../../node_modules/react/jsx-runtime.mjs";
|
|
|
2
2
|
import { useState as c, useEffect as m } from "react";
|
|
3
3
|
import { Typography as f } from "antd";
|
|
4
4
|
import t from "./BitzPopover.module.less.mjs";
|
|
5
|
-
const {
|
|
6
|
-
|
|
5
|
+
const {
|
|
6
|
+
Paragraph: u
|
|
7
|
+
} = f, E = (r) => {
|
|
8
|
+
const {
|
|
9
|
+
children: a,
|
|
10
|
+
ellipsis: e = !1,
|
|
11
|
+
...n
|
|
12
|
+
} = r, [p, s] = c(), l = () => {
|
|
7
13
|
s(!1);
|
|
8
14
|
}, i = () => {
|
|
9
15
|
s(e);
|
|
@@ -17,7 +17,10 @@ const L = 50, F = ["pulling", "loosing", "success"], G = {
|
|
|
17
17
|
headHeight: 50,
|
|
18
18
|
animationDuration: 300,
|
|
19
19
|
successDuration: 500
|
|
20
|
-
}), {
|
|
20
|
+
}), {
|
|
21
|
+
disabled: m,
|
|
22
|
+
animationDuration: g
|
|
23
|
+
} = e, H = h(null), [s, n] = A({
|
|
21
24
|
refreshing: !1,
|
|
22
25
|
status: "normal",
|
|
23
26
|
distance: 0,
|
|
@@ -31,32 +34,45 @@ const L = 50, F = ["pulling", "loosing", "success"], G = {
|
|
|
31
34
|
const r = +(e.pullDistance || e.headHeight);
|
|
32
35
|
return t > r && (t < r * 2 ? t = r + (t - r) / 2 : t = r * 1.5 + (t - r * 2) / 4), Math.round(t);
|
|
33
36
|
}, u = (t, r) => {
|
|
34
|
-
const c = +(e.pullDistance || e.headHeight), a = {
|
|
37
|
+
const c = +(e.pullDistance || e.headHeight), a = {
|
|
38
|
+
distance: t
|
|
39
|
+
};
|
|
35
40
|
r ? a.status = "loading" : t === 0 ? a.status = "normal" : t < c ? a.status = "pulling" : a.status = "loosing", n(a);
|
|
36
41
|
}, T = () => s.status === "normal" ? "" : e[`${s.status}Text`] || G[s.status], E = () => {
|
|
37
42
|
var a;
|
|
38
|
-
const {
|
|
43
|
+
const {
|
|
44
|
+
status: t,
|
|
45
|
+
distance: r
|
|
46
|
+
} = s;
|
|
39
47
|
if (typeof e[`${s.status}Text`] == "function")
|
|
40
|
-
return (a = e[`${s.status}Text`]) == null ? void 0 : a.call(e, {
|
|
48
|
+
return (a = e[`${s.status}Text`]) == null ? void 0 : a.call(e, {
|
|
49
|
+
distance: r
|
|
50
|
+
});
|
|
41
51
|
const c = [];
|
|
42
|
-
return F.includes(t) && c.push(
|
|
43
|
-
/* @__PURE__ */ f.jsx("div", { className: "bitz-pull-refresh__text", children: T() }, "text")
|
|
44
|
-
), t === "loading" && c.push(
|
|
45
|
-
/* @__PURE__ */ f.jsx("div", { className: "bitz-pull-refresh__loading", children: T() })
|
|
46
|
-
), c;
|
|
52
|
+
return F.includes(t) && c.push(/* @__PURE__ */ f.jsx("div", { className: "bitz-pull-refresh__text", children: T() }, "text")), t === "loading" && c.push(/* @__PURE__ */ f.jsx("div", { className: "bitz-pull-refresh__loading", children: T() })), c;
|
|
47
53
|
}, b = () => {
|
|
48
|
-
n({
|
|
54
|
+
n({
|
|
55
|
+
status: "success"
|
|
56
|
+
}), setTimeout(() => {
|
|
49
57
|
u(0);
|
|
50
58
|
}, +e.successDuration);
|
|
51
59
|
}, j = async () => {
|
|
52
60
|
try {
|
|
53
|
-
n({
|
|
61
|
+
n({
|
|
62
|
+
refreshing: !0
|
|
63
|
+
}), await e.onRefresh(), n({
|
|
64
|
+
refreshing: !1
|
|
65
|
+
});
|
|
54
66
|
} catch {
|
|
55
|
-
n({
|
|
67
|
+
n({
|
|
68
|
+
refreshing: !1
|
|
69
|
+
});
|
|
56
70
|
}
|
|
57
71
|
}, x = (t) => {
|
|
58
72
|
const r = Y(t.target);
|
|
59
|
-
i.current = P(r) === 0, i.current && (n({
|
|
73
|
+
i.current = P(r) === 0, i.current && (n({
|
|
74
|
+
duration: 0
|
|
75
|
+
}), o.start(t));
|
|
60
76
|
}, R = (t) => {
|
|
61
77
|
l() && x(t.nativeEvent);
|
|
62
78
|
}, N = D(
|
|
@@ -66,7 +82,9 @@ const L = 50, F = ["pulling", "loosing", "success"], G = {
|
|
|
66
82
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
67
83
|
[i.current, o.deltaY.current, l]
|
|
68
84
|
), S = async () => {
|
|
69
|
-
i.current && o.deltaY && l() && (n({
|
|
85
|
+
i.current && o.deltaY && l() && (n({
|
|
86
|
+
duration: +g
|
|
87
|
+
}), s.status === "loosing" ? (u(+e.headHeight, !0), await j(), setTimeout(() => {
|
|
70
88
|
var t;
|
|
71
89
|
return (t = e.onRefreshEnd) == null ? void 0 : t.call(e);
|
|
72
90
|
})) : u(0));
|
|
@@ -75,38 +93,18 @@ const L = 50, F = ["pulling", "loosing", "success"], G = {
|
|
|
75
93
|
target: p.current,
|
|
76
94
|
depends: [i.current, l(), o.deltaY]
|
|
77
95
|
}), M(() => {
|
|
78
|
-
n({
|
|
96
|
+
n({
|
|
97
|
+
duration: +g
|
|
98
|
+
}), s.refreshing ? u(+e.headHeight, !0) : e.successText ? b() : u(0, !1);
|
|
79
99
|
}, [s.refreshing]);
|
|
80
|
-
const $ = k(
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
"div",
|
|
89
|
-
{
|
|
90
|
-
ref: H,
|
|
91
|
-
className: d(e.className, "bitz-pull-refresh"),
|
|
92
|
-
style: e.style,
|
|
93
|
-
children: /* @__PURE__ */ f.jsxs(
|
|
94
|
-
"div",
|
|
95
|
-
{
|
|
96
|
-
ref: p,
|
|
97
|
-
className: d("bitz-pull-refresh__track"),
|
|
98
|
-
style: $,
|
|
99
|
-
onTouchStart: R,
|
|
100
|
-
onTouchEnd: S,
|
|
101
|
-
onTouchCancel: S,
|
|
102
|
-
children: [
|
|
103
|
-
/* @__PURE__ */ f.jsx("div", { className: d("bitz-pull-refresh__head"), style: _(), children: E() }),
|
|
104
|
-
e.children
|
|
105
|
-
]
|
|
106
|
-
}
|
|
107
|
-
)
|
|
108
|
-
}
|
|
109
|
-
);
|
|
100
|
+
const $ = k(() => ({
|
|
101
|
+
transitionDuration: `${s.duration}ms`,
|
|
102
|
+
transform: s.distance ? `translate3d(0,${s.distance}px, 0)` : ""
|
|
103
|
+
}), [s.duration, s.distance]);
|
|
104
|
+
return /* @__PURE__ */ f.jsx("div", { ref: H, className: d(e.className, "bitz-pull-refresh"), style: e.style, children: /* @__PURE__ */ f.jsxs("div", { ref: p, className: d("bitz-pull-refresh__track"), style: $, onTouchStart: R, onTouchEnd: S, onTouchCancel: S, children: [
|
|
105
|
+
/* @__PURE__ */ f.jsx("div", { className: d("bitz-pull-refresh__head"), style: _(), children: E() }),
|
|
106
|
+
e.children
|
|
107
|
+
] }) });
|
|
110
108
|
};
|
|
111
109
|
export {
|
|
112
110
|
Z as default
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import { j as t } from "../../node_modules/react/jsx-runtime.mjs";
|
|
2
2
|
import { QRCode as r } from "antd";
|
|
3
|
-
const m = (o) => /* @__PURE__ */ t.jsx(
|
|
4
|
-
r,
|
|
5
|
-
{
|
|
6
|
-
...o
|
|
7
|
-
}
|
|
8
|
-
);
|
|
3
|
+
const m = (o) => /* @__PURE__ */ t.jsx(r, { ...o });
|
|
9
4
|
export {
|
|
10
5
|
m as default
|
|
11
6
|
};
|
|
@@ -30,7 +30,18 @@ const O = (s, i, f) => s == null ? void 0 : s.flatMap((n) => {
|
|
|
30
30
|
value: s.collapsed,
|
|
31
31
|
onChange: s.onCollapse
|
|
32
32
|
}
|
|
33
|
-
), {
|
|
33
|
+
), {
|
|
34
|
+
split: n,
|
|
35
|
+
items: S,
|
|
36
|
+
spanSize: p,
|
|
37
|
+
showLength: d,
|
|
38
|
+
searchGutter: N,
|
|
39
|
+
showHiddenNum: j,
|
|
40
|
+
form: u,
|
|
41
|
+
baseClassName: E,
|
|
42
|
+
onReset: g,
|
|
43
|
+
onFinish: P
|
|
44
|
+
} = s;
|
|
34
45
|
let h = 0, F = 0, $ = !1, y = 0, a = 0;
|
|
35
46
|
const V = O(S, s.ignoreRules, u).map((e, r) => {
|
|
36
47
|
var m, C, M, I;
|
|
@@ -59,7 +70,10 @@ const O = (s, i, f) => s == null ? void 0 : s.flatMap((n) => {
|
|
|
59
70
|
};
|
|
60
71
|
}), G = V.map((e, r) => {
|
|
61
72
|
var m, C;
|
|
62
|
-
const {
|
|
73
|
+
const {
|
|
74
|
+
itemDom: l,
|
|
75
|
+
colSpan: t
|
|
76
|
+
} = e;
|
|
63
77
|
if ((m = l == null ? void 0 : l.props) == null ? void 0 : m.hidden)
|
|
64
78
|
return l;
|
|
65
79
|
const b = c.isValidElement(l) && (l.key || `${(C = l.props) == null ? void 0 : C.name}`) || r;
|
|
@@ -78,24 +92,13 @@ const O = (s, i, f) => s == null ? void 0 : s.flatMap((n) => {
|
|
|
78
92
|
};
|
|
79
93
|
return /* @__PURE__ */ o.jsxs(H, { gutter: N, justify: "start", className: L(`${E}-row`), children: [
|
|
80
94
|
G,
|
|
81
|
-
/* @__PURE__ */ o.jsx(
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
style: {
|
|
89
|
-
textAlign: "end"
|
|
90
|
-
},
|
|
91
|
-
children: /* @__PURE__ */ o.jsx(U.Item, { label: " ", colon: !1, shouldUpdate: !1, className: `${E}-actions`.trim(), children: /* @__PURE__ */ o.jsxs(q, { children: [
|
|
92
|
-
/* @__PURE__ */ o.jsx(x, { onClick: A, type: "primary", children: "搜索" }),
|
|
93
|
-
/* @__PURE__ */ o.jsx(x, { onClick: _, children: "重置" }),
|
|
94
|
-
K ? /* @__PURE__ */ o.jsx(x, { type: "text", onClick: () => f(!i), children: i ? "展开" : "收起" }) : null
|
|
95
|
-
] }) })
|
|
96
|
-
},
|
|
97
|
-
"submitter"
|
|
98
|
-
)
|
|
95
|
+
/* @__PURE__ */ o.jsx(w, { span: p.span, offset: Q, className: L((v = s.submitterColSpanProps) == null ? void 0 : v.className), ...s.submitterColSpanProps, style: {
|
|
96
|
+
textAlign: "end"
|
|
97
|
+
}, children: /* @__PURE__ */ o.jsx(U.Item, { label: " ", colon: !1, shouldUpdate: !1, className: `${E}-actions`.trim(), children: /* @__PURE__ */ o.jsxs(q, { children: [
|
|
98
|
+
/* @__PURE__ */ o.jsx(x, { onClick: A, type: "primary", children: "搜索" }),
|
|
99
|
+
/* @__PURE__ */ o.jsx(x, { onClick: _, children: "重置" }),
|
|
100
|
+
K ? /* @__PURE__ */ o.jsx(x, { type: "text", onClick: () => f(!i), children: i ? "展开" : "收起" }) : null
|
|
101
|
+
] }) }) }, "submitter")
|
|
99
102
|
] }, "resize-observer-row");
|
|
100
103
|
}, se = B(T);
|
|
101
104
|
export {
|
|
@@ -5,7 +5,13 @@ import { useMemo as j } from "react";
|
|
|
5
5
|
import w from "../BitzFloatLayout/index.mjs";
|
|
6
6
|
import "./index.less.mjs";
|
|
7
7
|
const D = (n) => {
|
|
8
|
-
const {
|
|
8
|
+
const {
|
|
9
|
+
preserve: c,
|
|
10
|
+
form: o,
|
|
11
|
+
items: e,
|
|
12
|
+
onReset: t,
|
|
13
|
+
onFinish: l
|
|
14
|
+
} = n, s = y(), m = () => {
|
|
9
15
|
o.resetFields(), t == null || t(), s.hide();
|
|
10
16
|
}, d = () => {
|
|
11
17
|
const i = o.getFieldsValue();
|
|
@@ -6,7 +6,9 @@ import { useModal as u } from "@ebay/nice-modal-react";
|
|
|
6
6
|
import d from "./QueryFilterDrawer.mjs";
|
|
7
7
|
import "./index.less.mjs";
|
|
8
8
|
const b = (r) => {
|
|
9
|
-
const {
|
|
9
|
+
const {
|
|
10
|
+
items: o
|
|
11
|
+
} = r, l = u(d), m = i(() => {
|
|
10
12
|
if (o != null && o.length) {
|
|
11
13
|
const t = o[0];
|
|
12
14
|
if (s.isValidElement(t))
|
|
@@ -21,13 +21,7 @@ const Q = {
|
|
|
21
21
|
[1057, 3, "vertical"],
|
|
22
22
|
[1 / 0, 4, "vertical"]
|
|
23
23
|
],
|
|
24
|
-
default: [
|
|
25
|
-
[513, 1, "vertical"],
|
|
26
|
-
[701, 2, "vertical"],
|
|
27
|
-
[1062, 3, "horizontal"],
|
|
28
|
-
[1352, 3, "horizontal"],
|
|
29
|
-
[1 / 0, 4, "horizontal"]
|
|
30
|
-
]
|
|
24
|
+
default: [[513, 1, "vertical"], [701, 2, "vertical"], [1062, 3, "horizontal"], [1352, 3, "horizontal"], [1 / 0, 4, "horizontal"]]
|
|
31
25
|
}, G = (n, m, r) => {
|
|
32
26
|
if (r && typeof r == "number")
|
|
33
27
|
return {
|
|
@@ -78,38 +72,12 @@ const K = (g = document == null ? void 0 : document.body) == null ? void 0 : g.c
|
|
|
78
72
|
}
|
|
79
73
|
};
|
|
80
74
|
}, [i.layout, l]), w = d(() => P(t) ? t : [t], [t]);
|
|
81
|
-
return /* @__PURE__ */ e.jsx(
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
children: /* @__PURE__ */ e.jsxs(M, { children: [
|
|
88
|
-
/* @__PURE__ */ e.jsx(j, { md: 24, sm: 0, xs: 0, children: /* @__PURE__ */ e.jsx(x, { preserve: c, form: a, layout: i.layout, ...W, children: /* @__PURE__ */ e.jsx(
|
|
89
|
-
O,
|
|
90
|
-
{
|
|
91
|
-
onFinish: b,
|
|
92
|
-
defaultCollapsed: y,
|
|
93
|
-
collapsed: m,
|
|
94
|
-
onCollapse: r,
|
|
95
|
-
searchGutter: s,
|
|
96
|
-
spanSize: i,
|
|
97
|
-
items: w,
|
|
98
|
-
split: I,
|
|
99
|
-
ignoreRules: F,
|
|
100
|
-
showLength: S,
|
|
101
|
-
showHiddenNum: R,
|
|
102
|
-
form: a,
|
|
103
|
-
baseClassName: "bitz",
|
|
104
|
-
preserve: c,
|
|
105
|
-
onReset: f
|
|
106
|
-
}
|
|
107
|
-
) }) }),
|
|
108
|
-
/* @__PURE__ */ e.jsx(j, { md: 0, sm: 24, xs: 24, children: /* @__PURE__ */ e.jsx(x, { onReset: f, preserve: c, form: a, layout: "vertical", children: /* @__PURE__ */ e.jsx(E, { onFinish: b, form: a, items: w, onReset: f }) }) })
|
|
109
|
-
] })
|
|
110
|
-
},
|
|
111
|
-
"resize-observer"
|
|
112
|
-
);
|
|
75
|
+
return /* @__PURE__ */ e.jsx(A, { onResize: (h) => {
|
|
76
|
+
p !== h.width && h.width > 17 && N(h.width);
|
|
77
|
+
}, children: /* @__PURE__ */ e.jsxs(M, { children: [
|
|
78
|
+
/* @__PURE__ */ e.jsx(j, { md: 24, sm: 0, xs: 0, children: /* @__PURE__ */ e.jsx(x, { preserve: c, form: a, layout: i.layout, ...W, children: /* @__PURE__ */ e.jsx(O, { onFinish: b, defaultCollapsed: y, collapsed: m, onCollapse: r, searchGutter: s, spanSize: i, items: w, split: I, ignoreRules: F, showLength: S, showHiddenNum: R, form: a, baseClassName: "bitz", preserve: c, onReset: f }) }) }),
|
|
79
|
+
/* @__PURE__ */ e.jsx(j, { md: 0, sm: 24, xs: 24, children: /* @__PURE__ */ e.jsx(x, { onReset: f, preserve: c, form: a, layout: "vertical", children: /* @__PURE__ */ e.jsx(E, { onFinish: b, form: a, items: w, onReset: f }) }) })
|
|
80
|
+
] }) }, "resize-observer");
|
|
113
81
|
};
|
|
114
82
|
export {
|
|
115
83
|
J as default
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { j as s } from "../../node_modules/react/jsx-runtime.mjs";
|
|
2
2
|
import "./index.less.mjs";
|
|
3
|
-
const t = ({
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
const t = ({
|
|
4
|
+
showRefresh: a = !1,
|
|
5
|
+
color: e = "#444791"
|
|
6
|
+
}) => /* @__PURE__ */ s.jsx(s.Fragment, { children: a && /* @__PURE__ */ s.jsx("div", { className: "bitzRefreshBlock", children: /* @__PURE__ */ s.jsxs("div", { className: "loadingBox", children: [
|
|
7
|
+
/* @__PURE__ */ s.jsx("span", { style: {
|
|
8
|
+
background: e
|
|
9
|
+
} }),
|
|
10
|
+
/* @__PURE__ */ s.jsx("span", { style: {
|
|
11
|
+
background: e
|
|
12
|
+
} }),
|
|
13
|
+
/* @__PURE__ */ s.jsx("span", { style: {
|
|
14
|
+
background: e
|
|
15
|
+
} })
|
|
7
16
|
] }) }) });
|
|
8
17
|
export {
|
|
9
18
|
t as default
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { j as t } from "../../node_modules/react/jsx-runtime.mjs";
|
|
2
2
|
import { Input as s } from "antd";
|
|
3
3
|
import e from "./index.module.less.mjs";
|
|
4
|
-
const {
|
|
4
|
+
const {
|
|
5
|
+
TextArea: m
|
|
6
|
+
} = s, p = ({
|
|
7
|
+
maxLength: r = 50,
|
|
8
|
+
...o
|
|
9
|
+
}) => /* @__PURE__ */ t.jsx("div", { className: e.bitzRemakBlock, children: /* @__PURE__ */ t.jsx(m, { showCount: !0, maxLength: r, ...o }) });
|
|
5
10
|
export {
|
|
6
11
|
p as default
|
|
7
12
|
};
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
import { j as e } from "../../node_modules/react/jsx-runtime.mjs";
|
|
2
2
|
import { Input as a } from "antd";
|
|
3
|
-
const {
|
|
4
|
-
|
|
3
|
+
const {
|
|
4
|
+
Search: n
|
|
5
|
+
} = a, i = ({
|
|
6
|
+
enterButton: t = "搜索",
|
|
7
|
+
onSearch: r,
|
|
8
|
+
...o
|
|
9
|
+
}) => {
|
|
10
|
+
const s = {
|
|
11
|
+
...o,
|
|
12
|
+
onSearch: r,
|
|
13
|
+
enterButton: t
|
|
14
|
+
};
|
|
5
15
|
return /* @__PURE__ */ e.jsx(n, { ...s, allowClear: !0 });
|
|
6
16
|
};
|
|
7
17
|
export {
|