@next-bricks/form 1.18.0 → 1.18.2
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 +23 -23
- package/dist/chunks/{149.078cb835.js → 149.a3d472ef.js} +2 -2
- package/dist/chunks/{149.078cb835.js.map → 149.a3d472ef.js.map} +1 -1
- package/dist/chunks/{845.5c1c7113.js → 845.3aba1f56.js} +3 -3
- package/dist/chunks/845.3aba1f56.js.map +1 -0
- package/dist/chunks/{main.0df65298.js → main.30bbad6a.js} +2 -2
- package/dist/chunks/{main.0df65298.js.map → main.30bbad6a.js.map} +1 -1
- package/dist/examples.json +9 -9
- package/dist/{index.4b3ce1e1.js → index.e0fd7478.js} +2 -2
- package/dist/{index.4b3ce1e1.js.map → index.e0fd7478.js.map} +1 -1
- package/dist/manifest.json +284 -284
- package/dist/types.json +125 -125
- package/package.json +2 -2
- package/dist/chunks/845.5c1c7113.js.map +0 -1
- /package/dist/chunks/{845.5c1c7113.js.LICENSE.txt → 845.3aba1f56.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -4,148 +4,106 @@
|
|
|
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
|
{
|
|
13
|
-
"name": "
|
|
14
|
-
"
|
|
15
|
-
"type": "
|
|
13
|
+
"name": "name",
|
|
14
|
+
"description": "字段名称",
|
|
15
|
+
"type": "string"
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
|
-
"name": "
|
|
19
|
-
"description": "
|
|
20
|
-
"
|
|
21
|
-
"type": "Layout"
|
|
18
|
+
"name": "label",
|
|
19
|
+
"description": "标签文字",
|
|
20
|
+
"type": "string"
|
|
22
21
|
},
|
|
23
22
|
{
|
|
24
|
-
"name": "
|
|
25
|
-
"description": "
|
|
26
|
-
"type": "
|
|
23
|
+
"name": "value",
|
|
24
|
+
"description": "值",
|
|
25
|
+
"type": "string"
|
|
27
26
|
},
|
|
28
27
|
{
|
|
29
|
-
"name": "
|
|
30
|
-
"description": "
|
|
31
|
-
"
|
|
28
|
+
"name": "placeholder",
|
|
29
|
+
"description": "占位说明",
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "disabled",
|
|
34
|
+
"description": "是否禁用",
|
|
35
|
+
"type": "boolean"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "minLength",
|
|
39
|
+
"description": "最小长度",
|
|
40
|
+
"type": "number"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "maxLength",
|
|
44
|
+
"description": "最大长度",
|
|
45
|
+
"type": "number"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "autoSize",
|
|
49
|
+
"description": "大小自适应",
|
|
32
50
|
"attribute": false,
|
|
33
|
-
"type": "
|
|
51
|
+
"type": "AutoSize"
|
|
34
52
|
},
|
|
35
53
|
{
|
|
36
|
-
"name": "
|
|
37
|
-
"description": "
|
|
38
|
-
"
|
|
54
|
+
"name": "required",
|
|
55
|
+
"description": "是否必填",
|
|
56
|
+
"type": "boolean"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "max",
|
|
60
|
+
"description": "表单校验最大长度",
|
|
61
|
+
"type": "number"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "min",
|
|
65
|
+
"description": "表单校验最小长度",
|
|
66
|
+
"type": "number"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "message",
|
|
70
|
+
"description": "校验信息",
|
|
39
71
|
"attribute": false,
|
|
40
|
-
"type": "
|
|
72
|
+
"type": "Record<string, string>"
|
|
41
73
|
},
|
|
42
74
|
{
|
|
43
|
-
"name": "
|
|
75
|
+
"name": "textareaStyle",
|
|
76
|
+
"description": "自定义样式",
|
|
44
77
|
"attribute": false,
|
|
45
78
|
"type": "React.CSSProperties"
|
|
46
79
|
},
|
|
47
80
|
{
|
|
48
|
-
"name": "
|
|
49
|
-
"
|
|
50
|
-
"
|
|
81
|
+
"name": "themeVariant",
|
|
82
|
+
"description": "主题变体",
|
|
83
|
+
"type": "\"default\" | \"elevo\""
|
|
51
84
|
}
|
|
52
85
|
],
|
|
53
86
|
"events": [
|
|
54
87
|
{
|
|
55
|
-
"name": "
|
|
56
|
-
"description": "
|
|
88
|
+
"name": "change",
|
|
89
|
+
"description": "",
|
|
57
90
|
"detail": {
|
|
58
91
|
"description": null,
|
|
59
|
-
"type": "
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"name": "validate.success",
|
|
64
|
-
"description": "表单验证成功时触发事件",
|
|
65
|
-
"detail": {
|
|
66
|
-
"type": "Record<string, unknown>"
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"name": "validate.error",
|
|
71
|
-
"description": "表单验证报错时触发事件",
|
|
72
|
-
"detail": {
|
|
73
|
-
"type": "(MessageBody & { name: string })[]"
|
|
92
|
+
"type": "string"
|
|
74
93
|
}
|
|
75
94
|
}
|
|
76
95
|
],
|
|
77
|
-
"slots": [
|
|
78
|
-
{
|
|
79
|
-
"name": null,
|
|
80
|
-
"description": "表单内容"
|
|
81
|
-
}
|
|
82
|
-
],
|
|
96
|
+
"slots": [],
|
|
83
97
|
"methods": [
|
|
84
98
|
{
|
|
85
|
-
"name": "
|
|
86
|
-
"params": [],
|
|
87
|
-
"description": "表单校验方法",
|
|
88
|
-
"returns": {
|
|
89
|
-
"type": "boolean | Record<string, unknown>"
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"name": "setInitValue",
|
|
94
|
-
"params": [
|
|
95
|
-
{
|
|
96
|
-
"name": "values",
|
|
97
|
-
"type": "Record<string, unknown>"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"name": "options",
|
|
101
|
-
"type": "{ runInMacrotask?: boolean; runInMicrotask?: boolean }"
|
|
102
|
-
}
|
|
103
|
-
],
|
|
104
|
-
"description": "表单设置值方法",
|
|
105
|
-
"returns": {}
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"name": "resetFields",
|
|
109
|
-
"params": [
|
|
110
|
-
{
|
|
111
|
-
"name": "name",
|
|
112
|
-
"type": "string"
|
|
113
|
-
}
|
|
114
|
-
],
|
|
115
|
-
"description": "表单重置值方法",
|
|
116
|
-
"returns": {}
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
"name": "getFieldsValue",
|
|
120
|
-
"params": [
|
|
121
|
-
{
|
|
122
|
-
"name": "name",
|
|
123
|
-
"type": "string"
|
|
124
|
-
}
|
|
125
|
-
],
|
|
126
|
-
"description": "获取表单值方法",
|
|
127
|
-
"returns": {}
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
"name": "validateField",
|
|
131
|
-
"params": [
|
|
132
|
-
{
|
|
133
|
-
"name": "name",
|
|
134
|
-
"type": "string"
|
|
135
|
-
}
|
|
136
|
-
],
|
|
137
|
-
"description": "校验表单字段方法",
|
|
138
|
-
"returns": {}
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"name": "resetValidateState",
|
|
99
|
+
"name": "focusTextarea",
|
|
142
100
|
"params": [],
|
|
143
|
-
"description": "
|
|
101
|
+
"description": "focus",
|
|
144
102
|
"returns": {}
|
|
145
103
|
}
|
|
146
104
|
],
|
|
147
105
|
"parts": [],
|
|
148
|
-
"description": "
|
|
106
|
+
"description": "通用多行文本输入框构件",
|
|
149
107
|
"category": "form-input-basic"
|
|
150
108
|
},
|
|
151
109
|
{
|
|
@@ -252,106 +210,148 @@
|
|
|
252
210
|
"category": "form-input-basic"
|
|
253
211
|
},
|
|
254
212
|
{
|
|
255
|
-
"name": "eo-
|
|
213
|
+
"name": "eo-form",
|
|
256
214
|
"alias": [
|
|
257
|
-
"form.general-
|
|
215
|
+
"form.general-form"
|
|
258
216
|
],
|
|
259
217
|
"properties": [
|
|
260
218
|
{
|
|
261
|
-
"name": "
|
|
262
|
-
"
|
|
263
|
-
"type": "string"
|
|
219
|
+
"name": "staticValues",
|
|
220
|
+
"attribute": false,
|
|
221
|
+
"type": "Record<string, unknown>"
|
|
264
222
|
},
|
|
265
223
|
{
|
|
266
|
-
"name": "
|
|
267
|
-
"description": "
|
|
268
|
-
"
|
|
224
|
+
"name": "layout",
|
|
225
|
+
"description": "布局方式(默认 vertical 布局)",
|
|
226
|
+
"default": "vertical",
|
|
227
|
+
"type": "Layout"
|
|
269
228
|
},
|
|
270
229
|
{
|
|
271
|
-
"name": "
|
|
272
|
-
"description": "
|
|
273
|
-
"type": "
|
|
230
|
+
"name": "size",
|
|
231
|
+
"description": "表单组件尺寸",
|
|
232
|
+
"type": "ComponentSize"
|
|
274
233
|
},
|
|
275
234
|
{
|
|
276
|
-
"name": "
|
|
277
|
-
"description": "
|
|
278
|
-
"
|
|
235
|
+
"name": "labelCol",
|
|
236
|
+
"description": "标签列布局样式(仅当 layout=\"horizontal\" 时有效)",
|
|
237
|
+
"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 }",
|
|
238
|
+
"attribute": false,
|
|
239
|
+
"type": "ColProps"
|
|
279
240
|
},
|
|
280
241
|
{
|
|
281
|
-
"name": "
|
|
282
|
-
"description": "
|
|
283
|
-
"
|
|
242
|
+
"name": "wrapperCol",
|
|
243
|
+
"description": "输入控件列布局样式(仅当 layout=\"horizontal\" 时有效)",
|
|
244
|
+
"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 }",
|
|
245
|
+
"attribute": false,
|
|
246
|
+
"type": "ColProps"
|
|
284
247
|
},
|
|
285
248
|
{
|
|
286
|
-
"name": "
|
|
287
|
-
"
|
|
288
|
-
"type": "
|
|
249
|
+
"name": "formStyle",
|
|
250
|
+
"attribute": false,
|
|
251
|
+
"type": "React.CSSProperties"
|
|
289
252
|
},
|
|
290
253
|
{
|
|
291
|
-
"name": "
|
|
292
|
-
"
|
|
293
|
-
"
|
|
294
|
-
}
|
|
254
|
+
"name": "textContent",
|
|
255
|
+
"type": "string",
|
|
256
|
+
"description": "文本内容"
|
|
257
|
+
}
|
|
258
|
+
],
|
|
259
|
+
"events": [
|
|
295
260
|
{
|
|
296
|
-
"name": "
|
|
297
|
-
"description": "
|
|
298
|
-
"
|
|
299
|
-
|
|
261
|
+
"name": "values.change",
|
|
262
|
+
"description": "表单值变更事件",
|
|
263
|
+
"detail": {
|
|
264
|
+
"description": null,
|
|
265
|
+
"type": "Record<string, unknown>"
|
|
266
|
+
}
|
|
300
267
|
},
|
|
301
268
|
{
|
|
302
|
-
"name": "
|
|
303
|
-
"description": "
|
|
304
|
-
"
|
|
269
|
+
"name": "validate.success",
|
|
270
|
+
"description": "表单验证成功时触发事件",
|
|
271
|
+
"detail": {
|
|
272
|
+
"type": "Record<string, unknown>"
|
|
273
|
+
}
|
|
305
274
|
},
|
|
306
275
|
{
|
|
307
|
-
"name": "
|
|
308
|
-
"description": "
|
|
309
|
-
"
|
|
310
|
-
|
|
276
|
+
"name": "validate.error",
|
|
277
|
+
"description": "表单验证报错时触发事件",
|
|
278
|
+
"detail": {
|
|
279
|
+
"type": "(MessageBody & { name: string })[]"
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
],
|
|
283
|
+
"slots": [
|
|
311
284
|
{
|
|
312
|
-
"name":
|
|
313
|
-
"description": "
|
|
314
|
-
|
|
285
|
+
"name": null,
|
|
286
|
+
"description": "表单内容"
|
|
287
|
+
}
|
|
288
|
+
],
|
|
289
|
+
"methods": [
|
|
290
|
+
{
|
|
291
|
+
"name": "validate",
|
|
292
|
+
"params": [],
|
|
293
|
+
"description": "表单校验方法",
|
|
294
|
+
"returns": {
|
|
295
|
+
"type": "boolean | Record<string, unknown>"
|
|
296
|
+
}
|
|
315
297
|
},
|
|
316
298
|
{
|
|
317
|
-
"name": "
|
|
318
|
-
"
|
|
319
|
-
|
|
320
|
-
|
|
299
|
+
"name": "setInitValue",
|
|
300
|
+
"params": [
|
|
301
|
+
{
|
|
302
|
+
"name": "values",
|
|
303
|
+
"type": "Record<string, unknown>"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"name": "options",
|
|
307
|
+
"type": "{ runInMacrotask?: boolean; runInMicrotask?: boolean }"
|
|
308
|
+
}
|
|
309
|
+
],
|
|
310
|
+
"description": "表单设置值方法",
|
|
311
|
+
"returns": {}
|
|
321
312
|
},
|
|
322
313
|
{
|
|
323
|
-
"name": "
|
|
324
|
-
"
|
|
325
|
-
|
|
326
|
-
|
|
314
|
+
"name": "resetFields",
|
|
315
|
+
"params": [
|
|
316
|
+
{
|
|
317
|
+
"name": "name",
|
|
318
|
+
"type": "string"
|
|
319
|
+
}
|
|
320
|
+
],
|
|
321
|
+
"description": "表单重置值方法",
|
|
322
|
+
"returns": {}
|
|
327
323
|
},
|
|
328
324
|
{
|
|
329
|
-
"name": "
|
|
330
|
-
"
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
325
|
+
"name": "getFieldsValue",
|
|
326
|
+
"params": [
|
|
327
|
+
{
|
|
328
|
+
"name": "name",
|
|
329
|
+
"type": "string"
|
|
330
|
+
}
|
|
331
|
+
],
|
|
332
|
+
"description": "获取表单值方法",
|
|
333
|
+
"returns": {}
|
|
334
|
+
},
|
|
335
335
|
{
|
|
336
|
-
"name": "
|
|
337
|
-
"
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
336
|
+
"name": "validateField",
|
|
337
|
+
"params": [
|
|
338
|
+
{
|
|
339
|
+
"name": "name",
|
|
340
|
+
"type": "string"
|
|
341
|
+
}
|
|
342
|
+
],
|
|
343
|
+
"description": "校验表单字段方法",
|
|
344
|
+
"returns": {}
|
|
345
|
+
},
|
|
346
346
|
{
|
|
347
|
-
"name": "
|
|
347
|
+
"name": "resetValidateState",
|
|
348
348
|
"params": [],
|
|
349
|
-
"description": "
|
|
349
|
+
"description": "重置表单校验状态方法",
|
|
350
350
|
"returns": {}
|
|
351
351
|
}
|
|
352
352
|
],
|
|
353
353
|
"parts": [],
|
|
354
|
-
"description": "
|
|
354
|
+
"description": "表单构件",
|
|
355
355
|
"category": "form-input-basic"
|
|
356
356
|
},
|
|
357
357
|
{
|
|
@@ -970,6 +970,80 @@
|
|
|
970
970
|
"description": "上传图片构件",
|
|
971
971
|
"category": "form-input-basic"
|
|
972
972
|
},
|
|
973
|
+
{
|
|
974
|
+
"name": "eo-switch",
|
|
975
|
+
"alias": [
|
|
976
|
+
"form.general-switch"
|
|
977
|
+
],
|
|
978
|
+
"properties": [
|
|
979
|
+
{
|
|
980
|
+
"name": "name",
|
|
981
|
+
"description": "字段名称",
|
|
982
|
+
"type": "string"
|
|
983
|
+
},
|
|
984
|
+
{
|
|
985
|
+
"name": "label",
|
|
986
|
+
"description": "字段文本",
|
|
987
|
+
"type": "string"
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
"name": "value",
|
|
991
|
+
"description": "初始值",
|
|
992
|
+
"type": "boolean"
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
"name": "disabled",
|
|
996
|
+
"description": "是否禁用",
|
|
997
|
+
"type": "boolean"
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
"name": "size",
|
|
1001
|
+
"description": "按钮大小,目前只支持small和非small两种大小。",
|
|
1002
|
+
"type": "ComponentSize"
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
"name": "checkedText",
|
|
1006
|
+
"description": "选中时的文本",
|
|
1007
|
+
"type": "string"
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
"name": "unCheckedText",
|
|
1011
|
+
"description": "非选中时的文本",
|
|
1012
|
+
"type": "string"
|
|
1013
|
+
},
|
|
1014
|
+
{
|
|
1015
|
+
"name": "checkedIcon",
|
|
1016
|
+
"description": "选中时的图标",
|
|
1017
|
+
"attribute": false,
|
|
1018
|
+
"type": "GeneralIconProps"
|
|
1019
|
+
},
|
|
1020
|
+
{
|
|
1021
|
+
"name": "unCheckedIcon",
|
|
1022
|
+
"description": "非选中时的文本",
|
|
1023
|
+
"attribute": false,
|
|
1024
|
+
"type": "GeneralIconProps"
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
"name": "themeVariant",
|
|
1028
|
+
"description": "主题变体",
|
|
1029
|
+
"type": "\"default\" | \"elevo\""
|
|
1030
|
+
}
|
|
1031
|
+
],
|
|
1032
|
+
"events": [
|
|
1033
|
+
{
|
|
1034
|
+
"name": "switch",
|
|
1035
|
+
"description": "开关改变时触发",
|
|
1036
|
+
"detail": {
|
|
1037
|
+
"type": "boolean"
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
],
|
|
1041
|
+
"slots": [],
|
|
1042
|
+
"methods": [],
|
|
1043
|
+
"parts": [],
|
|
1044
|
+
"description": "开关",
|
|
1045
|
+
"category": "form-input-basic"
|
|
1046
|
+
},
|
|
973
1047
|
{
|
|
974
1048
|
"name": "eo-upload-file",
|
|
975
1049
|
"properties": [
|
|
@@ -1177,77 +1251,78 @@
|
|
|
1177
1251
|
"category": "form-input-basic"
|
|
1178
1252
|
},
|
|
1179
1253
|
{
|
|
1180
|
-
"name": "eo-
|
|
1181
|
-
"alias": [
|
|
1182
|
-
"form.general-switch"
|
|
1183
|
-
],
|
|
1254
|
+
"name": "eo-time-picker",
|
|
1184
1255
|
"properties": [
|
|
1185
1256
|
{
|
|
1186
1257
|
"name": "name",
|
|
1187
|
-
"description": "
|
|
1258
|
+
"description": "时间选择器字段名",
|
|
1188
1259
|
"type": "string"
|
|
1189
1260
|
},
|
|
1190
1261
|
{
|
|
1191
1262
|
"name": "label",
|
|
1192
|
-
"description": "
|
|
1263
|
+
"description": "时间选择器说明",
|
|
1193
1264
|
"type": "string"
|
|
1194
1265
|
},
|
|
1195
1266
|
{
|
|
1196
1267
|
"name": "value",
|
|
1197
|
-
"description": "
|
|
1198
|
-
"type": "boolean"
|
|
1199
|
-
},
|
|
1200
|
-
{
|
|
1201
|
-
"name": "disabled",
|
|
1202
|
-
"description": "是否禁用",
|
|
1203
|
-
"type": "boolean"
|
|
1204
|
-
},
|
|
1205
|
-
{
|
|
1206
|
-
"name": "size",
|
|
1207
|
-
"description": "按钮大小,目前只支持small和非small两种大小。",
|
|
1208
|
-
"type": "ComponentSize"
|
|
1209
|
-
},
|
|
1210
|
-
{
|
|
1211
|
-
"name": "checkedText",
|
|
1212
|
-
"description": "选中时的文本",
|
|
1268
|
+
"description": "时间选择器的初始值",
|
|
1213
1269
|
"type": "string"
|
|
1214
1270
|
},
|
|
1215
1271
|
{
|
|
1216
|
-
"name": "
|
|
1217
|
-
"description": "
|
|
1272
|
+
"name": "placeholder",
|
|
1273
|
+
"description": "时间选择器占位说明",
|
|
1218
1274
|
"type": "string"
|
|
1219
1275
|
},
|
|
1220
1276
|
{
|
|
1221
|
-
"name": "
|
|
1222
|
-
"description": "
|
|
1277
|
+
"name": "message",
|
|
1278
|
+
"description": "校验文本信息",
|
|
1223
1279
|
"attribute": false,
|
|
1224
|
-
"type": "
|
|
1280
|
+
"type": "Record<string, string>"
|
|
1225
1281
|
},
|
|
1226
1282
|
{
|
|
1227
|
-
"name": "
|
|
1228
|
-
"description": "
|
|
1229
|
-
"
|
|
1230
|
-
"type": "GeneralIconProps"
|
|
1283
|
+
"name": "disabled",
|
|
1284
|
+
"description": "是否禁用",
|
|
1285
|
+
"type": "boolean"
|
|
1231
1286
|
},
|
|
1232
1287
|
{
|
|
1233
|
-
"name": "
|
|
1234
|
-
"description": "
|
|
1235
|
-
"type": "
|
|
1288
|
+
"name": "required",
|
|
1289
|
+
"description": "是否必填",
|
|
1290
|
+
"type": "boolean"
|
|
1291
|
+
},
|
|
1292
|
+
{
|
|
1293
|
+
"name": "configProps",
|
|
1294
|
+
"description": "透传 antd timePicker 属性 [timePickerProps](https://ant.design/components/time-picker-cn)",
|
|
1295
|
+
"attribute": false,
|
|
1296
|
+
"type": "Partial<TimePickerProps>"
|
|
1236
1297
|
}
|
|
1237
1298
|
],
|
|
1238
1299
|
"events": [
|
|
1239
1300
|
{
|
|
1240
|
-
"name": "
|
|
1241
|
-
"description": "
|
|
1301
|
+
"name": "change",
|
|
1302
|
+
"description": "时间变化时触发",
|
|
1242
1303
|
"detail": {
|
|
1243
|
-
"type": "
|
|
1304
|
+
"type": "string"
|
|
1305
|
+
}
|
|
1306
|
+
},
|
|
1307
|
+
{
|
|
1308
|
+
"name": "open",
|
|
1309
|
+
"description": "面板打开时触发, 传出当前时间值",
|
|
1310
|
+
"detail": {
|
|
1311
|
+
"type": "string"
|
|
1312
|
+
}
|
|
1313
|
+
},
|
|
1314
|
+
{
|
|
1315
|
+
"name": "close",
|
|
1316
|
+
"description": "面板关闭时触发,传出当前时间值",
|
|
1317
|
+
"detail": {
|
|
1318
|
+
"type": "string"
|
|
1244
1319
|
}
|
|
1245
1320
|
}
|
|
1246
1321
|
],
|
|
1247
1322
|
"slots": [],
|
|
1248
1323
|
"methods": [],
|
|
1249
1324
|
"parts": [],
|
|
1250
|
-
"description": "
|
|
1325
|
+
"description": "时间选择器",
|
|
1251
1326
|
"category": "form-input-basic"
|
|
1252
1327
|
},
|
|
1253
1328
|
{
|
|
@@ -1350,81 +1425,6 @@
|
|
|
1350
1425
|
"description": "日期选择器",
|
|
1351
1426
|
"category": "form-input-basic"
|
|
1352
1427
|
},
|
|
1353
|
-
{
|
|
1354
|
-
"name": "eo-time-picker",
|
|
1355
|
-
"properties": [
|
|
1356
|
-
{
|
|
1357
|
-
"name": "name",
|
|
1358
|
-
"description": "时间选择器字段名",
|
|
1359
|
-
"type": "string"
|
|
1360
|
-
},
|
|
1361
|
-
{
|
|
1362
|
-
"name": "label",
|
|
1363
|
-
"description": "时间选择器说明",
|
|
1364
|
-
"type": "string"
|
|
1365
|
-
},
|
|
1366
|
-
{
|
|
1367
|
-
"name": "value",
|
|
1368
|
-
"description": "时间选择器的初始值",
|
|
1369
|
-
"type": "string"
|
|
1370
|
-
},
|
|
1371
|
-
{
|
|
1372
|
-
"name": "placeholder",
|
|
1373
|
-
"description": "时间选择器占位说明",
|
|
1374
|
-
"type": "string"
|
|
1375
|
-
},
|
|
1376
|
-
{
|
|
1377
|
-
"name": "message",
|
|
1378
|
-
"description": "校验文本信息",
|
|
1379
|
-
"attribute": false,
|
|
1380
|
-
"type": "Record<string, string>"
|
|
1381
|
-
},
|
|
1382
|
-
{
|
|
1383
|
-
"name": "disabled",
|
|
1384
|
-
"description": "是否禁用",
|
|
1385
|
-
"type": "boolean"
|
|
1386
|
-
},
|
|
1387
|
-
{
|
|
1388
|
-
"name": "required",
|
|
1389
|
-
"description": "是否必填",
|
|
1390
|
-
"type": "boolean"
|
|
1391
|
-
},
|
|
1392
|
-
{
|
|
1393
|
-
"name": "configProps",
|
|
1394
|
-
"description": "透传 antd timePicker 属性 [timePickerProps](https://ant.design/components/time-picker-cn)",
|
|
1395
|
-
"attribute": false,
|
|
1396
|
-
"type": "Partial<TimePickerProps>"
|
|
1397
|
-
}
|
|
1398
|
-
],
|
|
1399
|
-
"events": [
|
|
1400
|
-
{
|
|
1401
|
-
"name": "change",
|
|
1402
|
-
"description": "时间变化时触发",
|
|
1403
|
-
"detail": {
|
|
1404
|
-
"type": "string"
|
|
1405
|
-
}
|
|
1406
|
-
},
|
|
1407
|
-
{
|
|
1408
|
-
"name": "open",
|
|
1409
|
-
"description": "面板打开时触发, 传出当前时间值",
|
|
1410
|
-
"detail": {
|
|
1411
|
-
"type": "string"
|
|
1412
|
-
}
|
|
1413
|
-
},
|
|
1414
|
-
{
|
|
1415
|
-
"name": "close",
|
|
1416
|
-
"description": "面板关闭时触发,传出当前时间值",
|
|
1417
|
-
"detail": {
|
|
1418
|
-
"type": "string"
|
|
1419
|
-
}
|
|
1420
|
-
}
|
|
1421
|
-
],
|
|
1422
|
-
"slots": [],
|
|
1423
|
-
"methods": [],
|
|
1424
|
-
"parts": [],
|
|
1425
|
-
"description": "时间选择器",
|
|
1426
|
-
"category": "form-input-basic"
|
|
1427
|
-
},
|
|
1428
1428
|
{
|
|
1429
1429
|
"name": "eo-time-range-picker",
|
|
1430
1430
|
"properties": [
|