epic-designer-gold 1.0.18 → 1.0.20
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/{attributeView-D871aFNX.cjs → attributeView-BmCo-ANc.cjs} +1 -1
- package/dist/{attributeView-Cb_lnXnd.js → attributeView-O-Qh1M9P.js} +1 -1
- package/dist/col-B1GUMkMK.cjs +1 -0
- package/dist/col-D4hvKfJ6.js +31 -0
- package/dist/core/extensions/ESourceDataSelect/index.vue.d.ts +23 -0
- package/dist/{index-Cdz_E5uq.cjs → index-B0kfcLfJ.cjs} +1 -1
- package/dist/{index-B8VoR-rx.js → index-B4E--Rq2.js} +1 -1
- package/dist/{index-C-vzsLbI.cjs → index-B68OfrZG.cjs} +1 -1
- package/dist/index-BQOsTyqo.js +43 -0
- package/dist/{index-Bp5TeT0d.cjs → index-BUy3MFlm.cjs} +1 -1
- package/dist/{index-BXLg5QG8.cjs → index-Bg6nvWN1.cjs} +1 -1
- package/dist/{index-4Jbrf4oJ.js → index-CHPLNTf9.js} +1 -1
- package/dist/index-CNakddZH.cjs +1 -0
- package/dist/{index-HBD4zD_h.js → index-CYCAksKF.js} +1 -1
- package/dist/{index-DXYNbYfi.js → index-Cb9hyp0F.js} +1 -1
- package/dist/{index-DvnclCBw.js → index-D-7kLj6a.js} +249 -245
- package/dist/{index-DHgeDEYV.cjs → index-D0yHhce0.cjs} +1 -1
- package/dist/{index-Cdfyd5o8.cjs → index-DCCtWMoU.cjs} +1 -1
- package/dist/index-DSWpL0mZ.js +4 -0
- package/dist/{index-M1eoMHL_.cjs → index-DgVSwELW.cjs} +1 -1
- package/dist/{index-DpF28L2Q.js → index-GNzsI2DT.js} +1 -1
- package/dist/{index-Cwf1fnCe.js → index-H_RN47HQ.js} +1 -1
- package/dist/index-dPq5hTuk.cjs +10 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/selectPage-DxjnEIXA.cjs +1 -0
- package/dist/selectPage-OLtWHgz5.js +163 -0
- package/dist/style.css +1 -1
- package/dist/{styleView-C-SMgcjX.cjs → styleView-BSPv8sby.cjs} +1 -1
- package/dist/{styleView-m63s2tRj.js → styleView-DPj14T8-.js} +1 -1
- package/dist/ui/elementPlus/index.cjs +1 -1
- package/dist/ui/elementPlus/index.js +394 -271
- package/dist/ui/elementPlus/select-page/index.d.ts +3 -0
- package/dist/ui/elementPlus/select-page/selectPage.vue.d.ts +78 -0
- package/package.json +1 -1
- package/dist/col-C4lVVBzC.cjs +0 -1
- package/dist/col-DcVPBKEc.js +0 -31
- package/dist/index-CNFfjSi0.js +0 -4
- package/dist/index-D7DryFmY.cjs +0 -10
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { pluginManager as
|
|
1
|
+
import { pluginManager as z } from "epic-designer-gold";
|
|
2
2
|
import { u as a } from "../../index-B1s67XDZ.js";
|
|
3
|
-
import { ElFormItem as
|
|
4
|
-
const { t:
|
|
3
|
+
import { ElFormItem as Y, ElForm as D, ElRadioGroup as B, ElRadioButton as M, ElTabs as L, ElTabPane as q, ElCollapse as W, ElCollapseItem as A, ElDrawer as $, ElDialog as O, ElTable as U, ElTableColumn as K } from "element-plus";
|
|
4
|
+
const { t: n } = a(), H = {
|
|
5
5
|
component: async () => (await import("element-plus")).ElInput,
|
|
6
|
-
groupName:
|
|
6
|
+
groupName: n("form"),
|
|
7
7
|
icon: "icon--epic--border-color-outline-rounded",
|
|
8
8
|
sort: 700,
|
|
9
9
|
defaultSchema: {
|
|
10
|
-
label:
|
|
10
|
+
label: n("input"),
|
|
11
11
|
type: "input",
|
|
12
12
|
field: "input",
|
|
13
13
|
input: !0,
|
|
14
14
|
componentProps: {
|
|
15
|
-
placeholder:
|
|
15
|
+
placeholder: n("pleaseEnter"),
|
|
16
16
|
style: {
|
|
17
17
|
cursor: ""
|
|
18
18
|
}
|
|
@@ -21,43 +21,43 @@ const { t: p } = a(), H = {
|
|
|
21
21
|
config: {
|
|
22
22
|
attribute: [
|
|
23
23
|
{
|
|
24
|
-
label:
|
|
24
|
+
label: n("fieldName"),
|
|
25
25
|
type: "input",
|
|
26
26
|
field: "field"
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
|
-
label:
|
|
29
|
+
label: n("title"),
|
|
30
30
|
type: "input",
|
|
31
31
|
field: "label"
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
|
-
label:
|
|
34
|
+
label: n("defaultValue"),
|
|
35
35
|
type: "input",
|
|
36
36
|
field: "componentProps.defaultValue"
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
|
-
label:
|
|
39
|
+
label: n("placeholder"),
|
|
40
40
|
type: "input",
|
|
41
41
|
field: "componentProps.placeholder"
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
|
-
label:
|
|
44
|
+
label: n("size"),
|
|
45
45
|
type: "select",
|
|
46
46
|
defaultValue: "default",
|
|
47
47
|
componentProps: {
|
|
48
|
-
placeholder:
|
|
48
|
+
placeholder: n("pleaseSelect"),
|
|
49
49
|
clearable: !0,
|
|
50
50
|
options: [
|
|
51
51
|
{
|
|
52
|
-
label:
|
|
52
|
+
label: n("large"),
|
|
53
53
|
value: "large"
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
|
-
label:
|
|
56
|
+
label: n("medium"),
|
|
57
57
|
value: "default"
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
|
-
label:
|
|
60
|
+
label: n("small"),
|
|
61
61
|
value: "small"
|
|
62
62
|
}
|
|
63
63
|
]
|
|
@@ -65,26 +65,26 @@ const { t: p } = a(), H = {
|
|
|
65
65
|
field: "componentProps.size"
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
|
-
label:
|
|
68
|
+
label: n("maxInputLength"),
|
|
69
69
|
type: "number",
|
|
70
70
|
field: "componentProps.maxlength",
|
|
71
71
|
componentProps: {
|
|
72
|
-
placeholder:
|
|
72
|
+
placeholder: n("pleaseEnter"),
|
|
73
73
|
min: 0
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
|
-
label:
|
|
77
|
+
label: n("countWords"),
|
|
78
78
|
type: "switch",
|
|
79
79
|
field: "componentProps.showWordLimit",
|
|
80
80
|
show: ({ values: e }) => e.componentProps.maxlength
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
|
-
label:
|
|
83
|
+
label: n("inputType"),
|
|
84
84
|
type: "select",
|
|
85
85
|
defaultValue: "text",
|
|
86
86
|
componentProps: {
|
|
87
|
-
placeholder:
|
|
87
|
+
placeholder: n("pleaseSelect"),
|
|
88
88
|
clearable: !0,
|
|
89
89
|
options: [
|
|
90
90
|
{
|
|
@@ -104,7 +104,7 @@ const { t: p } = a(), H = {
|
|
|
104
104
|
field: "componentProps.type"
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
|
-
label:
|
|
107
|
+
label: n("showToggleIcon"),
|
|
108
108
|
type: "switch",
|
|
109
109
|
field: "componentProps.showPassword",
|
|
110
110
|
show: ({ values: e }) => e.componentProps.type === "password"
|
|
@@ -115,20 +115,27 @@ const { t: p } = a(), H = {
|
|
|
115
115
|
// field: "componentProps.readonly",
|
|
116
116
|
// },
|
|
117
117
|
{
|
|
118
|
-
label:
|
|
118
|
+
label: n("clearable"),
|
|
119
119
|
type: "switch",
|
|
120
120
|
field: "componentProps.clearable"
|
|
121
121
|
},
|
|
122
122
|
{
|
|
123
123
|
label: "超链接",
|
|
124
124
|
type: "switch",
|
|
125
|
-
field: "componentProps.isLink"
|
|
126
|
-
onChange: ({ value
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
125
|
+
field: "componentProps.isLink"
|
|
126
|
+
// onChange: ({ value, values, componentAttributes }) => {
|
|
127
|
+
// if (value) {
|
|
128
|
+
// values.componentProps.class = "is-link";
|
|
129
|
+
// values.onClick = (e) => {
|
|
130
|
+
// if (values.componentProps.readonly) {
|
|
131
|
+
// window.open(e.target.value, "blank");
|
|
132
|
+
// }
|
|
133
|
+
// };
|
|
134
|
+
// } else {
|
|
135
|
+
// values.componentProps.class = "";
|
|
136
|
+
// values.onClick = () => {};
|
|
137
|
+
// }
|
|
138
|
+
// },
|
|
132
139
|
},
|
|
133
140
|
// {
|
|
134
141
|
// label: "禁用",
|
|
@@ -141,33 +148,33 @@ const { t: p } = a(), H = {
|
|
|
141
148
|
// field: "componentProps.hidden",
|
|
142
149
|
// },
|
|
143
150
|
{
|
|
144
|
-
label:
|
|
151
|
+
label: n("formValidation"),
|
|
145
152
|
type: "ERuleEditor",
|
|
146
153
|
layout: "vertical",
|
|
147
154
|
field: "rules",
|
|
148
|
-
describe:
|
|
155
|
+
describe: n("validationRuleRequiresForm")
|
|
149
156
|
}
|
|
150
157
|
],
|
|
151
158
|
event: [
|
|
152
159
|
{
|
|
153
160
|
type: "input",
|
|
154
|
-
describe:
|
|
161
|
+
describe: n("onInput")
|
|
155
162
|
},
|
|
156
163
|
{
|
|
157
164
|
type: "change",
|
|
158
|
-
describe:
|
|
165
|
+
describe: n("onChange")
|
|
159
166
|
},
|
|
160
167
|
{
|
|
161
168
|
type: "focus",
|
|
162
|
-
describe:
|
|
169
|
+
describe: n("onFocus")
|
|
163
170
|
},
|
|
164
171
|
{
|
|
165
172
|
type: "blur",
|
|
166
|
-
describe:
|
|
173
|
+
describe: n("onBlur")
|
|
167
174
|
},
|
|
168
175
|
{
|
|
169
176
|
type: "clear",
|
|
170
|
-
describe:
|
|
177
|
+
describe: n("onClear")
|
|
171
178
|
},
|
|
172
179
|
{
|
|
173
180
|
type: "click",
|
|
@@ -177,76 +184,76 @@ const { t: p } = a(), H = {
|
|
|
177
184
|
action: [
|
|
178
185
|
{
|
|
179
186
|
type: "focus",
|
|
180
|
-
describe:
|
|
187
|
+
describe: n("focusInput")
|
|
181
188
|
},
|
|
182
189
|
{
|
|
183
190
|
type: "blur",
|
|
184
|
-
describe:
|
|
191
|
+
describe: n("blurInput")
|
|
185
192
|
},
|
|
186
193
|
{
|
|
187
194
|
type: "clear",
|
|
188
|
-
describe:
|
|
195
|
+
describe: n("clearInput")
|
|
189
196
|
},
|
|
190
197
|
{
|
|
191
198
|
type: "select",
|
|
192
|
-
describe:
|
|
199
|
+
describe: n("selectInputText")
|
|
193
200
|
}
|
|
194
201
|
]
|
|
195
202
|
}
|
|
196
|
-
}, { t:
|
|
203
|
+
}, { t: p } = a(), j = {
|
|
197
204
|
component: async () => (await import("element-plus")).ElInput,
|
|
198
205
|
icon: "icon--epic--edit-square-outline-rounded",
|
|
199
|
-
groupName:
|
|
206
|
+
groupName: p("form"),
|
|
200
207
|
sort: 705,
|
|
201
208
|
defaultSchema: {
|
|
202
|
-
label:
|
|
209
|
+
label: p("textarea"),
|
|
203
210
|
type: "textarea",
|
|
204
211
|
field: "textarea",
|
|
205
212
|
input: !0,
|
|
206
213
|
componentProps: {
|
|
207
|
-
placeholder:
|
|
214
|
+
placeholder: p("pleaseEnter"),
|
|
208
215
|
type: "textarea"
|
|
209
216
|
}
|
|
210
217
|
},
|
|
211
218
|
config: {
|
|
212
219
|
attribute: [
|
|
213
220
|
{
|
|
214
|
-
label:
|
|
221
|
+
label: p("fieldName"),
|
|
215
222
|
type: "input",
|
|
216
223
|
field: "field"
|
|
217
224
|
},
|
|
218
225
|
{
|
|
219
|
-
label:
|
|
226
|
+
label: p("title"),
|
|
220
227
|
type: "input",
|
|
221
228
|
field: "label"
|
|
222
229
|
},
|
|
223
230
|
{
|
|
224
|
-
label:
|
|
231
|
+
label: p("defaultValue"),
|
|
225
232
|
type: "textarea",
|
|
226
233
|
field: "componentProps.defaultValue"
|
|
227
234
|
},
|
|
228
235
|
{
|
|
229
|
-
label:
|
|
236
|
+
label: p("placeholder"),
|
|
230
237
|
type: "input",
|
|
231
238
|
field: "componentProps.placeholder"
|
|
232
239
|
},
|
|
233
240
|
{
|
|
234
|
-
label:
|
|
241
|
+
label: p("size"),
|
|
235
242
|
type: "select",
|
|
236
243
|
componentProps: {
|
|
237
|
-
placeholder:
|
|
244
|
+
placeholder: p("pleaseSelect"),
|
|
238
245
|
clearable: !0,
|
|
239
246
|
options: [
|
|
240
247
|
{
|
|
241
|
-
label:
|
|
248
|
+
label: p("large"),
|
|
242
249
|
value: "large"
|
|
243
250
|
},
|
|
244
251
|
{
|
|
245
|
-
label:
|
|
252
|
+
label: p("medium"),
|
|
246
253
|
value: "default"
|
|
247
254
|
},
|
|
248
255
|
{
|
|
249
|
-
label:
|
|
256
|
+
label: p("small"),
|
|
250
257
|
value: "small"
|
|
251
258
|
}
|
|
252
259
|
]
|
|
@@ -254,38 +261,38 @@ const { t: p } = a(), H = {
|
|
|
254
261
|
field: "componentProps.size"
|
|
255
262
|
},
|
|
256
263
|
{
|
|
257
|
-
label:
|
|
264
|
+
label: p("maxInputLength"),
|
|
258
265
|
type: "number",
|
|
259
266
|
field: "componentProps.maxlength",
|
|
260
267
|
componentProps: {
|
|
261
|
-
placeholder:
|
|
268
|
+
placeholder: p("pleaseEnter"),
|
|
262
269
|
min: 0
|
|
263
270
|
}
|
|
264
271
|
},
|
|
265
272
|
{
|
|
266
|
-
label:
|
|
273
|
+
label: p("countWords"),
|
|
267
274
|
type: "switch",
|
|
268
275
|
field: "componentProps.showWordLimit",
|
|
269
276
|
show: ({ values: e }) => e.componentProps.maxlength
|
|
270
277
|
},
|
|
271
278
|
{
|
|
272
|
-
label:
|
|
279
|
+
label: p("minRows"),
|
|
273
280
|
type: "number",
|
|
274
281
|
field: "componentProps.autosize.minRows",
|
|
275
282
|
componentProps: {
|
|
276
|
-
placeholder:
|
|
283
|
+
placeholder: p("pleaseEnter")
|
|
277
284
|
}
|
|
278
285
|
},
|
|
279
286
|
{
|
|
280
|
-
label:
|
|
287
|
+
label: p("maxRows"),
|
|
281
288
|
type: "number",
|
|
282
289
|
field: "componentProps.autosize.maxRows",
|
|
283
290
|
componentProps: {
|
|
284
|
-
placeholder:
|
|
291
|
+
placeholder: p("pleaseEnter")
|
|
285
292
|
}
|
|
286
293
|
},
|
|
287
294
|
{
|
|
288
|
-
label:
|
|
295
|
+
label: p("clearable"),
|
|
289
296
|
type: "switch",
|
|
290
297
|
field: "componentProps.clearable"
|
|
291
298
|
},
|
|
@@ -300,103 +307,103 @@ const { t: p } = a(), H = {
|
|
|
300
307
|
// field: "componentProps.hidden",
|
|
301
308
|
// },
|
|
302
309
|
{
|
|
303
|
-
label:
|
|
310
|
+
label: p("formValidation"),
|
|
304
311
|
type: "ERuleEditor",
|
|
305
312
|
layout: "vertical",
|
|
306
313
|
field: "rules",
|
|
307
|
-
describe:
|
|
314
|
+
describe: p("validationRuleRequiresForm")
|
|
308
315
|
}
|
|
309
316
|
],
|
|
310
317
|
event: [
|
|
311
318
|
{
|
|
312
319
|
type: "input",
|
|
313
|
-
describe:
|
|
320
|
+
describe: p("inputValue")
|
|
314
321
|
},
|
|
315
322
|
{
|
|
316
323
|
type: "change",
|
|
317
|
-
describe:
|
|
324
|
+
describe: p("valueChange")
|
|
318
325
|
},
|
|
319
326
|
{
|
|
320
327
|
type: "focus",
|
|
321
|
-
describe:
|
|
328
|
+
describe: p("focus")
|
|
322
329
|
},
|
|
323
330
|
{
|
|
324
331
|
type: "blur",
|
|
325
|
-
describe:
|
|
332
|
+
describe: p("blur")
|
|
326
333
|
}
|
|
327
334
|
],
|
|
328
335
|
action: [
|
|
329
336
|
{
|
|
330
337
|
type: "focus",
|
|
331
|
-
describe:
|
|
338
|
+
describe: p("focusInput")
|
|
332
339
|
},
|
|
333
340
|
{
|
|
334
341
|
type: "blur",
|
|
335
|
-
describe:
|
|
342
|
+
describe: p("blurInput")
|
|
336
343
|
},
|
|
337
344
|
{
|
|
338
345
|
type: "clear",
|
|
339
|
-
describe:
|
|
346
|
+
describe: p("clearInput")
|
|
340
347
|
},
|
|
341
348
|
{
|
|
342
349
|
type: "select",
|
|
343
|
-
describe:
|
|
350
|
+
describe: p("selectInputText")
|
|
344
351
|
}
|
|
345
352
|
]
|
|
346
353
|
}
|
|
347
|
-
}, { t:
|
|
354
|
+
}, { t: c } = a(), G = {
|
|
348
355
|
component: async () => (await import("element-plus")).ElInputNumber,
|
|
349
|
-
groupName:
|
|
356
|
+
groupName: c("form"),
|
|
350
357
|
icon: "icon--epic--123-rounded",
|
|
351
358
|
sort: 710,
|
|
352
359
|
defaultSchema: {
|
|
353
|
-
label:
|
|
360
|
+
label: c("numberInput"),
|
|
354
361
|
type: "number",
|
|
355
362
|
field: "number",
|
|
356
363
|
input: !0,
|
|
357
364
|
componentProps: {
|
|
358
|
-
placeholder:
|
|
365
|
+
placeholder: c("pleaseEnter")
|
|
359
366
|
}
|
|
360
367
|
},
|
|
361
368
|
config: {
|
|
362
369
|
attribute: [
|
|
363
370
|
{
|
|
364
|
-
label:
|
|
371
|
+
label: c("fieldName"),
|
|
365
372
|
type: "input",
|
|
366
373
|
field: "field"
|
|
367
374
|
},
|
|
368
375
|
{
|
|
369
|
-
label:
|
|
376
|
+
label: c("title"),
|
|
370
377
|
type: "input",
|
|
371
378
|
field: "label"
|
|
372
379
|
},
|
|
373
380
|
{
|
|
374
|
-
label:
|
|
381
|
+
label: c("defaultValue"),
|
|
375
382
|
type: "number",
|
|
376
383
|
field: "componentProps.defaultValue"
|
|
377
384
|
},
|
|
378
385
|
{
|
|
379
|
-
label:
|
|
386
|
+
label: c("placeholder"),
|
|
380
387
|
type: "input",
|
|
381
388
|
field: "componentProps.placeholder"
|
|
382
389
|
},
|
|
383
390
|
{
|
|
384
|
-
label:
|
|
391
|
+
label: c("size"),
|
|
385
392
|
type: "select",
|
|
386
393
|
componentProps: {
|
|
387
|
-
placeholder:
|
|
394
|
+
placeholder: c("pleaseSelect"),
|
|
388
395
|
clearable: !0,
|
|
389
396
|
options: [
|
|
390
397
|
{
|
|
391
|
-
label:
|
|
398
|
+
label: c("large"),
|
|
392
399
|
value: "large"
|
|
393
400
|
},
|
|
394
401
|
{
|
|
395
|
-
label:
|
|
402
|
+
label: c("medium"),
|
|
396
403
|
value: "default"
|
|
397
404
|
},
|
|
398
405
|
{
|
|
399
|
-
label:
|
|
406
|
+
label: c("small"),
|
|
400
407
|
value: "small"
|
|
401
408
|
}
|
|
402
409
|
]
|
|
@@ -404,31 +411,31 @@ const { t: p } = a(), H = {
|
|
|
404
411
|
field: "componentProps.size"
|
|
405
412
|
},
|
|
406
413
|
{
|
|
407
|
-
label:
|
|
414
|
+
label: c("maxValue"),
|
|
408
415
|
type: "number",
|
|
409
416
|
field: "componentProps.max",
|
|
410
417
|
componentProps: {
|
|
411
|
-
placeholder:
|
|
418
|
+
placeholder: c("pleaseEnter")
|
|
412
419
|
}
|
|
413
420
|
},
|
|
414
421
|
{
|
|
415
|
-
label:
|
|
422
|
+
label: c("minValue"),
|
|
416
423
|
type: "number",
|
|
417
424
|
field: "componentProps.min",
|
|
418
425
|
componentProps: {
|
|
419
|
-
placeholder:
|
|
426
|
+
placeholder: c("pleaseEnter")
|
|
420
427
|
}
|
|
421
428
|
},
|
|
422
429
|
{
|
|
423
|
-
label:
|
|
430
|
+
label: c("step"),
|
|
424
431
|
type: "number",
|
|
425
432
|
field: "componentProps.step",
|
|
426
433
|
componentProps: {
|
|
427
|
-
placeholder:
|
|
434
|
+
placeholder: c("pleaseEnter")
|
|
428
435
|
}
|
|
429
436
|
},
|
|
430
437
|
{
|
|
431
|
-
label:
|
|
438
|
+
label: c("controlButtonPosition"),
|
|
432
439
|
type: "select",
|
|
433
440
|
defaultValue: "",
|
|
434
441
|
componentProps: {
|
|
@@ -442,21 +449,21 @@ const { t: p } = a(), H = {
|
|
|
442
449
|
value: "right"
|
|
443
450
|
}
|
|
444
451
|
],
|
|
445
|
-
placeholder:
|
|
452
|
+
placeholder: c("pleaseSelect"),
|
|
446
453
|
clearable: !0
|
|
447
454
|
},
|
|
448
455
|
field: "componentProps.controlsPosition"
|
|
449
456
|
},
|
|
450
457
|
{
|
|
451
|
-
label:
|
|
458
|
+
label: c("precision"),
|
|
452
459
|
type: "number",
|
|
453
460
|
field: "componentProps.precision",
|
|
454
461
|
componentProps: {
|
|
455
|
-
placeholder:
|
|
462
|
+
placeholder: c("pleaseEnter")
|
|
456
463
|
}
|
|
457
464
|
},
|
|
458
465
|
{
|
|
459
|
-
label:
|
|
466
|
+
label: c("inputControlIsMultipleOfStep"),
|
|
460
467
|
type: "switch",
|
|
461
468
|
field: "componentProps.stepStrictly"
|
|
462
469
|
},
|
|
@@ -471,11 +478,11 @@ const { t: p } = a(), H = {
|
|
|
471
478
|
// field: "componentProps.hidden",
|
|
472
479
|
// },
|
|
473
480
|
{
|
|
474
|
-
label:
|
|
481
|
+
label: c("formValidation"),
|
|
475
482
|
type: "ERuleEditor",
|
|
476
483
|
layout: "vertical",
|
|
477
484
|
field: "rules",
|
|
478
|
-
describe:
|
|
485
|
+
describe: c("validationRuleRequiresForm"),
|
|
479
486
|
componentProps: {
|
|
480
487
|
ruleType: "number"
|
|
481
488
|
}
|
|
@@ -484,11 +491,11 @@ const { t: p } = a(), H = {
|
|
|
484
491
|
event: [
|
|
485
492
|
{
|
|
486
493
|
type: "change",
|
|
487
|
-
describe:
|
|
494
|
+
describe: c("onValueChange")
|
|
488
495
|
}
|
|
489
496
|
]
|
|
490
497
|
}
|
|
491
|
-
}, { t: d } = a(),
|
|
498
|
+
}, { t: d } = a(), _ = {
|
|
492
499
|
component: () => import("../../form-VbfBmb63.js"),
|
|
493
500
|
groupName: d("form"),
|
|
494
501
|
icon: "icon--epic--list-alt-outline-rounded",
|
|
@@ -636,14 +643,14 @@ const { t: p } = a(), H = {
|
|
|
636
643
|
}
|
|
637
644
|
};
|
|
638
645
|
a();
|
|
639
|
-
const
|
|
646
|
+
const J = {
|
|
640
647
|
component: () => import("../../formItem-D10Om12T.js"),
|
|
641
648
|
defaultSchema: {
|
|
642
649
|
label: "表单项",
|
|
643
650
|
type: "form-item"
|
|
644
651
|
},
|
|
645
652
|
config: {}
|
|
646
|
-
}, { t: h } = a(),
|
|
653
|
+
}, { t: h } = a(), Q = {
|
|
647
654
|
component: () => import("../../button-BvmCwtR3.js"),
|
|
648
655
|
groupName: h("form"),
|
|
649
656
|
icon: "icon--epic--fit-screen-rounded",
|
|
@@ -770,13 +777,13 @@ const _ = {
|
|
|
770
777
|
}
|
|
771
778
|
]
|
|
772
779
|
}
|
|
773
|
-
}, { t:
|
|
780
|
+
}, { t: V } = a(), X = {
|
|
774
781
|
component: () => import("../../card-CI6L3YKU.js"),
|
|
775
|
-
groupName:
|
|
782
|
+
groupName: V("layout"),
|
|
776
783
|
icon: "icon--epic--wysiwyg-rounded",
|
|
777
784
|
sort: 700,
|
|
778
785
|
defaultSchema: {
|
|
779
|
-
label:
|
|
786
|
+
label: V("cardLayout"),
|
|
780
787
|
type: "card",
|
|
781
788
|
multiple: !1,
|
|
782
789
|
children: [],
|
|
@@ -786,12 +793,12 @@ const _ = {
|
|
|
786
793
|
config: {
|
|
787
794
|
attribute: [
|
|
788
795
|
{
|
|
789
|
-
label:
|
|
796
|
+
label: V("title"),
|
|
790
797
|
type: "input",
|
|
791
798
|
field: "label"
|
|
792
799
|
},
|
|
793
800
|
{
|
|
794
|
-
label:
|
|
801
|
+
label: V("fieldName"),
|
|
795
802
|
type: "input",
|
|
796
803
|
field: "field"
|
|
797
804
|
},
|
|
@@ -815,7 +822,7 @@ const _ = {
|
|
|
815
822
|
}
|
|
816
823
|
},
|
|
817
824
|
{
|
|
818
|
-
label:
|
|
825
|
+
label: V("shadowTiming"),
|
|
819
826
|
type: "select",
|
|
820
827
|
componentProps: {
|
|
821
828
|
options: [
|
|
@@ -832,7 +839,7 @@ const _ = {
|
|
|
832
839
|
value: "never"
|
|
833
840
|
}
|
|
834
841
|
],
|
|
835
|
-
placeholder:
|
|
842
|
+
placeholder: V("pleaseSelect"),
|
|
836
843
|
clearable: !0
|
|
837
844
|
},
|
|
838
845
|
field: "componentProps.shadow"
|
|
@@ -844,13 +851,13 @@ const _ = {
|
|
|
844
851
|
// },
|
|
845
852
|
]
|
|
846
853
|
}
|
|
847
|
-
}, { t:
|
|
854
|
+
}, { t: S } = a(), Z = {
|
|
848
855
|
component: () => import("../../row-CkyJ9pQh.js"),
|
|
849
|
-
groupName:
|
|
856
|
+
groupName: S("layout"),
|
|
850
857
|
icon: "icon--epic--width-normal-outline",
|
|
851
858
|
sort: 800,
|
|
852
859
|
defaultSchema: {
|
|
853
|
-
label:
|
|
860
|
+
label: S("gridLayout"),
|
|
854
861
|
type: "row",
|
|
855
862
|
children: [
|
|
856
863
|
{
|
|
@@ -875,7 +882,7 @@ const _ = {
|
|
|
875
882
|
config: {
|
|
876
883
|
attribute: [
|
|
877
884
|
{
|
|
878
|
-
label:
|
|
885
|
+
label: S("verticalAlignment"),
|
|
879
886
|
type: "select",
|
|
880
887
|
componentProps: {
|
|
881
888
|
style: { width: "100%" },
|
|
@@ -893,12 +900,12 @@ const _ = {
|
|
|
893
900
|
value: "bottom"
|
|
894
901
|
}
|
|
895
902
|
],
|
|
896
|
-
placeholder:
|
|
903
|
+
placeholder: S("pleaseSelect")
|
|
897
904
|
},
|
|
898
905
|
field: "componentProps.align"
|
|
899
906
|
},
|
|
900
907
|
{
|
|
901
|
-
label:
|
|
908
|
+
label: S("horizontalArrangement"),
|
|
902
909
|
type: "select",
|
|
903
910
|
componentProps: {
|
|
904
911
|
style: { width: "100%" },
|
|
@@ -924,20 +931,20 @@ const _ = {
|
|
|
924
931
|
value: "space-between"
|
|
925
932
|
}
|
|
926
933
|
],
|
|
927
|
-
placeholder:
|
|
934
|
+
placeholder: S("pleaseSelect")
|
|
928
935
|
},
|
|
929
936
|
field: "componentProps.justify"
|
|
930
937
|
},
|
|
931
938
|
{
|
|
932
|
-
label:
|
|
939
|
+
label: S("gridSpacing"),
|
|
933
940
|
type: "number",
|
|
934
941
|
field: "componentProps.gutter",
|
|
935
942
|
componentProps: {
|
|
936
|
-
placeholder:
|
|
943
|
+
placeholder: S("pleaseEnter")
|
|
937
944
|
}
|
|
938
945
|
},
|
|
939
946
|
{
|
|
940
|
-
label:
|
|
947
|
+
label: S("gridWidth"),
|
|
941
948
|
type: "EColEditor",
|
|
942
949
|
field: "children"
|
|
943
950
|
}
|
|
@@ -948,10 +955,10 @@ const _ = {
|
|
|
948
955
|
// },
|
|
949
956
|
]
|
|
950
957
|
}
|
|
951
|
-
}, { t:
|
|
952
|
-
component: () => import("../../col-
|
|
958
|
+
}, { t: F } = a(), ee = {
|
|
959
|
+
component: () => import("../../col-D4hvKfJ6.js"),
|
|
953
960
|
defaultSchema: {
|
|
954
|
-
label:
|
|
961
|
+
label: F("gridLayout") + "-" + F("column"),
|
|
955
962
|
type: "col",
|
|
956
963
|
children: [],
|
|
957
964
|
componentProps: {
|
|
@@ -967,7 +974,7 @@ const _ = {
|
|
|
967
974
|
}
|
|
968
975
|
]
|
|
969
976
|
}
|
|
970
|
-
}, { t } = a(),
|
|
977
|
+
}, { t } = a(), le = {
|
|
971
978
|
component: () => import("../../select-CjWTf5kk.js"),
|
|
972
979
|
groupName: t("form"),
|
|
973
980
|
icon: "icon--epic--select",
|
|
@@ -1044,8 +1051,8 @@ const _ = {
|
|
|
1044
1051
|
label: t("multiple"),
|
|
1045
1052
|
type: "switch",
|
|
1046
1053
|
field: "componentProps.multiple",
|
|
1047
|
-
onChange: ({ value: e, values:
|
|
1048
|
-
e ?
|
|
1054
|
+
onChange: ({ value: e, values: s }) => {
|
|
1055
|
+
e ? s.componentProps.defaultValue = [] : s.componentProps.defaultValue = null;
|
|
1049
1056
|
}
|
|
1050
1057
|
},
|
|
1051
1058
|
{
|
|
@@ -1241,7 +1248,7 @@ const _ = {
|
|
|
1241
1248
|
}
|
|
1242
1249
|
]
|
|
1243
1250
|
}
|
|
1244
|
-
}, { t: u } = a(),
|
|
1251
|
+
}, { t: u } = a(), te = {
|
|
1245
1252
|
component: () => import("../../radio-Ducbqo4d.js"),
|
|
1246
1253
|
groupName: u("form"),
|
|
1247
1254
|
icon: "icon--epic--radio-button-checked-outline",
|
|
@@ -1364,25 +1371,25 @@ const _ = {
|
|
|
1364
1371
|
}
|
|
1365
1372
|
]
|
|
1366
1373
|
}
|
|
1367
|
-
}, { t:
|
|
1374
|
+
}, { t: i } = a(), oe = {
|
|
1368
1375
|
component: () => import("../../checkbox-BMXONqwy.js"),
|
|
1369
|
-
groupName:
|
|
1376
|
+
groupName: i("form"),
|
|
1370
1377
|
icon: "icon--epic--dialogs-outline-rounded",
|
|
1371
1378
|
sort: 860,
|
|
1372
1379
|
defaultSchema: {
|
|
1373
|
-
label:
|
|
1380
|
+
label: i("checkbox"),
|
|
1374
1381
|
type: "checkbox",
|
|
1375
1382
|
field: "checkbox",
|
|
1376
1383
|
input: !0,
|
|
1377
1384
|
componentProps: {
|
|
1378
1385
|
options: [
|
|
1379
1386
|
{
|
|
1380
|
-
label:
|
|
1381
|
-
value:
|
|
1387
|
+
label: i("option1"),
|
|
1388
|
+
value: i("option1")
|
|
1382
1389
|
},
|
|
1383
1390
|
{
|
|
1384
|
-
label:
|
|
1385
|
-
value:
|
|
1391
|
+
label: i("option2"),
|
|
1392
|
+
value: i("option2")
|
|
1386
1393
|
}
|
|
1387
1394
|
]
|
|
1388
1395
|
}
|
|
@@ -1390,37 +1397,37 @@ const _ = {
|
|
|
1390
1397
|
config: {
|
|
1391
1398
|
attribute: [
|
|
1392
1399
|
{
|
|
1393
|
-
label:
|
|
1400
|
+
label: i("fieldName"),
|
|
1394
1401
|
type: "input",
|
|
1395
1402
|
field: "field"
|
|
1396
1403
|
},
|
|
1397
1404
|
{
|
|
1398
|
-
label:
|
|
1405
|
+
label: i("title"),
|
|
1399
1406
|
type: "input",
|
|
1400
1407
|
field: "label"
|
|
1401
1408
|
},
|
|
1402
1409
|
{
|
|
1403
|
-
label:
|
|
1410
|
+
label: i("defaultValue"),
|
|
1404
1411
|
type: "checkbox",
|
|
1405
1412
|
field: "componentProps.defaultValue"
|
|
1406
1413
|
},
|
|
1407
1414
|
{
|
|
1408
|
-
label:
|
|
1415
|
+
label: i("size"),
|
|
1409
1416
|
type: "select",
|
|
1410
1417
|
componentProps: {
|
|
1411
|
-
placeholder:
|
|
1418
|
+
placeholder: i("pleaseSelect"),
|
|
1412
1419
|
clearable: !0,
|
|
1413
1420
|
options: [
|
|
1414
1421
|
{
|
|
1415
|
-
label:
|
|
1422
|
+
label: i("large"),
|
|
1416
1423
|
value: "large"
|
|
1417
1424
|
},
|
|
1418
1425
|
{
|
|
1419
|
-
label:
|
|
1426
|
+
label: i("medium"),
|
|
1420
1427
|
value: "default"
|
|
1421
1428
|
},
|
|
1422
1429
|
{
|
|
1423
|
-
label:
|
|
1430
|
+
label: i("small"),
|
|
1424
1431
|
value: "small"
|
|
1425
1432
|
}
|
|
1426
1433
|
]
|
|
@@ -1428,41 +1435,41 @@ const _ = {
|
|
|
1428
1435
|
field: "componentProps.size"
|
|
1429
1436
|
},
|
|
1430
1437
|
{
|
|
1431
|
-
label:
|
|
1438
|
+
label: i("maxSelected"),
|
|
1432
1439
|
type: "number",
|
|
1433
1440
|
field: "componentProps.max",
|
|
1434
1441
|
componentProps: {
|
|
1435
|
-
placeholder:
|
|
1442
|
+
placeholder: i("pleaseEnter")
|
|
1436
1443
|
}
|
|
1437
1444
|
},
|
|
1438
1445
|
{
|
|
1439
|
-
label:
|
|
1446
|
+
label: i("minSelected"),
|
|
1440
1447
|
type: "number",
|
|
1441
1448
|
field: "componentProps.min",
|
|
1442
1449
|
componentProps: {
|
|
1443
|
-
placeholder:
|
|
1450
|
+
placeholder: i("pleaseEnter")
|
|
1444
1451
|
}
|
|
1445
1452
|
},
|
|
1446
1453
|
{
|
|
1447
|
-
label:
|
|
1454
|
+
label: i("buttonMode"),
|
|
1448
1455
|
type: "switch",
|
|
1449
1456
|
field: "componentProps.radioButton"
|
|
1450
1457
|
},
|
|
1451
1458
|
{
|
|
1452
|
-
label:
|
|
1459
|
+
label: i("optionTextColor"),
|
|
1453
1460
|
type: "color-picker",
|
|
1454
1461
|
layout: "horizontal",
|
|
1455
1462
|
field: "componentProps.textColor",
|
|
1456
1463
|
show: ({ values: e }) => e.componentProps.radioButton,
|
|
1457
|
-
describe:
|
|
1464
|
+
describe: i("effectiveInButtonMode")
|
|
1458
1465
|
},
|
|
1459
1466
|
{
|
|
1460
|
-
label:
|
|
1467
|
+
label: i("optionButtonColor"),
|
|
1461
1468
|
type: "color-picker",
|
|
1462
1469
|
layout: "horizontal",
|
|
1463
1470
|
field: "componentProps.fill",
|
|
1464
1471
|
show: ({ values: e }) => e.componentProps.radioButton,
|
|
1465
|
-
describe:
|
|
1472
|
+
describe: i("effectiveInButtonMode")
|
|
1466
1473
|
},
|
|
1467
1474
|
// {
|
|
1468
1475
|
// label: "禁用",
|
|
@@ -1475,43 +1482,43 @@ const _ = {
|
|
|
1475
1482
|
// field: "componentProps.hidden",
|
|
1476
1483
|
// },
|
|
1477
1484
|
{
|
|
1478
|
-
label:
|
|
1485
|
+
label: i("optionManagement"),
|
|
1479
1486
|
type: "EOptionsEditor",
|
|
1480
1487
|
layout: "vertical",
|
|
1481
1488
|
field: "componentProps.options"
|
|
1482
1489
|
},
|
|
1483
1490
|
{
|
|
1484
|
-
label:
|
|
1491
|
+
label: i("formValidation"),
|
|
1485
1492
|
type: "ERuleEditor",
|
|
1486
1493
|
layout: "vertical",
|
|
1487
1494
|
field: "rules",
|
|
1488
|
-
describe:
|
|
1495
|
+
describe: i("validationRuleRequiresForm"),
|
|
1489
1496
|
componentProps: {
|
|
1490
1497
|
ruleType: "array"
|
|
1491
1498
|
}
|
|
1492
1499
|
},
|
|
1493
1500
|
{
|
|
1494
|
-
label:
|
|
1501
|
+
label: i("dataSource"),
|
|
1495
1502
|
type: "EDataSource",
|
|
1496
1503
|
layout: "vertical",
|
|
1497
1504
|
field: "componentProps.dataSource",
|
|
1498
|
-
describe:
|
|
1505
|
+
describe: i("dataSourceConfig")
|
|
1499
1506
|
}
|
|
1500
1507
|
],
|
|
1501
1508
|
event: [
|
|
1502
1509
|
{
|
|
1503
1510
|
type: "change",
|
|
1504
|
-
describe:
|
|
1511
|
+
describe: i("onValueChange")
|
|
1505
1512
|
}
|
|
1506
1513
|
]
|
|
1507
1514
|
}
|
|
1508
|
-
}, { t:
|
|
1515
|
+
}, { t: r } = a(), ae = {
|
|
1509
1516
|
component: async () => (await import("element-plus")).ElSlider,
|
|
1510
|
-
groupName:
|
|
1517
|
+
groupName: r("form"),
|
|
1511
1518
|
icon: "icon--epic--switches",
|
|
1512
1519
|
sort: 930,
|
|
1513
1520
|
defaultSchema: {
|
|
1514
|
-
label:
|
|
1521
|
+
label: r("slider"),
|
|
1515
1522
|
type: "slider",
|
|
1516
1523
|
field: "slider",
|
|
1517
1524
|
input: !0,
|
|
@@ -1523,37 +1530,37 @@ const _ = {
|
|
|
1523
1530
|
config: {
|
|
1524
1531
|
attribute: [
|
|
1525
1532
|
{
|
|
1526
|
-
label:
|
|
1533
|
+
label: r("fieldName"),
|
|
1527
1534
|
type: "input",
|
|
1528
1535
|
field: "field"
|
|
1529
1536
|
},
|
|
1530
1537
|
{
|
|
1531
|
-
label:
|
|
1538
|
+
label: r("title"),
|
|
1532
1539
|
type: "input",
|
|
1533
1540
|
field: "label"
|
|
1534
1541
|
},
|
|
1535
1542
|
{
|
|
1536
|
-
label:
|
|
1543
|
+
label: r("defaultValue"),
|
|
1537
1544
|
type: "slider",
|
|
1538
1545
|
field: "componentProps.defaultValue"
|
|
1539
1546
|
},
|
|
1540
1547
|
{
|
|
1541
|
-
label:
|
|
1548
|
+
label: r("size"),
|
|
1542
1549
|
type: "select",
|
|
1543
1550
|
componentProps: {
|
|
1544
|
-
placeholder:
|
|
1551
|
+
placeholder: r("pleaseSelect"),
|
|
1545
1552
|
clearable: !0,
|
|
1546
1553
|
options: [
|
|
1547
1554
|
{
|
|
1548
|
-
label:
|
|
1555
|
+
label: r("large"),
|
|
1549
1556
|
value: "large"
|
|
1550
1557
|
},
|
|
1551
1558
|
{
|
|
1552
|
-
label:
|
|
1559
|
+
label: r("medium"),
|
|
1553
1560
|
value: "default"
|
|
1554
1561
|
},
|
|
1555
1562
|
{
|
|
1556
|
-
label:
|
|
1563
|
+
label: r("small"),
|
|
1557
1564
|
value: "small"
|
|
1558
1565
|
}
|
|
1559
1566
|
]
|
|
@@ -1561,83 +1568,83 @@ const _ = {
|
|
|
1561
1568
|
field: "componentProps.size"
|
|
1562
1569
|
},
|
|
1563
1570
|
{
|
|
1564
|
-
label:
|
|
1571
|
+
label: r("minValue"),
|
|
1565
1572
|
type: "number",
|
|
1566
1573
|
field: "componentProps.min",
|
|
1567
1574
|
componentProps: {
|
|
1568
|
-
placeholder:
|
|
1575
|
+
placeholder: r("pleaseEnter")
|
|
1569
1576
|
},
|
|
1570
|
-
onChange: ({ value: e, values:
|
|
1571
|
-
const
|
|
1572
|
-
|
|
1577
|
+
onChange: ({ value: e, values: s, componentAttributes: w }) => {
|
|
1578
|
+
const I = w.value.findIndex((N) => N.field === "componentProps.max"), R = w.value[I];
|
|
1579
|
+
R.componentProps = {
|
|
1573
1580
|
min: e
|
|
1574
|
-
}, (
|
|
1581
|
+
}, (s.componentProps.max ?? 0) < e && (s.componentProps.max = e);
|
|
1575
1582
|
}
|
|
1576
1583
|
},
|
|
1577
1584
|
{
|
|
1578
|
-
label:
|
|
1585
|
+
label: r("maxValue"),
|
|
1579
1586
|
type: "number",
|
|
1580
1587
|
field: "componentProps.max",
|
|
1581
1588
|
componentProps: {
|
|
1582
|
-
placeholder:
|
|
1589
|
+
placeholder: r("pleaseEnter")
|
|
1583
1590
|
},
|
|
1584
|
-
onChange: ({ value: e, values:
|
|
1585
|
-
const
|
|
1586
|
-
|
|
1591
|
+
onChange: ({ value: e, values: s, componentAttributes: w }) => {
|
|
1592
|
+
const I = w.value.findIndex((N) => N.field === "componentProps.min"), R = w.value[I];
|
|
1593
|
+
R.componentProps = {
|
|
1587
1594
|
max: e
|
|
1588
|
-
}, (
|
|
1595
|
+
}, (s.componentProps.min ?? 0) > e && (s.componentProps.min = e);
|
|
1589
1596
|
}
|
|
1590
1597
|
},
|
|
1591
1598
|
{
|
|
1592
|
-
label:
|
|
1599
|
+
label: r("step"),
|
|
1593
1600
|
type: "number",
|
|
1594
1601
|
field: "componentProps.step",
|
|
1595
1602
|
componentProps: {
|
|
1596
|
-
placeholder:
|
|
1603
|
+
placeholder: r("pleaseEnter")
|
|
1597
1604
|
}
|
|
1598
1605
|
},
|
|
1599
1606
|
{
|
|
1600
|
-
label:
|
|
1607
|
+
label: r("showStops"),
|
|
1601
1608
|
type: "switch",
|
|
1602
1609
|
field: "componentProps.showStops"
|
|
1603
1610
|
},
|
|
1604
1611
|
{
|
|
1605
|
-
label:
|
|
1612
|
+
label: r("tooltip"),
|
|
1606
1613
|
type: "switch",
|
|
1607
1614
|
field: "componentProps.showTooltip"
|
|
1608
1615
|
},
|
|
1609
1616
|
{
|
|
1610
|
-
label:
|
|
1617
|
+
label: r("range"),
|
|
1611
1618
|
type: "switch",
|
|
1612
1619
|
field: "componentProps.range"
|
|
1613
1620
|
},
|
|
1614
1621
|
{
|
|
1615
|
-
label:
|
|
1622
|
+
label: r("vertical"),
|
|
1616
1623
|
type: "switch",
|
|
1617
1624
|
field: "componentProps.vertical"
|
|
1618
1625
|
},
|
|
1619
1626
|
{
|
|
1620
|
-
label:
|
|
1627
|
+
label: r("height"),
|
|
1621
1628
|
type: "EInputSize",
|
|
1622
1629
|
field: "componentProps.height",
|
|
1623
1630
|
show: ({ values: e }) => e.componentProps.vertical
|
|
1624
1631
|
},
|
|
1625
1632
|
{
|
|
1626
|
-
label:
|
|
1633
|
+
label: r("showInput"),
|
|
1627
1634
|
type: "switch",
|
|
1628
1635
|
field: "componentProps.showInput",
|
|
1629
|
-
onChange: ({ value: e, values:
|
|
1630
|
-
e && (
|
|
1636
|
+
onChange: ({ value: e, values: s }) => {
|
|
1637
|
+
e && (s.componentProps.showInputControls = !0);
|
|
1631
1638
|
}
|
|
1632
1639
|
},
|
|
1633
1640
|
{
|
|
1634
|
-
label:
|
|
1641
|
+
label: r("controlButtons"),
|
|
1635
1642
|
type: "switch",
|
|
1636
1643
|
field: "componentProps.showInputControls",
|
|
1637
1644
|
show: ({ values: e }) => e.componentProps.showInput
|
|
1638
1645
|
},
|
|
1639
1646
|
{
|
|
1640
|
-
label:
|
|
1647
|
+
label: r("tooltipPosition"),
|
|
1641
1648
|
type: "select",
|
|
1642
1649
|
defaultValue: "bottom-start",
|
|
1643
1650
|
componentProps: {
|
|
@@ -1705,11 +1712,11 @@ const _ = {
|
|
|
1705
1712
|
// field: "componentProps.hidden",
|
|
1706
1713
|
// },
|
|
1707
1714
|
{
|
|
1708
|
-
label:
|
|
1715
|
+
label: r("formValidation"),
|
|
1709
1716
|
type: "ERuleEditor",
|
|
1710
1717
|
layout: "vertical",
|
|
1711
1718
|
field: "rules",
|
|
1712
|
-
describe:
|
|
1719
|
+
describe: r("validationRuleRequiresForm"),
|
|
1713
1720
|
componentProps: {
|
|
1714
1721
|
ruleType: "number"
|
|
1715
1722
|
}
|
|
@@ -1718,15 +1725,15 @@ const _ = {
|
|
|
1718
1725
|
event: [
|
|
1719
1726
|
{
|
|
1720
1727
|
type: "input",
|
|
1721
|
-
describe:
|
|
1728
|
+
describe: r("realTimeTrigger")
|
|
1722
1729
|
},
|
|
1723
1730
|
{
|
|
1724
1731
|
type: "change",
|
|
1725
|
-
describe:
|
|
1732
|
+
describe: r("onChangeEnd")
|
|
1726
1733
|
}
|
|
1727
1734
|
]
|
|
1728
1735
|
}
|
|
1729
|
-
}, { t: f } = a(),
|
|
1736
|
+
}, { t: f } = a(), ne = {
|
|
1730
1737
|
component: async () => (await import("element-plus")).ElColorPicker,
|
|
1731
1738
|
groupName: f("form"),
|
|
1732
1739
|
icon: "icon--epic--palette-outline",
|
|
@@ -1835,7 +1842,7 @@ const _ = {
|
|
|
1835
1842
|
],
|
|
1836
1843
|
action: []
|
|
1837
1844
|
}
|
|
1838
|
-
}, { t: m } = a(),
|
|
1845
|
+
}, { t: m } = a(), pe = {
|
|
1839
1846
|
component: async () => (await import("element-plus")).ElSwitch,
|
|
1840
1847
|
groupName: m("form"),
|
|
1841
1848
|
icon: "icon--epic--toggle-off-outline",
|
|
@@ -1874,7 +1881,7 @@ const _ = {
|
|
|
1874
1881
|
placeholder: m("pleaseEnter")
|
|
1875
1882
|
},
|
|
1876
1883
|
onChange(e) {
|
|
1877
|
-
setTimeout(() =>
|
|
1884
|
+
setTimeout(() => k(e));
|
|
1878
1885
|
}
|
|
1879
1886
|
},
|
|
1880
1887
|
{
|
|
@@ -1885,7 +1892,7 @@ const _ = {
|
|
|
1885
1892
|
placeholder: m("pleaseEnter")
|
|
1886
1893
|
},
|
|
1887
1894
|
onChange(e) {
|
|
1888
|
-
setTimeout(() =>
|
|
1895
|
+
setTimeout(() => k(e));
|
|
1889
1896
|
}
|
|
1890
1897
|
},
|
|
1891
1898
|
{
|
|
@@ -1970,14 +1977,14 @@ const _ = {
|
|
|
1970
1977
|
]
|
|
1971
1978
|
}
|
|
1972
1979
|
};
|
|
1973
|
-
function
|
|
1974
|
-
var
|
|
1975
|
-
let
|
|
1976
|
-
e.values.componentProps.unCheckedValue === "" && delete e.values.componentProps.unCheckedValue, e.values.componentProps.activeValue === "" && delete e.values.componentProps.activeValue, e.values.componentProps ? e.values.componentProps.defaultValue =
|
|
1977
|
-
defaultValue:
|
|
1980
|
+
function k(e) {
|
|
1981
|
+
var w;
|
|
1982
|
+
let s = ((w = e.values.componentProps) == null ? void 0 : w.inactiveValue) || !1;
|
|
1983
|
+
e.values.componentProps.unCheckedValue === "" && delete e.values.componentProps.unCheckedValue, e.values.componentProps.activeValue === "" && delete e.values.componentProps.activeValue, e.values.componentProps ? e.values.componentProps.defaultValue = s : e.values.componentProps = {
|
|
1984
|
+
defaultValue: s
|
|
1978
1985
|
};
|
|
1979
1986
|
}
|
|
1980
|
-
const { t: l } = a(),
|
|
1987
|
+
const { t: l } = a(), ie = {
|
|
1981
1988
|
component: async () => (await import("element-plus")).ElCascader,
|
|
1982
1989
|
groupName: l("form"),
|
|
1983
1990
|
icon: "icon--epic--full-coverage-outline",
|
|
@@ -2085,8 +2092,8 @@ const { t: l } = a(), pe = {
|
|
|
2085
2092
|
label: l("multiple"),
|
|
2086
2093
|
type: "switch",
|
|
2087
2094
|
field: "componentProps.props.multiple",
|
|
2088
|
-
onChange: ({ value: e, values:
|
|
2089
|
-
e ?
|
|
2095
|
+
onChange: ({ value: e, values: s }) => {
|
|
2096
|
+
e ? s.componentProps.defaultValue = [] : s.componentProps.defaultValue = null;
|
|
2090
2097
|
}
|
|
2091
2098
|
},
|
|
2092
2099
|
{
|
|
@@ -2195,7 +2202,7 @@ const { t: l } = a(), pe = {
|
|
|
2195
2202
|
}
|
|
2196
2203
|
};
|
|
2197
2204
|
a();
|
|
2198
|
-
const
|
|
2205
|
+
const re = {
|
|
2199
2206
|
component: () => import("../../collapse-I4H1VTFf.js"),
|
|
2200
2207
|
icon: "epic-icon-xiala",
|
|
2201
2208
|
// groupName: "布局",
|
|
@@ -2237,7 +2244,7 @@ const ie = {
|
|
|
2237
2244
|
}
|
|
2238
2245
|
};
|
|
2239
2246
|
a();
|
|
2240
|
-
const
|
|
2247
|
+
const ce = {
|
|
2241
2248
|
component: () => import("../../collapseItem-CW_HTWvE.js"),
|
|
2242
2249
|
defaultSchema: {
|
|
2243
2250
|
label: "折叠项",
|
|
@@ -2247,7 +2254,7 @@ const re = {
|
|
|
2247
2254
|
config: {
|
|
2248
2255
|
attribute: []
|
|
2249
2256
|
}
|
|
2250
|
-
}, { t: o } = a(),
|
|
2257
|
+
}, { t: o } = a(), se = {
|
|
2251
2258
|
component: async () => (await import("element-plus")).ElDatePicker,
|
|
2252
2259
|
groupName: o("form"),
|
|
2253
2260
|
icon: "icon--epic--calendar-month-outline-rounded",
|
|
@@ -2327,8 +2334,8 @@ const re = {
|
|
|
2327
2334
|
}
|
|
2328
2335
|
]
|
|
2329
2336
|
},
|
|
2330
|
-
onChange({ values: e, value:
|
|
2331
|
-
e.componentProps.defaultValue = null, ["date", "daterange", "dates"].includes(
|
|
2337
|
+
onChange({ values: e, value: s }) {
|
|
2338
|
+
e.componentProps.defaultValue = null, ["date", "daterange", "dates"].includes(s) ? (e.componentProps.format = "YYYY-MM-DD", e.componentProps.valueFormat = "YYYY-MM-DD") : ["week"].includes(s) ? (e.componentProps.format = "ww [周]", e.componentProps.valueFormat = "YYYY-MM-DD") : ["month", "monthrange"].includes(s) ? (e.componentProps.format = "YYYY-MM", e.componentProps.valueFormat = "YYYY-MM") : ["datetime", "datetimerange"].includes(s) ? (e.componentProps.format = "YYYY-MM-DD HH:mm:ss", e.componentProps.valueFormat = "YYYY-MM-DD HH:mm:ss") : ["year"].includes(s) && (e.componentProps.format = "YYYY", e.componentProps.valueFormat = "YYYY");
|
|
2332
2339
|
}
|
|
2333
2340
|
},
|
|
2334
2341
|
{
|
|
@@ -2440,7 +2447,7 @@ const re = {
|
|
|
2440
2447
|
}
|
|
2441
2448
|
]
|
|
2442
2449
|
}
|
|
2443
|
-
}, { t: P } = a(),
|
|
2450
|
+
}, { t: P } = a(), de = {
|
|
2444
2451
|
component: () => import("../../uploadFile-qCbXuHfd.js"),
|
|
2445
2452
|
groupName: P("form"),
|
|
2446
2453
|
icon: "icon--epic--upload-rounded",
|
|
@@ -2525,7 +2532,7 @@ const re = {
|
|
|
2525
2532
|
]
|
|
2526
2533
|
},
|
|
2527
2534
|
bindModel: "modelValue"
|
|
2528
|
-
}, { t: g } = a(),
|
|
2535
|
+
}, { t: g } = a(), ue = {
|
|
2529
2536
|
component: () => import("../../uploadImage-DQmVV0jl.js"),
|
|
2530
2537
|
groupName: g("form"),
|
|
2531
2538
|
icon: "icon--epic--imagesmode-outline-rounded",
|
|
@@ -2610,7 +2617,7 @@ const re = {
|
|
|
2610
2617
|
]
|
|
2611
2618
|
},
|
|
2612
2619
|
bindModel: "modelValue"
|
|
2613
|
-
}, { t:
|
|
2620
|
+
}, { t: me } = a(), be = {
|
|
2614
2621
|
component: () => import("../../modal-DZRBS-Mt.js"),
|
|
2615
2622
|
defaultSchema: {
|
|
2616
2623
|
label: "模态框",
|
|
@@ -2620,25 +2627,25 @@ const re = {
|
|
|
2620
2627
|
config: {
|
|
2621
2628
|
attribute: [
|
|
2622
2629
|
{
|
|
2623
|
-
label:
|
|
2630
|
+
label: me("title"),
|
|
2624
2631
|
type: "input",
|
|
2625
2632
|
field: "title"
|
|
2626
2633
|
}
|
|
2627
2634
|
]
|
|
2628
2635
|
}
|
|
2629
|
-
}, { t:
|
|
2636
|
+
}, { t: E } = a(), fe = {
|
|
2630
2637
|
// component: async () => await import("../../../../packages/core/components/designer/src"),
|
|
2631
2638
|
component: async () => await import("../../sign-l63EYvVo.js"),
|
|
2632
2639
|
icon: "icon--epic--insert-text-outline-rounded",
|
|
2633
|
-
groupName:
|
|
2640
|
+
groupName: E("form"),
|
|
2634
2641
|
sort: 705,
|
|
2635
2642
|
defaultSchema: {
|
|
2636
|
-
label:
|
|
2643
|
+
label: E("signaturePad"),
|
|
2637
2644
|
type: "sign",
|
|
2638
2645
|
field: "sign",
|
|
2639
2646
|
input: !0,
|
|
2640
2647
|
componentProps: {
|
|
2641
|
-
placeholder:
|
|
2648
|
+
placeholder: E("pleaseEnter"),
|
|
2642
2649
|
lineWidth: 4,
|
|
2643
2650
|
type: "sign",
|
|
2644
2651
|
style: {}
|
|
@@ -2647,12 +2654,12 @@ const re = {
|
|
|
2647
2654
|
config: {
|
|
2648
2655
|
attribute: [
|
|
2649
2656
|
{
|
|
2650
|
-
label:
|
|
2657
|
+
label: E("fieldName"),
|
|
2651
2658
|
type: "input",
|
|
2652
2659
|
field: "field"
|
|
2653
2660
|
},
|
|
2654
2661
|
{
|
|
2655
|
-
label:
|
|
2662
|
+
label: E("title"),
|
|
2656
2663
|
type: "input",
|
|
2657
2664
|
field: "label"
|
|
2658
2665
|
},
|
|
@@ -2662,10 +2669,10 @@ const re = {
|
|
|
2662
2669
|
// field: "componentProps.placeholder",
|
|
2663
2670
|
// },
|
|
2664
2671
|
{
|
|
2665
|
-
label:
|
|
2672
|
+
label: E("lineWidth") + "(px)",
|
|
2666
2673
|
type: "input",
|
|
2667
2674
|
componentProps: {
|
|
2668
|
-
placeholder:
|
|
2675
|
+
placeholder: E("pleaseSelect"),
|
|
2669
2676
|
clearable: !0
|
|
2670
2677
|
},
|
|
2671
2678
|
field: "componentProps.lineWidth"
|
|
@@ -2686,11 +2693,11 @@ const re = {
|
|
|
2686
2693
|
// field: "componentProps.hidden",
|
|
2687
2694
|
// },
|
|
2688
2695
|
{
|
|
2689
|
-
label:
|
|
2696
|
+
label: E("formValidation"),
|
|
2690
2697
|
type: "ERuleEditor",
|
|
2691
2698
|
layout: "vertical",
|
|
2692
2699
|
field: "rules",
|
|
2693
|
-
describe:
|
|
2700
|
+
describe: E("validationRuleRequiresForm")
|
|
2694
2701
|
}
|
|
2695
2702
|
]
|
|
2696
2703
|
// event: [
|
|
@@ -2732,7 +2739,7 @@ const re = {
|
|
|
2732
2739
|
}
|
|
2733
2740
|
};
|
|
2734
2741
|
a();
|
|
2735
|
-
const
|
|
2742
|
+
const ye = {
|
|
2736
2743
|
component: () => import("../../table-75K2lqjD.js"),
|
|
2737
2744
|
// groupName: "表单",
|
|
2738
2745
|
icon: "icon--epic--table-dashed",
|
|
@@ -2834,7 +2841,7 @@ const fe = {
|
|
|
2834
2841
|
}
|
|
2835
2842
|
]
|
|
2836
2843
|
}
|
|
2837
|
-
}, { t: y } = a(),
|
|
2844
|
+
}, { t: y } = a(), he = {
|
|
2838
2845
|
component: async () => await import("../../text-C-b94tBH.js"),
|
|
2839
2846
|
groupName: y("form"),
|
|
2840
2847
|
icon: "icon--epic--file-word-line",
|
|
@@ -2990,7 +2997,7 @@ const fe = {
|
|
|
2990
2997
|
}
|
|
2991
2998
|
};
|
|
2992
2999
|
a();
|
|
2993
|
-
const
|
|
3000
|
+
const Pe = {
|
|
2994
3001
|
component: () => import("../../cell-B_q5hgzb.js"),
|
|
2995
3002
|
groupName: "",
|
|
2996
3003
|
defaultSchema: {
|
|
@@ -3004,7 +3011,7 @@ const he = {
|
|
|
3004
3011
|
config: {
|
|
3005
3012
|
attribute: []
|
|
3006
3013
|
}
|
|
3007
|
-
}, { t:
|
|
3014
|
+
}, { t: x } = a(), ge = {
|
|
3008
3015
|
component: () => import("../../tabs-DCyifACM.js"),
|
|
3009
3016
|
groupName: "布局",
|
|
3010
3017
|
icon: "icon--epic--section",
|
|
@@ -3033,7 +3040,7 @@ const he = {
|
|
|
3033
3040
|
config: {
|
|
3034
3041
|
attribute: [
|
|
3035
3042
|
{
|
|
3036
|
-
label:
|
|
3043
|
+
label: x("fieldName"),
|
|
3037
3044
|
type: "input",
|
|
3038
3045
|
field: "field"
|
|
3039
3046
|
},
|
|
@@ -3041,7 +3048,7 @@ const he = {
|
|
|
3041
3048
|
label: "风格类型",
|
|
3042
3049
|
type: "select",
|
|
3043
3050
|
componentProps: {
|
|
3044
|
-
placeholder:
|
|
3051
|
+
placeholder: x("pleaseSelect"),
|
|
3045
3052
|
clearable: !0,
|
|
3046
3053
|
options: [
|
|
3047
3054
|
{
|
|
@@ -3060,7 +3067,7 @@ const he = {
|
|
|
3060
3067
|
label: "选项卡所在位置",
|
|
3061
3068
|
type: "select",
|
|
3062
3069
|
componentProps: {
|
|
3063
|
-
placeholder:
|
|
3070
|
+
placeholder: x("pleaseSelect"),
|
|
3064
3071
|
clearable: !0,
|
|
3065
3072
|
options: [
|
|
3066
3073
|
{
|
|
@@ -3084,17 +3091,17 @@ const he = {
|
|
|
3084
3091
|
field: "componentProps.tab-position"
|
|
3085
3092
|
},
|
|
3086
3093
|
{
|
|
3087
|
-
label:
|
|
3094
|
+
label: x("optionManagement"),
|
|
3088
3095
|
type: "EOptionsEditor",
|
|
3089
3096
|
layout: "vertical",
|
|
3090
3097
|
field: "children",
|
|
3091
|
-
describe:
|
|
3098
|
+
describe: x("configureOptions")
|
|
3092
3099
|
}
|
|
3093
3100
|
]
|
|
3094
3101
|
}
|
|
3095
3102
|
};
|
|
3096
3103
|
a();
|
|
3097
|
-
const
|
|
3104
|
+
const ve = {
|
|
3098
3105
|
component: () => import("../../tabPanel-DAw7ENrC.js"),
|
|
3099
3106
|
defaultSchema: {
|
|
3100
3107
|
label: "标签",
|
|
@@ -3107,7 +3114,7 @@ const ge = {
|
|
|
3107
3114
|
config: {
|
|
3108
3115
|
attribute: []
|
|
3109
3116
|
}
|
|
3110
|
-
}, { t:
|
|
3117
|
+
}, { t: C } = a(), we = {
|
|
3111
3118
|
component: () => import("../../ETable-ogvH56w7.js"),
|
|
3112
3119
|
groupName: "布局",
|
|
3113
3120
|
icon: "icon--epic--table-shortcut",
|
|
@@ -3175,7 +3182,7 @@ const ge = {
|
|
|
3175
3182
|
config: {
|
|
3176
3183
|
attribute: [
|
|
3177
3184
|
{
|
|
3178
|
-
label:
|
|
3185
|
+
label: C("verticalAlignment"),
|
|
3179
3186
|
type: "select",
|
|
3180
3187
|
componentProps: {
|
|
3181
3188
|
style: { width: "100%" },
|
|
@@ -3193,12 +3200,12 @@ const ge = {
|
|
|
3193
3200
|
value: "bottom"
|
|
3194
3201
|
}
|
|
3195
3202
|
],
|
|
3196
|
-
placeholder:
|
|
3203
|
+
placeholder: C("pleaseSelect")
|
|
3197
3204
|
},
|
|
3198
3205
|
field: "componentProps.align"
|
|
3199
3206
|
},
|
|
3200
3207
|
{
|
|
3201
|
-
label:
|
|
3208
|
+
label: C("horizontalArrangement"),
|
|
3202
3209
|
type: "select",
|
|
3203
3210
|
componentProps: {
|
|
3204
3211
|
style: { width: "100%" },
|
|
@@ -3224,16 +3231,16 @@ const ge = {
|
|
|
3224
3231
|
value: "space-between"
|
|
3225
3232
|
}
|
|
3226
3233
|
],
|
|
3227
|
-
placeholder:
|
|
3234
|
+
placeholder: C("pleaseSelect")
|
|
3228
3235
|
},
|
|
3229
3236
|
field: "componentProps.justify"
|
|
3230
3237
|
},
|
|
3231
3238
|
{
|
|
3232
|
-
label:
|
|
3239
|
+
label: C("gridSpacing"),
|
|
3233
3240
|
type: "number",
|
|
3234
3241
|
field: "componentProps.gutter",
|
|
3235
3242
|
componentProps: {
|
|
3236
|
-
placeholder:
|
|
3243
|
+
placeholder: C("pleaseEnter")
|
|
3237
3244
|
}
|
|
3238
3245
|
}
|
|
3239
3246
|
// {
|
|
@@ -3248,7 +3255,7 @@ const ge = {
|
|
|
3248
3255
|
// },
|
|
3249
3256
|
]
|
|
3250
3257
|
}
|
|
3251
|
-
}, { t:
|
|
3258
|
+
}, { t: T } = a(), Se = {
|
|
3252
3259
|
component: () => import("../../ETr-nIjGkdzO.js"),
|
|
3253
3260
|
// groupName: "布局",
|
|
3254
3261
|
icon: "icon--epic--width-normal-outline",
|
|
@@ -3263,7 +3270,7 @@ const ge = {
|
|
|
3263
3270
|
config: {
|
|
3264
3271
|
attribute: [
|
|
3265
3272
|
{
|
|
3266
|
-
label:
|
|
3273
|
+
label: T("verticalAlignment"),
|
|
3267
3274
|
type: "select",
|
|
3268
3275
|
componentProps: {
|
|
3269
3276
|
style: { width: "100%" },
|
|
@@ -3281,12 +3288,12 @@ const ge = {
|
|
|
3281
3288
|
value: "bottom"
|
|
3282
3289
|
}
|
|
3283
3290
|
],
|
|
3284
|
-
placeholder:
|
|
3291
|
+
placeholder: T("pleaseSelect")
|
|
3285
3292
|
},
|
|
3286
3293
|
field: "componentProps.align"
|
|
3287
3294
|
},
|
|
3288
3295
|
{
|
|
3289
|
-
label:
|
|
3296
|
+
label: T("horizontalArrangement"),
|
|
3290
3297
|
type: "select",
|
|
3291
3298
|
componentProps: {
|
|
3292
3299
|
style: { width: "100%" },
|
|
@@ -3312,16 +3319,16 @@ const ge = {
|
|
|
3312
3319
|
value: "space-between"
|
|
3313
3320
|
}
|
|
3314
3321
|
],
|
|
3315
|
-
placeholder:
|
|
3322
|
+
placeholder: T("pleaseSelect")
|
|
3316
3323
|
},
|
|
3317
3324
|
field: "componentProps.justify"
|
|
3318
3325
|
},
|
|
3319
3326
|
{
|
|
3320
|
-
label:
|
|
3327
|
+
label: T("gridSpacing"),
|
|
3321
3328
|
type: "number",
|
|
3322
3329
|
field: "componentProps.gutter",
|
|
3323
3330
|
componentProps: {
|
|
3324
|
-
placeholder:
|
|
3331
|
+
placeholder: T("pleaseEnter")
|
|
3325
3332
|
}
|
|
3326
3333
|
}
|
|
3327
3334
|
// {
|
|
@@ -3338,7 +3345,7 @@ const ge = {
|
|
|
3338
3345
|
}
|
|
3339
3346
|
};
|
|
3340
3347
|
a();
|
|
3341
|
-
const
|
|
3348
|
+
const Ee = {
|
|
3342
3349
|
component: () => import("../../ETd-CRUvOVnZ.js"),
|
|
3343
3350
|
// groupName: "布局",
|
|
3344
3351
|
icon: "icon--epic--width-normal-outline",
|
|
@@ -3350,7 +3357,7 @@ const Se = {
|
|
|
3350
3357
|
config: {
|
|
3351
3358
|
attribute: []
|
|
3352
3359
|
}
|
|
3353
|
-
}, { t: b } = a(),
|
|
3360
|
+
}, { t: b } = a(), Ve = {
|
|
3354
3361
|
component: async () => (await import("element-plus")).ElRate,
|
|
3355
3362
|
groupName: b("form"),
|
|
3356
3363
|
icon: "icon--epic--star-filled-half",
|
|
@@ -3487,7 +3494,7 @@ const Se = {
|
|
|
3487
3494
|
}
|
|
3488
3495
|
]
|
|
3489
3496
|
}
|
|
3490
|
-
}, { t:
|
|
3497
|
+
}, { t: Ce } = a(), Te = {
|
|
3491
3498
|
component: async () => await import("../../iframe-Fgbk3vqJ.js"),
|
|
3492
3499
|
groupName: "布局",
|
|
3493
3500
|
icon: "icon--epic--box-3-line",
|
|
@@ -3507,7 +3514,7 @@ const Se = {
|
|
|
3507
3514
|
config: {
|
|
3508
3515
|
attribute: [
|
|
3509
3516
|
{
|
|
3510
|
-
label:
|
|
3517
|
+
label: Ce("fieldName"),
|
|
3511
3518
|
type: "input",
|
|
3512
3519
|
field: "field"
|
|
3513
3520
|
},
|
|
@@ -3518,31 +3525,145 @@ const Se = {
|
|
|
3518
3525
|
}
|
|
3519
3526
|
]
|
|
3520
3527
|
}
|
|
3528
|
+
}, { t: v } = a(), xe = {
|
|
3529
|
+
component: async () => await import("../../selectPage-OLtWHgz5.js"),
|
|
3530
|
+
// component: async () => (await import("element-plus")).ElInput,
|
|
3531
|
+
icon: "icon--epic--select",
|
|
3532
|
+
groupName: "表单",
|
|
3533
|
+
sort: 1888,
|
|
3534
|
+
defaultSchema: {
|
|
3535
|
+
label: "分页下拉框",
|
|
3536
|
+
type: "selectpage",
|
|
3537
|
+
field: "selectpage",
|
|
3538
|
+
input: !0,
|
|
3539
|
+
componentProps: {
|
|
3540
|
+
placeholder: v("pleaseEnter"),
|
|
3541
|
+
lineWidth: 4,
|
|
3542
|
+
type: "selectPage",
|
|
3543
|
+
style: {},
|
|
3544
|
+
pageKey: "pageNum",
|
|
3545
|
+
pageTotalKey: "total",
|
|
3546
|
+
searchKey: "keywords"
|
|
3547
|
+
}
|
|
3548
|
+
},
|
|
3549
|
+
config: {
|
|
3550
|
+
attribute: [
|
|
3551
|
+
{
|
|
3552
|
+
label: v("fieldName"),
|
|
3553
|
+
type: "input",
|
|
3554
|
+
field: "field"
|
|
3555
|
+
},
|
|
3556
|
+
{
|
|
3557
|
+
label: v("title"),
|
|
3558
|
+
type: "input",
|
|
3559
|
+
field: "label"
|
|
3560
|
+
},
|
|
3561
|
+
{
|
|
3562
|
+
label: v("placeholder"),
|
|
3563
|
+
type: "input",
|
|
3564
|
+
field: "componentProps.placeholder"
|
|
3565
|
+
},
|
|
3566
|
+
{
|
|
3567
|
+
label: v("size"),
|
|
3568
|
+
type: "select",
|
|
3569
|
+
componentProps: {
|
|
3570
|
+
placeholder: v("pleaseSelect"),
|
|
3571
|
+
clearable: !0,
|
|
3572
|
+
options: [
|
|
3573
|
+
{
|
|
3574
|
+
label: v("large"),
|
|
3575
|
+
value: "large"
|
|
3576
|
+
},
|
|
3577
|
+
{
|
|
3578
|
+
label: v("medium"),
|
|
3579
|
+
value: "default"
|
|
3580
|
+
},
|
|
3581
|
+
{
|
|
3582
|
+
label: v("small"),
|
|
3583
|
+
value: "small"
|
|
3584
|
+
}
|
|
3585
|
+
]
|
|
3586
|
+
},
|
|
3587
|
+
field: "componentProps.size"
|
|
3588
|
+
},
|
|
3589
|
+
// {
|
|
3590
|
+
// label: t("multiple"),
|
|
3591
|
+
// type: "switch",
|
|
3592
|
+
// field: "componentProps.multiple",
|
|
3593
|
+
// onChange: ({ value, values }) => {
|
|
3594
|
+
// if (value) {
|
|
3595
|
+
// values.componentProps.defaultValue = [];
|
|
3596
|
+
// } else {
|
|
3597
|
+
// values.componentProps.defaultValue = null;
|
|
3598
|
+
// }
|
|
3599
|
+
// },
|
|
3600
|
+
// },
|
|
3601
|
+
{
|
|
3602
|
+
label: "分页字段名",
|
|
3603
|
+
type: "input",
|
|
3604
|
+
field: "componentProps.pageKey"
|
|
3605
|
+
},
|
|
3606
|
+
{
|
|
3607
|
+
label: "总数字段名",
|
|
3608
|
+
type: "input",
|
|
3609
|
+
field: "componentProps.pageTotalKey"
|
|
3610
|
+
},
|
|
3611
|
+
// {
|
|
3612
|
+
// label: "分页当前页数",
|
|
3613
|
+
// type: "input",
|
|
3614
|
+
// field: "componentProps.pageNum",
|
|
3615
|
+
// },
|
|
3616
|
+
{
|
|
3617
|
+
label: "搜索字段名",
|
|
3618
|
+
type: "input",
|
|
3619
|
+
field: "componentProps.searchKey"
|
|
3620
|
+
},
|
|
3621
|
+
{
|
|
3622
|
+
label: "选择数据源",
|
|
3623
|
+
type: "ESourceDataSelect",
|
|
3624
|
+
layout: "vertical",
|
|
3625
|
+
field: "componentProps.options",
|
|
3626
|
+
describe: v("configureOptions")
|
|
3627
|
+
},
|
|
3628
|
+
{
|
|
3629
|
+
label: v("dataSource"),
|
|
3630
|
+
type: "EDataSource",
|
|
3631
|
+
layout: "vertical",
|
|
3632
|
+
field: "componentProps.dataSource",
|
|
3633
|
+
describe: v("dataSourceConfig")
|
|
3634
|
+
}
|
|
3635
|
+
],
|
|
3636
|
+
event: [
|
|
3637
|
+
{
|
|
3638
|
+
type: "change",
|
|
3639
|
+
describe: v("onValueChange")
|
|
3640
|
+
}
|
|
3641
|
+
]
|
|
3642
|
+
}
|
|
3521
3643
|
};
|
|
3522
|
-
function
|
|
3523
|
-
e.component("FormItem",
|
|
3524
|
-
K,
|
|
3644
|
+
function Fe(e = z) {
|
|
3645
|
+
e.component("FormItem", Y), e.component("Form", D), e.component("RadioGroup", B), e.component("RadioButton", M), e.component("Tabs", L), e.component("TabPane", q), e.component("Collapse", W), e.component("CollapseItem", A), e.component("Drawer", $), e.component("Dialog", O), e.component("ElTable", U), e.component("ElTableColumn", K), [
|
|
3525
3646
|
_,
|
|
3647
|
+
J,
|
|
3526
3648
|
H,
|
|
3527
3649
|
j,
|
|
3528
3650
|
G,
|
|
3529
|
-
le,
|
|
3530
3651
|
te,
|
|
3531
|
-
ce,
|
|
3532
|
-
ee,
|
|
3533
|
-
ne,
|
|
3534
|
-
ae,
|
|
3535
|
-
pe,
|
|
3536
3652
|
oe,
|
|
3537
3653
|
se,
|
|
3654
|
+
le,
|
|
3655
|
+
pe,
|
|
3656
|
+
ne,
|
|
3657
|
+
ie,
|
|
3658
|
+
ae,
|
|
3538
3659
|
de,
|
|
3539
|
-
|
|
3660
|
+
ue,
|
|
3540
3661
|
Q,
|
|
3541
3662
|
X,
|
|
3542
3663
|
Z,
|
|
3543
|
-
|
|
3664
|
+
ee,
|
|
3544
3665
|
re,
|
|
3545
|
-
|
|
3666
|
+
ce,
|
|
3546
3667
|
be,
|
|
3547
3668
|
fe,
|
|
3548
3669
|
ye,
|
|
@@ -3553,17 +3674,19 @@ function Re(e = N) {
|
|
|
3553
3674
|
we,
|
|
3554
3675
|
Se,
|
|
3555
3676
|
Ee,
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3677
|
+
Ve,
|
|
3678
|
+
Te,
|
|
3679
|
+
xe
|
|
3680
|
+
].forEach((w) => {
|
|
3681
|
+
e.registerComponent(w), e.addBaseComponentTypes(w.defaultSchema.type);
|
|
3559
3682
|
}), e.setInitialized(!0);
|
|
3560
3683
|
}
|
|
3561
3684
|
function ke(e) {
|
|
3562
|
-
import("element-plus").then(({ provideGlobalConfig:
|
|
3563
|
-
|
|
3685
|
+
import("element-plus").then(({ provideGlobalConfig: s }) => {
|
|
3686
|
+
s(e);
|
|
3564
3687
|
});
|
|
3565
3688
|
}
|
|
3566
3689
|
export {
|
|
3567
3690
|
ke as provideGlobalConfig,
|
|
3568
|
-
|
|
3691
|
+
Fe as setupElementPlus
|
|
3569
3692
|
};
|