@next-bricks/form 1.15.1 → 1.15.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.
Files changed (107) hide show
  1. package/dist/bricks.json +33 -33
  2. package/dist/chunks/{114.34571944.js → 114.f6153e0c.js} +2 -2
  3. package/dist/chunks/{114.34571944.js.map → 114.f6153e0c.js.map} +1 -1
  4. package/dist/chunks/{1269.78d33291.js → 1269.96575d25.js} +2 -2
  5. package/dist/chunks/{1269.78d33291.js.map → 1269.96575d25.js.map} +1 -1
  6. package/dist/chunks/{1940.fe06f230.js → 1940.f312096d.js} +2 -2
  7. package/dist/chunks/{1940.fe06f230.js.map → 1940.f312096d.js.map} +1 -1
  8. package/dist/chunks/{2277.b53cada5.js → 2277.3a72539a.js} +2 -2
  9. package/dist/chunks/{2277.b53cada5.js.map → 2277.3a72539a.js.map} +1 -1
  10. package/dist/chunks/{2600.c061d47a.js → 2600.c0a33dd3.js} +3 -3
  11. package/dist/chunks/{2600.c061d47a.js.map → 2600.c0a33dd3.js.map} +1 -1
  12. package/dist/chunks/{3933.090e0e25.js → 3933.fa788b87.js} +2 -2
  13. package/dist/chunks/{3933.090e0e25.js.map → 3933.fa788b87.js.map} +1 -1
  14. package/dist/chunks/{4658.85a4eee9.js → 4658.1c44a3df.js} +2 -2
  15. package/dist/chunks/{4658.85a4eee9.js.map → 4658.1c44a3df.js.map} +1 -1
  16. package/dist/chunks/{4837.ee78a559.js → 4837.39bbd85f.js} +2 -2
  17. package/dist/chunks/{4837.ee78a559.js.map → 4837.39bbd85f.js.map} +1 -1
  18. package/dist/chunks/5582.8bb7003f.js +3 -0
  19. package/dist/chunks/5582.8bb7003f.js.map +1 -0
  20. package/dist/chunks/{6314.333038db.js → 6314.ae73534e.js} +2 -2
  21. package/dist/chunks/{6314.333038db.js.map → 6314.ae73534e.js.map} +1 -1
  22. package/dist/chunks/{7218.8a34ac8c.js → 7218.631ec3d0.js} +2 -2
  23. package/dist/chunks/{7218.8a34ac8c.js.map → 7218.631ec3d0.js.map} +1 -1
  24. package/dist/chunks/7623.a65d14f1.js +3 -0
  25. package/dist/chunks/{7623.5b51a117.js.map → 7623.a65d14f1.js.map} +1 -1
  26. package/dist/chunks/{7733.09fc7545.js → 7733.cd1fb1fd.js} +2 -2
  27. package/dist/chunks/{7733.09fc7545.js.map → 7733.cd1fb1fd.js.map} +1 -1
  28. package/dist/chunks/{8089.5ff9d1d9.js → 8089.a89bbf70.js} +3 -3
  29. package/dist/chunks/{8089.5ff9d1d9.js.map → 8089.a89bbf70.js.map} +1 -1
  30. package/dist/chunks/{9559.f1ea5a95.js → 9559.3c1fbf3e.js} +2 -2
  31. package/dist/chunks/{9559.f1ea5a95.js.map → 9559.3c1fbf3e.js.map} +1 -1
  32. package/dist/chunks/{eo-auto-complete.63553d54.js → eo-auto-complete.66051e34.js} +3 -3
  33. package/dist/chunks/{eo-auto-complete.63553d54.js.map → eo-auto-complete.66051e34.js.map} +1 -1
  34. package/dist/chunks/{eo-checkbox.dd22a29f.js → eo-checkbox.081e9a11.js} +3 -3
  35. package/dist/chunks/{eo-checkbox.dd22a29f.js.map → eo-checkbox.081e9a11.js.map} +1 -1
  36. package/dist/chunks/eo-color-picker.b55bc5b1.js +2 -0
  37. package/dist/chunks/{eo-color-picker.bf777bdd.js.map → eo-color-picker.b55bc5b1.js.map} +1 -1
  38. package/dist/chunks/eo-date-picker.63628969.js +2 -0
  39. package/dist/chunks/{eo-date-picker.5fd6b30b.js.map → eo-date-picker.63628969.js.map} +1 -1
  40. package/dist/chunks/eo-dynamic-form-item.d1cfa208.js +3 -0
  41. package/dist/chunks/{eo-dynamic-form-item.97ca5f2f.js.map → eo-dynamic-form-item.d1cfa208.js.map} +1 -1
  42. package/dist/chunks/eo-form-item.50c46c4c.js +3 -0
  43. package/dist/chunks/{eo-form-item.786f3204.js.map → eo-form-item.50c46c4c.js.map} +1 -1
  44. package/dist/chunks/{eo-form.df5345d8.js → eo-form.a61a7fc0.js} +2 -2
  45. package/dist/chunks/{eo-form.df5345d8.js.map → eo-form.a61a7fc0.js.map} +1 -1
  46. package/dist/chunks/{eo-icon-select.85d4651e.js → eo-icon-select.762f454c.js} +3 -3
  47. package/dist/chunks/{eo-icon-select.85d4651e.js.map → eo-icon-select.762f454c.js.map} +1 -1
  48. package/dist/chunks/{eo-input.31a357d0.js → eo-input.b8bd45e7.js} +3 -3
  49. package/dist/chunks/{eo-input.31a357d0.js.map → eo-input.b8bd45e7.js.map} +1 -1
  50. package/dist/chunks/eo-radio.067d50b5.js +3 -0
  51. package/dist/chunks/{eo-radio.b560225d.js.map → eo-radio.067d50b5.js.map} +1 -1
  52. package/dist/chunks/{eo-search.27570e91.js → eo-search.89c62ba9.js} +2 -2
  53. package/dist/chunks/{eo-search.27570e91.js.map → eo-search.89c62ba9.js.map} +1 -1
  54. package/dist/chunks/eo-select.5bc519bd.js +3 -0
  55. package/dist/chunks/{eo-select.d390e692.js.map → eo-select.5bc519bd.js.map} +1 -1
  56. package/dist/chunks/{eo-submit-buttons.0e010582.js → eo-submit-buttons.12d8ce7c.js} +2 -2
  57. package/dist/chunks/{eo-submit-buttons.0e010582.js.map → eo-submit-buttons.12d8ce7c.js.map} +1 -1
  58. package/dist/chunks/{eo-switch.00bbb693.js → eo-switch.f06ec9d4.js} +3 -3
  59. package/dist/chunks/{eo-switch.00bbb693.js.map → eo-switch.f06ec9d4.js.map} +1 -1
  60. package/dist/chunks/{eo-textarea.c834c651.js → eo-textarea.24b6885d.js} +2 -2
  61. package/dist/chunks/{eo-textarea.c834c651.js.map → eo-textarea.24b6885d.js.map} +1 -1
  62. package/dist/chunks/eo-time-picker.c68edbb8.js +2 -0
  63. package/dist/chunks/{eo-time-picker.6972ed66.js.map → eo-time-picker.c68edbb8.js.map} +1 -1
  64. package/dist/chunks/eo-time-range-picker.e2ad3797.js +2 -0
  65. package/dist/chunks/{eo-time-range-picker.78522a35.js.map → eo-time-range-picker.e2ad3797.js.map} +1 -1
  66. package/dist/chunks/eo-upload-file.5a98b80d.js +3 -0
  67. package/dist/chunks/{eo-upload-file.ffa88448.js.map → eo-upload-file.5a98b80d.js.map} +1 -1
  68. package/dist/chunks/{eo-upload-image.6c530fa8.js → eo-upload-image.5f8c2993.js} +3 -3
  69. package/dist/chunks/{eo-upload-image.6c530fa8.js.map → eo-upload-image.5f8c2993.js.map} +1 -1
  70. package/dist/chunks/main.76bf032c.js +2 -0
  71. package/dist/chunks/{main.c46fbb43.js.map → main.76bf032c.js.map} +1 -1
  72. package/dist/examples.json +12 -12
  73. package/dist/index.f03166be.js +2 -0
  74. package/dist/index.f03166be.js.map +1 -0
  75. package/dist/manifest.json +579 -579
  76. package/dist/types.json +1650 -1650
  77. package/package.json +3 -3
  78. package/dist/chunks/4411.4c063ae9.js +0 -3
  79. package/dist/chunks/4411.4c063ae9.js.map +0 -1
  80. package/dist/chunks/7623.5b51a117.js +0 -3
  81. package/dist/chunks/eo-color-picker.bf777bdd.js +0 -2
  82. package/dist/chunks/eo-date-picker.5fd6b30b.js +0 -2
  83. package/dist/chunks/eo-dynamic-form-item.97ca5f2f.js +0 -3
  84. package/dist/chunks/eo-form-item.786f3204.js +0 -3
  85. package/dist/chunks/eo-radio.b560225d.js +0 -3
  86. package/dist/chunks/eo-select.d390e692.js +0 -3
  87. package/dist/chunks/eo-time-picker.6972ed66.js +0 -2
  88. package/dist/chunks/eo-time-range-picker.78522a35.js +0 -2
  89. package/dist/chunks/eo-upload-file.ffa88448.js +0 -3
  90. package/dist/chunks/main.c46fbb43.js +0 -2
  91. package/dist/index.b0bff028.js +0 -2
  92. package/dist/index.b0bff028.js.map +0 -1
  93. /package/dist/chunks/{2600.c061d47a.js.LICENSE.txt → 2600.c0a33dd3.js.LICENSE.txt} +0 -0
  94. /package/dist/chunks/{4411.4c063ae9.js.LICENSE.txt → 5582.8bb7003f.js.LICENSE.txt} +0 -0
  95. /package/dist/chunks/{7623.5b51a117.js.LICENSE.txt → 7623.a65d14f1.js.LICENSE.txt} +0 -0
  96. /package/dist/chunks/{8089.5ff9d1d9.js.LICENSE.txt → 8089.a89bbf70.js.LICENSE.txt} +0 -0
  97. /package/dist/chunks/{eo-auto-complete.63553d54.js.LICENSE.txt → eo-auto-complete.66051e34.js.LICENSE.txt} +0 -0
  98. /package/dist/chunks/{eo-checkbox.dd22a29f.js.LICENSE.txt → eo-checkbox.081e9a11.js.LICENSE.txt} +0 -0
  99. /package/dist/chunks/{eo-dynamic-form-item.97ca5f2f.js.LICENSE.txt → eo-dynamic-form-item.d1cfa208.js.LICENSE.txt} +0 -0
  100. /package/dist/chunks/{eo-form-item.786f3204.js.LICENSE.txt → eo-form-item.50c46c4c.js.LICENSE.txt} +0 -0
  101. /package/dist/chunks/{eo-icon-select.85d4651e.js.LICENSE.txt → eo-icon-select.762f454c.js.LICENSE.txt} +0 -0
  102. /package/dist/chunks/{eo-input.31a357d0.js.LICENSE.txt → eo-input.b8bd45e7.js.LICENSE.txt} +0 -0
  103. /package/dist/chunks/{eo-radio.b560225d.js.LICENSE.txt → eo-radio.067d50b5.js.LICENSE.txt} +0 -0
  104. /package/dist/chunks/{eo-select.d390e692.js.LICENSE.txt → eo-select.5bc519bd.js.LICENSE.txt} +0 -0
  105. /package/dist/chunks/{eo-switch.00bbb693.js.LICENSE.txt → eo-switch.f06ec9d4.js.LICENSE.txt} +0 -0
  106. /package/dist/chunks/{eo-upload-file.ffa88448.js.LICENSE.txt → eo-upload-file.5a98b80d.js.LICENSE.txt} +0 -0
  107. /package/dist/chunks/{eo-upload-image.6c530fa8.js.LICENSE.txt → eo-upload-image.5f8c2993.js.LICENSE.txt} +0 -0
@@ -4,9 +4,9 @@
4
4
  "name": "form",
5
5
  "bricks": [
6
6
  {
7
- "name": "eo-input",
7
+ "name": "eo-textarea",
8
8
  "alias": [
9
- "form.general-input"
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,376 +35,207 @@
61
35
  "type": "boolean"
62
36
  },
63
37
  {
64
- "name": "readonly",
65
- "description": "是否只读",
66
- "type": "boolean"
67
- },
68
- {
69
- "name": "clearable",
70
- "description": "是否显示清除按钮",
71
- "type": "boolean"
38
+ "name": "minLength",
39
+ "description": "最小长度",
40
+ "type": "number"
72
41
  },
73
42
  {
74
- "name": "autoFocus",
75
- "description": "是否自动聚焦",
76
- "type": "boolean"
43
+ "name": "maxLength",
44
+ "description": "最大长度",
45
+ "type": "number"
77
46
  },
78
47
  {
79
- "name": "type",
80
- "description": "类型",
81
- "default": "\"text\"",
82
- "type": "InputType"
48
+ "name": "autoSize",
49
+ "description": "大小自适应",
50
+ "attribute": false,
51
+ "type": "AutoSize"
83
52
  },
84
53
  {
85
- "name": "size",
86
- "description": "大小",
87
- "default": "\"medium\"",
88
- "type": "ComponentSize"
54
+ "name": "required",
55
+ "description": "是否必填",
56
+ "type": "boolean"
89
57
  },
90
58
  {
91
- "name": "minLength",
92
- "description": "最小长度",
59
+ "name": "max",
60
+ "description": "表单校验最大长度",
93
61
  "type": "number"
94
62
  },
95
63
  {
96
- "name": "maxLength",
97
- "description": "最大长度(用户无法输入超过此最大长度的字符串)",
64
+ "name": "min",
65
+ "description": "表单校验最小长度",
98
66
  "type": "number"
99
67
  },
100
68
  {
101
- "name": "inputStyle",
102
- "description": "输入框样式",
69
+ "name": "message",
70
+ "description": "校验信息",
103
71
  "attribute": false,
104
- "type": "React.CSSProperties"
72
+ "type": "Record<string, string>"
105
73
  },
106
74
  {
107
- "name": "validator",
108
- "description": "表单项校验方法",
75
+ "name": "textareaStyle",
76
+ "description": "自定义样式",
109
77
  "attribute": false,
110
- "type": "((value: any) => MessageBody)"
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": [
91
+ "slots": [],
92
+ "methods": [
123
93
  {
124
- "name": "addonBefore",
125
- "description": "输入框前置标签"
126
- },
94
+ "name": "focusTextarea",
95
+ "params": [],
96
+ "description": "focus",
97
+ "returns": {}
98
+ }
99
+ ],
100
+ "parts": [],
101
+ "description": "通用多行文本输入框构件",
102
+ "category": "form-input-basic"
103
+ },
104
+ {
105
+ "name": "eo-radio",
106
+ "alias": [
107
+ "form.general-radio"
108
+ ],
109
+ "properties": [
127
110
  {
128
- "name": "addonAfter",
129
- "description": "输入框后置标签"
111
+ "name": "name",
112
+ "description": "下拉框字段名",
113
+ "type": "string"
130
114
  },
131
115
  {
132
- "name": "prefix",
133
- "description": "输入框前缀图标"
116
+ "name": "label",
117
+ "description": "单选框字段说明",
118
+ "type": "string"
134
119
  },
135
120
  {
136
- "name": "suffix",
137
- "description": "输入框后缀图标"
138
- }
139
- ],
140
- "methods": [
121
+ "name": "options",
122
+ "description": "单选框选项表",
123
+ "required": true,
124
+ "attribute": false,
125
+ "type": "GeneralOption[]"
126
+ },
141
127
  {
142
- "name": "focusInput",
143
- "params": [],
144
- "description": "focus",
145
- "returns": {}
128
+ "name": "value",
129
+ "description": "单选框当前选中始值",
130
+ "attribute": false,
131
+ "type": "any"
146
132
  },
147
133
  {
148
- "name": "blurInput",
149
- "params": [],
150
- "description": "blur",
151
- "returns": {}
152
- }
153
- ],
154
- "parts": [
134
+ "name": "required",
135
+ "description": "是否必填",
136
+ "type": "boolean"
137
+ },
155
138
  {
156
- "name": "addon-wrapper",
157
- "description": "包裹输入组件、前缀、后缀、前置和后置的容器"
139
+ "name": "message",
140
+ "description": "校验文本信息",
141
+ "attribute": false,
142
+ "type": "Record<string, string>"
158
143
  },
159
144
  {
160
- "name": "affix-wrapper",
161
- "description": "包裹输入组件、前缀和后缀的容器"
145
+ "name": "disabled",
146
+ "description": "是否禁用",
147
+ "type": "boolean"
162
148
  },
163
149
  {
164
- "name": "input",
165
- "description": "输入组件"
150
+ "name": "type",
151
+ "description": "单选框样式类型",
152
+ "default": "\"default\"",
153
+ "type": "RadioType"
166
154
  },
167
155
  {
168
- "name": "clear-icon",
169
- "description": "清除按钮"
156
+ "name": "ui",
157
+ "description": "UI样式",
158
+ "default": "\"default\"",
159
+ "type": "UIType"
170
160
  },
171
161
  {
172
- "name": "prefix",
173
- "description": "输入框前缀容器"
162
+ "name": "size",
163
+ "description": "大小,只对按钮样式生效",
164
+ "default": "\"medium\"",
165
+ "type": "ComponentSize"
174
166
  },
175
167
  {
176
- "name": "suffix",
177
- "description": "输入框后缀容器"
168
+ "name": "customStyle",
169
+ "description": "自定义radio的外层样式",
170
+ "attribute": false,
171
+ "type": "React.CSSProperties"
178
172
  },
179
173
  {
180
- "name": "before-addon",
181
- "description": "输入框前置容器"
174
+ "name": "useBrick",
175
+ "description": "自定义radio的内容",
176
+ "attribute": false,
177
+ "type": "UseSingleBrickConf"
178
+ }
179
+ ],
180
+ "events": [
181
+ {
182
+ "name": "change",
183
+ "description": "值变化事件",
184
+ "detail": {
185
+ "type": "GeneralComplexOption | undefined"
186
+ }
182
187
  },
183
188
  {
184
- "name": "after-addon",
185
- "description": "输入框后置容器"
189
+ "name": "options.change",
190
+ "description": "选项列表变化事件",
191
+ "detail": {
192
+ "type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
193
+ }
186
194
  }
187
195
  ],
188
- "description": "通用输入框构件",
196
+ "slots": [],
197
+ "methods": [],
198
+ "parts": [],
199
+ "description": "通用单选构件",
189
200
  "category": "form-input-basic"
190
201
  },
191
202
  {
192
- "name": "eo-form-item",
203
+ "name": "eo-select",
193
204
  "alias": [
194
- "form.general-form-item"
205
+ "form.general-select"
195
206
  ],
196
207
  "properties": [
197
- {
198
- "name": "formElement",
199
- "attribute": false,
200
- "type": "Form"
201
- },
202
- {
203
- "name": "curElement",
204
- "attribute": false,
205
- "type": "HTMLElement"
206
- },
207
208
  {
208
209
  "name": "name",
209
210
  "description": "字段名称",
210
211
  "type": "string"
211
212
  },
212
213
  {
213
- "name": "label",
214
+ "name": "placeholder",
215
+ "description": "占位说明",
214
216
  "type": "string"
215
217
  },
216
218
  {
217
- "name": "pattern",
219
+ "name": "label",
220
+ "description": "字段文本",
218
221
  "type": "string"
219
222
  },
220
223
  {
221
- "name": "message",
224
+ "name": "options",
225
+ "description": "选项列表",
226
+ "required": true,
222
227
  "attribute": false,
223
- "type": "Record<string, string>"
224
- },
225
- {
226
- "name": "type",
227
- "type": "string"
228
- },
229
- {
230
- "name": "max",
231
- "type": "number"
228
+ "type": "GeneralComplexOption[]"
232
229
  },
233
230
  {
234
- "name": "min",
235
- "type": "number"
231
+ "name": "value",
232
+ "description": "",
233
+ "attribute": false,
234
+ "type": "any"
236
235
  },
237
236
  {
238
237
  "name": "required",
239
- "description": "表单项是否为必填",
240
- "type": "boolean"
241
- },
242
- {
243
- "name": "value",
244
- "description": "初始值",
245
- "type": "string"
246
- },
247
- {
248
- "name": "valuePropsName",
249
- "type": "string"
250
- },
251
- {
252
- "name": "layout",
253
- "type": "Layout"
254
- },
255
- {
256
- "name": "size",
257
- "type": "ComponentSize"
258
- },
259
- {
260
- "name": "trim",
261
- "description": "是否自动去除前后的空白字符",
262
- "default": "true"
263
- },
264
- {
265
- "name": "trigger",
266
- "description": "事件触发方法名",
267
- "type": "string"
268
- },
269
- {
270
- "name": "validator",
271
- "description": "表单项校验方法",
272
- "attribute": false,
273
- "type": "((value: any) => MessageBody)"
274
- },
275
- {
276
- "name": "needValidate",
277
- "description": "值变化时是否主动出发校验",
278
- "type": "boolean"
279
- },
280
- {
281
- "name": "textContent",
282
- "type": "string",
283
- "description": "文本内容"
284
- }
285
- ],
286
- "events": [],
287
- "slots": [
288
- {
289
- "name": null,
290
- "description": "表单项内容"
291
- }
292
- ],
293
- "methods": [],
294
- "parts": [],
295
- "description": "通用输入框构件",
296
- "category": "form-input-basic",
297
- "insider": true
298
- },
299
- {
300
- "name": "eo-textarea",
301
- "alias": [
302
- "form.general-textarea"
303
- ],
304
- "properties": [
305
- {
306
- "name": "name",
307
- "description": "字段名称",
308
- "type": "string"
309
- },
310
- {
311
- "name": "label",
312
- "description": "标签文字",
313
- "type": "string"
314
- },
315
- {
316
- "name": "value",
317
- "description": "值",
318
- "type": "string"
319
- },
320
- {
321
- "name": "placeholder",
322
- "description": "占位说明",
323
- "type": "string"
324
- },
325
- {
326
- "name": "disabled",
327
- "description": "是否禁用",
328
- "type": "boolean"
329
- },
330
- {
331
- "name": "minLength",
332
- "description": "最小长度",
333
- "type": "number"
334
- },
335
- {
336
- "name": "maxLength",
337
- "description": "最大长度",
338
- "type": "number"
339
- },
340
- {
341
- "name": "autoSize",
342
- "description": "大小自适应",
343
- "attribute": false,
344
- "type": "AutoSize"
345
- },
346
- {
347
- "name": "required",
348
- "description": "是否必填",
349
- "type": "boolean"
350
- },
351
- {
352
- "name": "max",
353
- "description": "表单校验最大长度",
354
- "type": "number"
355
- },
356
- {
357
- "name": "min",
358
- "description": "表单校验最小长度",
359
- "type": "number"
360
- },
361
- {
362
- "name": "message",
363
- "description": "校验信息",
364
- "attribute": false,
365
- "type": "Record<string, string>"
366
- },
367
- {
368
- "name": "textareaStyle",
369
- "description": "自定义样式",
370
- "attribute": false,
371
- "type": "React.CSSProperties"
372
- }
373
- ],
374
- "events": [
375
- {
376
- "name": "change",
377
- "description": "",
378
- "detail": {
379
- "description": null,
380
- "type": "string"
381
- }
382
- }
383
- ],
384
- "slots": [],
385
- "methods": [
386
- {
387
- "name": "focusTextarea",
388
- "params": [],
389
- "description": "focus",
390
- "returns": {}
391
- }
392
- ],
393
- "parts": [],
394
- "description": "通用多行文本输入框构件",
395
- "category": "form-input-basic"
396
- },
397
- {
398
- "name": "eo-select",
399
- "alias": [
400
- "form.general-select"
401
- ],
402
- "properties": [
403
- {
404
- "name": "name",
405
- "description": "字段名称",
406
- "type": "string"
407
- },
408
- {
409
- "name": "placeholder",
410
- "description": "占位说明",
411
- "type": "string"
412
- },
413
- {
414
- "name": "label",
415
- "description": "字段文本",
416
- "type": "string"
417
- },
418
- {
419
- "name": "options",
420
- "description": "选项列表",
421
- "required": true,
422
- "attribute": false,
423
- "type": "GeneralComplexOption[]"
424
- },
425
- {
426
- "name": "value",
427
- "description": "值",
428
- "attribute": false,
429
- "type": "any"
430
- },
431
- {
432
- "name": "required",
433
- "description": "是否必填",
238
+ "description": "是否必填",
434
239
  "type": "boolean"
435
240
  },
436
241
  {
@@ -695,102 +500,112 @@
695
500
  "category": "form-input-basic"
696
501
  },
697
502
  {
698
- "name": "eo-radio",
503
+ "name": "eo-form-item",
699
504
  "alias": [
700
- "form.general-radio"
505
+ "form.general-form-item"
701
506
  ],
702
507
  "properties": [
508
+ {
509
+ "name": "formElement",
510
+ "attribute": false,
511
+ "type": "Form"
512
+ },
513
+ {
514
+ "name": "curElement",
515
+ "attribute": false,
516
+ "type": "HTMLElement"
517
+ },
703
518
  {
704
519
  "name": "name",
705
- "description": "下拉框字段名",
520
+ "description": "字段名称",
706
521
  "type": "string"
707
522
  },
708
523
  {
709
524
  "name": "label",
710
- "description": "单选框字段说明",
711
525
  "type": "string"
712
526
  },
713
527
  {
714
- "name": "options",
715
- "description": "单选框选项表",
716
- "required": true,
717
- "attribute": false,
718
- "type": "GeneralOption[]"
528
+ "name": "pattern",
529
+ "type": "string"
719
530
  },
720
531
  {
721
- "name": "value",
722
- "description": "单选框当前选中始值",
532
+ "name": "message",
723
533
  "attribute": false,
724
- "type": "any"
534
+ "type": "Record<string, string>"
725
535
  },
726
536
  {
727
- "name": "required",
728
- "description": "是否必填",
729
- "type": "boolean"
537
+ "name": "type",
538
+ "type": "string"
730
539
  },
731
540
  {
732
- "name": "message",
733
- "description": "校验文本信息",
734
- "attribute": false,
735
- "type": "Record<string, string>"
541
+ "name": "max",
542
+ "type": "number"
736
543
  },
737
544
  {
738
- "name": "disabled",
739
- "description": "是否禁用",
740
- "type": "boolean"
545
+ "name": "min",
546
+ "type": "number"
741
547
  },
742
548
  {
743
- "name": "type",
744
- "description": "单选框样式类型",
745
- "default": "\"default\"",
746
- "type": "RadioType"
549
+ "name": "required",
550
+ "description": "表单项是否为必填",
551
+ "type": "boolean"
747
552
  },
748
553
  {
749
- "name": "ui",
750
- "description": "UI样式",
751
- "default": "\"default\"",
752
- "type": "UIType"
554
+ "name": "value",
555
+ "description": "初始值",
556
+ "type": "string"
753
557
  },
754
558
  {
755
- "name": "size",
756
- "description": "大小,只对按钮样式生效",
757
- "default": "\"medium\"",
758
- "type": "ComponentSize"
559
+ "name": "valuePropsName",
560
+ "type": "string"
759
561
  },
760
562
  {
761
- "name": "customStyle",
762
- "description": "自定义radio的外层样式",
763
- "attribute": false,
764
- "type": "React.CSSProperties"
563
+ "name": "layout",
564
+ "type": "Layout"
765
565
  },
766
566
  {
767
- "name": "useBrick",
768
- "description": "自定义radio的内容",
567
+ "name": "size",
568
+ "type": "ComponentSize"
569
+ },
570
+ {
571
+ "name": "trim",
572
+ "description": "是否自动去除前后的空白字符",
573
+ "default": "true"
574
+ },
575
+ {
576
+ "name": "trigger",
577
+ "description": "事件触发方法名",
578
+ "type": "string"
579
+ },
580
+ {
581
+ "name": "validator",
582
+ "description": "表单项校验方法",
769
583
  "attribute": false,
770
- "type": "UseSingleBrickConf"
771
- }
772
- ],
773
- "events": [
584
+ "type": "((value: any) => MessageBody)"
585
+ },
774
586
  {
775
- "name": "change",
776
- "description": "值变化事件",
777
- "detail": {
778
- "type": "GeneralComplexOption | undefined"
779
- }
587
+ "name": "needValidate",
588
+ "description": "值变化时是否主动出发校验",
589
+ "type": "boolean"
780
590
  },
781
591
  {
782
- "name": "options.change",
783
- "description": "选项列表变化事件",
784
- "detail": {
785
- "type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
786
- }
592
+ "name": "textContent",
593
+ "type": "string",
594
+ "description": "文本内容"
595
+ }
596
+ ],
597
+ "events": [],
598
+ "slots": [
599
+ {
600
+ "name": null,
601
+ "description": "表单项内容"
787
602
  }
788
603
  ],
789
- "slots": [],
790
604
  "methods": [],
791
605
  "parts": [],
792
- "description": "通用单选构件",
793
- "category": "form-input-basic"
606
+ "description": "通用输入框构件",
607
+ "category": "form-input-basic",
608
+ "insider": true
794
609
  },
795
610
  {
796
611
  "name": "eo-dynamic-form-item",
@@ -884,151 +699,6 @@
884
699
  "description": "动态表单",
885
700
  "category": "form-input-basic"
886
701
  },
887
- {
888
- "name": "eo-form",
889
- "alias": [
890
- "form.general-form"
891
- ],
892
- "properties": [
893
- {
894
- "name": "staticValues",
895
- "attribute": false,
896
- "type": "Record<string, unknown>"
897
- },
898
- {
899
- "name": "layout",
900
- "description": "布局方式(默认 vertical 布局)",
901
- "default": "vertical",
902
- "type": "Layout"
903
- },
904
- {
905
- "name": "size",
906
- "description": "表单组件尺寸",
907
- "type": "ComponentSize"
908
- },
909
- {
910
- "name": "labelCol",
911
- "description": "标签列布局样式(仅当 layout=\"horizontal\" 时有效)",
912
- "default": "{\n sm: {\n span: 24,\n },\n md: {\n span: 24,\n },\n lg: {\n span: 7,\n },\n xl: {\n span: 5,\n },\n xxl: {\n span: 4,\n },\n }",
913
- "attribute": false,
914
- "type": "ColProps"
915
- },
916
- {
917
- "name": "wrapperCol",
918
- "description": "输入控件列布局样式(仅当 layout=\"horizontal\" 时有效)",
919
- "default": "{\n sm: {\n span: 18,\n },\n md: {\n span: 18,\n },\n lg: {\n span: 13,\n },\n xl: {\n span: 16,\n },\n xxl: {\n span: 18,\n },\n }",
920
- "attribute": false,
921
- "type": "ColProps"
922
- },
923
- {
924
- "name": "formStyle",
925
- "attribute": false,
926
- "type": "React.CSSProperties"
927
- },
928
- {
929
- "name": "textContent",
930
- "type": "string",
931
- "description": "文本内容"
932
- }
933
- ],
934
- "events": [
935
- {
936
- "name": "values.change",
937
- "description": "表单值变更事件",
938
- "detail": {
939
- "description": null,
940
- "type": "Record<string, unknown>"
941
- }
942
- },
943
- {
944
- "name": "validate.success",
945
- "description": "表单验证成功时触发事件",
946
- "detail": {
947
- "type": "Record<string, unknown>"
948
- }
949
- },
950
- {
951
- "name": "validate.error",
952
- "description": "表单验证报错时触发事件",
953
- "detail": {
954
- "type": "(MessageBody & { name: string })[]"
955
- }
956
- }
957
- ],
958
- "slots": [
959
- {
960
- "name": null,
961
- "description": "表单内容"
962
- }
963
- ],
964
- "methods": [
965
- {
966
- "name": "validate",
967
- "params": [],
968
- "description": "表单校验方法",
969
- "returns": {
970
- "type": "boolean | Record<string, unknown>"
971
- }
972
- },
973
- {
974
- "name": "setInitValue",
975
- "params": [
976
- {
977
- "name": "values",
978
- "type": "Record<string, unknown>"
979
- },
980
- {
981
- "name": "options",
982
- "type": "{ runInMacrotask?: boolean; runInMicrotask?: boolean }"
983
- }
984
- ],
985
- "description": "表单设置值方法",
986
- "returns": {}
987
- },
988
- {
989
- "name": "resetFields",
990
- "params": [
991
- {
992
- "name": "name",
993
- "type": "string"
994
- }
995
- ],
996
- "description": "表单重置值方法",
997
- "returns": {}
998
- },
999
- {
1000
- "name": "getFieldsValue",
1001
- "params": [
1002
- {
1003
- "name": "name",
1004
- "type": "string"
1005
- }
1006
- ],
1007
- "description": "获取表单值方法",
1008
- "returns": {}
1009
- },
1010
- {
1011
- "name": "validateField",
1012
- "params": [
1013
- {
1014
- "name": "name",
1015
- "type": "string"
1016
- }
1017
- ],
1018
- "description": "校验表单字段方法",
1019
- "returns": {}
1020
- },
1021
- {
1022
- "name": "resetValidateState",
1023
- "params": [],
1024
- "description": "重置表单校验状态方法",
1025
- "returns": {}
1026
- }
1027
- ],
1028
- "parts": [],
1029
- "description": "表单构件",
1030
- "category": "form-input-basic"
1031
- },
1032
702
  {
1033
703
  "name": "eo-search",
1034
704
  "alias": [
@@ -1151,9 +821,9 @@
1151
821
  "category": "form-input-basic"
1152
822
  },
1153
823
  {
1154
- "name": "eo-upload-image",
824
+ "name": "eo-switch",
1155
825
  "alias": [
1156
- "form.upload-image"
826
+ "form.general-switch"
1157
827
  ],
1158
828
  "properties": [
1159
829
  {
@@ -1163,66 +833,66 @@
1163
833
  },
1164
834
  {
1165
835
  "name": "label",
1166
- "description": "字段说明",
836
+ "description": "字段文本",
1167
837
  "type": "string"
1168
838
  },
1169
839
  {
1170
840
  "name": "value",
1171
- "description": "",
1172
- "attribute": false,
1173
- "type": "ImageData[]"
841
+ "description": "初始值",
842
+ "type": "boolean"
1174
843
  },
1175
844
  {
1176
- "name": "bucketName",
1177
- "description": "对象存储桶名字",
1178
- "type": "string"
845
+ "name": "disabled",
846
+ "description": "是否禁用",
847
+ "type": "boolean"
1179
848
  },
1180
849
  {
1181
- "name": "maxCount",
1182
- "description": "最大上传数量",
1183
- "type": "number"
850
+ "name": "size",
851
+ "description": "按钮大小,目前只支持small和非small两种大小。",
852
+ "type": "ComponentSize"
1184
853
  },
1185
854
  {
1186
- "name": "multiple",
1187
- "description": "是否支持选定的多张图片",
1188
- "type": "boolean"
855
+ "name": "checkedText",
856
+ "description": "选中时的文本",
857
+ "type": "string"
1189
858
  },
1190
859
  {
1191
- "name": "limitSize",
1192
- "description": "上传大小限制(单位为 MB)",
1193
- "type": "number"
860
+ "name": "unCheckedText",
861
+ "description": "非选中时的文本",
862
+ "type": "string"
1194
863
  },
1195
864
  {
1196
- "name": "required",
1197
- "description": "是否必填",
1198
- "type": "boolean"
865
+ "name": "checkedIcon",
866
+ "description": "选中时的图标",
867
+ "attribute": false,
868
+ "type": "GeneralIconProps"
1199
869
  },
1200
870
  {
1201
- "name": "message",
1202
- "description": "校验文本信息",
871
+ "name": "unCheckedIcon",
872
+ "description": "非选中时的文本",
1203
873
  "attribute": false,
1204
- "type": "Record<string, string>"
874
+ "type": "GeneralIconProps"
1205
875
  }
1206
876
  ],
1207
877
  "events": [
1208
878
  {
1209
- "name": "change",
1210
- "description": "值变化时触发",
879
+ "name": "switch",
880
+ "description": "开关改变时触发",
1211
881
  "detail": {
1212
- "type": "ImageData[]"
882
+ "type": "boolean"
1213
883
  }
1214
884
  }
1215
885
  ],
1216
886
  "slots": [],
1217
887
  "methods": [],
1218
888
  "parts": [],
1219
- "description": "上传图片构件",
889
+ "description": "开关",
1220
890
  "category": "form-input-basic"
1221
891
  },
1222
892
  {
1223
- "name": "eo-switch",
893
+ "name": "eo-upload-image",
1224
894
  "alias": [
1225
- "form.general-switch"
895
+ "form.upload-image"
1226
896
  ],
1227
897
  "properties": [
1228
898
  {
@@ -1232,60 +902,60 @@
1232
902
  },
1233
903
  {
1234
904
  "name": "label",
1235
- "description": "字段文本",
905
+ "description": "字段说明",
1236
906
  "type": "string"
1237
907
  },
1238
908
  {
1239
909
  "name": "value",
1240
- "description": "初始值",
1241
- "type": "boolean"
910
+ "description": "",
911
+ "attribute": false,
912
+ "type": "ImageData[]"
1242
913
  },
1243
914
  {
1244
- "name": "disabled",
1245
- "description": "是否禁用",
1246
- "type": "boolean"
915
+ "name": "bucketName",
916
+ "description": "对象存储桶名字",
917
+ "type": "string"
1247
918
  },
1248
919
  {
1249
- "name": "size",
1250
- "description": "按钮大小,目前只支持small和非small两种大小。",
1251
- "type": "ComponentSize"
920
+ "name": "maxCount",
921
+ "description": "最大上传数量",
922
+ "type": "number"
1252
923
  },
1253
924
  {
1254
- "name": "checkedText",
1255
- "description": "选中时的文本",
1256
- "type": "string"
925
+ "name": "multiple",
926
+ "description": "是否支持选定的多张图片",
927
+ "type": "boolean"
1257
928
  },
1258
929
  {
1259
- "name": "unCheckedText",
1260
- "description": "非选中时的文本",
1261
- "type": "string"
930
+ "name": "limitSize",
931
+ "description": "上传大小限制(单位为 MB)",
932
+ "type": "number"
1262
933
  },
1263
934
  {
1264
- "name": "checkedIcon",
1265
- "description": "选中时的图标",
1266
- "attribute": false,
1267
- "type": "GeneralIconProps"
935
+ "name": "required",
936
+ "description": "是否必填",
937
+ "type": "boolean"
1268
938
  },
1269
939
  {
1270
- "name": "unCheckedIcon",
1271
- "description": "非选中时的文本",
940
+ "name": "message",
941
+ "description": "校验文本信息",
1272
942
  "attribute": false,
1273
- "type": "GeneralIconProps"
943
+ "type": "Record<string, string>"
1274
944
  }
1275
945
  ],
1276
946
  "events": [
1277
947
  {
1278
- "name": "switch",
1279
- "description": "开关改变时触发",
948
+ "name": "change",
949
+ "description": "值变化时触发",
1280
950
  "detail": {
1281
- "type": "boolean"
951
+ "type": "ImageData[]"
1282
952
  }
1283
953
  }
1284
954
  ],
1285
955
  "slots": [],
1286
956
  "methods": [],
1287
957
  "parts": [],
1288
- "description": "开关",
958
+ "description": "上传图片构件",
1289
959
  "category": "form-input-basic"
1290
960
  },
1291
961
  {
@@ -1569,6 +1239,336 @@
1569
1239
  "description": "时间选择器",
1570
1240
  "category": "form-input-basic"
1571
1241
  },
1242
+ {
1243
+ "name": "eo-form",
1244
+ "alias": [
1245
+ "form.general-form"
1246
+ ],
1247
+ "properties": [
1248
+ {
1249
+ "name": "staticValues",
1250
+ "attribute": false,
1251
+ "type": "Record<string, unknown>"
1252
+ },
1253
+ {
1254
+ "name": "layout",
1255
+ "description": "布局方式(默认 vertical 布局)",
1256
+ "default": "vertical",
1257
+ "type": "Layout"
1258
+ },
1259
+ {
1260
+ "name": "size",
1261
+ "description": "表单组件尺寸",
1262
+ "type": "ComponentSize"
1263
+ },
1264
+ {
1265
+ "name": "labelCol",
1266
+ "description": "标签列布局样式(仅当 layout=\"horizontal\" 时有效)",
1267
+ "default": "{\n sm: {\n span: 24,\n },\n md: {\n span: 24,\n },\n lg: {\n span: 7,\n },\n xl: {\n span: 5,\n },\n xxl: {\n span: 4,\n },\n }",
1268
+ "attribute": false,
1269
+ "type": "ColProps"
1270
+ },
1271
+ {
1272
+ "name": "wrapperCol",
1273
+ "description": "输入控件列布局样式(仅当 layout=\"horizontal\" 时有效)",
1274
+ "default": "{\n sm: {\n span: 18,\n },\n md: {\n span: 18,\n },\n lg: {\n span: 13,\n },\n xl: {\n span: 16,\n },\n xxl: {\n span: 18,\n },\n }",
1275
+ "attribute": false,
1276
+ "type": "ColProps"
1277
+ },
1278
+ {
1279
+ "name": "formStyle",
1280
+ "attribute": false,
1281
+ "type": "React.CSSProperties"
1282
+ },
1283
+ {
1284
+ "name": "textContent",
1285
+ "type": "string",
1286
+ "description": "文本内容"
1287
+ }
1288
+ ],
1289
+ "events": [
1290
+ {
1291
+ "name": "values.change",
1292
+ "description": "表单值变更事件",
1293
+ "detail": {
1294
+ "description": null,
1295
+ "type": "Record<string, unknown>"
1296
+ }
1297
+ },
1298
+ {
1299
+ "name": "validate.success",
1300
+ "description": "表单验证成功时触发事件",
1301
+ "detail": {
1302
+ "type": "Record<string, unknown>"
1303
+ }
1304
+ },
1305
+ {
1306
+ "name": "validate.error",
1307
+ "description": "表单验证报错时触发事件",
1308
+ "detail": {
1309
+ "type": "(MessageBody & { name: string })[]"
1310
+ }
1311
+ }
1312
+ ],
1313
+ "slots": [
1314
+ {
1315
+ "name": null,
1316
+ "description": "表单内容"
1317
+ }
1318
+ ],
1319
+ "methods": [
1320
+ {
1321
+ "name": "validate",
1322
+ "params": [],
1323
+ "description": "表单校验方法",
1324
+ "returns": {
1325
+ "type": "boolean | Record<string, unknown>"
1326
+ }
1327
+ },
1328
+ {
1329
+ "name": "setInitValue",
1330
+ "params": [
1331
+ {
1332
+ "name": "values",
1333
+ "type": "Record<string, unknown>"
1334
+ },
1335
+ {
1336
+ "name": "options",
1337
+ "type": "{ runInMacrotask?: boolean; runInMicrotask?: boolean }"
1338
+ }
1339
+ ],
1340
+ "description": "表单设置值方法",
1341
+ "returns": {}
1342
+ },
1343
+ {
1344
+ "name": "resetFields",
1345
+ "params": [
1346
+ {
1347
+ "name": "name",
1348
+ "type": "string"
1349
+ }
1350
+ ],
1351
+ "description": "表单重置值方法",
1352
+ "returns": {}
1353
+ },
1354
+ {
1355
+ "name": "getFieldsValue",
1356
+ "params": [
1357
+ {
1358
+ "name": "name",
1359
+ "type": "string"
1360
+ }
1361
+ ],
1362
+ "description": "获取表单值方法",
1363
+ "returns": {}
1364
+ },
1365
+ {
1366
+ "name": "validateField",
1367
+ "params": [
1368
+ {
1369
+ "name": "name",
1370
+ "type": "string"
1371
+ }
1372
+ ],
1373
+ "description": "校验表单字段方法",
1374
+ "returns": {}
1375
+ },
1376
+ {
1377
+ "name": "resetValidateState",
1378
+ "params": [],
1379
+ "description": "重置表单校验状态方法",
1380
+ "returns": {}
1381
+ }
1382
+ ],
1383
+ "parts": [],
1384
+ "description": "表单构件",
1385
+ "category": "form-input-basic"
1386
+ },
1387
+ {
1388
+ "name": "eo-input",
1389
+ "alias": [
1390
+ "form.general-input"
1391
+ ],
1392
+ "properties": [
1393
+ {
1394
+ "name": "name",
1395
+ "description": "字段名称",
1396
+ "type": "string"
1397
+ },
1398
+ {
1399
+ "name": "label",
1400
+ "description": "标签文字",
1401
+ "type": "string"
1402
+ },
1403
+ {
1404
+ "name": "required",
1405
+ "description": "是否必填",
1406
+ "type": "boolean"
1407
+ },
1408
+ {
1409
+ "name": "pattern",
1410
+ "description": "正则校验规则",
1411
+ "type": "string"
1412
+ },
1413
+ {
1414
+ "name": "max",
1415
+ "description": "表单校验最大长度(当 type 为 number 时,表示最大值)",
1416
+ "type": "number"
1417
+ },
1418
+ {
1419
+ "name": "min",
1420
+ "description": "表单校验最小长度(当 type 为 number 时,表示最小值)",
1421
+ "type": "number"
1422
+ },
1423
+ {
1424
+ "name": "message",
1425
+ "description": "错误时显示消息",
1426
+ "attribute": false,
1427
+ "type": "Record<string, string>"
1428
+ },
1429
+ {
1430
+ "name": "value",
1431
+ "description": "输入框值",
1432
+ "type": "string"
1433
+ },
1434
+ {
1435
+ "name": "placeholder",
1436
+ "description": "占位说明",
1437
+ "type": "string"
1438
+ },
1439
+ {
1440
+ "name": "disabled",
1441
+ "description": "是否禁用",
1442
+ "type": "boolean"
1443
+ },
1444
+ {
1445
+ "name": "readonly",
1446
+ "description": "是否只读",
1447
+ "type": "boolean"
1448
+ },
1449
+ {
1450
+ "name": "clearable",
1451
+ "description": "是否显示清除按钮",
1452
+ "type": "boolean"
1453
+ },
1454
+ {
1455
+ "name": "autoFocus",
1456
+ "description": "是否自动聚焦",
1457
+ "type": "boolean"
1458
+ },
1459
+ {
1460
+ "name": "type",
1461
+ "description": "类型",
1462
+ "default": "\"text\"",
1463
+ "type": "InputType"
1464
+ },
1465
+ {
1466
+ "name": "size",
1467
+ "description": "大小",
1468
+ "default": "\"medium\"",
1469
+ "type": "ComponentSize"
1470
+ },
1471
+ {
1472
+ "name": "minLength",
1473
+ "description": "最小长度",
1474
+ "type": "number"
1475
+ },
1476
+ {
1477
+ "name": "maxLength",
1478
+ "description": "最大长度(用户无法输入超过此最大长度的字符串)",
1479
+ "type": "number"
1480
+ },
1481
+ {
1482
+ "name": "inputStyle",
1483
+ "description": "输入框样式",
1484
+ "attribute": false,
1485
+ "type": "React.CSSProperties"
1486
+ },
1487
+ {
1488
+ "name": "validator",
1489
+ "description": "表单项校验方法",
1490
+ "attribute": false,
1491
+ "type": "((value: any) => MessageBody)"
1492
+ }
1493
+ ],
1494
+ "events": [
1495
+ {
1496
+ "name": "change",
1497
+ "description": "值改变事件",
1498
+ "detail": {
1499
+ "type": "string"
1500
+ }
1501
+ }
1502
+ ],
1503
+ "slots": [
1504
+ {
1505
+ "name": "addonBefore",
1506
+ "description": "输入框前置标签"
1507
+ },
1508
+ {
1509
+ "name": "addonAfter",
1510
+ "description": "输入框后置标签"
1511
+ },
1512
+ {
1513
+ "name": "prefix",
1514
+ "description": "输入框前缀图标"
1515
+ },
1516
+ {
1517
+ "name": "suffix",
1518
+ "description": "输入框后缀图标"
1519
+ }
1520
+ ],
1521
+ "methods": [
1522
+ {
1523
+ "name": "focusInput",
1524
+ "params": [],
1525
+ "description": "focus",
1526
+ "returns": {}
1527
+ },
1528
+ {
1529
+ "name": "blurInput",
1530
+ "params": [],
1531
+ "description": "blur",
1532
+ "returns": {}
1533
+ }
1534
+ ],
1535
+ "parts": [
1536
+ {
1537
+ "name": "addon-wrapper",
1538
+ "description": "包裹输入组件、前缀、后缀、前置和后置的容器"
1539
+ },
1540
+ {
1541
+ "name": "affix-wrapper",
1542
+ "description": "包裹输入组件、前缀和后缀的容器"
1543
+ },
1544
+ {
1545
+ "name": "input",
1546
+ "description": "输入组件"
1547
+ },
1548
+ {
1549
+ "name": "clear-icon",
1550
+ "description": "清除按钮"
1551
+ },
1552
+ {
1553
+ "name": "prefix",
1554
+ "description": "输入框前缀容器"
1555
+ },
1556
+ {
1557
+ "name": "suffix",
1558
+ "description": "输入框后缀容器"
1559
+ },
1560
+ {
1561
+ "name": "before-addon",
1562
+ "description": "输入框前置容器"
1563
+ },
1564
+ {
1565
+ "name": "after-addon",
1566
+ "description": "输入框后置容器"
1567
+ }
1568
+ ],
1569
+ "description": "通用输入框构件",
1570
+ "category": "form-input-basic"
1571
+ },
1572
1572
  {
1573
1573
  "name": "eo-date-picker",
1574
1574
  "properties": [