@next-bricks/form 1.2.3 → 1.3.1
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 +23 -23
- package/dist/chunks/5400.a354d63e.js +2 -0
- package/dist/chunks/5400.a354d63e.js.map +1 -0
- package/dist/chunks/eo-auto-complete.abfc2ae7.js +3 -0
- package/dist/chunks/eo-auto-complete.abfc2ae7.js.map +1 -0
- package/dist/chunks/eo-form-item.b37a9c8b.js +3 -0
- package/dist/chunks/{eo-form-item.7445e5dd.js.map → eo-form-item.b37a9c8b.js.map} +1 -1
- package/dist/chunks/eo-radio.25fda1b5.js +3 -0
- package/dist/chunks/eo-radio.25fda1b5.js.map +1 -0
- package/dist/chunks/{main.f662618a.js → main.d7542b26.js} +2 -2
- package/dist/chunks/{main.f662618a.js.map → main.d7542b26.js.map} +1 -1
- package/dist/examples.json +8 -8
- package/dist/index.f89db72b.js +2 -0
- package/dist/{index.4d48bb2d.js.map → index.f89db72b.js.map} +1 -1
- package/dist/manifest.json +221 -221
- package/dist/types.json +1062 -1090
- package/dist-types/form-item/index.spec.d.ts +1 -0
- package/package.json +2 -2
- package/dist/chunks/5400.71d64003.js +0 -2
- package/dist/chunks/5400.71d64003.js.map +0 -1
- package/dist/chunks/eo-auto-complete.5c2fafb4.js +0 -3
- package/dist/chunks/eo-auto-complete.5c2fafb4.js.map +0 -1
- package/dist/chunks/eo-form-item.7445e5dd.js +0 -3
- package/dist/chunks/eo-radio.918b4712.js +0 -3
- package/dist/chunks/eo-radio.918b4712.js.map +0 -1
- package/dist/index.4d48bb2d.js +0 -2
- /package/dist/chunks/{eo-auto-complete.5c2fafb4.js.LICENSE.txt → eo-auto-complete.abfc2ae7.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-form-item.7445e5dd.js.LICENSE.txt → eo-form-item.b37a9c8b.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-radio.918b4712.js.LICENSE.txt → eo-radio.25fda1b5.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -188,97 +188,6 @@
|
|
|
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
|
-
},
|
|
282
191
|
{
|
|
283
192
|
"name": "eo-form",
|
|
284
193
|
"alias": [
|
|
@@ -411,101 +320,94 @@
|
|
|
411
320
|
"category": "form-input-basic"
|
|
412
321
|
},
|
|
413
322
|
{
|
|
414
|
-
"name": "eo-
|
|
323
|
+
"name": "eo-textarea",
|
|
415
324
|
"alias": [
|
|
416
|
-
"form.general-
|
|
325
|
+
"form.general-textarea"
|
|
417
326
|
],
|
|
418
327
|
"properties": [
|
|
419
328
|
{
|
|
420
329
|
"name": "name",
|
|
421
|
-
"description": "
|
|
330
|
+
"description": "字段名称",
|
|
422
331
|
"type": "string"
|
|
423
332
|
},
|
|
424
333
|
{
|
|
425
334
|
"name": "label",
|
|
426
|
-
"description": "
|
|
335
|
+
"description": "标签文字",
|
|
427
336
|
"type": "string"
|
|
428
337
|
},
|
|
429
338
|
{
|
|
430
|
-
"name": "
|
|
431
|
-
"description": "
|
|
432
|
-
"
|
|
433
|
-
"attribute": false,
|
|
434
|
-
"type": "GeneralOption[]"
|
|
339
|
+
"name": "value",
|
|
340
|
+
"description": "值",
|
|
341
|
+
"type": "string"
|
|
435
342
|
},
|
|
436
343
|
{
|
|
437
|
-
"name": "
|
|
438
|
-
"description": "
|
|
439
|
-
"
|
|
440
|
-
"type": "any"
|
|
344
|
+
"name": "placeholder",
|
|
345
|
+
"description": "占位说明",
|
|
346
|
+
"type": "string"
|
|
441
347
|
},
|
|
442
348
|
{
|
|
443
|
-
"name": "
|
|
444
|
-
"description": "
|
|
349
|
+
"name": "disabled",
|
|
350
|
+
"description": "是否禁用",
|
|
445
351
|
"type": "boolean"
|
|
446
352
|
},
|
|
447
353
|
{
|
|
448
|
-
"name": "
|
|
449
|
-
"description": "
|
|
450
|
-
"
|
|
451
|
-
"type": "Record<string, string>"
|
|
354
|
+
"name": "minLength",
|
|
355
|
+
"description": "最小长度",
|
|
356
|
+
"type": "number"
|
|
452
357
|
},
|
|
453
358
|
{
|
|
454
|
-
"name": "
|
|
455
|
-
"description": "
|
|
456
|
-
"type": "
|
|
359
|
+
"name": "maxLength",
|
|
360
|
+
"description": "最大长度",
|
|
361
|
+
"type": "number"
|
|
457
362
|
},
|
|
458
363
|
{
|
|
459
|
-
"name": "
|
|
460
|
-
"description": "
|
|
461
|
-
"
|
|
462
|
-
"type": "
|
|
364
|
+
"name": "autoSize",
|
|
365
|
+
"description": "大小自适应",
|
|
366
|
+
"attribute": false,
|
|
367
|
+
"type": "AutoSize"
|
|
463
368
|
},
|
|
464
369
|
{
|
|
465
|
-
"name": "
|
|
466
|
-
"description": "
|
|
467
|
-
"
|
|
468
|
-
"type": "UIType"
|
|
370
|
+
"name": "required",
|
|
371
|
+
"description": "是否必填",
|
|
372
|
+
"type": "boolean"
|
|
469
373
|
},
|
|
470
374
|
{
|
|
471
|
-
"name": "
|
|
472
|
-
"description": "
|
|
473
|
-
"
|
|
474
|
-
"type": "ComponentSize"
|
|
375
|
+
"name": "max",
|
|
376
|
+
"description": "表单校验最大长度",
|
|
377
|
+
"type": "number"
|
|
475
378
|
},
|
|
476
379
|
{
|
|
477
|
-
"name": "
|
|
478
|
-
"description": "
|
|
380
|
+
"name": "min",
|
|
381
|
+
"description": "表单校验最小长度",
|
|
382
|
+
"type": "number"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"name": "message",
|
|
386
|
+
"description": "校验信息",
|
|
479
387
|
"attribute": false,
|
|
480
|
-
"type": "
|
|
388
|
+
"type": "Record<string, string>"
|
|
481
389
|
},
|
|
482
390
|
{
|
|
483
|
-
"name": "
|
|
484
|
-
"description": "
|
|
391
|
+
"name": "textareaStyle",
|
|
392
|
+
"description": "自定义样式",
|
|
485
393
|
"attribute": false,
|
|
486
|
-
"type": "
|
|
394
|
+
"type": "React.CSSProperties"
|
|
487
395
|
}
|
|
488
396
|
],
|
|
489
397
|
"events": [
|
|
490
398
|
{
|
|
491
399
|
"name": "change",
|
|
492
|
-
"description": "
|
|
493
|
-
"detail": {
|
|
494
|
-
"type": "{\n label: string;\n value: any;\n [key: string]: any;\n }"
|
|
495
|
-
}
|
|
496
|
-
},
|
|
497
|
-
{
|
|
498
|
-
"name": "options.change",
|
|
499
|
-
"description": "选项列表变化事件",
|
|
400
|
+
"description": "",
|
|
500
401
|
"detail": {
|
|
501
|
-
"
|
|
402
|
+
"description": null,
|
|
403
|
+
"type": "string"
|
|
502
404
|
}
|
|
503
405
|
}
|
|
504
406
|
],
|
|
505
407
|
"slots": [],
|
|
506
408
|
"methods": [],
|
|
507
409
|
"parts": [],
|
|
508
|
-
"description": "
|
|
410
|
+
"description": "通用多行文本输入框构件",
|
|
509
411
|
"category": "form-input-basic"
|
|
510
412
|
},
|
|
511
413
|
{
|
|
@@ -750,155 +652,161 @@
|
|
|
750
652
|
"category": "form-input-basic"
|
|
751
653
|
},
|
|
752
654
|
{
|
|
753
|
-
"name": "eo-
|
|
655
|
+
"name": "eo-radio",
|
|
754
656
|
"alias": [
|
|
755
|
-
"form.
|
|
657
|
+
"form.general-radio"
|
|
756
658
|
],
|
|
757
659
|
"properties": [
|
|
758
660
|
{
|
|
759
|
-
"name": "
|
|
760
|
-
"description": "
|
|
761
|
-
"default": "\"提交\"",
|
|
661
|
+
"name": "name",
|
|
662
|
+
"description": "下拉框字段名",
|
|
762
663
|
"type": "string"
|
|
763
664
|
},
|
|
764
665
|
{
|
|
765
|
-
"name": "
|
|
766
|
-
"description": "
|
|
666
|
+
"name": "label",
|
|
667
|
+
"description": "单选框字段说明",
|
|
767
668
|
"type": "string"
|
|
768
669
|
},
|
|
769
670
|
{
|
|
770
|
-
"name": "
|
|
771
|
-
"description": "
|
|
671
|
+
"name": "options",
|
|
672
|
+
"description": "单选框选项表",
|
|
673
|
+
"required": true,
|
|
674
|
+
"attribute": false,
|
|
675
|
+
"type": "GeneralOption[]"
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"name": "value",
|
|
679
|
+
"description": "单选框当前选中始值",
|
|
680
|
+
"attribute": false,
|
|
681
|
+
"type": "any"
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
"name": "required",
|
|
685
|
+
"description": "是否必填",
|
|
772
686
|
"type": "boolean"
|
|
773
687
|
},
|
|
774
688
|
{
|
|
775
|
-
"name": "
|
|
776
|
-
"description": "
|
|
689
|
+
"name": "message",
|
|
690
|
+
"description": "校验文本信息",
|
|
691
|
+
"attribute": false,
|
|
692
|
+
"type": "Record<string, string>"
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
"name": "disabled",
|
|
696
|
+
"description": "是否禁用",
|
|
777
697
|
"type": "boolean"
|
|
778
698
|
},
|
|
779
699
|
{
|
|
780
|
-
"name": "
|
|
781
|
-
"description": "
|
|
782
|
-
"
|
|
700
|
+
"name": "type",
|
|
701
|
+
"description": "单选框样式类型",
|
|
702
|
+
"default": "\"default\"",
|
|
703
|
+
"type": "RadioType"
|
|
783
704
|
},
|
|
784
705
|
{
|
|
785
|
-
"name": "
|
|
786
|
-
"description": "
|
|
787
|
-
"
|
|
706
|
+
"name": "ui",
|
|
707
|
+
"description": "UI样式",
|
|
708
|
+
"default": "\"default\"",
|
|
709
|
+
"type": "UIType"
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"name": "size",
|
|
713
|
+
"description": "大小,只对按钮样式生效",
|
|
714
|
+
"default": "\"medium\"",
|
|
715
|
+
"type": "ComponentSize"
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"name": "customStyle",
|
|
719
|
+
"description": "自定义radio的外层样式",
|
|
720
|
+
"attribute": false,
|
|
721
|
+
"type": "React.CSSProperties"
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
"name": "useBrick",
|
|
725
|
+
"description": "自定义radio的内容",
|
|
726
|
+
"attribute": false,
|
|
727
|
+
"type": "UseSingleBrickConf"
|
|
788
728
|
}
|
|
789
729
|
],
|
|
790
730
|
"events": [
|
|
791
731
|
{
|
|
792
|
-
"name": "
|
|
793
|
-
"description": "
|
|
732
|
+
"name": "change",
|
|
733
|
+
"description": "值变化事件",
|
|
794
734
|
"detail": {
|
|
795
|
-
"type": "
|
|
735
|
+
"type": "GeneralComplexOption | undefined"
|
|
796
736
|
}
|
|
797
737
|
},
|
|
798
738
|
{
|
|
799
|
-
"name": "
|
|
800
|
-
"description": "
|
|
739
|
+
"name": "options.change",
|
|
740
|
+
"description": "选项列表变化事件",
|
|
801
741
|
"detail": {
|
|
802
|
-
"type": "
|
|
742
|
+
"type": "{\n options: {\n label: string;\n value: any;\n [key: string]: any;\n };\n name: string;\n }"
|
|
803
743
|
}
|
|
804
744
|
}
|
|
805
745
|
],
|
|
806
746
|
"slots": [],
|
|
807
747
|
"methods": [],
|
|
808
748
|
"parts": [],
|
|
809
|
-
"description": "
|
|
749
|
+
"description": "通用单选构件",
|
|
810
750
|
"category": "form-input-basic"
|
|
811
751
|
},
|
|
812
752
|
{
|
|
813
|
-
"name": "eo-
|
|
753
|
+
"name": "eo-submit-buttons",
|
|
814
754
|
"alias": [
|
|
815
|
-
"form.
|
|
755
|
+
"form.submit-buttons"
|
|
816
756
|
],
|
|
817
757
|
"properties": [
|
|
818
758
|
{
|
|
819
|
-
"name": "
|
|
820
|
-
"description": "
|
|
759
|
+
"name": "submitText",
|
|
760
|
+
"description": "提交按钮的文字",
|
|
761
|
+
"default": "\"提交\"",
|
|
821
762
|
"type": "string"
|
|
822
763
|
},
|
|
823
764
|
{
|
|
824
|
-
"name": "
|
|
825
|
-
"description": "
|
|
765
|
+
"name": "cancelText",
|
|
766
|
+
"description": "取消按钮的文字,不设置则不显示取消按钮",
|
|
826
767
|
"type": "string"
|
|
827
768
|
},
|
|
828
769
|
{
|
|
829
|
-
"name": "
|
|
830
|
-
"description": "
|
|
831
|
-
"attribute": false,
|
|
832
|
-
"type": "CheckboxValueType[]"
|
|
833
|
-
},
|
|
834
|
-
{
|
|
835
|
-
"name": "options",
|
|
836
|
-
"description": "多选框选项表",
|
|
837
|
-
"required": true,
|
|
838
|
-
"default": "[]",
|
|
839
|
-
"attribute": false,
|
|
840
|
-
"type": "CheckboxOptionType[]"
|
|
841
|
-
},
|
|
842
|
-
{
|
|
843
|
-
"name": "type",
|
|
844
|
-
"description": "类型",
|
|
845
|
-
"default": "\"default\"",
|
|
846
|
-
"type": "CheckboxType"
|
|
847
|
-
},
|
|
848
|
-
{
|
|
849
|
-
"name": "disabled",
|
|
850
|
-
"description": "是否禁用",
|
|
851
|
-
"type": "boolean"
|
|
852
|
-
},
|
|
853
|
-
{
|
|
854
|
-
"name": "isCustom",
|
|
855
|
-
"description": "是否为自定义",
|
|
856
|
-
"default": "false",
|
|
770
|
+
"name": "disableAfterClick",
|
|
771
|
+
"description": "点击确定按钮后自动禁用",
|
|
857
772
|
"type": "boolean"
|
|
858
773
|
},
|
|
859
774
|
{
|
|
860
|
-
"name": "
|
|
861
|
-
"description": "
|
|
775
|
+
"name": "submitDisabled",
|
|
776
|
+
"description": "禁用提交按钮",
|
|
862
777
|
"type": "boolean"
|
|
863
778
|
},
|
|
864
779
|
{
|
|
865
|
-
"name": "
|
|
866
|
-
"description": "
|
|
867
|
-
"
|
|
868
|
-
"type": "Record<string, string>"
|
|
869
|
-
},
|
|
870
|
-
{
|
|
871
|
-
"name": "isGroup",
|
|
872
|
-
"description": "是否为复选框,为true时,则可设置分组数据 optionGroups",
|
|
873
|
-
"type": "boolean"
|
|
780
|
+
"name": "submitType",
|
|
781
|
+
"description": "提交按钮类型",
|
|
782
|
+
"type": "ButtonType"
|
|
874
783
|
},
|
|
875
784
|
{
|
|
876
|
-
"name": "
|
|
877
|
-
"description": "
|
|
878
|
-
"
|
|
879
|
-
"type": "OptionGroup[]"
|
|
785
|
+
"name": "cancelType",
|
|
786
|
+
"description": "取消按钮类型",
|
|
787
|
+
"type": "ButtonType"
|
|
880
788
|
}
|
|
881
789
|
],
|
|
882
790
|
"events": [
|
|
883
791
|
{
|
|
884
|
-
"name": "
|
|
885
|
-
"description": "
|
|
792
|
+
"name": "submit",
|
|
793
|
+
"description": "点击提交按钮触发的事件",
|
|
886
794
|
"detail": {
|
|
887
|
-
"type": "
|
|
795
|
+
"type": "void"
|
|
888
796
|
}
|
|
889
797
|
},
|
|
890
798
|
{
|
|
891
|
-
"name": "
|
|
892
|
-
"description": "
|
|
799
|
+
"name": "cancel",
|
|
800
|
+
"description": "点击取消按钮触发的事件",
|
|
893
801
|
"detail": {
|
|
894
|
-
"type": "
|
|
802
|
+
"type": "void"
|
|
895
803
|
}
|
|
896
804
|
}
|
|
897
805
|
],
|
|
898
806
|
"slots": [],
|
|
899
807
|
"methods": [],
|
|
900
808
|
"parts": [],
|
|
901
|
-
"description": "
|
|
809
|
+
"description": "表单提交按钮",
|
|
902
810
|
"category": "form-input-basic"
|
|
903
811
|
},
|
|
904
812
|
{
|
|
@@ -1054,6 +962,98 @@
|
|
|
1054
962
|
"description": "搜索框",
|
|
1055
963
|
"category": "form-input-basic"
|
|
1056
964
|
},
|
|
965
|
+
{
|
|
966
|
+
"name": "eo-checkbox",
|
|
967
|
+
"alias": [
|
|
968
|
+
"form.general-checkbox"
|
|
969
|
+
],
|
|
970
|
+
"properties": [
|
|
971
|
+
{
|
|
972
|
+
"name": "name",
|
|
973
|
+
"description": "字段名称",
|
|
974
|
+
"type": "string"
|
|
975
|
+
},
|
|
976
|
+
{
|
|
977
|
+
"name": "label",
|
|
978
|
+
"description": "字段说明",
|
|
979
|
+
"type": "string"
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
"name": "value",
|
|
983
|
+
"description": "值",
|
|
984
|
+
"attribute": false,
|
|
985
|
+
"type": "CheckboxValueType[]"
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
"name": "options",
|
|
989
|
+
"description": "多选框选项表",
|
|
990
|
+
"required": true,
|
|
991
|
+
"default": "[]",
|
|
992
|
+
"attribute": false,
|
|
993
|
+
"type": "CheckboxOptionType[]"
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
"name": "type",
|
|
997
|
+
"description": "类型",
|
|
998
|
+
"default": "\"default\"",
|
|
999
|
+
"type": "CheckboxType"
|
|
1000
|
+
},
|
|
1001
|
+
{
|
|
1002
|
+
"name": "disabled",
|
|
1003
|
+
"description": "是否禁用",
|
|
1004
|
+
"type": "boolean"
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"name": "isCustom",
|
|
1008
|
+
"description": "是否为自定义",
|
|
1009
|
+
"default": "false",
|
|
1010
|
+
"type": "boolean"
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
"name": "required",
|
|
1014
|
+
"description": "是否必填",
|
|
1015
|
+
"type": "boolean"
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"name": "message",
|
|
1019
|
+
"description": "校验文本",
|
|
1020
|
+
"attribute": false,
|
|
1021
|
+
"type": "Record<string, string>"
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
"name": "isGroup",
|
|
1025
|
+
"description": "是否为复选框,为true时,则可设置分组数据 optionGroups",
|
|
1026
|
+
"type": "boolean"
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
"name": "optionGroups",
|
|
1030
|
+
"description": "多选框选项分组数据,需要设置 isGroup 为 true 才生效",
|
|
1031
|
+
"attribute": false,
|
|
1032
|
+
"type": "OptionGroup[]"
|
|
1033
|
+
}
|
|
1034
|
+
],
|
|
1035
|
+
"events": [
|
|
1036
|
+
{
|
|
1037
|
+
"name": "change",
|
|
1038
|
+
"description": "复选框变化事件",
|
|
1039
|
+
"detail": {
|
|
1040
|
+
"type": "CheckboxOptionType[]"
|
|
1041
|
+
}
|
|
1042
|
+
},
|
|
1043
|
+
{
|
|
1044
|
+
"name": "options.change",
|
|
1045
|
+
"description": "复选框变化事件",
|
|
1046
|
+
"detail": {
|
|
1047
|
+
"type": "{\n options: CheckboxOptionType[];\n name: string;\n }"
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
],
|
|
1051
|
+
"slots": [],
|
|
1052
|
+
"methods": [],
|
|
1053
|
+
"parts": [],
|
|
1054
|
+
"description": "表单复选框构件",
|
|
1055
|
+
"category": "form-input-basic"
|
|
1056
|
+
},
|
|
1057
1057
|
{
|
|
1058
1058
|
"name": "eo-icon-select",
|
|
1059
1059
|
"alias": [
|