@vue-start/element-pro 0.2.17 → 0.2.20

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