@vue-start/element-pro 0.2.23 → 0.2.25

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/index.es.js CHANGED
@@ -1,8 +1,8 @@
1
- import { createExpose as Ce, createFormItemCompFn as ze, createExposeObj as U, ProForm as V, ProSearchForm as w, ProFormList as Z, ProTable as D, ProDesc as O, ProCurdDesc as H, ProCurdForm as J, ProCurdModal as Q, ProUploaderText as X, ElementKeys as y, ProCurd as Ae, ProList as Ue, ProShowText as Y, ProShowDigit as Le, ProShowDate as we, ProShowOptions as L, ProShowTree as _ } from "@vue-start/pro";
2
- import { ElFormItem as j, ElForm as q, ElLoading as De, ElDialog as ee, ElButton as M, ElPagination as te, ElPopover as ae, ElCheckboxGroup as ne, ElCheckboxButton as Oe, ElCheckbox as se, ElRadioGroup as le, ElRadioButton as je, ElRadio as qe, ElSelect as re, ElOption as $e, ElTabs as ue, ElTabPane as Ge, ElMenu as N, ElUpload as oe, useFormItem as We, ElInputNumber as B, ElTree as de, ElInput as Ze, ElDatePicker as He, ElTimePicker as Je, ElTreeSelect as Qe, ElSwitch as Xe, ElCascader as Ye, ElTableColumn as ce, ElTable as ie, ElDescriptions as ke, ElRow as _e, ElCol as et, ElDescriptionsItem as tt } from "element-plus";
3
- import { defineComponent as S, createVNode as d, mergeProps as m, reactive as at, ref as p, toRaw as nt, computed as z, Fragment as lt } from "vue";
4
- import { keys as F, omit as i, isBoolean as $, isString as rt, debounce as ut, map as k, size as A, pick as G, get as T, isNumber as K, filter as me, isArray as ot } from "lodash";
5
- import { useEffect as Fe, generateId as dt, useWatch as I, convertCollection as ct, isValidFileType as it, convertFileSize as mt } from "@vue-start/hooks";
1
+ import { createExpose as pe, createFormItemCompFn as ze, createExposeObj as U, ProForm as R, ProSearchForm as L, ProFormList as Z, ProTable as O, ProDesc as D, ProCurdDesc as H, ProCurdForm as J, ProCurdModal as Q, ProUploaderText as X, ElementKeys as P, ProCurd as Ae, ProList as Ue, ProShowText as Y, ProShowDigit as we, ProShowDate as Le, ProShowOptions as w, ProShowTree as _ } from "@vue-start/pro";
2
+ import { ElFormItem as j, ElForm as q, ElLoading as Oe, ElDialog as ee, ElButton as V, ElPagination as te, ElPopover as ae, ElCheckboxGroup as ne, ElCheckboxButton as De, ElCheckbox as Ce, ElRadioGroup as le, ElRadioButton as je, ElRadio as qe, ElSelect as re, ElOption as $e, ElTabs as oe, ElTabPane as Ge, ElMenu as N, ElUpload as ue, useFormItem as We, ElInputNumber as B, ElTree as de, ElInput as Ze, ElDatePicker as He, ElTimePicker as Je, ElTreeSelect as Qe, ElSwitch as Xe, ElCascader as Ye, ElTableColumn as ce, ElTable as ie, ElDescriptions as ke, ElRow as _e, ElCol as et, ElDescriptionsItem as tt } from "element-plus";
3
+ import { defineComponent as S, createVNode as c, mergeProps as m, reactive as at, ref as p, toRaw as nt, computed as z, Fragment as lt } from "vue";
4
+ import { keys as F, omit as i, isBoolean as $, isString as rt, debounce as ot, map as k, size as A, pick as G, get as T, isNumber as K, filter as me, isArray as ut } from "lodash";
5
+ import { useEffect as Fe, generateId as dt, useWatch as M, convertCollection as ct, isValidFileType as it, convertFileSize as mt, getNameMapByMergeOpts as ft } from "@vue-start/hooks";
6
6
  const fe = () => ({
7
7
  name: {
8
8
  type: [String, Array]
@@ -15,15 +15,15 @@ const fe = () => ({
15
15
  setup: (e, {
16
16
  slots: t
17
17
  }) => {
18
- const o = F(fe());
19
- return () => d(j, m(i(e, ...o, "name", "prop"), {
18
+ const u = F(fe());
19
+ return () => c(j, m(i(e, ...u, "name", "prop"), {
20
20
  prop: e.prop || e.name
21
21
  }), {
22
22
  label: e.label ? () => e.label : void 0,
23
23
  ...t
24
24
  });
25
25
  }
26
- }), Ee = ["clearValidate", "resetFields", "scrollToField", "validate", "validateField", "submit"], ft = S({
26
+ }), Ee = ["clearValidate", "resetFields", "scrollToField", "validate", "validateField", "submit"], yt = S({
27
27
  props: {
28
28
  ...q.props,
29
29
  hideRequiredMark: {
@@ -33,30 +33,30 @@ const fe = () => ({
33
33
  },
34
34
  setup: (e, {
35
35
  slots: t,
36
- emit: o,
36
+ emit: u,
37
37
  expose: a
38
38
  }) => {
39
- const u = e.model || at({}), n = p();
39
+ const o = e.model || at({}), n = p();
40
40
  return Fe(() => {
41
41
  !n.value || (n.value.submit = () => {
42
- var l;
43
- (l = n.value) == null || l.validate((c, r) => {
44
- c ? o("finish", nt(u)) : o("finishFailed", r);
42
+ var r;
43
+ (r = n.value) == null || r.validate((d, l) => {
44
+ d ? u("finish", nt(o)) : u("finishFailed", l);
45
45
  });
46
46
  });
47
- }, []), a(Ce(Ee, n)), () => d(q, m({
47
+ }, []), a(pe(Ee, n)), () => c(q, m({
48
48
  ref: n
49
49
  }, i(e, "model"), {
50
50
  hideRequiredAsterisk: $(e.hideRequiredMark) ? e.hideRequiredMark : e.hideRequiredAsterisk,
51
- model: u
51
+ model: o
52
52
  }), t);
53
53
  }
54
- }), s = ze(xe, (e, t, o) => ({
54
+ }), C = ze(xe, (e, t, u) => ({
55
55
  modelValue: e,
56
56
  "onUpdate:modelValue": t,
57
57
  clearable: !0,
58
- disabled: o
59
- })), Te = (e = "comp") => e + "-" + dt(), yt = () => ({
58
+ disabled: u
59
+ })), Te = (e = "comp") => e + "-" + dt(), vt = () => ({
60
60
  loading: {
61
61
  type: Boolean
62
62
  },
@@ -86,19 +86,19 @@ const fe = () => ({
86
86
  }
87
87
  }), Ke = S({
88
88
  props: {
89
- ...yt()
89
+ ...vt()
90
90
  },
91
91
  setup: (e, {
92
92
  slots: t
93
93
  }) => {
94
- const o = Te();
94
+ const u = Te();
95
95
  return Fe(() => {
96
96
  if (!e.loading)
97
97
  return;
98
98
  let a = e.target;
99
- if (t.default ? a = document.getElementById(o) : e.target && rt(e.target) && (a = document.querySelector("#" + e.target)), !a)
99
+ if (t.default ? a = document.getElementById(u) : e.target && rt(e.target) && (a = document.querySelector("#" + e.target)), !a)
100
100
  return;
101
- const u = De.service({
101
+ const o = Oe.service({
102
102
  target: a,
103
103
  body: e.body,
104
104
  fullscreen: e.fullscreen,
@@ -109,10 +109,10 @@ const fe = () => ({
109
109
  customClass: e.customClass
110
110
  });
111
111
  return () => {
112
- u && u.close();
112
+ o && o.close();
113
113
  };
114
- }, () => e.loading), () => t.default ? d("div", {
115
- id: o
114
+ }, () => e.loading), () => t.default ? c("div", {
115
+ id: u
116
116
  }, [t.default()]) : null;
117
117
  }
118
118
  }), ye = () => ({
@@ -147,7 +147,7 @@ const fe = () => ({
147
147
  type: [Object, Boolean],
148
148
  default: void 0
149
149
  }
150
- }), Ie = S({
150
+ }), Me = S({
151
151
  inheritAttrs: !1,
152
152
  props: {
153
153
  ...ee.props,
@@ -159,58 +159,58 @@ const fe = () => ({
159
159
  },
160
160
  setup: (e, {
161
161
  slots: t,
162
- emit: o,
162
+ emit: u,
163
163
  attrs: a
164
164
  }) => {
165
- const u = p(e.visible);
166
- I(() => {
167
- u.value !== e.visible && (u.value = e.visible);
165
+ const o = p(e.visible);
166
+ M(() => {
167
+ o.value !== e.visible && (o.value = e.visible);
168
168
  }, () => e.visible);
169
169
  const n = () => {
170
- var r;
171
- if ((r = e.cancelButtonProps) != null && r.onClick) {
170
+ var l;
171
+ if ((l = e.cancelButtonProps) != null && l.onClick) {
172
172
  e.cancelButtonProps.onClick();
173
173
  return;
174
174
  }
175
- u.value = !1, o("update:visible", !1);
176
- }, l = () => {
177
- var r;
178
- if ((r = e.okButtonProps) != null && r.onClick) {
175
+ o.value = !1, u("update:visible", !1);
176
+ }, r = () => {
177
+ var l;
178
+ if ((l = e.okButtonProps) != null && l.onClick) {
179
179
  e.okButtonProps.onClick();
180
180
  return;
181
181
  }
182
- o("ok");
183
- }, c = F(ye());
184
- return () => d(ee, m({
182
+ u("ok");
183
+ }, d = F(ye());
184
+ return () => c(ee, m({
185
185
  class: e.clsName
186
- }, i(a, "onCancel"), i(e, ...c, "modelValue"), {
186
+ }, i(a, "onCancel"), i(e, ...d, "modelValue"), {
187
187
  closeOnClickModal: $(e.maskClosable) ? e.maskClosable : e.closeOnClickModal,
188
- modelValue: u.value,
189
- "onUpdate:modelValue": [(r) => u.value = r, (r) => {
190
- o("update:visible", r);
188
+ modelValue: o.value,
189
+ "onUpdate:modelValue": [(l) => o.value = l, (l) => {
190
+ u("update:visible", l);
191
191
  }],
192
192
  onClose: () => {
193
- o("cancel");
193
+ u("cancel");
194
194
  }
195
195
  }), {
196
- footer: e.footer === !1 ? void 0 : () => d("div", {
196
+ footer: e.footer === !1 ? void 0 : () => c("div", {
197
197
  class: `${e.clsName}-operate`
198
- }, [d(M, m(i(e.cancelButtonProps, "onClick"), {
198
+ }, [c(V, m(i(e.cancelButtonProps, "onClick"), {
199
199
  onClick: n
200
200
  }), {
201
201
  default: () => [e.cancelText]
202
- }), d(M, m({
202
+ }), c(V, m({
203
203
  type: "primary",
204
204
  loading: e.confirmLoading
205
205
  }, i(e.okButtonProps, "onClick"), {
206
- onClick: l
206
+ onClick: r
207
207
  }), {
208
208
  default: () => [e.okText]
209
209
  })]),
210
210
  ...t
211
211
  });
212
212
  }
213
- }), vt = S({
213
+ }), bt = S({
214
214
  props: {
215
215
  ...te.props,
216
216
  page: {
@@ -220,37 +220,37 @@ const fe = () => ({
220
220
  },
221
221
  setup: (e, {
222
222
  slots: t,
223
- emit: o
223
+ emit: u
224
224
  }) => {
225
- const a = p(e.page), u = p(e.pageSize);
226
- I(() => {
225
+ const a = p(e.page), o = p(e.pageSize);
226
+ M(() => {
227
227
  a.value !== e.page && (a.value = e.page);
228
- }, () => e.page), I(() => {
229
- u.value !== e.pageSize && (u.value = e.pageSize);
228
+ }, () => e.page), M(() => {
229
+ o.value !== e.pageSize && (o.value = e.pageSize);
230
230
  }, () => e.pageSize);
231
- const n = ut(() => {
232
- o("composeChange", a.value, u.value);
233
- }, 300), l = () => {
234
- n(), o("update:page", a.value);
235
- }, c = () => {
236
- n(), o("update:pageSize", u.value);
231
+ const n = ot(() => {
232
+ u("composeChange", a.value, o.value);
233
+ }, 300), r = () => {
234
+ n(), u("update:page", a.value);
235
+ }, d = () => {
236
+ n(), u("update:pageSize", o.value);
237
237
  };
238
- return () => d(te, m({
238
+ return () => c(te, m({
239
239
  currentPage: a.value,
240
- "onUpdate:currentPage": (r) => a.value = r,
241
- pageSize: u.value,
242
- "onUpdate:pageSize": (r) => u.value = r,
243
- onCurrentChange: l,
244
- onSizeChange: c
240
+ "onUpdate:currentPage": (l) => a.value = l,
241
+ pageSize: o.value,
242
+ "onUpdate:pageSize": (l) => o.value = l,
243
+ onCurrentChange: r,
244
+ onSizeChange: d
245
245
  }, i(e, "currentPage", "pageSize")), t);
246
246
  }
247
- }), bt = S({
247
+ }), gt = S({
248
248
  props: {
249
249
  ...ae.props
250
250
  },
251
251
  setup: (e, {
252
252
  slots: t
253
- }) => () => d(ae, e, {
253
+ }) => () => c(ae, e, {
254
254
  reference: t.default,
255
255
  default: t.content
256
256
  })
@@ -264,45 +264,45 @@ const fe = () => ({
264
264
  type: String,
265
265
  default: "default"
266
266
  }
267
- }), gt = S({
267
+ }), Pt = S({
268
268
  props: {
269
269
  ...ne.props,
270
270
  ...ve()
271
271
  },
272
272
  setup: (e, {
273
273
  slots: t,
274
- emit: o,
274
+ emit: u,
275
275
  expose: a
276
276
  }) => {
277
- const u = p();
278
- a(U(u));
277
+ const o = p();
278
+ a(U(o));
279
279
  const n = F(ve());
280
- return () => d(ne, m({
281
- ref: u
280
+ return () => c(ne, m({
281
+ ref: o
282
282
  }, i(e, n), {
283
- "onUpdate:modelValue": (l) => {
284
- o("update:modelValue", l || void 0);
283
+ "onUpdate:modelValue": (r) => {
284
+ u("update:modelValue", r || void 0);
285
285
  }
286
286
  }), {
287
287
  default: () => {
288
- var l, c;
289
- return [(l = t.start) == null ? void 0 : l.call(t), k(e.options, (r) => {
290
- var g;
291
- const b = (g = t.label) == null ? void 0 : g.call(t, r);
292
- return e.optionType === "button" || e.buttonStyle === "button" ? d(Oe, m({
293
- key: r.value
294
- }, i(r, "value"), {
295
- label: r.value
288
+ var r, d;
289
+ return [(r = t.start) == null ? void 0 : r.call(t), k(e.options, (l) => {
290
+ var b;
291
+ const f = (b = t.label) == null ? void 0 : b.call(t, l);
292
+ return e.optionType === "button" || e.buttonStyle === "button" ? c(De, m({
293
+ key: l.value
294
+ }, i(l, "value"), {
295
+ label: l.value
296
296
  }), {
297
- default: () => [b || r.label]
298
- }) : d(se, m({
299
- key: r.value
300
- }, r, {
301
- label: r.value
297
+ default: () => [f || l.label]
298
+ }) : c(Ce, m({
299
+ key: l.value
300
+ }, l, {
301
+ label: l.value
302
302
  }), {
303
- default: () => [b || r.label]
303
+ default: () => [f || l.label]
304
304
  });
305
- }), (c = t.default) == null ? void 0 : c.call(t)];
305
+ }), (d = t.default) == null ? void 0 : d.call(t)];
306
306
  }
307
307
  });
308
308
  }
@@ -318,113 +318,114 @@ const fe = () => ({
318
318
  type: String,
319
319
  default: "default"
320
320
  }
321
- }), Pt = S({
321
+ }), ht = S({
322
322
  props: {
323
323
  ...le.props,
324
324
  ...be()
325
325
  },
326
326
  setup: (e, {
327
327
  slots: t,
328
- emit: o,
328
+ emit: u,
329
329
  expose: a
330
330
  }) => {
331
- const u = p();
332
- a(U(u));
331
+ const o = p();
332
+ a(U(o));
333
333
  const n = F(be());
334
- return () => d(le, m({
335
- ref: u
334
+ return () => c(le, m({
335
+ ref: o
336
336
  }, i(e, n), {
337
- "onUpdate:modelValue": (l) => {
338
- o("update:modelValue", l);
337
+ "onUpdate:modelValue": (r) => {
338
+ u("update:modelValue", r);
339
339
  }
340
340
  }), {
341
341
  default: () => {
342
- var l, c;
343
- return [(l = t.start) == null ? void 0 : l.call(t), k(e.options, (r) => {
344
- var g;
345
- const b = (g = t.label) == null ? void 0 : g.call(t, r);
346
- return e.optionType === "button" || e.buttonStyle === "button" ? d(je, m({
347
- key: r.value
348
- }, i(r, "value"), {
349
- label: r.value
342
+ var r, d;
343
+ return [(r = t.start) == null ? void 0 : r.call(t), k(e.options, (l) => {
344
+ var b;
345
+ const f = (b = t.label) == null ? void 0 : b.call(t, l);
346
+ return e.optionType === "button" || e.buttonStyle === "button" ? c(je, m({
347
+ key: l.value
348
+ }, i(l, "value"), {
349
+ label: l.value
350
350
  }), {
351
- default: () => [b || r.label]
352
- }) : d(qe, m({
353
- key: r.value
354
- }, i(r, "value"), {
355
- label: r.value
351
+ default: () => [f || l.label]
352
+ }) : c(qe, m({
353
+ key: l.value
354
+ }, i(l, "value"), {
355
+ label: l.value
356
356
  }), {
357
- default: () => [b || r.label]
357
+ default: () => [f || l.label]
358
358
  });
359
- }), (c = t.default) == null ? void 0 : c.call(t)];
359
+ }), (d = t.default) == null ? void 0 : d.call(t)];
360
360
  }
361
361
  });
362
362
  }
363
363
  }), ge = () => ({
364
364
  options: Array
365
- }), ht = S({
365
+ }), St = S({
366
366
  props: {
367
367
  ...re.props,
368
368
  ...ge()
369
369
  },
370
370
  setup: (e, {
371
371
  slots: t,
372
- emit: o,
372
+ emit: u,
373
373
  expose: a
374
374
  }) => {
375
- const u = p();
376
- a(U(u));
375
+ const o = p();
376
+ a(U(o));
377
377
  const n = F(ge());
378
- return () => d(re, m({
379
- ref: u
378
+ return () => c(re, m({
379
+ ref: o
380
380
  }, i(e, n), {
381
- "onUpdate:modelValue": (l) => {
382
- o("update:modelValue", l || void 0);
381
+ "onUpdate:modelValue": (r) => {
382
+ u("update:modelValue", r || void 0);
383
383
  }
384
384
  }), {
385
385
  default: () => {
386
- var l, c;
387
- return [(l = t.start) == null ? void 0 : l.call(t), k(e.options, (r) => {
388
- var g;
389
- const b = (g = t.label) == null ? void 0 : g.call(t, r);
390
- return d($e, m({
391
- key: r.value
392
- }, r), {
393
- default: () => [b || r.label]
386
+ var r, d;
387
+ return [(r = t.start) == null ? void 0 : r.call(t), k(e.options, (l) => {
388
+ var b;
389
+ const f = (b = t.label) == null ? void 0 : b.call(t, l);
390
+ return c($e, m({
391
+ key: l.value
392
+ }, l), {
393
+ default: () => [f || l.label]
394
394
  });
395
- }), (c = t.default) == null ? void 0 : c.call(t)];
395
+ }), (d = t.default) == null ? void 0 : d.call(t)];
396
396
  },
397
397
  ...i(t, "default")
398
398
  });
399
399
  }
400
400
  }), Dt = S({
401
401
  props: {
402
- ...ue.props,
402
+ ...oe.props,
403
403
  options: {
404
404
  type: Array
405
405
  }
406
406
  },
407
407
  setup: (e, {
408
408
  slots: t,
409
- emit: o
410
- }) => () => d(ue, m(i(e, "options"), {
409
+ emit: u
410
+ }) => () => c(oe, m(i(e, "options"), {
411
411
  "onUpdate:modelValue": (a) => {
412
- o("update:modelValue", a);
412
+ u("update:modelValue", a);
413
413
  }
414
414
  }), {
415
415
  default: () => {
416
- var a, u;
417
- return [(a = t.start) == null ? void 0 : a.call(t), k(e.options, (n) => d(Ge, m({
416
+ var a, o;
417
+ return [(a = t.start) == null ? void 0 : a.call(t), k(e.options, (n) => c(Ge, m({
418
418
  key: n.value
419
419
  }, i(n, "value"), {
420
420
  name: n.value
421
421
  }), {
422
422
  label: () => {
423
- var l;
424
- return ((l = t.label) == null ? void 0 : l.call(t, n)) || n.label;
423
+ var r;
424
+ return ((r = t.label) == null ? void 0 : r.call(t, n)) || n.label;
425
425
  }
426
- })), (u = t.default) == null ? void 0 : u.call(t)];
427
- }
426
+ })), (o = t.end) == null ? void 0 : o.call(t)];
427
+ },
428
+ ...t
428
429
  })
429
430
  }), W = {
430
431
  convertSubMenuProps: {
@@ -436,7 +437,7 @@ const fe = () => ({
436
437
  onMenuItemClick: {
437
438
  type: Function
438
439
  }
439
- }, Re = F(W), Ve = S({
440
+ }, Ie = F(W), Re = S({
440
441
  inheritAttrs: !1,
441
442
  props: {
442
443
  menu: {
@@ -447,35 +448,35 @@ const fe = () => ({
447
448
  setup: (e, {
448
449
  slots: t
449
450
  }) => {
450
- const o = () => {
451
+ const u = () => {
451
452
  var a;
452
453
  (a = e.onMenuItemClick) == null || a.call(e, e.menu);
453
454
  };
454
455
  return () => {
455
- var u, n;
456
+ var o, n;
456
457
  const a = e.menu;
457
- return (a == null ? void 0 : a.children) && A(a.children) > 0 ? d(N.SubMenu, m({
458
+ return (a == null ? void 0 : a.children) && A(a.children) > 0 ? c(N.SubMenu, m({
458
459
  index: a == null ? void 0 : a.value
459
- }, (u = e.convertSubMenuProps) == null ? void 0 : u.call(e, a)), {
460
- default: () => [k(a.children, (l) => d(Ve, m({
461
- menu: l
462
- }, G(e, Re)), t))],
460
+ }, (o = e.convertSubMenuProps) == null ? void 0 : o.call(e, a)), {
461
+ default: () => [k(a.children, (r) => c(Re, m({
462
+ menu: r
463
+ }, G(e, Ie)), t))],
463
464
  title: () => {
464
- var l;
465
- return ((l = t.title) == null ? void 0 : l.call(t, a)) || (a == null ? void 0 : a.label);
465
+ var r;
466
+ return ((r = t.title) == null ? void 0 : r.call(t, a)) || (a == null ? void 0 : a.label);
466
467
  }
467
- }) : d(N.MenuItem, m({
468
+ }) : c(N.MenuItem, m({
468
469
  index: a == null ? void 0 : a.value
469
470
  }, (n = e.convertMenuItemProps) == null ? void 0 : n.call(e, a), {
470
- onClick: o
471
+ onClick: u
471
472
  }), {
472
473
  title: () => {
473
- var l;
474
- return ((l = t.title) == null ? void 0 : l.call(t, a)) || (a == null ? void 0 : a.label);
474
+ var r;
475
+ return ((r = t.title) == null ? void 0 : r.call(t, a)) || (a == null ? void 0 : a.label);
475
476
  },
476
477
  default: t.default ? () => {
477
- var l;
478
- return (l = t.default) == null ? void 0 : l.call(t, a);
478
+ var r;
479
+ return (r = t.default) == null ? void 0 : r.call(t, a);
479
480
  } : void 0
480
481
  });
481
482
  };
@@ -496,7 +497,7 @@ const fe = () => ({
496
497
  }
497
498
  },
498
499
  ...W
499
- }), St = S({
500
+ }), st = S({
500
501
  props: {
501
502
  ...i(N.props, "defaultActive"),
502
503
  ...Pe()
@@ -504,31 +505,31 @@ const fe = () => ({
504
505
  setup: (e, {
505
506
  slots: t
506
507
  }) => {
507
- const o = p(e.activeKey);
508
- I(() => {
509
- e.activeKey !== o.value && (o.value = e.activeKey);
508
+ const u = p(e.activeKey);
509
+ M(() => {
510
+ e.activeKey !== u.value && (u.value = e.activeKey);
510
511
  }, () => e.activeKey);
511
512
  const a = z(() => {
512
513
  var n;
513
- return ct(e.options, (l) => {
514
- var b, g;
515
- const c = ((b = e.fieldNames) == null ? void 0 : b.value) || "value", r = ((g = e.fieldNames) == null ? void 0 : g.label) || "label";
514
+ return ct(e.options, (r) => {
515
+ var f, b;
516
+ const d = ((f = e.fieldNames) == null ? void 0 : f.value) || "value", l = ((b = e.fieldNames) == null ? void 0 : b.label) || "label";
516
517
  return {
517
- ...i(l, c, r),
518
- value: T(l, c),
519
- label: T(l, r)
518
+ ...i(r, d, l),
519
+ value: T(r, d),
520
+ label: T(r, l)
520
521
  };
521
522
  }, {
522
523
  children: ((n = e.fieldNames) == null ? void 0 : n.children) || "children",
523
524
  childrenName: "children"
524
525
  });
525
- }), u = F(Pe());
526
- return () => d(N, m({
527
- defaultActive: o.value
528
- }, i(e, u)), {
529
- default: () => d(lt, null, [k(a.value, (n) => d(Ve, m({
526
+ }), o = F(Pe());
527
+ return () => c(N, m({
528
+ defaultActive: u.value
529
+ }, i(e, o)), {
530
+ default: () => c(lt, null, [k(a.value, (n) => c(Re, m({
530
531
  menu: n
531
- }, G(e, Re)), t))])
532
+ }, G(e, Ie)), t))])
532
533
  });
533
534
  }
534
535
  }), he = () => ({
@@ -554,43 +555,43 @@ const fe = () => ({
554
555
  beforeUpload: {
555
556
  type: Function
556
557
  }
557
- }), pt = ["abort", "submit", "clearFiles", "handleStart", "handleRemove"], Me = S({
558
+ }), pt = ["abort", "submit", "clearFiles", "handleStart", "handleRemove"], Ve = S({
558
559
  props: {
559
- ...i(oe.props, "fileList"),
560
+ ...i(ue.props, "fileList"),
560
561
  ...he()
561
562
  },
562
563
  setup: (e, {
563
564
  slots: t,
564
- expose: o,
565
+ expose: u,
565
566
  emit: a
566
567
  }) => {
567
- const u = p();
568
- o(U(u, pt));
568
+ const o = p();
569
+ u(U(o, pt));
569
570
  const {
570
571
  formItem: n
571
- } = We(), l = () => ot(e.modelValue) ? k(e.modelValue, (v) => {
572
- var P;
573
- return ((P = e.convertItemData) == null ? void 0 : P.call(e, v)) || v;
574
- }) : [], c = p(l());
575
- let r = !1;
576
- const b = () => {
577
- var P;
578
- r = !0;
579
- const v = me(c.value, (h) => h.status === "success");
572
+ } = We(), r = () => ut(e.modelValue) ? k(e.modelValue, (v) => {
573
+ var g;
574
+ return ((g = e.convertItemData) == null ? void 0 : g.call(e, v)) || v;
575
+ }) : [], d = p(r());
576
+ let l = !1;
577
+ const f = () => {
578
+ var g;
579
+ l = !0;
580
+ const v = me(d.value, (h) => h.status === "success");
580
581
  a("update:modelValue", k(v, (h) => {
581
582
  var x;
582
583
  return ((x = e.convertResponseData) == null ? void 0 : x.call(e, h)) || h;
583
- })), (P = n == null ? void 0 : n.validate) == null || P.call(n, "change");
584
+ })), (g = n == null ? void 0 : n.validate) == null || g.call(n, "change");
584
585
  };
585
- I(() => {
586
- r || (c.value = l(), r = !1);
586
+ M(() => {
587
+ l || (d.value = r(), l = !1);
587
588
  }, () => e.modelValue);
588
- const g = (v) => {
589
- var P, h, x, E;
589
+ const b = (v) => {
590
+ var g, h, x, E;
590
591
  if (e.beforeUpload)
591
592
  return e.beforeUpload(v);
592
593
  if (e.accept && !it(e.accept, v.name))
593
- return (P = e.onErrorMsg) == null || P.call(e, "FileTypeError", `\u8BF7\u4E0A\u4F20\u6B63\u786E\u683C\u5F0F\uFF08${e.accept.replace(/,/g, "\uFF0C")}\uFF09\u7684\u6587\u4EF6`), !1;
594
+ return (g = e.onErrorMsg) == null || g.call(e, "FileTypeError", `\u8BF7\u4E0A\u4F20\u6B63\u786E\u683C\u5F0F\uFF08${e.accept.replace(/,/g, "\uFF0C")}\uFF09\u7684\u6587\u4EF6`), !1;
594
595
  if (K(v.size)) {
595
596
  if (v.size <= 0)
596
597
  return (h = e.onErrorMsg) == null || h.call(e, "FileSizeError-Zero", "\u4E0A\u4F20\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"), !1;
@@ -598,32 +599,32 @@ const fe = () => ({
598
599
  return (x = e.onErrorMsg) == null || x.call(e, "FileSizeError-MaxSize", `\u8BF7\u4E0A\u4F20\u5C0F\u4E8E${mt(e.maxSize)}\u7684\u6587\u4EF6`), !1;
599
600
  }
600
601
  return (E = e.onStart) == null || E.call(e, v), !0;
601
- }, f = z(() => K(e.limit) ? e.limit > A(c.value) : !0), C = F(he());
602
+ }, y = z(() => K(e.limit) ? e.limit > A(d.value) : !0), s = F(he());
602
603
  return () => {
603
- var v, P;
604
- return d("div", {
605
- class: `pro-uploader ${f.value ? "" : "pro-uploader-limit"}`
606
- }, [(v = t.start) == null ? void 0 : v.call(t), d(oe, m({
607
- ref: u,
608
- fileList: c.value,
609
- "onUpdate:fileList": (h) => c.value = h
610
- }, i(e, "fileList", "onSuccess", "onRemove", "beforeUpload", ...C), {
611
- beforeUpload: g,
604
+ var v, g;
605
+ return c("div", {
606
+ class: `pro-uploader ${y.value ? "" : "pro-uploader-limit"}`
607
+ }, [(v = t.start) == null ? void 0 : v.call(t), c(ue, m({
608
+ ref: o,
609
+ fileList: d.value,
610
+ "onUpdate:fileList": (h) => d.value = h
611
+ }, i(e, "fileList", "onSuccess", "onRemove", "beforeUpload", ...s), {
612
+ beforeUpload: b,
612
613
  onSuccess: (h, x, E) => {
613
- var R;
614
- (R = e.onSuccess) == null || R.call(e, h, x, E), b();
614
+ var I;
615
+ (I = e.onSuccess) == null || I.call(e, h, x, E), f();
615
616
  },
616
617
  onRemove: (h, x) => {
617
618
  var E;
618
- c.value = me(c.value, (R) => !(h.uid === R.uid && h.name === R.name)), (E = e.onRemove) == null || E.call(e, h, x), b();
619
+ d.value = me(d.value, (I) => !(h.uid === I.uid && h.name === I.name)), (E = e.onRemove) == null || E.call(e, h, x), f();
619
620
  }
620
621
  }), {
621
622
  default: () => {
622
623
  var h;
623
- return [f.value && ((h = t.default) == null ? void 0 : h.call(t))];
624
+ return [y.value && ((h = t.default) == null ? void 0 : h.call(t))];
624
625
  },
625
626
  ...i(t, "default")
626
- }), (P = t.end) == null ? void 0 : P.call(t)]);
627
+ }), (g = t.end) == null ? void 0 : g.call(t)]);
627
628
  };
628
629
  }
629
630
  }), Se = () => ({
@@ -654,43 +655,43 @@ const fe = () => ({
654
655
  },
655
656
  setup: (e, {
656
657
  slots: t,
657
- emit: o
658
+ emit: u
658
659
  }) => {
659
- const a = p(T(e.modelValue, 0)), u = p(T(e.modelValue, 1));
660
+ const a = p(T(e.modelValue, 0)), o = p(T(e.modelValue, 1));
660
661
  let n = !1;
661
- I(() => {
662
- n || (a.value = T(e.modelValue, 0), u.value = T(e.modelValue, 1)), n = !1;
662
+ M(() => {
663
+ n || (a.value = T(e.modelValue, 0), o.value = T(e.modelValue, 1)), n = !1;
663
664
  }, [e.modelValue, () => e.modelValue]);
664
- const l = () => {
665
- n = !0, e.singleEmit ? o("update:modelValue", [a.value, u.value]) : K(a.value) && K(u.value) ? o("update:modelValue", [a.value, u.value]) : o("update:modelValue", null);
666
- }, c = (f) => {
667
- for (let C = 0; C < f.length; C++)
668
- if (K(f[C]))
669
- return f[C];
670
- }, r = z(() => {
671
- var f;
672
- return c([u.value, (f = e.start) == null ? void 0 : f.max, e.max]);
673
- }), b = z(() => {
674
- var f;
675
- return c([a.value, (f = e.end) == null ? void 0 : f.min, e.min]);
676
- }), g = F(Se());
665
+ const r = () => {
666
+ n = !0, e.singleEmit ? u("update:modelValue", [a.value, o.value]) : K(a.value) && K(o.value) ? u("update:modelValue", [a.value, o.value]) : u("update:modelValue", null);
667
+ }, d = (y) => {
668
+ for (let s = 0; s < y.length; s++)
669
+ if (K(y[s]))
670
+ return y[s];
671
+ }, l = z(() => {
672
+ var y;
673
+ return d([o.value, (y = e.start) == null ? void 0 : y.max, e.max]);
674
+ }), f = z(() => {
675
+ var y;
676
+ return d([a.value, (y = e.end) == null ? void 0 : y.min, e.min]);
677
+ }), b = F(Se());
677
678
  return () => {
678
- var C, v;
679
- const f = i(e, ...g, "min", "max");
680
- return d("span", {
679
+ var s, v;
680
+ const y = i(e, ...b, "min", "max");
681
+ return c("span", {
681
682
  class: "pro-number-range"
682
- }, [d(B, m(f, i(e.start, "max"), {
683
- max: r.value,
683
+ }, [c(B, m(y, i(e.start, "max"), {
684
+ max: l.value,
684
685
  modelValue: a.value,
685
- "onUpdate:modelValue": [(P) => a.value = P, l]
686
- }), null), d("span", null, [((C = t.divider) == null ? void 0 : C.call(t)) || ((v = e.divider) == null ? void 0 : v.call(e)) || " - "]), d(B, m(f, i(e.start, "min"), {
687
- min: b.value,
688
- modelValue: u.value,
689
- "onUpdate:modelValue": [(P) => u.value = P, l]
686
+ "onUpdate:modelValue": [(g) => a.value = g, r]
687
+ }), null), c("span", null, [((s = t.divider) == null ? void 0 : s.call(t)) || ((v = e.divider) == null ? void 0 : v.call(e)) || " - "]), c(B, m(y, i(e.start, "min"), {
688
+ min: f.value,
689
+ modelValue: o.value,
690
+ "onUpdate:modelValue": [(g) => o.value = g, r]
690
691
  }), null)]);
691
692
  };
692
693
  }
693
- }), pe = () => ({
694
+ }), se = () => ({
694
695
  treeData: {
695
696
  type: Array
696
697
  },
@@ -707,15 +708,15 @@ const fe = () => ({
707
708
  checkedKeys: {
708
709
  type: Array
709
710
  }
710
- }), Ot = S({
711
+ }), jt = S({
711
712
  props: {
712
713
  ...de.props,
713
- ...pe()
714
+ ...se()
714
715
  },
715
716
  setup: (e, {
716
717
  slots: t
717
718
  }) => {
718
- const o = F(pe()), u = (() => {
719
+ const u = F(se()), o = (() => {
719
720
  const n = e.fieldNames;
720
721
  if (!!n)
721
722
  return {
@@ -728,9 +729,9 @@ const fe = () => ({
728
729
  })();
729
730
  return () => {
730
731
  var n;
731
- return d(de, m(i(e, o), {
732
+ return c(de, m(i(e, u), {
732
733
  data: e.treeData || e.data,
733
- props: u || e.props,
734
+ props: o || e.props,
734
735
  nodeKey: ((n = e.fieldNames) == null ? void 0 : n.key) || e.nodeKey,
735
736
  showCheckbox: $(e.selectable) ? e.selectable : e.showCheckbox,
736
737
  defaultExpandedKeys: e.expandedKeys || e.defaultExpandedKeys,
@@ -738,47 +739,47 @@ const fe = () => ({
738
739
  }), t);
739
740
  };
740
741
  }
741
- }), st = s({
742
+ }), kt = C({
742
743
  InputComp: Ze,
743
744
  valueType: "text",
744
745
  name: "PFromText"
745
- }), kt = s({
746
+ }), Ft = C({
746
747
  InputComp: B,
747
748
  valueType: "digit",
748
749
  name: "PFormNumber"
749
- }), Ft = s({
750
+ }), xt = C({
750
751
  InputComp: Ct,
751
752
  valueType: "digitRange",
752
753
  name: "PFormNumberRange"
753
- }), xt = s({
754
+ }), Et = C({
754
755
  InputComp: He,
755
756
  valueType: "date",
756
757
  name: "PFormDate"
757
- }), Et = s({
758
+ }), Tt = C({
758
759
  InputComp: Je,
759
760
  valueType: "time",
760
761
  name: "PFormTime"
761
- }), Tt = s({
762
- InputComp: ht,
762
+ }), Kt = C({
763
+ InputComp: St,
763
764
  valueType: "select",
764
765
  name: "PFormSelect"
765
- }), Kt = s({
766
+ }), Mt = C({
766
767
  InputComp: Qe,
767
768
  valueType: "treeSelect",
768
769
  name: "PFormTreeSelect"
769
- }), It = s({
770
- InputComp: gt,
770
+ }), It = C({
771
+ InputComp: Pt,
771
772
  valueType: "checkbox",
772
773
  name: "PFromCheckbox"
773
- }), Rt = s({
774
- InputComp: Pt,
774
+ }), Rt = C({
775
+ InputComp: ht,
775
776
  valueType: "radio",
776
777
  name: "PFromRadio"
777
- }), Vt = s({
778
+ }), Vt = C({
778
779
  InputComp: Xe,
779
780
  valueType: "switch",
780
781
  name: "PFromSwitch"
781
- }), Mt = s({
782
+ }), Bt = C({
782
783
  InputComp: Ye,
783
784
  valueType: "cascader",
784
785
  name: "PFormCascader"
@@ -801,53 +802,53 @@ const fe = () => ({
801
802
  setup: (e, {
802
803
  slots: t
803
804
  }) => {
804
- const o = ({
805
+ const u = ({
805
806
  row: n,
806
- column: l,
807
- $index: c
807
+ column: r,
808
+ $index: d
808
809
  }) => {
809
- var P;
810
- const r = n, b = c, g = {
811
- ...l,
812
- title: l.label,
813
- dataIndex: l.property
814
- }, f = T(n, g.dataIndex), C = {
815
- value: f,
816
- text: f,
817
- record: r,
818
- column: g,
819
- index: b
820
- }, v = (P = t.bodyCell) == null ? void 0 : P.call(t, C);
821
- return v || (e.customRender ? e.customRender(C) : f);
822
- }, u = {
810
+ var g;
811
+ const l = n, f = d, b = {
812
+ ...r,
813
+ title: r.label,
814
+ dataIndex: r.property
815
+ }, y = T(n, b.dataIndex), s = {
816
+ value: y,
817
+ text: y,
818
+ record: l,
819
+ column: b,
820
+ index: f
821
+ }, v = (g = t.bodyCell) == null ? void 0 : g.call(t, s);
822
+ return v || (e.customRender ? e.customRender(s) : y);
823
+ }, o = {
823
824
  header: ({
824
825
  column: n,
825
- $index: l
826
+ $index: r
826
827
  }) => {
827
- var f;
828
- const c = l, r = n.label, b = {
828
+ var y;
829
+ const d = r, l = n.label, f = {
829
830
  ...n,
830
- title: r,
831
+ title: l,
831
832
  dataIndex: n.property
832
833
  };
833
- return ((f = t.headerCell) == null ? void 0 : f.call(t, {
834
- title: r,
835
- column: b,
836
- index: c
837
- })) || r;
834
+ return ((y = t.headerCell) == null ? void 0 : y.call(t, {
835
+ title: l,
836
+ column: f,
837
+ index: d
838
+ })) || l;
838
839
  }
839
840
  };
840
- return (!e.children || A(e.children) <= 0) && (u.default = o), () => d(ce, m(i(e, "title", "dataIndex", "prop", "customRender", "children"), {
841
+ return (!e.children || A(e.children) <= 0) && (o.default = u), () => c(ce, m(i(e, "title", "dataIndex", "prop", "customRender", "children"), {
841
842
  prop: e.dataIndex,
842
843
  label: e.title
843
844
  }), {
844
- default: () => [A(e.children) > 0 && k(e.children, (n) => d(Be, m({
845
+ default: () => [A(e.children) > 0 && k(e.children, (n) => c(Be, m({
845
846
  key: n.dataIndex
846
847
  }, n), t))],
847
- ...u
848
+ ...o
848
849
  });
849
850
  }
850
- }), Bt = ["clearSelection", "getSelectionRows", "toggleRowSelection", "toggleAllSelection", "toggleRowExpansion", "setCurrentRow", "clearSort", "clearFilter", "doLayout", "sort", "scrollTo", "setScrollTop", "setScrollLeft"], Ne = S({
851
+ }), Nt = ["clearSelection", "getSelectionRows", "toggleRowSelection", "toggleAllSelection", "toggleRowExpansion", "setCurrentRow", "clearSort", "clearFilter", "doLayout", "sort", "scrollTo", "setScrollTop", "setScrollLeft"], Ne = S({
851
852
  props: {
852
853
  ...ie.props,
853
854
  columns: {
@@ -858,34 +859,61 @@ const fe = () => ({
858
859
  },
859
860
  loading: {
860
861
  type: Boolean
862
+ },
863
+ mergeOpts: {
864
+ type: Object
861
865
  }
862
866
  },
863
867
  setup: (e, {
864
868
  slots: t,
865
- expose: o
869
+ expose: u
866
870
  }) => {
867
- const a = p(), u = Te("table");
868
- return o(Ce(Bt, a)), () => d(ie, m({
871
+ const a = p(), o = Te("table");
872
+ u(pe(Nt, a));
873
+ const r = (() => {
874
+ var d, l;
875
+ if (e.spanMethod)
876
+ return e.spanMethod;
877
+ if (((d = e.mergeOpts) == null ? void 0 : d.rowNames) || ((l = e.mergeOpts) == null ? void 0 : l.colNames)) {
878
+ const f = ft(e.mergeOpts);
879
+ return ({
880
+ row: b,
881
+ column: y
882
+ }) => {
883
+ const s = y.property;
884
+ if (f[s]) {
885
+ const v = b[f[s]], g = b[s + "-colspan"];
886
+ return {
887
+ rowspan: v !== void 0 ? v : 1,
888
+ colspan: g !== void 0 ? g : 1
889
+ };
890
+ }
891
+ };
892
+ }
893
+ return e.spanMethod;
894
+ })();
895
+ return () => c(ie, m({
869
896
  ref: a,
870
- id: u
871
- }, i(e, "columns", "dataSource", "loading"), {
872
- data: e.dataSource || e.data
897
+ id: o
898
+ }, i(e, "columns", "dataSource", "data", "loading", "spanMethod"), {
899
+ data: e.dataSource || e.data,
900
+ spanMethod: r
873
901
  }), {
874
902
  default: () => {
875
- var n, l;
876
- return [(n = t.start) == null ? void 0 : n.call(t), k(e.columns, (c) => d(Be, m({
877
- key: c.dataIndex
878
- }, c), t)), (l = t.default) == null ? void 0 : l.call(t), e.loading && d(Ke, {
879
- target: u,
903
+ var d, l;
904
+ return [(d = t.start) == null ? void 0 : d.call(t), k(e.columns, (f) => c(Be, m({
905
+ key: f.dataIndex
906
+ }, f), t)), (l = t.default) == null ? void 0 : l.call(t), e.loading && c(Ke, {
907
+ target: o,
880
908
  loading: !0
881
909
  }, null)];
882
910
  },
883
911
  ...G(t, "append", "empty")
884
912
  });
885
913
  }
886
- }), Nt = S({
914
+ }), zt = S({
887
915
  props: {
888
- ...M.props,
916
+ ...V.props,
889
917
  type: {
890
918
  type: String,
891
919
  default: "primary"
@@ -897,125 +925,125 @@ const fe = () => ({
897
925
  },
898
926
  setup: (e, {
899
927
  slots: t
900
- }) => () => d(M, e, t)
928
+ }) => () => c(V, e, t)
901
929
  });
902
- V.props = {
930
+ R.props = {
903
931
  ...q.props,
904
- ...V.props,
932
+ ...R.props,
905
933
  formMethods: { type: Array, default: Ee }
906
934
  };
907
- w.props = {
908
- ...V.props,
909
- ...w.props,
935
+ L.props = {
936
+ ...R.props,
937
+ ...L.props,
910
938
  inline: { type: Boolean, default: !0 }
911
939
  };
912
940
  Z.props = {
913
941
  ...j.props,
914
942
  ...Z.props
915
943
  };
916
- D.props = {
944
+ O.props = {
917
945
  ...Ne.props,
918
- ...D.props
946
+ ...O.props
919
947
  };
920
- O.props = {
948
+ D.props = {
921
949
  ...ke.props,
922
- ...O.props
950
+ ...D.props
923
951
  };
924
952
  H.props = {
925
- ...O.props,
953
+ ...D.props,
926
954
  ...H.props
927
955
  };
928
956
  J.props = {
929
- ...V.props,
957
+ ...R.props,
930
958
  ...J.props
931
959
  };
932
960
  Q.props = {
933
- ...Ie.props,
961
+ ...Me.props,
934
962
  ...Q.props
935
963
  };
936
964
  X.props = {
937
- ...Me.props,
965
+ ...Ve.props,
938
966
  ...X.props,
939
967
  modelValue: String
940
968
  };
941
- const jt = {
942
- [y.LoadingKey]: Ke,
943
- [y.RowKey]: _e,
944
- [y.ColKey]: et,
945
- [y.ButtonKey]: M,
946
- [y.DescriptionsKey]: ke,
947
- [y.DescriptionsItemKey]: tt,
948
- [y.MenusKey]: St,
949
- [y.ModalKey]: Ie,
950
- [y.PaginationKey]: vt,
951
- [y.PopoverKey]: bt,
952
- [y.CheckboxKey]: se,
953
- [y.FormKey]: ft,
954
- [y.FormItemKey]: xe,
955
- [y.TableKey]: Ne,
956
- [y.TableOperateKey]: Nt,
957
- [y.UploaderKey]: Me,
958
- [y.ProFormKey]: V,
959
- [y.ProSearchFormKey]: w,
960
- [y.ProTableKey]: D,
961
- [y.ProCurdKey]: Ae,
962
- [y.ProListKey]: Ue,
969
+ const qt = {
970
+ [P.LoadingKey]: Ke,
971
+ [P.RowKey]: _e,
972
+ [P.ColKey]: et,
973
+ [P.ButtonKey]: V,
974
+ [P.DescriptionsKey]: ke,
975
+ [P.DescriptionsItemKey]: tt,
976
+ [P.MenusKey]: st,
977
+ [P.ModalKey]: Me,
978
+ [P.PaginationKey]: bt,
979
+ [P.PopoverKey]: gt,
980
+ [P.CheckboxKey]: Ce,
981
+ [P.FormKey]: yt,
982
+ [P.FormItemKey]: xe,
983
+ [P.TableKey]: Ne,
984
+ [P.TableOperateKey]: zt,
985
+ [P.UploaderKey]: Ve,
986
+ [P.ProFormKey]: R,
987
+ [P.ProSearchFormKey]: L,
988
+ [P.ProTableKey]: O,
989
+ [P.ProCurdKey]: Ae,
990
+ [P.ProListKey]: Ue,
963
991
  text: Y,
964
- digit: Le,
965
- date: we,
992
+ digit: we,
993
+ date: Le,
966
994
  time: Y,
967
- select: L,
968
- radio: L,
969
- checkbox: L,
995
+ select: w,
996
+ radio: w,
997
+ checkbox: w,
970
998
  treeSelect: _,
971
999
  cascader: _
972
- }, qt = {
973
- text: st,
974
- digit: kt,
975
- digitRange: Ft,
976
- date: xt,
977
- time: Et,
978
- select: Tt,
979
- treeSelect: Kt,
1000
+ }, $t = {
1001
+ text: kt,
1002
+ digit: Ft,
1003
+ digitRange: xt,
1004
+ date: Et,
1005
+ time: Tt,
1006
+ select: Kt,
1007
+ treeSelect: Mt,
980
1008
  checkbox: It,
981
1009
  radio: Rt,
982
1010
  switch: Vt,
983
- cascader: Mt
1011
+ cascader: Bt
984
1012
  };
985
1013
  export {
986
1014
  Ee as FormMethods,
987
1015
  Ct as InputNumberRange,
988
- gt as ProCheckbox,
989
- ft as ProForm,
990
- Mt as ProFormCascader,
1016
+ Pt as ProCheckbox,
1017
+ yt as ProForm,
1018
+ Bt as ProFormCascader,
991
1019
  It as ProFormCheckbox,
992
- xt as ProFormDatePicker,
993
- Ft as ProFormInputNumberRange,
1020
+ Et as ProFormDatePicker,
1021
+ xt as ProFormInputNumberRange,
994
1022
  xe as ProFormItem,
995
1023
  Rt as ProFormRadio,
996
- Tt as ProFormSelect,
1024
+ Kt as ProFormSelect,
997
1025
  Vt as ProFormSwitch,
998
- st as ProFormText,
999
- kt as ProFormTextNumber,
1000
- Et as ProFormTimePicker,
1001
- Kt as ProFormTreeSelect,
1026
+ kt as ProFormText,
1027
+ Ft as ProFormTextNumber,
1028
+ Tt as ProFormTimePicker,
1029
+ Mt as ProFormTreeSelect,
1002
1030
  Ke as ProLoading,
1003
- St as ProMenus,
1004
- Ie as ProModal,
1005
- vt as ProPagination,
1006
- bt as ProPopover,
1007
- Pt as ProRadio,
1008
- ht as ProSelect,
1031
+ st as ProMenus,
1032
+ Me as ProModal,
1033
+ bt as ProPagination,
1034
+ gt as ProPopover,
1035
+ ht as ProRadio,
1036
+ St as ProSelect,
1009
1037
  Ne as ProTable,
1010
1038
  Be as ProTableColumn,
1011
- Nt as ProTableOperateItem,
1039
+ zt as ProTableOperateItem,
1012
1040
  Dt as ProTabs,
1013
- Ot as ProTree,
1014
- Me as ProUploader,
1015
- Bt as TableMethods,
1041
+ jt as ProTree,
1042
+ Ve as ProUploader,
1043
+ Nt as TableMethods,
1016
1044
  pt as UploadMethods,
1017
- s as createFormItemComponent,
1045
+ C as createFormItemComponent,
1018
1046
  Te as createLoadingId,
1019
- jt as elementMap,
1020
- qt as formElementMap
1047
+ qt as elementMap,
1048
+ $t as formElementMap
1021
1049
  };