@next-bricks/form 1.15.17 → 1.15.18
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 +37 -37
- package/dist/chunks/{5347.e2aed5bb.js → 5347.062653c6.js} +3 -3
- package/dist/chunks/{5347.e2aed5bb.js.map → 5347.062653c6.js.map} +1 -1
- package/dist/chunks/{eo-color-picker.5d90dd14.js → eo-color-picker.ddddea8e.js} +2 -2
- package/dist/chunks/{eo-color-picker.5d90dd14.js.map → eo-color-picker.ddddea8e.js.map} +1 -1
- package/dist/chunks/{main.025109f3.js → main.8f0c9874.js} +2 -2
- package/dist/chunks/{main.025109f3.js.map → main.8f0c9874.js.map} +1 -1
- package/dist/examples.json +9 -9
- package/dist/index.02c0692b.js +2 -0
- package/dist/{index.0709d264.js.map → index.02c0692b.js.map} +1 -1
- package/dist/manifest.json +352 -352
- package/dist/types.json +345 -345
- package/package.json +2 -2
- package/dist/index.0709d264.js +0 -2
- /package/dist/chunks/{5347.e2aed5bb.js.LICENSE.txt → 5347.062653c6.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-radio",
|
|
106
8
|
"alias": [
|
|
@@ -492,6 +394,164 @@
|
|
|
492
394
|
"description": "表单构件",
|
|
493
395
|
"category": "form-input-basic"
|
|
494
396
|
},
|
|
397
|
+
{
|
|
398
|
+
"name": "eo-submit-buttons",
|
|
399
|
+
"alias": [
|
|
400
|
+
"form.submit-buttons"
|
|
401
|
+
],
|
|
402
|
+
"properties": [
|
|
403
|
+
{
|
|
404
|
+
"name": "submitText",
|
|
405
|
+
"description": "提交按钮的文字",
|
|
406
|
+
"default": "\"提交\"",
|
|
407
|
+
"type": "string"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"name": "cancelText",
|
|
411
|
+
"description": "取消按钮的文字,不设置则不显示取消按钮",
|
|
412
|
+
"type": "string"
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"name": "disableAfterClick",
|
|
416
|
+
"description": "点击确定按钮后自动禁用",
|
|
417
|
+
"type": "boolean"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"name": "submitDisabled",
|
|
421
|
+
"description": "禁用提交按钮",
|
|
422
|
+
"type": "boolean"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"name": "submitType",
|
|
426
|
+
"description": "提交按钮类型",
|
|
427
|
+
"type": "ButtonType"
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"name": "cancelType",
|
|
431
|
+
"description": "取消按钮类型",
|
|
432
|
+
"type": "ButtonType"
|
|
433
|
+
}
|
|
434
|
+
],
|
|
435
|
+
"events": [
|
|
436
|
+
{
|
|
437
|
+
"name": "submit",
|
|
438
|
+
"description": "点击提交按钮触发的事件",
|
|
439
|
+
"detail": {
|
|
440
|
+
"type": "void"
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"name": "cancel",
|
|
445
|
+
"description": "点击取消按钮触发的事件",
|
|
446
|
+
"detail": {
|
|
447
|
+
"type": "void"
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
],
|
|
451
|
+
"slots": [],
|
|
452
|
+
"methods": [],
|
|
453
|
+
"parts": [],
|
|
454
|
+
"description": "表单提交按钮",
|
|
455
|
+
"category": "form-input-basic"
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"name": "eo-textarea",
|
|
459
|
+
"alias": [
|
|
460
|
+
"form.general-textarea"
|
|
461
|
+
],
|
|
462
|
+
"properties": [
|
|
463
|
+
{
|
|
464
|
+
"name": "name",
|
|
465
|
+
"description": "字段名称",
|
|
466
|
+
"type": "string"
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"name": "label",
|
|
470
|
+
"description": "标签文字",
|
|
471
|
+
"type": "string"
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"name": "value",
|
|
475
|
+
"description": "值",
|
|
476
|
+
"type": "string"
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"name": "placeholder",
|
|
480
|
+
"description": "占位说明",
|
|
481
|
+
"type": "string"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"name": "disabled",
|
|
485
|
+
"description": "是否禁用",
|
|
486
|
+
"type": "boolean"
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"name": "minLength",
|
|
490
|
+
"description": "最小长度",
|
|
491
|
+
"type": "number"
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
"name": "maxLength",
|
|
495
|
+
"description": "最大长度",
|
|
496
|
+
"type": "number"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"name": "autoSize",
|
|
500
|
+
"description": "大小自适应",
|
|
501
|
+
"attribute": false,
|
|
502
|
+
"type": "AutoSize"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"name": "required",
|
|
506
|
+
"description": "是否必填",
|
|
507
|
+
"type": "boolean"
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"name": "max",
|
|
511
|
+
"description": "表单校验最大长度",
|
|
512
|
+
"type": "number"
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"name": "min",
|
|
516
|
+
"description": "表单校验最小长度",
|
|
517
|
+
"type": "number"
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"name": "message",
|
|
521
|
+
"description": "校验信息",
|
|
522
|
+
"attribute": false,
|
|
523
|
+
"type": "Record<string, string>"
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"name": "textareaStyle",
|
|
527
|
+
"description": "自定义样式",
|
|
528
|
+
"attribute": false,
|
|
529
|
+
"type": "React.CSSProperties"
|
|
530
|
+
}
|
|
531
|
+
],
|
|
532
|
+
"events": [
|
|
533
|
+
{
|
|
534
|
+
"name": "change",
|
|
535
|
+
"description": "",
|
|
536
|
+
"detail": {
|
|
537
|
+
"description": null,
|
|
538
|
+
"type": "string"
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
],
|
|
542
|
+
"slots": [],
|
|
543
|
+
"methods": [
|
|
544
|
+
{
|
|
545
|
+
"name": "focusTextarea",
|
|
546
|
+
"params": [],
|
|
547
|
+
"description": "focus",
|
|
548
|
+
"returns": {}
|
|
549
|
+
}
|
|
550
|
+
],
|
|
551
|
+
"parts": [],
|
|
552
|
+
"description": "通用多行文本输入框构件",
|
|
553
|
+
"category": "form-input-basic"
|
|
554
|
+
},
|
|
495
555
|
{
|
|
496
556
|
"name": "eo-checkbox",
|
|
497
557
|
"alias": [
|
|
@@ -584,66 +644,6 @@
|
|
|
584
644
|
"description": "表单复选框构件",
|
|
585
645
|
"category": "form-input-basic"
|
|
586
646
|
},
|
|
587
|
-
{
|
|
588
|
-
"name": "eo-submit-buttons",
|
|
589
|
-
"alias": [
|
|
590
|
-
"form.submit-buttons"
|
|
591
|
-
],
|
|
592
|
-
"properties": [
|
|
593
|
-
{
|
|
594
|
-
"name": "submitText",
|
|
595
|
-
"description": "提交按钮的文字",
|
|
596
|
-
"default": "\"提交\"",
|
|
597
|
-
"type": "string"
|
|
598
|
-
},
|
|
599
|
-
{
|
|
600
|
-
"name": "cancelText",
|
|
601
|
-
"description": "取消按钮的文字,不设置则不显示取消按钮",
|
|
602
|
-
"type": "string"
|
|
603
|
-
},
|
|
604
|
-
{
|
|
605
|
-
"name": "disableAfterClick",
|
|
606
|
-
"description": "点击确定按钮后自动禁用",
|
|
607
|
-
"type": "boolean"
|
|
608
|
-
},
|
|
609
|
-
{
|
|
610
|
-
"name": "submitDisabled",
|
|
611
|
-
"description": "禁用提交按钮",
|
|
612
|
-
"type": "boolean"
|
|
613
|
-
},
|
|
614
|
-
{
|
|
615
|
-
"name": "submitType",
|
|
616
|
-
"description": "提交按钮类型",
|
|
617
|
-
"type": "ButtonType"
|
|
618
|
-
},
|
|
619
|
-
{
|
|
620
|
-
"name": "cancelType",
|
|
621
|
-
"description": "取消按钮类型",
|
|
622
|
-
"type": "ButtonType"
|
|
623
|
-
}
|
|
624
|
-
],
|
|
625
|
-
"events": [
|
|
626
|
-
{
|
|
627
|
-
"name": "submit",
|
|
628
|
-
"description": "点击提交按钮触发的事件",
|
|
629
|
-
"detail": {
|
|
630
|
-
"type": "void"
|
|
631
|
-
}
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
"name": "cancel",
|
|
635
|
-
"description": "点击取消按钮触发的事件",
|
|
636
|
-
"detail": {
|
|
637
|
-
"type": "void"
|
|
638
|
-
}
|
|
639
|
-
}
|
|
640
|
-
],
|
|
641
|
-
"slots": [],
|
|
642
|
-
"methods": [],
|
|
643
|
-
"parts": [],
|
|
644
|
-
"description": "表单提交按钮",
|
|
645
|
-
"category": "form-input-basic"
|
|
646
|
-
},
|
|
647
647
|
{
|
|
648
648
|
"name": "eo-dynamic-form-item",
|
|
649
649
|
"alias": [
|
|
@@ -857,75 +857,6 @@
|
|
|
857
857
|
"description": "图标选择构件",
|
|
858
858
|
"category": "form-input-basic"
|
|
859
859
|
},
|
|
860
|
-
{
|
|
861
|
-
"name": "eo-upload-image",
|
|
862
|
-
"alias": [
|
|
863
|
-
"form.upload-image"
|
|
864
|
-
],
|
|
865
|
-
"properties": [
|
|
866
|
-
{
|
|
867
|
-
"name": "name",
|
|
868
|
-
"description": "字段名称",
|
|
869
|
-
"type": "string"
|
|
870
|
-
},
|
|
871
|
-
{
|
|
872
|
-
"name": "label",
|
|
873
|
-
"description": "字段说明",
|
|
874
|
-
"type": "string"
|
|
875
|
-
},
|
|
876
|
-
{
|
|
877
|
-
"name": "value",
|
|
878
|
-
"description": "值",
|
|
879
|
-
"attribute": false,
|
|
880
|
-
"type": "ImageData[]"
|
|
881
|
-
},
|
|
882
|
-
{
|
|
883
|
-
"name": "bucketName",
|
|
884
|
-
"description": "对象存储桶名字",
|
|
885
|
-
"type": "string"
|
|
886
|
-
},
|
|
887
|
-
{
|
|
888
|
-
"name": "maxCount",
|
|
889
|
-
"description": "最大上传数量",
|
|
890
|
-
"type": "number"
|
|
891
|
-
},
|
|
892
|
-
{
|
|
893
|
-
"name": "multiple",
|
|
894
|
-
"description": "是否支持选定的多张图片",
|
|
895
|
-
"type": "boolean"
|
|
896
|
-
},
|
|
897
|
-
{
|
|
898
|
-
"name": "limitSize",
|
|
899
|
-
"description": "上传大小限制(单位为 MB)",
|
|
900
|
-
"type": "number"
|
|
901
|
-
},
|
|
902
|
-
{
|
|
903
|
-
"name": "required",
|
|
904
|
-
"description": "是否必填",
|
|
905
|
-
"type": "boolean"
|
|
906
|
-
},
|
|
907
|
-
{
|
|
908
|
-
"name": "message",
|
|
909
|
-
"description": "校验文本信息",
|
|
910
|
-
"attribute": false,
|
|
911
|
-
"type": "Record<string, string>"
|
|
912
|
-
}
|
|
913
|
-
],
|
|
914
|
-
"events": [
|
|
915
|
-
{
|
|
916
|
-
"name": "change",
|
|
917
|
-
"description": "值变化时触发",
|
|
918
|
-
"detail": {
|
|
919
|
-
"type": "ImageData[]"
|
|
920
|
-
}
|
|
921
|
-
}
|
|
922
|
-
],
|
|
923
|
-
"slots": [],
|
|
924
|
-
"methods": [],
|
|
925
|
-
"parts": [],
|
|
926
|
-
"description": "上传图片构件",
|
|
927
|
-
"category": "form-input-basic"
|
|
928
|
-
},
|
|
929
860
|
{
|
|
930
861
|
"name": "eo-switch",
|
|
931
862
|
"alias": [
|
|
@@ -1157,27 +1088,96 @@
|
|
|
1157
1088
|
"type": "string"
|
|
1158
1089
|
},
|
|
1159
1090
|
{
|
|
1160
|
-
"name": "options",
|
|
1161
|
-
"description": "选项列表",
|
|
1162
|
-
"required": true,
|
|
1163
|
-
"attribute": false,
|
|
1164
|
-
"type": "string[] | OptionType[]"
|
|
1091
|
+
"name": "options",
|
|
1092
|
+
"description": "选项列表",
|
|
1093
|
+
"required": true,
|
|
1094
|
+
"attribute": false,
|
|
1095
|
+
"type": "string[] | OptionType[]"
|
|
1096
|
+
},
|
|
1097
|
+
{
|
|
1098
|
+
"name": "filterByCaption",
|
|
1099
|
+
"description": "搜索时是否根据caption过滤options",
|
|
1100
|
+
"type": "boolean"
|
|
1101
|
+
},
|
|
1102
|
+
{
|
|
1103
|
+
"name": "validator",
|
|
1104
|
+
"description": "表单项校验方法",
|
|
1105
|
+
"attribute": false,
|
|
1106
|
+
"type": "((value: any) => MessageBody)"
|
|
1107
|
+
},
|
|
1108
|
+
{
|
|
1109
|
+
"name": "pattern",
|
|
1110
|
+
"description": "正则校验规则",
|
|
1111
|
+
"type": "string"
|
|
1112
|
+
},
|
|
1113
|
+
{
|
|
1114
|
+
"name": "message",
|
|
1115
|
+
"description": "校验文本信息",
|
|
1116
|
+
"attribute": false,
|
|
1117
|
+
"type": "Record<string, string>"
|
|
1118
|
+
}
|
|
1119
|
+
],
|
|
1120
|
+
"events": [
|
|
1121
|
+
{
|
|
1122
|
+
"name": "change",
|
|
1123
|
+
"description": "值改变事件",
|
|
1124
|
+
"detail": {
|
|
1125
|
+
"type": "string"
|
|
1126
|
+
}
|
|
1127
|
+
}
|
|
1128
|
+
],
|
|
1129
|
+
"slots": [],
|
|
1130
|
+
"methods": [],
|
|
1131
|
+
"parts": [],
|
|
1132
|
+
"description": "带候选项的输入框",
|
|
1133
|
+
"category": "form-input-basic"
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
"name": "eo-upload-image",
|
|
1137
|
+
"alias": [
|
|
1138
|
+
"form.upload-image"
|
|
1139
|
+
],
|
|
1140
|
+
"properties": [
|
|
1141
|
+
{
|
|
1142
|
+
"name": "name",
|
|
1143
|
+
"description": "字段名称",
|
|
1144
|
+
"type": "string"
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
"name": "label",
|
|
1148
|
+
"description": "字段说明",
|
|
1149
|
+
"type": "string"
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
"name": "value",
|
|
1153
|
+
"description": "值",
|
|
1154
|
+
"attribute": false,
|
|
1155
|
+
"type": "ImageData[]"
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
"name": "bucketName",
|
|
1159
|
+
"description": "对象存储桶名字",
|
|
1160
|
+
"type": "string"
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
"name": "maxCount",
|
|
1164
|
+
"description": "最大上传数量",
|
|
1165
|
+
"type": "number"
|
|
1165
1166
|
},
|
|
1166
1167
|
{
|
|
1167
|
-
"name": "
|
|
1168
|
-
"description": "
|
|
1168
|
+
"name": "multiple",
|
|
1169
|
+
"description": "是否支持选定的多张图片",
|
|
1169
1170
|
"type": "boolean"
|
|
1170
1171
|
},
|
|
1171
1172
|
{
|
|
1172
|
-
"name": "
|
|
1173
|
-
"description": "
|
|
1174
|
-
"
|
|
1175
|
-
"type": "((value: any) => MessageBody)"
|
|
1173
|
+
"name": "limitSize",
|
|
1174
|
+
"description": "上传大小限制(单位为 MB)",
|
|
1175
|
+
"type": "number"
|
|
1176
1176
|
},
|
|
1177
1177
|
{
|
|
1178
|
-
"name": "
|
|
1179
|
-
"description": "
|
|
1180
|
-
"type": "
|
|
1178
|
+
"name": "required",
|
|
1179
|
+
"description": "是否必填",
|
|
1180
|
+
"type": "boolean"
|
|
1181
1181
|
},
|
|
1182
1182
|
{
|
|
1183
1183
|
"name": "message",
|
|
@@ -1189,16 +1189,16 @@
|
|
|
1189
1189
|
"events": [
|
|
1190
1190
|
{
|
|
1191
1191
|
"name": "change",
|
|
1192
|
-
"description": "
|
|
1192
|
+
"description": "值变化时触发",
|
|
1193
1193
|
"detail": {
|
|
1194
|
-
"type": "
|
|
1194
|
+
"type": "ImageData[]"
|
|
1195
1195
|
}
|
|
1196
1196
|
}
|
|
1197
1197
|
],
|
|
1198
1198
|
"slots": [],
|
|
1199
1199
|
"methods": [],
|
|
1200
1200
|
"parts": [],
|
|
1201
|
-
"description": "
|
|
1201
|
+
"description": "上传图片构件",
|
|
1202
1202
|
"category": "form-input-basic"
|
|
1203
1203
|
},
|
|
1204
1204
|
{
|
|
@@ -1536,114 +1536,6 @@
|
|
|
1536
1536
|
"parts": [],
|
|
1537
1537
|
"description": "构件 `eo-color-picker`"
|
|
1538
1538
|
},
|
|
1539
|
-
{
|
|
1540
|
-
"name": "eo-form-item",
|
|
1541
|
-
"alias": [
|
|
1542
|
-
"form.general-form-item"
|
|
1543
|
-
],
|
|
1544
|
-
"properties": [
|
|
1545
|
-
{
|
|
1546
|
-
"name": "formElement",
|
|
1547
|
-
"attribute": false,
|
|
1548
|
-
"type": "Form"
|
|
1549
|
-
},
|
|
1550
|
-
{
|
|
1551
|
-
"name": "curElement",
|
|
1552
|
-
"attribute": false,
|
|
1553
|
-
"type": "HTMLElement"
|
|
1554
|
-
},
|
|
1555
|
-
{
|
|
1556
|
-
"name": "name",
|
|
1557
|
-
"description": "字段名称",
|
|
1558
|
-
"type": "string"
|
|
1559
|
-
},
|
|
1560
|
-
{
|
|
1561
|
-
"name": "label",
|
|
1562
|
-
"type": "string"
|
|
1563
|
-
},
|
|
1564
|
-
{
|
|
1565
|
-
"name": "pattern",
|
|
1566
|
-
"type": "string"
|
|
1567
|
-
},
|
|
1568
|
-
{
|
|
1569
|
-
"name": "message",
|
|
1570
|
-
"attribute": false,
|
|
1571
|
-
"type": "Record<string, string>"
|
|
1572
|
-
},
|
|
1573
|
-
{
|
|
1574
|
-
"name": "type",
|
|
1575
|
-
"type": "string"
|
|
1576
|
-
},
|
|
1577
|
-
{
|
|
1578
|
-
"name": "max",
|
|
1579
|
-
"type": "number"
|
|
1580
|
-
},
|
|
1581
|
-
{
|
|
1582
|
-
"name": "min",
|
|
1583
|
-
"type": "number"
|
|
1584
|
-
},
|
|
1585
|
-
{
|
|
1586
|
-
"name": "required",
|
|
1587
|
-
"description": "表单项是否为必填",
|
|
1588
|
-
"type": "boolean"
|
|
1589
|
-
},
|
|
1590
|
-
{
|
|
1591
|
-
"name": "value",
|
|
1592
|
-
"description": "初始值",
|
|
1593
|
-
"type": "string"
|
|
1594
|
-
},
|
|
1595
|
-
{
|
|
1596
|
-
"name": "valuePropsName",
|
|
1597
|
-
"type": "string"
|
|
1598
|
-
},
|
|
1599
|
-
{
|
|
1600
|
-
"name": "layout",
|
|
1601
|
-
"type": "Layout"
|
|
1602
|
-
},
|
|
1603
|
-
{
|
|
1604
|
-
"name": "size",
|
|
1605
|
-
"type": "ComponentSize"
|
|
1606
|
-
},
|
|
1607
|
-
{
|
|
1608
|
-
"name": "trim",
|
|
1609
|
-
"description": "是否自动去除前后的空白字符",
|
|
1610
|
-
"default": "true"
|
|
1611
|
-
},
|
|
1612
|
-
{
|
|
1613
|
-
"name": "trigger",
|
|
1614
|
-
"description": "事件触发方法名",
|
|
1615
|
-
"type": "string"
|
|
1616
|
-
},
|
|
1617
|
-
{
|
|
1618
|
-
"name": "validator",
|
|
1619
|
-
"description": "表单项校验方法",
|
|
1620
|
-
"attribute": false,
|
|
1621
|
-
"type": "((value: any) => MessageBody)"
|
|
1622
|
-
},
|
|
1623
|
-
{
|
|
1624
|
-
"name": "needValidate",
|
|
1625
|
-
"description": "值变化时是否主动出发校验",
|
|
1626
|
-
"type": "boolean"
|
|
1627
|
-
},
|
|
1628
|
-
{
|
|
1629
|
-
"name": "textContent",
|
|
1630
|
-
"type": "string",
|
|
1631
|
-
"description": "文本内容"
|
|
1632
|
-
}
|
|
1633
|
-
],
|
|
1634
|
-
"events": [],
|
|
1635
|
-
"slots": [
|
|
1636
|
-
{
|
|
1637
|
-
"name": null,
|
|
1638
|
-
"description": "表单项内容"
|
|
1639
|
-
}
|
|
1640
|
-
],
|
|
1641
|
-
"methods": [],
|
|
1642
|
-
"parts": [],
|
|
1643
|
-
"description": "通用输入框构件",
|
|
1644
|
-
"category": "form-input-basic",
|
|
1645
|
-
"insider": true
|
|
1646
|
-
},
|
|
1647
1539
|
{
|
|
1648
1540
|
"name": "eo-input",
|
|
1649
1541
|
"alias": [
|
|
@@ -1828,6 +1720,114 @@
|
|
|
1828
1720
|
],
|
|
1829
1721
|
"description": "通用输入框构件",
|
|
1830
1722
|
"category": "form-input-basic"
|
|
1723
|
+
},
|
|
1724
|
+
{
|
|
1725
|
+
"name": "eo-form-item",
|
|
1726
|
+
"alias": [
|
|
1727
|
+
"form.general-form-item"
|
|
1728
|
+
],
|
|
1729
|
+
"properties": [
|
|
1730
|
+
{
|
|
1731
|
+
"name": "formElement",
|
|
1732
|
+
"attribute": false,
|
|
1733
|
+
"type": "Form"
|
|
1734
|
+
},
|
|
1735
|
+
{
|
|
1736
|
+
"name": "curElement",
|
|
1737
|
+
"attribute": false,
|
|
1738
|
+
"type": "HTMLElement"
|
|
1739
|
+
},
|
|
1740
|
+
{
|
|
1741
|
+
"name": "name",
|
|
1742
|
+
"description": "字段名称",
|
|
1743
|
+
"type": "string"
|
|
1744
|
+
},
|
|
1745
|
+
{
|
|
1746
|
+
"name": "label",
|
|
1747
|
+
"type": "string"
|
|
1748
|
+
},
|
|
1749
|
+
{
|
|
1750
|
+
"name": "pattern",
|
|
1751
|
+
"type": "string"
|
|
1752
|
+
},
|
|
1753
|
+
{
|
|
1754
|
+
"name": "message",
|
|
1755
|
+
"attribute": false,
|
|
1756
|
+
"type": "Record<string, string>"
|
|
1757
|
+
},
|
|
1758
|
+
{
|
|
1759
|
+
"name": "type",
|
|
1760
|
+
"type": "string"
|
|
1761
|
+
},
|
|
1762
|
+
{
|
|
1763
|
+
"name": "max",
|
|
1764
|
+
"type": "number"
|
|
1765
|
+
},
|
|
1766
|
+
{
|
|
1767
|
+
"name": "min",
|
|
1768
|
+
"type": "number"
|
|
1769
|
+
},
|
|
1770
|
+
{
|
|
1771
|
+
"name": "required",
|
|
1772
|
+
"description": "表单项是否为必填",
|
|
1773
|
+
"type": "boolean"
|
|
1774
|
+
},
|
|
1775
|
+
{
|
|
1776
|
+
"name": "value",
|
|
1777
|
+
"description": "初始值",
|
|
1778
|
+
"type": "string"
|
|
1779
|
+
},
|
|
1780
|
+
{
|
|
1781
|
+
"name": "valuePropsName",
|
|
1782
|
+
"type": "string"
|
|
1783
|
+
},
|
|
1784
|
+
{
|
|
1785
|
+
"name": "layout",
|
|
1786
|
+
"type": "Layout"
|
|
1787
|
+
},
|
|
1788
|
+
{
|
|
1789
|
+
"name": "size",
|
|
1790
|
+
"type": "ComponentSize"
|
|
1791
|
+
},
|
|
1792
|
+
{
|
|
1793
|
+
"name": "trim",
|
|
1794
|
+
"description": "是否自动去除前后的空白字符",
|
|
1795
|
+
"default": "true"
|
|
1796
|
+
},
|
|
1797
|
+
{
|
|
1798
|
+
"name": "trigger",
|
|
1799
|
+
"description": "事件触发方法名",
|
|
1800
|
+
"type": "string"
|
|
1801
|
+
},
|
|
1802
|
+
{
|
|
1803
|
+
"name": "validator",
|
|
1804
|
+
"description": "表单项校验方法",
|
|
1805
|
+
"attribute": false,
|
|
1806
|
+
"type": "((value: any) => MessageBody)"
|
|
1807
|
+
},
|
|
1808
|
+
{
|
|
1809
|
+
"name": "needValidate",
|
|
1810
|
+
"description": "值变化时是否主动出发校验",
|
|
1811
|
+
"type": "boolean"
|
|
1812
|
+
},
|
|
1813
|
+
{
|
|
1814
|
+
"name": "textContent",
|
|
1815
|
+
"type": "string",
|
|
1816
|
+
"description": "文本内容"
|
|
1817
|
+
}
|
|
1818
|
+
],
|
|
1819
|
+
"events": [],
|
|
1820
|
+
"slots": [
|
|
1821
|
+
{
|
|
1822
|
+
"name": null,
|
|
1823
|
+
"description": "表单项内容"
|
|
1824
|
+
}
|
|
1825
|
+
],
|
|
1826
|
+
"methods": [],
|
|
1827
|
+
"parts": [],
|
|
1828
|
+
"description": "通用输入框构件",
|
|
1829
|
+
"category": "form-input-basic",
|
|
1830
|
+
"insider": true
|
|
1831
1831
|
}
|
|
1832
1832
|
],
|
|
1833
1833
|
"providers": []
|