@next-bricks/advanced 0.49.5 → 0.49.6
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 +14 -14
- package/dist/chunks/{4197.cdbb74e2.js → 4197.fd9e1bf8.js} +2 -2
- package/dist/chunks/4197.fd9e1bf8.js.map +1 -0
- package/dist/chunks/eo-workbench-layout-v2.5b086697.js +3 -0
- package/dist/chunks/eo-workbench-layout-v2.5b086697.js.map +1 -0
- package/dist/chunks/{main.8176c0ea.js → main.30cc7ff2.js} +2 -2
- package/dist/chunks/{main.8176c0ea.js.map → main.30cc7ff2.js.map} +1 -1
- package/dist/examples.json +6 -6
- package/dist/{index.6c12f757.js → index.e63c8cf1.js} +2 -2
- package/dist/{index.6c12f757.js.map → index.e63c8cf1.js.map} +1 -1
- package/dist/manifest.json +207 -207
- package/dist/types.json +705 -705
- package/package.json +2 -2
- package/dist/chunks/4197.cdbb74e2.js.map +0 -1
- package/dist/chunks/eo-workbench-layout-v2.07fb8030.js +0 -3
- package/dist/chunks/eo-workbench-layout-v2.07fb8030.js.map +0 -1
- /package/dist/chunks/{eo-workbench-layout-v2.07fb8030.js.LICENSE.txt → eo-workbench-layout-v2.5b086697.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -3,6 +3,72 @@
|
|
|
3
3
|
"package": "@next-bricks/advanced",
|
|
4
4
|
"name": "advanced",
|
|
5
5
|
"bricks": [
|
|
6
|
+
{
|
|
7
|
+
"name": "eo-workbench-layout",
|
|
8
|
+
"properties": [
|
|
9
|
+
{
|
|
10
|
+
"name": "cardTitle",
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "isEdit",
|
|
15
|
+
"type": "boolean"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "layouts",
|
|
19
|
+
"attribute": false,
|
|
20
|
+
"type": "Layout[]"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "componentList",
|
|
24
|
+
"attribute": false,
|
|
25
|
+
"type": "Item[]"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"events": [
|
|
29
|
+
{
|
|
30
|
+
"name": "change",
|
|
31
|
+
"detail": {
|
|
32
|
+
"type": "Layout[]"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "save",
|
|
37
|
+
"detail": {
|
|
38
|
+
"type": "Layout[]"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "cancel",
|
|
43
|
+
"detail": {
|
|
44
|
+
"type": "void"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "action.click",
|
|
49
|
+
"description": "操作点击事件",
|
|
50
|
+
"detail": {
|
|
51
|
+
"description": "{\naction: SimpleAction;\nlayouts: Layout[];\n}",
|
|
52
|
+
"type": "{\n action: SimpleAction;\n layouts: Layout[];\n }"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"slots": [],
|
|
57
|
+
"methods": [
|
|
58
|
+
{
|
|
59
|
+
"name": "setLayouts",
|
|
60
|
+
"params": [
|
|
61
|
+
{
|
|
62
|
+
"name": "layouts",
|
|
63
|
+
"type": "Layout[]"
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"parts": [],
|
|
69
|
+
"description": "工作台布局",
|
|
70
|
+
"deprecated": "Please use eo-workbench-layout-v2 which support global styles instead"
|
|
71
|
+
},
|
|
6
72
|
{
|
|
7
73
|
"name": "eo-table",
|
|
8
74
|
"alias": [
|
|
@@ -566,98 +632,6 @@
|
|
|
566
632
|
"description": "大型表格",
|
|
567
633
|
"category": "table"
|
|
568
634
|
},
|
|
569
|
-
{
|
|
570
|
-
"name": "eo-workbench-layout-v2",
|
|
571
|
-
"properties": [
|
|
572
|
-
{
|
|
573
|
-
"name": "cardTitle",
|
|
574
|
-
"type": "string"
|
|
575
|
-
},
|
|
576
|
-
{
|
|
577
|
-
"name": "isEdit",
|
|
578
|
-
"type": "boolean"
|
|
579
|
-
},
|
|
580
|
-
{
|
|
581
|
-
"name": "layouts",
|
|
582
|
-
"attribute": false,
|
|
583
|
-
"type": "ExtraLayout[]"
|
|
584
|
-
},
|
|
585
|
-
{
|
|
586
|
-
"name": "toolbarBricks",
|
|
587
|
-
"attribute": false,
|
|
588
|
-
"type": "{ useBrick: UseSingleBrickConf[] }"
|
|
589
|
-
},
|
|
590
|
-
{
|
|
591
|
-
"name": "componentList",
|
|
592
|
-
"attribute": false,
|
|
593
|
-
"type": "WorkbenchComponent[]"
|
|
594
|
-
},
|
|
595
|
-
{
|
|
596
|
-
"name": "customDefaultCardConfigMap",
|
|
597
|
-
"description": "自定义卡片默认配置, 用于覆盖默认卡片配置",
|
|
598
|
-
"attribute": false,
|
|
599
|
-
"type": "Record<string, CardStyleConfig>"
|
|
600
|
-
},
|
|
601
|
-
{
|
|
602
|
-
"name": "showSettingButton",
|
|
603
|
-
"description": "description: 用于设置页面样式和布局的按钮",
|
|
604
|
-
"type": "boolean"
|
|
605
|
-
},
|
|
606
|
-
{
|
|
607
|
-
"name": "gap",
|
|
608
|
-
"description": "description: 卡片间隔",
|
|
609
|
-
"type": "number"
|
|
610
|
-
}
|
|
611
|
-
],
|
|
612
|
-
"events": [
|
|
613
|
-
{
|
|
614
|
-
"name": "change",
|
|
615
|
-
"detail": {
|
|
616
|
-
"type": "ExtraLayout[]"
|
|
617
|
-
}
|
|
618
|
-
},
|
|
619
|
-
{
|
|
620
|
-
"name": "save",
|
|
621
|
-
"detail": {
|
|
622
|
-
"type": "ExtraLayout[]"
|
|
623
|
-
}
|
|
624
|
-
},
|
|
625
|
-
{
|
|
626
|
-
"name": "cancel",
|
|
627
|
-
"detail": {
|
|
628
|
-
"type": "void"
|
|
629
|
-
}
|
|
630
|
-
},
|
|
631
|
-
{
|
|
632
|
-
"name": "setting",
|
|
633
|
-
"detail": {
|
|
634
|
-
"type": "void"
|
|
635
|
-
}
|
|
636
|
-
},
|
|
637
|
-
{
|
|
638
|
-
"name": "action.click",
|
|
639
|
-
"description": "操作点击事件",
|
|
640
|
-
"detail": {
|
|
641
|
-
"description": "{\naction: SimpleAction;\nlayouts: Layout[];\n}",
|
|
642
|
-
"type": "{\n action: SimpleAction;\n layouts: Layout[];\n }"
|
|
643
|
-
}
|
|
644
|
-
}
|
|
645
|
-
],
|
|
646
|
-
"slots": [],
|
|
647
|
-
"methods": [
|
|
648
|
-
{
|
|
649
|
-
"name": "setLayouts",
|
|
650
|
-
"params": [
|
|
651
|
-
{
|
|
652
|
-
"name": "layouts",
|
|
653
|
-
"type": "Layout[]"
|
|
654
|
-
}
|
|
655
|
-
]
|
|
656
|
-
}
|
|
657
|
-
],
|
|
658
|
-
"parts": [],
|
|
659
|
-
"description": "工作台布局V2,未使用shadow dom"
|
|
660
|
-
},
|
|
661
635
|
{
|
|
662
636
|
"name": "eo-cascader",
|
|
663
637
|
"alias": [
|
|
@@ -765,6 +739,94 @@
|
|
|
765
739
|
"description": "级联选择器",
|
|
766
740
|
"category": "form-input-basic"
|
|
767
741
|
},
|
|
742
|
+
{
|
|
743
|
+
"name": "eo-tree",
|
|
744
|
+
"properties": [
|
|
745
|
+
{
|
|
746
|
+
"name": "dataSource",
|
|
747
|
+
"attribute": false,
|
|
748
|
+
"type": "TreeNode[]"
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
"name": "checkable",
|
|
752
|
+
"type": "boolean"
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
"name": "selectable",
|
|
756
|
+
"description": "",
|
|
757
|
+
"default": "true",
|
|
758
|
+
"type": "boolean"
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
"name": "defaultExpandAll",
|
|
762
|
+
"type": "boolean"
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
"name": "showLine",
|
|
766
|
+
"type": "boolean"
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
"name": "expandedKeys",
|
|
770
|
+
"attribute": false,
|
|
771
|
+
"type": "TreeNodeKey[]"
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
"name": "checkedKeys",
|
|
775
|
+
"attribute": false,
|
|
776
|
+
"type": "TreeNodeKey[]"
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
"name": "nodeDraggable",
|
|
780
|
+
"attribute": false,
|
|
781
|
+
"type": "boolean | { icon?: false }"
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
"name": "switcherIcon",
|
|
785
|
+
"attribute": false,
|
|
786
|
+
"type": "\"auto\" | \"chevron\" | false"
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
"name": "allowDrop",
|
|
790
|
+
"attribute": false,
|
|
791
|
+
"type": "((info: AllowDropInfo) => boolean)"
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
"name": "titleSuffixBrick",
|
|
795
|
+
"attribute": false,
|
|
796
|
+
"type": "{ useBrick: UseBrickConf }"
|
|
797
|
+
}
|
|
798
|
+
],
|
|
799
|
+
"events": [
|
|
800
|
+
{
|
|
801
|
+
"name": "check",
|
|
802
|
+
"detail": {
|
|
803
|
+
"type": "TreeNodeKey[]"
|
|
804
|
+
}
|
|
805
|
+
},
|
|
806
|
+
{
|
|
807
|
+
"name": "check.detail",
|
|
808
|
+
"detail": {
|
|
809
|
+
"type": "CheckDetail"
|
|
810
|
+
}
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
"name": "expand",
|
|
814
|
+
"detail": {
|
|
815
|
+
"type": "TreeNodeKey[]"
|
|
816
|
+
}
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
"name": "node.drop",
|
|
820
|
+
"detail": {
|
|
821
|
+
"type": "DropDetail"
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
],
|
|
825
|
+
"slots": [],
|
|
826
|
+
"methods": [],
|
|
827
|
+
"parts": [],
|
|
828
|
+
"description": "树形构件"
|
|
829
|
+
},
|
|
768
830
|
{
|
|
769
831
|
"name": "eo-tree-select",
|
|
770
832
|
"properties": [
|
|
@@ -927,153 +989,59 @@
|
|
|
927
989
|
"description": "超出宽度鼠标悬浮显示tooltip\n构件 `eo-text-tooltip`"
|
|
928
990
|
},
|
|
929
991
|
{
|
|
930
|
-
"name": "
|
|
992
|
+
"name": "eo-workbench-layout-v2",
|
|
931
993
|
"properties": [
|
|
932
994
|
{
|
|
933
|
-
"name": "
|
|
934
|
-
"type": "string"
|
|
935
|
-
},
|
|
936
|
-
{
|
|
937
|
-
"name": "page",
|
|
938
|
-
"type": "number"
|
|
939
|
-
},
|
|
940
|
-
{
|
|
941
|
-
"name": "search",
|
|
995
|
+
"name": "cardTitle",
|
|
942
996
|
"type": "string"
|
|
943
997
|
},
|
|
944
998
|
{
|
|
945
|
-
"name": "
|
|
946
|
-
"attribute": false,
|
|
947
|
-
"type": "React.CSSProperties"
|
|
948
|
-
}
|
|
949
|
-
],
|
|
950
|
-
"events": [],
|
|
951
|
-
"slots": [],
|
|
952
|
-
"methods": [],
|
|
953
|
-
"parts": [],
|
|
954
|
-
"description": "构件 `advanced.pdf-viewer`"
|
|
955
|
-
},
|
|
956
|
-
{
|
|
957
|
-
"name": "eo-tree",
|
|
958
|
-
"properties": [
|
|
959
|
-
{
|
|
960
|
-
"name": "dataSource",
|
|
961
|
-
"attribute": false,
|
|
962
|
-
"type": "TreeNode[]"
|
|
963
|
-
},
|
|
964
|
-
{
|
|
965
|
-
"name": "checkable",
|
|
966
|
-
"type": "boolean"
|
|
967
|
-
},
|
|
968
|
-
{
|
|
969
|
-
"name": "selectable",
|
|
970
|
-
"description": "",
|
|
971
|
-
"default": "true",
|
|
972
|
-
"type": "boolean"
|
|
973
|
-
},
|
|
974
|
-
{
|
|
975
|
-
"name": "defaultExpandAll",
|
|
976
|
-
"type": "boolean"
|
|
977
|
-
},
|
|
978
|
-
{
|
|
979
|
-
"name": "showLine",
|
|
999
|
+
"name": "isEdit",
|
|
980
1000
|
"type": "boolean"
|
|
981
1001
|
},
|
|
982
1002
|
{
|
|
983
|
-
"name": "
|
|
984
|
-
"attribute": false,
|
|
985
|
-
"type": "TreeNodeKey[]"
|
|
986
|
-
},
|
|
987
|
-
{
|
|
988
|
-
"name": "checkedKeys",
|
|
989
|
-
"attribute": false,
|
|
990
|
-
"type": "TreeNodeKey[]"
|
|
991
|
-
},
|
|
992
|
-
{
|
|
993
|
-
"name": "nodeDraggable",
|
|
1003
|
+
"name": "layouts",
|
|
994
1004
|
"attribute": false,
|
|
995
|
-
"type": "
|
|
1005
|
+
"type": "ExtraLayout[]"
|
|
996
1006
|
},
|
|
997
1007
|
{
|
|
998
|
-
"name": "
|
|
1008
|
+
"name": "toolbarBricks",
|
|
999
1009
|
"attribute": false,
|
|
1000
|
-
"type": "
|
|
1010
|
+
"type": "{ useBrick: UseSingleBrickConf[] }"
|
|
1001
1011
|
},
|
|
1002
1012
|
{
|
|
1003
|
-
"name": "
|
|
1013
|
+
"name": "componentList",
|
|
1004
1014
|
"attribute": false,
|
|
1005
|
-
"type": "
|
|
1015
|
+
"type": "WorkbenchComponent[]"
|
|
1006
1016
|
},
|
|
1007
1017
|
{
|
|
1008
|
-
"name": "
|
|
1018
|
+
"name": "customDefaultCardConfigMap",
|
|
1019
|
+
"description": "自定义卡片默认配置, 用于覆盖默认卡片配置",
|
|
1009
1020
|
"attribute": false,
|
|
1010
|
-
"type": "
|
|
1011
|
-
}
|
|
1012
|
-
],
|
|
1013
|
-
"events": [
|
|
1014
|
-
{
|
|
1015
|
-
"name": "check",
|
|
1016
|
-
"detail": {
|
|
1017
|
-
"type": "TreeNodeKey[]"
|
|
1018
|
-
}
|
|
1019
|
-
},
|
|
1020
|
-
{
|
|
1021
|
-
"name": "check.detail",
|
|
1022
|
-
"detail": {
|
|
1023
|
-
"type": "CheckDetail"
|
|
1024
|
-
}
|
|
1025
|
-
},
|
|
1026
|
-
{
|
|
1027
|
-
"name": "expand",
|
|
1028
|
-
"detail": {
|
|
1029
|
-
"type": "TreeNodeKey[]"
|
|
1030
|
-
}
|
|
1031
|
-
},
|
|
1032
|
-
{
|
|
1033
|
-
"name": "node.drop",
|
|
1034
|
-
"detail": {
|
|
1035
|
-
"type": "DropDetail"
|
|
1036
|
-
}
|
|
1037
|
-
}
|
|
1038
|
-
],
|
|
1039
|
-
"slots": [],
|
|
1040
|
-
"methods": [],
|
|
1041
|
-
"parts": [],
|
|
1042
|
-
"description": "树形构件"
|
|
1043
|
-
},
|
|
1044
|
-
{
|
|
1045
|
-
"name": "eo-workbench-layout",
|
|
1046
|
-
"properties": [
|
|
1047
|
-
{
|
|
1048
|
-
"name": "cardTitle",
|
|
1049
|
-
"type": "string"
|
|
1021
|
+
"type": "Record<string, CardStyleConfig>"
|
|
1050
1022
|
},
|
|
1051
1023
|
{
|
|
1052
|
-
"name": "
|
|
1024
|
+
"name": "showSettingButton",
|
|
1025
|
+
"description": "description: 用于设置页面样式和布局的按钮",
|
|
1053
1026
|
"type": "boolean"
|
|
1054
1027
|
},
|
|
1055
1028
|
{
|
|
1056
|
-
"name": "
|
|
1057
|
-
"
|
|
1058
|
-
"type": "
|
|
1059
|
-
},
|
|
1060
|
-
{
|
|
1061
|
-
"name": "componentList",
|
|
1062
|
-
"attribute": false,
|
|
1063
|
-
"type": "Item[]"
|
|
1029
|
+
"name": "gap",
|
|
1030
|
+
"description": "description: 卡片间隔",
|
|
1031
|
+
"type": "number"
|
|
1064
1032
|
}
|
|
1065
1033
|
],
|
|
1066
1034
|
"events": [
|
|
1067
1035
|
{
|
|
1068
1036
|
"name": "change",
|
|
1069
1037
|
"detail": {
|
|
1070
|
-
"type": "
|
|
1038
|
+
"type": "ExtraLayout[]"
|
|
1071
1039
|
}
|
|
1072
1040
|
},
|
|
1073
1041
|
{
|
|
1074
1042
|
"name": "save",
|
|
1075
1043
|
"detail": {
|
|
1076
|
-
"type": "
|
|
1044
|
+
"type": "ExtraLayout[]"
|
|
1077
1045
|
}
|
|
1078
1046
|
},
|
|
1079
1047
|
{
|
|
@@ -1082,6 +1050,12 @@
|
|
|
1082
1050
|
"type": "void"
|
|
1083
1051
|
}
|
|
1084
1052
|
},
|
|
1053
|
+
{
|
|
1054
|
+
"name": "setting",
|
|
1055
|
+
"detail": {
|
|
1056
|
+
"type": "void"
|
|
1057
|
+
}
|
|
1058
|
+
},
|
|
1085
1059
|
{
|
|
1086
1060
|
"name": "action.click",
|
|
1087
1061
|
"description": "操作点击事件",
|
|
@@ -1104,8 +1078,34 @@
|
|
|
1104
1078
|
}
|
|
1105
1079
|
],
|
|
1106
1080
|
"parts": [],
|
|
1107
|
-
"description": "工作台布局"
|
|
1108
|
-
|
|
1081
|
+
"description": "工作台布局V2,未使用shadow dom"
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
"name": "advanced.pdf-viewer",
|
|
1085
|
+
"properties": [
|
|
1086
|
+
{
|
|
1087
|
+
"name": "url",
|
|
1088
|
+
"type": "string"
|
|
1089
|
+
},
|
|
1090
|
+
{
|
|
1091
|
+
"name": "page",
|
|
1092
|
+
"type": "number"
|
|
1093
|
+
},
|
|
1094
|
+
{
|
|
1095
|
+
"name": "search",
|
|
1096
|
+
"type": "string"
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
"name": "viewerStyle",
|
|
1100
|
+
"attribute": false,
|
|
1101
|
+
"type": "React.CSSProperties"
|
|
1102
|
+
}
|
|
1103
|
+
],
|
|
1104
|
+
"events": [],
|
|
1105
|
+
"slots": [],
|
|
1106
|
+
"methods": [],
|
|
1107
|
+
"parts": [],
|
|
1108
|
+
"description": "构件 `advanced.pdf-viewer`"
|
|
1109
1109
|
}
|
|
1110
1110
|
],
|
|
1111
1111
|
"providers": [
|