epic-designer-gold 1.0.2 → 1.0.4
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-CPrGnVQ8.js +106 -0
- package/dist/attributeView-DEg9mFCt.cjs +1 -0
- package/dist/axios-BAhOY32t.cjs +6 -0
- package/dist/{js.cookie-oHpRFPCO.js → axios-BFVeUxau.js} +942 -737
- package/dist/col-BNNn9Yx8.cjs +1 -0
- package/dist/{col-Dy6oYMf5.js → col-u5YiB-UK.js} +8 -8
- package/dist/index-B8V7odtp.cjs +1 -0
- package/dist/index-BEXliJtJ.cjs +1 -0
- package/dist/index-BN_dXDiO.cjs +1 -0
- package/dist/index-BPRzjSrH.cjs +10 -0
- package/dist/index-BPmq8lmK.js +72 -0
- package/dist/index-BY9j66Gp.js +4 -0
- package/dist/{index-DNeYX6HK.js → index-BiXYEiWV.js} +1 -1
- package/dist/index-BoVrWUpL.js +271 -0
- package/dist/{index-DLMH0OSJ.js → index-BstMY1Nn.js} +1 -1
- package/dist/index-Bsv8EECz.js +71 -0
- package/dist/index-C2Sx6r6b.cjs +1 -0
- package/dist/index-C5-ZZLug.cjs +1 -0
- package/dist/index-C6C5D9M8.js +602 -0
- package/dist/index-CIwV58Ko.js +1359 -0
- package/dist/index-CgisEnmm.cjs +1 -0
- package/dist/index-CtkdvWFN.cjs +1 -0
- package/dist/{index-DkyxbMHi.js → index-Cwgv4MbW.js} +24 -24
- package/dist/{index-CYDtBJTI.cjs → index-D3Uft3bJ.cjs} +1 -1
- package/dist/{index-BKDRMrcc.js → index-D7z34DMU.js} +28 -47
- package/dist/index-DAhVvQNH.cjs +1 -0
- package/dist/index-DO5DuUPL.js +581 -0
- package/dist/index-DddOVmF6.cjs +1 -0
- package/dist/index-DdsHIglg.js +104 -0
- package/dist/index-Dru9G2MF.js +195 -0
- package/dist/index-KGGnmoAO.cjs +1 -0
- package/dist/{index-XUQ1VGQg.js → index-Sin3ac_7.js} +1 -1
- package/dist/{index-DJxuHxdI.js → index-dUOJH8fj.js} +24 -24
- package/dist/index-dcjty1Ho.cjs +1 -0
- package/dist/{index-Dyo12Kua.cjs → index-g1W7IHK_.cjs} +1 -1
- package/dist/index-ykB9CsYG.cjs +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +35 -35
- package/dist/locale/index.d.ts +4 -0
- package/dist/locale/lang/en-US.d.ts +246 -0
- package/dist/locale/lang/zh-cn.d.ts +246 -0
- package/dist/modal-BLOgN3us.cjs +1 -0
- package/dist/modal-UFu4bD6x.js +57 -0
- package/dist/{outline-CNayBNNC.js → outline-CG-aHThT.js} +2 -2
- package/dist/outline-Coy4TGIa.cjs +1 -0
- package/dist/row-BWnbt6dh.cjs +1 -0
- package/dist/{row-qOviQw5w.js → row-DAy14ve9.js} +4 -4
- package/dist/sign-BlMhTkWG.cjs +1 -0
- package/dist/sign-C0z0Ygs4.js +219 -0
- package/dist/style.css +1 -1
- package/dist/{styleView-BLVqzqPV.js → styleView-CkbdwQhA.js} +34 -33
- package/dist/styleView-D0W-N4vW.cjs +1 -0
- package/dist/tree.vue_vue_type_script_setup_true_lang-KKt_Qgqv.cjs +1 -0
- package/dist/{tree.vue_vue_type_script_setup_true_lang-BntCm43E.js → tree.vue_vue_type_script_setup_true_lang-RWHCYpkY.js} +1 -1
- package/dist/ui/antd/date-picker/datePicker.d.ts +2 -2
- package/dist/ui/elementPlus/index.cjs +1 -1
- package/dist/ui/elementPlus/index.js +553 -542
- package/dist/ui/naiveUi/index.cjs +1 -1
- package/dist/ui/naiveUi/index.js +1 -1
- package/dist/uploadFile-Bh5GyGFd.js +77 -0
- package/dist/uploadFile-CmKFRZMw.cjs +1 -0
- package/dist/{uploadImage-742IA7ei.js → uploadImage-CbVsUivh.js} +34 -33
- package/dist/uploadImage-CcMA6CyX.cjs +1 -0
- package/dist/uploadImage-DENhzttU.cjs +1 -0
- package/dist/{uploadImage-CnNnAISs.js → uploadImage-qHq6JX83.js} +17 -20
- package/package.json +1 -1
- package/dist/attributeView-B-IswSw7.js +0 -105
- package/dist/attributeView-CQBVIMGW.cjs +0 -1
- package/dist/col-RWuL5Zuz.cjs +0 -1
- package/dist/index-0GtpyUBx.js +0 -64
- package/dist/index-B4ido7VJ.cjs +0 -1
- package/dist/index-BGvqo4s7.js +0 -104
- package/dist/index-BMtRXkSh.cjs +0 -1
- package/dist/index-BSLudrcT.cjs +0 -1
- package/dist/index-BXO8Zj1H.cjs +0 -1
- package/dist/index-B_9x_cPH.js +0 -1633
- package/dist/index-B_TFfRwe.js +0 -194
- package/dist/index-C3_E7xcD.js +0 -270
- package/dist/index-C3a1hfUC.cjs +0 -10
- package/dist/index-CucdgcqX.cjs +0 -1
- package/dist/index-CvEzOhT_.cjs +0 -1
- package/dist/index-DEPx91yu.cjs +0 -1
- package/dist/index-DKVv0PbJ.js +0 -56
- package/dist/index-DSzJgAzW.cjs +0 -1
- package/dist/index-Dz1OM1dD.cjs +0 -1
- package/dist/index-HNPgHrkl.cjs +0 -1
- package/dist/index-JhxJizMR.js +0 -601
- package/dist/index-aBofZ4Mk.js +0 -4
- package/dist/index-sKJ91s0r.cjs +0 -1
- package/dist/js.cookie-BH1G_HRi.cjs +0 -6
- package/dist/modal-BPJM1Muh.js +0 -59
- package/dist/modal-_fid8E1T.cjs +0 -1
- package/dist/outline-6Qt3qlWm.cjs +0 -1
- package/dist/row-Bm8OjIsU.cjs +0 -1
- package/dist/sign--js815Se.cjs +0 -1
- package/dist/sign-CO47QOTw.js +0 -218
- package/dist/styleView-C1zTBeyd.cjs +0 -1
- package/dist/tree.vue_vue_type_script_setup_true_lang-BjjL_VlR.cjs +0 -1
- package/dist/uploadFile-CYDDVa_x.js +0 -76
- package/dist/uploadFile-eWBMdZ9d.cjs +0 -1
- package/dist/uploadImage-BQhv5ymq.cjs +0 -1
- package/dist/uploadImage-BXcN2FA_.cjs +0 -1
|
@@ -1,59 +1,62 @@
|
|
|
1
|
-
import { pluginManager as
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { pluginManager as F } from "epic-designer-gold";
|
|
2
|
+
import { u as r } from "../../index-DO5DuUPL.js";
|
|
3
|
+
import { ElFormItem as k, ElForm as z, ElRadioGroup as Y, ElRadioButton as N, ElTabs as D, ElTabPane as B, ElCollapse as M, ElCollapseItem as q, ElDrawer as L, ElDialog as W } from "element-plus";
|
|
4
|
+
const { t: a } = r();
|
|
5
|
+
console.log("%c [ t ]-4", "font-size:13px; background:pink; color:#bf2c9f;", a("form"));
|
|
6
|
+
const A = {
|
|
4
7
|
component: async () => (await import("element-plus")).ElInput,
|
|
5
|
-
groupName: "
|
|
8
|
+
groupName: a("form"),
|
|
6
9
|
icon: "icon--epic--border-color-outline-rounded",
|
|
7
10
|
sort: 700,
|
|
8
11
|
defaultSchema: {
|
|
9
|
-
label: "
|
|
12
|
+
label: a("input"),
|
|
10
13
|
type: "input",
|
|
11
14
|
field: "input",
|
|
12
15
|
input: !0,
|
|
13
16
|
componentProps: {
|
|
14
|
-
placeholder: "
|
|
17
|
+
placeholder: a("pleaseEnter")
|
|
15
18
|
}
|
|
16
19
|
},
|
|
17
20
|
config: {
|
|
18
21
|
attribute: [
|
|
19
22
|
{
|
|
20
|
-
label: "
|
|
23
|
+
label: a("fieldName"),
|
|
21
24
|
type: "input",
|
|
22
25
|
field: "field"
|
|
23
26
|
},
|
|
24
27
|
{
|
|
25
|
-
label: "
|
|
28
|
+
label: a("title"),
|
|
26
29
|
type: "input",
|
|
27
30
|
field: "label"
|
|
28
31
|
},
|
|
29
32
|
{
|
|
30
|
-
label: "
|
|
33
|
+
label: a("defaultValue"),
|
|
31
34
|
type: "input",
|
|
32
35
|
field: "componentProps.defaultValue"
|
|
33
36
|
},
|
|
34
37
|
{
|
|
35
|
-
label: "
|
|
38
|
+
label: a("placeholder"),
|
|
36
39
|
type: "input",
|
|
37
40
|
field: "componentProps.placeholder"
|
|
38
41
|
},
|
|
39
42
|
{
|
|
40
|
-
label: "
|
|
43
|
+
label: a("size"),
|
|
41
44
|
type: "select",
|
|
42
45
|
defaultValue: "default",
|
|
43
46
|
componentProps: {
|
|
44
|
-
placeholder: "
|
|
47
|
+
placeholder: a("pleaseSelect"),
|
|
45
48
|
clearable: !0,
|
|
46
49
|
options: [
|
|
47
50
|
{
|
|
48
|
-
label: "
|
|
51
|
+
label: a("large"),
|
|
49
52
|
value: "large"
|
|
50
53
|
},
|
|
51
54
|
{
|
|
52
|
-
label: "
|
|
55
|
+
label: a("medium"),
|
|
53
56
|
value: "default"
|
|
54
57
|
},
|
|
55
58
|
{
|
|
56
|
-
label: "
|
|
59
|
+
label: a("small"),
|
|
57
60
|
value: "small"
|
|
58
61
|
}
|
|
59
62
|
]
|
|
@@ -61,26 +64,26 @@ const h = {
|
|
|
61
64
|
field: "componentProps.size"
|
|
62
65
|
},
|
|
63
66
|
{
|
|
64
|
-
label: "
|
|
67
|
+
label: a("maxInputLength"),
|
|
65
68
|
type: "number",
|
|
66
69
|
field: "componentProps.maxlength",
|
|
67
70
|
componentProps: {
|
|
68
|
-
placeholder: "
|
|
71
|
+
placeholder: a("pleaseEnter"),
|
|
69
72
|
min: 0
|
|
70
73
|
}
|
|
71
74
|
},
|
|
72
75
|
{
|
|
73
|
-
label: "
|
|
76
|
+
label: a("countWords"),
|
|
74
77
|
type: "switch",
|
|
75
78
|
field: "componentProps.showWordLimit",
|
|
76
79
|
show: ({ values: e }) => e.componentProps.maxlength
|
|
77
80
|
},
|
|
78
81
|
{
|
|
79
|
-
label: "
|
|
82
|
+
label: a("inputType"),
|
|
80
83
|
type: "select",
|
|
81
84
|
defaultValue: "text",
|
|
82
85
|
componentProps: {
|
|
83
|
-
placeholder: "
|
|
86
|
+
placeholder: a("pleaseSelect"),
|
|
84
87
|
clearable: !0,
|
|
85
88
|
options: [
|
|
86
89
|
{
|
|
@@ -100,7 +103,7 @@ const h = {
|
|
|
100
103
|
field: "componentProps.type"
|
|
101
104
|
},
|
|
102
105
|
{
|
|
103
|
-
label: "
|
|
106
|
+
label: a("showToggleIcon"),
|
|
104
107
|
type: "switch",
|
|
105
108
|
field: "componentProps.showPassword",
|
|
106
109
|
show: ({ values: e }) => e.componentProps.type === "password"
|
|
@@ -111,7 +114,7 @@ const h = {
|
|
|
111
114
|
// field: "componentProps.readonly",
|
|
112
115
|
// },
|
|
113
116
|
{
|
|
114
|
-
label: "
|
|
117
|
+
label: a("clearable"),
|
|
115
118
|
type: "switch",
|
|
116
119
|
field: "componentProps.clearable"
|
|
117
120
|
},
|
|
@@ -126,108 +129,108 @@ const h = {
|
|
|
126
129
|
// field: "componentProps.hidden",
|
|
127
130
|
// },
|
|
128
131
|
{
|
|
129
|
-
label: "
|
|
132
|
+
label: a("formValidation"),
|
|
130
133
|
type: "ERuleEditor",
|
|
131
134
|
layout: "vertical",
|
|
132
135
|
field: "rules",
|
|
133
|
-
describe: "
|
|
136
|
+
describe: a("validationRuleRequiresForm")
|
|
134
137
|
}
|
|
135
138
|
],
|
|
136
139
|
event: [
|
|
137
140
|
{
|
|
138
141
|
type: "input",
|
|
139
|
-
describe: "
|
|
142
|
+
describe: a("onInput")
|
|
140
143
|
},
|
|
141
144
|
{
|
|
142
145
|
type: "change",
|
|
143
|
-
describe: "
|
|
146
|
+
describe: a("onChange")
|
|
144
147
|
},
|
|
145
148
|
{
|
|
146
149
|
type: "focus",
|
|
147
|
-
describe: "
|
|
150
|
+
describe: a("onFocus")
|
|
148
151
|
},
|
|
149
152
|
{
|
|
150
153
|
type: "blur",
|
|
151
|
-
describe: "
|
|
154
|
+
describe: a("onBlur")
|
|
152
155
|
},
|
|
153
156
|
{
|
|
154
157
|
type: "clear",
|
|
155
|
-
describe: "
|
|
158
|
+
describe: a("onClear")
|
|
156
159
|
}
|
|
157
160
|
],
|
|
158
161
|
action: [
|
|
159
162
|
{
|
|
160
163
|
type: "focus",
|
|
161
|
-
describe: "
|
|
164
|
+
describe: a("focusInput")
|
|
162
165
|
},
|
|
163
166
|
{
|
|
164
167
|
type: "blur",
|
|
165
|
-
describe: "
|
|
168
|
+
describe: a("blurInput")
|
|
166
169
|
},
|
|
167
170
|
{
|
|
168
171
|
type: "clear",
|
|
169
|
-
describe: "
|
|
172
|
+
describe: a("clearInput")
|
|
170
173
|
},
|
|
171
174
|
{
|
|
172
175
|
type: "select",
|
|
173
|
-
describe: "
|
|
176
|
+
describe: a("selectInputText")
|
|
174
177
|
}
|
|
175
178
|
]
|
|
176
179
|
}
|
|
177
|
-
},
|
|
180
|
+
}, { t: n } = r(), U = {
|
|
178
181
|
component: async () => (await import("element-plus")).ElInput,
|
|
179
182
|
icon: "icon--epic--edit-square-outline-rounded",
|
|
180
|
-
groupName: "
|
|
183
|
+
groupName: n("form"),
|
|
181
184
|
sort: 705,
|
|
182
185
|
defaultSchema: {
|
|
183
|
-
label: "
|
|
186
|
+
label: n("textarea"),
|
|
184
187
|
type: "textarea",
|
|
185
188
|
field: "textarea",
|
|
186
189
|
input: !0,
|
|
187
190
|
componentProps: {
|
|
188
|
-
placeholder: "
|
|
191
|
+
placeholder: n("pleaseEnter"),
|
|
189
192
|
type: "textarea"
|
|
190
193
|
}
|
|
191
194
|
},
|
|
192
195
|
config: {
|
|
193
196
|
attribute: [
|
|
194
197
|
{
|
|
195
|
-
label: "
|
|
198
|
+
label: n("fieldName"),
|
|
196
199
|
type: "input",
|
|
197
200
|
field: "field"
|
|
198
201
|
},
|
|
199
202
|
{
|
|
200
|
-
label: "
|
|
203
|
+
label: n("title"),
|
|
201
204
|
type: "input",
|
|
202
205
|
field: "label"
|
|
203
206
|
},
|
|
204
207
|
{
|
|
205
|
-
label: "
|
|
208
|
+
label: n("defaultValue"),
|
|
206
209
|
type: "textarea",
|
|
207
210
|
field: "componentProps.defaultValue"
|
|
208
211
|
},
|
|
209
212
|
{
|
|
210
|
-
label: "
|
|
213
|
+
label: n("placeholder"),
|
|
211
214
|
type: "input",
|
|
212
215
|
field: "componentProps.placeholder"
|
|
213
216
|
},
|
|
214
217
|
{
|
|
215
|
-
label: "
|
|
218
|
+
label: n("size"),
|
|
216
219
|
type: "select",
|
|
217
220
|
componentProps: {
|
|
218
|
-
placeholder: "
|
|
221
|
+
placeholder: n("pleaseSelect"),
|
|
219
222
|
clearable: !0,
|
|
220
223
|
options: [
|
|
221
224
|
{
|
|
222
|
-
label: "
|
|
225
|
+
label: n("large"),
|
|
223
226
|
value: "large"
|
|
224
227
|
},
|
|
225
228
|
{
|
|
226
|
-
label: "
|
|
229
|
+
label: n("medium"),
|
|
227
230
|
value: "default"
|
|
228
231
|
},
|
|
229
232
|
{
|
|
230
|
-
label: "
|
|
233
|
+
label: n("small"),
|
|
231
234
|
value: "small"
|
|
232
235
|
}
|
|
233
236
|
]
|
|
@@ -235,38 +238,38 @@ const h = {
|
|
|
235
238
|
field: "componentProps.size"
|
|
236
239
|
},
|
|
237
240
|
{
|
|
238
|
-
label: "
|
|
241
|
+
label: n("maxInputLength"),
|
|
239
242
|
type: "number",
|
|
240
243
|
field: "componentProps.maxlength",
|
|
241
244
|
componentProps: {
|
|
242
|
-
placeholder: "
|
|
245
|
+
placeholder: n("pleaseEnter"),
|
|
243
246
|
min: 0
|
|
244
247
|
}
|
|
245
248
|
},
|
|
246
249
|
{
|
|
247
|
-
label: "
|
|
250
|
+
label: n("countWords"),
|
|
248
251
|
type: "switch",
|
|
249
252
|
field: "componentProps.showWordLimit",
|
|
250
253
|
show: ({ values: e }) => e.componentProps.maxlength
|
|
251
254
|
},
|
|
252
255
|
{
|
|
253
|
-
label: "
|
|
256
|
+
label: n("minRows"),
|
|
254
257
|
type: "number",
|
|
255
258
|
field: "componentProps.autosize.minRows",
|
|
256
259
|
componentProps: {
|
|
257
|
-
placeholder: "
|
|
260
|
+
placeholder: n("pleaseEnter")
|
|
258
261
|
}
|
|
259
262
|
},
|
|
260
263
|
{
|
|
261
|
-
label: "
|
|
264
|
+
label: n("maxRows"),
|
|
262
265
|
type: "number",
|
|
263
266
|
field: "componentProps.autosize.maxRows",
|
|
264
267
|
componentProps: {
|
|
265
|
-
placeholder: "
|
|
268
|
+
placeholder: n("pleaseEnter")
|
|
266
269
|
}
|
|
267
270
|
},
|
|
268
271
|
{
|
|
269
|
-
label: "
|
|
272
|
+
label: n("clearable"),
|
|
270
273
|
type: "switch",
|
|
271
274
|
field: "componentProps.clearable"
|
|
272
275
|
},
|
|
@@ -281,103 +284,103 @@ const h = {
|
|
|
281
284
|
// field: "componentProps.hidden",
|
|
282
285
|
// },
|
|
283
286
|
{
|
|
284
|
-
label: "
|
|
287
|
+
label: n("formValidation"),
|
|
285
288
|
type: "ERuleEditor",
|
|
286
289
|
layout: "vertical",
|
|
287
290
|
field: "rules",
|
|
288
|
-
describe: "
|
|
291
|
+
describe: n("validationRuleRequiresForm")
|
|
289
292
|
}
|
|
290
293
|
],
|
|
291
294
|
event: [
|
|
292
295
|
{
|
|
293
296
|
type: "input",
|
|
294
|
-
describe: "
|
|
297
|
+
describe: n("inputValue")
|
|
295
298
|
},
|
|
296
299
|
{
|
|
297
300
|
type: "change",
|
|
298
|
-
describe: "
|
|
301
|
+
describe: n("valueChange")
|
|
299
302
|
},
|
|
300
303
|
{
|
|
301
304
|
type: "focus",
|
|
302
|
-
describe: "
|
|
305
|
+
describe: n("focus")
|
|
303
306
|
},
|
|
304
307
|
{
|
|
305
308
|
type: "blur",
|
|
306
|
-
describe: "
|
|
309
|
+
describe: n("blur")
|
|
307
310
|
}
|
|
308
311
|
],
|
|
309
312
|
action: [
|
|
310
313
|
{
|
|
311
314
|
type: "focus",
|
|
312
|
-
describe: "
|
|
315
|
+
describe: n("focusInput")
|
|
313
316
|
},
|
|
314
317
|
{
|
|
315
318
|
type: "blur",
|
|
316
|
-
describe: "
|
|
319
|
+
describe: n("blurInput")
|
|
317
320
|
},
|
|
318
321
|
{
|
|
319
322
|
type: "clear",
|
|
320
|
-
describe: "
|
|
323
|
+
describe: n("clearInput")
|
|
321
324
|
},
|
|
322
325
|
{
|
|
323
326
|
type: "select",
|
|
324
|
-
describe: "
|
|
327
|
+
describe: n("selectInputText")
|
|
325
328
|
}
|
|
326
329
|
]
|
|
327
330
|
}
|
|
328
|
-
},
|
|
331
|
+
}, { t: c } = r(), $ = {
|
|
329
332
|
component: async () => (await import("element-plus")).ElInputNumber,
|
|
330
|
-
groupName: "
|
|
333
|
+
groupName: c("form"),
|
|
331
334
|
icon: "icon--epic--123-rounded",
|
|
332
335
|
sort: 710,
|
|
333
336
|
defaultSchema: {
|
|
334
|
-
label: "
|
|
337
|
+
label: c("numberInput"),
|
|
335
338
|
type: "number",
|
|
336
339
|
field: "number",
|
|
337
340
|
input: !0,
|
|
338
341
|
componentProps: {
|
|
339
|
-
placeholder: "
|
|
342
|
+
placeholder: c("pleaseEnter")
|
|
340
343
|
}
|
|
341
344
|
},
|
|
342
345
|
config: {
|
|
343
346
|
attribute: [
|
|
344
347
|
{
|
|
345
|
-
label: "
|
|
348
|
+
label: c("fieldName"),
|
|
346
349
|
type: "input",
|
|
347
350
|
field: "field"
|
|
348
351
|
},
|
|
349
352
|
{
|
|
350
|
-
label: "
|
|
353
|
+
label: c("title"),
|
|
351
354
|
type: "input",
|
|
352
355
|
field: "label"
|
|
353
356
|
},
|
|
354
357
|
{
|
|
355
|
-
label: "
|
|
358
|
+
label: c("defaultValue"),
|
|
356
359
|
type: "number",
|
|
357
360
|
field: "componentProps.defaultValue"
|
|
358
361
|
},
|
|
359
362
|
{
|
|
360
|
-
label: "
|
|
363
|
+
label: c("placeholder"),
|
|
361
364
|
type: "input",
|
|
362
365
|
field: "componentProps.placeholder"
|
|
363
366
|
},
|
|
364
367
|
{
|
|
365
|
-
label: "
|
|
368
|
+
label: c("size"),
|
|
366
369
|
type: "select",
|
|
367
370
|
componentProps: {
|
|
368
|
-
placeholder: "
|
|
371
|
+
placeholder: c("pleaseSelect"),
|
|
369
372
|
clearable: !0,
|
|
370
373
|
options: [
|
|
371
374
|
{
|
|
372
|
-
label: "
|
|
375
|
+
label: c("large"),
|
|
373
376
|
value: "large"
|
|
374
377
|
},
|
|
375
378
|
{
|
|
376
|
-
label: "
|
|
379
|
+
label: c("medium"),
|
|
377
380
|
value: "default"
|
|
378
381
|
},
|
|
379
382
|
{
|
|
380
|
-
label: "
|
|
383
|
+
label: c("small"),
|
|
381
384
|
value: "small"
|
|
382
385
|
}
|
|
383
386
|
]
|
|
@@ -385,31 +388,31 @@ const h = {
|
|
|
385
388
|
field: "componentProps.size"
|
|
386
389
|
},
|
|
387
390
|
{
|
|
388
|
-
label: "
|
|
391
|
+
label: c("maxValue"),
|
|
389
392
|
type: "number",
|
|
390
393
|
field: "componentProps.max",
|
|
391
394
|
componentProps: {
|
|
392
|
-
placeholder: "
|
|
395
|
+
placeholder: c("pleaseEnter")
|
|
393
396
|
}
|
|
394
397
|
},
|
|
395
398
|
{
|
|
396
|
-
label: "
|
|
399
|
+
label: c("minValue"),
|
|
397
400
|
type: "number",
|
|
398
401
|
field: "componentProps.min",
|
|
399
402
|
componentProps: {
|
|
400
|
-
placeholder: "
|
|
403
|
+
placeholder: c("pleaseEnter")
|
|
401
404
|
}
|
|
402
405
|
},
|
|
403
406
|
{
|
|
404
|
-
label: "
|
|
407
|
+
label: c("step"),
|
|
405
408
|
type: "number",
|
|
406
409
|
field: "componentProps.step",
|
|
407
410
|
componentProps: {
|
|
408
|
-
placeholder: "
|
|
411
|
+
placeholder: c("pleaseEnter")
|
|
409
412
|
}
|
|
410
413
|
},
|
|
411
414
|
{
|
|
412
|
-
label: "
|
|
415
|
+
label: c("controlButtonPosition"),
|
|
413
416
|
type: "select",
|
|
414
417
|
defaultValue: "",
|
|
415
418
|
componentProps: {
|
|
@@ -423,21 +426,21 @@ const h = {
|
|
|
423
426
|
value: "right"
|
|
424
427
|
}
|
|
425
428
|
],
|
|
426
|
-
placeholder: "
|
|
429
|
+
placeholder: c("pleaseSelect"),
|
|
427
430
|
clearable: !0
|
|
428
431
|
},
|
|
429
432
|
field: "componentProps.controlsPosition"
|
|
430
433
|
},
|
|
431
434
|
{
|
|
432
|
-
label: "
|
|
435
|
+
label: c("precision"),
|
|
433
436
|
type: "number",
|
|
434
437
|
field: "componentProps.precision",
|
|
435
438
|
componentProps: {
|
|
436
|
-
placeholder: "
|
|
439
|
+
placeholder: c("pleaseEnter")
|
|
437
440
|
}
|
|
438
441
|
},
|
|
439
442
|
{
|
|
440
|
-
label: "
|
|
443
|
+
label: c("inputControlIsMultipleOfStep"),
|
|
441
444
|
type: "switch",
|
|
442
445
|
field: "componentProps.stepStrictly"
|
|
443
446
|
},
|
|
@@ -452,11 +455,11 @@ const h = {
|
|
|
452
455
|
// field: "componentProps.hidden",
|
|
453
456
|
// },
|
|
454
457
|
{
|
|
455
|
-
label: "
|
|
458
|
+
label: c("formValidation"),
|
|
456
459
|
type: "ERuleEditor",
|
|
457
460
|
layout: "vertical",
|
|
458
461
|
field: "rules",
|
|
459
|
-
describe: "
|
|
462
|
+
describe: c("validationRuleRequiresForm"),
|
|
460
463
|
componentProps: {
|
|
461
464
|
ruleType: "number"
|
|
462
465
|
}
|
|
@@ -465,17 +468,17 @@ const h = {
|
|
|
465
468
|
event: [
|
|
466
469
|
{
|
|
467
470
|
type: "change",
|
|
468
|
-
describe: "
|
|
471
|
+
describe: c("onValueChange")
|
|
469
472
|
}
|
|
470
473
|
]
|
|
471
474
|
}
|
|
472
|
-
},
|
|
475
|
+
}, { t: d } = r(), O = {
|
|
473
476
|
component: () => import("../../form-6cUK-Ari.js"),
|
|
474
|
-
groupName: "
|
|
477
|
+
groupName: d("form"),
|
|
475
478
|
icon: "icon--epic--list-alt-outline-rounded",
|
|
476
479
|
sort: 600,
|
|
477
480
|
defaultSchema: {
|
|
478
|
-
label: "
|
|
481
|
+
label: d("form"),
|
|
479
482
|
type: "form",
|
|
480
483
|
componentProps: {
|
|
481
484
|
name: "default",
|
|
@@ -492,7 +495,7 @@ const h = {
|
|
|
492
495
|
field: "componentProps.name"
|
|
493
496
|
},
|
|
494
497
|
{
|
|
495
|
-
label: "
|
|
498
|
+
label: d("labelPosition"),
|
|
496
499
|
type: "radio",
|
|
497
500
|
field: "componentProps.label-position",
|
|
498
501
|
componentProps: {
|
|
@@ -500,92 +503,92 @@ const h = {
|
|
|
500
503
|
radioButton: !0,
|
|
501
504
|
options: [
|
|
502
505
|
{
|
|
503
|
-
label: "
|
|
506
|
+
label: d("left"),
|
|
504
507
|
value: "left"
|
|
505
508
|
},
|
|
506
509
|
{
|
|
507
|
-
label: "
|
|
510
|
+
label: d("right"),
|
|
508
511
|
value: "right"
|
|
509
512
|
},
|
|
510
513
|
{
|
|
511
|
-
label: "
|
|
514
|
+
label: d("top"),
|
|
512
515
|
value: "top"
|
|
513
516
|
}
|
|
514
517
|
]
|
|
515
518
|
}
|
|
516
519
|
},
|
|
517
520
|
{
|
|
518
|
-
label: "
|
|
521
|
+
label: d("labelWidth"),
|
|
519
522
|
type: "EInputSize",
|
|
520
523
|
field: "componentProps.labelWidth"
|
|
521
524
|
},
|
|
522
525
|
{
|
|
523
|
-
label: "
|
|
526
|
+
label: d("labelSuffix"),
|
|
524
527
|
type: "input",
|
|
525
528
|
field: "componentProps.labelSuffix",
|
|
526
529
|
componentProps: {
|
|
527
|
-
placeholder: "
|
|
530
|
+
placeholder: d("pleaseEnter")
|
|
528
531
|
}
|
|
529
532
|
},
|
|
530
533
|
{
|
|
531
|
-
label: "
|
|
534
|
+
label: d("formSize"),
|
|
532
535
|
type: "select",
|
|
533
536
|
field: "componentProps.size",
|
|
534
537
|
componentProps: {
|
|
535
|
-
placeholder: "
|
|
538
|
+
placeholder: d("pleaseSelect"),
|
|
536
539
|
clearable: !0,
|
|
537
540
|
options: [
|
|
538
541
|
{
|
|
539
|
-
label: "
|
|
542
|
+
label: d("large"),
|
|
540
543
|
value: "large"
|
|
541
544
|
},
|
|
542
545
|
{
|
|
543
|
-
label: "
|
|
546
|
+
label: d("medium"),
|
|
544
547
|
value: "default"
|
|
545
548
|
},
|
|
546
549
|
{
|
|
547
|
-
label: "
|
|
550
|
+
label: d("small"),
|
|
548
551
|
value: "small"
|
|
549
552
|
}
|
|
550
553
|
]
|
|
551
554
|
}
|
|
552
555
|
},
|
|
553
556
|
{
|
|
554
|
-
label: "
|
|
557
|
+
label: d("asteriskPosition"),
|
|
555
558
|
type: "select",
|
|
556
559
|
field: "componentProps.require-asterisk-position",
|
|
557
560
|
componentProps: {
|
|
558
|
-
placeholder: "
|
|
561
|
+
placeholder: d("pleaseSelect"),
|
|
559
562
|
clearable: !0,
|
|
560
563
|
options: [
|
|
561
564
|
{
|
|
562
|
-
label: "
|
|
565
|
+
label: d("left"),
|
|
563
566
|
value: "left"
|
|
564
567
|
},
|
|
565
568
|
{
|
|
566
|
-
label: "
|
|
569
|
+
label: d("right"),
|
|
567
570
|
value: "right"
|
|
568
571
|
}
|
|
569
572
|
]
|
|
570
573
|
}
|
|
571
574
|
},
|
|
572
575
|
{
|
|
573
|
-
label: "
|
|
576
|
+
label: d("inlineValidationMessage"),
|
|
574
577
|
type: "switch",
|
|
575
578
|
field: "componentProps.inline-message"
|
|
576
579
|
},
|
|
577
580
|
{
|
|
578
|
-
label: "
|
|
581
|
+
label: d("validationFeedbackIcon"),
|
|
579
582
|
type: "switch",
|
|
580
583
|
field: "componentProps.status-icon"
|
|
581
584
|
},
|
|
582
585
|
{
|
|
583
|
-
label: "
|
|
586
|
+
label: d("scrollToValidationError"),
|
|
584
587
|
type: "switch",
|
|
585
588
|
field: "componentProps.scroll-to-error"
|
|
586
589
|
},
|
|
587
590
|
{
|
|
588
|
-
label: "
|
|
591
|
+
label: d("inlineMode"),
|
|
589
592
|
type: "switch",
|
|
590
593
|
field: "componentProps.inline"
|
|
591
594
|
}
|
|
@@ -603,32 +606,34 @@ const h = {
|
|
|
603
606
|
action: [
|
|
604
607
|
{
|
|
605
608
|
type: "getData",
|
|
606
|
-
describe: "
|
|
609
|
+
describe: d("getFormData")
|
|
607
610
|
},
|
|
608
611
|
{
|
|
609
612
|
type: "setData",
|
|
610
|
-
describe: "
|
|
613
|
+
describe: d("setFormData")
|
|
611
614
|
},
|
|
612
615
|
{
|
|
613
616
|
type: "validate",
|
|
614
|
-
describe: "
|
|
617
|
+
describe: d("validateForm")
|
|
615
618
|
}
|
|
616
619
|
]
|
|
617
620
|
}
|
|
618
|
-
}
|
|
621
|
+
};
|
|
622
|
+
r();
|
|
623
|
+
const j = {
|
|
619
624
|
component: () => import("../../formItem-D10Om12T.js"),
|
|
620
625
|
defaultSchema: {
|
|
621
626
|
label: "表单项",
|
|
622
627
|
type: "form-item"
|
|
623
628
|
},
|
|
624
629
|
config: {}
|
|
625
|
-
},
|
|
630
|
+
}, { t: y } = r(), G = {
|
|
626
631
|
component: () => import("../../button-BvmCwtR3.js"),
|
|
627
|
-
groupName: "
|
|
632
|
+
groupName: y("form"),
|
|
628
633
|
icon: "icon--epic--fit-screen-rounded",
|
|
629
634
|
sort: 1200,
|
|
630
635
|
defaultSchema: {
|
|
631
|
-
label: "
|
|
636
|
+
label: y("button"),
|
|
632
637
|
type: "button",
|
|
633
638
|
field: "input",
|
|
634
639
|
input: !1
|
|
@@ -636,15 +641,15 @@ const h = {
|
|
|
636
641
|
config: {
|
|
637
642
|
attribute: [
|
|
638
643
|
{
|
|
639
|
-
label: "
|
|
644
|
+
label: y("title"),
|
|
640
645
|
type: "input",
|
|
641
646
|
field: "label"
|
|
642
647
|
},
|
|
643
648
|
{
|
|
644
|
-
label: "
|
|
649
|
+
label: y("actionType"),
|
|
645
650
|
type: "select",
|
|
646
651
|
componentProps: {
|
|
647
|
-
placeholder: "
|
|
652
|
+
placeholder: y("pleaseSelect"),
|
|
648
653
|
clearable: !0,
|
|
649
654
|
options: [
|
|
650
655
|
{
|
|
@@ -672,10 +677,10 @@ const h = {
|
|
|
672
677
|
field: "componentProps.type"
|
|
673
678
|
},
|
|
674
679
|
{
|
|
675
|
-
label: "
|
|
680
|
+
label: y("actionType"),
|
|
676
681
|
type: "select",
|
|
677
682
|
componentProps: {
|
|
678
|
-
placeholder: "
|
|
683
|
+
placeholder: y("pleaseSelect"),
|
|
679
684
|
clearable: !0,
|
|
680
685
|
options: [
|
|
681
686
|
{
|
|
@@ -695,7 +700,7 @@ const h = {
|
|
|
695
700
|
field: "componentProps.native-type"
|
|
696
701
|
},
|
|
697
702
|
{
|
|
698
|
-
label: "
|
|
703
|
+
label: y("customColor"),
|
|
699
704
|
type: "color-picker",
|
|
700
705
|
field: "componentProps.color",
|
|
701
706
|
componentProps: {
|
|
@@ -703,27 +708,27 @@ const h = {
|
|
|
703
708
|
}
|
|
704
709
|
},
|
|
705
710
|
{
|
|
706
|
-
label: "
|
|
711
|
+
label: y("plainButton"),
|
|
707
712
|
type: "switch",
|
|
708
713
|
field: "componentProps.plain"
|
|
709
714
|
},
|
|
710
715
|
{
|
|
711
|
-
label: "
|
|
716
|
+
label: y("roundButton"),
|
|
712
717
|
type: "switch",
|
|
713
718
|
field: "componentProps.round"
|
|
714
719
|
},
|
|
715
720
|
{
|
|
716
|
-
label: "
|
|
721
|
+
label: y("circleButton"),
|
|
717
722
|
type: "switch",
|
|
718
723
|
field: "componentProps.circle"
|
|
719
724
|
},
|
|
720
725
|
{
|
|
721
|
-
label: "
|
|
726
|
+
label: y("textButton"),
|
|
722
727
|
type: "switch",
|
|
723
728
|
field: "componentProps.text"
|
|
724
729
|
},
|
|
725
730
|
{
|
|
726
|
-
label: "
|
|
731
|
+
label: y("loadingState"),
|
|
727
732
|
type: "switch",
|
|
728
733
|
field: "componentProps.loading"
|
|
729
734
|
}
|
|
@@ -741,21 +746,21 @@ const h = {
|
|
|
741
746
|
event: [
|
|
742
747
|
{
|
|
743
748
|
type: "click",
|
|
744
|
-
describe: "
|
|
749
|
+
describe: y("onClick")
|
|
745
750
|
},
|
|
746
751
|
{
|
|
747
752
|
type: "dblclick",
|
|
748
|
-
describe: "
|
|
753
|
+
describe: y("onDoubleClick")
|
|
749
754
|
}
|
|
750
755
|
]
|
|
751
756
|
}
|
|
752
|
-
},
|
|
757
|
+
}, { t: E } = r(), H = {
|
|
753
758
|
component: () => import("../../card-CNGNDzPp.js"),
|
|
754
|
-
groupName: "
|
|
759
|
+
groupName: E("layout"),
|
|
755
760
|
icon: "icon--epic--wysiwyg-rounded",
|
|
756
761
|
sort: 700,
|
|
757
762
|
defaultSchema: {
|
|
758
|
-
label: "
|
|
763
|
+
label: E("cardLayout"),
|
|
759
764
|
type: "card",
|
|
760
765
|
children: [],
|
|
761
766
|
componentProps: {}
|
|
@@ -763,12 +768,12 @@ const h = {
|
|
|
763
768
|
config: {
|
|
764
769
|
attribute: [
|
|
765
770
|
{
|
|
766
|
-
label: "
|
|
771
|
+
label: E("title"),
|
|
767
772
|
type: "input",
|
|
768
773
|
field: "label"
|
|
769
774
|
},
|
|
770
775
|
{
|
|
771
|
-
label: "
|
|
776
|
+
label: E("shadowTiming"),
|
|
772
777
|
type: "select",
|
|
773
778
|
componentProps: {
|
|
774
779
|
options: [
|
|
@@ -785,7 +790,7 @@ const h = {
|
|
|
785
790
|
value: "never"
|
|
786
791
|
}
|
|
787
792
|
],
|
|
788
|
-
placeholder: "
|
|
793
|
+
placeholder: E("pleaseSelect"),
|
|
789
794
|
clearable: !0
|
|
790
795
|
},
|
|
791
796
|
field: "componentProps.shadow"
|
|
@@ -797,13 +802,13 @@ const h = {
|
|
|
797
802
|
// },
|
|
798
803
|
]
|
|
799
804
|
}
|
|
800
|
-
},
|
|
805
|
+
}, { t: v } = r(), K = {
|
|
801
806
|
component: () => import("../../row-CkyJ9pQh.js"),
|
|
802
|
-
groupName: "
|
|
807
|
+
groupName: v("layout"),
|
|
803
808
|
icon: "icon--epic--width-normal-outline",
|
|
804
809
|
sort: 800,
|
|
805
810
|
defaultSchema: {
|
|
806
|
-
label: "
|
|
811
|
+
label: v("gridLayout"),
|
|
807
812
|
type: "row",
|
|
808
813
|
children: [
|
|
809
814
|
{
|
|
@@ -828,7 +833,7 @@ const h = {
|
|
|
828
833
|
config: {
|
|
829
834
|
attribute: [
|
|
830
835
|
{
|
|
831
|
-
label: "
|
|
836
|
+
label: v("verticalAlignment"),
|
|
832
837
|
type: "select",
|
|
833
838
|
componentProps: {
|
|
834
839
|
style: { width: "100%" },
|
|
@@ -846,12 +851,12 @@ const h = {
|
|
|
846
851
|
value: "bottom"
|
|
847
852
|
}
|
|
848
853
|
],
|
|
849
|
-
placeholder: "
|
|
854
|
+
placeholder: v("pleaseSelect")
|
|
850
855
|
},
|
|
851
856
|
field: "componentProps.align"
|
|
852
857
|
},
|
|
853
858
|
{
|
|
854
|
-
label: "
|
|
859
|
+
label: v("horizontalArrangement"),
|
|
855
860
|
type: "select",
|
|
856
861
|
componentProps: {
|
|
857
862
|
style: { width: "100%" },
|
|
@@ -877,20 +882,20 @@ const h = {
|
|
|
877
882
|
value: "space-between"
|
|
878
883
|
}
|
|
879
884
|
],
|
|
880
|
-
placeholder: "
|
|
885
|
+
placeholder: v("pleaseSelect")
|
|
881
886
|
},
|
|
882
887
|
field: "componentProps.justify"
|
|
883
888
|
},
|
|
884
889
|
{
|
|
885
|
-
label: "
|
|
890
|
+
label: v("gridSpacing"),
|
|
886
891
|
type: "number",
|
|
887
892
|
field: "componentProps.gutter",
|
|
888
893
|
componentProps: {
|
|
889
|
-
placeholder: "
|
|
894
|
+
placeholder: v("pleaseEnter")
|
|
890
895
|
}
|
|
891
896
|
},
|
|
892
897
|
{
|
|
893
|
-
label: "
|
|
898
|
+
label: v("gridWidth"),
|
|
894
899
|
type: "EColEditor",
|
|
895
900
|
field: "children"
|
|
896
901
|
}
|
|
@@ -901,10 +906,10 @@ const h = {
|
|
|
901
906
|
// },
|
|
902
907
|
]
|
|
903
908
|
}
|
|
904
|
-
},
|
|
909
|
+
}, { t: R } = r(), J = {
|
|
905
910
|
component: () => import("../../col-D4hvKfJ6.js"),
|
|
906
911
|
defaultSchema: {
|
|
907
|
-
label: "
|
|
912
|
+
label: R("gridLayout") + "-" + R("column"),
|
|
908
913
|
type: "col",
|
|
909
914
|
children: [],
|
|
910
915
|
componentProps: {
|
|
@@ -913,36 +918,36 @@ const h = {
|
|
|
913
918
|
},
|
|
914
919
|
config: {
|
|
915
920
|
attribute: [
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
+
{
|
|
922
|
+
label: "占位格数",
|
|
923
|
+
type: "number",
|
|
924
|
+
field: "componentProps.span"
|
|
925
|
+
}
|
|
921
926
|
]
|
|
922
927
|
}
|
|
923
|
-
},
|
|
928
|
+
}, { t } = r(), Q = {
|
|
924
929
|
component: () => import("../../select-CjWTf5kk.js"),
|
|
925
|
-
groupName: "
|
|
930
|
+
groupName: t("form"),
|
|
926
931
|
icon: "icon--epic--select",
|
|
927
932
|
sort: 900,
|
|
928
933
|
defaultSchema: {
|
|
929
|
-
label: "
|
|
934
|
+
label: t("select"),
|
|
930
935
|
type: "select",
|
|
931
936
|
field: "select",
|
|
932
937
|
input: !0,
|
|
933
938
|
componentProps: {
|
|
934
939
|
options: [
|
|
935
940
|
{
|
|
936
|
-
label: "
|
|
937
|
-
value: "
|
|
941
|
+
label: t("option1"),
|
|
942
|
+
value: t("option1")
|
|
938
943
|
},
|
|
939
944
|
{
|
|
940
|
-
label: "
|
|
941
|
-
value: "
|
|
945
|
+
label: t("option2"),
|
|
946
|
+
value: t("option2")
|
|
942
947
|
}
|
|
943
948
|
],
|
|
944
949
|
dynamicId: "",
|
|
945
|
-
placeholder: "
|
|
950
|
+
placeholder: t("pleaseSelect"),
|
|
946
951
|
size: "default",
|
|
947
952
|
effect: "light",
|
|
948
953
|
placement: "bottom-start"
|
|
@@ -951,42 +956,42 @@ const h = {
|
|
|
951
956
|
config: {
|
|
952
957
|
attribute: [
|
|
953
958
|
{
|
|
954
|
-
label: "
|
|
959
|
+
label: t("fieldName"),
|
|
955
960
|
type: "input",
|
|
956
961
|
field: "field"
|
|
957
962
|
},
|
|
958
963
|
{
|
|
959
|
-
label: "
|
|
964
|
+
label: t("title"),
|
|
960
965
|
type: "input",
|
|
961
966
|
field: "label"
|
|
962
967
|
},
|
|
963
968
|
{
|
|
964
|
-
label: "
|
|
969
|
+
label: t("defaultValue"),
|
|
965
970
|
type: "select",
|
|
966
971
|
field: "componentProps.defaultValue"
|
|
967
972
|
},
|
|
968
973
|
{
|
|
969
|
-
label: "
|
|
974
|
+
label: t("placeholder"),
|
|
970
975
|
type: "input",
|
|
971
976
|
field: "componentProps.placeholder"
|
|
972
977
|
},
|
|
973
978
|
{
|
|
974
|
-
label: "
|
|
979
|
+
label: t("size"),
|
|
975
980
|
type: "select",
|
|
976
981
|
componentProps: {
|
|
977
|
-
placeholder: "
|
|
982
|
+
placeholder: t("pleaseSelect"),
|
|
978
983
|
clearable: !0,
|
|
979
984
|
options: [
|
|
980
985
|
{
|
|
981
|
-
label: "
|
|
986
|
+
label: t("large"),
|
|
982
987
|
value: "large"
|
|
983
988
|
},
|
|
984
989
|
{
|
|
985
|
-
label: "
|
|
990
|
+
label: t("medium"),
|
|
986
991
|
value: "default"
|
|
987
992
|
},
|
|
988
993
|
{
|
|
989
|
-
label: "
|
|
994
|
+
label: t("small"),
|
|
990
995
|
value: "small"
|
|
991
996
|
}
|
|
992
997
|
]
|
|
@@ -994,33 +999,33 @@ const h = {
|
|
|
994
999
|
field: "componentProps.size"
|
|
995
1000
|
},
|
|
996
1001
|
{
|
|
997
|
-
label: "
|
|
1002
|
+
label: t("multiple"),
|
|
998
1003
|
type: "switch",
|
|
999
1004
|
field: "componentProps.multiple",
|
|
1000
|
-
onChange: ({ value: e, values:
|
|
1001
|
-
e ?
|
|
1005
|
+
onChange: ({ value: e, values: s }) => {
|
|
1006
|
+
e ? s.componentProps.defaultValue = [] : s.componentProps.defaultValue = null;
|
|
1002
1007
|
}
|
|
1003
1008
|
},
|
|
1004
1009
|
{
|
|
1005
|
-
label: "
|
|
1010
|
+
label: t("hideMultiple"),
|
|
1006
1011
|
type: "switch",
|
|
1007
1012
|
field: "componentProps.collapseTags",
|
|
1008
1013
|
show: ({ values: e }) => e.componentProps.multiple
|
|
1009
1014
|
},
|
|
1010
1015
|
{
|
|
1011
|
-
label: "
|
|
1016
|
+
label: t("hideHint"),
|
|
1012
1017
|
type: "switch",
|
|
1013
1018
|
field: "componentProps.collapseTagsTooltip",
|
|
1014
1019
|
show: ({ values: e }) => e.componentProps.multiple && e.componentProps.collapseTags
|
|
1015
1020
|
},
|
|
1016
1021
|
{
|
|
1017
|
-
label: "
|
|
1022
|
+
label: t("retainSearchKeyword"),
|
|
1018
1023
|
type: "switch",
|
|
1019
1024
|
field: "componentProps.reserveKeyword",
|
|
1020
1025
|
show: ({ values: e }) => e.componentProps.multiple
|
|
1021
1026
|
},
|
|
1022
1027
|
{
|
|
1023
|
-
label: "
|
|
1028
|
+
label: t("tagType"),
|
|
1024
1029
|
type: "select",
|
|
1025
1030
|
defaultValue: "info",
|
|
1026
1031
|
componentProps: {
|
|
@@ -1047,13 +1052,13 @@ const h = {
|
|
|
1047
1052
|
field: "componentProps.tagType"
|
|
1048
1053
|
},
|
|
1049
1054
|
{
|
|
1050
|
-
label: "
|
|
1055
|
+
label: t("multipleLimit"),
|
|
1051
1056
|
type: "number",
|
|
1052
1057
|
field: "componentProps.multipleLimit",
|
|
1053
1058
|
show: ({ values: e }) => e.componentProps.multiple
|
|
1054
1059
|
},
|
|
1055
1060
|
{
|
|
1056
|
-
label: "
|
|
1061
|
+
label: t("hintTheme"),
|
|
1057
1062
|
type: "select",
|
|
1058
1063
|
componentProps: {
|
|
1059
1064
|
options: [
|
|
@@ -1070,17 +1075,17 @@ const h = {
|
|
|
1070
1075
|
field: "componentProps.effect"
|
|
1071
1076
|
},
|
|
1072
1077
|
{
|
|
1073
|
-
label: "
|
|
1078
|
+
label: t("filterable"),
|
|
1074
1079
|
type: "switch",
|
|
1075
1080
|
field: "componentProps.filterable"
|
|
1076
1081
|
},
|
|
1077
1082
|
{
|
|
1078
|
-
label: "
|
|
1083
|
+
label: t("allowCreate"),
|
|
1079
1084
|
type: "switch",
|
|
1080
1085
|
field: "componentProps.allowCreate"
|
|
1081
1086
|
},
|
|
1082
1087
|
{
|
|
1083
|
-
label: "
|
|
1088
|
+
label: t("dropdownPosition"),
|
|
1084
1089
|
type: "select",
|
|
1085
1090
|
defaultValue: "bottom-start",
|
|
1086
1091
|
componentProps: {
|
|
@@ -1138,20 +1143,20 @@ const h = {
|
|
|
1138
1143
|
field: "componentProps.placement"
|
|
1139
1144
|
},
|
|
1140
1145
|
{
|
|
1141
|
-
label: "
|
|
1146
|
+
label: t("dropdownWidthSameAsInput"),
|
|
1142
1147
|
type: "switch",
|
|
1143
1148
|
field: "componentProps.fitInputWidth"
|
|
1144
1149
|
},
|
|
1145
1150
|
{
|
|
1146
|
-
label: "
|
|
1151
|
+
label: t("noDataText"),
|
|
1147
1152
|
type: "input",
|
|
1148
1153
|
field: "componentProps.noDataText",
|
|
1149
1154
|
componentProps: {
|
|
1150
|
-
placeholder: "
|
|
1155
|
+
placeholder: t("pleaseEnter")
|
|
1151
1156
|
}
|
|
1152
1157
|
},
|
|
1153
1158
|
{
|
|
1154
|
-
label: "
|
|
1159
|
+
label: t("clearable"),
|
|
1155
1160
|
type: "switch",
|
|
1156
1161
|
field: "componentProps.clearable"
|
|
1157
1162
|
},
|
|
@@ -1166,53 +1171,53 @@ const h = {
|
|
|
1166
1171
|
// field: "componentProps.hidden",
|
|
1167
1172
|
// },
|
|
1168
1173
|
{
|
|
1169
|
-
label: "
|
|
1174
|
+
label: t("optionManagement"),
|
|
1170
1175
|
type: "EOptionsEditor",
|
|
1171
1176
|
layout: "vertical",
|
|
1172
1177
|
field: "componentProps.options",
|
|
1173
|
-
describe: "
|
|
1178
|
+
describe: t("configureOptions")
|
|
1174
1179
|
},
|
|
1175
1180
|
{
|
|
1176
|
-
label: "
|
|
1181
|
+
label: t("formValidation"),
|
|
1177
1182
|
type: "ERuleEditor",
|
|
1178
1183
|
layout: "vertical",
|
|
1179
1184
|
field: "rules",
|
|
1180
|
-
describe: "
|
|
1185
|
+
describe: t("validationRuleRequiresForm")
|
|
1181
1186
|
},
|
|
1182
1187
|
{
|
|
1183
|
-
label: "
|
|
1188
|
+
label: t("dataSource"),
|
|
1184
1189
|
type: "EDataSource",
|
|
1185
1190
|
layout: "vertical",
|
|
1186
1191
|
field: "componentProps.dataSource",
|
|
1187
|
-
describe: "
|
|
1192
|
+
describe: t("dataSourceConfig")
|
|
1188
1193
|
}
|
|
1189
1194
|
],
|
|
1190
1195
|
event: [
|
|
1191
1196
|
{
|
|
1192
1197
|
type: "change",
|
|
1193
|
-
describe: "
|
|
1198
|
+
describe: t("onValueChange")
|
|
1194
1199
|
}
|
|
1195
1200
|
]
|
|
1196
1201
|
}
|
|
1197
|
-
},
|
|
1202
|
+
}, { t: u } = r(), X = {
|
|
1198
1203
|
component: () => import("../../radio-Ducbqo4d.js"),
|
|
1199
|
-
groupName: "
|
|
1204
|
+
groupName: u("form"),
|
|
1200
1205
|
icon: "icon--epic--radio-button-checked-outline",
|
|
1201
1206
|
sort: 850,
|
|
1202
1207
|
defaultSchema: {
|
|
1203
|
-
label: "
|
|
1208
|
+
label: u("radio"),
|
|
1204
1209
|
type: "radio",
|
|
1205
1210
|
field: "radio",
|
|
1206
1211
|
input: !0,
|
|
1207
1212
|
componentProps: {
|
|
1208
1213
|
options: [
|
|
1209
1214
|
{
|
|
1210
|
-
label: "
|
|
1211
|
-
value: "
|
|
1215
|
+
label: u("option1"),
|
|
1216
|
+
value: u("option1")
|
|
1212
1217
|
},
|
|
1213
1218
|
{
|
|
1214
|
-
label: "
|
|
1215
|
-
value: "
|
|
1219
|
+
label: u("option2"),
|
|
1220
|
+
value: u("option2")
|
|
1216
1221
|
}
|
|
1217
1222
|
],
|
|
1218
1223
|
size: "default"
|
|
@@ -1221,37 +1226,37 @@ const h = {
|
|
|
1221
1226
|
config: {
|
|
1222
1227
|
attribute: [
|
|
1223
1228
|
{
|
|
1224
|
-
label: "
|
|
1229
|
+
label: u("fieldName"),
|
|
1225
1230
|
type: "input",
|
|
1226
1231
|
field: "field"
|
|
1227
1232
|
},
|
|
1228
1233
|
{
|
|
1229
|
-
label: "
|
|
1234
|
+
label: u("title"),
|
|
1230
1235
|
type: "input",
|
|
1231
1236
|
field: "label"
|
|
1232
1237
|
},
|
|
1233
1238
|
{
|
|
1234
|
-
label: "
|
|
1239
|
+
label: u("defaultValue"),
|
|
1235
1240
|
type: "radio",
|
|
1236
1241
|
field: "componentProps.defaultValue"
|
|
1237
1242
|
},
|
|
1238
1243
|
{
|
|
1239
|
-
label: "
|
|
1244
|
+
label: u("size"),
|
|
1240
1245
|
type: "select",
|
|
1241
1246
|
componentProps: {
|
|
1242
|
-
placeholder: "
|
|
1247
|
+
placeholder: u("pleaseSelect"),
|
|
1243
1248
|
clearable: !0,
|
|
1244
1249
|
options: [
|
|
1245
1250
|
{
|
|
1246
|
-
label: "
|
|
1251
|
+
label: u("large"),
|
|
1247
1252
|
value: "large"
|
|
1248
1253
|
},
|
|
1249
1254
|
{
|
|
1250
|
-
label: "
|
|
1255
|
+
label: u("medium"),
|
|
1251
1256
|
value: "default"
|
|
1252
1257
|
},
|
|
1253
1258
|
{
|
|
1254
|
-
label: "
|
|
1259
|
+
label: u("small"),
|
|
1255
1260
|
value: "small"
|
|
1256
1261
|
}
|
|
1257
1262
|
]
|
|
@@ -1259,25 +1264,25 @@ const h = {
|
|
|
1259
1264
|
field: "componentProps.size"
|
|
1260
1265
|
},
|
|
1261
1266
|
{
|
|
1262
|
-
label: "
|
|
1267
|
+
label: u("buttonMode"),
|
|
1263
1268
|
type: "switch",
|
|
1264
1269
|
field: "componentProps.radioButton"
|
|
1265
1270
|
},
|
|
1266
1271
|
{
|
|
1267
|
-
label: "
|
|
1272
|
+
label: u("optionTextColor"),
|
|
1268
1273
|
type: "color-picker",
|
|
1269
1274
|
layout: "horizontal",
|
|
1270
1275
|
field: "componentProps.textColor",
|
|
1271
1276
|
show: ({ values: e }) => e.componentProps.radioButton,
|
|
1272
|
-
describe: "
|
|
1277
|
+
describe: u("effectiveInButtonMode")
|
|
1273
1278
|
},
|
|
1274
1279
|
{
|
|
1275
|
-
label: "
|
|
1280
|
+
label: u("optionButtonColor"),
|
|
1276
1281
|
type: "color-picker",
|
|
1277
1282
|
layout: "horizontal",
|
|
1278
1283
|
field: "componentProps.fill",
|
|
1279
1284
|
show: ({ values: e }) => e.componentProps.radioButton,
|
|
1280
|
-
describe: "
|
|
1285
|
+
describe: u("effectiveInButtonMode")
|
|
1281
1286
|
},
|
|
1282
1287
|
// {
|
|
1283
1288
|
// label: "禁用",
|
|
@@ -1290,52 +1295,52 @@ const h = {
|
|
|
1290
1295
|
// field: "componentProps.hidden",
|
|
1291
1296
|
// },
|
|
1292
1297
|
{
|
|
1293
|
-
label: "
|
|
1298
|
+
label: u("optionManagement"),
|
|
1294
1299
|
type: "EOptionsEditor",
|
|
1295
1300
|
layout: "vertical",
|
|
1296
1301
|
field: "componentProps.options"
|
|
1297
1302
|
},
|
|
1298
1303
|
{
|
|
1299
|
-
label: "
|
|
1304
|
+
label: u("formValidation"),
|
|
1300
1305
|
type: "ERuleEditor",
|
|
1301
1306
|
layout: "vertical",
|
|
1302
1307
|
field: "rules",
|
|
1303
|
-
describe: "
|
|
1308
|
+
describe: u("validationRuleRequiresForm")
|
|
1304
1309
|
},
|
|
1305
1310
|
{
|
|
1306
|
-
label: "
|
|
1311
|
+
label: u("dataSource"),
|
|
1307
1312
|
type: "EDataSource",
|
|
1308
1313
|
layout: "vertical",
|
|
1309
1314
|
field: "componentProps.dataSource",
|
|
1310
|
-
describe: "
|
|
1315
|
+
describe: u("dataSourceConfig")
|
|
1311
1316
|
}
|
|
1312
1317
|
],
|
|
1313
1318
|
event: [
|
|
1314
1319
|
{
|
|
1315
1320
|
type: "change",
|
|
1316
|
-
describe: "
|
|
1321
|
+
describe: u("onValueChange")
|
|
1317
1322
|
}
|
|
1318
1323
|
]
|
|
1319
1324
|
}
|
|
1320
|
-
},
|
|
1325
|
+
}, { t: p } = r(), Z = {
|
|
1321
1326
|
component: () => import("../../checkbox-BMXONqwy.js"),
|
|
1322
|
-
groupName: "
|
|
1327
|
+
groupName: p("form"),
|
|
1323
1328
|
icon: "icon--epic--dialogs-outline-rounded",
|
|
1324
1329
|
sort: 860,
|
|
1325
1330
|
defaultSchema: {
|
|
1326
|
-
label: "
|
|
1331
|
+
label: p("checkbox"),
|
|
1327
1332
|
type: "checkbox",
|
|
1328
1333
|
field: "checkbox",
|
|
1329
1334
|
input: !0,
|
|
1330
1335
|
componentProps: {
|
|
1331
1336
|
options: [
|
|
1332
1337
|
{
|
|
1333
|
-
label: "
|
|
1334
|
-
value: "
|
|
1338
|
+
label: p("option1"),
|
|
1339
|
+
value: p("option1")
|
|
1335
1340
|
},
|
|
1336
1341
|
{
|
|
1337
|
-
label: "
|
|
1338
|
-
value: "
|
|
1342
|
+
label: p("option2"),
|
|
1343
|
+
value: p("option2")
|
|
1339
1344
|
}
|
|
1340
1345
|
]
|
|
1341
1346
|
}
|
|
@@ -1343,37 +1348,37 @@ const h = {
|
|
|
1343
1348
|
config: {
|
|
1344
1349
|
attribute: [
|
|
1345
1350
|
{
|
|
1346
|
-
label: "
|
|
1351
|
+
label: p("fieldName"),
|
|
1347
1352
|
type: "input",
|
|
1348
1353
|
field: "field"
|
|
1349
1354
|
},
|
|
1350
1355
|
{
|
|
1351
|
-
label: "
|
|
1356
|
+
label: p("title"),
|
|
1352
1357
|
type: "input",
|
|
1353
1358
|
field: "label"
|
|
1354
1359
|
},
|
|
1355
1360
|
{
|
|
1356
|
-
label: "
|
|
1361
|
+
label: p("defaultValue"),
|
|
1357
1362
|
type: "checkbox",
|
|
1358
1363
|
field: "componentProps.defaultValue"
|
|
1359
1364
|
},
|
|
1360
1365
|
{
|
|
1361
|
-
label: "
|
|
1366
|
+
label: p("size"),
|
|
1362
1367
|
type: "select",
|
|
1363
1368
|
componentProps: {
|
|
1364
|
-
placeholder: "
|
|
1369
|
+
placeholder: p("pleaseSelect"),
|
|
1365
1370
|
clearable: !0,
|
|
1366
1371
|
options: [
|
|
1367
1372
|
{
|
|
1368
|
-
label: "
|
|
1373
|
+
label: p("large"),
|
|
1369
1374
|
value: "large"
|
|
1370
1375
|
},
|
|
1371
1376
|
{
|
|
1372
|
-
label: "
|
|
1377
|
+
label: p("medium"),
|
|
1373
1378
|
value: "default"
|
|
1374
1379
|
},
|
|
1375
1380
|
{
|
|
1376
|
-
label: "
|
|
1381
|
+
label: p("small"),
|
|
1377
1382
|
value: "small"
|
|
1378
1383
|
}
|
|
1379
1384
|
]
|
|
@@ -1381,41 +1386,41 @@ const h = {
|
|
|
1381
1386
|
field: "componentProps.size"
|
|
1382
1387
|
},
|
|
1383
1388
|
{
|
|
1384
|
-
label: "
|
|
1389
|
+
label: p("maxSelected"),
|
|
1385
1390
|
type: "number",
|
|
1386
1391
|
field: "componentProps.max",
|
|
1387
1392
|
componentProps: {
|
|
1388
|
-
placeholder: "
|
|
1393
|
+
placeholder: p("pleaseEnter")
|
|
1389
1394
|
}
|
|
1390
1395
|
},
|
|
1391
1396
|
{
|
|
1392
|
-
label: "
|
|
1397
|
+
label: p("minSelected"),
|
|
1393
1398
|
type: "number",
|
|
1394
1399
|
field: "componentProps.min",
|
|
1395
1400
|
componentProps: {
|
|
1396
|
-
placeholder: "
|
|
1401
|
+
placeholder: p("pleaseEnter")
|
|
1397
1402
|
}
|
|
1398
1403
|
},
|
|
1399
1404
|
{
|
|
1400
|
-
label: "
|
|
1405
|
+
label: p("buttonMode"),
|
|
1401
1406
|
type: "switch",
|
|
1402
1407
|
field: "componentProps.radioButton"
|
|
1403
1408
|
},
|
|
1404
1409
|
{
|
|
1405
|
-
label: "
|
|
1410
|
+
label: p("optionTextColor"),
|
|
1406
1411
|
type: "color-picker",
|
|
1407
1412
|
layout: "horizontal",
|
|
1408
1413
|
field: "componentProps.textColor",
|
|
1409
1414
|
show: ({ values: e }) => e.componentProps.radioButton,
|
|
1410
|
-
describe: "
|
|
1415
|
+
describe: p("effectiveInButtonMode")
|
|
1411
1416
|
},
|
|
1412
1417
|
{
|
|
1413
|
-
label: "
|
|
1418
|
+
label: p("optionButtonColor"),
|
|
1414
1419
|
type: "color-picker",
|
|
1415
1420
|
layout: "horizontal",
|
|
1416
1421
|
field: "componentProps.fill",
|
|
1417
1422
|
show: ({ values: e }) => e.componentProps.radioButton,
|
|
1418
|
-
describe: "
|
|
1423
|
+
describe: p("effectiveInButtonMode")
|
|
1419
1424
|
},
|
|
1420
1425
|
// {
|
|
1421
1426
|
// label: "禁用",
|
|
@@ -1428,43 +1433,43 @@ const h = {
|
|
|
1428
1433
|
// field: "componentProps.hidden",
|
|
1429
1434
|
// },
|
|
1430
1435
|
{
|
|
1431
|
-
label: "
|
|
1436
|
+
label: p("optionManagement"),
|
|
1432
1437
|
type: "EOptionsEditor",
|
|
1433
1438
|
layout: "vertical",
|
|
1434
1439
|
field: "componentProps.options"
|
|
1435
1440
|
},
|
|
1436
1441
|
{
|
|
1437
|
-
label: "
|
|
1442
|
+
label: p("formValidation"),
|
|
1438
1443
|
type: "ERuleEditor",
|
|
1439
1444
|
layout: "vertical",
|
|
1440
1445
|
field: "rules",
|
|
1441
|
-
describe: "
|
|
1446
|
+
describe: p("validationRuleRequiresForm"),
|
|
1442
1447
|
componentProps: {
|
|
1443
1448
|
ruleType: "array"
|
|
1444
1449
|
}
|
|
1445
1450
|
},
|
|
1446
1451
|
{
|
|
1447
|
-
label: "
|
|
1452
|
+
label: p("dataSource"),
|
|
1448
1453
|
type: "EDataSource",
|
|
1449
1454
|
layout: "vertical",
|
|
1450
1455
|
field: "componentProps.dataSource",
|
|
1451
|
-
describe: "
|
|
1456
|
+
describe: p("dataSourceConfig")
|
|
1452
1457
|
}
|
|
1453
1458
|
],
|
|
1454
1459
|
event: [
|
|
1455
1460
|
{
|
|
1456
1461
|
type: "change",
|
|
1457
|
-
describe: "
|
|
1462
|
+
describe: p("onValueChange")
|
|
1458
1463
|
}
|
|
1459
1464
|
]
|
|
1460
1465
|
}
|
|
1461
|
-
},
|
|
1466
|
+
}, { t: i } = r(), _ = {
|
|
1462
1467
|
component: async () => (await import("element-plus")).ElSlider,
|
|
1463
|
-
groupName: "
|
|
1468
|
+
groupName: i("form"),
|
|
1464
1469
|
icon: "icon--epic--switches",
|
|
1465
1470
|
sort: 930,
|
|
1466
1471
|
defaultSchema: {
|
|
1467
|
-
label: "
|
|
1472
|
+
label: i("slider"),
|
|
1468
1473
|
type: "slider",
|
|
1469
1474
|
field: "slider",
|
|
1470
1475
|
input: !0,
|
|
@@ -1476,37 +1481,37 @@ const h = {
|
|
|
1476
1481
|
config: {
|
|
1477
1482
|
attribute: [
|
|
1478
1483
|
{
|
|
1479
|
-
label: "
|
|
1484
|
+
label: i("fieldName"),
|
|
1480
1485
|
type: "input",
|
|
1481
1486
|
field: "field"
|
|
1482
1487
|
},
|
|
1483
1488
|
{
|
|
1484
|
-
label: "
|
|
1489
|
+
label: i("title"),
|
|
1485
1490
|
type: "input",
|
|
1486
1491
|
field: "label"
|
|
1487
1492
|
},
|
|
1488
1493
|
{
|
|
1489
|
-
label: "
|
|
1494
|
+
label: i("defaultValue"),
|
|
1490
1495
|
type: "slider",
|
|
1491
1496
|
field: "componentProps.defaultValue"
|
|
1492
1497
|
},
|
|
1493
1498
|
{
|
|
1494
|
-
label: "
|
|
1499
|
+
label: i("size"),
|
|
1495
1500
|
type: "select",
|
|
1496
1501
|
componentProps: {
|
|
1497
|
-
placeholder: "
|
|
1502
|
+
placeholder: i("pleaseSelect"),
|
|
1498
1503
|
clearable: !0,
|
|
1499
1504
|
options: [
|
|
1500
1505
|
{
|
|
1501
|
-
label: "
|
|
1506
|
+
label: i("large"),
|
|
1502
1507
|
value: "large"
|
|
1503
1508
|
},
|
|
1504
1509
|
{
|
|
1505
|
-
label: "
|
|
1510
|
+
label: i("medium"),
|
|
1506
1511
|
value: "default"
|
|
1507
1512
|
},
|
|
1508
1513
|
{
|
|
1509
|
-
label: "
|
|
1514
|
+
label: i("small"),
|
|
1510
1515
|
value: "small"
|
|
1511
1516
|
}
|
|
1512
1517
|
]
|
|
@@ -1514,83 +1519,83 @@ const h = {
|
|
|
1514
1519
|
field: "componentProps.size"
|
|
1515
1520
|
},
|
|
1516
1521
|
{
|
|
1517
|
-
label: "
|
|
1522
|
+
label: i("minValue"),
|
|
1518
1523
|
type: "number",
|
|
1519
1524
|
field: "componentProps.min",
|
|
1520
1525
|
componentProps: {
|
|
1521
|
-
placeholder: "
|
|
1526
|
+
placeholder: i("pleaseEnter")
|
|
1522
1527
|
},
|
|
1523
|
-
onChange: ({ value: e, values:
|
|
1524
|
-
const
|
|
1525
|
-
|
|
1528
|
+
onChange: ({ value: e, values: s, componentAttributes: g }) => {
|
|
1529
|
+
const C = g.value.findIndex((I) => I.field === "componentProps.max"), x = g.value[C];
|
|
1530
|
+
x.componentProps = {
|
|
1526
1531
|
min: e
|
|
1527
|
-
}, (
|
|
1532
|
+
}, (s.componentProps.max ?? 0) < e && (s.componentProps.max = e);
|
|
1528
1533
|
}
|
|
1529
1534
|
},
|
|
1530
1535
|
{
|
|
1531
|
-
label: "
|
|
1536
|
+
label: i("maxValue"),
|
|
1532
1537
|
type: "number",
|
|
1533
1538
|
field: "componentProps.max",
|
|
1534
1539
|
componentProps: {
|
|
1535
|
-
placeholder: "
|
|
1540
|
+
placeholder: i("pleaseEnter")
|
|
1536
1541
|
},
|
|
1537
|
-
onChange: ({ value: e, values:
|
|
1538
|
-
const
|
|
1539
|
-
|
|
1542
|
+
onChange: ({ value: e, values: s, componentAttributes: g }) => {
|
|
1543
|
+
const C = g.value.findIndex((I) => I.field === "componentProps.min"), x = g.value[C];
|
|
1544
|
+
x.componentProps = {
|
|
1540
1545
|
max: e
|
|
1541
|
-
}, (
|
|
1546
|
+
}, (s.componentProps.min ?? 0) > e && (s.componentProps.min = e);
|
|
1542
1547
|
}
|
|
1543
1548
|
},
|
|
1544
1549
|
{
|
|
1545
|
-
label: "
|
|
1550
|
+
label: i("step"),
|
|
1546
1551
|
type: "number",
|
|
1547
1552
|
field: "componentProps.step",
|
|
1548
1553
|
componentProps: {
|
|
1549
|
-
placeholder: "
|
|
1554
|
+
placeholder: i("pleaseEnter")
|
|
1550
1555
|
}
|
|
1551
1556
|
},
|
|
1552
1557
|
{
|
|
1553
|
-
label: "
|
|
1558
|
+
label: i("showStops"),
|
|
1554
1559
|
type: "switch",
|
|
1555
1560
|
field: "componentProps.showStops"
|
|
1556
1561
|
},
|
|
1557
1562
|
{
|
|
1558
|
-
label: "
|
|
1563
|
+
label: i("tooltip"),
|
|
1559
1564
|
type: "switch",
|
|
1560
1565
|
field: "componentProps.showTooltip"
|
|
1561
1566
|
},
|
|
1562
1567
|
{
|
|
1563
|
-
label: "
|
|
1568
|
+
label: i("range"),
|
|
1564
1569
|
type: "switch",
|
|
1565
1570
|
field: "componentProps.range"
|
|
1566
1571
|
},
|
|
1567
1572
|
{
|
|
1568
|
-
label: "
|
|
1573
|
+
label: i("vertical"),
|
|
1569
1574
|
type: "switch",
|
|
1570
1575
|
field: "componentProps.vertical"
|
|
1571
1576
|
},
|
|
1572
1577
|
{
|
|
1573
|
-
label: "
|
|
1578
|
+
label: i("height"),
|
|
1574
1579
|
type: "EInputSize",
|
|
1575
1580
|
field: "componentProps.height",
|
|
1576
1581
|
show: ({ values: e }) => e.componentProps.vertical
|
|
1577
1582
|
},
|
|
1578
1583
|
{
|
|
1579
|
-
label: "
|
|
1584
|
+
label: i("showInput"),
|
|
1580
1585
|
type: "switch",
|
|
1581
1586
|
field: "componentProps.showInput",
|
|
1582
|
-
onChange: ({ value: e, values:
|
|
1583
|
-
e && (
|
|
1587
|
+
onChange: ({ value: e, values: s }) => {
|
|
1588
|
+
e && (s.componentProps.showInputControls = !0);
|
|
1584
1589
|
}
|
|
1585
1590
|
},
|
|
1586
1591
|
{
|
|
1587
|
-
label: "
|
|
1592
|
+
label: i("controlButtons"),
|
|
1588
1593
|
type: "switch",
|
|
1589
1594
|
field: "componentProps.showInputControls",
|
|
1590
1595
|
show: ({ values: e }) => e.componentProps.showInput
|
|
1591
1596
|
},
|
|
1592
1597
|
{
|
|
1593
|
-
label: "
|
|
1598
|
+
label: i("tooltipPosition"),
|
|
1594
1599
|
type: "select",
|
|
1595
1600
|
defaultValue: "bottom-start",
|
|
1596
1601
|
componentProps: {
|
|
@@ -1658,11 +1663,11 @@ const h = {
|
|
|
1658
1663
|
// field: "componentProps.hidden",
|
|
1659
1664
|
// },
|
|
1660
1665
|
{
|
|
1661
|
-
label: "
|
|
1666
|
+
label: i("formValidation"),
|
|
1662
1667
|
type: "ERuleEditor",
|
|
1663
1668
|
layout: "vertical",
|
|
1664
1669
|
field: "rules",
|
|
1665
|
-
describe: "
|
|
1670
|
+
describe: i("validationRuleRequiresForm"),
|
|
1666
1671
|
componentProps: {
|
|
1667
1672
|
ruleType: "number"
|
|
1668
1673
|
}
|
|
@@ -1671,21 +1676,21 @@ const h = {
|
|
|
1671
1676
|
event: [
|
|
1672
1677
|
{
|
|
1673
1678
|
type: "input",
|
|
1674
|
-
describe: "
|
|
1679
|
+
describe: i("realTimeTrigger")
|
|
1675
1680
|
},
|
|
1676
1681
|
{
|
|
1677
1682
|
type: "change",
|
|
1678
|
-
describe: "
|
|
1683
|
+
describe: i("onChangeEnd")
|
|
1679
1684
|
}
|
|
1680
1685
|
]
|
|
1681
1686
|
}
|
|
1682
|
-
},
|
|
1687
|
+
}, { t: f } = r(), ee = {
|
|
1683
1688
|
component: async () => (await import("element-plus")).ElColorPicker,
|
|
1684
|
-
groupName: "
|
|
1689
|
+
groupName: f("form"),
|
|
1685
1690
|
icon: "icon--epic--palette-outline",
|
|
1686
1691
|
sort: 950,
|
|
1687
1692
|
defaultSchema: {
|
|
1688
|
-
label: "
|
|
1693
|
+
label: f("colorPicker"),
|
|
1689
1694
|
type: "color-picker",
|
|
1690
1695
|
field: "color-picker",
|
|
1691
1696
|
input: !0
|
|
@@ -1693,37 +1698,37 @@ const h = {
|
|
|
1693
1698
|
config: {
|
|
1694
1699
|
attribute: [
|
|
1695
1700
|
{
|
|
1696
|
-
label: "
|
|
1701
|
+
label: f("fieldName"),
|
|
1697
1702
|
type: "input",
|
|
1698
1703
|
field: "field"
|
|
1699
1704
|
},
|
|
1700
1705
|
{
|
|
1701
|
-
label: "
|
|
1706
|
+
label: f("title"),
|
|
1702
1707
|
type: "input",
|
|
1703
1708
|
field: "label"
|
|
1704
1709
|
},
|
|
1705
1710
|
{
|
|
1706
|
-
label: "
|
|
1711
|
+
label: f("defaultValue"),
|
|
1707
1712
|
type: "color-picker",
|
|
1708
1713
|
field: "componentProps.defaultValue"
|
|
1709
1714
|
},
|
|
1710
1715
|
{
|
|
1711
|
-
label: "
|
|
1716
|
+
label: f("size"),
|
|
1712
1717
|
type: "select",
|
|
1713
1718
|
componentProps: {
|
|
1714
|
-
placeholder: "
|
|
1719
|
+
placeholder: f("pleaseSelect"),
|
|
1715
1720
|
clearable: !0,
|
|
1716
1721
|
options: [
|
|
1717
1722
|
{
|
|
1718
|
-
label: "
|
|
1723
|
+
label: f("large"),
|
|
1719
1724
|
value: "large"
|
|
1720
1725
|
},
|
|
1721
1726
|
{
|
|
1722
|
-
label: "
|
|
1727
|
+
label: f("medium"),
|
|
1723
1728
|
value: "default"
|
|
1724
1729
|
},
|
|
1725
1730
|
{
|
|
1726
|
-
label: "
|
|
1731
|
+
label: f("small"),
|
|
1727
1732
|
value: "small"
|
|
1728
1733
|
}
|
|
1729
1734
|
]
|
|
@@ -1731,10 +1736,10 @@ const h = {
|
|
|
1731
1736
|
field: "componentProps.size"
|
|
1732
1737
|
},
|
|
1733
1738
|
{
|
|
1734
|
-
label: "
|
|
1739
|
+
label: f("format"),
|
|
1735
1740
|
type: "select",
|
|
1736
1741
|
componentProps: {
|
|
1737
|
-
placeholder: "
|
|
1742
|
+
placeholder: f("pleaseSelect"),
|
|
1738
1743
|
clearable: !0,
|
|
1739
1744
|
options: [
|
|
1740
1745
|
{
|
|
@@ -1758,7 +1763,7 @@ const h = {
|
|
|
1758
1763
|
field: "componentProps.colorFormat"
|
|
1759
1764
|
},
|
|
1760
1765
|
{
|
|
1761
|
-
label: "
|
|
1766
|
+
label: f("alpha"),
|
|
1762
1767
|
type: "switch",
|
|
1763
1768
|
field: "componentProps.showAlpha"
|
|
1764
1769
|
},
|
|
@@ -1773,28 +1778,28 @@ const h = {
|
|
|
1773
1778
|
// field: "componentProps.hidden",
|
|
1774
1779
|
// },
|
|
1775
1780
|
{
|
|
1776
|
-
label: "
|
|
1781
|
+
label: f("formValidation"),
|
|
1777
1782
|
type: "ERuleEditor",
|
|
1778
1783
|
layout: "vertical",
|
|
1779
1784
|
field: "rules",
|
|
1780
|
-
describe: "
|
|
1785
|
+
describe: f("validationRuleRequiresForm")
|
|
1781
1786
|
}
|
|
1782
1787
|
],
|
|
1783
1788
|
event: [
|
|
1784
1789
|
{
|
|
1785
1790
|
type: "change",
|
|
1786
|
-
describe: "
|
|
1791
|
+
describe: f("onValueChange")
|
|
1787
1792
|
}
|
|
1788
1793
|
],
|
|
1789
1794
|
action: []
|
|
1790
1795
|
}
|
|
1791
|
-
},
|
|
1796
|
+
}, { t: m } = r(), le = {
|
|
1792
1797
|
component: async () => (await import("element-plus")).ElSwitch,
|
|
1793
|
-
groupName: "
|
|
1798
|
+
groupName: m("form"),
|
|
1794
1799
|
icon: "icon--epic--toggle-off-outline",
|
|
1795
1800
|
sort: 930,
|
|
1796
1801
|
defaultSchema: {
|
|
1797
|
-
label: "
|
|
1802
|
+
label: m("switch"),
|
|
1798
1803
|
type: "switch",
|
|
1799
1804
|
field: "switch",
|
|
1800
1805
|
input: !0,
|
|
@@ -1805,75 +1810,75 @@ const h = {
|
|
|
1805
1810
|
config: {
|
|
1806
1811
|
attribute: [
|
|
1807
1812
|
{
|
|
1808
|
-
label: "
|
|
1813
|
+
label: m("fieldName"),
|
|
1809
1814
|
type: "input",
|
|
1810
1815
|
field: "field"
|
|
1811
1816
|
},
|
|
1812
1817
|
{
|
|
1813
|
-
label: "
|
|
1818
|
+
label: m("title"),
|
|
1814
1819
|
type: "input",
|
|
1815
1820
|
field: "label"
|
|
1816
1821
|
},
|
|
1817
1822
|
{
|
|
1818
|
-
label: "
|
|
1823
|
+
label: m("defaultValue"),
|
|
1819
1824
|
type: "switch",
|
|
1820
1825
|
field: "componentProps.defaultValue"
|
|
1821
1826
|
},
|
|
1822
1827
|
{
|
|
1823
|
-
label: "
|
|
1828
|
+
label: m("onValue"),
|
|
1824
1829
|
type: "input",
|
|
1825
1830
|
field: "componentProps.activeValue",
|
|
1826
1831
|
componentProps: {
|
|
1827
|
-
placeholder: "
|
|
1832
|
+
placeholder: m("pleaseEnter")
|
|
1828
1833
|
},
|
|
1829
1834
|
onChange(e) {
|
|
1830
|
-
setTimeout(() =>
|
|
1835
|
+
setTimeout(() => T(e));
|
|
1831
1836
|
}
|
|
1832
1837
|
},
|
|
1833
1838
|
{
|
|
1834
|
-
label: "
|
|
1839
|
+
label: m("offValue"),
|
|
1835
1840
|
type: "input",
|
|
1836
1841
|
field: "componentProps.inactiveValue",
|
|
1837
1842
|
componentProps: {
|
|
1838
|
-
placeholder: "
|
|
1843
|
+
placeholder: m("pleaseEnter")
|
|
1839
1844
|
},
|
|
1840
1845
|
onChange(e) {
|
|
1841
|
-
setTimeout(() =>
|
|
1846
|
+
setTimeout(() => T(e));
|
|
1842
1847
|
}
|
|
1843
1848
|
},
|
|
1844
1849
|
{
|
|
1845
|
-
label: "
|
|
1850
|
+
label: m("onDescription"),
|
|
1846
1851
|
type: "input",
|
|
1847
1852
|
field: "componentProps.activeText",
|
|
1848
1853
|
componentProps: {
|
|
1849
|
-
placeholder: "
|
|
1854
|
+
placeholder: m("pleaseEnter")
|
|
1850
1855
|
}
|
|
1851
1856
|
},
|
|
1852
1857
|
{
|
|
1853
|
-
label: "
|
|
1858
|
+
label: m("offDescription"),
|
|
1854
1859
|
type: "input",
|
|
1855
1860
|
field: "componentProps.inactiveText",
|
|
1856
1861
|
componentProps: {
|
|
1857
|
-
placeholder: "
|
|
1862
|
+
placeholder: m("pleaseEnter")
|
|
1858
1863
|
}
|
|
1859
1864
|
},
|
|
1860
1865
|
{
|
|
1861
|
-
label: "
|
|
1866
|
+
label: m("size"),
|
|
1862
1867
|
type: "select",
|
|
1863
1868
|
componentProps: {
|
|
1864
|
-
placeholder: "
|
|
1869
|
+
placeholder: m("pleaseSelect"),
|
|
1865
1870
|
clearable: !0,
|
|
1866
1871
|
options: [
|
|
1867
1872
|
{
|
|
1868
|
-
label: "
|
|
1873
|
+
label: m("large"),
|
|
1869
1874
|
value: "large"
|
|
1870
1875
|
},
|
|
1871
1876
|
{
|
|
1872
|
-
label: "
|
|
1877
|
+
label: m("medium"),
|
|
1873
1878
|
value: "default"
|
|
1874
1879
|
},
|
|
1875
1880
|
{
|
|
1876
|
-
label: "
|
|
1881
|
+
label: m("small"),
|
|
1877
1882
|
value: "small"
|
|
1878
1883
|
}
|
|
1879
1884
|
]
|
|
@@ -1881,16 +1886,16 @@ const h = {
|
|
|
1881
1886
|
field: "componentProps.size"
|
|
1882
1887
|
},
|
|
1883
1888
|
{
|
|
1884
|
-
label: "
|
|
1889
|
+
label: m("width"),
|
|
1885
1890
|
type: "number",
|
|
1886
1891
|
field: "componentProps.width",
|
|
1887
1892
|
componentProps: {
|
|
1888
1893
|
min: 50,
|
|
1889
|
-
placeholder: "
|
|
1894
|
+
placeholder: m("pleaseEnter")
|
|
1890
1895
|
}
|
|
1891
1896
|
},
|
|
1892
1897
|
{
|
|
1893
|
-
label: "
|
|
1898
|
+
label: m("textInside"),
|
|
1894
1899
|
type: "switch",
|
|
1895
1900
|
field: "componentProps.inlinePrompt"
|
|
1896
1901
|
},
|
|
@@ -1905,11 +1910,11 @@ const h = {
|
|
|
1905
1910
|
// field: "componentProps.hidden",
|
|
1906
1911
|
// },
|
|
1907
1912
|
{
|
|
1908
|
-
label: "
|
|
1913
|
+
label: m("formValidation"),
|
|
1909
1914
|
type: "ERuleEditor",
|
|
1910
1915
|
layout: "vertical",
|
|
1911
1916
|
field: "rules",
|
|
1912
|
-
describe: "
|
|
1917
|
+
describe: m("validationRuleRequiresForm"),
|
|
1913
1918
|
componentProps: {
|
|
1914
1919
|
ruleType: "boolean"
|
|
1915
1920
|
}
|
|
@@ -1918,40 +1923,40 @@ const h = {
|
|
|
1918
1923
|
event: [
|
|
1919
1924
|
{
|
|
1920
1925
|
type: "change",
|
|
1921
|
-
describe: "
|
|
1926
|
+
describe: m("onChangeSwitch")
|
|
1922
1927
|
}
|
|
1923
1928
|
]
|
|
1924
1929
|
}
|
|
1925
1930
|
};
|
|
1926
|
-
function
|
|
1927
|
-
var
|
|
1928
|
-
let
|
|
1929
|
-
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 =
|
|
1930
|
-
defaultValue:
|
|
1931
|
+
function T(e) {
|
|
1932
|
+
var g;
|
|
1933
|
+
let s = ((g = e.values.componentProps) == null ? void 0 : g.inactiveValue) || !1;
|
|
1934
|
+
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 = {
|
|
1935
|
+
defaultValue: s
|
|
1931
1936
|
};
|
|
1932
1937
|
}
|
|
1933
|
-
const
|
|
1938
|
+
const { t: l } = r(), te = {
|
|
1934
1939
|
component: async () => (await import("element-plus")).ElCascader,
|
|
1935
|
-
groupName: "
|
|
1940
|
+
groupName: l("form"),
|
|
1936
1941
|
icon: "icon--epic--full-coverage-outline",
|
|
1937
1942
|
sort: 900,
|
|
1938
1943
|
defaultSchema: {
|
|
1939
|
-
label: "
|
|
1944
|
+
label: l("cascader"),
|
|
1940
1945
|
type: "cascader",
|
|
1941
1946
|
field: "cascader",
|
|
1942
1947
|
input: !0,
|
|
1943
1948
|
componentProps: {
|
|
1944
1949
|
options: [
|
|
1945
1950
|
{
|
|
1946
|
-
label: "
|
|
1947
|
-
value: "
|
|
1951
|
+
label: l("option1"),
|
|
1952
|
+
value: l("option1")
|
|
1948
1953
|
},
|
|
1949
1954
|
{
|
|
1950
|
-
label: "
|
|
1951
|
-
value: "
|
|
1955
|
+
label: l("option2"),
|
|
1956
|
+
value: l("option2")
|
|
1952
1957
|
}
|
|
1953
1958
|
],
|
|
1954
|
-
placeholder: "
|
|
1959
|
+
placeholder: l("pleaseSelect"),
|
|
1955
1960
|
props: {
|
|
1956
1961
|
expandTrigger: "click"
|
|
1957
1962
|
}
|
|
@@ -1960,42 +1965,42 @@ const N = {
|
|
|
1960
1965
|
config: {
|
|
1961
1966
|
attribute: [
|
|
1962
1967
|
{
|
|
1963
|
-
label: "
|
|
1968
|
+
label: l("fieldName"),
|
|
1964
1969
|
type: "input",
|
|
1965
1970
|
field: "field"
|
|
1966
1971
|
},
|
|
1967
1972
|
{
|
|
1968
|
-
label: "
|
|
1973
|
+
label: l("title"),
|
|
1969
1974
|
type: "input",
|
|
1970
1975
|
field: "label"
|
|
1971
1976
|
},
|
|
1972
1977
|
{
|
|
1973
|
-
label: "
|
|
1978
|
+
label: l("defaultValue"),
|
|
1974
1979
|
type: "cascader",
|
|
1975
1980
|
field: "componentProps.defaultValue"
|
|
1976
1981
|
},
|
|
1977
1982
|
{
|
|
1978
|
-
label: "
|
|
1983
|
+
label: l("placeholder"),
|
|
1979
1984
|
type: "input",
|
|
1980
1985
|
field: "componentProps.placeholder"
|
|
1981
1986
|
},
|
|
1982
1987
|
{
|
|
1983
|
-
label: "
|
|
1988
|
+
label: l("size"),
|
|
1984
1989
|
type: "select",
|
|
1985
1990
|
componentProps: {
|
|
1986
|
-
placeholder: "
|
|
1991
|
+
placeholder: l("pleaseSelect"),
|
|
1987
1992
|
clearable: !0,
|
|
1988
1993
|
options: [
|
|
1989
1994
|
{
|
|
1990
|
-
label: "
|
|
1995
|
+
label: l("large"),
|
|
1991
1996
|
value: "large"
|
|
1992
1997
|
},
|
|
1993
1998
|
{
|
|
1994
|
-
label: "
|
|
1999
|
+
label: l("medium"),
|
|
1995
2000
|
value: "default"
|
|
1996
2001
|
},
|
|
1997
2002
|
{
|
|
1998
|
-
label: "
|
|
2003
|
+
label: l("small"),
|
|
1999
2004
|
value: "small"
|
|
2000
2005
|
}
|
|
2001
2006
|
]
|
|
@@ -2003,19 +2008,19 @@ const N = {
|
|
|
2003
2008
|
field: "componentProps.size"
|
|
2004
2009
|
},
|
|
2005
2010
|
{
|
|
2006
|
-
label: "
|
|
2011
|
+
label: l("separator"),
|
|
2007
2012
|
type: "input",
|
|
2008
2013
|
componentProps: {
|
|
2009
|
-
placeholder: "
|
|
2014
|
+
placeholder: l("pleaseEnter")
|
|
2010
2015
|
},
|
|
2011
2016
|
field: "componentProps.separator"
|
|
2012
2017
|
},
|
|
2013
2018
|
{
|
|
2014
|
-
label: "
|
|
2019
|
+
label: l("subMenuExpandMode"),
|
|
2015
2020
|
type: "select",
|
|
2016
2021
|
field: "componentProps.props.expandTrigger",
|
|
2017
2022
|
componentProps: {
|
|
2018
|
-
placeholder: "
|
|
2023
|
+
placeholder: l("pleaseSelect"),
|
|
2019
2024
|
clearable: !0,
|
|
2020
2025
|
options: [
|
|
2021
2026
|
{
|
|
@@ -2030,32 +2035,32 @@ const N = {
|
|
|
2030
2035
|
}
|
|
2031
2036
|
},
|
|
2032
2037
|
{
|
|
2033
|
-
label: "
|
|
2038
|
+
label: l("searchable"),
|
|
2034
2039
|
type: "switch",
|
|
2035
2040
|
field: "componentProps.filterable"
|
|
2036
2041
|
},
|
|
2037
2042
|
{
|
|
2038
|
-
label: "
|
|
2043
|
+
label: l("multiple"),
|
|
2039
2044
|
type: "switch",
|
|
2040
2045
|
field: "componentProps.props.multiple",
|
|
2041
|
-
onChange: ({ value: e, values:
|
|
2042
|
-
e ?
|
|
2046
|
+
onChange: ({ value: e, values: s }) => {
|
|
2047
|
+
e ? s.componentProps.defaultValue = [] : s.componentProps.defaultValue = null;
|
|
2043
2048
|
}
|
|
2044
2049
|
},
|
|
2045
2050
|
{
|
|
2046
|
-
label: "
|
|
2051
|
+
label: l("collapseTags"),
|
|
2047
2052
|
type: "switch",
|
|
2048
2053
|
field: "componentProps.collapseTags",
|
|
2049
2054
|
show: ({ values: e }) => e.componentProps.props.multiple
|
|
2050
2055
|
},
|
|
2051
2056
|
{
|
|
2052
|
-
label: "
|
|
2057
|
+
label: l("showCollapsedTags"),
|
|
2053
2058
|
type: "switch",
|
|
2054
2059
|
field: "componentProps.collapseTagsTooltip",
|
|
2055
2060
|
show: ({ values: e }) => e.componentProps.props.multiple && e.componentProps.collapseTags
|
|
2056
2061
|
},
|
|
2057
2062
|
{
|
|
2058
|
-
label: "
|
|
2063
|
+
label: l("hidePath"),
|
|
2059
2064
|
type: "switch",
|
|
2060
2065
|
componentProps: {
|
|
2061
2066
|
activeValue: !1,
|
|
@@ -2064,13 +2069,13 @@ const N = {
|
|
|
2064
2069
|
field: "componentProps.showAllLevels"
|
|
2065
2070
|
},
|
|
2066
2071
|
{
|
|
2067
|
-
label: "
|
|
2072
|
+
label: l("parentSelectable"),
|
|
2068
2073
|
type: "switch",
|
|
2069
2074
|
field: "componentProps.props.checkStrictly",
|
|
2070
|
-
describe: "
|
|
2075
|
+
describe: l("parentChildNotLinked")
|
|
2071
2076
|
},
|
|
2072
2077
|
{
|
|
2073
|
-
label: "
|
|
2078
|
+
label: l("onlyGetSelectedNodes"),
|
|
2074
2079
|
type: "switch",
|
|
2075
2080
|
field: "componentProps.props.emitPath",
|
|
2076
2081
|
componentProps: {
|
|
@@ -2079,7 +2084,7 @@ const N = {
|
|
|
2079
2084
|
}
|
|
2080
2085
|
},
|
|
2081
2086
|
{
|
|
2082
|
-
label: "
|
|
2087
|
+
label: l("clearable"),
|
|
2083
2088
|
type: "switch",
|
|
2084
2089
|
field: "componentProps.clearable"
|
|
2085
2090
|
},
|
|
@@ -2094,37 +2099,37 @@ const N = {
|
|
|
2094
2099
|
// field: "componentProps.hidden",
|
|
2095
2100
|
// },
|
|
2096
2101
|
{
|
|
2097
|
-
label: "
|
|
2102
|
+
label: l("optionManagement"),
|
|
2098
2103
|
type: "EOptionsEditor",
|
|
2099
2104
|
layout: "vertical",
|
|
2100
2105
|
field: "componentProps.options",
|
|
2101
2106
|
componentProps: {
|
|
2102
2107
|
tree: !0
|
|
2103
2108
|
},
|
|
2104
|
-
describe: "
|
|
2109
|
+
describe: l("configureOptions")
|
|
2105
2110
|
},
|
|
2106
2111
|
{
|
|
2107
|
-
label: "
|
|
2112
|
+
label: l("formValidation"),
|
|
2108
2113
|
type: "ERuleEditor",
|
|
2109
2114
|
layout: "vertical",
|
|
2110
2115
|
field: "rules",
|
|
2111
|
-
describe: "
|
|
2116
|
+
describe: l("validationRuleRequiresForm"),
|
|
2112
2117
|
componentProps: {
|
|
2113
2118
|
ruleType: "array"
|
|
2114
2119
|
}
|
|
2115
2120
|
},
|
|
2116
2121
|
{
|
|
2117
|
-
label: "
|
|
2122
|
+
label: l("dataSource"),
|
|
2118
2123
|
type: "EDataSource",
|
|
2119
2124
|
layout: "vertical",
|
|
2120
2125
|
field: "componentProps.dataSource",
|
|
2121
|
-
describe: "
|
|
2126
|
+
describe: l("dataSourceConfig")
|
|
2122
2127
|
}
|
|
2123
2128
|
],
|
|
2124
2129
|
event: [
|
|
2125
2130
|
{
|
|
2126
2131
|
type: "change",
|
|
2127
|
-
describe: "
|
|
2132
|
+
describe: l("onSelectedNodeChange")
|
|
2128
2133
|
},
|
|
2129
2134
|
{
|
|
2130
2135
|
type: "blur",
|
|
@@ -2132,21 +2137,23 @@ const N = {
|
|
|
2132
2137
|
},
|
|
2133
2138
|
{
|
|
2134
2139
|
type: "focus",
|
|
2135
|
-
describe: "
|
|
2140
|
+
describe: l("onFocu")
|
|
2136
2141
|
}
|
|
2137
2142
|
],
|
|
2138
2143
|
action: [
|
|
2139
2144
|
{
|
|
2140
2145
|
type: "getCheckedNodes",
|
|
2141
|
-
describe: "
|
|
2146
|
+
describe: l("getCurrentSelectedNodes")
|
|
2142
2147
|
},
|
|
2143
2148
|
{
|
|
2144
2149
|
type: "togglePopperVisible",
|
|
2145
|
-
describe: "
|
|
2150
|
+
describe: l("togglePopperVisibility")
|
|
2146
2151
|
}
|
|
2147
2152
|
]
|
|
2148
2153
|
}
|
|
2149
|
-
}
|
|
2154
|
+
};
|
|
2155
|
+
r();
|
|
2156
|
+
const oe = {
|
|
2150
2157
|
component: () => import("../../collapse-I4H1VTFf.js"),
|
|
2151
2158
|
icon: "epic-icon-xiala",
|
|
2152
2159
|
defaultSchema: {
|
|
@@ -2185,7 +2192,9 @@ const N = {
|
|
|
2185
2192
|
// },
|
|
2186
2193
|
]
|
|
2187
2194
|
}
|
|
2188
|
-
}
|
|
2195
|
+
};
|
|
2196
|
+
r();
|
|
2197
|
+
const ae = {
|
|
2189
2198
|
component: () => import("../../collapseItem-CW_HTWvE.js"),
|
|
2190
2199
|
defaultSchema: {
|
|
2191
2200
|
label: "折叠项",
|
|
@@ -2195,13 +2204,13 @@ const N = {
|
|
|
2195
2204
|
config: {
|
|
2196
2205
|
attribute: []
|
|
2197
2206
|
}
|
|
2198
|
-
},
|
|
2207
|
+
}, { t: o } = r(), ne = {
|
|
2199
2208
|
component: async () => (await import("element-plus")).ElDatePicker,
|
|
2200
|
-
groupName: "
|
|
2209
|
+
groupName: o("form"),
|
|
2201
2210
|
icon: "icon--epic--calendar-month-outline-rounded",
|
|
2202
2211
|
sort: 910,
|
|
2203
2212
|
defaultSchema: {
|
|
2204
|
-
label: "
|
|
2213
|
+
label: o("datePicker"),
|
|
2205
2214
|
type: "date",
|
|
2206
2215
|
field: "date",
|
|
2207
2216
|
input: !0,
|
|
@@ -2209,78 +2218,78 @@ const N = {
|
|
|
2209
2218
|
type: "date",
|
|
2210
2219
|
valueFormat: "YYYY-MM-DD",
|
|
2211
2220
|
format: "YYYY-MM-DD",
|
|
2212
|
-
placeholder: "
|
|
2213
|
-
startPlaceholder: "
|
|
2214
|
-
endPlaceholder: "
|
|
2221
|
+
placeholder: o("pleaseSelect"),
|
|
2222
|
+
startPlaceholder: o("pleaseSelect"),
|
|
2223
|
+
endPlaceholder: o("pleaseSelect")
|
|
2215
2224
|
}
|
|
2216
2225
|
},
|
|
2217
2226
|
config: {
|
|
2218
2227
|
attribute: [
|
|
2219
2228
|
{
|
|
2220
|
-
label: "
|
|
2229
|
+
label: o("fieldName"),
|
|
2221
2230
|
type: "input",
|
|
2222
2231
|
field: "field"
|
|
2223
2232
|
},
|
|
2224
2233
|
{
|
|
2225
|
-
label: "
|
|
2234
|
+
label: o("title"),
|
|
2226
2235
|
type: "input",
|
|
2227
2236
|
field: "label"
|
|
2228
2237
|
},
|
|
2229
2238
|
{
|
|
2230
|
-
label: "
|
|
2239
|
+
label: o("defaultValue"),
|
|
2231
2240
|
type: "date",
|
|
2232
2241
|
field: "componentProps.defaultValue"
|
|
2233
2242
|
},
|
|
2234
2243
|
{
|
|
2235
|
-
label: "
|
|
2244
|
+
label: o("dateType"),
|
|
2236
2245
|
type: "select",
|
|
2237
2246
|
field: "componentProps.type",
|
|
2238
2247
|
componentProps: {
|
|
2239
2248
|
options: [
|
|
2240
2249
|
{
|
|
2241
|
-
label: "
|
|
2250
|
+
label: o("date"),
|
|
2242
2251
|
value: "date"
|
|
2243
2252
|
},
|
|
2244
2253
|
{
|
|
2245
|
-
label: "
|
|
2254
|
+
label: o("week"),
|
|
2246
2255
|
value: "week"
|
|
2247
2256
|
},
|
|
2248
2257
|
{
|
|
2249
|
-
label: "
|
|
2258
|
+
label: o("month"),
|
|
2250
2259
|
value: "month"
|
|
2251
2260
|
},
|
|
2252
2261
|
{
|
|
2253
|
-
label: "
|
|
2262
|
+
label: o("year"),
|
|
2254
2263
|
value: "year"
|
|
2255
2264
|
},
|
|
2256
2265
|
{
|
|
2257
|
-
label: "
|
|
2266
|
+
label: o("time"),
|
|
2258
2267
|
value: "datetime"
|
|
2259
2268
|
},
|
|
2260
2269
|
{
|
|
2261
|
-
label: "
|
|
2270
|
+
label: o("timeRange"),
|
|
2262
2271
|
value: "datetimerange"
|
|
2263
2272
|
},
|
|
2264
2273
|
{
|
|
2265
|
-
label: "
|
|
2274
|
+
label: o("dateRange"),
|
|
2266
2275
|
value: "daterange"
|
|
2267
2276
|
},
|
|
2268
2277
|
{
|
|
2269
|
-
label: "
|
|
2278
|
+
label: o("monthRange"),
|
|
2270
2279
|
value: "monthrange"
|
|
2271
2280
|
},
|
|
2272
2281
|
{
|
|
2273
|
-
label: "
|
|
2282
|
+
label: o("multipleDates"),
|
|
2274
2283
|
value: "dates"
|
|
2275
2284
|
}
|
|
2276
2285
|
]
|
|
2277
2286
|
},
|
|
2278
|
-
onChange({ values: e, value:
|
|
2279
|
-
e.componentProps.defaultValue = null, ["date", "daterange", "dates"].includes(
|
|
2287
|
+
onChange({ values: e, value: s }) {
|
|
2288
|
+
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");
|
|
2280
2289
|
}
|
|
2281
2290
|
},
|
|
2282
2291
|
{
|
|
2283
|
-
label: "
|
|
2292
|
+
label: o("startPlaceholder"),
|
|
2284
2293
|
type: "input",
|
|
2285
2294
|
field: "componentProps.startPlaceholder",
|
|
2286
2295
|
show({ values: e }) {
|
|
@@ -2288,7 +2297,7 @@ const N = {
|
|
|
2288
2297
|
}
|
|
2289
2298
|
},
|
|
2290
2299
|
{
|
|
2291
|
-
label: "
|
|
2300
|
+
label: o("endPlaceholder"),
|
|
2292
2301
|
type: "input",
|
|
2293
2302
|
field: "componentProps.endPlaceholder",
|
|
2294
2303
|
show({ values: e }) {
|
|
@@ -2296,7 +2305,7 @@ const N = {
|
|
|
2296
2305
|
}
|
|
2297
2306
|
},
|
|
2298
2307
|
{
|
|
2299
|
-
label: "
|
|
2308
|
+
label: o("placeholder"),
|
|
2300
2309
|
type: "input",
|
|
2301
2310
|
field: "componentProps.placeholder",
|
|
2302
2311
|
show({ values: e }) {
|
|
@@ -2304,23 +2313,23 @@ const N = {
|
|
|
2304
2313
|
}
|
|
2305
2314
|
},
|
|
2306
2315
|
{
|
|
2307
|
-
label: "
|
|
2316
|
+
label: o("size"),
|
|
2308
2317
|
type: "select",
|
|
2309
2318
|
defaultValue: "default",
|
|
2310
2319
|
componentProps: {
|
|
2311
|
-
placeholder: "
|
|
2320
|
+
placeholder: o("pleaseSelect"),
|
|
2312
2321
|
clearable: !0,
|
|
2313
2322
|
options: [
|
|
2314
2323
|
{
|
|
2315
|
-
label: "
|
|
2324
|
+
label: o("large"),
|
|
2316
2325
|
value: "large"
|
|
2317
2326
|
},
|
|
2318
2327
|
{
|
|
2319
|
-
label: "
|
|
2328
|
+
label: o("medium"),
|
|
2320
2329
|
value: "default"
|
|
2321
2330
|
},
|
|
2322
2331
|
{
|
|
2323
|
-
label: "
|
|
2332
|
+
label: o("small"),
|
|
2324
2333
|
value: "small"
|
|
2325
2334
|
}
|
|
2326
2335
|
]
|
|
@@ -2328,33 +2337,33 @@ const N = {
|
|
|
2328
2337
|
field: "componentProps.size"
|
|
2329
2338
|
},
|
|
2330
2339
|
{
|
|
2331
|
-
label: "
|
|
2340
|
+
label: o("editable"),
|
|
2332
2341
|
type: "switch",
|
|
2333
2342
|
field: "componentProps.editable"
|
|
2334
2343
|
},
|
|
2335
2344
|
{
|
|
2336
|
-
label: "
|
|
2345
|
+
label: o("displayFormat"),
|
|
2337
2346
|
type: "input",
|
|
2338
2347
|
field: "componentProps.format"
|
|
2339
2348
|
},
|
|
2340
2349
|
{
|
|
2341
|
-
label: "
|
|
2350
|
+
label: o("dataFormat"),
|
|
2342
2351
|
type: "input",
|
|
2343
2352
|
field: "componentProps.valueFormat"
|
|
2344
2353
|
},
|
|
2345
2354
|
{
|
|
2346
|
-
label: "
|
|
2355
|
+
label: o("separator"),
|
|
2347
2356
|
type: "input",
|
|
2348
2357
|
field: "componentProps.rangeSeparator",
|
|
2349
2358
|
componentProps: {
|
|
2350
|
-
placeholder: "
|
|
2359
|
+
placeholder: o("pleaseEnter")
|
|
2351
2360
|
},
|
|
2352
2361
|
show({ values: e }) {
|
|
2353
2362
|
return ["datetimerange", "daterange", "monthrange"].includes(e.componentProps.type);
|
|
2354
2363
|
}
|
|
2355
2364
|
},
|
|
2356
2365
|
{
|
|
2357
|
-
label: "
|
|
2366
|
+
label: o("clearable"),
|
|
2358
2367
|
type: "switch",
|
|
2359
2368
|
field: "componentProps.clearable"
|
|
2360
2369
|
},
|
|
@@ -2374,27 +2383,27 @@ const N = {
|
|
|
2374
2383
|
// field: "componentProps.hidden",
|
|
2375
2384
|
// },
|
|
2376
2385
|
{
|
|
2377
|
-
label: "
|
|
2386
|
+
label: o("formValidation"),
|
|
2378
2387
|
type: "ERuleEditor",
|
|
2379
2388
|
layout: "vertical",
|
|
2380
2389
|
field: "rules",
|
|
2381
|
-
describe: "
|
|
2390
|
+
describe: o("validationRuleRequiresForm")
|
|
2382
2391
|
}
|
|
2383
2392
|
],
|
|
2384
2393
|
event: [
|
|
2385
2394
|
{
|
|
2386
2395
|
type: "change",
|
|
2387
|
-
describe: "
|
|
2396
|
+
describe: o("onValueChange")
|
|
2388
2397
|
}
|
|
2389
2398
|
]
|
|
2390
2399
|
}
|
|
2391
|
-
},
|
|
2392
|
-
component: () => import("../../uploadFile-
|
|
2393
|
-
groupName: "
|
|
2400
|
+
}, { t: h } = r(), pe = {
|
|
2401
|
+
component: () => import("../../uploadFile-Bh5GyGFd.js"),
|
|
2402
|
+
groupName: h("form"),
|
|
2394
2403
|
icon: "icon--epic--upload-rounded",
|
|
2395
2404
|
sort: 920,
|
|
2396
2405
|
defaultSchema: {
|
|
2397
|
-
label: "
|
|
2406
|
+
label: h("fileUpload"),
|
|
2398
2407
|
type: "upload-file",
|
|
2399
2408
|
field: "uploadFile",
|
|
2400
2409
|
input: !0,
|
|
@@ -2407,47 +2416,47 @@ const N = {
|
|
|
2407
2416
|
config: {
|
|
2408
2417
|
attribute: [
|
|
2409
2418
|
{
|
|
2410
|
-
label: "
|
|
2419
|
+
label: h("fieldName"),
|
|
2411
2420
|
type: "input",
|
|
2412
2421
|
field: "field"
|
|
2413
2422
|
},
|
|
2414
2423
|
{
|
|
2415
|
-
label: "
|
|
2424
|
+
label: h("title"),
|
|
2416
2425
|
type: "input",
|
|
2417
2426
|
field: "label"
|
|
2418
2427
|
},
|
|
2419
2428
|
{
|
|
2420
|
-
label: "
|
|
2429
|
+
label: h("requestUrl"),
|
|
2421
2430
|
type: "input",
|
|
2422
2431
|
field: "componentProps.action"
|
|
2423
2432
|
},
|
|
2424
2433
|
{
|
|
2425
|
-
label: "
|
|
2434
|
+
label: h("uploadFileField"),
|
|
2426
2435
|
type: "input",
|
|
2427
2436
|
field: "componentProps.name"
|
|
2428
2437
|
},
|
|
2429
2438
|
{
|
|
2430
|
-
label: "
|
|
2439
|
+
label: h("multiples"),
|
|
2431
2440
|
type: "switch",
|
|
2432
2441
|
field: "componentProps.multiple"
|
|
2433
2442
|
},
|
|
2434
2443
|
{
|
|
2435
|
-
label: "
|
|
2444
|
+
label: h("showFileList"),
|
|
2436
2445
|
type: "switch",
|
|
2437
2446
|
field: "componentProps.showFileList"
|
|
2438
2447
|
},
|
|
2439
2448
|
{
|
|
2440
|
-
label: "
|
|
2449
|
+
label: h("dragUpload"),
|
|
2441
2450
|
type: "switch",
|
|
2442
2451
|
field: "componentProps.drag"
|
|
2443
2452
|
},
|
|
2444
2453
|
{
|
|
2445
|
-
label: "
|
|
2454
|
+
label: h("maxUploadCount"),
|
|
2446
2455
|
type: "number",
|
|
2447
2456
|
field: "componentProps.limit",
|
|
2448
2457
|
componentProps: {
|
|
2449
2458
|
min: 0,
|
|
2450
|
-
placeholder: "
|
|
2459
|
+
placeholder: h("pleaseEnter")
|
|
2451
2460
|
}
|
|
2452
2461
|
},
|
|
2453
2462
|
// {
|
|
@@ -2461,11 +2470,11 @@ const N = {
|
|
|
2461
2470
|
// field: "componentProps.hidden",
|
|
2462
2471
|
// },
|
|
2463
2472
|
{
|
|
2464
|
-
label: "
|
|
2473
|
+
label: h("formValidation"),
|
|
2465
2474
|
type: "ERuleEditor",
|
|
2466
2475
|
layout: "vertical",
|
|
2467
2476
|
field: "rules",
|
|
2468
|
-
describe: "
|
|
2477
|
+
describe: h("validationRuleRequiresForm"),
|
|
2469
2478
|
componentProps: {
|
|
2470
2479
|
ruleType: "array"
|
|
2471
2480
|
}
|
|
@@ -2473,13 +2482,13 @@ const N = {
|
|
|
2473
2482
|
]
|
|
2474
2483
|
},
|
|
2475
2484
|
bindModel: "modelValue"
|
|
2476
|
-
},
|
|
2477
|
-
component: () => import("../../uploadImage-
|
|
2478
|
-
groupName: "
|
|
2485
|
+
}, { t: P } = r(), ie = {
|
|
2486
|
+
component: () => import("../../uploadImage-CbVsUivh.js"),
|
|
2487
|
+
groupName: P("form"),
|
|
2479
2488
|
icon: "icon--epic--imagesmode-outline-rounded",
|
|
2480
2489
|
sort: 920,
|
|
2481
2490
|
defaultSchema: {
|
|
2482
|
-
label: "
|
|
2491
|
+
label: P("imageUpload"),
|
|
2483
2492
|
type: "upload-image",
|
|
2484
2493
|
field: "uploadImage",
|
|
2485
2494
|
input: !0,
|
|
@@ -2492,47 +2501,47 @@ const N = {
|
|
|
2492
2501
|
config: {
|
|
2493
2502
|
attribute: [
|
|
2494
2503
|
{
|
|
2495
|
-
label: "
|
|
2504
|
+
label: P("fieldName"),
|
|
2496
2505
|
type: "input",
|
|
2497
2506
|
field: "field"
|
|
2498
2507
|
},
|
|
2499
2508
|
{
|
|
2500
|
-
label: "
|
|
2509
|
+
label: P("title"),
|
|
2501
2510
|
type: "input",
|
|
2502
2511
|
field: "label"
|
|
2503
2512
|
},
|
|
2504
2513
|
{
|
|
2505
|
-
label: "
|
|
2514
|
+
label: P("requestUrl"),
|
|
2506
2515
|
type: "input",
|
|
2507
2516
|
field: "componentProps.action"
|
|
2508
2517
|
},
|
|
2509
2518
|
{
|
|
2510
|
-
label: "
|
|
2519
|
+
label: P("uploadFileField"),
|
|
2511
2520
|
type: "input",
|
|
2512
2521
|
field: "componentProps.name"
|
|
2513
2522
|
},
|
|
2514
2523
|
{
|
|
2515
|
-
label: "
|
|
2524
|
+
label: P("multiples"),
|
|
2516
2525
|
type: "switch",
|
|
2517
2526
|
field: "componentProps.multiple"
|
|
2518
2527
|
},
|
|
2519
2528
|
{
|
|
2520
|
-
label: "
|
|
2529
|
+
label: P("showFileList"),
|
|
2521
2530
|
type: "switch",
|
|
2522
2531
|
field: "componentProps.showFileList"
|
|
2523
2532
|
},
|
|
2524
2533
|
{
|
|
2525
|
-
label: "
|
|
2534
|
+
label: P("dragUpload"),
|
|
2526
2535
|
type: "switch",
|
|
2527
2536
|
field: "componentProps.drag"
|
|
2528
2537
|
},
|
|
2529
2538
|
{
|
|
2530
|
-
label: "
|
|
2539
|
+
label: P("maxUploadCount"),
|
|
2531
2540
|
type: "number",
|
|
2532
2541
|
field: "componentProps.limit",
|
|
2533
2542
|
componentProps: {
|
|
2534
2543
|
min: 0,
|
|
2535
|
-
placeholder: "
|
|
2544
|
+
placeholder: P("pleaseEnter")
|
|
2536
2545
|
}
|
|
2537
2546
|
},
|
|
2538
2547
|
// {
|
|
@@ -2546,11 +2555,11 @@ const N = {
|
|
|
2546
2555
|
// field: "componentProps.hidden",
|
|
2547
2556
|
// },
|
|
2548
2557
|
{
|
|
2549
|
-
label: "
|
|
2558
|
+
label: P("formValidation"),
|
|
2550
2559
|
type: "ERuleEditor",
|
|
2551
2560
|
layout: "vertical",
|
|
2552
2561
|
field: "rules",
|
|
2553
|
-
describe: "
|
|
2562
|
+
describe: P("validationRuleRequiresForm"),
|
|
2554
2563
|
componentProps: {
|
|
2555
2564
|
ruleType: "array"
|
|
2556
2565
|
}
|
|
@@ -2558,8 +2567,8 @@ const N = {
|
|
|
2558
2567
|
]
|
|
2559
2568
|
},
|
|
2560
2569
|
bindModel: "modelValue"
|
|
2561
|
-
},
|
|
2562
|
-
component: () => import("../../modal-
|
|
2570
|
+
}, { t: re } = r(), ce = {
|
|
2571
|
+
component: () => import("../../modal-UFu4bD6x.js"),
|
|
2563
2572
|
defaultSchema: {
|
|
2564
2573
|
label: "模态框",
|
|
2565
2574
|
type: "modal",
|
|
@@ -2568,25 +2577,25 @@ const N = {
|
|
|
2568
2577
|
config: {
|
|
2569
2578
|
attribute: [
|
|
2570
2579
|
{
|
|
2571
|
-
label: "
|
|
2580
|
+
label: re("title"),
|
|
2572
2581
|
type: "input",
|
|
2573
2582
|
field: "title"
|
|
2574
2583
|
}
|
|
2575
2584
|
]
|
|
2576
2585
|
}
|
|
2577
|
-
},
|
|
2586
|
+
}, { t: w } = r(), se = {
|
|
2578
2587
|
// component: async () => await import("../../../../packages/core/components/designer/src"),
|
|
2579
|
-
component: async () => await import("../../sign-
|
|
2588
|
+
component: async () => await import("../../sign-C0z0Ygs4.js"),
|
|
2580
2589
|
icon: "icon--epic--insert-text-outline-rounded",
|
|
2581
|
-
groupName: "
|
|
2590
|
+
groupName: w("form"),
|
|
2582
2591
|
sort: 705,
|
|
2583
2592
|
defaultSchema: {
|
|
2584
|
-
label: "
|
|
2593
|
+
label: w("signaturePad"),
|
|
2585
2594
|
type: "sign",
|
|
2586
2595
|
field: "sign",
|
|
2587
2596
|
input: !0,
|
|
2588
2597
|
componentProps: {
|
|
2589
|
-
placeholder: "
|
|
2598
|
+
placeholder: w("pleaseEnter"),
|
|
2590
2599
|
lineWidth: 4,
|
|
2591
2600
|
type: "sign",
|
|
2592
2601
|
style: {}
|
|
@@ -2595,25 +2604,25 @@ const N = {
|
|
|
2595
2604
|
config: {
|
|
2596
2605
|
attribute: [
|
|
2597
2606
|
{
|
|
2598
|
-
label: "
|
|
2607
|
+
label: w("fieldName"),
|
|
2599
2608
|
type: "input",
|
|
2600
2609
|
field: "field"
|
|
2601
2610
|
},
|
|
2602
2611
|
{
|
|
2603
|
-
label: "
|
|
2612
|
+
label: w("title"),
|
|
2604
2613
|
type: "input",
|
|
2605
2614
|
field: "label"
|
|
2606
2615
|
},
|
|
2607
2616
|
// {
|
|
2608
|
-
// label: "
|
|
2617
|
+
// label: t("placeholder"),
|
|
2609
2618
|
// type: "input",
|
|
2610
2619
|
// field: "componentProps.placeholder",
|
|
2611
2620
|
// },
|
|
2612
2621
|
{
|
|
2613
|
-
label: "
|
|
2622
|
+
label: w("lineWidth") + "(px)",
|
|
2614
2623
|
type: "input",
|
|
2615
2624
|
componentProps: {
|
|
2616
|
-
placeholder: "
|
|
2625
|
+
placeholder: w("pleaseSelect"),
|
|
2617
2626
|
clearable: !0
|
|
2618
2627
|
},
|
|
2619
2628
|
field: "componentProps.lineWidth"
|
|
@@ -2634,51 +2643,51 @@ const N = {
|
|
|
2634
2643
|
// field: "componentProps.hidden",
|
|
2635
2644
|
// },
|
|
2636
2645
|
{
|
|
2637
|
-
label: "
|
|
2646
|
+
label: w("formValidation"),
|
|
2638
2647
|
type: "ERuleEditor",
|
|
2639
2648
|
layout: "vertical",
|
|
2640
2649
|
field: "rules",
|
|
2641
|
-
describe: "
|
|
2650
|
+
describe: w("validationRuleRequiresForm")
|
|
2642
2651
|
}
|
|
2643
2652
|
]
|
|
2644
2653
|
// event: [
|
|
2645
2654
|
// {
|
|
2646
2655
|
// type: "input",
|
|
2647
|
-
// describe: "
|
|
2656
|
+
// describe: t("inputValue"),
|
|
2648
2657
|
// },
|
|
2649
2658
|
// {
|
|
2650
2659
|
// type: "change",
|
|
2651
|
-
// describe: "
|
|
2660
|
+
// describe: t("valueChange"),
|
|
2652
2661
|
// },
|
|
2653
2662
|
// {
|
|
2654
2663
|
// type: "focus",
|
|
2655
|
-
// describe: "
|
|
2664
|
+
// describe: t("focus"),
|
|
2656
2665
|
// },
|
|
2657
2666
|
// {
|
|
2658
2667
|
// type: "blur",
|
|
2659
|
-
// describe: "
|
|
2668
|
+
// describe: t("blur"),
|
|
2660
2669
|
// },
|
|
2661
2670
|
// ],
|
|
2662
2671
|
// action: [
|
|
2663
2672
|
// {
|
|
2664
2673
|
// type: "focus",
|
|
2665
|
-
// describe: "
|
|
2674
|
+
// describe: t("focusInput"),
|
|
2666
2675
|
// },
|
|
2667
2676
|
// {
|
|
2668
2677
|
// type: "blur",
|
|
2669
|
-
// describe: "
|
|
2678
|
+
// describe: t("blurInput"),
|
|
2670
2679
|
// },
|
|
2671
2680
|
// {
|
|
2672
2681
|
// type: "clear",
|
|
2673
|
-
// describe: "
|
|
2682
|
+
// describe: t("clearInput"),
|
|
2674
2683
|
// },
|
|
2675
2684
|
// {
|
|
2676
2685
|
// type: "select",
|
|
2677
|
-
// describe: "
|
|
2686
|
+
// describe: t("selectInputText"),
|
|
2678
2687
|
// },
|
|
2679
2688
|
// ],
|
|
2680
2689
|
}
|
|
2681
|
-
},
|
|
2690
|
+
}, { t: V } = r(), de = {
|
|
2682
2691
|
component: () => import("../../table-CnBJm7Bx.js"),
|
|
2683
2692
|
groupName: "",
|
|
2684
2693
|
icon: "icon--epic--width-normal-outline",
|
|
@@ -2724,7 +2733,7 @@ const N = {
|
|
|
2724
2733
|
config: {
|
|
2725
2734
|
attribute: [
|
|
2726
2735
|
{
|
|
2727
|
-
label: "
|
|
2736
|
+
label: V("verticalAlignment"),
|
|
2728
2737
|
type: "select",
|
|
2729
2738
|
componentProps: {
|
|
2730
2739
|
style: { width: "100%" },
|
|
@@ -2742,12 +2751,12 @@ const N = {
|
|
|
2742
2751
|
value: "bottom"
|
|
2743
2752
|
}
|
|
2744
2753
|
],
|
|
2745
|
-
placeholder: "
|
|
2754
|
+
placeholder: V("pleaseSelect")
|
|
2746
2755
|
},
|
|
2747
2756
|
field: "componentProps.align"
|
|
2748
2757
|
},
|
|
2749
2758
|
{
|
|
2750
|
-
label: "
|
|
2759
|
+
label: V("horizontalArrangement"),
|
|
2751
2760
|
type: "select",
|
|
2752
2761
|
componentProps: {
|
|
2753
2762
|
style: { width: "100%" },
|
|
@@ -2773,19 +2782,19 @@ const N = {
|
|
|
2773
2782
|
value: "space-between"
|
|
2774
2783
|
}
|
|
2775
2784
|
],
|
|
2776
|
-
placeholder: "
|
|
2785
|
+
placeholder: V("pleaseSelect")
|
|
2777
2786
|
},
|
|
2778
2787
|
field: "componentProps.justify"
|
|
2779
2788
|
}
|
|
2780
2789
|
]
|
|
2781
2790
|
}
|
|
2782
|
-
},
|
|
2791
|
+
}, { t: b } = r(), ue = {
|
|
2783
2792
|
component: async () => await import("../../text-C-52xLjs.js"),
|
|
2784
|
-
groupName: "
|
|
2793
|
+
groupName: b("form"),
|
|
2785
2794
|
icon: "icon--epic--insert-text-outline-rounded",
|
|
2786
2795
|
sort: 1e3,
|
|
2787
2796
|
defaultSchema: {
|
|
2788
|
-
label: "
|
|
2797
|
+
label: b("staticText"),
|
|
2789
2798
|
type: "text",
|
|
2790
2799
|
position: "left",
|
|
2791
2800
|
fontSize: "14"
|
|
@@ -2793,17 +2802,17 @@ const N = {
|
|
|
2793
2802
|
config: {
|
|
2794
2803
|
attribute: [
|
|
2795
2804
|
// {
|
|
2796
|
-
// label:
|
|
2805
|
+
// label: t('fieldName'),
|
|
2797
2806
|
// type: "input",
|
|
2798
2807
|
// field: "field",
|
|
2799
2808
|
// },
|
|
2800
2809
|
{
|
|
2801
|
-
label: "
|
|
2810
|
+
label: b("staticText"),
|
|
2802
2811
|
type: "input",
|
|
2803
2812
|
field: "label"
|
|
2804
2813
|
},
|
|
2805
2814
|
{
|
|
2806
|
-
label: "
|
|
2815
|
+
label: b("labelPosition"),
|
|
2807
2816
|
type: "radio",
|
|
2808
2817
|
field: "position",
|
|
2809
2818
|
componentProps: {
|
|
@@ -2811,22 +2820,22 @@ const N = {
|
|
|
2811
2820
|
radioButton: !0,
|
|
2812
2821
|
options: [
|
|
2813
2822
|
{
|
|
2814
|
-
label: "
|
|
2823
|
+
label: b("leftAlign"),
|
|
2815
2824
|
value: "left"
|
|
2816
2825
|
},
|
|
2817
2826
|
{
|
|
2818
|
-
label: "
|
|
2827
|
+
label: b("centerAlign"),
|
|
2819
2828
|
value: "center"
|
|
2820
2829
|
},
|
|
2821
2830
|
{
|
|
2822
|
-
label: "
|
|
2831
|
+
label: b("rightAlign"),
|
|
2823
2832
|
value: "right"
|
|
2824
2833
|
}
|
|
2825
2834
|
]
|
|
2826
2835
|
}
|
|
2827
2836
|
},
|
|
2828
2837
|
{
|
|
2829
|
-
label: "
|
|
2838
|
+
label: b("fontSize") + "(px)",
|
|
2830
2839
|
type: "input",
|
|
2831
2840
|
field: "fontSize"
|
|
2832
2841
|
}
|
|
@@ -2834,46 +2843,46 @@ const N = {
|
|
|
2834
2843
|
event: [
|
|
2835
2844
|
{
|
|
2836
2845
|
type: "input",
|
|
2837
|
-
describe: "
|
|
2846
|
+
describe: b("onInput")
|
|
2838
2847
|
},
|
|
2839
2848
|
{
|
|
2840
2849
|
type: "change",
|
|
2841
|
-
describe: "
|
|
2850
|
+
describe: b("onChange")
|
|
2842
2851
|
},
|
|
2843
2852
|
{
|
|
2844
2853
|
type: "focus",
|
|
2845
|
-
describe: "
|
|
2854
|
+
describe: b("onFocus")
|
|
2846
2855
|
},
|
|
2847
2856
|
{
|
|
2848
2857
|
type: "blur",
|
|
2849
|
-
describe: "
|
|
2858
|
+
describe: b("onBlur")
|
|
2850
2859
|
},
|
|
2851
2860
|
{
|
|
2852
2861
|
type: "clear",
|
|
2853
|
-
describe: "
|
|
2862
|
+
describe: b("onClear")
|
|
2854
2863
|
}
|
|
2855
2864
|
],
|
|
2856
2865
|
action: [
|
|
2857
2866
|
{
|
|
2858
2867
|
type: "focus",
|
|
2859
|
-
describe: "
|
|
2868
|
+
describe: b("focusInput")
|
|
2860
2869
|
},
|
|
2861
2870
|
{
|
|
2862
2871
|
type: "blur",
|
|
2863
|
-
describe: "
|
|
2872
|
+
describe: b("blurInput")
|
|
2864
2873
|
},
|
|
2865
2874
|
{
|
|
2866
2875
|
type: "clear",
|
|
2867
|
-
describe: "
|
|
2876
|
+
describe: b("clearInput")
|
|
2868
2877
|
},
|
|
2869
2878
|
{
|
|
2870
2879
|
type: "select",
|
|
2871
|
-
describe: "
|
|
2880
|
+
describe: b("selectInputText")
|
|
2872
2881
|
}
|
|
2873
2882
|
]
|
|
2874
2883
|
}
|
|
2875
|
-
},
|
|
2876
|
-
component: () => import("../../row-
|
|
2884
|
+
}, { t: S } = r(), me = {
|
|
2885
|
+
component: () => import("../../row-DAy14ve9.js"),
|
|
2877
2886
|
icon: "icon--epic--width-normal-outline",
|
|
2878
2887
|
sort: 800,
|
|
2879
2888
|
defaultSchema: {
|
|
@@ -2902,7 +2911,7 @@ const N = {
|
|
|
2902
2911
|
config: {
|
|
2903
2912
|
attribute: [
|
|
2904
2913
|
{
|
|
2905
|
-
label: "
|
|
2914
|
+
label: S("verticalAlignment"),
|
|
2906
2915
|
type: "select",
|
|
2907
2916
|
componentProps: {
|
|
2908
2917
|
style: { width: "100%" },
|
|
@@ -2920,12 +2929,12 @@ const N = {
|
|
|
2920
2929
|
value: "bottom"
|
|
2921
2930
|
}
|
|
2922
2931
|
],
|
|
2923
|
-
placeholder: "
|
|
2932
|
+
placeholder: S("pleaseSelect")
|
|
2924
2933
|
},
|
|
2925
2934
|
field: "componentProps.align"
|
|
2926
2935
|
},
|
|
2927
2936
|
{
|
|
2928
|
-
label: "
|
|
2937
|
+
label: S("horizontalArrangement"),
|
|
2929
2938
|
type: "select",
|
|
2930
2939
|
componentProps: {
|
|
2931
2940
|
style: { width: "100%" },
|
|
@@ -2951,16 +2960,16 @@ const N = {
|
|
|
2951
2960
|
value: "space-between"
|
|
2952
2961
|
}
|
|
2953
2962
|
],
|
|
2954
|
-
placeholder: "
|
|
2963
|
+
placeholder: S("pleaseSelect")
|
|
2955
2964
|
},
|
|
2956
2965
|
field: "componentProps.justify"
|
|
2957
2966
|
},
|
|
2958
2967
|
{
|
|
2959
|
-
label: "
|
|
2968
|
+
label: S("gridSpacing"),
|
|
2960
2969
|
type: "number",
|
|
2961
2970
|
field: "componentProps.gutter",
|
|
2962
2971
|
componentProps: {
|
|
2963
|
-
placeholder: "
|
|
2972
|
+
placeholder: S("pleaseEnter")
|
|
2964
2973
|
}
|
|
2965
2974
|
},
|
|
2966
2975
|
{
|
|
@@ -2975,8 +2984,10 @@ const N = {
|
|
|
2975
2984
|
// },
|
|
2976
2985
|
]
|
|
2977
2986
|
}
|
|
2978
|
-
}
|
|
2979
|
-
|
|
2987
|
+
};
|
|
2988
|
+
r();
|
|
2989
|
+
const be = {
|
|
2990
|
+
component: () => import("../../col-u5YiB-UK.js"),
|
|
2980
2991
|
defaultSchema: {
|
|
2981
2992
|
label: "表格-列",
|
|
2982
2993
|
type: "table-col",
|
|
@@ -2995,45 +3006,45 @@ const N = {
|
|
|
2995
3006
|
]
|
|
2996
3007
|
}
|
|
2997
3008
|
};
|
|
2998
|
-
function
|
|
2999
|
-
e.component("FormItem",
|
|
3000
|
-
w,
|
|
3001
|
-
E,
|
|
3002
|
-
h,
|
|
3003
|
-
v,
|
|
3004
|
-
g,
|
|
3005
|
-
T,
|
|
3006
|
-
k,
|
|
3007
|
-
B,
|
|
3008
|
-
V,
|
|
3009
|
-
z,
|
|
3010
|
-
D,
|
|
3011
|
-
N,
|
|
3012
|
-
I,
|
|
3013
|
-
M,
|
|
3014
|
-
L,
|
|
3015
|
-
S,
|
|
3016
|
-
x,
|
|
3017
|
-
Y,
|
|
3018
|
-
C,
|
|
3019
|
-
F,
|
|
3020
|
-
R,
|
|
3009
|
+
function Pe(e = F) {
|
|
3010
|
+
e.component("FormItem", k), e.component("Form", z), e.component("RadioGroup", Y), e.component("RadioButton", N), e.component("Tabs", D), e.component("TabPane", B), e.component("Collapse", M), e.component("CollapseItem", q), e.component("Drawer", L), e.component("Dialog", W), [
|
|
3021
3011
|
O,
|
|
3022
|
-
W,
|
|
3023
3012
|
j,
|
|
3013
|
+
A,
|
|
3014
|
+
U,
|
|
3015
|
+
$,
|
|
3016
|
+
X,
|
|
3017
|
+
Z,
|
|
3018
|
+
ne,
|
|
3019
|
+
Q,
|
|
3020
|
+
le,
|
|
3021
|
+
ee,
|
|
3022
|
+
te,
|
|
3023
|
+
_,
|
|
3024
|
+
pe,
|
|
3025
|
+
ie,
|
|
3024
3026
|
G,
|
|
3025
3027
|
H,
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3028
|
+
K,
|
|
3029
|
+
J,
|
|
3030
|
+
oe,
|
|
3031
|
+
ae,
|
|
3032
|
+
ce,
|
|
3033
|
+
se,
|
|
3034
|
+
de,
|
|
3035
|
+
ue,
|
|
3036
|
+
me,
|
|
3037
|
+
be
|
|
3038
|
+
].forEach((g) => {
|
|
3039
|
+
e.registerComponent(g), e.addBaseComponentTypes(g.defaultSchema.type);
|
|
3029
3040
|
}), e.setInitialized(!0);
|
|
3030
3041
|
}
|
|
3031
|
-
function
|
|
3032
|
-
import("element-plus").then(({ provideGlobalConfig:
|
|
3033
|
-
|
|
3042
|
+
function ge(e) {
|
|
3043
|
+
import("element-plus").then(({ provideGlobalConfig: s }) => {
|
|
3044
|
+
s(e);
|
|
3034
3045
|
});
|
|
3035
3046
|
}
|
|
3036
3047
|
export {
|
|
3037
|
-
|
|
3038
|
-
|
|
3048
|
+
ge as provideGlobalConfig,
|
|
3049
|
+
Pe as setupElementPlus
|
|
3039
3050
|
};
|