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