bitz-react-admin-ui 2.1.3 → 2.1.5
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/_virtual/dayjs.min.mjs +5 -2
- package/dist/_virtual/dayjs.min2.mjs +4 -0
- package/dist/_virtual/index.mjs +2 -2
- package/dist/_virtual/index2.mjs +2 -2
- package/dist/assets/iconfont/IconColumnCancelFixed.d.ts +7 -0
- package/dist/assets/iconfont/IconColumnCancelFixed.mjs +35 -0
- package/dist/assets/iconfont/IconColumnFixedLeft.d.ts +7 -0
- package/dist/assets/iconfont/IconColumnFixedLeft.mjs +35 -0
- package/dist/assets/iconfont/IconColumnFixedRight.d.ts +7 -0
- package/dist/assets/iconfont/IconColumnFixedRight.mjs +35 -0
- package/dist/assets/iconfont/IconDragOrder.d.ts +7 -0
- package/dist/assets/iconfont/IconDragOrder.mjs +35 -0
- package/dist/assets/iconfont/index.d.ts +5 -1
- package/dist/assets/iconfont/index.mjs +105 -89
- package/dist/components/BitzCalendar/index.mjs +1 -1
- package/dist/components/BitzDayJs/index.mjs +1 -1
- package/dist/components/BitzFluentInput/index.d.ts +2 -5
- package/dist/components/BitzFluentInput/index.mjs +4 -58
- package/dist/components/BitzFluentSelect/index.d.ts +4 -5
- package/dist/components/BitzFluentSelect/index.mjs +4 -58
- package/dist/components/BitzFluentTreeSelect/index.mjs +6 -0
- package/dist/components/BitzFuiCalendar/BitzFuiCalendarStore.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarAgendum.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarAgendumItem.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarHeadItem.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarToolbar.mjs +1 -1
- package/dist/components/BitzFuiCalendar/ColumnData.mjs +1 -1
- package/dist/components/BitzMeetingTime/BitzMeetingTimeItem.mjs +1 -1
- package/dist/components/BitzMeetingTime/index.mjs +1 -1
- package/dist/components/BitzTable/Select/index.d.ts +4 -0
- package/dist/components/BitzTable/Select/index.mjs +11 -0
- package/dist/components/BitzTable/Select/style.d.ts +4 -0
- package/dist/components/BitzTable/Select/style.mjs +66 -0
- package/dist/components/BitzTable/Store/index.d.ts +43 -9
- package/dist/components/BitzTable/Store/index.mjs +259 -146
- package/dist/components/BitzTable/Store/utils/index.mjs +26 -25
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +73 -61
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndItem.mjs +118 -61
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.d.ts +4 -3
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +48 -47
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.d.ts +5 -1
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.mjs +84 -15
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +59 -50
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/style.d.ts +1 -1
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/style.mjs +47 -21
- package/dist/components/BitzTable/ToolBar/ExportIcon/AnyDataTotalLabel.d.ts +5 -0
- package/dist/components/BitzTable/ToolBar/ExportIcon/AnyDataTotalLabel.mjs +89 -0
- package/dist/components/BitzTable/ToolBar/ExportIcon/index.d.ts +1 -2
- package/dist/components/BitzTable/ToolBar/ExportIcon/index.mjs +46 -32
- package/dist/components/BitzTable/ToolBar/index.d.ts +5 -2
- package/dist/components/BitzTableSelect/SelectPopup/index.mjs +148 -123
- package/dist/components/BitzTableSelect/TextBlock/index.mjs +21 -18
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +94 -92
- package/dist/node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs +1 -1
- package/dist/node_modules/.store/dayjs@1.11.10/node_modules/dayjs/dayjs.min.mjs +292 -292
- package/dist/node_modules/.store/dayjs@1.11.10/node_modules/dayjs/locale/zh-cn.mjs +13 -13
- package/dist/node_modules/.store/prop-types@15.8.1/node_modules/prop-types/index.mjs +1 -1
- package/dist/style.css +1 -1
- package/dist/utils/WithFluent.d.ts +9 -0
- package/dist/utils/WithFluent.mjs +58 -0
- package/dist/utils/time.mjs +1 -1
- package/package.json +2 -1
- package/dist/node_modules/.store/@ant-design_icons-svg@4.4.2/node_modules/@ant-design/icons-svg/es/asn/PicRightOutlined.mjs +0 -5
- package/dist/node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/PicRightOutlined.mjs +0 -15
|
@@ -1,174 +1,199 @@
|
|
|
1
1
|
import { j as e } from "../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
|
|
2
|
-
import { useRef as
|
|
3
|
-
import { Row as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { getColumns as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
2
|
+
import { useRef as le, useState as g, useMemo as P, useCallback as oe, useEffect as se } from "react";
|
|
3
|
+
import { Row as f, Col as a, Space as A, Form as m, Select as F, Spin as ce, Typography as ne, Flex as ie, Empty as G } from "antd";
|
|
4
|
+
import ae from "../../BitzPagination/index.mjs";
|
|
5
|
+
import pe from "../../BitzTable/index.mjs";
|
|
6
|
+
import H from "../../BitzButton/index.mjs";
|
|
7
|
+
import { getColumns as ue, getExpandable as de, getLayoutConfig as xe } from "./getData.mjs";
|
|
8
|
+
import he from "../TextBlock/index.mjs";
|
|
9
|
+
import me from "../../../node_modules/.store/ahooks@3.7.11/node_modules/ahooks/es/useSize/index.mjs";
|
|
10
|
+
import je from "../../BitzTheme/index.mjs";
|
|
11
|
+
import Se from "../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
|
|
12
12
|
import "./index.less.mjs";
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
function
|
|
16
|
-
columns:
|
|
17
|
-
tableData:
|
|
18
|
-
total:
|
|
19
|
-
loading:
|
|
20
|
-
loadingFailed:
|
|
21
|
-
loadAgain:
|
|
22
|
-
page:
|
|
23
|
-
onPageChange:
|
|
24
|
-
searchInput:
|
|
25
|
-
showToolTagSelect:
|
|
26
|
-
toolTags:
|
|
27
|
-
onToolTagChange:
|
|
28
|
-
lrLayout:
|
|
29
|
-
parentRender:
|
|
30
|
-
keys:
|
|
31
|
-
rows:
|
|
32
|
-
fieldNames:
|
|
33
|
-
onChange:
|
|
34
|
-
onDropdownVisibleChange:
|
|
13
|
+
import be from "../../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/InfoCircleOutlined.mjs";
|
|
14
|
+
import fe from "../../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/CloseOutlined.mjs";
|
|
15
|
+
function Ke({
|
|
16
|
+
columns: B,
|
|
17
|
+
tableData: y,
|
|
18
|
+
total: L,
|
|
19
|
+
loading: p,
|
|
20
|
+
loadingFailed: j,
|
|
21
|
+
loadAgain: O,
|
|
22
|
+
page: E,
|
|
23
|
+
onPageChange: W,
|
|
24
|
+
searchInput: $,
|
|
25
|
+
showToolTagSelect: I,
|
|
26
|
+
toolTags: q,
|
|
27
|
+
onToolTagChange: w,
|
|
28
|
+
lrLayout: T,
|
|
29
|
+
parentRender: R,
|
|
30
|
+
keys: z,
|
|
31
|
+
rows: k,
|
|
32
|
+
fieldNames: t,
|
|
33
|
+
onChange: x,
|
|
34
|
+
onDropdownVisibleChange: S
|
|
35
35
|
}) {
|
|
36
|
-
var
|
|
37
|
-
const
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
var K, _;
|
|
37
|
+
const C = le(null), v = me(C), { token: s } = je.useToken(), M = ((K = s == null ? void 0 : s.BitzTableSelect) == null ? void 0 : K.tableSpaceBetweenPage) ?? 10, [c, J] = g([]), [r, Q] = g([]), [U, X] = g(void 0), Y = (l, o) => {
|
|
38
|
+
X(l), w == null || w(l, o), l || (S(!0), setTimeout(() => {
|
|
39
|
+
S(!1);
|
|
40
40
|
}, 0));
|
|
41
|
-
},
|
|
42
|
-
selectedRowKeys:
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
41
|
+
}, Z = P(() => ue(B, y, E), [B]), D = {
|
|
42
|
+
selectedRowKeys: c,
|
|
43
|
+
onSelect: (l, o) => {
|
|
44
|
+
if (o)
|
|
45
|
+
c.push(l[t.value]), r.push(l), x(c, r);
|
|
46
|
+
else {
|
|
47
|
+
const u = r.filter(
|
|
48
|
+
(d) => d[t.value] !== l[t.value]
|
|
49
|
+
);
|
|
50
|
+
x(
|
|
51
|
+
u.map((d) => d[t.value]),
|
|
52
|
+
u
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
onSelectAll: (l, o, u) => {
|
|
57
|
+
const d = u.map((i) => i[t.value]);
|
|
58
|
+
if (l) {
|
|
59
|
+
const i = c.concat(d), b = r.concat(u);
|
|
60
|
+
x(i, b);
|
|
61
|
+
} else {
|
|
62
|
+
const i = c == null ? void 0 : c.filter((h) => !d.includes(h)), b = /* @__PURE__ */ new Map();
|
|
63
|
+
u.forEach((h) => {
|
|
64
|
+
b.set(h[t.value], h);
|
|
65
|
+
});
|
|
66
|
+
const re = r == null ? void 0 : r.filter(
|
|
67
|
+
(h) => !b.has(h[t.value])
|
|
68
|
+
);
|
|
69
|
+
x(i, re);
|
|
70
|
+
}
|
|
46
71
|
}
|
|
47
|
-
},
|
|
48
|
-
|
|
72
|
+
}, V = oe(() => de(t.items, p), [t.items, p]), N = (l, o) => /* @__PURE__ */ e.jsxs("span", { style: { color: s.colorText }, children: [
|
|
73
|
+
l[0],
|
|
49
74
|
" ",
|
|
50
|
-
/* @__PURE__ */ e.jsx("span", { style: { color:
|
|
75
|
+
/* @__PURE__ */ e.jsx("span", { style: { color: s.colorPrimary, fontWeight: 600 }, children: o }),
|
|
51
76
|
" ",
|
|
52
|
-
|
|
53
|
-
] }),
|
|
54
|
-
const
|
|
55
|
-
const
|
|
56
|
-
(
|
|
57
|
-
),
|
|
58
|
-
(
|
|
77
|
+
l[1]
|
|
78
|
+
] }), ee = () => {
|
|
79
|
+
const l = (o) => {
|
|
80
|
+
const u = r.findIndex(
|
|
81
|
+
(i) => i[t.value] === o[t.value]
|
|
82
|
+
), d = c.findIndex(
|
|
83
|
+
(i) => i === o[t.value]
|
|
59
84
|
);
|
|
60
|
-
|
|
85
|
+
r.splice(u, 1), c.splice(d, 1), x(c, r);
|
|
61
86
|
};
|
|
62
87
|
return /* @__PURE__ */ e.jsxs(
|
|
63
|
-
|
|
88
|
+
A,
|
|
64
89
|
{
|
|
65
90
|
direction: "vertical",
|
|
66
91
|
style: {
|
|
67
92
|
width: "calc(100% - 5px)",
|
|
68
93
|
paddingRight: 5,
|
|
69
|
-
maxHeight:
|
|
94
|
+
maxHeight: r.length ? 220 : "auto",
|
|
70
95
|
overflow: "hidden auto"
|
|
71
96
|
},
|
|
72
97
|
children: [
|
|
73
|
-
|
|
74
|
-
|
|
98
|
+
r.map((o) => /* @__PURE__ */ e.jsxs(
|
|
99
|
+
ie,
|
|
75
100
|
{
|
|
76
101
|
justify: "space-between",
|
|
77
102
|
style: {
|
|
78
103
|
padding: "4px 8px",
|
|
79
|
-
border: `1px solid ${
|
|
104
|
+
border: `1px solid ${s.colorBorder}`,
|
|
80
105
|
backgroundColor: "#f5f5f5",
|
|
81
|
-
borderRadius:
|
|
106
|
+
borderRadius: s.borderRadiusSM,
|
|
82
107
|
overflow: "hidden"
|
|
83
108
|
},
|
|
84
109
|
children: [
|
|
85
|
-
/* @__PURE__ */ e.jsx("div", { style: { width: "calc(100% - 15px)" }, children: /* @__PURE__ */ e.jsx(
|
|
110
|
+
/* @__PURE__ */ e.jsx("div", { style: { width: "calc(100% - 15px)" }, children: /* @__PURE__ */ e.jsx(he, { value: o[t.label] }) }),
|
|
86
111
|
/* @__PURE__ */ e.jsx(
|
|
87
|
-
|
|
112
|
+
fe,
|
|
88
113
|
{
|
|
89
114
|
style: {
|
|
90
|
-
color:
|
|
115
|
+
color: s.colorError,
|
|
91
116
|
fontSize: 13,
|
|
92
117
|
cursor: "pointer"
|
|
93
118
|
},
|
|
94
|
-
onClick: () => o
|
|
119
|
+
onClick: () => l(o)
|
|
95
120
|
}
|
|
96
121
|
)
|
|
97
122
|
]
|
|
98
123
|
},
|
|
99
|
-
|
|
124
|
+
o[t.value]
|
|
100
125
|
)),
|
|
101
|
-
!
|
|
126
|
+
!r.length && /* @__PURE__ */ e.jsx(G, { image: G.PRESENTED_IMAGE_SIMPLE })
|
|
102
127
|
]
|
|
103
128
|
}
|
|
104
129
|
);
|
|
105
|
-
},
|
|
106
|
-
{ loadingTable:
|
|
107
|
-
{ loadingFailedTable:
|
|
130
|
+
}, n = P(() => xe(T, I), [T, I]), te = P(() => Se(
|
|
131
|
+
{ loadingTable: p },
|
|
132
|
+
{ loadingFailedTable: j },
|
|
108
133
|
"bitzSelectTable"
|
|
109
|
-
), [
|
|
110
|
-
return
|
|
111
|
-
|
|
112
|
-
}, [
|
|
113
|
-
/* @__PURE__ */ e.jsx(
|
|
114
|
-
/* @__PURE__ */ e.jsx(
|
|
115
|
-
/* @__PURE__ */ e.jsx(
|
|
116
|
-
/* @__PURE__ */ e.jsx(
|
|
117
|
-
/* @__PURE__ */ e.jsx(
|
|
118
|
-
/* @__PURE__ */ e.jsx(
|
|
119
|
-
|
|
134
|
+
), [j, p]);
|
|
135
|
+
return se(() => {
|
|
136
|
+
J(z ?? []), Q(k ?? []);
|
|
137
|
+
}, [z, k]), /* @__PURE__ */ e.jsxs(f, { gutter: n.gutter, children: [
|
|
138
|
+
/* @__PURE__ */ e.jsx(a, { span: n.left.span, children: T && R && R(M, v == null ? void 0 : v.height) }),
|
|
139
|
+
/* @__PURE__ */ e.jsx(a, { span: n.right.span, children: /* @__PURE__ */ e.jsxs(A, { direction: "vertical", size: M, style: { width: "100%" }, children: [
|
|
140
|
+
/* @__PURE__ */ e.jsx(m, { className: "tableSelectPopupSearchForm", children: /* @__PURE__ */ e.jsx(f, { gutter: [16, 16], children: /* @__PURE__ */ e.jsx(a, { span: 24, children: /* @__PURE__ */ e.jsxs(f, { justify: "space-between", gutter: [16, 16], children: [
|
|
141
|
+
/* @__PURE__ */ e.jsx(a, { span: n.right.search, children: /* @__PURE__ */ e.jsx(m.Item, { children: $ }) }),
|
|
142
|
+
/* @__PURE__ */ e.jsx(a, { span: n.right.operation, children: /* @__PURE__ */ e.jsxs(f, { justify: "end", gutter: 8, children: [
|
|
143
|
+
/* @__PURE__ */ e.jsx(a, { span: n.right.toolTagSelect, children: /* @__PURE__ */ e.jsx(m.Item, { children: /* @__PURE__ */ e.jsx(
|
|
144
|
+
F,
|
|
120
145
|
{
|
|
121
146
|
allowClear: !0,
|
|
122
147
|
className: "tableSelectPopupToolTagSelect",
|
|
123
148
|
style: {
|
|
124
149
|
width: "100%",
|
|
125
|
-
"--toolTagSelect-color":
|
|
150
|
+
"--toolTagSelect-color": p ? s.colorTextDisabled : s.colorText
|
|
126
151
|
},
|
|
127
152
|
placeholder: "常用标签",
|
|
128
153
|
showSearch: !1,
|
|
129
|
-
disabled:
|
|
130
|
-
options:
|
|
131
|
-
value:
|
|
132
|
-
onChange:
|
|
133
|
-
onDropdownVisibleChange:
|
|
154
|
+
disabled: p,
|
|
155
|
+
options: q,
|
|
156
|
+
value: U,
|
|
157
|
+
onChange: Y,
|
|
158
|
+
onDropdownVisibleChange: S
|
|
134
159
|
}
|
|
135
160
|
) }) }),
|
|
136
|
-
/* @__PURE__ */ e.jsx(
|
|
161
|
+
/* @__PURE__ */ e.jsx(a, { span: n.right.totalSelect, children: /* @__PURE__ */ e.jsx(m.Item, { children: /* @__PURE__ */ e.jsxs("div", { className: "tableSelectPopupTotalSelect", children: [
|
|
137
162
|
/* @__PURE__ */ e.jsx(
|
|
138
|
-
|
|
163
|
+
F,
|
|
139
164
|
{
|
|
140
165
|
style: { width: "100%" },
|
|
141
166
|
mode: "multiple",
|
|
142
167
|
placeholder: "",
|
|
143
168
|
showSearch: !1,
|
|
144
|
-
options:
|
|
145
|
-
value:
|
|
146
|
-
fieldNames:
|
|
169
|
+
options: r,
|
|
170
|
+
value: c,
|
|
171
|
+
fieldNames: t,
|
|
147
172
|
popupClassName: "tableSelectPopupTotalPopup",
|
|
148
|
-
dropdownRender:
|
|
173
|
+
dropdownRender: ee,
|
|
149
174
|
tagRender: () => /* @__PURE__ */ e.jsx(e.Fragment, {}),
|
|
150
|
-
onDropdownVisibleChange:
|
|
175
|
+
onDropdownVisibleChange: S
|
|
151
176
|
}
|
|
152
177
|
),
|
|
153
|
-
/* @__PURE__ */ e.jsx("div", { className: "tableSelectPopupTotalSelectTip", children:
|
|
178
|
+
/* @__PURE__ */ e.jsx("div", { className: "tableSelectPopupTotalSelectTip", children: N(
|
|
154
179
|
["已选择", "条数据"],
|
|
155
|
-
|
|
180
|
+
c.length || 0
|
|
156
181
|
) })
|
|
157
182
|
] }) }) }),
|
|
158
|
-
/* @__PURE__ */ e.jsx(
|
|
159
|
-
|
|
183
|
+
/* @__PURE__ */ e.jsx(a, { span: n.right.button, children: /* @__PURE__ */ e.jsx(
|
|
184
|
+
H,
|
|
160
185
|
{
|
|
161
186
|
type: "primary",
|
|
162
187
|
danger: !0,
|
|
163
|
-
onClick: () =>
|
|
188
|
+
onClick: () => x([], [], "clear"),
|
|
164
189
|
children: "清空"
|
|
165
190
|
}
|
|
166
191
|
) }),
|
|
167
|
-
/* @__PURE__ */ e.jsx(
|
|
168
|
-
|
|
192
|
+
/* @__PURE__ */ e.jsx(a, { span: n.right.button, children: /* @__PURE__ */ e.jsx(
|
|
193
|
+
H,
|
|
169
194
|
{
|
|
170
195
|
type: "primary",
|
|
171
|
-
onClick: () =>
|
|
196
|
+
onClick: () => x([], [], "confirm"),
|
|
172
197
|
children: "确认"
|
|
173
198
|
}
|
|
174
199
|
) })
|
|
@@ -177,34 +202,34 @@ function Ce({
|
|
|
177
202
|
/* @__PURE__ */ e.jsx(
|
|
178
203
|
"div",
|
|
179
204
|
{
|
|
180
|
-
ref:
|
|
181
|
-
...
|
|
205
|
+
ref: C,
|
|
206
|
+
...j && {
|
|
182
207
|
className: "pointerMouse",
|
|
183
|
-
onClick: () =>
|
|
208
|
+
onClick: () => O()
|
|
184
209
|
},
|
|
185
210
|
children: /* @__PURE__ */ e.jsx(
|
|
186
|
-
|
|
211
|
+
ce,
|
|
187
212
|
{
|
|
188
|
-
spinning:
|
|
189
|
-
indicator: /* @__PURE__ */ e.jsx(
|
|
190
|
-
tip: /* @__PURE__ */ e.jsx(
|
|
213
|
+
spinning: j,
|
|
214
|
+
indicator: /* @__PURE__ */ e.jsx(be, {}),
|
|
215
|
+
tip: /* @__PURE__ */ e.jsx(ne.Text, { type: "danger", children: "加载失败,点击重试" }),
|
|
191
216
|
children: /* @__PURE__ */ e.jsx(
|
|
192
|
-
|
|
217
|
+
pe,
|
|
193
218
|
{
|
|
194
|
-
rowKey:
|
|
195
|
-
loading:
|
|
219
|
+
rowKey: t.value,
|
|
220
|
+
loading: p,
|
|
196
221
|
bordered: "row-column",
|
|
197
222
|
tableLayout: "fixed",
|
|
198
223
|
scroll: { x: 1, y: 400 },
|
|
199
224
|
showPagination: !1,
|
|
200
225
|
showTableTool: !1,
|
|
201
|
-
rowSelection:
|
|
202
|
-
columns:
|
|
203
|
-
dataSource:
|
|
204
|
-
className:
|
|
205
|
-
...
|
|
226
|
+
rowSelection: D,
|
|
227
|
+
columns: Z,
|
|
228
|
+
dataSource: y,
|
|
229
|
+
className: te,
|
|
230
|
+
...V(),
|
|
206
231
|
style: {
|
|
207
|
-
"--tableBody-bootomBorderColor": ((
|
|
232
|
+
"--tableBody-bootomBorderColor": ((_ = s.Table) == null ? void 0 : _.borderColor) || s.colorBorderSecondary
|
|
208
233
|
}
|
|
209
234
|
}
|
|
210
235
|
)
|
|
@@ -212,22 +237,22 @@ function Ce({
|
|
|
212
237
|
)
|
|
213
238
|
}
|
|
214
239
|
),
|
|
215
|
-
/* @__PURE__ */ e.jsx(
|
|
216
|
-
|
|
240
|
+
/* @__PURE__ */ e.jsx(m, { children: /* @__PURE__ */ e.jsx(m.Item, { style: { marginBottom: 0 }, children: /* @__PURE__ */ e.jsx(
|
|
241
|
+
ae,
|
|
217
242
|
{
|
|
218
|
-
disabled:
|
|
243
|
+
disabled: p,
|
|
219
244
|
className: "tableSelectPopupTablePagination",
|
|
220
245
|
size: "small",
|
|
221
246
|
enableControl: !0,
|
|
222
|
-
pagination:
|
|
223
|
-
total:
|
|
224
|
-
dataSource:
|
|
225
|
-
paginationEmit:
|
|
247
|
+
pagination: E,
|
|
248
|
+
total: L,
|
|
249
|
+
dataSource: y,
|
|
250
|
+
paginationEmit: W
|
|
226
251
|
}
|
|
227
252
|
) }) })
|
|
228
253
|
] }) })
|
|
229
254
|
] });
|
|
230
255
|
}
|
|
231
256
|
export {
|
|
232
|
-
|
|
257
|
+
Ke as default
|
|
233
258
|
};
|
|
@@ -1,37 +1,40 @@
|
|
|
1
1
|
import { j as i } from "../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
|
|
2
|
-
import { Input as
|
|
3
|
-
import
|
|
2
|
+
import { Input as a } from "antd";
|
|
3
|
+
import l from "../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
|
|
4
4
|
import "./index.less.mjs";
|
|
5
|
-
const { TextArea:
|
|
6
|
-
maxRows:
|
|
5
|
+
const { TextArea: m } = a, d = ({
|
|
6
|
+
maxRows: e = 1,
|
|
7
7
|
minRows: o,
|
|
8
|
-
bold:
|
|
9
|
-
value:
|
|
8
|
+
bold: s,
|
|
9
|
+
value: t,
|
|
10
10
|
className: r
|
|
11
11
|
}) => {
|
|
12
|
-
const
|
|
13
|
-
"--cell-text-maxRows":
|
|
14
|
-
...
|
|
15
|
-
fontWeight:
|
|
12
|
+
const n = {
|
|
13
|
+
"--cell-text-maxRows": e,
|
|
14
|
+
...s && {
|
|
15
|
+
fontWeight: s
|
|
16
|
+
},
|
|
17
|
+
...!t && !["number", "boolean"].includes(typeof t) && {
|
|
18
|
+
paddingInline: 24
|
|
16
19
|
}
|
|
17
20
|
};
|
|
18
21
|
return /* @__PURE__ */ i.jsx(
|
|
19
|
-
|
|
22
|
+
m,
|
|
20
23
|
{
|
|
21
|
-
className:
|
|
22
|
-
title:
|
|
23
|
-
value:
|
|
24
|
+
className: l("textBlock", r),
|
|
25
|
+
title: t,
|
|
26
|
+
value: t,
|
|
24
27
|
readOnly: !0,
|
|
25
28
|
size: "small",
|
|
26
29
|
variant: "borderless",
|
|
27
30
|
autoSize: {
|
|
28
|
-
minRows: o ??
|
|
29
|
-
maxRows:
|
|
31
|
+
minRows: o ?? e,
|
|
32
|
+
maxRows: e
|
|
30
33
|
},
|
|
31
|
-
style:
|
|
34
|
+
style: n
|
|
32
35
|
}
|
|
33
36
|
);
|
|
34
37
|
};
|
|
35
38
|
export {
|
|
36
|
-
|
|
39
|
+
d as default
|
|
37
40
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export { default as BitzException } from './components/BitzException';
|
|
|
18
18
|
export { default as BitzFloatLayout } from './components/BitzFloatLayout';
|
|
19
19
|
export { default as BitzFluentInput } from './components/BitzFluentInput';
|
|
20
20
|
export { default as BitzFluentSelect } from './components/BitzFluentSelect';
|
|
21
|
+
export { default as BitzFluentTreeSelect } from './components/BitzFluentTreeSelect';
|
|
21
22
|
export { default as BitzFuiCalendar } from './components/BitzFuiCalendar';
|
|
22
23
|
export { default as BitzFullScreen } from './components/BitzFullScreen';
|
|
23
24
|
export { default as BitzHighlight } from './components/BitzHighlight';
|