@next-bricks/advanced 0.41.0 → 0.41.2

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.
@@ -344,6 +344,76 @@
344
344
  "category": "table",
345
345
  "insider": true
346
346
  },
347
+ {
348
+ "name": "eo-workbench-layout-v2",
349
+ "properties": [
350
+ {
351
+ "name": "cardTitle",
352
+ "type": "string"
353
+ },
354
+ {
355
+ "name": "isEdit",
356
+ "type": "boolean"
357
+ },
358
+ {
359
+ "name": "layouts",
360
+ "attribute": false,
361
+ "type": "Layout[]"
362
+ },
363
+ {
364
+ "name": "toolbarBricks",
365
+ "attribute": false,
366
+ "type": "{\n useBrick: UseSingleBrickConf[];\n }"
367
+ },
368
+ {
369
+ "name": "componentList",
370
+ "attribute": false,
371
+ "type": "Item[]"
372
+ }
373
+ ],
374
+ "events": [
375
+ {
376
+ "name": "change",
377
+ "detail": {
378
+ "type": "Layout[]"
379
+ }
380
+ },
381
+ {
382
+ "name": "save",
383
+ "detail": {
384
+ "type": "Layout[]"
385
+ }
386
+ },
387
+ {
388
+ "name": "cancel",
389
+ "detail": {
390
+ "type": "void"
391
+ }
392
+ },
393
+ {
394
+ "name": "action.click",
395
+ "description": "操作点击事件",
396
+ "detail": {
397
+ "description": "{\naction: SimpleAction;\nlayouts: Layout[];\n}",
398
+ "type": "{\n action: SimpleAction;\n layouts: Layout[];\n }"
399
+ }
400
+ }
401
+ ],
402
+ "slots": [],
403
+ "methods": [
404
+ {
405
+ "name": "setLayouts",
406
+ "params": [
407
+ {
408
+ "name": "layouts",
409
+ "type": "Layout[]"
410
+ }
411
+ ]
412
+ }
413
+ ],
414
+ "parts": [],
415
+ "description": "工作台布局V2,未使用shadow dom"
416
+ },
347
417
  {
348
418
  "name": "eo-cascader",
349
419
  "alias": [
@@ -452,583 +522,452 @@
452
522
  "category": "form-input-basic"
453
523
  },
454
524
  {
455
- "name": "eo-next-table",
525
+ "name": "eo-tree",
456
526
  "properties": [
457
- {
458
- "name": "rowKey",
459
- "description": "指定表格行的 key",
460
- "default": "\"key\"",
461
- "type": "string"
462
- },
463
- {
464
- "name": "columns",
465
- "description": "列定义",
466
- "attribute": false,
467
- "type": "Column[]"
468
- },
469
- {
470
- "name": "cell",
471
- "description": "单元格",
472
- "attribute": false,
473
- "type": "CellConfig"
474
- },
475
527
  {
476
528
  "name": "dataSource",
477
- "description": "数据源",
478
529
  "attribute": false,
479
- "type": "DataSource"
530
+ "type": "TreeNode[]"
480
531
  },
481
532
  {
482
- "name": "frontSearch",
483
- "description": "是否前端搜索",
533
+ "name": "checkable",
484
534
  "type": "boolean"
485
535
  },
486
536
  {
487
- "name": "pagination",
488
- "description": "分页配置",
489
- "attribute": false,
490
- "type": "PaginationType"
491
- },
492
- {
493
- "name": "multiSort",
494
- "description": "是否支持多列排序,前端搜索时需设置 column.sortPriority 优先级",
537
+ "name": "selectable",
538
+ "description": "",
539
+ "default": "true",
495
540
  "type": "boolean"
496
541
  },
497
542
  {
498
- "name": "sort",
499
- "description": "排序信息",
500
- "attribute": false,
501
- "type": "Sort | Sort[]"
502
- },
503
- {
504
- "name": "rowSelection",
505
- "description": "表格行可选择配置",
506
- "attribute": false,
507
- "type": "RowSelectionType"
543
+ "name": "defaultExpandAll",
544
+ "type": "boolean"
508
545
  },
509
546
  {
510
- "name": "selectedRowKeys",
511
- "description": "选中项的 key",
512
- "attribute": false,
513
- "type": "(string | number)[]"
547
+ "name": "showLine",
548
+ "type": "boolean"
514
549
  },
515
550
  {
516
- "name": "hiddenColumns",
517
- "description": "隐藏的列(输入对应的 column.key)",
551
+ "name": "expandedKeys",
518
552
  "attribute": false,
519
- "type": "(string | number)[]"
553
+ "type": "TreeNodeKey[]"
520
554
  },
521
555
  {
522
- "name": "expandable",
523
- "description": "表格行展开配置",
556
+ "name": "checkedKeys",
524
557
  "attribute": false,
525
- "type": "ExpandableType"
558
+ "type": "TreeNodeKey[]"
526
559
  },
527
560
  {
528
- "name": "expandedRowKeys",
529
- "description": "展开项的 key",
561
+ "name": "nodeDraggable",
530
562
  "attribute": false,
531
- "type": "(string | number)[]"
532
- },
533
- {
534
- "name": "childrenColumnName",
535
- "description": "树形结构的列名",
536
- "default": "\"children\"",
537
- "type": "string"
538
- },
539
- {
540
- "name": "rowDraggable",
541
- "description": "表格行拖拽配置",
542
- "type": "boolean"
563
+ "type": "boolean | { icon?: false }"
543
564
  },
544
565
  {
545
- "name": "searchFields",
546
- "description": "进行前端搜索的字段,支持嵌套的写法。不配置的时候默认为对所有 column.dataIndex 进行前端搜索",
566
+ "name": "switcherIcon",
547
567
  "attribute": false,
548
- "type": "(string | string[])[]"
549
- },
550
- {
551
- "name": "size",
552
- "description": "表格大小",
553
- "default": "\"large\"",
554
- "type": "TableProps<RecordType>[\"size\"]"
555
- },
556
- {
557
- "name": "showHeader",
558
- "description": "是否显示表头",
559
- "default": "true",
560
- "type": "boolean"
568
+ "type": "\"auto\" | \"chevron\" | false"
561
569
  },
562
570
  {
563
- "name": "scrollConfig",
564
- "description": "滚动配置",
565
- "default": "{ x: true }",
571
+ "name": "allowDrop",
566
572
  "attribute": false,
567
- "type": "TableProps<RecordType>[\"scroll\"]"
573
+ "type": "((info: AllowDropInfo) => boolean)"
568
574
  },
569
575
  {
570
- "name": "optimizedColumns",
571
- "description": "优化渲染的列(输入对应的 column.key)",
576
+ "name": "titleSuffixBrick",
572
577
  "attribute": false,
573
- "type": "(string | number)[]"
578
+ "type": "{ useBrick: UseBrickConf }"
574
579
  }
575
580
  ],
576
581
  "events": [
577
582
  {
578
- "name": "page.change",
579
- "description": "page 或 pageSize 改变的回调",
580
- "detail": {
581
- "description": "改变后的页码及每页条数",
582
- "type": "{ page: number; pageSize: number }"
583
- }
584
- },
585
- {
586
- "name": "page.size.change",
587
- "description": "pageSize 变化的回调",
588
- "deprecated": "统一用 `page.change` 事件",
589
- "detail": {
590
- "description": "改变后的页码及每页条数",
591
- "type": "{\n page: number;\n pageSize: number;\n }"
592
- }
593
- },
594
- {
595
- "name": "sort.change",
596
- "description": "排序变化的回调",
597
- "detail": {
598
- "description": "当前排序的信息",
599
- "type": "Sort | Sort[] | undefined"
600
- }
601
- },
602
- {
603
- "name": "row.select",
604
- "description": "行选中项发生变化时的回调",
583
+ "name": "check",
605
584
  "detail": {
606
- "description": "改变后的 rowKey 及行数据",
607
- "type": "{\n keys: (string | number)[];\n rows: RecordType[];\n info: { type: RowSelectMethod };\n }"
585
+ "type": "TreeNodeKey[]"
608
586
  }
609
587
  },
610
588
  {
611
- "name": "row.expand",
612
- "description": "点击展开图标时触发",
589
+ "name": "check.detail",
613
590
  "detail": {
614
- "description": "当前行的展开情况及数据",
615
- "type": "{\n expanded: boolean;\n record: RecordType;\n }"
591
+ "type": "CheckDetail"
616
592
  }
617
593
  },
618
594
  {
619
- "name": "expanded.rows.change",
620
- "description": "展开的行变化时触发",
595
+ "name": "expand",
621
596
  "detail": {
622
- "description": "所有展开行的 key",
623
- "type": "(string | number)[]"
597
+ "type": "TreeNodeKey[]"
624
598
  }
625
599
  },
626
600
  {
627
- "name": "row.drag",
628
- "description": "表格行拖拽结束发生的事件",
601
+ "name": "node.drop",
629
602
  "detail": {
630
- "description": "重新排序的行数据、拖拽的行数据、放下位置的行数据",
631
- "type": "{\n list: RecordType[];\n active: RecordType;\n over: RecordType;\n }"
603
+ "type": "DropDetail"
632
604
  }
633
605
  }
634
606
  ],
635
607
  "slots": [],
636
- "methods": [
637
- {
638
- "name": "search",
639
- "params": [
640
- {
641
- "name": "params",
642
- "type": "{ q: string }"
643
- }
644
- ],
645
- "description": "前端搜索",
646
- "returns": {}
647
- }
648
- ],
608
+ "methods": [],
649
609
  "parts": [],
650
- "description": "大型表格",
651
- "category": "table"
610
+ "description": "树形构件"
652
611
  },
653
612
  {
654
- "name": "eo-workbench-layout",
613
+ "name": "eo-tree-select",
655
614
  "properties": [
656
615
  {
657
- "name": "cardTitle",
616
+ "name": "name",
658
617
  "type": "string"
659
618
  },
660
619
  {
661
- "name": "isEdit",
620
+ "name": "label",
621
+ "type": "string"
622
+ },
623
+ {
624
+ "name": "required",
662
625
  "type": "boolean"
663
626
  },
664
627
  {
665
- "name": "layouts",
666
- "attribute": false,
667
- "type": "Layout[]"
668
- },
669
- {
670
- "name": "componentList",
628
+ "name": "treeData",
671
629
  "attribute": false,
672
- "type": "Item[]"
673
- }
674
- ],
675
- "events": [
676
- {
677
- "name": "change",
678
- "detail": {
679
- "type": "Layout[]"
680
- }
681
- },
682
- {
683
- "name": "save",
684
- "detail": {
685
- "type": "Layout[]"
686
- }
687
- },
688
- {
689
- "name": "cancel",
690
- "detail": {
691
- "type": "void"
692
- }
693
- },
694
- {
695
- "name": "action.click",
696
- "description": "操作点击事件",
697
- "detail": {
698
- "description": "{\naction: SimpleAction;\nlayouts: Layout[];\n}",
699
- "type": "{\n action: SimpleAction;\n layouts: Layout[];\n }"
700
- }
701
- }
702
- ],
703
- "slots": [],
704
- "methods": [
705
- {
706
- "name": "setLayouts",
707
- "params": [
708
- {
709
- "name": "layouts",
710
- "type": "Layout[]"
711
- }
712
- ]
713
- }
714
- ],
715
- "parts": [],
716
- "description": "工作台布局",
717
- "deprecated": "Please use eo-workbench-layout-v2 which support global styles instead"
718
- },
719
- {
720
- "name": "eo-workbench-layout-v2",
721
- "properties": [
722
- {
723
- "name": "cardTitle",
724
- "type": "string"
630
+ "type": "AntdTreeSelectProps[\"treeData\"]"
725
631
  },
726
632
  {
727
- "name": "isEdit",
633
+ "name": "treeDefaultExpandAll",
728
634
  "type": "boolean"
729
635
  },
730
636
  {
731
- "name": "layouts",
637
+ "name": "treeExpandedKeys",
732
638
  "attribute": false,
733
- "type": "Layout[]"
639
+ "type": "string[]"
734
640
  },
735
641
  {
736
- "name": "toolbarBricks",
642
+ "name": "fieldNames",
737
643
  "attribute": false,
738
- "type": "{\n useBrick: UseSingleBrickConf[];\n }"
644
+ "type": "AntdTreeSelectProps[\"fieldNames\"]"
739
645
  },
740
646
  {
741
- "name": "componentList",
647
+ "name": "value",
742
648
  "attribute": false,
743
- "type": "Item[]"
744
- }
745
- ],
746
- "events": [
747
- {
748
- "name": "change",
749
- "detail": {
750
- "type": "Layout[]"
751
- }
649
+ "type": "AntdTreeSelectProps[\"value\"]"
752
650
  },
753
651
  {
754
- "name": "save",
755
- "detail": {
756
- "type": "Layout[]"
757
- }
652
+ "name": "placeholder",
653
+ "type": "string"
758
654
  },
759
655
  {
760
- "name": "cancel",
761
- "detail": {
762
- "type": "void"
763
- }
656
+ "name": "multiple",
657
+ "type": "boolean"
764
658
  },
765
659
  {
766
- "name": "action.click",
767
- "description": "操作点击事件",
768
- "detail": {
769
- "description": "{\naction: SimpleAction;\nlayouts: Layout[];\n}",
770
- "type": "{\n action: SimpleAction;\n layouts: Layout[];\n }"
771
- }
772
- }
773
- ],
774
- "slots": [],
775
- "methods": [
776
- {
777
- "name": "setLayouts",
778
- "params": [
779
- {
780
- "name": "layouts",
781
- "type": "Layout[]"
782
- }
783
- ]
784
- }
785
- ],
786
- "parts": [],
787
- "description": "工作台布局V2,未使用shadow dom"
788
- },
789
- {
790
- "name": "eo-tree",
791
- "properties": [
792
- {
793
- "name": "dataSource",
794
- "attribute": false,
795
- "type": "TreeNode[]"
660
+ "name": "disabled",
661
+ "type": "boolean"
796
662
  },
797
663
  {
798
664
  "name": "checkable",
799
665
  "type": "boolean"
800
666
  },
801
667
  {
802
- "name": "selectable",
803
- "description": "",
804
- "default": "true",
805
- "type": "boolean"
668
+ "name": "allowClear",
669
+ "type": "boolean",
670
+ "default": "true"
806
671
  },
807
672
  {
808
- "name": "defaultExpandAll",
809
- "type": "boolean"
673
+ "name": "loading",
674
+ "type": "boolean",
675
+ "default": "false"
810
676
  },
811
677
  {
812
- "name": "showLine",
813
- "type": "boolean"
678
+ "name": "filterTreeNode",
679
+ "attribute": false,
680
+ "type": "AntdTreeSelectProps[\"filterTreeNode\"]"
814
681
  },
815
682
  {
816
- "name": "expandedKeys",
817
- "attribute": false,
818
- "type": "TreeNodeKey[]"
683
+ "name": "showSearch",
684
+ "type": "boolean",
685
+ "default": "true"
819
686
  },
820
687
  {
821
- "name": "checkedKeys",
688
+ "name": "suffixIcon",
822
689
  "attribute": false,
823
- "type": "TreeNodeKey[]"
690
+ "type": "GeneralIconProps"
824
691
  },
825
692
  {
826
- "name": "nodeDraggable",
827
- "attribute": false,
828
- "type": "boolean | { icon?: false }"
693
+ "name": "popupPlacement",
694
+ "type": "AntdTreeSelectProps[\"placement\"]",
695
+ "default": "\"bottomLeft\""
829
696
  },
830
697
  {
831
- "name": "switcherIcon",
832
- "attribute": false,
833
- "type": "\"auto\" | \"chevron\" | false"
698
+ "name": "size",
699
+ "type": "AntdTreeSelectProps[\"size\"]"
834
700
  },
835
701
  {
836
- "name": "allowDrop",
702
+ "name": "maxTagCount",
837
703
  "attribute": false,
838
- "type": "((info: AllowDropInfo) => boolean)"
704
+ "type": "number | \"responsive\""
839
705
  },
840
706
  {
841
- "name": "titleSuffixBrick",
707
+ "name": "dropdownStyle",
842
708
  "attribute": false,
843
- "type": "{ useBrick: UseBrickConf }"
709
+ "type": "CSSProperties"
844
710
  }
845
711
  ],
846
712
  "events": [
847
713
  {
848
- "name": "check",
714
+ "name": "change",
715
+ "description": "",
849
716
  "detail": {
850
- "type": "TreeNodeKey[]"
717
+ "description": "{ value: AntdTreeSelectProps[\"value\"], selectedOptions: DefaultOptionType[] | DefaultOptionType[][] }",
718
+ "type": "{\n value: AntdTreeSelectProps[\"value\"];\n }"
851
719
  }
852
720
  },
853
721
  {
854
- "name": "check.detail",
722
+ "name": "search",
855
723
  "detail": {
856
- "type": "CheckDetail"
724
+ "type": "string"
857
725
  }
858
726
  },
859
727
  {
860
- "name": "expand",
728
+ "name": "select",
861
729
  "detail": {
862
- "type": "TreeNodeKey[]"
730
+ "type": "{ value: AntdTreeSelectProps[\"value\"] }"
863
731
  }
864
732
  },
865
733
  {
866
- "name": "node.drop",
734
+ "name": "expand",
867
735
  "detail": {
868
- "type": "DropDetail"
736
+ "type": "{ keys: React.Key[] }"
869
737
  }
870
738
  }
871
739
  ],
872
740
  "slots": [],
873
741
  "methods": [],
874
742
  "parts": [],
875
- "description": "树形构件"
743
+ "description": "树选择器",
744
+ "category": "form-input-basic"
876
745
  },
877
746
  {
878
- "name": "eo-tree-select",
747
+ "name": "eo-text-tooltip",
879
748
  "properties": [
880
- {
881
- "name": "name",
882
- "type": "string"
883
- },
884
749
  {
885
750
  "name": "label",
751
+ "description": "文案",
752
+ "default": null,
886
753
  "type": "string"
887
754
  },
888
755
  {
889
- "name": "required",
890
- "type": "boolean"
891
- },
756
+ "name": "lineClamp",
757
+ "description": "省略行数",
758
+ "default": "1",
759
+ "type": "number"
760
+ }
761
+ ],
762
+ "events": [],
763
+ "slots": [],
764
+ "methods": [],
765
+ "parts": [],
766
+ "description": "超出宽度鼠标悬浮显示tooltip\n构件 `eo-text-tooltip`"
767
+ },
768
+ {
769
+ "name": "eo-next-table",
770
+ "properties": [
892
771
  {
893
- "name": "treeData",
894
- "attribute": false,
895
- "type": "AntdTreeSelectProps[\"treeData\"]"
772
+ "name": "rowKey",
773
+ "description": "指定表格行的 key",
774
+ "default": "\"key\"",
775
+ "type": "string"
896
776
  },
897
777
  {
898
- "name": "treeDefaultExpandAll",
899
- "type": "boolean"
778
+ "name": "columns",
779
+ "description": "列定义",
780
+ "attribute": false,
781
+ "type": "Column[]"
900
782
  },
901
783
  {
902
- "name": "treeExpandedKeys",
784
+ "name": "cell",
785
+ "description": "单元格",
903
786
  "attribute": false,
904
- "type": "string[]"
787
+ "type": "CellConfig"
905
788
  },
906
789
  {
907
- "name": "fieldNames",
790
+ "name": "dataSource",
791
+ "description": "数据源",
908
792
  "attribute": false,
909
- "type": "AntdTreeSelectProps[\"fieldNames\"]"
793
+ "type": "DataSource"
910
794
  },
911
795
  {
912
- "name": "value",
913
- "attribute": false,
914
- "type": "AntdTreeSelectProps[\"value\"]"
796
+ "name": "frontSearch",
797
+ "description": "是否前端搜索",
798
+ "type": "boolean"
915
799
  },
916
800
  {
917
- "name": "placeholder",
918
- "type": "string"
801
+ "name": "pagination",
802
+ "description": "分页配置",
803
+ "attribute": false,
804
+ "type": "PaginationType"
919
805
  },
920
806
  {
921
- "name": "multiple",
807
+ "name": "loading",
808
+ "description": "显示加载中状态",
922
809
  "type": "boolean"
923
810
  },
924
811
  {
925
- "name": "disabled",
812
+ "name": "multiSort",
813
+ "description": "是否支持多列排序,前端搜索时需设置 column.sortPriority 优先级",
926
814
  "type": "boolean"
927
815
  },
928
816
  {
929
- "name": "checkable",
930
- "type": "boolean"
817
+ "name": "sort",
818
+ "description": "排序信息",
819
+ "attribute": false,
820
+ "type": "Sort | Sort[]"
931
821
  },
932
822
  {
933
- "name": "allowClear",
934
- "type": "boolean",
935
- "default": "true"
823
+ "name": "rowSelection",
824
+ "description": "表格行可选择配置",
825
+ "attribute": false,
826
+ "type": "RowSelectionType"
936
827
  },
937
828
  {
938
- "name": "loading",
939
- "type": "boolean",
940
- "default": "false"
829
+ "name": "selectedRowKeys",
830
+ "description": "选中项的 key",
831
+ "attribute": false,
832
+ "type": "(string | number)[]"
941
833
  },
942
834
  {
943
- "name": "filterTreeNode",
835
+ "name": "hiddenColumns",
836
+ "description": "隐藏的列(输入对应的 column.key)",
944
837
  "attribute": false,
945
- "type": "AntdTreeSelectProps[\"filterTreeNode\"]"
838
+ "type": "(string | number)[]"
946
839
  },
947
840
  {
948
- "name": "showSearch",
949
- "type": "boolean",
950
- "default": "true"
841
+ "name": "expandable",
842
+ "description": "表格行展开配置",
843
+ "attribute": false,
844
+ "type": "ExpandableType"
951
845
  },
952
846
  {
953
- "name": "suffixIcon",
847
+ "name": "expandedRowKeys",
848
+ "description": "展开项的 key",
954
849
  "attribute": false,
955
- "type": "GeneralIconProps"
850
+ "type": "(string | number)[]"
956
851
  },
957
852
  {
958
- "name": "popupPlacement",
959
- "type": "AntdTreeSelectProps[\"placement\"]",
960
- "default": "\"bottomLeft\""
853
+ "name": "childrenColumnName",
854
+ "description": "树形结构的列名",
855
+ "default": "\"children\"",
856
+ "type": "string"
857
+ },
858
+ {
859
+ "name": "rowDraggable",
860
+ "description": "表格行拖拽配置",
861
+ "type": "boolean"
862
+ },
863
+ {
864
+ "name": "searchFields",
865
+ "description": "进行前端搜索的字段,支持嵌套的写法。不配置的时候默认为对所有 column.dataIndex 进行前端搜索",
866
+ "attribute": false,
867
+ "type": "(string | string[])[]"
961
868
  },
962
869
  {
963
870
  "name": "size",
964
- "type": "AntdTreeSelectProps[\"size\"]"
871
+ "description": "表格大小",
872
+ "default": "\"large\"",
873
+ "type": "TableProps<RecordType>[\"size\"]"
965
874
  },
966
875
  {
967
- "name": "maxTagCount",
876
+ "name": "showHeader",
877
+ "description": "是否显示表头",
878
+ "default": "true",
879
+ "type": "boolean"
880
+ },
881
+ {
882
+ "name": "scrollConfig",
883
+ "description": "滚动配置",
884
+ "default": "{ x: true }",
968
885
  "attribute": false,
969
- "type": "number | \"responsive\""
886
+ "type": "TableProps<RecordType>[\"scroll\"]"
970
887
  },
971
888
  {
972
- "name": "dropdownStyle",
889
+ "name": "optimizedColumns",
890
+ "description": "优化渲染的列(输入对应的 column.key)",
973
891
  "attribute": false,
974
- "type": "CSSProperties"
892
+ "type": "(string | number)[]"
975
893
  }
976
894
  ],
977
895
  "events": [
978
896
  {
979
- "name": "change",
980
- "description": "",
897
+ "name": "page.change",
898
+ "description": "page 或 pageSize 改变的回调",
981
899
  "detail": {
982
- "description": "{ value: AntdTreeSelectProps[\"value\"], selectedOptions: DefaultOptionType[] | DefaultOptionType[][] }",
983
- "type": "{\n value: AntdTreeSelectProps[\"value\"];\n }"
900
+ "description": "改变后的页码及每页条数",
901
+ "type": "{ page: number; pageSize: number }"
984
902
  }
985
903
  },
986
904
  {
987
- "name": "search",
905
+ "name": "page.size.change",
906
+ "description": "pageSize 变化的回调",
907
+ "deprecated": "统一用 `page.change` 事件",
988
908
  "detail": {
989
- "type": "string"
909
+ "description": "改变后的页码及每页条数",
910
+ "type": "{\n page: number;\n pageSize: number;\n }"
990
911
  }
991
912
  },
992
913
  {
993
- "name": "select",
914
+ "name": "sort.change",
915
+ "description": "排序变化的回调",
994
916
  "detail": {
995
- "type": "{ value: AntdTreeSelectProps[\"value\"] }"
917
+ "description": "当前排序的信息",
918
+ "type": "Sort | Sort[] | undefined"
996
919
  }
997
920
  },
998
921
  {
999
- "name": "expand",
922
+ "name": "row.select",
923
+ "description": "行选中项发生变化时的回调",
1000
924
  "detail": {
1001
- "type": "{ keys: React.Key[] }"
925
+ "description": "改变后的 rowKey 及行数据",
926
+ "type": "{\n keys: (string | number)[];\n rows: RecordType[];\n info: { type: RowSelectMethod };\n }"
1002
927
  }
1003
- }
1004
- ],
1005
- "slots": [],
1006
- "methods": [],
1007
- "parts": [],
1008
- "description": "树选择器",
1009
- "category": "form-input-basic"
1010
- },
1011
- {
1012
- "name": "eo-text-tooltip",
1013
- "properties": [
928
+ },
1014
929
  {
1015
- "name": "label",
1016
- "description": "文案",
1017
- "default": null,
1018
- "type": "string"
930
+ "name": "row.expand",
931
+ "description": "点击展开图标时触发",
932
+ "detail": {
933
+ "description": "当前行的展开情况及数据",
934
+ "type": "{\n expanded: boolean;\n record: RecordType;\n }"
935
+ }
1019
936
  },
1020
937
  {
1021
- "name": "lineClamp",
1022
- "description": "省略行数",
1023
- "default": "1",
1024
- "type": "number"
938
+ "name": "expanded.rows.change",
939
+ "description": "展开的行变化时触发",
940
+ "detail": {
941
+ "description": "所有展开行的 key",
942
+ "type": "(string | number)[]"
943
+ }
944
+ },
945
+ {
946
+ "name": "row.drag",
947
+ "description": "表格行拖拽结束发生的事件",
948
+ "detail": {
949
+ "description": "重新排序的行数据、拖拽的行数据、放下位置的行数据",
950
+ "type": "{\n list: RecordType[];\n active: RecordType;\n over: RecordType;\n }"
951
+ }
1025
952
  }
1026
953
  ],
1027
- "events": [],
1028
954
  "slots": [],
1029
- "methods": [],
955
+ "methods": [
956
+ {
957
+ "name": "search",
958
+ "params": [
959
+ {
960
+ "name": "params",
961
+ "type": "{ q: string }"
962
+ }
963
+ ],
964
+ "description": "前端搜索",
965
+ "returns": {}
966
+ }
967
+ ],
1030
968
  "parts": [],
1031
- "description": "超出宽度鼠标悬浮显示tooltip\n构件 `eo-text-tooltip`"
969
+ "description": "大型表格",
970
+ "category": "table"
1032
971
  },
1033
972
  {
1034
973
  "name": "advanced.pdf-viewer",
@@ -1056,6 +995,72 @@
1056
995
  "methods": [],
1057
996
  "parts": [],
1058
997
  "description": "构件 `advanced.pdf-viewer`"
998
+ },
999
+ {
1000
+ "name": "eo-workbench-layout",
1001
+ "properties": [
1002
+ {
1003
+ "name": "cardTitle",
1004
+ "type": "string"
1005
+ },
1006
+ {
1007
+ "name": "isEdit",
1008
+ "type": "boolean"
1009
+ },
1010
+ {
1011
+ "name": "layouts",
1012
+ "attribute": false,
1013
+ "type": "Layout[]"
1014
+ },
1015
+ {
1016
+ "name": "componentList",
1017
+ "attribute": false,
1018
+ "type": "Item[]"
1019
+ }
1020
+ ],
1021
+ "events": [
1022
+ {
1023
+ "name": "change",
1024
+ "detail": {
1025
+ "type": "Layout[]"
1026
+ }
1027
+ },
1028
+ {
1029
+ "name": "save",
1030
+ "detail": {
1031
+ "type": "Layout[]"
1032
+ }
1033
+ },
1034
+ {
1035
+ "name": "cancel",
1036
+ "detail": {
1037
+ "type": "void"
1038
+ }
1039
+ },
1040
+ {
1041
+ "name": "action.click",
1042
+ "description": "操作点击事件",
1043
+ "detail": {
1044
+ "description": "{\naction: SimpleAction;\nlayouts: Layout[];\n}",
1045
+ "type": "{\n action: SimpleAction;\n layouts: Layout[];\n }"
1046
+ }
1047
+ }
1048
+ ],
1049
+ "slots": [],
1050
+ "methods": [
1051
+ {
1052
+ "name": "setLayouts",
1053
+ "params": [
1054
+ {
1055
+ "name": "layouts",
1056
+ "type": "Layout[]"
1057
+ }
1058
+ ]
1059
+ }
1060
+ ],
1061
+ "parts": [],
1062
+ "description": "工作台布局",
1063
+ "deprecated": "Please use eo-workbench-layout-v2 which support global styles instead"
1059
1064
  }
1060
1065
  ],
1061
1066
  "providers": [