bitz-react-admin-ui 2.3.0 → 2.3.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 (75) hide show
  1. package/dist/_virtual/_commonjsHelpers.mjs +4 -26
  2. package/dist/_virtual/dayjs.min.mjs +2 -5
  3. package/dist/_virtual/index.mjs +2 -2
  4. package/dist/_virtual/index2.mjs +2 -2
  5. package/dist/components/BitzCalendar/index.mjs +1 -1
  6. package/dist/components/BitzConfigProvider/context.d.ts +1 -0
  7. package/dist/components/BitzConfigProvider/context.mjs +4 -3
  8. package/dist/components/BitzDayJs/index.mjs +1 -1
  9. package/dist/components/BitzFuiCalendar/BitzFuiCalendarStore.mjs +1 -1
  10. package/dist/components/BitzFuiCalendar/CalendarAgendum.mjs +1 -1
  11. package/dist/components/BitzFuiCalendar/CalendarAgendumItem.mjs +1 -1
  12. package/dist/components/BitzFuiCalendar/CalendarBody.mjs +1 -1
  13. package/dist/components/BitzFuiCalendar/CalendarHead.mjs +1 -1
  14. package/dist/components/BitzFuiCalendar/CalendarHeadItem.mjs +1 -1
  15. package/dist/components/BitzFuiCalendar/CalendarToolbar.mjs +1 -1
  16. package/dist/components/BitzFuiCalendar/ColumnData.mjs +1 -1
  17. package/dist/components/BitzHighlight/style.mjs +12 -12
  18. package/dist/components/BitzMeetingTime/BitzMeetingTimeItem.mjs +1 -1
  19. package/dist/components/BitzMeetingTime/index.mjs +1 -1
  20. package/dist/components/BitzTable/ActionBar/style.mjs +21 -21
  21. package/dist/components/BitzTable/ActionCol/index.mjs +59 -58
  22. package/dist/components/BitzTable/ActionCol/style.d.ts +1 -1
  23. package/dist/components/BitzTable/ActionCol/style.mjs +28 -28
  24. package/dist/components/BitzTable/Dropdown/style.mjs +25 -25
  25. package/dist/components/BitzTable/SelectionBar/style.mjs +24 -24
  26. package/dist/components/BitzTable/Store/index.mjs +37 -37
  27. package/dist/components/BitzTable/SubTable/index.mjs +94 -94
  28. package/dist/components/BitzTable/Table/index.mjs +306 -306
  29. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndItem.mjs +51 -47
  30. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +61 -60
  31. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndItem.mjs +46 -38
  32. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.mjs +44 -44
  33. package/dist/components/BitzTable/ToolBar/style.mjs +21 -21
  34. package/dist/components/BitzTableSelect/SelectPopup/getData.mjs +14 -15
  35. package/dist/components/BitzTableSelect/SelectPopup/index.mjs +14 -15
  36. package/dist/components/BitzTableSelect/TableCell/index.mjs +34 -33
  37. package/dist/components/BitzTableSelect/TextBlock/index.mjs +20 -18
  38. package/dist/node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs +1 -1
  39. package/dist/node_modules/.store/dayjs@1.11.10/node_modules/dayjs/dayjs.min.mjs +292 -292
  40. package/dist/node_modules/.store/dayjs@1.11.10/node_modules/dayjs/locale/zh-cn.mjs +13 -13
  41. package/dist/node_modules/.store/prop-types@15.8.1/node_modules/prop-types/index.mjs +8 -9
  42. package/dist/node_modules/.store/use-sync-external-store@1.2.0/node_modules/use-sync-external-store/shim/index.mjs +1 -1
  43. package/dist/style.css +1 -1
  44. package/dist/utils/time.mjs +1 -1
  45. package/package.json +1 -1
  46. package/dist/_virtual/Draggable.mjs +0 -4
  47. package/dist/_virtual/DraggableCore.mjs +0 -4
  48. package/dist/_virtual/Resizable.mjs +0 -4
  49. package/dist/_virtual/ResizableBox.mjs +0 -4
  50. package/dist/_virtual/cjs.mjs +0 -4
  51. package/dist/_virtual/clsx.m.mjs +0 -6
  52. package/dist/_virtual/dayjs.min2.mjs +0 -4
  53. package/dist/_virtual/domFns.mjs +0 -4
  54. package/dist/_virtual/getPrefix.mjs +0 -4
  55. package/dist/_virtual/index6.mjs +0 -4
  56. package/dist/_virtual/log.mjs +0 -4
  57. package/dist/_virtual/positionFns.mjs +0 -4
  58. package/dist/_virtual/propTypes.mjs +0 -4
  59. package/dist/_virtual/shims.mjs +0 -4
  60. package/dist/_virtual/utils.mjs +0 -4
  61. package/dist/components/BitzTable/Table/ResizableTitle.mjs +0 -32
  62. package/dist/node_modules/.store/clsx@1.2.1/node_modules/clsx/dist/clsx.m.mjs +0 -22
  63. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/Draggable.mjs +0 -343
  64. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/DraggableCore.mjs +0 -324
  65. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/cjs.mjs +0 -14
  66. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/domFns.mjs +0 -174
  67. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/getPrefix.mjs +0 -35
  68. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/log.mjs +0 -7
  69. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/positionFns.mjs +0 -107
  70. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/shims.mjs +0 -30
  71. package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/build/Resizable.mjs +0 -201
  72. package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/build/ResizableBox.mjs +0 -162
  73. package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/build/propTypes.mjs +0 -118
  74. package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/build/utils.mjs +0 -54
  75. package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/index.mjs +0 -13
@@ -1,219 +1,210 @@
1
- import { j as s } from "../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
2
- import { useContext as Se, useRef as q, useState as S, useEffect as Me, useMemo as l, useCallback as oe } from "react";
3
- import { isMobile as D } from "../../../node_modules/.store/react-device-detect@2.2.3/node_modules/react-device-detect/dist/lib.mjs";
4
- import { Skeleton as wt, Typography as Le, Table as zt } from "antd";
5
- import F from "../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
1
+ import { j as o } from "../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
2
+ import { useContext as Ne, useRef as V, useState as k, useEffect as ke, useMemo as c, useCallback as K } from "react";
3
+ import { isMobile as O } from "../../../node_modules/.store/react-device-detect@2.2.3/node_modules/react-device-detect/dist/lib.mjs";
4
+ import { Skeleton as gt, Typography as Se, Table as wt } from "antd";
5
+ import oe from "../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
6
6
  import Bt from "../../BitzDrawer/index.mjs";
7
7
  import jt from "../../BitzPagination/index.mjs";
8
- import Wt from "../../BitzNoData/index.mjs";
8
+ import zt from "../../BitzNoData/index.mjs";
9
9
  import "../../BitzList/index.less.mjs";
10
- import Tt from "../../BitzList/List.mjs";
10
+ import pt from "../../BitzList/List.mjs";
11
11
  import "../../BitzPullRefresh/style/index.less.mjs";
12
- import pt from "../../BitzPullRefresh/PullRefresh.mjs";
13
- import Nt, { BitzTableContext as kt, toolCols as St } from "../Store/index.mjs";
14
- import { loopFilter as Mt, columnSort as Lt } from "../Store/utils/index.mjs";
15
- import se from "../../../node_modules/.store/ahooks@3.7.11/node_modules/ahooks/es/useSize/index.mjs";
16
- import Ht from "../ActionCol/style.mjs";
17
- import Rt from "../../BitzTheme/index.mjs";
18
- import He from "../../BitzHighlight/index.mjs";
12
+ import Wt from "../../BitzPullRefresh/PullRefresh.mjs";
13
+ import Tt, { BitzTableContext as Nt, toolCols as kt } from "../Store/index.mjs";
14
+ import { loopFilter as St, columnSort as Mt } from "../Store/utils/index.mjs";
15
+ import ne from "../../../node_modules/.store/ahooks@3.7.11/node_modules/ahooks/es/useSize/index.mjs";
16
+ import Lt from "../../BitzTheme/index.mjs";
17
+ import { tablePaddingInline as Pt } from "../../BitzConfigProvider/context.mjs";
18
+ import Me from "../../BitzHighlight/index.mjs";
19
19
  import vt from "../../../node_modules/.store/antd@5.16.2/node_modules/antd/es/table/ExpandIcon.mjs";
20
20
  import "../../../node_modules/.store/antd@5.16.2/node_modules/antd/es/config-provider/index.mjs";
21
- import Pt from "../../../node_modules/.store/antd@5.16.2/node_modules/antd/locale/en_US.mjs";
22
- import { getColumnsWithTool as $t, loopBuildSkeleton as Ot } from "./utils.mjs";
23
- import { getCssVar as Vt } from "./style.mjs";
24
- import Kt from "./SortableRow.mjs";
25
- import qt from "./SortTableContext.mjs";
26
- import Dt from "./ResizableTitle.mjs";
21
+ import Rt from "../../../node_modules/.store/antd@5.16.2/node_modules/antd/locale/en_US.mjs";
22
+ import { getColumnsWithTool as Ht, loopBuildSkeleton as $t } from "./utils.mjs";
23
+ import { getCssVar as Ft } from "./style.mjs";
24
+ import Vt from "./SortableRow.mjs";
25
+ import Kt from "./SortTableContext.mjs";
27
26
  import "./index.less.mjs";
28
- import { ConfigContext as Ft } from "../../../node_modules/.store/antd@5.16.2/node_modules/antd/es/config-provider/context.mjs";
29
- import _t from "../../../node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/at.mjs";
30
- function Gt({
31
- showPagination: R = !0,
32
- height: v,
33
- dataSource: m,
27
+ import { ConfigContext as Ot } from "../../../node_modules/.store/antd@5.16.2/node_modules/antd/es/config-provider/context.mjs";
28
+ import qt from "../../../node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/at.mjs";
29
+ function Dt({
30
+ showPagination: v = !0,
31
+ height: R,
32
+ dataSource: b,
34
33
  total: j = 0,
35
- columns: P,
36
- loading: i,
37
- skeletonNum: _ = {
34
+ columns: q,
35
+ loading: l,
36
+ skeletonNum: D = {
38
37
  pc: 10,
39
38
  mobile: 10
40
39
  },
41
- skeletonRender: ne,
42
- skeletonRowNum: Re = 4,
43
- skeletonRowsWidth: ve = ["35%", "100%", "100%", "60%"],
40
+ skeletonRender: se,
41
+ skeletonRowNum: Le = 4,
42
+ skeletonRowsWidth: Pe = ["35%", "100%", "100%", "60%"],
44
43
  // mobileLoadEmit,
45
44
  mobileRefreshEmit: ie,
46
- operationFilter: G,
47
- enableControlPage: Pe,
45
+ operationFilter: _,
46
+ enableControlPage: ve,
48
47
  pagination: y,
49
- paginationEmit: O = () => {
48
+ paginationEmit: $ = () => {
50
49
  },
51
- enabledRowDragSort: M,
52
- onRowDragEnd: E,
53
- mobilePageHeight: Et = 500,
54
- mobileCancelText: $e = "取消",
55
- noDataTitle: Oe,
56
- noDataImg: Ve,
57
- color: Jt,
50
+ enabledRowDragSort: S,
51
+ onRowDragEnd: G,
52
+ mobilePageHeight: _t = 500,
53
+ mobileCancelText: Re = "取消",
54
+ noDataTitle: He,
55
+ noDataImg: $e,
56
+ color: Gt,
58
57
  size: le,
59
- showTableTool: Ke = !0,
60
- tableAction: qe,
61
- tableToolbar: De,
62
- selectionBar: Fe,
63
- scroll: c,
64
- components: W,
65
- expandable: x,
66
- rowSelection: p,
67
- selectionAlert: d,
68
- resetPage: _e,
69
- ...u
58
+ showTableTool: Fe = !0,
59
+ tableAction: Ve,
60
+ tableToolbar: Ke,
61
+ selectionBar: Oe,
62
+ scroll: i,
63
+ components: z,
64
+ expandable: g,
65
+ rowSelection: T,
66
+ selectionAlert: u,
67
+ resetPage: qe,
68
+ ...f
70
69
  }) {
71
- var Ne;
72
- const { token: g } = Rt.useToken(), { Table: a } = g, { tableSpaceBetweenPage: ce = 10 } = a, { gap: Ge } = Ht(), { showColumnBorder: Ee, hideRowBorder: ae, rowHoverable: Je, ...h } = Se(kt), b = q(void 0), [J, Qe] = S(0), [Q, Ue] = S(0), [U, Xe] = S(0), [Ye, X] = S(!1), [C, Ze] = S([]);
73
- Me(() => {
74
- let e = [...m ?? []];
75
- (y == null ? void 0 : y.page) !== 1 && (e = [...C, ...e]), Ze(e);
76
- }, [m]);
77
- const Ie = l(() => !!(C != null && C.length) && (C == null ? void 0 : C.length) >= j, [C, j]), [Ae, et] = S([]), tt = (e, t) => {
78
- var o;
79
- const r = (o = G == null ? void 0 : G(e, t)) == null ? void 0 : o.filter(
70
+ var We;
71
+ const { token: w } = Lt.useToken(), { Table: h } = w, {
72
+ tableSpaceBetweenPage: ae = 10,
73
+ cellPaddingInline: De = Pt
74
+ } = h, { showColumnBorder: _e, hideRowBorder: ce, rowHoverable: Ge, ...m } = Ne(Nt), C = V(void 0), [I, Ie] = k(0), [J, Je] = k(0), [Q, Qe] = k(0), [Ue, U] = k(!1), [x, Xe] = k([]);
75
+ ke(() => {
76
+ let e = [...b ?? []];
77
+ (y == null ? void 0 : y.page) !== 1 && (e = [...x, ...e]), Xe(e);
78
+ }, [b]);
79
+ const Ye = c(() => !!(x != null && x.length) && (x == null ? void 0 : x.length) >= j, [x, j]), [Ze, Ee] = k([]), Ae = (e, t) => {
80
+ var s;
81
+ const r = (s = _ == null ? void 0 : _(e, t)) == null ? void 0 : s.filter(
80
82
  (n) => n.type !== "divider"
81
83
  );
82
- r != null && r.length && (et(r), X(!0));
84
+ r != null && r.length && (Ee(r), U(!0));
83
85
  }, he = () => {
84
- X(!1);
85
- }, rt = (e) => {
86
+ U(!1);
87
+ }, et = (e) => {
86
88
  var t;
87
- X(!1), (t = e.onClick) == null || t.call(e);
88
- }, z = q(null), Y = se(z), de = q(null), Z = se(de), I = q(null), L = se(I), ot = () => {
89
+ U(!1), (t = e.onClick) == null || t.call(e);
90
+ }, B = V(null), X = ne(B), de = V(null), Y = ne(de), Z = V(null), M = ne(Z), tt = () => {
89
91
  var r;
90
- const e = (r = z.current) == null ? void 0 : r.querySelectorAll(
92
+ const e = (r = B.current) == null ? void 0 : r.querySelectorAll(
91
93
  "& > .bitzTableContainerBody > .ant-table-wrapper.bitzTable > .ant-spin-nested-loading > .ant-spin-container > .ant-table > .ant-table-container > .ant-table-body > table > .ant-table-tbody > tr:not(.ant-table-measure-row, .ant-table-expanded-row)"
92
94
  ), t = [];
93
- if (e == null || e.forEach((o) => {
95
+ if (e == null || e.forEach((s) => {
94
96
  var n;
95
97
  t.push(
96
- ((n = o.querySelector("& > .operationCol .actionGroup")) == null ? void 0 : n.clientWidth) || 0
98
+ ((n = s.querySelector("& > .operationCol .actionGroup")) == null ? void 0 : n.clientWidth) || 0
97
99
  );
98
100
  }), t.length)
99
- return Math.ceil(Math.max(...t)) + Ge * 2;
101
+ return Math.ceil(Math.max(...t)) + De * 2;
100
102
  }, ue = () => {
101
- var f, w, K;
102
- const e = (f = z.current) == null ? void 0 : f.querySelector(
103
- ".ant-table-body"
104
- ), t = e == null ? void 0 : e.clientWidth, o = ((e == null ? void 0 : e.offsetWidth) || 0) - t > 0, n = (K = (w = z.current) == null ? void 0 : w.querySelector(
103
+ var a, d, P;
104
+ const e = (a = B.current) == null ? void 0 : a.querySelector(
105
+ (i == null ? void 0 : i.x) === 1 ? ".ant-table-content" : ".ant-table-body"
106
+ ), t = e == null ? void 0 : e.clientWidth, s = ((e == null ? void 0 : e.offsetWidth) || 0) - t > 0, n = (P = (d = B.current) == null ? void 0 : d.querySelector(
105
107
  ".ant-table-cell-scrollbar"
106
- )) == null ? void 0 : K.offsetWidth;
107
- return { tbodyWidth: t, hasScrollBar: o, scrollbarSize: n };
108
- }, { y: A, tbodyWidth: H, hasScrollBar: V, scrollbarSize: $ } = l(() => {
108
+ )) == null ? void 0 : P.offsetWidth;
109
+ return { tbodyWidth: t, hasScrollBar: s, scrollbarSize: n };
110
+ }, { y: E, tbodyWidth: L, hasScrollBar: F, scrollbarSize: H } = c(() => {
109
111
  const { tbodyWidth: e, hasScrollBar: t, scrollbarSize: r } = ue();
110
- if (typeof v > "u")
112
+ if (typeof R > "u")
111
113
  return {
112
114
  tbodyWidth: e,
113
115
  hasScrollBar: t,
114
116
  scrollbarSize: r
115
117
  };
116
- let o = 40, n = 40;
117
- if (z.current) {
118
- const T = window.getComputedStyle(z.current);
119
- o = parseInt(T.getPropertyValue("--cell-height")), n = parseInt(T.getPropertyValue("--toolbar-height"));
118
+ let s = 40, n = 40;
119
+ if (B.current) {
120
+ const W = window.getComputedStyle(B.current);
121
+ s = parseInt(W.getPropertyValue("--cell-height")), n = parseInt(W.getPropertyValue("--toolbar-height"));
120
122
  }
121
- const f = (L == null ? void 0 : L.height) || 0, w = f ? ce : 0;
122
- return { y: (h.fullscreen ? window.innerHeight : v) - f - w - n - o, tbodyWidth: e, hasScrollBar: t, scrollbarSize: r };
123
+ const a = (M == null ? void 0 : M.height) || 0, d = a ? ae : 0;
124
+ return { y: (m.fullscreen ? window.innerHeight : R) - a - d - n - s, tbodyWidth: e, hasScrollBar: t, scrollbarSize: r };
123
125
  }, [
124
- h.fullscreen,
125
- v,
126
- L == null ? void 0 : L.height,
127
- Y == null ? void 0 : Y.height,
128
- Z == null ? void 0 : Z.height
129
- ]), ee = l(() => {
130
- let e = (c == null ? void 0 : c.x) ?? 1e3;
131
- return J && (e -= J), Q && b.current && (e -= Q * b.current), H && (c != null && c.x && e < H && (c == null ? void 0 : c.x) > H && Xe(H - e), e = Math.max(e, H)), c != null && c.x ? { x: e, y: c.y || A } : c != null && c.y ? { x: e, y: c.y } : { x: e, y: A };
132
- }, [c, A, H, J, Q]), fe = () => {
126
+ m.fullscreen,
127
+ R,
128
+ M == null ? void 0 : M.height,
129
+ X == null ? void 0 : X.height,
130
+ Y == null ? void 0 : Y.height
131
+ ]), A = c(() => {
132
+ let e = (i == null ? void 0 : i.x) ?? 1e3;
133
+ return I && (e -= I), J && C.current && (e -= J * C.current), L && (i != null && i.x && e < L && (i == null ? void 0 : i.x) > L && Qe(L - e), e = Math.max(e, L)), i != null && i.x ? { x: e, y: i.y || E } : i != null && i.y ? { x: e, y: i.y } : { x: e, y: E };
134
+ }, [i, E, L, I, J]), rt = () => {
133
135
  let e = 0;
134
- if (z.current) {
135
- const r = window.getComputedStyle(z.current), o = parseInt(
136
+ if (B.current) {
137
+ const r = window.getComputedStyle(B.current), s = parseInt(
136
138
  r.getPropertyValue("--toolCell-paddingInline")
137
139
  );
138
- e = parseInt(r.getPropertyValue("--fontSize")) + 4 + 2 * o;
140
+ e = parseInt(r.getPropertyValue("--fontSize")) + 4 + 2 * s;
139
141
  }
140
142
  let t = 0;
141
- return p && (t += e), x && (t += e), M && (t += e), t;
142
- }, st = (e, t) => {
143
- const r = e.length, o = e.filter((T) => T.width), f = o.map((T) => T.width).reduce((T, gt) => T + gt, 0), { tbodyWidth: w } = ue(), re = Math.max((c == null ? void 0 : c.x) ?? 0, w ?? 0) - f - t, ke = r - o.length;
144
- return re >= 0 ? Math.floor(re / ke) : 0;
145
- }, me = l(() => {
146
- var e;
147
- return ((e = (P ?? []).find((t) => t.isOperationCol)) == null ? void 0 : e.width) ?? 0;
148
- }, [P]), B = l(() => {
149
- const t = (P ?? []).filter((w) => !St.includes(w)), { filterColumns: r, hiddenTotalWidth: o, autoWidthColLength: n } = Mt(
143
+ return T && (t += e), g && (t += e), S && (t += e), t;
144
+ }, ot = (e, t) => {
145
+ const r = e.length, s = e.filter((W) => W.width), a = s.map((W) => W.width).reduce((W, yt) => W + yt, 0), { tbodyWidth: d } = ue(), re = Math.max((i == null ? void 0 : i.x) ?? 0, d ?? 0) - a - t, Te = r - s.length;
146
+ return re >= 0 ? Math.floor(re / Te) : 0;
147
+ }, { sortColumns: p, toolColWidth: fe } = c(() => {
148
+ const t = (q ?? []).filter((P) => !kt.includes(P)), { filterColumns: r, hiddenTotalWidth: s, autoWidthColLength: n } = St(
150
149
  t,
151
- h.columnsMap
152
- ), f = r.sort(Lt(h.columnsMap));
153
- if (!D) {
154
- const w = fe();
155
- b.current = st(t, w), Qe(o), Ue(n);
156
- }
157
- return f;
158
- }, [h.columnsMap, me]), be = l(() => fe(), [h.columnsMap, me]), [N, Ce] = S([]);
159
- Me(() => {
160
- if (b.current) {
150
+ m.columnsMap
151
+ ), a = r.sort(Mt(m.columnsMap));
152
+ let d = 0;
153
+ return O || (d = rt(), C.current = ot(t, d), Ie(s), Je(n)), { sortColumns: a, toolColWidth: d };
154
+ }, [m.columnsMap, q]), [ee, nt] = k([]);
155
+ ke(() => {
156
+ if (C.current) {
161
157
  let e = 0;
162
- if (U) {
163
- const o = B == null ? void 0 : B.filter(
164
- (n) => !n.width && !(n != null && n.isOperationCol)
158
+ if (Q) {
159
+ const n = p == null ? void 0 : p.filter(
160
+ (a) => !a.width && !(a != null && a.isOperationCol)
165
161
  ).length;
166
- e = Math.floor(U / o);
162
+ e = Math.floor(Q / n);
167
163
  }
168
- let t = 0;
169
- const r = B.map((o) => {
170
- let n = o.width;
171
- return o != null && o.useMaxWidth && (o != null && o.isOperationCol) && (n = ot() ?? o.width), !n && (b != null && b.current) && (n = b.current + e), t += n ?? 0, n;
164
+ let t = 0, r = -1;
165
+ const s = p.map((n, a) => {
166
+ let d = n.width;
167
+ return n != null && n.isOperationCol && (r = a, n != null && n.useMaxWidth && (d = tt() ?? n.width)), !d && (C != null && C.current) && (d = C.current + e), t += d ?? 0, d;
172
168
  });
173
- if (t < ee.x - be) {
174
- const o = ee.x - be - t;
175
- r[0] = (r[0] ?? 0) + o;
169
+ if (t < A.x - fe) {
170
+ const n = A.x - fe - t;
171
+ let a = 0;
172
+ r === 0 && s.length > 1 && a++, s[a] = (s[a] ?? 0) + n;
176
173
  }
177
- Ce(r);
174
+ nt(s);
178
175
  }
179
- }, [B, U]);
180
- const k = l(() => {
181
- if (D)
182
- return B;
183
- const e = B.map((t, r) => {
184
- var o;
185
- return {
186
- ...t,
187
- ...((o = B[r + 1]) == null ? void 0 : o.isOperationCol) && {
188
- className: F(t.className, "disabledResize")
189
- },
190
- width: N.length ? N[r] : b == null ? void 0 : b.current,
191
- onHeaderCell: (n) => ({
192
- width: n.width,
193
- onResize: nt(r)
194
- })
195
- };
196
- });
197
- return $t(
198
- P,
176
+ }, [p, Q]);
177
+ const N = c(() => {
178
+ if (O)
179
+ return p;
180
+ const e = p.map((t, r) => ({
181
+ ...t,
182
+ // ...(sortColumns[i + 1]?.isOperationCol && {
183
+ // className: classNames(v.className, 'disabledResize'),
184
+ // }),
185
+ width: ee.length ? ee[r] : C == null ? void 0 : C.current
186
+ // onHeaderCell: (column: BitzTableColumnsType<T>[number]) => ({
187
+ // width: column.width,
188
+ // onResize: handleResize(i) as React.ReactEventHandler<any>,
189
+ // }),
190
+ }));
191
+ return Ht(
192
+ q,
199
193
  e,
200
- M,
201
- !!p,
202
- !!x
194
+ S,
195
+ !!T,
196
+ !!g
203
197
  );
204
- }, [P, B, N]), nt = (e) => (t, { size: r }) => {
205
- const o = [...N], n = e + 1, f = r.width - N[e];
206
- o[e] = N[e] + f, o[n] = N[n] - f, o[e] > 48 && o[n] > 48 && Ce(o);
207
- }, ye = l(() => Ot(k), [k]), it = l(() => i ? ye : k, [i, k, ye]), xe = l(() => {
208
- const e = (m ?? []).length, t = e > (_.pc ?? 10) ? e >= 20 ? 20 : e : _.pc ?? 10;
209
- return Array.from({ length: t }).map((o, n) => ({
198
+ }, [p, ee]), me = c(() => $t(N), [N]), st = c(() => l ? me : N, [l, N, me]), be = c(() => {
199
+ const e = (b ?? []).length, t = e > (D.pc ?? 10) ? e >= 20 ? 20 : e : D.pc ?? 10;
200
+ return Array.from({ length: t }).map((s, n) => ({
210
201
  key: `${Date.now()}${n}`
211
202
  }));
212
- }, [m]), ge = l(() => i ? xe : m ?? [], [i, m, xe]), { table: te, locale: lt = Pt } = Se(Ft), ct = { ...lt.Table }, at = ((Ne = te == null ? void 0 : te.expandable) == null ? void 0 : Ne.expandIcon) || (x == null ? void 0 : x.expandIcon) || vt(ct), we = l(() => {
213
- if (x)
203
+ }, [b]), Ce = c(() => l ? be : b ?? [], [l, b, be]), { table: te, locale: it = Rt } = Ne(Ot), lt = { ...it.Table }, at = ((We = te == null ? void 0 : te.expandable) == null ? void 0 : We.expandIcon) || (g == null ? void 0 : g.expandIcon) || vt(lt), xe = c(() => {
204
+ if (g)
214
205
  return {
215
- ...x,
216
- expandedRowRender: () => /* @__PURE__ */ s.jsx(s.Fragment, {}),
206
+ ...g,
207
+ expandedRowRender: () => /* @__PURE__ */ o.jsx(o.Fragment, {}),
217
208
  expandIcon: (e) => {
218
209
  const t = at(e);
219
210
  return {
@@ -223,137 +214,137 @@ function Gt({
223
214
  disabled: !0,
224
215
  style: {
225
216
  ...t.props.style,
226
- backgroundColor: g.colorBgContainerDisabled
217
+ backgroundColor: w.colorBgContainerDisabled
227
218
  }
228
219
  }
229
220
  };
230
221
  }
231
222
  };
232
- }, [x]), ht = l(() => i ? we : x, [i, x, we]), ze = l(() => {
233
- if (p)
223
+ }, [g]), ct = c(() => l ? xe : g, [l, g, xe]), ye = c(() => {
224
+ if (T)
234
225
  return {
235
- ...p,
226
+ ...T,
236
227
  selectedRowKeys: [],
237
228
  getCheckboxProps: () => ({ disabled: !0 })
238
229
  };
239
- }, [p]), dt = l(() => i ? ze : p, [i, p, ze]), Be = l(() => i ? "key" : u.rowKey, [i, u.rowKey]), je = l(() => `${le ?? h.stylesConfig.size}BitzTable`, [le, h.stylesConfig.size]), ut = oe(
230
+ }, [T]), ht = c(() => l ? ye : T, [l, T, ye]), ge = c(() => l ? "key" : f.rowKey, [l, f.rowKey]), we = c(() => `${le ?? m.stylesConfig.size}BitzTable`, [le, m.stylesConfig.size]), dt = K(
240
231
  (e, t) => {
241
- var o;
242
- if (!u.onRow || i)
232
+ var s;
233
+ if (!f.onRow || l)
243
234
  return {};
244
- const r = (o = u.onRow) == null ? void 0 : o.call(u, e, t);
235
+ const r = (s = f.onRow) == null ? void 0 : s.call(f, e, t);
245
236
  return r.onClick && (r.className = "rowPointerCursor"), r;
246
237
  },
247
- [u.onRow, i]
248
- ), ft = l(() => F(
238
+ [f.onRow, l]
239
+ ), ut = c(() => oe(
249
240
  "bitzTableContainer",
250
- { hideBorder: ae },
251
- { hasScrollBar: V },
252
- je,
253
- u.className
241
+ { hideBorder: ce },
242
+ { hasScrollBar: F },
243
+ we,
244
+ f.className
254
245
  ), [
255
- u.className,
256
- je,
257
- V,
258
- h.fullscreen,
259
- ae
260
- ]), mt = l(() => ({
261
- "--container-bgColor": g.colorBgContainer
262
- }), [g.colorBgContainer]), bt = l(() => {
263
- const e = h.fullscreen ? "100%" : v;
246
+ f.className,
247
+ we,
248
+ F,
249
+ m.fullscreen,
250
+ ce
251
+ ]), ft = c(() => ({
252
+ "--container-bgColor": w.colorBgContainer
253
+ }), [w.colorBgContainer]), mt = c(() => {
254
+ const e = m.fullscreen ? "100%" : R;
264
255
  let t;
265
- return ($ ?? 0) > 0 && (t = $), Vt({
256
+ return (H ?? 0) > 0 && (t = H), Ft({
266
257
  height: e,
267
- fontFamily: g.fontFamily,
268
- evenRowBgColor: h.zebra ? a == null ? void 0 : a.evenRowBgColor : g.colorBgContainer,
269
- colorBgContainer: g.colorBgContainer,
270
- table: a,
271
- gap: ce,
272
- borderColor: (a == null ? void 0 : a.borderColor) || g.colorBorderSecondary,
258
+ fontFamily: w.fontFamily,
259
+ evenRowBgColor: m.zebra ? h == null ? void 0 : h.evenRowBgColor : w.colorBgContainer,
260
+ colorBgContainer: w.colorBgContainer,
261
+ table: h,
262
+ gap: ae,
263
+ borderColor: (h == null ? void 0 : h.borderColor) || w.colorBorderSecondary,
273
264
  scrollbarWidth: t,
274
- other: u.style
265
+ other: f.style
275
266
  });
276
267
  }, [
277
- u.style,
278
- h.fullscreen,
279
- v,
280
- a,
281
- h == null ? void 0 : h.zebra,
282
- $
283
- ]), Ct = oe(
268
+ f.style,
269
+ m.fullscreen,
270
+ R,
271
+ h,
272
+ m == null ? void 0 : m.zebra,
273
+ H
274
+ ]), bt = K(
284
275
  (e, t, r) => {
285
- const o = t % 2 === 0 ? "oddRow" : "evenRow";
286
- if (u.rowClassName) {
287
- const n = u.rowClassName(e, t, r);
288
- return F(o, n);
276
+ const s = t % 2 === 0 ? "oddRow" : "evenRow";
277
+ if (f.rowClassName) {
278
+ const n = f.rowClassName(e, t, r);
279
+ return oe(s, n);
289
280
  }
290
- return o;
281
+ return s;
291
282
  },
292
- [u.rowClassName]
293
- ), We = /* @__PURE__ */ s.jsx(
294
- Tt,
283
+ [f.rowClassName]
284
+ ), Be = /* @__PURE__ */ o.jsx(
285
+ pt,
295
286
  {
296
- finished: Ie,
287
+ finished: Ye,
297
288
  onLoad: async () => (
298
289
  // @ts-ignore
299
- !i && (O == null ? void 0 : O((y == null ? void 0 : y.page) + 1, y == null ? void 0 : y.size))
290
+ !l && ($ == null ? void 0 : $((y == null ? void 0 : y.page) + 1, y == null ? void 0 : y.size))
300
291
  ),
301
292
  loadingText: "加载中...",
302
293
  finishedText: "没有更多了",
303
294
  errorText: "加载失败",
304
- children: /* @__PURE__ */ s.jsxs(
295
+ children: /* @__PURE__ */ o.jsxs(
305
296
  "div",
306
297
  {
307
298
  className: "mobileList",
308
- style: { backgroundColor: a == null ? void 0 : a.mobileListBgColor },
299
+ style: { backgroundColor: h == null ? void 0 : h.mobileListBgColor },
309
300
  children: [
310
- C == null ? void 0 : C.map((e, t) => /* @__PURE__ */ s.jsx(
301
+ x == null ? void 0 : x.map((e, t) => /* @__PURE__ */ o.jsx(
311
302
  "div",
312
303
  {
313
304
  className: "listItem",
314
- style: { backgroundColor: a == null ? void 0 : a.listItemBgColor },
315
- onClick: () => tt(e, t),
316
- children: k == null ? void 0 : k.map((r, o) => {
305
+ style: { backgroundColor: h == null ? void 0 : h.listItemBgColor },
306
+ onClick: () => Ae(e, t),
307
+ children: N == null ? void 0 : N.map((r, s) => {
317
308
  var n;
318
- return !(r != null && r.mobileHide) && /* @__PURE__ */ s.jsxs(
309
+ return !(r != null && r.mobileHide) && /* @__PURE__ */ o.jsxs(
319
310
  "div",
320
311
  {
321
312
  className: "row",
322
- style: { color: g.colorText },
313
+ style: { color: w.colorText },
323
314
  children: [
324
- !r.mobileHideLabel && /* @__PURE__ */ s.jsxs("div", { className: "label", children: [
315
+ !r.mobileHideLabel && /* @__PURE__ */ o.jsxs("div", { className: "label", children: [
325
316
  `${r.title}`,
326
317
  ":"
327
318
  ] }),
328
- /* @__PURE__ */ s.jsx("div", { className: "value", children: ((n = r == null ? void 0 : r.render) == null ? void 0 : n.call(
319
+ /* @__PURE__ */ o.jsx("div", { className: "value", children: ((n = r == null ? void 0 : r.render) == null ? void 0 : n.call(
329
320
  r,
330
- _t(e, (r == null ? void 0 : r.dataIndex) || ""),
321
+ qt(e, (r == null ? void 0 : r.dataIndex) || ""),
331
322
  e,
332
323
  t
333
324
  )) || (e == null ? void 0 : e[r.dataIndex]) })
334
325
  ]
335
326
  },
336
- o
327
+ s
337
328
  );
338
329
  })
339
330
  },
340
331
  t
341
332
  )),
342
- Array.from({ length: _.mobile ?? 2 }).map((e, t) => /* @__PURE__ */ s.jsx(
333
+ Array.from({ length: D.mobile ?? 2 }).map((e, t) => /* @__PURE__ */ o.jsx(
343
334
  "div",
344
335
  {
345
336
  className: "listItem",
346
337
  style: {
347
- display: i ? "block" : "none",
348
- backgroundColor: a == null ? void 0 : a.listItemBgColor
338
+ display: l ? "block" : "none",
339
+ backgroundColor: h == null ? void 0 : h.listItemBgColor
349
340
  },
350
- children: /* @__PURE__ */ s.jsx("div", { className: "row", children: ne ? ne() : /* @__PURE__ */ s.jsx(
351
- wt,
341
+ children: /* @__PURE__ */ o.jsx("div", { className: "row", children: se ? se() : /* @__PURE__ */ o.jsx(
342
+ gt,
352
343
  {
353
344
  title: !1,
354
345
  paragraph: {
355
- rows: Re,
356
- width: ve
346
+ rows: Le,
347
+ width: Pe
357
348
  },
358
349
  active: !0
359
350
  }
@@ -365,9 +356,9 @@ function Gt({
365
356
  }
366
357
  )
367
358
  }
368
- ), Te = l(() => /* @__PURE__ */ s.jsxs("div", { className: "alert", children: [
369
- /* @__PURE__ */ s.jsx(
370
- He,
359
+ ), je = c(() => /* @__PURE__ */ o.jsxs("div", { className: "alert", children: [
360
+ /* @__PURE__ */ o.jsx(
361
+ Me,
371
362
  {
372
363
  highlightTag: "strong",
373
364
  keywords: `${j}`,
@@ -375,140 +366,149 @@ function Gt({
375
366
  tagClass: "totalText"
376
367
  }
377
368
  ),
378
- !!d && /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
379
- /* @__PURE__ */ s.jsx(Le.Text, { className: "splitBorder", children: "/" }),
380
- /* @__PURE__ */ s.jsx(
381
- He,
369
+ !!u && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
370
+ /* @__PURE__ */ o.jsx(Se.Text, { className: "splitBorder", children: "/" }),
371
+ /* @__PURE__ */ o.jsx(
372
+ Me,
382
373
  {
383
374
  highlightTag: "strong",
384
- keywords: `${(d == null ? void 0 : d.num) ?? 0}`,
385
- sourceString: `已选中 ${(d == null ? void 0 : d.num) ?? 0} 条`
375
+ keywords: `${(u == null ? void 0 : u.num) ?? 0}`,
376
+ sourceString: `已选中 ${(u == null ? void 0 : u.num) ?? 0} 条`
386
377
  }
387
378
  ),
388
- !!(d != null && d.num) && /* @__PURE__ */ s.jsx(
389
- Le.Link,
379
+ !!(u != null && u.num) && /* @__PURE__ */ o.jsx(
380
+ Se.Link,
390
381
  {
391
382
  className: "cleanSelected",
392
- onClick: d == null ? void 0 : d.onClear,
383
+ onClick: u == null ? void 0 : u.onClear,
393
384
  children: "取消选中"
394
385
  }
395
386
  )
396
387
  ] })
397
- ] }), [j, d]), yt = (e) => {
388
+ ] }), [j, u]), Ct = (e) => {
398
389
  var t;
399
- i || e.active.id !== ((t = e.over) == null ? void 0 : t.id) && (E == null || E(e));
400
- }, pe = oe(() => M ? {
401
- row: (e) => Kt({ ...e, loading: i == null ? void 0 : i.toString() })
402
- } : {}, [M, M ? i : !1]), xt = l(() => ({
403
- ...W,
390
+ l || e.active.id !== ((t = e.over) == null ? void 0 : t.id) && (G == null || G(e));
391
+ }, ze = K(() => S ? {
392
+ row: (e) => Vt({ ...e, loading: l == null ? void 0 : l.toString() })
393
+ } : {}, [S, S ? l : !1]), pe = K(
394
+ (e) => {
395
+ var s, n;
396
+ const t = { ...e };
397
+ return ((s = t.className) == null ? void 0 : s.includes(
398
+ "ant-table-cell-fix-right"
399
+ )) && !F && ((n = t.style) != null && n.right) && (t.style = { ...t.style ?? {} }, t.style.right = Number(t.style.right ?? 0) - (H || 0)), /* @__PURE__ */ o.jsx("th", { ...t });
400
+ },
401
+ [F, H]
402
+ ), xt = c(() => ({
403
+ ...z,
404
404
  header: {
405
- ...W == null ? void 0 : W.header,
406
- cell: (e) => Dt({ ...e, hasScrollBar: V, scrollbarSize: $ })
405
+ ...z == null ? void 0 : z.header,
406
+ cell: pe
407
407
  },
408
408
  body: {
409
- ...W == null ? void 0 : W.body,
410
- ...pe()
409
+ ...z == null ? void 0 : z.body,
410
+ ...ze()
411
411
  }
412
- }), [W, V, $, pe]);
413
- return /* @__PURE__ */ s.jsxs(
412
+ }), [z, pe, ze]);
413
+ return /* @__PURE__ */ o.jsxs(
414
414
  "div",
415
415
  {
416
- className: F("bitzTableBlock", {
417
- fullscreen: h.fullscreen
416
+ className: oe("bitzTableBlock", {
417
+ fullscreen: m.fullscreen
418
418
  }),
419
- style: mt,
419
+ style: ft,
420
420
  children: [
421
- !D && /* @__PURE__ */ s.jsxs("div", { ref: z, className: ft, style: bt, children: [
422
- /* @__PURE__ */ s.jsxs("div", { className: "bitzTableContainerBody", ref: de, children: [
423
- Ke && /* @__PURE__ */ s.jsxs("div", { className: "bitzTableToolbarBlock", children: [
424
- qe || /* @__PURE__ */ s.jsx("div", {}),
425
- De,
426
- Fe
421
+ !O && /* @__PURE__ */ o.jsxs("div", { ref: B, className: ut, style: mt, children: [
422
+ /* @__PURE__ */ o.jsxs("div", { className: "bitzTableContainerBody", ref: de, children: [
423
+ Fe && /* @__PURE__ */ o.jsxs("div", { className: "bitzTableToolbarBlock", children: [
424
+ Ve || /* @__PURE__ */ o.jsx("div", {}),
425
+ Ke,
426
+ Oe
427
427
  ] }),
428
- /* @__PURE__ */ s.jsx(
429
- qt,
428
+ /* @__PURE__ */ o.jsx(
429
+ Kt,
430
430
  {
431
- enabledRowDragSort: M,
432
- dataSource: ge,
433
- mergeRowKey: Be,
434
- onDragEnd: yt,
435
- children: /* @__PURE__ */ s.jsx(
436
- zt,
431
+ enabledRowDragSort: S,
432
+ dataSource: Ce,
433
+ mergeRowKey: ge,
434
+ onDragEnd: Ct,
435
+ children: /* @__PURE__ */ o.jsx(
436
+ wt,
437
437
  {
438
- ...u,
439
- bordered: Ee,
440
- columns: it,
441
- dataSource: ge,
438
+ ...f,
439
+ bordered: _e,
440
+ columns: st,
441
+ dataSource: Ce,
442
442
  loading: !1,
443
443
  pagination: !1,
444
- scroll: ee,
445
- expandable: ht,
446
- rowSelection: dt,
447
- onRow: ut,
448
- rowHoverable: Je,
449
- rowClassName: Ct,
444
+ scroll: A,
445
+ expandable: ct,
446
+ rowSelection: ht,
447
+ onRow: dt,
448
+ rowHoverable: Ge,
449
+ rowClassName: bt,
450
450
  className: "bitzTable",
451
451
  components: xt,
452
- rowKey: Be
452
+ rowKey: ge
453
453
  }
454
454
  )
455
455
  }
456
456
  )
457
457
  ] }),
458
- R && !!j && /* @__PURE__ */ s.jsxs("div", { className: "bitzTablePagination", ref: I, children: [
459
- Te,
460
- /* @__PURE__ */ s.jsx(
458
+ v && !!j && /* @__PURE__ */ o.jsxs("div", { className: "bitzTablePagination", ref: Z, children: [
459
+ je,
460
+ /* @__PURE__ */ o.jsx(
461
461
  jt,
462
462
  {
463
463
  size: "small",
464
- enableControl: Pe,
464
+ enableControl: ve,
465
465
  pagination: y,
466
466
  total: j,
467
- dataSource: m,
468
- resetPage: _e,
467
+ dataSource: b,
468
+ resetPage: qe,
469
469
  hideTotalText: !0,
470
- paginationEmit: O
470
+ paginationEmit: $
471
471
  }
472
472
  )
473
473
  ] }),
474
- !R && !!d && !!j && /* @__PURE__ */ s.jsx("div", { className: "bitzTablePagination", ref: I, children: Te })
474
+ !v && !!u && !!j && /* @__PURE__ */ o.jsx("div", { className: "bitzTablePagination", ref: Z, children: je })
475
475
  ] }),
476
- D && /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
477
- (i || !!(m != null && m.length)) && /* @__PURE__ */ s.jsx(s.Fragment, { children: ie ? (
476
+ O && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
477
+ (l || !!(b != null && b.length)) && /* @__PURE__ */ o.jsx(o.Fragment, { children: ie ? (
478
478
  // @ts-ignore
479
- /* @__PURE__ */ s.jsx(
480
- pt,
479
+ /* @__PURE__ */ o.jsx(
480
+ Wt,
481
481
  {
482
- onRefresh: async () => !i && ie(),
483
- children: We
482
+ onRefresh: async () => !l && ie(),
483
+ children: Be
484
484
  }
485
485
  )
486
- ) : We }),
487
- !i && /* @__PURE__ */ s.jsx(Wt, { data: m, title: Oe, img: Ve }),
488
- /* @__PURE__ */ s.jsx(
486
+ ) : Be }),
487
+ !l && /* @__PURE__ */ o.jsx(zt, { data: b, title: He, img: $e }),
488
+ /* @__PURE__ */ o.jsx(
489
489
  Bt,
490
490
  {
491
491
  className: "tableMobileDrawer",
492
- open: Ye,
492
+ open: Ue,
493
493
  placement: "bottom",
494
494
  height: "auto",
495
495
  closable: !1,
496
496
  onClose: he,
497
- children: /* @__PURE__ */ s.jsxs("div", { className: "drawerBox", children: [
498
- /* @__PURE__ */ s.jsx("div", { className: "boxBody", children: Ae.map((e, t) => /* @__PURE__ */ s.jsx(
497
+ children: /* @__PURE__ */ o.jsxs("div", { className: "drawerBox", children: [
498
+ /* @__PURE__ */ o.jsx("div", { className: "boxBody", children: Ze.map((e, t) => /* @__PURE__ */ o.jsx(
499
499
  "div",
500
500
  {
501
501
  className: "operaList",
502
- onClick: () => rt(e),
502
+ onClick: () => et(e),
503
503
  ...e.danger && {
504
- style: { color: g.colorError }
504
+ style: { color: w.colorError }
505
505
  },
506
506
  children: e.label
507
507
  },
508
508
  t
509
509
  )) }),
510
- /* @__PURE__ */ s.jsx("div", { className: "boxLine" }),
511
- /* @__PURE__ */ s.jsx("div", { className: "boxFooter", onClick: he, children: $e })
510
+ /* @__PURE__ */ o.jsx("div", { className: "boxLine" }),
511
+ /* @__PURE__ */ o.jsx("div", { className: "boxFooter", onClick: he, children: Re })
512
512
  ] })
513
513
  }
514
514
  )
@@ -517,7 +517,7 @@ function Gt({
517
517
  }
518
518
  );
519
519
  }
520
- const Br = (R) => /* @__PURE__ */ s.jsx(Nt, { initValue: R, children: /* @__PURE__ */ s.jsx(Gt, { ...R }) });
520
+ const gr = (v) => /* @__PURE__ */ o.jsx(Tt, { initValue: v, children: /* @__PURE__ */ o.jsx(Dt, { ...v }) });
521
521
  export {
522
- Br as default
522
+ gr as default
523
523
  };