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