bitz-react-admin-ui 2.3.2 → 2.3.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/_virtual/dayjs.min.mjs +5 -2
- package/dist/_virtual/dayjs.min2.mjs +4 -0
- package/dist/_virtual/index.mjs +2 -2
- package/dist/_virtual/index2.mjs +2 -2
- package/dist/components/BitzCalendar/index.mjs +1 -1
- package/dist/components/BitzDayJs/index.mjs +1 -1
- package/dist/components/BitzFuiCalendar/BitzFuiCalendarStore.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarAgendum.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarAgendumItem.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarBody.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarHead.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarHeadItem.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarToolbar.mjs +1 -1
- package/dist/components/BitzFuiCalendar/ColumnData.mjs +1 -1
- package/dist/components/BitzMeetingTime/BitzMeetingTimeItem.mjs +1 -1
- package/dist/components/BitzMeetingTime/index.mjs +1 -1
- package/dist/components/BitzTable/ActionCol/index.mjs +1 -1
- package/dist/components/BitzTable/ActionCol/style.mjs +8 -7
- package/dist/components/BitzTable/SelectionBar/SelectionBar.mjs +21 -18
- package/dist/components/BitzTable/Store/index.d.ts +4 -0
- package/dist/components/BitzTable/Store/index.mjs +73 -71
- package/dist/components/BitzTable/Table/SortTableContext.d.ts +3 -5
- package/dist/components/BitzTable/Table/SortTableContext.mjs +42 -19
- package/dist/components/BitzTable/Table/index.d.ts +1 -2
- package/dist/components/BitzTable/Table/index.mjs +193 -186
- package/dist/components/BitzTable/ToolBar/Modal/index.mjs +19 -12
- package/dist/components/BitzTable/ToolBar/Modal/style.mjs +43 -45
- package/dist/components/BitzTable/ToolBar/Wrapper/index.mjs +46 -43
- package/dist/components/BitzTableSelect/SelectPopup/getData.mjs +1 -1
- package/dist/components/BitzTableSelect/SelectPopup/index.mjs +50 -50
- package/dist/node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs +1 -1
- package/dist/node_modules/.store/dayjs@1.11.10/node_modules/dayjs/dayjs.min.mjs +292 -292
- package/dist/node_modules/.store/dayjs@1.11.10/node_modules/dayjs/locale/zh-cn.mjs +13 -13
- package/dist/node_modules/.store/prop-types@15.8.1/node_modules/prop-types/index.mjs +1 -1
- package/dist/style.css +1 -1
- package/dist/utils/time.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { j as r } from "../../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
|
|
2
|
-
import { Modal as N, Typography as k, Card as B, Flex as
|
|
3
|
-
import { useMemo as
|
|
2
|
+
import { Modal as N, Typography as k, Card as B, Flex as m } from "antd";
|
|
3
|
+
import { useMemo as f, useState as F, useRef as h } from "react";
|
|
4
4
|
import H from "../../../BitzTheme/index.mjs";
|
|
5
5
|
import R from "../../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
|
|
6
6
|
import { styles as T } from "./style.mjs";
|
|
7
7
|
function $({
|
|
8
|
-
open:
|
|
8
|
+
open: l,
|
|
9
9
|
title: C,
|
|
10
10
|
close: g,
|
|
11
11
|
closeAfter: p,
|
|
@@ -14,11 +14,11 @@ function $({
|
|
|
14
14
|
extra: t,
|
|
15
15
|
children: j
|
|
16
16
|
}) {
|
|
17
|
-
const { token: o } = H.useToken(), n =
|
|
18
|
-
p(), b(
|
|
19
|
-
}, e =
|
|
20
|
-
var
|
|
21
|
-
return e.current && s.current ? ((
|
|
17
|
+
const { token: o } = H.useToken(), n = f(() => o.mode === "dark", [o.mode]), [i, b] = F(0), M = () => {
|
|
18
|
+
p(), b(i + 1);
|
|
19
|
+
}, e = h(null), s = h(null), c = f(() => {
|
|
20
|
+
var a, d, u;
|
|
21
|
+
return e.current && s.current ? ((a = e.current) == null ? void 0 : a.clientHeight) - ((d = s.current) == null ? void 0 : d.clientHeight) - 24 : e.current && !t ? (u = e.current) == null ? void 0 : u.clientHeight : "100%";
|
|
22
22
|
}, [e.current, s.current, t]);
|
|
23
23
|
return /* @__PURE__ */ r.jsx(
|
|
24
24
|
N,
|
|
@@ -26,7 +26,7 @@ function $({
|
|
|
26
26
|
className: R(T(o), "tableConfigModal"),
|
|
27
27
|
title: /* @__PURE__ */ r.jsx(k.Title, { style: { fontSize: 16, margin: 0 }, children: C }),
|
|
28
28
|
getContainer: x,
|
|
29
|
-
open:
|
|
29
|
+
open: l,
|
|
30
30
|
onCancel: g,
|
|
31
31
|
afterClose: M,
|
|
32
32
|
style: {
|
|
@@ -38,7 +38,7 @@ function $({
|
|
|
38
38
|
width: 700,
|
|
39
39
|
footer: y,
|
|
40
40
|
children: /* @__PURE__ */ r.jsx(B, { className: "container", bordered: !1, children: /* @__PURE__ */ r.jsxs(
|
|
41
|
-
|
|
41
|
+
m,
|
|
42
42
|
{
|
|
43
43
|
ref: e,
|
|
44
44
|
vertical: !0,
|
|
@@ -47,10 +47,17 @@ function $({
|
|
|
47
47
|
style: { height: "100%" },
|
|
48
48
|
children: [
|
|
49
49
|
t && /* @__PURE__ */ r.jsx("div", { className: "extraContent", ref: s, children: t }),
|
|
50
|
-
/* @__PURE__ */ r.jsx(
|
|
50
|
+
l && /* @__PURE__ */ r.jsx(
|
|
51
|
+
m,
|
|
52
|
+
{
|
|
53
|
+
className: "containerBody",
|
|
54
|
+
style: { height: c || "100%" },
|
|
55
|
+
children: j(c)
|
|
56
|
+
}
|
|
57
|
+
)
|
|
51
58
|
]
|
|
52
59
|
},
|
|
53
|
-
|
|
60
|
+
i
|
|
54
61
|
) })
|
|
55
62
|
}
|
|
56
63
|
);
|
|
@@ -1,61 +1,59 @@
|
|
|
1
|
-
import { css as
|
|
2
|
-
import { columnsSortStyles as
|
|
3
|
-
const
|
|
1
|
+
import { css as r } from "../../../../node_modules/.store/@emotion_css@11.11.2/node_modules/@emotion/css/dist/emotion-css.esm.mjs";
|
|
2
|
+
import { columnsSortStyles as l, appearanceConfigStyles as n, exportConfigStyles as d } from "../ColConfigIcon/style.mjs";
|
|
3
|
+
const f = (o) => {
|
|
4
4
|
var t, a, e;
|
|
5
|
-
return
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
5
|
+
return r`
|
|
6
|
+
&.tableConfigModal {
|
|
7
|
+
.ant-modal-content {
|
|
8
|
+
max-height: calc(100vh - 200px);
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
background-color: ${(t = o.Modal) == null ? void 0 : t.contentBg};
|
|
12
|
+
|
|
13
|
+
.ant-modal-header {
|
|
14
|
+
font-size: 16px;
|
|
15
|
+
font-weight: 700;
|
|
16
|
+
background-color: ${(a = o.Modal) == null ? void 0 : a.headerBg};
|
|
17
|
+
}
|
|
17
18
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
19
|
+
.ant-modal-body {
|
|
20
|
+
flex: 1;
|
|
21
|
+
overflow: hidden auto;
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
text-align: left;
|
|
27
|
-
margin: 0;
|
|
28
|
-
padding: 20px;
|
|
29
|
-
background-color: ${(e = o.Modal) == null ? void 0 : e.footerBg};
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
`;
|
|
33
|
-
}, f = (o) => l`
|
|
34
|
-
&.tableConfigModal {
|
|
35
|
-
${i(o)}
|
|
23
|
+
.pointerCursor {
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
}
|
|
36
26
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
27
|
+
.container {
|
|
28
|
+
.ant-card-body {
|
|
29
|
+
width: 100%;
|
|
30
|
+
}
|
|
40
31
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
32
|
+
.containerBody {
|
|
33
|
+
width: 100%;
|
|
34
|
+
position: relative;
|
|
45
35
|
|
|
46
|
-
|
|
47
|
-
width: 100%;
|
|
48
|
-
position: relative;
|
|
36
|
+
${l(o)}
|
|
49
37
|
|
|
50
|
-
|
|
38
|
+
${n(o)}
|
|
51
39
|
|
|
52
|
-
|
|
40
|
+
${d(o)}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
53
44
|
|
|
54
|
-
|
|
45
|
+
.ant-modal-footer {
|
|
46
|
+
width: 100%;
|
|
47
|
+
align-self: flex-end;
|
|
48
|
+
text-align: left;
|
|
49
|
+
margin: 0;
|
|
50
|
+
padding: 20px;
|
|
51
|
+
background-color: ${(e = o.Modal) == null ? void 0 : e.footerBg};
|
|
55
52
|
}
|
|
56
53
|
}
|
|
57
54
|
}
|
|
58
55
|
`;
|
|
56
|
+
};
|
|
59
57
|
export {
|
|
60
58
|
f as styles
|
|
61
59
|
};
|
|
@@ -1,76 +1,79 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { useContext as
|
|
3
|
-
import { Space as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { BitzConfigContext as
|
|
9
|
-
import { BitzToolBarContext as
|
|
10
|
-
import { BitzTableContext as
|
|
11
|
-
const
|
|
12
|
-
size:
|
|
13
|
-
tools:
|
|
14
|
-
toolsConfig:
|
|
1
|
+
import { j as r } from "../../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
|
|
2
|
+
import { useContext as c, useMemo as h, useRef as g, useEffect as C } from "react";
|
|
3
|
+
import { Flex as j, Space as z } from "antd";
|
|
4
|
+
import B from "../RefreshIcon/index.mjs";
|
|
5
|
+
import T from "../ColConfigIcon/index.mjs";
|
|
6
|
+
import E from "../FullscreenIcon/index.mjs";
|
|
7
|
+
import I from "../ExportIcon/index.mjs";
|
|
8
|
+
import { BitzConfigContext as R } from "../../../BitzConfigProvider/context.mjs";
|
|
9
|
+
import { BitzToolBarContext as b } from "./context.mjs";
|
|
10
|
+
import { BitzTableContext as k } from "../../Store/index.mjs";
|
|
11
|
+
const F = ["export", "refresh", "fullscreen", "config"], J = ({
|
|
12
|
+
size: W,
|
|
13
|
+
tools: l,
|
|
14
|
+
toolsConfig: m,
|
|
15
15
|
exclude: t,
|
|
16
|
-
onExport:
|
|
17
|
-
onRefresh:
|
|
18
|
-
onColumnChange:
|
|
16
|
+
onExport: p,
|
|
17
|
+
onRefresh: d,
|
|
18
|
+
onColumnChange: a
|
|
19
19
|
}) => {
|
|
20
|
-
const { Table:
|
|
21
|
-
const
|
|
22
|
-
return t != null && t.length ?
|
|
23
|
-
}, [
|
|
24
|
-
const
|
|
20
|
+
const { Table: e } = c(R), { selected: u, setToolbarWidth: x } = c(k), i = h(() => {
|
|
21
|
+
const s = l || (e == null ? void 0 : e.toolbar) || F;
|
|
22
|
+
return t != null && t.length ? s.filter((n) => !t.includes(n)) : s;
|
|
23
|
+
}, [e == null ? void 0 : e.toolbar, t, l]), o = h(() => {
|
|
24
|
+
const s = {
|
|
25
25
|
export: { order: 1, show: !1 },
|
|
26
26
|
refresh: { order: 2, show: !1 },
|
|
27
27
|
fullscreen: { order: 3, show: !1 },
|
|
28
28
|
config: { order: 4, show: !1 }
|
|
29
29
|
};
|
|
30
|
-
return
|
|
31
|
-
|
|
32
|
-
}),
|
|
33
|
-
}, [
|
|
34
|
-
return
|
|
35
|
-
x.
|
|
30
|
+
return i.forEach((n, w) => {
|
|
31
|
+
s[n].order = w + 1, s[n].show = i.includes(n);
|
|
32
|
+
}), s;
|
|
33
|
+
}, [i]), f = g(null);
|
|
34
|
+
return C(() => {
|
|
35
|
+
f.current && x(f.current.clientWidth);
|
|
36
|
+
}, [f.current]), /* @__PURE__ */ r.jsx(b.Provider, { value: m ?? {}, children: /* @__PURE__ */ r.jsx(
|
|
37
|
+
j,
|
|
36
38
|
{
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
ref: f,
|
|
40
|
+
style: { height: "100%", ...u && { zIndex: 10 } },
|
|
41
|
+
children: /* @__PURE__ */ r.jsxs(z.Compact, { children: [
|
|
42
|
+
/* @__PURE__ */ r.jsx(
|
|
43
|
+
I,
|
|
41
44
|
{
|
|
42
45
|
order: o.export.order,
|
|
43
46
|
show: o.export.show,
|
|
44
|
-
onClick:
|
|
47
|
+
onClick: p
|
|
45
48
|
}
|
|
46
49
|
),
|
|
47
|
-
/* @__PURE__ */
|
|
48
|
-
|
|
50
|
+
/* @__PURE__ */ r.jsx(
|
|
51
|
+
B,
|
|
49
52
|
{
|
|
50
53
|
order: o.refresh.order,
|
|
51
54
|
show: o.refresh.show,
|
|
52
|
-
onClick:
|
|
55
|
+
onClick: d
|
|
53
56
|
}
|
|
54
57
|
),
|
|
55
|
-
/* @__PURE__ */
|
|
56
|
-
|
|
58
|
+
/* @__PURE__ */ r.jsx(
|
|
59
|
+
E,
|
|
57
60
|
{
|
|
58
61
|
order: o.fullscreen.order,
|
|
59
62
|
show: o.fullscreen.show
|
|
60
63
|
}
|
|
61
64
|
),
|
|
62
|
-
/* @__PURE__ */
|
|
63
|
-
|
|
65
|
+
/* @__PURE__ */ r.jsx(
|
|
66
|
+
T,
|
|
64
67
|
{
|
|
65
68
|
order: o.config.order,
|
|
66
69
|
show: o.config.show,
|
|
67
|
-
onChange:
|
|
70
|
+
onChange: a
|
|
68
71
|
}
|
|
69
72
|
)
|
|
70
|
-
]
|
|
73
|
+
] })
|
|
71
74
|
}
|
|
72
75
|
) });
|
|
73
76
|
};
|
|
74
77
|
export {
|
|
75
|
-
|
|
78
|
+
J as default
|
|
76
79
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { j as e } from "../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
|
|
2
|
-
import { useRef as se, useContext as ce, useState as v,
|
|
3
|
-
import { Row as b, Col as a, Space as
|
|
2
|
+
import { useRef as se, useContext as ce, useState as v, useCallback as ne, useMemo as _, useEffect as ie } from "react";
|
|
3
|
+
import { Row as b, Col as a, Space as A, Form as h, Select as F, Spin as ae, Typography as pe, Flex as ue, Empty as O } from "antd";
|
|
4
4
|
import de from "../../BitzPagination/index.mjs";
|
|
5
5
|
import xe from "../../BitzTable/index.mjs";
|
|
6
|
-
import
|
|
6
|
+
import G from "../../BitzButton/index.mjs";
|
|
7
7
|
import { getColumns as me, getExpandable as he, getLayoutConfig as je } from "./getData.mjs";
|
|
8
8
|
import Se from "../TextBlock/index.mjs";
|
|
9
9
|
import fe from "../../../node_modules/.store/ahooks@3.7.11/node_modules/ahooks/es/useSize/index.mjs";
|
|
@@ -13,40 +13,40 @@ import { BitzConfigContext as we } from "../../BitzConfigProvider/context.mjs";
|
|
|
13
13
|
import "./index.less.mjs";
|
|
14
14
|
import Te from "../../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/InfoCircleOutlined.mjs";
|
|
15
15
|
import ge from "../../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/CloseOutlined.mjs";
|
|
16
|
-
function
|
|
17
|
-
columns:
|
|
16
|
+
function Ge({
|
|
17
|
+
columns: H,
|
|
18
18
|
tableData: y,
|
|
19
19
|
total: W,
|
|
20
20
|
loading: p,
|
|
21
21
|
loadingFailed: j,
|
|
22
22
|
loadAgain: $,
|
|
23
|
-
page:
|
|
23
|
+
page: B,
|
|
24
24
|
onPageChange: q,
|
|
25
25
|
searchInput: J,
|
|
26
|
-
showToolTagSelect:
|
|
26
|
+
showToolTagSelect: P,
|
|
27
27
|
toolTags: L,
|
|
28
28
|
onToolTagChange: w,
|
|
29
29
|
lrLayout: T,
|
|
30
|
-
parentRender:
|
|
31
|
-
keys:
|
|
32
|
-
rows:
|
|
30
|
+
parentRender: z,
|
|
31
|
+
keys: E,
|
|
32
|
+
rows: I,
|
|
33
33
|
fieldNames: t,
|
|
34
34
|
onChange: x,
|
|
35
35
|
onDropdownVisibleChange: S
|
|
36
36
|
}) {
|
|
37
|
-
var
|
|
38
|
-
const
|
|
39
|
-
Z(
|
|
37
|
+
var k, M, K;
|
|
38
|
+
const R = se(null), g = fe(R), { token: s } = be.useToken(), C = ((k = s == null ? void 0 : s.BitzTableSelect) == null ? void 0 : k.tableSpaceBetweenPage) ?? 10, Q = ((M = ce(we).TableSelect) == null ? void 0 : M.defaultSize) ?? "md", [c, U] = v([]), [r, X] = v([]), [Y, Z] = v(void 0), D = (o, l) => {
|
|
39
|
+
Z(o), w == null || w(o, l), o || (S(!0), setTimeout(() => {
|
|
40
40
|
S(!1);
|
|
41
41
|
}, 0));
|
|
42
|
-
}, V =
|
|
42
|
+
}, V = me(H, y, B), N = {
|
|
43
43
|
selectedRowKeys: c,
|
|
44
|
-
onSelect: (
|
|
45
|
-
if (
|
|
46
|
-
c.push(
|
|
44
|
+
onSelect: (o, l) => {
|
|
45
|
+
if (l)
|
|
46
|
+
c.push(o[t.value]), r.push(o), x(c, r);
|
|
47
47
|
else {
|
|
48
48
|
const u = r.filter(
|
|
49
|
-
(d) => d[t.value] !==
|
|
49
|
+
(d) => d[t.value] !== o[t.value]
|
|
50
50
|
);
|
|
51
51
|
x(
|
|
52
52
|
u.map((d) => d[t.value]),
|
|
@@ -54,9 +54,9 @@ function He({
|
|
|
54
54
|
);
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
|
-
onSelectAll: (
|
|
57
|
+
onSelectAll: (o, l, u) => {
|
|
58
58
|
const d = u.map((i) => i[t.value]);
|
|
59
|
-
if (
|
|
59
|
+
if (o) {
|
|
60
60
|
const i = c.concat(d), f = r.concat(u);
|
|
61
61
|
x(i, f);
|
|
62
62
|
} else {
|
|
@@ -64,29 +64,29 @@ function He({
|
|
|
64
64
|
u.forEach((m) => {
|
|
65
65
|
f.set(m[t.value], m);
|
|
66
66
|
});
|
|
67
|
-
const
|
|
67
|
+
const le = r == null ? void 0 : r.filter(
|
|
68
68
|
(m) => !f.has(m[t.value])
|
|
69
69
|
);
|
|
70
|
-
x(i,
|
|
70
|
+
x(i, le);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
}, ee = ne(() => he(t.items, p), [t.items, p]), te = (
|
|
74
|
-
|
|
73
|
+
}, ee = ne(() => he(t.items, p), [t.items, p]), te = (o, l) => /* @__PURE__ */ e.jsxs("span", { style: { color: s.colorText }, children: [
|
|
74
|
+
o[0],
|
|
75
75
|
" ",
|
|
76
|
-
/* @__PURE__ */ e.jsx("span", { style: { color: s.colorPrimary, fontWeight: 600 }, children:
|
|
76
|
+
/* @__PURE__ */ e.jsx("span", { style: { color: s.colorPrimary, fontWeight: 600 }, children: l }),
|
|
77
77
|
" ",
|
|
78
|
-
|
|
78
|
+
o[1]
|
|
79
79
|
] }), re = () => {
|
|
80
|
-
const
|
|
80
|
+
const o = (l) => {
|
|
81
81
|
const u = r.findIndex(
|
|
82
|
-
(i) => i[t.value] ===
|
|
82
|
+
(i) => i[t.value] === l[t.value]
|
|
83
83
|
), d = c.findIndex(
|
|
84
|
-
(i) => i ===
|
|
84
|
+
(i) => i === l[t.value]
|
|
85
85
|
);
|
|
86
86
|
r.splice(u, 1), c.splice(d, 1), x(c, r);
|
|
87
87
|
};
|
|
88
88
|
return /* @__PURE__ */ e.jsxs(
|
|
89
|
-
|
|
89
|
+
A,
|
|
90
90
|
{
|
|
91
91
|
direction: "vertical",
|
|
92
92
|
style: {
|
|
@@ -96,7 +96,7 @@ function He({
|
|
|
96
96
|
overflow: "hidden auto"
|
|
97
97
|
},
|
|
98
98
|
children: [
|
|
99
|
-
r.map((
|
|
99
|
+
r.map((l) => /* @__PURE__ */ e.jsxs(
|
|
100
100
|
ue,
|
|
101
101
|
{
|
|
102
102
|
justify: "space-between",
|
|
@@ -108,7 +108,7 @@ function He({
|
|
|
108
108
|
overflow: "hidden"
|
|
109
109
|
},
|
|
110
110
|
children: [
|
|
111
|
-
/* @__PURE__ */ e.jsx("div", { style: { width: "calc(100% - 15px)" }, children: /* @__PURE__ */ e.jsx(Se, { value:
|
|
111
|
+
/* @__PURE__ */ e.jsx("div", { style: { width: "calc(100% - 15px)" }, children: /* @__PURE__ */ e.jsx(Se, { value: l[t.label] }) }),
|
|
112
112
|
/* @__PURE__ */ e.jsx(
|
|
113
113
|
ge,
|
|
114
114
|
{
|
|
@@ -117,32 +117,32 @@ function He({
|
|
|
117
117
|
fontSize: 13,
|
|
118
118
|
cursor: "pointer"
|
|
119
119
|
},
|
|
120
|
-
onClick: () => l
|
|
120
|
+
onClick: () => o(l)
|
|
121
121
|
}
|
|
122
122
|
)
|
|
123
123
|
]
|
|
124
124
|
},
|
|
125
|
-
|
|
125
|
+
l[t.value]
|
|
126
126
|
)),
|
|
127
|
-
!r.length && /* @__PURE__ */ e.jsx(
|
|
127
|
+
!r.length && /* @__PURE__ */ e.jsx(O, { image: O.PRESENTED_IMAGE_SIMPLE })
|
|
128
128
|
]
|
|
129
129
|
}
|
|
130
130
|
);
|
|
131
|
-
}, n =
|
|
131
|
+
}, n = _(() => je(T, P), [T, P]), oe = _(() => ye(
|
|
132
132
|
{ loadingTable: p },
|
|
133
133
|
{ loadingFailedTable: j },
|
|
134
134
|
"bitzSelectTable"
|
|
135
135
|
), [j, p]);
|
|
136
136
|
return ie(() => {
|
|
137
|
-
U(
|
|
138
|
-
}, [
|
|
139
|
-
/* @__PURE__ */ e.jsx(a, { span: n.left.span, children: T &&
|
|
140
|
-
/* @__PURE__ */ e.jsx(a, { span: n.right.span, children: /* @__PURE__ */ e.jsxs(
|
|
137
|
+
U(E ?? []), X(I ?? []);
|
|
138
|
+
}, [E, I]), /* @__PURE__ */ e.jsxs(b, { gutter: n.gutter, children: [
|
|
139
|
+
/* @__PURE__ */ e.jsx(a, { span: n.left.span, children: T && z && z(C, g == null ? void 0 : g.height) }),
|
|
140
|
+
/* @__PURE__ */ e.jsx(a, { span: n.right.span, children: /* @__PURE__ */ e.jsxs(A, { direction: "vertical", size: C, style: { width: "100%" }, children: [
|
|
141
141
|
/* @__PURE__ */ e.jsx(h, { className: "tableSelectPopupSearchForm", children: /* @__PURE__ */ e.jsx(b, { gutter: [16, 16], children: /* @__PURE__ */ e.jsx(a, { span: 24, children: /* @__PURE__ */ e.jsxs(b, { justify: "space-between", gutter: [16, 16], children: [
|
|
142
142
|
/* @__PURE__ */ e.jsx(a, { span: n.right.search, children: /* @__PURE__ */ e.jsx(h.Item, { children: J }) }),
|
|
143
143
|
/* @__PURE__ */ e.jsx(a, { span: n.right.operation, children: /* @__PURE__ */ e.jsxs(b, { justify: "end", gutter: 8, children: [
|
|
144
144
|
/* @__PURE__ */ e.jsx(a, { span: n.right.toolTagSelect, children: /* @__PURE__ */ e.jsx(h.Item, { children: /* @__PURE__ */ e.jsx(
|
|
145
|
-
|
|
145
|
+
F,
|
|
146
146
|
{
|
|
147
147
|
allowClear: !0,
|
|
148
148
|
className: "tableSelectPopupToolTagSelect",
|
|
@@ -161,7 +161,7 @@ function He({
|
|
|
161
161
|
) }) }),
|
|
162
162
|
/* @__PURE__ */ e.jsx(a, { span: n.right.totalSelect, children: /* @__PURE__ */ e.jsx(h.Item, { children: /* @__PURE__ */ e.jsxs("div", { className: "tableSelectPopupTotalSelect", children: [
|
|
163
163
|
/* @__PURE__ */ e.jsx(
|
|
164
|
-
|
|
164
|
+
F,
|
|
165
165
|
{
|
|
166
166
|
style: { width: "100%" },
|
|
167
167
|
mode: "multiple",
|
|
@@ -182,7 +182,7 @@ function He({
|
|
|
182
182
|
) })
|
|
183
183
|
] }) }) }),
|
|
184
184
|
/* @__PURE__ */ e.jsx(a, { span: n.right.button, children: /* @__PURE__ */ e.jsx(
|
|
185
|
-
|
|
185
|
+
G,
|
|
186
186
|
{
|
|
187
187
|
type: "primary",
|
|
188
188
|
danger: !0,
|
|
@@ -191,7 +191,7 @@ function He({
|
|
|
191
191
|
}
|
|
192
192
|
) }),
|
|
193
193
|
/* @__PURE__ */ e.jsx(a, { span: n.right.button, children: /* @__PURE__ */ e.jsx(
|
|
194
|
-
|
|
194
|
+
G,
|
|
195
195
|
{
|
|
196
196
|
type: "primary",
|
|
197
197
|
onClick: () => x([], [], "confirm"),
|
|
@@ -203,7 +203,7 @@ function He({
|
|
|
203
203
|
/* @__PURE__ */ e.jsx(
|
|
204
204
|
"div",
|
|
205
205
|
{
|
|
206
|
-
ref:
|
|
206
|
+
ref: R,
|
|
207
207
|
...j && {
|
|
208
208
|
className: "pointerMouse",
|
|
209
209
|
onClick: () => $()
|
|
@@ -221,16 +221,16 @@ function He({
|
|
|
221
221
|
rowKey: t.value,
|
|
222
222
|
loading: p,
|
|
223
223
|
bordered: "row-column",
|
|
224
|
-
scroll: { x:
|
|
224
|
+
scroll: { x: 1, y: 400 },
|
|
225
225
|
showPagination: !1,
|
|
226
226
|
showTableTool: !1,
|
|
227
227
|
rowSelection: N,
|
|
228
228
|
columns: V,
|
|
229
229
|
dataSource: y,
|
|
230
|
-
className:
|
|
230
|
+
className: oe,
|
|
231
231
|
...ee(),
|
|
232
232
|
style: {
|
|
233
|
-
"--tableBody-bootomBorderColor": ((
|
|
233
|
+
"--tableBody-bootomBorderColor": ((K = s.Table) == null ? void 0 : K.borderColor) || s.colorBorderSecondary
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
236
|
)
|
|
@@ -245,7 +245,7 @@ function He({
|
|
|
245
245
|
className: "tableSelectPopupTablePagination",
|
|
246
246
|
size: "small",
|
|
247
247
|
enableControl: !0,
|
|
248
|
-
pagination:
|
|
248
|
+
pagination: B,
|
|
249
249
|
total: W,
|
|
250
250
|
dataSource: y,
|
|
251
251
|
paginationEmit: q
|
|
@@ -255,5 +255,5 @@ function He({
|
|
|
255
255
|
] });
|
|
256
256
|
}
|
|
257
257
|
export {
|
|
258
|
-
|
|
258
|
+
Ge as default
|
|
259
259
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs as u } from "../../../../../_virtual/_commonjsHelpers.mjs";
|
|
2
|
-
import { __module as i } from "../../../../../_virtual/
|
|
2
|
+
import { __module as i } from "../../../../../_virtual/index2.mjs";
|
|
3
3
|
/*!
|
|
4
4
|
Copyright (c) 2018 Jed Watson.
|
|
5
5
|
Licensed under the MIT License (MIT), see
|