@next-bricks/form 1.20.1 → 1.20.3
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/bricks.json +29 -29
- package/dist/chunks/{1045.b5bcbf41.js → 1045.7ad43dc1.js} +2 -2
- package/dist/chunks/{1045.b5bcbf41.js.map → 1045.7ad43dc1.js.map} +1 -1
- package/dist/chunks/1225.f5b3f74c.js +3 -0
- package/dist/chunks/1225.f5b3f74c.js.map +1 -0
- package/dist/chunks/{1370.e600c28d.js → 1370.a56b4fa3.js} +2 -2
- package/dist/chunks/{1370.e600c28d.js.map → 1370.a56b4fa3.js.map} +1 -1
- package/dist/chunks/149.eb13332f.js +2 -0
- package/dist/chunks/{149.3be7b324.js.map → 149.eb13332f.js.map} +1 -1
- package/dist/chunks/{1889.d5b15f1a.js → 1889.96e6de82.js} +2 -2
- package/dist/chunks/1889.96e6de82.js.map +1 -0
- package/dist/chunks/{4056.55a599ef.js → 4056.aac4a786.js} +3 -3
- package/dist/chunks/4056.aac4a786.js.map +1 -0
- package/dist/chunks/4306.cbffd417.js +2 -0
- package/dist/chunks/4306.cbffd417.js.map +1 -0
- package/dist/chunks/{6167.5fa3a8a3.js → 6167.3c7a7196.js} +2 -2
- package/dist/chunks/6167.3c7a7196.js.map +1 -0
- package/dist/chunks/{8548.a7f77dd3.js → 8548.3d64fb28.js} +2 -2
- package/dist/chunks/8548.3d64fb28.js.map +1 -0
- package/dist/chunks/{8989.60961208.js → 8989.d6efe180.js} +2 -2
- package/dist/chunks/8989.d6efe180.js.map +1 -0
- package/dist/chunks/948.1b39e8b1.js +3 -0
- package/dist/chunks/948.1b39e8b1.js.map +1 -0
- package/dist/chunks/eo-auto-complete.63b557c8.js +3 -0
- package/dist/chunks/{eo-auto-complete.bfc18bf0.js.map → eo-auto-complete.63b557c8.js.map} +1 -1
- package/dist/chunks/eo-checkbox.c21461bd.js +2 -0
- package/dist/chunks/{eo-checkbox.dd3b8c61.js.map → eo-checkbox.c21461bd.js.map} +1 -1
- package/dist/chunks/eo-color-picker.caf2282b.js +2 -0
- package/dist/chunks/{eo-color-picker.decaa2d0.js.map → eo-color-picker.caf2282b.js.map} +1 -1
- package/dist/chunks/eo-date-picker.15ab1876.js +2 -0
- package/dist/chunks/{eo-date-picker.ec20f387.js.map → eo-date-picker.15ab1876.js.map} +1 -1
- package/dist/chunks/eo-dynamic-form-item.3e5699b3.js +3 -0
- package/dist/chunks/eo-dynamic-form-item.3e5699b3.js.map +1 -0
- package/dist/chunks/eo-form.57ac1c50.js +2 -0
- package/dist/chunks/eo-form.57ac1c50.js.map +1 -0
- package/dist/chunks/eo-icon-select.680597be.js +3 -0
- package/dist/chunks/eo-icon-select.680597be.js.map +1 -0
- package/dist/chunks/eo-radio.0a7f3f84.js +3 -0
- package/dist/chunks/eo-radio.0a7f3f84.js.map +1 -0
- package/dist/chunks/eo-search.4c216c94.js +2 -0
- package/dist/chunks/{eo-search.66add2ad.js.map → eo-search.4c216c94.js.map} +1 -1
- package/dist/chunks/eo-select.e0cdd956.js +3 -0
- package/dist/chunks/eo-select.e0cdd956.js.map +1 -0
- package/dist/chunks/eo-submit-buttons.bbb5621c.js +2 -0
- package/dist/chunks/eo-submit-buttons.bbb5621c.js.map +1 -0
- package/dist/chunks/eo-switch.7c4d7727.js +3 -0
- package/dist/chunks/{eo-switch.44271217.js.map → eo-switch.7c4d7727.js.map} +1 -1
- package/dist/chunks/eo-textarea.dcb4189e.js +3 -0
- package/dist/chunks/{eo-textarea.4650c5fa.js.map → eo-textarea.dcb4189e.js.map} +1 -1
- package/dist/chunks/eo-time-picker.d19a514b.js +2 -0
- package/dist/chunks/{eo-time-picker.eecc50b9.js.map → eo-time-picker.d19a514b.js.map} +1 -1
- package/dist/chunks/eo-time-range-picker.3adc8d37.js +2 -0
- package/dist/chunks/{eo-time-range-picker.16b6307a.js.map → eo-time-range-picker.3adc8d37.js.map} +1 -1
- package/dist/chunks/eo-upload-file.f05df385.js +3 -0
- package/dist/chunks/{eo-upload-file.0c831ff6.js.map → eo-upload-file.f05df385.js.map} +1 -1
- package/dist/chunks/eo-upload-image.ba7efb21.js +3 -0
- package/dist/chunks/{eo-upload-image.863b4bb0.js.map → eo-upload-image.ba7efb21.js.map} +1 -1
- package/dist/chunks/input.f9fa4d49.js +3 -0
- package/dist/chunks/input.f9fa4d49.js.map +1 -0
- package/dist/chunks/main.4c1e0dca.js +2 -0
- package/dist/chunks/{main.a864cfbd.js.map → main.4c1e0dca.js.map} +1 -1
- package/dist/chunks/react.1a68d605.js +2 -0
- package/dist/examples.json +10 -10
- package/dist/index.c9c801a3.js +2 -0
- package/dist/index.c9c801a3.js.map +1 -0
- package/dist/manifest.json +255 -255
- package/dist/types.json +1197 -1197
- package/package.json +3 -3
- package/dist/chunks/1225.9ddafbd7.js +0 -3
- package/dist/chunks/1225.9ddafbd7.js.map +0 -1
- package/dist/chunks/149.3be7b324.js +0 -2
- package/dist/chunks/1889.d5b15f1a.js.map +0 -1
- package/dist/chunks/4056.55a599ef.js.map +0 -1
- package/dist/chunks/4306.ae350749.js +0 -2
- package/dist/chunks/4306.ae350749.js.map +0 -1
- package/dist/chunks/6167.5fa3a8a3.js.map +0 -1
- package/dist/chunks/8548.a7f77dd3.js.map +0 -1
- package/dist/chunks/8989.60961208.js.map +0 -1
- package/dist/chunks/9140.e6b74fc4.js +0 -3
- package/dist/chunks/9140.e6b74fc4.js.map +0 -1
- package/dist/chunks/eo-auto-complete.bfc18bf0.js +0 -3
- package/dist/chunks/eo-checkbox.dd3b8c61.js +0 -2
- package/dist/chunks/eo-color-picker.decaa2d0.js +0 -2
- package/dist/chunks/eo-date-picker.ec20f387.js +0 -2
- package/dist/chunks/eo-dynamic-form-item.15348329.js +0 -3
- package/dist/chunks/eo-dynamic-form-item.15348329.js.map +0 -1
- package/dist/chunks/eo-form.7280c66a.js +0 -2
- package/dist/chunks/eo-form.7280c66a.js.map +0 -1
- package/dist/chunks/eo-icon-select.7e1b98a9.js +0 -3
- package/dist/chunks/eo-icon-select.7e1b98a9.js.map +0 -1
- package/dist/chunks/eo-radio.6105c838.js +0 -3
- package/dist/chunks/eo-radio.6105c838.js.map +0 -1
- package/dist/chunks/eo-search.66add2ad.js +0 -2
- package/dist/chunks/eo-select.95bacacf.js +0 -3
- package/dist/chunks/eo-select.95bacacf.js.map +0 -1
- package/dist/chunks/eo-submit-buttons.61e7e1c8.js +0 -2
- package/dist/chunks/eo-submit-buttons.61e7e1c8.js.map +0 -1
- package/dist/chunks/eo-switch.44271217.js +0 -3
- package/dist/chunks/eo-textarea.4650c5fa.js +0 -3
- package/dist/chunks/eo-time-picker.eecc50b9.js +0 -2
- package/dist/chunks/eo-time-range-picker.16b6307a.js +0 -2
- package/dist/chunks/eo-upload-file.0c831ff6.js +0 -3
- package/dist/chunks/eo-upload-image.863b4bb0.js +0 -3
- package/dist/chunks/input.4c89850a.js +0 -3
- package/dist/chunks/input.4c89850a.js.map +0 -1
- package/dist/chunks/main.a864cfbd.js +0 -2
- package/dist/chunks/react.15921842.js +0 -2
- package/dist/index.ee686eae.js +0 -2
- package/dist/index.ee686eae.js.map +0 -1
- /package/dist/chunks/{1225.9ddafbd7.js.LICENSE.txt → 1225.f5b3f74c.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{4056.55a599ef.js.LICENSE.txt → 4056.aac4a786.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{9140.e6b74fc4.js.LICENSE.txt → 948.1b39e8b1.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-auto-complete.bfc18bf0.js.LICENSE.txt → eo-auto-complete.63b557c8.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-dynamic-form-item.15348329.js.LICENSE.txt → eo-dynamic-form-item.3e5699b3.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-icon-select.7e1b98a9.js.LICENSE.txt → eo-icon-select.680597be.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-radio.6105c838.js.LICENSE.txt → eo-radio.0a7f3f84.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-select.95bacacf.js.LICENSE.txt → eo-select.e0cdd956.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-switch.44271217.js.LICENSE.txt → eo-switch.7c4d7727.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-textarea.4650c5fa.js.LICENSE.txt → eo-textarea.dcb4189e.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-upload-file.0c831ff6.js.LICENSE.txt → eo-upload-file.f05df385.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-upload-image.863b4bb0.js.LICENSE.txt → eo-upload-image.ba7efb21.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{input.4c89850a.js.LICENSE.txt → input.f9fa4d49.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{react.15921842.js.LICENSE.txt → react.1a68d605.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -3,6 +3,114 @@
|
|
|
3
3
|
"package": "@next-bricks/form",
|
|
4
4
|
"name": "form",
|
|
5
5
|
"bricks": [
|
|
6
|
+
{
|
|
7
|
+
"name": "eo-textarea",
|
|
8
|
+
"alias": [
|
|
9
|
+
"form.general-textarea"
|
|
10
|
+
],
|
|
11
|
+
"properties": [
|
|
12
|
+
{
|
|
13
|
+
"name": "name",
|
|
14
|
+
"description": "字段名称",
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "label",
|
|
19
|
+
"description": "标签文字",
|
|
20
|
+
"type": "string"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "value",
|
|
24
|
+
"description": "值",
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "placeholder",
|
|
29
|
+
"description": "占位说明",
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "disabled",
|
|
34
|
+
"description": "是否禁用",
|
|
35
|
+
"type": "boolean"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "minLength",
|
|
39
|
+
"description": "最小长度",
|
|
40
|
+
"type": "number"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "maxLength",
|
|
44
|
+
"description": "最大长度",
|
|
45
|
+
"type": "number"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "autoSize",
|
|
49
|
+
"description": "大小自适应",
|
|
50
|
+
"attribute": false,
|
|
51
|
+
"type": "AutoSize"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "required",
|
|
55
|
+
"description": "是否必填",
|
|
56
|
+
"type": "boolean"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "max",
|
|
60
|
+
"description": "表单校验最大长度",
|
|
61
|
+
"type": "number"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "min",
|
|
65
|
+
"description": "表单校验最小长度",
|
|
66
|
+
"type": "number"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "message",
|
|
70
|
+
"description": "校验信息",
|
|
71
|
+
"attribute": false,
|
|
72
|
+
"type": "Record<string, string>"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "textareaStyle",
|
|
76
|
+
"description": "自定义样式",
|
|
77
|
+
"attribute": false,
|
|
78
|
+
"type": "React.CSSProperties"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "variant",
|
|
82
|
+
"description": "变体\n\n- muted: 在 themeVariant 为 elevo 时可用,设置时输入框没有 box-shadow",
|
|
83
|
+
"type": "\"default\" | \"muted\""
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "themeVariant",
|
|
87
|
+
"description": "主题变体",
|
|
88
|
+
"type": "\"default\" | \"elevo\""
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
"events": [
|
|
92
|
+
{
|
|
93
|
+
"name": "change",
|
|
94
|
+
"description": "",
|
|
95
|
+
"detail": {
|
|
96
|
+
"description": null,
|
|
97
|
+
"type": "string"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
"slots": [],
|
|
102
|
+
"methods": [
|
|
103
|
+
{
|
|
104
|
+
"name": "focusTextarea",
|
|
105
|
+
"params": [],
|
|
106
|
+
"description": "focus",
|
|
107
|
+
"returns": {}
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"parts": [],
|
|
111
|
+
"description": "通用多行文本输入框构件",
|
|
112
|
+
"category": "form-input-basic"
|
|
113
|
+
},
|
|
6
114
|
{
|
|
7
115
|
"name": "eo-form",
|
|
8
116
|
"alias": [
|
|
@@ -149,83 +257,79 @@
|
|
|
149
257
|
"category": "form-input-basic"
|
|
150
258
|
},
|
|
151
259
|
{
|
|
152
|
-
"name": "eo-
|
|
260
|
+
"name": "eo-radio",
|
|
153
261
|
"alias": [
|
|
154
|
-
"form.general-
|
|
262
|
+
"form.general-radio"
|
|
155
263
|
],
|
|
156
264
|
"properties": [
|
|
157
265
|
{
|
|
158
266
|
"name": "name",
|
|
159
|
-
"description": "
|
|
267
|
+
"description": "下拉框字段名",
|
|
160
268
|
"type": "string"
|
|
161
269
|
},
|
|
162
270
|
{
|
|
163
271
|
"name": "label",
|
|
164
|
-
"description": "
|
|
272
|
+
"description": "单选框字段说明",
|
|
165
273
|
"type": "string"
|
|
166
274
|
},
|
|
167
275
|
{
|
|
168
|
-
"name": "
|
|
169
|
-
"description": "
|
|
170
|
-
"
|
|
276
|
+
"name": "options",
|
|
277
|
+
"description": "单选框选项表",
|
|
278
|
+
"required": true,
|
|
279
|
+
"attribute": false,
|
|
280
|
+
"type": "GeneralOption[]"
|
|
171
281
|
},
|
|
172
282
|
{
|
|
173
|
-
"name": "
|
|
174
|
-
"description": "
|
|
175
|
-
"
|
|
283
|
+
"name": "value",
|
|
284
|
+
"description": "单选框当前选中始值",
|
|
285
|
+
"attribute": false,
|
|
286
|
+
"type": "any"
|
|
176
287
|
},
|
|
177
288
|
{
|
|
178
|
-
"name": "
|
|
179
|
-
"description": "
|
|
289
|
+
"name": "required",
|
|
290
|
+
"description": "是否必填",
|
|
180
291
|
"type": "boolean"
|
|
181
292
|
},
|
|
182
293
|
{
|
|
183
|
-
"name": "
|
|
184
|
-
"description": "
|
|
185
|
-
"type": "number"
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
"name": "maxLength",
|
|
189
|
-
"description": "最大长度",
|
|
190
|
-
"type": "number"
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
"name": "autoSize",
|
|
194
|
-
"description": "大小自适应",
|
|
294
|
+
"name": "message",
|
|
295
|
+
"description": "校验文本信息",
|
|
195
296
|
"attribute": false,
|
|
196
|
-
"type": "
|
|
297
|
+
"type": "Record<string, string>"
|
|
197
298
|
},
|
|
198
299
|
{
|
|
199
|
-
"name": "
|
|
200
|
-
"description": "
|
|
300
|
+
"name": "disabled",
|
|
301
|
+
"description": "是否禁用",
|
|
201
302
|
"type": "boolean"
|
|
202
303
|
},
|
|
203
304
|
{
|
|
204
|
-
"name": "
|
|
205
|
-
"description": "
|
|
206
|
-
"
|
|
305
|
+
"name": "type",
|
|
306
|
+
"description": "单选框样式类型",
|
|
307
|
+
"default": "\"default\"",
|
|
308
|
+
"type": "RadioType"
|
|
207
309
|
},
|
|
208
310
|
{
|
|
209
|
-
"name": "
|
|
210
|
-
"description": "
|
|
211
|
-
"
|
|
311
|
+
"name": "ui",
|
|
312
|
+
"description": "UI样式",
|
|
313
|
+
"default": "\"default\"",
|
|
314
|
+
"type": "UIType"
|
|
212
315
|
},
|
|
213
316
|
{
|
|
214
|
-
"name": "
|
|
215
|
-
"description": "
|
|
216
|
-
"
|
|
217
|
-
"type": "
|
|
317
|
+
"name": "size",
|
|
318
|
+
"description": "大小,只对按钮样式生效",
|
|
319
|
+
"default": "\"medium\"",
|
|
320
|
+
"type": "ComponentSize"
|
|
218
321
|
},
|
|
219
322
|
{
|
|
220
|
-
"name": "
|
|
221
|
-
"description": "
|
|
323
|
+
"name": "customStyle",
|
|
324
|
+
"description": "自定义radio的外层样式",
|
|
222
325
|
"attribute": false,
|
|
223
326
|
"type": "React.CSSProperties"
|
|
224
327
|
},
|
|
225
328
|
{
|
|
226
|
-
"name": "
|
|
227
|
-
"description": "
|
|
228
|
-
"
|
|
329
|
+
"name": "useBrick",
|
|
330
|
+
"description": "自定义radio的内容",
|
|
331
|
+
"attribute": false,
|
|
332
|
+
"type": "UseSingleBrickConf"
|
|
229
333
|
},
|
|
230
334
|
{
|
|
231
335
|
"name": "themeVariant",
|
|
@@ -236,24 +340,23 @@
|
|
|
236
340
|
"events": [
|
|
237
341
|
{
|
|
238
342
|
"name": "change",
|
|
239
|
-
"description": "",
|
|
343
|
+
"description": "值变化事件",
|
|
240
344
|
"detail": {
|
|
241
|
-
"
|
|
242
|
-
"type": "string"
|
|
345
|
+
"type": "GeneralComplexOption | undefined"
|
|
243
346
|
}
|
|
244
|
-
}
|
|
245
|
-
],
|
|
246
|
-
"slots": [],
|
|
247
|
-
"methods": [
|
|
347
|
+
},
|
|
248
348
|
{
|
|
249
|
-
"name": "
|
|
250
|
-
"
|
|
251
|
-
"
|
|
252
|
-
|
|
349
|
+
"name": "options.change",
|
|
350
|
+
"description": "选项列表变化事件",
|
|
351
|
+
"detail": {
|
|
352
|
+
"type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
|
|
353
|
+
}
|
|
253
354
|
}
|
|
254
355
|
],
|
|
356
|
+
"slots": [],
|
|
357
|
+
"methods": [],
|
|
255
358
|
"parts": [],
|
|
256
|
-
"description": "
|
|
359
|
+
"description": "通用单选构件",
|
|
257
360
|
"category": "form-input-basic"
|
|
258
361
|
},
|
|
259
362
|
{
|
|
@@ -424,79 +527,41 @@
|
|
|
424
527
|
"category": "form-input-basic"
|
|
425
528
|
},
|
|
426
529
|
{
|
|
427
|
-
"name": "eo-
|
|
530
|
+
"name": "eo-submit-buttons",
|
|
428
531
|
"alias": [
|
|
429
|
-
"form.
|
|
532
|
+
"form.submit-buttons"
|
|
430
533
|
],
|
|
431
534
|
"properties": [
|
|
432
535
|
{
|
|
433
|
-
"name": "
|
|
434
|
-
"description": "
|
|
536
|
+
"name": "submitText",
|
|
537
|
+
"description": "提交按钮的文字",
|
|
538
|
+
"default": "\"提交\"",
|
|
435
539
|
"type": "string"
|
|
436
540
|
},
|
|
437
541
|
{
|
|
438
|
-
"name": "
|
|
439
|
-
"description": "
|
|
542
|
+
"name": "cancelText",
|
|
543
|
+
"description": "取消按钮的文字,不设置则不显示取消按钮",
|
|
440
544
|
"type": "string"
|
|
441
545
|
},
|
|
442
546
|
{
|
|
443
|
-
"name": "
|
|
444
|
-
"description": "
|
|
445
|
-
"required": true,
|
|
446
|
-
"attribute": false,
|
|
447
|
-
"type": "GeneralOption[]"
|
|
448
|
-
},
|
|
449
|
-
{
|
|
450
|
-
"name": "value",
|
|
451
|
-
"description": "单选框当前选中始值",
|
|
452
|
-
"attribute": false,
|
|
453
|
-
"type": "any"
|
|
454
|
-
},
|
|
455
|
-
{
|
|
456
|
-
"name": "required",
|
|
457
|
-
"description": "是否必填",
|
|
547
|
+
"name": "disableAfterClick",
|
|
548
|
+
"description": "点击确定按钮后自动禁用",
|
|
458
549
|
"type": "boolean"
|
|
459
550
|
},
|
|
460
551
|
{
|
|
461
|
-
"name": "
|
|
462
|
-
"description": "
|
|
463
|
-
"attribute": false,
|
|
464
|
-
"type": "Record<string, string>"
|
|
465
|
-
},
|
|
466
|
-
{
|
|
467
|
-
"name": "disabled",
|
|
468
|
-
"description": "是否禁用",
|
|
552
|
+
"name": "submitDisabled",
|
|
553
|
+
"description": "禁用提交按钮",
|
|
469
554
|
"type": "boolean"
|
|
470
555
|
},
|
|
471
556
|
{
|
|
472
|
-
"name": "
|
|
473
|
-
"description": "
|
|
474
|
-
"
|
|
475
|
-
"type": "RadioType"
|
|
476
|
-
},
|
|
477
|
-
{
|
|
478
|
-
"name": "ui",
|
|
479
|
-
"description": "UI样式",
|
|
480
|
-
"default": "\"default\"",
|
|
481
|
-
"type": "UIType"
|
|
482
|
-
},
|
|
483
|
-
{
|
|
484
|
-
"name": "size",
|
|
485
|
-
"description": "大小,只对按钮样式生效",
|
|
486
|
-
"default": "\"medium\"",
|
|
487
|
-
"type": "ComponentSize"
|
|
488
|
-
},
|
|
489
|
-
{
|
|
490
|
-
"name": "customStyle",
|
|
491
|
-
"description": "自定义radio的外层样式",
|
|
492
|
-
"attribute": false,
|
|
493
|
-
"type": "React.CSSProperties"
|
|
557
|
+
"name": "submitType",
|
|
558
|
+
"description": "提交按钮类型",
|
|
559
|
+
"type": "ButtonType"
|
|
494
560
|
},
|
|
495
561
|
{
|
|
496
|
-
"name": "
|
|
497
|
-
"description": "
|
|
498
|
-
"
|
|
499
|
-
"type": "UseSingleBrickConf"
|
|
562
|
+
"name": "cancelType",
|
|
563
|
+
"description": "取消按钮类型",
|
|
564
|
+
"type": "ButtonType"
|
|
500
565
|
},
|
|
501
566
|
{
|
|
502
567
|
"name": "themeVariant",
|
|
@@ -506,24 +571,24 @@
|
|
|
506
571
|
],
|
|
507
572
|
"events": [
|
|
508
573
|
{
|
|
509
|
-
"name": "
|
|
510
|
-
"description": "
|
|
574
|
+
"name": "submit",
|
|
575
|
+
"description": "点击提交按钮触发的事件",
|
|
511
576
|
"detail": {
|
|
512
|
-
"type": "
|
|
577
|
+
"type": "void"
|
|
513
578
|
}
|
|
514
579
|
},
|
|
515
580
|
{
|
|
516
|
-
"name": "
|
|
517
|
-
"description": "
|
|
581
|
+
"name": "cancel",
|
|
582
|
+
"description": "点击取消按钮触发的事件",
|
|
518
583
|
"detail": {
|
|
519
|
-
"type": "
|
|
584
|
+
"type": "void"
|
|
520
585
|
}
|
|
521
586
|
}
|
|
522
587
|
],
|
|
523
588
|
"slots": [],
|
|
524
589
|
"methods": [],
|
|
525
590
|
"parts": [],
|
|
526
|
-
"description": "
|
|
591
|
+
"description": "表单提交按钮",
|
|
527
592
|
"category": "form-input-basic"
|
|
528
593
|
},
|
|
529
594
|
{
|
|
@@ -623,71 +688,6 @@
|
|
|
623
688
|
"description": "表单复选框构件",
|
|
624
689
|
"category": "form-input-basic"
|
|
625
690
|
},
|
|
626
|
-
{
|
|
627
|
-
"name": "eo-submit-buttons",
|
|
628
|
-
"alias": [
|
|
629
|
-
"form.submit-buttons"
|
|
630
|
-
],
|
|
631
|
-
"properties": [
|
|
632
|
-
{
|
|
633
|
-
"name": "submitText",
|
|
634
|
-
"description": "提交按钮的文字",
|
|
635
|
-
"default": "\"提交\"",
|
|
636
|
-
"type": "string"
|
|
637
|
-
},
|
|
638
|
-
{
|
|
639
|
-
"name": "cancelText",
|
|
640
|
-
"description": "取消按钮的文字,不设置则不显示取消按钮",
|
|
641
|
-
"type": "string"
|
|
642
|
-
},
|
|
643
|
-
{
|
|
644
|
-
"name": "disableAfterClick",
|
|
645
|
-
"description": "点击确定按钮后自动禁用",
|
|
646
|
-
"type": "boolean"
|
|
647
|
-
},
|
|
648
|
-
{
|
|
649
|
-
"name": "submitDisabled",
|
|
650
|
-
"description": "禁用提交按钮",
|
|
651
|
-
"type": "boolean"
|
|
652
|
-
},
|
|
653
|
-
{
|
|
654
|
-
"name": "submitType",
|
|
655
|
-
"description": "提交按钮类型",
|
|
656
|
-
"type": "ButtonType"
|
|
657
|
-
},
|
|
658
|
-
{
|
|
659
|
-
"name": "cancelType",
|
|
660
|
-
"description": "取消按钮类型",
|
|
661
|
-
"type": "ButtonType"
|
|
662
|
-
},
|
|
663
|
-
{
|
|
664
|
-
"name": "themeVariant",
|
|
665
|
-
"description": "主题变体",
|
|
666
|
-
"type": "\"default\" | \"elevo\""
|
|
667
|
-
}
|
|
668
|
-
],
|
|
669
|
-
"events": [
|
|
670
|
-
{
|
|
671
|
-
"name": "submit",
|
|
672
|
-
"description": "点击提交按钮触发的事件",
|
|
673
|
-
"detail": {
|
|
674
|
-
"type": "void"
|
|
675
|
-
}
|
|
676
|
-
},
|
|
677
|
-
{
|
|
678
|
-
"name": "cancel",
|
|
679
|
-
"description": "点击取消按钮触发的事件",
|
|
680
|
-
"detail": {
|
|
681
|
-
"type": "void"
|
|
682
|
-
}
|
|
683
|
-
}
|
|
684
|
-
],
|
|
685
|
-
"slots": [],
|
|
686
|
-
"methods": [],
|
|
687
|
-
"parts": [],
|
|
688
|
-
"description": "表单提交按钮",
|
|
689
|
-
"category": "form-input-basic"
|
|
690
|
-
},
|
|
691
691
|
{
|
|
692
692
|
"name": "eo-dynamic-form-item",
|
|
693
693
|
"alias": [
|
|
@@ -990,6 +990,80 @@
|
|
|
990
990
|
"description": "上传图片构件",
|
|
991
991
|
"category": "form-input-basic"
|
|
992
992
|
},
|
|
993
|
+
{
|
|
994
|
+
"name": "eo-switch",
|
|
995
|
+
"alias": [
|
|
996
|
+
"form.general-switch"
|
|
997
|
+
],
|
|
998
|
+
"properties": [
|
|
999
|
+
{
|
|
1000
|
+
"name": "name",
|
|
1001
|
+
"description": "字段名称",
|
|
1002
|
+
"type": "string"
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
"name": "label",
|
|
1006
|
+
"description": "字段文本",
|
|
1007
|
+
"type": "string"
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
"name": "value",
|
|
1011
|
+
"description": "初始值",
|
|
1012
|
+
"type": "boolean"
|
|
1013
|
+
},
|
|
1014
|
+
{
|
|
1015
|
+
"name": "disabled",
|
|
1016
|
+
"description": "是否禁用",
|
|
1017
|
+
"type": "boolean"
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
"name": "size",
|
|
1021
|
+
"description": "按钮大小,目前只支持small和非small两种大小。",
|
|
1022
|
+
"type": "ComponentSize"
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
"name": "checkedText",
|
|
1026
|
+
"description": "选中时的文本",
|
|
1027
|
+
"type": "string"
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
1030
|
+
"name": "unCheckedText",
|
|
1031
|
+
"description": "非选中时的文本",
|
|
1032
|
+
"type": "string"
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
"name": "checkedIcon",
|
|
1036
|
+
"description": "选中时的图标",
|
|
1037
|
+
"attribute": false,
|
|
1038
|
+
"type": "GeneralIconProps"
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
"name": "unCheckedIcon",
|
|
1042
|
+
"description": "非选中时的文本",
|
|
1043
|
+
"attribute": false,
|
|
1044
|
+
"type": "GeneralIconProps"
|
|
1045
|
+
},
|
|
1046
|
+
{
|
|
1047
|
+
"name": "themeVariant",
|
|
1048
|
+
"description": "主题变体",
|
|
1049
|
+
"type": "\"default\" | \"elevo\""
|
|
1050
|
+
}
|
|
1051
|
+
],
|
|
1052
|
+
"events": [
|
|
1053
|
+
{
|
|
1054
|
+
"name": "switch",
|
|
1055
|
+
"description": "开关改变时触发",
|
|
1056
|
+
"detail": {
|
|
1057
|
+
"type": "boolean"
|
|
1058
|
+
}
|
|
1059
|
+
}
|
|
1060
|
+
],
|
|
1061
|
+
"slots": [],
|
|
1062
|
+
"methods": [],
|
|
1063
|
+
"parts": [],
|
|
1064
|
+
"description": "开关",
|
|
1065
|
+
"category": "form-input-basic"
|
|
1066
|
+
},
|
|
993
1067
|
{
|
|
994
1068
|
"name": "eo-upload-file",
|
|
995
1069
|
"properties": [
|
|
@@ -1118,80 +1192,6 @@
|
|
|
1118
1192
|
"description": "上传文件",
|
|
1119
1193
|
"category": "form-input-basic"
|
|
1120
1194
|
},
|
|
1121
|
-
{
|
|
1122
|
-
"name": "eo-switch",
|
|
1123
|
-
"alias": [
|
|
1124
|
-
"form.general-switch"
|
|
1125
|
-
],
|
|
1126
|
-
"properties": [
|
|
1127
|
-
{
|
|
1128
|
-
"name": "name",
|
|
1129
|
-
"description": "字段名称",
|
|
1130
|
-
"type": "string"
|
|
1131
|
-
},
|
|
1132
|
-
{
|
|
1133
|
-
"name": "label",
|
|
1134
|
-
"description": "字段文本",
|
|
1135
|
-
"type": "string"
|
|
1136
|
-
},
|
|
1137
|
-
{
|
|
1138
|
-
"name": "value",
|
|
1139
|
-
"description": "初始值",
|
|
1140
|
-
"type": "boolean"
|
|
1141
|
-
},
|
|
1142
|
-
{
|
|
1143
|
-
"name": "disabled",
|
|
1144
|
-
"description": "是否禁用",
|
|
1145
|
-
"type": "boolean"
|
|
1146
|
-
},
|
|
1147
|
-
{
|
|
1148
|
-
"name": "size",
|
|
1149
|
-
"description": "按钮大小,目前只支持small和非small两种大小。",
|
|
1150
|
-
"type": "ComponentSize"
|
|
1151
|
-
},
|
|
1152
|
-
{
|
|
1153
|
-
"name": "checkedText",
|
|
1154
|
-
"description": "选中时的文本",
|
|
1155
|
-
"type": "string"
|
|
1156
|
-
},
|
|
1157
|
-
{
|
|
1158
|
-
"name": "unCheckedText",
|
|
1159
|
-
"description": "非选中时的文本",
|
|
1160
|
-
"type": "string"
|
|
1161
|
-
},
|
|
1162
|
-
{
|
|
1163
|
-
"name": "checkedIcon",
|
|
1164
|
-
"description": "选中时的图标",
|
|
1165
|
-
"attribute": false,
|
|
1166
|
-
"type": "GeneralIconProps"
|
|
1167
|
-
},
|
|
1168
|
-
{
|
|
1169
|
-
"name": "unCheckedIcon",
|
|
1170
|
-
"description": "非选中时的文本",
|
|
1171
|
-
"attribute": false,
|
|
1172
|
-
"type": "GeneralIconProps"
|
|
1173
|
-
},
|
|
1174
|
-
{
|
|
1175
|
-
"name": "themeVariant",
|
|
1176
|
-
"description": "主题变体",
|
|
1177
|
-
"type": "\"default\" | \"elevo\""
|
|
1178
|
-
}
|
|
1179
|
-
],
|
|
1180
|
-
"events": [
|
|
1181
|
-
{
|
|
1182
|
-
"name": "switch",
|
|
1183
|
-
"description": "开关改变时触发",
|
|
1184
|
-
"detail": {
|
|
1185
|
-
"type": "boolean"
|
|
1186
|
-
}
|
|
1187
|
-
}
|
|
1188
|
-
],
|
|
1189
|
-
"slots": [],
|
|
1190
|
-
"methods": [],
|
|
1191
|
-
"parts": [],
|
|
1192
|
-
"description": "开关",
|
|
1193
|
-
"category": "form-input-basic"
|
|
1194
|
-
},
|
|
1195
1195
|
{
|
|
1196
1196
|
"name": "eo-auto-complete",
|
|
1197
1197
|
"properties": [
|