@vue-start/element-pro 0.2.22 → 0.2.24

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