bitz-react-admin-ui 2.6.1 → 2.6.2

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.
Files changed (27) hide show
  1. package/dist/components/BitzConfigProvider/context.d.ts +7 -1
  2. package/dist/components/BitzTable/ActionCol/index.mjs +73 -73
  3. package/dist/components/BitzTable/Store/index.d.ts +30 -0
  4. package/dist/components/BitzTable/Store/index.mjs +246 -217
  5. package/dist/components/BitzTable/Store/utils/index.d.ts +1 -1
  6. package/dist/components/BitzTable/Store/utils/index.mjs +12 -12
  7. package/dist/components/BitzTable/Table/index.d.ts +9 -1
  8. package/dist/components/BitzTable/Table/index.mjs +429 -398
  9. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +103 -95
  10. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.d.ts +2 -1
  11. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +243 -197
  12. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.mjs +141 -105
  13. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/ScopeSwitch.d.ts +8 -0
  14. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/ScopeSwitch.mjs +23 -0
  15. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +127 -74
  16. package/dist/components/BitzTable/ToolBar/ColConfigIcon/index.mjs +76 -25
  17. package/dist/components/BitzTable/ToolBar/ColConfigIcon/style.mjs +151 -96
  18. package/dist/components/BitzTable/ToolBar/ExportIcon/ExportModal.mjs +29 -27
  19. package/dist/components/BitzTable/ToolBar/Modal/index.mjs +19 -9
  20. package/dist/components/BitzTable/ToolBar/Modal/style.d.ts +4 -0
  21. package/dist/components/BitzTable/ToolBar/Modal/style.mjs +42 -14
  22. package/dist/components/BitzTable/index.d.ts +2 -0
  23. package/dist/node_modules/.store/lodash@4.17.21/node_modules/lodash/debounce.mjs +34 -37
  24. package/dist/style.css +1 -1
  25. package/package.json +1 -1
  26. package/dist/node_modules/.store/ahooks@3.8.0/node_modules/ahooks/es/useDebounceFn/index.mjs +0 -29
  27. 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 _ } from "../../../../../node_modules/.store/@emotion_css@11.11.2/node_modules/@emotion/css/dist/emotion-css.esm.mjs";
3
- import { theme as xe, Flex as D, Typography as H, Space as ge, Checkbox as Ce, Button as ee } from "antd";
4
- import { forwardRef as ye, useRef as ke, useEffect as P, useMemo as w, useContext as Me, useState as u, useImperativeHandle as je, memo as we } from "react";
5
- import { useImmer as Le } from "../../../../../node_modules/.store/use-immer@0.9.0/node_modules/use-immer/dist/use-immer.module.mjs";
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 Se, genColumnKey as be, updateNestedObject as L, removePropertiesWithoutMutation as Ke } from "../../../Store/utils/index.mjs";
8
- import W from "./DndList.mjs";
9
- import { BitzTableContext as ve } from "../../../Store/index.mjs";
10
- import te from "../../../../../node_modules/.store/@ant-design_icons@5.3.7/node_modules/@ant-design/icons/es/icons/RedoOutlined.mjs";
11
- import Re from "../../../../../node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/omit.mjs";
12
- import Ne from "../../../../../node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs";
13
- const Ee = ye(
14
- ({ display: S, postHeight: se }, oe) => {
15
- const { token: q } = xe.useToken(), T = ke(null);
16
- P(() => {
17
- if (T.current) {
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
- }, [T.current]);
22
- const ne = w(() => ({
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: S ? "100%" : 0,
25
- pointerEvents: S ? "auto" : "none",
26
- opacity: S ? 1 : 0,
27
- overflow: "hidden",
28
- ...S ? {} : {
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
- }), [S]), { defaultColumnKeyMap: G, baseColumns: J, columnsMap: Q } = Me(ve), [l, $] = Le({});
34
- P(() => {
35
- const e = Object.keys(Q).length ? Q : G;
36
- $(e);
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 U = w(() => ((s, t) => s.map((n) => {
39
- var Z;
40
- const { key: o, dataIndex: r, children: i, ...g } = n, C = be(
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, g.index].join("-")
43
- ), f = l[C || "null"] || {
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
- ...Re(g, ["className"]),
55
+ ...Ie(x, ["className"]),
49
56
  selectable: !1,
50
- disabled: f.disabled === !0,
51
- disableCheckbox: typeof f.disabled == "boolean" ? f == null ? void 0 : f.disabled : (Z = f == null ? void 0 : f.disabled) == null ? void 0 : Z.checkbox,
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
- ...f
60
+ ...u
54
61
  };
55
- }))(J ?? []).sort(Se(l)), [l, J]);
56
- P(() => {
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 l)
60
- ((n = l[r]) == null ? void 0 : n.fixed) === "left" ? e[r] = l[r] : ((o = l[r]) == null ? void 0 : o.fixed) === "right" ? s[r] = l[r] : t[r] = l[r];
61
- m(e), p(s), x(t);
62
- }, [l]);
63
- const [b, I] = u([]), [y, K] = u([]), [a, m] = u({}), [v, z] = u([]), [k, R] = u([]), [h, p] = u({}), [N, O] = u([]), [M, E] = u([]), [d, x] = u({});
64
- P(() => {
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
- U.forEach((i) => {
67
- i.fixed === "left" ? (e.push(i), s.push(i.key)) : i.fixed === "right" ? (t.push(i), n.push(i.key)) : (o.push(i), r.push(i.key));
68
- }), I(e), K(s), z(t), R(n), O(o), E(r);
69
- }, [U]);
70
- const re = (e) => {
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
- }, ce = (e, s) => {
79
+ }, de = (e, s) => {
73
80
  m(e), K(s);
74
- }, ie = (e) => {
81
+ }, fe = (e) => {
75
82
  p(e);
76
- }, le = (e, s) => {
77
- p(e), R(s);
78
- }, ae = (e) => {
79
- x(e);
80
- }, he = (e, s) => {
81
- x(e), E(s);
82
- }, V = (e, s, t, n) => {
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], x({
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), i = t.splice(r, 1)[0];
89
- O([...N, { ...i, fixed: void 0 }]);
90
- const g = n.splice(r, 1);
91
- return E([...M, ...g]), { map: s, list: t, keys: n };
92
- }, X = (e, s, t, n) => {
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), i = t.splice(r, 1)[0];
99
- I([...b, { ...i, fixed: "left" }]);
100
- const g = n.splice(r, 1);
101
- return K([...y, ...g]), { map: s, list: t, keys: n };
102
- }, Y = (e, s, t, n) => {
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: v.length,
116
+ order: R.length,
110
117
  show: !0
111
118
  }
112
119
  });
113
- const r = t.findIndex((C) => C.key === e), i = t.splice(r, 1)[0];
114
- z([...v, { ...i, fixed: "right" }]);
115
- const g = n.splice(r, 1);
116
- return R([...k, ...g]), { map: s, list: t, keys: n };
117
- }, B = (e, s) => {
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 } = V(
126
+ const { map: t, list: n, keys: o } = Z(
120
127
  e,
121
128
  a,
122
129
  b,
123
- y
130
+ k
124
131
  );
125
- m({ ...t }), I([...n]), K([...o]);
132
+ m({ ...t }), H([...n]), K([...o]);
126
133
  } else if (s === "center") {
127
- const { map: t, list: n, keys: o } = X(
134
+ const { map: t, list: n, keys: o } = _(
128
135
  e,
129
136
  d,
130
137
  N,
131
138
  M
132
139
  );
133
- x({ ...t }), O([...n]), E([...o]);
140
+ g({ ...t }), A([...n]), E([...o]);
134
141
  } else {
135
- const { map: t, list: n, keys: o } = X(
142
+ const { map: t, list: n, keys: o } = _(
136
143
  e,
137
144
  h,
138
- v,
139
- k
145
+ R,
146
+ w
140
147
  );
141
- p({ ...t }), z([...n]), R([...o]);
148
+ p({ ...t }), I([...n]), v([...o]);
142
149
  }
143
- }, F = (e, s) => {
150
+ }, $ = (e, s) => {
144
151
  if (s === "left") {
145
- const { map: t, list: n, keys: o } = Y(
152
+ const { map: t, list: n, keys: o } = ee(
146
153
  e,
147
154
  a,
148
155
  b,
149
- y
156
+ k
150
157
  );
151
- m({ ...t }), I([...n]), K([...o]);
158
+ m({ ...t }), H([...n]), K([...o]);
152
159
  } else if (s === "center") {
153
- const { map: t, list: n, keys: o } = Y(
160
+ const { map: t, list: n, keys: o } = ee(
154
161
  e,
155
162
  d,
156
163
  N,
157
164
  M
158
165
  );
159
- x({ ...t }), O([...n]), E([...o]);
166
+ g({ ...t }), A([...n]), E([...o]);
160
167
  } else {
161
- const { map: t, list: n, keys: o } = V(
168
+ const { map: t, list: n, keys: o } = Z(
162
169
  e,
163
170
  h,
164
- v,
165
- k
171
+ R,
172
+ w
166
173
  );
167
- p({ ...t }), z([...n]), R([...o]);
174
+ p({ ...t }), I([...n]), v([...o]);
168
175
  }
169
- }, de = ({ target: e }) => {
170
- e.checked ? (m(L(a, "show", !0)), x(L(d, "show", !0)), p(L(h, "show", !0))) : (m(L(a, "show", !1)), x(L(d, "show", !1)), p(L(h, "show", !1)));
171
- }, A = w(() => [...y, ...M, ...k], [y, M, k]), j = w(() => {
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]), fe = w(() => A.length === j.length, [A, j]), ue = w(() => j.length > 0 && j.length < A.length, [j, A]), me = () => {
182
- const e = Ne({ ...l }, G);
183
- $(e);
184
- }, pe = () => {
185
- const e = Ke(l, ["width"]);
186
- $(e);
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 je(oe, () => ({
195
+ return Ke(ce, () => ({
189
196
  getLeftSortColumns: () => a,
190
197
  getCenterSortColumns: () => d,
191
198
  getRightSortColumns: () => h,
192
199
  getCheckedKeys: () => j
193
- })), /* @__PURE__ */ c.jsxs(D, { vertical: !0, gap: 16, style: ne, ref: T, children: [
194
- /* @__PURE__ */ c.jsxs("div", { className: "sortContent", children: [
195
- /* @__PURE__ */ c.jsxs(D, { vertical: !0, className: "sortCard", gap: 6, children: [
196
- /* @__PURE__ */ c.jsx(H.Title, { level: 5, className: "title", children: "固定在左侧" }),
197
- /* @__PURE__ */ c.jsx(
198
- W,
199
- {
200
- placement: "left",
201
- dataList: b,
202
- keys: y,
203
- columnsMap: a,
204
- onLeftClick: B,
205
- onRightClick: F,
206
- onChange: re,
207
- onMoveEnd: ce
208
- }
209
- )
210
- ] }),
211
- /* @__PURE__ */ c.jsxs(D, { vertical: !0, className: "sortCard", gap: 6, children: [
212
- /* @__PURE__ */ c.jsx(H.Title, { level: 5, className: "title", children: "不固定" }),
213
- /* @__PURE__ */ c.jsx(
214
- W,
215
- {
216
- placement: "center",
217
- dataList: N,
218
- keys: M,
219
- columnsMap: d,
220
- onLeftClick: B,
221
- onRightClick: F,
222
- onChange: ae,
223
- onMoveEnd: he
224
- }
225
- )
226
- ] }),
227
- /* @__PURE__ */ c.jsxs(D, { vertical: !0, className: "sortCard", gap: 6, children: [
228
- /* @__PURE__ */ c.jsx(H.Title, { level: 5, className: "title", children: "固定在右侧" }),
229
- /* @__PURE__ */ c.jsx(
230
- W,
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
- placement: "right",
233
- dataList: v,
234
- keys: k,
235
- columnsMap: h,
236
- onLeftClick: B,
237
- onRightClick: F,
238
- onChange: ie,
239
- onMoveEnd: le
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
- /* @__PURE__ */ c.jsxs(ge, { size: 16, align: "end", children: [
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
- ), Ge = we(Ee);
333
+ ), Xe = Re(ze);
288
334
  export {
289
- Ge as default
335
+ Xe as default
290
336
  };