bitz-react-admin-ui 2.11.0-beta.1 → 2.11.0-beta.3
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.
- package/dist/components/BitzConfirmModal/index.mjs +46 -26
- package/dist/components/BitzTable/ActionBar/ActionBar.mjs +52 -34
- package/dist/components/BitzTable/ActionCol/index.mjs +90 -71
- package/dist/components/BitzTable/Store/index.mjs +102 -102
- package/dist/components/BitzTable/Table/index.mjs +92 -90
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +91 -96
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +180 -183
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +94 -94
- package/dist/components/BitzTable/ToolBar/FullscreenIcon/index.mjs +47 -44
- package/dist/node_modules/react-resizable/index.mjs +1 -1
- package/dist/node_modules/use-sync-external-store/shim/index.mjs +1 -1
- package/dist/style.css +1 -1
- package/dist/utils/findNode.mjs +7 -5
- package/package.json +1 -1
|
@@ -1,43 +1,63 @@
|
|
|
1
1
|
import { j as e } from "../../node_modules/react/jsx-runtime.mjs";
|
|
2
|
-
import { useState as
|
|
3
|
-
import { CloseOutlined as
|
|
4
|
-
import { theme as
|
|
5
|
-
import { create as
|
|
6
|
-
import
|
|
2
|
+
import { useState as j } from "react";
|
|
3
|
+
import { CloseOutlined as B } from "@ant-design/icons";
|
|
4
|
+
import { theme as C, Modal as T } from "antd";
|
|
5
|
+
import { create as v, useModal as y, antdModalV5 as M } from "@ebay/nice-modal-react";
|
|
6
|
+
import N from "../../assets/iconfont/IconJinggao.mjs";
|
|
7
7
|
import "./index.less.mjs";
|
|
8
|
-
import {
|
|
9
|
-
const
|
|
8
|
+
import { useLingui as I } from "@lingui/react";
|
|
9
|
+
const z = (c) => {
|
|
10
10
|
var i;
|
|
11
11
|
const {
|
|
12
|
-
okButtonProps:
|
|
12
|
+
okButtonProps: m,
|
|
13
13
|
okType: p,
|
|
14
14
|
onOk: t,
|
|
15
15
|
onCancel: r,
|
|
16
|
-
title:
|
|
17
|
-
modalText:
|
|
16
|
+
title: x,
|
|
17
|
+
modalText: f,
|
|
18
18
|
...u
|
|
19
|
-
} =
|
|
20
|
-
|
|
21
|
-
} =
|
|
22
|
-
token:
|
|
23
|
-
} =
|
|
24
|
-
var
|
|
25
|
-
t ? (
|
|
26
|
-
|
|
19
|
+
} = c, {
|
|
20
|
+
_: s
|
|
21
|
+
} = I(), {
|
|
22
|
+
token: l
|
|
23
|
+
} = C.useToken(), o = y(), n = M(o), [h, a] = j(!1), k = async () => {
|
|
24
|
+
var d;
|
|
25
|
+
t ? (a(!0), (d = t == null ? void 0 : t()) == null || d.finally(() => {
|
|
26
|
+
a(!1), o.resolve("ok"), o.hide();
|
|
27
27
|
})) : (o.resolve("ok"), o.hide());
|
|
28
|
-
},
|
|
28
|
+
}, g = () => {
|
|
29
29
|
r == null || r(), o.resolve("cancel"), o.hide();
|
|
30
30
|
};
|
|
31
|
-
return /* @__PURE__ */ e.jsx(
|
|
31
|
+
return /* @__PURE__ */ e.jsx(T, { open: n.open, afterClose: n.afterClose, className: "bitzConfirmModalBlock", title: x || s(
|
|
32
|
+
/*i18n*/
|
|
33
|
+
{
|
|
34
|
+
id: "5tNImB"
|
|
35
|
+
}
|
|
36
|
+
), width: 400, closeIcon: /* @__PURE__ */ e.jsx(B, {}), onOk: k, onCancel: g, confirmLoading: h, okText: s(
|
|
37
|
+
/*i18n*/
|
|
38
|
+
{
|
|
39
|
+
id: "6Ql6i3"
|
|
40
|
+
}
|
|
41
|
+
), okType: p || "primary", okButtonProps: {
|
|
32
42
|
danger: !0,
|
|
33
|
-
...
|
|
34
|
-
}, cancelText: s(
|
|
35
|
-
|
|
43
|
+
...m
|
|
44
|
+
}, cancelText: s(
|
|
45
|
+
/*i18n*/
|
|
46
|
+
{
|
|
47
|
+
id: "jxD+iQ"
|
|
48
|
+
}
|
|
49
|
+
), ...u, style: {
|
|
50
|
+
"--modalContent-colorBg": (i = l.Modal) == null ? void 0 : i.headerBg
|
|
36
51
|
}, children: /* @__PURE__ */ e.jsxs("div", { className: "textBox", children: [
|
|
37
|
-
/* @__PURE__ */ e.jsx("div", { className: "warnIcon", children: /* @__PURE__ */ e.jsx(
|
|
38
|
-
/* @__PURE__ */ e.jsx("div", { className: "modalText", children:
|
|
52
|
+
/* @__PURE__ */ e.jsx("div", { className: "warnIcon", children: /* @__PURE__ */ e.jsx(N, { className: "icon", color: l.colorError, size: 20 }) }),
|
|
53
|
+
/* @__PURE__ */ e.jsx("div", { className: "modalText", children: f || s(
|
|
54
|
+
/*i18n*/
|
|
55
|
+
{
|
|
56
|
+
id: "4ox2gQ"
|
|
57
|
+
}
|
|
58
|
+
) })
|
|
39
59
|
] }) });
|
|
40
|
-
}, D =
|
|
60
|
+
}, D = v(z);
|
|
41
61
|
export {
|
|
42
62
|
D as default
|
|
43
63
|
};
|
|
@@ -1,49 +1,62 @@
|
|
|
1
1
|
import { j as s } from "../../../node_modules/react/jsx-runtime.mjs";
|
|
2
2
|
import { useMemo as N } from "react";
|
|
3
|
-
import { PlusCircleFilled as c, CaretDownOutlined as
|
|
4
|
-
import { Space as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { omit as
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
import { PlusCircleFilled as c, CaretDownOutlined as g } from "@ant-design/icons";
|
|
4
|
+
import { Space as h } from "antd";
|
|
5
|
+
import m from "../../BitzButton/index.mjs";
|
|
6
|
+
import B from "./style.mjs";
|
|
7
|
+
import C from "../Dropdown/index.mjs";
|
|
8
|
+
import { omit as o } from "lodash-es";
|
|
9
|
+
import u from "../../../node_modules/classnames/index.mjs";
|
|
10
|
+
import { useLingui as b } from "@lingui/react";
|
|
11
|
+
const L = ({
|
|
12
|
+
size: d,
|
|
12
13
|
add: n,
|
|
13
14
|
excel: r,
|
|
14
|
-
actions:
|
|
15
|
-
children:
|
|
15
|
+
actions: i,
|
|
16
|
+
children: w
|
|
16
17
|
}) => {
|
|
17
18
|
const {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
_: p
|
|
20
|
+
} = b(), {
|
|
21
|
+
blockCls: E,
|
|
22
|
+
addBtnClassName: j,
|
|
23
|
+
btnClassName: l
|
|
24
|
+
} = B(d), k = N(() => [{
|
|
22
25
|
key: "download",
|
|
23
|
-
label:
|
|
26
|
+
label: p(
|
|
27
|
+
/*i18n*/
|
|
28
|
+
{
|
|
29
|
+
id: "wjxllE"
|
|
30
|
+
}
|
|
31
|
+
)
|
|
24
32
|
// icon: (
|
|
25
33
|
// <CloudDownloadOutlined style={{ fontSize: 14 }} />
|
|
26
34
|
// ),
|
|
27
35
|
}, {
|
|
28
36
|
key: "import",
|
|
29
|
-
label:
|
|
37
|
+
label: p(
|
|
38
|
+
/*i18n*/
|
|
39
|
+
{
|
|
40
|
+
id: "+NfTiW"
|
|
41
|
+
}
|
|
42
|
+
)
|
|
30
43
|
// icon: (
|
|
31
44
|
// <CloudUploadOutlined style={{ fontSize: 14 }} />
|
|
32
45
|
// ),
|
|
33
|
-
}, ...(r == null ? void 0 : r.otherMenu) ?? []], [r]),
|
|
34
|
-
var
|
|
35
|
-
return (
|
|
36
|
-
}, ...
|
|
46
|
+
}, ...(r == null ? void 0 : r.otherMenu) ?? []], [r]), x = N(() => i == null ? void 0 : i.map((t, e) => t.type === "primary" ? /* @__PURE__ */ s.jsx(m, { type: "primary", icon: /* @__PURE__ */ s.jsx(c, {}), className: u(j, t.className), ...o(t, "text", "type", "className", "children"), children: t == null ? void 0 : t.text }, e) : t.type === "secondary" ? /* @__PURE__ */ s.jsx(m, { type: "text", className: u(l, t.className), ...o(t, "text", "type", "className", "children"), children: t == null ? void 0 : t.text }, e) : /* @__PURE__ */ s.jsx(C, { getPopupContainer: (a) => {
|
|
47
|
+
var y, f;
|
|
48
|
+
return (f = (y = a.parentElement) == null ? void 0 : y.parentElement) == null ? void 0 : f.parentElement;
|
|
49
|
+
}, ...o(t, "text", "className", "children"), children: /* @__PURE__ */ s.jsx(m, { className: u(l, t.className), type: "text", children: /* @__PURE__ */ s.jsxs(h, { size: 6, children: [
|
|
37
50
|
!t.text || typeof t.text == "string" ? /* @__PURE__ */ s.jsx("span", { children: t.text }) : t.text,
|
|
38
|
-
/* @__PURE__ */ s.jsx(
|
|
39
|
-
] }) }) }, e)), [
|
|
40
|
-
return /* @__PURE__ */ s.jsxs(
|
|
51
|
+
/* @__PURE__ */ s.jsx(g, {})
|
|
52
|
+
] }) }) }, e)), [i]);
|
|
53
|
+
return /* @__PURE__ */ s.jsxs(h.Compact, { className: E, style: {
|
|
41
54
|
height: "100%"
|
|
42
55
|
}, children: [
|
|
43
|
-
(n == null ? void 0 : n.show) !== !1 && /* @__PURE__ */ s.jsx(
|
|
44
|
-
|
|
45
|
-
(r == null ? void 0 : r.show) !== !1 && /* @__PURE__ */ s.jsx(
|
|
46
|
-
items:
|
|
56
|
+
(n == null ? void 0 : n.show) !== !1 && /* @__PURE__ */ s.jsx(m, { type: "primary", icon: /* @__PURE__ */ s.jsx(c, {}), className: j, ...o(n, "text", "show", "type", "className", "children"), children: n == null ? void 0 : n.text }),
|
|
57
|
+
i ? x : w,
|
|
58
|
+
(r == null ? void 0 : r.show) !== !1 && /* @__PURE__ */ s.jsx(C, { menu: {
|
|
59
|
+
items: k,
|
|
47
60
|
onClick: ({
|
|
48
61
|
key: t
|
|
49
62
|
}) => {
|
|
@@ -51,14 +64,19 @@ const G = ({
|
|
|
51
64
|
return (e = r == null ? void 0 : r.onClick) == null ? void 0 : e.call(r, t);
|
|
52
65
|
}
|
|
53
66
|
}, trigger: (r == null ? void 0 : r.trigger) || ["click"], getPopupContainer: (t) => {
|
|
54
|
-
var e,
|
|
55
|
-
return (
|
|
56
|
-
}, ...
|
|
57
|
-
/* @__PURE__ */ s.jsx("span", { children: (r == null ? void 0 : r.text) ??
|
|
58
|
-
|
|
67
|
+
var e, a;
|
|
68
|
+
return (a = (e = t.parentElement) == null ? void 0 : e.parentElement) == null ? void 0 : a.parentElement;
|
|
69
|
+
}, ...o(r, "text", "show", "menu", "trigger", "children"), children: /* @__PURE__ */ s.jsx(m, { className: l, type: "text", children: /* @__PURE__ */ s.jsxs(h, { size: 6, children: [
|
|
70
|
+
/* @__PURE__ */ s.jsx("span", { children: (r == null ? void 0 : r.text) ?? p(
|
|
71
|
+
/*i18n*/
|
|
72
|
+
{
|
|
73
|
+
id: "gcX44e"
|
|
74
|
+
}
|
|
75
|
+
) }),
|
|
76
|
+
/* @__PURE__ */ s.jsx(g, {})
|
|
59
77
|
] }) }) })
|
|
60
78
|
] });
|
|
61
79
|
};
|
|
62
80
|
export {
|
|
63
|
-
|
|
81
|
+
L as default
|
|
64
82
|
};
|
|
@@ -1,116 +1,135 @@
|
|
|
1
1
|
import { j as n } from "../../../node_modules/react/jsx-runtime.mjs";
|
|
2
2
|
import M from "../../../node_modules/ahooks/es/useSize/index.mjs";
|
|
3
|
-
import { Space as
|
|
4
|
-
import { forwardRef as G, useContext as H, useMemo as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
3
|
+
import { Space as P, Skeleton as D, theme as F } from "antd";
|
|
4
|
+
import { forwardRef as G, useContext as H, useMemo as B, useState as O, Fragment as W, useRef as T } from "react";
|
|
5
|
+
import j from "../../BitzButton/index.mjs";
|
|
6
|
+
import Z, { actionColBtnGap as $ } from "./style.mjs";
|
|
7
7
|
import "../index.mjs";
|
|
8
|
-
import
|
|
8
|
+
import _ from "../Dropdown/index.mjs";
|
|
9
9
|
import { tablePaddingInline as q } from "../../BitzConfigProvider/context.mjs";
|
|
10
|
+
import { useLingui as I } from "@lingui/react";
|
|
10
11
|
import { BitzTableContext as J } from "../Store/index.mjs";
|
|
11
|
-
const
|
|
12
|
+
const w = ({
|
|
12
13
|
skeletonCls: x,
|
|
13
|
-
...
|
|
14
|
-
}) => /* @__PURE__ */ n.jsxs(
|
|
15
|
-
/* @__PURE__ */ n.jsx("span", { children:
|
|
14
|
+
...l
|
|
15
|
+
}) => /* @__PURE__ */ n.jsxs(j, { type: "text", ...l, children: [
|
|
16
|
+
/* @__PURE__ */ n.jsx("span", { children: l.children }),
|
|
16
17
|
/* @__PURE__ */ n.jsx(D, { active: !0, title: !1, className: x, paragraph: {
|
|
17
18
|
rows: 1,
|
|
18
19
|
width: "100%"
|
|
19
20
|
} })
|
|
20
21
|
] }), K = G(({
|
|
21
22
|
loading: x,
|
|
22
|
-
maxCount:
|
|
23
|
+
maxCount: l,
|
|
23
24
|
useMaxWidth: p,
|
|
24
25
|
actionGroup: d,
|
|
25
26
|
customActions: o,
|
|
26
|
-
width:
|
|
27
|
-
},
|
|
27
|
+
width: z
|
|
28
|
+
}, h) => {
|
|
28
29
|
const {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
30
|
+
_: k
|
|
31
|
+
} = I(), {
|
|
32
|
+
loading: L
|
|
33
|
+
} = H(J), i = B(() => x ?? L, [x, L]), {
|
|
34
|
+
primaryBtnClassName: u,
|
|
35
|
+
dangerBtnClassName: s,
|
|
36
|
+
secondaryBtnClassName: f,
|
|
37
|
+
maskClassName: N,
|
|
38
|
+
skeletonBtnClassName: g,
|
|
39
|
+
skeletonClassName: m
|
|
40
|
+
} = Z(), [S] = O([/* @__PURE__ */ n.jsx(w, { className: g, skeletonCls: m, children: "占位" }, 1), /* @__PURE__ */ n.jsx(w, { className: g, skeletonCls: m, children: "占位" }, 2)]), b = B(() => {
|
|
41
|
+
if (i && p)
|
|
42
|
+
return S;
|
|
43
|
+
const a = l - 1 > 0 ? l - 1 : 2, C = d.length > l ? a : d.length, t = d.slice(0, C), r = [];
|
|
44
|
+
if (t != null && t.length && t.forEach((e, c) => {
|
|
45
|
+
r.push(i ? /* @__PURE__ */ n.jsx(w, { className: g, skeletonCls: m, children: e == null ? void 0 : e.label }, c) : e.children ? /* @__PURE__ */ n.jsx(_, { menu: {
|
|
46
|
+
items: e.children
|
|
47
|
+
}, children: /* @__PURE__ */ n.jsx(j, { type: "text", className: e.danger ? s : u, children: e == null ? void 0 : e.label }) }, c) : /* @__PURE__ */ n.jsx(j, { type: "text", className: e.danger ? s : u, onClick: e == null ? void 0 : e.onClick, children: e == null ? void 0 : e.label }, c));
|
|
48
|
+
}), C === a && d.length > l) {
|
|
49
|
+
const e = d.slice(a, d.length);
|
|
50
|
+
r.push(i ? /* @__PURE__ */ n.jsx(w, { className: g, skeletonCls: m, children: k(
|
|
51
|
+
/*i18n*/
|
|
52
|
+
{
|
|
53
|
+
id: "RzpL6g"
|
|
54
|
+
}
|
|
55
|
+
) }, -1) : /* @__PURE__ */ n.jsx(_, { menu: {
|
|
56
|
+
items: e
|
|
57
|
+
}, getPopupContainer: () => document.fullscreenElement ?? document.body, children: /* @__PURE__ */ n.jsx(j, { type: "text", className: f, children: k(
|
|
58
|
+
/*i18n*/
|
|
59
|
+
{
|
|
60
|
+
id: "RzpL6g"
|
|
61
|
+
}
|
|
62
|
+
) }) }, -1));
|
|
51
63
|
}
|
|
52
|
-
return
|
|
53
|
-
}, [
|
|
64
|
+
return r;
|
|
65
|
+
}, [i, l, p, d]), y = B(() => {
|
|
54
66
|
if (!(o != null && o.length))
|
|
55
67
|
return;
|
|
56
|
-
if (
|
|
57
|
-
return
|
|
58
|
-
const
|
|
59
|
-
let
|
|
60
|
-
|
|
61
|
-
const c =
|
|
62
|
-
return c == null ? void 0 : c(
|
|
68
|
+
if (i && p)
|
|
69
|
+
return S;
|
|
70
|
+
const a = o.map((t, r) => /* @__PURE__ */ n.jsx(w, { className: g, skeletonCls: m, children: t == null ? void 0 : t.label }, r)), C = o.map((t, r) => {
|
|
71
|
+
let e = /* @__PURE__ */ n.jsx(j, { type: "text", className: t.danger ? s : u, onClick: t.onClick, children: t == null ? void 0 : t.label }, r);
|
|
72
|
+
t.type === "secondary" && (e = /* @__PURE__ */ n.jsx(j, { type: "text", className: f, onClick: t.onClick, children: t == null ? void 0 : t.label }, r));
|
|
73
|
+
const c = t.render ?? ((R, E) => /* @__PURE__ */ n.jsx(W, { children: R }, E));
|
|
74
|
+
return c == null ? void 0 : c(e, r);
|
|
63
75
|
});
|
|
64
|
-
return
|
|
65
|
-
}, [
|
|
66
|
-
return
|
|
76
|
+
return i ? a : C;
|
|
77
|
+
}, [i, p, o]);
|
|
78
|
+
return z ? /* @__PURE__ */ n.jsxs("div", { onClick: (a) => a.stopPropagation(), style: {
|
|
67
79
|
overflow: "hidden"
|
|
68
80
|
}, children: [
|
|
69
|
-
/* @__PURE__ */ n.jsx(
|
|
81
|
+
/* @__PURE__ */ n.jsx(P, { size: 8, ref: h, className: "actionGroup", style: {
|
|
70
82
|
flexWrap: "wrap"
|
|
71
|
-
}, children:
|
|
72
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
73
|
-
] }) : /* @__PURE__ */ n.jsxs("div", { onClick: (
|
|
83
|
+
}, children: y ?? b }),
|
|
84
|
+
/* @__PURE__ */ n.jsx("div", { className: N })
|
|
85
|
+
] }) : /* @__PURE__ */ n.jsxs("div", { onClick: (a) => a.stopPropagation(), style: {
|
|
74
86
|
overflow: "hidden"
|
|
75
87
|
}, children: [
|
|
76
|
-
/* @__PURE__ */ n.jsx(
|
|
77
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
88
|
+
/* @__PURE__ */ n.jsx(P, { size: $, ref: h, className: "actionGroup", children: y ?? b }),
|
|
89
|
+
/* @__PURE__ */ n.jsx("div", { className: N })
|
|
78
90
|
] });
|
|
79
91
|
});
|
|
80
|
-
function
|
|
92
|
+
function le(x) {
|
|
81
93
|
var m;
|
|
82
94
|
const {
|
|
83
|
-
actionGroup:
|
|
95
|
+
actionGroup: l,
|
|
84
96
|
loading: p,
|
|
85
97
|
maxCount: d = 3,
|
|
86
98
|
customActions: o,
|
|
87
|
-
defaultWidth:
|
|
88
|
-
width:
|
|
89
|
-
...
|
|
90
|
-
} = x,
|
|
91
|
-
|
|
92
|
-
|
|
99
|
+
defaultWidth: z,
|
|
100
|
+
width: h,
|
|
101
|
+
...k
|
|
102
|
+
} = x, {
|
|
103
|
+
_: L
|
|
104
|
+
} = I(), i = ((m = F.useToken().token.Table) == null ? void 0 : m.cellPaddingInline) ?? q, u = T(null), s = M(u), f = T(0), N = B(() => h || (s != null && s.width && !f.current && (f.current = s == null ? void 0 : s.width), !(s != null && s.width) && f.current ? f.current + i * 2 + 1 : s != null && s.width ? s.width + i * 2 + 1 : z ?? 141), [h, s, i, z]);
|
|
105
|
+
return B(() => ({
|
|
106
|
+
width: Math.floor(N),
|
|
93
107
|
mobileHide: !0,
|
|
94
108
|
isOperationCol: !0,
|
|
95
|
-
title:
|
|
109
|
+
title: L(
|
|
110
|
+
/*i18n*/
|
|
111
|
+
{
|
|
112
|
+
id: "5oBbwZ"
|
|
113
|
+
}
|
|
114
|
+
),
|
|
96
115
|
fixed: "right",
|
|
97
116
|
key: "operationCol",
|
|
98
117
|
dataIndex: "operationCol",
|
|
99
118
|
className: "operationCol",
|
|
100
119
|
disabled: !0,
|
|
101
|
-
render: (
|
|
102
|
-
var
|
|
103
|
-
const
|
|
104
|
-
var
|
|
105
|
-
const
|
|
106
|
-
return
|
|
120
|
+
render: (S, b, y) => {
|
|
121
|
+
var t, r;
|
|
122
|
+
const a = ((t = o == null ? void 0 : o(b, y)) == null ? void 0 : t.filter((e) => e.type != "detail")) ?? [], C = ((r = l == null ? void 0 : l(b, y)) == null ? void 0 : r.filter((e) => {
|
|
123
|
+
var R;
|
|
124
|
+
const c = typeof e.hidden == "function" ? (R = e.hidden) == null ? void 0 : R.call(e) : e.hidden;
|
|
125
|
+
return e.type != "detail" && !c;
|
|
107
126
|
})) ?? [];
|
|
108
|
-
return /* @__PURE__ */ n.jsx(K, { actionGroup:
|
|
127
|
+
return /* @__PURE__ */ n.jsx(K, { actionGroup: C, customActions: a, loading: p, maxCount: d, useMaxWidth: k.useMaxWidth, ref: u, width: h });
|
|
109
128
|
},
|
|
110
|
-
...
|
|
111
|
-
}), [
|
|
129
|
+
...k
|
|
130
|
+
}), [N, u.current, p, d, l, o]);
|
|
112
131
|
}
|
|
113
132
|
export {
|
|
114
133
|
K as BitzTableAction,
|
|
115
|
-
|
|
134
|
+
le as default
|
|
116
135
|
};
|