bitz-react-admin-ui 2.1.7 → 2.1.9

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