bitz-react-admin-ui 2.3.1 → 2.3.2

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 (58) hide show
  1. package/dist/_virtual/_commonjsHelpers.mjs +4 -26
  2. package/dist/_virtual/index.mjs +2 -2
  3. package/dist/_virtual/index2.mjs +2 -2
  4. package/dist/components/BitzConfigProvider/context.d.ts +1 -0
  5. package/dist/components/BitzConfigProvider/context.mjs +4 -3
  6. package/dist/components/BitzHighlight/style.mjs +12 -12
  7. package/dist/components/BitzTable/ActionBar/style.mjs +21 -21
  8. package/dist/components/BitzTable/ActionCol/index.mjs +59 -58
  9. package/dist/components/BitzTable/ActionCol/style.d.ts +1 -1
  10. package/dist/components/BitzTable/ActionCol/style.mjs +28 -28
  11. package/dist/components/BitzTable/Dropdown/style.mjs +25 -25
  12. package/dist/components/BitzTable/SelectionBar/style.mjs +24 -24
  13. package/dist/components/BitzTable/Store/index.mjs +37 -37
  14. package/dist/components/BitzTable/SubTable/index.mjs +94 -94
  15. package/dist/components/BitzTable/Table/index.mjs +244 -245
  16. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndItem.mjs +51 -47
  17. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +61 -60
  18. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndItem.mjs +46 -38
  19. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.mjs +44 -44
  20. package/dist/components/BitzTable/ToolBar/style.mjs +21 -21
  21. package/dist/components/BitzTableSelect/SelectPopup/getData.mjs +14 -15
  22. package/dist/components/BitzTableSelect/SelectPopup/index.mjs +14 -15
  23. package/dist/components/BitzTableSelect/TableCell/index.mjs +34 -33
  24. package/dist/components/BitzTableSelect/TextBlock/index.mjs +20 -18
  25. package/dist/node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs +1 -1
  26. package/dist/node_modules/.store/prop-types@15.8.1/node_modules/prop-types/index.mjs +8 -9
  27. package/dist/node_modules/.store/use-sync-external-store@1.2.0/node_modules/use-sync-external-store/shim/index.mjs +1 -1
  28. package/dist/style.css +1 -1
  29. package/package.json +1 -1
  30. package/dist/_virtual/Draggable.mjs +0 -4
  31. package/dist/_virtual/DraggableCore.mjs +0 -4
  32. package/dist/_virtual/Resizable.mjs +0 -4
  33. package/dist/_virtual/ResizableBox.mjs +0 -4
  34. package/dist/_virtual/cjs.mjs +0 -4
  35. package/dist/_virtual/clsx.m.mjs +0 -6
  36. package/dist/_virtual/domFns.mjs +0 -4
  37. package/dist/_virtual/getPrefix.mjs +0 -4
  38. package/dist/_virtual/index6.mjs +0 -4
  39. package/dist/_virtual/log.mjs +0 -4
  40. package/dist/_virtual/positionFns.mjs +0 -4
  41. package/dist/_virtual/propTypes.mjs +0 -4
  42. package/dist/_virtual/shims.mjs +0 -4
  43. package/dist/_virtual/utils.mjs +0 -4
  44. package/dist/components/BitzTable/Table/ResizableTitle.mjs +0 -32
  45. package/dist/node_modules/.store/clsx@1.2.1/node_modules/clsx/dist/clsx.m.mjs +0 -22
  46. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/Draggable.mjs +0 -343
  47. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/DraggableCore.mjs +0 -324
  48. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/cjs.mjs +0 -14
  49. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/domFns.mjs +0 -174
  50. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/getPrefix.mjs +0 -35
  51. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/log.mjs +0 -7
  52. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/positionFns.mjs +0 -107
  53. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/shims.mjs +0 -30
  54. package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/build/Resizable.mjs +0 -201
  55. package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/build/ResizableBox.mjs +0 -162
  56. package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/build/propTypes.mjs +0 -118
  57. package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/build/utils.mjs +0 -54
  58. package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/index.mjs +0 -13
@@ -1,30 +1,8 @@
1
- var u = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
- function f(e) {
3
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4
- }
1
+ var o = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
5
2
  function l(e) {
6
- if (e.__esModule)
7
- return e;
8
- var r = e.default;
9
- if (typeof r == "function") {
10
- var t = function o() {
11
- return this instanceof o ? Reflect.construct(r, arguments, this.constructor) : r.apply(this, arguments);
12
- };
13
- t.prototype = r.prototype;
14
- } else
15
- t = {};
16
- return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(o) {
17
- var n = Object.getOwnPropertyDescriptor(e, o);
18
- Object.defineProperty(t, o, n.get ? n : {
19
- enumerable: !0,
20
- get: function() {
21
- return e[o];
22
- }
23
- });
24
- }), t;
3
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
25
4
  }
26
5
  export {
27
- u as commonjsGlobal,
28
- l as getAugmentedNamespace,
29
- f as getDefaultExportFromCjs
6
+ o as commonjsGlobal,
7
+ l as getDefaultExportFromCjs
30
8
  };
@@ -1,4 +1,4 @@
1
- var p = { exports: {} };
1
+ var s = { exports: {} };
2
2
  export {
3
- p as __module
3
+ s as __module
4
4
  };
@@ -1,4 +1,4 @@
1
- var s = { exports: {} };
1
+ var p = { exports: {} };
2
2
  export {
3
- s as __module
3
+ p as __module
4
4
  };
@@ -36,3 +36,4 @@ export interface BitzConfigProviderContextProps {
36
36
  TableSelect?: TableSelectComponentContextProps;
37
37
  }
38
38
  export declare const BitzConfigContext: import("react").Context<BitzConfigProviderContextProps>;
39
+ export declare const tablePaddingInline = 10;
@@ -1,7 +1,8 @@
1
1
  import { createContext as t } from "react";
2
- const e = t(
2
+ const o = t(
3
3
  {}
4
- );
4
+ ), e = 10;
5
5
  export {
6
- e as BitzConfigContext
6
+ o as BitzConfigContext,
7
+ e as tablePaddingInline
7
8
  };
@@ -8,42 +8,42 @@ import "../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-d
8
8
  import "../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useCompatibleInsertionEffect.mjs";
9
9
  import "../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useEffectCleanupRegister.mjs";
10
10
  import "../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useHMR.mjs";
11
- import S from "../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.mjs";
11
+ import d from "../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.mjs";
12
12
  import "../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/transformers/legacyLogicalProperties.mjs";
13
13
  import c from "../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
14
- import d from "../BitzTheme/index.mjs";
14
+ import f from "../BitzTheme/index.mjs";
15
15
  const R = ({
16
16
  tagClass: a = "",
17
17
  highlightClass: p = ""
18
18
  }) => {
19
- const { theme: h, token: i, hashId: t } = d.useToken(), r = "bitzHighlightBlock", e = "bitzHighlightTag", s = "bitzHighlightSecondary", n = (m, f, l, o) => [
19
+ const { theme: h, token: i, hashId: t } = f.useToken(), r = "bitzHighlightBlock", e = "bitzHighlightTag", s = "bitzHighlightSecondary", g = (l, S, m, o) => [
20
20
  {
21
- [`.${m}`]: {
21
+ [`.${l}`]: {
22
22
  color: o.colorText,
23
23
  fontSize: o.fontSize
24
24
  }
25
25
  },
26
26
  {
27
- [`.${l}`]: {
27
+ [`.${m}`]: {
28
28
  color: o.colorPrimary
29
29
  }
30
30
  },
31
31
  {
32
- [`.${m}.${f}`]: {
33
- color: o.colorSecondaryHighlightText,
34
- [`.${l}`]: {
32
+ [`.${l}.${S}`]: {
33
+ color: (o == null ? void 0 : o.colorSecondaryHighlightText) ?? o.colorTextSecondary,
34
+ [`.${m}`]: {
35
35
  color: o.colorText,
36
36
  margin: "0 6px"
37
37
  }
38
38
  }
39
39
  }
40
40
  ];
41
- S({ theme: h, token: i, hashId: t, path: [r] }, () => [
42
- n(r, s, e, i)
41
+ d({ theme: h, token: i, hashId: t, path: [r] }, () => [
42
+ g(r, s, e, i)
43
43
  ]);
44
- const g = c(r, t, a), y = c(e, t, p);
44
+ const n = c(r, t, a), y = c(e, t, p);
45
45
  return {
46
- tagClassName: g,
46
+ tagClassName: n,
47
47
  secondaryClassName: s,
48
48
  highlightClassName: y
49
49
  };
@@ -1,4 +1,4 @@
1
- import { useContext as D, useMemo as v } from "react";
1
+ import { useContext as R, useMemo as C } from "react";
2
2
  import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/extractStyle.mjs";
3
3
  import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.mjs";
4
4
  import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/StyleContext.mjs";
@@ -8,14 +8,14 @@ import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@an
8
8
  import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useCompatibleInsertionEffect.mjs";
9
9
  import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useEffectCleanupRegister.mjs";
10
10
  import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useHMR.mjs";
11
- import A from "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.mjs";
11
+ import G from "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.mjs";
12
12
  import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/transformers/legacyLogicalProperties.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
- import w from "../../BitzTheme/index.mjs";
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", B = (o, l, t, e) => {
18
- var $, b, T, S, z;
13
+ import { BitzTableContext as I } from "../Store/index.mjs";
14
+ import x from "../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
15
+ import M from "../../BitzTheme/index.mjs";
16
+ const Y = (m) => {
17
+ const { theme: y, hashId: n, token: i } = M.useToken(), { tableSize: s } = R(I), D = C(() => m ?? s ?? "lg", [m, s]), r = "bitzTableActionBarBlock", a = "actionBtn", c = "ActionBtn", p = "dropdownBtn", v = (o, l, t, e) => {
18
+ var $, b, T, S, z, f, g, u, B, h;
19
19
  return [
20
20
  {
21
21
  [`.${o} .${l}`]: {
@@ -30,31 +30,31 @@ const Q = (m) => {
30
30
  },
31
31
  {
32
32
  [`.${o} .xl${t}`]: {
33
- fontSize: ($ = e.Table.xlTable) == null ? void 0 : $.fontSize
33
+ fontSize: (b = ($ = e.Table) == null ? void 0 : $.xlTable) == null ? void 0 : b.fontSize
34
34
  }
35
35
  },
36
36
  {
37
37
  [`.${o} .lg${t}`]: {
38
- fontSize: (b = e.Table.lgTable) == null ? void 0 : b.fontSize
38
+ fontSize: (S = (T = e.Table) == null ? void 0 : T.lgTable) == null ? void 0 : S.fontSize
39
39
  }
40
40
  },
41
41
  {
42
42
  [`.${o} .md${t}`]: {
43
- fontSize: (T = e.Table.mdTable) == null ? void 0 : T.fontSize
43
+ fontSize: (f = (z = e.Table) == null ? void 0 : z.mdTable) == null ? void 0 : f.fontSize
44
44
  }
45
45
  },
46
46
  {
47
47
  [`.${o} .sm${t}`]: {
48
- fontSize: (S = e.Table.smTable) == null ? void 0 : S.fontSize
48
+ fontSize: (u = (g = e.Table) == null ? void 0 : g.smTable) == null ? void 0 : u.fontSize
49
49
  }
50
50
  },
51
51
  {
52
52
  [`.${o} .xs${t}`]: {
53
- fontSize: (z = e.Table.xsTable) == null ? void 0 : z.fontSize
53
+ fontSize: (h = (B = e.Table) == null ? void 0 : B.xsTable) == null ? void 0 : h.fontSize
54
54
  }
55
55
  }
56
56
  ];
57
- }, h = (o, l, t) => [
57
+ }, A = (o, l, t) => [
58
58
  {
59
59
  [`.${o} .${l}`]: {
60
60
  "&:hover": {
@@ -72,21 +72,21 @@ const Q = (m) => {
72
72
  }
73
73
  }
74
74
  ];
75
- A(
75
+ G(
76
76
  {
77
- theme: g,
77
+ theme: y,
78
78
  token: i,
79
79
  hashId: n,
80
80
  path: [r]
81
81
  },
82
82
  () => [
83
- B(r, a, c, i),
84
- h(r, p, i)
83
+ v(r, a, c, i),
84
+ A(r, p, i)
85
85
  ]
86
86
  );
87
- const d = `${u}${c}`, x = f(a, d, n), y = f(a, p, d, n);
88
- return { blockCls: r, addBtnClassName: x, btnClassName: y };
87
+ const d = `${D}${c}`, N = x(a, d, n), w = x(a, p, d, n);
88
+ return { blockCls: r, addBtnClassName: N, btnClassName: w };
89
89
  };
90
90
  export {
91
- Q as default
91
+ Y as default
92
92
  };
@@ -1,19 +1,20 @@
1
1
  import { j as t } from "../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
2
- import y from "../../../node_modules/.store/ahooks@3.7.11/node_modules/ahooks/es/useSize/index.mjs";
3
- import { Space as z, Skeleton as S } from "antd";
4
- import { useRef as I, useMemo as u, useContext as R } from "react";
2
+ import B from "../../../node_modules/.store/ahooks@3.7.11/node_modules/ahooks/es/useSize/index.mjs";
3
+ import { theme as w, Space as y, Skeleton as z } from "antd";
4
+ import { useRef as I, useMemo as u, useContext as S } from "react";
5
5
  import h from "../../BitzButton/index.mjs";
6
- import w from "./style.mjs";
6
+ import T, { actionColBtnGap as P } from "./style.mjs";
7
7
  import "../index.mjs";
8
- import b from "../Dropdown/index.mjs";
9
- import { BitzTableContext as T } from "../Store/index.mjs";
10
- const B = ({
8
+ import k from "../Dropdown/index.mjs";
9
+ import { tablePaddingInline as R } from "../../BitzConfigProvider/context.mjs";
10
+ import { BitzTableContext as A } from "../Store/index.mjs";
11
+ const b = ({
11
12
  skeletonCls: l,
12
13
  ...n
13
14
  }) => /* @__PURE__ */ t.jsxs(h, { type: "text", ...n, children: [
14
15
  /* @__PURE__ */ t.jsx("span", { children: n.children }),
15
16
  /* @__PURE__ */ t.jsx(
16
- S,
17
+ z,
17
18
  {
18
19
  active: !0,
19
20
  title: !1,
@@ -25,74 +26,74 @@ const B = ({
25
26
  }
26
27
  )
27
28
  ] });
28
- function A({
29
+ function E({
29
30
  loading: l,
30
31
  actionGroup: n,
31
- refInstance: a
32
+ refInstance: c
32
33
  }) {
33
- const { loading: i, fullscreen: x } = R(T), s = u(() => l ?? i, [l, i]), {
34
- gap: o,
35
- primaryBtnClassName: r,
36
- dangerBtnClassName: f,
37
- dropdownBtnClassName: k,
38
- maskClassName: g,
39
- skeletonBtnClassName: c,
40
- skeletonClassName: m
41
- } = w(), C = u(() => {
42
- const d = n.length >= 4 ? 2 : n.length, p = n.slice(0, d), j = [];
43
- if (p != null && p.length && p.forEach((e, N) => {
44
- j.push(
45
- s ? /* @__PURE__ */ t.jsx(
46
- B,
34
+ const { loading: d, fullscreen: x } = S(A), o = u(() => l ?? d, [l, d]), {
35
+ primaryBtnClassName: s,
36
+ dangerBtnClassName: i,
37
+ dropdownBtnClassName: N,
38
+ maskClassName: m,
39
+ skeletonBtnClassName: f,
40
+ skeletonClassName: p
41
+ } = T(), g = u(() => {
42
+ const r = n.length >= 4 ? 2 : n.length, a = n.slice(0, r), C = [];
43
+ if (a != null && a.length && a.forEach((e, j) => {
44
+ C.push(
45
+ o ? /* @__PURE__ */ t.jsx(
46
+ b,
47
47
  {
48
- className: c,
49
- skeletonCls: m,
48
+ className: f,
49
+ skeletonCls: p,
50
50
  children: e == null ? void 0 : e.label
51
51
  },
52
- N
53
- ) : e.children ? /* @__PURE__ */ t.jsx(b, { menu: { items: e.children }, children: /* @__PURE__ */ t.jsx(
52
+ j
53
+ ) : e.children ? /* @__PURE__ */ t.jsx(k, { menu: { items: e.children }, children: /* @__PURE__ */ t.jsx(
54
54
  h,
55
55
  {
56
56
  type: "text",
57
- className: e.danger ? f : r,
57
+ className: e.danger ? i : s,
58
58
  children: e == null ? void 0 : e.label
59
59
  }
60
- ) }, N) : /* @__PURE__ */ t.jsx(
60
+ ) }, j) : /* @__PURE__ */ t.jsx(
61
61
  h,
62
62
  {
63
63
  type: "text",
64
- className: e.danger ? f : r,
64
+ className: e.danger ? i : s,
65
65
  onClick: e == null ? void 0 : e.onClick,
66
66
  children: e == null ? void 0 : e.label
67
67
  },
68
- N
68
+ j
69
69
  )
70
70
  );
71
- }), d === 2 && n.length >= 4) {
71
+ }), r === 2 && n.length >= 4) {
72
72
  const e = n.slice(2, n.length);
73
- j.push(
74
- s ? /* @__PURE__ */ t.jsx(
75
- B,
73
+ C.push(
74
+ o ? /* @__PURE__ */ t.jsx(
75
+ b,
76
76
  {
77
- className: c,
78
- skeletonCls: m,
77
+ className: f,
78
+ skeletonCls: p,
79
79
  children: "更多"
80
80
  },
81
81
  5
82
- ) : /* @__PURE__ */ t.jsx(b, { menu: { items: e }, children: /* @__PURE__ */ t.jsx(h, { type: "text", className: k, children: "更多" }) }, 5)
82
+ ) : /* @__PURE__ */ t.jsx(k, { menu: { items: e }, children: /* @__PURE__ */ t.jsx(h, { type: "text", className: N, children: "更多" }) }, 5)
83
83
  );
84
84
  }
85
- return j;
86
- }, [s, n]);
87
- return /* @__PURE__ */ t.jsxs("div", { onClick: (d) => d.stopPropagation(), children: [
88
- /* @__PURE__ */ t.jsx(z, { size: o, ref: a, className: "actionGroup", children: C }),
89
- /* @__PURE__ */ t.jsx("div", { className: g })
85
+ return C;
86
+ }, [o, n]);
87
+ return /* @__PURE__ */ t.jsxs("div", { onClick: (r) => r.stopPropagation(), children: [
88
+ /* @__PURE__ */ t.jsx(y, { size: P, ref: c, className: "actionGroup", children: g }),
89
+ /* @__PURE__ */ t.jsx("div", { className: m })
90
90
  ] });
91
91
  }
92
- function F(l) {
93
- const { actionGroup: n, loading: a, ...i } = l, { gap: x } = w(), s = I(null), o = y(s), r = u(() => o != null && o.width ? o.width + x * 2 + 1 : 181, [o, x]);
92
+ function K(l) {
93
+ var m;
94
+ const { actionGroup: n, loading: c, ...d } = l, x = ((m = w.useToken().token.Table) == null ? void 0 : m.cellPaddingInline) ?? R, o = I(null), s = B(o), i = u(() => s != null && s.width ? s.width + x * 2 + 1 : 181, [s, x]);
94
95
  return u(() => ({
95
- width: Math.floor(r),
96
+ width: Math.floor(i),
96
97
  mobileHide: !0,
97
98
  isOperationCol: !0,
98
99
  title: "操作",
@@ -101,23 +102,23 @@ function F(l) {
101
102
  dataIndex: "operationCol",
102
103
  className: "operationCol",
103
104
  disabled: !0,
104
- render: (k, g, c) => {
105
- const m = n(g, c).filter(
106
- (C) => C.type != "detail"
105
+ render: (f, p, g) => {
106
+ const r = n(p, g).filter(
107
+ (a) => a.type != "detail"
107
108
  );
108
109
  return /* @__PURE__ */ t.jsx(
109
- A,
110
+ E,
110
111
  {
111
- actionGroup: m,
112
- loading: a,
113
- refInstance: s
112
+ actionGroup: r,
113
+ loading: c,
114
+ refInstance: o
114
115
  }
115
116
  );
116
117
  },
117
- ...i
118
- }), [r, s, a, n]);
118
+ ...d
119
+ }), [i, o, c, n]);
119
120
  }
120
121
  export {
121
- A as BitzTableAction,
122
- F as default
122
+ E as BitzTableAction,
123
+ K as default
123
124
  };
@@ -1,5 +1,4 @@
1
1
  declare const useGenStyle: () => {
2
- gap: number;
3
2
  defaultCls: string;
4
3
  primaryBtnClassName: string;
5
4
  dangerBtnClassName: string;
@@ -8,4 +7,5 @@ declare const useGenStyle: () => {
8
7
  skeletonClassName: string;
9
8
  maskClassName: string;
10
9
  };
10
+ export declare const actionColBtnGap = 18;
11
11
  export default useGenStyle;
@@ -1,4 +1,4 @@
1
- import { useContext as H, useMemo as N } from "react";
1
+ import { useContext as z, useMemo as H } from "react";
2
2
  import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/extractStyle.mjs";
3
3
  import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.mjs";
4
4
  import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/StyleContext.mjs";
@@ -8,15 +8,15 @@ import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@an
8
8
  import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useCompatibleInsertionEffect.mjs";
9
9
  import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useEffectCleanupRegister.mjs";
10
10
  import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useHMR.mjs";
11
- import T from "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.mjs";
11
+ import N from "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.mjs";
12
12
  import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/transformers/legacyLogicalProperties.mjs";
13
- import { BitzTableContext as E } from "../Store/index.mjs";
13
+ import { BitzTableContext as T } from "../Store/index.mjs";
14
14
  import n from "../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
15
- import w from "../../BitzTheme/index.mjs";
16
- const Q = () => {
17
- const { tableSize: i } = H(E);
18
- N(() => i ?? "lg", [i]);
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) => [
15
+ import E from "../../BitzTheme/index.mjs";
16
+ const O = () => {
17
+ const { tableSize: s } = z(T);
18
+ H(() => s ?? "lg", [s]);
19
+ const { theme: B, hashId: r, token: i } = E.useToken(), e = "actionTextBtn", a = "primaryBtn", l = "delBtn", c = "dropdownBtn", m = "skeletonBtn", p = "skeleton", d = "actionColMask", h = (t, o) => [
20
20
  {
21
21
  [`.${t}`]: {
22
22
  fontSize: "inherit",
@@ -54,7 +54,7 @@ const Q = () => {
54
54
  }
55
55
  }
56
56
  }
57
- ], v = (t, o) => [
57
+ ], g = (t, o) => [
58
58
  {
59
59
  [`.${t}`]: {
60
60
  color: o.colorError,
@@ -78,7 +78,7 @@ const Q = () => {
78
78
  }
79
79
  }
80
80
  }
81
- ], y = (t, o) => [
81
+ ], v = (t, o) => [
82
82
  {
83
83
  [`.${t}`]: {
84
84
  fontSize: "inherit",
@@ -98,33 +98,33 @@ const Q = () => {
98
98
  }
99
99
  }
100
100
  ];
101
- T(
101
+ N(
102
102
  {
103
- theme: h,
104
- token: s,
103
+ theme: B,
104
+ token: i,
105
105
  hashId: r,
106
106
  path: [e]
107
107
  },
108
108
  () => [
109
- g(e, d),
110
- u(a, s),
111
- v(l, s),
112
- C(c, s),
113
- y(m, p)
109
+ h(e, d),
110
+ u(a, i),
111
+ g(l, i),
112
+ C(c, i),
113
+ v(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), z = n(d, r);
116
+ const y = n(e, a, r), $ = n(e, l, r), f = n(e, c, r), S = n(e, m, r), x = n(p, r), b = n(d, r);
117
117
  return {
118
- gap: B,
119
118
  defaultCls: e,
120
- primaryBtnClassName: $,
121
- dangerBtnClassName: f,
122
- dropdownBtnClassName: S,
123
- skeletonBtnClassName: x,
124
- skeletonClassName: b,
125
- maskClassName: z
119
+ primaryBtnClassName: y,
120
+ dangerBtnClassName: $,
121
+ dropdownBtnClassName: f,
122
+ skeletonBtnClassName: S,
123
+ skeletonClassName: x,
124
+ maskClassName: b
126
125
  };
127
- };
126
+ }, Q = 18;
128
127
  export {
129
- Q as default
128
+ Q as actionColBtnGap,
129
+ O as default
130
130
  };
@@ -1,4 +1,4 @@
1
- import { useContext as $, useMemo as g } from "react";
1
+ import { useContext as O, useMemo as R } from "react";
2
2
  import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/extractStyle.mjs";
3
3
  import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.mjs";
4
4
  import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/StyleContext.mjs";
@@ -8,17 +8,17 @@ import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@an
8
8
  import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useCompatibleInsertionEffect.mjs";
9
9
  import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useEffectCleanupRegister.mjs";
10
10
  import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useHMR.mjs";
11
- import C from "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.mjs";
11
+ import j from "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.mjs";
12
12
  import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/transformers/legacyLogicalProperties.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
- import D from "../../BitzTheme/index.mjs";
16
- const P = () => {
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;
13
+ import { BitzTableContext as q } from "../Store/index.mjs";
14
+ import v from "../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
15
+ import A from "../../BitzTheme/index.mjs";
16
+ const ee = () => {
17
+ const { tableSize: t } = O(q), D = R(() => t ?? "lg", [t]), { theme: N, hashId: i, token: a } = A.useToken(), m = "OperationColDropdownBtn", o = "operationColDropdownBtn", G = (M, n, e) => {
18
+ var r, p, d, l, u, z, s, S, f, b, T, c, w, h, x, $, g, C, B, y;
19
19
  return [
20
20
  {
21
- [`.${x}`]: {
21
+ [`.${M}`]: {
22
22
  ".ant-dropdown-menu": {
23
23
  fontSize: "inherit",
24
24
  // 普通菜单
@@ -49,60 +49,60 @@ const P = () => {
49
49
  },
50
50
  {
51
51
  [`.xl${n}`]: {
52
- fontSize: (r = e.Table.xlTable) == null ? void 0 : r.fontSize,
52
+ fontSize: (p = (r = e.Table) == null ? void 0 : r.xlTable) == null ? void 0 : p.fontSize,
53
53
  ".ant-dropdown-menu-submenu-expand-icon": {
54
- fontSize: (((p = e.Table.xlTable) == null ? void 0 : p.fontSize) || e.fontSize) - 2
54
+ fontSize: (((l = (d = e.Table) == null ? void 0 : d.xlTable) == null ? void 0 : l.fontSize) || e.fontSize) - 2
55
55
  }
56
56
  }
57
57
  },
58
58
  {
59
59
  [`.lg${n}`]: {
60
- fontSize: (d = e.Table.lgTable) == null ? void 0 : d.fontSize,
60
+ fontSize: (z = (u = e.Table) == null ? void 0 : u.lgTable) == null ? void 0 : z.fontSize,
61
61
  ".ant-dropdown-menu-submenu-expand-icon": {
62
- fontSize: (((l = e.Table.lgTable) == null ? void 0 : l.fontSize) || e.fontSize) - 2
62
+ fontSize: (((S = (s = e.Table) == null ? void 0 : s.lgTable) == null ? void 0 : S.fontSize) || e.fontSize) - 2
63
63
  }
64
64
  }
65
65
  },
66
66
  {
67
67
  [`.md${n}`]: {
68
- fontSize: (u = e.Table.mdTable) == null ? void 0 : u.fontSize,
68
+ fontSize: (b = (f = e.Table) == null ? void 0 : f.mdTable) == null ? void 0 : b.fontSize,
69
69
  ".ant-dropdown-menu-submenu-expand-icon": {
70
- fontSize: (((z = e.Table.mdTable) == null ? void 0 : z.fontSize) || e.fontSize) - 2
70
+ fontSize: (((c = (T = e.Table) == null ? void 0 : T.mdTable) == null ? void 0 : c.fontSize) || e.fontSize) - 2
71
71
  }
72
72
  }
73
73
  },
74
74
  {
75
75
  [`.sm${n}`]: {
76
- fontSize: (s = e.Table.smTable) == null ? void 0 : s.fontSize,
76
+ fontSize: (h = (w = e.Table) == null ? void 0 : w.smTable) == null ? void 0 : h.fontSize,
77
77
  ".ant-dropdown-menu-submenu-expand-icon": {
78
- fontSize: (((S = e.Table.smTable) == null ? void 0 : S.fontSize) || e.fontSize) - 2
78
+ fontSize: ((($ = (x = e.Table) == null ? void 0 : x.smTable) == null ? void 0 : $.fontSize) || e.fontSize) - 2
79
79
  }
80
80
  }
81
81
  },
82
82
  {
83
83
  [`.xs${n}`]: {
84
- fontSize: (f = e.Table.xsTable) == null ? void 0 : f.fontSize,
84
+ fontSize: (C = (g = e.Table) == null ? void 0 : g.xsTable) == null ? void 0 : C.fontSize,
85
85
  ".ant-dropdown-menu-submenu-expand-icon": {
86
- fontSize: (((b = e.Table.xsTable) == null ? void 0 : b.fontSize) || e.fontSize) - 2
86
+ fontSize: (((y = (B = e.Table) == null ? void 0 : B.xsTable) == null ? void 0 : y.fontSize) || e.fontSize) - 2
87
87
  }
88
88
  }
89
89
  }
90
90
  ];
91
91
  };
92
- C(
92
+ j(
93
93
  {
94
- theme: c,
94
+ theme: N,
95
95
  token: a,
96
96
  hashId: i,
97
97
  path: [o]
98
98
  },
99
- () => [w(o, m, a)]
99
+ () => [G(o, m, a)]
100
100
  );
101
- const h = `${T}${m}`;
101
+ const I = `${D}${m}`;
102
102
  return {
103
- popupClassName: y(o, h, i)
103
+ popupClassName: v(o, I, i)
104
104
  };
105
105
  };
106
106
  export {
107
- P as default
107
+ ee as default
108
108
  };