@vue-start/element-pro 0.2.39 → 0.2.40
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/CHANGELOG.md +4 -0
- package/dist/index.d.ts +4973 -4508
- package/dist/index.es.js +729 -662
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { createExpose as
|
|
2
|
-
import { ElFormItem as re, ElForm as oe, ElLoading as
|
|
3
|
-
import { defineComponent as
|
|
4
|
-
import { keys as
|
|
5
|
-
import { useEffect as
|
|
6
|
-
const
|
|
1
|
+
import { createExpose as at, createFormItemCompFn as pt, useProConfig as fe, createExposeObj as D, useGetCompByKey as lt, ElementKeys as V, ProForm as W, ProSearchForm as ae, ProFormList as ve, ProTable as le, ProDesc as ne, ProCurdDesc as be, ProCurdForm as Se, ProCurdModal as pe, ProUploaderText as Pe, ProTip as Ve, ProCurd as Pt, ProList as Vt, ProPage as Ct, ProOperate as xt, ProShowText as Ce, ProShowDigit as Kt, ProShowDate as kt, ProShowOptions as Z, ProShowTree as xe } from "@vue-start/pro";
|
|
2
|
+
import { ElFormItem as re, ElForm as oe, ElLoading as nt, ElDialog as Ke, ElDrawer as ke, ElPagination as Fe, ElPopover as we, ElCheckboxGroup as Ee, ElCheckboxButton as Ft, ElCheckbox as rt, ElRadioGroup as Te, ElRadioButton as wt, ElRadio as Et, ElSelect as Re, ElOption as Tt, ElSelectV2 as $e, ElTabs as Me, ElTabPane as Rt, ElMenu as Q, ElUpload as Ne, useFormItem as $t, ElInputNumber as J, ElTree as Ie, ElDropdown as Oe, ElDropdownMenu as Mt, ElDropdownItem as Nt, ElTreeSelect as Be, ElCascader as Ae, ElInput as It, ElDatePicker as Ot, ElTimePicker as Bt, ElSwitch as At, ElColorPicker as Lt, ElTableColumn as ue, ElTable as Le, ElButton as de, ElTableV2 as De, ElDescriptions as ot, ElTooltip as ut, ElRow as Dt, ElCol as Ut, ElDescriptionsItem as zt, ElScrollbar as jt, ElEmpty as Wt } from "element-plus";
|
|
3
|
+
import { defineComponent as k, createVNode as f, mergeProps as y, reactive as dt, ref as T, toRaw as Ht, computed as x, Fragment as ct, isVNode as qt, nextTick as Gt } from "vue";
|
|
4
|
+
import { keys as $, omit as h, isBoolean as X, isString as _t, debounce as Zt, map as E, get as w, size as L, pick as Y, isNumber as U, isArray as j, filter as ce, last as ie, reduce as te, isFunction as Jt, forEach as Ue, find as Qt } from "lodash";
|
|
5
|
+
import { useEffect as ee, generateId as Xt, useWatch as H, parseValue as q, formatValue as G, createExposeObj as se, convertCollection as Yt, isValidFileType as ea, convertFileSize as ze, findTreeItem as je, isSame as ta, getNameMapByMergeOpts as aa, useUpdateKey as la, useResizeObserver as na } from "@vue-start/hooks";
|
|
6
|
+
const We = () => ({
|
|
7
7
|
name: {
|
|
8
8
|
type: [String, Array]
|
|
9
9
|
}
|
|
10
|
-
}),
|
|
10
|
+
}), it = k({
|
|
11
11
|
props: {
|
|
12
12
|
...re.props,
|
|
13
|
-
...
|
|
13
|
+
...We()
|
|
14
14
|
},
|
|
15
15
|
setup: (e, {
|
|
16
16
|
slots: t
|
|
17
17
|
}) => {
|
|
18
|
-
const
|
|
19
|
-
return () => f(re,
|
|
18
|
+
const o = $(We());
|
|
19
|
+
return () => f(re, y(h(e, ...o, "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
|
-
}),
|
|
26
|
+
}), mt = ["clearValidate", "resetFields", "scrollToField", "validate", "validateField", "submit"], ra = k({
|
|
27
27
|
props: {
|
|
28
28
|
...oe.props,
|
|
29
29
|
hideRequiredMark: {
|
|
@@ -33,30 +33,30 @@ const ze = () => ({
|
|
|
33
33
|
},
|
|
34
34
|
setup: (e, {
|
|
35
35
|
slots: t,
|
|
36
|
-
emit:
|
|
37
|
-
expose:
|
|
36
|
+
emit: o,
|
|
37
|
+
expose: n
|
|
38
38
|
}) => {
|
|
39
|
-
const u = e.model ||
|
|
40
|
-
return
|
|
41
|
-
!
|
|
42
|
-
var
|
|
43
|
-
(
|
|
44
|
-
|
|
39
|
+
const u = e.model || dt({}), l = T();
|
|
40
|
+
return ee(() => {
|
|
41
|
+
!l.value || (l.value.submit = () => {
|
|
42
|
+
var d;
|
|
43
|
+
(d = l.value) == null || d.validate((s, c) => {
|
|
44
|
+
s ? o("finish", Ht(u)) : o("finishFailed", c);
|
|
45
45
|
});
|
|
46
46
|
});
|
|
47
|
-
}, []),
|
|
48
|
-
ref:
|
|
49
|
-
},
|
|
50
|
-
hideRequiredAsterisk:
|
|
47
|
+
}, []), n(at(mt, l)), () => f(oe, y({
|
|
48
|
+
ref: l
|
|
49
|
+
}, h(e, "model"), {
|
|
50
|
+
hideRequiredAsterisk: X(e.hideRequiredMark) ? e.hideRequiredMark : e.hideRequiredAsterisk,
|
|
51
51
|
model: u
|
|
52
52
|
}), t);
|
|
53
53
|
}
|
|
54
|
-
}),
|
|
54
|
+
}), M = pt(it, (e, t, o) => ({
|
|
55
55
|
modelValue: e,
|
|
56
56
|
"onUpdate:modelValue": t,
|
|
57
57
|
clearable: !0,
|
|
58
|
-
disabled:
|
|
59
|
-
})),
|
|
58
|
+
disabled: o
|
|
59
|
+
})), ft = (e = "comp") => e + "-" + Xt(), oa = () => ({
|
|
60
60
|
loading: {
|
|
61
61
|
type: Boolean
|
|
62
62
|
},
|
|
@@ -84,22 +84,22 @@ const ze = () => ({
|
|
|
84
84
|
customClass: {
|
|
85
85
|
type: String
|
|
86
86
|
}
|
|
87
|
-
}),
|
|
87
|
+
}), st = k({
|
|
88
88
|
props: {
|
|
89
|
-
...
|
|
89
|
+
...oa()
|
|
90
90
|
},
|
|
91
91
|
setup: (e, {
|
|
92
92
|
slots: t
|
|
93
93
|
}) => {
|
|
94
|
-
const
|
|
95
|
-
return
|
|
94
|
+
const o = ft();
|
|
95
|
+
return ee(() => {
|
|
96
96
|
if (!e.loading)
|
|
97
97
|
return;
|
|
98
|
-
let
|
|
99
|
-
if (t.default ?
|
|
98
|
+
let n = e.target;
|
|
99
|
+
if (t.default ? n = document.getElementById(o) : e.target && _t(e.target) && (n = document.querySelector("#" + e.target)), !n)
|
|
100
100
|
return;
|
|
101
|
-
const u =
|
|
102
|
-
target:
|
|
101
|
+
const u = nt.service({
|
|
102
|
+
target: n,
|
|
103
103
|
body: e.body,
|
|
104
104
|
fullscreen: e.fullscreen,
|
|
105
105
|
lock: e.lock,
|
|
@@ -112,7 +112,7 @@ const ze = () => ({
|
|
|
112
112
|
u && u.close();
|
|
113
113
|
};
|
|
114
114
|
}, () => e.loading), () => t.default ? f("div", {
|
|
115
|
-
id:
|
|
115
|
+
id: o
|
|
116
116
|
}, [t.default()]) : null;
|
|
117
117
|
}
|
|
118
118
|
}), me = () => ({
|
|
@@ -146,9 +146,9 @@ const ze = () => ({
|
|
|
146
146
|
type: Boolean,
|
|
147
147
|
default: !1
|
|
148
148
|
}
|
|
149
|
-
}),
|
|
149
|
+
}), yt = k({
|
|
150
150
|
props: {
|
|
151
|
-
...
|
|
151
|
+
...Ke.props,
|
|
152
152
|
appendToBody: {
|
|
153
153
|
type: Boolean,
|
|
154
154
|
default: !0
|
|
@@ -161,23 +161,23 @@ const ze = () => ({
|
|
|
161
161
|
},
|
|
162
162
|
setup: (e, {
|
|
163
163
|
slots: t,
|
|
164
|
-
emit:
|
|
165
|
-
expose:
|
|
164
|
+
emit: o,
|
|
165
|
+
expose: n
|
|
166
166
|
}) => {
|
|
167
167
|
const {
|
|
168
168
|
t: u
|
|
169
|
-
} = fe(),
|
|
170
|
-
|
|
171
|
-
const
|
|
172
|
-
|
|
173
|
-
},
|
|
174
|
-
|
|
169
|
+
} = fe(), l = T();
|
|
170
|
+
n(D(l));
|
|
171
|
+
const d = (g) => {
|
|
172
|
+
o("update:modelValue", g), o("update:visible", g), g || (o("cancel"), o("closed"));
|
|
173
|
+
}, s = () => {
|
|
174
|
+
d(!1);
|
|
175
175
|
}, c = () => {
|
|
176
|
-
|
|
177
|
-
},
|
|
176
|
+
o("ok");
|
|
177
|
+
}, a = lt(), m = a(V.ProOperateKey), r = a(V.ScrollKey), i = x(() => [{
|
|
178
178
|
value: "cancel",
|
|
179
179
|
label: u.value("cancel"),
|
|
180
|
-
onClick:
|
|
180
|
+
onClick: s
|
|
181
181
|
}, {
|
|
182
182
|
value: "ok",
|
|
183
183
|
label: u.value("confirm"),
|
|
@@ -186,16 +186,16 @@ const ze = () => ({
|
|
|
186
186
|
type: "primary"
|
|
187
187
|
},
|
|
188
188
|
onClick: c
|
|
189
|
-
}]), S =
|
|
189
|
+
}]), S = $(me());
|
|
190
190
|
return () => {
|
|
191
|
-
const
|
|
192
|
-
return e.useScroll &&
|
|
193
|
-
class:
|
|
194
|
-
ref:
|
|
195
|
-
},
|
|
196
|
-
closeOnClickModal:
|
|
191
|
+
const g = [e.clsName];
|
|
192
|
+
return e.useScroll && g.push("scroll"), f(Ke, y({
|
|
193
|
+
class: g,
|
|
194
|
+
ref: l
|
|
195
|
+
}, h(e, ...S), {
|
|
196
|
+
closeOnClickModal: X(e.maskClosable) ? e.maskClosable : e.closeOnClickModal,
|
|
197
197
|
modelValue: e.visible || e.modelValue,
|
|
198
|
-
"onUpdate:modelValue":
|
|
198
|
+
"onUpdate:modelValue": d
|
|
199
199
|
}), {
|
|
200
200
|
footer: e.footer === !1 ? void 0 : () => f(m, {
|
|
201
201
|
items: i.value
|
|
@@ -203,7 +203,7 @@ const ze = () => ({
|
|
|
203
203
|
...t,
|
|
204
204
|
default: () => {
|
|
205
205
|
var K;
|
|
206
|
-
return e.useScroll ? f(r,
|
|
206
|
+
return e.useScroll ? f(r, y({
|
|
207
207
|
class: `${e.clsName}-scroll`
|
|
208
208
|
}, e.scrollProps), {
|
|
209
209
|
default: () => {
|
|
@@ -215,7 +215,7 @@ const ze = () => ({
|
|
|
215
215
|
});
|
|
216
216
|
};
|
|
217
217
|
}
|
|
218
|
-
}),
|
|
218
|
+
}), ua = () => ({
|
|
219
219
|
clsName: {
|
|
220
220
|
type: String,
|
|
221
221
|
default: "pro-drawer"
|
|
@@ -242,10 +242,10 @@ const ze = () => ({
|
|
|
242
242
|
type: Boolean,
|
|
243
243
|
default: !1
|
|
244
244
|
}
|
|
245
|
-
}),
|
|
245
|
+
}), da = k({
|
|
246
246
|
props: {
|
|
247
|
-
...
|
|
248
|
-
...
|
|
247
|
+
...ke.props,
|
|
248
|
+
...ua(),
|
|
249
249
|
appendToBody: {
|
|
250
250
|
type: Boolean,
|
|
251
251
|
default: !0
|
|
@@ -257,23 +257,23 @@ const ze = () => ({
|
|
|
257
257
|
},
|
|
258
258
|
setup: (e, {
|
|
259
259
|
slots: t,
|
|
260
|
-
emit:
|
|
261
|
-
expose:
|
|
260
|
+
emit: o,
|
|
261
|
+
expose: n
|
|
262
262
|
}) => {
|
|
263
263
|
const {
|
|
264
264
|
t: u
|
|
265
|
-
} = fe(),
|
|
266
|
-
|
|
267
|
-
const
|
|
268
|
-
|
|
269
|
-
},
|
|
270
|
-
|
|
265
|
+
} = fe(), l = T();
|
|
266
|
+
n(D(l));
|
|
267
|
+
const d = (g) => {
|
|
268
|
+
o("update:modelValue", g), o("update:visible", g), g || o("cancel");
|
|
269
|
+
}, s = () => {
|
|
270
|
+
d(!1);
|
|
271
271
|
}, c = () => {
|
|
272
|
-
|
|
273
|
-
},
|
|
272
|
+
o("ok");
|
|
273
|
+
}, a = lt(), m = a(V.ProOperateKey), r = a(V.ScrollKey), i = x(() => [{
|
|
274
274
|
value: "cancel",
|
|
275
275
|
label: u.value("cancel"),
|
|
276
|
-
onClick:
|
|
276
|
+
onClick: s
|
|
277
277
|
}, {
|
|
278
278
|
value: "ok",
|
|
279
279
|
label: u.value("confirm"),
|
|
@@ -282,15 +282,15 @@ const ze = () => ({
|
|
|
282
282
|
type: "primary"
|
|
283
283
|
},
|
|
284
284
|
onClick: c
|
|
285
|
-
}]), S =
|
|
285
|
+
}]), S = $(me());
|
|
286
286
|
return () => {
|
|
287
|
-
const
|
|
288
|
-
return e.useScroll &&
|
|
289
|
-
class:
|
|
290
|
-
ref:
|
|
291
|
-
},
|
|
287
|
+
const g = [e.clsName];
|
|
288
|
+
return e.useScroll && g.push("scroll"), f(ke, y({
|
|
289
|
+
class: g,
|
|
290
|
+
ref: l
|
|
291
|
+
}, h(e, S), {
|
|
292
292
|
modelValue: e.visible || e.modelValue,
|
|
293
|
-
"onUpdate:modelValue":
|
|
293
|
+
"onUpdate:modelValue": d
|
|
294
294
|
}), {
|
|
295
295
|
footer: e.footer === !1 ? void 0 : () => f(m, {
|
|
296
296
|
items: i.value
|
|
@@ -298,7 +298,7 @@ const ze = () => ({
|
|
|
298
298
|
...t,
|
|
299
299
|
default: () => {
|
|
300
300
|
var K;
|
|
301
|
-
return e.useScroll ? f(r,
|
|
301
|
+
return e.useScroll ? f(r, y({
|
|
302
302
|
class: `${e.clsName}-scroll`
|
|
303
303
|
}, e.scrollProps), {
|
|
304
304
|
default: () => {
|
|
@@ -310,9 +310,9 @@ const ze = () => ({
|
|
|
310
310
|
});
|
|
311
311
|
};
|
|
312
312
|
}
|
|
313
|
-
}),
|
|
313
|
+
}), ca = k({
|
|
314
314
|
props: {
|
|
315
|
-
...
|
|
315
|
+
...Fe.props,
|
|
316
316
|
page: {
|
|
317
317
|
type: Number,
|
|
318
318
|
default: 1
|
|
@@ -320,31 +320,31 @@ const ze = () => ({
|
|
|
320
320
|
},
|
|
321
321
|
setup: (e, {
|
|
322
322
|
slots: t,
|
|
323
|
-
emit:
|
|
323
|
+
emit: o
|
|
324
324
|
}) => {
|
|
325
|
-
const
|
|
325
|
+
const n = T(e.page), u = T(e.pageSize);
|
|
326
326
|
H(() => {
|
|
327
|
-
|
|
327
|
+
n.value !== e.page && (n.value = e.page);
|
|
328
328
|
}, () => e.page), H(() => {
|
|
329
329
|
u.value !== e.pageSize && (u.value = e.pageSize);
|
|
330
330
|
}, () => e.pageSize);
|
|
331
|
-
const
|
|
332
|
-
|
|
333
|
-
}, 300),
|
|
334
|
-
|
|
335
|
-
},
|
|
336
|
-
|
|
331
|
+
const l = Zt(() => {
|
|
332
|
+
o("composeChange", n.value, u.value);
|
|
333
|
+
}, 300), d = () => {
|
|
334
|
+
l(), o("update:page", n.value);
|
|
335
|
+
}, s = () => {
|
|
336
|
+
l(), o("update:pageSize", u.value);
|
|
337
337
|
};
|
|
338
|
-
return () => f(
|
|
339
|
-
currentPage:
|
|
340
|
-
"onUpdate:currentPage": (c) =>
|
|
338
|
+
return () => f(Fe, y({
|
|
339
|
+
currentPage: n.value,
|
|
340
|
+
"onUpdate:currentPage": (c) => n.value = c,
|
|
341
341
|
pageSize: u.value,
|
|
342
342
|
"onUpdate:pageSize": (c) => u.value = c,
|
|
343
|
-
onCurrentChange:
|
|
344
|
-
onSizeChange:
|
|
345
|
-
},
|
|
343
|
+
onCurrentChange: d,
|
|
344
|
+
onSizeChange: s
|
|
345
|
+
}, h(e, "currentPage", "pageSize")), t);
|
|
346
346
|
}
|
|
347
|
-
}),
|
|
347
|
+
}), ia = k({
|
|
348
348
|
props: {
|
|
349
349
|
...we.props
|
|
350
350
|
},
|
|
@@ -354,7 +354,7 @@ const ze = () => ({
|
|
|
354
354
|
reference: t.default,
|
|
355
355
|
default: t.content
|
|
356
356
|
})
|
|
357
|
-
}),
|
|
357
|
+
}), He = () => ({
|
|
358
358
|
options: Array,
|
|
359
359
|
fieldNames: {
|
|
360
360
|
type: Object
|
|
@@ -380,64 +380,64 @@ const ze = () => ({
|
|
|
380
380
|
formatValue$: {
|
|
381
381
|
type: Function
|
|
382
382
|
}
|
|
383
|
-
}),
|
|
383
|
+
}), ma = k({
|
|
384
384
|
props: {
|
|
385
|
-
...
|
|
386
|
-
...
|
|
385
|
+
...Ee.props,
|
|
386
|
+
...He()
|
|
387
387
|
},
|
|
388
388
|
setup: (e, {
|
|
389
389
|
slots: t,
|
|
390
|
-
emit:
|
|
391
|
-
expose:
|
|
390
|
+
emit: o,
|
|
391
|
+
expose: n
|
|
392
392
|
}) => {
|
|
393
393
|
const u = T();
|
|
394
|
-
|
|
395
|
-
const
|
|
394
|
+
n(D(u, e.expMethods));
|
|
395
|
+
const l = x(() => E(e.options, (a) => {
|
|
396
396
|
var m, r, i;
|
|
397
397
|
return {
|
|
398
|
-
...
|
|
399
|
-
label:
|
|
400
|
-
value:
|
|
401
|
-
disabled:
|
|
398
|
+
...a,
|
|
399
|
+
label: w(a, ((m = e.fieldNames) == null ? void 0 : m.label) || "label"),
|
|
400
|
+
value: w(a, ((r = e.fieldNames) == null ? void 0 : r.value) || "value"),
|
|
401
|
+
disabled: w(a, ((i = e.fieldNames) == null ? void 0 : i.label) || "disabled")
|
|
402
402
|
};
|
|
403
|
-
})),
|
|
404
|
-
const
|
|
405
|
-
return e.parseValue$ ? e.parseValue$(
|
|
403
|
+
})), d = x(() => {
|
|
404
|
+
const a = e.modelValue;
|
|
405
|
+
return e.parseValue$ ? e.parseValue$(a, e) : q(a, {
|
|
406
406
|
multiple: !0,
|
|
407
407
|
separator: e.separator$
|
|
408
408
|
});
|
|
409
|
-
}),
|
|
409
|
+
}), s = (a) => {
|
|
410
410
|
if (e.formatValue$) {
|
|
411
|
-
|
|
411
|
+
o("update:modelValue", e.formatValue$(a, e));
|
|
412
412
|
return;
|
|
413
413
|
}
|
|
414
414
|
if (e.separator$) {
|
|
415
|
-
|
|
415
|
+
o("update:modelValue", G(a, {
|
|
416
416
|
multiple: !0,
|
|
417
417
|
separator: e.separator$
|
|
418
418
|
}));
|
|
419
419
|
return;
|
|
420
420
|
}
|
|
421
|
-
|
|
422
|
-
}, c = [
|
|
423
|
-
return () => f(
|
|
421
|
+
o("update:modelValue", a);
|
|
422
|
+
}, c = [...$(He()), "modelValue"];
|
|
423
|
+
return () => f(Ee, y({
|
|
424
424
|
ref: u
|
|
425
|
-
},
|
|
426
|
-
modelValue:
|
|
427
|
-
"onUpdate:modelValue": (
|
|
425
|
+
}, h(e, c), {
|
|
426
|
+
modelValue: d.value,
|
|
427
|
+
"onUpdate:modelValue": (a) => s(a)
|
|
428
428
|
}), {
|
|
429
429
|
default: () => {
|
|
430
|
-
var
|
|
431
|
-
return [(
|
|
430
|
+
var a, m;
|
|
431
|
+
return [(a = t.start) == null ? void 0 : a.call(t), E(l.value, (r) => {
|
|
432
432
|
var S;
|
|
433
433
|
const i = (S = t.label) == null ? void 0 : S.call(t, r);
|
|
434
|
-
return e.optionType === "button" || e.buttonStyle === "button" ? f(
|
|
434
|
+
return e.optionType === "button" || e.buttonStyle === "button" ? f(Ft, y({
|
|
435
435
|
key: r.value
|
|
436
|
-
},
|
|
436
|
+
}, h(r, "value"), {
|
|
437
437
|
label: r.value
|
|
438
438
|
}), {
|
|
439
439
|
default: () => [i || r.label]
|
|
440
|
-
}) : f(
|
|
440
|
+
}) : f(rt, y({
|
|
441
441
|
key: r.value
|
|
442
442
|
}, r, {
|
|
443
443
|
label: r.value
|
|
@@ -448,7 +448,7 @@ const ze = () => ({
|
|
|
448
448
|
}
|
|
449
449
|
});
|
|
450
450
|
}
|
|
451
|
-
}),
|
|
451
|
+
}), qe = () => ({
|
|
452
452
|
options: {
|
|
453
453
|
type: Array
|
|
454
454
|
},
|
|
@@ -460,49 +460,49 @@ const ze = () => ({
|
|
|
460
460
|
type: String,
|
|
461
461
|
default: "default"
|
|
462
462
|
}
|
|
463
|
-
}),
|
|
463
|
+
}), fa = k({
|
|
464
464
|
props: {
|
|
465
|
-
...
|
|
466
|
-
...
|
|
465
|
+
...Te.props,
|
|
466
|
+
...qe()
|
|
467
467
|
},
|
|
468
468
|
setup: (e, {
|
|
469
469
|
slots: t,
|
|
470
|
-
emit:
|
|
471
|
-
expose:
|
|
470
|
+
emit: o,
|
|
471
|
+
expose: n
|
|
472
472
|
}) => {
|
|
473
473
|
const u = T();
|
|
474
|
-
|
|
475
|
-
const
|
|
476
|
-
return () => f(
|
|
474
|
+
n(D(u));
|
|
475
|
+
const l = $(qe());
|
|
476
|
+
return () => f(Te, y({
|
|
477
477
|
ref: u
|
|
478
|
-
},
|
|
479
|
-
"onUpdate:modelValue": (
|
|
480
|
-
|
|
478
|
+
}, h(e, l), {
|
|
479
|
+
"onUpdate:modelValue": (d) => {
|
|
480
|
+
o("update:modelValue", d);
|
|
481
481
|
}
|
|
482
482
|
}), {
|
|
483
483
|
default: () => {
|
|
484
|
-
var
|
|
485
|
-
return [(
|
|
484
|
+
var d, s;
|
|
485
|
+
return [(d = t.start) == null ? void 0 : d.call(t), E(e.options, (c) => {
|
|
486
486
|
var m;
|
|
487
|
-
const
|
|
488
|
-
return e.optionType === "button" || e.buttonStyle === "button" ? f(
|
|
487
|
+
const a = (m = t.label) == null ? void 0 : m.call(t, c);
|
|
488
|
+
return e.optionType === "button" || e.buttonStyle === "button" ? f(wt, y({
|
|
489
489
|
key: c.value
|
|
490
|
-
},
|
|
490
|
+
}, h(c, "value"), {
|
|
491
491
|
label: c.value
|
|
492
492
|
}), {
|
|
493
|
-
default: () => [
|
|
494
|
-
}) : f(
|
|
493
|
+
default: () => [a || c.label]
|
|
494
|
+
}) : f(Et, y({
|
|
495
495
|
key: c.value
|
|
496
|
-
},
|
|
496
|
+
}, h(c, "value"), {
|
|
497
497
|
label: c.value
|
|
498
498
|
}), {
|
|
499
|
-
default: () => [
|
|
499
|
+
default: () => [a || c.label]
|
|
500
500
|
});
|
|
501
|
-
}), (
|
|
501
|
+
}), (s = t.default) == null ? void 0 : s.call(t)];
|
|
502
502
|
}
|
|
503
503
|
});
|
|
504
504
|
}
|
|
505
|
-
}),
|
|
505
|
+
}), Ge = () => ({
|
|
506
506
|
options: Array,
|
|
507
507
|
fieldNames: {
|
|
508
508
|
type: Object
|
|
@@ -520,92 +520,151 @@ const ze = () => ({
|
|
|
520
520
|
formatValue$: {
|
|
521
521
|
type: Function
|
|
522
522
|
}
|
|
523
|
-
}),
|
|
523
|
+
}), sa = k({
|
|
524
524
|
props: {
|
|
525
|
-
...
|
|
526
|
-
...
|
|
525
|
+
...Re.props,
|
|
526
|
+
...Ge()
|
|
527
527
|
},
|
|
528
528
|
setup: (e, {
|
|
529
529
|
slots: t,
|
|
530
|
-
emit:
|
|
531
|
-
expose:
|
|
530
|
+
emit: o,
|
|
531
|
+
expose: n
|
|
532
532
|
}) => {
|
|
533
533
|
const u = T();
|
|
534
|
-
|
|
535
|
-
const
|
|
534
|
+
n(D(u, e.expMethods));
|
|
535
|
+
const l = x(() => E(e.options, (a) => {
|
|
536
536
|
var m, r, i;
|
|
537
537
|
return {
|
|
538
|
-
...
|
|
539
|
-
label:
|
|
540
|
-
value:
|
|
541
|
-
disabled:
|
|
538
|
+
...a,
|
|
539
|
+
label: w(a, ((m = e.fieldNames) == null ? void 0 : m.label) || "label"),
|
|
540
|
+
value: w(a, ((r = e.fieldNames) == null ? void 0 : r.value) || "value"),
|
|
541
|
+
disabled: w(a, ((i = e.fieldNames) == null ? void 0 : i.label) || "disabled")
|
|
542
542
|
};
|
|
543
|
-
})),
|
|
544
|
-
const
|
|
545
|
-
return e.parseValue$ ? e.parseValue$(
|
|
543
|
+
})), d = x(() => {
|
|
544
|
+
const a = e.modelValue;
|
|
545
|
+
return e.parseValue$ ? e.parseValue$(a, e) : q(a, {
|
|
546
546
|
multiple: e.multiple,
|
|
547
547
|
separator: e.separator$
|
|
548
548
|
});
|
|
549
|
-
}),
|
|
549
|
+
}), s = (a) => {
|
|
550
550
|
if (e.formatValue$) {
|
|
551
|
-
|
|
551
|
+
o("update:modelValue", e.formatValue$(a, e));
|
|
552
552
|
return;
|
|
553
553
|
}
|
|
554
554
|
if (e.separator$) {
|
|
555
|
-
|
|
555
|
+
o("update:modelValue", G(a, {
|
|
556
556
|
multiple: e.multiple,
|
|
557
557
|
separator: e.separator$
|
|
558
558
|
}));
|
|
559
559
|
return;
|
|
560
560
|
}
|
|
561
|
-
|
|
562
|
-
}, c = [
|
|
563
|
-
return () => f(
|
|
561
|
+
o("update:modelValue", a);
|
|
562
|
+
}, c = [...$(Ge()), "modelValue"];
|
|
563
|
+
return () => f(Re, y({
|
|
564
564
|
ref: u
|
|
565
|
-
},
|
|
566
|
-
modelValue:
|
|
567
|
-
"onUpdate:modelValue": (
|
|
565
|
+
}, h(e, c), {
|
|
566
|
+
modelValue: d.value,
|
|
567
|
+
"onUpdate:modelValue": (a) => s(a)
|
|
568
568
|
}), {
|
|
569
569
|
default: () => {
|
|
570
|
-
var
|
|
571
|
-
return [(
|
|
570
|
+
var a, m;
|
|
571
|
+
return [(a = t.start) == null ? void 0 : a.call(t), E(l.value, (r) => {
|
|
572
572
|
var S;
|
|
573
573
|
const i = (S = t.label) == null ? void 0 : S.call(t, r);
|
|
574
|
-
return f(
|
|
574
|
+
return f(Tt, y({
|
|
575
575
|
key: r.value
|
|
576
576
|
}, r), {
|
|
577
577
|
default: () => [i || r.label]
|
|
578
578
|
});
|
|
579
579
|
}), (m = t.default) == null ? void 0 : m.call(t)];
|
|
580
580
|
},
|
|
581
|
-
...
|
|
581
|
+
...h(t, "default")
|
|
582
582
|
});
|
|
583
583
|
}
|
|
584
|
-
}),
|
|
584
|
+
}), _e = () => ({
|
|
585
|
+
options: Array,
|
|
586
|
+
fieldNames: Object,
|
|
587
|
+
expMethods: {
|
|
588
|
+
type: Array,
|
|
589
|
+
default: () => ["focus", "blur", "selectedLabel"]
|
|
590
|
+
},
|
|
591
|
+
separator$: String,
|
|
592
|
+
parseValue$: Function,
|
|
593
|
+
formatValue$: Function
|
|
594
|
+
}), ya = k({
|
|
595
|
+
name: "ProSelectV2",
|
|
585
596
|
props: {
|
|
586
|
-
|
|
597
|
+
...$e.props,
|
|
598
|
+
..._e()
|
|
599
|
+
},
|
|
600
|
+
setup: (e, {
|
|
601
|
+
slots: t,
|
|
602
|
+
emit: o,
|
|
603
|
+
expose: n
|
|
604
|
+
}) => {
|
|
605
|
+
const u = T();
|
|
606
|
+
n(se(u, e.expMethods));
|
|
607
|
+
const l = x(() => E(e.options, (a) => {
|
|
608
|
+
var m, r, i;
|
|
609
|
+
return {
|
|
610
|
+
...a,
|
|
611
|
+
label: w(a, ((m = e.fieldNames) == null ? void 0 : m.label) || "label"),
|
|
612
|
+
value: w(a, ((r = e.fieldNames) == null ? void 0 : r.value) || "value"),
|
|
613
|
+
disabled: w(a, ((i = e.fieldNames) == null ? void 0 : i.disabled) || "disabled")
|
|
614
|
+
};
|
|
615
|
+
})), d = x(() => {
|
|
616
|
+
const a = e.modelValue;
|
|
617
|
+
return e.parseValue$ ? e.parseValue$(a, e) : q(a, {
|
|
618
|
+
multiple: e.multiple,
|
|
619
|
+
separator: e.separator$
|
|
620
|
+
});
|
|
621
|
+
}), s = (a) => {
|
|
622
|
+
if (e.formatValue$) {
|
|
623
|
+
o("update:modelValue", e.formatValue$(a, e));
|
|
624
|
+
return;
|
|
625
|
+
}
|
|
626
|
+
if (e.separator$) {
|
|
627
|
+
o("update:modelValue", G(a, {
|
|
628
|
+
multiple: e.multiple,
|
|
629
|
+
separator: e.separator$
|
|
630
|
+
}));
|
|
631
|
+
return;
|
|
632
|
+
}
|
|
633
|
+
o("update:modelValue", a);
|
|
634
|
+
}, c = [...$(_e()), "modelValue"];
|
|
635
|
+
return () => f($e, y({
|
|
636
|
+
ref: u
|
|
637
|
+
}, h(e, c), {
|
|
638
|
+
modelValue: d.value,
|
|
639
|
+
"onUpdate:modelValue": (a) => s(a),
|
|
640
|
+
options: l.value
|
|
641
|
+
}), t);
|
|
642
|
+
}
|
|
643
|
+
}), qa = k({
|
|
644
|
+
props: {
|
|
645
|
+
...Me.props,
|
|
587
646
|
options: {
|
|
588
647
|
type: Array
|
|
589
648
|
}
|
|
590
649
|
},
|
|
591
650
|
setup: (e, {
|
|
592
651
|
slots: t,
|
|
593
|
-
emit:
|
|
594
|
-
}) => () => f(
|
|
595
|
-
"onUpdate:modelValue": (
|
|
596
|
-
|
|
652
|
+
emit: o
|
|
653
|
+
}) => () => f(Me, y(h(e, "options"), {
|
|
654
|
+
"onUpdate:modelValue": (n) => {
|
|
655
|
+
o("update:modelValue", n);
|
|
597
656
|
}
|
|
598
657
|
}), {
|
|
599
658
|
default: () => {
|
|
600
|
-
var
|
|
601
|
-
return [(
|
|
602
|
-
key:
|
|
603
|
-
},
|
|
604
|
-
name:
|
|
659
|
+
var n, u;
|
|
660
|
+
return [(n = t.start) == null ? void 0 : n.call(t), E(e.options, (l) => f(Rt, y({
|
|
661
|
+
key: l.value
|
|
662
|
+
}, h(l, "value"), {
|
|
663
|
+
name: l.value
|
|
605
664
|
}), {
|
|
606
665
|
label: () => {
|
|
607
|
-
var
|
|
608
|
-
return ((
|
|
666
|
+
var d;
|
|
667
|
+
return ((d = t.label) == null ? void 0 : d.call(t, l)) || l.label;
|
|
609
668
|
}
|
|
610
669
|
})), (u = t.end) == null ? void 0 : u.call(t)];
|
|
611
670
|
},
|
|
@@ -621,7 +680,7 @@ const ze = () => ({
|
|
|
621
680
|
onMenuItemClick: {
|
|
622
681
|
type: Function
|
|
623
682
|
}
|
|
624
|
-
},
|
|
683
|
+
}, gt = $(ye), ht = k({
|
|
625
684
|
inheritAttrs: !1,
|
|
626
685
|
props: {
|
|
627
686
|
menu: {
|
|
@@ -632,40 +691,40 @@ const ze = () => ({
|
|
|
632
691
|
setup: (e, {
|
|
633
692
|
slots: t
|
|
634
693
|
}) => {
|
|
635
|
-
const
|
|
636
|
-
var
|
|
637
|
-
(
|
|
694
|
+
const o = () => {
|
|
695
|
+
var n;
|
|
696
|
+
(n = e.onMenuItemClick) == null || n.call(e, e.menu);
|
|
638
697
|
};
|
|
639
698
|
return () => {
|
|
640
|
-
var u,
|
|
641
|
-
const
|
|
642
|
-
return (
|
|
643
|
-
index:
|
|
644
|
-
}, (u = e.convertSubMenuProps) == null ? void 0 : u.call(e,
|
|
645
|
-
default: () => [
|
|
646
|
-
menu:
|
|
647
|
-
},
|
|
699
|
+
var u, l;
|
|
700
|
+
const n = e.menu;
|
|
701
|
+
return (n == null ? void 0 : n.children) && L(n.children) > 0 ? f(Q.SubMenu, y({
|
|
702
|
+
index: n == null ? void 0 : n.value
|
|
703
|
+
}, (u = e.convertSubMenuProps) == null ? void 0 : u.call(e, n)), {
|
|
704
|
+
default: () => [E(n.children, (d) => f(ht, y({
|
|
705
|
+
menu: d
|
|
706
|
+
}, Y(e, gt)), t))],
|
|
648
707
|
title: () => {
|
|
649
|
-
var
|
|
650
|
-
return ((
|
|
708
|
+
var d;
|
|
709
|
+
return ((d = t.title) == null ? void 0 : d.call(t, n)) || (n == null ? void 0 : n.label);
|
|
651
710
|
}
|
|
652
|
-
}) : f(
|
|
653
|
-
index:
|
|
654
|
-
}, (
|
|
655
|
-
onClick:
|
|
711
|
+
}) : f(Q.MenuItem, y({
|
|
712
|
+
index: n == null ? void 0 : n.value
|
|
713
|
+
}, (l = e.convertMenuItemProps) == null ? void 0 : l.call(e, n), {
|
|
714
|
+
onClick: o
|
|
656
715
|
}), {
|
|
657
716
|
title: () => {
|
|
658
|
-
var
|
|
659
|
-
return ((
|
|
717
|
+
var d;
|
|
718
|
+
return ((d = t.title) == null ? void 0 : d.call(t, n)) || (n == null ? void 0 : n.label);
|
|
660
719
|
},
|
|
661
720
|
default: t.default ? () => {
|
|
662
|
-
var
|
|
663
|
-
return (
|
|
721
|
+
var d;
|
|
722
|
+
return (d = t.default) == null ? void 0 : d.call(t, n);
|
|
664
723
|
} : void 0
|
|
665
724
|
});
|
|
666
725
|
};
|
|
667
726
|
}
|
|
668
|
-
}),
|
|
727
|
+
}), Ze = () => ({
|
|
669
728
|
activeKey: {
|
|
670
729
|
type: String
|
|
671
730
|
},
|
|
@@ -681,42 +740,42 @@ const ze = () => ({
|
|
|
681
740
|
}
|
|
682
741
|
},
|
|
683
742
|
...ye
|
|
684
|
-
}),
|
|
743
|
+
}), ga = k({
|
|
685
744
|
props: {
|
|
686
|
-
...
|
|
687
|
-
...
|
|
745
|
+
...h(Q.props, "defaultActive"),
|
|
746
|
+
...Ze()
|
|
688
747
|
},
|
|
689
748
|
setup: (e, {
|
|
690
749
|
slots: t
|
|
691
750
|
}) => {
|
|
692
|
-
const
|
|
751
|
+
const o = T(e.activeKey);
|
|
693
752
|
H(() => {
|
|
694
|
-
e.activeKey !==
|
|
753
|
+
e.activeKey !== o.value && (o.value = e.activeKey);
|
|
695
754
|
}, () => e.activeKey);
|
|
696
|
-
const
|
|
697
|
-
var
|
|
698
|
-
return
|
|
699
|
-
var
|
|
700
|
-
const
|
|
755
|
+
const n = x(() => {
|
|
756
|
+
var l;
|
|
757
|
+
return Yt(e.options, (d) => {
|
|
758
|
+
var a, m;
|
|
759
|
+
const s = ((a = e.fieldNames) == null ? void 0 : a.value) || "value", c = ((m = e.fieldNames) == null ? void 0 : m.label) || "label";
|
|
701
760
|
return {
|
|
702
|
-
...
|
|
703
|
-
value:
|
|
704
|
-
label:
|
|
761
|
+
...h(d, s, c),
|
|
762
|
+
value: w(d, s),
|
|
763
|
+
label: w(d, c)
|
|
705
764
|
};
|
|
706
765
|
}, {
|
|
707
|
-
children: ((
|
|
766
|
+
children: ((l = e.fieldNames) == null ? void 0 : l.children) || "children",
|
|
708
767
|
childrenName: "children"
|
|
709
768
|
});
|
|
710
|
-
}), u =
|
|
711
|
-
return () => f(
|
|
712
|
-
defaultActive:
|
|
713
|
-
},
|
|
714
|
-
default: () => f(
|
|
715
|
-
menu:
|
|
716
|
-
},
|
|
769
|
+
}), u = $(Ze());
|
|
770
|
+
return () => f(Q, y({
|
|
771
|
+
defaultActive: o.value
|
|
772
|
+
}, h(e, u)), {
|
|
773
|
+
default: () => f(ct, null, [E(n.value, (l) => f(ht, y({
|
|
774
|
+
menu: l
|
|
775
|
+
}, Y(e, gt)), t))])
|
|
717
776
|
});
|
|
718
777
|
}
|
|
719
|
-
}),
|
|
778
|
+
}), Je = () => ({
|
|
720
779
|
modelValue: {
|
|
721
780
|
type: Array,
|
|
722
781
|
default: void 0
|
|
@@ -750,114 +809,114 @@ const ze = () => ({
|
|
|
750
809
|
type: Function,
|
|
751
810
|
default: void 0
|
|
752
811
|
}
|
|
753
|
-
}),
|
|
812
|
+
}), ha = ["abort", "submit", "clearFiles", "handleStart", "handleRemove"], vt = k({
|
|
754
813
|
props: {
|
|
755
|
-
...
|
|
756
|
-
...
|
|
814
|
+
...h(Ne.props, "fileList"),
|
|
815
|
+
...Je()
|
|
757
816
|
},
|
|
758
817
|
setup: (e, {
|
|
759
818
|
slots: t,
|
|
760
|
-
expose:
|
|
761
|
-
emit:
|
|
819
|
+
expose: o,
|
|
820
|
+
emit: n
|
|
762
821
|
}) => {
|
|
763
822
|
const {
|
|
764
823
|
showMsg: u,
|
|
765
|
-
t:
|
|
766
|
-
} = fe(),
|
|
767
|
-
|
|
824
|
+
t: l
|
|
825
|
+
} = fe(), d = T();
|
|
826
|
+
o(D(d, ha));
|
|
768
827
|
const {
|
|
769
|
-
formItem:
|
|
770
|
-
} =
|
|
828
|
+
formItem: s
|
|
829
|
+
} = $t(), c = () => j(e.modelValue) ? E(e.modelValue, (b) => {
|
|
771
830
|
var p;
|
|
772
|
-
return ((p = e.convertItemData) == null ? void 0 : p.call(e,
|
|
773
|
-
}) : [],
|
|
831
|
+
return ((p = e.convertItemData) == null ? void 0 : p.call(e, b)) || b;
|
|
832
|
+
}) : [], a = T(c());
|
|
774
833
|
let m = !1;
|
|
775
834
|
const r = () => {
|
|
776
835
|
var p;
|
|
777
836
|
m = !0;
|
|
778
|
-
const
|
|
779
|
-
|
|
780
|
-
var
|
|
781
|
-
return ((
|
|
782
|
-
})), (p =
|
|
837
|
+
const b = ce(a.value, (P) => P.status === "success");
|
|
838
|
+
n("update:modelValue", E(b, (P) => {
|
|
839
|
+
var F;
|
|
840
|
+
return ((F = e.convertResponseData) == null ? void 0 : F.call(e, P)) || P;
|
|
841
|
+
})), (p = s == null ? void 0 : s.validate) == null || p.call(s, "change");
|
|
783
842
|
};
|
|
784
843
|
H(() => {
|
|
785
|
-
m || (
|
|
844
|
+
m || (a.value = c(), m = !1);
|
|
786
845
|
}, () => e.modelValue);
|
|
787
846
|
let i;
|
|
788
847
|
const S = () => {
|
|
789
|
-
e.globalLoading && (i =
|
|
848
|
+
e.globalLoading && (i = nt.service({
|
|
790
849
|
lock: !0,
|
|
791
|
-
text:
|
|
792
|
-
...
|
|
850
|
+
text: l.value("uploadingWatting"),
|
|
851
|
+
...X(e.globalLoading) ? {} : e.globalLoading
|
|
793
852
|
}));
|
|
794
|
-
},
|
|
853
|
+
}, g = () => {
|
|
795
854
|
e.globalLoading && (i == null || i.close());
|
|
796
855
|
};
|
|
797
|
-
|
|
798
|
-
|
|
856
|
+
ee(() => () => {
|
|
857
|
+
g();
|
|
799
858
|
}, []);
|
|
800
|
-
const K = (
|
|
859
|
+
const K = (b, p, P) => {
|
|
801
860
|
if (e.onErrorMsg) {
|
|
802
|
-
e.onErrorMsg(
|
|
861
|
+
e.onErrorMsg(b, p);
|
|
803
862
|
return;
|
|
804
863
|
}
|
|
805
864
|
u({
|
|
806
865
|
type: "error",
|
|
807
866
|
message: p
|
|
808
867
|
});
|
|
809
|
-
}, R = (
|
|
868
|
+
}, R = (b) => {
|
|
810
869
|
var p;
|
|
811
870
|
if (e.beforeUpload)
|
|
812
|
-
return e.beforeUpload(
|
|
813
|
-
if (e.beforeUpload2 && !e.beforeUpload2(
|
|
871
|
+
return e.beforeUpload(b);
|
|
872
|
+
if (e.beforeUpload2 && !e.beforeUpload2(b))
|
|
814
873
|
return !1;
|
|
815
|
-
if (e.accept && !
|
|
874
|
+
if (e.accept && !ea(e.accept, b.name))
|
|
816
875
|
return K("FileTypeError", `\u8BF7\u4E0A\u4F20\u6B63\u786E\u683C\u5F0F\uFF08${e.accept.replace(/,/g, "\uFF0C")}\uFF09\u7684\u6587\u4EF6`, {
|
|
817
876
|
accept: e.accept.replace(/,/g, "\uFF0C")
|
|
818
877
|
}), !1;
|
|
819
|
-
if (U(
|
|
820
|
-
if (
|
|
878
|
+
if (U(b.size)) {
|
|
879
|
+
if (b.size <= 0)
|
|
821
880
|
return K("FileSizeError-Zero", "\u4E0A\u4F20\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"), !1;
|
|
822
|
-
if (U(e.maxSize) &&
|
|
823
|
-
return K("FileSizeError-MaxSize", `\u8BF7\u4E0A\u4F20\u5C0F\u4E8E${
|
|
824
|
-
maxSize:
|
|
881
|
+
if (U(e.maxSize) && b.size > e.maxSize)
|
|
882
|
+
return K("FileSizeError-MaxSize", `\u8BF7\u4E0A\u4F20\u5C0F\u4E8E${ze(e.maxSize)}\u7684\u6587\u4EF6`, {
|
|
883
|
+
maxSize: ze(e.maxSize)
|
|
825
884
|
}), !1;
|
|
826
885
|
}
|
|
827
|
-
return (p = e.onStart) == null || p.call(e,
|
|
828
|
-
},
|
|
829
|
-
var
|
|
830
|
-
(
|
|
831
|
-
},
|
|
832
|
-
var
|
|
833
|
-
(
|
|
834
|
-
},
|
|
886
|
+
return (p = e.onStart) == null || p.call(e, b), S(), !0;
|
|
887
|
+
}, B = (b, p, P) => {
|
|
888
|
+
var F;
|
|
889
|
+
(F = e.onSuccess) == null || F.call(e, b, p, P), r(), g();
|
|
890
|
+
}, O = (b, p, P) => {
|
|
891
|
+
var F;
|
|
892
|
+
(F = e.onError) == null || F.call(e, b, p, P), g(), K("UploadError", "\u4E0A\u4F20\u5931\u8D25");
|
|
893
|
+
}, v = (b, p) => {
|
|
835
894
|
var P;
|
|
836
|
-
|
|
837
|
-
},
|
|
895
|
+
a.value = ce(a.value, (F) => !(b.uid === F.uid && b.name === F.name)), (P = e.onRemove) == null || P.call(e, b, p), r();
|
|
896
|
+
}, C = x(() => U(e.limit) ? e.limit > L(a.value) : !0), N = $(Je());
|
|
838
897
|
return () => {
|
|
839
|
-
var
|
|
898
|
+
var b, p;
|
|
840
899
|
return f("div", {
|
|
841
|
-
class: `pro-uploader ${
|
|
842
|
-
}, [(
|
|
843
|
-
ref:
|
|
844
|
-
fileList:
|
|
845
|
-
"onUpdate:fileList": (P) =>
|
|
846
|
-
},
|
|
900
|
+
class: `pro-uploader ${C.value ? "" : "pro-uploader-limit"}`
|
|
901
|
+
}, [(b = t.start) == null ? void 0 : b.call(t), f(Ne, y({
|
|
902
|
+
ref: d,
|
|
903
|
+
fileList: a.value,
|
|
904
|
+
"onUpdate:fileList": (P) => a.value = P
|
|
905
|
+
}, h(e, "fileList", "onSuccess", "onError", "onRemove", "beforeUpload", ...N), {
|
|
847
906
|
beforeUpload: R,
|
|
848
|
-
onSuccess:
|
|
849
|
-
onError:
|
|
850
|
-
onRemove:
|
|
907
|
+
onSuccess: B,
|
|
908
|
+
onError: O,
|
|
909
|
+
onRemove: v
|
|
851
910
|
}), {
|
|
852
911
|
default: () => {
|
|
853
|
-
var P,
|
|
854
|
-
return [
|
|
912
|
+
var P, F;
|
|
913
|
+
return [C.value && f(ct, null, [((P = t.default) == null ? void 0 : P.call(t)) || ((F = e.renderDom) == null ? void 0 : F.call(e))])];
|
|
855
914
|
},
|
|
856
|
-
...
|
|
915
|
+
...h(t, "default")
|
|
857
916
|
}), (p = t.end) == null ? void 0 : p.call(t)]);
|
|
858
917
|
};
|
|
859
918
|
}
|
|
860
|
-
}),
|
|
919
|
+
}), Qe = () => ({
|
|
861
920
|
modelValue: {
|
|
862
921
|
type: Array
|
|
863
922
|
},
|
|
@@ -874,54 +933,54 @@ const ze = () => ({
|
|
|
874
933
|
divider: {
|
|
875
934
|
type: Function
|
|
876
935
|
}
|
|
877
|
-
}),
|
|
936
|
+
}), va = k({
|
|
878
937
|
props: {
|
|
879
|
-
...
|
|
938
|
+
...h(J.props, "modelValue"),
|
|
880
939
|
controlsPosition: {
|
|
881
940
|
type: String,
|
|
882
941
|
default: "right"
|
|
883
942
|
},
|
|
884
|
-
...
|
|
943
|
+
...Qe()
|
|
885
944
|
},
|
|
886
945
|
setup: (e, {
|
|
887
946
|
slots: t,
|
|
888
|
-
emit:
|
|
947
|
+
emit: o
|
|
889
948
|
}) => {
|
|
890
|
-
const
|
|
891
|
-
let
|
|
949
|
+
const n = T(w(e.modelValue, 0)), u = T(w(e.modelValue, 1));
|
|
950
|
+
let l = !1;
|
|
892
951
|
H(() => {
|
|
893
|
-
|
|
952
|
+
l || (n.value = w(e.modelValue, 0), u.value = w(e.modelValue, 1)), l = !1;
|
|
894
953
|
}, [e.modelValue, () => e.modelValue]);
|
|
895
|
-
const
|
|
896
|
-
|
|
897
|
-
},
|
|
954
|
+
const d = () => {
|
|
955
|
+
l = !0, e.singleEmit ? o("update:modelValue", [n.value, u.value]) : U(n.value) && U(u.value) ? o("update:modelValue", [n.value, u.value]) : o("update:modelValue", null);
|
|
956
|
+
}, s = (r) => {
|
|
898
957
|
for (let i = 0; i < r.length; i++)
|
|
899
958
|
if (U(r[i]))
|
|
900
959
|
return r[i];
|
|
901
960
|
}, c = x(() => {
|
|
902
961
|
var r;
|
|
903
|
-
return
|
|
904
|
-
}),
|
|
962
|
+
return s([u.value, (r = e.start) == null ? void 0 : r.max, e.max]);
|
|
963
|
+
}), a = x(() => {
|
|
905
964
|
var r;
|
|
906
|
-
return
|
|
907
|
-
}), m =
|
|
965
|
+
return s([n.value, (r = e.end) == null ? void 0 : r.min, e.min]);
|
|
966
|
+
}), m = $(Qe());
|
|
908
967
|
return () => {
|
|
909
968
|
var i, S;
|
|
910
|
-
const r =
|
|
969
|
+
const r = h(e, ...m, "min", "max");
|
|
911
970
|
return f("span", {
|
|
912
971
|
class: "pro-number-range"
|
|
913
|
-
}, [f(
|
|
972
|
+
}, [f(J, y(r, h(e.start, "max"), {
|
|
914
973
|
max: c.value,
|
|
915
|
-
modelValue:
|
|
916
|
-
"onUpdate:modelValue": [(
|
|
917
|
-
}), null), f("span", null, [((i = t.divider) == null ? void 0 : i.call(t)) || ((S = e.divider) == null ? void 0 : S.call(e)) || " - "]), f(
|
|
918
|
-
min:
|
|
974
|
+
modelValue: n.value,
|
|
975
|
+
"onUpdate:modelValue": [(g) => n.value = g, d]
|
|
976
|
+
}), null), f("span", null, [((i = t.divider) == null ? void 0 : i.call(t)) || ((S = e.divider) == null ? void 0 : S.call(e)) || " - "]), f(J, y(r, h(e.start, "min"), {
|
|
977
|
+
min: a.value,
|
|
919
978
|
modelValue: u.value,
|
|
920
|
-
"onUpdate:modelValue": [(
|
|
979
|
+
"onUpdate:modelValue": [(g) => u.value = g, d]
|
|
921
980
|
}), null)]);
|
|
922
981
|
};
|
|
923
982
|
}
|
|
924
|
-
}),
|
|
983
|
+
}), ba = ["filter", "updateKeyChildren", "getCheckedNodes", "setCheckedNodes", "getCheckedKeys", "setCheckedKeys", "setChecked", "getHalfCheckedNodes", "getHalfCheckedKeys", "getCurrentKey", "getCurrentNode", "setCurrentKey", "setCurrentNode", "getNode", "remove", "append", "insertBefore", "insertAfter"], Xe = () => ({
|
|
925
984
|
treeData: {
|
|
926
985
|
type: Array
|
|
927
986
|
},
|
|
@@ -938,76 +997,76 @@ const ze = () => ({
|
|
|
938
997
|
checkedKeys: {
|
|
939
998
|
type: Array
|
|
940
999
|
}
|
|
941
|
-
}),
|
|
1000
|
+
}), Ga = k({
|
|
942
1001
|
props: {
|
|
943
|
-
...
|
|
944
|
-
...
|
|
1002
|
+
...Ie.props,
|
|
1003
|
+
...Xe()
|
|
945
1004
|
},
|
|
946
1005
|
setup: (e, {
|
|
947
1006
|
slots: t
|
|
948
1007
|
}) => {
|
|
949
|
-
const
|
|
950
|
-
const
|
|
951
|
-
if (!!
|
|
1008
|
+
const o = $(Xe()), u = (() => {
|
|
1009
|
+
const l = e.fieldNames;
|
|
1010
|
+
if (!!l)
|
|
952
1011
|
return {
|
|
953
|
-
label:
|
|
954
|
-
children:
|
|
955
|
-
disabled:
|
|
956
|
-
isLeaf:
|
|
957
|
-
class:
|
|
1012
|
+
label: l.title,
|
|
1013
|
+
children: l.children,
|
|
1014
|
+
disabled: l.disabled,
|
|
1015
|
+
isLeaf: l.isLeaf,
|
|
1016
|
+
class: l.class
|
|
958
1017
|
};
|
|
959
1018
|
})();
|
|
960
1019
|
return () => {
|
|
961
|
-
var
|
|
962
|
-
return f(
|
|
1020
|
+
var l;
|
|
1021
|
+
return f(Ie, y(h(e, o), {
|
|
963
1022
|
data: e.treeData || e.data,
|
|
964
1023
|
props: u || e.props,
|
|
965
|
-
nodeKey: ((
|
|
966
|
-
showCheckbox:
|
|
1024
|
+
nodeKey: ((l = e.fieldNames) == null ? void 0 : l.key) || e.nodeKey,
|
|
1025
|
+
showCheckbox: X(e.selectable) ? e.selectable : e.showCheckbox,
|
|
967
1026
|
defaultExpandedKeys: e.expandedKeys || e.defaultExpandedKeys,
|
|
968
1027
|
defaultCheckedKeys: e.checkedKeys || e.checkedKeys
|
|
969
1028
|
}), t);
|
|
970
1029
|
};
|
|
971
1030
|
}
|
|
972
1031
|
});
|
|
973
|
-
function
|
|
974
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !
|
|
1032
|
+
function Sa(e) {
|
|
1033
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !qt(e);
|
|
975
1034
|
}
|
|
976
|
-
const
|
|
1035
|
+
const Ye = () => ({
|
|
977
1036
|
options: Array
|
|
978
|
-
}),
|
|
1037
|
+
}), pa = k({
|
|
979
1038
|
props: {
|
|
980
|
-
|
|
981
|
-
...
|
|
1039
|
+
...Oe.props,
|
|
1040
|
+
...Ye()
|
|
982
1041
|
},
|
|
983
1042
|
setup: (e, {
|
|
984
1043
|
slots: t,
|
|
985
|
-
expose:
|
|
1044
|
+
expose: o
|
|
986
1045
|
}) => {
|
|
987
|
-
const
|
|
988
|
-
|
|
989
|
-
const u =
|
|
990
|
-
return () => f(
|
|
991
|
-
ref:
|
|
992
|
-
},
|
|
1046
|
+
const n = T();
|
|
1047
|
+
o(D(n));
|
|
1048
|
+
const u = $(Ye());
|
|
1049
|
+
return () => f(Oe, y({
|
|
1050
|
+
ref: n
|
|
1051
|
+
}, h(e, u)), {
|
|
993
1052
|
dropdown: () => {
|
|
994
|
-
let
|
|
995
|
-
return f(
|
|
1053
|
+
let l;
|
|
1054
|
+
return f(Mt, null, Sa(l = E(e.options, (d) => {
|
|
996
1055
|
var c;
|
|
997
|
-
const
|
|
998
|
-
return f(
|
|
999
|
-
command:
|
|
1000
|
-
},
|
|
1001
|
-
default: () => [
|
|
1056
|
+
const s = (c = t.label) == null ? void 0 : c.call(t, d);
|
|
1057
|
+
return f(Nt, y({
|
|
1058
|
+
command: d.value
|
|
1059
|
+
}, h(d, "value", "label")), {
|
|
1060
|
+
default: () => [s || d.label]
|
|
1002
1061
|
});
|
|
1003
|
-
})) ?
|
|
1004
|
-
default: () => [
|
|
1062
|
+
})) ? l : {
|
|
1063
|
+
default: () => [l]
|
|
1005
1064
|
});
|
|
1006
1065
|
},
|
|
1007
1066
|
...t
|
|
1008
1067
|
});
|
|
1009
1068
|
}
|
|
1010
|
-
}),
|
|
1069
|
+
}), et = () => ({
|
|
1011
1070
|
options: Array,
|
|
1012
1071
|
fieldNames: {
|
|
1013
1072
|
type: Object
|
|
@@ -1018,7 +1077,7 @@ const Je = () => ({
|
|
|
1018
1077
|
},
|
|
1019
1078
|
expMethods: {
|
|
1020
1079
|
type: Array,
|
|
1021
|
-
default: () => [...
|
|
1080
|
+
default: () => [...ba]
|
|
1022
1081
|
},
|
|
1023
1082
|
separator$: {
|
|
1024
1083
|
type: String
|
|
@@ -1032,72 +1091,72 @@ const Je = () => ({
|
|
|
1032
1091
|
formatValue$: {
|
|
1033
1092
|
type: Function
|
|
1034
1093
|
}
|
|
1035
|
-
}),
|
|
1094
|
+
}), Pa = k({
|
|
1036
1095
|
props: {
|
|
1037
|
-
...
|
|
1038
|
-
...
|
|
1096
|
+
...Be.props,
|
|
1097
|
+
...et()
|
|
1039
1098
|
},
|
|
1040
1099
|
setup: (e, {
|
|
1041
1100
|
slots: t,
|
|
1042
|
-
emit:
|
|
1043
|
-
expose:
|
|
1101
|
+
emit: o,
|
|
1102
|
+
expose: n
|
|
1044
1103
|
}) => {
|
|
1045
1104
|
const u = T();
|
|
1046
|
-
|
|
1047
|
-
const
|
|
1105
|
+
n(se(u, e.expMethods));
|
|
1106
|
+
const l = x(() => e.options || e.data), d = x(() => e.fieldNames || e.props), s = x(() => {
|
|
1048
1107
|
const r = e.modelValue;
|
|
1049
1108
|
if (e.parseValue$)
|
|
1050
1109
|
return e.parseValue$(r, e);
|
|
1051
|
-
const i =
|
|
1110
|
+
const i = q(r, {
|
|
1052
1111
|
multiple: e.multiple,
|
|
1053
1112
|
allPath: e.emitPath,
|
|
1054
1113
|
separator: e.separator$,
|
|
1055
1114
|
itemSeparator: e.itemSeparator$
|
|
1056
1115
|
});
|
|
1057
|
-
return j(i) ? e.multiple ?
|
|
1116
|
+
return j(i) ? e.multiple ? E(i, (S) => j(S) ? ie(S) : S) : ie(i) : i;
|
|
1058
1117
|
}), c = (r) => {
|
|
1059
|
-
var S,
|
|
1118
|
+
var S, g;
|
|
1060
1119
|
let i = r;
|
|
1061
1120
|
if (e.emitPath && r) {
|
|
1062
|
-
const K = ((S =
|
|
1121
|
+
const K = ((S = d.value) == null ? void 0 : S.value) || "value", R = ((g = d.value) == null ? void 0 : g.children) || "children";
|
|
1063
1122
|
if (j(r))
|
|
1064
|
-
i =
|
|
1065
|
-
const
|
|
1123
|
+
i = E(r, (B) => {
|
|
1124
|
+
const O = je(l.value, (v) => w(v, K) === B, {
|
|
1066
1125
|
children: R
|
|
1067
1126
|
}, []);
|
|
1068
|
-
return
|
|
1127
|
+
return E(O.parentList, (v) => w(v, K));
|
|
1069
1128
|
});
|
|
1070
1129
|
else {
|
|
1071
|
-
const
|
|
1130
|
+
const B = je(l.value, (O) => w(O, K) === r, {
|
|
1072
1131
|
children: R
|
|
1073
1132
|
}, []);
|
|
1074
|
-
i =
|
|
1133
|
+
i = E(B.parentList, (O) => w(O, K));
|
|
1075
1134
|
}
|
|
1076
1135
|
}
|
|
1077
|
-
return e.separator$ || e.itemSeparator$ ?
|
|
1136
|
+
return e.separator$ || e.itemSeparator$ ? G(i, {
|
|
1078
1137
|
multiple: e.multiple,
|
|
1079
1138
|
allPath: e.emitPath,
|
|
1080
1139
|
separator: e.separator$,
|
|
1081
1140
|
itemSeparator: e.itemSeparator$
|
|
1082
1141
|
}) : i;
|
|
1083
|
-
},
|
|
1142
|
+
}, a = (r) => {
|
|
1084
1143
|
if (e.formatValue$) {
|
|
1085
|
-
|
|
1144
|
+
o("update:modelValue", e.formatValue$(r, e));
|
|
1086
1145
|
return;
|
|
1087
1146
|
}
|
|
1088
1147
|
const i = c(r);
|
|
1089
|
-
|
|
1090
|
-
}, m = [
|
|
1091
|
-
return () => f(
|
|
1148
|
+
o("update:modelValue", i);
|
|
1149
|
+
}, m = [...$(et()), "modelValue", "data", "props"];
|
|
1150
|
+
return () => f(Be, y({
|
|
1092
1151
|
ref: u
|
|
1093
|
-
},
|
|
1094
|
-
modelValue:
|
|
1095
|
-
"onUpdate:modelValue": (r) =>
|
|
1096
|
-
data:
|
|
1097
|
-
props:
|
|
1152
|
+
}, h(e, m), {
|
|
1153
|
+
modelValue: s.value,
|
|
1154
|
+
"onUpdate:modelValue": (r) => a(r),
|
|
1155
|
+
data: l.value,
|
|
1156
|
+
props: d.value
|
|
1098
1157
|
}), t);
|
|
1099
1158
|
}
|
|
1100
|
-
}),
|
|
1159
|
+
}), tt = () => ({
|
|
1101
1160
|
expandTrigger: {
|
|
1102
1161
|
type: String,
|
|
1103
1162
|
default: "click"
|
|
@@ -1133,108 +1192,112 @@ const Je = () => ({
|
|
|
1133
1192
|
formatValue$: {
|
|
1134
1193
|
type: Function
|
|
1135
1194
|
}
|
|
1136
|
-
}),
|
|
1195
|
+
}), Va = k({
|
|
1137
1196
|
props: {
|
|
1138
|
-
...
|
|
1139
|
-
...
|
|
1197
|
+
...Ae.props,
|
|
1198
|
+
...tt()
|
|
1140
1199
|
},
|
|
1141
1200
|
setup: (e, {
|
|
1142
1201
|
slots: t,
|
|
1143
|
-
emit:
|
|
1144
|
-
expose:
|
|
1202
|
+
emit: o,
|
|
1203
|
+
expose: n
|
|
1145
1204
|
}) => {
|
|
1146
1205
|
const u = T();
|
|
1147
|
-
|
|
1148
|
-
const
|
|
1206
|
+
n(se(u, e.expMethods));
|
|
1207
|
+
const l = x(() => ({
|
|
1149
1208
|
...e.fieldNames,
|
|
1150
1209
|
expandTrigger: e.expandTrigger,
|
|
1151
1210
|
multiple: e.multiple,
|
|
1152
1211
|
checkStrictly: e.checkStrictly,
|
|
1153
1212
|
emitPath: e.emitPath,
|
|
1154
1213
|
...e.props
|
|
1155
|
-
})),
|
|
1156
|
-
const
|
|
1157
|
-
return e.parseValue$ ? e.parseValue$(
|
|
1158
|
-
multiple:
|
|
1159
|
-
allPath:
|
|
1214
|
+
})), d = x(() => {
|
|
1215
|
+
const a = e.modelValue;
|
|
1216
|
+
return e.parseValue$ ? e.parseValue$(a, e) : q(a, {
|
|
1217
|
+
multiple: l.value.multiple,
|
|
1218
|
+
allPath: l.value.emitPath,
|
|
1160
1219
|
separator: e.separator$,
|
|
1161
1220
|
itemSeparator: e.itemSeparator$
|
|
1162
1221
|
});
|
|
1163
|
-
}),
|
|
1222
|
+
}), s = (a) => {
|
|
1164
1223
|
if (e.formatValue$) {
|
|
1165
|
-
|
|
1224
|
+
o("update:modelValue", e.formatValue$(a, e));
|
|
1166
1225
|
return;
|
|
1167
1226
|
}
|
|
1168
1227
|
if (e.separator$ || e.itemSeparator$) {
|
|
1169
|
-
|
|
1170
|
-
multiple:
|
|
1171
|
-
allPath:
|
|
1228
|
+
o("update:modelValue", G(a, {
|
|
1229
|
+
multiple: l.value.multiple,
|
|
1230
|
+
allPath: l.value.emitPath,
|
|
1172
1231
|
separator: e.separator$,
|
|
1173
1232
|
itemSeparator: e.itemSeparator$
|
|
1174
1233
|
}));
|
|
1175
1234
|
return;
|
|
1176
1235
|
}
|
|
1177
|
-
|
|
1178
|
-
}, c = [
|
|
1179
|
-
return () => f(
|
|
1236
|
+
o("update:modelValue", a);
|
|
1237
|
+
}, c = [...$(tt()), "modelValue", "props"];
|
|
1238
|
+
return () => f(Ae, y({
|
|
1180
1239
|
ref: u
|
|
1181
|
-
},
|
|
1182
|
-
modelValue:
|
|
1183
|
-
"onUpdate:modelValue": (
|
|
1184
|
-
props:
|
|
1240
|
+
}, h(e, c), {
|
|
1241
|
+
modelValue: d.value,
|
|
1242
|
+
"onUpdate:modelValue": (a) => s(a),
|
|
1243
|
+
props: l.value
|
|
1185
1244
|
}), t);
|
|
1186
1245
|
}
|
|
1187
|
-
}),
|
|
1188
|
-
InputComp:
|
|
1246
|
+
}), Ca = M({
|
|
1247
|
+
InputComp: It,
|
|
1189
1248
|
valueType: "text",
|
|
1190
1249
|
name: "PFromText"
|
|
1191
|
-
}),
|
|
1192
|
-
InputComp:
|
|
1250
|
+
}), xa = M({
|
|
1251
|
+
InputComp: J,
|
|
1193
1252
|
valueType: "digit",
|
|
1194
1253
|
name: "PFormNumber"
|
|
1195
|
-
}),
|
|
1196
|
-
InputComp:
|
|
1254
|
+
}), Ka = M({
|
|
1255
|
+
InputComp: va,
|
|
1197
1256
|
valueType: "digitRange",
|
|
1198
1257
|
name: "PFormNumberRange"
|
|
1199
|
-
}),
|
|
1200
|
-
InputComp:
|
|
1258
|
+
}), ka = M({
|
|
1259
|
+
InputComp: Ot,
|
|
1201
1260
|
valueType: "date",
|
|
1202
1261
|
name: "PFormDate"
|
|
1203
|
-
}),
|
|
1204
|
-
InputComp:
|
|
1262
|
+
}), Fa = M({
|
|
1263
|
+
InputComp: Bt,
|
|
1205
1264
|
valueType: "time",
|
|
1206
1265
|
name: "PFormTime"
|
|
1207
|
-
}),
|
|
1208
|
-
InputComp:
|
|
1266
|
+
}), wa = M({
|
|
1267
|
+
InputComp: sa,
|
|
1209
1268
|
valueType: "select",
|
|
1210
1269
|
name: "PFormSelect"
|
|
1211
|
-
}),
|
|
1212
|
-
InputComp:
|
|
1270
|
+
}), Ea = M({
|
|
1271
|
+
InputComp: ya,
|
|
1272
|
+
valueType: "selectv2",
|
|
1273
|
+
name: "PFormSelectV2"
|
|
1274
|
+
}), Ta = M({
|
|
1275
|
+
InputComp: Pa,
|
|
1213
1276
|
valueType: "treeSelect",
|
|
1214
1277
|
name: "PFormTreeSelect"
|
|
1215
|
-
}),
|
|
1216
|
-
InputComp:
|
|
1278
|
+
}), Ra = M({
|
|
1279
|
+
InputComp: ma,
|
|
1217
1280
|
valueType: "checkbox",
|
|
1218
1281
|
name: "PFromCheckbox"
|
|
1219
|
-
}),
|
|
1220
|
-
InputComp:
|
|
1282
|
+
}), $a = M({
|
|
1283
|
+
InputComp: fa,
|
|
1221
1284
|
valueType: "radio",
|
|
1222
1285
|
name: "PFromRadio"
|
|
1223
|
-
}),
|
|
1224
|
-
InputComp:
|
|
1286
|
+
}), Ma = M({
|
|
1287
|
+
InputComp: At,
|
|
1225
1288
|
valueType: "switch",
|
|
1226
1289
|
name: "PFromSwitch"
|
|
1227
|
-
}),
|
|
1228
|
-
InputComp:
|
|
1290
|
+
}), Na = M({
|
|
1291
|
+
InputComp: Va,
|
|
1229
1292
|
valueType: "cascader",
|
|
1230
1293
|
name: "PFormCascader"
|
|
1231
|
-
}),
|
|
1232
|
-
InputComp:
|
|
1294
|
+
}), Ia = M({
|
|
1295
|
+
InputComp: Lt,
|
|
1233
1296
|
valueType: "color",
|
|
1234
1297
|
name: "PFormColor"
|
|
1235
|
-
}),
|
|
1298
|
+
}), bt = k({
|
|
1236
1299
|
props: {
|
|
1237
|
-
...
|
|
1300
|
+
...h(ue.props, "label", "prop"),
|
|
1238
1301
|
title: {
|
|
1239
1302
|
type: String
|
|
1240
1303
|
},
|
|
@@ -1251,53 +1314,53 @@ const Je = () => ({
|
|
|
1251
1314
|
setup: (e, {
|
|
1252
1315
|
slots: t
|
|
1253
1316
|
}) => {
|
|
1254
|
-
const
|
|
1255
|
-
row:
|
|
1256
|
-
column:
|
|
1257
|
-
$index:
|
|
1317
|
+
const o = ({
|
|
1318
|
+
row: l,
|
|
1319
|
+
column: d,
|
|
1320
|
+
$index: s
|
|
1258
1321
|
}) => {
|
|
1259
|
-
var
|
|
1260
|
-
const c =
|
|
1261
|
-
...
|
|
1262
|
-
title:
|
|
1263
|
-
dataIndex:
|
|
1264
|
-
}, r =
|
|
1322
|
+
var g;
|
|
1323
|
+
const c = l, a = s, m = {
|
|
1324
|
+
...d,
|
|
1325
|
+
title: d.label,
|
|
1326
|
+
dataIndex: d.property
|
|
1327
|
+
}, r = w(l, m.dataIndex), i = {
|
|
1265
1328
|
value: r,
|
|
1266
1329
|
text: r,
|
|
1267
1330
|
record: c,
|
|
1268
1331
|
column: m,
|
|
1269
|
-
index:
|
|
1270
|
-
}, S = (
|
|
1332
|
+
index: a
|
|
1333
|
+
}, S = (g = t.bodyCell) == null ? void 0 : g.call(t, i);
|
|
1271
1334
|
return S || (e.customRender ? e.customRender(i) : r);
|
|
1272
1335
|
}, u = {
|
|
1273
1336
|
header: ({
|
|
1274
|
-
column:
|
|
1275
|
-
$index:
|
|
1337
|
+
column: l,
|
|
1338
|
+
$index: d
|
|
1276
1339
|
}) => {
|
|
1277
1340
|
var r;
|
|
1278
|
-
const
|
|
1279
|
-
...
|
|
1341
|
+
const s = d, c = l.label, a = {
|
|
1342
|
+
...l,
|
|
1280
1343
|
title: c,
|
|
1281
|
-
dataIndex:
|
|
1344
|
+
dataIndex: l.property
|
|
1282
1345
|
};
|
|
1283
1346
|
return ((r = t.headerCell) == null ? void 0 : r.call(t, {
|
|
1284
1347
|
title: c,
|
|
1285
|
-
column:
|
|
1286
|
-
index:
|
|
1348
|
+
column: a,
|
|
1349
|
+
index: s
|
|
1287
1350
|
})) || c;
|
|
1288
1351
|
}
|
|
1289
1352
|
};
|
|
1290
|
-
return (!e.children ||
|
|
1353
|
+
return (!e.children || L(e.children) <= 0) && (u.default = o), () => f(ue, y(h(e, "title", "dataIndex", "prop", "customRender", "children"), {
|
|
1291
1354
|
prop: e.dataIndex,
|
|
1292
1355
|
label: e.title
|
|
1293
1356
|
}), {
|
|
1294
|
-
default: () => [
|
|
1295
|
-
key:
|
|
1296
|
-
},
|
|
1357
|
+
default: () => [L(e.children) > 0 && E(e.children, (l) => f(bt, y({
|
|
1358
|
+
key: l.dataIndex
|
|
1359
|
+
}, l), t))],
|
|
1297
1360
|
...u
|
|
1298
1361
|
});
|
|
1299
1362
|
}
|
|
1300
|
-
}),
|
|
1363
|
+
}), Oa = ["clearSelection", "getSelectionRows", "toggleRowSelection", "toggleAllSelection", "toggleRowExpansion", "setCurrentRow", "clearSort", "clearFilter", "doLayout", "sort", "scrollTo", "setScrollTop", "setScrollLeft"], Ba = () => ({
|
|
1301
1364
|
columns: {
|
|
1302
1365
|
type: Array
|
|
1303
1366
|
},
|
|
@@ -1317,68 +1380,68 @@ const Je = () => ({
|
|
|
1317
1380
|
type: Object,
|
|
1318
1381
|
default: void 0
|
|
1319
1382
|
}
|
|
1320
|
-
}),
|
|
1383
|
+
}), St = k({
|
|
1321
1384
|
props: {
|
|
1322
|
-
...
|
|
1323
|
-
...
|
|
1385
|
+
...Le.props,
|
|
1386
|
+
...Ba()
|
|
1324
1387
|
},
|
|
1325
1388
|
setup: (e, {
|
|
1326
1389
|
slots: t,
|
|
1327
|
-
expose:
|
|
1328
|
-
emit:
|
|
1390
|
+
expose: o,
|
|
1391
|
+
emit: n
|
|
1329
1392
|
}) => {
|
|
1330
|
-
const u = T(),
|
|
1331
|
-
|
|
1332
|
-
const
|
|
1333
|
-
...
|
|
1334
|
-
[c(
|
|
1335
|
-
}), {})), c = (
|
|
1336
|
-
const
|
|
1337
|
-
return
|
|
1338
|
-
},
|
|
1339
|
-
const
|
|
1340
|
-
return
|
|
1393
|
+
const u = T(), l = ft("table");
|
|
1394
|
+
o(at(Oa, u));
|
|
1395
|
+
const d = x(() => e.dataSource || e.data || []), s = x(() => te(d.value, (v, C) => ({
|
|
1396
|
+
...v,
|
|
1397
|
+
[c(C)]: !0
|
|
1398
|
+
}), {})), c = (v) => {
|
|
1399
|
+
const C = e.rowKey;
|
|
1400
|
+
return Jt(C) ? C(v) : C ? v[C] : v.id;
|
|
1401
|
+
}, a = x(() => !!e.rowSelection), m = x(() => {
|
|
1402
|
+
const v = e.rowSelection;
|
|
1403
|
+
return v ? !v.type || v.type === "multi" : !1;
|
|
1341
1404
|
}), r = x(() => {
|
|
1342
|
-
const
|
|
1343
|
-
return j(
|
|
1344
|
-
}), i = x(() => te(r.value, (
|
|
1345
|
-
...
|
|
1346
|
-
[
|
|
1405
|
+
const v = e.selectedRowKeys;
|
|
1406
|
+
return j(v) ? v : v ? [v] : [];
|
|
1407
|
+
}), i = x(() => te(r.value, (v, C) => ({
|
|
1408
|
+
...v,
|
|
1409
|
+
[C]: !0
|
|
1347
1410
|
}), {}));
|
|
1348
|
-
let S = [],
|
|
1349
|
-
const K = (
|
|
1350
|
-
var N,
|
|
1351
|
-
if (!
|
|
1411
|
+
let S = [], g = !1;
|
|
1412
|
+
const K = (v) => {
|
|
1413
|
+
var N, b, p, P, F, z, ge, he;
|
|
1414
|
+
if (!g)
|
|
1352
1415
|
return;
|
|
1353
|
-
const
|
|
1354
|
-
if (
|
|
1355
|
-
if (
|
|
1356
|
-
const
|
|
1416
|
+
const C = E(v, (I) => c(I));
|
|
1417
|
+
if (a.value && !m.value) {
|
|
1418
|
+
if (L(C) <= 0 && L(S) > 0) {
|
|
1419
|
+
const I = d.value, A = Qt(I, (_) => c(_) === S[0]);
|
|
1357
1420
|
A && ((N = u.value) == null || N.toggleRowSelection(A, !0));
|
|
1358
1421
|
return;
|
|
1359
|
-
} else if (
|
|
1360
|
-
const
|
|
1361
|
-
|
|
1362
|
-
var
|
|
1363
|
-
(
|
|
1422
|
+
} else if (L(C) > 1) {
|
|
1423
|
+
const I = ie(C);
|
|
1424
|
+
Ue(v, (A) => {
|
|
1425
|
+
var _;
|
|
1426
|
+
(_ = u.value) == null || _.toggleRowSelection(A, c(A) === I);
|
|
1364
1427
|
});
|
|
1365
1428
|
return;
|
|
1366
1429
|
}
|
|
1367
1430
|
}
|
|
1368
|
-
if (!
|
|
1431
|
+
if (!ta(r.value, C, {
|
|
1369
1432
|
sort: !0
|
|
1370
1433
|
})) {
|
|
1371
1434
|
if (!m.value) {
|
|
1372
|
-
const
|
|
1373
|
-
(p = (
|
|
1435
|
+
const I = w(C, 0);
|
|
1436
|
+
(p = (b = e.rowSelection).onChange) == null || p.call(b, I, w(v, 0)), n("update:selectedRowKeys", I);
|
|
1374
1437
|
return;
|
|
1375
1438
|
}
|
|
1376
1439
|
if ((P = e.rowSelection) != null && P.pagination) {
|
|
1377
|
-
const
|
|
1378
|
-
|
|
1440
|
+
const I = ce(r.value, (A) => !s.value[A]);
|
|
1441
|
+
I.push(...C), (z = (F = e.rowSelection).onChange) == null || z.call(F, I, []), n("update:selectedRowKeys", I);
|
|
1379
1442
|
return;
|
|
1380
1443
|
}
|
|
1381
|
-
(
|
|
1444
|
+
(he = (ge = e.rowSelection).onChange) == null || he.call(ge, C, v), n("update:selectedRowKeys", C);
|
|
1382
1445
|
}
|
|
1383
1446
|
}, R = x(() => {
|
|
1384
1447
|
if (!!e.rowSelection)
|
|
@@ -1386,70 +1449,70 @@ const Je = () => ({
|
|
|
1386
1449
|
onSelectionChange: K
|
|
1387
1450
|
};
|
|
1388
1451
|
});
|
|
1389
|
-
|
|
1390
|
-
var
|
|
1391
|
-
|
|
1392
|
-
const
|
|
1393
|
-
if (
|
|
1394
|
-
const N = (
|
|
1452
|
+
ee(() => {
|
|
1453
|
+
var C;
|
|
1454
|
+
g = !1, S = r.value;
|
|
1455
|
+
const v = d.value;
|
|
1456
|
+
if (a.value) {
|
|
1457
|
+
const N = (C = u.value) == null ? void 0 : C.getSelectionRows(), b = te(N, (p, P) => ({
|
|
1395
1458
|
...p,
|
|
1396
1459
|
[c(P)]: !0
|
|
1397
1460
|
}), {});
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
var
|
|
1461
|
+
Gt(() => {
|
|
1462
|
+
Ue(v, (p) => {
|
|
1463
|
+
var F;
|
|
1401
1464
|
const P = c(p);
|
|
1402
|
-
i.value[P] !==
|
|
1403
|
-
}),
|
|
1465
|
+
i.value[P] !== b[P] && ((F = u.value) == null || F.toggleRowSelection(p, !!i.value[P]));
|
|
1466
|
+
}), g = !0;
|
|
1404
1467
|
});
|
|
1405
1468
|
} else
|
|
1406
|
-
|
|
1407
|
-
}, [r,
|
|
1408
|
-
const
|
|
1409
|
-
var
|
|
1469
|
+
g = !0;
|
|
1470
|
+
}, [r, d]);
|
|
1471
|
+
const B = () => {
|
|
1472
|
+
var v, C;
|
|
1410
1473
|
if (e.spanMethod)
|
|
1411
1474
|
return e.spanMethod;
|
|
1412
|
-
if (((
|
|
1413
|
-
const N =
|
|
1475
|
+
if (((v = e.mergeOpts) == null ? void 0 : v.rowNames) || ((C = e.mergeOpts) == null ? void 0 : C.colNames)) {
|
|
1476
|
+
const N = aa(e.mergeOpts);
|
|
1414
1477
|
return ({
|
|
1415
|
-
row:
|
|
1478
|
+
row: b,
|
|
1416
1479
|
column: p
|
|
1417
1480
|
}) => {
|
|
1418
1481
|
const P = p.property;
|
|
1419
1482
|
if (N[P]) {
|
|
1420
|
-
const
|
|
1483
|
+
const F = b[N[P]], z = b[P + "-colspan"];
|
|
1421
1484
|
return {
|
|
1422
|
-
rowspan:
|
|
1485
|
+
rowspan: F !== void 0 ? F : 1,
|
|
1423
1486
|
colspan: z !== void 0 ? z : 1
|
|
1424
1487
|
};
|
|
1425
1488
|
}
|
|
1426
1489
|
};
|
|
1427
1490
|
}
|
|
1428
1491
|
return e.spanMethod;
|
|
1429
|
-
},
|
|
1430
|
-
return () => f(
|
|
1492
|
+
}, O = x(() => B());
|
|
1493
|
+
return () => f(Le, y({
|
|
1431
1494
|
ref: u,
|
|
1432
|
-
id:
|
|
1433
|
-
},
|
|
1434
|
-
data:
|
|
1435
|
-
spanMethod:
|
|
1495
|
+
id: l
|
|
1496
|
+
}, h(e, "columns", "dataSource", "data", "loading", "spanMethod"), {
|
|
1497
|
+
data: d.value,
|
|
1498
|
+
spanMethod: O.value
|
|
1436
1499
|
}, R.value), {
|
|
1437
1500
|
default: () => {
|
|
1438
|
-
var
|
|
1439
|
-
return [(
|
|
1501
|
+
var v, C, N, b, p;
|
|
1502
|
+
return [(v = t.start) == null ? void 0 : v.call(t), a.value && f(ue, y({
|
|
1440
1503
|
type: "selection",
|
|
1441
1504
|
className: m.value ? "pro-multi" : "pro-single"
|
|
1442
|
-
},
|
|
1505
|
+
}, h((C = e.rowSelection) == null ? void 0 : C.column, "slots")), (b = (N = e.rowSelection) == null ? void 0 : N.column) == null ? void 0 : b.slots), E(e.columns, (P) => f(bt, y({
|
|
1443
1506
|
key: P.dataIndex
|
|
1444
|
-
}, P), t)), (p = t.default) == null ? void 0 : p.call(t), e.loading && f(
|
|
1445
|
-
target:
|
|
1507
|
+
}, P), t)), (p = t.default) == null ? void 0 : p.call(t), e.loading && f(st, {
|
|
1508
|
+
target: l,
|
|
1446
1509
|
loading: !0
|
|
1447
1510
|
}, null)];
|
|
1448
1511
|
},
|
|
1449
|
-
...
|
|
1512
|
+
...Y(t, "append", "empty")
|
|
1450
1513
|
});
|
|
1451
1514
|
}
|
|
1452
|
-
}),
|
|
1515
|
+
}), Aa = k({
|
|
1453
1516
|
props: {
|
|
1454
1517
|
...de.props,
|
|
1455
1518
|
type: {
|
|
@@ -1464,7 +1527,7 @@ const Je = () => ({
|
|
|
1464
1527
|
setup: (e, {
|
|
1465
1528
|
slots: t
|
|
1466
1529
|
}) => () => f(de, e, t)
|
|
1467
|
-
}),
|
|
1530
|
+
}), La = () => ({
|
|
1468
1531
|
fixed: {
|
|
1469
1532
|
type: Boolean,
|
|
1470
1533
|
default: !0
|
|
@@ -1481,207 +1544,211 @@ const Je = () => ({
|
|
|
1481
1544
|
type: Number,
|
|
1482
1545
|
default: 100
|
|
1483
1546
|
}
|
|
1484
|
-
}),
|
|
1547
|
+
}), Da = k({
|
|
1485
1548
|
inheritAttrs: !1,
|
|
1486
1549
|
props: {
|
|
1487
|
-
...
|
|
1488
|
-
...
|
|
1550
|
+
...h(De.props, ["class"]),
|
|
1551
|
+
...La()
|
|
1489
1552
|
},
|
|
1490
1553
|
setup: (e, {
|
|
1491
1554
|
attrs: t
|
|
1492
1555
|
}) => {
|
|
1493
|
-
const
|
|
1556
|
+
const o = T(), [n, u] = la(), l = dt({
|
|
1494
1557
|
width: 0,
|
|
1495
1558
|
height: 0
|
|
1496
1559
|
});
|
|
1497
|
-
|
|
1560
|
+
na(o, (m) => {
|
|
1498
1561
|
var i;
|
|
1499
1562
|
const r = (i = m[0]) == null ? void 0 : i.contentRect;
|
|
1500
|
-
|
|
1563
|
+
l.width = r.width, l.height = r.height, u();
|
|
1501
1564
|
});
|
|
1502
|
-
const
|
|
1503
|
-
var S,
|
|
1504
|
-
const m = ((S = e.columns) == null ? void 0 : S.filter((K) => K.width || K.minWidth)) || [], r = m.reduce((K, R) => K + (R.width || R.minWidth || 0), 0), i = (((
|
|
1505
|
-
return i > 0 &&
|
|
1506
|
-
}),
|
|
1565
|
+
const d = x(() => {
|
|
1566
|
+
var S, g;
|
|
1567
|
+
const m = ((S = e.columns) == null ? void 0 : S.filter((K) => K.width || K.minWidth)) || [], r = m.reduce((K, R) => K + (R.width || R.minWidth || 0), 0), i = (((g = e.columns) == null ? void 0 : g.length) || 0) - m.length;
|
|
1568
|
+
return i > 0 && l.width > 0 ? Math.max((l.width - r - (e.vScrollbarSize || 0)) / i, e.minWidth || 0) : e.minWidth;
|
|
1569
|
+
}), s = x(() => E(e.columns, (m) => {
|
|
1507
1570
|
const r = m.dataIndex || m.key, i = {
|
|
1508
1571
|
...m,
|
|
1509
|
-
width: m.width || m.minWidth ||
|
|
1572
|
+
width: m.width || m.minWidth || d.value,
|
|
1510
1573
|
key: r,
|
|
1511
1574
|
dataKey: r
|
|
1512
1575
|
};
|
|
1513
1576
|
return m.customRender && (i.cellRenderer = ({
|
|
1514
1577
|
cellData: S,
|
|
1515
|
-
rowData:
|
|
1578
|
+
rowData: g,
|
|
1516
1579
|
rowIndex: K,
|
|
1517
1580
|
column: R
|
|
1518
1581
|
}) => m.customRender({
|
|
1519
1582
|
value: S,
|
|
1520
1583
|
text: S,
|
|
1521
|
-
record:
|
|
1584
|
+
record: g,
|
|
1522
1585
|
column: R,
|
|
1523
1586
|
index: K
|
|
1524
1587
|
})), i;
|
|
1525
|
-
})), c = x(() => !e.estimatedRowHeight && e.dynamicHei ? 50 : e.estimatedRowHeight),
|
|
1588
|
+
})), c = x(() => !e.estimatedRowHeight && e.dynamicHei ? 50 : e.estimatedRowHeight), a = x(() => {
|
|
1526
1589
|
const m = ["el-table"];
|
|
1527
1590
|
return c.value && m.push("dynamic-hei"), m;
|
|
1528
1591
|
});
|
|
1529
|
-
return () => f("div",
|
|
1592
|
+
return () => f("div", y({
|
|
1530
1593
|
class: "pro-table-v2-wrapper",
|
|
1531
1594
|
style: {
|
|
1532
1595
|
"--estimated-hei": `${c.value || 0}px`
|
|
1533
1596
|
},
|
|
1534
|
-
ref:
|
|
1535
|
-
},
|
|
1536
|
-
key:
|
|
1537
|
-
class:
|
|
1538
|
-
},
|
|
1597
|
+
ref: o
|
|
1598
|
+
}, Y(t, ["class"])), [l.width > 0 && l.height > 0 && f(De, y({
|
|
1599
|
+
key: n.value,
|
|
1600
|
+
class: a.value
|
|
1601
|
+
}, h(t, ["class", "className"]), h(e, "dataSource", "data", "columns", "estimatedRowHeight", "width", "height"), {
|
|
1539
1602
|
estimatedRowHeight: c.value,
|
|
1540
|
-
columns:
|
|
1603
|
+
columns: s.value,
|
|
1541
1604
|
data: e.dataSource || e.data || [],
|
|
1542
|
-
width:
|
|
1543
|
-
height:
|
|
1605
|
+
width: l.width,
|
|
1606
|
+
height: l.height
|
|
1544
1607
|
}), null)]);
|
|
1545
1608
|
}
|
|
1546
1609
|
});
|
|
1547
1610
|
W.props = {
|
|
1548
1611
|
...oe.props,
|
|
1549
1612
|
...W.props,
|
|
1550
|
-
formMethods: { type: Array, default:
|
|
1613
|
+
formMethods: { type: Array, default: mt }
|
|
1551
1614
|
};
|
|
1552
1615
|
ae.props = {
|
|
1553
1616
|
...W.props,
|
|
1554
1617
|
...ae.props,
|
|
1555
1618
|
inline: { type: Boolean, default: !0 }
|
|
1556
1619
|
};
|
|
1557
|
-
|
|
1620
|
+
ve.props = {
|
|
1558
1621
|
...re.props,
|
|
1559
|
-
...
|
|
1622
|
+
...ve.props
|
|
1560
1623
|
};
|
|
1561
1624
|
le.props = {
|
|
1562
|
-
...
|
|
1625
|
+
...St.props,
|
|
1563
1626
|
...le.props
|
|
1564
1627
|
};
|
|
1565
1628
|
ne.props = {
|
|
1566
|
-
...
|
|
1629
|
+
...ot.props,
|
|
1567
1630
|
...ne.props
|
|
1568
1631
|
};
|
|
1569
|
-
ve.props = {
|
|
1570
|
-
...ne.props,
|
|
1571
|
-
...ve.props
|
|
1572
|
-
};
|
|
1573
1632
|
be.props = {
|
|
1574
|
-
...
|
|
1633
|
+
...ne.props,
|
|
1575
1634
|
...be.props
|
|
1576
1635
|
};
|
|
1577
1636
|
Se.props = {
|
|
1578
|
-
...
|
|
1637
|
+
...W.props,
|
|
1579
1638
|
...Se.props
|
|
1580
1639
|
};
|
|
1581
1640
|
pe.props = {
|
|
1582
|
-
...
|
|
1583
|
-
...pe.props
|
|
1584
|
-
modelValue: String
|
|
1641
|
+
...yt.props,
|
|
1642
|
+
...pe.props
|
|
1585
1643
|
};
|
|
1586
1644
|
Pe.props = {
|
|
1587
|
-
...
|
|
1645
|
+
...vt.props,
|
|
1588
1646
|
...Pe.props,
|
|
1647
|
+
modelValue: String
|
|
1648
|
+
};
|
|
1649
|
+
Ve.props = {
|
|
1650
|
+
...ut.props,
|
|
1651
|
+
...Ve.props,
|
|
1589
1652
|
placement: { type: String, default: "top-start" }
|
|
1590
1653
|
};
|
|
1591
|
-
const
|
|
1592
|
-
[
|
|
1593
|
-
[
|
|
1594
|
-
[
|
|
1595
|
-
[
|
|
1596
|
-
[
|
|
1597
|
-
[
|
|
1598
|
-
[
|
|
1599
|
-
[
|
|
1600
|
-
[
|
|
1601
|
-
[
|
|
1602
|
-
[
|
|
1603
|
-
[
|
|
1604
|
-
[
|
|
1605
|
-
[
|
|
1606
|
-
[
|
|
1607
|
-
[
|
|
1608
|
-
[
|
|
1609
|
-
[
|
|
1610
|
-
[
|
|
1611
|
-
[
|
|
1612
|
-
[
|
|
1613
|
-
[
|
|
1614
|
-
[
|
|
1615
|
-
[
|
|
1616
|
-
[
|
|
1617
|
-
[
|
|
1618
|
-
[
|
|
1619
|
-
[
|
|
1620
|
-
[
|
|
1654
|
+
const _a = {
|
|
1655
|
+
[V.LoadingKey]: st,
|
|
1656
|
+
[V.RowKey]: Dt,
|
|
1657
|
+
[V.ColKey]: Ut,
|
|
1658
|
+
[V.ButtonKey]: de,
|
|
1659
|
+
[V.DescriptionsKey]: ot,
|
|
1660
|
+
[V.DescriptionsItemKey]: zt,
|
|
1661
|
+
[V.MenusKey]: ga,
|
|
1662
|
+
[V.ModalKey]: yt,
|
|
1663
|
+
[V.DrawerKey]: da,
|
|
1664
|
+
[V.PaginationKey]: ca,
|
|
1665
|
+
[V.PopoverKey]: ia,
|
|
1666
|
+
[V.TooltipKey]: ut,
|
|
1667
|
+
[V.CheckboxKey]: rt,
|
|
1668
|
+
[V.FormKey]: ra,
|
|
1669
|
+
[V.FormItemKey]: it,
|
|
1670
|
+
[V.TableKey]: St,
|
|
1671
|
+
[V.TableV2Key]: Da,
|
|
1672
|
+
[V.TableOperateKey]: Aa,
|
|
1673
|
+
[V.UploaderKey]: vt,
|
|
1674
|
+
[V.DropdownKey]: pa,
|
|
1675
|
+
[V.ScrollKey]: jt,
|
|
1676
|
+
[V.EmptyKey]: Wt,
|
|
1677
|
+
[V.ProFormKey]: W,
|
|
1678
|
+
[V.ProSearchFormKey]: ae,
|
|
1679
|
+
[V.ProTableKey]: le,
|
|
1680
|
+
[V.ProCurdKey]: Pt,
|
|
1681
|
+
[V.ProListKey]: Vt,
|
|
1682
|
+
[V.ProPageKey]: Ct,
|
|
1683
|
+
[V.ProOperateKey]: xt,
|
|
1621
1684
|
text: Ce,
|
|
1622
|
-
digit:
|
|
1623
|
-
date:
|
|
1685
|
+
digit: Kt,
|
|
1686
|
+
date: kt,
|
|
1624
1687
|
time: Ce,
|
|
1625
|
-
select:
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1688
|
+
select: Z,
|
|
1689
|
+
selectv2: Z,
|
|
1690
|
+
radio: Z,
|
|
1691
|
+
checkbox: Z,
|
|
1692
|
+
treeSelect: xe,
|
|
1693
|
+
cascader: xe
|
|
1694
|
+
}, Za = {
|
|
1695
|
+
text: Ca,
|
|
1696
|
+
digit: xa,
|
|
1697
|
+
digitRange: Ka,
|
|
1698
|
+
date: ka,
|
|
1699
|
+
time: Fa,
|
|
1700
|
+
select: wa,
|
|
1701
|
+
selectv2: Ea,
|
|
1702
|
+
treeSelect: Ta,
|
|
1703
|
+
checkbox: Ra,
|
|
1704
|
+
radio: $a,
|
|
1705
|
+
switch: Ma,
|
|
1706
|
+
cascader: Na,
|
|
1707
|
+
color: Ia
|
|
1643
1708
|
};
|
|
1644
1709
|
export {
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
Ea as
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
xa as
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
ia as
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1710
|
+
mt as FormMethods,
|
|
1711
|
+
va as InputNumberRange,
|
|
1712
|
+
Va as ProCascader,
|
|
1713
|
+
ma as ProCheckbox,
|
|
1714
|
+
da as ProDrawer,
|
|
1715
|
+
pa as ProDropdown,
|
|
1716
|
+
ra as ProForm,
|
|
1717
|
+
Na as ProFormCascader,
|
|
1718
|
+
Ra as ProFormCheckbox,
|
|
1719
|
+
Ia as ProFormColor,
|
|
1720
|
+
ka as ProFormDatePicker,
|
|
1721
|
+
Ka as ProFormInputNumberRange,
|
|
1722
|
+
it as ProFormItem,
|
|
1723
|
+
$a as ProFormRadio,
|
|
1724
|
+
wa as ProFormSelect,
|
|
1725
|
+
Ea as ProFormSelectV2,
|
|
1726
|
+
Ma as ProFormSwitch,
|
|
1727
|
+
Ca as ProFormText,
|
|
1728
|
+
xa as ProFormTextNumber,
|
|
1729
|
+
Fa as ProFormTimePicker,
|
|
1730
|
+
Ta as ProFormTreeSelect,
|
|
1731
|
+
st as ProLoading,
|
|
1732
|
+
ga as ProMenus,
|
|
1733
|
+
yt as ProModal,
|
|
1734
|
+
ca as ProPagination,
|
|
1735
|
+
ia as ProPopover,
|
|
1736
|
+
fa as ProRadio,
|
|
1737
|
+
sa as ProSelect,
|
|
1738
|
+
ya as ProSelectV2,
|
|
1739
|
+
St as ProTable,
|
|
1740
|
+
bt as ProTableColumn,
|
|
1741
|
+
Aa as ProTableOperateItem,
|
|
1742
|
+
Da as ProTableV2,
|
|
1743
|
+
qa as ProTabs,
|
|
1744
|
+
Ga as ProTree,
|
|
1745
|
+
Pa as ProTreeSelect,
|
|
1746
|
+
vt as ProUploader,
|
|
1747
|
+
Oa as TableMethods,
|
|
1748
|
+
ba as TreeMethods,
|
|
1749
|
+
ha as UploadMethods,
|
|
1750
|
+
M as createFormItemComponent,
|
|
1751
|
+
ft as createLoadingId,
|
|
1752
|
+
_a as elementMap,
|
|
1753
|
+
Za as formElementMap
|
|
1687
1754
|
};
|