@next-bricks/form 1.20.6 → 1.20.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 +21 -21
- package/dist/chunks/2537.30a2cae8.js +2 -0
- package/dist/chunks/{2537.4a8642c2.js.map → 2537.30a2cae8.js.map} +1 -1
- package/dist/chunks/{main.5e9373c2.js → main.d16595c0.js} +2 -2
- package/dist/chunks/{main.5e9373c2.js.map → main.d16595c0.js.map} +1 -1
- package/dist/examples.json +8 -8
- package/dist/{index.244d1588.js → index.a4bd72e5.js} +2 -2
- package/dist/{index.244d1588.js.map → index.a4bd72e5.js.map} +1 -1
- package/dist/manifest.json +229 -229
- package/dist/types.json +1044 -1044
- package/package.json +2 -2
- package/dist/chunks/2537.4a8642c2.js +0 -2
package/dist/manifest.json
CHANGED
|
@@ -4,79 +4,83 @@
|
|
|
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
13
|
"name": "name",
|
|
14
|
-
"description": "
|
|
14
|
+
"description": "字段名称",
|
|
15
15
|
"type": "string"
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"name": "label",
|
|
19
|
-
"description": "
|
|
19
|
+
"description": "标签文字",
|
|
20
20
|
"type": "string"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
|
-
"name": "
|
|
24
|
-
"description": "
|
|
25
|
-
"
|
|
26
|
-
"attribute": false,
|
|
27
|
-
"type": "GeneralOption[]"
|
|
23
|
+
"name": "value",
|
|
24
|
+
"description": "值",
|
|
25
|
+
"type": "string"
|
|
28
26
|
},
|
|
29
27
|
{
|
|
30
|
-
"name": "
|
|
31
|
-
"description": "
|
|
32
|
-
"
|
|
33
|
-
"type": "any"
|
|
28
|
+
"name": "placeholder",
|
|
29
|
+
"description": "占位说明",
|
|
30
|
+
"type": "string"
|
|
34
31
|
},
|
|
35
32
|
{
|
|
36
|
-
"name": "
|
|
37
|
-
"description": "
|
|
33
|
+
"name": "disabled",
|
|
34
|
+
"description": "是否禁用",
|
|
38
35
|
"type": "boolean"
|
|
39
36
|
},
|
|
40
37
|
{
|
|
41
|
-
"name": "
|
|
42
|
-
"description": "
|
|
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": "大小自适应",
|
|
43
50
|
"attribute": false,
|
|
44
|
-
"type": "
|
|
51
|
+
"type": "AutoSize"
|
|
45
52
|
},
|
|
46
53
|
{
|
|
47
|
-
"name": "
|
|
48
|
-
"description": "
|
|
54
|
+
"name": "required",
|
|
55
|
+
"description": "是否必填",
|
|
49
56
|
"type": "boolean"
|
|
50
57
|
},
|
|
51
58
|
{
|
|
52
|
-
"name": "
|
|
53
|
-
"description": "
|
|
54
|
-
"
|
|
55
|
-
"type": "RadioType"
|
|
59
|
+
"name": "max",
|
|
60
|
+
"description": "表单校验最大长度",
|
|
61
|
+
"type": "number"
|
|
56
62
|
},
|
|
57
63
|
{
|
|
58
|
-
"name": "
|
|
59
|
-
"description": "
|
|
60
|
-
"
|
|
61
|
-
"type": "UIType"
|
|
64
|
+
"name": "min",
|
|
65
|
+
"description": "表单校验最小长度",
|
|
66
|
+
"type": "number"
|
|
62
67
|
},
|
|
63
68
|
{
|
|
64
|
-
"name": "
|
|
65
|
-
"description": "
|
|
66
|
-
"
|
|
67
|
-
"type": "
|
|
69
|
+
"name": "message",
|
|
70
|
+
"description": "校验信息",
|
|
71
|
+
"attribute": false,
|
|
72
|
+
"type": "Record<string, string>"
|
|
68
73
|
},
|
|
69
74
|
{
|
|
70
|
-
"name": "
|
|
71
|
-
"description": "
|
|
75
|
+
"name": "textareaStyle",
|
|
76
|
+
"description": "自定义样式",
|
|
72
77
|
"attribute": false,
|
|
73
78
|
"type": "React.CSSProperties"
|
|
74
79
|
},
|
|
75
80
|
{
|
|
76
|
-
"name": "
|
|
77
|
-
"description": "
|
|
78
|
-
"
|
|
79
|
-
"type": "UseSingleBrickConf"
|
|
81
|
+
"name": "variant",
|
|
82
|
+
"description": "变体\n\n- muted: 在 themeVariant 为 elevo 时可用,设置时输入框没有 box-shadow",
|
|
83
|
+
"type": "\"default\" | \"muted\""
|
|
80
84
|
},
|
|
81
85
|
{
|
|
82
86
|
"name": "themeVariant",
|
|
@@ -87,23 +91,24 @@
|
|
|
87
91
|
"events": [
|
|
88
92
|
{
|
|
89
93
|
"name": "change",
|
|
90
|
-
"description": "
|
|
91
|
-
"detail": {
|
|
92
|
-
"type": "GeneralComplexOption | undefined"
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"name": "options.change",
|
|
97
|
-
"description": "选项列表变化事件",
|
|
94
|
+
"description": "",
|
|
98
95
|
"detail": {
|
|
99
|
-
"
|
|
96
|
+
"description": null,
|
|
97
|
+
"type": "string"
|
|
100
98
|
}
|
|
101
99
|
}
|
|
102
100
|
],
|
|
103
101
|
"slots": [],
|
|
104
|
-
"methods": [
|
|
102
|
+
"methods": [
|
|
103
|
+
{
|
|
104
|
+
"name": "focusTextarea",
|
|
105
|
+
"params": [],
|
|
106
|
+
"description": "focus",
|
|
107
|
+
"returns": {}
|
|
108
|
+
}
|
|
109
|
+
],
|
|
105
110
|
"parts": [],
|
|
106
|
-
"description": "
|
|
111
|
+
"description": "通用多行文本输入框构件",
|
|
107
112
|
"category": "form-input-basic"
|
|
108
113
|
},
|
|
109
114
|
{
|
|
@@ -251,6 +256,109 @@
|
|
|
251
256
|
"description": "表单构件",
|
|
252
257
|
"category": "form-input-basic"
|
|
253
258
|
},
|
|
259
|
+
{
|
|
260
|
+
"name": "eo-radio",
|
|
261
|
+
"alias": [
|
|
262
|
+
"form.general-radio"
|
|
263
|
+
],
|
|
264
|
+
"properties": [
|
|
265
|
+
{
|
|
266
|
+
"name": "name",
|
|
267
|
+
"description": "下拉框字段名",
|
|
268
|
+
"type": "string"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"name": "label",
|
|
272
|
+
"description": "单选框字段说明",
|
|
273
|
+
"type": "string"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"name": "options",
|
|
277
|
+
"description": "单选框选项表",
|
|
278
|
+
"required": true,
|
|
279
|
+
"attribute": false,
|
|
280
|
+
"type": "GeneralOption[]"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"name": "value",
|
|
284
|
+
"description": "单选框当前选中始值",
|
|
285
|
+
"attribute": false,
|
|
286
|
+
"type": "any"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"name": "required",
|
|
290
|
+
"description": "是否必填",
|
|
291
|
+
"type": "boolean"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "message",
|
|
295
|
+
"description": "校验文本信息",
|
|
296
|
+
"attribute": false,
|
|
297
|
+
"type": "Record<string, string>"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"name": "disabled",
|
|
301
|
+
"description": "是否禁用",
|
|
302
|
+
"type": "boolean"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"name": "type",
|
|
306
|
+
"description": "单选框样式类型",
|
|
307
|
+
"default": "\"default\"",
|
|
308
|
+
"type": "RadioType"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"name": "ui",
|
|
312
|
+
"description": "UI样式",
|
|
313
|
+
"default": "\"default\"",
|
|
314
|
+
"type": "UIType"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"name": "size",
|
|
318
|
+
"description": "大小,只对按钮样式生效",
|
|
319
|
+
"default": "\"medium\"",
|
|
320
|
+
"type": "ComponentSize"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"name": "customStyle",
|
|
324
|
+
"description": "自定义radio的外层样式",
|
|
325
|
+
"attribute": false,
|
|
326
|
+
"type": "React.CSSProperties"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"name": "useBrick",
|
|
330
|
+
"description": "自定义radio的内容",
|
|
331
|
+
"attribute": false,
|
|
332
|
+
"type": "UseSingleBrickConf"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"name": "themeVariant",
|
|
336
|
+
"description": "主题变体",
|
|
337
|
+
"type": "\"default\" | \"elevo\""
|
|
338
|
+
}
|
|
339
|
+
],
|
|
340
|
+
"events": [
|
|
341
|
+
{
|
|
342
|
+
"name": "change",
|
|
343
|
+
"description": "值变化事件",
|
|
344
|
+
"detail": {
|
|
345
|
+
"type": "GeneralComplexOption | undefined"
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"name": "options.change",
|
|
350
|
+
"description": "选项列表变化事件",
|
|
351
|
+
"detail": {
|
|
352
|
+
"type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
],
|
|
356
|
+
"slots": [],
|
|
357
|
+
"methods": [],
|
|
358
|
+
"parts": [],
|
|
359
|
+
"description": "通用单选构件",
|
|
360
|
+
"category": "form-input-basic"
|
|
361
|
+
},
|
|
254
362
|
{
|
|
255
363
|
"name": "eo-select",
|
|
256
364
|
"alias": [
|
|
@@ -580,78 +688,6 @@
|
|
|
580
688
|
"description": "表单复选框构件",
|
|
581
689
|
"category": "form-input-basic"
|
|
582
690
|
},
|
|
583
|
-
{
|
|
584
|
-
"name": "eo-search",
|
|
585
|
-
"alias": [
|
|
586
|
-
"form.general-search"
|
|
587
|
-
],
|
|
588
|
-
"properties": [
|
|
589
|
-
{
|
|
590
|
-
"name": "value",
|
|
591
|
-
"description": "搜索框的值",
|
|
592
|
-
"default": "\"\"",
|
|
593
|
-
"type": "string"
|
|
594
|
-
},
|
|
595
|
-
{
|
|
596
|
-
"name": "placeholder",
|
|
597
|
-
"description": "提示语",
|
|
598
|
-
"type": "string"
|
|
599
|
-
},
|
|
600
|
-
{
|
|
601
|
-
"name": "autoFocus",
|
|
602
|
-
"description": "是否自动聚焦",
|
|
603
|
-
"type": "boolean"
|
|
604
|
-
},
|
|
605
|
-
{
|
|
606
|
-
"name": "clearable",
|
|
607
|
-
"description": "可以点击清除图标删除内容",
|
|
608
|
-
"type": "boolean"
|
|
609
|
-
},
|
|
610
|
-
{
|
|
611
|
-
"name": "trim",
|
|
612
|
-
"description": "是否剔除前后空格",
|
|
613
|
-
"type": "boolean"
|
|
614
|
-
},
|
|
615
|
-
{
|
|
616
|
-
"name": "debounceTime",
|
|
617
|
-
"description": "默认延迟时间",
|
|
618
|
-
"default": "0",
|
|
619
|
-
"type": "number"
|
|
620
|
-
},
|
|
621
|
-
{
|
|
622
|
-
"name": "inputStyle",
|
|
623
|
-
"description": "输入框样式",
|
|
624
|
-
"attribute": false,
|
|
625
|
-
"type": "CSSProperties"
|
|
626
|
-
},
|
|
627
|
-
{
|
|
628
|
-
"name": "themeVariant",
|
|
629
|
-
"description": "主题变体",
|
|
630
|
-
"type": "\"default\" | \"elevo\""
|
|
631
|
-
}
|
|
632
|
-
],
|
|
633
|
-
"events": [
|
|
634
|
-
{
|
|
635
|
-
"name": "change",
|
|
636
|
-
"description": "输入的搜索字符,输入变化时触发",
|
|
637
|
-
"detail": {
|
|
638
|
-
"type": "string"
|
|
639
|
-
}
|
|
640
|
-
},
|
|
641
|
-
{
|
|
642
|
-
"name": "search",
|
|
643
|
-
"description": "搜索时触发",
|
|
644
|
-
"detail": {
|
|
645
|
-
"type": "string"
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
],
|
|
649
|
-
"slots": [],
|
|
650
|
-
"methods": [],
|
|
651
|
-
"parts": [],
|
|
652
|
-
"description": "搜索框",
|
|
653
|
-
"category": "interact-basic"
|
|
654
|
-
},
|
|
655
691
|
{
|
|
656
692
|
"name": "eo-dynamic-form-item",
|
|
657
693
|
"alias": [
|
|
@@ -744,6 +780,78 @@
|
|
|
744
780
|
"description": "动态表单",
|
|
745
781
|
"category": "form-input-basic"
|
|
746
782
|
},
|
|
783
|
+
{
|
|
784
|
+
"name": "eo-search",
|
|
785
|
+
"alias": [
|
|
786
|
+
"form.general-search"
|
|
787
|
+
],
|
|
788
|
+
"properties": [
|
|
789
|
+
{
|
|
790
|
+
"name": "value",
|
|
791
|
+
"description": "搜索框的值",
|
|
792
|
+
"default": "\"\"",
|
|
793
|
+
"type": "string"
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
"name": "placeholder",
|
|
797
|
+
"description": "提示语",
|
|
798
|
+
"type": "string"
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
"name": "autoFocus",
|
|
802
|
+
"description": "是否自动聚焦",
|
|
803
|
+
"type": "boolean"
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
"name": "clearable",
|
|
807
|
+
"description": "可以点击清除图标删除内容",
|
|
808
|
+
"type": "boolean"
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
"name": "trim",
|
|
812
|
+
"description": "是否剔除前后空格",
|
|
813
|
+
"type": "boolean"
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
"name": "debounceTime",
|
|
817
|
+
"description": "默认延迟时间",
|
|
818
|
+
"default": "0",
|
|
819
|
+
"type": "number"
|
|
820
|
+
},
|
|
821
|
+
{
|
|
822
|
+
"name": "inputStyle",
|
|
823
|
+
"description": "输入框样式",
|
|
824
|
+
"attribute": false,
|
|
825
|
+
"type": "CSSProperties"
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
"name": "themeVariant",
|
|
829
|
+
"description": "主题变体",
|
|
830
|
+
"type": "\"default\" | \"elevo\""
|
|
831
|
+
}
|
|
832
|
+
],
|
|
833
|
+
"events": [
|
|
834
|
+
{
|
|
835
|
+
"name": "change",
|
|
836
|
+
"description": "输入的搜索字符,输入变化时触发",
|
|
837
|
+
"detail": {
|
|
838
|
+
"type": "string"
|
|
839
|
+
}
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
"name": "search",
|
|
843
|
+
"description": "搜索时触发",
|
|
844
|
+
"detail": {
|
|
845
|
+
"type": "string"
|
|
846
|
+
}
|
|
847
|
+
}
|
|
848
|
+
],
|
|
849
|
+
"slots": [],
|
|
850
|
+
"methods": [],
|
|
851
|
+
"parts": [],
|
|
852
|
+
"description": "搜索框",
|
|
853
|
+
"category": "interact-basic"
|
|
854
|
+
},
|
|
747
855
|
{
|
|
748
856
|
"name": "eo-icon-select",
|
|
749
857
|
"alias": [
|
|
@@ -1342,114 +1450,6 @@
|
|
|
1342
1450
|
"description": "日期选择器",
|
|
1343
1451
|
"category": "form-input-basic"
|
|
1344
1452
|
},
|
|
1345
|
-
{
|
|
1346
|
-
"name": "eo-textarea",
|
|
1347
|
-
"alias": [
|
|
1348
|
-
"form.general-textarea"
|
|
1349
|
-
],
|
|
1350
|
-
"properties": [
|
|
1351
|
-
{
|
|
1352
|
-
"name": "name",
|
|
1353
|
-
"description": "字段名称",
|
|
1354
|
-
"type": "string"
|
|
1355
|
-
},
|
|
1356
|
-
{
|
|
1357
|
-
"name": "label",
|
|
1358
|
-
"description": "标签文字",
|
|
1359
|
-
"type": "string"
|
|
1360
|
-
},
|
|
1361
|
-
{
|
|
1362
|
-
"name": "value",
|
|
1363
|
-
"description": "值",
|
|
1364
|
-
"type": "string"
|
|
1365
|
-
},
|
|
1366
|
-
{
|
|
1367
|
-
"name": "placeholder",
|
|
1368
|
-
"description": "占位说明",
|
|
1369
|
-
"type": "string"
|
|
1370
|
-
},
|
|
1371
|
-
{
|
|
1372
|
-
"name": "disabled",
|
|
1373
|
-
"description": "是否禁用",
|
|
1374
|
-
"type": "boolean"
|
|
1375
|
-
},
|
|
1376
|
-
{
|
|
1377
|
-
"name": "minLength",
|
|
1378
|
-
"description": "最小长度",
|
|
1379
|
-
"type": "number"
|
|
1380
|
-
},
|
|
1381
|
-
{
|
|
1382
|
-
"name": "maxLength",
|
|
1383
|
-
"description": "最大长度",
|
|
1384
|
-
"type": "number"
|
|
1385
|
-
},
|
|
1386
|
-
{
|
|
1387
|
-
"name": "autoSize",
|
|
1388
|
-
"description": "大小自适应",
|
|
1389
|
-
"attribute": false,
|
|
1390
|
-
"type": "AutoSize"
|
|
1391
|
-
},
|
|
1392
|
-
{
|
|
1393
|
-
"name": "required",
|
|
1394
|
-
"description": "是否必填",
|
|
1395
|
-
"type": "boolean"
|
|
1396
|
-
},
|
|
1397
|
-
{
|
|
1398
|
-
"name": "max",
|
|
1399
|
-
"description": "表单校验最大长度",
|
|
1400
|
-
"type": "number"
|
|
1401
|
-
},
|
|
1402
|
-
{
|
|
1403
|
-
"name": "min",
|
|
1404
|
-
"description": "表单校验最小长度",
|
|
1405
|
-
"type": "number"
|
|
1406
|
-
},
|
|
1407
|
-
{
|
|
1408
|
-
"name": "message",
|
|
1409
|
-
"description": "校验信息",
|
|
1410
|
-
"attribute": false,
|
|
1411
|
-
"type": "Record<string, string>"
|
|
1412
|
-
},
|
|
1413
|
-
{
|
|
1414
|
-
"name": "textareaStyle",
|
|
1415
|
-
"description": "自定义样式",
|
|
1416
|
-
"attribute": false,
|
|
1417
|
-
"type": "React.CSSProperties"
|
|
1418
|
-
},
|
|
1419
|
-
{
|
|
1420
|
-
"name": "variant",
|
|
1421
|
-
"description": "变体\n\n- muted: 在 themeVariant 为 elevo 时可用,设置时输入框没有 box-shadow",
|
|
1422
|
-
"type": "\"default\" | \"muted\""
|
|
1423
|
-
},
|
|
1424
|
-
{
|
|
1425
|
-
"name": "themeVariant",
|
|
1426
|
-
"description": "主题变体",
|
|
1427
|
-
"type": "\"default\" | \"elevo\""
|
|
1428
|
-
}
|
|
1429
|
-
],
|
|
1430
|
-
"events": [
|
|
1431
|
-
{
|
|
1432
|
-
"name": "change",
|
|
1433
|
-
"description": "",
|
|
1434
|
-
"detail": {
|
|
1435
|
-
"description": null,
|
|
1436
|
-
"type": "string"
|
|
1437
|
-
}
|
|
1438
|
-
}
|
|
1439
|
-
],
|
|
1440
|
-
"slots": [],
|
|
1441
|
-
"methods": [
|
|
1442
|
-
{
|
|
1443
|
-
"name": "focusTextarea",
|
|
1444
|
-
"params": [],
|
|
1445
|
-
"description": "focus",
|
|
1446
|
-
"returns": {}
|
|
1447
|
-
}
|
|
1448
|
-
],
|
|
1449
|
-
"parts": [],
|
|
1450
|
-
"description": "通用多行文本输入框构件",
|
|
1451
|
-
"category": "form-input-basic"
|
|
1452
|
-
},
|
|
1453
1453
|
{
|
|
1454
1454
|
"name": "eo-time-range-picker",
|
|
1455
1455
|
"properties": [
|