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.
- package/dist/components/BitzFluentInput/index.mjs +22 -18
- package/dist/components/BitzFluentSelect/index.mjs +20 -16
- package/dist/components/BitzTable/ActionBar/style.mjs +9 -9
- package/dist/components/BitzTable/ActionCol/style.mjs +8 -8
- package/dist/components/BitzTable/Dropdown/style.mjs +7 -7
- package/dist/components/BitzTable/SelectionBar/style.mjs +5 -5
- package/dist/components/BitzTable/Store/index.d.ts +2 -2
- package/dist/components/BitzTable/Store/index.mjs +11 -11
- package/dist/components/BitzTable/Table/index.mjs +224 -210
- package/dist/components/BitzTable/Table/style.d.ts +4 -34
- package/dist/components/BitzTable/Table/style.mjs +8 -4
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnSettingModal.mjs +1 -1
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/index.mjs +8 -8
- package/dist/components/BitzTable/ToolBar/DensityIcon/index.mjs +36 -28
- package/dist/components/BitzTable/ToolBar/style.mjs +5 -5
- package/dist/components/BitzTable/index.d.ts +1 -1
- package/dist/components/BitzTable/index.mjs +7 -7
- package/dist/components/BitzTableSelect/Picker/index.d.ts +5 -2
- package/dist/components/BitzTableSelect/SelectPopup/getData.d.ts +1 -1
- package/dist/components/BitzTableSelect/SelectPopup/getData.mjs +32 -34
- package/dist/components/BitzTableSelect/SelectPopup/index.mjs +128 -124
- package/dist/components/BitzTableSelect/TableCell/index.mjs +26 -28
- package/dist/components/BitzTableSelect/TextBlock/index.mjs +7 -7
- package/dist/components/BitzTableSelect/index.d.ts +2 -2
- package/dist/node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/isBoolean.mjs +9 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,40 +1,10 @@
|
|
|
1
|
-
export declare const getCssVar: ({ height, evenRowBgColor, colorBgContainer, table, gap, borderColor, }: {
|
|
1
|
+
export declare const getCssVar: ({ height, evenRowBgColor, colorBgContainer, table, gap, borderColor, scrollbarWidth, other, }: {
|
|
2
2
|
height: any;
|
|
3
3
|
evenRowBgColor: any;
|
|
4
4
|
colorBgContainer: any;
|
|
5
5
|
table: any;
|
|
6
6
|
gap: any;
|
|
7
7
|
borderColor: any;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
'--thead-bgColor': any;
|
|
12
|
-
'--thead-hoverBgColor': any;
|
|
13
|
-
'--evenRow-BgColor': any;
|
|
14
|
-
'--oddRow-BgColor': any;
|
|
15
|
-
'--radioCheckbox-borderColor': any;
|
|
16
|
-
'--expandIcon-borderColor': any;
|
|
17
|
-
'--rowHover-bgColor': any;
|
|
18
|
-
'--borderColor': any;
|
|
19
|
-
'--container-gap': string;
|
|
20
|
-
'--xlTable-fontSize': string;
|
|
21
|
-
'--lgTable-fontSize': string;
|
|
22
|
-
'--mdTable-fontSize': string;
|
|
23
|
-
'--smTable-fontSize': string;
|
|
24
|
-
'--xsTable-fontSize': string;
|
|
25
|
-
'--xlTable-height': string;
|
|
26
|
-
'--lgTable-height': string;
|
|
27
|
-
'--mdTable-height': string;
|
|
28
|
-
'--smTable-height': string;
|
|
29
|
-
'--xsTable-height': string;
|
|
30
|
-
'--xlTable-lineHeight': string;
|
|
31
|
-
'--lgTable-lineHeight': string;
|
|
32
|
-
'--mdTable-lineHeight': string;
|
|
33
|
-
'--smTable-lineHeight': string;
|
|
34
|
-
'--xsTable-lineHeight': string;
|
|
35
|
-
'--xlSkeleton-height': string;
|
|
36
|
-
'--lgSkeleton-height': string;
|
|
37
|
-
'--mdSkeleton-height': string;
|
|
38
|
-
'--smSkeleton-height': string;
|
|
39
|
-
'--xsSkeleton-height': string;
|
|
40
|
-
};
|
|
8
|
+
scrollbarWidth: any;
|
|
9
|
+
other: any;
|
|
10
|
+
}) => any;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
const
|
|
1
|
+
const j = ({
|
|
2
2
|
height: v,
|
|
3
3
|
evenRowBgColor: w,
|
|
4
4
|
colorBgContainer: e,
|
|
5
5
|
table: o,
|
|
6
6
|
gap: I,
|
|
7
|
-
borderColor: R
|
|
7
|
+
borderColor: R,
|
|
8
|
+
scrollbarWidth: u,
|
|
9
|
+
other: V
|
|
8
10
|
}) => {
|
|
9
11
|
var h, i, g, x, r, n, T, p, s, d, $, H, m, S, C, k, f, z, B, c;
|
|
10
12
|
return {
|
|
@@ -19,6 +21,7 @@ const u = ({
|
|
|
19
21
|
"--rowHover-bgColor": o == null ? void 0 : o.rowHoverBg,
|
|
20
22
|
"--borderColor": R,
|
|
21
23
|
"--container-gap": `${I}px`,
|
|
24
|
+
"--scrollbar-width": `${u || 0}px`,
|
|
22
25
|
"--xlTable-fontSize": `${(h = o == null ? void 0 : o.xlTable) == null ? void 0 : h.fontSize}px`,
|
|
23
26
|
"--lgTable-fontSize": `${(i = o == null ? void 0 : o.lgTable) == null ? void 0 : i.fontSize}px`,
|
|
24
27
|
"--mdTable-fontSize": `${(g = o == null ? void 0 : o.mdTable) == null ? void 0 : g.fontSize}px`,
|
|
@@ -38,10 +41,11 @@ const u = ({
|
|
|
38
41
|
"--lgSkeleton-height": `${(f = o == null ? void 0 : o.lgTable) == null ? void 0 : f.skeletonHeight}px`,
|
|
39
42
|
"--mdSkeleton-height": `${(z = o == null ? void 0 : o.mdTable) == null ? void 0 : z.skeletonHeight}px`,
|
|
40
43
|
"--smSkeleton-height": `${(B = o == null ? void 0 : o.smTable) == null ? void 0 : B.skeletonHeight}px`,
|
|
41
|
-
"--xsSkeleton-height": `${(c = o == null ? void 0 : o.xsTable) == null ? void 0 : c.skeletonHeight}px
|
|
44
|
+
"--xsSkeleton-height": `${(c = o == null ? void 0 : o.xsTable) == null ? void 0 : c.skeletonHeight}px`,
|
|
42
45
|
// '--tableBody-bootomBorderColor': table?.borderColor || '#f0f0f0',
|
|
46
|
+
...V
|
|
43
47
|
};
|
|
44
48
|
};
|
|
45
49
|
export {
|
|
46
|
-
|
|
50
|
+
j as getCssVar
|
|
47
51
|
};
|
|
@@ -3,7 +3,7 @@ import { create as se, useModal as te, antdModalV5 as le } from "@ebay/nice-moda
|
|
|
3
3
|
import { Modal as ne, Typography as re, Checkbox as ae, Button as ce } from "antd";
|
|
4
4
|
import r from "./index.module.less.mjs";
|
|
5
5
|
import { useState as N, useContext as ie, useEffect as me, useCallback as V, useMemo as M } from "react";
|
|
6
|
-
import {
|
|
6
|
+
import { BitzTableContext as de } from "../../Store/index.mjs";
|
|
7
7
|
import { genColumnKey as F, columnSort as ue } from "../../Store/utils/index.mjs";
|
|
8
8
|
import p from "../../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
|
|
9
9
|
import { DndContext as pe } from "../../../../node_modules/.store/@dnd-kit_core@6.1.0/node_modules/@dnd-kit/core/dist/core.esm.mjs";
|
|
@@ -3,12 +3,12 @@ import C, { useContext as g, useState as x, useMemo as h, useEffect as j } from
|
|
|
3
3
|
import { Tooltip as b } from "antd";
|
|
4
4
|
import { show as E } from "@ebay/nice-modal-react";
|
|
5
5
|
import S from "./ColumnSettingModal.mjs";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
const
|
|
11
|
-
const { order: c, show: a = !0, icon: u = /* @__PURE__ */ e.jsx(
|
|
6
|
+
import B from "../style.mjs";
|
|
7
|
+
import p from "../../../BitzButton/index.mjs";
|
|
8
|
+
import { BitzTableContext as v } from "../../Store/index.mjs";
|
|
9
|
+
import y from "../../../../node_modules/.store/@ant-design_icons@5.3.5/node_modules/@ant-design/icons/es/icons/SettingOutlined.mjs";
|
|
10
|
+
const z = (n) => {
|
|
11
|
+
const { order: c, show: a = !0, icon: u = /* @__PURE__ */ e.jsx(y, {}) } = n, { toolbarItemClassName: f } = B(), { uuid: l } = g(v), [s, i] = x(!1), d = h(() => s ? !1 : void 0, [s]);
|
|
12
12
|
return j(() => (document == null || document.addEventListener("fullscreenchange", (o) => {
|
|
13
13
|
var t, r, m;
|
|
14
14
|
(t = o.target) != null && t.classList.contains("bitzTableBlock") && (i(!!document.fullscreenElement), (m = (r = document.fullscreenElement) == null ? void 0 : r.classList) != null && m.contains("bitzTableBlock") || i(!1));
|
|
@@ -26,7 +26,7 @@ const L = (n) => {
|
|
|
26
26
|
}
|
|
27
27
|
),
|
|
28
28
|
/* @__PURE__ */ e.jsx(b, { title: "列设置", open: !1, children: /* @__PURE__ */ e.jsx(
|
|
29
|
-
|
|
29
|
+
p,
|
|
30
30
|
{
|
|
31
31
|
type: "text",
|
|
32
32
|
className: f,
|
|
@@ -37,7 +37,7 @@ const L = (n) => {
|
|
|
37
37
|
}
|
|
38
38
|
) })
|
|
39
39
|
] }) : null;
|
|
40
|
-
}, R = C.memo(
|
|
40
|
+
}, R = C.memo(z);
|
|
41
41
|
export {
|
|
42
42
|
R as default
|
|
43
43
|
};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { j as l } from "../../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
|
|
2
2
|
import { memo as k, useContext as g } from "react";
|
|
3
|
-
import { Tooltip as
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
3
|
+
import { Tooltip as z } from "antd";
|
|
4
|
+
import { BitzTableContext as h } from "../../Store/index.mjs";
|
|
5
|
+
import j from "../style.mjs";
|
|
6
6
|
import C from "../../../BitzButton/index.mjs";
|
|
7
7
|
import S from "../../Dropdown/index.mjs";
|
|
8
8
|
import D from "../../../../node_modules/.store/@ant-design_icons@5.3.5/node_modules/@ant-design/icons/es/icons/ColumnHeightOutlined.mjs";
|
|
9
9
|
const I = ({ defaultSize: e, items: n }) => n.map((t) => t.key === e ? {
|
|
10
10
|
...t,
|
|
11
11
|
label: `${t.label}(默认)`
|
|
12
|
-
} : t),
|
|
13
|
-
const { order: n, show: t = !0, icon:
|
|
14
|
-
sizeStorageType:
|
|
15
|
-
sizeStorageKey:
|
|
12
|
+
} : t), p = (e) => {
|
|
13
|
+
const { order: n, show: t = !0, icon: u = /* @__PURE__ */ l.jsx(D, {}) } = e, {
|
|
14
|
+
sizeStorageType: f,
|
|
15
|
+
sizeStorageKey: s,
|
|
16
16
|
onlineSizeChange: i,
|
|
17
|
-
defaultTableSize:
|
|
18
|
-
tableSize:
|
|
17
|
+
defaultTableSize: y,
|
|
18
|
+
tableSize: a,
|
|
19
19
|
setTableSize: r
|
|
20
|
-
} = g(
|
|
21
|
-
defaultSize:
|
|
20
|
+
} = g(h), { toolbarItemClassName: d } = j(), x = I({
|
|
21
|
+
defaultSize: y,
|
|
22
22
|
items: [
|
|
23
23
|
{
|
|
24
24
|
key: "xl",
|
|
@@ -41,26 +41,34 @@ const I = ({ defaultSize: e, items: n }) => n.map((t) => t.key === e ? {
|
|
|
41
41
|
label: "特紧凑"
|
|
42
42
|
}
|
|
43
43
|
]
|
|
44
|
-
}),
|
|
45
|
-
selectedKeys: [
|
|
46
|
-
onClick: (
|
|
47
|
-
var
|
|
48
|
-
const { key: o } =
|
|
49
|
-
o !==
|
|
44
|
+
}), b = {
|
|
45
|
+
selectedKeys: [a],
|
|
46
|
+
onClick: (m) => {
|
|
47
|
+
var c;
|
|
48
|
+
const { key: o } = m;
|
|
49
|
+
o !== a && (r == null || r(o), f === "online" && s && (i == null || i(s, o)), (c = e == null ? void 0 : e.onChange) == null || c.call(e, o));
|
|
50
50
|
},
|
|
51
|
-
items:
|
|
51
|
+
items: x
|
|
52
52
|
};
|
|
53
|
-
return t ? /* @__PURE__ */ l.jsx(
|
|
54
|
-
|
|
53
|
+
return t ? /* @__PURE__ */ l.jsx(
|
|
54
|
+
S,
|
|
55
55
|
{
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
56
|
+
menu: b,
|
|
57
|
+
trigger: ["click"],
|
|
58
|
+
getPopupContainer: (m) => m.parentElement,
|
|
59
|
+
children: /* @__PURE__ */ l.jsx(z, { title: "表格密度", open: !1, children: /* @__PURE__ */ l.jsx(
|
|
60
|
+
C,
|
|
61
|
+
{
|
|
62
|
+
style: { order: n },
|
|
63
|
+
type: "text",
|
|
64
|
+
className: d,
|
|
65
|
+
icon: u,
|
|
66
|
+
children: "表格密度"
|
|
67
|
+
}
|
|
68
|
+
) })
|
|
61
69
|
}
|
|
62
|
-
)
|
|
63
|
-
},
|
|
70
|
+
) : null;
|
|
71
|
+
}, G = k(p);
|
|
64
72
|
export {
|
|
65
|
-
|
|
73
|
+
G as default
|
|
66
74
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BitzTableContext as $ } from "../Store/index.mjs";
|
|
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 { useContext as f, useMemo as g } from "react";
|
|
@@ -14,7 +14,7 @@ import "../../../node_modules/.store/@ant-design_cssinjs@1.18.5/node_modules/@an
|
|
|
14
14
|
import u from "../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
|
|
15
15
|
import x from "../../BitzTheme/index.mjs";
|
|
16
16
|
const J = () => {
|
|
17
|
-
const { theme: T, token: i, hashId: n } = x.useToken(), { tableSize: a } = f($), d = g(() => a ?? "lg", [a]), r = "toolbarItem", m = "ToolbarItemBtn",
|
|
17
|
+
const { theme: T, token: i, hashId: n } = x.useToken(), { tableSize: a } = f($), d = g(() => a ?? "lg", [a]), r = "toolbarItem", m = "ToolbarItemBtn", z = (o, t, e) => {
|
|
18
18
|
var l, s, p, b, c;
|
|
19
19
|
return [
|
|
20
20
|
{
|
|
@@ -73,10 +73,10 @@ const J = () => {
|
|
|
73
73
|
];
|
|
74
74
|
};
|
|
75
75
|
h({ theme: T, token: i, hashId: n, path: [r] }, () => [
|
|
76
|
-
|
|
76
|
+
z(r, m, i)
|
|
77
77
|
]);
|
|
78
|
-
const
|
|
79
|
-
return { toolbarItemClassName: u(r,
|
|
78
|
+
const S = `${d}${m}`;
|
|
79
|
+
return { toolbarItemClassName: u(r, S, n) };
|
|
80
80
|
};
|
|
81
81
|
export {
|
|
82
82
|
J as default
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BitzTableProps } from './Table';
|
|
2
|
-
import BitzTableProvider, {
|
|
2
|
+
import BitzTableProvider, { BitzTableContext, DensitySize as BitzTableSizeType, SizeStateType, ColumnStateType } from './Store';
|
|
3
3
|
import ActionBar from './ActionBar';
|
|
4
4
|
import ToolBar from './ToolBar';
|
|
5
5
|
import ActionCol from './ActionCol';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import t from "./Table/index.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { BitzTableContext as f, default as b } from "./Store/index.mjs";
|
|
3
3
|
import r from "./ActionBar/index.mjs";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
4
|
+
import i from "./ToolBar/index.mjs";
|
|
5
|
+
import e from "./ActionCol/index.mjs";
|
|
6
6
|
import a from "./SelectionBar/index.mjs";
|
|
7
7
|
const o = t;
|
|
8
8
|
process.env.NODE_ENV !== "production" && (o.displayName = "BitzTable");
|
|
9
9
|
o.ActionBar = r;
|
|
10
|
-
o.ToolBar =
|
|
10
|
+
o.ToolBar = i;
|
|
11
11
|
o.SelectionBar = a;
|
|
12
|
-
o.ActionCol =
|
|
12
|
+
o.ActionCol = e;
|
|
13
13
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
f as BitzTableContext,
|
|
15
|
+
b as BitzTableProvider,
|
|
16
16
|
o as default
|
|
17
17
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC, Key, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { SelectProps as AntSelectProps } from 'antd';
|
|
3
3
|
import { BaseOptionType } from 'antd/es/select';
|
|
4
4
|
import { ColumnsType } from 'antd/es/table';
|
|
5
5
|
import { PaginationChangeEvent, TableSelectPopupParentRender, FieldNames } from '..';
|
|
@@ -22,7 +22,10 @@ export interface TableSelectProps<T extends BaseOptionType> extends AntSelectPro
|
|
|
22
22
|
/** 表格总数据条数 */
|
|
23
23
|
total: number;
|
|
24
24
|
/** 分页属性 */
|
|
25
|
-
page
|
|
25
|
+
page?: {
|
|
26
|
+
page: number;
|
|
27
|
+
size: number;
|
|
28
|
+
};
|
|
26
29
|
/** 分页切换 */
|
|
27
30
|
onPageChange: PaginationChangeEvent;
|
|
28
31
|
/** 表格搜索input元素 */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** 表格单元格操作 */
|
|
2
2
|
export declare const getColumns: (columnOption: any, tableData: any, page: any) => any[];
|
|
3
3
|
/** 展开表格 */
|
|
4
|
-
export declare const getExpandable: (prop?: string) => {
|
|
4
|
+
export declare const getExpandable: (prop?: string, loading?: boolean) => {
|
|
5
5
|
expandable: {
|
|
6
6
|
rowExpandable: (record: any) => any;
|
|
7
7
|
expandedRowRender: (record: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,59 +1,57 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import p from "../TableCell/index.mjs";
|
|
1
|
+
import { j as i } from "../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
|
|
2
|
+
import p from "../../BitzDescriptions/index.mjs";
|
|
3
|
+
import m from "../TableCell/index.mjs";
|
|
5
4
|
import u from "../TextBlock/index.mjs";
|
|
6
|
-
const
|
|
7
|
-
const l =
|
|
8
|
-
...
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
5
|
+
const b = (o, n, e) => {
|
|
6
|
+
const l = o.map((r) => (typeof r.title == "string" && (r.title = /* @__PURE__ */ i.jsx(u, { value: r.title, bold: 600 })), {
|
|
7
|
+
...r,
|
|
8
|
+
width: "auto",
|
|
9
|
+
render: (t, c, g) => {
|
|
10
|
+
const f = (n == null ? void 0 : n.length) === 1 ? !1 : g + 1 > ((n == null ? void 0 : n.length) || 0) / 2;
|
|
11
|
+
if (r != null && r.render) {
|
|
12
|
+
const s = r.render(t, c, g);
|
|
13
13
|
if (typeof s == "object")
|
|
14
14
|
return s;
|
|
15
15
|
if (["boolean", "number", "bigint", "string"].includes(
|
|
16
16
|
typeof s
|
|
17
17
|
))
|
|
18
|
-
return /* @__PURE__ */
|
|
18
|
+
return /* @__PURE__ */ i.jsx(m, { value: `${s}`, isLatterHalf: f });
|
|
19
19
|
}
|
|
20
|
-
return !
|
|
20
|
+
return !t && !["boolean", "number", "bigint"].includes(typeof t) ? /* @__PURE__ */ i.jsx(u, { value: "-" }) : /* @__PURE__ */ i.jsx(m, { value: t, isLatterHalf: f });
|
|
21
21
|
}
|
|
22
22
|
}));
|
|
23
23
|
return [
|
|
24
|
-
m.SELECTION_COLUMN,
|
|
25
|
-
m.EXPAND_COLUMN,
|
|
26
24
|
{
|
|
27
25
|
title: "序号",
|
|
28
26
|
rowScope: "row",
|
|
29
27
|
className: "numRow",
|
|
30
|
-
width:
|
|
31
|
-
render: (
|
|
28
|
+
width: 80,
|
|
29
|
+
render: (r, t, c) => c + 1 + (e.page - 1) * e.size
|
|
32
30
|
},
|
|
33
31
|
...l
|
|
34
32
|
];
|
|
35
|
-
},
|
|
33
|
+
}, j = (o, n) => o ? {
|
|
36
34
|
expandable: {
|
|
37
|
-
rowExpandable: (
|
|
38
|
-
var e;
|
|
39
|
-
return (e = r[n]) == null ? void 0 : e.length;
|
|
40
|
-
},
|
|
41
|
-
expandedRowRender: (r) => {
|
|
35
|
+
rowExpandable: (e) => {
|
|
42
36
|
var l;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
37
|
+
return n ? !0 : (l = e[o]) == null ? void 0 : l.length;
|
|
38
|
+
},
|
|
39
|
+
expandedRowRender: (e) => {
|
|
40
|
+
var r;
|
|
41
|
+
const l = (r = e[o]) == null ? void 0 : r.map((t) => (typeof t.label == "string" && (t.label = /* @__PURE__ */ i.jsx(u, { minRows: 1, maxRows: 5, value: t.label })), typeof t.children == "string" && (t.children = /* @__PURE__ */ i.jsx(u, { minRows: 1, maxRows: 5, value: t.children })), t));
|
|
42
|
+
return /* @__PURE__ */ i.jsx(
|
|
43
|
+
p,
|
|
46
44
|
{
|
|
47
45
|
size: "small",
|
|
48
46
|
bordered: !0,
|
|
49
|
-
items:
|
|
47
|
+
items: l,
|
|
50
48
|
column: { xs: 1, sm: 1, md: 1, lg: 2, xl: 2, xxl: 2 }
|
|
51
49
|
}
|
|
52
50
|
);
|
|
53
51
|
}
|
|
54
52
|
}
|
|
55
|
-
} : null,
|
|
56
|
-
if (
|
|
53
|
+
} : null, w = (o, n) => {
|
|
54
|
+
if (o) {
|
|
57
55
|
const e = {
|
|
58
56
|
gutter: 20,
|
|
59
57
|
left: {
|
|
@@ -68,7 +66,7 @@ const S = (n, r, e) => {
|
|
|
68
66
|
button: 4
|
|
69
67
|
}
|
|
70
68
|
};
|
|
71
|
-
return
|
|
69
|
+
return n || (e.right.search = 11, e.right.operation = 13, e.right.toolTagSelect = 0, e.right.totalSelect = 11, e.right.button = void 0), e;
|
|
72
70
|
} else {
|
|
73
71
|
const e = {
|
|
74
72
|
gutter: 0,
|
|
@@ -84,11 +82,11 @@ const S = (n, r, e) => {
|
|
|
84
82
|
button: void 0
|
|
85
83
|
}
|
|
86
84
|
};
|
|
87
|
-
return
|
|
85
|
+
return n || (e.right.search = 11, e.right.operation = 13, e.right.toolTagSelect = 0, e.right.totalSelect = 11), e;
|
|
88
86
|
}
|
|
89
87
|
};
|
|
90
88
|
export {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
89
|
+
b as getColumns,
|
|
90
|
+
j as getExpandable,
|
|
91
|
+
w as getLayoutConfig
|
|
94
92
|
};
|