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