bitz-react-admin-ui 2.2.6 → 2.2.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.
@@ -1,5 +1,5 @@
1
1
  import { BitzTableColumnsType } from '..';
2
2
  /** build skeleton */
3
- export declare function loopBuildSkeleton<T>(columns: BitzTableColumnsType<T>, toolCols: any): BitzTableColumnsType<T>;
3
+ export declare function loopBuildSkeleton<T>(columns: BitzTableColumnsType<T>): BitzTableColumnsType<T>;
4
4
  /** 设置复选框列、展开列的位置 */
5
- export declare function getColumnsWithTool<T>(sortCols: any, cols: any, showRowSelection: any, expandable: any): BitzTableColumnsType<T>;
5
+ export declare function getColumnsWithTool<T>(cols: any, sortCols: any, enabledRowDragSort: any, showRowSelection: any, showExpandable: any): BitzTableColumnsType<T>;
@@ -1,41 +1,47 @@
1
- import { j as f } from "../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
2
- import { Skeleton as x, Table as d } from "antd";
3
- function a(i, r) {
4
- return i == null ? void 0 : i.map((e) => {
5
- const n = { ...e };
6
- return e != null && e.isOperationCol || e != null && e.isDragSortCol || e != null && e.isCheckboxCol || e != null && e.isExpandIconCol || r.includes(e) ? e : (n != null && n.children && (n.children = a(n == null ? void 0 : n.children, r)), {
7
- ...n,
1
+ import { j as p } from "../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
2
+ import { Skeleton as a, Table as s } from "antd";
3
+ import { toolCols as I, SORTER_COLUMN as x } from "../Store/index.mjs";
4
+ function O(l) {
5
+ return l == null ? void 0 : l.map((o) => {
6
+ const e = { ...o };
7
+ return o != null && o.isOperationCol || o != null && o.isCheckboxCol || o != null && o.isExpandIconCol || I.includes(o) ? o : (e != null && e.children && (e.children = O(e == null ? void 0 : e.children)), {
8
+ ...e,
8
9
  sorter: !1,
9
- render: (t, l, o) => /* @__PURE__ */ f.jsx(
10
- x,
10
+ render: (c, d, t) => /* @__PURE__ */ p.jsx(
11
+ a,
11
12
  {
12
13
  active: !0,
13
14
  title: !1,
14
15
  paragraph: {
15
16
  rows: 1,
16
- width: (o + 1) % 2 === 0 ? "100%" : "60%"
17
+ width: (t + 1) % 2 === 0 ? "100%" : "60%"
17
18
  }
18
19
  }
19
20
  )
20
21
  });
21
22
  });
22
23
  }
23
- const C = 0, p = 1;
24
- function u(i, r, e, n) {
25
- const t = [...r];
26
- let l = C;
24
+ const u = 0, E = 1, h = 2;
25
+ function k(l, o, e, c, d) {
26
+ const t = [...l ?? []], i = [...o];
27
+ let r = u;
27
28
  if (e) {
28
- const o = (i ?? []).indexOf(d.SELECTION_COLUMN);
29
- o >= 0 && (l = o), t.splice(l, 0, d.SELECTION_COLUMN);
29
+ const n = t.indexOf(x);
30
+ n >= 0 && (r = n), i.splice(r, 0, x);
30
31
  }
31
- if (n) {
32
- let o = 0;
33
- const c = (i ?? []).indexOf(d.EXPAND_COLUMN);
34
- c >= 0 && (o = c), e && l === 0 && c === -1 && (o = p), t.splice(o, 0, d.EXPAND_COLUMN);
32
+ let f = 0;
33
+ if (c) {
34
+ const n = t.indexOf(s.SELECTION_COLUMN);
35
+ n >= 0 && (f = n), e && r === 0 && n === -1 && (f = E), i.splice(f, 0, s.SELECTION_COLUMN);
35
36
  }
36
- return t;
37
+ if (d) {
38
+ let n = 0;
39
+ const C = t.indexOf(s.EXPAND_COLUMN);
40
+ C >= 0 && (n = C), e && r === 0 && C === -1 && (n = 1), c && f === 1 && C === -1 && (n = h), i.splice(n, 0, s.EXPAND_COLUMN);
41
+ }
42
+ return i;
37
43
  }
38
44
  export {
39
- u as getColumnsWithTool,
40
- a as loopBuildSkeleton
45
+ k as getColumnsWithTool,
46
+ O as loopBuildSkeleton
41
47
  };
@@ -1,14 +1,14 @@
1
- import { j as c } from "../../../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
1
+ import { j as r } from "../../../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
2
2
  import { css as me } from "../../../../../node_modules/.store/@emotion_css@11.11.2/node_modules/@emotion/css/dist/emotion-css.esm.mjs";
3
3
  import { theme as pe, Flex as F, Typography as q, Space as xe, Checkbox as ge, Button as Ce } from "antd";
4
- import { forwardRef as ye, useRef as ke, useMemo as k, useContext as Me, useEffect as G, useState as m, useImperativeHandle as Se, memo as we } from "react";
5
- import { useImmer as Le } from "../../../../../node_modules/.store/use-immer@0.9.0/node_modules/use-immer/dist/use-immer.module.mjs";
4
+ import { forwardRef as ye, useRef as ke, useMemo as k, useContext as Me, useEffect as G, useState as m, useImperativeHandle as we, memo as Le } from "react";
5
+ import { useImmer as Se } from "../../../../../node_modules/.store/use-immer@0.9.0/node_modules/use-immer/dist/use-immer.module.mjs";
6
6
  import je from "../../../../../node_modules/.store/ahooks@3.7.11/node_modules/ahooks/es/useSize/index.mjs";
7
7
  import "../../../index.mjs";
8
8
  import { columnSort as Ke, genColumnKey as be, updateNestedObject as j } from "../../../Store/utils/index.mjs";
9
9
  import J from "./DndList.mjs";
10
- import { BitzTableContext as Ne } from "../../../Store/index.mjs";
11
- import ve from "../../../../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/RedoOutlined.mjs";
10
+ import { BitzTableContext as ve } from "../../../Store/index.mjs";
11
+ import Ne from "../../../../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/RedoOutlined.mjs";
12
12
  import Ee from "../../../../../node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/omit.mjs";
13
13
  const Re = ye(
14
14
  ({ display: K, parentHeight: I }, H) => {
@@ -28,14 +28,14 @@ const Re = ye(
28
28
  height: k(() => typeof I == "number" && I && (f != null && f.height) ? I - (f == null ? void 0 : f.height) - 16 : "auto", [I, f == null ? void 0 : f.height]),
29
29
  overflow: "hidden auto",
30
30
  gap: 6
31
- }, { defaultColumnKeyMap: se, columns: U, columnsMap: oe } = Me(Ne), [i, V] = Le({});
31
+ }, { defaultColumnKeyMap: se, columns: U, columnsMap: oe } = Me(ve), [i, V] = Se({});
32
32
  G(() => {
33
33
  V({ ...oe });
34
34
  }, []);
35
- const W = k(() => ((o, t) => o.map((s) => {
35
+ const W = k(() => ((s, t) => s.map((n) => {
36
36
  var _;
37
- const { key: n, dataIndex: r, children: l, ...C } = s, y = be(
38
- s,
37
+ const { key: o, dataIndex: c, children: l, ...C } = n, y = be(
38
+ n,
39
39
  [t == null ? void 0 : t.columnKey, C.index].join("-")
40
40
  ), u = i[y || "null"] || {
41
41
  show: !0
@@ -49,145 +49,145 @@ const Re = ye(
49
49
  isLeaf: t ? !0 : void 0,
50
50
  ...u
51
51
  };
52
- }).filter((s) => !(s != null && s.isDragSortCol)))(U ?? []).sort(Ke(i)), [i, U]);
52
+ }))(U ?? []).sort(Ke(i)), [i, U]);
53
53
  G(() => {
54
- var s, n;
55
- const e = {}, o = {}, t = {};
56
- for (const r in i)
57
- ((s = i[r]) == null ? void 0 : s.fixed) === "left" ? e[r] = i[r] : ((n = i[r]) == null ? void 0 : n.fixed) === "right" ? o[r] = i[r] : t[r] = i[r];
58
- p(e), x(o), g(t);
54
+ var n, o;
55
+ const e = {}, s = {}, t = {};
56
+ for (const c in i)
57
+ ((n = i[c]) == null ? void 0 : n.fixed) === "left" ? e[c] = i[c] : ((o = i[c]) == null ? void 0 : o.fixed) === "right" ? s[c] = i[c] : t[c] = i[c];
58
+ p(e), x(s), g(t);
59
59
  }, [i]);
60
- const [b, z] = m([]), [M, N] = m([]), [h, p] = m({}), [v, D] = m([]), [S, E] = m([]), [a, x] = m({}), [R, A] = m([]), [w, T] = m([]), [d, g] = m({});
60
+ const [b, z] = m([]), [M, v] = m([]), [h, p] = m({}), [N, D] = m([]), [w, E] = m([]), [a, x] = m({}), [R, A] = m([]), [L, T] = m([]), [d, g] = m({});
61
61
  G(() => {
62
- const e = [], o = [], t = [], s = [], n = [], r = [];
62
+ const e = [], s = [], t = [], n = [], o = [], c = [];
63
63
  W.forEach((l) => {
64
- l.fixed === "left" ? (e.push(l), o.push(l.key)) : l.fixed === "right" ? (t.push(l), s.push(l.key)) : (n.push(l), r.push(l.key));
65
- }), z(e), N(o), D(t), E(s), A(n), T(r);
64
+ l.fixed === "left" ? (e.push(l), s.push(l.key)) : l.fixed === "right" ? (t.push(l), n.push(l.key)) : (o.push(l), c.push(l.key));
65
+ }), z(e), v(s), D(t), E(n), A(o), T(c);
66
66
  }, [W]);
67
67
  const ne = (e) => {
68
68
  p(e);
69
- }, re = (e, o) => {
70
- p(e), N(o);
71
- }, ce = (e) => {
69
+ }, ce = (e, s) => {
70
+ p(e), v(s);
71
+ }, re = (e) => {
72
72
  x(e);
73
- }, le = (e, o) => {
74
- x(e), E(o);
73
+ }, le = (e, s) => {
74
+ x(e), E(s);
75
75
  }, ie = (e) => {
76
76
  g(e);
77
- }, he = (e, o) => {
78
- g(e), T(o);
79
- }, X = (e, o, t, s) => {
80
- const n = { ...o[e] };
81
- delete o[e], g({
77
+ }, he = (e, s) => {
78
+ g(e), T(s);
79
+ }, X = (e, s, t, n) => {
80
+ const o = { ...s[e] };
81
+ delete s[e], g({
82
82
  ...d,
83
- [e]: { ...n, fixed: void 0, order: R.length }
83
+ [e]: { ...o, fixed: void 0, order: R.length }
84
84
  });
85
- const r = t.findIndex((y) => y.key === e), l = t.splice(r, 1)[0];
85
+ const c = t.findIndex((y) => y.key === e), l = t.splice(c, 1)[0];
86
86
  A([...R, { ...l, fixed: void 0 }]);
87
- const C = s.splice(r, 1);
88
- return T([...w, ...C]), { map: o, list: t, keys: s };
89
- }, Y = (e, o, t, s) => {
90
- const n = { ...o[e] };
91
- delete o[e], p({
87
+ const C = n.splice(c, 1);
88
+ return T([...L, ...C]), { map: s, list: t, keys: n };
89
+ }, Y = (e, s, t, n) => {
90
+ const o = { ...s[e] };
91
+ delete s[e], p({
92
92
  ...h,
93
- [e]: { ...n, fixed: "left", order: b.length, show: !0 }
93
+ [e]: { ...o, fixed: "left", order: b.length, show: !0 }
94
94
  });
95
- const r = t.findIndex((y) => y.key === e), l = t.splice(r, 1)[0];
95
+ const c = t.findIndex((y) => y.key === e), l = t.splice(c, 1)[0];
96
96
  z([...b, { ...l, fixed: "left" }]);
97
- const C = s.splice(r, 1);
98
- return N([...M, ...C]), { map: o, list: t, keys: s };
99
- }, Z = (e, o, t, s) => {
100
- const n = { ...o[e] };
101
- delete o[e], x({
97
+ const C = n.splice(c, 1);
98
+ return v([...M, ...C]), { map: s, list: t, keys: n };
99
+ }, Z = (e, s, t, n) => {
100
+ const o = { ...s[e] };
101
+ delete s[e], x({
102
102
  ...a,
103
103
  [e]: {
104
- ...n,
104
+ ...o,
105
105
  fixed: "right",
106
- order: v.length,
106
+ order: N.length,
107
107
  show: !0
108
108
  }
109
109
  });
110
- const r = t.findIndex((y) => y.key === e), l = t.splice(r, 1)[0];
111
- D([...v, { ...l, fixed: "right" }]);
112
- const C = s.splice(r, 1);
113
- return E([...S, ...C]), { map: o, list: t, keys: s };
114
- }, $ = (e, o) => {
115
- if (o === "left") {
116
- const { map: t, list: s, keys: n } = X(
110
+ const c = t.findIndex((y) => y.key === e), l = t.splice(c, 1)[0];
111
+ D([...N, { ...l, fixed: "right" }]);
112
+ const C = n.splice(c, 1);
113
+ return E([...w, ...C]), { map: s, list: t, keys: n };
114
+ }, $ = (e, s) => {
115
+ if (s === "left") {
116
+ const { map: t, list: n, keys: o } = X(
117
117
  e,
118
118
  h,
119
119
  b,
120
120
  M
121
121
  );
122
- p({ ...t }), z([...s]), N([...n]);
123
- } else if (o === "center") {
124
- const { map: t, list: s, keys: n } = Y(
122
+ p({ ...t }), z([...n]), v([...o]);
123
+ } else if (s === "center") {
124
+ const { map: t, list: n, keys: o } = Y(
125
125
  e,
126
126
  d,
127
127
  R,
128
- w
128
+ L
129
129
  );
130
- g({ ...t }), A([...s]), T([...n]);
130
+ g({ ...t }), A([...n]), T([...o]);
131
131
  } else {
132
- const { map: t, list: s, keys: n } = Y(
132
+ const { map: t, list: n, keys: o } = Y(
133
133
  e,
134
134
  a,
135
- v,
136
- S
135
+ N,
136
+ w
137
137
  );
138
- x({ ...t }), D([...s]), E([...n]);
138
+ x({ ...t }), D([...n]), E([...o]);
139
139
  }
140
- }, P = (e, o) => {
141
- if (o === "left") {
142
- const { map: t, list: s, keys: n } = Z(
140
+ }, P = (e, s) => {
141
+ if (s === "left") {
142
+ const { map: t, list: n, keys: o } = Z(
143
143
  e,
144
144
  h,
145
145
  b,
146
146
  M
147
147
  );
148
- p({ ...t }), z([...s]), N([...n]);
149
- } else if (o === "center") {
150
- const { map: t, list: s, keys: n } = Z(
148
+ p({ ...t }), z([...n]), v([...o]);
149
+ } else if (s === "center") {
150
+ const { map: t, list: n, keys: o } = Z(
151
151
  e,
152
152
  d,
153
153
  R,
154
- w
154
+ L
155
155
  );
156
- g({ ...t }), A([...s]), T([...n]);
156
+ g({ ...t }), A([...n]), T([...o]);
157
157
  } else {
158
- const { map: t, list: s, keys: n } = X(
158
+ const { map: t, list: n, keys: o } = X(
159
159
  e,
160
160
  a,
161
- v,
162
- S
161
+ N,
162
+ w
163
163
  );
164
- x({ ...t }), D([...s]), E([...n]);
164
+ x({ ...t }), D([...n]), E([...o]);
165
165
  }
166
166
  }, ae = ({ target: e }) => {
167
167
  e.checked ? (p(j(h, "show", !0)), g(j(d, "show", !0)), x(j(a, "show", !0))) : (p(j(h, "show", !1)), g(j(d, "show", !1)), x(j(a, "show", !1)));
168
- }, B = k(() => [...M, ...w, ...S], [M, w, S]), L = k(() => {
169
- var o, t, s;
168
+ }, B = k(() => [...M, ...L, ...w], [M, L, w]), S = k(() => {
169
+ var s, t, n;
170
170
  const e = [];
171
- for (const n in h)
172
- (o = h[n]) != null && o.show && e.push(n);
173
- for (const n in d)
174
- (t = d[n]) != null && t.show && e.push(n);
175
- for (const n in a)
176
- (s = a[n]) != null && s.show && e.push(n);
171
+ for (const o in h)
172
+ (s = h[o]) != null && s.show && e.push(o);
173
+ for (const o in d)
174
+ (t = d[o]) != null && t.show && e.push(o);
175
+ for (const o in a)
176
+ (n = a[o]) != null && n.show && e.push(o);
177
177
  return e;
178
- }, [h, d, a]), de = k(() => B.length === L.length, [B, L]), fe = k(() => L.length > 0 && L.length < B.length, [L, B]), ue = () => {
178
+ }, [h, d, a]), de = k(() => B.length === S.length, [B, S]), fe = k(() => S.length > 0 && S.length < B.length, [S, B]), ue = () => {
179
179
  V({ ...se });
180
180
  };
181
- return Se(H, () => ({
181
+ return we(H, () => ({
182
182
  getLeftSortColumns: () => h,
183
183
  getCenterSortColumns: () => d,
184
184
  getRightSortColumns: () => a,
185
- getCheckedKeys: () => L
186
- })), /* @__PURE__ */ c.jsxs(F, { vertical: !0, gap: 16, style: te, children: [
187
- /* @__PURE__ */ c.jsxs("div", { className: "sortContent", children: [
188
- /* @__PURE__ */ c.jsxs(F, { vertical: !0, className: "sortCard", style: O, children: [
189
- /* @__PURE__ */ c.jsx(q.Title, { level: 5, className: "title", children: "固定在左侧" }),
190
- /* @__PURE__ */ c.jsx(
185
+ getCheckedKeys: () => S
186
+ })), /* @__PURE__ */ r.jsxs(F, { vertical: !0, gap: 16, style: te, children: [
187
+ /* @__PURE__ */ r.jsxs("div", { className: "sortContent", children: [
188
+ /* @__PURE__ */ r.jsxs(F, { vertical: !0, className: "sortCard", style: O, children: [
189
+ /* @__PURE__ */ r.jsx(q.Title, { level: 5, className: "title", children: "固定在左侧" }),
190
+ /* @__PURE__ */ r.jsx(
191
191
  J,
192
192
  {
193
193
  placement: "left",
@@ -197,18 +197,18 @@ const Re = ye(
197
197
  onLeftClick: $,
198
198
  onRightClick: P,
199
199
  onChange: ne,
200
- onMoveEnd: re
200
+ onMoveEnd: ce
201
201
  }
202
202
  )
203
203
  ] }),
204
- /* @__PURE__ */ c.jsxs(F, { vertical: !0, className: "sortCard", style: O, children: [
205
- /* @__PURE__ */ c.jsx(q.Title, { level: 5, className: "title", children: "不固定" }),
206
- /* @__PURE__ */ c.jsx(
204
+ /* @__PURE__ */ r.jsxs(F, { vertical: !0, className: "sortCard", style: O, children: [
205
+ /* @__PURE__ */ r.jsx(q.Title, { level: 5, className: "title", children: "不固定" }),
206
+ /* @__PURE__ */ r.jsx(
207
207
  J,
208
208
  {
209
209
  placement: "center",
210
210
  dataList: R,
211
- keys: w,
211
+ keys: L,
212
212
  columnsMap: d,
213
213
  onLeftClick: $,
214
214
  onRightClick: P,
@@ -217,38 +217,38 @@ const Re = ye(
217
217
  }
218
218
  )
219
219
  ] }),
220
- /* @__PURE__ */ c.jsxs(F, { vertical: !0, className: "sortCard", style: O, children: [
221
- /* @__PURE__ */ c.jsx(q.Title, { level: 5, className: "title", children: "固定在右侧" }),
222
- /* @__PURE__ */ c.jsx(
220
+ /* @__PURE__ */ r.jsxs(F, { vertical: !0, className: "sortCard", style: O, children: [
221
+ /* @__PURE__ */ r.jsx(q.Title, { level: 5, className: "title", children: "固定在右侧" }),
222
+ /* @__PURE__ */ r.jsx(
223
223
  J,
224
224
  {
225
225
  placement: "right",
226
- dataList: v,
227
- keys: S,
226
+ dataList: N,
227
+ keys: w,
228
228
  columnsMap: a,
229
229
  onLeftClick: $,
230
230
  onRightClick: P,
231
- onChange: ce,
231
+ onChange: re,
232
232
  onMoveEnd: le
233
233
  }
234
234
  )
235
235
  ] })
236
236
  ] }),
237
- /* @__PURE__ */ c.jsxs(xe, { size: 16, className: "scope", ref: Q, children: [
238
- /* @__PURE__ */ c.jsx(
237
+ /* @__PURE__ */ r.jsxs(xe, { size: 16, className: "scope", ref: Q, children: [
238
+ /* @__PURE__ */ r.jsx(
239
239
  ge,
240
240
  {
241
241
  indeterminate: fe,
242
242
  checked: de,
243
243
  onChange: ae,
244
- children: /* @__PURE__ */ c.jsx("span", { style: { whiteSpace: "nowrap" }, children: "全选" })
244
+ children: /* @__PURE__ */ r.jsx("span", { style: { whiteSpace: "nowrap" }, children: "全选" })
245
245
  }
246
246
  ),
247
- /* @__PURE__ */ c.jsx(
247
+ /* @__PURE__ */ r.jsx(
248
248
  Ce,
249
249
  {
250
250
  type: "link",
251
- icon: /* @__PURE__ */ c.jsx(ve, {}),
251
+ icon: /* @__PURE__ */ r.jsx(Ne, {}),
252
252
  size: "small",
253
253
  onClick: ue,
254
254
  className: me`
@@ -256,13 +256,13 @@ const Re = ye(
256
256
  color: ${ee.colorPrimary} !important;
257
257
  }
258
258
  `,
259
- children: /* @__PURE__ */ c.jsx("span", { style: { whiteSpace: "nowrap" }, children: "重置" })
259
+ children: /* @__PURE__ */ r.jsx("span", { style: { whiteSpace: "nowrap" }, children: "重置" })
260
260
  }
261
261
  )
262
262
  ] })
263
263
  ] });
264
264
  }
265
- ), Ue = we(Re);
265
+ ), Ue = Le(Re);
266
266
  export {
267
267
  Ue as default
268
268
  };
@@ -1,5 +1,5 @@
1
1
  import { BitzTableProps } from './Table';
2
- import BitzTableProvider, { BitzTableContext, DensitySize as BitzTableSizeType, StylesStateType, ColumnStateType, ExportColumnStateType } from './Store';
2
+ import BitzTableProvider, { BitzTableContext, DensitySize as BitzTableSizeType, StylesStateType, ColumnStateType, ExportColumnStateType, SORTER_COLUMN } from './Store';
3
3
  import SubTable from './SubTable';
4
4
  import ActionBar from './ActionBar';
5
5
  import ToolBar from './ToolBar/Wrapper';
@@ -53,7 +53,7 @@ interface BitzTableColumnType<RecordType = any> extends ColumnsConfigProps, Tabl
53
53
  /** 是否为展开列 */
54
54
  isExpandIconCol?: boolean;
55
55
  /** 是否为拖拽列 */
56
- isDragSortCol?: boolean;
56
+ isDragSorterCol?: boolean;
57
57
  /** 列宽根据内容宽度最大的设置(只应用在操作列上) */
58
58
  useMaxWidth?: boolean;
59
59
  }
@@ -72,6 +72,7 @@ type CompoundedComponent = React.ForwardRefExoticComponent<BitzTableProps> & {
72
72
  ToolBar: typeof ToolBar;
73
73
  SelectionBar: typeof SelectionBar;
74
74
  ActionCol: typeof ActionCol;
75
+ SORTER_COLUMN: typeof SORTER_COLUMN;
75
76
  };
76
77
  declare const BitzTable: CompoundedComponent;
77
78
  export type { BitzTableProps, BitzTableSizeType, ColumnsConfigProps, StylesStateType, ColumnStateType, ExportColumnStateType, BitzTableColumnType, BitzTableColumnGroupType, BitzTableColumnsType, SelelctionAlertProps, ActionsFunType, Action, BitzTableActionProps, BitzTableActionColProps, };
@@ -1,19 +1,21 @@
1
- import t from "./Table/index.mjs";
2
- import { BitzTableContext as z, default as d } from "./Store/index.mjs";
3
- import r from "./SubTable/index.mjs";
4
- import i from "./ActionBar/index.mjs";
5
- import e from "./ToolBar/Wrapper/index.mjs";
6
- import a from "./ActionCol/index.mjs";
7
- import l from "./SelectionBar/index.mjs";
8
- const o = t;
1
+ import r from "./Table/index.mjs";
2
+ import { SORTER_COLUMN as t } from "./Store/index.mjs";
3
+ import { BitzTableContext as s, default as C } from "./Store/index.mjs";
4
+ import i from "./SubTable/index.mjs";
5
+ import e from "./ActionBar/index.mjs";
6
+ import a from "./ToolBar/Wrapper/index.mjs";
7
+ import l from "./ActionCol/index.mjs";
8
+ import m from "./SelectionBar/index.mjs";
9
+ const o = r;
9
10
  process.env.NODE_ENV !== "production" && (o.displayName = "BitzTable");
10
- o.SubTable = r;
11
- o.ActionBar = i;
12
- o.ToolBar = e;
13
- o.SelectionBar = l;
14
- o.ActionCol = a;
11
+ o.SubTable = i;
12
+ o.ActionBar = e;
13
+ o.ToolBar = a;
14
+ o.SelectionBar = m;
15
+ o.ActionCol = l;
16
+ o.SORTER_COLUMN = t;
15
17
  export {
16
- z as BitzTableContext,
17
- d as BitzTableProvider,
18
+ s as BitzTableContext,
19
+ C as BitzTableProvider,
18
20
  o as default
19
21
  };
@@ -1,5 +1,5 @@
1
1
  import { getDefaultExportFromCjs as u } from "../../../../../_virtual/_commonjsHelpers.mjs";
2
- import { __module as i } from "../../../../../_virtual/index2.mjs";
2
+ import { __module as i } from "../../../../../_virtual/index.mjs";
3
3
  /*!
4
4
  Copyright (c) 2018 Jed Watson.
5
5
  Licensed under the MIT License (MIT), see
@@ -1,5 +1,5 @@
1
1
  import { getDefaultExportFromCjs as e } from "../../../../../_virtual/_commonjsHelpers.mjs";
2
- import { __module as r } from "../../../../../_virtual/index.mjs";
2
+ import { __module as r } from "../../../../../_virtual/index2.mjs";
3
3
  import { __require as o } from "../../../react-is@16.13.1/node_modules/react-is/index.mjs";
4
4
  import { __require as t } from "./factoryWithTypeCheckers.mjs";
5
5
  import { __require as p } from "./factoryWithThrowingShims.mjs";