bitz-react-admin-ui 2.1.3 → 2.1.5

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 (65) hide show
  1. package/dist/_virtual/dayjs.min.mjs +5 -2
  2. package/dist/_virtual/dayjs.min2.mjs +4 -0
  3. package/dist/_virtual/index.mjs +2 -2
  4. package/dist/_virtual/index2.mjs +2 -2
  5. package/dist/assets/iconfont/IconColumnCancelFixed.d.ts +7 -0
  6. package/dist/assets/iconfont/IconColumnCancelFixed.mjs +35 -0
  7. package/dist/assets/iconfont/IconColumnFixedLeft.d.ts +7 -0
  8. package/dist/assets/iconfont/IconColumnFixedLeft.mjs +35 -0
  9. package/dist/assets/iconfont/IconColumnFixedRight.d.ts +7 -0
  10. package/dist/assets/iconfont/IconColumnFixedRight.mjs +35 -0
  11. package/dist/assets/iconfont/IconDragOrder.d.ts +7 -0
  12. package/dist/assets/iconfont/IconDragOrder.mjs +35 -0
  13. package/dist/assets/iconfont/index.d.ts +5 -1
  14. package/dist/assets/iconfont/index.mjs +105 -89
  15. package/dist/components/BitzCalendar/index.mjs +1 -1
  16. package/dist/components/BitzDayJs/index.mjs +1 -1
  17. package/dist/components/BitzFluentInput/index.d.ts +2 -5
  18. package/dist/components/BitzFluentInput/index.mjs +4 -58
  19. package/dist/components/BitzFluentSelect/index.d.ts +4 -5
  20. package/dist/components/BitzFluentSelect/index.mjs +4 -58
  21. package/dist/components/BitzFluentTreeSelect/index.mjs +6 -0
  22. package/dist/components/BitzFuiCalendar/BitzFuiCalendarStore.mjs +1 -1
  23. package/dist/components/BitzFuiCalendar/CalendarAgendum.mjs +1 -1
  24. package/dist/components/BitzFuiCalendar/CalendarAgendumItem.mjs +1 -1
  25. package/dist/components/BitzFuiCalendar/CalendarHeadItem.mjs +1 -1
  26. package/dist/components/BitzFuiCalendar/CalendarToolbar.mjs +1 -1
  27. package/dist/components/BitzFuiCalendar/ColumnData.mjs +1 -1
  28. package/dist/components/BitzMeetingTime/BitzMeetingTimeItem.mjs +1 -1
  29. package/dist/components/BitzMeetingTime/index.mjs +1 -1
  30. package/dist/components/BitzTable/Select/index.d.ts +4 -0
  31. package/dist/components/BitzTable/Select/index.mjs +11 -0
  32. package/dist/components/BitzTable/Select/style.d.ts +4 -0
  33. package/dist/components/BitzTable/Select/style.mjs +66 -0
  34. package/dist/components/BitzTable/Store/index.d.ts +43 -9
  35. package/dist/components/BitzTable/Store/index.mjs +259 -146
  36. package/dist/components/BitzTable/Store/utils/index.mjs +26 -25
  37. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +73 -61
  38. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndItem.mjs +118 -61
  39. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.d.ts +4 -3
  40. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +48 -47
  41. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.d.ts +5 -1
  42. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.mjs +84 -15
  43. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +59 -50
  44. package/dist/components/BitzTable/ToolBar/ColConfigIcon/style.d.ts +1 -1
  45. package/dist/components/BitzTable/ToolBar/ColConfigIcon/style.mjs +47 -21
  46. package/dist/components/BitzTable/ToolBar/ExportIcon/AnyDataTotalLabel.d.ts +5 -0
  47. package/dist/components/BitzTable/ToolBar/ExportIcon/AnyDataTotalLabel.mjs +89 -0
  48. package/dist/components/BitzTable/ToolBar/ExportIcon/index.d.ts +1 -2
  49. package/dist/components/BitzTable/ToolBar/ExportIcon/index.mjs +46 -32
  50. package/dist/components/BitzTable/ToolBar/index.d.ts +5 -2
  51. package/dist/components/BitzTableSelect/SelectPopup/index.mjs +148 -123
  52. package/dist/components/BitzTableSelect/TextBlock/index.mjs +21 -18
  53. package/dist/index.d.ts +1 -0
  54. package/dist/index.mjs +94 -92
  55. package/dist/node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs +1 -1
  56. package/dist/node_modules/.store/dayjs@1.11.10/node_modules/dayjs/dayjs.min.mjs +292 -292
  57. package/dist/node_modules/.store/dayjs@1.11.10/node_modules/dayjs/locale/zh-cn.mjs +13 -13
  58. package/dist/node_modules/.store/prop-types@15.8.1/node_modules/prop-types/index.mjs +1 -1
  59. package/dist/style.css +1 -1
  60. package/dist/utils/WithFluent.d.ts +9 -0
  61. package/dist/utils/WithFluent.mjs +58 -0
  62. package/dist/utils/time.mjs +1 -1
  63. package/package.json +2 -1
  64. package/dist/node_modules/.store/@ant-design_icons-svg@4.4.2/node_modules/@ant-design/icons-svg/es/asn/PicRightOutlined.mjs +0 -5
  65. package/dist/node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/PicRightOutlined.mjs +0 -15
@@ -1,55 +1,67 @@
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);
2
+ import { create as $, useModal as ee, antdModalV5 as te } from "@ebay/nice-modal-react";
3
+ import { Modal as oe, Typography as re, Card as se, Segmented as ne, Flex as le, message as L } from "antd";
4
+ import { useState as x, useContext as D, useRef as S, useMemo as ie } from "react";
5
+ import { BitzTableContext as ae } from "../../Store/index.mjs";
6
+ import W from "../../../BitzButton/index.mjs";
7
+ import ce from "../../../BitzTheme/index.mjs";
8
+ import me from "../../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
9
+ import fe from "./StylesConfig/index.mjs";
10
+ import de from "./ColumnsSort/index.mjs";
11
+ import ue from "./ExportConfig/index.mjs";
12
+ import { styles as pe } from "./style.mjs";
13
+ import { BitzConfigContext as ge } from "../../../BitzConfigProvider/context.mjs";
14
+ import ye from "../../../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/CheckCircleOutlined.mjs";
15
+ import Ce from "../../../../node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/omit.mjs";
16
+ const Ve = $(
17
+ ({ title: q, onChange: r, getContainer: A }) => {
18
+ const { token: s } = ce.useToken(), n = ee(), [l, a] = x(1), [G, h] = x(!1);
19
+ x(!1);
20
20
  const {
21
- persistenceType: H,
22
- persistenceKey: g,
23
- onlineChange: a,
24
- setColumnsMap: L,
25
- setSortKeyColumns: E,
26
- stylesStorageType: D,
27
- stylesStorageKey: C,
21
+ persistenceType: I,
22
+ persistenceKey: j,
23
+ onlineChange: c,
24
+ setColumnsMap: J,
25
+ setSortKeyColumns: P,
26
+ stylesStorageType: Q,
27
+ stylesStorageKey: b,
28
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]);
29
+ onlineStylesConfigChange: f,
30
+ exportStorageType: U,
31
+ exportStorageKey: K,
32
+ setTableExportConfig: X,
33
+ onlineExportConfigChange: d
34
+ } = D(ae), o = D(ge).Table, t = S(null), T = S(null), u = S(null), Y = async () => {
35
+ var v, B, F, M, R, z, w, N, V, E, O, H;
36
+ const p = (v = t.current) == null ? void 0 : v.getCheckedKeys();
37
+ if (!(p != null && p.length)) {
38
+ a(2), L.error("表格至少需要显示一列");
39
+ return;
40
+ }
41
+ if (!((B = u.current) == null ? void 0 : B.hasOne())) {
42
+ a(3), L.error("导出设置至少需要一个字段");
43
+ return;
44
+ }
45
+ const g = (F = T.current) == null ? void 0 : F.getFormInstance(), y = await (g == null ? void 0 : g.getFieldsValue()), Z = Ce(y, "stylesScope"), C = {
46
+ ...(M = t.current) == null ? void 0 : M.getLeftSortColumns(),
47
+ ...(R = t.current) == null ? void 0 : R.getCenterSortColumns(),
48
+ ...(z = t.current) == null ? void 0 : z.getRightSortColumns()
49
+ }, _ = [
50
+ ...((w = t.current) == null ? void 0 : w.getLeftSortKeys()) ?? [],
51
+ ...((N = t.current) == null ? void 0 : N.getCenterSortKeys()) ?? [],
52
+ ...((V = t.current) == null ? void 0 : V.getRightSortKeys()) ?? []
53
+ ], k = ((E = u.current) == null ? void 0 : E.getExportConfig()) ?? [];
54
+ m == null || m(Z), (O = o == null ? void 0 : o.setStylesScope) == null || O.call(o, y.stylesScope ? "global" : "current"), J(C), P(_), X(k), Q === "online" && b && (f == null || f(b, y)), I === "online" && j && (c == null || c(j, C)), U === "online" && K && (d == null || d(K, k)), r ? (h(!0), (H = r == null ? void 0 : r(C)) == null || H.finally(() => {
55
+ h(!1), n.hide();
56
+ })) : n.hide();
57
+ }, i = ie(() => s.mode === "dark", [s.mode]);
46
58
  return /* @__PURE__ */ e.jsx(
47
- J,
59
+ oe,
48
60
  {
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),
61
+ className: me(pe(s), "tableConfigModal"),
62
+ title: /* @__PURE__ */ e.jsx(re.Title, { style: { fontSize: 16, margin: 0 }, children: q }),
63
+ getContainer: A,
64
+ ...te(n),
53
65
  style: {
54
66
  "--sortCard-bgColor": i ? "#444" : "#f2f2f2",
55
67
  "--sortCard-titleColor": i ? "#ccc" : "#777",
@@ -60,20 +72,20 @@ const be = A(
60
72
  width: 700,
61
73
  footer: /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
62
74
  /* @__PURE__ */ e.jsx(
63
- z,
75
+ W,
64
76
  {
65
77
  type: "primary",
66
- icon: /* @__PURE__ */ e.jsx(le, {}),
67
- onClick: O,
68
- loading: w,
78
+ icon: /* @__PURE__ */ e.jsx(ye, {}),
79
+ onClick: Y,
80
+ loading: G,
69
81
  children: "保存"
70
82
  }
71
83
  ),
72
- /* @__PURE__ */ e.jsx(z, { onClick: () => l.hide(), children: "取消" })
84
+ /* @__PURE__ */ e.jsx(W, { onClick: () => n.hide(), children: "取消" })
73
85
  ] }),
74
- children: /* @__PURE__ */ e.jsxs(Q, { className: "container", bordered: !1, children: [
86
+ children: /* @__PURE__ */ e.jsxs(se, { className: "container", bordered: !1, children: [
75
87
  /* @__PURE__ */ e.jsx("div", { className: "segmentedWrapper", children: /* @__PURE__ */ e.jsx(
76
- U,
88
+ ne,
77
89
  {
78
90
  size: "large",
79
91
  options: [
@@ -81,14 +93,14 @@ const be = A(
81
93
  { label: "列设置", value: 2 },
82
94
  { label: "导出设置", value: 3 }
83
95
  ],
84
- value: n,
85
- onChange: V
96
+ value: l,
97
+ onChange: a
86
98
  }
87
99
  ) }),
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 })
100
+ /* @__PURE__ */ e.jsxs(le, { className: "containerBody", children: [
101
+ /* @__PURE__ */ e.jsx(fe, { ref: T, display: l === 1 }),
102
+ /* @__PURE__ */ e.jsx(de, { ref: t, display: l === 2 }),
103
+ /* @__PURE__ */ e.jsx(ue, { ref: u, display: l === 3 })
92
104
  ] })
93
105
  ] })
94
106
  }
@@ -96,5 +108,5 @@ const be = A(
96
108
  }
97
109
  );
98
110
  export {
99
- be as default
111
+ Ve as default
100
112
  };
@@ -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;