@next-bricks/form 1.17.2 → 1.18.0
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 +21 -21
- package/dist/chunks/{149.459d0576.js → 149.078cb835.js} +2 -2
- package/dist/chunks/149.078cb835.js.map +1 -0
- package/dist/chunks/{1889.c9dd439d.js → 1889.d5b15f1a.js} +2 -2
- package/dist/chunks/1889.d5b15f1a.js.map +1 -0
- package/dist/chunks/8653.b8216d4a.js +3 -0
- package/dist/chunks/8653.b8216d4a.js.map +1 -0
- package/dist/chunks/9140.5ac37209.js +3 -0
- package/dist/chunks/9140.5ac37209.js.map +1 -0
- package/dist/chunks/{eo-auto-complete.7c8dee36.js → eo-auto-complete.20415c2d.js} +3 -3
- package/dist/chunks/{eo-auto-complete.7c8dee36.js.map → eo-auto-complete.20415c2d.js.map} +1 -1
- package/dist/chunks/eo-checkbox.dd3b8c61.js +2 -0
- package/dist/chunks/eo-checkbox.dd3b8c61.js.map +1 -0
- package/dist/chunks/{eo-color-picker.55b7bc41.js → eo-color-picker.21cb5401.js} +2 -2
- package/dist/chunks/{eo-color-picker.55b7bc41.js.map → eo-color-picker.21cb5401.js.map} +1 -1
- package/dist/chunks/{eo-date-picker.0801fd5d.js → eo-date-picker.1fb3a0b3.js} +2 -2
- package/dist/chunks/{eo-date-picker.0801fd5d.js.map → eo-date-picker.1fb3a0b3.js.map} +1 -1
- package/dist/chunks/{eo-dynamic-form-item.6319e814.js → eo-dynamic-form-item.0ddfa065.js} +3 -3
- package/dist/chunks/{eo-dynamic-form-item.6319e814.js.map → eo-dynamic-form-item.0ddfa065.js.map} +1 -1
- package/dist/chunks/{eo-icon-select.b1fd38eb.js → eo-icon-select.16d666d2.js} +3 -3
- package/dist/chunks/{eo-icon-select.b1fd38eb.js.map → eo-icon-select.16d666d2.js.map} +1 -1
- package/dist/chunks/eo-radio.417cf227.js +3 -0
- package/dist/chunks/eo-radio.417cf227.js.map +1 -0
- package/dist/chunks/eo-search.8602cdb2.js +2 -0
- package/dist/chunks/eo-search.8602cdb2.js.map +1 -0
- package/dist/chunks/eo-select.8501dea3.js +3 -0
- package/dist/chunks/eo-select.8501dea3.js.map +1 -0
- package/dist/chunks/eo-submit-buttons.b157163b.js +2 -0
- package/dist/chunks/eo-submit-buttons.b157163b.js.map +1 -0
- package/dist/chunks/eo-switch.82d0c187.js +3 -0
- package/dist/chunks/eo-switch.82d0c187.js.map +1 -0
- package/dist/chunks/eo-textarea.71d35c0c.js +3 -0
- package/dist/chunks/eo-textarea.71d35c0c.js.map +1 -0
- package/dist/chunks/{eo-time-picker.7caf14ff.js → eo-time-picker.ce03b4c8.js} +2 -2
- package/dist/chunks/{eo-time-picker.7caf14ff.js.map → eo-time-picker.ce03b4c8.js.map} +1 -1
- package/dist/chunks/{eo-time-range-picker.1451d7c3.js → eo-time-range-picker.565fd761.js} +2 -2
- package/dist/chunks/{eo-time-range-picker.1451d7c3.js.map → eo-time-range-picker.565fd761.js.map} +1 -1
- package/dist/chunks/{eo-upload-file.06ecd613.js → eo-upload-file.ca63c789.js} +3 -3
- package/dist/chunks/{eo-upload-file.06ecd613.js.map → eo-upload-file.ca63c789.js.map} +1 -1
- package/dist/chunks/{eo-upload-image.ffbbcc2d.js → eo-upload-image.41f37ca5.js} +3 -3
- package/dist/chunks/{eo-upload-image.ffbbcc2d.js.map → eo-upload-image.41f37ca5.js.map} +1 -1
- package/dist/chunks/{main.2f45236f.js → main.0df65298.js} +2 -2
- package/dist/chunks/{main.2f45236f.js.map → main.0df65298.js.map} +1 -1
- package/dist/chunks/{react.5495de1e.js → react.82a189e7.js} +2 -2
- package/dist/examples.json +9 -9
- package/dist/{index.7494d1d2.js → index.4b3ce1e1.js} +2 -2
- package/dist/{index.7494d1d2.js.map → index.4b3ce1e1.js.map} +1 -1
- package/dist/manifest.json +246 -206
- package/dist/types.json +128 -0
- package/dist-types/checkbox/index.d.ts +3 -0
- package/dist-types/general-switch/index.d.ts +3 -0
- package/dist-types/input/index.d.ts +3 -0
- package/dist-types/radio/index.d.ts +3 -0
- package/dist-types/search/index.d.ts +3 -0
- package/dist-types/select/index.d.ts +3 -0
- package/dist-types/submit-buttons/index.d.ts +3 -0
- package/dist-types/textarea/index.d.ts +5 -0
- package/docs/eo-form.md +82 -0
- package/package.json +2 -2
- package/dist/chunks/149.459d0576.js.map +0 -1
- package/dist/chunks/1889.c9dd439d.js.map +0 -1
- package/dist/chunks/8653.5cee08e0.js +0 -3
- package/dist/chunks/8653.5cee08e0.js.map +0 -1
- package/dist/chunks/9140.d88e9251.js +0 -3
- package/dist/chunks/9140.d88e9251.js.map +0 -1
- package/dist/chunks/eo-checkbox.e3e477e5.js +0 -2
- package/dist/chunks/eo-checkbox.e3e477e5.js.map +0 -1
- package/dist/chunks/eo-radio.ebaad92e.js +0 -3
- package/dist/chunks/eo-radio.ebaad92e.js.map +0 -1
- package/dist/chunks/eo-search.87c8e1f5.js +0 -2
- package/dist/chunks/eo-search.87c8e1f5.js.map +0 -1
- package/dist/chunks/eo-select.25114f81.js +0 -3
- package/dist/chunks/eo-select.25114f81.js.map +0 -1
- package/dist/chunks/eo-submit-buttons.ba70daab.js +0 -2
- package/dist/chunks/eo-submit-buttons.ba70daab.js.map +0 -1
- package/dist/chunks/eo-switch.2e8ac18d.js +0 -3
- package/dist/chunks/eo-switch.2e8ac18d.js.map +0 -1
- package/dist/chunks/eo-textarea.52bf3f29.js +0 -3
- package/dist/chunks/eo-textarea.52bf3f29.js.map +0 -1
- /package/dist/chunks/{8653.5cee08e0.js.LICENSE.txt → 8653.b8216d4a.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{9140.d88e9251.js.LICENSE.txt → 9140.5ac37209.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-auto-complete.7c8dee36.js.LICENSE.txt → eo-auto-complete.20415c2d.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-dynamic-form-item.6319e814.js.LICENSE.txt → eo-dynamic-form-item.0ddfa065.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-icon-select.b1fd38eb.js.LICENSE.txt → eo-icon-select.16d666d2.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-radio.ebaad92e.js.LICENSE.txt → eo-radio.417cf227.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-select.25114f81.js.LICENSE.txt → eo-select.8501dea3.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-switch.2e8ac18d.js.LICENSE.txt → eo-switch.82d0c187.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-textarea.52bf3f29.js.LICENSE.txt → eo-textarea.71d35c0c.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-upload-file.06ecd613.js.LICENSE.txt → eo-upload-file.ca63c789.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-upload-image.ffbbcc2d.js.LICENSE.txt → eo-upload-image.41f37ca5.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{react.5495de1e.js.LICENSE.txt → react.82a189e7.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -3,104 +3,6 @@
|
|
|
3
3
|
"package": "@next-bricks/form",
|
|
4
4
|
"name": "form",
|
|
5
5
|
"bricks": [
|
|
6
|
-
{
|
|
7
|
-
"name": "eo-textarea",
|
|
8
|
-
"alias": [
|
|
9
|
-
"form.general-textarea"
|
|
10
|
-
],
|
|
11
|
-
"properties": [
|
|
12
|
-
{
|
|
13
|
-
"name": "name",
|
|
14
|
-
"description": "字段名称",
|
|
15
|
-
"type": "string"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"name": "label",
|
|
19
|
-
"description": "标签文字",
|
|
20
|
-
"type": "string"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"name": "value",
|
|
24
|
-
"description": "值",
|
|
25
|
-
"type": "string"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"name": "placeholder",
|
|
29
|
-
"description": "占位说明",
|
|
30
|
-
"type": "string"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"name": "disabled",
|
|
34
|
-
"description": "是否禁用",
|
|
35
|
-
"type": "boolean"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"name": "minLength",
|
|
39
|
-
"description": "最小长度",
|
|
40
|
-
"type": "number"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"name": "maxLength",
|
|
44
|
-
"description": "最大长度",
|
|
45
|
-
"type": "number"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"name": "autoSize",
|
|
49
|
-
"description": "大小自适应",
|
|
50
|
-
"attribute": false,
|
|
51
|
-
"type": "AutoSize"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"name": "required",
|
|
55
|
-
"description": "是否必填",
|
|
56
|
-
"type": "boolean"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"name": "max",
|
|
60
|
-
"description": "表单校验最大长度",
|
|
61
|
-
"type": "number"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"name": "min",
|
|
65
|
-
"description": "表单校验最小长度",
|
|
66
|
-
"type": "number"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"name": "message",
|
|
70
|
-
"description": "校验信息",
|
|
71
|
-
"attribute": false,
|
|
72
|
-
"type": "Record<string, string>"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"name": "textareaStyle",
|
|
76
|
-
"description": "自定义样式",
|
|
77
|
-
"attribute": false,
|
|
78
|
-
"type": "React.CSSProperties"
|
|
79
|
-
}
|
|
80
|
-
],
|
|
81
|
-
"events": [
|
|
82
|
-
{
|
|
83
|
-
"name": "change",
|
|
84
|
-
"description": "",
|
|
85
|
-
"detail": {
|
|
86
|
-
"description": null,
|
|
87
|
-
"type": "string"
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
],
|
|
91
|
-
"slots": [],
|
|
92
|
-
"methods": [
|
|
93
|
-
{
|
|
94
|
-
"name": "focusTextarea",
|
|
95
|
-
"params": [],
|
|
96
|
-
"description": "focus",
|
|
97
|
-
"returns": {}
|
|
98
|
-
}
|
|
99
|
-
],
|
|
100
|
-
"parts": [],
|
|
101
|
-
"description": "通用多行文本输入框构件",
|
|
102
|
-
"category": "form-input-basic"
|
|
103
|
-
},
|
|
104
6
|
{
|
|
105
7
|
"name": "eo-form",
|
|
106
8
|
"alias": [
|
|
@@ -320,6 +222,11 @@
|
|
|
320
222
|
"description": "自定义radio的内容",
|
|
321
223
|
"attribute": false,
|
|
322
224
|
"type": "UseSingleBrickConf"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"name": "themeVariant",
|
|
228
|
+
"description": "主题变体",
|
|
229
|
+
"type": "\"default\" | \"elevo\""
|
|
323
230
|
}
|
|
324
231
|
],
|
|
325
232
|
"events": [
|
|
@@ -344,6 +251,109 @@
|
|
|
344
251
|
"description": "通用单选构件",
|
|
345
252
|
"category": "form-input-basic"
|
|
346
253
|
},
|
|
254
|
+
{
|
|
255
|
+
"name": "eo-textarea",
|
|
256
|
+
"alias": [
|
|
257
|
+
"form.general-textarea"
|
|
258
|
+
],
|
|
259
|
+
"properties": [
|
|
260
|
+
{
|
|
261
|
+
"name": "name",
|
|
262
|
+
"description": "字段名称",
|
|
263
|
+
"type": "string"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"name": "label",
|
|
267
|
+
"description": "标签文字",
|
|
268
|
+
"type": "string"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"name": "value",
|
|
272
|
+
"description": "值",
|
|
273
|
+
"type": "string"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"name": "placeholder",
|
|
277
|
+
"description": "占位说明",
|
|
278
|
+
"type": "string"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"name": "disabled",
|
|
282
|
+
"description": "是否禁用",
|
|
283
|
+
"type": "boolean"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"name": "minLength",
|
|
287
|
+
"description": "最小长度",
|
|
288
|
+
"type": "number"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"name": "maxLength",
|
|
292
|
+
"description": "最大长度",
|
|
293
|
+
"type": "number"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"name": "autoSize",
|
|
297
|
+
"description": "大小自适应",
|
|
298
|
+
"attribute": false,
|
|
299
|
+
"type": "AutoSize"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"name": "required",
|
|
303
|
+
"description": "是否必填",
|
|
304
|
+
"type": "boolean"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"name": "max",
|
|
308
|
+
"description": "表单校验最大长度",
|
|
309
|
+
"type": "number"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"name": "min",
|
|
313
|
+
"description": "表单校验最小长度",
|
|
314
|
+
"type": "number"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"name": "message",
|
|
318
|
+
"description": "校验信息",
|
|
319
|
+
"attribute": false,
|
|
320
|
+
"type": "Record<string, string>"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"name": "textareaStyle",
|
|
324
|
+
"description": "自定义样式",
|
|
325
|
+
"attribute": false,
|
|
326
|
+
"type": "React.CSSProperties"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"name": "themeVariant",
|
|
330
|
+
"description": "主题变体",
|
|
331
|
+
"type": "\"default\" | \"elevo\""
|
|
332
|
+
}
|
|
333
|
+
],
|
|
334
|
+
"events": [
|
|
335
|
+
{
|
|
336
|
+
"name": "change",
|
|
337
|
+
"description": "",
|
|
338
|
+
"detail": {
|
|
339
|
+
"description": null,
|
|
340
|
+
"type": "string"
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
],
|
|
344
|
+
"slots": [],
|
|
345
|
+
"methods": [
|
|
346
|
+
{
|
|
347
|
+
"name": "focusTextarea",
|
|
348
|
+
"params": [],
|
|
349
|
+
"description": "focus",
|
|
350
|
+
"returns": {}
|
|
351
|
+
}
|
|
352
|
+
],
|
|
353
|
+
"parts": [],
|
|
354
|
+
"description": "通用多行文本输入框构件",
|
|
355
|
+
"category": "form-input-basic"
|
|
356
|
+
},
|
|
347
357
|
{
|
|
348
358
|
"name": "eo-select",
|
|
349
359
|
"alias": [
|
|
@@ -460,6 +470,11 @@
|
|
|
460
470
|
"name": "dropdownHoist",
|
|
461
471
|
"description": "下拉框是否使用固定定位防止内容被裁切",
|
|
462
472
|
"type": "boolean"
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"name": "themeVariant",
|
|
476
|
+
"description": "主题变体",
|
|
477
|
+
"type": "\"default\" | \"elevo\""
|
|
463
478
|
}
|
|
464
479
|
],
|
|
465
480
|
"events": [
|
|
@@ -542,6 +557,11 @@
|
|
|
542
557
|
"name": "cancelType",
|
|
543
558
|
"description": "取消按钮类型",
|
|
544
559
|
"type": "ButtonType"
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"name": "themeVariant",
|
|
563
|
+
"description": "主题变体",
|
|
564
|
+
"type": "\"default\" | \"elevo\""
|
|
545
565
|
}
|
|
546
566
|
],
|
|
547
567
|
"events": [
|
|
@@ -634,6 +654,11 @@
|
|
|
634
654
|
"description": "多选框选项分组数据,需要设置 isGroup 为 true 才生效",
|
|
635
655
|
"attribute": false,
|
|
636
656
|
"type": "OptionGroup[]"
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
"name": "themeVariant",
|
|
660
|
+
"description": "主题变体",
|
|
661
|
+
"type": "\"default\" | \"elevo\""
|
|
637
662
|
}
|
|
638
663
|
],
|
|
639
664
|
"events": [
|
|
@@ -793,6 +818,11 @@
|
|
|
793
818
|
"description": "输入框样式",
|
|
794
819
|
"attribute": false,
|
|
795
820
|
"type": "CSSProperties"
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
"name": "themeVariant",
|
|
824
|
+
"description": "主题变体",
|
|
825
|
+
"type": "\"default\" | \"elevo\""
|
|
796
826
|
}
|
|
797
827
|
],
|
|
798
828
|
"events": [
|
|
@@ -940,75 +970,6 @@
|
|
|
940
970
|
"description": "上传图片构件",
|
|
941
971
|
"category": "form-input-basic"
|
|
942
972
|
},
|
|
943
|
-
{
|
|
944
|
-
"name": "eo-switch",
|
|
945
|
-
"alias": [
|
|
946
|
-
"form.general-switch"
|
|
947
|
-
],
|
|
948
|
-
"properties": [
|
|
949
|
-
{
|
|
950
|
-
"name": "name",
|
|
951
|
-
"description": "字段名称",
|
|
952
|
-
"type": "string"
|
|
953
|
-
},
|
|
954
|
-
{
|
|
955
|
-
"name": "label",
|
|
956
|
-
"description": "字段文本",
|
|
957
|
-
"type": "string"
|
|
958
|
-
},
|
|
959
|
-
{
|
|
960
|
-
"name": "value",
|
|
961
|
-
"description": "初始值",
|
|
962
|
-
"type": "boolean"
|
|
963
|
-
},
|
|
964
|
-
{
|
|
965
|
-
"name": "disabled",
|
|
966
|
-
"description": "是否禁用",
|
|
967
|
-
"type": "boolean"
|
|
968
|
-
},
|
|
969
|
-
{
|
|
970
|
-
"name": "size",
|
|
971
|
-
"description": "按钮大小,目前只支持small和非small两种大小。",
|
|
972
|
-
"type": "ComponentSize"
|
|
973
|
-
},
|
|
974
|
-
{
|
|
975
|
-
"name": "checkedText",
|
|
976
|
-
"description": "选中时的文本",
|
|
977
|
-
"type": "string"
|
|
978
|
-
},
|
|
979
|
-
{
|
|
980
|
-
"name": "unCheckedText",
|
|
981
|
-
"description": "非选中时的文本",
|
|
982
|
-
"type": "string"
|
|
983
|
-
},
|
|
984
|
-
{
|
|
985
|
-
"name": "checkedIcon",
|
|
986
|
-
"description": "选中时的图标",
|
|
987
|
-
"attribute": false,
|
|
988
|
-
"type": "GeneralIconProps"
|
|
989
|
-
},
|
|
990
|
-
{
|
|
991
|
-
"name": "unCheckedIcon",
|
|
992
|
-
"description": "非选中时的文本",
|
|
993
|
-
"attribute": false,
|
|
994
|
-
"type": "GeneralIconProps"
|
|
995
|
-
}
|
|
996
|
-
],
|
|
997
|
-
"events": [
|
|
998
|
-
{
|
|
999
|
-
"name": "switch",
|
|
1000
|
-
"description": "开关改变时触发",
|
|
1001
|
-
"detail": {
|
|
1002
|
-
"type": "boolean"
|
|
1003
|
-
}
|
|
1004
|
-
}
|
|
1005
|
-
],
|
|
1006
|
-
"slots": [],
|
|
1007
|
-
"methods": [],
|
|
1008
|
-
"parts": [],
|
|
1009
|
-
"description": "开关",
|
|
1010
|
-
"category": "form-input-basic"
|
|
1011
|
-
},
|
|
1012
973
|
{
|
|
1013
974
|
"name": "eo-upload-file",
|
|
1014
975
|
"properties": [
|
|
@@ -1216,78 +1177,77 @@
|
|
|
1216
1177
|
"category": "form-input-basic"
|
|
1217
1178
|
},
|
|
1218
1179
|
{
|
|
1219
|
-
"name": "eo-
|
|
1180
|
+
"name": "eo-switch",
|
|
1181
|
+
"alias": [
|
|
1182
|
+
"form.general-switch"
|
|
1183
|
+
],
|
|
1220
1184
|
"properties": [
|
|
1221
1185
|
{
|
|
1222
1186
|
"name": "name",
|
|
1223
|
-
"description": "
|
|
1187
|
+
"description": "字段名称",
|
|
1224
1188
|
"type": "string"
|
|
1225
1189
|
},
|
|
1226
1190
|
{
|
|
1227
1191
|
"name": "label",
|
|
1228
|
-
"description": "
|
|
1192
|
+
"description": "字段文本",
|
|
1229
1193
|
"type": "string"
|
|
1230
1194
|
},
|
|
1231
1195
|
{
|
|
1232
1196
|
"name": "value",
|
|
1233
|
-
"description": "
|
|
1234
|
-
"type": "
|
|
1197
|
+
"description": "初始值",
|
|
1198
|
+
"type": "boolean"
|
|
1235
1199
|
},
|
|
1236
1200
|
{
|
|
1237
|
-
"name": "
|
|
1238
|
-
"description": "
|
|
1239
|
-
"type": "
|
|
1201
|
+
"name": "disabled",
|
|
1202
|
+
"description": "是否禁用",
|
|
1203
|
+
"type": "boolean"
|
|
1240
1204
|
},
|
|
1241
1205
|
{
|
|
1242
|
-
"name": "
|
|
1243
|
-
"description": "
|
|
1244
|
-
"
|
|
1245
|
-
"type": "Record<string, string>"
|
|
1206
|
+
"name": "size",
|
|
1207
|
+
"description": "按钮大小,目前只支持small和非small两种大小。",
|
|
1208
|
+
"type": "ComponentSize"
|
|
1246
1209
|
},
|
|
1247
1210
|
{
|
|
1248
|
-
"name": "
|
|
1249
|
-
"description": "
|
|
1250
|
-
"type": "
|
|
1211
|
+
"name": "checkedText",
|
|
1212
|
+
"description": "选中时的文本",
|
|
1213
|
+
"type": "string"
|
|
1251
1214
|
},
|
|
1252
1215
|
{
|
|
1253
|
-
"name": "
|
|
1254
|
-
"description": "
|
|
1255
|
-
"type": "
|
|
1216
|
+
"name": "unCheckedText",
|
|
1217
|
+
"description": "非选中时的文本",
|
|
1218
|
+
"type": "string"
|
|
1256
1219
|
},
|
|
1257
1220
|
{
|
|
1258
|
-
"name": "
|
|
1259
|
-
"description": "
|
|
1221
|
+
"name": "checkedIcon",
|
|
1222
|
+
"description": "选中时的图标",
|
|
1260
1223
|
"attribute": false,
|
|
1261
|
-
"type": "
|
|
1262
|
-
}
|
|
1263
|
-
],
|
|
1264
|
-
"events": [
|
|
1265
|
-
{
|
|
1266
|
-
"name": "change",
|
|
1267
|
-
"description": "时间变化时触发",
|
|
1268
|
-
"detail": {
|
|
1269
|
-
"type": "string"
|
|
1270
|
-
}
|
|
1224
|
+
"type": "GeneralIconProps"
|
|
1271
1225
|
},
|
|
1272
1226
|
{
|
|
1273
|
-
"name": "
|
|
1274
|
-
"description": "
|
|
1275
|
-
"
|
|
1276
|
-
|
|
1277
|
-
}
|
|
1227
|
+
"name": "unCheckedIcon",
|
|
1228
|
+
"description": "非选中时的文本",
|
|
1229
|
+
"attribute": false,
|
|
1230
|
+
"type": "GeneralIconProps"
|
|
1278
1231
|
},
|
|
1279
1232
|
{
|
|
1280
|
-
"name": "
|
|
1281
|
-
"description": "
|
|
1233
|
+
"name": "themeVariant",
|
|
1234
|
+
"description": "主题变体",
|
|
1235
|
+
"type": "\"default\" | \"elevo\""
|
|
1236
|
+
}
|
|
1237
|
+
],
|
|
1238
|
+
"events": [
|
|
1239
|
+
{
|
|
1240
|
+
"name": "switch",
|
|
1241
|
+
"description": "开关改变时触发",
|
|
1282
1242
|
"detail": {
|
|
1283
|
-
"type": "
|
|
1243
|
+
"type": "boolean"
|
|
1284
1244
|
}
|
|
1285
1245
|
}
|
|
1286
1246
|
],
|
|
1287
1247
|
"slots": [],
|
|
1288
1248
|
"methods": [],
|
|
1289
1249
|
"parts": [],
|
|
1290
|
-
"description": "
|
|
1250
|
+
"description": "开关",
|
|
1291
1251
|
"category": "form-input-basic"
|
|
1292
1252
|
},
|
|
1293
1253
|
{
|
|
@@ -1390,6 +1350,81 @@
|
|
|
1390
1350
|
"description": "日期选择器",
|
|
1391
1351
|
"category": "form-input-basic"
|
|
1392
1352
|
},
|
|
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
|
+
},
|
|
1393
1428
|
{
|
|
1394
1429
|
"name": "eo-time-range-picker",
|
|
1395
1430
|
"properties": [
|
|
@@ -1758,6 +1793,11 @@
|
|
|
1758
1793
|
"attribute": false,
|
|
1759
1794
|
"type": "React.CSSProperties"
|
|
1760
1795
|
},
|
|
1796
|
+
{
|
|
1797
|
+
"name": "themeVariant",
|
|
1798
|
+
"description": "主题变体",
|
|
1799
|
+
"type": "\"default\" | \"elevo\""
|
|
1800
|
+
},
|
|
1761
1801
|
{
|
|
1762
1802
|
"name": "validator",
|
|
1763
1803
|
"description": "表单项校验方法",
|