@next-bricks/form 1.18.6 → 1.19.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 +11 -11
- package/dist/chunks/1418.af4ae9fa.js +3 -0
- package/dist/chunks/1418.af4ae9fa.js.map +1 -0
- package/dist/chunks/{149.ff459c34.js → 149.3be7b324.js} +2 -2
- package/dist/chunks/149.3be7b324.js.map +1 -0
- package/dist/chunks/eo-icon-select.7e1b98a9.js +3 -0
- package/dist/chunks/eo-icon-select.7e1b98a9.js.map +1 -0
- package/dist/chunks/eo-search.66add2ad.js +2 -0
- package/dist/chunks/eo-search.66add2ad.js.map +1 -0
- package/dist/chunks/eo-upload-file.04ac63ee.js +3 -0
- package/dist/chunks/eo-upload-file.04ac63ee.js.map +1 -0
- package/dist/chunks/eo-upload-image.863b4bb0.js +3 -0
- package/dist/chunks/eo-upload-image.863b4bb0.js.map +1 -0
- package/dist/chunks/{main.6fd1e346.js → main.20d537dc.js} +2 -2
- package/dist/chunks/{main.6fd1e346.js.map → main.20d537dc.js.map} +1 -1
- package/dist/examples.json +5 -5
- package/dist/{index.1ca743c9.js → index.d3b5b77b.js} +2 -2
- package/dist/{index.1ca743c9.js.map → index.d3b5b77b.js.map} +1 -1
- package/dist/manifest.json +169 -154
- package/dist/types.json +172 -124
- package/dist-types/icon-select/index.d.ts +3 -0
- package/dist-types/upload/Upload.d.ts +1 -0
- package/dist-types/upload/upload-image/index.d.ts +6 -0
- package/package.json +2 -2
- package/dist/chunks/1418.de8ee716.js +0 -3
- package/dist/chunks/1418.de8ee716.js.map +0 -1
- package/dist/chunks/149.ff459c34.js.map +0 -1
- package/dist/chunks/eo-icon-select.55cc1eec.js +0 -3
- package/dist/chunks/eo-icon-select.55cc1eec.js.map +0 -1
- package/dist/chunks/eo-search.c6749234.js +0 -2
- package/dist/chunks/eo-search.c6749234.js.map +0 -1
- package/dist/chunks/eo-upload-file.fbd3dc1f.js +0 -3
- package/dist/chunks/eo-upload-file.fbd3dc1f.js.map +0 -1
- package/dist/chunks/eo-upload-image.5bd2ef86.js +0 -3
- package/dist/chunks/eo-upload-image.5bd2ef86.js.map +0 -1
- /package/dist/chunks/{1418.de8ee716.js.LICENSE.txt → 1418.af4ae9fa.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-icon-select.55cc1eec.js.LICENSE.txt → eo-icon-select.7e1b98a9.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-upload-file.fbd3dc1f.js.LICENSE.txt → eo-upload-file.04ac63ee.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-upload-image.5bd2ef86.js.LICENSE.txt → eo-upload-image.863b4bb0.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -4,79 +4,78 @@
|
|
|
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": "
|
|
43
|
-
"
|
|
44
|
-
"type": "Record<string, string>"
|
|
38
|
+
"name": "minLength",
|
|
39
|
+
"description": "最小长度",
|
|
40
|
+
"type": "number"
|
|
45
41
|
},
|
|
46
42
|
{
|
|
47
|
-
"name": "
|
|
48
|
-
"description": "
|
|
49
|
-
"type": "
|
|
43
|
+
"name": "maxLength",
|
|
44
|
+
"description": "最大长度",
|
|
45
|
+
"type": "number"
|
|
50
46
|
},
|
|
51
47
|
{
|
|
52
|
-
"name": "
|
|
53
|
-
"description": "
|
|
54
|
-
"
|
|
55
|
-
"type": "
|
|
48
|
+
"name": "autoSize",
|
|
49
|
+
"description": "大小自适应",
|
|
50
|
+
"attribute": false,
|
|
51
|
+
"type": "AutoSize"
|
|
56
52
|
},
|
|
57
53
|
{
|
|
58
|
-
"name": "
|
|
59
|
-
"description": "
|
|
60
|
-
"
|
|
61
|
-
"type": "UIType"
|
|
54
|
+
"name": "required",
|
|
55
|
+
"description": "是否必填",
|
|
56
|
+
"type": "boolean"
|
|
62
57
|
},
|
|
63
58
|
{
|
|
64
|
-
"name": "
|
|
65
|
-
"description": "
|
|
66
|
-
"
|
|
67
|
-
"type": "ComponentSize"
|
|
59
|
+
"name": "max",
|
|
60
|
+
"description": "表单校验最大长度",
|
|
61
|
+
"type": "number"
|
|
68
62
|
},
|
|
69
63
|
{
|
|
70
|
-
"name": "
|
|
71
|
-
"description": "
|
|
64
|
+
"name": "min",
|
|
65
|
+
"description": "表单校验最小长度",
|
|
66
|
+
"type": "number"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "message",
|
|
70
|
+
"description": "校验信息",
|
|
72
71
|
"attribute": false,
|
|
73
|
-
"type": "
|
|
72
|
+
"type": "Record<string, string>"
|
|
74
73
|
},
|
|
75
74
|
{
|
|
76
|
-
"name": "
|
|
77
|
-
"description": "
|
|
75
|
+
"name": "textareaStyle",
|
|
76
|
+
"description": "自定义样式",
|
|
78
77
|
"attribute": false,
|
|
79
|
-
"type": "
|
|
78
|
+
"type": "React.CSSProperties"
|
|
80
79
|
},
|
|
81
80
|
{
|
|
82
81
|
"name": "themeVariant",
|
|
@@ -87,23 +86,24 @@
|
|
|
87
86
|
"events": [
|
|
88
87
|
{
|
|
89
88
|
"name": "change",
|
|
90
|
-
"description": "
|
|
91
|
-
"detail": {
|
|
92
|
-
"type": "GeneralComplexOption | undefined"
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"name": "options.change",
|
|
97
|
-
"description": "选项列表变化事件",
|
|
89
|
+
"description": "",
|
|
98
90
|
"detail": {
|
|
99
|
-
"
|
|
91
|
+
"description": null,
|
|
92
|
+
"type": "string"
|
|
100
93
|
}
|
|
101
94
|
}
|
|
102
95
|
],
|
|
103
96
|
"slots": [],
|
|
104
|
-
"methods": [
|
|
97
|
+
"methods": [
|
|
98
|
+
{
|
|
99
|
+
"name": "focusTextarea",
|
|
100
|
+
"params": [],
|
|
101
|
+
"description": "focus",
|
|
102
|
+
"returns": {}
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
105
|
"parts": [],
|
|
106
|
-
"description": "
|
|
106
|
+
"description": "通用多行文本输入框构件",
|
|
107
107
|
"category": "form-input-basic"
|
|
108
108
|
},
|
|
109
109
|
{
|
|
@@ -251,6 +251,109 @@
|
|
|
251
251
|
"description": "表单构件",
|
|
252
252
|
"category": "form-input-basic"
|
|
253
253
|
},
|
|
254
|
+
{
|
|
255
|
+
"name": "eo-radio",
|
|
256
|
+
"alias": [
|
|
257
|
+
"form.general-radio"
|
|
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": "options",
|
|
272
|
+
"description": "单选框选项表",
|
|
273
|
+
"required": true,
|
|
274
|
+
"attribute": false,
|
|
275
|
+
"type": "GeneralOption[]"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"name": "value",
|
|
279
|
+
"description": "单选框当前选中始值",
|
|
280
|
+
"attribute": false,
|
|
281
|
+
"type": "any"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"name": "required",
|
|
285
|
+
"description": "是否必填",
|
|
286
|
+
"type": "boolean"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"name": "message",
|
|
290
|
+
"description": "校验文本信息",
|
|
291
|
+
"attribute": false,
|
|
292
|
+
"type": "Record<string, string>"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"name": "disabled",
|
|
296
|
+
"description": "是否禁用",
|
|
297
|
+
"type": "boolean"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"name": "type",
|
|
301
|
+
"description": "单选框样式类型",
|
|
302
|
+
"default": "\"default\"",
|
|
303
|
+
"type": "RadioType"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"name": "ui",
|
|
307
|
+
"description": "UI样式",
|
|
308
|
+
"default": "\"default\"",
|
|
309
|
+
"type": "UIType"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"name": "size",
|
|
313
|
+
"description": "大小,只对按钮样式生效",
|
|
314
|
+
"default": "\"medium\"",
|
|
315
|
+
"type": "ComponentSize"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"name": "customStyle",
|
|
319
|
+
"description": "自定义radio的外层样式",
|
|
320
|
+
"attribute": false,
|
|
321
|
+
"type": "React.CSSProperties"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"name": "useBrick",
|
|
325
|
+
"description": "自定义radio的内容",
|
|
326
|
+
"attribute": false,
|
|
327
|
+
"type": "UseSingleBrickConf"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"name": "themeVariant",
|
|
331
|
+
"description": "主题变体",
|
|
332
|
+
"type": "\"default\" | \"elevo\""
|
|
333
|
+
}
|
|
334
|
+
],
|
|
335
|
+
"events": [
|
|
336
|
+
{
|
|
337
|
+
"name": "change",
|
|
338
|
+
"description": "值变化事件",
|
|
339
|
+
"detail": {
|
|
340
|
+
"type": "GeneralComplexOption | undefined"
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"name": "options.change",
|
|
345
|
+
"description": "选项列表变化事件",
|
|
346
|
+
"detail": {
|
|
347
|
+
"type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
],
|
|
351
|
+
"slots": [],
|
|
352
|
+
"methods": [],
|
|
353
|
+
"parts": [],
|
|
354
|
+
"description": "通用单选构件",
|
|
355
|
+
"category": "form-input-basic"
|
|
356
|
+
},
|
|
254
357
|
{
|
|
255
358
|
"name": "eo-select",
|
|
256
359
|
"alias": [
|
|
@@ -483,109 +586,6 @@
|
|
|
483
586
|
"description": "表单提交按钮",
|
|
484
587
|
"category": "form-input-basic"
|
|
485
588
|
},
|
|
486
|
-
{
|
|
487
|
-
"name": "eo-textarea",
|
|
488
|
-
"alias": [
|
|
489
|
-
"form.general-textarea"
|
|
490
|
-
],
|
|
491
|
-
"properties": [
|
|
492
|
-
{
|
|
493
|
-
"name": "name",
|
|
494
|
-
"description": "字段名称",
|
|
495
|
-
"type": "string"
|
|
496
|
-
},
|
|
497
|
-
{
|
|
498
|
-
"name": "label",
|
|
499
|
-
"description": "标签文字",
|
|
500
|
-
"type": "string"
|
|
501
|
-
},
|
|
502
|
-
{
|
|
503
|
-
"name": "value",
|
|
504
|
-
"description": "值",
|
|
505
|
-
"type": "string"
|
|
506
|
-
},
|
|
507
|
-
{
|
|
508
|
-
"name": "placeholder",
|
|
509
|
-
"description": "占位说明",
|
|
510
|
-
"type": "string"
|
|
511
|
-
},
|
|
512
|
-
{
|
|
513
|
-
"name": "disabled",
|
|
514
|
-
"description": "是否禁用",
|
|
515
|
-
"type": "boolean"
|
|
516
|
-
},
|
|
517
|
-
{
|
|
518
|
-
"name": "minLength",
|
|
519
|
-
"description": "最小长度",
|
|
520
|
-
"type": "number"
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
"name": "maxLength",
|
|
524
|
-
"description": "最大长度",
|
|
525
|
-
"type": "number"
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
"name": "autoSize",
|
|
529
|
-
"description": "大小自适应",
|
|
530
|
-
"attribute": false,
|
|
531
|
-
"type": "AutoSize"
|
|
532
|
-
},
|
|
533
|
-
{
|
|
534
|
-
"name": "required",
|
|
535
|
-
"description": "是否必填",
|
|
536
|
-
"type": "boolean"
|
|
537
|
-
},
|
|
538
|
-
{
|
|
539
|
-
"name": "max",
|
|
540
|
-
"description": "表单校验最大长度",
|
|
541
|
-
"type": "number"
|
|
542
|
-
},
|
|
543
|
-
{
|
|
544
|
-
"name": "min",
|
|
545
|
-
"description": "表单校验最小长度",
|
|
546
|
-
"type": "number"
|
|
547
|
-
},
|
|
548
|
-
{
|
|
549
|
-
"name": "message",
|
|
550
|
-
"description": "校验信息",
|
|
551
|
-
"attribute": false,
|
|
552
|
-
"type": "Record<string, string>"
|
|
553
|
-
},
|
|
554
|
-
{
|
|
555
|
-
"name": "textareaStyle",
|
|
556
|
-
"description": "自定义样式",
|
|
557
|
-
"attribute": false,
|
|
558
|
-
"type": "React.CSSProperties"
|
|
559
|
-
},
|
|
560
|
-
{
|
|
561
|
-
"name": "themeVariant",
|
|
562
|
-
"description": "主题变体",
|
|
563
|
-
"type": "\"default\" | \"elevo\""
|
|
564
|
-
}
|
|
565
|
-
],
|
|
566
|
-
"events": [
|
|
567
|
-
{
|
|
568
|
-
"name": "change",
|
|
569
|
-
"description": "",
|
|
570
|
-
"detail": {
|
|
571
|
-
"description": null,
|
|
572
|
-
"type": "string"
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
],
|
|
576
|
-
"slots": [],
|
|
577
|
-
"methods": [
|
|
578
|
-
{
|
|
579
|
-
"name": "focusTextarea",
|
|
580
|
-
"params": [],
|
|
581
|
-
"description": "focus",
|
|
582
|
-
"returns": {}
|
|
583
|
-
}
|
|
584
|
-
],
|
|
585
|
-
"parts": [],
|
|
586
|
-
"description": "通用多行文本输入框构件",
|
|
587
|
-
"category": "form-input-basic"
|
|
588
|
-
},
|
|
589
589
|
{
|
|
590
590
|
"name": "eo-checkbox",
|
|
591
591
|
"alias": [
|
|
@@ -884,6 +884,11 @@
|
|
|
884
884
|
"description": "是否必填",
|
|
885
885
|
"attribute": false,
|
|
886
886
|
"type": "Record<string, string>"
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
"name": "themeVariant",
|
|
890
|
+
"description": "主题变体",
|
|
891
|
+
"type": "\"default\" | \"elevo\""
|
|
887
892
|
}
|
|
888
893
|
],
|
|
889
894
|
"events": [
|
|
@@ -953,6 +958,16 @@
|
|
|
953
958
|
"description": "校验文本信息",
|
|
954
959
|
"attribute": false,
|
|
955
960
|
"type": "Record<string, string>"
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
"name": "variant",
|
|
964
|
+
"description": "变体",
|
|
965
|
+
"type": "\"default\" | \"avatar\""
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
"name": "themeVariant",
|
|
969
|
+
"description": "主题变体",
|
|
970
|
+
"type": "\"default\" | \"elevo\""
|
|
956
971
|
}
|
|
957
972
|
],
|
|
958
973
|
"events": [
|