@next-bricks/form 1.0.2 → 1.1.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/1236.7a3b3d5c.js +2 -0
- package/dist/chunks/1236.7a3b3d5c.js.map +1 -0
- package/dist/chunks/{5789.e946d373.js → 5789.86a92b1d.js} +3 -3
- package/dist/chunks/{5789.e946d373.js.map → 5789.86a92b1d.js.map} +1 -1
- package/dist/chunks/{6969.22e9895b.js → 6969.71535221.js} +3 -3
- package/dist/chunks/6969.71535221.js.map +1 -0
- package/dist/chunks/{eo-auto-complete.536944b4.js → eo-auto-complete.a9c382a6.js} +3 -3
- package/dist/chunks/eo-auto-complete.a9c382a6.js.map +1 -0
- package/dist/chunks/{eo-dynamic-form-item.3d03eb49.js → eo-dynamic-form-item.f8085fe7.js} +3 -3
- package/dist/chunks/eo-dynamic-form-item.f8085fe7.js.map +1 -0
- package/dist/chunks/{eo-form-item.f8b1cb5f.js → eo-form-item.9ca32184.js} +3 -3
- package/dist/chunks/eo-form-item.9ca32184.js.map +1 -0
- package/dist/chunks/eo-form.bcf281bd.js +2 -0
- package/dist/chunks/eo-form.bcf281bd.js.map +1 -0
- package/dist/chunks/{eo-icon-select.c646c150.js → eo-icon-select.ae9ff74b.js} +3 -3
- package/dist/chunks/eo-icon-select.ae9ff74b.js.map +1 -0
- package/dist/chunks/{eo-input.04a5b127.js → eo-input.360d3dd6.js} +3 -3
- package/dist/chunks/eo-input.360d3dd6.js.map +1 -0
- package/dist/chunks/eo-radio.7e13c946.js +3 -0
- package/dist/chunks/eo-radio.7e13c946.js.map +1 -0
- package/dist/chunks/{eo-search.7cbe8bb0.js → eo-search.efc41300.js} +2 -2
- package/dist/chunks/eo-search.efc41300.js.map +1 -0
- package/dist/chunks/{eo-select.7a296499.js → eo-select.0b0138bb.js} +3 -3
- package/dist/chunks/eo-select.0b0138bb.js.map +1 -0
- package/dist/chunks/eo-submit-buttons.225fb0bc.js +2 -0
- package/dist/chunks/eo-submit-buttons.225fb0bc.js.map +1 -0
- package/dist/chunks/{eo-switch.16a46bfd.js → eo-switch.5114bd5e.js} +3 -3
- package/dist/chunks/eo-switch.5114bd5e.js.map +1 -0
- package/dist/chunks/{eo-textarea.82e3afd1.js → eo-textarea.daa7f5d4.js} +3 -3
- package/dist/chunks/eo-textarea.daa7f5d4.js.map +1 -0
- package/dist/chunks/{eo-upload-file.043eea9e.js → eo-upload-file.e860810e.js} +3 -3
- package/dist/chunks/eo-upload-file.e860810e.js.map +1 -0
- package/dist/chunks/{eo-upload-image.570aa146.js → eo-upload-image.7ea1438d.js} +3 -3
- package/dist/chunks/eo-upload-image.7ea1438d.js.map +1 -0
- package/dist/chunks/{main.000e090f.js → main.9179ae83.js} +2 -2
- package/dist/chunks/{main.000e090f.js.map → main.9179ae83.js.map} +1 -1
- package/dist/examples.json +7 -7
- package/dist/{index.c01a807c.js → index.875dd5c3.js} +2 -2
- package/dist/{index.c01a807c.js.map → index.875dd5c3.js.map} +1 -1
- package/dist/manifest.json +140 -140
- package/dist/types.json +1215 -1215
- package/dist-types/radio/index.d.ts +2 -1
- package/docs/eo-radio.md +277 -109
- package/package.json +3 -3
- package/dist/chunks/4119.15b34113.js +0 -2
- package/dist/chunks/4119.15b34113.js.map +0 -1
- package/dist/chunks/6969.22e9895b.js.map +0 -1
- package/dist/chunks/eo-auto-complete.536944b4.js.map +0 -1
- package/dist/chunks/eo-dynamic-form-item.3d03eb49.js.map +0 -1
- package/dist/chunks/eo-form-item.f8b1cb5f.js.map +0 -1
- package/dist/chunks/eo-form.d03c926b.js +0 -2
- package/dist/chunks/eo-form.d03c926b.js.map +0 -1
- package/dist/chunks/eo-icon-select.c646c150.js.map +0 -1
- package/dist/chunks/eo-input.04a5b127.js.map +0 -1
- package/dist/chunks/eo-radio.d9e51145.js +0 -3
- package/dist/chunks/eo-radio.d9e51145.js.map +0 -1
- package/dist/chunks/eo-search.7cbe8bb0.js.map +0 -1
- package/dist/chunks/eo-select.7a296499.js.map +0 -1
- package/dist/chunks/eo-submit-buttons.4efffd7d.js +0 -2
- package/dist/chunks/eo-submit-buttons.4efffd7d.js.map +0 -1
- package/dist/chunks/eo-switch.16a46bfd.js.map +0 -1
- package/dist/chunks/eo-textarea.82e3afd1.js.map +0 -1
- package/dist/chunks/eo-upload-file.043eea9e.js.map +0 -1
- package/dist/chunks/eo-upload-image.570aa146.js.map +0 -1
- /package/dist/chunks/{5789.e946d373.js.LICENSE.txt → 5789.86a92b1d.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{6969.22e9895b.js.LICENSE.txt → 6969.71535221.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-auto-complete.536944b4.js.LICENSE.txt → eo-auto-complete.a9c382a6.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-dynamic-form-item.3d03eb49.js.LICENSE.txt → eo-dynamic-form-item.f8085fe7.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-form-item.f8b1cb5f.js.LICENSE.txt → eo-form-item.9ca32184.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-icon-select.c646c150.js.LICENSE.txt → eo-icon-select.ae9ff74b.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-input.04a5b127.js.LICENSE.txt → eo-input.360d3dd6.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-radio.d9e51145.js.LICENSE.txt → eo-radio.7e13c946.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-select.7a296499.js.LICENSE.txt → eo-select.0b0138bb.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-switch.16a46bfd.js.LICENSE.txt → eo-switch.5114bd5e.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-textarea.82e3afd1.js.LICENSE.txt → eo-textarea.daa7f5d4.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-upload-file.043eea9e.js.LICENSE.txt → eo-upload-file.e860810e.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-upload-image.570aa146.js.LICENSE.txt → eo-upload-image.7ea1438d.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -188,6 +188,97 @@
|
|
|
188
188
|
"description": "通用输入框构件",
|
|
189
189
|
"category": "form-input-basic"
|
|
190
190
|
},
|
|
191
|
+
{
|
|
192
|
+
"name": "eo-textarea",
|
|
193
|
+
"alias": [
|
|
194
|
+
"form.general-textarea"
|
|
195
|
+
],
|
|
196
|
+
"properties": [
|
|
197
|
+
{
|
|
198
|
+
"name": "name",
|
|
199
|
+
"description": "字段名称",
|
|
200
|
+
"type": "string"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"name": "label",
|
|
204
|
+
"description": "标签文字",
|
|
205
|
+
"type": "string"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"name": "value",
|
|
209
|
+
"description": "值",
|
|
210
|
+
"type": "string"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"name": "placeholder",
|
|
214
|
+
"description": "占位说明",
|
|
215
|
+
"type": "string"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"name": "disabled",
|
|
219
|
+
"description": "是否禁用",
|
|
220
|
+
"type": "boolean"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"name": "minLength",
|
|
224
|
+
"description": "最小长度",
|
|
225
|
+
"type": "number"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"name": "maxLength",
|
|
229
|
+
"description": "最大长度",
|
|
230
|
+
"type": "number"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"name": "autoSize",
|
|
234
|
+
"description": "大小自适应",
|
|
235
|
+
"attribute": false,
|
|
236
|
+
"type": "AutoSize"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"name": "required",
|
|
240
|
+
"description": "是否必填",
|
|
241
|
+
"type": "boolean"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"name": "max",
|
|
245
|
+
"description": "表单校验最大长度",
|
|
246
|
+
"type": "number"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"name": "min",
|
|
250
|
+
"description": "表单校验最小长度",
|
|
251
|
+
"type": "number"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"name": "message",
|
|
255
|
+
"description": "校验信息",
|
|
256
|
+
"attribute": false,
|
|
257
|
+
"type": "Record<string, string>"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"name": "textareaStyle",
|
|
261
|
+
"description": "自定义样式",
|
|
262
|
+
"attribute": false,
|
|
263
|
+
"type": "React.CSSProperties"
|
|
264
|
+
}
|
|
265
|
+
],
|
|
266
|
+
"events": [
|
|
267
|
+
{
|
|
268
|
+
"name": "change",
|
|
269
|
+
"description": "",
|
|
270
|
+
"detail": {
|
|
271
|
+
"description": null,
|
|
272
|
+
"type": "string"
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
],
|
|
276
|
+
"slots": [],
|
|
277
|
+
"methods": [],
|
|
278
|
+
"parts": [],
|
|
279
|
+
"description": "通用多行文本输入框构件",
|
|
280
|
+
"category": "form-input-basic"
|
|
281
|
+
},
|
|
191
282
|
{
|
|
192
283
|
"name": "eo-form",
|
|
193
284
|
"alias": [
|
|
@@ -516,97 +607,6 @@
|
|
|
516
607
|
"description": "通用单选构件",
|
|
517
608
|
"category": "form-input-basic"
|
|
518
609
|
},
|
|
519
|
-
{
|
|
520
|
-
"name": "eo-textarea",
|
|
521
|
-
"alias": [
|
|
522
|
-
"form.general-textarea"
|
|
523
|
-
],
|
|
524
|
-
"properties": [
|
|
525
|
-
{
|
|
526
|
-
"name": "name",
|
|
527
|
-
"description": "字段名称",
|
|
528
|
-
"type": "string"
|
|
529
|
-
},
|
|
530
|
-
{
|
|
531
|
-
"name": "label",
|
|
532
|
-
"description": "标签文字",
|
|
533
|
-
"type": "string"
|
|
534
|
-
},
|
|
535
|
-
{
|
|
536
|
-
"name": "value",
|
|
537
|
-
"description": "值",
|
|
538
|
-
"type": "string"
|
|
539
|
-
},
|
|
540
|
-
{
|
|
541
|
-
"name": "placeholder",
|
|
542
|
-
"description": "占位说明",
|
|
543
|
-
"type": "string"
|
|
544
|
-
},
|
|
545
|
-
{
|
|
546
|
-
"name": "disabled",
|
|
547
|
-
"description": "是否禁用",
|
|
548
|
-
"type": "boolean"
|
|
549
|
-
},
|
|
550
|
-
{
|
|
551
|
-
"name": "minLength",
|
|
552
|
-
"description": "最小长度",
|
|
553
|
-
"type": "number"
|
|
554
|
-
},
|
|
555
|
-
{
|
|
556
|
-
"name": "maxLength",
|
|
557
|
-
"description": "最大长度",
|
|
558
|
-
"type": "number"
|
|
559
|
-
},
|
|
560
|
-
{
|
|
561
|
-
"name": "autoSize",
|
|
562
|
-
"description": "大小自适应",
|
|
563
|
-
"attribute": false,
|
|
564
|
-
"type": "AutoSize"
|
|
565
|
-
},
|
|
566
|
-
{
|
|
567
|
-
"name": "required",
|
|
568
|
-
"description": "是否必填",
|
|
569
|
-
"type": "boolean"
|
|
570
|
-
},
|
|
571
|
-
{
|
|
572
|
-
"name": "max",
|
|
573
|
-
"description": "表单校验最大长度",
|
|
574
|
-
"type": "number"
|
|
575
|
-
},
|
|
576
|
-
{
|
|
577
|
-
"name": "min",
|
|
578
|
-
"description": "表单校验最小长度",
|
|
579
|
-
"type": "number"
|
|
580
|
-
},
|
|
581
|
-
{
|
|
582
|
-
"name": "message",
|
|
583
|
-
"description": "校验信息",
|
|
584
|
-
"attribute": false,
|
|
585
|
-
"type": "Record<string, string>"
|
|
586
|
-
},
|
|
587
|
-
{
|
|
588
|
-
"name": "textareaStyle",
|
|
589
|
-
"description": "自定义样式",
|
|
590
|
-
"attribute": false,
|
|
591
|
-
"type": "React.CSSProperties"
|
|
592
|
-
}
|
|
593
|
-
],
|
|
594
|
-
"events": [
|
|
595
|
-
{
|
|
596
|
-
"name": "change",
|
|
597
|
-
"description": "",
|
|
598
|
-
"detail": {
|
|
599
|
-
"description": null,
|
|
600
|
-
"type": "string"
|
|
601
|
-
}
|
|
602
|
-
}
|
|
603
|
-
],
|
|
604
|
-
"slots": [],
|
|
605
|
-
"methods": [],
|
|
606
|
-
"parts": [],
|
|
607
|
-
"description": "通用多行文本输入框构件",
|
|
608
|
-
"category": "form-input-basic"
|
|
609
|
-
},
|
|
610
610
|
{
|
|
611
611
|
"name": "eo-select",
|
|
612
612
|
"alias": [
|
|
@@ -994,118 +994,118 @@
|
|
|
994
994
|
"category": "form-input-basic"
|
|
995
995
|
},
|
|
996
996
|
{
|
|
997
|
-
"name": "eo-
|
|
997
|
+
"name": "eo-search",
|
|
998
998
|
"alias": [
|
|
999
|
-
"form.
|
|
999
|
+
"form.general-search"
|
|
1000
1000
|
],
|
|
1001
1001
|
"properties": [
|
|
1002
1002
|
{
|
|
1003
|
-
"name": "
|
|
1004
|
-
"description": "
|
|
1003
|
+
"name": "value",
|
|
1004
|
+
"description": "搜索框的值",
|
|
1005
|
+
"default": "\"\"",
|
|
1005
1006
|
"type": "string"
|
|
1006
1007
|
},
|
|
1007
1008
|
{
|
|
1008
|
-
"name": "
|
|
1009
|
-
"description": "
|
|
1009
|
+
"name": "placeholder",
|
|
1010
|
+
"description": "提示语",
|
|
1010
1011
|
"type": "string"
|
|
1011
1012
|
},
|
|
1012
1013
|
{
|
|
1013
|
-
"name": "
|
|
1014
|
-
"description": "
|
|
1015
|
-
"
|
|
1016
|
-
"type": "Icon"
|
|
1014
|
+
"name": "autoFocus",
|
|
1015
|
+
"description": "是否自动聚焦",
|
|
1016
|
+
"type": "boolean"
|
|
1017
1017
|
},
|
|
1018
1018
|
{
|
|
1019
|
-
"name": "
|
|
1020
|
-
"description": "
|
|
1019
|
+
"name": "clearable",
|
|
1020
|
+
"description": "可以点击清除图标删除内容",
|
|
1021
1021
|
"type": "boolean"
|
|
1022
1022
|
},
|
|
1023
1023
|
{
|
|
1024
|
-
"name": "
|
|
1025
|
-
"description": "
|
|
1024
|
+
"name": "trim",
|
|
1025
|
+
"description": "是否剔除前后空格",
|
|
1026
1026
|
"type": "boolean"
|
|
1027
1027
|
},
|
|
1028
1028
|
{
|
|
1029
|
-
"name": "
|
|
1030
|
-
"description": "
|
|
1031
|
-
"
|
|
1032
|
-
"type": "
|
|
1029
|
+
"name": "debounceTime",
|
|
1030
|
+
"description": "默认延迟时间",
|
|
1031
|
+
"default": "0",
|
|
1032
|
+
"type": "number"
|
|
1033
1033
|
}
|
|
1034
1034
|
],
|
|
1035
1035
|
"events": [
|
|
1036
1036
|
{
|
|
1037
1037
|
"name": "change",
|
|
1038
|
-
"description": "
|
|
1038
|
+
"description": "输入的搜索字符,输入变化时触发",
|
|
1039
1039
|
"detail": {
|
|
1040
|
-
"type": "
|
|
1040
|
+
"type": "string"
|
|
1041
|
+
}
|
|
1042
|
+
},
|
|
1043
|
+
{
|
|
1044
|
+
"name": "search",
|
|
1045
|
+
"description": "搜索时触发",
|
|
1046
|
+
"detail": {
|
|
1047
|
+
"type": "string"
|
|
1041
1048
|
}
|
|
1042
1049
|
}
|
|
1043
1050
|
],
|
|
1044
1051
|
"slots": [],
|
|
1045
1052
|
"methods": [],
|
|
1046
1053
|
"parts": [],
|
|
1047
|
-
"description": "
|
|
1054
|
+
"description": "搜索框",
|
|
1048
1055
|
"category": "form-input-basic"
|
|
1049
1056
|
},
|
|
1050
1057
|
{
|
|
1051
|
-
"name": "eo-
|
|
1058
|
+
"name": "eo-icon-select",
|
|
1052
1059
|
"alias": [
|
|
1053
|
-
"form.
|
|
1060
|
+
"form.icon-select"
|
|
1054
1061
|
],
|
|
1055
1062
|
"properties": [
|
|
1056
1063
|
{
|
|
1057
|
-
"name": "
|
|
1058
|
-
"description": "
|
|
1059
|
-
"default": "\"\"",
|
|
1064
|
+
"name": "name",
|
|
1065
|
+
"description": "字段名称",
|
|
1060
1066
|
"type": "string"
|
|
1061
1067
|
},
|
|
1062
1068
|
{
|
|
1063
|
-
"name": "
|
|
1064
|
-
"description": "
|
|
1069
|
+
"name": "label",
|
|
1070
|
+
"description": "字段说明",
|
|
1065
1071
|
"type": "string"
|
|
1066
1072
|
},
|
|
1067
1073
|
{
|
|
1068
|
-
"name": "
|
|
1069
|
-
"description": "
|
|
1070
|
-
"
|
|
1074
|
+
"name": "value",
|
|
1075
|
+
"description": "值",
|
|
1076
|
+
"attribute": false,
|
|
1077
|
+
"type": "Icon"
|
|
1071
1078
|
},
|
|
1072
1079
|
{
|
|
1073
|
-
"name": "
|
|
1074
|
-
"description": "
|
|
1080
|
+
"name": "disabled",
|
|
1081
|
+
"description": "是否禁用",
|
|
1075
1082
|
"type": "boolean"
|
|
1076
1083
|
},
|
|
1077
1084
|
{
|
|
1078
|
-
"name": "
|
|
1079
|
-
"description": "
|
|
1085
|
+
"name": "required",
|
|
1086
|
+
"description": "是否必填",
|
|
1080
1087
|
"type": "boolean"
|
|
1081
1088
|
},
|
|
1082
1089
|
{
|
|
1083
|
-
"name": "
|
|
1084
|
-
"description": "
|
|
1085
|
-
"
|
|
1086
|
-
"type": "
|
|
1090
|
+
"name": "message",
|
|
1091
|
+
"description": "是否必填",
|
|
1092
|
+
"attribute": false,
|
|
1093
|
+
"type": "Record<string, string>"
|
|
1087
1094
|
}
|
|
1088
1095
|
],
|
|
1089
1096
|
"events": [
|
|
1090
1097
|
{
|
|
1091
1098
|
"name": "change",
|
|
1092
|
-
"description": "
|
|
1093
|
-
"detail": {
|
|
1094
|
-
"type": "string"
|
|
1095
|
-
}
|
|
1096
|
-
},
|
|
1097
|
-
{
|
|
1098
|
-
"name": "search",
|
|
1099
|
-
"description": "搜索时触发",
|
|
1099
|
+
"description": "值变化时触发",
|
|
1100
1100
|
"detail": {
|
|
1101
|
-
"type": "
|
|
1101
|
+
"type": "Icon | undefined"
|
|
1102
1102
|
}
|
|
1103
1103
|
}
|
|
1104
1104
|
],
|
|
1105
1105
|
"slots": [],
|
|
1106
1106
|
"methods": [],
|
|
1107
1107
|
"parts": [],
|
|
1108
|
-
"description": "
|
|
1108
|
+
"description": "图标选择构件",
|
|
1109
1109
|
"category": "form-input-basic"
|
|
1110
1110
|
},
|
|
1111
1111
|
{
|