@next-bricks/form 1.15.9 → 1.15.11

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.
@@ -3,249 +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
- {
105
- "name": "eo-form",
106
- "alias": [
107
- "form.general-form"
108
- ],
109
- "properties": [
110
- {
111
- "name": "staticValues",
112
- "attribute": false,
113
- "type": "Record<string, unknown>"
114
- },
115
- {
116
- "name": "layout",
117
- "description": "布局方式(默认 vertical 布局)",
118
- "default": "vertical",
119
- "type": "Layout"
120
- },
121
- {
122
- "name": "size",
123
- "description": "表单组件尺寸",
124
- "type": "ComponentSize"
125
- },
126
- {
127
- "name": "labelCol",
128
- "description": "标签列布局样式(仅当 layout=\"horizontal\" 时有效)",
129
- "default": "{\n sm: {\n span: 24,\n },\n md: {\n span: 24,\n },\n lg: {\n span: 7,\n },\n xl: {\n span: 5,\n },\n xxl: {\n span: 4,\n },\n }",
130
- "attribute": false,
131
- "type": "ColProps"
132
- },
133
- {
134
- "name": "wrapperCol",
135
- "description": "输入控件列布局样式(仅当 layout=\"horizontal\" 时有效)",
136
- "default": "{\n sm: {\n span: 18,\n },\n md: {\n span: 18,\n },\n lg: {\n span: 13,\n },\n xl: {\n span: 16,\n },\n xxl: {\n span: 18,\n },\n }",
137
- "attribute": false,
138
- "type": "ColProps"
139
- },
140
- {
141
- "name": "formStyle",
142
- "attribute": false,
143
- "type": "React.CSSProperties"
144
- },
145
- {
146
- "name": "textContent",
147
- "type": "string",
148
- "description": "文本内容"
149
- }
150
- ],
151
- "events": [
152
- {
153
- "name": "values.change",
154
- "description": "表单值变更事件",
155
- "detail": {
156
- "description": null,
157
- "type": "Record<string, unknown>"
158
- }
159
- },
160
- {
161
- "name": "validate.success",
162
- "description": "表单验证成功时触发事件",
163
- "detail": {
164
- "type": "Record<string, unknown>"
165
- }
166
- },
167
- {
168
- "name": "validate.error",
169
- "description": "表单验证报错时触发事件",
170
- "detail": {
171
- "type": "(MessageBody & { name: string })[]"
172
- }
173
- }
174
- ],
175
- "slots": [
176
- {
177
- "name": null,
178
- "description": "表单内容"
179
- }
180
- ],
181
- "methods": [
182
- {
183
- "name": "validate",
184
- "params": [],
185
- "description": "表单校验方法",
186
- "returns": {
187
- "type": "boolean | Record<string, unknown>"
188
- }
189
- },
190
- {
191
- "name": "setInitValue",
192
- "params": [
193
- {
194
- "name": "values",
195
- "type": "Record<string, unknown>"
196
- },
197
- {
198
- "name": "options",
199
- "type": "{ runInMacrotask?: boolean; runInMicrotask?: boolean }"
200
- }
201
- ],
202
- "description": "表单设置值方法",
203
- "returns": {}
204
- },
205
- {
206
- "name": "resetFields",
207
- "params": [
208
- {
209
- "name": "name",
210
- "type": "string"
211
- }
212
- ],
213
- "description": "表单重置值方法",
214
- "returns": {}
215
- },
216
- {
217
- "name": "getFieldsValue",
218
- "params": [
219
- {
220
- "name": "name",
221
- "type": "string"
222
- }
223
- ],
224
- "description": "获取表单值方法",
225
- "returns": {}
226
- },
227
- {
228
- "name": "validateField",
229
- "params": [
230
- {
231
- "name": "name",
232
- "type": "string"
233
- }
234
- ],
235
- "description": "校验表单字段方法",
236
- "returns": {}
237
- },
238
- {
239
- "name": "resetValidateState",
240
- "params": [],
241
- "description": "重置表单校验状态方法",
242
- "returns": {}
243
- }
244
- ],
245
- "parts": [],
246
- "description": "表单构件",
247
- "category": "form-input-basic"
248
- },
249
6
  {
250
7
  "name": "eo-radio",
251
8
  "alias": [
@@ -493,20 +250,112 @@
493
250
  "category": "form-input-basic"
494
251
  },
495
252
  {
496
- "name": "eo-submit-buttons",
253
+ "name": "eo-checkbox",
497
254
  "alias": [
498
- "form.submit-buttons"
255
+ "form.general-checkbox"
499
256
  ],
500
257
  "properties": [
501
258
  {
502
- "name": "submitText",
503
- "description": "提交按钮的文字",
504
- "default": "\"提交\"",
259
+ "name": "name",
260
+ "description": "字段名称",
505
261
  "type": "string"
506
262
  },
507
263
  {
508
- "name": "cancelText",
509
- "description": "取消按钮的文字,不设置则不显示取消按钮",
264
+ "name": "label",
265
+ "description": "字段说明",
266
+ "type": "string"
267
+ },
268
+ {
269
+ "name": "value",
270
+ "description": "值",
271
+ "attribute": false,
272
+ "type": "CheckboxValueType[]"
273
+ },
274
+ {
275
+ "name": "options",
276
+ "description": "多选框选项表",
277
+ "required": true,
278
+ "default": "[]",
279
+ "attribute": false,
280
+ "type": "CheckboxOptionType[]"
281
+ },
282
+ {
283
+ "name": "type",
284
+ "description": "类型",
285
+ "default": "\"default\"",
286
+ "type": "CheckboxType"
287
+ },
288
+ {
289
+ "name": "disabled",
290
+ "description": "是否禁用",
291
+ "type": "boolean"
292
+ },
293
+ {
294
+ "name": "isCustom",
295
+ "description": "是否为自定义",
296
+ "default": "false",
297
+ "type": "boolean"
298
+ },
299
+ {
300
+ "name": "required",
301
+ "description": "是否必填",
302
+ "type": "boolean"
303
+ },
304
+ {
305
+ "name": "message",
306
+ "description": "校验文本",
307
+ "attribute": false,
308
+ "type": "Record<string, string>"
309
+ },
310
+ {
311
+ "name": "isGroup",
312
+ "description": "是否为复选框,为true时,则可设置分组数据 optionGroups",
313
+ "type": "boolean"
314
+ },
315
+ {
316
+ "name": "optionGroups",
317
+ "description": "多选框选项分组数据,需要设置 isGroup 为 true 才生效",
318
+ "attribute": false,
319
+ "type": "OptionGroup[]"
320
+ }
321
+ ],
322
+ "events": [
323
+ {
324
+ "name": "change",
325
+ "description": "复选框变化事件",
326
+ "detail": {
327
+ "type": "CheckboxOptionType[]"
328
+ }
329
+ },
330
+ {
331
+ "name": "options.change",
332
+ "description": "复选框变化事件",
333
+ "detail": {
334
+ "type": "{\n options: CheckboxOptionType[];\n name: string;\n }"
335
+ }
336
+ }
337
+ ],
338
+ "slots": [],
339
+ "methods": [],
340
+ "parts": [],
341
+ "description": "表单复选框构件",
342
+ "category": "form-input-basic"
343
+ },
344
+ {
345
+ "name": "eo-submit-buttons",
346
+ "alias": [
347
+ "form.submit-buttons"
348
+ ],
349
+ "properties": [
350
+ {
351
+ "name": "submitText",
352
+ "description": "提交按钮的文字",
353
+ "default": "\"提交\"",
354
+ "type": "string"
355
+ },
356
+ {
357
+ "name": "cancelText",
358
+ "description": "取消按钮的文字,不设置则不显示取消按钮",
510
359
  "type": "string"
511
360
  },
512
361
  {
@@ -553,9 +402,9 @@
553
402
  "category": "form-input-basic"
554
403
  },
555
404
  {
556
- "name": "eo-checkbox",
405
+ "name": "eo-dynamic-form-item",
557
406
  "alias": [
558
- "form.general-checkbox"
407
+ "form.dynamic-form-item"
559
408
  ],
560
409
  "properties": [
561
410
  {
@@ -568,173 +417,293 @@
568
417
  "description": "字段说明",
569
418
  "type": "string"
570
419
  },
420
+ {
421
+ "name": "required",
422
+ "description": "是否必填",
423
+ "type": "boolean"
424
+ },
571
425
  {
572
426
  "name": "value",
573
427
  "description": "值",
574
428
  "attribute": false,
575
- "type": "CheckboxValueType[]"
429
+ "type": "DynamicFormValuesItem[]"
576
430
  },
577
431
  {
578
- "name": "options",
579
- "description": "多选框选项表",
580
- "required": true,
581
- "default": "[]",
432
+ "name": "message",
433
+ "description": "校验文本",
582
434
  "attribute": false,
583
- "type": "CheckboxOptionType[]"
435
+ "type": "Record<string, string>"
584
436
  },
585
437
  {
586
- "name": "type",
587
- "description": "类型",
588
- "default": "\"default\"",
589
- "type": "CheckboxType"
438
+ "name": "hideRemoveButton",
439
+ "description": "是否隐藏每一行删除的按钮",
440
+ "attribute": false,
441
+ "type": "boolean | ((row: Record<string, any>, index: number) => boolean)"
590
442
  },
591
443
  {
592
- "name": "disabled",
593
- "description": "是否禁用",
594
- "type": "boolean"
444
+ "name": "disabledRemoveButton",
445
+ "description": "是否禁止每一行删除的按钮",
446
+ "attribute": false,
447
+ "type": "boolean | ((row: Record<string, any>, index: number) => boolean)"
595
448
  },
596
449
  {
597
- "name": "isCustom",
598
- "description": "是否为自定义",
599
- "default": "false",
600
- "type": "boolean"
450
+ "name": "hideAddButton",
451
+ "description": "是否隐藏添加的按钮",
452
+ "attribute": false,
453
+ "type": "boolean | ((value: Record<string, any>[]) => boolean)"
601
454
  },
602
455
  {
603
- "name": "required",
604
- "description": "是否必填",
605
- "type": "boolean"
456
+ "name": "disabledAddButton",
457
+ "description": "是否禁止添加的按钮",
458
+ "attribute": false,
459
+ "type": "boolean | ((value: Record<string, any>[]) => boolean)"
606
460
  },
607
461
  {
608
- "name": "message",
609
- "description": "校验文本",
462
+ "name": "useBrick",
463
+ "description": "动态表单子项构件列表",
610
464
  "attribute": false,
611
- "type": "Record<string, string>"
465
+ "type": "UseBrickConf"
466
+ }
467
+ ],
468
+ "events": [
469
+ {
470
+ "name": "change",
471
+ "detail": {
472
+ "type": "DynamicFormValuesItem[]"
473
+ }
612
474
  },
613
475
  {
614
- "name": "isGroup",
615
- "description": "是否为复选框,为true时,则可设置分组数据 optionGroups",
616
- "type": "boolean"
476
+ "name": "row.add",
477
+ "description": "增加一行时触发,detail为该行的默认值,index为该行的位置",
478
+ "detail": {
479
+ "type": "rowDataType"
480
+ }
617
481
  },
618
482
  {
619
- "name": "optionGroups",
620
- "description": "多选框选项分组数据,需要设置 isGroup 为 true 才生效",
483
+ "name": "row.remove",
484
+ "description": "移除一行时触发,detail为该行的值,index为该行的位置",
485
+ "detail": {
486
+ "type": "rowDataType"
487
+ }
488
+ }
489
+ ],
490
+ "slots": [],
491
+ "methods": [],
492
+ "parts": [],
493
+ "description": "动态表单",
494
+ "category": "form-input-basic"
495
+ },
496
+ {
497
+ "name": "eo-form",
498
+ "alias": [
499
+ "form.general-form"
500
+ ],
501
+ "properties": [
502
+ {
503
+ "name": "staticValues",
621
504
  "attribute": false,
622
- "type": "OptionGroup[]"
505
+ "type": "Record<string, unknown>"
506
+ },
507
+ {
508
+ "name": "layout",
509
+ "description": "布局方式(默认 vertical 布局)",
510
+ "default": "vertical",
511
+ "type": "Layout"
512
+ },
513
+ {
514
+ "name": "size",
515
+ "description": "表单组件尺寸",
516
+ "type": "ComponentSize"
517
+ },
518
+ {
519
+ "name": "labelCol",
520
+ "description": "标签列布局样式(仅当 layout=\"horizontal\" 时有效)",
521
+ "default": "{\n sm: {\n span: 24,\n },\n md: {\n span: 24,\n },\n lg: {\n span: 7,\n },\n xl: {\n span: 5,\n },\n xxl: {\n span: 4,\n },\n }",
522
+ "attribute": false,
523
+ "type": "ColProps"
524
+ },
525
+ {
526
+ "name": "wrapperCol",
527
+ "description": "输入控件列布局样式(仅当 layout=\"horizontal\" 时有效)",
528
+ "default": "{\n sm: {\n span: 18,\n },\n md: {\n span: 18,\n },\n lg: {\n span: 13,\n },\n xl: {\n span: 16,\n },\n xxl: {\n span: 18,\n },\n }",
529
+ "attribute": false,
530
+ "type": "ColProps"
531
+ },
532
+ {
533
+ "name": "formStyle",
534
+ "attribute": false,
535
+ "type": "React.CSSProperties"
536
+ },
537
+ {
538
+ "name": "textContent",
539
+ "type": "string",
540
+ "description": "文本内容"
623
541
  }
624
542
  ],
625
543
  "events": [
626
544
  {
627
- "name": "change",
628
- "description": "复选框变化事件",
545
+ "name": "values.change",
546
+ "description": "表单值变更事件",
629
547
  "detail": {
630
- "type": "CheckboxOptionType[]"
548
+ "description": null,
549
+ "type": "Record<string, unknown>"
631
550
  }
632
551
  },
633
552
  {
634
- "name": "options.change",
635
- "description": "复选框变化事件",
553
+ "name": "validate.success",
554
+ "description": "表单验证成功时触发事件",
636
555
  "detail": {
637
- "type": "{\n options: CheckboxOptionType[];\n name: string;\n }"
556
+ "type": "Record<string, unknown>"
557
+ }
558
+ },
559
+ {
560
+ "name": "validate.error",
561
+ "description": "表单验证报错时触发事件",
562
+ "detail": {
563
+ "type": "(MessageBody & { name: string })[]"
638
564
  }
639
565
  }
640
566
  ],
641
- "slots": [],
642
- "methods": [],
567
+ "slots": [
568
+ {
569
+ "name": null,
570
+ "description": "表单内容"
571
+ }
572
+ ],
573
+ "methods": [
574
+ {
575
+ "name": "validate",
576
+ "params": [],
577
+ "description": "表单校验方法",
578
+ "returns": {
579
+ "type": "boolean | Record<string, unknown>"
580
+ }
581
+ },
582
+ {
583
+ "name": "setInitValue",
584
+ "params": [
585
+ {
586
+ "name": "values",
587
+ "type": "Record<string, unknown>"
588
+ },
589
+ {
590
+ "name": "options",
591
+ "type": "{ runInMacrotask?: boolean; runInMicrotask?: boolean }"
592
+ }
593
+ ],
594
+ "description": "表单设置值方法",
595
+ "returns": {}
596
+ },
597
+ {
598
+ "name": "resetFields",
599
+ "params": [
600
+ {
601
+ "name": "name",
602
+ "type": "string"
603
+ }
604
+ ],
605
+ "description": "表单重置值方法",
606
+ "returns": {}
607
+ },
608
+ {
609
+ "name": "getFieldsValue",
610
+ "params": [
611
+ {
612
+ "name": "name",
613
+ "type": "string"
614
+ }
615
+ ],
616
+ "description": "获取表单值方法",
617
+ "returns": {}
618
+ },
619
+ {
620
+ "name": "validateField",
621
+ "params": [
622
+ {
623
+ "name": "name",
624
+ "type": "string"
625
+ }
626
+ ],
627
+ "description": "校验表单字段方法",
628
+ "returns": {}
629
+ },
630
+ {
631
+ "name": "resetValidateState",
632
+ "params": [],
633
+ "description": "重置表单校验状态方法",
634
+ "returns": {}
635
+ }
636
+ ],
643
637
  "parts": [],
644
- "description": "表单复选框构件",
638
+ "description": "表单构件",
645
639
  "category": "form-input-basic"
646
640
  },
647
641
  {
648
- "name": "eo-dynamic-form-item",
642
+ "name": "eo-search",
649
643
  "alias": [
650
- "form.dynamic-form-item"
644
+ "form.general-search"
651
645
  ],
652
646
  "properties": [
653
647
  {
654
- "name": "name",
655
- "description": "字段名称",
648
+ "name": "value",
649
+ "description": "搜索框的值",
650
+ "default": "\"\"",
656
651
  "type": "string"
657
652
  },
658
653
  {
659
- "name": "label",
660
- "description": "字段说明",
654
+ "name": "placeholder",
655
+ "description": "提示语",
661
656
  "type": "string"
662
657
  },
663
658
  {
664
- "name": "required",
665
- "description": "是否必填",
659
+ "name": "autoFocus",
660
+ "description": "是否自动聚焦",
666
661
  "type": "boolean"
667
662
  },
668
663
  {
669
- "name": "value",
670
- "description": "",
671
- "attribute": false,
672
- "type": "DynamicFormValuesItem[]"
673
- },
674
- {
675
- "name": "message",
676
- "description": "校验文本",
677
- "attribute": false,
678
- "type": "Record<string, string>"
679
- },
680
- {
681
- "name": "hideRemoveButton",
682
- "description": "是否隐藏每一行删除的按钮",
683
- "attribute": false,
684
- "type": "boolean | ((row: Record<string, any>, index: number) => boolean)"
685
- },
686
- {
687
- "name": "disabledRemoveButton",
688
- "description": "是否禁止每一行删除的按钮",
689
- "attribute": false,
690
- "type": "boolean | ((row: Record<string, any>, index: number) => boolean)"
664
+ "name": "clearable",
665
+ "description": "可以点击清除图标删除内容",
666
+ "type": "boolean"
691
667
  },
692
668
  {
693
- "name": "hideAddButton",
694
- "description": "是否隐藏添加的按钮",
695
- "attribute": false,
696
- "type": "boolean | ((value: Record<string, any>[]) => boolean)"
669
+ "name": "trim",
670
+ "description": "是否剔除前后空格",
671
+ "type": "boolean"
697
672
  },
698
673
  {
699
- "name": "disabledAddButton",
700
- "description": "是否禁止添加的按钮",
701
- "attribute": false,
702
- "type": "boolean | ((value: Record<string, any>[]) => boolean)"
674
+ "name": "debounceTime",
675
+ "description": "默认延迟时间",
676
+ "default": "0",
677
+ "type": "number"
703
678
  },
704
679
  {
705
- "name": "useBrick",
706
- "description": "动态表单子项构件列表",
680
+ "name": "inputStyle",
681
+ "description": "输入框样式",
707
682
  "attribute": false,
708
- "type": "UseBrickConf"
683
+ "type": "CSSProperties"
709
684
  }
710
685
  ],
711
686
  "events": [
712
687
  {
713
688
  "name": "change",
689
+ "description": "输入的搜索字符,输入变化时触发",
714
690
  "detail": {
715
- "type": "DynamicFormValuesItem[]"
716
- }
717
- },
718
- {
719
- "name": "row.add",
720
- "description": "增加一行时触发,detail为该行的默认值,index为该行的位置",
721
- "detail": {
722
- "type": "rowDataType"
691
+ "type": "string"
723
692
  }
724
693
  },
725
694
  {
726
- "name": "row.remove",
727
- "description": "移除一行时触发,detail为该行的值,index为该行的位置",
695
+ "name": "search",
696
+ "description": "搜索时触发",
728
697
  "detail": {
729
- "type": "rowDataType"
698
+ "type": "string"
730
699
  }
731
700
  }
732
701
  ],
733
702
  "slots": [],
734
703
  "methods": [],
735
704
  "parts": [],
736
- "description": "动态表单",
737
- "category": "form-input-basic"
705
+ "description": "搜索框",
706
+ "category": "interact-basic"
738
707
  },
739
708
  {
740
709
  "name": "eo-icon-select",
@@ -790,73 +759,6 @@
790
759
  "description": "图标选择构件",
791
760
  "category": "form-input-basic"
792
761
  },
793
- {
794
- "name": "eo-search",
795
- "alias": [
796
- "form.general-search"
797
- ],
798
- "properties": [
799
- {
800
- "name": "value",
801
- "description": "搜索框的值",
802
- "default": "\"\"",
803
- "type": "string"
804
- },
805
- {
806
- "name": "placeholder",
807
- "description": "提示语",
808
- "type": "string"
809
- },
810
- {
811
- "name": "autoFocus",
812
- "description": "是否自动聚焦",
813
- "type": "boolean"
814
- },
815
- {
816
- "name": "clearable",
817
- "description": "可以点击清除图标删除内容",
818
- "type": "boolean"
819
- },
820
- {
821
- "name": "trim",
822
- "description": "是否剔除前后空格",
823
- "type": "boolean"
824
- },
825
- {
826
- "name": "debounceTime",
827
- "description": "默认延迟时间",
828
- "default": "0",
829
- "type": "number"
830
- },
831
- {
832
- "name": "inputStyle",
833
- "description": "输入框样式",
834
- "attribute": false,
835
- "type": "CSSProperties"
836
- }
837
- ],
838
- "events": [
839
- {
840
- "name": "change",
841
- "description": "输入的搜索字符,输入变化时触发",
842
- "detail": {
843
- "type": "string"
844
- }
845
- },
846
- {
847
- "name": "search",
848
- "description": "搜索时触发",
849
- "detail": {
850
- "type": "string"
851
- }
852
- }
853
- ],
854
- "slots": [],
855
- "methods": [],
856
- "parts": [],
857
- "description": "搜索框",
858
- "category": "interact-basic"
859
- },
860
762
  {
861
763
  "name": "eo-switch",
862
764
  "alias": [
@@ -1376,6 +1278,104 @@
1376
1278
  "description": "日期选择器",
1377
1279
  "category": "form-input-basic"
1378
1280
  },
1281
+ {
1282
+ "name": "eo-textarea",
1283
+ "alias": [
1284
+ "form.general-textarea"
1285
+ ],
1286
+ "properties": [
1287
+ {
1288
+ "name": "name",
1289
+ "description": "字段名称",
1290
+ "type": "string"
1291
+ },
1292
+ {
1293
+ "name": "label",
1294
+ "description": "标签文字",
1295
+ "type": "string"
1296
+ },
1297
+ {
1298
+ "name": "value",
1299
+ "description": "值",
1300
+ "type": "string"
1301
+ },
1302
+ {
1303
+ "name": "placeholder",
1304
+ "description": "占位说明",
1305
+ "type": "string"
1306
+ },
1307
+ {
1308
+ "name": "disabled",
1309
+ "description": "是否禁用",
1310
+ "type": "boolean"
1311
+ },
1312
+ {
1313
+ "name": "minLength",
1314
+ "description": "最小长度",
1315
+ "type": "number"
1316
+ },
1317
+ {
1318
+ "name": "maxLength",
1319
+ "description": "最大长度",
1320
+ "type": "number"
1321
+ },
1322
+ {
1323
+ "name": "autoSize",
1324
+ "description": "大小自适应",
1325
+ "attribute": false,
1326
+ "type": "AutoSize"
1327
+ },
1328
+ {
1329
+ "name": "required",
1330
+ "description": "是否必填",
1331
+ "type": "boolean"
1332
+ },
1333
+ {
1334
+ "name": "max",
1335
+ "description": "表单校验最大长度",
1336
+ "type": "number"
1337
+ },
1338
+ {
1339
+ "name": "min",
1340
+ "description": "表单校验最小长度",
1341
+ "type": "number"
1342
+ },
1343
+ {
1344
+ "name": "message",
1345
+ "description": "校验信息",
1346
+ "attribute": false,
1347
+ "type": "Record<string, string>"
1348
+ },
1349
+ {
1350
+ "name": "textareaStyle",
1351
+ "description": "自定义样式",
1352
+ "attribute": false,
1353
+ "type": "React.CSSProperties"
1354
+ }
1355
+ ],
1356
+ "events": [
1357
+ {
1358
+ "name": "change",
1359
+ "description": "",
1360
+ "detail": {
1361
+ "description": null,
1362
+ "type": "string"
1363
+ }
1364
+ }
1365
+ ],
1366
+ "slots": [],
1367
+ "methods": [
1368
+ {
1369
+ "name": "focusTextarea",
1370
+ "params": [],
1371
+ "description": "focus",
1372
+ "returns": {}
1373
+ }
1374
+ ],
1375
+ "parts": [],
1376
+ "description": "通用多行文本输入框构件",
1377
+ "category": "form-input-basic"
1378
+ },
1379
1379
  {
1380
1380
  "name": "eo-time-range-picker",
1381
1381
  "properties": [