@vue-start/element-pro 0.2.36 → 0.2.38

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,31 +1,31 @@
1
- import { createExpose as ze, createFormItemCompFn as rt, createExposeObj as D, useGetCompByKey as je, ElementKeys as s, useProConfig as ot, ProForm as A, ProSearchForm as X, ProFormList as fe, ProTable as Y, ProDesc as ee, ProCurdDesc as ye, ProCurdForm as me, ProCurdModal as se, ProUploaderText as ge, ProTip as ve, ProCurd as ut, ProList as ct, ProPage as dt, ProOperate as it, ProShowText as be, ProShowDigit as ft, ProShowDate as yt, ProShowOptions as J, ProShowTree as pe } from "@vue-start/pro";
2
- import { ElFormItem as te, ElForm as ae, ElLoading as $e, ElDialog as Se, ElDrawer as Pe, ElPagination as he, ElPopover as Ce, ElCheckboxGroup as Ke, ElCheckboxButton as mt, ElCheckbox as qe, ElRadioGroup as ke, ElRadioButton as st, ElRadio as gt, ElSelect as Ee, ElOption as vt, ElTabs as xe, ElTabPane as bt, ElMenu as q, ElUpload as Fe, useFormItem as pt, ElInputNumber as $, ElTree as Te, ElDropdown as Re, ElDropdownMenu as St, ElDropdownItem as Pt, ElInput as ht, ElDatePicker as Ct, ElTimePicker as Kt, ElTreeSelect as kt, ElSwitch as Et, ElCascader as xt, ElColorPicker as Ft, ElTableColumn as ne, ElTable as we, ElButton as le, ElDescriptions as Ge, ElTooltip as _e, ElRow as Tt, ElCol as Rt, ElDescriptionsItem as wt, ElScrollbar as Mt, ElEmpty as It } from "element-plus";
3
- import { defineComponent as k, createVNode as c, mergeProps as m, reactive as Vt, ref as x, toRaw as Bt, computed as F, Fragment as We, isVNode as Nt, nextTick as Ot } from "vue";
4
- import { keys as w, omit as v, isBoolean as G, isString as Dt, debounce as Lt, map as R, size as O, pick as ue, get as V, isNumber as L, isArray as Ze, filter as re, reduce as Q, isFunction as Ut, forEach as Me, find as At, last as zt } from "lodash";
5
- import { useEffect as _, generateId as jt, useWatch as z, convertCollection as $t, isValidFileType as qt, convertFileSize as Gt, isSame as _t, getNameMapByMergeOpts as Wt } from "@vue-start/hooks";
6
- const Ie = () => ({
1
+ import { createExpose as $e, createFormItemCompFn as dt, useProConfig as ce, createExposeObj as L, useGetCompByKey as He, ElementKeys as p, ProForm as U, ProSearchForm as Y, ProFormList as me, ProTable as ee, ProDesc as te, ProCurdDesc as ye, ProCurdForm as se, ProCurdModal as ge, ProUploaderText as ve, ProTip as he, ProCurd as it, ProList as ft, ProPage as mt, ProOperate as yt, ProShowText as be, ProShowDigit as st, ProShowDate as gt, ProShowOptions as Q, ProShowTree as pe } from "@vue-start/pro";
2
+ import { ElFormItem as ae, ElForm as ne, ElLoading as qe, ElDialog as Se, ElDrawer as Pe, ElPagination as Ce, ElPopover as Ke, ElCheckboxGroup as we, ElCheckboxButton as vt, ElCheckbox as Ge, ElRadioGroup as xe, ElRadioButton as ht, ElRadio as bt, ElSelect as ke, ElOption as pt, ElTabs as Ee, ElTabPane as St, ElMenu as H, ElUpload as Re, useFormItem as Pt, ElInputNumber as $, ElTree as Fe, ElDropdown as Te, ElDropdownMenu as Ct, ElDropdownItem as Kt, ElInput as wt, ElDatePicker as xt, ElTimePicker as kt, ElTreeSelect as Et, ElSwitch as Rt, ElCascader as Ft, ElColorPicker as Tt, ElTableColumn as le, ElTable as Me, ElButton as re, ElTableV2 as Ie, ElDescriptions as _e, ElTooltip as Ze, ElRow as Mt, ElCol as It, ElDescriptionsItem as Vt, ElScrollbar as Bt, ElEmpty as Nt } from "element-plus";
3
+ import { defineComponent as x, createVNode as c, mergeProps as s, reactive as Je, ref as R, toRaw as Ot, computed as E, Fragment as Qe, isVNode as Dt, nextTick as Lt } from "vue";
4
+ import { keys as V, omit as v, isBoolean as q, isString as zt, debounce as At, map as T, size as D, pick as G, get as N, isNumber as z, isArray as Xe, filter as oe, reduce as X, isFunction as Ut, forEach as Ve, find as jt, last as Wt } from "lodash";
5
+ import { useEffect as _, generateId as $t, useWatch as j, convertCollection as Ht, isValidFileType as qt, convertFileSize as Be, isSame as Gt, getNameMapByMergeOpts as _t, useUpdateKey as Zt, useResizeObserver as Jt } from "@vue-start/hooks";
6
+ const Ne = () => ({
7
7
  name: {
8
8
  type: [String, Array]
9
9
  }
10
- }), He = k({
10
+ }), Ye = x({
11
11
  props: {
12
- ...te.props,
13
- ...Ie()
12
+ ...ae.props,
13
+ ...Ne()
14
14
  },
15
15
  setup: (e, {
16
16
  slots: t
17
17
  }) => {
18
- const u = w(Ie());
19
- return () => c(te, m(v(e, ...u, "name", "prop"), {
18
+ const u = V(Ne());
19
+ return () => c(ae, s(v(e, ...u, "name", "prop"), {
20
20
  prop: e.prop || e.name
21
21
  }), {
22
22
  label: e.label ? () => e.label : void 0,
23
23
  ...t
24
24
  });
25
25
  }
26
- }), Je = ["clearValidate", "resetFields", "scrollToField", "validate", "validateField", "submit"], Zt = k({
26
+ }), et = ["clearValidate", "resetFields", "scrollToField", "validate", "validateField", "submit"], Qt = x({
27
27
  props: {
28
- ...ae.props,
28
+ ...ne.props,
29
29
  hideRequiredMark: {
30
30
  type: [Boolean, Object],
31
31
  default: void 0
@@ -36,27 +36,27 @@ const Ie = () => ({
36
36
  emit: u,
37
37
  expose: a
38
38
  }) => {
39
- const o = e.model || Vt({}), l = x();
39
+ const o = e.model || Je({}), n = R();
40
40
  return _(() => {
41
- !l.value || (l.value.submit = () => {
42
- var n;
43
- (n = l.value) == null || n.validate((f, r) => {
44
- f ? u("finish", Bt(o)) : u("finishFailed", r);
41
+ !n.value || (n.value.submit = () => {
42
+ var l;
43
+ (l = n.value) == null || l.validate((f, r) => {
44
+ f ? u("finish", Ot(o)) : u("finishFailed", r);
45
45
  });
46
46
  });
47
- }, []), a(ze(Je, l)), () => c(ae, m({
48
- ref: l
47
+ }, []), a($e(et, n)), () => c(ne, s({
48
+ ref: n
49
49
  }, v(e, "model"), {
50
- hideRequiredAsterisk: G(e.hideRequiredMark) ? e.hideRequiredMark : e.hideRequiredAsterisk,
50
+ hideRequiredAsterisk: q(e.hideRequiredMark) ? e.hideRequiredMark : e.hideRequiredAsterisk,
51
51
  model: o
52
52
  }), t);
53
53
  }
54
- }), M = rt(He, (e, t, u) => ({
54
+ }), B = dt(Ye, (e, t, u) => ({
55
55
  modelValue: e,
56
56
  "onUpdate:modelValue": t,
57
57
  clearable: !0,
58
58
  disabled: u
59
- })), Qe = (e = "comp") => e + "-" + jt(), Ht = () => ({
59
+ })), tt = (e = "comp") => e + "-" + $t(), Xt = () => ({
60
60
  loading: {
61
61
  type: Boolean
62
62
  },
@@ -84,21 +84,21 @@ const Ie = () => ({
84
84
  customClass: {
85
85
  type: String
86
86
  }
87
- }), Xe = k({
87
+ }), at = x({
88
88
  props: {
89
- ...Ht()
89
+ ...Xt()
90
90
  },
91
91
  setup: (e, {
92
92
  slots: t
93
93
  }) => {
94
- const u = Qe();
94
+ const u = tt();
95
95
  return _(() => {
96
96
  if (!e.loading)
97
97
  return;
98
98
  let a = e.target;
99
- if (t.default ? a = document.getElementById(u) : e.target && Dt(e.target) && (a = document.querySelector("#" + e.target)), !a)
99
+ if (t.default ? a = document.getElementById(u) : e.target && zt(e.target) && (a = document.querySelector("#" + e.target)), !a)
100
100
  return;
101
- const o = $e.service({
101
+ const o = qe.service({
102
102
  target: a,
103
103
  body: e.body,
104
104
  fullscreen: e.fullscreen,
@@ -115,7 +115,7 @@ const Ie = () => ({
115
115
  id: u
116
116
  }, [t.default()]) : null;
117
117
  }
118
- }), oe = () => ({
118
+ }), ue = () => ({
119
119
  clsName: {
120
120
  type: String,
121
121
  default: "pro-modal"
@@ -125,12 +125,10 @@ const Ie = () => ({
125
125
  default: !1
126
126
  },
127
127
  cancelText: {
128
- type: String,
129
- default: "\u53D6\u6D88"
128
+ type: String
130
129
  },
131
130
  okText: {
132
- type: String,
133
- default: "\u786E\u8BA4"
131
+ type: String
134
132
  },
135
133
  confirmLoading: Boolean,
136
134
  footer: {
@@ -148,7 +146,7 @@ const Ie = () => ({
148
146
  type: Boolean,
149
147
  default: !1
150
148
  }
151
- }), Ye = k({
149
+ }), nt = x({
152
150
  props: {
153
151
  ...Se.props,
154
152
  appendToBody: {
@@ -159,63 +157,65 @@ const Ie = () => ({
159
157
  type: Boolean,
160
158
  default: !0
161
159
  },
162
- ...oe()
160
+ ...ue()
163
161
  },
164
162
  setup: (e, {
165
163
  slots: t,
166
164
  emit: u,
167
165
  expose: a
168
166
  }) => {
169
- const o = x();
170
- a(D(o));
171
- const l = (C) => {
172
- u("update:modelValue", C), u("update:visible", C), C || (u("cancel"), u("closed"));
173
- }, n = () => {
174
- l(!1);
167
+ const {
168
+ t: o
169
+ } = ce(), n = R();
170
+ a(L(n));
171
+ const l = (g) => {
172
+ u("update:modelValue", g), u("update:visible", g), g || (u("cancel"), u("closed"));
175
173
  }, f = () => {
174
+ l(!1);
175
+ }, r = () => {
176
176
  u("ok");
177
- }, r = je(), S = r(s.ProOperateKey), P = r(s.ScrollKey), i = F(() => [{
177
+ }, m = He(), d = m(p.ProOperateKey), i = m(p.ScrollKey), P = E(() => [{
178
178
  value: "cancel",
179
- label: e.cancelText,
180
- onClick: n
179
+ label: o.value("cancel"),
180
+ onClick: f
181
181
  }, {
182
182
  value: "ok",
183
- label: e.okText,
183
+ label: o.value("confirm"),
184
184
  loading: e.confirmLoading,
185
185
  extraProps: {
186
186
  type: "primary"
187
187
  },
188
- onClick: f
189
- }]), E = w(oe());
188
+ onClick: r
189
+ }]), w = V(ue());
190
190
  return () => {
191
- const C = [e.clsName];
192
- return e.useScroll && C.push("scroll"), c(Se, m({
193
- class: C,
194
- ref: o
195
- }, v(e, ...E), {
196
- closeOnClickModal: G(e.maskClosable) ? e.maskClosable : e.closeOnClickModal,
191
+ const g = [e.clsName];
192
+ return e.useScroll && g.push("scroll"), c(Se, s({
193
+ class: g,
194
+ ref: n
195
+ }, v(e, ...w), {
196
+ closeOnClickModal: q(e.maskClosable) ? e.maskClosable : e.closeOnClickModal,
197
197
  modelValue: e.visible || e.modelValue,
198
198
  "onUpdate:modelValue": l
199
199
  }), {
200
- footer: e.footer === !1 ? void 0 : () => c(S, {
201
- items: i.value
200
+ footer: e.footer === !1 ? void 0 : () => c(d, {
201
+ items: P.value
202
202
  }, null),
203
203
  ...t,
204
204
  default: () => {
205
- var K;
206
- return e.useScroll ? c(P, m({
205
+ var k;
206
+ return e.useScroll ? c(i, s({
207
207
  class: `${e.clsName}-scroll`
208
208
  }, e.scrollProps), {
209
209
  default: () => {
210
- var I;
211
- return [(I = t.default) == null ? void 0 : I.call(t)];
210
+ var F;
211
+ return [(F = t.default) == null ? void 0 : F.call(t)];
212
212
  }
213
- }) : (K = t.default) == null ? void 0 : K.call(t);
213
+ }) : (k = t.default) == null ? void 0 : k.call(t);
214
214
  }
215
215
  });
216
216
  };
217
217
  }
218
- }), Jt = () => ({
218
+ }), Yt = () => ({
219
219
  clsName: {
220
220
  type: String,
221
221
  default: "pro-drawer"
@@ -225,12 +225,10 @@ const Ie = () => ({
225
225
  default: !1
226
226
  },
227
227
  cancelText: {
228
- type: String,
229
- default: "\u53D6\u6D88"
228
+ type: String
230
229
  },
231
230
  okText: {
232
- type: String,
233
- default: "\u786E\u8BA4"
231
+ type: String
234
232
  },
235
233
  footer: {
236
234
  type: Boolean,
@@ -244,10 +242,10 @@ const Ie = () => ({
244
242
  type: Boolean,
245
243
  default: !1
246
244
  }
247
- }), Qt = k({
245
+ }), ea = x({
248
246
  props: {
249
247
  ...Pe.props,
250
- ...Jt(),
248
+ ...Yt(),
251
249
  appendToBody: {
252
250
  type: Boolean,
253
251
  default: !0
@@ -262,57 +260,59 @@ const Ie = () => ({
262
260
  emit: u,
263
261
  expose: a
264
262
  }) => {
265
- const o = x();
266
- a(D(o));
267
- const l = (C) => {
268
- u("update:modelValue", C), u("update:visible", C), C || u("cancel");
269
- }, n = () => {
270
- l(!1);
263
+ const {
264
+ t: o
265
+ } = ce(), n = R();
266
+ a(L(n));
267
+ const l = (g) => {
268
+ u("update:modelValue", g), u("update:visible", g), g || u("cancel");
271
269
  }, f = () => {
270
+ l(!1);
271
+ }, r = () => {
272
272
  u("ok");
273
- }, r = je(), S = r(s.ProOperateKey), P = r(s.ScrollKey), i = F(() => [{
273
+ }, m = He(), d = m(p.ProOperateKey), i = m(p.ScrollKey), P = E(() => [{
274
274
  value: "cancel",
275
- label: e.cancelText,
276
- onClick: n
275
+ label: o.value("cancel"),
276
+ onClick: f
277
277
  }, {
278
278
  value: "ok",
279
- label: e.okText,
279
+ label: o.value("confirm"),
280
280
  loading: e.confirmLoading,
281
281
  extraProps: {
282
282
  type: "primary"
283
283
  },
284
- onClick: f
285
- }]), E = w(oe());
284
+ onClick: r
285
+ }]), w = V(ue());
286
286
  return () => {
287
- const C = [e.clsName];
288
- return e.useScroll && C.push("scroll"), c(Pe, m({
289
- class: C,
290
- ref: o
291
- }, v(e, E), {
287
+ const g = [e.clsName];
288
+ return e.useScroll && g.push("scroll"), c(Pe, s({
289
+ class: g,
290
+ ref: n
291
+ }, v(e, w), {
292
292
  modelValue: e.visible || e.modelValue,
293
293
  "onUpdate:modelValue": l
294
294
  }), {
295
- footer: e.footer === !1 ? void 0 : () => c(S, {
296
- items: i.value
295
+ footer: e.footer === !1 ? void 0 : () => c(d, {
296
+ items: P.value
297
297
  }, null),
298
298
  ...t,
299
299
  default: () => {
300
- var K;
301
- return e.useScroll ? c(P, m({
300
+ var k;
301
+ return e.useScroll ? c(i, s({
302
302
  class: `${e.clsName}-scroll`
303
303
  }, e.scrollProps), {
304
304
  default: () => {
305
- var I;
306
- return [(I = t.default) == null ? void 0 : I.call(t)];
305
+ var F;
306
+ return [(F = t.default) == null ? void 0 : F.call(t)];
307
307
  }
308
- }) : (K = t.default) == null ? void 0 : K.call(t);
308
+ }) : (k = t.default) == null ? void 0 : k.call(t);
309
309
  }
310
310
  });
311
311
  };
312
312
  }
313
- }), Xt = k({
313
+ }), ta = x({
314
314
  props: {
315
- ...he.props,
315
+ ...Ce.props,
316
316
  page: {
317
317
  type: Number,
318
318
  default: 1
@@ -322,39 +322,39 @@ const Ie = () => ({
322
322
  slots: t,
323
323
  emit: u
324
324
  }) => {
325
- const a = x(e.page), o = x(e.pageSize);
326
- z(() => {
325
+ const a = R(e.page), o = R(e.pageSize);
326
+ j(() => {
327
327
  a.value !== e.page && (a.value = e.page);
328
- }, () => e.page), z(() => {
328
+ }, () => e.page), j(() => {
329
329
  o.value !== e.pageSize && (o.value = e.pageSize);
330
330
  }, () => e.pageSize);
331
- const l = Lt(() => {
331
+ const n = At(() => {
332
332
  u("composeChange", a.value, o.value);
333
- }, 300), n = () => {
334
- l(), u("update:page", a.value);
333
+ }, 300), l = () => {
334
+ n(), u("update:page", a.value);
335
335
  }, f = () => {
336
- l(), u("update:pageSize", o.value);
336
+ n(), u("update:pageSize", o.value);
337
337
  };
338
- return () => c(he, m({
338
+ return () => c(Ce, s({
339
339
  currentPage: a.value,
340
340
  "onUpdate:currentPage": (r) => a.value = r,
341
341
  pageSize: o.value,
342
342
  "onUpdate:pageSize": (r) => o.value = r,
343
- onCurrentChange: n,
343
+ onCurrentChange: l,
344
344
  onSizeChange: f
345
345
  }, v(e, "currentPage", "pageSize")), t);
346
346
  }
347
- }), Yt = k({
347
+ }), aa = x({
348
348
  props: {
349
- ...Ce.props
349
+ ...Ke.props
350
350
  },
351
351
  setup: (e, {
352
352
  slots: t
353
- }) => () => c(Ce, e, {
353
+ }) => () => c(Ke, e, {
354
354
  reference: t.default,
355
355
  default: t.content
356
356
  })
357
- }), Ve = () => ({
357
+ }), Oe = () => ({
358
358
  options: Array,
359
359
  buttonStyle: {
360
360
  type: String,
@@ -364,49 +364,49 @@ const Ie = () => ({
364
364
  type: String,
365
365
  default: "default"
366
366
  }
367
- }), ea = k({
367
+ }), na = x({
368
368
  props: {
369
- ...Ke.props,
370
- ...Ve()
369
+ ...we.props,
370
+ ...Oe()
371
371
  },
372
372
  setup: (e, {
373
373
  slots: t,
374
374
  emit: u,
375
375
  expose: a
376
376
  }) => {
377
- const o = x();
378
- a(D(o));
379
- const l = w(Ve());
380
- return () => c(Ke, m({
377
+ const o = R();
378
+ a(L(o));
379
+ const n = V(Oe());
380
+ return () => c(we, s({
381
381
  ref: o
382
- }, v(e, l), {
383
- "onUpdate:modelValue": (n) => {
384
- u("update:modelValue", n || void 0);
382
+ }, v(e, n), {
383
+ "onUpdate:modelValue": (l) => {
384
+ u("update:modelValue", l || void 0);
385
385
  }
386
386
  }), {
387
387
  default: () => {
388
- var n, f;
389
- return [(n = t.start) == null ? void 0 : n.call(t), R(e.options, (r) => {
390
- var P;
391
- const S = (P = t.label) == null ? void 0 : P.call(t, r);
392
- return e.optionType === "button" || e.buttonStyle === "button" ? c(mt, m({
388
+ var l, f;
389
+ return [(l = t.start) == null ? void 0 : l.call(t), T(e.options, (r) => {
390
+ var d;
391
+ const m = (d = t.label) == null ? void 0 : d.call(t, r);
392
+ return e.optionType === "button" || e.buttonStyle === "button" ? c(vt, s({
393
393
  key: r.value
394
394
  }, v(r, "value"), {
395
395
  label: r.value
396
396
  }), {
397
- default: () => [S || r.label]
398
- }) : c(qe, m({
397
+ default: () => [m || r.label]
398
+ }) : c(Ge, s({
399
399
  key: r.value
400
400
  }, r, {
401
401
  label: r.value
402
402
  }), {
403
- default: () => [S || r.label]
403
+ default: () => [m || r.label]
404
404
  });
405
405
  }), (f = t.default) == null ? void 0 : f.call(t)];
406
406
  }
407
407
  });
408
408
  }
409
- }), Be = () => ({
409
+ }), De = () => ({
410
410
  options: {
411
411
  type: Array
412
412
  },
@@ -418,88 +418,88 @@ const Ie = () => ({
418
418
  type: String,
419
419
  default: "default"
420
420
  }
421
- }), ta = k({
421
+ }), la = x({
422
422
  props: {
423
- ...ke.props,
424
- ...Be()
423
+ ...xe.props,
424
+ ...De()
425
425
  },
426
426
  setup: (e, {
427
427
  slots: t,
428
428
  emit: u,
429
429
  expose: a
430
430
  }) => {
431
- const o = x();
432
- a(D(o));
433
- const l = w(Be());
434
- return () => c(ke, m({
431
+ const o = R();
432
+ a(L(o));
433
+ const n = V(De());
434
+ return () => c(xe, s({
435
435
  ref: o
436
- }, v(e, l), {
437
- "onUpdate:modelValue": (n) => {
438
- u("update:modelValue", n);
436
+ }, v(e, n), {
437
+ "onUpdate:modelValue": (l) => {
438
+ u("update:modelValue", l);
439
439
  }
440
440
  }), {
441
441
  default: () => {
442
- var n, f;
443
- return [(n = t.start) == null ? void 0 : n.call(t), R(e.options, (r) => {
444
- var P;
445
- const S = (P = t.label) == null ? void 0 : P.call(t, r);
446
- return e.optionType === "button" || e.buttonStyle === "button" ? c(st, m({
442
+ var l, f;
443
+ return [(l = t.start) == null ? void 0 : l.call(t), T(e.options, (r) => {
444
+ var d;
445
+ const m = (d = t.label) == null ? void 0 : d.call(t, r);
446
+ return e.optionType === "button" || e.buttonStyle === "button" ? c(ht, s({
447
447
  key: r.value
448
448
  }, v(r, "value"), {
449
449
  label: r.value
450
450
  }), {
451
- default: () => [S || r.label]
452
- }) : c(gt, m({
451
+ default: () => [m || r.label]
452
+ }) : c(bt, s({
453
453
  key: r.value
454
454
  }, v(r, "value"), {
455
455
  label: r.value
456
456
  }), {
457
- default: () => [S || r.label]
457
+ default: () => [m || r.label]
458
458
  });
459
459
  }), (f = t.default) == null ? void 0 : f.call(t)];
460
460
  }
461
461
  });
462
462
  }
463
- }), Ne = () => ({
463
+ }), Le = () => ({
464
464
  options: Array
465
- }), aa = k({
465
+ }), ra = x({
466
466
  props: {
467
- ...Ee.props,
468
- ...Ne()
467
+ ...ke.props,
468
+ ...Le()
469
469
  },
470
470
  setup: (e, {
471
471
  slots: t,
472
472
  emit: u,
473
473
  expose: a
474
474
  }) => {
475
- const o = x();
476
- a(D(o));
477
- const l = w(Ne());
478
- return () => c(Ee, m({
475
+ const o = R();
476
+ a(L(o));
477
+ const n = V(Le());
478
+ return () => c(ke, s({
479
479
  ref: o
480
- }, v(e, l), {
481
- "onUpdate:modelValue": (n) => {
482
- u("update:modelValue", n || void 0);
480
+ }, v(e, n), {
481
+ "onUpdate:modelValue": (l) => {
482
+ u("update:modelValue", l || void 0);
483
483
  }
484
484
  }), {
485
485
  default: () => {
486
- var n, f;
487
- return [(n = t.start) == null ? void 0 : n.call(t), R(e.options, (r) => {
488
- var P;
489
- const S = (P = t.label) == null ? void 0 : P.call(t, r);
490
- return c(vt, m({
486
+ var l, f;
487
+ return [(l = t.start) == null ? void 0 : l.call(t), T(e.options, (r) => {
488
+ var d;
489
+ const m = (d = t.label) == null ? void 0 : d.call(t, r);
490
+ return c(pt, s({
491
491
  key: r.value
492
492
  }, r), {
493
- default: () => [S || r.label]
493
+ default: () => [m || r.label]
494
494
  });
495
495
  }), (f = t.default) == null ? void 0 : f.call(t)];
496
496
  },
497
497
  ...v(t, "default")
498
498
  });
499
499
  }
500
- }), Ta = k({
500
+ }), Va = x({
501
501
  props: {
502
- ...xe.props,
502
+ ...Ee.props,
503
503
  options: {
504
504
  type: Array
505
505
  }
@@ -507,27 +507,27 @@ const Ie = () => ({
507
507
  setup: (e, {
508
508
  slots: t,
509
509
  emit: u
510
- }) => () => c(xe, m(v(e, "options"), {
510
+ }) => () => c(Ee, s(v(e, "options"), {
511
511
  "onUpdate:modelValue": (a) => {
512
512
  u("update:modelValue", a);
513
513
  }
514
514
  }), {
515
515
  default: () => {
516
516
  var a, o;
517
- return [(a = t.start) == null ? void 0 : a.call(t), R(e.options, (l) => c(bt, m({
518
- key: l.value
519
- }, v(l, "value"), {
520
- name: l.value
517
+ return [(a = t.start) == null ? void 0 : a.call(t), T(e.options, (n) => c(St, s({
518
+ key: n.value
519
+ }, v(n, "value"), {
520
+ name: n.value
521
521
  }), {
522
522
  label: () => {
523
- var n;
524
- return ((n = t.label) == null ? void 0 : n.call(t, l)) || l.label;
523
+ var l;
524
+ return ((l = t.label) == null ? void 0 : l.call(t, n)) || n.label;
525
525
  }
526
526
  })), (o = t.end) == null ? void 0 : o.call(t)];
527
527
  },
528
528
  ...t
529
529
  })
530
- }), ce = {
530
+ }), de = {
531
531
  convertSubMenuProps: {
532
532
  type: Function
533
533
  },
@@ -537,13 +537,13 @@ const Ie = () => ({
537
537
  onMenuItemClick: {
538
538
  type: Function
539
539
  }
540
- }, et = w(ce), tt = k({
540
+ }, lt = V(de), rt = x({
541
541
  inheritAttrs: !1,
542
542
  props: {
543
543
  menu: {
544
544
  type: Object
545
545
  },
546
- ...ce
546
+ ...de
547
547
  },
548
548
  setup: (e, {
549
549
  slots: t
@@ -553,35 +553,35 @@ const Ie = () => ({
553
553
  (a = e.onMenuItemClick) == null || a.call(e, e.menu);
554
554
  };
555
555
  return () => {
556
- var o, l;
556
+ var o, n;
557
557
  const a = e.menu;
558
- return (a == null ? void 0 : a.children) && O(a.children) > 0 ? c(q.SubMenu, m({
558
+ return (a == null ? void 0 : a.children) && D(a.children) > 0 ? c(H.SubMenu, s({
559
559
  index: a == null ? void 0 : a.value
560
560
  }, (o = e.convertSubMenuProps) == null ? void 0 : o.call(e, a)), {
561
- default: () => [R(a.children, (n) => c(tt, m({
562
- menu: n
563
- }, ue(e, et)), t))],
561
+ default: () => [T(a.children, (l) => c(rt, s({
562
+ menu: l
563
+ }, G(e, lt)), t))],
564
564
  title: () => {
565
- var n;
566
- return ((n = t.title) == null ? void 0 : n.call(t, a)) || (a == null ? void 0 : a.label);
565
+ var l;
566
+ return ((l = t.title) == null ? void 0 : l.call(t, a)) || (a == null ? void 0 : a.label);
567
567
  }
568
- }) : c(q.MenuItem, m({
568
+ }) : c(H.MenuItem, s({
569
569
  index: a == null ? void 0 : a.value
570
- }, (l = e.convertMenuItemProps) == null ? void 0 : l.call(e, a), {
570
+ }, (n = e.convertMenuItemProps) == null ? void 0 : n.call(e, a), {
571
571
  onClick: u
572
572
  }), {
573
573
  title: () => {
574
- var n;
575
- return ((n = t.title) == null ? void 0 : n.call(t, a)) || (a == null ? void 0 : a.label);
574
+ var l;
575
+ return ((l = t.title) == null ? void 0 : l.call(t, a)) || (a == null ? void 0 : a.label);
576
576
  },
577
577
  default: t.default ? () => {
578
- var n;
579
- return (n = t.default) == null ? void 0 : n.call(t, a);
578
+ var l;
579
+ return (l = t.default) == null ? void 0 : l.call(t, a);
580
580
  } : void 0
581
581
  });
582
582
  };
583
583
  }
584
- }), Oe = () => ({
584
+ }), ze = () => ({
585
585
  activeKey: {
586
586
  type: String
587
587
  },
@@ -596,43 +596,43 @@ const Ie = () => ({
596
596
  label: "label"
597
597
  }
598
598
  },
599
- ...ce
600
- }), na = k({
599
+ ...de
600
+ }), oa = x({
601
601
  props: {
602
- ...v(q.props, "defaultActive"),
603
- ...Oe()
602
+ ...v(H.props, "defaultActive"),
603
+ ...ze()
604
604
  },
605
605
  setup: (e, {
606
606
  slots: t
607
607
  }) => {
608
- const u = x(e.activeKey);
609
- z(() => {
608
+ const u = R(e.activeKey);
609
+ j(() => {
610
610
  e.activeKey !== u.value && (u.value = e.activeKey);
611
611
  }, () => e.activeKey);
612
- const a = F(() => {
613
- var l;
614
- return $t(e.options, (n) => {
615
- var S, P;
616
- const f = ((S = e.fieldNames) == null ? void 0 : S.value) || "value", r = ((P = e.fieldNames) == null ? void 0 : P.label) || "label";
612
+ const a = E(() => {
613
+ var n;
614
+ return Ht(e.options, (l) => {
615
+ var m, d;
616
+ const f = ((m = e.fieldNames) == null ? void 0 : m.value) || "value", r = ((d = e.fieldNames) == null ? void 0 : d.label) || "label";
617
617
  return {
618
- ...v(n, f, r),
619
- value: V(n, f),
620
- label: V(n, r)
618
+ ...v(l, f, r),
619
+ value: N(l, f),
620
+ label: N(l, r)
621
621
  };
622
622
  }, {
623
- children: ((l = e.fieldNames) == null ? void 0 : l.children) || "children",
623
+ children: ((n = e.fieldNames) == null ? void 0 : n.children) || "children",
624
624
  childrenName: "children"
625
625
  });
626
- }), o = w(Oe());
627
- return () => c(q, m({
626
+ }), o = V(ze());
627
+ return () => c(H, s({
628
628
  defaultActive: u.value
629
629
  }, v(e, o)), {
630
- default: () => c(We, null, [R(a.value, (l) => c(tt, m({
631
- menu: l
632
- }, ue(e, et)), t))])
630
+ default: () => c(Qe, null, [T(a.value, (n) => c(rt, s({
631
+ menu: n
632
+ }, G(e, lt)), t))])
633
633
  });
634
634
  }
635
- }), De = () => ({
635
+ }), Ae = () => ({
636
636
  modelValue: {
637
637
  type: Array,
638
638
  default: void 0
@@ -663,10 +663,10 @@ const Ie = () => ({
663
663
  type: Function,
664
664
  default: void 0
665
665
  }
666
- }), la = ["abort", "submit", "clearFiles", "handleStart", "handleRemove"], at = k({
666
+ }), ua = ["abort", "submit", "clearFiles", "handleStart", "handleRemove"], ot = x({
667
667
  props: {
668
- ...v(Fe.props, "fileList"),
669
- ...De()
668
+ ...v(Re.props, "fileList"),
669
+ ...Ae()
670
670
  },
671
671
  setup: (e, {
672
672
  slots: t,
@@ -674,96 +674,101 @@ const Ie = () => ({
674
674
  emit: a
675
675
  }) => {
676
676
  const {
677
- showMsg: o
678
- } = ot(), l = x();
679
- u(D(l, la));
677
+ showMsg: o,
678
+ t: n
679
+ } = ce(), l = R();
680
+ u(L(l, ua));
680
681
  const {
681
- formItem: n
682
- } = pt(), f = () => Ze(e.modelValue) ? R(e.modelValue, (d) => {
683
- var g;
684
- return ((g = e.convertItemData) == null ? void 0 : g.call(e, d)) || d;
685
- }) : [], r = x(f());
686
- let S = !1;
687
- const P = () => {
688
- var g;
689
- S = !0;
690
- const d = re(r.value, (p) => p.status === "success");
691
- a("update:modelValue", R(d, (p) => {
692
- var b;
693
- return ((b = e.convertResponseData) == null ? void 0 : b.call(e, p)) || p;
694
- })), (g = n == null ? void 0 : n.validate) == null || g.call(n, "change");
682
+ formItem: f
683
+ } = Pt(), r = () => Xe(e.modelValue) ? T(e.modelValue, (y) => {
684
+ var h;
685
+ return ((h = e.convertItemData) == null ? void 0 : h.call(e, y)) || y;
686
+ }) : [], m = R(r());
687
+ let d = !1;
688
+ const i = () => {
689
+ var h;
690
+ d = !0;
691
+ const y = oe(m.value, (b) => b.status === "success");
692
+ a("update:modelValue", T(y, (b) => {
693
+ var K;
694
+ return ((K = e.convertResponseData) == null ? void 0 : K.call(e, b)) || b;
695
+ })), (h = f == null ? void 0 : f.validate) == null || h.call(f, "change");
695
696
  };
696
- z(() => {
697
- S || (r.value = f(), S = !1);
697
+ j(() => {
698
+ d || (m.value = r(), d = !1);
698
699
  }, () => e.modelValue);
699
- let i;
700
- const E = () => {
701
- e.globalLoading && (i = $e.service({
700
+ let P;
701
+ const w = () => {
702
+ e.globalLoading && (P = qe.service({
702
703
  lock: !0,
703
- text: "\u6B63\u5728\u4E0A\u4F20\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E...",
704
- ...G(e.globalLoading) ? {} : e.globalLoading
704
+ text: n.value("uploadingWatting"),
705
+ ...q(e.globalLoading) ? {} : e.globalLoading
705
706
  }));
706
- }, C = () => {
707
- e.globalLoading && (i == null || i.close());
707
+ }, g = () => {
708
+ e.globalLoading && (P == null || P.close());
708
709
  };
709
710
  _(() => () => {
710
- C();
711
+ g();
711
712
  }, []);
712
- const K = (d, g) => {
713
+ const k = (y, h, b) => {
713
714
  if (e.onErrorMsg) {
714
- e.onErrorMsg(d, g);
715
+ e.onErrorMsg(y, h);
715
716
  return;
716
717
  }
717
718
  o({
718
719
  type: "error",
719
- message: g
720
+ message: h
720
721
  });
721
- }, I = (d) => {
722
- var g;
722
+ }, F = (y) => {
723
+ var h;
723
724
  if (e.beforeUpload)
724
- return e.beforeUpload(d);
725
- if (e.accept && !qt(e.accept, d.name))
726
- return K("FileTypeError", `\u8BF7\u4E0A\u4F20\u6B63\u786E\u683C\u5F0F\uFF08${e.accept.replace(/,/g, "\uFF0C")}\uFF09\u7684\u6587\u4EF6`), !1;
727
- if (L(d.size)) {
728
- if (d.size <= 0)
729
- return K("FileSizeError-Zero", "\u4E0A\u4F20\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"), !1;
730
- if (L(e.maxSize) && d.size > e.maxSize)
731
- return K("FileSizeError-MaxSize", `\u8BF7\u4E0A\u4F20\u5C0F\u4E8E${Gt(e.maxSize)}\u7684\u6587\u4EF6`), !1;
725
+ return e.beforeUpload(y);
726
+ if (e.accept && !qt(e.accept, y.name))
727
+ return k("FileTypeError", `\u8BF7\u4E0A\u4F20\u6B63\u786E\u683C\u5F0F\uFF08${e.accept.replace(/,/g, "\uFF0C")}\uFF09\u7684\u6587\u4EF6`, {
728
+ accept: e.accept.replace(/,/g, "\uFF0C")
729
+ }), !1;
730
+ if (z(y.size)) {
731
+ if (y.size <= 0)
732
+ return k("FileSizeError-Zero", "\u4E0A\u4F20\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"), !1;
733
+ if (z(e.maxSize) && y.size > e.maxSize)
734
+ return k("FileSizeError-MaxSize", `\u8BF7\u4E0A\u4F20\u5C0F\u4E8E${Be(e.maxSize)}\u7684\u6587\u4EF6`, {
735
+ maxSize: Be(e.maxSize)
736
+ }), !1;
732
737
  }
733
- return (g = e.onStart) == null || g.call(e, d), E(), !0;
734
- }, W = (d, g, p) => {
735
- var b;
736
- (b = e.onSuccess) == null || b.call(e, d, g, p), P(), C();
737
- }, Z = (d, g, p) => {
738
+ return (h = e.onStart) == null || h.call(e, y), w(), !0;
739
+ }, Z = (y, h, b) => {
740
+ var K;
741
+ (K = e.onSuccess) == null || K.call(e, y, h, b), i(), g();
742
+ }, J = (y, h, b) => {
743
+ var K;
744
+ (K = e.onError) == null || K.call(e, y, h, b), g(), k("UploadError", "\u4E0A\u4F20\u5931\u8D25");
745
+ }, S = (y, h) => {
738
746
  var b;
739
- (b = e.onError) == null || b.call(e, d, g, p), C(), K("UploadError", "\u4E0A\u4F20\u5931\u8D25");
740
- }, H = (d, g) => {
741
- var p;
742
- r.value = re(r.value, (b) => !(d.uid === b.uid && d.name === b.name)), (p = e.onRemove) == null || p.call(e, d, g), P();
743
- }, y = F(() => L(e.limit) ? e.limit > O(r.value) : !0), h = w(De());
747
+ m.value = oe(m.value, (K) => !(y.uid === K.uid && y.name === K.name)), (b = e.onRemove) == null || b.call(e, y, h), i();
748
+ }, C = E(() => z(e.limit) ? e.limit > D(m.value) : !0), M = V(Ae());
744
749
  return () => {
745
- var d, g;
750
+ var y, h;
746
751
  return c("div", {
747
- class: `pro-uploader ${y.value ? "" : "pro-uploader-limit"}`
748
- }, [(d = t.start) == null ? void 0 : d.call(t), c(Fe, m({
752
+ class: `pro-uploader ${C.value ? "" : "pro-uploader-limit"}`
753
+ }, [(y = t.start) == null ? void 0 : y.call(t), c(Re, s({
749
754
  ref: l,
750
- fileList: r.value,
751
- "onUpdate:fileList": (p) => r.value = p
752
- }, v(e, "fileList", "onSuccess", "onError", "onRemove", "beforeUpload", ...h), {
753
- beforeUpload: I,
754
- onSuccess: W,
755
- onError: Z,
756
- onRemove: H
755
+ fileList: m.value,
756
+ "onUpdate:fileList": (b) => m.value = b
757
+ }, v(e, "fileList", "onSuccess", "onError", "onRemove", "beforeUpload", ...M), {
758
+ beforeUpload: F,
759
+ onSuccess: Z,
760
+ onError: J,
761
+ onRemove: S
757
762
  }), {
758
763
  default: () => {
759
- var p, b;
760
- return [y.value && c(We, null, [((p = t.default) == null ? void 0 : p.call(t)) || ((b = e.renderDom) == null ? void 0 : b.call(e))])];
764
+ var b, K;
765
+ return [C.value && c(Qe, null, [((b = t.default) == null ? void 0 : b.call(t)) || ((K = e.renderDom) == null ? void 0 : K.call(e))])];
761
766
  },
762
767
  ...v(t, "default")
763
- }), (g = t.end) == null ? void 0 : g.call(t)]);
768
+ }), (h = t.end) == null ? void 0 : h.call(t)]);
764
769
  };
765
770
  }
766
- }), Le = () => ({
771
+ }), Ue = () => ({
767
772
  modelValue: {
768
773
  type: Array
769
774
  },
@@ -780,54 +785,54 @@ const Ie = () => ({
780
785
  divider: {
781
786
  type: Function
782
787
  }
783
- }), ra = k({
788
+ }), ca = x({
784
789
  props: {
785
790
  ...v($.props, "modelValue"),
786
791
  controlsPosition: {
787
792
  type: String,
788
793
  default: "right"
789
794
  },
790
- ...Le()
795
+ ...Ue()
791
796
  },
792
797
  setup: (e, {
793
798
  slots: t,
794
799
  emit: u
795
800
  }) => {
796
- const a = x(V(e.modelValue, 0)), o = x(V(e.modelValue, 1));
797
- let l = !1;
798
- z(() => {
799
- l || (a.value = V(e.modelValue, 0), o.value = V(e.modelValue, 1)), l = !1;
801
+ const a = R(N(e.modelValue, 0)), o = R(N(e.modelValue, 1));
802
+ let n = !1;
803
+ j(() => {
804
+ n || (a.value = N(e.modelValue, 0), o.value = N(e.modelValue, 1)), n = !1;
800
805
  }, [e.modelValue, () => e.modelValue]);
801
- const n = () => {
802
- l = !0, e.singleEmit ? u("update:modelValue", [a.value, o.value]) : L(a.value) && L(o.value) ? u("update:modelValue", [a.value, o.value]) : u("update:modelValue", null);
806
+ const l = () => {
807
+ n = !0, e.singleEmit ? u("update:modelValue", [a.value, o.value]) : z(a.value) && z(o.value) ? u("update:modelValue", [a.value, o.value]) : u("update:modelValue", null);
803
808
  }, f = (i) => {
804
- for (let E = 0; E < i.length; E++)
805
- if (L(i[E]))
806
- return i[E];
807
- }, r = F(() => {
809
+ for (let P = 0; P < i.length; P++)
810
+ if (z(i[P]))
811
+ return i[P];
812
+ }, r = E(() => {
808
813
  var i;
809
814
  return f([o.value, (i = e.start) == null ? void 0 : i.max, e.max]);
810
- }), S = F(() => {
815
+ }), m = E(() => {
811
816
  var i;
812
817
  return f([a.value, (i = e.end) == null ? void 0 : i.min, e.min]);
813
- }), P = w(Le());
818
+ }), d = V(Ue());
814
819
  return () => {
815
- var E, C;
816
- const i = v(e, ...P, "min", "max");
820
+ var P, w;
821
+ const i = v(e, ...d, "min", "max");
817
822
  return c("span", {
818
823
  class: "pro-number-range"
819
- }, [c($, m(i, v(e.start, "max"), {
824
+ }, [c($, s(i, v(e.start, "max"), {
820
825
  max: r.value,
821
826
  modelValue: a.value,
822
- "onUpdate:modelValue": [(K) => a.value = K, n]
823
- }), null), c("span", null, [((E = t.divider) == null ? void 0 : E.call(t)) || ((C = e.divider) == null ? void 0 : C.call(e)) || " - "]), c($, m(i, v(e.start, "min"), {
824
- min: S.value,
827
+ "onUpdate:modelValue": [(g) => a.value = g, l]
828
+ }), null), c("span", null, [((P = t.divider) == null ? void 0 : P.call(t)) || ((w = e.divider) == null ? void 0 : w.call(e)) || " - "]), c($, s(i, v(e.start, "min"), {
829
+ min: m.value,
825
830
  modelValue: o.value,
826
- "onUpdate:modelValue": [(K) => o.value = K, n]
831
+ "onUpdate:modelValue": [(g) => o.value = g, l]
827
832
  }), null)]);
828
833
  };
829
834
  }
830
- }), Ue = () => ({
835
+ }), je = () => ({
831
836
  treeData: {
832
837
  type: Array
833
838
  },
@@ -844,126 +849,126 @@ const Ie = () => ({
844
849
  checkedKeys: {
845
850
  type: Array
846
851
  }
847
- }), Ra = k({
852
+ }), Ba = x({
848
853
  props: {
849
- ...Te.props,
850
- ...Ue()
854
+ ...Fe.props,
855
+ ...je()
851
856
  },
852
857
  setup: (e, {
853
858
  slots: t
854
859
  }) => {
855
- const u = w(Ue()), o = (() => {
856
- const l = e.fieldNames;
857
- if (!!l)
860
+ const u = V(je()), o = (() => {
861
+ const n = e.fieldNames;
862
+ if (!!n)
858
863
  return {
859
- label: l.title,
860
- children: l.children,
861
- disabled: l.disabled,
862
- isLeaf: l.isLeaf,
863
- class: l.class
864
+ label: n.title,
865
+ children: n.children,
866
+ disabled: n.disabled,
867
+ isLeaf: n.isLeaf,
868
+ class: n.class
864
869
  };
865
870
  })();
866
871
  return () => {
867
- var l;
868
- return c(Te, m(v(e, u), {
872
+ var n;
873
+ return c(Fe, s(v(e, u), {
869
874
  data: e.treeData || e.data,
870
875
  props: o || e.props,
871
- nodeKey: ((l = e.fieldNames) == null ? void 0 : l.key) || e.nodeKey,
872
- showCheckbox: G(e.selectable) ? e.selectable : e.showCheckbox,
876
+ nodeKey: ((n = e.fieldNames) == null ? void 0 : n.key) || e.nodeKey,
877
+ showCheckbox: q(e.selectable) ? e.selectable : e.showCheckbox,
873
878
  defaultExpandedKeys: e.expandedKeys || e.defaultExpandedKeys,
874
879
  defaultCheckedKeys: e.checkedKeys || e.checkedKeys
875
880
  }), t);
876
881
  };
877
882
  }
878
883
  });
879
- function oa(e) {
880
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Nt(e);
884
+ function da(e) {
885
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Dt(e);
881
886
  }
882
- const Ae = () => ({
887
+ const We = () => ({
883
888
  options: Array
884
- }), ua = k({
889
+ }), ia = x({
885
890
  props: {
886
- ...Re.props,
887
- ...Ae()
891
+ ...Te.props,
892
+ ...We()
888
893
  },
889
894
  setup: (e, {
890
895
  slots: t,
891
896
  expose: u
892
897
  }) => {
893
- const a = x();
894
- u(D(a));
895
- const o = w(Ae());
896
- return () => c(Re, m({
898
+ const a = R();
899
+ u(L(a));
900
+ const o = V(We());
901
+ return () => c(Te, s({
897
902
  ref: a
898
903
  }, v(e, o)), {
899
904
  dropdown: () => {
900
- let l;
901
- return c(St, null, oa(l = R(e.options, (n) => {
905
+ let n;
906
+ return c(Ct, null, da(n = T(e.options, (l) => {
902
907
  var r;
903
- const f = (r = t.label) == null ? void 0 : r.call(t, n);
904
- return c(Pt, m({
905
- command: n.value
906
- }, v(n, "value", "label")), {
907
- default: () => [f || n.label]
908
+ const f = (r = t.label) == null ? void 0 : r.call(t, l);
909
+ return c(Kt, s({
910
+ command: l.value
911
+ }, v(l, "value", "label")), {
912
+ default: () => [f || l.label]
908
913
  });
909
- })) ? l : {
910
- default: () => [l]
914
+ })) ? n : {
915
+ default: () => [n]
911
916
  });
912
917
  },
913
918
  ...t
914
919
  });
915
920
  }
916
- }), ca = M({
917
- InputComp: ht,
921
+ }), fa = B({
922
+ InputComp: wt,
918
923
  valueType: "text",
919
924
  name: "PFromText"
920
- }), da = M({
925
+ }), ma = B({
921
926
  InputComp: $,
922
927
  valueType: "digit",
923
928
  name: "PFormNumber"
924
- }), ia = M({
925
- InputComp: ra,
929
+ }), ya = B({
930
+ InputComp: ca,
926
931
  valueType: "digitRange",
927
932
  name: "PFormNumberRange"
928
- }), fa = M({
929
- InputComp: Ct,
933
+ }), sa = B({
934
+ InputComp: xt,
930
935
  valueType: "date",
931
936
  name: "PFormDate"
932
- }), ya = M({
933
- InputComp: Kt,
937
+ }), ga = B({
938
+ InputComp: kt,
934
939
  valueType: "time",
935
940
  name: "PFormTime"
936
- }), ma = M({
937
- InputComp: aa,
941
+ }), va = B({
942
+ InputComp: ra,
938
943
  valueType: "select",
939
944
  name: "PFormSelect"
940
- }), sa = M({
941
- InputComp: kt,
945
+ }), ha = B({
946
+ InputComp: Et,
942
947
  valueType: "treeSelect",
943
948
  name: "PFormTreeSelect"
944
- }), ga = M({
945
- InputComp: ea,
949
+ }), ba = B({
950
+ InputComp: na,
946
951
  valueType: "checkbox",
947
952
  name: "PFromCheckbox"
948
- }), va = M({
949
- InputComp: ta,
953
+ }), pa = B({
954
+ InputComp: la,
950
955
  valueType: "radio",
951
956
  name: "PFromRadio"
952
- }), ba = M({
953
- InputComp: Et,
957
+ }), Sa = B({
958
+ InputComp: Rt,
954
959
  valueType: "switch",
955
960
  name: "PFromSwitch"
956
- }), pa = M({
957
- InputComp: xt,
961
+ }), Pa = B({
962
+ InputComp: Ft,
958
963
  valueType: "cascader",
959
964
  name: "PFormCascader"
960
- }), Sa = M({
961
- InputComp: Ft,
965
+ }), Ca = B({
966
+ InputComp: Tt,
962
967
  valueType: "color",
963
968
  name: "PFormColor"
964
- }), nt = k({
969
+ }), ut = x({
965
970
  props: {
966
- ...v(ne.props, "label", "prop"),
971
+ ...v(le.props, "label", "prop"),
967
972
  title: {
968
973
  type: String
969
974
  },
@@ -981,52 +986,52 @@ const Ae = () => ({
981
986
  slots: t
982
987
  }) => {
983
988
  const u = ({
984
- row: l,
985
- column: n,
989
+ row: n,
990
+ column: l,
986
991
  $index: f
987
992
  }) => {
988
- var K;
989
- const r = l, S = f, P = {
990
- ...n,
991
- title: n.label,
992
- dataIndex: n.property
993
- }, i = V(l, P.dataIndex), E = {
993
+ var g;
994
+ const r = n, m = f, d = {
995
+ ...l,
996
+ title: l.label,
997
+ dataIndex: l.property
998
+ }, i = N(n, d.dataIndex), P = {
994
999
  value: i,
995
1000
  text: i,
996
1001
  record: r,
997
- column: P,
998
- index: S
999
- }, C = (K = t.bodyCell) == null ? void 0 : K.call(t, E);
1000
- return C || (e.customRender ? e.customRender(E) : i);
1002
+ column: d,
1003
+ index: m
1004
+ }, w = (g = t.bodyCell) == null ? void 0 : g.call(t, P);
1005
+ return w || (e.customRender ? e.customRender(P) : i);
1001
1006
  }, o = {
1002
1007
  header: ({
1003
- column: l,
1004
- $index: n
1008
+ column: n,
1009
+ $index: l
1005
1010
  }) => {
1006
1011
  var i;
1007
- const f = n, r = l.label, S = {
1008
- ...l,
1012
+ const f = l, r = n.label, m = {
1013
+ ...n,
1009
1014
  title: r,
1010
- dataIndex: l.property
1015
+ dataIndex: n.property
1011
1016
  };
1012
1017
  return ((i = t.headerCell) == null ? void 0 : i.call(t, {
1013
1018
  title: r,
1014
- column: S,
1019
+ column: m,
1015
1020
  index: f
1016
1021
  })) || r;
1017
1022
  }
1018
1023
  };
1019
- return (!e.children || O(e.children) <= 0) && (o.default = u), () => c(ne, m(v(e, "title", "dataIndex", "prop", "customRender", "children"), {
1024
+ return (!e.children || D(e.children) <= 0) && (o.default = u), () => c(le, s(v(e, "title", "dataIndex", "prop", "customRender", "children"), {
1020
1025
  prop: e.dataIndex,
1021
1026
  label: e.title
1022
1027
  }), {
1023
- default: () => [O(e.children) > 0 && R(e.children, (l) => c(nt, m({
1024
- key: l.dataIndex
1025
- }, l), t))],
1028
+ default: () => [D(e.children) > 0 && T(e.children, (n) => c(ut, s({
1029
+ key: n.dataIndex
1030
+ }, n), t))],
1026
1031
  ...o
1027
1032
  });
1028
1033
  }
1029
- }), Pa = ["clearSelection", "getSelectionRows", "toggleRowSelection", "toggleAllSelection", "toggleRowExpansion", "setCurrentRow", "clearSort", "clearFilter", "doLayout", "sort", "scrollTo", "setScrollTop", "setScrollLeft"], ha = () => ({
1034
+ }), Ka = ["clearSelection", "getSelectionRows", "toggleRowSelection", "toggleAllSelection", "toggleRowExpansion", "setCurrentRow", "clearSort", "clearFilter", "doLayout", "sort", "scrollTo", "setScrollTop", "setScrollLeft"], wa = () => ({
1030
1035
  columns: {
1031
1036
  type: Array
1032
1037
  },
@@ -1046,141 +1051,141 @@ const Ae = () => ({
1046
1051
  type: Object,
1047
1052
  default: void 0
1048
1053
  }
1049
- }), lt = k({
1054
+ }), ct = x({
1050
1055
  props: {
1051
- ...we.props,
1052
- ...ha()
1056
+ ...Me.props,
1057
+ ...wa()
1053
1058
  },
1054
1059
  setup: (e, {
1055
1060
  slots: t,
1056
1061
  expose: u,
1057
1062
  emit: a
1058
1063
  }) => {
1059
- const o = x(), l = Qe("table");
1060
- u(ze(Pa, o));
1061
- const n = F(() => e.dataSource || e.data || []), f = F(() => Q(n.value, (y, h) => ({
1062
- ...y,
1063
- [r(h)]: !0
1064
- }), {})), r = (y) => {
1065
- const h = e.rowKey;
1066
- return Ut(h) ? h(y) : h ? y[h] : y.id;
1067
- }, S = F(() => !!e.rowSelection), P = F(() => {
1068
- const y = e.rowSelection;
1069
- return y ? !y.type || y.type === "multi" : !1;
1070
- }), i = F(() => {
1071
- const y = e.selectedRowKeys;
1072
- return Ze(y) ? y : y ? [y] : [];
1073
- }), E = F(() => Q(i.value, (y, h) => ({
1074
- ...y,
1075
- [h]: !0
1064
+ const o = R(), n = tt("table");
1065
+ u($e(Ka, o));
1066
+ const l = E(() => e.dataSource || e.data || []), f = E(() => X(l.value, (S, C) => ({
1067
+ ...S,
1068
+ [r(C)]: !0
1069
+ }), {})), r = (S) => {
1070
+ const C = e.rowKey;
1071
+ return Ut(C) ? C(S) : C ? S[C] : S.id;
1072
+ }, m = E(() => !!e.rowSelection), d = E(() => {
1073
+ const S = e.rowSelection;
1074
+ return S ? !S.type || S.type === "multi" : !1;
1075
+ }), i = E(() => {
1076
+ const S = e.selectedRowKeys;
1077
+ return Xe(S) ? S : S ? [S] : [];
1078
+ }), P = E(() => X(i.value, (S, C) => ({
1079
+ ...S,
1080
+ [C]: !0
1076
1081
  }), {}));
1077
- let C = [], K = !1;
1078
- const I = (y) => {
1079
- var d, g, p, b, B, U, de, ie;
1080
- if (!K)
1082
+ let w = [], g = !1;
1083
+ const k = (S) => {
1084
+ var M, y, h, b, K, A, ie, fe;
1085
+ if (!g)
1081
1086
  return;
1082
- const h = R(y, (T) => r(T));
1083
- if (S.value && !P.value) {
1084
- if (O(h) <= 0 && O(C) > 0) {
1085
- const T = n.value, N = At(T, (j) => r(j) === C[0]);
1086
- N && ((d = o.value) == null || d.toggleRowSelection(N, !0));
1087
+ const C = T(S, (I) => r(I));
1088
+ if (m.value && !d.value) {
1089
+ if (D(C) <= 0 && D(w) > 0) {
1090
+ const I = l.value, O = jt(I, (W) => r(W) === w[0]);
1091
+ O && ((M = o.value) == null || M.toggleRowSelection(O, !0));
1087
1092
  return;
1088
- } else if (O(h) > 1) {
1089
- const T = zt(h);
1090
- Me(y, (N) => {
1091
- var j;
1092
- (j = o.value) == null || j.toggleRowSelection(N, r(N) === T);
1093
+ } else if (D(C) > 1) {
1094
+ const I = Wt(C);
1095
+ Ve(S, (O) => {
1096
+ var W;
1097
+ (W = o.value) == null || W.toggleRowSelection(O, r(O) === I);
1093
1098
  });
1094
1099
  return;
1095
1100
  }
1096
1101
  }
1097
- if (!_t(i.value, h, {
1102
+ if (!Gt(i.value, C, {
1098
1103
  sort: !0
1099
1104
  })) {
1100
- if (!P.value) {
1101
- const T = V(h, 0);
1102
- (p = (g = e.rowSelection).onChange) == null || p.call(g, T, V(y, 0)), a("update:selectedRowKeys", T);
1105
+ if (!d.value) {
1106
+ const I = N(C, 0);
1107
+ (h = (y = e.rowSelection).onChange) == null || h.call(y, I, N(S, 0)), a("update:selectedRowKeys", I);
1103
1108
  return;
1104
1109
  }
1105
1110
  if ((b = e.rowSelection) != null && b.pagination) {
1106
- const T = re(i.value, (N) => !f.value[N]);
1107
- T.push(...h), (U = (B = e.rowSelection).onChange) == null || U.call(B, T, []), a("update:selectedRowKeys", T);
1111
+ const I = oe(i.value, (O) => !f.value[O]);
1112
+ I.push(...C), (A = (K = e.rowSelection).onChange) == null || A.call(K, I, []), a("update:selectedRowKeys", I);
1108
1113
  return;
1109
1114
  }
1110
- (ie = (de = e.rowSelection).onChange) == null || ie.call(de, h, y), a("update:selectedRowKeys", h);
1115
+ (fe = (ie = e.rowSelection).onChange) == null || fe.call(ie, C, S), a("update:selectedRowKeys", C);
1111
1116
  }
1112
- }, W = F(() => {
1117
+ }, F = E(() => {
1113
1118
  if (!!e.rowSelection)
1114
1119
  return {
1115
- onSelectionChange: I
1120
+ onSelectionChange: k
1116
1121
  };
1117
1122
  });
1118
1123
  _(() => {
1119
- var h;
1120
- K = !1, C = i.value;
1121
- const y = n.value;
1122
- if (S.value) {
1123
- const d = (h = o.value) == null ? void 0 : h.getSelectionRows(), g = Q(d, (p, b) => ({
1124
- ...p,
1124
+ var C;
1125
+ g = !1, w = i.value;
1126
+ const S = l.value;
1127
+ if (m.value) {
1128
+ const M = (C = o.value) == null ? void 0 : C.getSelectionRows(), y = X(M, (h, b) => ({
1129
+ ...h,
1125
1130
  [r(b)]: !0
1126
1131
  }), {});
1127
- Ot(() => {
1128
- Me(y, (p) => {
1129
- var B;
1130
- const b = r(p);
1131
- E.value[b] !== g[b] && ((B = o.value) == null || B.toggleRowSelection(p, !!E.value[b]));
1132
- }), K = !0;
1132
+ Lt(() => {
1133
+ Ve(S, (h) => {
1134
+ var K;
1135
+ const b = r(h);
1136
+ P.value[b] !== y[b] && ((K = o.value) == null || K.toggleRowSelection(h, !!P.value[b]));
1137
+ }), g = !0;
1133
1138
  });
1134
1139
  } else
1135
- K = !0;
1136
- }, [i, n]);
1140
+ g = !0;
1141
+ }, [i, l]);
1137
1142
  const Z = () => {
1138
- var y, h;
1143
+ var S, C;
1139
1144
  if (e.spanMethod)
1140
1145
  return e.spanMethod;
1141
- if (((y = e.mergeOpts) == null ? void 0 : y.rowNames) || ((h = e.mergeOpts) == null ? void 0 : h.colNames)) {
1142
- const d = Wt(e.mergeOpts);
1146
+ if (((S = e.mergeOpts) == null ? void 0 : S.rowNames) || ((C = e.mergeOpts) == null ? void 0 : C.colNames)) {
1147
+ const M = _t(e.mergeOpts);
1143
1148
  return ({
1144
- row: g,
1145
- column: p
1149
+ row: y,
1150
+ column: h
1146
1151
  }) => {
1147
- const b = p.property;
1148
- if (d[b]) {
1149
- const B = g[d[b]], U = g[b + "-colspan"];
1152
+ const b = h.property;
1153
+ if (M[b]) {
1154
+ const K = y[M[b]], A = y[b + "-colspan"];
1150
1155
  return {
1151
- rowspan: B !== void 0 ? B : 1,
1152
- colspan: U !== void 0 ? U : 1
1156
+ rowspan: K !== void 0 ? K : 1,
1157
+ colspan: A !== void 0 ? A : 1
1153
1158
  };
1154
1159
  }
1155
1160
  };
1156
1161
  }
1157
1162
  return e.spanMethod;
1158
- }, H = F(() => Z());
1159
- return () => c(we, m({
1163
+ }, J = E(() => Z());
1164
+ return () => c(Me, s({
1160
1165
  ref: o,
1161
- id: l
1166
+ id: n
1162
1167
  }, v(e, "columns", "dataSource", "data", "loading", "spanMethod"), {
1163
- data: n.value,
1164
- spanMethod: H.value
1165
- }, W.value), {
1168
+ data: l.value,
1169
+ spanMethod: J.value
1170
+ }, F.value), {
1166
1171
  default: () => {
1167
- var y, h, d, g, p;
1168
- return [(y = t.start) == null ? void 0 : y.call(t), S.value && c(ne, m({
1172
+ var S, C, M, y, h;
1173
+ return [(S = t.start) == null ? void 0 : S.call(t), m.value && c(le, s({
1169
1174
  type: "selection",
1170
- className: P.value ? "pro-multi" : "pro-single"
1171
- }, v((h = e.rowSelection) == null ? void 0 : h.column, "slots")), (g = (d = e.rowSelection) == null ? void 0 : d.column) == null ? void 0 : g.slots), R(e.columns, (b) => c(nt, m({
1175
+ className: d.value ? "pro-multi" : "pro-single"
1176
+ }, v((C = e.rowSelection) == null ? void 0 : C.column, "slots")), (y = (M = e.rowSelection) == null ? void 0 : M.column) == null ? void 0 : y.slots), T(e.columns, (b) => c(ut, s({
1172
1177
  key: b.dataIndex
1173
- }, b), t)), (p = t.default) == null ? void 0 : p.call(t), e.loading && c(Xe, {
1174
- target: l,
1178
+ }, b), t)), (h = t.default) == null ? void 0 : h.call(t), e.loading && c(at, {
1179
+ target: n,
1175
1180
  loading: !0
1176
1181
  }, null)];
1177
1182
  },
1178
- ...ue(t, "append", "empty")
1183
+ ...G(t, "append", "empty")
1179
1184
  });
1180
1185
  }
1181
- }), Ca = k({
1186
+ }), xa = x({
1182
1187
  props: {
1183
- ...le.props,
1188
+ ...re.props,
1184
1189
  type: {
1185
1190
  type: String,
1186
1191
  default: "primary"
@@ -1192,141 +1197,222 @@ const Ae = () => ({
1192
1197
  },
1193
1198
  setup: (e, {
1194
1199
  slots: t
1195
- }) => () => c(le, e, t)
1200
+ }) => () => c(re, e, t)
1201
+ }), ka = () => ({
1202
+ fixed: {
1203
+ type: Boolean,
1204
+ default: !0
1205
+ },
1206
+ dataSource: Array,
1207
+ columns: {
1208
+ type: Array
1209
+ },
1210
+ dynamicHei: {
1211
+ type: Boolean,
1212
+ default: !0
1213
+ },
1214
+ minWidth: {
1215
+ type: Number,
1216
+ default: 100
1217
+ }
1218
+ }), Ea = x({
1219
+ inheritAttrs: !1,
1220
+ props: {
1221
+ ...v(Ie.props, ["class"]),
1222
+ ...ka()
1223
+ },
1224
+ setup: (e, {
1225
+ attrs: t
1226
+ }) => {
1227
+ const u = R(), [a, o] = Zt(), n = Je({
1228
+ width: 0,
1229
+ height: 0
1230
+ });
1231
+ Jt(u, (d) => {
1232
+ var P;
1233
+ const i = (P = d[0]) == null ? void 0 : P.contentRect;
1234
+ n.width = i.width, n.height = i.height, o();
1235
+ });
1236
+ const l = E(() => {
1237
+ var w, g;
1238
+ const d = ((w = e.columns) == null ? void 0 : w.filter((k) => k.width || k.minWidth)) || [], i = d.reduce((k, F) => k + (F.width || F.minWidth || 0), 0), P = (((g = e.columns) == null ? void 0 : g.length) || 0) - d.length;
1239
+ return P > 0 && n.width > 0 ? Math.max((n.width - i - (e.vScrollbarSize || 0)) / P, e.minWidth || 0) : e.minWidth;
1240
+ }), f = E(() => T(e.columns, (d) => {
1241
+ const i = d.dataIndex || d.key, P = {
1242
+ ...d,
1243
+ width: d.width || d.minWidth || l.value,
1244
+ key: i,
1245
+ dataKey: i
1246
+ };
1247
+ return d.customRender && (P.cellRenderer = ({
1248
+ cellData: w,
1249
+ rowData: g,
1250
+ rowIndex: k,
1251
+ column: F
1252
+ }) => d.customRender({
1253
+ value: w,
1254
+ text: w,
1255
+ record: g,
1256
+ column: F,
1257
+ index: k
1258
+ })), P;
1259
+ })), r = E(() => !e.estimatedRowHeight && e.dynamicHei ? 50 : e.estimatedRowHeight), m = E(() => {
1260
+ const d = ["el-table"];
1261
+ return r.value && d.push("dynamic-hei"), d;
1262
+ });
1263
+ return () => c("div", s({
1264
+ class: "pro-table-v2-wrapper",
1265
+ style: {
1266
+ "--estimated-hei": `${r.value || 0}px`
1267
+ },
1268
+ ref: u
1269
+ }, G(t, ["class"])), [n.width > 0 && n.height > 0 && c(Ie, s({
1270
+ key: a.value,
1271
+ class: m.value
1272
+ }, v(t, ["class", "className"]), v(e, "dataSource", "data", "columns", "estimatedRowHeight", "width", "height"), {
1273
+ estimatedRowHeight: r.value,
1274
+ columns: f.value,
1275
+ data: e.dataSource || e.data || [],
1276
+ width: n.width,
1277
+ height: n.height
1278
+ }), null)]);
1279
+ }
1196
1280
  });
1197
- A.props = {
1198
- ...ae.props,
1199
- ...A.props,
1200
- formMethods: { type: Array, default: Je }
1281
+ U.props = {
1282
+ ...ne.props,
1283
+ ...U.props,
1284
+ formMethods: { type: Array, default: et }
1201
1285
  };
1202
- X.props = {
1203
- ...A.props,
1204
- ...X.props,
1286
+ Y.props = {
1287
+ ...U.props,
1288
+ ...Y.props,
1205
1289
  inline: { type: Boolean, default: !0 }
1206
1290
  };
1207
- fe.props = {
1208
- ...te.props,
1209
- ...fe.props
1210
- };
1211
- Y.props = {
1212
- ...lt.props,
1213
- ...Y.props
1291
+ me.props = {
1292
+ ...ae.props,
1293
+ ...me.props
1214
1294
  };
1215
1295
  ee.props = {
1216
- ...Ge.props,
1296
+ ...ct.props,
1217
1297
  ...ee.props
1218
1298
  };
1299
+ te.props = {
1300
+ ..._e.props,
1301
+ ...te.props
1302
+ };
1219
1303
  ye.props = {
1220
- ...ee.props,
1304
+ ...te.props,
1221
1305
  ...ye.props
1222
1306
  };
1223
- me.props = {
1224
- ...A.props,
1225
- ...me.props
1226
- };
1227
1307
  se.props = {
1228
- ...Ye.props,
1308
+ ...U.props,
1229
1309
  ...se.props
1230
1310
  };
1231
1311
  ge.props = {
1232
- ...at.props,
1233
- ...ge.props,
1234
- modelValue: String
1312
+ ...nt.props,
1313
+ ...ge.props
1235
1314
  };
1236
1315
  ve.props = {
1237
- ..._e.props,
1316
+ ...ot.props,
1238
1317
  ...ve.props,
1318
+ modelValue: String
1319
+ };
1320
+ he.props = {
1321
+ ...Ze.props,
1322
+ ...he.props,
1239
1323
  placement: { type: String, default: "top-start" }
1240
1324
  };
1241
- const wa = {
1242
- [s.LoadingKey]: Xe,
1243
- [s.RowKey]: Tt,
1244
- [s.ColKey]: Rt,
1245
- [s.ButtonKey]: le,
1246
- [s.DescriptionsKey]: Ge,
1247
- [s.DescriptionsItemKey]: wt,
1248
- [s.MenusKey]: na,
1249
- [s.ModalKey]: Ye,
1250
- [s.DrawerKey]: Qt,
1251
- [s.PaginationKey]: Xt,
1252
- [s.PopoverKey]: Yt,
1253
- [s.TooltipKey]: _e,
1254
- [s.CheckboxKey]: qe,
1255
- [s.FormKey]: Zt,
1256
- [s.FormItemKey]: He,
1257
- [s.TableKey]: lt,
1258
- [s.TableOperateKey]: Ca,
1259
- [s.UploaderKey]: at,
1260
- [s.DropdownKey]: ua,
1261
- [s.ScrollKey]: Mt,
1262
- [s.EmptyKey]: It,
1263
- [s.ProFormKey]: A,
1264
- [s.ProSearchFormKey]: X,
1265
- [s.ProTableKey]: Y,
1266
- [s.ProCurdKey]: ut,
1267
- [s.ProListKey]: ct,
1268
- [s.ProPageKey]: dt,
1269
- [s.ProOperateKey]: it,
1325
+ const Na = {
1326
+ [p.LoadingKey]: at,
1327
+ [p.RowKey]: Mt,
1328
+ [p.ColKey]: It,
1329
+ [p.ButtonKey]: re,
1330
+ [p.DescriptionsKey]: _e,
1331
+ [p.DescriptionsItemKey]: Vt,
1332
+ [p.MenusKey]: oa,
1333
+ [p.ModalKey]: nt,
1334
+ [p.DrawerKey]: ea,
1335
+ [p.PaginationKey]: ta,
1336
+ [p.PopoverKey]: aa,
1337
+ [p.TooltipKey]: Ze,
1338
+ [p.CheckboxKey]: Ge,
1339
+ [p.FormKey]: Qt,
1340
+ [p.FormItemKey]: Ye,
1341
+ [p.TableKey]: ct,
1342
+ [p.TableV2Key]: Ea,
1343
+ [p.TableOperateKey]: xa,
1344
+ [p.UploaderKey]: ot,
1345
+ [p.DropdownKey]: ia,
1346
+ [p.ScrollKey]: Bt,
1347
+ [p.EmptyKey]: Nt,
1348
+ [p.ProFormKey]: U,
1349
+ [p.ProSearchFormKey]: Y,
1350
+ [p.ProTableKey]: ee,
1351
+ [p.ProCurdKey]: it,
1352
+ [p.ProListKey]: ft,
1353
+ [p.ProPageKey]: mt,
1354
+ [p.ProOperateKey]: yt,
1270
1355
  text: be,
1271
- digit: ft,
1272
- date: yt,
1356
+ digit: st,
1357
+ date: gt,
1273
1358
  time: be,
1274
- select: J,
1275
- radio: J,
1276
- checkbox: J,
1359
+ select: Q,
1360
+ radio: Q,
1361
+ checkbox: Q,
1277
1362
  treeSelect: pe,
1278
1363
  cascader: pe
1279
- }, Ma = {
1280
- text: ca,
1281
- digit: da,
1282
- digitRange: ia,
1283
- date: fa,
1284
- time: ya,
1285
- select: ma,
1286
- treeSelect: sa,
1287
- checkbox: ga,
1288
- radio: va,
1289
- switch: ba,
1290
- cascader: pa,
1291
- color: Sa
1364
+ }, Oa = {
1365
+ text: fa,
1366
+ digit: ma,
1367
+ digitRange: ya,
1368
+ date: sa,
1369
+ time: ga,
1370
+ select: va,
1371
+ treeSelect: ha,
1372
+ checkbox: ba,
1373
+ radio: pa,
1374
+ switch: Sa,
1375
+ cascader: Pa,
1376
+ color: Ca
1292
1377
  };
1293
1378
  export {
1294
- Je as FormMethods,
1295
- ra as InputNumberRange,
1296
- ea as ProCheckbox,
1297
- Qt as ProDrawer,
1298
- ua as ProDropdown,
1299
- Zt as ProForm,
1300
- pa as ProFormCascader,
1301
- ga as ProFormCheckbox,
1302
- Sa as ProFormColor,
1303
- fa as ProFormDatePicker,
1304
- ia as ProFormInputNumberRange,
1305
- He as ProFormItem,
1306
- va as ProFormRadio,
1307
- ma as ProFormSelect,
1308
- ba as ProFormSwitch,
1309
- ca as ProFormText,
1310
- da as ProFormTextNumber,
1311
- ya as ProFormTimePicker,
1312
- sa as ProFormTreeSelect,
1313
- Xe as ProLoading,
1314
- na as ProMenus,
1315
- Ye as ProModal,
1316
- Xt as ProPagination,
1317
- Yt as ProPopover,
1318
- ta as ProRadio,
1319
- aa as ProSelect,
1320
- lt as ProTable,
1321
- nt as ProTableColumn,
1322
- Ca as ProTableOperateItem,
1323
- Ta as ProTabs,
1324
- Ra as ProTree,
1325
- at as ProUploader,
1326
- Pa as TableMethods,
1327
- la as UploadMethods,
1328
- M as createFormItemComponent,
1329
- Qe as createLoadingId,
1330
- wa as elementMap,
1331
- Ma as formElementMap
1379
+ et as FormMethods,
1380
+ ca as InputNumberRange,
1381
+ na as ProCheckbox,
1382
+ ea as ProDrawer,
1383
+ ia as ProDropdown,
1384
+ Qt as ProForm,
1385
+ Pa as ProFormCascader,
1386
+ ba as ProFormCheckbox,
1387
+ Ca as ProFormColor,
1388
+ sa as ProFormDatePicker,
1389
+ ya as ProFormInputNumberRange,
1390
+ Ye as ProFormItem,
1391
+ pa as ProFormRadio,
1392
+ va as ProFormSelect,
1393
+ Sa as ProFormSwitch,
1394
+ fa as ProFormText,
1395
+ ma as ProFormTextNumber,
1396
+ ga as ProFormTimePicker,
1397
+ ha as ProFormTreeSelect,
1398
+ at as ProLoading,
1399
+ oa as ProMenus,
1400
+ nt as ProModal,
1401
+ ta as ProPagination,
1402
+ aa as ProPopover,
1403
+ la as ProRadio,
1404
+ ra as ProSelect,
1405
+ ct as ProTable,
1406
+ ut as ProTableColumn,
1407
+ xa as ProTableOperateItem,
1408
+ Ea as ProTableV2,
1409
+ Va as ProTabs,
1410
+ Ba as ProTree,
1411
+ ot as ProUploader,
1412
+ Ka as TableMethods,
1413
+ ua as UploadMethods,
1414
+ B as createFormItemComponent,
1415
+ tt as createLoadingId,
1416
+ Na as elementMap,
1417
+ Oa as formElementMap
1332
1418
  };