@vue-start/element-pro 0.2.36 → 0.2.37
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.d.ts +4 -8
- package/dist/index.es.js +515 -510
- 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 te, ElForm as ae, ElLoading as
|
|
3
|
-
import { defineComponent as
|
|
4
|
-
import { keys as
|
|
5
|
-
import { useEffect as _, generateId as
|
|
6
|
-
const
|
|
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 = () => ({
|
|
7
7
|
name: {
|
|
8
8
|
type: [String, Array]
|
|
9
9
|
}
|
|
10
|
-
}),
|
|
10
|
+
}), Qe = E({
|
|
11
11
|
props: {
|
|
12
12
|
...te.props,
|
|
13
|
-
...
|
|
13
|
+
...Be()
|
|
14
14
|
},
|
|
15
15
|
setup: (e, {
|
|
16
16
|
slots: t
|
|
17
17
|
}) => {
|
|
18
|
-
const u =
|
|
19
|
-
return () => c(te,
|
|
18
|
+
const u = I(Be());
|
|
19
|
+
return () => c(te, s(p(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
|
-
}),
|
|
26
|
+
}), Xe = ["clearValidate", "resetFields", "scrollToField", "validate", "validateField", "submit"], Zt = E({
|
|
27
27
|
props: {
|
|
28
28
|
...ae.props,
|
|
29
29
|
hideRequiredMark: {
|
|
@@ -36,27 +36,27 @@ const Ie = () => ({
|
|
|
36
36
|
emit: u,
|
|
37
37
|
expose: a
|
|
38
38
|
}) => {
|
|
39
|
-
const
|
|
39
|
+
const r = e.model || Bt({}), l = F();
|
|
40
40
|
return _(() => {
|
|
41
41
|
!l.value || (l.value.submit = () => {
|
|
42
42
|
var n;
|
|
43
|
-
(n = l.value) == null || n.validate((
|
|
44
|
-
|
|
43
|
+
(n = l.value) == null || n.validate((d, o) => {
|
|
44
|
+
d ? u("finish", Nt(r)) : u("finishFailed", o);
|
|
45
45
|
});
|
|
46
46
|
});
|
|
47
|
-
}, []), a(
|
|
47
|
+
}, []), a($e(Xe, l)), () => c(ae, s({
|
|
48
48
|
ref: l
|
|
49
|
-
},
|
|
50
|
-
hideRequiredAsterisk:
|
|
51
|
-
model:
|
|
49
|
+
}, p(e, "model"), {
|
|
50
|
+
hideRequiredAsterisk: W(e.hideRequiredMark) ? e.hideRequiredMark : e.hideRequiredAsterisk,
|
|
51
|
+
model: r
|
|
52
52
|
}), t);
|
|
53
53
|
}
|
|
54
|
-
}),
|
|
54
|
+
}), V = ut(Qe, (e, t, u) => ({
|
|
55
55
|
modelValue: e,
|
|
56
56
|
"onUpdate:modelValue": t,
|
|
57
57
|
clearable: !0,
|
|
58
58
|
disabled: u
|
|
59
|
-
})),
|
|
59
|
+
})), Ye = (e = "comp") => e + "-" + $t(), Ht = () => ({
|
|
60
60
|
loading: {
|
|
61
61
|
type: Boolean
|
|
62
62
|
},
|
|
@@ -84,21 +84,21 @@ const Ie = () => ({
|
|
|
84
84
|
customClass: {
|
|
85
85
|
type: String
|
|
86
86
|
}
|
|
87
|
-
}),
|
|
87
|
+
}), et = E({
|
|
88
88
|
props: {
|
|
89
89
|
...Ht()
|
|
90
90
|
},
|
|
91
91
|
setup: (e, {
|
|
92
92
|
slots: t
|
|
93
93
|
}) => {
|
|
94
|
-
const u =
|
|
94
|
+
const u = Ye();
|
|
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 &&
|
|
99
|
+
if (t.default ? a = document.getElementById(u) : e.target && Lt(e.target) && (a = document.querySelector("#" + e.target)), !a)
|
|
100
100
|
return;
|
|
101
|
-
const
|
|
101
|
+
const r = Ge.service({
|
|
102
102
|
target: a,
|
|
103
103
|
body: e.body,
|
|
104
104
|
fullscreen: e.fullscreen,
|
|
@@ -109,7 +109,7 @@ const Ie = () => ({
|
|
|
109
109
|
customClass: e.customClass
|
|
110
110
|
});
|
|
111
111
|
return () => {
|
|
112
|
-
|
|
112
|
+
r && r.close();
|
|
113
113
|
};
|
|
114
114
|
}, () => e.loading), () => t.default ? c("div", {
|
|
115
115
|
id: u
|
|
@@ -125,12 +125,10 @@ const Ie = () => ({
|
|
|
125
125
|
default: !1
|
|
126
126
|
},
|
|
127
127
|
cancelText: {
|
|
128
|
-
type: String
|
|
129
|
-
default: "\u53D6\u6D88"
|
|
128
|
+
type: String
|
|
130
129
|
},
|
|
131
130
|
okText: {
|
|
132
|
-
type: String
|
|
133
|
-
default: "\u786E\u8BA4"
|
|
131
|
+
type: String
|
|
134
132
|
},
|
|
135
133
|
confirmLoading: Boolean,
|
|
136
134
|
footer: {
|
|
@@ -148,9 +146,9 @@ const Ie = () => ({
|
|
|
148
146
|
type: Boolean,
|
|
149
147
|
default: !1
|
|
150
148
|
}
|
|
151
|
-
}),
|
|
149
|
+
}), tt = E({
|
|
152
150
|
props: {
|
|
153
|
-
...
|
|
151
|
+
...Pe.props,
|
|
154
152
|
appendToBody: {
|
|
155
153
|
type: Boolean,
|
|
156
154
|
default: !0
|
|
@@ -166,51 +164,53 @@ const Ie = () => ({
|
|
|
166
164
|
emit: u,
|
|
167
165
|
expose: a
|
|
168
166
|
}) => {
|
|
169
|
-
const
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
},
|
|
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 = () => {
|
|
176
176
|
u("ok");
|
|
177
|
-
},
|
|
177
|
+
}, f = qe(), S = f(b.ProOperateKey), g = f(b.ScrollKey), K = x(() => [{
|
|
178
178
|
value: "cancel",
|
|
179
|
-
label:
|
|
180
|
-
onClick:
|
|
179
|
+
label: r.value("cancel"),
|
|
180
|
+
onClick: d
|
|
181
181
|
}, {
|
|
182
182
|
value: "ok",
|
|
183
|
-
label:
|
|
183
|
+
label: r.value("confirm"),
|
|
184
184
|
loading: e.confirmLoading,
|
|
185
185
|
extraProps: {
|
|
186
186
|
type: "primary"
|
|
187
187
|
},
|
|
188
|
-
onClick:
|
|
189
|
-
}]),
|
|
188
|
+
onClick: o
|
|
189
|
+
}]), k = I(oe());
|
|
190
190
|
return () => {
|
|
191
|
-
const
|
|
192
|
-
return e.useScroll &&
|
|
193
|
-
class:
|
|
194
|
-
ref:
|
|
195
|
-
},
|
|
196
|
-
closeOnClickModal:
|
|
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,
|
|
197
197
|
modelValue: e.visible || e.modelValue,
|
|
198
|
-
"onUpdate:modelValue":
|
|
198
|
+
"onUpdate:modelValue": n
|
|
199
199
|
}), {
|
|
200
200
|
footer: e.footer === !1 ? void 0 : () => c(S, {
|
|
201
|
-
items:
|
|
201
|
+
items: K.value
|
|
202
202
|
}, null),
|
|
203
203
|
...t,
|
|
204
204
|
default: () => {
|
|
205
|
-
var
|
|
206
|
-
return e.useScroll ? c(
|
|
205
|
+
var T;
|
|
206
|
+
return e.useScroll ? c(g, s({
|
|
207
207
|
class: `${e.clsName}-scroll`
|
|
208
208
|
}, e.scrollProps), {
|
|
209
209
|
default: () => {
|
|
210
|
-
var
|
|
211
|
-
return [(
|
|
210
|
+
var B;
|
|
211
|
+
return [(B = t.default) == null ? void 0 : B.call(t)];
|
|
212
212
|
}
|
|
213
|
-
}) : (
|
|
213
|
+
}) : (T = t.default) == null ? void 0 : T.call(t);
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
};
|
|
@@ -225,12 +225,10 @@ const Ie = () => ({
|
|
|
225
225
|
default: !1
|
|
226
226
|
},
|
|
227
227
|
cancelText: {
|
|
228
|
-
type: String
|
|
229
|
-
default: "\u53D6\u6D88"
|
|
228
|
+
type: String
|
|
230
229
|
},
|
|
231
230
|
okText: {
|
|
232
|
-
type: String
|
|
233
|
-
default: "\u786E\u8BA4"
|
|
231
|
+
type: String
|
|
234
232
|
},
|
|
235
233
|
footer: {
|
|
236
234
|
type: Boolean,
|
|
@@ -244,9 +242,9 @@ const Ie = () => ({
|
|
|
244
242
|
type: Boolean,
|
|
245
243
|
default: !1
|
|
246
244
|
}
|
|
247
|
-
}), Qt =
|
|
245
|
+
}), Qt = E({
|
|
248
246
|
props: {
|
|
249
|
-
...
|
|
247
|
+
...he.props,
|
|
250
248
|
...Jt(),
|
|
251
249
|
appendToBody: {
|
|
252
250
|
type: Boolean,
|
|
@@ -262,57 +260,59 @@ const Ie = () => ({
|
|
|
262
260
|
emit: u,
|
|
263
261
|
expose: a
|
|
264
262
|
}) => {
|
|
265
|
-
const
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
},
|
|
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 = () => {
|
|
272
272
|
u("ok");
|
|
273
|
-
},
|
|
273
|
+
}, f = qe(), S = f(b.ProOperateKey), g = f(b.ScrollKey), K = x(() => [{
|
|
274
274
|
value: "cancel",
|
|
275
|
-
label:
|
|
276
|
-
onClick:
|
|
275
|
+
label: r.value("cancel"),
|
|
276
|
+
onClick: d
|
|
277
277
|
}, {
|
|
278
278
|
value: "ok",
|
|
279
|
-
label:
|
|
279
|
+
label: r.value("confirm"),
|
|
280
280
|
loading: e.confirmLoading,
|
|
281
281
|
extraProps: {
|
|
282
282
|
type: "primary"
|
|
283
283
|
},
|
|
284
|
-
onClick:
|
|
285
|
-
}]),
|
|
284
|
+
onClick: o
|
|
285
|
+
}]), k = I(oe());
|
|
286
286
|
return () => {
|
|
287
|
-
const
|
|
288
|
-
return e.useScroll &&
|
|
289
|
-
class:
|
|
290
|
-
ref:
|
|
291
|
-
},
|
|
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), {
|
|
292
292
|
modelValue: e.visible || e.modelValue,
|
|
293
|
-
"onUpdate:modelValue":
|
|
293
|
+
"onUpdate:modelValue": n
|
|
294
294
|
}), {
|
|
295
295
|
footer: e.footer === !1 ? void 0 : () => c(S, {
|
|
296
|
-
items:
|
|
296
|
+
items: K.value
|
|
297
297
|
}, null),
|
|
298
298
|
...t,
|
|
299
299
|
default: () => {
|
|
300
|
-
var
|
|
301
|
-
return e.useScroll ? c(
|
|
300
|
+
var T;
|
|
301
|
+
return e.useScroll ? c(g, s({
|
|
302
302
|
class: `${e.clsName}-scroll`
|
|
303
303
|
}, e.scrollProps), {
|
|
304
304
|
default: () => {
|
|
305
|
-
var
|
|
306
|
-
return [(
|
|
305
|
+
var B;
|
|
306
|
+
return [(B = t.default) == null ? void 0 : B.call(t)];
|
|
307
307
|
}
|
|
308
|
-
}) : (
|
|
308
|
+
}) : (T = t.default) == null ? void 0 : T.call(t);
|
|
309
309
|
}
|
|
310
310
|
});
|
|
311
311
|
};
|
|
312
312
|
}
|
|
313
|
-
}), Xt =
|
|
313
|
+
}), Xt = E({
|
|
314
314
|
props: {
|
|
315
|
-
...
|
|
315
|
+
...Ce.props,
|
|
316
316
|
page: {
|
|
317
317
|
type: Number,
|
|
318
318
|
default: 1
|
|
@@ -322,39 +322,39 @@ const Ie = () => ({
|
|
|
322
322
|
slots: t,
|
|
323
323
|
emit: u
|
|
324
324
|
}) => {
|
|
325
|
-
const a =
|
|
326
|
-
|
|
325
|
+
const a = F(e.page), r = F(e.pageSize);
|
|
326
|
+
j(() => {
|
|
327
327
|
a.value !== e.page && (a.value = e.page);
|
|
328
|
-
}, () => e.page),
|
|
329
|
-
|
|
328
|
+
}, () => e.page), j(() => {
|
|
329
|
+
r.value !== e.pageSize && (r.value = e.pageSize);
|
|
330
330
|
}, () => e.pageSize);
|
|
331
|
-
const l =
|
|
332
|
-
u("composeChange", a.value,
|
|
331
|
+
const l = Ut(() => {
|
|
332
|
+
u("composeChange", a.value, r.value);
|
|
333
333
|
}, 300), n = () => {
|
|
334
334
|
l(), u("update:page", a.value);
|
|
335
|
-
},
|
|
336
|
-
l(), u("update:pageSize",
|
|
335
|
+
}, d = () => {
|
|
336
|
+
l(), u("update:pageSize", r.value);
|
|
337
337
|
};
|
|
338
|
-
return () => c(
|
|
338
|
+
return () => c(Ce, s({
|
|
339
339
|
currentPage: a.value,
|
|
340
|
-
"onUpdate:currentPage": (
|
|
341
|
-
pageSize:
|
|
342
|
-
"onUpdate:pageSize": (
|
|
340
|
+
"onUpdate:currentPage": (o) => a.value = o,
|
|
341
|
+
pageSize: r.value,
|
|
342
|
+
"onUpdate:pageSize": (o) => r.value = o,
|
|
343
343
|
onCurrentChange: n,
|
|
344
|
-
onSizeChange:
|
|
345
|
-
},
|
|
344
|
+
onSizeChange: d
|
|
345
|
+
}, p(e, "currentPage", "pageSize")), t);
|
|
346
346
|
}
|
|
347
|
-
}), Yt =
|
|
347
|
+
}), Yt = E({
|
|
348
348
|
props: {
|
|
349
|
-
...
|
|
349
|
+
...Ke.props
|
|
350
350
|
},
|
|
351
351
|
setup: (e, {
|
|
352
352
|
slots: t
|
|
353
|
-
}) => () => c(
|
|
353
|
+
}) => () => c(Ke, e, {
|
|
354
354
|
reference: t.default,
|
|
355
355
|
default: t.content
|
|
356
356
|
})
|
|
357
|
-
}),
|
|
357
|
+
}), Ne = () => ({
|
|
358
358
|
options: Array,
|
|
359
359
|
buttonStyle: {
|
|
360
360
|
type: String,
|
|
@@ -364,49 +364,49 @@ const Ie = () => ({
|
|
|
364
364
|
type: String,
|
|
365
365
|
default: "default"
|
|
366
366
|
}
|
|
367
|
-
}), ea =
|
|
367
|
+
}), ea = E({
|
|
368
368
|
props: {
|
|
369
|
-
...
|
|
370
|
-
...
|
|
369
|
+
...Ee.props,
|
|
370
|
+
...Ne()
|
|
371
371
|
},
|
|
372
372
|
setup: (e, {
|
|
373
373
|
slots: t,
|
|
374
374
|
emit: u,
|
|
375
375
|
expose: a
|
|
376
376
|
}) => {
|
|
377
|
-
const
|
|
378
|
-
a(
|
|
379
|
-
const l =
|
|
380
|
-
return () => c(
|
|
381
|
-
ref:
|
|
382
|
-
},
|
|
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
383
|
"onUpdate:modelValue": (n) => {
|
|
384
384
|
u("update:modelValue", n || void 0);
|
|
385
385
|
}
|
|
386
386
|
}), {
|
|
387
387
|
default: () => {
|
|
388
|
-
var n,
|
|
389
|
-
return [(n = t.start) == null ? void 0 : n.call(t),
|
|
390
|
-
var
|
|
391
|
-
const
|
|
392
|
-
return e.optionType === "button" || e.buttonStyle === "button" ? c(
|
|
393
|
-
key:
|
|
394
|
-
},
|
|
395
|
-
label:
|
|
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
|
|
396
396
|
}), {
|
|
397
|
-
default: () => [
|
|
398
|
-
}) : c(
|
|
399
|
-
key:
|
|
400
|
-
},
|
|
401
|
-
label:
|
|
397
|
+
default: () => [f || o.label]
|
|
398
|
+
}) : c(We, s({
|
|
399
|
+
key: o.value
|
|
400
|
+
}, o, {
|
|
401
|
+
label: o.value
|
|
402
402
|
}), {
|
|
403
|
-
default: () => [
|
|
403
|
+
default: () => [f || o.label]
|
|
404
404
|
});
|
|
405
|
-
}), (
|
|
405
|
+
}), (d = t.default) == null ? void 0 : d.call(t)];
|
|
406
406
|
}
|
|
407
407
|
});
|
|
408
408
|
}
|
|
409
|
-
}),
|
|
409
|
+
}), Oe = () => ({
|
|
410
410
|
options: {
|
|
411
411
|
type: Array
|
|
412
412
|
},
|
|
@@ -418,86 +418,86 @@ const Ie = () => ({
|
|
|
418
418
|
type: String,
|
|
419
419
|
default: "default"
|
|
420
420
|
}
|
|
421
|
-
}), ta =
|
|
421
|
+
}), ta = E({
|
|
422
422
|
props: {
|
|
423
423
|
...ke.props,
|
|
424
|
-
...
|
|
424
|
+
...Oe()
|
|
425
425
|
},
|
|
426
426
|
setup: (e, {
|
|
427
427
|
slots: t,
|
|
428
428
|
emit: u,
|
|
429
429
|
expose: a
|
|
430
430
|
}) => {
|
|
431
|
-
const
|
|
432
|
-
a(
|
|
433
|
-
const l =
|
|
434
|
-
return () => c(ke,
|
|
435
|
-
ref:
|
|
436
|
-
},
|
|
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
437
|
"onUpdate:modelValue": (n) => {
|
|
438
438
|
u("update:modelValue", n);
|
|
439
439
|
}
|
|
440
440
|
}), {
|
|
441
441
|
default: () => {
|
|
442
|
-
var n,
|
|
443
|
-
return [(n = t.start) == null ? void 0 : n.call(t),
|
|
444
|
-
var
|
|
445
|
-
const
|
|
446
|
-
return e.optionType === "button" || e.buttonStyle === "button" ? c(
|
|
447
|
-
key:
|
|
448
|
-
},
|
|
449
|
-
label:
|
|
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
|
|
450
450
|
}), {
|
|
451
|
-
default: () => [
|
|
452
|
-
}) : c(
|
|
453
|
-
key:
|
|
454
|
-
},
|
|
455
|
-
label:
|
|
451
|
+
default: () => [f || o.label]
|
|
452
|
+
}) : c(vt, s({
|
|
453
|
+
key: o.value
|
|
454
|
+
}, p(o, "value"), {
|
|
455
|
+
label: o.value
|
|
456
456
|
}), {
|
|
457
|
-
default: () => [
|
|
457
|
+
default: () => [f || o.label]
|
|
458
458
|
});
|
|
459
|
-
}), (
|
|
459
|
+
}), (d = t.default) == null ? void 0 : d.call(t)];
|
|
460
460
|
}
|
|
461
461
|
});
|
|
462
462
|
}
|
|
463
|
-
}),
|
|
463
|
+
}), De = () => ({
|
|
464
464
|
options: Array
|
|
465
|
-
}), aa =
|
|
465
|
+
}), aa = E({
|
|
466
466
|
props: {
|
|
467
|
-
...
|
|
468
|
-
...
|
|
467
|
+
...Fe.props,
|
|
468
|
+
...De()
|
|
469
469
|
},
|
|
470
470
|
setup: (e, {
|
|
471
471
|
slots: t,
|
|
472
472
|
emit: u,
|
|
473
473
|
expose: a
|
|
474
474
|
}) => {
|
|
475
|
-
const
|
|
476
|
-
a(
|
|
477
|
-
const l =
|
|
478
|
-
return () => c(
|
|
479
|
-
ref:
|
|
480
|
-
},
|
|
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
481
|
"onUpdate:modelValue": (n) => {
|
|
482
482
|
u("update:modelValue", n || void 0);
|
|
483
483
|
}
|
|
484
484
|
}), {
|
|
485
485
|
default: () => {
|
|
486
|
-
var n,
|
|
487
|
-
return [(n = t.start) == null ? void 0 : n.call(t),
|
|
488
|
-
var
|
|
489
|
-
const
|
|
490
|
-
return c(
|
|
491
|
-
key:
|
|
492
|
-
},
|
|
493
|
-
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]
|
|
494
494
|
});
|
|
495
|
-
}), (
|
|
495
|
+
}), (d = t.default) == null ? void 0 : d.call(t)];
|
|
496
496
|
},
|
|
497
|
-
...
|
|
497
|
+
...p(t, "default")
|
|
498
498
|
});
|
|
499
499
|
}
|
|
500
|
-
}), Ta =
|
|
500
|
+
}), Ta = E({
|
|
501
501
|
props: {
|
|
502
502
|
...xe.props,
|
|
503
503
|
options: {
|
|
@@ -507,27 +507,27 @@ const Ie = () => ({
|
|
|
507
507
|
setup: (e, {
|
|
508
508
|
slots: t,
|
|
509
509
|
emit: u
|
|
510
|
-
}) => () => c(xe,
|
|
510
|
+
}) => () => c(xe, s(p(e, "options"), {
|
|
511
511
|
"onUpdate:modelValue": (a) => {
|
|
512
512
|
u("update:modelValue", a);
|
|
513
513
|
}
|
|
514
514
|
}), {
|
|
515
515
|
default: () => {
|
|
516
|
-
var a,
|
|
517
|
-
return [(a = t.start) == null ? void 0 : a.call(t),
|
|
516
|
+
var a, r;
|
|
517
|
+
return [(a = t.start) == null ? void 0 : a.call(t), M(e.options, (l) => c(pt, s({
|
|
518
518
|
key: l.value
|
|
519
|
-
},
|
|
519
|
+
}, p(l, "value"), {
|
|
520
520
|
name: l.value
|
|
521
521
|
}), {
|
|
522
522
|
label: () => {
|
|
523
523
|
var n;
|
|
524
524
|
return ((n = t.label) == null ? void 0 : n.call(t, l)) || l.label;
|
|
525
525
|
}
|
|
526
|
-
})), (
|
|
526
|
+
})), (r = t.end) == null ? void 0 : r.call(t)];
|
|
527
527
|
},
|
|
528
528
|
...t
|
|
529
529
|
})
|
|
530
|
-
}),
|
|
530
|
+
}), de = {
|
|
531
531
|
convertSubMenuProps: {
|
|
532
532
|
type: Function
|
|
533
533
|
},
|
|
@@ -537,13 +537,13 @@ const Ie = () => ({
|
|
|
537
537
|
onMenuItemClick: {
|
|
538
538
|
type: Function
|
|
539
539
|
}
|
|
540
|
-
},
|
|
540
|
+
}, at = I(de), nt = E({
|
|
541
541
|
inheritAttrs: !1,
|
|
542
542
|
props: {
|
|
543
543
|
menu: {
|
|
544
544
|
type: Object
|
|
545
545
|
},
|
|
546
|
-
...
|
|
546
|
+
...de
|
|
547
547
|
},
|
|
548
548
|
setup: (e, {
|
|
549
549
|
slots: t
|
|
@@ -553,19 +553,19 @@ const Ie = () => ({
|
|
|
553
553
|
(a = e.onMenuItemClick) == null || a.call(e, e.menu);
|
|
554
554
|
};
|
|
555
555
|
return () => {
|
|
556
|
-
var
|
|
556
|
+
var r, l;
|
|
557
557
|
const a = e.menu;
|
|
558
|
-
return (a == null ? void 0 : a.children) &&
|
|
558
|
+
return (a == null ? void 0 : a.children) && D(a.children) > 0 ? c(G.SubMenu, s({
|
|
559
559
|
index: a == null ? void 0 : a.value
|
|
560
|
-
}, (
|
|
561
|
-
default: () => [
|
|
560
|
+
}, (r = e.convertSubMenuProps) == null ? void 0 : r.call(e, a)), {
|
|
561
|
+
default: () => [M(a.children, (n) => c(nt, s({
|
|
562
562
|
menu: n
|
|
563
|
-
},
|
|
563
|
+
}, ce(e, at)), t))],
|
|
564
564
|
title: () => {
|
|
565
565
|
var n;
|
|
566
566
|
return ((n = t.title) == null ? void 0 : n.call(t, a)) || (a == null ? void 0 : a.label);
|
|
567
567
|
}
|
|
568
|
-
}) : c(
|
|
568
|
+
}) : c(G.MenuItem, s({
|
|
569
569
|
index: a == null ? void 0 : a.value
|
|
570
570
|
}, (l = e.convertMenuItemProps) == null ? void 0 : l.call(e, a), {
|
|
571
571
|
onClick: u
|
|
@@ -581,7 +581,7 @@ const Ie = () => ({
|
|
|
581
581
|
});
|
|
582
582
|
};
|
|
583
583
|
}
|
|
584
|
-
}),
|
|
584
|
+
}), Le = () => ({
|
|
585
585
|
activeKey: {
|
|
586
586
|
type: String
|
|
587
587
|
},
|
|
@@ -596,43 +596,43 @@ const Ie = () => ({
|
|
|
596
596
|
label: "label"
|
|
597
597
|
}
|
|
598
598
|
},
|
|
599
|
-
...
|
|
600
|
-
}), na =
|
|
599
|
+
...de
|
|
600
|
+
}), na = E({
|
|
601
601
|
props: {
|
|
602
|
-
...
|
|
603
|
-
...
|
|
602
|
+
...p(G.props, "defaultActive"),
|
|
603
|
+
...Le()
|
|
604
604
|
},
|
|
605
605
|
setup: (e, {
|
|
606
606
|
slots: t
|
|
607
607
|
}) => {
|
|
608
|
-
const u =
|
|
609
|
-
|
|
608
|
+
const u = F(e.activeKey);
|
|
609
|
+
j(() => {
|
|
610
610
|
e.activeKey !== u.value && (u.value = e.activeKey);
|
|
611
611
|
}, () => e.activeKey);
|
|
612
|
-
const a =
|
|
612
|
+
const a = x(() => {
|
|
613
613
|
var l;
|
|
614
|
-
return
|
|
615
|
-
var
|
|
616
|
-
const
|
|
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";
|
|
617
617
|
return {
|
|
618
|
-
...
|
|
619
|
-
value:
|
|
620
|
-
label:
|
|
618
|
+
...p(n, d, o),
|
|
619
|
+
value: N(n, d),
|
|
620
|
+
label: N(n, o)
|
|
621
621
|
};
|
|
622
622
|
}, {
|
|
623
623
|
children: ((l = e.fieldNames) == null ? void 0 : l.children) || "children",
|
|
624
624
|
childrenName: "children"
|
|
625
625
|
});
|
|
626
|
-
}),
|
|
627
|
-
return () => c(
|
|
626
|
+
}), r = I(Le());
|
|
627
|
+
return () => c(G, s({
|
|
628
628
|
defaultActive: u.value
|
|
629
|
-
},
|
|
630
|
-
default: () => c(
|
|
629
|
+
}, p(e, r)), {
|
|
630
|
+
default: () => c(He, null, [M(a.value, (l) => c(nt, s({
|
|
631
631
|
menu: l
|
|
632
|
-
},
|
|
632
|
+
}, ce(e, at)), t))])
|
|
633
633
|
});
|
|
634
634
|
}
|
|
635
|
-
}),
|
|
635
|
+
}), Ue = () => ({
|
|
636
636
|
modelValue: {
|
|
637
637
|
type: Array,
|
|
638
638
|
default: void 0
|
|
@@ -663,10 +663,10 @@ const Ie = () => ({
|
|
|
663
663
|
type: Function,
|
|
664
664
|
default: void 0
|
|
665
665
|
}
|
|
666
|
-
}), la = ["abort", "submit", "clearFiles", "handleStart", "handleRemove"],
|
|
666
|
+
}), la = ["abort", "submit", "clearFiles", "handleStart", "handleRemove"], lt = E({
|
|
667
667
|
props: {
|
|
668
|
-
...
|
|
669
|
-
...
|
|
668
|
+
...p(Te.props, "fileList"),
|
|
669
|
+
...Ue()
|
|
670
670
|
},
|
|
671
671
|
setup: (e, {
|
|
672
672
|
slots: t,
|
|
@@ -674,96 +674,101 @@ const Ie = () => ({
|
|
|
674
674
|
emit: a
|
|
675
675
|
}) => {
|
|
676
676
|
const {
|
|
677
|
-
showMsg:
|
|
678
|
-
|
|
679
|
-
|
|
677
|
+
showMsg: r,
|
|
678
|
+
t: l
|
|
679
|
+
} = ue(), n = F();
|
|
680
|
+
u(L(n, la));
|
|
680
681
|
const {
|
|
681
|
-
formItem:
|
|
682
|
-
} =
|
|
683
|
-
var
|
|
684
|
-
return ((
|
|
685
|
-
}) : [],
|
|
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());
|
|
686
687
|
let S = !1;
|
|
687
|
-
const
|
|
688
|
-
var
|
|
688
|
+
const g = () => {
|
|
689
|
+
var y;
|
|
689
690
|
S = !0;
|
|
690
|
-
const
|
|
691
|
-
a("update:modelValue",
|
|
692
|
-
var
|
|
693
|
-
return ((
|
|
694
|
-
})), (
|
|
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");
|
|
695
696
|
};
|
|
696
|
-
|
|
697
|
-
S || (
|
|
697
|
+
j(() => {
|
|
698
|
+
S || (f.value = o(), S = !1);
|
|
698
699
|
}, () => e.modelValue);
|
|
699
|
-
let
|
|
700
|
-
const
|
|
701
|
-
e.globalLoading && (
|
|
700
|
+
let K;
|
|
701
|
+
const k = () => {
|
|
702
|
+
e.globalLoading && (K = Ge.service({
|
|
702
703
|
lock: !0,
|
|
703
|
-
text: "
|
|
704
|
-
...
|
|
704
|
+
text: l.value("uploadingWatting"),
|
|
705
|
+
...W(e.globalLoading) ? {} : e.globalLoading
|
|
705
706
|
}));
|
|
706
|
-
},
|
|
707
|
-
e.globalLoading && (
|
|
707
|
+
}, P = () => {
|
|
708
|
+
e.globalLoading && (K == null || K.close());
|
|
708
709
|
};
|
|
709
710
|
_(() => () => {
|
|
710
|
-
|
|
711
|
+
P();
|
|
711
712
|
}, []);
|
|
712
|
-
const
|
|
713
|
+
const T = (i, y, m) => {
|
|
713
714
|
if (e.onErrorMsg) {
|
|
714
|
-
e.onErrorMsg(
|
|
715
|
+
e.onErrorMsg(i, y);
|
|
715
716
|
return;
|
|
716
717
|
}
|
|
717
|
-
|
|
718
|
+
r({
|
|
718
719
|
type: "error",
|
|
719
|
-
message:
|
|
720
|
+
message: y
|
|
720
721
|
});
|
|
721
|
-
},
|
|
722
|
-
var
|
|
722
|
+
}, B = (i) => {
|
|
723
|
+
var y;
|
|
723
724
|
if (e.beforeUpload)
|
|
724
|
-
return e.beforeUpload(
|
|
725
|
-
if (e.accept && !
|
|
726
|
-
return
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
if (
|
|
731
|
-
return
|
|
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`, {
|
|
728
|
+
accept: e.accept.replace(/,/g, "\uFF0C")
|
|
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)
|
|
736
|
+
}), !1;
|
|
732
737
|
}
|
|
733
|
-
return (
|
|
734
|
-
},
|
|
735
|
-
var
|
|
736
|
-
(
|
|
737
|
-
},
|
|
738
|
-
var
|
|
739
|
-
(
|
|
740
|
-
},
|
|
741
|
-
var
|
|
742
|
-
|
|
743
|
-
},
|
|
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());
|
|
744
749
|
return () => {
|
|
745
|
-
var
|
|
750
|
+
var i, y;
|
|
746
751
|
return c("div", {
|
|
747
|
-
class: `pro-uploader ${
|
|
748
|
-
}, [(
|
|
749
|
-
ref:
|
|
750
|
-
fileList:
|
|
751
|
-
"onUpdate:fileList": (
|
|
752
|
-
},
|
|
753
|
-
beforeUpload:
|
|
754
|
-
onSuccess:
|
|
755
|
-
onError:
|
|
756
|
-
onRemove:
|
|
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,
|
|
759
|
+
onSuccess: Z,
|
|
760
|
+
onError: H,
|
|
761
|
+
onRemove: v
|
|
757
762
|
}), {
|
|
758
763
|
default: () => {
|
|
759
|
-
var
|
|
760
|
-
return [
|
|
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))])];
|
|
761
766
|
},
|
|
762
|
-
...
|
|
763
|
-
}), (
|
|
767
|
+
...p(t, "default")
|
|
768
|
+
}), (y = t.end) == null ? void 0 : y.call(t)]);
|
|
764
769
|
};
|
|
765
770
|
}
|
|
766
|
-
}),
|
|
771
|
+
}), ze = () => ({
|
|
767
772
|
modelValue: {
|
|
768
773
|
type: Array
|
|
769
774
|
},
|
|
@@ -780,54 +785,54 @@ const Ie = () => ({
|
|
|
780
785
|
divider: {
|
|
781
786
|
type: Function
|
|
782
787
|
}
|
|
783
|
-
}), ra =
|
|
788
|
+
}), ra = E({
|
|
784
789
|
props: {
|
|
785
|
-
...
|
|
790
|
+
...p(q.props, "modelValue"),
|
|
786
791
|
controlsPosition: {
|
|
787
792
|
type: String,
|
|
788
793
|
default: "right"
|
|
789
794
|
},
|
|
790
|
-
...
|
|
795
|
+
...ze()
|
|
791
796
|
},
|
|
792
797
|
setup: (e, {
|
|
793
798
|
slots: t,
|
|
794
799
|
emit: u
|
|
795
800
|
}) => {
|
|
796
|
-
const a =
|
|
801
|
+
const a = F(N(e.modelValue, 0)), r = F(N(e.modelValue, 1));
|
|
797
802
|
let l = !1;
|
|
798
|
-
|
|
799
|
-
l || (a.value =
|
|
803
|
+
j(() => {
|
|
804
|
+
l || (a.value = N(e.modelValue, 0), r.value = N(e.modelValue, 1)), l = !1;
|
|
800
805
|
}, [e.modelValue, () => e.modelValue]);
|
|
801
806
|
const n = () => {
|
|
802
|
-
l = !0, e.singleEmit ? u("update:modelValue", [a.value,
|
|
803
|
-
},
|
|
804
|
-
for (let
|
|
805
|
-
if (
|
|
806
|
-
return
|
|
807
|
-
},
|
|
808
|
-
var
|
|
809
|
-
return
|
|
810
|
-
}),
|
|
811
|
-
var
|
|
812
|
-
return
|
|
813
|
-
}),
|
|
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());
|
|
814
819
|
return () => {
|
|
815
|
-
var
|
|
816
|
-
const
|
|
820
|
+
var K, k;
|
|
821
|
+
const g = p(e, ...S, "min", "max");
|
|
817
822
|
return c("span", {
|
|
818
823
|
class: "pro-number-range"
|
|
819
|
-
}, [c(
|
|
820
|
-
max:
|
|
824
|
+
}, [c(q, s(g, p(e.start, "max"), {
|
|
825
|
+
max: o.value,
|
|
821
826
|
modelValue: a.value,
|
|
822
|
-
"onUpdate:modelValue": [(
|
|
823
|
-
}), null), c("span", null, [((
|
|
824
|
-
min:
|
|
825
|
-
modelValue:
|
|
826
|
-
"onUpdate:modelValue": [(
|
|
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
832
|
}), null)]);
|
|
828
833
|
};
|
|
829
834
|
}
|
|
830
|
-
}),
|
|
835
|
+
}), Ae = () => ({
|
|
831
836
|
treeData: {
|
|
832
837
|
type: Array
|
|
833
838
|
},
|
|
@@ -844,15 +849,15 @@ const Ie = () => ({
|
|
|
844
849
|
checkedKeys: {
|
|
845
850
|
type: Array
|
|
846
851
|
}
|
|
847
|
-
}), Ra =
|
|
852
|
+
}), Ra = E({
|
|
848
853
|
props: {
|
|
849
|
-
...
|
|
850
|
-
...
|
|
854
|
+
...Re.props,
|
|
855
|
+
...Ae()
|
|
851
856
|
},
|
|
852
857
|
setup: (e, {
|
|
853
858
|
slots: t
|
|
854
859
|
}) => {
|
|
855
|
-
const u =
|
|
860
|
+
const u = I(Ae()), r = (() => {
|
|
856
861
|
const l = e.fieldNames;
|
|
857
862
|
if (!!l)
|
|
858
863
|
return {
|
|
@@ -865,11 +870,11 @@ const Ie = () => ({
|
|
|
865
870
|
})();
|
|
866
871
|
return () => {
|
|
867
872
|
var l;
|
|
868
|
-
return c(
|
|
873
|
+
return c(Re, s(p(e, u), {
|
|
869
874
|
data: e.treeData || e.data,
|
|
870
|
-
props:
|
|
875
|
+
props: r || e.props,
|
|
871
876
|
nodeKey: ((l = e.fieldNames) == null ? void 0 : l.key) || e.nodeKey,
|
|
872
|
-
showCheckbox:
|
|
877
|
+
showCheckbox: W(e.selectable) ? e.selectable : e.showCheckbox,
|
|
873
878
|
defaultExpandedKeys: e.expandedKeys || e.defaultExpandedKeys,
|
|
874
879
|
defaultCheckedKeys: e.checkedKeys || e.checkedKeys
|
|
875
880
|
}), t);
|
|
@@ -877,34 +882,34 @@ const Ie = () => ({
|
|
|
877
882
|
}
|
|
878
883
|
});
|
|
879
884
|
function oa(e) {
|
|
880
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !
|
|
885
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Ot(e);
|
|
881
886
|
}
|
|
882
|
-
const
|
|
887
|
+
const je = () => ({
|
|
883
888
|
options: Array
|
|
884
|
-
}), ua =
|
|
889
|
+
}), ua = E({
|
|
885
890
|
props: {
|
|
886
|
-
...
|
|
887
|
-
...
|
|
891
|
+
...we.props,
|
|
892
|
+
...je()
|
|
888
893
|
},
|
|
889
894
|
setup: (e, {
|
|
890
895
|
slots: t,
|
|
891
896
|
expose: u
|
|
892
897
|
}) => {
|
|
893
|
-
const a =
|
|
894
|
-
u(
|
|
895
|
-
const
|
|
896
|
-
return () => c(
|
|
898
|
+
const a = F();
|
|
899
|
+
u(L(a));
|
|
900
|
+
const r = I(je());
|
|
901
|
+
return () => c(we, s({
|
|
897
902
|
ref: a
|
|
898
|
-
},
|
|
903
|
+
}, p(e, r)), {
|
|
899
904
|
dropdown: () => {
|
|
900
905
|
let l;
|
|
901
|
-
return c(
|
|
902
|
-
var
|
|
903
|
-
const
|
|
904
|
-
return c(
|
|
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({
|
|
905
910
|
command: n.value
|
|
906
|
-
},
|
|
907
|
-
default: () => [
|
|
911
|
+
}, p(n, "value", "label")), {
|
|
912
|
+
default: () => [d || n.label]
|
|
908
913
|
});
|
|
909
914
|
})) ? l : {
|
|
910
915
|
default: () => [l]
|
|
@@ -913,57 +918,57 @@ const Ae = () => ({
|
|
|
913
918
|
...t
|
|
914
919
|
});
|
|
915
920
|
}
|
|
916
|
-
}), ca =
|
|
917
|
-
InputComp:
|
|
921
|
+
}), ca = V({
|
|
922
|
+
InputComp: Ct,
|
|
918
923
|
valueType: "text",
|
|
919
924
|
name: "PFromText"
|
|
920
|
-
}), da =
|
|
921
|
-
InputComp:
|
|
925
|
+
}), da = V({
|
|
926
|
+
InputComp: q,
|
|
922
927
|
valueType: "digit",
|
|
923
928
|
name: "PFormNumber"
|
|
924
|
-
}), ia =
|
|
929
|
+
}), ia = V({
|
|
925
930
|
InputComp: ra,
|
|
926
931
|
valueType: "digitRange",
|
|
927
932
|
name: "PFormNumberRange"
|
|
928
|
-
}), fa =
|
|
929
|
-
InputComp:
|
|
933
|
+
}), fa = V({
|
|
934
|
+
InputComp: Kt,
|
|
930
935
|
valueType: "date",
|
|
931
936
|
name: "PFormDate"
|
|
932
|
-
}), ya =
|
|
933
|
-
InputComp:
|
|
937
|
+
}), ya = V({
|
|
938
|
+
InputComp: Et,
|
|
934
939
|
valueType: "time",
|
|
935
940
|
name: "PFormTime"
|
|
936
|
-
}), ma =
|
|
941
|
+
}), ma = V({
|
|
937
942
|
InputComp: aa,
|
|
938
943
|
valueType: "select",
|
|
939
944
|
name: "PFormSelect"
|
|
940
|
-
}), sa =
|
|
945
|
+
}), sa = V({
|
|
941
946
|
InputComp: kt,
|
|
942
947
|
valueType: "treeSelect",
|
|
943
948
|
name: "PFormTreeSelect"
|
|
944
|
-
}), ga =
|
|
949
|
+
}), ga = V({
|
|
945
950
|
InputComp: ea,
|
|
946
951
|
valueType: "checkbox",
|
|
947
952
|
name: "PFromCheckbox"
|
|
948
|
-
}), va =
|
|
953
|
+
}), va = V({
|
|
949
954
|
InputComp: ta,
|
|
950
955
|
valueType: "radio",
|
|
951
956
|
name: "PFromRadio"
|
|
952
|
-
}), ba =
|
|
953
|
-
InputComp:
|
|
957
|
+
}), ba = V({
|
|
958
|
+
InputComp: Ft,
|
|
954
959
|
valueType: "switch",
|
|
955
960
|
name: "PFromSwitch"
|
|
956
|
-
}), pa =
|
|
961
|
+
}), pa = V({
|
|
957
962
|
InputComp: xt,
|
|
958
963
|
valueType: "cascader",
|
|
959
964
|
name: "PFormCascader"
|
|
960
|
-
}), Sa =
|
|
961
|
-
InputComp:
|
|
965
|
+
}), Sa = V({
|
|
966
|
+
InputComp: Tt,
|
|
962
967
|
valueType: "color",
|
|
963
968
|
name: "PFormColor"
|
|
964
|
-
}),
|
|
969
|
+
}), rt = E({
|
|
965
970
|
props: {
|
|
966
|
-
...
|
|
971
|
+
...p(ne.props, "label", "prop"),
|
|
967
972
|
title: {
|
|
968
973
|
type: String
|
|
969
974
|
},
|
|
@@ -983,47 +988,47 @@ const Ae = () => ({
|
|
|
983
988
|
const u = ({
|
|
984
989
|
row: l,
|
|
985
990
|
column: n,
|
|
986
|
-
$index:
|
|
991
|
+
$index: d
|
|
987
992
|
}) => {
|
|
988
|
-
var
|
|
989
|
-
const
|
|
993
|
+
var P;
|
|
994
|
+
const o = l, f = d, S = {
|
|
990
995
|
...n,
|
|
991
996
|
title: n.label,
|
|
992
997
|
dataIndex: n.property
|
|
993
|
-
},
|
|
994
|
-
value:
|
|
995
|
-
text:
|
|
996
|
-
record:
|
|
997
|
-
column:
|
|
998
|
-
index:
|
|
999
|
-
},
|
|
1000
|
-
return
|
|
1001
|
-
},
|
|
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 = {
|
|
1002
1007
|
header: ({
|
|
1003
1008
|
column: l,
|
|
1004
1009
|
$index: n
|
|
1005
1010
|
}) => {
|
|
1006
|
-
var
|
|
1007
|
-
const
|
|
1011
|
+
var g;
|
|
1012
|
+
const d = n, o = l.label, f = {
|
|
1008
1013
|
...l,
|
|
1009
|
-
title:
|
|
1014
|
+
title: o,
|
|
1010
1015
|
dataIndex: l.property
|
|
1011
1016
|
};
|
|
1012
|
-
return ((
|
|
1013
|
-
title:
|
|
1014
|
-
column:
|
|
1015
|
-
index:
|
|
1016
|
-
})) ||
|
|
1017
|
+
return ((g = t.headerCell) == null ? void 0 : g.call(t, {
|
|
1018
|
+
title: o,
|
|
1019
|
+
column: f,
|
|
1020
|
+
index: d
|
|
1021
|
+
})) || o;
|
|
1017
1022
|
}
|
|
1018
1023
|
};
|
|
1019
|
-
return (!e.children ||
|
|
1024
|
+
return (!e.children || D(e.children) <= 0) && (r.default = u), () => c(ne, s(p(e, "title", "dataIndex", "prop", "customRender", "children"), {
|
|
1020
1025
|
prop: e.dataIndex,
|
|
1021
1026
|
label: e.title
|
|
1022
1027
|
}), {
|
|
1023
|
-
default: () => [
|
|
1028
|
+
default: () => [D(e.children) > 0 && M(e.children, (l) => c(rt, s({
|
|
1024
1029
|
key: l.dataIndex
|
|
1025
1030
|
}, l), t))],
|
|
1026
|
-
...
|
|
1031
|
+
...r
|
|
1027
1032
|
});
|
|
1028
1033
|
}
|
|
1029
1034
|
}), Pa = ["clearSelection", "getSelectionRows", "toggleRowSelection", "toggleAllSelection", "toggleRowExpansion", "setCurrentRow", "clearSort", "clearFilter", "doLayout", "sort", "scrollTo", "setScrollTop", "setScrollLeft"], ha = () => ({
|
|
@@ -1046,9 +1051,9 @@ const Ae = () => ({
|
|
|
1046
1051
|
type: Object,
|
|
1047
1052
|
default: void 0
|
|
1048
1053
|
}
|
|
1049
|
-
}),
|
|
1054
|
+
}), ot = E({
|
|
1050
1055
|
props: {
|
|
1051
|
-
...
|
|
1056
|
+
...Me.props,
|
|
1052
1057
|
...ha()
|
|
1053
1058
|
},
|
|
1054
1059
|
setup: (e, {
|
|
@@ -1056,129 +1061,129 @@ const Ae = () => ({
|
|
|
1056
1061
|
expose: u,
|
|
1057
1062
|
emit: a
|
|
1058
1063
|
}) => {
|
|
1059
|
-
const
|
|
1060
|
-
u(
|
|
1061
|
-
const n =
|
|
1062
|
-
...
|
|
1063
|
-
[
|
|
1064
|
-
}), {})),
|
|
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) => {
|
|
1065
1070
|
const h = e.rowKey;
|
|
1066
|
-
return
|
|
1067
|
-
},
|
|
1068
|
-
const
|
|
1069
|
-
return
|
|
1070
|
-
}),
|
|
1071
|
-
const
|
|
1072
|
-
return
|
|
1073
|
-
}),
|
|
1074
|
-
...
|
|
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,
|
|
1075
1080
|
[h]: !0
|
|
1076
1081
|
}), {}));
|
|
1077
|
-
let
|
|
1078
|
-
const
|
|
1079
|
-
var
|
|
1080
|
-
if (!
|
|
1082
|
+
let k = [], P = !1;
|
|
1083
|
+
const T = (v) => {
|
|
1084
|
+
var R, i, y, m, C, z, ie, fe;
|
|
1085
|
+
if (!P)
|
|
1081
1086
|
return;
|
|
1082
|
-
const h =
|
|
1083
|
-
if (
|
|
1084
|
-
if (
|
|
1085
|
-
const
|
|
1086
|
-
|
|
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
1092
|
return;
|
|
1088
|
-
} else if (
|
|
1089
|
-
const
|
|
1090
|
-
|
|
1091
|
-
var
|
|
1092
|
-
(
|
|
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
1098
|
});
|
|
1094
1099
|
return;
|
|
1095
1100
|
}
|
|
1096
1101
|
}
|
|
1097
|
-
if (!
|
|
1102
|
+
if (!Wt(g.value, h, {
|
|
1098
1103
|
sort: !0
|
|
1099
1104
|
})) {
|
|
1100
|
-
if (!
|
|
1101
|
-
const
|
|
1102
|
-
(
|
|
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);
|
|
1103
1108
|
return;
|
|
1104
1109
|
}
|
|
1105
|
-
if ((
|
|
1106
|
-
const
|
|
1107
|
-
|
|
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);
|
|
1108
1113
|
return;
|
|
1109
1114
|
}
|
|
1110
|
-
(
|
|
1115
|
+
(fe = (ie = e.rowSelection).onChange) == null || fe.call(ie, h, v), a("update:selectedRowKeys", h);
|
|
1111
1116
|
}
|
|
1112
|
-
},
|
|
1117
|
+
}, B = x(() => {
|
|
1113
1118
|
if (!!e.rowSelection)
|
|
1114
1119
|
return {
|
|
1115
|
-
onSelectionChange:
|
|
1120
|
+
onSelectionChange: T
|
|
1116
1121
|
};
|
|
1117
1122
|
});
|
|
1118
1123
|
_(() => {
|
|
1119
1124
|
var h;
|
|
1120
|
-
|
|
1121
|
-
const
|
|
1122
|
-
if (
|
|
1123
|
-
const
|
|
1124
|
-
...
|
|
1125
|
-
[
|
|
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
|
|
1126
1131
|
}), {});
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
var
|
|
1130
|
-
const
|
|
1131
|
-
|
|
1132
|
-
}),
|
|
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;
|
|
1133
1138
|
});
|
|
1134
1139
|
} else
|
|
1135
|
-
|
|
1136
|
-
}, [
|
|
1140
|
+
P = !0;
|
|
1141
|
+
}, [g, n]);
|
|
1137
1142
|
const Z = () => {
|
|
1138
|
-
var
|
|
1143
|
+
var v, h;
|
|
1139
1144
|
if (e.spanMethod)
|
|
1140
1145
|
return e.spanMethod;
|
|
1141
|
-
if (((
|
|
1142
|
-
const
|
|
1146
|
+
if (((v = e.mergeOpts) == null ? void 0 : v.rowNames) || ((h = e.mergeOpts) == null ? void 0 : h.colNames)) {
|
|
1147
|
+
const R = _t(e.mergeOpts);
|
|
1143
1148
|
return ({
|
|
1144
|
-
row:
|
|
1145
|
-
column:
|
|
1149
|
+
row: i,
|
|
1150
|
+
column: y
|
|
1146
1151
|
}) => {
|
|
1147
|
-
const
|
|
1148
|
-
if (
|
|
1149
|
-
const
|
|
1152
|
+
const m = y.property;
|
|
1153
|
+
if (R[m]) {
|
|
1154
|
+
const C = i[R[m]], z = i[m + "-colspan"];
|
|
1150
1155
|
return {
|
|
1151
|
-
rowspan:
|
|
1152
|
-
colspan:
|
|
1156
|
+
rowspan: C !== void 0 ? C : 1,
|
|
1157
|
+
colspan: z !== void 0 ? z : 1
|
|
1153
1158
|
};
|
|
1154
1159
|
}
|
|
1155
1160
|
};
|
|
1156
1161
|
}
|
|
1157
1162
|
return e.spanMethod;
|
|
1158
|
-
}, H =
|
|
1159
|
-
return () => c(
|
|
1160
|
-
ref:
|
|
1163
|
+
}, H = x(() => Z());
|
|
1164
|
+
return () => c(Me, s({
|
|
1165
|
+
ref: r,
|
|
1161
1166
|
id: l
|
|
1162
|
-
},
|
|
1167
|
+
}, p(e, "columns", "dataSource", "data", "loading", "spanMethod"), {
|
|
1163
1168
|
data: n.value,
|
|
1164
1169
|
spanMethod: H.value
|
|
1165
|
-
},
|
|
1170
|
+
}, B.value), {
|
|
1166
1171
|
default: () => {
|
|
1167
|
-
var
|
|
1168
|
-
return [(
|
|
1172
|
+
var v, h, R, i, y;
|
|
1173
|
+
return [(v = t.start) == null ? void 0 : v.call(t), f.value && c(ne, s({
|
|
1169
1174
|
type: "selection",
|
|
1170
|
-
className:
|
|
1171
|
-
},
|
|
1172
|
-
key:
|
|
1173
|
-
},
|
|
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, {
|
|
1174
1179
|
target: l,
|
|
1175
1180
|
loading: !0
|
|
1176
1181
|
}, null)];
|
|
1177
1182
|
},
|
|
1178
|
-
...
|
|
1183
|
+
...ce(t, "append", "empty")
|
|
1179
1184
|
});
|
|
1180
1185
|
}
|
|
1181
|
-
}), Ca =
|
|
1186
|
+
}), Ca = E({
|
|
1182
1187
|
props: {
|
|
1183
1188
|
...le.props,
|
|
1184
1189
|
type: {
|
|
@@ -1197,85 +1202,85 @@ const Ae = () => ({
|
|
|
1197
1202
|
A.props = {
|
|
1198
1203
|
...ae.props,
|
|
1199
1204
|
...A.props,
|
|
1200
|
-
formMethods: { type: Array, default:
|
|
1205
|
+
formMethods: { type: Array, default: Xe }
|
|
1201
1206
|
};
|
|
1202
1207
|
X.props = {
|
|
1203
1208
|
...A.props,
|
|
1204
1209
|
...X.props,
|
|
1205
1210
|
inline: { type: Boolean, default: !0 }
|
|
1206
1211
|
};
|
|
1207
|
-
|
|
1212
|
+
ye.props = {
|
|
1208
1213
|
...te.props,
|
|
1209
|
-
...
|
|
1214
|
+
...ye.props
|
|
1210
1215
|
};
|
|
1211
1216
|
Y.props = {
|
|
1212
|
-
...
|
|
1217
|
+
...ot.props,
|
|
1213
1218
|
...Y.props
|
|
1214
1219
|
};
|
|
1215
1220
|
ee.props = {
|
|
1216
|
-
...
|
|
1221
|
+
..._e.props,
|
|
1217
1222
|
...ee.props
|
|
1218
1223
|
};
|
|
1219
|
-
ye.props = {
|
|
1220
|
-
...ee.props,
|
|
1221
|
-
...ye.props
|
|
1222
|
-
};
|
|
1223
1224
|
me.props = {
|
|
1224
|
-
...
|
|
1225
|
+
...ee.props,
|
|
1225
1226
|
...me.props
|
|
1226
1227
|
};
|
|
1227
1228
|
se.props = {
|
|
1228
|
-
...
|
|
1229
|
+
...A.props,
|
|
1229
1230
|
...se.props
|
|
1230
1231
|
};
|
|
1231
1232
|
ge.props = {
|
|
1232
|
-
...
|
|
1233
|
-
...ge.props
|
|
1234
|
-
modelValue: String
|
|
1233
|
+
...tt.props,
|
|
1234
|
+
...ge.props
|
|
1235
1235
|
};
|
|
1236
1236
|
ve.props = {
|
|
1237
|
-
...
|
|
1237
|
+
...lt.props,
|
|
1238
1238
|
...ve.props,
|
|
1239
|
+
modelValue: String
|
|
1240
|
+
};
|
|
1241
|
+
be.props = {
|
|
1242
|
+
...Ze.props,
|
|
1243
|
+
...be.props,
|
|
1239
1244
|
placement: { type: String, default: "top-start" }
|
|
1240
1245
|
};
|
|
1241
1246
|
const wa = {
|
|
1242
|
-
[
|
|
1243
|
-
[
|
|
1244
|
-
[
|
|
1245
|
-
[
|
|
1246
|
-
[
|
|
1247
|
-
[
|
|
1248
|
-
[
|
|
1249
|
-
[
|
|
1250
|
-
[
|
|
1251
|
-
[
|
|
1252
|
-
[
|
|
1253
|
-
[
|
|
1254
|
-
[
|
|
1255
|
-
[
|
|
1256
|
-
[
|
|
1257
|
-
[
|
|
1258
|
-
[
|
|
1259
|
-
[
|
|
1260
|
-
[
|
|
1261
|
-
[
|
|
1262
|
-
[
|
|
1263
|
-
[
|
|
1264
|
-
[
|
|
1265
|
-
[
|
|
1266
|
-
[
|
|
1267
|
-
[
|
|
1268
|
-
[
|
|
1269
|
-
[
|
|
1270
|
-
text:
|
|
1271
|
-
digit:
|
|
1272
|
-
date:
|
|
1273
|
-
time:
|
|
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,
|
|
1274
1279
|
select: J,
|
|
1275
1280
|
radio: J,
|
|
1276
1281
|
checkbox: J,
|
|
1277
|
-
treeSelect:
|
|
1278
|
-
cascader:
|
|
1282
|
+
treeSelect: Se,
|
|
1283
|
+
cascader: Se
|
|
1279
1284
|
}, Ma = {
|
|
1280
1285
|
text: ca,
|
|
1281
1286
|
digit: da,
|
|
@@ -1291,7 +1296,7 @@ const wa = {
|
|
|
1291
1296
|
color: Sa
|
|
1292
1297
|
};
|
|
1293
1298
|
export {
|
|
1294
|
-
|
|
1299
|
+
Xe as FormMethods,
|
|
1295
1300
|
ra as InputNumberRange,
|
|
1296
1301
|
ea as ProCheckbox,
|
|
1297
1302
|
Qt as ProDrawer,
|
|
@@ -1302,7 +1307,7 @@ export {
|
|
|
1302
1307
|
Sa as ProFormColor,
|
|
1303
1308
|
fa as ProFormDatePicker,
|
|
1304
1309
|
ia as ProFormInputNumberRange,
|
|
1305
|
-
|
|
1310
|
+
Qe as ProFormItem,
|
|
1306
1311
|
va as ProFormRadio,
|
|
1307
1312
|
ma as ProFormSelect,
|
|
1308
1313
|
ba as ProFormSwitch,
|
|
@@ -1310,23 +1315,23 @@ export {
|
|
|
1310
1315
|
da as ProFormTextNumber,
|
|
1311
1316
|
ya as ProFormTimePicker,
|
|
1312
1317
|
sa as ProFormTreeSelect,
|
|
1313
|
-
|
|
1318
|
+
et as ProLoading,
|
|
1314
1319
|
na as ProMenus,
|
|
1315
|
-
|
|
1320
|
+
tt as ProModal,
|
|
1316
1321
|
Xt as ProPagination,
|
|
1317
1322
|
Yt as ProPopover,
|
|
1318
1323
|
ta as ProRadio,
|
|
1319
1324
|
aa as ProSelect,
|
|
1320
|
-
|
|
1321
|
-
|
|
1325
|
+
ot as ProTable,
|
|
1326
|
+
rt as ProTableColumn,
|
|
1322
1327
|
Ca as ProTableOperateItem,
|
|
1323
1328
|
Ta as ProTabs,
|
|
1324
1329
|
Ra as ProTree,
|
|
1325
|
-
|
|
1330
|
+
lt as ProUploader,
|
|
1326
1331
|
Pa as TableMethods,
|
|
1327
1332
|
la as UploadMethods,
|
|
1328
|
-
|
|
1329
|
-
|
|
1333
|
+
V as createFormItemComponent,
|
|
1334
|
+
Ye as createLoadingId,
|
|
1330
1335
|
wa as elementMap,
|
|
1331
1336
|
Ma as formElementMap
|
|
1332
1337
|
};
|