@vue-start/element-pro 0.2.16 → 0.2.19

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 D, ProDesc as L, 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 w, ElForm as N, ElLoading as Ae, ElDialog as X, ElButton as I, ElPagination as Y, ElPopover as _, ElCheckboxGroup as ee, ElCheckboxButton as De, ElCheckbox as Pe, ElRadioGroup as te, ElRadioButton as Le, ElRadio as we, 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 i, 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, convertTreeData 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
- ...w.props,
13
- ...ce()
12
+ ...j.props,
13
+ ...fe()
14
14
  },
15
15
  setup: (e, {
16
16
  slots: t
17
17
  }) => {
18
- const c = T(ce());
19
- return () => i(w, d(m(e, ...c, "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
@@ -30,30 +30,30 @@ const ce = () => ({
30
30
  },
31
31
  setup: (e, {
32
32
  slots: t,
33
- emit: c,
33
+ emit: u,
34
34
  expose: a
35
35
  }) => {
36
- const l = e.model || _e({}), r = S();
37
- return he(() => {
38
- !r.value || (r.value.submit = () => {
39
- var n;
40
- (n = r.value) == null || n.validate((u, o) => {
41
- u ? c("finish", et(l)) : c("finishFailed", o);
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, r)), () => i(N, d({
45
- ref: r
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, c) => ({
51
+ }), C = ze(xe, (e, t, u) => ({
52
52
  modelValue: e,
53
53
  "onUpdate:modelValue": t,
54
54
  clearable: !0,
55
- disabled: c
56
- })), Fe = (e = "comp") => e + "-" + ot(), dt = () => ({
55
+ disabled: u
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 c = 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(c) : 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
- }, () => e.loading), () => t.default ? i("div", {
112
- id: c
111
+ }, () => e.loading), () => t.default ? c("div", {
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,70 +144,72 @@ const ce = () => ({
144
144
  type: [Object, Boolean],
145
145
  default: void 0
146
146
  }
147
- }), xe = g({
147
+ }), Ie = S({
148
+ inheritAttrs: !1,
148
149
  props: {
149
- ...X.props,
150
+ ...ee.props,
150
151
  appendToBody: {
151
152
  type: Boolean,
152
153
  default: !0
153
154
  },
154
- ...ie()
155
+ ...ye()
155
156
  },
156
157
  setup: (e, {
157
158
  slots: t,
158
- emit: c
159
+ emit: u,
160
+ attrs: a
159
161
  }) => {
160
- const a = S(e.visible);
161
- K(() => {
162
- a.value !== e.visible && (a.value = e.visible);
162
+ const r = s(e.visible);
163
+ I(() => {
164
+ r.value !== e.visible && (r.value = e.visible);
163
165
  }, () => e.visible);
164
- const l = () => {
165
- var u;
166
- if ((u = e.cancelButtonProps) != null && u.onClick) {
166
+ const n = () => {
167
+ var l;
168
+ if ((l = e.cancelButtonProps) != null && l.onClick) {
167
169
  e.cancelButtonProps.onClick();
168
170
  return;
169
171
  }
170
- a.value = !1, c("update:visible", !1);
171
- }, r = () => {
172
- var u;
173
- if ((u = e.okButtonProps) != null && u.onClick) {
172
+ r.value = !1, u("update:visible", !1);
173
+ }, o = () => {
174
+ var l;
175
+ if ((l = e.okButtonProps) != null && l.onClick) {
174
176
  e.okButtonProps.onClick();
175
177
  return;
176
178
  }
177
- c("ok");
178
- }, n = T(ie());
179
- return () => i(X, d({
179
+ u("ok");
180
+ }, d = F(ye());
181
+ return () => c(ee, m({
180
182
  class: e.clsName
181
- }, m(e, ...n, "modelValue"), {
182
- closeOnClickModal: Se(e.maskClosable) ? e.maskClosable : e.closeOnClickModal,
183
- modelValue: a.value,
184
- "onUpdate:modelValue": [(u) => a.value = u, (u) => {
185
- c("update:visible", u);
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);
186
188
  }],
187
189
  onClose: () => {
188
- c("cancel");
190
+ u("cancel");
189
191
  }
190
192
  }), {
191
- footer: e.footer === !1 ? void 0 : () => i("div", {
193
+ footer: e.footer === !1 ? void 0 : () => c("div", {
192
194
  class: `${e.clsName}-operate`
193
- }, [i(I, d(m(e.cancelButtonProps, "onClick"), {
194
- onClick: l
195
+ }, [c(M, m(i(e.cancelButtonProps, "onClick"), {
196
+ onClick: n
195
197
  }), {
196
198
  default: () => [e.cancelText]
197
- }), i(I, d({
199
+ }), c(M, m({
198
200
  type: "primary",
199
201
  loading: e.confirmLoading
200
- }, m(e.okButtonProps, "onClick"), {
201
- onClick: r
202
+ }, i(e.okButtonProps, "onClick"), {
203
+ onClick: o
202
204
  }), {
203
205
  default: () => [e.okText]
204
206
  })]),
205
207
  ...t
206
208
  });
207
209
  }
208
- }), mt = g({
210
+ }), vt = S({
209
211
  props: {
210
- ...Y.props,
212
+ ...te.props,
211
213
  page: {
212
214
  type: Number,
213
215
  default: 1
@@ -215,41 +217,41 @@ const ce = () => ({
215
217
  },
216
218
  setup: (e, {
217
219
  slots: t,
218
- emit: c
220
+ emit: u
219
221
  }) => {
220
- const a = S(e.page), l = S(e.pageSize);
221
- K(() => {
222
+ const a = s(e.page), r = s(e.pageSize);
223
+ I(() => {
222
224
  a.value !== e.page && (a.value = e.page);
223
- }, () => e.page), K(() => {
224
- l.value !== e.pageSize && (l.value = e.pageSize);
225
+ }, () => e.page), I(() => {
226
+ r.value !== e.pageSize && (r.value = e.pageSize);
225
227
  }, () => e.pageSize);
226
- const r = nt(() => {
227
- c("composeChange", a.value, l.value);
228
- }, 300), n = () => {
229
- r(), c("update:page", a.value);
230
- }, u = () => {
231
- r(), c("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);
232
234
  };
233
- return () => i(Y, d({
235
+ return () => c(te, m({
234
236
  currentPage: a.value,
235
- "onUpdate:currentPage": (o) => a.value = o,
236
- pageSize: l.value,
237
- "onUpdate:pageSize": (o) => l.value = o,
238
- onCurrentChange: n,
239
- onSizeChange: u
240
- }, 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);
241
243
  }
242
- }), ft = g({
244
+ }), bt = S({
243
245
  props: {
244
- ..._.props
246
+ ...ae.props
245
247
  },
246
248
  setup: (e, {
247
249
  slots: t
248
- }) => () => i(_, e, {
250
+ }) => () => c(ae, e, {
249
251
  reference: t.default,
250
252
  default: t.content
251
253
  })
252
- }), de = () => ({
254
+ }), ve = () => ({
253
255
  options: Array,
254
256
  buttonStyle: {
255
257
  type: String,
@@ -259,49 +261,49 @@ const ce = () => ({
259
261
  type: String,
260
262
  default: "default"
261
263
  }
262
- }), yt = g({
264
+ }), gt = S({
263
265
  props: {
264
- ...ee.props,
265
- ...de()
266
+ ...ne.props,
267
+ ...ve()
266
268
  },
267
269
  setup: (e, {
268
270
  slots: t,
269
- emit: c,
271
+ emit: u,
270
272
  expose: a
271
273
  }) => {
272
- const l = S();
273
- a(V(l));
274
- const r = T(de());
275
- return () => i(ee, d({
276
- ref: l
277
- }, m(e, r), {
278
- "onUpdate:modelValue": (n) => {
279
- c("update:modelValue", n || 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);
280
282
  }
281
283
  }), {
282
284
  default: () => {
283
- var n, u;
284
- return [(n = t.start) == null ? void 0 : n.call(t), h(e.options, (o) => {
285
- var b;
286
- const v = (b = t.label) == null ? void 0 : b.call(t, o);
287
- return e.optionType === "button" || e.buttonStyle === "button" ? i(De, d({
288
- key: o.value
289
- }, m(o, "value"), {
290
- label: o.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
291
293
  }), {
292
- default: () => [v || o.label]
293
- }) : i(Pe, d({
294
- key: o.value
295
- }, o, {
296
- label: o.value
294
+ default: () => [b || l.label]
295
+ }) : c(Ce, m({
296
+ key: l.value
297
+ }, l, {
298
+ label: l.value
297
299
  }), {
298
- default: () => [v || o.label]
300
+ default: () => [b || l.label]
299
301
  });
300
- }), (u = t.default) == null ? void 0 : u.call(t)];
302
+ }), (d = t.default) == null ? void 0 : d.call(t)];
301
303
  }
302
304
  });
303
305
  }
304
- }), me = () => ({
306
+ }), be = () => ({
305
307
  options: {
306
308
  type: Array
307
309
  },
@@ -313,115 +315,115 @@ const ce = () => ({
313
315
  type: String,
314
316
  default: "default"
315
317
  }
316
- }), vt = g({
318
+ }), Pt = S({
317
319
  props: {
318
- ...te.props,
319
- ...me()
320
+ ...le.props,
321
+ ...be()
320
322
  },
321
323
  setup: (e, {
322
324
  slots: t,
323
- emit: c,
325
+ emit: u,
324
326
  expose: a
325
327
  }) => {
326
- const l = S();
327
- a(V(l));
328
- const r = T(me());
329
- return () => i(te, d({
330
- ref: l
331
- }, m(e, r), {
332
- "onUpdate:modelValue": (n) => {
333
- c("update:modelValue", n);
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);
334
336
  }
335
337
  }), {
336
338
  default: () => {
337
- var n, u;
338
- return [(n = t.start) == null ? void 0 : n.call(t), h(e.options, (o) => {
339
- var b;
340
- const v = (b = t.label) == null ? void 0 : b.call(t, o);
341
- return e.optionType === "button" || e.buttonStyle === "button" ? i(Le, d({
342
- key: o.value
343
- }, m(o, "value"), {
344
- label: o.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
345
347
  }), {
346
- default: () => [v || o.label]
347
- }) : i(we, d({
348
- key: o.value
349
- }, m(o, "value"), {
350
- label: o.value
348
+ default: () => [b || l.label]
349
+ }) : c(qe, m({
350
+ key: l.value
351
+ }, i(l, "value"), {
352
+ label: l.value
351
353
  }), {
352
- default: () => [v || o.label]
354
+ default: () => [b || l.label]
353
355
  });
354
- }), (u = t.default) == null ? void 0 : u.call(t)];
356
+ }), (d = t.default) == null ? void 0 : d.call(t)];
355
357
  }
356
358
  });
357
359
  }
358
- }), fe = () => ({
360
+ }), ge = () => ({
359
361
  options: Array
360
- }), bt = g({
362
+ }), ht = S({
361
363
  props: {
362
- ...ae.props,
363
- ...fe()
364
+ ...re.props,
365
+ ...ge()
364
366
  },
365
367
  setup: (e, {
366
368
  slots: t,
367
- emit: c,
369
+ emit: u,
368
370
  expose: a
369
371
  }) => {
370
- const l = S();
371
- a(V(l));
372
- const r = T(fe());
373
- return () => i(ae, d({
374
- ref: l
375
- }, m(e, r), {
376
- "onUpdate:modelValue": (n) => {
377
- c("update:modelValue", n || 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);
378
380
  }
379
381
  }), {
380
382
  default: () => {
381
- var n, u;
382
- return [(n = t.start) == null ? void 0 : n.call(t), h(e.options, (o) => {
383
- var b;
384
- const v = (b = t.label) == null ? void 0 : b.call(t, o);
385
- return i(Ne, d({
386
- key: o.value
387
- }, o), {
388
- default: () => [v || o.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]
389
391
  });
390
- }), (u = t.default) == null ? void 0 : u.call(t)];
392
+ }), (d = t.default) == null ? void 0 : d.call(t)];
391
393
  },
392
- ...m(t, "default")
394
+ ...i(t, "default")
393
395
  });
394
396
  }
395
- }), Ut = g({
397
+ }), Dt = S({
396
398
  props: {
397
- ...ne.props,
399
+ ...oe.props,
398
400
  options: {
399
401
  type: Array
400
402
  }
401
403
  },
402
404
  setup: (e, {
403
405
  slots: t,
404
- emit: c
405
- }) => () => i(ne, d(m(e, "options"), {
406
+ emit: u
407
+ }) => () => c(oe, m(i(e, "options"), {
406
408
  "onUpdate:modelValue": (a) => {
407
- c("update:modelValue", a);
409
+ u("update:modelValue", a);
408
410
  }
409
411
  }), {
410
412
  default: () => {
411
- var a, l;
412
- return [(a = t.start) == null ? void 0 : a.call(t), h(e.options, (r) => i(Oe, d({
413
- key: r.value
414
- }, m(r, "value"), {
415
- name: r.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
416
418
  }), {
417
419
  label: () => {
418
- var n;
419
- return ((n = t.label) == null ? void 0 : n.call(t, r)) || r.label;
420
+ var o;
421
+ return ((o = t.label) == null ? void 0 : o.call(t, n)) || n.label;
420
422
  }
421
- })), (l = t.default) == null ? void 0 : l.call(t)];
423
+ })), (r = t.default) == null ? void 0 : r.call(t)];
422
424
  }
423
425
  })
424
- }), q = {
426
+ }), W = {
425
427
  convertSubMenuProps: {
426
428
  type: Function
427
429
  },
@@ -431,47 +433,47 @@ const ce = () => ({
431
433
  onMenuItemClick: {
432
434
  type: Function
433
435
  }
434
- }, Ee = T(q), se = g({
436
+ }, Re = F(W), Ve = S({
435
437
  inheritAttrs: !1,
436
438
  props: {
437
439
  menu: {
438
440
  type: Object
439
441
  },
440
- ...q
442
+ ...W
441
443
  },
442
444
  setup: (e, {
443
445
  slots: t
444
446
  }) => {
445
- const c = () => {
447
+ const u = () => {
446
448
  var a;
447
449
  (a = e.onMenuItemClick) == null || a.call(e, e.menu);
448
450
  };
449
451
  return () => {
450
- var l, r;
452
+ var r, n;
451
453
  const a = e.menu;
452
- return (a == null ? void 0 : a.children) && B(a.children) > 0 ? i(M.SubMenu, d({
454
+ return (a == null ? void 0 : a.children) && A(a.children) > 0 ? c(N.SubMenu, m({
453
455
  index: a == null ? void 0 : a.value
454
- }, (l = e.convertSubMenuProps) == null ? void 0 : l.call(e, a)), {
455
- default: () => [h(a.children, (n) => i(se, d({
456
- menu: n
457
- }, 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))],
458
460
  title: () => {
459
- var n;
460
- return ((n = t.title) == null ? void 0 : n.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);
461
463
  }
462
- }) : i(M.MenuItem, d({
464
+ }) : c(N.MenuItem, m({
463
465
  index: a == null ? void 0 : a.value
464
- }, (r = e.convertMenuItemProps) == null ? void 0 : r.call(e, a), {
465
- onClick: c
466
+ }, (n = e.convertMenuItemProps) == null ? void 0 : n.call(e, a), {
467
+ onClick: u
466
468
  }), {
467
469
  title: () => {
468
- var n;
469
- return ((n = t.title) == null ? void 0 : n.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);
470
472
  }
471
473
  });
472
474
  };
473
475
  }
474
- }), ye = () => ({
476
+ }), Pe = () => ({
475
477
  activeKey: {
476
478
  type: String
477
479
  },
@@ -486,43 +488,43 @@ const ce = () => ({
486
488
  label: "label"
487
489
  }
488
490
  },
489
- ...q
490
- }), Pt = g({
491
+ ...W
492
+ }), St = S({
491
493
  props: {
492
- ...m(M.props, "defaultActive"),
493
- ...ye()
494
+ ...i(N.props, "defaultActive"),
495
+ ...Pe()
494
496
  },
495
497
  setup: (e, {
496
498
  slots: t
497
499
  }) => {
498
- const c = S(e.activeKey);
499
- K(() => {
500
- e.activeKey !== c.value && (c.value = e.activeKey);
500
+ const u = s(e.activeKey);
501
+ I(() => {
502
+ e.activeKey !== u.value && (u.value = e.activeKey);
501
503
  }, () => e.activeKey);
502
- const a = pe(() => {
503
- var r;
504
- return lt(e.options, (n) => {
505
- var v, b;
506
- const u = ((v = e.fieldNames) == null ? void 0 : v.value) || "value", o = ((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";
507
509
  return {
508
- ...m(n, u, o),
509
- value: O(n, u),
510
- label: O(n, o)
510
+ ...i(o, d, l),
511
+ value: T(o, d),
512
+ label: T(o, l)
511
513
  };
512
514
  }, {
513
- children: ((r = e.fieldNames) == null ? void 0 : r.children) || "children",
515
+ children: ((n = e.fieldNames) == null ? void 0 : n.children) || "children",
514
516
  childrenName: "children"
515
517
  });
516
- }), l = T(ye());
517
- return () => i(M, d({
518
- defaultActive: c.value
519
- }, m(e, l)), {
520
- default: () => i(tt, null, [h(a.value, (r) => i(se, d({
521
- menu: r
522
- }, j(e, Ee)), t))])
518
+ }), r = F(Pe());
519
+ return () => c(N, m({
520
+ defaultActive: u.value
521
+ }, i(e, r)), {
522
+ default: () => c(lt, null, [k(a.value, (n) => c(Ve, m({
523
+ menu: n
524
+ }, G(e, Re)), t))])
523
525
  });
524
526
  }
525
- }), ve = () => ({
527
+ }), he = () => ({
526
528
  modelValue: {
527
529
  type: Array,
528
530
  default: void 0
@@ -545,121 +547,237 @@ const ce = () => ({
545
547
  beforeUpload: {
546
548
  type: Function
547
549
  }
548
- }), gt = ["abort", "submit", "clearFiles", "handleStart", "handleRemove"], Ie = g({
550
+ }), st = ["abort", "submit", "clearFiles", "handleStart", "handleRemove"], Me = S({
549
551
  props: {
550
- ...m(re.props, "fileList"),
551
- ...ve()
552
+ ...i(ue.props, "fileList"),
553
+ ...he()
552
554
  },
553
555
  setup: (e, {
554
556
  slots: t,
555
- expose: c,
557
+ expose: u,
556
558
  emit: a
557
559
  }) => {
558
- const l = S();
559
- c(V(l, gt));
560
+ const r = s();
561
+ u(U(r, st));
560
562
  const {
561
- formItem: r
562
- } = je(), n = () => rt(e.modelValue) ? h(e.modelValue, (P) => {
563
- var p;
564
- return ((p = e.convertItemData) == null ? void 0 : p.call(e, P)) || P;
565
- }) : [], u = S(n());
566
- let o = !1;
567
- const v = () => {
568
- var p;
569
- o = !0;
570
- const P = ue(u.value, (y) => y.status === "success");
571
- a("update:modelValue", h(P, (y) => {
572
- var F;
573
- return ((F = e.convertResponseData) == null ? void 0 : F.call(e, y)) || y;
574
- })), (p = r == null ? void 0 : r.validate) == null || p.call(r, "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");
575
577
  };
576
- K(() => {
577
- o || (u.value = n(), o = !1);
578
+ I(() => {
579
+ l || (d.value = o(), l = !1);
578
580
  }, () => e.modelValue);
579
- const b = (P) => {
580
- var p, y, F, x;
581
+ const g = (v) => {
582
+ var P, h, x, E;
581
583
  if (e.beforeUpload)
582
- return e.beforeUpload(P);
583
- if (e.accept && !ut(e.accept, P.name))
584
- 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;
585
- if (U(P.size)) {
586
- if (P.size <= 0)
587
- return (y = e.onErrorMsg) == null || y.call(e, "FileSizeError-Zero", "\u4E0A\u4F20\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"), !1;
588
- if (U(e.maxSize) && P.size > e.maxSize)
589
- 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;
590
592
  }
591
- return (x = e.onStart) == null || x.call(e, P), !0;
592
- }, k = pe(() => U(e.limit) ? e.limit > B(u.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());
593
595
  return () => {
594
- var P, p;
595
- return i("div", {
596
- class: `pro-uploader ${k.value ? "" : "pro-uploader-limit"}`
597
- }, [(P = t.start) == null ? void 0 : P.call(t), i(re, d({
598
- ref: l,
599
- fileList: u.value,
600
- "onUpdate:fileList": (y) => u.value = y
601
- }, m(e, "fileList", "onSuccess", "onRemove", "beforeUpload", ...R), {
602
- beforeUpload: b,
603
- onSuccess: (y, F, x) => {
604
- var E;
605
- (E = e.onSuccess) == null || E.call(e, y, F, x), v();
596
+ var v, P;
597
+ return c("div", {
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();
606
608
  },
607
- onRemove: (y, F) => {
608
- var x;
609
- u.value = ue(u.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();
610
612
  }
611
613
  }), {
612
614
  default: () => {
613
- var y;
614
- 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))];
615
617
  },
616
- ...m(t, "default")
617
- }), (p = t.end) == null ? void 0 : p.call(t)]);
618
+ ...i(t, "default")
619
+ }), (P = t.end) == null ? void 0 : P.call(t)]);
618
620
  };
619
621
  }
620
- }), pt = C({
621
- 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,
622
736
  valueType: "text",
623
737
  name: "PFromText"
624
- }), St = C({
625
- InputComp: $e,
738
+ }), kt = C({
739
+ InputComp: B,
626
740
  valueType: "digit",
627
741
  name: "PFormNumber"
628
- }), ht = C({
629
- InputComp: Ge,
742
+ }), Ft = C({
743
+ InputComp: pt,
744
+ valueType: "digitRange",
745
+ name: "PFormNumberRange"
746
+ }), xt = C({
747
+ InputComp: He,
630
748
  valueType: "date",
631
749
  name: "PFormDate"
632
- }), Ct = C({
633
- InputComp: We,
750
+ }), Et = C({
751
+ InputComp: Je,
634
752
  valueType: "time",
635
753
  name: "PFormTime"
636
- }), kt = C({
637
- InputComp: bt,
754
+ }), Tt = C({
755
+ InputComp: ht,
638
756
  valueType: "select",
639
757
  name: "PFormSelect"
640
- }), Ft = C({
641
- InputComp: Ze,
758
+ }), Kt = C({
759
+ InputComp: Qe,
642
760
  valueType: "treeSelect",
643
761
  name: "PFormTreeSelect"
644
- }), Tt = C({
645
- InputComp: yt,
762
+ }), It = C({
763
+ InputComp: gt,
646
764
  valueType: "checkbox",
647
765
  name: "PFromCheckbox"
648
- }), xt = C({
649
- InputComp: vt,
766
+ }), Rt = C({
767
+ InputComp: Pt,
650
768
  valueType: "radio",
651
769
  name: "PFromRadio"
652
- }), Et = C({
653
- InputComp: He,
770
+ }), Vt = C({
771
+ InputComp: Xe,
654
772
  valueType: "switch",
655
773
  name: "PFromSwitch"
656
- }), st = C({
657
- InputComp: Je,
774
+ }), Mt = C({
775
+ InputComp: Ye,
658
776
  valueType: "cascader",
659
777
  name: "PFormCascader"
660
- }), Ke = g({
778
+ }), Be = S({
661
779
  props: {
662
- ...m(oe.props, "label", "prop"),
780
+ ...i(de.props, "label", "prop"),
663
781
  title: {
664
782
  type: String
665
783
  },
@@ -676,55 +794,55 @@ const ce = () => ({
676
794
  setup: (e, {
677
795
  slots: t
678
796
  }) => {
679
- const c = ({
680
- row: r,
681
- column: n,
682
- $index: u
797
+ const u = ({
798
+ row: n,
799
+ column: o,
800
+ $index: d
683
801
  }) => {
684
- var p;
685
- const o = r, v = u, b = {
686
- ...n,
687
- title: n.label,
688
- dataIndex: n.property
689
- }, k = O(r, b.dataIndex), R = {
690
- value: k,
691
- text: k,
692
- record: o,
693
- column: b,
694
- index: v
695
- }, P = (p = t.bodyCell) == null ? void 0 : p.call(t, R);
696
- return P || (e.customRender ? e.customRender(R) : k);
697
- }, 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 = {
698
816
  header: ({
699
- column: r,
700
- $index: n
817
+ column: n,
818
+ $index: o
701
819
  }) => {
702
- var k;
703
- const u = n, o = r.label, v = {
704
- ...r,
705
- title: o,
706
- dataIndex: r.property
820
+ var f;
821
+ const d = o, l = n.label, b = {
822
+ ...n,
823
+ title: l,
824
+ dataIndex: n.property
707
825
  };
708
- return ((k = t.headerCell) == null ? void 0 : k.call(t, {
709
- title: o,
710
- column: v,
711
- index: u
712
- })) || o;
826
+ return ((f = t.headerCell) == null ? void 0 : f.call(t, {
827
+ title: l,
828
+ column: b,
829
+ index: d
830
+ })) || l;
713
831
  }
714
832
  };
715
- return (!e.children || B(e.children) <= 0) && (l.default = c), () => i(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"), {
716
834
  prop: e.dataIndex,
717
835
  label: e.title
718
836
  }), {
719
- default: () => [B(e.children) > 0 && h(e.children, (r) => i(Ke, d({
720
- key: r.dataIndex
721
- }, r), t))],
722
- ...l
837
+ default: () => [A(e.children) > 0 && k(e.children, (n) => c(Be, m({
838
+ key: n.dataIndex
839
+ }, n), t))],
840
+ ...r
723
841
  });
724
842
  }
725
- }), 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({
726
844
  props: {
727
- ...le.props,
845
+ ...ie.props,
728
846
  columns: {
729
847
  type: Array
730
848
  },
@@ -737,30 +855,30 @@ const ce = () => ({
737
855
  },
738
856
  setup: (e, {
739
857
  slots: t,
740
- expose: c
858
+ expose: u
741
859
  }) => {
742
- const a = S(), l = Fe("table");
743
- return c(be(It, a)), () => i(le, d({
860
+ const a = s(), r = Te("table");
861
+ return u(pe(Bt, a)), () => c(ie, m({
744
862
  ref: a,
745
- id: l
746
- }, m(e, "columns", "dataSource", "loading"), {
863
+ id: r
864
+ }, i(e, "columns", "dataSource", "loading"), {
747
865
  data: e.dataSource || e.data
748
866
  }), {
749
867
  default: () => {
750
- var r, n;
751
- return [(r = t.start) == null ? void 0 : r.call(t), h(e.columns, (u) => i(Ke, d({
752
- key: u.dataIndex
753
- }, u), t)), (n = t.default) == null ? void 0 : n.call(t), e.loading && i(Te, {
754
- 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,
755
873
  loading: !0
756
874
  }, null)];
757
875
  },
758
- ...j(t, "append", "empty")
876
+ ...G(t, "append", "empty")
759
877
  });
760
878
  }
761
- }), Kt = g({
879
+ }), Nt = S({
762
880
  props: {
763
- ...I.props,
881
+ ...M.props,
764
882
  type: {
765
883
  type: String,
766
884
  default: "primary"
@@ -772,121 +890,125 @@ const ce = () => ({
772
890
  },
773
891
  setup: (e, {
774
892
  slots: t
775
- }) => () => i(I, e, t)
893
+ }) => () => c(M, e, t)
776
894
  });
777
- s.props = {
778
- ...N.props,
779
- ...s.props,
780
- formMethods: { type: Array, default: ke }
895
+ V.props = {
896
+ ...q.props,
897
+ ...V.props,
898
+ formMethods: { type: Array, default: Ee }
781
899
  };
782
- A.props = {
783
- ...s.props,
784
- ...A.props,
900
+ w.props = {
901
+ ...V.props,
902
+ ...w.props,
785
903
  inline: { type: Boolean, default: !0 }
786
904
  };
787
- $.props = {
788
- ...w.props,
789
- ...$.props
905
+ Z.props = {
906
+ ...j.props,
907
+ ...Z.props
790
908
  };
791
909
  D.props = {
792
- ...Re.props,
910
+ ...Ne.props,
793
911
  ...D.props
794
912
  };
795
- L.props = {
796
- ...ge.props,
797
- ...L.props
913
+ O.props = {
914
+ ...ke.props,
915
+ ...O.props
798
916
  };
799
- G.props = {
800
- ...L.props,
801
- ...G.props
802
- };
803
- W.props = {
804
- ...s.props,
805
- ...W.props
917
+ H.props = {
918
+ ...O.props,
919
+ ...H.props
806
920
  };
807
- Z.props = {
808
- ...xe.props,
809
- ...Z.props
921
+ J.props = {
922
+ ...V.props,
923
+ ...J.props
810
924
  };
811
- H.props = {
925
+ Q.props = {
812
926
  ...Ie.props,
813
- ...H.props,
927
+ ...Q.props
928
+ };
929
+ X.props = {
930
+ ...Me.props,
931
+ ...X.props,
814
932
  modelValue: String
815
933
  };
816
- const At = {
817
- [f.LoadingKey]: Te,
818
- [f.RowKey]: Qe,
819
- [f.ColKey]: Xe,
820
- [f.ButtonKey]: I,
821
- [f.DescriptionsKey]: ge,
822
- [f.DescriptionsItemKey]: Ye,
823
- [f.MenusKey]: Pt,
824
- [f.ModalKey]: xe,
825
- [f.PaginationKey]: mt,
826
- [f.PopoverKey]: ft,
827
- [f.CheckboxKey]: Pe,
828
- [f.FormKey]: it,
829
- [f.FormItemKey]: Ce,
830
- [f.TableKey]: Re,
831
- [f.TableOperateKey]: Kt,
832
- [f.UploaderKey]: Ie,
833
- [f.ProFormKey]: s,
834
- [f.ProSearchFormKey]: A,
835
- [f.ProTableKey]: D,
836
- [f.ProCurdKey]: Be,
837
- [f.ProListKey]: Ve,
838
- text: J,
839
- digit: ze,
840
- date: Ue,
841
- time: J,
842
- select: z,
843
- radio: z,
844
- checkbox: z,
845
- treeSelect: Q,
846
- cascader: Q
847
- }, Dt = {
848
- text: pt,
849
- digit: St,
850
- date: ht,
851
- time: Ct,
852
- select: kt,
853
- treeSelect: Ft,
854
- checkbox: Tt,
855
- radio: xt,
856
- switch: Et,
857
- 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
858
977
  };
859
978
  export {
860
- ke as FormMethods,
861
- yt as ProCheckbox,
862
- it as ProForm,
863
- st as ProFormCascader,
864
- Tt as ProFormCheckbox,
865
- ht as ProFormDatePicker,
866
- Ce as ProFormItem,
867
- xt as ProFormRadio,
868
- kt as ProFormSelect,
869
- Et as ProFormSwitch,
870
- pt as ProFormText,
871
- St as ProFormTextNumber,
872
- Ct as ProFormTimePicker,
873
- Ft as ProFormTreeSelect,
874
- Te as ProLoading,
875
- Pt as ProMenus,
876
- xe as ProModal,
877
- mt as ProPagination,
878
- ft as ProPopover,
879
- vt as ProRadio,
880
- bt as ProSelect,
881
- Re as ProTable,
882
- Ke as ProTableColumn,
883
- Kt as ProTableOperateItem,
884
- Ut as ProTabs,
885
- Ie as ProUploader,
886
- It as TableMethods,
887
- 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,
888
1010
  C as createFormItemComponent,
889
- Fe as createLoadingId,
890
- At as elementMap,
891
- Dt as formElementMap
1011
+ Te as createLoadingId,
1012
+ jt as elementMap,
1013
+ qt as formElementMap
892
1014
  };