@next-bricks/form 1.13.5 → 1.13.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 +33 -33
- package/dist/chunks/1122.f4078280.js +2 -0
- package/dist/chunks/1122.f4078280.js.map +1 -0
- package/dist/chunks/114.531359b5.js +2 -0
- package/dist/chunks/{114.37bf18eb.js.map → 114.531359b5.js.map} +1 -1
- package/dist/chunks/{1269.52b4e847.js → 1269.7e1ba640.js} +2 -2
- package/dist/chunks/{1269.52b4e847.js.map → 1269.7e1ba640.js.map} +1 -1
- package/dist/chunks/1940.a199452a.js +2 -0
- package/dist/chunks/1940.a199452a.js.map +1 -0
- package/dist/chunks/{2277.c39a213c.js → 2277.f9546bd4.js} +2 -2
- package/dist/chunks/{4658.a7becf80.js.map → 2277.f9546bd4.js.map} +1 -1
- package/dist/chunks/{3171.bfa526d0.js → 3171.8cf6f87a.js} +2 -2
- package/dist/chunks/{5552.f2e38477.js.map → 3171.8cf6f87a.js.map} +1 -1
- package/dist/chunks/3933.f299055e.js +2 -0
- package/dist/chunks/{6314.cd073def.js.map → 3933.f299055e.js.map} +1 -1
- package/dist/chunks/4306.009ee1ec.js +2 -0
- package/dist/chunks/4306.009ee1ec.js.map +1 -0
- package/dist/chunks/{4658.a7becf80.js → 4658.9a12fd73.js} +2 -2
- package/dist/chunks/{2277.c39a213c.js.map → 4658.9a12fd73.js.map} +1 -1
- package/dist/chunks/{4837.da0fe122.js → 4837.5782f5bd.js} +2 -2
- package/dist/chunks/{4837.da0fe122.js.map → 4837.5782f5bd.js.map} +1 -1
- package/dist/chunks/5399.7df199ce.js +2 -0
- package/dist/chunks/5399.7df199ce.js.map +1 -0
- package/dist/chunks/{5552.f2e38477.js → 5552.5899c7ae.js} +2 -2
- package/dist/chunks/{3171.bfa526d0.js.map → 5552.5899c7ae.js.map} +1 -1
- package/dist/chunks/6314.a9731824.js +2 -0
- package/dist/chunks/{3933.72905659.js.map → 6314.a9731824.js.map} +1 -1
- package/dist/chunks/6519.b03d81cb.js +2 -0
- package/dist/chunks/{6519.512a2834.js.map → 6519.b03d81cb.js.map} +1 -1
- package/dist/chunks/{7218.8e41ef02.js → 7218.8ed93f51.js} +2 -2
- package/dist/chunks/{7218.8e41ef02.js.map → 7218.8ed93f51.js.map} +1 -1
- package/dist/chunks/7733.10fcbe3c.js +2 -0
- package/dist/chunks/{7733.cfda832d.js.map → 7733.10fcbe3c.js.map} +1 -1
- package/dist/chunks/{790.4d902e94.js → 790.71e8de18.js} +2 -2
- package/dist/chunks/{790.4d902e94.js.map → 790.71e8de18.js.map} +1 -1
- package/dist/chunks/799.72fa2e89.js +3 -0
- package/dist/chunks/799.72fa2e89.js.map +1 -0
- package/dist/chunks/9259.7778bbaf.js +3 -0
- package/dist/chunks/{9259.1eb7a074.js.map → 9259.7778bbaf.js.map} +1 -1
- package/dist/chunks/9559.0bd45c4a.js +2 -0
- package/dist/chunks/9559.0bd45c4a.js.map +1 -0
- package/dist/chunks/eo-auto-complete.abd5bb43.js +3 -0
- package/dist/chunks/{eo-auto-complete.f65b6cb6.js.map → eo-auto-complete.abd5bb43.js.map} +1 -1
- package/dist/chunks/eo-checkbox.b96d4223.js +3 -0
- package/dist/chunks/{eo-checkbox.cdcad3e7.js.map → eo-checkbox.b96d4223.js.map} +1 -1
- package/dist/chunks/eo-color-picker.9cba3082.js +2 -0
- package/dist/chunks/{eo-color-picker.e5f183c4.js.map → eo-color-picker.9cba3082.js.map} +1 -1
- package/dist/chunks/eo-date-picker.1f4e55b2.js +2 -0
- package/dist/chunks/{eo-date-picker.95d1c925.js.map → eo-date-picker.1f4e55b2.js.map} +1 -1
- package/dist/chunks/eo-dynamic-form-item.05008202.js +3 -0
- package/dist/chunks/{eo-dynamic-form-item.e5bb1558.js.map → eo-dynamic-form-item.05008202.js.map} +1 -1
- package/dist/chunks/eo-form-item.4ddcda40.js +3 -0
- package/dist/chunks/{eo-form-item.986d5f0f.js.map → eo-form-item.4ddcda40.js.map} +1 -1
- package/dist/chunks/eo-form.21a2008c.js +2 -0
- package/dist/chunks/{eo-form.0218499b.js.map → eo-form.21a2008c.js.map} +1 -1
- package/dist/chunks/eo-icon-select.c1eda0c5.js +3 -0
- package/dist/chunks/{eo-icon-select.4caa9d3a.js.map → eo-icon-select.c1eda0c5.js.map} +1 -1
- package/dist/chunks/eo-input.3c5e9802.js +3 -0
- package/dist/chunks/{eo-input.721b4ee8.js.map → eo-input.3c5e9802.js.map} +1 -1
- package/dist/chunks/eo-radio.c584bd27.js +3 -0
- package/dist/chunks/{eo-radio.5a6590c0.js.map → eo-radio.c584bd27.js.map} +1 -1
- package/dist/chunks/eo-search.ed0857b5.js +2 -0
- package/dist/chunks/{eo-search.c98e6353.js.map → eo-search.ed0857b5.js.map} +1 -1
- package/dist/chunks/eo-select.28c15503.js +3 -0
- package/dist/chunks/{eo-select.d313c433.js.map → eo-select.28c15503.js.map} +1 -1
- package/dist/chunks/eo-submit-buttons.7cd42251.js +2 -0
- package/dist/chunks/{eo-submit-buttons.fec2f3cb.js.map → eo-submit-buttons.7cd42251.js.map} +1 -1
- package/dist/chunks/eo-switch.342e4f8f.js +3 -0
- package/dist/chunks/{eo-switch.bcf2da15.js.map → eo-switch.342e4f8f.js.map} +1 -1
- package/dist/chunks/eo-textarea.26ac76de.js +2 -0
- package/dist/chunks/{eo-textarea.e5348ca0.js.map → eo-textarea.26ac76de.js.map} +1 -1
- package/dist/chunks/eo-time-picker.d81de579.js +2 -0
- package/dist/chunks/{eo-time-picker.04ef402f.js.map → eo-time-picker.d81de579.js.map} +1 -1
- package/dist/chunks/eo-time-range-picker.15057d2a.js +2 -0
- package/dist/chunks/{eo-time-range-picker.865254af.js.map → eo-time-range-picker.15057d2a.js.map} +1 -1
- package/dist/chunks/eo-upload-file.15c30d10.js +3 -0
- package/dist/chunks/{eo-upload-file.e67d3268.js.map → eo-upload-file.15c30d10.js.map} +1 -1
- package/dist/chunks/eo-upload-image.b96a2fcc.js +3 -0
- package/dist/chunks/{eo-upload-image.b866ae24.js.map → eo-upload-image.b96a2fcc.js.map} +1 -1
- package/dist/chunks/main.0009a6af.js +2 -0
- package/dist/chunks/main.0009a6af.js.map +1 -0
- package/dist/examples.json +11 -11
- package/dist/index.a96799f8.js +2 -0
- package/dist/index.a96799f8.js.map +1 -0
- package/dist/manifest.json +377 -377
- package/dist/stories.json +0 -48
- package/dist/types.json +1215 -1215
- package/package.json +4 -4
- package/dist/chunks/1122.eec09eb1.js +0 -2
- package/dist/chunks/1122.eec09eb1.js.map +0 -1
- package/dist/chunks/114.37bf18eb.js +0 -2
- package/dist/chunks/1940.5d3d1dbf.js +0 -2
- package/dist/chunks/1940.5d3d1dbf.js.map +0 -1
- package/dist/chunks/3933.72905659.js +0 -2
- package/dist/chunks/4741.ed462c44.js +0 -2
- package/dist/chunks/4741.ed462c44.js.map +0 -1
- package/dist/chunks/5399.25e83e7f.js +0 -2
- package/dist/chunks/5399.25e83e7f.js.map +0 -1
- package/dist/chunks/6314.cd073def.js +0 -2
- package/dist/chunks/6519.512a2834.js +0 -2
- package/dist/chunks/7733.cfda832d.js +0 -2
- package/dist/chunks/799.afdb809c.js +0 -3
- package/dist/chunks/799.afdb809c.js.map +0 -1
- package/dist/chunks/9259.1eb7a074.js +0 -3
- package/dist/chunks/9559.5d9e9834.js +0 -2
- package/dist/chunks/9559.5d9e9834.js.map +0 -1
- package/dist/chunks/eo-auto-complete.f65b6cb6.js +0 -3
- package/dist/chunks/eo-checkbox.cdcad3e7.js +0 -3
- package/dist/chunks/eo-color-picker.e5f183c4.js +0 -2
- package/dist/chunks/eo-date-picker.95d1c925.js +0 -2
- package/dist/chunks/eo-dynamic-form-item.e5bb1558.js +0 -3
- package/dist/chunks/eo-form-item.986d5f0f.js +0 -3
- package/dist/chunks/eo-form.0218499b.js +0 -2
- package/dist/chunks/eo-icon-select.4caa9d3a.js +0 -3
- package/dist/chunks/eo-input.721b4ee8.js +0 -3
- package/dist/chunks/eo-radio.5a6590c0.js +0 -3
- package/dist/chunks/eo-search.c98e6353.js +0 -2
- package/dist/chunks/eo-select.d313c433.js +0 -3
- package/dist/chunks/eo-submit-buttons.fec2f3cb.js +0 -2
- package/dist/chunks/eo-switch.bcf2da15.js +0 -3
- package/dist/chunks/eo-textarea.e5348ca0.js +0 -2
- package/dist/chunks/eo-time-picker.04ef402f.js +0 -2
- package/dist/chunks/eo-time-range-picker.865254af.js +0 -2
- package/dist/chunks/eo-upload-file.e67d3268.js +0 -3
- package/dist/chunks/eo-upload-image.b866ae24.js +0 -3
- package/dist/chunks/main.a3960ab5.js +0 -2
- package/dist/chunks/main.a3960ab5.js.map +0 -1
- package/dist/index.85ea0c83.js +0 -2
- package/dist/index.85ea0c83.js.map +0 -1
- /package/dist/chunks/{799.afdb809c.js.LICENSE.txt → 799.72fa2e89.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{9259.1eb7a074.js.LICENSE.txt → 9259.7778bbaf.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-auto-complete.f65b6cb6.js.LICENSE.txt → eo-auto-complete.abd5bb43.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-checkbox.cdcad3e7.js.LICENSE.txt → eo-checkbox.b96d4223.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-dynamic-form-item.e5bb1558.js.LICENSE.txt → eo-dynamic-form-item.05008202.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-form-item.986d5f0f.js.LICENSE.txt → eo-form-item.4ddcda40.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-icon-select.4caa9d3a.js.LICENSE.txt → eo-icon-select.c1eda0c5.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-input.721b4ee8.js.LICENSE.txt → eo-input.3c5e9802.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-radio.5a6590c0.js.LICENSE.txt → eo-radio.c584bd27.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-select.d313c433.js.LICENSE.txt → eo-select.28c15503.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-switch.bcf2da15.js.LICENSE.txt → eo-switch.342e4f8f.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-upload-file.e67d3268.js.LICENSE.txt → eo-upload-file.15c30d10.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-upload-image.b866ae24.js.LICENSE.txt → eo-upload-image.b96a2fcc.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -3,191 +3,6 @@
|
|
|
3
3
|
"package": "@next-bricks/form",
|
|
4
4
|
"name": "form",
|
|
5
5
|
"bricks": [
|
|
6
|
-
{
|
|
7
|
-
"name": "eo-input",
|
|
8
|
-
"alias": [
|
|
9
|
-
"form.general-input"
|
|
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": "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
|
-
{
|
|
49
|
-
"name": "value",
|
|
50
|
-
"description": "输入框值",
|
|
51
|
-
"type": "string"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"name": "placeholder",
|
|
55
|
-
"description": "占位说明",
|
|
56
|
-
"type": "string"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"name": "disabled",
|
|
60
|
-
"description": "是否禁用",
|
|
61
|
-
"type": "boolean"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"name": "readonly",
|
|
65
|
-
"description": "是否只读",
|
|
66
|
-
"type": "boolean"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"name": "clearable",
|
|
70
|
-
"description": "是否显示清除按钮",
|
|
71
|
-
"type": "boolean"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"name": "autoFocus",
|
|
75
|
-
"description": "是否自动聚焦",
|
|
76
|
-
"type": "boolean"
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"name": "type",
|
|
80
|
-
"description": "类型",
|
|
81
|
-
"default": "\"text\"",
|
|
82
|
-
"type": "InputType"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"name": "size",
|
|
86
|
-
"description": "大小",
|
|
87
|
-
"default": "\"medium\"",
|
|
88
|
-
"type": "ComponentSize"
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"name": "minLength",
|
|
92
|
-
"description": "最小长度",
|
|
93
|
-
"type": "number"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"name": "maxLength",
|
|
97
|
-
"description": "最大长度(用户无法输入超过此最大长度的字符串)",
|
|
98
|
-
"type": "number"
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"name": "inputStyle",
|
|
102
|
-
"description": "输入框样式",
|
|
103
|
-
"attribute": false,
|
|
104
|
-
"type": "React.CSSProperties"
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"name": "validator",
|
|
108
|
-
"description": "表单项校验方法",
|
|
109
|
-
"attribute": false,
|
|
110
|
-
"type": "((value: any) => MessageBody)"
|
|
111
|
-
}
|
|
112
|
-
],
|
|
113
|
-
"events": [
|
|
114
|
-
{
|
|
115
|
-
"name": "change",
|
|
116
|
-
"description": "值改变事件",
|
|
117
|
-
"detail": {
|
|
118
|
-
"type": "string"
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
],
|
|
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
|
-
],
|
|
140
|
-
"methods": [
|
|
141
|
-
{
|
|
142
|
-
"name": "focusInput",
|
|
143
|
-
"params": [],
|
|
144
|
-
"description": "focus",
|
|
145
|
-
"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
|
-
}
|
|
187
|
-
],
|
|
188
|
-
"description": "通用输入框构件",
|
|
189
|
-
"category": "form-input-basic"
|
|
190
|
-
},
|
|
191
6
|
{
|
|
192
7
|
"name": "eo-form",
|
|
193
8
|
"alias": [
|
|
@@ -431,6 +246,104 @@
|
|
|
431
246
|
"category": "form-input-basic",
|
|
432
247
|
"insider": true
|
|
433
248
|
},
|
|
249
|
+
{
|
|
250
|
+
"name": "eo-radio",
|
|
251
|
+
"alias": [
|
|
252
|
+
"form.general-radio"
|
|
253
|
+
],
|
|
254
|
+
"properties": [
|
|
255
|
+
{
|
|
256
|
+
"name": "name",
|
|
257
|
+
"description": "下拉框字段名",
|
|
258
|
+
"type": "string"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"name": "label",
|
|
262
|
+
"description": "单选框字段说明",
|
|
263
|
+
"type": "string"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"name": "options",
|
|
267
|
+
"description": "单选框选项表",
|
|
268
|
+
"required": true,
|
|
269
|
+
"attribute": false,
|
|
270
|
+
"type": "GeneralOption[]"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"name": "value",
|
|
274
|
+
"description": "单选框当前选中始值",
|
|
275
|
+
"attribute": false,
|
|
276
|
+
"type": "any"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"name": "required",
|
|
280
|
+
"description": "是否必填",
|
|
281
|
+
"type": "boolean"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"name": "message",
|
|
285
|
+
"description": "校验文本信息",
|
|
286
|
+
"attribute": false,
|
|
287
|
+
"type": "Record<string, string>"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"name": "disabled",
|
|
291
|
+
"description": "是否禁用",
|
|
292
|
+
"type": "boolean"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"name": "type",
|
|
296
|
+
"description": "单选框样式类型",
|
|
297
|
+
"default": "\"default\"",
|
|
298
|
+
"type": "RadioType"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"name": "ui",
|
|
302
|
+
"description": "UI样式",
|
|
303
|
+
"default": "\"default\"",
|
|
304
|
+
"type": "UIType"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"name": "size",
|
|
308
|
+
"description": "大小,只对按钮样式生效",
|
|
309
|
+
"default": "\"medium\"",
|
|
310
|
+
"type": "ComponentSize"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"name": "customStyle",
|
|
314
|
+
"description": "自定义radio的外层样式",
|
|
315
|
+
"attribute": false,
|
|
316
|
+
"type": "React.CSSProperties"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"name": "useBrick",
|
|
320
|
+
"description": "自定义radio的内容",
|
|
321
|
+
"attribute": false,
|
|
322
|
+
"type": "UseSingleBrickConf"
|
|
323
|
+
}
|
|
324
|
+
],
|
|
325
|
+
"events": [
|
|
326
|
+
{
|
|
327
|
+
"name": "change",
|
|
328
|
+
"description": "值变化事件",
|
|
329
|
+
"detail": {
|
|
330
|
+
"type": "GeneralComplexOption | undefined"
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
{
|
|
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
|
+
}
|
|
339
|
+
}
|
|
340
|
+
],
|
|
341
|
+
"slots": [],
|
|
342
|
+
"methods": [],
|
|
343
|
+
"parts": [],
|
|
344
|
+
"description": "通用单选构件",
|
|
345
|
+
"category": "form-input-basic"
|
|
346
|
+
},
|
|
434
347
|
{
|
|
435
348
|
"name": "eo-textarea",
|
|
436
349
|
"alias": [
|
|
@@ -530,101 +443,63 @@
|
|
|
530
443
|
"category": "form-input-basic"
|
|
531
444
|
},
|
|
532
445
|
{
|
|
533
|
-
"name": "eo-
|
|
446
|
+
"name": "eo-submit-buttons",
|
|
534
447
|
"alias": [
|
|
535
|
-
"form.
|
|
448
|
+
"form.submit-buttons"
|
|
536
449
|
],
|
|
537
450
|
"properties": [
|
|
538
451
|
{
|
|
539
|
-
"name": "
|
|
540
|
-
"description": "
|
|
452
|
+
"name": "submitText",
|
|
453
|
+
"description": "提交按钮的文字",
|
|
454
|
+
"default": "\"提交\"",
|
|
541
455
|
"type": "string"
|
|
542
456
|
},
|
|
543
457
|
{
|
|
544
|
-
"name": "
|
|
545
|
-
"description": "
|
|
458
|
+
"name": "cancelText",
|
|
459
|
+
"description": "取消按钮的文字,不设置则不显示取消按钮",
|
|
546
460
|
"type": "string"
|
|
547
461
|
},
|
|
548
462
|
{
|
|
549
|
-
"name": "
|
|
550
|
-
"description": "
|
|
551
|
-
"required": true,
|
|
552
|
-
"attribute": false,
|
|
553
|
-
"type": "GeneralOption[]"
|
|
554
|
-
},
|
|
555
|
-
{
|
|
556
|
-
"name": "value",
|
|
557
|
-
"description": "单选框当前选中始值",
|
|
558
|
-
"attribute": false,
|
|
559
|
-
"type": "any"
|
|
560
|
-
},
|
|
561
|
-
{
|
|
562
|
-
"name": "required",
|
|
563
|
-
"description": "是否必填",
|
|
463
|
+
"name": "disableAfterClick",
|
|
464
|
+
"description": "点击确定按钮后自动禁用",
|
|
564
465
|
"type": "boolean"
|
|
565
466
|
},
|
|
566
467
|
{
|
|
567
|
-
"name": "
|
|
568
|
-
"description": "
|
|
569
|
-
"attribute": false,
|
|
570
|
-
"type": "Record<string, string>"
|
|
571
|
-
},
|
|
572
|
-
{
|
|
573
|
-
"name": "disabled",
|
|
574
|
-
"description": "是否禁用",
|
|
468
|
+
"name": "submitDisabled",
|
|
469
|
+
"description": "禁用提交按钮",
|
|
575
470
|
"type": "boolean"
|
|
576
471
|
},
|
|
577
472
|
{
|
|
578
|
-
"name": "
|
|
579
|
-
"description": "
|
|
580
|
-
"
|
|
581
|
-
"type": "RadioType"
|
|
582
|
-
},
|
|
583
|
-
{
|
|
584
|
-
"name": "ui",
|
|
585
|
-
"description": "UI样式",
|
|
586
|
-
"default": "\"default\"",
|
|
587
|
-
"type": "UIType"
|
|
588
|
-
},
|
|
589
|
-
{
|
|
590
|
-
"name": "size",
|
|
591
|
-
"description": "大小,只对按钮样式生效",
|
|
592
|
-
"default": "\"medium\"",
|
|
593
|
-
"type": "ComponentSize"
|
|
594
|
-
},
|
|
595
|
-
{
|
|
596
|
-
"name": "customStyle",
|
|
597
|
-
"description": "自定义radio的外层样式",
|
|
598
|
-
"attribute": false,
|
|
599
|
-
"type": "React.CSSProperties"
|
|
473
|
+
"name": "submitType",
|
|
474
|
+
"description": "提交按钮类型",
|
|
475
|
+
"type": "ButtonType"
|
|
600
476
|
},
|
|
601
477
|
{
|
|
602
|
-
"name": "
|
|
603
|
-
"description": "
|
|
604
|
-
"
|
|
605
|
-
"type": "UseSingleBrickConf"
|
|
478
|
+
"name": "cancelType",
|
|
479
|
+
"description": "取消按钮类型",
|
|
480
|
+
"type": "ButtonType"
|
|
606
481
|
}
|
|
607
482
|
],
|
|
608
483
|
"events": [
|
|
609
484
|
{
|
|
610
|
-
"name": "
|
|
611
|
-
"description": "
|
|
485
|
+
"name": "submit",
|
|
486
|
+
"description": "点击提交按钮触发的事件",
|
|
612
487
|
"detail": {
|
|
613
|
-
"type": "
|
|
488
|
+
"type": "void"
|
|
614
489
|
}
|
|
615
490
|
},
|
|
616
491
|
{
|
|
617
|
-
"name": "
|
|
618
|
-
"description": "
|
|
492
|
+
"name": "cancel",
|
|
493
|
+
"description": "点击取消按钮触发的事件",
|
|
619
494
|
"detail": {
|
|
620
|
-
"type": "
|
|
495
|
+
"type": "void"
|
|
621
496
|
}
|
|
622
497
|
}
|
|
623
498
|
],
|
|
624
499
|
"slots": [],
|
|
625
500
|
"methods": [],
|
|
626
501
|
"parts": [],
|
|
627
|
-
"description": "
|
|
502
|
+
"description": "表单提交按钮",
|
|
628
503
|
"category": "form-input-basic"
|
|
629
504
|
},
|
|
630
505
|
{
|
|
@@ -769,66 +644,6 @@
|
|
|
769
644
|
"description": "通用下拉选择构件",
|
|
770
645
|
"category": "form-input-basic"
|
|
771
646
|
},
|
|
772
|
-
{
|
|
773
|
-
"name": "eo-submit-buttons",
|
|
774
|
-
"alias": [
|
|
775
|
-
"form.submit-buttons"
|
|
776
|
-
],
|
|
777
|
-
"properties": [
|
|
778
|
-
{
|
|
779
|
-
"name": "submitText",
|
|
780
|
-
"description": "提交按钮的文字",
|
|
781
|
-
"default": "\"提交\"",
|
|
782
|
-
"type": "string"
|
|
783
|
-
},
|
|
784
|
-
{
|
|
785
|
-
"name": "cancelText",
|
|
786
|
-
"description": "取消按钮的文字,不设置则不显示取消按钮",
|
|
787
|
-
"type": "string"
|
|
788
|
-
},
|
|
789
|
-
{
|
|
790
|
-
"name": "disableAfterClick",
|
|
791
|
-
"description": "点击确定按钮后自动禁用",
|
|
792
|
-
"type": "boolean"
|
|
793
|
-
},
|
|
794
|
-
{
|
|
795
|
-
"name": "submitDisabled",
|
|
796
|
-
"description": "禁用提交按钮",
|
|
797
|
-
"type": "boolean"
|
|
798
|
-
},
|
|
799
|
-
{
|
|
800
|
-
"name": "submitType",
|
|
801
|
-
"description": "提交按钮类型",
|
|
802
|
-
"type": "ButtonType"
|
|
803
|
-
},
|
|
804
|
-
{
|
|
805
|
-
"name": "cancelType",
|
|
806
|
-
"description": "取消按钮类型",
|
|
807
|
-
"type": "ButtonType"
|
|
808
|
-
}
|
|
809
|
-
],
|
|
810
|
-
"events": [
|
|
811
|
-
{
|
|
812
|
-
"name": "submit",
|
|
813
|
-
"description": "点击提交按钮触发的事件",
|
|
814
|
-
"detail": {
|
|
815
|
-
"type": "void"
|
|
816
|
-
}
|
|
817
|
-
},
|
|
818
|
-
{
|
|
819
|
-
"name": "cancel",
|
|
820
|
-
"description": "点击取消按钮触发的事件",
|
|
821
|
-
"detail": {
|
|
822
|
-
"type": "void"
|
|
823
|
-
}
|
|
824
|
-
}
|
|
825
|
-
],
|
|
826
|
-
"slots": [],
|
|
827
|
-
"methods": [],
|
|
828
|
-
"parts": [],
|
|
829
|
-
"description": "表单提交按钮",
|
|
830
|
-
"category": "form-input-basic"
|
|
831
|
-
},
|
|
832
647
|
{
|
|
833
648
|
"name": "eo-checkbox",
|
|
834
649
|
"alias": [
|
|
@@ -1125,76 +940,7 @@
|
|
|
1125
940
|
"slots": [],
|
|
1126
941
|
"methods": [],
|
|
1127
942
|
"parts": [],
|
|
1128
|
-
"description": "图标选择构件",
|
|
1129
|
-
"category": "form-input-basic"
|
|
1130
|
-
},
|
|
1131
|
-
{
|
|
1132
|
-
"name": "eo-upload-image",
|
|
1133
|
-
"alias": [
|
|
1134
|
-
"form.upload-image"
|
|
1135
|
-
],
|
|
1136
|
-
"properties": [
|
|
1137
|
-
{
|
|
1138
|
-
"name": "name",
|
|
1139
|
-
"description": "字段名称",
|
|
1140
|
-
"type": "string"
|
|
1141
|
-
},
|
|
1142
|
-
{
|
|
1143
|
-
"name": "label",
|
|
1144
|
-
"description": "字段说明",
|
|
1145
|
-
"type": "string"
|
|
1146
|
-
},
|
|
1147
|
-
{
|
|
1148
|
-
"name": "value",
|
|
1149
|
-
"description": "值",
|
|
1150
|
-
"attribute": false,
|
|
1151
|
-
"type": "ImageData[]"
|
|
1152
|
-
},
|
|
1153
|
-
{
|
|
1154
|
-
"name": "bucketName",
|
|
1155
|
-
"description": "对象存储桶名字",
|
|
1156
|
-
"type": "string"
|
|
1157
|
-
},
|
|
1158
|
-
{
|
|
1159
|
-
"name": "maxCount",
|
|
1160
|
-
"description": "最大上传数量",
|
|
1161
|
-
"type": "number"
|
|
1162
|
-
},
|
|
1163
|
-
{
|
|
1164
|
-
"name": "multiple",
|
|
1165
|
-
"description": "是否支持选定的多张图片",
|
|
1166
|
-
"type": "boolean"
|
|
1167
|
-
},
|
|
1168
|
-
{
|
|
1169
|
-
"name": "limitSize",
|
|
1170
|
-
"description": "上传大小限制(单位为 MB)",
|
|
1171
|
-
"type": "number"
|
|
1172
|
-
},
|
|
1173
|
-
{
|
|
1174
|
-
"name": "required",
|
|
1175
|
-
"description": "是否必填",
|
|
1176
|
-
"type": "boolean"
|
|
1177
|
-
},
|
|
1178
|
-
{
|
|
1179
|
-
"name": "message",
|
|
1180
|
-
"description": "校验文本信息",
|
|
1181
|
-
"attribute": false,
|
|
1182
|
-
"type": "Record<string, string>"
|
|
1183
|
-
}
|
|
1184
|
-
],
|
|
1185
|
-
"events": [
|
|
1186
|
-
{
|
|
1187
|
-
"name": "change",
|
|
1188
|
-
"description": "值变化时触发",
|
|
1189
|
-
"detail": {
|
|
1190
|
-
"type": "ImageData[]"
|
|
1191
|
-
}
|
|
1192
|
-
}
|
|
1193
|
-
],
|
|
1194
|
-
"slots": [],
|
|
1195
|
-
"methods": [],
|
|
1196
|
-
"parts": [],
|
|
1197
|
-
"description": "上传图片构件",
|
|
943
|
+
"description": "图标选择构件",
|
|
1198
944
|
"category": "form-input-basic"
|
|
1199
945
|
},
|
|
1200
946
|
{
|
|
@@ -1266,6 +1012,75 @@
|
|
|
1266
1012
|
"description": "开关",
|
|
1267
1013
|
"category": "form-input-basic"
|
|
1268
1014
|
},
|
|
1015
|
+
{
|
|
1016
|
+
"name": "eo-upload-image",
|
|
1017
|
+
"alias": [
|
|
1018
|
+
"form.upload-image"
|
|
1019
|
+
],
|
|
1020
|
+
"properties": [
|
|
1021
|
+
{
|
|
1022
|
+
"name": "name",
|
|
1023
|
+
"description": "字段名称",
|
|
1024
|
+
"type": "string"
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
"name": "label",
|
|
1028
|
+
"description": "字段说明",
|
|
1029
|
+
"type": "string"
|
|
1030
|
+
},
|
|
1031
|
+
{
|
|
1032
|
+
"name": "value",
|
|
1033
|
+
"description": "值",
|
|
1034
|
+
"attribute": false,
|
|
1035
|
+
"type": "ImageData[]"
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
"name": "bucketName",
|
|
1039
|
+
"description": "对象存储桶名字",
|
|
1040
|
+
"type": "string"
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
"name": "maxCount",
|
|
1044
|
+
"description": "最大上传数量",
|
|
1045
|
+
"type": "number"
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
"name": "multiple",
|
|
1049
|
+
"description": "是否支持选定的多张图片",
|
|
1050
|
+
"type": "boolean"
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
"name": "limitSize",
|
|
1054
|
+
"description": "上传大小限制(单位为 MB)",
|
|
1055
|
+
"type": "number"
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
"name": "required",
|
|
1059
|
+
"description": "是否必填",
|
|
1060
|
+
"type": "boolean"
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
"name": "message",
|
|
1064
|
+
"description": "校验文本信息",
|
|
1065
|
+
"attribute": false,
|
|
1066
|
+
"type": "Record<string, string>"
|
|
1067
|
+
}
|
|
1068
|
+
],
|
|
1069
|
+
"events": [
|
|
1070
|
+
{
|
|
1071
|
+
"name": "change",
|
|
1072
|
+
"description": "值变化时触发",
|
|
1073
|
+
"detail": {
|
|
1074
|
+
"type": "ImageData[]"
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
1077
|
+
],
|
|
1078
|
+
"slots": [],
|
|
1079
|
+
"methods": [],
|
|
1080
|
+
"parts": [],
|
|
1081
|
+
"description": "上传图片构件",
|
|
1082
|
+
"category": "form-input-basic"
|
|
1083
|
+
},
|
|
1269
1084
|
{
|
|
1270
1085
|
"name": "eo-upload-file",
|
|
1271
1086
|
"properties": [
|
|
@@ -1472,6 +1287,191 @@
|
|
|
1472
1287
|
"description": "带候选项的输入框",
|
|
1473
1288
|
"category": "form-input-basic"
|
|
1474
1289
|
},
|
|
1290
|
+
{
|
|
1291
|
+
"name": "eo-input",
|
|
1292
|
+
"alias": [
|
|
1293
|
+
"form.general-input"
|
|
1294
|
+
],
|
|
1295
|
+
"properties": [
|
|
1296
|
+
{
|
|
1297
|
+
"name": "name",
|
|
1298
|
+
"description": "字段名称",
|
|
1299
|
+
"type": "string"
|
|
1300
|
+
},
|
|
1301
|
+
{
|
|
1302
|
+
"name": "label",
|
|
1303
|
+
"description": "标签文字",
|
|
1304
|
+
"type": "string"
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
"name": "required",
|
|
1308
|
+
"description": "是否必填",
|
|
1309
|
+
"type": "boolean"
|
|
1310
|
+
},
|
|
1311
|
+
{
|
|
1312
|
+
"name": "pattern",
|
|
1313
|
+
"description": "正则校验规则",
|
|
1314
|
+
"type": "string"
|
|
1315
|
+
},
|
|
1316
|
+
{
|
|
1317
|
+
"name": "max",
|
|
1318
|
+
"description": "表单校验最大长度(当 type 为 number 时,表示最大值)",
|
|
1319
|
+
"type": "number"
|
|
1320
|
+
},
|
|
1321
|
+
{
|
|
1322
|
+
"name": "min",
|
|
1323
|
+
"description": "表单校验最小长度(当 type 为 number 时,表示最小值)",
|
|
1324
|
+
"type": "number"
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
"name": "message",
|
|
1328
|
+
"description": "错误时显示消息",
|
|
1329
|
+
"attribute": false,
|
|
1330
|
+
"type": "Record<string, string>"
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
"name": "value",
|
|
1334
|
+
"description": "输入框值",
|
|
1335
|
+
"type": "string"
|
|
1336
|
+
},
|
|
1337
|
+
{
|
|
1338
|
+
"name": "placeholder",
|
|
1339
|
+
"description": "占位说明",
|
|
1340
|
+
"type": "string"
|
|
1341
|
+
},
|
|
1342
|
+
{
|
|
1343
|
+
"name": "disabled",
|
|
1344
|
+
"description": "是否禁用",
|
|
1345
|
+
"type": "boolean"
|
|
1346
|
+
},
|
|
1347
|
+
{
|
|
1348
|
+
"name": "readonly",
|
|
1349
|
+
"description": "是否只读",
|
|
1350
|
+
"type": "boolean"
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
"name": "clearable",
|
|
1354
|
+
"description": "是否显示清除按钮",
|
|
1355
|
+
"type": "boolean"
|
|
1356
|
+
},
|
|
1357
|
+
{
|
|
1358
|
+
"name": "autoFocus",
|
|
1359
|
+
"description": "是否自动聚焦",
|
|
1360
|
+
"type": "boolean"
|
|
1361
|
+
},
|
|
1362
|
+
{
|
|
1363
|
+
"name": "type",
|
|
1364
|
+
"description": "类型",
|
|
1365
|
+
"default": "\"text\"",
|
|
1366
|
+
"type": "InputType"
|
|
1367
|
+
},
|
|
1368
|
+
{
|
|
1369
|
+
"name": "size",
|
|
1370
|
+
"description": "大小",
|
|
1371
|
+
"default": "\"medium\"",
|
|
1372
|
+
"type": "ComponentSize"
|
|
1373
|
+
},
|
|
1374
|
+
{
|
|
1375
|
+
"name": "minLength",
|
|
1376
|
+
"description": "最小长度",
|
|
1377
|
+
"type": "number"
|
|
1378
|
+
},
|
|
1379
|
+
{
|
|
1380
|
+
"name": "maxLength",
|
|
1381
|
+
"description": "最大长度(用户无法输入超过此最大长度的字符串)",
|
|
1382
|
+
"type": "number"
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
"name": "inputStyle",
|
|
1386
|
+
"description": "输入框样式",
|
|
1387
|
+
"attribute": false,
|
|
1388
|
+
"type": "React.CSSProperties"
|
|
1389
|
+
},
|
|
1390
|
+
{
|
|
1391
|
+
"name": "validator",
|
|
1392
|
+
"description": "表单项校验方法",
|
|
1393
|
+
"attribute": false,
|
|
1394
|
+
"type": "((value: any) => MessageBody)"
|
|
1395
|
+
}
|
|
1396
|
+
],
|
|
1397
|
+
"events": [
|
|
1398
|
+
{
|
|
1399
|
+
"name": "change",
|
|
1400
|
+
"description": "值改变事件",
|
|
1401
|
+
"detail": {
|
|
1402
|
+
"type": "string"
|
|
1403
|
+
}
|
|
1404
|
+
}
|
|
1405
|
+
],
|
|
1406
|
+
"slots": [
|
|
1407
|
+
{
|
|
1408
|
+
"name": "addonBefore",
|
|
1409
|
+
"description": "输入框前置标签"
|
|
1410
|
+
},
|
|
1411
|
+
{
|
|
1412
|
+
"name": "addonAfter",
|
|
1413
|
+
"description": "输入框后置标签"
|
|
1414
|
+
},
|
|
1415
|
+
{
|
|
1416
|
+
"name": "prefix",
|
|
1417
|
+
"description": "输入框前缀图标"
|
|
1418
|
+
},
|
|
1419
|
+
{
|
|
1420
|
+
"name": "suffix",
|
|
1421
|
+
"description": "输入框后缀图标"
|
|
1422
|
+
}
|
|
1423
|
+
],
|
|
1424
|
+
"methods": [
|
|
1425
|
+
{
|
|
1426
|
+
"name": "focusInput",
|
|
1427
|
+
"params": [],
|
|
1428
|
+
"description": "focus",
|
|
1429
|
+
"returns": {}
|
|
1430
|
+
},
|
|
1431
|
+
{
|
|
1432
|
+
"name": "blurInput",
|
|
1433
|
+
"params": [],
|
|
1434
|
+
"description": "blur",
|
|
1435
|
+
"returns": {}
|
|
1436
|
+
}
|
|
1437
|
+
],
|
|
1438
|
+
"parts": [
|
|
1439
|
+
{
|
|
1440
|
+
"name": "addon-wrapper",
|
|
1441
|
+
"description": "包裹输入组件、前缀、后缀、前置和后置的容器"
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
"name": "affix-wrapper",
|
|
1445
|
+
"description": "包裹输入组件、前缀和后缀的容器"
|
|
1446
|
+
},
|
|
1447
|
+
{
|
|
1448
|
+
"name": "input",
|
|
1449
|
+
"description": "输入组件"
|
|
1450
|
+
},
|
|
1451
|
+
{
|
|
1452
|
+
"name": "clear-icon",
|
|
1453
|
+
"description": "清除按钮"
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
"name": "prefix",
|
|
1457
|
+
"description": "输入框前缀容器"
|
|
1458
|
+
},
|
|
1459
|
+
{
|
|
1460
|
+
"name": "suffix",
|
|
1461
|
+
"description": "输入框后缀容器"
|
|
1462
|
+
},
|
|
1463
|
+
{
|
|
1464
|
+
"name": "before-addon",
|
|
1465
|
+
"description": "输入框前置容器"
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
"name": "after-addon",
|
|
1469
|
+
"description": "输入框后置容器"
|
|
1470
|
+
}
|
|
1471
|
+
],
|
|
1472
|
+
"description": "通用输入框构件",
|
|
1473
|
+
"category": "form-input-basic"
|
|
1474
|
+
},
|
|
1475
1475
|
{
|
|
1476
1476
|
"name": "eo-time-picker",
|
|
1477
1477
|
"properties": [
|