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