bitz-react-admin-ui 2.1.3 → 2.1.6

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 (48) hide show
  1. package/dist/assets/iconfont/IconColumnCancelFixed.d.ts +7 -0
  2. package/dist/assets/iconfont/IconColumnCancelFixed.mjs +35 -0
  3. package/dist/assets/iconfont/IconColumnFixedLeft.d.ts +7 -0
  4. package/dist/assets/iconfont/IconColumnFixedLeft.mjs +35 -0
  5. package/dist/assets/iconfont/IconColumnFixedRight.d.ts +7 -0
  6. package/dist/assets/iconfont/IconColumnFixedRight.mjs +35 -0
  7. package/dist/assets/iconfont/IconDragOrder.d.ts +7 -0
  8. package/dist/assets/iconfont/IconDragOrder.mjs +35 -0
  9. package/dist/assets/iconfont/index.d.ts +5 -1
  10. package/dist/assets/iconfont/index.mjs +105 -89
  11. package/dist/components/BitzFluentInput/index.d.ts +2 -5
  12. package/dist/components/BitzFluentInput/index.mjs +4 -58
  13. package/dist/components/BitzFluentSelect/index.d.ts +4 -5
  14. package/dist/components/BitzFluentSelect/index.mjs +4 -58
  15. package/dist/components/BitzFluentTreeSelect/index.mjs +6 -0
  16. package/dist/components/BitzTable/Dropdown/index.mjs +16 -15
  17. package/dist/components/BitzTable/Select/index.d.ts +4 -0
  18. package/dist/components/BitzTable/Select/index.mjs +11 -0
  19. package/dist/components/BitzTable/Select/style.d.ts +4 -0
  20. package/dist/components/BitzTable/Select/style.mjs +66 -0
  21. package/dist/components/BitzTable/Store/index.d.ts +52 -9
  22. package/dist/components/BitzTable/Store/index.mjs +276 -156
  23. package/dist/components/BitzTable/Store/utils/index.mjs +26 -25
  24. package/dist/components/BitzTable/Table/index.mjs +226 -229
  25. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +82 -67
  26. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndItem.mjs +118 -61
  27. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.d.ts +4 -3
  28. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +48 -47
  29. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.d.ts +5 -1
  30. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.mjs +84 -15
  31. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +59 -50
  32. package/dist/components/BitzTable/ToolBar/ColConfigIcon/style.d.ts +1 -1
  33. package/dist/components/BitzTable/ToolBar/ColConfigIcon/style.mjs +47 -21
  34. package/dist/components/BitzTable/ToolBar/ExportIcon/AnyDataTotalLabel.d.ts +11 -0
  35. package/dist/components/BitzTable/ToolBar/ExportIcon/AnyDataTotalLabel.mjs +97 -0
  36. package/dist/components/BitzTable/ToolBar/ExportIcon/index.d.ts +1 -6
  37. package/dist/components/BitzTable/ToolBar/ExportIcon/index.mjs +63 -32
  38. package/dist/components/BitzTable/ToolBar/index.d.ts +9 -3
  39. package/dist/components/BitzTableSelect/SelectPopup/index.mjs +148 -123
  40. package/dist/components/BitzTableSelect/TextBlock/index.mjs +21 -18
  41. package/dist/index.d.ts +1 -0
  42. package/dist/index.mjs +94 -92
  43. package/dist/style.css +1 -1
  44. package/dist/utils/WithFluent.d.ts +9 -0
  45. package/dist/utils/WithFluent.mjs +58 -0
  46. package/package.json +2 -1
  47. package/dist/node_modules/.store/@ant-design_icons-svg@4.4.2/node_modules/@ant-design/icons-svg/es/asn/PicRightOutlined.mjs +0 -5
  48. package/dist/node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/PicRightOutlined.mjs +0 -15
@@ -1,79 +1,94 @@
1
1
  import { j as e } from "../../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
2
- import { create as A, useModal as G, antdModalV5 as I } from "@ebay/nice-modal-react";
3
- import { Modal as J, Typography as P, Card as Q, Segmented as U, Flex as X } from "antd";
4
- import { useState as p, useContext as M, useRef as T, useMemo as Y } from "react";
5
- import { BitzTableContext as Z } from "../../Store/index.mjs";
6
- import z from "../../../BitzButton/index.mjs";
7
- import _ from "../../../BitzTheme/index.mjs";
8
- import $ from "../../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
9
- import ee from "./StylesConfig/index.mjs";
10
- import te from "./ColumnsSort/index.mjs";
11
- import oe from "./ExportConfig/index.mjs";
12
- import { styles as re } from "./style.mjs";
13
- import { BitzConfigContext as se } from "../../../BitzConfigProvider/context.mjs";
14
- import le from "../../../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/CheckCircleOutlined.mjs";
15
- import ne from "../../../../node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/omit.mjs";
16
- const be = A(
17
- ({ title: R, onChange: r, getContainer: N }) => {
18
- const { token: s } = _.useToken(), l = G(), [n, V] = p(1), [w, y] = p(!1);
19
- p(!1);
20
- const {
21
- persistenceType: H,
22
- persistenceKey: g,
23
- onlineChange: a,
24
- setColumnsMap: L,
25
- setSortKeyColumns: E,
26
- stylesStorageType: D,
27
- stylesStorageKey: C,
28
- setTableStylesConfig: m,
29
- onlineStylesConfigChange: c
30
- // clearPersistenceStorage,
31
- } = M(Z), o = M(se).Table, t = T(null), x = T(null), O = async () => {
32
- var S, j, h, b, k, v, B, F, K;
33
- const d = (S = x.current) == null ? void 0 : S.getFormInstance(), f = await (d == null ? void 0 : d.getFieldsValue()), W = ne(f, "stylesScope"), u = {
34
- ...(j = t.current) == null ? void 0 : j.getLeftSortColumns(),
35
- ...(h = t.current) == null ? void 0 : h.getCenterSortColumns(),
36
- ...(b = t.current) == null ? void 0 : b.getRightSortColumns()
37
- }, q = [
38
- ...(k = t.current) == null ? void 0 : k.getLeftSortKeys(),
39
- ...(v = t.current) == null ? void 0 : v.getCenterSortKeys(),
40
- ...(B = t.current) == null ? void 0 : B.getRightSortKeys()
41
- ];
42
- m == null || m(W), (F = o == null ? void 0 : o.setStylesScope) == null || F.call(o, f.stylesScope ? "global" : "current"), L(u), E(q), D === "online" && C && (c == null || c(C, f)), H === "online" && g && (a == null || a(g, u)), r ? (y(!0), (K = r == null ? void 0 : r(u)) == null || K.finally(() => {
43
- y(!1), l.hide();
44
- })) : l.hide();
45
- }, i = Y(() => s.mode === "dark", [s.mode]);
2
+ import { create as te, useModal as oe, antdModalV5 as re } from "@ebay/nice-modal-react";
3
+ import { Modal as se, Typography as ne, Card as le, Segmented as ie, Flex as ae, message as D } from "antd";
4
+ import { useState as c, useContext as W, useRef as h, useMemo as ce } from "react";
5
+ import { BitzTableContext as me } from "../../Store/index.mjs";
6
+ import q from "../../../BitzButton/index.mjs";
7
+ import fe from "../../../BitzTheme/index.mjs";
8
+ import de from "../../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
9
+ import ue from "./StylesConfig/index.mjs";
10
+ import pe from "./ColumnsSort/index.mjs";
11
+ import ge from "./ExportConfig/index.mjs";
12
+ import { styles as ye } from "./style.mjs";
13
+ import { BitzConfigContext as Ce } from "../../../BitzConfigProvider/context.mjs";
14
+ import xe from "../../../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/CheckCircleOutlined.mjs";
15
+ import Se from "../../../../node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/omit.mjs";
16
+ const Oe = te(
17
+ ({ title: A, onChange: r, getContainer: G }) => {
18
+ const { token: s } = fe.useToken(), n = oe(), [l, m] = c(1), [I, j] = c(!1);
19
+ c(!1);
20
+ const [J, i] = c(!1), {
21
+ persistenceType: P,
22
+ persistenceKey: b,
23
+ onlineChange: f,
24
+ setColumnsMap: Q,
25
+ setSortKeyColumns: U,
26
+ stylesStorageType: X,
27
+ stylesStorageKey: K,
28
+ setTableStylesConfig: d,
29
+ onlineStylesConfigChange: u,
30
+ exportStorageType: Y,
31
+ exportStorageKey: T,
32
+ setTableExportConfig: Z,
33
+ onlineExportConfigChange: p
34
+ } = W(me), o = W(Ce).Table, t = h(null), k = h(null), g = h(null), _ = async () => {
35
+ var B, F, M, R, z, w, N, V, E, O, H, L;
36
+ if (J)
37
+ return;
38
+ i(!0);
39
+ const y = (B = t.current) == null ? void 0 : B.getCheckedKeys();
40
+ if (!(y != null && y.length)) {
41
+ m(2), D.error("表格至少需要显示一列"), i(!1);
42
+ return;
43
+ }
44
+ if (!((F = g.current) == null ? void 0 : F.hasOne())) {
45
+ m(3), D.error("导出设置至少需要一个字段"), i(!1);
46
+ return;
47
+ }
48
+ const C = (M = k.current) == null ? void 0 : M.getFormInstance(), x = await (C == null ? void 0 : C.getFieldsValue()), $ = Se(x, "stylesScope"), S = {
49
+ ...(R = t.current) == null ? void 0 : R.getLeftSortColumns(),
50
+ ...(z = t.current) == null ? void 0 : z.getCenterSortColumns(),
51
+ ...(w = t.current) == null ? void 0 : w.getRightSortColumns()
52
+ }, ee = [
53
+ ...((N = t.current) == null ? void 0 : N.getLeftSortKeys()) ?? [],
54
+ ...((V = t.current) == null ? void 0 : V.getCenterSortKeys()) ?? [],
55
+ ...((E = t.current) == null ? void 0 : E.getRightSortKeys()) ?? []
56
+ ], v = ((O = g.current) == null ? void 0 : O.getExportConfig()) ?? [];
57
+ d == null || d($), (H = o == null ? void 0 : o.setStylesScope) == null || H.call(o, x.stylesScope ? "global" : "current"), Q(S), U(ee), Z(v), X === "online" && K && (u == null || u(K, x)), P === "online" && b && (f == null || f(b, S)), Y === "online" && T && (p == null || p(T, v)), i(!1), r ? (j(!0), (L = r == null ? void 0 : r(S)) == null || L.finally(() => {
58
+ j(!1), n.hide();
59
+ })) : n.hide();
60
+ }, a = ce(() => s.mode === "dark", [s.mode]);
46
61
  return /* @__PURE__ */ e.jsx(
47
- J,
62
+ se,
48
63
  {
49
- className: $(re(s), "tableConfigModal"),
50
- title: /* @__PURE__ */ e.jsx(P.Title, { style: { fontSize: 16, margin: 0 }, children: R }),
51
- getContainer: N,
52
- ...I(l),
64
+ className: de(ye(s), "tableConfigModal"),
65
+ title: /* @__PURE__ */ e.jsx(ne.Title, { style: { fontSize: 16, margin: 0 }, children: A }),
66
+ getContainer: G,
67
+ ...re(n),
53
68
  style: {
54
- "--sortCard-bgColor": i ? "#444" : "#f2f2f2",
55
- "--sortCard-titleColor": i ? "#ccc" : "#777",
56
- "--radioCard-bgColor": i ? "#444" : "#F2F2F2",
57
- "--radioCard-bgHoverColor": i ? "#333" : s.colorBgContainer
69
+ "--sortCard-bgColor": a ? "#444" : "#f2f2f2",
70
+ "--sortCard-titleColor": a ? "#ccc" : "#777",
71
+ "--radioCard-bgColor": a ? "#444" : "#F2F2F2",
72
+ "--radioCard-bgHoverColor": a ? "#333" : s.colorBgContainer
58
73
  },
59
74
  styles: { body: { maxHeight: window.innerHeight - 300 } },
60
75
  width: 700,
61
76
  footer: /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
62
77
  /* @__PURE__ */ e.jsx(
63
- z,
78
+ q,
64
79
  {
65
80
  type: "primary",
66
- icon: /* @__PURE__ */ e.jsx(le, {}),
67
- onClick: O,
68
- loading: w,
81
+ icon: /* @__PURE__ */ e.jsx(xe, {}),
82
+ onClick: _,
83
+ loading: I,
69
84
  children: "保存"
70
85
  }
71
86
  ),
72
- /* @__PURE__ */ e.jsx(z, { onClick: () => l.hide(), children: "取消" })
87
+ /* @__PURE__ */ e.jsx(q, { onClick: () => n.hide(), children: "取消" })
73
88
  ] }),
74
- children: /* @__PURE__ */ e.jsxs(Q, { className: "container", bordered: !1, children: [
89
+ children: /* @__PURE__ */ e.jsxs(le, { className: "container", bordered: !1, children: [
75
90
  /* @__PURE__ */ e.jsx("div", { className: "segmentedWrapper", children: /* @__PURE__ */ e.jsx(
76
- U,
91
+ ie,
77
92
  {
78
93
  size: "large",
79
94
  options: [
@@ -81,14 +96,14 @@ const be = A(
81
96
  { label: "列设置", value: 2 },
82
97
  { label: "导出设置", value: 3 }
83
98
  ],
84
- value: n,
85
- onChange: V
99
+ value: l,
100
+ onChange: m
86
101
  }
87
102
  ) }),
88
- /* @__PURE__ */ e.jsxs(X, { className: "containerBody", children: [
89
- /* @__PURE__ */ e.jsx(ee, { ref: x, display: n === 1 }),
90
- /* @__PURE__ */ e.jsx(te, { ref: t, display: n === 2 }),
91
- /* @__PURE__ */ e.jsx(oe, { display: n === 3 })
103
+ /* @__PURE__ */ e.jsxs(ae, { className: "containerBody", children: [
104
+ /* @__PURE__ */ e.jsx(ue, { ref: k, display: l === 1 }),
105
+ /* @__PURE__ */ e.jsx(pe, { ref: t, display: l === 2 }),
106
+ /* @__PURE__ */ e.jsx(ge, { ref: g, display: l === 3 })
92
107
  ] })
93
108
  ] })
94
109
  }
@@ -96,5 +111,5 @@ const be = A(
96
111
  }
97
112
  );
98
113
  export {
99
- be as default
114
+ Oe as default
100
115
  };
@@ -1,94 +1,151 @@
1
- import { j as s } from "../../../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
2
- import E, { useState as O, useMemo as R } from "react";
3
- import { useSortable as v } from "../../../../../node_modules/.store/@dnd-kit_sortable@7.0.2/node_modules/@dnd-kit/sortable/dist/sortable.esm.mjs";
4
- import { CSS as w } from "../../../../../node_modules/.store/@dnd-kit_utilities@3.2.2/node_modules/@dnd-kit/utilities/dist/utilities.esm.mjs";
5
- import { Flex as f, Checkbox as D, Tooltip as M } from "antd";
6
- import h from "../../../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
7
- import i from "../../../../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/PicRightOutlined.mjs";
8
- const g = ({ icon: o, className: r, open: e, title: n, onClick: t }) => /* @__PURE__ */ s.jsx(
9
- M,
1
+ import { j as o } from "../../../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
2
+ import D, { useState as E, useMemo as F } from "react";
3
+ import { useSortable as R } from "../../../../../node_modules/.store/@dnd-kit_sortable@7.0.2/node_modules/@dnd-kit/sortable/dist/sortable.esm.mjs";
4
+ import { CSS as b } from "../../../../../node_modules/.store/@dnd-kit_utilities@3.2.2/node_modules/@dnd-kit/utilities/dist/utilities.esm.mjs";
5
+ import { Flex as p, Checkbox as v, Tooltip as w } from "antd";
6
+ import M from "../../../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
7
+ import O from "../../../../../assets/iconfont/IconDragOrder.mjs";
8
+ import g from "../../../../../assets/iconfont/IconColumnFixedLeft.mjs";
9
+ import h from "../../../../../assets/iconfont/IconColumnFixedRight.mjs";
10
+ import x from "../../../../../assets/iconfont/IconColumnCancelFixed.mjs";
11
+ import "../../../../../assets/iconfont/IconMore.mjs";
12
+ import "../../../../../assets/iconfont/IconIcFluentHomeRegular.mjs";
13
+ import "../../../../../assets/iconfont/IconKuansongde.mjs";
14
+ import "../../../../../assets/iconfont/IconTekuansong.mjs";
15
+ import "../../../../../assets/iconfont/IconJincoude.mjs";
16
+ import "../../../../../assets/iconfont/IconZhongdengde.mjs";
17
+ import "../../../../../assets/iconfont/IconTejincou.mjs";
18
+ import "../../../../../assets/iconfont/IconWufengexian.mjs";
19
+ import "../../../../../assets/iconfont/IconHangliefengexian.mjs";
20
+ import "../../../../../assets/iconfont/IconHangfengexian.mjs";
21
+ import "../../../../../assets/iconfont/IconLiefengexian.mjs";
22
+ import "../../../../../assets/iconfont/IconYoubanmawentianchong.mjs";
23
+ import "../../../../../assets/iconfont/IconWubanmawentianchong.mjs";
24
+ import "../../../../../assets/iconfont/IconZhongzhi.mjs";
25
+ import "../../../../../assets/iconfont/IconGaojisousuo.mjs";
26
+ import "../../../../../assets/iconfont/IconSousuo.mjs";
27
+ import "../../../../../assets/iconfont/IconClose.mjs";
28
+ import "../../../../../assets/iconfont/IconFanhui.mjs";
29
+ import "../../../../../assets/iconfont/IconJinggao.mjs";
30
+ import "../../../../../assets/iconfont/IconIcon21.mjs";
31
+ import "../../../../../assets/iconfont/IconChenggong.mjs";
32
+ import "../../../../../assets/iconfont/IconTishi1.mjs";
33
+ import "../../../../../assets/iconfont/IconDuigoux.mjs";
34
+ import "../../../../../assets/iconfont/IconCuowu.mjs";
35
+ import "../../../../../assets/iconfont/IconXinxitishi.mjs";
36
+ import "../../../../../assets/iconfont/IconFabu.mjs";
37
+ import "../../../../../assets/iconfont/IconShanchu1.mjs";
38
+ import "../../../../../assets/iconfont/IconShanchu.mjs";
39
+ import "../../../../../assets/iconfont/IconTuodong.mjs";
40
+ const d = ({ icon: t, className: r, open: e, title: i, onClick: n }) => /* @__PURE__ */ o.jsx(
41
+ w,
10
42
  {
11
- getTooltipContainer: (l) => l.parentElement,
12
- title: n,
43
+ getTooltipContainer: (s) => s.parentElement,
44
+ title: i,
13
45
  open: e ? !1 : void 0,
14
- children: /* @__PURE__ */ s.jsx(o, { className: r, onClick: t })
46
+ children: /* @__PURE__ */ o.jsx(t, { className: r, onClick: n })
15
47
  }
16
48
  ), T = ({
17
- item: o,
49
+ item: t,
18
50
  placement: r,
19
51
  onLeftClick: e,
20
- onRightClick: n,
21
- onCheckboxChange: t
52
+ onRightClick: i,
53
+ onCheckboxChange: n
22
54
  }) => {
23
55
  const {
24
- attributes: l,
25
- isDragging: a,
56
+ attributes: s,
57
+ isDragging: m,
26
58
  setNodeRef: u,
27
- listeners: x,
28
- transform: p,
29
- transition: j
30
- } = v({
31
- id: o == null ? void 0 : o.key
59
+ listeners: j,
60
+ transform: C,
61
+ transition: I
62
+ } = R({
63
+ id: t == null ? void 0 : t.key
32
64
  // disabled: item?.disabled,
33
65
  }), k = {
34
- transition: j,
35
- transform: w.Transform.toString(p)
36
- }, C = h({
37
- disabledCheckbox: (o == null ? void 0 : o.disabled) || (o == null ? void 0 : o.fixed)
38
- }), b = ({ target: c }) => {
39
- o != null && o.disabled || o != null && o.fixed || t(o.key, c.checked);
40
- }, [N, y] = O(!1), d = (c) => {
41
- y(c);
42
- }, { left: S, right: I } = R(() => r === "left" ? { left: "取消固定", right: "固定在右侧" } : r === "center" ? { left: "固定在左侧", right: "固定在右侧" } : { left: "固定在左侧", right: "取消固定" }, [r]);
43
- return /* @__PURE__ */ s.jsxs(
44
- f,
66
+ transition: I,
67
+ transform: b.Transform.toString(C)
68
+ }, y = ({ target: l }) => {
69
+ n(t.key, l.checked);
70
+ }, [N, S] = E(!1), c = (l) => {
71
+ S(l);
72
+ }, { text: a, icon: f } = F(() => r === "left" ? {
73
+ text: {
74
+ left: "取消固定",
75
+ right: "固定在右侧"
76
+ },
77
+ icon: {
78
+ left: x,
79
+ right: h
80
+ }
81
+ } : r === "center" ? {
82
+ text: {
83
+ left: "固定在左侧",
84
+ right: "固定在右侧"
85
+ },
86
+ icon: {
87
+ left: g,
88
+ right: h
89
+ }
90
+ } : {
91
+ text: {
92
+ left: "固定在左侧",
93
+ right: "取消固定"
94
+ },
95
+ icon: {
96
+ left: g,
97
+ right: x
98
+ }
99
+ }, [r]);
100
+ return /* @__PURE__ */ o.jsxs(
101
+ p,
45
102
  {
46
103
  align: "center",
47
- className: h({ draggingSortItem: a }, "sortItem"),
104
+ className: M({ draggingSortItem: m }, "sortItem"),
48
105
  style: k,
49
106
  ref: u,
50
- onMouseEnter: () => d(!0),
51
- onMouseLeave: () => d(!1),
52
- ...l,
107
+ onMouseEnter: () => c(!0),
108
+ onMouseLeave: () => c(!1),
109
+ ...s,
53
110
  children: [
54
- /* @__PURE__ */ s.jsx(f, { align: "center", className: "dragIcon", ...x, children: /* @__PURE__ */ s.jsx(i, {}) }),
55
- /* @__PURE__ */ s.jsx(
56
- D,
111
+ /* @__PURE__ */ o.jsx(p, { align: "center", className: "dragIcon", ...j, children: /* @__PURE__ */ o.jsx(O, {}) }),
112
+ /* @__PURE__ */ o.jsx(
113
+ v,
57
114
  {
58
- checked: o.show,
59
- className: C,
60
- onChange: b,
61
- title: o.title,
62
- children: o.title
115
+ checked: t.show,
116
+ onChange: y,
117
+ title: t.title,
118
+ children: t.title
63
119
  }
64
120
  ),
65
- !(o != null && o.isOperationCol) && /* @__PURE__ */ s.jsxs(
66
- f,
121
+ /* @__PURE__ */ o.jsxs(
122
+ p,
67
123
  {
68
124
  style: {
69
125
  height: "100%",
70
126
  display: N ? "flex" : "none"
71
127
  },
128
+ align: "center",
72
129
  className: "operation pointerCursor",
73
130
  children: [
74
- /* @__PURE__ */ s.jsx(
75
- g,
131
+ /* @__PURE__ */ o.jsx(
132
+ d,
76
133
  {
77
134
  className: "leftOperation",
78
- title: S,
79
- open: a,
80
- icon: i,
81
- onClick: () => e(o.key, r)
135
+ title: a.left,
136
+ open: m,
137
+ icon: f.left,
138
+ onClick: () => e(t.key, r)
82
139
  }
83
140
  ),
84
- /* @__PURE__ */ s.jsx(
85
- g,
141
+ /* @__PURE__ */ o.jsx(
142
+ d,
86
143
  {
87
144
  className: "rightOperation",
88
- title: I,
89
- open: a,
90
- icon: i,
91
- onClick: () => n(o.key, r)
145
+ title: a.right,
146
+ open: m,
147
+ icon: f.right,
148
+ onClick: () => i(t.key, r)
92
149
  }
93
150
  )
94
151
  ]
@@ -97,7 +154,7 @@ const g = ({ icon: o, className: r, open: e, title: n, onClick: t }) => /* @__PU
97
154
  ]
98
155
  }
99
156
  );
100
- }, A = E.memo(T);
157
+ }, It = D.memo(T);
101
158
  export {
102
- A as default
159
+ It as default
103
160
  };
@@ -4,11 +4,12 @@ interface ColumnsSortProps {
4
4
  }
5
5
  export interface ColumnsSortImperativeProps {
6
6
  getLeftSortColumns: () => any;
7
- getLeftSortKeys: () => any;
7
+ getLeftSortKeys: () => any[];
8
8
  getCenterSortColumns: () => any;
9
- getCenterSortKeys: () => any;
9
+ getCenterSortKeys: () => any[];
10
10
  getRightSortColumns: () => any;
11
- getRightSortKeys: () => any;
11
+ getRightSortKeys: () => any[];
12
+ getCheckedKeys: () => any[];
12
13
  }
13
14
  declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<ColumnsSortProps & import("react").RefAttributes<ColumnsSortImperativeProps>>>;
14
15
  export default _default;