bitz-react-admin-ui 2.2.9 → 2.3.0

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.
@@ -13,10 +13,10 @@ import pt from "../../BitzPullRefresh/PullRefresh.mjs";
13
13
  import Nt, { BitzTableContext as kt, toolCols as St } from "../Store/index.mjs";
14
14
  import { loopFilter as Mt, columnSort as Lt } from "../Store/utils/index.mjs";
15
15
  import se from "../../../node_modules/.store/ahooks@3.7.11/node_modules/ahooks/es/useSize/index.mjs";
16
- import vt from "../ActionCol/style.mjs";
17
- import Ht from "../../BitzTheme/index.mjs";
18
- import ve from "../../BitzHighlight/index.mjs";
19
- import Rt from "../../../node_modules/.store/antd@5.16.2/node_modules/antd/es/table/ExpandIcon.mjs";
16
+ import Ht from "../ActionCol/style.mjs";
17
+ import Rt from "../../BitzTheme/index.mjs";
18
+ import He from "../../BitzHighlight/index.mjs";
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
21
  import Pt from "../../../node_modules/.store/antd@5.16.2/node_modules/antd/locale/en_US.mjs";
22
22
  import { getColumnsWithTool as $t, loopBuildSkeleton as Ot } from "./utils.mjs";
@@ -28,8 +28,8 @@ import "./index.less.mjs";
28
28
  import { ConfigContext as Ft } from "../../../node_modules/.store/antd@5.16.2/node_modules/antd/es/config-provider/context.mjs";
29
29
  import _t from "../../../node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/at.mjs";
30
30
  function Gt({
31
- showPagination: H = !0,
32
- height: R,
31
+ showPagination: R = !0,
32
+ height: v,
33
33
  dataSource: m,
34
34
  total: j = 0,
35
35
  columns: P,
@@ -39,13 +39,13 @@ function Gt({
39
39
  mobile: 10
40
40
  },
41
41
  skeletonRender: ne,
42
- skeletonRowNum: He = 4,
43
- skeletonRowsWidth: Re = ["35%", "100%", "100%", "60%"],
42
+ skeletonRowNum: Re = 4,
43
+ skeletonRowsWidth: ve = ["35%", "100%", "100%", "60%"],
44
44
  // mobileLoadEmit,
45
45
  mobileRefreshEmit: ie,
46
46
  operationFilter: G,
47
47
  enableControlPage: Pe,
48
- pagination: C,
48
+ pagination: y,
49
49
  paginationEmit: O = () => {
50
50
  },
51
51
  enabledRowDragSort: M,
@@ -60,21 +60,21 @@ function Gt({
60
60
  tableAction: qe,
61
61
  tableToolbar: De,
62
62
  selectionBar: Fe,
63
- scroll: a,
63
+ scroll: c,
64
64
  components: W,
65
- expandable: y,
65
+ expandable: x,
66
66
  rowSelection: p,
67
- selectionAlert: u,
67
+ selectionAlert: d,
68
68
  resetPage: _e,
69
- ...f
69
+ ...u
70
70
  }) {
71
71
  var Ne;
72
- const { token: x } = Ht.useToken(), { Table: c } = x, { tableSpaceBetweenPage: ae = 10 } = c, { gap: Ge } = vt(), { showColumnBorder: Ee, hideRowBorder: ce, rowHoverable: Je, ...d } = Se(kt), w = q(void 0), [J, Qe] = S(0), [Q, Ue] = S(0), [U, Xe] = S(0), [Ye, X] = S(!1), [b, Ze] = S([]);
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
73
  Me(() => {
74
74
  let e = [...m ?? []];
75
- (C == null ? void 0 : C.page) !== 1 && (e = [...b, ...e]), Ze(e);
75
+ (y == null ? void 0 : y.page) !== 1 && (e = [...C, ...e]), Ze(e);
76
76
  }, [m]);
77
- const Ie = l(() => !!(b != null && b.length) && (b == null ? void 0 : b.length) >= j, [b, j]), [Ae, et] = S([]), tt = (e, t) => {
77
+ const Ie = l(() => !!(C != null && C.length) && (C == null ? void 0 : C.length) >= j, [C, j]), [Ae, et] = S([]), tt = (e, t) => {
78
78
  var o;
79
79
  const r = (o = G == null ? void 0 : G(e, t)) == null ? void 0 : o.filter(
80
80
  (n) => n.type !== "divider"
@@ -98,16 +98,16 @@ function Gt({
98
98
  }), t.length)
99
99
  return Math.ceil(Math.max(...t)) + Ge * 2;
100
100
  }, ue = () => {
101
- var h, g, K;
102
- const e = (h = z.current) == null ? void 0 : h.querySelector(
101
+ var f, w, K;
102
+ const e = (f = z.current) == null ? void 0 : f.querySelector(
103
103
  ".ant-table-body"
104
- ), t = e == null ? void 0 : e.clientWidth, o = ((e == null ? void 0 : e.offsetWidth) || 0) - t > 0, n = (K = (g = z.current) == null ? void 0 : g.querySelector(
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(
105
105
  ".ant-table-cell-scrollbar"
106
106
  )) == null ? void 0 : K.offsetWidth;
107
107
  return { tbodyWidth: t, hasScrollBar: o, scrollbarSize: n };
108
- }, { y: A, tbodyWidth: v, hasScrollBar: V, scrollbarSize: $ } = l(() => {
108
+ }, { y: A, tbodyWidth: H, hasScrollBar: V, scrollbarSize: $ } = l(() => {
109
109
  const { tbodyWidth: e, hasScrollBar: t, scrollbarSize: r } = ue();
110
- if (typeof R > "u")
110
+ if (typeof v > "u")
111
111
  return {
112
112
  tbodyWidth: e,
113
113
  hasScrollBar: t,
@@ -118,18 +118,18 @@ function Gt({
118
118
  const T = window.getComputedStyle(z.current);
119
119
  o = parseInt(T.getPropertyValue("--cell-height")), n = parseInt(T.getPropertyValue("--toolbar-height"));
120
120
  }
121
- const h = (L == null ? void 0 : L.height) || 0, g = h ? ae : 0;
122
- return { y: (d.fullscreen ? window.innerHeight : R) - h - g - n - o, tbodyWidth: e, hasScrollBar: t, scrollbarSize: r };
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
123
  }, [
124
- d.fullscreen,
125
- R,
124
+ h.fullscreen,
125
+ v,
126
126
  L == null ? void 0 : L.height,
127
127
  Y == null ? void 0 : Y.height,
128
128
  Z == null ? void 0 : Z.height
129
129
  ]), ee = l(() => {
130
- let e = (a == null ? void 0 : a.x) ?? 1e3;
131
- return J && (e -= J), Q && w.current && (e -= Q * w.current), v && (a != null && a.x && e < v && (a == null ? void 0 : a.x) > v && Xe(v - e), e = Math.max(e, v)), a != null && a.x ? { x: e, y: a.y || A } : a != null && a.y ? { x: e, y: a.y } : { x: e, y: A };
132
- }, [a, A, v, J, Q]), fe = () => {
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 = () => {
133
133
  let e = 0;
134
134
  if (z.current) {
135
135
  const r = window.getComputedStyle(z.current), o = parseInt(
@@ -138,42 +138,44 @@ function Gt({
138
138
  e = parseInt(r.getPropertyValue("--fontSize")) + 4 + 2 * o;
139
139
  }
140
140
  let t = 0;
141
- return p && (t += e), y && (t += e), M && (t += e), t;
141
+ return p && (t += e), x && (t += e), M && (t += e), t;
142
142
  }, st = (e, t) => {
143
- const r = e.length, o = e.filter((T) => T.width), h = o.map((T) => T.width).reduce((T, gt) => T + gt, 0), { tbodyWidth: g } = ue(), re = Math.max((a == null ? void 0 : a.x) ?? 0, g ?? 0) - h - t, ke = r - o.length;
144
- return re >= 0 ? Math.floor(re / ke) : void 0;
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
145
  }, me = l(() => {
146
146
  var e;
147
147
  return ((e = (P ?? []).find((t) => t.isOperationCol)) == null ? void 0 : e.width) ?? 0;
148
148
  }, [P]), B = l(() => {
149
- const t = (P ?? []).filter((g) => !St.includes(g)), { filterColumns: r, hiddenTotalWidth: o, autoWidthColLength: n } = Mt(
149
+ const t = (P ?? []).filter((w) => !St.includes(w)), { filterColumns: r, hiddenTotalWidth: o, autoWidthColLength: n } = Mt(
150
150
  t,
151
- d.columnsMap
152
- ), h = r.sort(Lt(d.columnsMap));
151
+ h.columnsMap
152
+ ), f = r.sort(Lt(h.columnsMap));
153
153
  if (!D) {
154
- const g = fe();
155
- w.current = st(t, g), Qe(o), Ue(n);
154
+ const w = fe();
155
+ b.current = st(t, w), Qe(o), Ue(n);
156
156
  }
157
- return h;
158
- }, [d.columnsMap, me]), be = l(() => fe(), [d.columnsMap, me]), [N, Ce] = S([]);
157
+ return f;
158
+ }, [h.columnsMap, me]), be = l(() => fe(), [h.columnsMap, me]), [N, Ce] = S([]);
159
159
  Me(() => {
160
- let e = 0;
161
- if (U) {
162
- const o = B == null ? void 0 : B.filter(
163
- (n) => !n.width && !(n != null && n.isOperationCol)
164
- ).length;
165
- e = Math.floor(U / o);
166
- }
167
- let t = 0;
168
- const r = B.map((o, n) => {
169
- let h = o.width;
170
- return o != null && o.useMaxWidth && (o != null && o.isOperationCol) && (h = ot() ?? o.width), h || (h = ((w == null ? void 0 : w.current) || 0) + e), t += h, h;
171
- });
172
- if (t < ee.x - be) {
173
- const o = ee.x - be - t;
174
- r[0] = r[0] + o;
160
+ if (b.current) {
161
+ let e = 0;
162
+ if (U) {
163
+ const o = B == null ? void 0 : B.filter(
164
+ (n) => !n.width && !(n != null && n.isOperationCol)
165
+ ).length;
166
+ e = Math.floor(U / o);
167
+ }
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;
172
+ });
173
+ if (t < ee.x - be) {
174
+ const o = ee.x - be - t;
175
+ r[0] = (r[0] ?? 0) + o;
176
+ }
177
+ Ce(r);
175
178
  }
176
- Ce(r);
177
179
  }, [B, U]);
178
180
  const k = l(() => {
179
181
  if (D)
@@ -185,7 +187,7 @@ function Gt({
185
187
  ...((o = B[r + 1]) == null ? void 0 : o.isOperationCol) && {
186
188
  className: F(t.className, "disabledResize")
187
189
  },
188
- width: N.length ? N[r] : (w == null ? void 0 : w.current) ?? void 0,
190
+ width: N.length ? N[r] : b == null ? void 0 : b.current,
189
191
  onHeaderCell: (n) => ({
190
192
  width: n.width,
191
193
  onResize: nt(r)
@@ -197,23 +199,23 @@ function Gt({
197
199
  e,
198
200
  M,
199
201
  !!p,
200
- !!y
202
+ !!x
201
203
  );
202
204
  }, [P, B, N]), nt = (e) => (t, { size: r }) => {
203
- const o = [...N], n = e + 1, h = r.width - N[e];
204
- o[e] = N[e] + h, o[n] = N[n] - h, o[e] > 48 && o[n] > 48 && Ce(o);
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);
205
207
  }, ye = l(() => Ot(k), [k]), it = l(() => i ? ye : k, [i, k, ye]), xe = l(() => {
206
208
  const e = (m ?? []).length, t = e > (_.pc ?? 10) ? e >= 20 ? 20 : e : _.pc ?? 10;
207
209
  return Array.from({ length: t }).map((o, n) => ({
208
210
  key: `${Date.now()}${n}`
209
211
  }));
210
- }, [m]), ge = l(() => i ? xe : m ?? [], [i, m, xe]), { table: te, locale: lt = Pt } = Se(Ft), at = { ...lt.Table }, ct = ((Ne = te == null ? void 0 : te.expandable) == null ? void 0 : Ne.expandIcon) || (y == null ? void 0 : y.expandIcon) || Rt(at), we = l(() => {
211
- if (y)
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)
212
214
  return {
213
- ...y,
215
+ ...x,
214
216
  expandedRowRender: () => /* @__PURE__ */ s.jsx(s.Fragment, {}),
215
217
  expandIcon: (e) => {
216
- const t = ct(e);
218
+ const t = at(e);
217
219
  return {
218
220
  ...t,
219
221
  props: {
@@ -221,80 +223,80 @@ function Gt({
221
223
  disabled: !0,
222
224
  style: {
223
225
  ...t.props.style,
224
- backgroundColor: x.colorBgContainerDisabled
226
+ backgroundColor: g.colorBgContainerDisabled
225
227
  }
226
228
  }
227
229
  };
228
230
  }
229
231
  };
230
- }, [y]), ht = l(() => i ? we : y, [i, y, we]), ze = l(() => {
232
+ }, [x]), ht = l(() => i ? we : x, [i, x, we]), ze = l(() => {
231
233
  if (p)
232
234
  return {
233
235
  ...p,
234
236
  selectedRowKeys: [],
235
237
  getCheckboxProps: () => ({ disabled: !0 })
236
238
  };
237
- }, [p]), dt = l(() => i ? ze : p, [i, p, ze]), Be = l(() => i ? "key" : f.rowKey, [i, f.rowKey]), je = l(() => `${le ?? d.stylesConfig.size}BitzTable`, [le, d.stylesConfig.size]), ut = oe(
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(
238
240
  (e, t) => {
239
241
  var o;
240
- if (!f.onRow || i)
242
+ if (!u.onRow || i)
241
243
  return {};
242
- const r = (o = f.onRow) == null ? void 0 : o.call(f, e, t);
244
+ const r = (o = u.onRow) == null ? void 0 : o.call(u, e, t);
243
245
  return r.onClick && (r.className = "rowPointerCursor"), r;
244
246
  },
245
- [f.onRow, i]
247
+ [u.onRow, i]
246
248
  ), ft = l(() => F(
247
249
  "bitzTableContainer",
248
- { hideBorder: ce },
250
+ { hideBorder: ae },
249
251
  { hasScrollBar: V },
250
252
  je,
251
- f.className
253
+ u.className
252
254
  ), [
253
- f.className,
255
+ u.className,
254
256
  je,
255
257
  V,
256
- d.fullscreen,
257
- ce
258
+ h.fullscreen,
259
+ ae
258
260
  ]), mt = l(() => ({
259
- "--container-bgColor": x.colorBgContainer
260
- }), [x.colorBgContainer]), bt = l(() => {
261
- const e = d.fullscreen ? "100%" : R;
261
+ "--container-bgColor": g.colorBgContainer
262
+ }), [g.colorBgContainer]), bt = l(() => {
263
+ const e = h.fullscreen ? "100%" : v;
262
264
  let t;
263
265
  return ($ ?? 0) > 0 && (t = $), Vt({
264
266
  height: e,
265
- fontFamily: x.fontFamily,
266
- evenRowBgColor: d.zebra ? c == null ? void 0 : c.evenRowBgColor : x.colorBgContainer,
267
- colorBgContainer: x.colorBgContainer,
268
- table: c,
269
- gap: ae,
270
- borderColor: (c == null ? void 0 : c.borderColor) || x.colorBorderSecondary,
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,
271
273
  scrollbarWidth: t,
272
- other: f.style
274
+ other: u.style
273
275
  });
274
276
  }, [
275
- f.style,
276
- d.fullscreen,
277
- R,
278
- c,
279
- d == null ? void 0 : d.zebra,
277
+ u.style,
278
+ h.fullscreen,
279
+ v,
280
+ a,
281
+ h == null ? void 0 : h.zebra,
280
282
  $
281
283
  ]), Ct = oe(
282
284
  (e, t, r) => {
283
285
  const o = t % 2 === 0 ? "oddRow" : "evenRow";
284
- if (f.rowClassName) {
285
- const n = f.rowClassName(e, t, r);
286
+ if (u.rowClassName) {
287
+ const n = u.rowClassName(e, t, r);
286
288
  return F(o, n);
287
289
  }
288
290
  return o;
289
291
  },
290
- [f.rowClassName]
292
+ [u.rowClassName]
291
293
  ), We = /* @__PURE__ */ s.jsx(
292
294
  Tt,
293
295
  {
294
296
  finished: Ie,
295
297
  onLoad: async () => (
296
298
  // @ts-ignore
297
- !i && (O == null ? void 0 : O((C == null ? void 0 : C.page) + 1, C == null ? void 0 : C.size))
299
+ !i && (O == null ? void 0 : O((y == null ? void 0 : y.page) + 1, y == null ? void 0 : y.size))
298
300
  ),
299
301
  loadingText: "加载中...",
300
302
  finishedText: "没有更多了",
@@ -303,13 +305,13 @@ function Gt({
303
305
  "div",
304
306
  {
305
307
  className: "mobileList",
306
- style: { backgroundColor: c == null ? void 0 : c.mobileListBgColor },
308
+ style: { backgroundColor: a == null ? void 0 : a.mobileListBgColor },
307
309
  children: [
308
- b == null ? void 0 : b.map((e, t) => /* @__PURE__ */ s.jsx(
310
+ C == null ? void 0 : C.map((e, t) => /* @__PURE__ */ s.jsx(
309
311
  "div",
310
312
  {
311
313
  className: "listItem",
312
- style: { backgroundColor: c == null ? void 0 : c.listItemBgColor },
314
+ style: { backgroundColor: a == null ? void 0 : a.listItemBgColor },
313
315
  onClick: () => tt(e, t),
314
316
  children: k == null ? void 0 : k.map((r, o) => {
315
317
  var n;
@@ -317,7 +319,7 @@ function Gt({
317
319
  "div",
318
320
  {
319
321
  className: "row",
320
- style: { color: x.colorText },
322
+ style: { color: g.colorText },
321
323
  children: [
322
324
  !r.mobileHideLabel && /* @__PURE__ */ s.jsxs("div", { className: "label", children: [
323
325
  `${r.title}`,
@@ -343,15 +345,15 @@ function Gt({
343
345
  className: "listItem",
344
346
  style: {
345
347
  display: i ? "block" : "none",
346
- backgroundColor: c == null ? void 0 : c.listItemBgColor
348
+ backgroundColor: a == null ? void 0 : a.listItemBgColor
347
349
  },
348
350
  children: /* @__PURE__ */ s.jsx("div", { className: "row", children: ne ? ne() : /* @__PURE__ */ s.jsx(
349
351
  wt,
350
352
  {
351
353
  title: !1,
352
354
  paragraph: {
353
- rows: He,
354
- width: Re
355
+ rows: Re,
356
+ width: ve
355
357
  },
356
358
  active: !0
357
359
  }
@@ -365,7 +367,7 @@ function Gt({
365
367
  }
366
368
  ), Te = l(() => /* @__PURE__ */ s.jsxs("div", { className: "alert", children: [
367
369
  /* @__PURE__ */ s.jsx(
368
- ve,
370
+ He,
369
371
  {
370
372
  highlightTag: "strong",
371
373
  keywords: `${j}`,
@@ -373,26 +375,26 @@ function Gt({
373
375
  tagClass: "totalText"
374
376
  }
375
377
  ),
376
- !!u && /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
378
+ !!d && /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
377
379
  /* @__PURE__ */ s.jsx(Le.Text, { className: "splitBorder", children: "/" }),
378
380
  /* @__PURE__ */ s.jsx(
379
- ve,
381
+ He,
380
382
  {
381
383
  highlightTag: "strong",
382
- keywords: `${(u == null ? void 0 : u.num) ?? 0}`,
383
- sourceString: `已选中 ${(u == null ? void 0 : u.num) ?? 0} 条`
384
+ keywords: `${(d == null ? void 0 : d.num) ?? 0}`,
385
+ sourceString: `已选中 ${(d == null ? void 0 : d.num) ?? 0} 条`
384
386
  }
385
387
  ),
386
- !!(u != null && u.num) && /* @__PURE__ */ s.jsx(
388
+ !!(d != null && d.num) && /* @__PURE__ */ s.jsx(
387
389
  Le.Link,
388
390
  {
389
391
  className: "cleanSelected",
390
- onClick: u == null ? void 0 : u.onClear,
392
+ onClick: d == null ? void 0 : d.onClear,
391
393
  children: "取消选中"
392
394
  }
393
395
  )
394
396
  ] })
395
- ] }), [j, u]), yt = (e) => {
397
+ ] }), [j, d]), yt = (e) => {
396
398
  var t;
397
399
  i || e.active.id !== ((t = e.over) == null ? void 0 : t.id) && (E == null || E(e));
398
400
  }, pe = oe(() => M ? {
@@ -412,7 +414,7 @@ function Gt({
412
414
  "div",
413
415
  {
414
416
  className: F("bitzTableBlock", {
415
- fullscreen: d.fullscreen
417
+ fullscreen: h.fullscreen
416
418
  }),
417
419
  style: mt,
418
420
  children: [
@@ -433,7 +435,7 @@ function Gt({
433
435
  children: /* @__PURE__ */ s.jsx(
434
436
  zt,
435
437
  {
436
- ...f,
438
+ ...u,
437
439
  bordered: Ee,
438
440
  columns: it,
439
441
  dataSource: ge,
@@ -453,14 +455,14 @@ function Gt({
453
455
  }
454
456
  )
455
457
  ] }),
456
- H && !!j && /* @__PURE__ */ s.jsxs("div", { className: "bitzTablePagination", ref: I, children: [
458
+ R && !!j && /* @__PURE__ */ s.jsxs("div", { className: "bitzTablePagination", ref: I, children: [
457
459
  Te,
458
460
  /* @__PURE__ */ s.jsx(
459
461
  jt,
460
462
  {
461
463
  size: "small",
462
464
  enableControl: Pe,
463
- pagination: C,
465
+ pagination: y,
464
466
  total: j,
465
467
  dataSource: m,
466
468
  resetPage: _e,
@@ -469,7 +471,7 @@ function Gt({
469
471
  }
470
472
  )
471
473
  ] }),
472
- !H && !!u && !!j && /* @__PURE__ */ s.jsx("div", { className: "bitzTablePagination", ref: I, children: Te })
474
+ !R && !!d && !!j && /* @__PURE__ */ s.jsx("div", { className: "bitzTablePagination", ref: I, children: Te })
473
475
  ] }),
474
476
  D && /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
475
477
  (i || !!(m != null && m.length)) && /* @__PURE__ */ s.jsx(s.Fragment, { children: ie ? (
@@ -499,7 +501,7 @@ function Gt({
499
501
  className: "operaList",
500
502
  onClick: () => rt(e),
501
503
  ...e.danger && {
502
- style: { color: x.colorError }
504
+ style: { color: g.colorError }
503
505
  },
504
506
  children: e.label
505
507
  },
@@ -515,7 +517,7 @@ function Gt({
515
517
  }
516
518
  );
517
519
  }
518
- const Br = (H) => /* @__PURE__ */ s.jsx(Nt, { initValue: H, children: /* @__PURE__ */ s.jsx(Gt, { ...H }) });
520
+ const Br = (R) => /* @__PURE__ */ s.jsx(Nt, { initValue: R, children: /* @__PURE__ */ s.jsx(Gt, { ...R }) });
519
521
  export {
520
522
  Br as default
521
523
  };