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