bitz-react-admin-ui 2.6.1 → 2.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/dayjs.min.mjs +2 -5
- package/dist/components/BitzCalendar/index.mjs +1 -1
- package/dist/components/BitzConfigProvider/context.d.ts +7 -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 +73 -73
- package/dist/components/BitzTable/Store/index.d.ts +30 -0
- package/dist/components/BitzTable/Store/index.mjs +246 -217
- package/dist/components/BitzTable/Store/utils/index.d.ts +1 -1
- package/dist/components/BitzTable/Store/utils/index.mjs +12 -12
- package/dist/components/BitzTable/Table/index.d.ts +9 -1
- package/dist/components/BitzTable/Table/index.mjs +425 -403
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +103 -95
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.d.ts +2 -1
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +243 -197
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.mjs +141 -105
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/ScopeSwitch.d.ts +8 -0
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/ScopeSwitch.mjs +23 -0
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +127 -74
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/index.mjs +76 -25
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/style.mjs +151 -96
- package/dist/components/BitzTable/ToolBar/ExportIcon/ExportModal.mjs +29 -27
- package/dist/components/BitzTable/ToolBar/Modal/index.mjs +19 -9
- package/dist/components/BitzTable/ToolBar/Modal/style.d.ts +4 -0
- package/dist/components/BitzTable/ToolBar/Modal/style.mjs +42 -14
- package/dist/components/BitzTable/index.d.ts +2 -0
- package/dist/node_modules/.store/dayjs@1.11.11/node_modules/dayjs/dayjs.min.mjs +292 -292
- package/dist/node_modules/.store/dayjs@1.11.11/node_modules/dayjs/locale/zh-cn.mjs +13 -13
- package/dist/node_modules/.store/lodash@4.17.21/node_modules/lodash/debounce.mjs +34 -37
- package/dist/style.css +1 -1
- package/dist/utils/time.mjs +1 -1
- package/package.json +1 -1
- package/dist/_virtual/dayjs.min2.mjs +0 -4
- package/dist/node_modules/.store/ahooks@3.8.0/node_modules/ahooks/es/useDebounceFn/index.mjs +0 -29
- package/dist/node_modules/.store/ahooks@3.8.0/node_modules/ahooks/es/utils/lodash-polyfill.mjs +0 -7
|
@@ -1,174 +1,181 @@
|
|
|
1
1
|
import { j as c } from "../../../../../node_modules/.store/react@18.3.1/node_modules/react/jsx-runtime.mjs";
|
|
2
|
-
import { css as
|
|
3
|
-
import { theme as
|
|
4
|
-
import { forwardRef as
|
|
5
|
-
import { useImmer as
|
|
2
|
+
import { css as we } from "../../../../../node_modules/.store/@emotion_css@11.11.2/node_modules/@emotion/css/dist/emotion-css.esm.mjs";
|
|
3
|
+
import { theme as Me, Flex as O, Typography as q, Space as je, Checkbox as Se, Button as se } from "antd";
|
|
4
|
+
import { forwardRef as Le, useRef as oe, useState as f, useEffect as T, useMemo as S, useContext as be, useImperativeHandle as Ke, memo as Re } from "react";
|
|
5
|
+
import { useImmer as ve } from "../../../../../node_modules/.store/use-immer@0.9.0/node_modules/use-immer/dist/use-immer.module.mjs";
|
|
6
6
|
import "../../../index.mjs";
|
|
7
|
-
import { columnSort as
|
|
8
|
-
import
|
|
9
|
-
import { BitzTableContext as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
const
|
|
14
|
-
({ display:
|
|
15
|
-
const { token:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
const e = T.current.querySelector(".sortContent"), s = e == null ? void 0 : e.clientHeight;
|
|
19
|
-
se(s + 40);
|
|
7
|
+
import { columnSort as Ne, genColumnKey as Ee, updateNestedObject as L, removePropertiesWithoutMutation as Te } from "../../../Store/utils/index.mjs";
|
|
8
|
+
import G from "./DndList.mjs";
|
|
9
|
+
import { BitzTableContext as He } from "../../../Store/index.mjs";
|
|
10
|
+
import Ie from "../../../../../node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/omit.mjs";
|
|
11
|
+
import Ae from "../../../../../node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs";
|
|
12
|
+
import ne from "../../../../../node_modules/.store/@ant-design_icons@5.3.7/node_modules/@ant-design/icons/es/icons/RedoOutlined.mjs";
|
|
13
|
+
const ze = Le(
|
|
14
|
+
({ display: y, height: B, postHeight: re }, ce) => {
|
|
15
|
+
const { token: le } = Me.useToken(), D = oe(null), J = oe(null), [W, ie] = f("auto"), Q = we`
|
|
16
|
+
&:hover {
|
|
17
|
+
color: ${le.colorPrimary} !important;
|
|
20
18
|
}
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
`;
|
|
20
|
+
T(() => {
|
|
21
|
+
D.current && re();
|
|
22
|
+
}, [D.current]), T(() => {
|
|
23
|
+
var e;
|
|
24
|
+
if (typeof B == "number") {
|
|
25
|
+
const s = (e = J.current) == null ? void 0 : e.clientHeight;
|
|
26
|
+
ie(B - s - 16 - 8);
|
|
27
|
+
}
|
|
28
|
+
}, [B]);
|
|
29
|
+
const ae = S(() => ({
|
|
23
30
|
// display: display ? 'flex' : 'none'
|
|
24
|
-
width:
|
|
25
|
-
pointerEvents:
|
|
26
|
-
opacity:
|
|
27
|
-
overflow: "hidden",
|
|
28
|
-
...
|
|
31
|
+
width: y ? "100%" : 0,
|
|
32
|
+
pointerEvents: y ? "auto" : "none",
|
|
33
|
+
opacity: y ? 1 : 0,
|
|
34
|
+
overflow: y ? "inherit" : "hidden",
|
|
35
|
+
...y ? {} : {
|
|
29
36
|
position: "absolute",
|
|
30
37
|
left: 0,
|
|
31
38
|
right: 0
|
|
32
39
|
}
|
|
33
|
-
}), [
|
|
34
|
-
|
|
35
|
-
const e = Object.keys(
|
|
36
|
-
|
|
40
|
+
}), [y]), { defaultColumnKeyMap: U, baseColumns: V, columnsMap: X } = be(He), [i, F] = ve({});
|
|
41
|
+
T(() => {
|
|
42
|
+
const e = Object.keys(X).length ? X : U;
|
|
43
|
+
F(e);
|
|
37
44
|
}, []);
|
|
38
|
-
const
|
|
39
|
-
var
|
|
40
|
-
const { key: o, dataIndex: r, children:
|
|
45
|
+
const Y = S(() => ((s, t) => s.map((n) => {
|
|
46
|
+
var te;
|
|
47
|
+
const { key: o, dataIndex: r, children: l, ...x } = n, C = Ee(
|
|
41
48
|
n,
|
|
42
|
-
[t == null ? void 0 : t.columnKey,
|
|
43
|
-
),
|
|
49
|
+
[t == null ? void 0 : t.columnKey, x.index].join("-")
|
|
50
|
+
), u = i[C || "null"] || {
|
|
44
51
|
show: !0
|
|
45
52
|
};
|
|
46
53
|
return {
|
|
47
54
|
key: C,
|
|
48
|
-
...
|
|
55
|
+
...Ie(x, ["className"]),
|
|
49
56
|
selectable: !1,
|
|
50
|
-
disabled:
|
|
51
|
-
disableCheckbox: typeof
|
|
57
|
+
disabled: u.disabled === !0,
|
|
58
|
+
disableCheckbox: typeof u.disabled == "boolean" ? u == null ? void 0 : u.disabled : (te = u == null ? void 0 : u.disabled) == null ? void 0 : te.checkbox,
|
|
52
59
|
isLeaf: t ? !0 : void 0,
|
|
53
|
-
...
|
|
60
|
+
...u
|
|
54
61
|
};
|
|
55
|
-
}))(
|
|
56
|
-
|
|
62
|
+
}))(V ?? []).sort(Ne(i)), [i, V]);
|
|
63
|
+
T(() => {
|
|
57
64
|
var n, o;
|
|
58
65
|
const e = {}, s = {}, t = {};
|
|
59
|
-
for (const r in
|
|
60
|
-
((n =
|
|
61
|
-
m(e), p(s),
|
|
62
|
-
}, [
|
|
63
|
-
const [b,
|
|
64
|
-
|
|
66
|
+
for (const r in i)
|
|
67
|
+
((n = i[r]) == null ? void 0 : n.fixed) === "left" ? e[r] = i[r] : ((o = i[r]) == null ? void 0 : o.fixed) === "right" ? s[r] = i[r] : t[r] = i[r];
|
|
68
|
+
m(e), p(s), g(t);
|
|
69
|
+
}, [i]);
|
|
70
|
+
const [b, H] = f([]), [k, K] = f([]), [a, m] = f({}), [R, I] = f([]), [w, v] = f([]), [h, p] = f({}), [N, A] = f([]), [M, E] = f([]), [d, g] = f({});
|
|
71
|
+
T(() => {
|
|
65
72
|
const e = [], s = [], t = [], n = [], o = [], r = [];
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}),
|
|
69
|
-
}, [
|
|
70
|
-
const
|
|
73
|
+
Y.forEach((l) => {
|
|
74
|
+
l.fixed === "left" ? (e.push(l), s.push(l.key)) : l.fixed === "right" ? (t.push(l), n.push(l.key)) : (o.push(l), r.push(l.key));
|
|
75
|
+
}), H(e), K(s), I(t), v(n), A(o), E(r);
|
|
76
|
+
}, [Y]);
|
|
77
|
+
const he = (e) => {
|
|
71
78
|
m(e);
|
|
72
|
-
},
|
|
79
|
+
}, de = (e, s) => {
|
|
73
80
|
m(e), K(s);
|
|
74
|
-
},
|
|
81
|
+
}, fe = (e) => {
|
|
75
82
|
p(e);
|
|
76
|
-
},
|
|
77
|
-
p(e),
|
|
78
|
-
},
|
|
79
|
-
|
|
80
|
-
},
|
|
81
|
-
|
|
82
|
-
},
|
|
83
|
+
}, ue = (e, s) => {
|
|
84
|
+
p(e), v(s);
|
|
85
|
+
}, me = (e) => {
|
|
86
|
+
g(e);
|
|
87
|
+
}, pe = (e, s) => {
|
|
88
|
+
g(e), E(s);
|
|
89
|
+
}, Z = (e, s, t, n) => {
|
|
83
90
|
const o = { ...s[e] };
|
|
84
|
-
delete s[e],
|
|
91
|
+
delete s[e], g({
|
|
85
92
|
...d,
|
|
86
93
|
[e]: { ...o, fixed: void 0, order: N.length }
|
|
87
94
|
});
|
|
88
|
-
const r = t.findIndex((C) => C.key === e),
|
|
89
|
-
|
|
90
|
-
const
|
|
91
|
-
return E([...M, ...
|
|
92
|
-
},
|
|
95
|
+
const r = t.findIndex((C) => C.key === e), l = t.splice(r, 1)[0];
|
|
96
|
+
A([...N, { ...l, fixed: void 0 }]);
|
|
97
|
+
const x = n.splice(r, 1);
|
|
98
|
+
return E([...M, ...x]), { map: s, list: t, keys: n };
|
|
99
|
+
}, _ = (e, s, t, n) => {
|
|
93
100
|
const o = { ...s[e] };
|
|
94
101
|
delete s[e], m({
|
|
95
102
|
...a,
|
|
96
103
|
[e]: { ...o, fixed: "left", order: b.length, show: !0 }
|
|
97
104
|
});
|
|
98
|
-
const r = t.findIndex((C) => C.key === e),
|
|
99
|
-
|
|
100
|
-
const
|
|
101
|
-
return K([...
|
|
102
|
-
},
|
|
105
|
+
const r = t.findIndex((C) => C.key === e), l = t.splice(r, 1)[0];
|
|
106
|
+
H([...b, { ...l, fixed: "left" }]);
|
|
107
|
+
const x = n.splice(r, 1);
|
|
108
|
+
return K([...k, ...x]), { map: s, list: t, keys: n };
|
|
109
|
+
}, ee = (e, s, t, n) => {
|
|
103
110
|
const o = { ...s[e] };
|
|
104
111
|
delete s[e], p({
|
|
105
112
|
...h,
|
|
106
113
|
[e]: {
|
|
107
114
|
...o,
|
|
108
115
|
fixed: "right",
|
|
109
|
-
order:
|
|
116
|
+
order: R.length,
|
|
110
117
|
show: !0
|
|
111
118
|
}
|
|
112
119
|
});
|
|
113
|
-
const r = t.findIndex((C) => C.key === e),
|
|
114
|
-
|
|
115
|
-
const
|
|
116
|
-
return
|
|
117
|
-
},
|
|
120
|
+
const r = t.findIndex((C) => C.key === e), l = t.splice(r, 1)[0];
|
|
121
|
+
I([...R, { ...l, fixed: "right" }]);
|
|
122
|
+
const x = n.splice(r, 1);
|
|
123
|
+
return v([...w, ...x]), { map: s, list: t, keys: n };
|
|
124
|
+
}, P = (e, s) => {
|
|
118
125
|
if (s === "left") {
|
|
119
|
-
const { map: t, list: n, keys: o } =
|
|
126
|
+
const { map: t, list: n, keys: o } = Z(
|
|
120
127
|
e,
|
|
121
128
|
a,
|
|
122
129
|
b,
|
|
123
|
-
|
|
130
|
+
k
|
|
124
131
|
);
|
|
125
|
-
m({ ...t }),
|
|
132
|
+
m({ ...t }), H([...n]), K([...o]);
|
|
126
133
|
} else if (s === "center") {
|
|
127
|
-
const { map: t, list: n, keys: o } =
|
|
134
|
+
const { map: t, list: n, keys: o } = _(
|
|
128
135
|
e,
|
|
129
136
|
d,
|
|
130
137
|
N,
|
|
131
138
|
M
|
|
132
139
|
);
|
|
133
|
-
|
|
140
|
+
g({ ...t }), A([...n]), E([...o]);
|
|
134
141
|
} else {
|
|
135
|
-
const { map: t, list: n, keys: o } =
|
|
142
|
+
const { map: t, list: n, keys: o } = _(
|
|
136
143
|
e,
|
|
137
144
|
h,
|
|
138
|
-
|
|
139
|
-
|
|
145
|
+
R,
|
|
146
|
+
w
|
|
140
147
|
);
|
|
141
|
-
p({ ...t }),
|
|
148
|
+
p({ ...t }), I([...n]), v([...o]);
|
|
142
149
|
}
|
|
143
|
-
},
|
|
150
|
+
}, $ = (e, s) => {
|
|
144
151
|
if (s === "left") {
|
|
145
|
-
const { map: t, list: n, keys: o } =
|
|
152
|
+
const { map: t, list: n, keys: o } = ee(
|
|
146
153
|
e,
|
|
147
154
|
a,
|
|
148
155
|
b,
|
|
149
|
-
|
|
156
|
+
k
|
|
150
157
|
);
|
|
151
|
-
m({ ...t }),
|
|
158
|
+
m({ ...t }), H([...n]), K([...o]);
|
|
152
159
|
} else if (s === "center") {
|
|
153
|
-
const { map: t, list: n, keys: o } =
|
|
160
|
+
const { map: t, list: n, keys: o } = ee(
|
|
154
161
|
e,
|
|
155
162
|
d,
|
|
156
163
|
N,
|
|
157
164
|
M
|
|
158
165
|
);
|
|
159
|
-
|
|
166
|
+
g({ ...t }), A([...n]), E([...o]);
|
|
160
167
|
} else {
|
|
161
|
-
const { map: t, list: n, keys: o } =
|
|
168
|
+
const { map: t, list: n, keys: o } = Z(
|
|
162
169
|
e,
|
|
163
170
|
h,
|
|
164
|
-
|
|
165
|
-
|
|
171
|
+
R,
|
|
172
|
+
w
|
|
166
173
|
);
|
|
167
|
-
p({ ...t }),
|
|
174
|
+
p({ ...t }), I([...n]), v([...o]);
|
|
168
175
|
}
|
|
169
|
-
},
|
|
170
|
-
e.checked ? (m(L(a, "show", !0)),
|
|
171
|
-
},
|
|
176
|
+
}, ge = ({ target: e }) => {
|
|
177
|
+
e.checked ? (m(L(a, "show", !0)), g(L(d, "show", !0)), p(L(h, "show", !0))) : (m(L(a, "show", !1)), g(L(d, "show", !1)), p(L(h, "show", !1)));
|
|
178
|
+
}, z = S(() => [...k, ...M, ...w], [k, M, w]), j = S(() => {
|
|
172
179
|
var s, t, n;
|
|
173
180
|
const e = [];
|
|
174
181
|
for (const o in a)
|
|
@@ -178,113 +185,152 @@ const Ee = ye(
|
|
|
178
185
|
for (const o in h)
|
|
179
186
|
(n = h[o]) != null && n.show && e.push(o);
|
|
180
187
|
return e;
|
|
181
|
-
}, [a, d, h]),
|
|
182
|
-
const e =
|
|
183
|
-
|
|
184
|
-
},
|
|
185
|
-
const e =
|
|
186
|
-
|
|
188
|
+
}, [a, d, h]), xe = S(() => z.length === j.length, [z, j]), Ce = S(() => j.length > 0 && j.length < z.length, [j, z]), ye = () => {
|
|
189
|
+
const e = Ae({ ...i }, U);
|
|
190
|
+
F(e);
|
|
191
|
+
}, ke = () => {
|
|
192
|
+
const e = Te(i, ["width"]);
|
|
193
|
+
F(e);
|
|
187
194
|
};
|
|
188
|
-
return
|
|
195
|
+
return Ke(ce, () => ({
|
|
189
196
|
getLeftSortColumns: () => a,
|
|
190
197
|
getCenterSortColumns: () => d,
|
|
191
198
|
getRightSortColumns: () => h,
|
|
192
199
|
getCheckedKeys: () => j
|
|
193
|
-
})), /* @__PURE__ */ c.jsxs(
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
200
|
+
})), /* @__PURE__ */ c.jsxs(
|
|
201
|
+
O,
|
|
202
|
+
{
|
|
203
|
+
vertical: !0,
|
|
204
|
+
gap: 8,
|
|
205
|
+
style: ae,
|
|
206
|
+
ref: D,
|
|
207
|
+
className: "columnsSortWrapper",
|
|
208
|
+
children: [
|
|
209
|
+
/* @__PURE__ */ c.jsxs("div", { className: "sortContent", children: [
|
|
210
|
+
/* @__PURE__ */ c.jsxs(
|
|
211
|
+
O,
|
|
212
|
+
{
|
|
213
|
+
vertical: !0,
|
|
214
|
+
className: "sortCard",
|
|
215
|
+
gap: 6,
|
|
216
|
+
style: { height: W },
|
|
217
|
+
children: [
|
|
218
|
+
/* @__PURE__ */ c.jsx(q.Title, { level: 5, className: "title", children: "固定在左侧" }),
|
|
219
|
+
/* @__PURE__ */ c.jsx(
|
|
220
|
+
G,
|
|
221
|
+
{
|
|
222
|
+
placement: "left",
|
|
223
|
+
dataList: b,
|
|
224
|
+
keys: k,
|
|
225
|
+
columnsMap: a,
|
|
226
|
+
onLeftClick: P,
|
|
227
|
+
onRightClick: $,
|
|
228
|
+
onChange: he,
|
|
229
|
+
onMoveEnd: de
|
|
230
|
+
}
|
|
231
|
+
)
|
|
232
|
+
]
|
|
233
|
+
}
|
|
234
|
+
),
|
|
235
|
+
/* @__PURE__ */ c.jsxs(
|
|
236
|
+
O,
|
|
237
|
+
{
|
|
238
|
+
vertical: !0,
|
|
239
|
+
className: "sortCard",
|
|
240
|
+
gap: 6,
|
|
241
|
+
style: { height: W },
|
|
242
|
+
children: [
|
|
243
|
+
/* @__PURE__ */ c.jsx(q.Title, { level: 5, className: "title", children: "不固定" }),
|
|
244
|
+
/* @__PURE__ */ c.jsx(
|
|
245
|
+
G,
|
|
246
|
+
{
|
|
247
|
+
placement: "center",
|
|
248
|
+
dataList: N,
|
|
249
|
+
keys: M,
|
|
250
|
+
columnsMap: d,
|
|
251
|
+
onLeftClick: P,
|
|
252
|
+
onRightClick: $,
|
|
253
|
+
onChange: me,
|
|
254
|
+
onMoveEnd: pe
|
|
255
|
+
}
|
|
256
|
+
)
|
|
257
|
+
]
|
|
258
|
+
}
|
|
259
|
+
),
|
|
260
|
+
/* @__PURE__ */ c.jsxs(
|
|
261
|
+
O,
|
|
262
|
+
{
|
|
263
|
+
vertical: !0,
|
|
264
|
+
className: "sortCard",
|
|
265
|
+
gap: 6,
|
|
266
|
+
style: { height: W },
|
|
267
|
+
children: [
|
|
268
|
+
/* @__PURE__ */ c.jsx(q.Title, { level: 5, className: "title", children: "固定在右侧" }),
|
|
269
|
+
/* @__PURE__ */ c.jsx(
|
|
270
|
+
G,
|
|
271
|
+
{
|
|
272
|
+
placement: "right",
|
|
273
|
+
dataList: R,
|
|
274
|
+
keys: w,
|
|
275
|
+
columnsMap: h,
|
|
276
|
+
onLeftClick: P,
|
|
277
|
+
onRightClick: $,
|
|
278
|
+
onChange: fe,
|
|
279
|
+
onMoveEnd: ue
|
|
280
|
+
}
|
|
281
|
+
)
|
|
282
|
+
]
|
|
283
|
+
}
|
|
284
|
+
)
|
|
285
|
+
] }),
|
|
286
|
+
/* @__PURE__ */ c.jsxs(
|
|
287
|
+
je,
|
|
231
288
|
{
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
289
|
+
size: 16,
|
|
290
|
+
align: "end",
|
|
291
|
+
ref: J,
|
|
292
|
+
className: "checkAllAndReset",
|
|
293
|
+
style: { paddingBottom: 8 },
|
|
294
|
+
children: [
|
|
295
|
+
/* @__PURE__ */ c.jsx(
|
|
296
|
+
Se,
|
|
297
|
+
{
|
|
298
|
+
indeterminate: Ce,
|
|
299
|
+
checked: xe,
|
|
300
|
+
onChange: ge,
|
|
301
|
+
children: /* @__PURE__ */ c.jsx("span", { style: { whiteSpace: "nowrap" }, children: "全选" })
|
|
302
|
+
}
|
|
303
|
+
),
|
|
304
|
+
/* @__PURE__ */ c.jsx(
|
|
305
|
+
se,
|
|
306
|
+
{
|
|
307
|
+
type: "link",
|
|
308
|
+
icon: /* @__PURE__ */ c.jsx(ne, {}),
|
|
309
|
+
size: "small",
|
|
310
|
+
onClick: ye,
|
|
311
|
+
className: Q,
|
|
312
|
+
children: /* @__PURE__ */ c.jsx("span", { style: { whiteSpace: "nowrap" }, children: "重置排序和显隐" })
|
|
313
|
+
}
|
|
314
|
+
),
|
|
315
|
+
/* @__PURE__ */ c.jsx(
|
|
316
|
+
se,
|
|
317
|
+
{
|
|
318
|
+
type: "link",
|
|
319
|
+
icon: /* @__PURE__ */ c.jsx(ne, {}),
|
|
320
|
+
size: "small",
|
|
321
|
+
onClick: ke,
|
|
322
|
+
className: Q,
|
|
323
|
+
children: /* @__PURE__ */ c.jsx("span", { style: { whiteSpace: "nowrap" }, children: "重置列宽" })
|
|
324
|
+
}
|
|
325
|
+
)
|
|
326
|
+
]
|
|
240
327
|
}
|
|
241
328
|
)
|
|
242
|
-
]
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
/* @__PURE__ */ c.jsx(
|
|
246
|
-
Ce,
|
|
247
|
-
{
|
|
248
|
-
indeterminate: ue,
|
|
249
|
-
checked: fe,
|
|
250
|
-
onChange: de,
|
|
251
|
-
children: "全选"
|
|
252
|
-
}
|
|
253
|
-
),
|
|
254
|
-
/* @__PURE__ */ c.jsx(
|
|
255
|
-
ee,
|
|
256
|
-
{
|
|
257
|
-
type: "link",
|
|
258
|
-
icon: /* @__PURE__ */ c.jsx(te, {}),
|
|
259
|
-
size: "small",
|
|
260
|
-
onClick: me,
|
|
261
|
-
className: _`
|
|
262
|
-
&:hover {
|
|
263
|
-
color: ${q.colorPrimary} !important;
|
|
264
|
-
}
|
|
265
|
-
`,
|
|
266
|
-
children: "重置列排序和显隐"
|
|
267
|
-
}
|
|
268
|
-
),
|
|
269
|
-
/* @__PURE__ */ c.jsx(
|
|
270
|
-
ee,
|
|
271
|
-
{
|
|
272
|
-
type: "link",
|
|
273
|
-
icon: /* @__PURE__ */ c.jsx(te, {}),
|
|
274
|
-
size: "small",
|
|
275
|
-
onClick: pe,
|
|
276
|
-
className: _`
|
|
277
|
-
&:hover {
|
|
278
|
-
color: ${q.colorPrimary} !important;
|
|
279
|
-
}
|
|
280
|
-
`,
|
|
281
|
-
children: "重置列宽度"
|
|
282
|
-
}
|
|
283
|
-
)
|
|
284
|
-
] })
|
|
285
|
-
] });
|
|
329
|
+
]
|
|
330
|
+
}
|
|
331
|
+
);
|
|
286
332
|
}
|
|
287
|
-
),
|
|
333
|
+
), Xe = Re(ze);
|
|
288
334
|
export {
|
|
289
|
-
|
|
335
|
+
Xe as default
|
|
290
336
|
};
|