bitz-react-admin-ui 1.9.8 → 2.0.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.
Files changed (27) hide show
  1. package/dist/components/BitzFluentInput/index.mjs +22 -18
  2. package/dist/components/BitzFluentSelect/index.mjs +20 -16
  3. package/dist/components/BitzTable/ActionBar/style.mjs +9 -9
  4. package/dist/components/BitzTable/ActionCol/style.mjs +8 -8
  5. package/dist/components/BitzTable/Dropdown/style.mjs +7 -7
  6. package/dist/components/BitzTable/SelectionBar/style.mjs +5 -5
  7. package/dist/components/BitzTable/Store/index.d.ts +2 -2
  8. package/dist/components/BitzTable/Store/index.mjs +11 -11
  9. package/dist/components/BitzTable/Table/index.mjs +224 -210
  10. package/dist/components/BitzTable/Table/style.d.ts +4 -34
  11. package/dist/components/BitzTable/Table/style.mjs +8 -4
  12. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnSettingModal.mjs +1 -1
  13. package/dist/components/BitzTable/ToolBar/ColConfigIcon/index.mjs +8 -8
  14. package/dist/components/BitzTable/ToolBar/DensityIcon/index.mjs +36 -28
  15. package/dist/components/BitzTable/ToolBar/style.mjs +5 -5
  16. package/dist/components/BitzTable/index.d.ts +1 -1
  17. package/dist/components/BitzTable/index.mjs +7 -7
  18. package/dist/components/BitzTableSelect/Picker/index.d.ts +5 -2
  19. package/dist/components/BitzTableSelect/SelectPopup/getData.d.ts +1 -1
  20. package/dist/components/BitzTableSelect/SelectPopup/getData.mjs +32 -34
  21. package/dist/components/BitzTableSelect/SelectPopup/index.mjs +128 -124
  22. package/dist/components/BitzTableSelect/TableCell/index.mjs +26 -28
  23. package/dist/components/BitzTableSelect/TextBlock/index.mjs +7 -7
  24. package/dist/components/BitzTableSelect/index.d.ts +2 -2
  25. package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/isBoolean.mjs +9 -0
  26. package/dist/style.css +1 -1
  27. package/package.json +1 -1
@@ -1,14 +1,18 @@
1
1
  import { j as l } from "../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
2
2
  import { css as a } from "../../node_modules/.store/@emotion_css@11.11.2/node_modules/@emotion/css/dist/emotion-css.esm.mjs";
3
- import { theme as f, Input as i } from "antd";
4
- import { useMemo as d } from "react";
5
- const w = ({
6
- placeholder: n,
7
- hideFluent: s,
8
- ...o
3
+ import { theme as d, Input as i } from "antd";
4
+ import { useMemo as m } from "react";
5
+ import u from "../../node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/isBoolean.mjs";
6
+ const $ = ({
7
+ placeholder: r,
8
+ hideFluent: f,
9
+ ...e
9
10
  }) => {
10
- const u = o.value, c = o.defaultValue, { token: e } = f.useToken(), t = u || c, r = d(() => !(t === void 0 || t === "" || t === null), [t]);
11
- return s ? /* @__PURE__ */ l.jsx(i, { allowClear: !0, placeholder: n, ...o }) : /* @__PURE__ */ l.jsxs(
11
+ const { token: t } = d.useToken(), o = m(() => {
12
+ const c = e.value, s = e.defaultValue, n = c || s;
13
+ return u(e.value) || u(e.defaultValue) ? !0 : !(n === void 0 || n === "" || n === null);
14
+ }, [e.value, e.defaultValue]);
15
+ return f ? /* @__PURE__ */ l.jsx(i, { allowClear: !0, placeholder: r, ...e }) : /* @__PURE__ */ l.jsxs(
12
16
  "div",
13
17
  {
14
18
  className: a`
@@ -16,20 +20,20 @@ const w = ({
16
20
  &:focus-within {
17
21
  label {
18
22
  top: 0;
19
- background-color: ${e.colorBgBase};
20
- font-size: ${e.fontSizeSM}px;
21
- color: ${e.colorTextPlaceholder};
23
+ background-color: ${t.colorBgBase};
24
+ font-size: ${t.fontSizeSM}px;
25
+ color: ${t.colorTextPlaceholder};
22
26
  }
23
27
  }
24
28
  `,
25
29
  children: [
26
- /* @__PURE__ */ l.jsx(i, { allowClear: !0, ...o }),
30
+ /* @__PURE__ */ l.jsx(i, { allowClear: !0, ...e }),
27
31
  /* @__PURE__ */ l.jsx(
28
32
  "label",
29
33
  {
30
34
  className: a`
31
35
  position: absolute;
32
- top: ${r ? 0 : "50%"};
36
+ top: ${o ? 0 : "50%"};
33
37
  left: 7px;
34
38
  z-index: 10;
35
39
  white-space: nowrap;
@@ -38,13 +42,13 @@ const w = ({
38
42
  transform: translateY(-50%);
39
43
  pointer-events: none;
40
44
  transition: all 0.1s ease-out;
41
- font-size: ${r ? e.fontSizeSM : e.fontSize}px;
42
- background-color: ${r ? e.colorBgBase : "transparent"};
43
- color: ${e.colorTextPlaceholder};
45
+ font-size: ${o ? t.fontSizeSM : t.fontSize}px;
46
+ background-color: ${o ? t.colorBgBase : "transparent"};
47
+ color: ${t.colorTextPlaceholder};
44
48
  padding: 0 2px;
45
49
  border-radius: 2px;
46
50
  `,
47
- children: n
51
+ children: r
48
52
  }
49
53
  )
50
54
  ]
@@ -52,5 +56,5 @@ const w = ({
52
56
  );
53
57
  };
54
58
  export {
55
- w as default
59
+ $ as default
56
60
  };
@@ -1,14 +1,18 @@
1
1
  import { j as l } from "../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
2
2
  import { css as n } from "../../node_modules/.store/@emotion_css@11.11.2/node_modules/@emotion/css/dist/emotion-css.esm.mjs";
3
- import { theme as f, Select as i } from "antd";
4
- import { useMemo as d } from "react";
5
- const w = ({
3
+ import { theme as d, Select as i } from "antd";
4
+ import { useMemo as m } from "react";
5
+ import u from "../../node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/isBoolean.mjs";
6
+ const S = ({
6
7
  placeholder: a,
7
- hideFluent: s,
8
- ...o
8
+ hideFluent: c,
9
+ ...e
9
10
  }) => {
10
- const c = o.value, u = o.defaultValue, { token: e } = f.useToken(), t = c || u, r = d(() => !(t === void 0 || t === "" || t === null), [t]);
11
- return s ? /* @__PURE__ */ l.jsx(i, { allowClear: !0, placeholder: a, ...o }) : /* @__PURE__ */ l.jsxs(
11
+ const { token: t } = d.useToken(), o = m(() => {
12
+ const f = e.value, s = e.defaultValue, r = f || s;
13
+ return u(e.value) || u(e.defaultValue) ? !0 : !(r === void 0 || r === "" || r === null);
14
+ }, [e.value, e.defaultValue]);
15
+ return c ? /* @__PURE__ */ l.jsx(i, { allowClear: !0, placeholder: a, ...e }) : /* @__PURE__ */ l.jsxs(
12
16
  "div",
13
17
  {
14
18
  className: n`
@@ -16,20 +20,20 @@ const w = ({
16
20
  &:focus-within {
17
21
  label {
18
22
  top: 0;
19
- background-color: ${e.colorBgBase};
20
- font-size: ${e.fontSizeSM}px;
21
- color: ${e.colorTextPlaceholder};
23
+ background-color: ${t.colorBgBase};
24
+ font-size: ${t.fontSizeSM}px;
25
+ color: ${t.colorTextPlaceholder};
22
26
  }
23
27
  }
24
28
  `,
25
29
  children: [
26
- /* @__PURE__ */ l.jsx(i, { allowClear: !0, ...o }),
30
+ /* @__PURE__ */ l.jsx(i, { allowClear: !0, ...e }),
27
31
  /* @__PURE__ */ l.jsx(
28
32
  "label",
29
33
  {
30
34
  className: n`
31
35
  position: absolute;
32
- top: ${r ? 0 : "50%"};
36
+ top: ${o ? 0 : "50%"};
33
37
  left: 7px;
34
38
  z-index: 10;
35
39
  white-space: nowrap;
@@ -38,9 +42,9 @@ const w = ({
38
42
  transform: translateY(-50%);
39
43
  pointer-events: none;
40
44
  transition: all 0.1s ease-out;
41
- font-size: ${r ? e.fontSizeSM : e.fontSize}px;
42
- background-color: ${r ? e.colorBgBase : "transparent"};
43
- color: ${e.colorTextPlaceholder};
45
+ font-size: ${o ? t.fontSizeSM : t.fontSize}px;
46
+ background-color: ${o ? t.colorBgBase : "transparent"};
47
+ color: ${t.colorTextPlaceholder};
44
48
  padding: 0 2px;
45
49
  border-radius: 2px;
46
50
  `,
@@ -52,5 +56,5 @@ const w = ({
52
56
  );
53
57
  };
54
58
  export {
55
- w as default
59
+ S as default
56
60
  };
@@ -10,12 +10,12 @@ import "../../../node_modules/.store/@ant-design_cssinjs@1.18.5/node_modules/@an
10
10
  import "../../../node_modules/.store/@ant-design_cssinjs@1.18.5/node_modules/@ant-design/cssinjs/es/hooks/useHMR.mjs";
11
11
  import A from "../../../node_modules/.store/@ant-design_cssinjs@1.18.5/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.mjs";
12
12
  import "../../../node_modules/.store/@ant-design_cssinjs@1.18.5/node_modules/@ant-design/cssinjs/es/transformers/legacyLogicalProperties.mjs";
13
- import { TableContext as N } from "../Store/index.mjs";
14
- import z from "../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
13
+ import { BitzTableContext as N } from "../Store/index.mjs";
14
+ import f from "../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
15
15
  import w from "../../BitzTheme/index.mjs";
16
16
  const Q = (m) => {
17
- const { theme: g, hashId: n, token: i } = w.useToken(), { tableSize: s } = D(N), u = v(() => m ?? s ?? "lg", [m, s]), r = "bitzTableActionBarBlock", a = "actionBtn", c = "ActionBtn", p = "dropdownBtn", h = (o, l, t, e) => {
18
- var $, b, T, S, f;
17
+ const { theme: g, hashId: n, token: i } = w.useToken(), { tableSize: s } = D(N), u = v(() => m ?? s ?? "lg", [m, s]), r = "bitzTableActionBarBlock", a = "actionBtn", c = "ActionBtn", p = "dropdownBtn", B = (o, l, t, e) => {
18
+ var $, b, T, S, z;
19
19
  return [
20
20
  {
21
21
  [`.${o} .${l}`]: {
@@ -50,11 +50,11 @@ const Q = (m) => {
50
50
  },
51
51
  {
52
52
  [`.${o} .xs${t}`]: {
53
- fontSize: (f = e.Table.xsTable) == null ? void 0 : f.fontSize
53
+ fontSize: (z = e.Table.xsTable) == null ? void 0 : z.fontSize
54
54
  }
55
55
  }
56
56
  ];
57
- }, B = (o, l, t) => [
57
+ }, h = (o, l, t) => [
58
58
  {
59
59
  [`.${o} .${l}`]: {
60
60
  "&:hover": {
@@ -80,11 +80,11 @@ const Q = (m) => {
80
80
  path: [r]
81
81
  },
82
82
  () => [
83
- h(r, a, c, i),
84
- B(r, p, i)
83
+ B(r, a, c, i),
84
+ h(r, p, i)
85
85
  ]
86
86
  );
87
- const d = `${u}${c}`, x = z(a, d, n), y = z(a, p, d, n);
87
+ const d = `${u}${c}`, x = f(a, d, n), y = f(a, p, d, n);
88
88
  return { blockCls: r, addBtnClassName: x, btnClassName: y };
89
89
  };
90
90
  export {
@@ -1,4 +1,4 @@
1
- import { useContext as N, useMemo as T } from "react";
1
+ import { useContext as H, useMemo as N } from "react";
2
2
  import "../../../node_modules/.store/@ant-design_cssinjs@1.18.5/node_modules/@ant-design/cssinjs/es/extractStyle.mjs";
3
3
  import "../../../node_modules/.store/@ant-design_cssinjs@1.18.5/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.mjs";
4
4
  import "../../../node_modules/.store/@ant-design_cssinjs@1.18.5/node_modules/@ant-design/cssinjs/es/StyleContext.mjs";
@@ -8,14 +8,14 @@ import "../../../node_modules/.store/@ant-design_cssinjs@1.18.5/node_modules/@an
8
8
  import "../../../node_modules/.store/@ant-design_cssinjs@1.18.5/node_modules/@ant-design/cssinjs/es/hooks/useCompatibleInsertionEffect.mjs";
9
9
  import "../../../node_modules/.store/@ant-design_cssinjs@1.18.5/node_modules/@ant-design/cssinjs/es/hooks/useEffectCleanupRegister.mjs";
10
10
  import "../../../node_modules/.store/@ant-design_cssinjs@1.18.5/node_modules/@ant-design/cssinjs/es/hooks/useHMR.mjs";
11
- import z from "../../../node_modules/.store/@ant-design_cssinjs@1.18.5/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.mjs";
11
+ import T from "../../../node_modules/.store/@ant-design_cssinjs@1.18.5/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.mjs";
12
12
  import "../../../node_modules/.store/@ant-design_cssinjs@1.18.5/node_modules/@ant-design/cssinjs/es/transformers/legacyLogicalProperties.mjs";
13
- import { TableContext as E } from "../Store/index.mjs";
13
+ import { BitzTableContext as E } from "../Store/index.mjs";
14
14
  import n from "../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
15
15
  import w from "../../BitzTheme/index.mjs";
16
16
  const Q = () => {
17
- const { tableSize: i } = N(E);
18
- T(() => i ?? "lg", [i]);
17
+ const { tableSize: i } = H(E);
18
+ N(() => i ?? "lg", [i]);
19
19
  const { theme: h, hashId: r, token: s } = w.useToken(), e = "actionTextBtn", a = "primaryBtn", l = "delBtn", c = "dropdownBtn", m = "skeletonBtn", p = "skeleton", d = "actionColMask", B = 24, g = (t, o) => [
20
20
  {
21
21
  [`.${t}`]: {
@@ -98,7 +98,7 @@ const Q = () => {
98
98
  }
99
99
  }
100
100
  ];
101
- z(
101
+ T(
102
102
  {
103
103
  theme: h,
104
104
  token: s,
@@ -113,7 +113,7 @@ const Q = () => {
113
113
  y(m, p)
114
114
  ]
115
115
  );
116
- const $ = n(e, a, r), f = n(e, l, r), S = n(e, c, r), x = n(e, m, r), b = n(p, r), H = n(d, r);
116
+ const $ = n(e, a, r), f = n(e, l, r), S = n(e, c, r), x = n(e, m, r), b = n(p, r), z = n(d, r);
117
117
  return {
118
118
  gap: B,
119
119
  defaultCls: e,
@@ -122,7 +122,7 @@ const Q = () => {
122
122
  dropdownBtnClassName: S,
123
123
  skeletonBtnClassName: x,
124
124
  skeletonClassName: b,
125
- maskClassName: H
125
+ maskClassName: z
126
126
  };
127
127
  };
128
128
  export {
@@ -10,12 +10,12 @@ import "../../../node_modules/.store/@ant-design_cssinjs@1.18.5/node_modules/@an
10
10
  import "../../../node_modules/.store/@ant-design_cssinjs@1.18.5/node_modules/@ant-design/cssinjs/es/hooks/useHMR.mjs";
11
11
  import C from "../../../node_modules/.store/@ant-design_cssinjs@1.18.5/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.mjs";
12
12
  import "../../../node_modules/.store/@ant-design_cssinjs@1.18.5/node_modules/@ant-design/cssinjs/es/transformers/legacyLogicalProperties.mjs";
13
- import { TableContext as y } from "../Store/index.mjs";
14
- import B from "../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
13
+ import { BitzTableContext as B } from "../Store/index.mjs";
14
+ import y from "../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
15
15
  import D from "../../BitzTheme/index.mjs";
16
16
  const P = () => {
17
- const { tableSize: t } = $(y), T = g(() => t ?? "lg", [t]), { theme: c, hashId: i, token: a } = D.useToken(), m = "OperationColDropdownBtn", o = "operationColDropdownBtn", w = (x, n, e) => {
18
- var r, p, d, l, u, s, z, S, f, b;
17
+ const { tableSize: t } = $(B), T = g(() => t ?? "lg", [t]), { theme: c, hashId: i, token: a } = D.useToken(), m = "OperationColDropdownBtn", o = "operationColDropdownBtn", w = (x, n, e) => {
18
+ var r, p, d, l, u, z, s, S, f, b;
19
19
  return [
20
20
  {
21
21
  [`.${x}`]: {
@@ -67,13 +67,13 @@ const P = () => {
67
67
  [`.md${n}`]: {
68
68
  fontSize: (u = e.Table.mdTable) == null ? void 0 : u.fontSize,
69
69
  ".ant-dropdown-menu-submenu-expand-icon": {
70
- fontSize: (((s = e.Table.mdTable) == null ? void 0 : s.fontSize) || e.fontSize) - 2
70
+ fontSize: (((z = e.Table.mdTable) == null ? void 0 : z.fontSize) || e.fontSize) - 2
71
71
  }
72
72
  }
73
73
  },
74
74
  {
75
75
  [`.sm${n}`]: {
76
- fontSize: (z = e.Table.smTable) == null ? void 0 : z.fontSize,
76
+ fontSize: (s = e.Table.smTable) == null ? void 0 : s.fontSize,
77
77
  ".ant-dropdown-menu-submenu-expand-icon": {
78
78
  fontSize: (((S = e.Table.smTable) == null ? void 0 : S.fontSize) || e.fontSize) - 2
79
79
  }
@@ -100,7 +100,7 @@ const P = () => {
100
100
  );
101
101
  const h = `${T}${m}`;
102
102
  return {
103
- popupClassName: B(o, h, i)
103
+ popupClassName: y(o, h, i)
104
104
  };
105
105
  };
106
106
  export {
@@ -11,10 +11,10 @@ import "../../../node_modules/.store/@ant-design_cssinjs@1.18.5/node_modules/@an
11
11
  import G from "../../../node_modules/.store/@ant-design_cssinjs@1.18.5/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.mjs";
12
12
  import "../../../node_modules/.store/@ant-design_cssinjs@1.18.5/node_modules/@ant-design/cssinjs/es/transformers/legacyLogicalProperties.mjs";
13
13
  import n from "../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
14
- import { TableContext as I } from "../Store/index.mjs";
14
+ import { BitzTableContext as I } from "../Store/index.mjs";
15
15
  import R from "../../BitzTheme/index.mjs";
16
16
  const V = () => {
17
- const { tableSize: a } = C(I), S = O(() => a ?? "lg", [a]), { theme: b, hashId: o, token: i } = R.useToken(), r = "bitzTableSelectionBar", s = "batchOperation", m = "selectionAction", f = "alertContent", l = "show", g = (t, y, N, v, B, e) => {
17
+ const { tableSize: a } = C(I), S = O(() => a ?? "lg", [a]), { theme: b, hashId: o, token: i } = R.useToken(), r = "bitzTableSelectionBar", s = "batchOperation", m = "selectionAction", f = "alertContent", l = "show", g = (t, y, B, N, v, e) => {
18
18
  var p, h, c, $, z;
19
19
  return [
20
20
  {
@@ -38,7 +38,7 @@ const V = () => {
38
38
  }
39
39
  },
40
40
  {
41
- [`.${t} .${N}`]: {
41
+ [`.${t} .${B}`]: {
42
42
  fontSize: "inherit",
43
43
  height: "100%",
44
44
  overflow: "auto hidden",
@@ -48,7 +48,7 @@ const V = () => {
48
48
  }
49
49
  },
50
50
  {
51
- [`.${t} .${B}`]: {
51
+ [`.${t} .${v}`]: {
52
52
  height: "100%",
53
53
  "span, strong": {
54
54
  wordBreak: "keep-all"
@@ -56,7 +56,7 @@ const V = () => {
56
56
  }
57
57
  },
58
58
  {
59
- [`.${t} .${v}`]: {
59
+ [`.${t} .${N}`]: {
60
60
  fontSize: "inherit",
61
61
  color: "#fff",
62
62
  height: "100%",
@@ -59,7 +59,7 @@ declare function useContainer(props: UseContainerProps): {
59
59
  clearPersistenceStorage: () => void;
60
60
  defaultColumnKeyMap: Record<string, ColumnsConfigProps>;
61
61
  };
62
- declare const TableContext: import("react").Context<{
62
+ declare const BitzTableContext: import("react").Context<{
63
63
  uuid: string;
64
64
  persistenceType: "online" | "localStorage" | "sessionStorage" | undefined;
65
65
  persistenceKey: any;
@@ -83,5 +83,5 @@ declare const Container: React.FC<{
83
83
  initValue: UseContainerProps<any>;
84
84
  children: React.ReactNode;
85
85
  }>;
86
- export { TableContext };
86
+ export { BitzTableContext };
87
87
  export default Container;
@@ -6,8 +6,8 @@ import { getUuid as X } from "../../../utils/uuid.mjs";
6
6
  import { BitzConfigContext as Y } from "../../BitzConfigProvider/context.mjs";
7
7
  import d from "../../../node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs";
8
8
  function Z(e) {
9
- var T, V, v, O, b, x, J, M, N, j, I, P, E, k, R, B, D;
10
- const r = U(X()), w = U([]), q = (T = H(Y).Table) == null ? void 0 : T.defaultSize, z = e.defaultSize ?? q ?? "lg", [h, g] = G(
9
+ var T, V, v, O, b, x, J, M, N, j, I, P, E, k, B, R, D;
10
+ const r = U(X()), z = U([]), q = (T = H(Y).Table) == null ? void 0 : T.defaultSize, w = e.defaultSize ?? q ?? "lg", [h, g] = G(
11
11
  () => {
12
12
  var n, c, a, l;
13
13
  const { persistenceType: t, persistenceKey: i, onlineGet: u } = e.sizeState || {};
@@ -24,7 +24,7 @@ function Z(e) {
24
24
  console.warn(s);
25
25
  }
26
26
  }
27
- return e.size || ((a = e.sizeState) == null ? void 0 : a.value) || ((l = e.sizeState) == null ? void 0 : l.defaultValue) || z;
27
+ return e.size || ((a = e.sizeState) == null ? void 0 : a.value) || ((l = e.sizeState) == null ? void 0 : l.defaultValue) || w;
28
28
  },
29
29
  {
30
30
  value: ((V = e.sizeState) == null ? void 0 : V.value) || e.size,
@@ -59,7 +59,7 @@ function Z(e) {
59
59
  try {
60
60
  (u = n == null ? void 0 : n(c)) == null || u.then((a) => {
61
61
  var l;
62
- g(a ?? ((l = e == null ? void 0 : e.sizeState) == null ? void 0 : l.value) ?? z);
62
+ g(a ?? ((l = e == null ? void 0 : e.sizeState) == null ? void 0 : l.value) ?? w);
63
63
  });
64
64
  } catch (a) {
65
65
  console.warn(a);
@@ -181,24 +181,24 @@ function Z(e) {
181
181
  persistenceType: (P = e.columnsState) == null ? void 0 : P.persistenceType,
182
182
  persistenceKey: (E = e.columnsState) == null ? void 0 : E.persistenceKey,
183
183
  onlineChange: (k = e.columnsState) == null ? void 0 : k.onlineChange,
184
- sortKeyColumns: w.current,
184
+ sortKeyColumns: z.current,
185
185
  setSortKeyColumns: (t) => {
186
- w.current = t;
186
+ z.current = t;
187
187
  },
188
188
  columnsMap: y,
189
189
  setColumnsMap: f,
190
190
  setTableSize: g,
191
- defaultTableSize: z,
191
+ defaultTableSize: w,
192
192
  tableSize: h,
193
- sizeStorageType: (R = e.sizeState) == null ? void 0 : R.persistenceType,
194
- sizeStorageKey: (B = e.sizeState) == null ? void 0 : B.persistenceKey,
193
+ sizeStorageType: (B = e.sizeState) == null ? void 0 : B.persistenceType,
194
+ sizeStorageKey: (R = e.sizeState) == null ? void 0 : R.persistenceKey,
195
195
  onlineSizeChange: (D = e.sizeState) == null ? void 0 : D.onlineChange,
196
196
  columns: e.columns,
197
197
  clearPersistenceStorage: K,
198
198
  defaultColumnKeyMap: S
199
199
  };
200
200
  return Object.defineProperty(C, "sortKeyColumns", {
201
- get: () => w.current
201
+ get: () => z.current
202
202
  }), Object.defineProperty(C, "uuid", {
203
203
  get: () => r.current
204
204
  }), C;
@@ -208,6 +208,6 @@ const _ = F({}), ce = (e) => {
208
208
  return /* @__PURE__ */ A.jsx(_.Provider, { value: r, children: e.children });
209
209
  };
210
210
  export {
211
- _ as TableContext,
211
+ _ as BitzTableContext,
212
212
  ce as default
213
213
  };