@next-bricks/form 1.15.6 → 1.15.8
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 +20 -25
- package/dist/chunks/149.f1ac0885.js +2 -0
- package/dist/chunks/149.f1ac0885.js.map +1 -0
- package/dist/chunks/4056.48d6bc7f.js +3 -0
- package/dist/chunks/4056.48d6bc7f.js.map +1 -0
- package/dist/chunks/4185.d0b2dca6.js +3 -0
- package/dist/chunks/4185.d0b2dca6.js.map +1 -0
- package/dist/chunks/5025.bd76306e.js +3 -0
- package/dist/chunks/5025.bd76306e.js.map +1 -0
- package/dist/chunks/5026.f93ca6ff.js +3 -0
- package/dist/chunks/5026.f93ca6ff.js.map +1 -0
- package/dist/chunks/6167.776acd02.js +2 -0
- package/dist/chunks/6167.776acd02.js.map +1 -0
- package/dist/chunks/7138.32feb41d.js +3 -0
- package/dist/chunks/7138.32feb41d.js.map +1 -0
- package/dist/chunks/845.2cc8bd81.js +3 -0
- package/dist/chunks/845.2cc8bd81.js.map +1 -0
- package/dist/chunks/8548.66dd7965.js +2 -0
- package/dist/chunks/8548.66dd7965.js.map +1 -0
- package/dist/chunks/9126.67a533fb.js +2 -0
- package/dist/chunks/9126.67a533fb.js.map +1 -0
- package/dist/chunks/eo-auto-complete.3c25ef04.js +3 -0
- package/dist/chunks/eo-auto-complete.3c25ef04.js.map +1 -0
- package/dist/chunks/eo-checkbox.6fb2afb3.js +2 -0
- package/dist/chunks/eo-checkbox.6fb2afb3.js.map +1 -0
- package/dist/chunks/eo-color-picker.8711d25d.js +2 -0
- package/dist/chunks/{eo-color-picker.0844530a.js.map → eo-color-picker.8711d25d.js.map} +1 -1
- package/dist/chunks/eo-date-picker.740508ba.js +2 -0
- package/dist/chunks/{eo-date-picker.41f03949.js.map → eo-date-picker.740508ba.js.map} +1 -1
- package/dist/chunks/eo-dynamic-form-item.96fdc2f1.js +3 -0
- package/dist/chunks/{eo-dynamic-form-item.41874d06.js.map → eo-dynamic-form-item.96fdc2f1.js.map} +1 -1
- package/dist/chunks/eo-icon-select.b7ec93c9.js +3 -0
- package/dist/chunks/{eo-icon-select.970170f1.js.map → eo-icon-select.b7ec93c9.js.map} +1 -1
- package/dist/chunks/eo-radio.f7ea3494.js +3 -0
- package/dist/chunks/{eo-radio.6301fbc2.js.map → eo-radio.f7ea3494.js.map} +1 -1
- package/dist/chunks/eo-search.11fc357f.js.map +1 -1
- package/dist/chunks/eo-select.a43cdd6b.js +3 -0
- package/dist/chunks/{eo-select.b16bee73.js.map → eo-select.a43cdd6b.js.map} +1 -1
- package/dist/chunks/eo-submit-buttons.7986fcd3.js +2 -0
- package/dist/chunks/{eo-submit-buttons.5496d3c7.js.map → eo-submit-buttons.7986fcd3.js.map} +1 -1
- package/dist/chunks/eo-switch.445a7cab.js +3 -0
- package/dist/chunks/{eo-switch.0a6bccad.js.map → eo-switch.445a7cab.js.map} +1 -1
- package/dist/chunks/eo-textarea.7fdd5ac5.js +3 -0
- package/dist/chunks/eo-textarea.7fdd5ac5.js.map +1 -0
- package/dist/chunks/eo-time-picker.d5e22a7b.js +2 -0
- package/dist/chunks/eo-time-picker.d5e22a7b.js.map +1 -0
- package/dist/chunks/eo-time-range-picker.bf0932ac.js +2 -0
- package/dist/chunks/eo-time-range-picker.bf0932ac.js.map +1 -0
- package/dist/chunks/eo-upload-file.794353ba.js +3 -0
- package/dist/chunks/{eo-upload-file.71e2b71d.js.map → eo-upload-file.794353ba.js.map} +1 -1
- package/dist/chunks/eo-upload-image.50adcd53.js +3 -0
- package/dist/chunks/{eo-upload-image.e21c5519.js.map → eo-upload-image.50adcd53.js.map} +1 -1
- package/dist/chunks/input.eb21f7c8.js +3 -0
- package/dist/chunks/input.eb21f7c8.js.map +1 -0
- package/dist/chunks/main.363d8234.js +2 -0
- package/dist/chunks/main.363d8234.js.map +1 -0
- package/dist/chunks/react.aa821fb3.js +2 -0
- package/dist/chunks/{3144.07ed2d7c.js.LICENSE.txt → react.aa821fb3.js.LICENSE.txt} +10 -0
- package/dist/examples.json +7 -7
- package/dist/index.fa015fd4.js +2 -0
- package/dist/index.fa015fd4.js.map +1 -0
- package/dist/manifest.json +437 -437
- package/dist/types.json +1909 -1909
- package/dist-types/bootstrap.d.ts +1 -2
- package/dist-types/input/index.d.ts +1 -1
- package/dist-types/input.d.ts +2 -0
- package/package.json +2 -2
- package/dist/chunks/114.9c01e471.js +0 -2
- package/dist/chunks/114.9c01e471.js.map +0 -1
- package/dist/chunks/1269.2e0b1d4f.js +0 -2
- package/dist/chunks/1269.2e0b1d4f.js.map +0 -1
- package/dist/chunks/2600.c0a33dd3.js +0 -3
- package/dist/chunks/2600.c0a33dd3.js.map +0 -1
- package/dist/chunks/3144.07ed2d7c.js +0 -3
- package/dist/chunks/3144.07ed2d7c.js.map +0 -1
- package/dist/chunks/4021.954d25ce.js +0 -2
- package/dist/chunks/4021.954d25ce.js.map +0 -1
- package/dist/chunks/4041.48f9b954.js +0 -3
- package/dist/chunks/4041.48f9b954.js.LICENSE.txt +0 -9
- package/dist/chunks/4041.48f9b954.js.map +0 -1
- package/dist/chunks/4114.959be48c.js +0 -3
- package/dist/chunks/4114.959be48c.js.map +0 -1
- package/dist/chunks/4837.cfc2beca.js +0 -2
- package/dist/chunks/4837.cfc2beca.js.map +0 -1
- package/dist/chunks/5026.57e689d4.js +0 -3
- package/dist/chunks/5026.57e689d4.js.map +0 -1
- package/dist/chunks/5582.ce562ee5.js +0 -3
- package/dist/chunks/5582.ce562ee5.js.map +0 -1
- package/dist/chunks/7218.28ce9ced.js +0 -2
- package/dist/chunks/7218.28ce9ced.js.map +0 -1
- package/dist/chunks/7507.c1df682a.js +0 -2
- package/dist/chunks/7507.c1df682a.js.map +0 -1
- package/dist/chunks/7623.8679476e.js +0 -3
- package/dist/chunks/7623.8679476e.js.map +0 -1
- package/dist/chunks/7733.2ba89833.js +0 -2
- package/dist/chunks/7733.2ba89833.js.map +0 -1
- package/dist/chunks/8089.a89bbf70.js +0 -3
- package/dist/chunks/8089.a89bbf70.js.map +0 -1
- package/dist/chunks/eo-auto-complete.4c509c51.js +0 -3
- package/dist/chunks/eo-auto-complete.4c509c51.js.map +0 -1
- package/dist/chunks/eo-checkbox.70127b39.js +0 -3
- package/dist/chunks/eo-checkbox.70127b39.js.map +0 -1
- package/dist/chunks/eo-color-picker.0844530a.js +0 -2
- package/dist/chunks/eo-date-picker.41f03949.js +0 -2
- package/dist/chunks/eo-dynamic-form-item.41874d06.js +0 -3
- package/dist/chunks/eo-form-item.c9ec824e.js +0 -3
- package/dist/chunks/eo-form-item.c9ec824e.js.map +0 -1
- package/dist/chunks/eo-icon-select.970170f1.js +0 -3
- package/dist/chunks/eo-input.acaa31a6.js +0 -3
- package/dist/chunks/eo-input.acaa31a6.js.map +0 -1
- package/dist/chunks/eo-radio.6301fbc2.js +0 -3
- package/dist/chunks/eo-select.b16bee73.js +0 -3
- package/dist/chunks/eo-submit-buttons.5496d3c7.js +0 -2
- package/dist/chunks/eo-switch.0a6bccad.js +0 -3
- package/dist/chunks/eo-textarea.5d3daa42.js +0 -2
- package/dist/chunks/eo-textarea.5d3daa42.js.map +0 -1
- package/dist/chunks/eo-time-picker.37e38cc9.js +0 -2
- package/dist/chunks/eo-time-picker.37e38cc9.js.map +0 -1
- package/dist/chunks/eo-time-range-picker.cdf65c87.js +0 -2
- package/dist/chunks/eo-time-range-picker.cdf65c87.js.map +0 -1
- package/dist/chunks/eo-upload-file.71e2b71d.js +0 -3
- package/dist/chunks/eo-upload-image.e21c5519.js +0 -3
- package/dist/chunks/eo-upload-image.e21c5519.js.LICENSE.txt +0 -5
- package/dist/chunks/main.5222a0c7.js +0 -2
- package/dist/chunks/main.5222a0c7.js.map +0 -1
- package/dist/index.8994d83b.js +0 -2
- package/dist/index.8994d83b.js.map +0 -1
- /package/dist/chunks/{4114.959be48c.js.LICENSE.txt → 4056.48d6bc7f.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{5582.ce562ee5.js.LICENSE.txt → 4185.d0b2dca6.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{2600.c0a33dd3.js.LICENSE.txt → 5025.bd76306e.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{5026.57e689d4.js.LICENSE.txt → 5026.f93ca6ff.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{7623.8679476e.js.LICENSE.txt → 7138.32feb41d.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{8089.a89bbf70.js.LICENSE.txt → 845.2cc8bd81.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-auto-complete.4c509c51.js.LICENSE.txt → eo-auto-complete.3c25ef04.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-checkbox.70127b39.js.LICENSE.txt → eo-dynamic-form-item.96fdc2f1.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-dynamic-form-item.41874d06.js.LICENSE.txt → eo-icon-select.b7ec93c9.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-form-item.c9ec824e.js.LICENSE.txt → eo-radio.f7ea3494.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-icon-select.970170f1.js.LICENSE.txt → eo-select.a43cdd6b.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-input.acaa31a6.js.LICENSE.txt → eo-switch.445a7cab.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-radio.6301fbc2.js.LICENSE.txt → eo-textarea.7fdd5ac5.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-select.b16bee73.js.LICENSE.txt → eo-upload-file.794353ba.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-switch.0a6bccad.js.LICENSE.txt → eo-upload-image.50adcd53.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-upload-file.71e2b71d.js.LICENSE.txt → input.eb21f7c8.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
"name": "form",
|
|
5
5
|
"bricks": [
|
|
6
6
|
{
|
|
7
|
-
"name": "eo-
|
|
7
|
+
"name": "eo-textarea",
|
|
8
8
|
"alias": [
|
|
9
|
-
"form.general-
|
|
9
|
+
"form.general-textarea"
|
|
10
10
|
],
|
|
11
11
|
"properties": [
|
|
12
12
|
{
|
|
@@ -19,35 +19,9 @@
|
|
|
19
19
|
"description": "标签文字",
|
|
20
20
|
"type": "string"
|
|
21
21
|
},
|
|
22
|
-
{
|
|
23
|
-
"name": "required",
|
|
24
|
-
"description": "是否必填",
|
|
25
|
-
"type": "boolean"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"name": "pattern",
|
|
29
|
-
"description": "正则校验规则",
|
|
30
|
-
"type": "string"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"name": "max",
|
|
34
|
-
"description": "表单校验最大长度(当 type 为 number 时,表示最大值)",
|
|
35
|
-
"type": "number"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"name": "min",
|
|
39
|
-
"description": "表单校验最小长度(当 type 为 number 时,表示最小值)",
|
|
40
|
-
"type": "number"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"name": "message",
|
|
44
|
-
"description": "错误时显示消息",
|
|
45
|
-
"attribute": false,
|
|
46
|
-
"type": "Record<string, string>"
|
|
47
|
-
},
|
|
48
22
|
{
|
|
49
23
|
"name": "value",
|
|
50
|
-
"description": "
|
|
24
|
+
"description": "值",
|
|
51
25
|
"type": "string"
|
|
52
26
|
},
|
|
53
27
|
{
|
|
@@ -61,131 +35,70 @@
|
|
|
61
35
|
"type": "boolean"
|
|
62
36
|
},
|
|
63
37
|
{
|
|
64
|
-
"name": "
|
|
65
|
-
"description": "
|
|
66
|
-
"type": "
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"name": "clearable",
|
|
70
|
-
"description": "是否显示清除按钮",
|
|
71
|
-
"type": "boolean"
|
|
38
|
+
"name": "minLength",
|
|
39
|
+
"description": "最小长度",
|
|
40
|
+
"type": "number"
|
|
72
41
|
},
|
|
73
42
|
{
|
|
74
|
-
"name": "
|
|
75
|
-
"description": "
|
|
76
|
-
"type": "
|
|
43
|
+
"name": "maxLength",
|
|
44
|
+
"description": "最大长度",
|
|
45
|
+
"type": "number"
|
|
77
46
|
},
|
|
78
47
|
{
|
|
79
|
-
"name": "
|
|
80
|
-
"description": "
|
|
81
|
-
"
|
|
82
|
-
"type": "
|
|
48
|
+
"name": "autoSize",
|
|
49
|
+
"description": "大小自适应",
|
|
50
|
+
"attribute": false,
|
|
51
|
+
"type": "AutoSize"
|
|
83
52
|
},
|
|
84
53
|
{
|
|
85
|
-
"name": "
|
|
86
|
-
"description": "
|
|
87
|
-
"
|
|
88
|
-
"type": "ComponentSize"
|
|
54
|
+
"name": "required",
|
|
55
|
+
"description": "是否必填",
|
|
56
|
+
"type": "boolean"
|
|
89
57
|
},
|
|
90
58
|
{
|
|
91
|
-
"name": "
|
|
92
|
-
"description": "
|
|
59
|
+
"name": "max",
|
|
60
|
+
"description": "表单校验最大长度",
|
|
93
61
|
"type": "number"
|
|
94
62
|
},
|
|
95
63
|
{
|
|
96
|
-
"name": "
|
|
97
|
-
"description": "
|
|
64
|
+
"name": "min",
|
|
65
|
+
"description": "表单校验最小长度",
|
|
98
66
|
"type": "number"
|
|
99
67
|
},
|
|
100
68
|
{
|
|
101
|
-
"name": "
|
|
102
|
-
"description": "
|
|
69
|
+
"name": "message",
|
|
70
|
+
"description": "校验信息",
|
|
103
71
|
"attribute": false,
|
|
104
|
-
"type": "
|
|
72
|
+
"type": "Record<string, string>"
|
|
105
73
|
},
|
|
106
74
|
{
|
|
107
|
-
"name": "
|
|
108
|
-
"description": "
|
|
75
|
+
"name": "textareaStyle",
|
|
76
|
+
"description": "自定义样式",
|
|
109
77
|
"attribute": false,
|
|
110
|
-
"type": "
|
|
78
|
+
"type": "React.CSSProperties"
|
|
111
79
|
}
|
|
112
80
|
],
|
|
113
81
|
"events": [
|
|
114
82
|
{
|
|
115
83
|
"name": "change",
|
|
116
|
-
"description": "
|
|
84
|
+
"description": "",
|
|
117
85
|
"detail": {
|
|
86
|
+
"description": null,
|
|
118
87
|
"type": "string"
|
|
119
88
|
}
|
|
120
89
|
}
|
|
121
90
|
],
|
|
122
|
-
"slots": [
|
|
123
|
-
{
|
|
124
|
-
"name": "addonBefore",
|
|
125
|
-
"description": "输入框前置标签"
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"name": "addonAfter",
|
|
129
|
-
"description": "输入框后置标签"
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
"name": "prefix",
|
|
133
|
-
"description": "输入框前缀图标"
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
"name": "suffix",
|
|
137
|
-
"description": "输入框后缀图标"
|
|
138
|
-
}
|
|
139
|
-
],
|
|
91
|
+
"slots": [],
|
|
140
92
|
"methods": [
|
|
141
93
|
{
|
|
142
|
-
"name": "
|
|
94
|
+
"name": "focusTextarea",
|
|
143
95
|
"params": [],
|
|
144
96
|
"description": "focus",
|
|
145
97
|
"returns": {}
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
"name": "blurInput",
|
|
149
|
-
"params": [],
|
|
150
|
-
"description": "blur",
|
|
151
|
-
"returns": {}
|
|
152
|
-
}
|
|
153
|
-
],
|
|
154
|
-
"parts": [
|
|
155
|
-
{
|
|
156
|
-
"name": "addon-wrapper",
|
|
157
|
-
"description": "包裹输入组件、前缀、后缀、前置和后置的容器"
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
"name": "affix-wrapper",
|
|
161
|
-
"description": "包裹输入组件、前缀和后缀的容器"
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
"name": "input",
|
|
165
|
-
"description": "输入组件"
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"name": "clear-icon",
|
|
169
|
-
"description": "清除按钮"
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
"name": "prefix",
|
|
173
|
-
"description": "输入框前缀容器"
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
"name": "suffix",
|
|
177
|
-
"description": "输入框后缀容器"
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
"name": "before-addon",
|
|
181
|
-
"description": "输入框前置容器"
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
"name": "after-addon",
|
|
185
|
-
"description": "输入框后置容器"
|
|
186
98
|
}
|
|
187
99
|
],
|
|
188
|
-
"
|
|
100
|
+
"parts": [],
|
|
101
|
+
"description": "通用多行文本输入框构件",
|
|
189
102
|
"category": "form-input-basic"
|
|
190
103
|
},
|
|
191
104
|
{
|
|
@@ -334,311 +247,105 @@
|
|
|
334
247
|
"category": "form-input-basic"
|
|
335
248
|
},
|
|
336
249
|
{
|
|
337
|
-
"name": "eo-
|
|
250
|
+
"name": "eo-radio",
|
|
338
251
|
"alias": [
|
|
339
|
-
"form.general-
|
|
252
|
+
"form.general-radio"
|
|
340
253
|
],
|
|
341
254
|
"properties": [
|
|
342
255
|
{
|
|
343
256
|
"name": "name",
|
|
344
|
-
"description": "
|
|
257
|
+
"description": "下拉框字段名",
|
|
345
258
|
"type": "string"
|
|
346
259
|
},
|
|
347
260
|
{
|
|
348
261
|
"name": "label",
|
|
349
|
-
"description": "
|
|
262
|
+
"description": "单选框字段说明",
|
|
350
263
|
"type": "string"
|
|
351
264
|
},
|
|
352
265
|
{
|
|
353
|
-
"name": "
|
|
354
|
-
"description": "
|
|
355
|
-
"
|
|
266
|
+
"name": "options",
|
|
267
|
+
"description": "单选框选项表",
|
|
268
|
+
"required": true,
|
|
269
|
+
"attribute": false,
|
|
270
|
+
"type": "GeneralOption[]"
|
|
356
271
|
},
|
|
357
272
|
{
|
|
358
|
-
"name": "
|
|
359
|
-
"description": "
|
|
360
|
-
"
|
|
273
|
+
"name": "value",
|
|
274
|
+
"description": "单选框当前选中始值",
|
|
275
|
+
"attribute": false,
|
|
276
|
+
"type": "any"
|
|
361
277
|
},
|
|
362
278
|
{
|
|
363
|
-
"name": "
|
|
364
|
-
"description": "
|
|
279
|
+
"name": "required",
|
|
280
|
+
"description": "是否必填",
|
|
365
281
|
"type": "boolean"
|
|
366
282
|
},
|
|
367
283
|
{
|
|
368
|
-
"name": "
|
|
369
|
-
"description": "
|
|
370
|
-
"type": "number"
|
|
371
|
-
},
|
|
372
|
-
{
|
|
373
|
-
"name": "maxLength",
|
|
374
|
-
"description": "最大长度",
|
|
375
|
-
"type": "number"
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
"name": "autoSize",
|
|
379
|
-
"description": "大小自适应",
|
|
284
|
+
"name": "message",
|
|
285
|
+
"description": "校验文本信息",
|
|
380
286
|
"attribute": false,
|
|
381
|
-
"type": "
|
|
287
|
+
"type": "Record<string, string>"
|
|
382
288
|
},
|
|
383
289
|
{
|
|
384
|
-
"name": "
|
|
385
|
-
"description": "
|
|
290
|
+
"name": "disabled",
|
|
291
|
+
"description": "是否禁用",
|
|
386
292
|
"type": "boolean"
|
|
387
293
|
},
|
|
388
294
|
{
|
|
389
|
-
"name": "
|
|
390
|
-
"description": "
|
|
391
|
-
"
|
|
295
|
+
"name": "type",
|
|
296
|
+
"description": "单选框样式类型",
|
|
297
|
+
"default": "\"default\"",
|
|
298
|
+
"type": "RadioType"
|
|
392
299
|
},
|
|
393
300
|
{
|
|
394
|
-
"name": "
|
|
395
|
-
"description": "
|
|
396
|
-
"
|
|
301
|
+
"name": "ui",
|
|
302
|
+
"description": "UI样式",
|
|
303
|
+
"default": "\"default\"",
|
|
304
|
+
"type": "UIType"
|
|
397
305
|
},
|
|
398
306
|
{
|
|
399
|
-
"name": "
|
|
400
|
-
"description": "
|
|
401
|
-
"
|
|
402
|
-
"type": "
|
|
307
|
+
"name": "size",
|
|
308
|
+
"description": "大小,只对按钮样式生效",
|
|
309
|
+
"default": "\"medium\"",
|
|
310
|
+
"type": "ComponentSize"
|
|
403
311
|
},
|
|
404
312
|
{
|
|
405
|
-
"name": "
|
|
406
|
-
"description": "
|
|
313
|
+
"name": "customStyle",
|
|
314
|
+
"description": "自定义radio的外层样式",
|
|
407
315
|
"attribute": false,
|
|
408
316
|
"type": "React.CSSProperties"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"name": "useBrick",
|
|
320
|
+
"description": "自定义radio的内容",
|
|
321
|
+
"attribute": false,
|
|
322
|
+
"type": "UseSingleBrickConf"
|
|
409
323
|
}
|
|
410
324
|
],
|
|
411
325
|
"events": [
|
|
412
326
|
{
|
|
413
327
|
"name": "change",
|
|
414
|
-
"description": "",
|
|
328
|
+
"description": "值变化事件",
|
|
415
329
|
"detail": {
|
|
416
|
-
"
|
|
417
|
-
"type": "string"
|
|
330
|
+
"type": "GeneralComplexOption | undefined"
|
|
418
331
|
}
|
|
419
|
-
}
|
|
420
|
-
],
|
|
421
|
-
"slots": [],
|
|
422
|
-
"methods": [
|
|
332
|
+
},
|
|
423
333
|
{
|
|
424
|
-
"name": "
|
|
425
|
-
"
|
|
426
|
-
"
|
|
427
|
-
|
|
334
|
+
"name": "options.change",
|
|
335
|
+
"description": "选项列表变化事件",
|
|
336
|
+
"detail": {
|
|
337
|
+
"type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
|
|
338
|
+
}
|
|
428
339
|
}
|
|
429
340
|
],
|
|
341
|
+
"slots": [],
|
|
342
|
+
"methods": [],
|
|
430
343
|
"parts": [],
|
|
431
|
-
"description": "
|
|
344
|
+
"description": "通用单选构件",
|
|
432
345
|
"category": "form-input-basic"
|
|
433
346
|
},
|
|
434
347
|
{
|
|
435
|
-
"name": "eo-
|
|
436
|
-
"alias": [
|
|
437
|
-
"form.general-form-item"
|
|
438
|
-
],
|
|
439
|
-
"properties": [
|
|
440
|
-
{
|
|
441
|
-
"name": "formElement",
|
|
442
|
-
"attribute": false,
|
|
443
|
-
"type": "Form"
|
|
444
|
-
},
|
|
445
|
-
{
|
|
446
|
-
"name": "curElement",
|
|
447
|
-
"attribute": false,
|
|
448
|
-
"type": "HTMLElement"
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
"name": "name",
|
|
452
|
-
"description": "字段名称",
|
|
453
|
-
"type": "string"
|
|
454
|
-
},
|
|
455
|
-
{
|
|
456
|
-
"name": "label",
|
|
457
|
-
"type": "string"
|
|
458
|
-
},
|
|
459
|
-
{
|
|
460
|
-
"name": "pattern",
|
|
461
|
-
"type": "string"
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
"name": "message",
|
|
465
|
-
"attribute": false,
|
|
466
|
-
"type": "Record<string, string>"
|
|
467
|
-
},
|
|
468
|
-
{
|
|
469
|
-
"name": "type",
|
|
470
|
-
"type": "string"
|
|
471
|
-
},
|
|
472
|
-
{
|
|
473
|
-
"name": "max",
|
|
474
|
-
"type": "number"
|
|
475
|
-
},
|
|
476
|
-
{
|
|
477
|
-
"name": "min",
|
|
478
|
-
"type": "number"
|
|
479
|
-
},
|
|
480
|
-
{
|
|
481
|
-
"name": "required",
|
|
482
|
-
"description": "表单项是否为必填",
|
|
483
|
-
"type": "boolean"
|
|
484
|
-
},
|
|
485
|
-
{
|
|
486
|
-
"name": "value",
|
|
487
|
-
"description": "初始值",
|
|
488
|
-
"type": "string"
|
|
489
|
-
},
|
|
490
|
-
{
|
|
491
|
-
"name": "valuePropsName",
|
|
492
|
-
"type": "string"
|
|
493
|
-
},
|
|
494
|
-
{
|
|
495
|
-
"name": "layout",
|
|
496
|
-
"type": "Layout"
|
|
497
|
-
},
|
|
498
|
-
{
|
|
499
|
-
"name": "size",
|
|
500
|
-
"type": "ComponentSize"
|
|
501
|
-
},
|
|
502
|
-
{
|
|
503
|
-
"name": "trim",
|
|
504
|
-
"description": "是否自动去除前后的空白字符",
|
|
505
|
-
"default": "true"
|
|
506
|
-
},
|
|
507
|
-
{
|
|
508
|
-
"name": "trigger",
|
|
509
|
-
"description": "事件触发方法名",
|
|
510
|
-
"type": "string"
|
|
511
|
-
},
|
|
512
|
-
{
|
|
513
|
-
"name": "validator",
|
|
514
|
-
"description": "表单项校验方法",
|
|
515
|
-
"attribute": false,
|
|
516
|
-
"type": "((value: any) => MessageBody)"
|
|
517
|
-
},
|
|
518
|
-
{
|
|
519
|
-
"name": "needValidate",
|
|
520
|
-
"description": "值变化时是否主动出发校验",
|
|
521
|
-
"type": "boolean"
|
|
522
|
-
},
|
|
523
|
-
{
|
|
524
|
-
"name": "textContent",
|
|
525
|
-
"type": "string",
|
|
526
|
-
"description": "文本内容"
|
|
527
|
-
}
|
|
528
|
-
],
|
|
529
|
-
"events": [],
|
|
530
|
-
"slots": [
|
|
531
|
-
{
|
|
532
|
-
"name": null,
|
|
533
|
-
"description": "表单项内容"
|
|
534
|
-
}
|
|
535
|
-
],
|
|
536
|
-
"methods": [],
|
|
537
|
-
"parts": [],
|
|
538
|
-
"description": "通用输入框构件",
|
|
539
|
-
"category": "form-input-basic",
|
|
540
|
-
"insider": true
|
|
541
|
-
},
|
|
542
|
-
{
|
|
543
|
-
"name": "eo-radio",
|
|
544
|
-
"alias": [
|
|
545
|
-
"form.general-radio"
|
|
546
|
-
],
|
|
547
|
-
"properties": [
|
|
548
|
-
{
|
|
549
|
-
"name": "name",
|
|
550
|
-
"description": "下拉框字段名",
|
|
551
|
-
"type": "string"
|
|
552
|
-
},
|
|
553
|
-
{
|
|
554
|
-
"name": "label",
|
|
555
|
-
"description": "单选框字段说明",
|
|
556
|
-
"type": "string"
|
|
557
|
-
},
|
|
558
|
-
{
|
|
559
|
-
"name": "options",
|
|
560
|
-
"description": "单选框选项表",
|
|
561
|
-
"required": true,
|
|
562
|
-
"attribute": false,
|
|
563
|
-
"type": "GeneralOption[]"
|
|
564
|
-
},
|
|
565
|
-
{
|
|
566
|
-
"name": "value",
|
|
567
|
-
"description": "单选框当前选中始值",
|
|
568
|
-
"attribute": false,
|
|
569
|
-
"type": "any"
|
|
570
|
-
},
|
|
571
|
-
{
|
|
572
|
-
"name": "required",
|
|
573
|
-
"description": "是否必填",
|
|
574
|
-
"type": "boolean"
|
|
575
|
-
},
|
|
576
|
-
{
|
|
577
|
-
"name": "message",
|
|
578
|
-
"description": "校验文本信息",
|
|
579
|
-
"attribute": false,
|
|
580
|
-
"type": "Record<string, string>"
|
|
581
|
-
},
|
|
582
|
-
{
|
|
583
|
-
"name": "disabled",
|
|
584
|
-
"description": "是否禁用",
|
|
585
|
-
"type": "boolean"
|
|
586
|
-
},
|
|
587
|
-
{
|
|
588
|
-
"name": "type",
|
|
589
|
-
"description": "单选框样式类型",
|
|
590
|
-
"default": "\"default\"",
|
|
591
|
-
"type": "RadioType"
|
|
592
|
-
},
|
|
593
|
-
{
|
|
594
|
-
"name": "ui",
|
|
595
|
-
"description": "UI样式",
|
|
596
|
-
"default": "\"default\"",
|
|
597
|
-
"type": "UIType"
|
|
598
|
-
},
|
|
599
|
-
{
|
|
600
|
-
"name": "size",
|
|
601
|
-
"description": "大小,只对按钮样式生效",
|
|
602
|
-
"default": "\"medium\"",
|
|
603
|
-
"type": "ComponentSize"
|
|
604
|
-
},
|
|
605
|
-
{
|
|
606
|
-
"name": "customStyle",
|
|
607
|
-
"description": "自定义radio的外层样式",
|
|
608
|
-
"attribute": false,
|
|
609
|
-
"type": "React.CSSProperties"
|
|
610
|
-
},
|
|
611
|
-
{
|
|
612
|
-
"name": "useBrick",
|
|
613
|
-
"description": "自定义radio的内容",
|
|
614
|
-
"attribute": false,
|
|
615
|
-
"type": "UseSingleBrickConf"
|
|
616
|
-
}
|
|
617
|
-
],
|
|
618
|
-
"events": [
|
|
619
|
-
{
|
|
620
|
-
"name": "change",
|
|
621
|
-
"description": "值变化事件",
|
|
622
|
-
"detail": {
|
|
623
|
-
"type": "GeneralComplexOption | undefined"
|
|
624
|
-
}
|
|
625
|
-
},
|
|
626
|
-
{
|
|
627
|
-
"name": "options.change",
|
|
628
|
-
"description": "选项列表变化事件",
|
|
629
|
-
"detail": {
|
|
630
|
-
"type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
|
|
631
|
-
}
|
|
632
|
-
}
|
|
633
|
-
],
|
|
634
|
-
"slots": [],
|
|
635
|
-
"methods": [],
|
|
636
|
-
"parts": [],
|
|
637
|
-
"description": "通用单选构件",
|
|
638
|
-
"category": "form-input-basic"
|
|
639
|
-
},
|
|
640
|
-
{
|
|
641
|
-
"name": "eo-select",
|
|
348
|
+
"name": "eo-select",
|
|
642
349
|
"alias": [
|
|
643
350
|
"form.general-select"
|
|
644
351
|
],
|
|
@@ -1670,24 +1377,27 @@
|
|
|
1670
1377
|
"category": "form-input-basic"
|
|
1671
1378
|
},
|
|
1672
1379
|
{
|
|
1673
|
-
"name": "eo-
|
|
1380
|
+
"name": "eo-color-picker",
|
|
1674
1381
|
"properties": [
|
|
1675
1382
|
{
|
|
1676
1383
|
"name": "name",
|
|
1677
|
-
"description": "
|
|
1384
|
+
"description": "字段名称",
|
|
1678
1385
|
"type": "string"
|
|
1679
1386
|
},
|
|
1680
1387
|
{
|
|
1681
1388
|
"name": "label",
|
|
1682
|
-
"description": "
|
|
1389
|
+
"description": "字段说明",
|
|
1683
1390
|
"type": "string"
|
|
1684
1391
|
},
|
|
1685
1392
|
{
|
|
1686
1393
|
"name": "value",
|
|
1687
|
-
"description": "
|
|
1688
|
-
"
|
|
1689
|
-
|
|
1690
|
-
|
|
1394
|
+
"description": "值",
|
|
1395
|
+
"type": "string"
|
|
1396
|
+
},
|
|
1397
|
+
{
|
|
1398
|
+
"name": "defaultValue",
|
|
1399
|
+
"description": "颜色默认的值",
|
|
1400
|
+
"type": "string | Color"
|
|
1691
1401
|
},
|
|
1692
1402
|
{
|
|
1693
1403
|
"name": "required",
|
|
@@ -1695,38 +1405,113 @@
|
|
|
1695
1405
|
"type": "boolean"
|
|
1696
1406
|
},
|
|
1697
1407
|
{
|
|
1698
|
-
"name": "
|
|
1699
|
-
"description": "
|
|
1700
|
-
"
|
|
1701
|
-
"type": "RangeType"
|
|
1702
|
-
},
|
|
1703
|
-
{
|
|
1704
|
-
"name": "placeholder",
|
|
1705
|
-
"description": "输入框提示文字,单时间段时为string,范围时间段时为[string, string]",
|
|
1706
|
-
"attribute": false,
|
|
1707
|
-
"type": "string | [string, string]"
|
|
1408
|
+
"name": "allowClear",
|
|
1409
|
+
"description": "允许清除选择的颜色",
|
|
1410
|
+
"type": "boolean"
|
|
1708
1411
|
},
|
|
1709
1412
|
{
|
|
1710
|
-
"name": "
|
|
1711
|
-
"description": "
|
|
1413
|
+
"name": "size",
|
|
1414
|
+
"description": "设置触发器大小",
|
|
1415
|
+
"default": "middle",
|
|
1712
1416
|
"attribute": false,
|
|
1713
|
-
"type": "
|
|
1417
|
+
"type": "\"small\" | \"middle\" | \"large\""
|
|
1714
1418
|
},
|
|
1715
1419
|
{
|
|
1716
|
-
"name": "
|
|
1717
|
-
"description": "
|
|
1718
|
-
"type": "
|
|
1420
|
+
"name": "showText",
|
|
1421
|
+
"description": "显示颜色文本",
|
|
1422
|
+
"type": "boolean"
|
|
1719
1423
|
},
|
|
1720
1424
|
{
|
|
1721
|
-
"name": "
|
|
1722
|
-
"description": "",
|
|
1723
|
-
"default": "true\n是否在初始化完成后额外触发一次`time.range.change`, 这里因为历史原因之前默认行为就是在初始化后会触发该事件,这里为了兼容之前的行为,默认值只能设置为 true。",
|
|
1425
|
+
"name": "disabled",
|
|
1426
|
+
"description": "是否禁用",
|
|
1724
1427
|
"type": "boolean"
|
|
1725
1428
|
},
|
|
1726
1429
|
{
|
|
1727
|
-
"name": "
|
|
1728
|
-
"description": "",
|
|
1729
|
-
"default": "
|
|
1430
|
+
"name": "format",
|
|
1431
|
+
"description": "颜色格式",
|
|
1432
|
+
"default": "hex",
|
|
1433
|
+
"attribute": false,
|
|
1434
|
+
"type": "\"rgb\" | \"hex\" | \"hsb\""
|
|
1435
|
+
},
|
|
1436
|
+
{
|
|
1437
|
+
"name": "configProps",
|
|
1438
|
+
"description": "透传 antd ColorPicker 属性 [ColorPickerProps](https://ant.design/components/color-picker-cn#api)",
|
|
1439
|
+
"attribute": false,
|
|
1440
|
+
"type": "Partial<ColorPickerProps>"
|
|
1441
|
+
}
|
|
1442
|
+
],
|
|
1443
|
+
"events": [
|
|
1444
|
+
{
|
|
1445
|
+
"name": "change",
|
|
1446
|
+
"description": "颜色变化事件, 返回值格式和`format`格式一致",
|
|
1447
|
+
"detail": {
|
|
1448
|
+
"type": "string | undefined"
|
|
1449
|
+
}
|
|
1450
|
+
}
|
|
1451
|
+
],
|
|
1452
|
+
"slots": [],
|
|
1453
|
+
"methods": [],
|
|
1454
|
+
"parts": [],
|
|
1455
|
+
"description": "构件 `eo-color-picker`"
|
|
1456
|
+
},
|
|
1457
|
+
{
|
|
1458
|
+
"name": "eo-time-range-picker",
|
|
1459
|
+
"properties": [
|
|
1460
|
+
{
|
|
1461
|
+
"name": "name",
|
|
1462
|
+
"description": "时间段选择器字段名",
|
|
1463
|
+
"type": "string"
|
|
1464
|
+
},
|
|
1465
|
+
{
|
|
1466
|
+
"name": "label",
|
|
1467
|
+
"description": "时间段选择器说明",
|
|
1468
|
+
"type": "string"
|
|
1469
|
+
},
|
|
1470
|
+
{
|
|
1471
|
+
"name": "value",
|
|
1472
|
+
"description": "时间段选择器的初始值",
|
|
1473
|
+
"default": "{ \"startTime\": \"00:00:00\", \"endTime\": \"23:59:59\" }",
|
|
1474
|
+
"attribute": false,
|
|
1475
|
+
"type": "TimeRange"
|
|
1476
|
+
},
|
|
1477
|
+
{
|
|
1478
|
+
"name": "required",
|
|
1479
|
+
"description": "是否必填",
|
|
1480
|
+
"type": "boolean"
|
|
1481
|
+
},
|
|
1482
|
+
{
|
|
1483
|
+
"name": "rangeType",
|
|
1484
|
+
"description": "时间段类型",
|
|
1485
|
+
"attribute": false,
|
|
1486
|
+
"type": "RangeType"
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
"name": "placeholder",
|
|
1490
|
+
"description": "输入框提示文字,单时间段时为string,范围时间段时为[string, string]",
|
|
1491
|
+
"attribute": false,
|
|
1492
|
+
"type": "string | [string, string]"
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
"name": "inputStyle",
|
|
1496
|
+
"description": "输入框样式",
|
|
1497
|
+
"attribute": false,
|
|
1498
|
+
"type": "React.CSSProperties"
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
"name": "selectNearDays",
|
|
1502
|
+
"description": "只有rangeType在`date` 和 `dateTime`下, 才支持只选择最近n天(当前时间向前n天)",
|
|
1503
|
+
"type": "number"
|
|
1504
|
+
},
|
|
1505
|
+
{
|
|
1506
|
+
"name": "emitChangeOnInit",
|
|
1507
|
+
"description": "",
|
|
1508
|
+
"default": "true\n是否在初始化完成后额外触发一次`time.range.change`, 这里因为历史原因之前默认行为就是在初始化后会触发该事件,这里为了兼容之前的行为,默认值只能设置为 true。",
|
|
1509
|
+
"type": "boolean"
|
|
1510
|
+
},
|
|
1511
|
+
{
|
|
1512
|
+
"name": "presetRanges",
|
|
1513
|
+
"description": "",
|
|
1514
|
+
"default": "[]\n预设时间范围快捷选择;设置了属性selectNearDays时,属性presetRanges不生效;属性rangeType为week时,presetRanges的值只能为本周、本月、本季度、今年,属性rangeType为month、quarter、year时,以此类推",
|
|
1730
1515
|
"attribute": false,
|
|
1731
1516
|
"type": "presetRangeType[]"
|
|
1732
1517
|
},
|
|
@@ -1752,7 +1537,10 @@
|
|
|
1752
1537
|
"category": "form-input-basic"
|
|
1753
1538
|
},
|
|
1754
1539
|
{
|
|
1755
|
-
"name": "eo-
|
|
1540
|
+
"name": "eo-input",
|
|
1541
|
+
"alias": [
|
|
1542
|
+
"form.general-input"
|
|
1543
|
+
],
|
|
1756
1544
|
"properties": [
|
|
1757
1545
|
{
|
|
1758
1546
|
"name": "name",
|
|
@@ -1761,73 +1549,285 @@
|
|
|
1761
1549
|
},
|
|
1762
1550
|
{
|
|
1763
1551
|
"name": "label",
|
|
1764
|
-
"description": "
|
|
1552
|
+
"description": "标签文字",
|
|
1553
|
+
"type": "string"
|
|
1554
|
+
},
|
|
1555
|
+
{
|
|
1556
|
+
"name": "required",
|
|
1557
|
+
"description": "是否必填",
|
|
1558
|
+
"type": "boolean"
|
|
1559
|
+
},
|
|
1560
|
+
{
|
|
1561
|
+
"name": "pattern",
|
|
1562
|
+
"description": "正则校验规则",
|
|
1765
1563
|
"type": "string"
|
|
1766
1564
|
},
|
|
1565
|
+
{
|
|
1566
|
+
"name": "max",
|
|
1567
|
+
"description": "表单校验最大长度(当 type 为 number 时,表示最大值)",
|
|
1568
|
+
"type": "number"
|
|
1569
|
+
},
|
|
1570
|
+
{
|
|
1571
|
+
"name": "min",
|
|
1572
|
+
"description": "表单校验最小长度(当 type 为 number 时,表示最小值)",
|
|
1573
|
+
"type": "number"
|
|
1574
|
+
},
|
|
1575
|
+
{
|
|
1576
|
+
"name": "message",
|
|
1577
|
+
"description": "错误时显示消息",
|
|
1578
|
+
"attribute": false,
|
|
1579
|
+
"type": "Record<string, string>"
|
|
1580
|
+
},
|
|
1767
1581
|
{
|
|
1768
1582
|
"name": "value",
|
|
1769
|
-
"description": "
|
|
1583
|
+
"description": "输入框值",
|
|
1770
1584
|
"type": "string"
|
|
1771
1585
|
},
|
|
1772
1586
|
{
|
|
1773
|
-
"name": "
|
|
1774
|
-
"description": "
|
|
1775
|
-
"type": "string
|
|
1587
|
+
"name": "placeholder",
|
|
1588
|
+
"description": "占位说明",
|
|
1589
|
+
"type": "string"
|
|
1776
1590
|
},
|
|
1777
1591
|
{
|
|
1778
|
-
"name": "
|
|
1779
|
-
"description": "
|
|
1592
|
+
"name": "disabled",
|
|
1593
|
+
"description": "是否禁用",
|
|
1780
1594
|
"type": "boolean"
|
|
1781
1595
|
},
|
|
1782
1596
|
{
|
|
1783
|
-
"name": "
|
|
1784
|
-
"description": "
|
|
1597
|
+
"name": "readonly",
|
|
1598
|
+
"description": "是否只读",
|
|
1785
1599
|
"type": "boolean"
|
|
1786
1600
|
},
|
|
1787
1601
|
{
|
|
1788
|
-
"name": "
|
|
1789
|
-
"description": "
|
|
1790
|
-
"
|
|
1791
|
-
"attribute": false,
|
|
1792
|
-
"type": "\"small\" | \"middle\" | \"large\""
|
|
1602
|
+
"name": "clearable",
|
|
1603
|
+
"description": "是否显示清除按钮",
|
|
1604
|
+
"type": "boolean"
|
|
1793
1605
|
},
|
|
1794
1606
|
{
|
|
1795
|
-
"name": "
|
|
1796
|
-
"description": "
|
|
1607
|
+
"name": "autoFocus",
|
|
1608
|
+
"description": "是否自动聚焦",
|
|
1797
1609
|
"type": "boolean"
|
|
1798
1610
|
},
|
|
1799
1611
|
{
|
|
1800
|
-
"name": "
|
|
1801
|
-
"description": "
|
|
1802
|
-
"
|
|
1612
|
+
"name": "type",
|
|
1613
|
+
"description": "类型",
|
|
1614
|
+
"default": "\"text\"",
|
|
1615
|
+
"type": "InputType"
|
|
1803
1616
|
},
|
|
1804
1617
|
{
|
|
1805
|
-
"name": "
|
|
1806
|
-
"description": "
|
|
1807
|
-
"default": "
|
|
1618
|
+
"name": "size",
|
|
1619
|
+
"description": "大小",
|
|
1620
|
+
"default": "\"medium\"",
|
|
1621
|
+
"type": "ComponentSize"
|
|
1622
|
+
},
|
|
1623
|
+
{
|
|
1624
|
+
"name": "minLength",
|
|
1625
|
+
"description": "最小长度",
|
|
1626
|
+
"type": "number"
|
|
1627
|
+
},
|
|
1628
|
+
{
|
|
1629
|
+
"name": "maxLength",
|
|
1630
|
+
"description": "最大长度(用户无法输入超过此最大长度的字符串)",
|
|
1631
|
+
"type": "number"
|
|
1632
|
+
},
|
|
1633
|
+
{
|
|
1634
|
+
"name": "inputStyle",
|
|
1635
|
+
"description": "输入框样式",
|
|
1808
1636
|
"attribute": false,
|
|
1809
|
-
"type": "
|
|
1637
|
+
"type": "React.CSSProperties"
|
|
1810
1638
|
},
|
|
1811
1639
|
{
|
|
1812
|
-
"name": "
|
|
1813
|
-
"description": "
|
|
1640
|
+
"name": "validator",
|
|
1641
|
+
"description": "表单项校验方法",
|
|
1814
1642
|
"attribute": false,
|
|
1815
|
-
"type": "
|
|
1643
|
+
"type": "((value: any) => MessageBody)"
|
|
1816
1644
|
}
|
|
1817
1645
|
],
|
|
1818
1646
|
"events": [
|
|
1819
1647
|
{
|
|
1820
1648
|
"name": "change",
|
|
1821
|
-
"description": "
|
|
1649
|
+
"description": "值改变事件",
|
|
1822
1650
|
"detail": {
|
|
1823
|
-
"type": "string
|
|
1651
|
+
"type": "string"
|
|
1824
1652
|
}
|
|
1825
1653
|
}
|
|
1826
1654
|
],
|
|
1827
|
-
"slots": [
|
|
1655
|
+
"slots": [
|
|
1656
|
+
{
|
|
1657
|
+
"name": "addonBefore",
|
|
1658
|
+
"description": "输入框前置标签"
|
|
1659
|
+
},
|
|
1660
|
+
{
|
|
1661
|
+
"name": "addonAfter",
|
|
1662
|
+
"description": "输入框后置标签"
|
|
1663
|
+
},
|
|
1664
|
+
{
|
|
1665
|
+
"name": "prefix",
|
|
1666
|
+
"description": "输入框前缀图标"
|
|
1667
|
+
},
|
|
1668
|
+
{
|
|
1669
|
+
"name": "suffix",
|
|
1670
|
+
"description": "输入框后缀图标"
|
|
1671
|
+
}
|
|
1672
|
+
],
|
|
1673
|
+
"methods": [
|
|
1674
|
+
{
|
|
1675
|
+
"name": "focusInput",
|
|
1676
|
+
"params": [],
|
|
1677
|
+
"description": "focus",
|
|
1678
|
+
"returns": {}
|
|
1679
|
+
},
|
|
1680
|
+
{
|
|
1681
|
+
"name": "blurInput",
|
|
1682
|
+
"params": [],
|
|
1683
|
+
"description": "blur",
|
|
1684
|
+
"returns": {}
|
|
1685
|
+
}
|
|
1686
|
+
],
|
|
1687
|
+
"parts": [
|
|
1688
|
+
{
|
|
1689
|
+
"name": "addon-wrapper",
|
|
1690
|
+
"description": "包裹输入组件、前缀、后缀、前置和后置的容器"
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
"name": "affix-wrapper",
|
|
1694
|
+
"description": "包裹输入组件、前缀和后缀的容器"
|
|
1695
|
+
},
|
|
1696
|
+
{
|
|
1697
|
+
"name": "input",
|
|
1698
|
+
"description": "输入组件"
|
|
1699
|
+
},
|
|
1700
|
+
{
|
|
1701
|
+
"name": "clear-icon",
|
|
1702
|
+
"description": "清除按钮"
|
|
1703
|
+
},
|
|
1704
|
+
{
|
|
1705
|
+
"name": "prefix",
|
|
1706
|
+
"description": "输入框前缀容器"
|
|
1707
|
+
},
|
|
1708
|
+
{
|
|
1709
|
+
"name": "suffix",
|
|
1710
|
+
"description": "输入框后缀容器"
|
|
1711
|
+
},
|
|
1712
|
+
{
|
|
1713
|
+
"name": "before-addon",
|
|
1714
|
+
"description": "输入框前置容器"
|
|
1715
|
+
},
|
|
1716
|
+
{
|
|
1717
|
+
"name": "after-addon",
|
|
1718
|
+
"description": "输入框后置容器"
|
|
1719
|
+
}
|
|
1720
|
+
],
|
|
1721
|
+
"description": "通用输入框构件",
|
|
1722
|
+
"category": "form-input-basic"
|
|
1723
|
+
},
|
|
1724
|
+
{
|
|
1725
|
+
"name": "eo-form-item",
|
|
1726
|
+
"alias": [
|
|
1727
|
+
"form.general-form-item"
|
|
1728
|
+
],
|
|
1729
|
+
"properties": [
|
|
1730
|
+
{
|
|
1731
|
+
"name": "formElement",
|
|
1732
|
+
"attribute": false,
|
|
1733
|
+
"type": "Form"
|
|
1734
|
+
},
|
|
1735
|
+
{
|
|
1736
|
+
"name": "curElement",
|
|
1737
|
+
"attribute": false,
|
|
1738
|
+
"type": "HTMLElement"
|
|
1739
|
+
},
|
|
1740
|
+
{
|
|
1741
|
+
"name": "name",
|
|
1742
|
+
"description": "字段名称",
|
|
1743
|
+
"type": "string"
|
|
1744
|
+
},
|
|
1745
|
+
{
|
|
1746
|
+
"name": "label",
|
|
1747
|
+
"type": "string"
|
|
1748
|
+
},
|
|
1749
|
+
{
|
|
1750
|
+
"name": "pattern",
|
|
1751
|
+
"type": "string"
|
|
1752
|
+
},
|
|
1753
|
+
{
|
|
1754
|
+
"name": "message",
|
|
1755
|
+
"attribute": false,
|
|
1756
|
+
"type": "Record<string, string>"
|
|
1757
|
+
},
|
|
1758
|
+
{
|
|
1759
|
+
"name": "type",
|
|
1760
|
+
"type": "string"
|
|
1761
|
+
},
|
|
1762
|
+
{
|
|
1763
|
+
"name": "max",
|
|
1764
|
+
"type": "number"
|
|
1765
|
+
},
|
|
1766
|
+
{
|
|
1767
|
+
"name": "min",
|
|
1768
|
+
"type": "number"
|
|
1769
|
+
},
|
|
1770
|
+
{
|
|
1771
|
+
"name": "required",
|
|
1772
|
+
"description": "表单项是否为必填",
|
|
1773
|
+
"type": "boolean"
|
|
1774
|
+
},
|
|
1775
|
+
{
|
|
1776
|
+
"name": "value",
|
|
1777
|
+
"description": "初始值",
|
|
1778
|
+
"type": "string"
|
|
1779
|
+
},
|
|
1780
|
+
{
|
|
1781
|
+
"name": "valuePropsName",
|
|
1782
|
+
"type": "string"
|
|
1783
|
+
},
|
|
1784
|
+
{
|
|
1785
|
+
"name": "layout",
|
|
1786
|
+
"type": "Layout"
|
|
1787
|
+
},
|
|
1788
|
+
{
|
|
1789
|
+
"name": "size",
|
|
1790
|
+
"type": "ComponentSize"
|
|
1791
|
+
},
|
|
1792
|
+
{
|
|
1793
|
+
"name": "trim",
|
|
1794
|
+
"description": "是否自动去除前后的空白字符",
|
|
1795
|
+
"default": "true"
|
|
1796
|
+
},
|
|
1797
|
+
{
|
|
1798
|
+
"name": "trigger",
|
|
1799
|
+
"description": "事件触发方法名",
|
|
1800
|
+
"type": "string"
|
|
1801
|
+
},
|
|
1802
|
+
{
|
|
1803
|
+
"name": "validator",
|
|
1804
|
+
"description": "表单项校验方法",
|
|
1805
|
+
"attribute": false,
|
|
1806
|
+
"type": "((value: any) => MessageBody)"
|
|
1807
|
+
},
|
|
1808
|
+
{
|
|
1809
|
+
"name": "needValidate",
|
|
1810
|
+
"description": "值变化时是否主动出发校验",
|
|
1811
|
+
"type": "boolean"
|
|
1812
|
+
},
|
|
1813
|
+
{
|
|
1814
|
+
"name": "textContent",
|
|
1815
|
+
"type": "string",
|
|
1816
|
+
"description": "文本内容"
|
|
1817
|
+
}
|
|
1818
|
+
],
|
|
1819
|
+
"events": [],
|
|
1820
|
+
"slots": [
|
|
1821
|
+
{
|
|
1822
|
+
"name": null,
|
|
1823
|
+
"description": "表单项内容"
|
|
1824
|
+
}
|
|
1825
|
+
],
|
|
1828
1826
|
"methods": [],
|
|
1829
1827
|
"parts": [],
|
|
1830
|
-
"description": "
|
|
1828
|
+
"description": "通用输入框构件",
|
|
1829
|
+
"category": "form-input-basic",
|
|
1830
|
+
"insider": true
|
|
1831
1831
|
}
|
|
1832
1832
|
],
|
|
1833
1833
|
"providers": []
|