bitz-react-admin-ui 2.5.6 → 2.5.7

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 (23) hide show
  1. package/dist/_virtual/index.mjs +2 -2
  2. package/dist/_virtual/index2.mjs +2 -2
  3. package/dist/components/BitzTable/Store/index.d.ts +14 -1
  4. package/dist/components/BitzTable/Store/index.mjs +64 -59
  5. package/dist/components/BitzTable/Table/index.d.ts +2 -5
  6. package/dist/components/BitzTable/Table/index.mjs +319 -319
  7. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +55 -63
  8. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +160 -162
  9. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.d.ts +1 -1
  10. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.mjs +78 -79
  11. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +47 -47
  12. package/dist/components/BitzTable/ToolBar/ColConfigIcon/style.mjs +6 -4
  13. package/dist/components/BitzTable/ToolBar/ExportIcon/ExportModal.d.ts +1 -1
  14. package/dist/components/BitzTable/ToolBar/ExportIcon/ExportModal.mjs +40 -45
  15. package/dist/components/BitzTable/ToolBar/ExportIcon/index.mjs +29 -34
  16. package/dist/components/BitzTable/ToolBar/Modal/index.d.ts +3 -2
  17. package/dist/components/BitzTable/ToolBar/Modal/index.mjs +38 -56
  18. package/dist/components/BitzTable/ToolBar/Modal/style.mjs +12 -8
  19. package/dist/components/BitzTable/ToolBar/index.d.ts +1 -1
  20. package/dist/node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs +1 -1
  21. package/dist/node_modules/.store/prop-types@15.8.1/node_modules/prop-types/index.mjs +1 -1
  22. package/dist/style.css +1 -1
  23. package/package.json +1 -1
@@ -1,291 +1,291 @@
1
- import { j as n } from "../../../node_modules/.store/react@18.3.1/node_modules/react/jsx-runtime.mjs";
2
- import { useContext as De, useState as $, useEffect as G, useMemo as i, useRef as V, useCallback as E } from "react";
3
- import { isMobile as m } from "../../../node_modules/.store/react-device-detect@2.2.3/node_modules/react-device-detect/dist/lib.mjs";
4
- import { Skeleton as Mt, Typography as _e, Table as Pt, Spin as Lt } from "antd";
5
- import v from "../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
6
- import Rt from "../../BitzDrawer/index.mjs";
7
- import Ht from "../../BitzPagination/index.mjs";
8
- import $t from "../../BitzNoData/index.mjs";
1
+ import { j as r } from "../../../node_modules/.store/react@18.3.1/node_modules/react/jsx-runtime.mjs";
2
+ import { useContext as qe, useState as z, useEffect as V, useMemo as i, useRef as D, useCallback as A } from "react";
3
+ import { isMobile as b } from "../../../node_modules/.store/react-device-detect@2.2.3/node_modules/react-device-detect/dist/lib.mjs";
4
+ import { Skeleton as Nt, Typography as Ke, Table as Wt, Spin as Mt } from "antd";
5
+ import F from "../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
6
+ import Pt from "../../BitzDrawer/index.mjs";
7
+ import Rt from "../../BitzPagination/index.mjs";
8
+ import Lt from "../../BitzNoData/index.mjs";
9
9
  import "../../BitzList/index.less.mjs";
10
- import qt from "../../BitzList/List.mjs";
10
+ import Ht from "../../BitzList/List.mjs";
11
11
  import "../../BitzPullRefresh/style/index.less.mjs";
12
- import Kt from "../../BitzPullRefresh/PullRefresh.mjs";
13
- import Ot, { BitzTableContext as Vt, toolCols as Dt } from "../Store/index.mjs";
14
- import { loopFilter as _t, columnSort as Gt, genColumnKey as Ge } from "../Store/utils/index.mjs";
15
- import de from "../../../node_modules/.store/ahooks@3.7.11/node_modules/ahooks/es/useSize/index.mjs";
16
- import Yt from "../../BitzTheme/index.mjs";
17
- import { tablePaddingInline as It } from "../../BitzConfigProvider/context.mjs";
18
- import Ye from "../../BitzHighlight/index.mjs";
19
- import Jt from "../../../node_modules/.store/antd@5.17.3/node_modules/antd/es/table/ExpandIcon.mjs";
12
+ import $t from "../../BitzPullRefresh/PullRefresh.mjs";
13
+ import qt, { BitzTableContext as Kt, toolCols as Ot } from "../Store/index.mjs";
14
+ import { loopFilter as Vt, columnSort as Dt, genColumnKey as Oe } from "../Store/utils/index.mjs";
15
+ import _t from "../../../node_modules/.store/ahooks@3.7.11/node_modules/ahooks/es/useSize/index.mjs";
16
+ import Gt from "../../BitzTheme/index.mjs";
17
+ import { tablePaddingInline as Yt } from "../../BitzConfigProvider/context.mjs";
18
+ import Ve from "../../BitzHighlight/index.mjs";
19
+ import It from "../../../node_modules/.store/antd@5.17.3/node_modules/antd/es/table/ExpandIcon.mjs";
20
20
  import "../../../node_modules/.store/antd@5.17.3/node_modules/antd/es/config-provider/index.mjs";
21
- import Qt from "../../../node_modules/.store/antd@5.17.3/node_modules/antd/locale/en_US.mjs";
22
- import { getColumnsWithTool as Ut, loopBuildSkeleton as Xt, resetScroll as Ie } from "./utils.mjs";
23
- import { getCssVar as Zt } from "./style.mjs";
24
- import pt from "./SortableRow.mjs";
25
- import Et from "./SortTableContext.mjs";
21
+ import Jt from "../../../node_modules/.store/antd@5.17.3/node_modules/antd/locale/en_US.mjs";
22
+ import { getColumnsWithTool as Qt, loopBuildSkeleton as Ut, resetScroll as De } from "./utils.mjs";
23
+ import { getCssVar as Xt } from "./style.mjs";
24
+ import Zt from "./SortableRow.mjs";
25
+ import pt from "./SortTableContext.mjs";
26
26
  import vt from "./ResizableTitle copy.mjs";
27
- import At from "../TextOverflow/index.mjs";
27
+ import Et from "../TextOverflow/index.mjs";
28
28
  import "./index.less.mjs";
29
- import { ConfigContext as Ft } from "../../../node_modules/.store/antd@5.17.3/node_modules/antd/es/config-provider/context.mjs";
30
- import es from "../../../node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/at.mjs";
31
- function ts({
32
- showPagination: D = !0,
29
+ import { ConfigContext as At } from "../../../node_modules/.store/antd@5.17.3/node_modules/antd/es/config-provider/context.mjs";
30
+ import Ft from "../../../node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/at.mjs";
31
+ function es({
32
+ showPagination: _ = !0,
33
33
  height: B,
34
- minHeight: Y,
34
+ minHeight: I,
35
35
  dataSource: C,
36
36
  total: T = 0,
37
- columns: A,
37
+ columns: ee,
38
38
  loading: c,
39
- skeletonNum: I = {
39
+ skeletonNum: J = {
40
40
  pc: 10,
41
41
  mobile: 10
42
42
  },
43
- skeletonRender: F,
44
- skeletonRowNum: Je = 4,
45
- skeletonRowsWidth: Qe = ["35%", "100%", "100%", "60%"],
43
+ skeletonRender: te,
44
+ skeletonRowNum: _e = 4,
45
+ skeletonRowsWidth: Ge = ["35%", "100%", "100%", "60%"],
46
46
  // mobileLoadEmit,
47
- mobileRefreshEmit: he,
47
+ mobileRefreshEmit: ue,
48
48
  operationFilter: a,
49
- enableControlPage: Ue,
49
+ enableControlPage: Ye,
50
50
  pagination: x,
51
51
  paginationEmit: q = () => {
52
52
  },
53
- onChange: ee,
53
+ onChange: se,
54
54
  enabledRowDragSort: K,
55
- onRowDragEnd: te,
56
- resizableColumns: J,
57
- mobilePageHeight: ss = 500,
58
- mobileCancelText: Xe = "取消",
59
- noDataTitle: Ze,
60
- noDataImg: pe,
61
- color: rs,
62
- size: be,
63
- showTableTool: Ee = !0,
64
- tableAction: ve,
65
- tableToolbar: Ae,
66
- selectionBar: Fe,
55
+ onRowDragEnd: re,
56
+ resizableColumns: Q,
57
+ mobilePageHeight: ts = 500,
58
+ mobileCancelText: Ie = "取消",
59
+ noDataTitle: Je,
60
+ noDataImg: Qe,
61
+ color: ss,
62
+ size: fe,
63
+ showTableTool: Ue = !0,
64
+ tableAction: Xe,
65
+ tableToolbar: Ze,
66
+ selectionBar: pe,
67
67
  scroll: u,
68
68
  components: S,
69
- expandable: g,
70
- rowSelection: H,
69
+ expandable: w,
70
+ rowSelection: $,
71
71
  selectionAlert: h,
72
- resetPage: et,
72
+ resetPage: ve,
73
73
  ...d
74
74
  }) {
75
- var Oe;
76
- const { token: j } = Yt.useToken(), { Table: f } = j, me = f.tableSpaceBetweenPage ?? 10, tt = f.cellPaddingInline ?? It, Q = f.minHeight ?? 500, { showColumnBorder: U, hideRowBorder: ye, rowHoverable: st, ...l } = De(Vt), [rt, X] = $(!1), [y, nt] = $([]);
77
- G(() => {
75
+ var $e;
76
+ const { token: g } = Gt.useToken(), { Table: f } = g, de = f.tableSpaceBetweenPage ?? 10, Ee = f.cellPaddingInline ?? Yt, U = f.minHeight ?? 500, { showColumnBorder: X, hideRowBorder: he, rowHoverable: Ae, ...l } = qe(Kt), [Fe, Z] = z(!1), [y, et] = z([]);
77
+ V(() => {
78
78
  let e = [...C ?? []];
79
- (x == null ? void 0 : x.page) !== 1 && (e = [...y, ...e]), nt(e);
80
- }, [m ? C : 0]);
81
- const Ce = i(() => !!(y != null && y.length) && (y == null ? void 0 : y.length) >= T, [y, T]), [Z, ot] = $([]), [lt, xe] = $(!1), ct = async (e, t) => {
82
- var o, b, w;
83
- let s, r = !1;
79
+ (x == null ? void 0 : x.page) !== 1 && (e = [...y, ...e]), et(e);
80
+ }, [b ? C : 0]);
81
+ const me = i(() => !!(y != null && y.length) && (y == null ? void 0 : y.length) >= T, [y, T]), [p, tt] = z([]), [st, be] = z(!1), rt = async (e, t) => {
82
+ var o, m, k;
83
+ let s, n = !1;
84
84
  if (typeof a == "function")
85
85
  s = (o = a == null ? void 0 : a(e, t)) == null ? void 0 : o.filter(
86
- (z) => z.type !== "divider"
86
+ (H) => H.type !== "divider"
87
87
  );
88
- else if (s = (b = a == null ? void 0 : a.custom) == null ? void 0 : b.call(a, e, t), a != null && a.request) {
89
- xe(!0), X(!0), r = !0;
88
+ else if (s = (m = a == null ? void 0 : a.custom) == null ? void 0 : m.call(a, e, t), a != null && a.request) {
89
+ be(!0), Z(!0), n = !0;
90
90
  try {
91
- const z = await (a == null ? void 0 : a.request(e, t));
92
- (w = a.fieldsName) != null && w.label ? s = z == null ? void 0 : z.map((_) => {
93
- var fe;
91
+ const H = await (a == null ? void 0 : a.request(e, t));
92
+ (k = a.fieldsName) != null && k.label ? s = H == null ? void 0 : H.map((G) => {
93
+ var Y;
94
94
  return {
95
- ..._,
96
- label: _ == null ? void 0 : _[((fe = a.fieldsName) == null ? void 0 : fe.label) ?? "label"]
95
+ ...G,
96
+ label: G == null ? void 0 : G[((Y = a.fieldsName) == null ? void 0 : Y.label) ?? "label"]
97
97
  };
98
- }) : s = z ?? [];
98
+ }) : s = H ?? [];
99
99
  } finally {
100
- xe(!1);
100
+ be(!1);
101
101
  }
102
102
  }
103
- s != null && s.length && (ot(s), r || X(!0));
104
- }, we = () => {
105
- X(!1);
106
- }, it = (e, t) => {
107
- var s, r;
108
- X(!1), (s = e.onClick) == null || s.call(e), !(e != null && e.onClick) && typeof a != "function" && (a != null && a.onClick) && a.onClick((r = Z == null ? void 0 : Z[t]) == null ? void 0 : r.key);
109
- }, se = V(null), ge = V(null), k = V(null), re = de(k), ne = V(null), oe = de(ne), le = V(null), O = de(le), at = (...e) => {
110
- Ie(se), ee == null || ee(...e);
111
- }, ut = (...e) => {
112
- Ie(se), q == null || q(...e);
113
- }, N = i(() => !(u != null && u.auto) && J, [u == null ? void 0 : u.auto, J]), je = () => {
103
+ s != null && s.length && (tt(s), n || Z(!0));
104
+ }, ye = () => {
105
+ Z(!1);
106
+ }, nt = (e, t) => {
107
+ var s, n;
108
+ Z(!1), (s = e.onClick) == null || s.call(e), !(e != null && e.onClick) && typeof a != "function" && (a != null && a.onClick) && a.onClick((n = p == null ? void 0 : p[t]) == null ? void 0 : n.key);
109
+ }, ne = D(null), Ce = D(null), j = D(null), xe = D(null), oe = D(null), O = _t(oe), ot = (...e) => {
110
+ De(ne), se == null || se(...e);
111
+ }, lt = (...e) => {
112
+ De(ne), q == null || q(...e);
113
+ }, N = i(() => !(u != null && u.auto) && Q, [u == null ? void 0 : u.auto, Q]), we = () => {
114
114
  var s;
115
- const e = (s = k.current) == null ? void 0 : s.querySelectorAll(
115
+ const e = (s = j.current) == null ? void 0 : s.querySelectorAll(
116
116
  "& > .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)"
117
117
  ), t = [];
118
- if (e == null || e.forEach((r) => {
118
+ if (e == null || e.forEach((n) => {
119
119
  var o;
120
120
  t.push(
121
- ((o = r.querySelector("& > .operationCol .actionGroup")) == null ? void 0 : o.clientWidth) || 0
121
+ ((o = n.querySelector("& > .operationCol .actionGroup")) == null ? void 0 : o.clientWidth) || 0
122
122
  );
123
123
  }), t.length)
124
- return Math.ceil(Math.max(...t)) + tt * 2;
125
- }, ft = () => {
126
- var r, o, b, w;
127
- let e = (r = k.current) == null ? void 0 : r.querySelector(
124
+ return Math.ceil(Math.max(...t)) + Ee * 2;
125
+ }, ct = () => {
126
+ var n, o, m, k;
127
+ let e = (n = j.current) == null ? void 0 : n.querySelector(
128
128
  ".ant-table-content"
129
129
  );
130
- e || (e = (o = k.current) == null ? void 0 : o.querySelector(
130
+ e || (e = (o = j.current) == null ? void 0 : o.querySelector(
131
131
  ".ant-table-body"
132
132
  ));
133
133
  let t = !1, s = 0;
134
- return e && (e.clientWidth - (U ? 1 : 0), t = e.offsetWidth - e.clientWidth > 0, s = (w = (b = k.current) == null ? void 0 : b.querySelector(
134
+ return e && (e.clientWidth - (X ? 1 : 0), t = e.offsetWidth - e.clientWidth > 0, s = (k = (m = j.current) == null ? void 0 : m.querySelector(
135
135
  ".ant-table-cell-scrollbar"
136
- )) == null ? void 0 : w.offsetWidth), { hasScrollBar: t, scrollbarSize: s };
137
- }, { y: ce, hasScrollBar: W, scrollbarSize: M } = i(() => {
138
- const { hasScrollBar: e, scrollbarSize: t } = ft();
136
+ )) == null ? void 0 : k.offsetWidth), { hasScrollBar: t, scrollbarSize: s };
137
+ }, ge = i(() => {
138
+ const e = (C ?? []).length, t = e > (J.pc ?? 10) ? e >= 15 ? 15 : e : J.pc ?? 10;
139
+ return Array.from({ length: t }).map((n, o) => ({
140
+ key: `${Date.now()}${o}`
141
+ }));
142
+ }, [C]), v = i(() => c ? ge : C ?? [], [c, C, ge]), [W, it] = z(!1), [M, at] = z(0);
143
+ V(() => {
144
+ const { hasScrollBar: e, scrollbarSize: t } = ct();
145
+ it(e), at(t);
146
+ }, [v, l.fullscreen]);
147
+ const le = i(() => {
139
148
  if (typeof B > "u")
140
- return {
141
- hasScrollBar: e,
142
- scrollbarSize: t
143
- };
144
- let s = 40, r = 40;
145
- if (k.current) {
146
- const Ve = window.getComputedStyle(k.current);
147
- s = parseInt(
148
- Ve.getPropertyValue(`--${l.tableSize}Table-height`)
149
- ), r = parseInt(Ve.getPropertyValue("--toolbar-height"));
149
+ return;
150
+ let e = 40, t = 40;
151
+ if (j.current) {
152
+ const Y = window.getComputedStyle(j.current);
153
+ e = parseInt(
154
+ Y.getPropertyValue(`--${l.tableSize}Table-height`)
155
+ ), t = parseInt(Y.getPropertyValue("--toolbar-height"));
150
156
  }
151
- const o = (O == null ? void 0 : O.height) || 0, b = o ? me : 0, w = Y ?? Q, z = B >= w ? B : w;
152
- return { y: (l.fullscreen ? window.innerHeight : z) - o - b - r - s, hasScrollBar: e, scrollbarSize: t };
157
+ const s = (O == null ? void 0 : O.height) || 0, n = s ? de : 0, o = I ?? U, m = B >= o ? B : o;
158
+ return (l.fullscreen ? window.innerHeight : m) - s - n - t - e;
153
159
  }, [
154
160
  l.fullscreen,
155
161
  B,
156
- Y,
157
- Q,
162
+ I,
163
+ U,
158
164
  O == null ? void 0 : O.height,
159
- re == null ? void 0 : re.height,
160
- oe == null ? void 0 : oe.height,
165
+ v,
161
166
  l.tableSize
162
- ]), dt = () => {
167
+ ]), ut = () => {
163
168
  let e = 0;
164
- if (k.current) {
165
- const s = window.getComputedStyle(k.current), r = parseInt(
169
+ if (j.current) {
170
+ const s = window.getComputedStyle(j.current), n = parseInt(
166
171
  s.getPropertyValue("--toolCell-paddingInline")
167
172
  );
168
- e = parseInt(s.getPropertyValue("--fontSize")) + 4 + 2 * r;
173
+ e = parseInt(s.getPropertyValue("--fontSize")) + 4 + 2 * n;
169
174
  }
170
175
  let t = 0;
171
- return H && (t += e), g && (t += e), K && (t += e), t;
172
- }, { sortColumns: P, toolColWidth: ke } = i(() => {
173
- const t = (A ?? []).filter((b) => !Dt.includes(b)), r = _t(
176
+ return $ && (t += e), w && (t += e), K && (t += e), t;
177
+ }, { sortColumns: P, toolColWidth: je } = i(() => {
178
+ const t = (ee ?? []).filter((m) => !Ot.includes(m)), n = Vt(
174
179
  t,
175
180
  l.columnsMap,
176
181
  l.finish
177
- ).sort(Gt(l.columnsMap));
182
+ ).sort(Dt(l.columnsMap));
178
183
  let o = 0;
179
- return m || (o = dt()), { sortColumns: r, toolColWidth: o };
180
- }, [l.columnsMap, l.finish, A]), [L, ze] = $([]), [ie, Be] = $(!1), p = V(!1);
181
- G(() => {
184
+ return b || (o = ut()), { sortColumns: n, toolColWidth: o };
185
+ }, [l.columnsMap, l.finish, ee]), [R, ke] = z([]), [ce, ze] = z(!1), E = D(!1);
186
+ V(() => {
182
187
  var s;
183
188
  const e = d.columnsState ?? {};
184
- ((s = Object.keys(e)) == null ? void 0 : s.length) || (p.current = !0);
185
- }, []), G(() => {
186
- if (N && (!ie || !p.current)) {
189
+ ((s = Object.keys(e)) == null ? void 0 : s.length) || (E.current = !0);
190
+ }, []), V(() => {
191
+ if (N && (!ce || !E.current)) {
187
192
  const e = P.map((t, s) => {
188
- let r = t.width;
189
- return t != null && t.isOperationCol && (t != null && t.useMaxWidth) && (r = je() ?? t.width), {
190
- key: Ge(t, s),
191
- width: r ?? 0
193
+ let n = t.width;
194
+ return t != null && t.isOperationCol && (t != null && t.useMaxWidth) && (n = we() ?? t.width), {
195
+ key: Oe(t, s),
196
+ width: n ?? 0
192
197
  };
193
198
  });
194
- ze(e), l.finish && (p.current = !0, Be(!0));
199
+ ke(e), l.finish && (E.current = !0, ze(!0));
195
200
  }
196
- }, [P, N, ie, l.finish]), G(() => {
197
- if (N && ie && p.current) {
201
+ }, [P, N, ce, l.finish]), V(() => {
202
+ if (N && ce && E.current) {
198
203
  const e = P.map((t, s) => {
199
- let r = t.width;
200
- return t != null && t.isOperationCol && (t != null && t.useMaxWidth) && (r = je() ?? t.width), {
201
- key: Ge(t, s),
202
- width: r ?? 0
204
+ let n = t.width;
205
+ return t != null && t.isOperationCol && (t != null && t.useMaxWidth) && (n = we() ?? t.width), {
206
+ key: Oe(t, s),
207
+ width: n ?? 0
203
208
  };
204
209
  });
205
- ze(e);
210
+ ke(e);
206
211
  }
207
212
  }, [P, N]);
208
- const [ae, ht] = $(0), bt = i(() => {
209
- if (N && ae)
213
+ const [ie, ft] = z(0), dt = i(() => {
214
+ if (N && ie)
210
215
  return {
211
- width: ae,
216
+ width: ie,
212
217
  maxWidth: "100%"
213
218
  };
214
- }, [N, ae]), Te = i(() => {
219
+ }, [N, ie]), Be = i(() => {
215
220
  let e;
216
- if (typeof ce == "number" && (e = ce - 1), typeof (u == null ? void 0 : u.y) == "number" && (e = u.y - 2), u != null && u.auto)
221
+ if (typeof le == "number" && (e = le - 1), typeof (u == null ? void 0 : u.y) == "number" && (e = u.y - 2), u != null && u.auto)
217
222
  return {
218
223
  x: void 0,
219
224
  y: e
220
225
  };
221
226
  let t = u == null ? void 0 : u.x;
222
- if (J) {
223
- t = L.reduce((o, b) => o + b.width, 0), t += ke;
224
- const s = U ? 1 : 0, r = W ? +M : 0;
225
- ht(t + s + r);
227
+ if (Q) {
228
+ t = R.reduce((o, m) => o + m.width, 0), t += je;
229
+ const s = X ? 1 : 0, n = W ? +M : 0;
230
+ ft(t + s + n);
226
231
  }
227
232
  return u != null && u.y ? { x: t, y: u.y } : { x: t, y: e };
228
233
  }, [
229
234
  u,
230
- ce,
231
- J,
232
- L,
233
- ke,
234
- U,
235
+ le,
236
+ Q,
237
+ R,
238
+ je,
239
+ X,
235
240
  W,
236
241
  M
237
- ]), R = i(() => {
238
- if (m)
242
+ ]), L = i(() => {
243
+ if (b)
239
244
  return P;
240
- const e = P.length - 1, t = P.map((s, r) => {
245
+ const e = P.length - 1, t = P.map((s, n) => {
241
246
  var o;
242
247
  return {
243
248
  ...s,
244
- ...e === r && {
245
- className: v(s.className, "lastColumn")
249
+ ...e === n && {
250
+ className: F(s.className, "lastColumn")
246
251
  },
247
- width: L.length ? (o = L[r]) == null ? void 0 : o.width : (s == null ? void 0 : s.width) || void 0,
248
- ...Te.x !== void 0 ? {
249
- onHeaderCell: (b) => ({
250
- width: b.width,
251
- stretchref: ge,
252
- datagridref: ne,
253
- onResize: mt(r)
252
+ width: R.length ? (o = R[n]) == null ? void 0 : o.width : (s == null ? void 0 : s.width) || void 0,
253
+ ...Be.x !== void 0 ? {
254
+ onHeaderCell: (m) => ({
255
+ width: m.width,
256
+ stretchref: Ce,
257
+ datagridref: xe,
258
+ onResize: ht(n)
254
259
  })
255
260
  } : {},
256
261
  ...!(s != null && s.render) && s.copyable ? {
257
- render: (b) => ["number", "bigint"].includes(typeof b) ? b : /* @__PURE__ */ n.jsx(At, { value: b })
262
+ render: (m) => ["number", "bigint"].includes(typeof m) ? m : /* @__PURE__ */ r.jsx(Et, { value: m })
258
263
  } : {}
259
264
  };
260
265
  });
261
- return Ut(
262
- A,
266
+ return Qt(
267
+ ee,
263
268
  t,
264
269
  K,
265
- !!H,
266
- !!g
270
+ !!$,
271
+ !!w
267
272
  );
268
- }, [P, L]), mt = (e) => (t, { size: s, minWidth: r }) => {
269
- const b = (s.width > r ? s.width : r) - L[e].width, w = `${L[e].key}`;
270
- Be(!0), l.setColumnsMap({
273
+ }, [P, R]), ht = (e) => (t, { size: s, minWidth: n }) => {
274
+ const m = (s.width > n ? s.width : n) - R[e].width, k = `${R[e].key}`;
275
+ ze(!0), l.setColumnsMap({
271
276
  ...l.columnsMap,
272
- [w]: {
273
- ...l.columnsMap[w],
274
- width: L[e].width + b
277
+ [k]: {
278
+ ...l.columnsMap[k],
279
+ width: R[e].width + m
275
280
  }
276
281
  });
277
- }, Se = i(() => Xt(R), [R]), yt = i(() => c ? Se : R, [c, R, Se]), Ne = i(() => {
278
- const e = (C ?? []).length, t = e > (I.pc ?? 10) ? e >= 15 ? 15 : e : I.pc ?? 10;
279
- return Array.from({ length: t }).map((r, o) => ({
280
- key: `${Date.now()}${o}`
281
- }));
282
- }, [C]), We = i(() => c ? Ne : C ?? [], [c, C, Ne]), { table: ue, locale: Ct = Qt } = De(Ft), xt = { ...Ct.Table }, wt = ((Oe = ue == null ? void 0 : ue.expandable) == null ? void 0 : Oe.expandIcon) || (g == null ? void 0 : g.expandIcon) || Jt(xt), Me = i(() => {
283
- if (g)
282
+ }, Te = i(() => Ut(L), [L]), mt = i(() => c ? Te : L, [c, L, Te]), { table: ae, locale: bt = Jt } = qe(At), yt = { ...bt.Table }, Ct = (($e = ae == null ? void 0 : ae.expandable) == null ? void 0 : $e.expandIcon) || (w == null ? void 0 : w.expandIcon) || It(yt), Se = i(() => {
283
+ if (w)
284
284
  return {
285
- ...g,
286
- expandedRowRender: () => /* @__PURE__ */ n.jsx(n.Fragment, {}),
285
+ ...w,
286
+ expandedRowRender: () => /* @__PURE__ */ r.jsx(r.Fragment, {}),
287
287
  expandIcon: (e) => {
288
- const t = wt(e);
288
+ const t = Ct(e);
289
289
  return {
290
290
  ...t,
291
291
  props: {
@@ -293,83 +293,83 @@ function ts({
293
293
  disabled: !0,
294
294
  style: {
295
295
  ...t.props.style,
296
- backgroundColor: j.colorBgContainerDisabled
296
+ backgroundColor: g.colorBgContainerDisabled
297
297
  }
298
298
  }
299
299
  };
300
300
  }
301
301
  };
302
- }, [g]), gt = i(() => c ? Me : g, [c, g, Me]), Pe = i(() => {
303
- if (H)
302
+ }, [w]), xt = i(() => c ? Se : w, [c, w, Se]), Ne = i(() => {
303
+ if ($)
304
304
  return {
305
- ...H,
305
+ ...$,
306
306
  selectedRowKeys: [],
307
307
  getCheckboxProps: () => ({ disabled: !0 })
308
308
  };
309
- }, [H]), jt = i(() => c ? Pe : H, [c, H, Pe]), Le = i(() => c ? "key" : d.rowKey, [c, d.rowKey]), Re = i(() => `${be ?? l.stylesConfig.size}BitzTable`, [be, l.stylesConfig.size]), kt = E(
309
+ }, [$]), wt = i(() => c ? Ne : $, [c, $, Ne]), We = i(() => c ? "key" : d.rowKey, [c, d.rowKey]), Me = i(() => `${fe ?? l.stylesConfig.size}BitzTable`, [fe, l.stylesConfig.size]), gt = A(
310
310
  (e, t) => {
311
- var r;
311
+ var n;
312
312
  if (!d.onRow || c)
313
313
  return {};
314
- const s = (r = d.onRow) == null ? void 0 : r.call(d, e, t);
314
+ const s = (n = d.onRow) == null ? void 0 : n.call(d, e, t);
315
315
  return s.onClick && (s.className = "rowPointerCursor"), s;
316
316
  },
317
317
  [d.onRow, c]
318
- ), zt = i(() => v(
318
+ ), jt = i(() => F(
319
319
  "bitzTableContainer",
320
- { hideBorder: ye },
320
+ { hideBorder: he },
321
321
  { hasScrollBar: W },
322
322
  { stickyTable: !!(d != null && d.sticky) },
323
- Re,
323
+ Me,
324
324
  d.className
325
325
  ), [
326
326
  d.className,
327
- Re,
327
+ Me,
328
328
  W,
329
329
  l.fullscreen,
330
- ye,
330
+ he,
331
331
  d.sticky
332
- ]), Bt = i(() => ({
333
- "--container-bgColor": j.colorBgContainer
334
- }), [j.colorBgContainer]), Tt = i(() => {
335
- const e = Y ?? Q;
332
+ ]), kt = i(() => ({
333
+ "--container-bgColor": g.colorBgContainer
334
+ }), [g.colorBgContainer]), zt = i(() => {
335
+ const e = I ?? U;
336
336
  let t;
337
337
  B && (t = B >= e ? B : e);
338
338
  const s = l.fullscreen ? "100%" : t;
339
- let r;
340
- return (M ?? 0) > 0 && (r = M), Zt({
339
+ let n;
340
+ return (M ?? 0) > 0 && (n = M), Xt({
341
341
  height: s ?? "auto",
342
- token: j,
343
- evenRowBgColor: l.zebra ? f == null ? void 0 : f.evenRowBgColor : j.colorBgContainer,
342
+ token: g,
343
+ evenRowBgColor: l.zebra ? f == null ? void 0 : f.evenRowBgColor : g.colorBgContainer,
344
344
  table: f,
345
- gap: me,
346
- borderColor: (f == null ? void 0 : f.borderColor) || j.colorBorderSecondary,
347
- scrollbarWidth: r,
345
+ gap: de,
346
+ borderColor: (f == null ? void 0 : f.borderColor) || g.colorBorderSecondary,
347
+ scrollbarWidth: n,
348
348
  other: d.style
349
349
  });
350
350
  }, [
351
351
  d.style,
352
352
  l.fullscreen,
353
353
  B,
354
- Y,
355
- Q,
354
+ I,
355
+ U,
356
356
  f,
357
357
  l == null ? void 0 : l.zebra,
358
358
  M
359
- ]), St = E(
359
+ ]), Bt = A(
360
360
  (e, t, s) => {
361
- const r = t % 2 === 0 ? "oddRow" : "evenRow";
361
+ const n = t % 2 === 0 ? "oddRow" : "evenRow";
362
362
  if (d.rowClassName) {
363
363
  const o = d.rowClassName(e, t, s);
364
- return v(r, o);
364
+ return F(n, o);
365
365
  }
366
- return r;
366
+ return n;
367
367
  },
368
368
  [d.rowClassName]
369
- ), He = i(() => /* @__PURE__ */ n.jsx(
370
- qt,
369
+ ), Pe = i(() => /* @__PURE__ */ r.jsx(
370
+ Ht,
371
371
  {
372
- finished: Ce,
372
+ finished: me,
373
373
  onLoad: async () => (
374
374
  // @ts-ignore
375
375
  !c && (q == null ? void 0 : q((x == null ? void 0 : x.page) + 1, x == null ? void 0 : x.size))
@@ -377,45 +377,45 @@ function ts({
377
377
  loadingText: "加载中...",
378
378
  finishedText: "没有更多了",
379
379
  errorText: "加载失败",
380
- children: /* @__PURE__ */ n.jsxs(
380
+ children: /* @__PURE__ */ r.jsxs(
381
381
  "div",
382
382
  {
383
383
  className: "mobileList",
384
384
  style: { backgroundColor: f == null ? void 0 : f.mobileListBgColor },
385
385
  children: [
386
- y == null ? void 0 : y.map((e, t) => /* @__PURE__ */ n.jsx(
386
+ y == null ? void 0 : y.map((e, t) => /* @__PURE__ */ r.jsx(
387
387
  "div",
388
388
  {
389
389
  className: "listItem",
390
390
  style: { backgroundColor: f == null ? void 0 : f.listItemBgColor },
391
- onClick: () => ct(e, t),
392
- children: R == null ? void 0 : R.map((s, r) => {
391
+ onClick: () => rt(e, t),
392
+ children: L == null ? void 0 : L.map((s, n) => {
393
393
  var o;
394
- return !(s != null && s.mobileHide) && /* @__PURE__ */ n.jsxs(
394
+ return !(s != null && s.mobileHide) && /* @__PURE__ */ r.jsxs(
395
395
  "div",
396
396
  {
397
397
  className: "row",
398
- style: { color: j.colorText },
398
+ style: { color: g.colorText },
399
399
  children: [
400
- !s.mobileHideLabel && /* @__PURE__ */ n.jsxs("div", { className: "label", children: [
400
+ !s.mobileHideLabel && /* @__PURE__ */ r.jsxs("div", { className: "label", children: [
401
401
  `${s.title}`,
402
402
  ":"
403
403
  ] }),
404
- /* @__PURE__ */ n.jsx("div", { className: "value", children: ((o = s == null ? void 0 : s.render) == null ? void 0 : o.call(
404
+ /* @__PURE__ */ r.jsx("div", { className: "value", children: ((o = s == null ? void 0 : s.render) == null ? void 0 : o.call(
405
405
  s,
406
- es(e, (s == null ? void 0 : s.dataIndex) || ""),
406
+ Ft(e, (s == null ? void 0 : s.dataIndex) || ""),
407
407
  e,
408
408
  t
409
409
  )) || (e == null ? void 0 : e[s.dataIndex]) })
410
410
  ]
411
411
  },
412
- r
412
+ n
413
413
  );
414
414
  })
415
415
  },
416
416
  t
417
417
  )),
418
- Array.from({ length: I.mobile ?? 2 }).map((e, t) => /* @__PURE__ */ n.jsx(
418
+ Array.from({ length: J.mobile ?? 2 }).map((e, t) => /* @__PURE__ */ r.jsx(
419
419
  "div",
420
420
  {
421
421
  className: "listItem",
@@ -423,13 +423,13 @@ function ts({
423
423
  display: c ? "block" : "none",
424
424
  backgroundColor: f == null ? void 0 : f.listItemBgColor
425
425
  },
426
- children: /* @__PURE__ */ n.jsx("div", { className: "row", children: F ? F() : /* @__PURE__ */ n.jsx(
427
- Mt,
426
+ children: /* @__PURE__ */ r.jsx("div", { className: "row", children: te ? te() : /* @__PURE__ */ r.jsx(
427
+ Nt,
428
428
  {
429
429
  title: !1,
430
430
  paragraph: {
431
- rows: Je,
432
- width: Qe
431
+ rows: _e,
432
+ width: Ge
433
433
  },
434
434
  active: !0
435
435
  }
@@ -442,21 +442,21 @@ function ts({
442
442
  )
443
443
  }
444
444
  ), [
445
- m ? Ce : 0,
446
- m ? c : 0,
447
- m ? x : 0,
448
- m ? f : 0,
449
- m ? y : 0,
450
- m ? R : 0,
451
- m ? I : 0,
452
- m ? F : 0
445
+ b ? me : 0,
446
+ b ? c : 0,
447
+ b ? x : 0,
448
+ b ? f : 0,
449
+ b ? y : 0,
450
+ b ? L : 0,
451
+ b ? J : 0,
452
+ b ? te : 0
453
453
  ]);
454
- G(() => {
454
+ V(() => {
455
455
  l.setSelected(!!(h != null && h.num));
456
456
  }, [h]);
457
- const $e = i(() => /* @__PURE__ */ n.jsxs("div", { className: "alert", children: [
458
- /* @__PURE__ */ n.jsx(
459
- Ye,
457
+ const Re = i(() => /* @__PURE__ */ r.jsxs("div", { className: "alert", children: [
458
+ /* @__PURE__ */ r.jsx(
459
+ Ve,
460
460
  {
461
461
  highlightTag: "strong",
462
462
  keywords: `${T}`,
@@ -464,18 +464,18 @@ function ts({
464
464
  tagClass: "totalText"
465
465
  }
466
466
  ),
467
- !!h && /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
468
- /* @__PURE__ */ n.jsx(_e.Text, { className: "splitBorder", children: "/" }),
469
- /* @__PURE__ */ n.jsx(
470
- Ye,
467
+ !!h && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
468
+ /* @__PURE__ */ r.jsx(Ke.Text, { className: "splitBorder", children: "/" }),
469
+ /* @__PURE__ */ r.jsx(
470
+ Ve,
471
471
  {
472
472
  highlightTag: "strong",
473
473
  keywords: `${(h == null ? void 0 : h.num) ?? 0}`,
474
474
  sourceString: `已选中 ${(h == null ? void 0 : h.num) ?? 0} 条`
475
475
  }
476
476
  ),
477
- !!(h != null && h.num) && /* @__PURE__ */ n.jsx(
478
- _e.Link,
477
+ !!(h != null && h.num) && /* @__PURE__ */ r.jsx(
478
+ Ke.Link,
479
479
  {
480
480
  className: "cleanSelected",
481
481
  onClick: h == null ? void 0 : h.onClear,
@@ -483,145 +483,145 @@ function ts({
483
483
  }
484
484
  )
485
485
  ] })
486
- ] }), [T, h]), Nt = (e) => {
487
- c || te == null || te(e);
488
- }, qe = E(() => K ? {
489
- row: (e) => pt({ ...e, loading: c == null ? void 0 : c.toString() })
490
- } : {}, [K, K ? c : !1]), Ke = E(
486
+ ] }), [T, h]), Tt = (e) => {
487
+ c || re == null || re(e);
488
+ }, Le = A(() => K ? {
489
+ row: (e) => Zt({ ...e, loading: c == null ? void 0 : c.toString() })
490
+ } : {}, [K, K ? c : !1]), He = A(
491
491
  (e) => {
492
- var r, o;
492
+ var n, o;
493
493
  if (N)
494
494
  return vt({ ...e, hasScrollBar: W, scrollbarSize: M });
495
495
  const t = { ...e };
496
- return ((r = t.className) == null ? void 0 : r.includes(
496
+ return ((n = t.className) == null ? void 0 : n.includes(
497
497
  "ant-table-cell-fix-right"
498
- )) && !W && ((o = t.style) != null && o.right) && (t.style = { ...t.style ?? {} }, t.style.right = Number(t.style.right ?? 0) - (M || 0)), /* @__PURE__ */ n.jsx("th", { ...t });
498
+ )) && !W && ((o = t.style) != null && o.right) && (t.style = { ...t.style ?? {} }, t.style.right = Number(t.style.right ?? 0) - (M || 0)), /* @__PURE__ */ r.jsx("th", { ...t });
499
499
  },
500
500
  [W, M, N]
501
- ), Wt = i(() => ({
501
+ ), St = i(() => ({
502
502
  ...S,
503
503
  header: {
504
504
  ...S == null ? void 0 : S.header,
505
- cell: Ke
505
+ cell: He
506
506
  },
507
507
  body: {
508
508
  ...S == null ? void 0 : S.body,
509
- ...qe()
509
+ ...Le()
510
510
  }
511
- }), [S, Ke, qe]);
512
- return /* @__PURE__ */ n.jsxs(
511
+ }), [S, He, Le]);
512
+ return /* @__PURE__ */ r.jsxs(
513
513
  "div",
514
514
  {
515
- className: v("bitzTableBlock", {
515
+ className: F("bitzTableBlock", {
516
516
  fullscreen: l.fullscreen
517
517
  }),
518
- style: Bt,
518
+ style: kt,
519
519
  children: [
520
- !m && /* @__PURE__ */ n.jsxs("div", { ref: k, className: zt, style: Tt, children: [
521
- /* @__PURE__ */ n.jsxs("div", { className: "bitzTableContainerBody", ref: ne, children: [
522
- Ee && /* @__PURE__ */ n.jsxs("div", { className: "bitzTableToolbarBlock", children: [
523
- ve || /* @__PURE__ */ n.jsx("div", {}),
524
- Ae,
525
- Fe
520
+ !b && /* @__PURE__ */ r.jsxs("div", { ref: j, className: jt, style: zt, children: [
521
+ /* @__PURE__ */ r.jsxs("div", { className: "bitzTableContainerBody", ref: xe, children: [
522
+ Ue && /* @__PURE__ */ r.jsxs("div", { className: "bitzTableToolbarBlock", children: [
523
+ Xe || /* @__PURE__ */ r.jsx("div", {}),
524
+ Ze,
525
+ pe
526
526
  ] }),
527
- /* @__PURE__ */ n.jsx(
527
+ /* @__PURE__ */ r.jsx(
528
528
  "div",
529
529
  {
530
530
  className: "stretchLine",
531
- ref: ge,
531
+ ref: Ce,
532
532
  style: {
533
- background: j.colorPrimary,
533
+ background: g.colorPrimary,
534
534
  bottom: W ? "var(--scrollbar-width)" : 0
535
535
  }
536
536
  }
537
537
  ),
538
- /* @__PURE__ */ n.jsx(
539
- Et,
538
+ /* @__PURE__ */ r.jsx(
539
+ pt,
540
540
  {
541
541
  enabledRowDragSort: K,
542
- dataSource: We,
543
- mergeRowKey: Le,
544
- onDragEnd: Nt,
545
- children: /* @__PURE__ */ n.jsx(
546
- Pt,
542
+ dataSource: v,
543
+ mergeRowKey: We,
544
+ onDragEnd: Tt,
545
+ children: /* @__PURE__ */ r.jsx(
546
+ Wt,
547
547
  {
548
548
  ...d,
549
- bordered: U,
550
- columns: yt,
551
- dataSource: We,
549
+ bordered: X,
550
+ columns: mt,
551
+ dataSource: v,
552
552
  loading: !1,
553
553
  pagination: !1,
554
- scroll: Te,
555
- expandable: gt,
556
- rowSelection: jt,
557
- style: bt,
558
- onRow: kt,
559
- rowHoverable: st,
560
- rowClassName: St,
554
+ scroll: Be,
555
+ expandable: xt,
556
+ rowSelection: wt,
557
+ style: dt,
558
+ onRow: gt,
559
+ rowHoverable: Ae,
560
+ rowClassName: Bt,
561
561
  className: "bitzTable",
562
- components: Wt,
563
- rowKey: Le,
564
- onChange: at,
565
- ref: se
562
+ components: St,
563
+ rowKey: We,
564
+ onChange: ot,
565
+ ref: ne
566
566
  }
567
567
  )
568
568
  }
569
569
  )
570
570
  ] }),
571
- D && !!T && /* @__PURE__ */ n.jsxs("div", { className: "bitzTablePagination", ref: le, children: [
572
- $e,
573
- /* @__PURE__ */ n.jsx(
574
- Ht,
571
+ _ && !!T && /* @__PURE__ */ r.jsxs("div", { className: "bitzTablePagination", ref: oe, children: [
572
+ Re,
573
+ /* @__PURE__ */ r.jsx(
574
+ Rt,
575
575
  {
576
576
  size: "small",
577
- enableControl: Ue,
577
+ enableControl: Ye,
578
578
  pagination: x,
579
579
  total: T,
580
580
  dataSource: C,
581
- resetPage: et,
581
+ resetPage: ve,
582
582
  hideTotalText: !0,
583
- paginationEmit: ut
583
+ paginationEmit: lt
584
584
  }
585
585
  )
586
586
  ] }),
587
- !D && !!h && !!T && /* @__PURE__ */ n.jsx("div", { className: "bitzTablePagination", ref: le, children: $e })
587
+ !_ && !!h && !!T && /* @__PURE__ */ r.jsx("div", { className: "bitzTablePagination", ref: oe, children: Re })
588
588
  ] }),
589
- m && /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
590
- (c || !!(C != null && C.length)) && /* @__PURE__ */ n.jsx(n.Fragment, { children: he ? (
589
+ b && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
590
+ (c || !!(C != null && C.length)) && /* @__PURE__ */ r.jsx(r.Fragment, { children: ue ? (
591
591
  // @ts-ignore
592
- /* @__PURE__ */ n.jsx(
593
- Kt,
592
+ /* @__PURE__ */ r.jsx(
593
+ $t,
594
594
  {
595
- onRefresh: async () => !c && he(),
596
- children: He
595
+ onRefresh: async () => !c && ue(),
596
+ children: Pe
597
597
  }
598
598
  )
599
- ) : He }),
600
- !c && /* @__PURE__ */ n.jsx($t, { data: C, title: Ze, img: pe }),
601
- /* @__PURE__ */ n.jsx(
602
- Rt,
599
+ ) : Pe }),
600
+ !c && /* @__PURE__ */ r.jsx(Lt, { data: C, title: Je, img: Qe }),
601
+ /* @__PURE__ */ r.jsx(
602
+ Pt,
603
603
  {
604
604
  className: "tableMobileDrawer",
605
- open: rt,
605
+ open: Fe,
606
606
  placement: "bottom",
607
607
  height: "auto",
608
608
  closable: !1,
609
- onClose: we,
610
- children: /* @__PURE__ */ n.jsxs("div", { className: "drawerBox", children: [
611
- /* @__PURE__ */ n.jsx("div", { className: "boxBody", children: lt ? /* @__PURE__ */ n.jsx("div", { className: "operaList", children: /* @__PURE__ */ n.jsx(Lt, {}) }) : Z.map((e, t) => /* @__PURE__ */ n.jsx(
609
+ onClose: ye,
610
+ children: /* @__PURE__ */ r.jsxs("div", { className: "drawerBox", children: [
611
+ /* @__PURE__ */ r.jsx("div", { className: "boxBody", children: st ? /* @__PURE__ */ r.jsx("div", { className: "operaList", children: /* @__PURE__ */ r.jsx(Mt, {}) }) : p.map((e, t) => /* @__PURE__ */ r.jsx(
612
612
  "div",
613
613
  {
614
614
  className: "operaList",
615
- onClick: () => it(e, t),
615
+ onClick: () => nt(e, t),
616
616
  ...e.danger && {
617
- style: { color: j.colorError }
617
+ style: { color: g.colorError }
618
618
  },
619
619
  children: e.label
620
620
  },
621
621
  t
622
622
  )) }),
623
- /* @__PURE__ */ n.jsx("div", { className: "boxLine" }),
624
- /* @__PURE__ */ n.jsx("div", { className: "boxFooter", onClick: we, children: Xe })
623
+ /* @__PURE__ */ r.jsx("div", { className: "boxLine" }),
624
+ /* @__PURE__ */ r.jsx("div", { className: "boxFooter", onClick: ye, children: Ie })
625
625
  ] })
626
626
  }
627
627
  )
@@ -630,7 +630,7 @@ function ts({
630
630
  }
631
631
  );
632
632
  }
633
- const qs = (D) => /* @__PURE__ */ n.jsx(Ot, { initValue: D, children: /* @__PURE__ */ n.jsx(ts, { ...D }) });
633
+ const Hs = (_) => /* @__PURE__ */ r.jsx(qt, { initValue: _, children: /* @__PURE__ */ r.jsx(es, { ..._ }) });
634
634
  export {
635
- qs as default
635
+ Hs as default
636
636
  };