bitz-react-admin-ui 2.3.3 → 2.3.4

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 (25) hide show
  1. package/dist/_virtual/dayjs.min.mjs +5 -2
  2. package/dist/_virtual/dayjs.min2.mjs +4 -0
  3. package/dist/components/BitzCalendar/index.mjs +1 -1
  4. package/dist/components/BitzDayJs/index.mjs +1 -1
  5. package/dist/components/BitzFuiCalendar/BitzFuiCalendarStore.mjs +1 -1
  6. package/dist/components/BitzFuiCalendar/CalendarAgendum.mjs +1 -1
  7. package/dist/components/BitzFuiCalendar/CalendarAgendumItem.mjs +1 -1
  8. package/dist/components/BitzFuiCalendar/CalendarBody.mjs +1 -1
  9. package/dist/components/BitzFuiCalendar/CalendarHead.mjs +1 -1
  10. package/dist/components/BitzFuiCalendar/CalendarHeadItem.mjs +1 -1
  11. package/dist/components/BitzFuiCalendar/CalendarToolbar.mjs +1 -1
  12. package/dist/components/BitzFuiCalendar/ColumnData.mjs +1 -1
  13. package/dist/components/BitzMeetingTime/BitzMeetingTimeItem.mjs +1 -1
  14. package/dist/components/BitzMeetingTime/index.mjs +1 -1
  15. package/dist/components/BitzTable/ActionCol/index.mjs +1 -1
  16. package/dist/components/BitzTable/ActionCol/style.mjs +8 -7
  17. package/dist/components/BitzTable/SelectionBar/SelectionBar.mjs +16 -24
  18. package/dist/components/BitzTable/Table/index.mjs +137 -133
  19. package/dist/components/BitzTable/ToolBar/Modal/style.mjs +43 -45
  20. package/dist/components/BitzTableSelect/SelectPopup/index.mjs +49 -49
  21. package/dist/node_modules/.store/dayjs@1.11.10/node_modules/dayjs/dayjs.min.mjs +292 -292
  22. package/dist/node_modules/.store/dayjs@1.11.10/node_modules/dayjs/locale/zh-cn.mjs +13 -13
  23. package/dist/style.css +1 -1
  24. package/dist/utils/time.mjs +1 -1
  25. package/package.json +1 -1
@@ -1,15 +1,15 @@
1
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 q, useState as k, useEffect as ke, useMemo as c, useCallback as K } from "react";
2
+ import { useContext as ke, useRef as q, useState as k, useEffect as oe, useMemo as c, useCallback as K } from "react";
3
3
  import { isMobile as O } from "../../../node_modules/.store/react-device-detect@2.2.3/node_modules/react-device-detect/dist/lib.mjs";
4
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";
5
+ import se 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
8
  import zt from "../../BitzNoData/index.mjs";
9
9
  import "../../BitzList/index.less.mjs";
10
- import pt from "../../BitzList/List.mjs";
10
+ import Wt from "../../BitzList/List.mjs";
11
11
  import "../../BitzPullRefresh/style/index.less.mjs";
12
- import Wt from "../../BitzPullRefresh/PullRefresh.mjs";
12
+ import pt from "../../BitzPullRefresh/PullRefresh.mjs";
13
13
  import Tt, { BitzTableContext as Nt, toolCols as kt } from "../Store/index.mjs";
14
14
  import { loopFilter as St, columnSort as Mt } from "../Store/utils/index.mjs";
15
15
  import ne from "../../../node_modules/.store/ahooks@3.7.11/node_modules/ahooks/es/useSize/index.mjs";
@@ -37,11 +37,11 @@ function Dt({
37
37
  pc: 10,
38
38
  mobile: 10
39
39
  },
40
- skeletonRender: se,
40
+ skeletonRender: le,
41
41
  skeletonRowNum: Le = 4,
42
42
  skeletonRowsWidth: Pe = ["35%", "100%", "100%", "60%"],
43
43
  // mobileLoadEmit,
44
- mobileRefreshEmit: le,
44
+ mobileRefreshEmit: ie,
45
45
  operationFilter: G,
46
46
  enableControlPage: ve,
47
47
  pagination: x,
@@ -54,7 +54,7 @@ function Dt({
54
54
  noDataTitle: He,
55
55
  noDataImg: $e,
56
56
  color: Gt,
57
- size: ie,
57
+ size: ae,
58
58
  showTableTool: Fe = !0,
59
59
  tableAction: Ve,
60
60
  tableToolbar: qe,
@@ -63,71 +63,71 @@ function Dt({
63
63
  components: z,
64
64
  expandable: g,
65
65
  rowSelection: T,
66
- selectionAlert: u,
66
+ selectionAlert: h,
67
67
  resetPage: Oe,
68
- ...f
68
+ ...m
69
69
  }) {
70
- var We;
71
- const { token: w } = Lt.useToken(), { Table: h } = w, {
72
- tableSpaceBetweenPage: ae = 10,
70
+ var Te;
71
+ const { token: w } = Lt.useToken(), { Table: d } = w, {
72
+ tableSpaceBetweenPage: ce = 10,
73
73
  cellPaddingInline: De = Pt
74
- } = h, { showColumnBorder: _e, hideRowBorder: ce, rowHoverable: Ge, ...m } = Ne(Nt), C = q(void 0), [J, Ie] = k(0), [Q, Je] = k(0), [U, Qe] = k(0), [Ue, X] = k(!1), [y, Xe] = k([]);
75
- ke(() => {
74
+ } = d, { showColumnBorder: _e, hideRowBorder: he, rowHoverable: Ge, ...u } = ke(Nt), C = q(void 0), [J, Ie] = k(0), [Q, Je] = k(0), [U, Qe] = k(0), [Ue, X] = k(!1), [y, Xe] = k([]);
75
+ oe(() => {
76
76
  let e = [...b ?? []];
77
77
  (x == null ? void 0 : x.page) !== 1 && (e = [...y, ...e]), Xe(e);
78
78
  }, [b]);
79
79
  const Ye = c(() => !!(y != null && y.length) && (y == null ? void 0 : y.length) >= j, [y, j]), [Ze, Ee] = k([]), Ae = (e, t) => {
80
- var s;
81
- const r = (s = G == null ? void 0 : G(e, t)) == null ? void 0 : s.filter(
82
- (n) => n.type !== "divider"
80
+ var n;
81
+ const r = (n = G == null ? void 0 : G(e, t)) == null ? void 0 : n.filter(
82
+ (s) => s.type !== "divider"
83
83
  );
84
84
  r != null && r.length && (Ee(r), X(!0));
85
- }, he = () => {
85
+ }, de = () => {
86
86
  X(!1);
87
87
  }, et = (e) => {
88
88
  var t;
89
89
  X(!1), (t = e.onClick) == null || t.call(e);
90
- }, B = q(null), Y = ne(B), de = q(null), Z = ne(de), E = q(null), M = ne(E), tt = () => {
90
+ }, B = q(null), Y = ne(B), ue = q(null), Z = ne(ue), E = q(null), M = ne(E), tt = () => {
91
91
  var r;
92
92
  const e = (r = B.current) == null ? void 0 : r.querySelectorAll(
93
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)"
94
94
  ), t = [];
95
- if (e == null || e.forEach((s) => {
96
- var n;
95
+ if (e == null || e.forEach((n) => {
96
+ var s;
97
97
  t.push(
98
- ((n = s.querySelector("& > .operationCol .actionGroup")) == null ? void 0 : n.clientWidth) || 0
98
+ ((s = n.querySelector("& > .operationCol .actionGroup")) == null ? void 0 : s.clientWidth) || 0
99
99
  );
100
100
  }), t.length)
101
101
  return Math.ceil(Math.max(...t)) + De * 2;
102
- }, ue = () => {
103
- var a, d, P, v;
102
+ }, fe = () => {
103
+ var a, f, P, v;
104
104
  let e = (a = B.current) == null ? void 0 : a.querySelector(
105
105
  ".ant-table-content"
106
106
  );
107
- e || (e = (d = B.current) == null ? void 0 : d.querySelector(
107
+ e || (e = (f = B.current) == null ? void 0 : f.querySelector(
108
108
  ".ant-table-body"
109
109
  ));
110
- const t = e == null ? void 0 : e.clientWidth, s = ((e == null ? void 0 : e.offsetWidth) || 0) - t > 0, n = (v = (P = B.current) == null ? void 0 : P.querySelector(
110
+ const t = e == null ? void 0 : e.clientWidth, n = ((e == null ? void 0 : e.offsetWidth) || 0) - t > 0, s = (v = (P = B.current) == null ? void 0 : P.querySelector(
111
111
  ".ant-table-cell-scrollbar"
112
112
  )) == null ? void 0 : v.offsetWidth;
113
- return { tbodyWidth: t, hasScrollBar: s, scrollbarSize: n };
113
+ return { tbodyWidth: t, hasScrollBar: n, scrollbarSize: s };
114
114
  }, { y: A, tbodyWidth: L, hasScrollBar: V, scrollbarSize: $ } = c(() => {
115
- const { tbodyWidth: e, hasScrollBar: t, scrollbarSize: r } = ue();
115
+ const { tbodyWidth: e, hasScrollBar: t, scrollbarSize: r } = fe();
116
116
  if (typeof H > "u")
117
117
  return {
118
118
  tbodyWidth: e,
119
119
  hasScrollBar: t,
120
120
  scrollbarSize: r
121
121
  };
122
- let s = 40, n = 40;
122
+ let n = 40, s = 40;
123
123
  if (B.current) {
124
- const W = window.getComputedStyle(B.current);
125
- s = parseInt(W.getPropertyValue("--cell-height")), n = parseInt(W.getPropertyValue("--toolbar-height"));
124
+ const p = window.getComputedStyle(B.current);
125
+ n = parseInt(p.getPropertyValue("--cell-height")), s = parseInt(p.getPropertyValue("--toolbar-height"));
126
126
  }
127
- const a = (M == null ? void 0 : M.height) || 0, d = a ? ae : 0;
128
- return { y: (m.fullscreen ? window.innerHeight : H) - a - d - n - s, tbodyWidth: e, hasScrollBar: t, scrollbarSize: r };
127
+ const a = (M == null ? void 0 : M.height) || 0, f = a ? ce : 0;
128
+ return { y: (u.fullscreen ? window.innerHeight : H) - a - f - s - n, tbodyWidth: e, hasScrollBar: t, scrollbarSize: r };
129
129
  }, [
130
- m.fullscreen,
130
+ u.fullscreen,
131
131
  H,
132
132
  M == null ? void 0 : M.height,
133
133
  Y == null ? void 0 : Y.height,
@@ -138,50 +138,50 @@ function Dt({
138
138
  }, [i, A, L, J, Q]), rt = () => {
139
139
  let e = 0;
140
140
  if (B.current) {
141
- const r = window.getComputedStyle(B.current), s = parseInt(
141
+ const r = window.getComputedStyle(B.current), n = parseInt(
142
142
  r.getPropertyValue("--toolCell-paddingInline")
143
143
  );
144
- e = parseInt(r.getPropertyValue("--fontSize")) + 4 + 2 * s;
144
+ e = parseInt(r.getPropertyValue("--fontSize")) + 4 + 2 * n;
145
145
  }
146
146
  let t = 0;
147
147
  return T && (t += e), g && (t += e), S && (t += e), t;
148
148
  }, ot = (e, t) => {
149
- const r = e.length, s = e.filter((W) => W.width), a = s.map((W) => W.width).reduce((W, xt) => W + xt, 0), { tbodyWidth: d } = ue(), v = Math.max((i == null ? void 0 : i.x) ?? 0, d ?? 0) - a - t, Te = r - s.length;
150
- return v >= 0 ? Math.floor(v / Te) : 0;
151
- }, { sortColumns: p, toolColWidth: fe } = c(() => {
152
- const t = (D ?? []).filter((P) => !kt.includes(P)), { filterColumns: r, hiddenTotalWidth: s, autoWidthColLength: n } = St(
149
+ const r = e.length, n = e.filter((p) => p.width), a = n.map((p) => p.width).reduce((p, xt) => p + xt, 0), { tbodyWidth: f } = fe(), v = Math.max((i == null ? void 0 : i.x) ?? 0, f ?? 0) - a - t, Ne = r - n.length;
150
+ return v >= 0 ? Math.floor(v / Ne) : 0;
151
+ }, { sortColumns: W, toolColWidth: me } = c(() => {
152
+ const t = (D ?? []).filter((P) => !kt.includes(P)), { filterColumns: r, hiddenTotalWidth: n, autoWidthColLength: s } = St(
153
153
  t,
154
- m.columnsMap
155
- ), a = r.sort(Mt(m.columnsMap));
156
- let d = 0;
157
- return O || (d = rt(), C.current = ot(t, d), Ie(s), Je(n)), { sortColumns: a, toolColWidth: d };
158
- }, [m.columnsMap, D]), [te, nt] = k([]);
159
- ke(() => {
154
+ u.columnsMap
155
+ ), a = r.sort(Mt(u.columnsMap));
156
+ let f = 0;
157
+ return O || (f = rt(), C.current = ot(t, f), Ie(n), Je(s)), { sortColumns: a, toolColWidth: f };
158
+ }, [u.columnsMap, D]), [te, st] = k([]);
159
+ oe(() => {
160
160
  if (C.current) {
161
161
  let e = 0;
162
162
  if (U) {
163
- const n = p == null ? void 0 : p.filter(
163
+ const s = W == null ? void 0 : W.filter(
164
164
  (a) => !a.width && !(a != null && a.isOperationCol)
165
165
  ).length;
166
- e = Math.floor(U / n);
166
+ e = Math.floor(U / s);
167
167
  }
168
168
  let t = 0, r = -1;
169
- const s = p.map((n, a) => {
170
- let d = n.width;
171
- 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;
169
+ const n = W.map((s, a) => {
170
+ let f = s.width;
171
+ return s != null && s.isOperationCol && (r = a, s != null && s.useMaxWidth && (f = tt() ?? s.width)), !f && (C != null && C.current) && (f = C.current + e), t += f ?? 0, f;
172
172
  });
173
- if (t < ee.x - fe) {
174
- const n = ee.x - fe - t;
173
+ if (t < ee.x - me) {
174
+ const s = ee.x - me - t;
175
175
  let a = 0;
176
- r === 0 && s.length > 1 && a++, s[a] = (s[a] ?? 0) + n;
176
+ r === 0 && n.length > 1 && a++, n[a] = (n[a] ?? 0) + s;
177
177
  }
178
- nt(s);
178
+ st(n);
179
179
  }
180
- }, [p, U]);
180
+ }, [W, U]);
181
181
  const N = c(() => {
182
182
  if (O)
183
- return p;
184
- const e = p.map((t, r) => ({
183
+ return W;
184
+ const e = W.map((t, r) => ({
185
185
  ...t,
186
186
  // ...(sortColumns[i + 1]?.isOperationCol && {
187
187
  // className: classNames(v.className, 'disabledResize'),
@@ -199,12 +199,12 @@ function Dt({
199
199
  !!T,
200
200
  !!g
201
201
  );
202
- }, [p, te]), me = c(() => $t(N), [N]), st = c(() => l ? me : N, [l, N, me]), be = c(() => {
202
+ }, [W, te]), be = c(() => $t(N), [N]), nt = c(() => l ? be : N, [l, N, be]), Ce = c(() => {
203
203
  const e = (b ?? []).length, t = e > (_.pc ?? 10) ? e >= 20 ? 20 : e : _.pc ?? 10;
204
- return Array.from({ length: t }).map((s, n) => ({
205
- key: `${Date.now()}${n}`
204
+ return Array.from({ length: t }).map((n, s) => ({
205
+ key: `${Date.now()}${s}`
206
206
  }));
207
- }, [b]), Ce = c(() => l ? be : b ?? [], [l, b, be]), { table: re, locale: lt = Rt } = Ne(Kt), it = { ...lt.Table }, at = ((We = re == null ? void 0 : re.expandable) == null ? void 0 : We.expandIcon) || (g == null ? void 0 : g.expandIcon) || vt(it), ye = c(() => {
207
+ }, [b]), ye = c(() => l ? Ce : b ?? [], [l, b, Ce]), { table: re, locale: lt = Rt } = ke(Kt), it = { ...lt.Table }, at = ((Te = re == null ? void 0 : re.expandable) == null ? void 0 : Te.expandIcon) || (g == null ? void 0 : g.expandIcon) || vt(it), xe = c(() => {
208
208
  if (g)
209
209
  return {
210
210
  ...g,
@@ -224,69 +224,69 @@ function Dt({
224
224
  };
225
225
  }
226
226
  };
227
- }, [g]), ct = c(() => l ? ye : g, [l, g, ye]), xe = c(() => {
227
+ }, [g]), ct = c(() => l ? xe : g, [l, g, xe]), ge = c(() => {
228
228
  if (T)
229
229
  return {
230
230
  ...T,
231
231
  selectedRowKeys: [],
232
232
  getCheckboxProps: () => ({ disabled: !0 })
233
233
  };
234
- }, [T]), ht = c(() => l ? xe : T, [l, T, xe]), ge = c(() => l ? "key" : f.rowKey, [l, f.rowKey]), we = c(() => `${ie ?? m.stylesConfig.size}BitzTable`, [ie, m.stylesConfig.size]), dt = K(
234
+ }, [T]), ht = c(() => l ? ge : T, [l, T, ge]), we = c(() => l ? "key" : m.rowKey, [l, m.rowKey]), Be = c(() => `${ae ?? u.stylesConfig.size}BitzTable`, [ae, u.stylesConfig.size]), dt = K(
235
235
  (e, t) => {
236
- var s;
237
- if (!f.onRow || l)
236
+ var n;
237
+ if (!m.onRow || l)
238
238
  return {};
239
- const r = (s = f.onRow) == null ? void 0 : s.call(f, e, t);
239
+ const r = (n = m.onRow) == null ? void 0 : n.call(m, e, t);
240
240
  return r.onClick && (r.className = "rowPointerCursor"), r;
241
241
  },
242
- [f.onRow, l]
243
- ), ut = c(() => oe(
242
+ [m.onRow, l]
243
+ ), ut = c(() => se(
244
244
  "bitzTableContainer",
245
- { hideBorder: ce },
245
+ { hideBorder: he },
246
246
  { hasScrollBar: V },
247
- we,
248
- f.className
247
+ Be,
248
+ m.className
249
249
  ), [
250
- f.className,
251
- we,
250
+ m.className,
251
+ Be,
252
252
  V,
253
- m.fullscreen,
254
- ce
253
+ u.fullscreen,
254
+ he
255
255
  ]), ft = c(() => ({
256
256
  "--container-bgColor": w.colorBgContainer
257
257
  }), [w.colorBgContainer]), mt = c(() => {
258
- const e = m.fullscreen ? "100%" : H;
258
+ const e = u.fullscreen ? "100%" : H;
259
259
  let t;
260
260
  return ($ ?? 0) > 0 && (t = $), Ft({
261
261
  height: e,
262
262
  fontFamily: w.fontFamily,
263
- evenRowBgColor: m.zebra ? h == null ? void 0 : h.evenRowBgColor : w.colorBgContainer,
263
+ evenRowBgColor: u.zebra ? d == null ? void 0 : d.evenRowBgColor : w.colorBgContainer,
264
264
  colorBgContainer: w.colorBgContainer,
265
- table: h,
266
- gap: ae,
267
- borderColor: (h == null ? void 0 : h.borderColor) || w.colorBorderSecondary,
265
+ table: d,
266
+ gap: ce,
267
+ borderColor: (d == null ? void 0 : d.borderColor) || w.colorBorderSecondary,
268
268
  scrollbarWidth: t,
269
- other: f.style
269
+ other: m.style
270
270
  });
271
271
  }, [
272
- f.style,
273
- m.fullscreen,
272
+ m.style,
273
+ u.fullscreen,
274
274
  H,
275
- h,
276
- m == null ? void 0 : m.zebra,
275
+ d,
276
+ u == null ? void 0 : u.zebra,
277
277
  $
278
278
  ]), bt = K(
279
279
  (e, t, r) => {
280
- const s = t % 2 === 0 ? "oddRow" : "evenRow";
281
- if (f.rowClassName) {
282
- const n = f.rowClassName(e, t, r);
283
- return oe(s, n);
280
+ const n = t % 2 === 0 ? "oddRow" : "evenRow";
281
+ if (m.rowClassName) {
282
+ const s = m.rowClassName(e, t, r);
283
+ return se(n, s);
284
284
  }
285
- return s;
285
+ return n;
286
286
  },
287
- [f.rowClassName]
288
- ), Be = /* @__PURE__ */ o.jsx(
289
- pt,
287
+ [m.rowClassName]
288
+ ), je = /* @__PURE__ */ o.jsx(
289
+ Wt,
290
290
  {
291
291
  finished: Ye,
292
292
  onLoad: async () => (
@@ -300,16 +300,16 @@ function Dt({
300
300
  "div",
301
301
  {
302
302
  className: "mobileList",
303
- style: { backgroundColor: h == null ? void 0 : h.mobileListBgColor },
303
+ style: { backgroundColor: d == null ? void 0 : d.mobileListBgColor },
304
304
  children: [
305
305
  y == null ? void 0 : y.map((e, t) => /* @__PURE__ */ o.jsx(
306
306
  "div",
307
307
  {
308
308
  className: "listItem",
309
- style: { backgroundColor: h == null ? void 0 : h.listItemBgColor },
309
+ style: { backgroundColor: d == null ? void 0 : d.listItemBgColor },
310
310
  onClick: () => Ae(e, t),
311
- children: N == null ? void 0 : N.map((r, s) => {
312
- var n;
311
+ children: N == null ? void 0 : N.map((r, n) => {
312
+ var s;
313
313
  return !(r != null && r.mobileHide) && /* @__PURE__ */ o.jsxs(
314
314
  "div",
315
315
  {
@@ -320,7 +320,7 @@ function Dt({
320
320
  `${r.title}`,
321
321
  ":"
322
322
  ] }),
323
- /* @__PURE__ */ o.jsx("div", { className: "value", children: ((n = r == null ? void 0 : r.render) == null ? void 0 : n.call(
323
+ /* @__PURE__ */ o.jsx("div", { className: "value", children: ((s = r == null ? void 0 : r.render) == null ? void 0 : s.call(
324
324
  r,
325
325
  Ot(e, (r == null ? void 0 : r.dataIndex) || ""),
326
326
  e,
@@ -328,7 +328,7 @@ function Dt({
328
328
  )) || (e == null ? void 0 : e[r.dataIndex]) })
329
329
  ]
330
330
  },
331
- s
331
+ n
332
332
  );
333
333
  })
334
334
  },
@@ -340,9 +340,9 @@ function Dt({
340
340
  className: "listItem",
341
341
  style: {
342
342
  display: l ? "block" : "none",
343
- backgroundColor: h == null ? void 0 : h.listItemBgColor
343
+ backgroundColor: d == null ? void 0 : d.listItemBgColor
344
344
  },
345
- children: /* @__PURE__ */ o.jsx("div", { className: "row", children: se ? se() : /* @__PURE__ */ o.jsx(
345
+ children: /* @__PURE__ */ o.jsx("div", { className: "row", children: le ? le() : /* @__PURE__ */ o.jsx(
346
346
  gt,
347
347
  {
348
348
  title: !1,
@@ -360,7 +360,11 @@ function Dt({
360
360
  }
361
361
  )
362
362
  }
363
- ), je = c(() => /* @__PURE__ */ o.jsxs("div", { className: "alert", children: [
363
+ );
364
+ oe(() => {
365
+ u.setSelected(!!(h != null && h.num));
366
+ }, [h]);
367
+ const ze = c(() => /* @__PURE__ */ o.jsxs("div", { className: "alert", children: [
364
368
  /* @__PURE__ */ o.jsx(
365
369
  Me,
366
370
  {
@@ -370,36 +374,36 @@ function Dt({
370
374
  tagClass: "totalText"
371
375
  }
372
376
  ),
373
- !!u && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
377
+ !!h && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
374
378
  /* @__PURE__ */ o.jsx(Se.Text, { className: "splitBorder", children: "/" }),
375
379
  /* @__PURE__ */ o.jsx(
376
380
  Me,
377
381
  {
378
382
  highlightTag: "strong",
379
- keywords: `${(u == null ? void 0 : u.num) ?? 0}`,
380
- sourceString: `已选中 ${(u == null ? void 0 : u.num) ?? 0} 条`
383
+ keywords: `${(h == null ? void 0 : h.num) ?? 0}`,
384
+ sourceString: `已选中 ${(h == null ? void 0 : h.num) ?? 0} 条`
381
385
  }
382
386
  ),
383
- !!(u != null && u.num) && /* @__PURE__ */ o.jsx(
387
+ !!(h != null && h.num) && /* @__PURE__ */ o.jsx(
384
388
  Se.Link,
385
389
  {
386
390
  className: "cleanSelected",
387
- onClick: u == null ? void 0 : u.onClear,
391
+ onClick: h == null ? void 0 : h.onClear,
388
392
  children: "取消选中"
389
393
  }
390
394
  )
391
395
  ] })
392
- ] }), [j, u]), Ct = (e) => {
396
+ ] }), [j, h]), Ct = (e) => {
393
397
  l || I == null || I(e);
394
- }, ze = K(() => S ? {
398
+ }, We = K(() => S ? {
395
399
  row: (e) => Vt({ ...e, loading: l == null ? void 0 : l.toString() })
396
400
  } : {}, [S, S ? l : !1]), pe = K(
397
401
  (e) => {
398
- var s, n;
402
+ var n, s;
399
403
  const t = { ...e };
400
- return ((s = t.className) == null ? void 0 : s.includes(
404
+ return ((n = t.className) == null ? void 0 : n.includes(
401
405
  "ant-table-cell-fix-right"
402
- )) && !V && ((n = t.style) != null && n.right) && (t.style = { ...t.style ?? {} }, t.style.right = Number(t.style.right ?? 0) - ($ || 0)), /* @__PURE__ */ o.jsx("th", { ...t });
406
+ )) && !V && ((s = t.style) != null && s.right) && (t.style = { ...t.style ?? {} }, t.style.right = Number(t.style.right ?? 0) - ($ || 0)), /* @__PURE__ */ o.jsx("th", { ...t });
403
407
  },
404
408
  [V, $]
405
409
  ), yt = c(() => ({
@@ -410,19 +414,19 @@ function Dt({
410
414
  },
411
415
  body: {
412
416
  ...z == null ? void 0 : z.body,
413
- ...ze()
417
+ ...We()
414
418
  }
415
- }), [z, pe, ze]);
419
+ }), [z, pe, We]);
416
420
  return /* @__PURE__ */ o.jsxs(
417
421
  "div",
418
422
  {
419
- className: oe("bitzTableBlock", {
420
- fullscreen: m.fullscreen
423
+ className: se("bitzTableBlock", {
424
+ fullscreen: u.fullscreen
421
425
  }),
422
426
  style: ft,
423
427
  children: [
424
428
  !O && /* @__PURE__ */ o.jsxs("div", { ref: B, className: ut, style: mt, children: [
425
- /* @__PURE__ */ o.jsxs("div", { className: "bitzTableContainerBody", ref: de, children: [
429
+ /* @__PURE__ */ o.jsxs("div", { className: "bitzTableContainerBody", ref: ue, children: [
426
430
  Fe && /* @__PURE__ */ o.jsxs("div", { className: "bitzTableToolbarBlock", children: [
427
431
  Ve || /* @__PURE__ */ o.jsx("div", {}),
428
432
  qe,
@@ -432,16 +436,16 @@ function Dt({
432
436
  qt,
433
437
  {
434
438
  enabledRowDragSort: S,
435
- dataSource: Ce,
436
- mergeRowKey: ge,
439
+ dataSource: ye,
440
+ mergeRowKey: we,
437
441
  onDragEnd: Ct,
438
442
  children: /* @__PURE__ */ o.jsx(
439
443
  wt,
440
444
  {
441
- ...f,
445
+ ...m,
442
446
  bordered: _e,
443
- columns: st,
444
- dataSource: Ce,
447
+ columns: nt,
448
+ dataSource: ye,
445
449
  loading: !1,
446
450
  pagination: !1,
447
451
  scroll: ee,
@@ -452,14 +456,14 @@ function Dt({
452
456
  rowClassName: bt,
453
457
  className: "bitzTable",
454
458
  components: yt,
455
- rowKey: ge
459
+ rowKey: we
456
460
  }
457
461
  )
458
462
  }
459
463
  )
460
464
  ] }),
461
465
  R && !!j && /* @__PURE__ */ o.jsxs("div", { className: "bitzTablePagination", ref: E, children: [
462
- je,
466
+ ze,
463
467
  /* @__PURE__ */ o.jsx(
464
468
  jt,
465
469
  {
@@ -474,19 +478,19 @@ function Dt({
474
478
  }
475
479
  )
476
480
  ] }),
477
- !R && !!u && !!j && /* @__PURE__ */ o.jsx("div", { className: "bitzTablePagination", ref: E, children: je })
481
+ !R && !!h && !!j && /* @__PURE__ */ o.jsx("div", { className: "bitzTablePagination", ref: E, children: ze })
478
482
  ] }),
479
483
  O && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
480
- (l || !!(b != null && b.length)) && /* @__PURE__ */ o.jsx(o.Fragment, { children: le ? (
484
+ (l || !!(b != null && b.length)) && /* @__PURE__ */ o.jsx(o.Fragment, { children: ie ? (
481
485
  // @ts-ignore
482
486
  /* @__PURE__ */ o.jsx(
483
- Wt,
487
+ pt,
484
488
  {
485
- onRefresh: async () => !l && le(),
486
- children: Be
489
+ onRefresh: async () => !l && ie(),
490
+ children: je
487
491
  }
488
492
  )
489
- ) : Be }),
493
+ ) : je }),
490
494
  !l && /* @__PURE__ */ o.jsx(zt, { data: b, title: He, img: $e }),
491
495
  /* @__PURE__ */ o.jsx(
492
496
  Bt,
@@ -496,7 +500,7 @@ function Dt({
496
500
  placement: "bottom",
497
501
  height: "auto",
498
502
  closable: !1,
499
- onClose: he,
503
+ onClose: de,
500
504
  children: /* @__PURE__ */ o.jsxs("div", { className: "drawerBox", children: [
501
505
  /* @__PURE__ */ o.jsx("div", { className: "boxBody", children: Ze.map((e, t) => /* @__PURE__ */ o.jsx(
502
506
  "div",
@@ -511,7 +515,7 @@ function Dt({
511
515
  t
512
516
  )) }),
513
517
  /* @__PURE__ */ o.jsx("div", { className: "boxLine" }),
514
- /* @__PURE__ */ o.jsx("div", { className: "boxFooter", onClick: he, children: Re })
518
+ /* @__PURE__ */ o.jsx("div", { className: "boxFooter", onClick: de, children: Re })
515
519
  ] })
516
520
  }
517
521
  )
@@ -1,61 +1,59 @@
1
- import { css as l } from "../../../../node_modules/.store/@emotion_css@11.11.2/node_modules/@emotion/css/dist/emotion-css.esm.mjs";
2
- import { columnsSortStyles as n, appearanceConfigStyles as r, exportConfigStyles as d } from "../ColConfigIcon/style.mjs";
3
- const i = (o) => {
1
+ import { css as r } from "../../../../node_modules/.store/@emotion_css@11.11.2/node_modules/@emotion/css/dist/emotion-css.esm.mjs";
2
+ import { columnsSortStyles as l, appearanceConfigStyles as n, exportConfigStyles as d } from "../ColConfigIcon/style.mjs";
3
+ const f = (o) => {
4
4
  var t, a, e;
5
- return l`
6
- .ant-modal-content {
7
- max-height: calc(100vh - 200px);
8
- display: flex;
9
- flex-direction: column;
10
- background-color: ${(t = o.Modal) == null ? void 0 : t.contentBg};
11
-
12
- .ant-modal-header {
13
- font-size: 16px;
14
- font-weight: 700;
15
- background-color: ${(a = o.Modal) == null ? void 0 : a.headerBg};
16
- }
5
+ return r`
6
+ &.tableConfigModal {
7
+ .ant-modal-content {
8
+ max-height: calc(100vh - 200px);
9
+ display: flex;
10
+ flex-direction: column;
11
+ background-color: ${(t = o.Modal) == null ? void 0 : t.contentBg};
12
+
13
+ .ant-modal-header {
14
+ font-size: 16px;
15
+ font-weight: 700;
16
+ background-color: ${(a = o.Modal) == null ? void 0 : a.headerBg};
17
+ }
17
18
 
18
- .ant-modal-body {
19
- flex: 1;
20
- overflow: hidden auto;
21
- }
19
+ .ant-modal-body {
20
+ flex: 1;
21
+ overflow: hidden auto;
22
22
 
23
- .ant-modal-footer {
24
- width: 100%;
25
- align-self: flex-end;
26
- text-align: left;
27
- margin: 0;
28
- padding: 20px;
29
- background-color: ${(e = o.Modal) == null ? void 0 : e.footerBg};
30
- }
31
- }
32
- `;
33
- }, f = (o) => l`
34
- &.tableConfigModal {
35
- ${i(o)}
23
+ .pointerCursor {
24
+ cursor: pointer;
25
+ }
36
26
 
37
- .pointerCursor {
38
- cursor: pointer;
39
- }
27
+ .container {
28
+ .ant-card-body {
29
+ width: 100%;
30
+ }
40
31
 
41
- .container {
42
- .ant-card-body {
43
- width: 100%;
44
- }
32
+ .containerBody {
33
+ width: 100%;
34
+ position: relative;
45
35
 
46
- .containerBody {
47
- width: 100%;
48
- position: relative;
36
+ ${l(o)}
49
37
 
50
- ${n(o)}
38
+ ${n(o)}
51
39
 
52
- ${r(o)}
40
+ ${d(o)}
41
+ }
42
+ }
43
+ }
53
44
 
54
- ${d(o)}
45
+ .ant-modal-footer {
46
+ width: 100%;
47
+ align-self: flex-end;
48
+ text-align: left;
49
+ margin: 0;
50
+ padding: 20px;
51
+ background-color: ${(e = o.Modal) == null ? void 0 : e.footerBg};
55
52
  }
56
53
  }
57
54
  }
58
55
  `;
56
+ };
59
57
  export {
60
58
  f as styles
61
59
  };