@next-bricks/nav 1.22.8 → 1.22.9
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 +29 -29
- package/dist/chunks/{4433.b643b30c.js → 4433.14cd7c8d.js} +2 -2
- package/dist/chunks/4433.14cd7c8d.js.map +1 -0
- package/dist/chunks/6302.f681cebd.js +3 -0
- package/dist/chunks/6302.f681cebd.js.map +1 -0
- package/dist/chunks/{main.ea43b349.js → main.5f7d6c2d.js} +2 -2
- package/dist/chunks/{main.ea43b349.js.map → main.5f7d6c2d.js.map} +1 -1
- package/dist/chunks/{query-search.7d815c75.js → query-search.aab4b569.js} +3 -3
- package/dist/chunks/query-search.aab4b569.js.map +1 -0
- package/dist/examples.json +3 -3
- package/dist/index.b95ce968.js +2 -0
- package/dist/{index.f661b942.js.map → index.b95ce968.js.map} +1 -1
- package/dist/manifest.json +60 -60
- package/dist/types.json +158 -158
- package/package.json +2 -2
- package/dist/chunks/4433.b643b30c.js.map +0 -1
- package/dist/chunks/6302.b2905216.js +0 -3
- package/dist/chunks/6302.b2905216.js.map +0 -1
- package/dist/chunks/query-search.7d815c75.js.map +0 -1
- package/dist/index.f661b942.js +0 -2
- /package/dist/chunks/{6302.b2905216.js.LICENSE.txt → 6302.f681cebd.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{query-search.7d815c75.js.LICENSE.txt → query-search.aab4b569.js.LICENSE.txt} +0 -0
package/dist/types.json
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"nav.easyops-navbar-alerts": {
|
|
3
|
-
"properties": [],
|
|
4
|
-
"events": [],
|
|
5
|
-
"methods": []
|
|
6
|
-
},
|
|
7
2
|
"eo-app-bar-wrapper": {
|
|
8
3
|
"properties": [
|
|
9
4
|
{
|
|
@@ -233,19 +228,8 @@
|
|
|
233
228
|
"events": [],
|
|
234
229
|
"methods": []
|
|
235
230
|
},
|
|
236
|
-
"
|
|
237
|
-
"properties": [
|
|
238
|
-
{
|
|
239
|
-
"name": "menu",
|
|
240
|
-
"annotation": {
|
|
241
|
-
"type": "reference",
|
|
242
|
-
"typeName": {
|
|
243
|
-
"type": "identifier",
|
|
244
|
-
"name": "SidebarMenu"
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
],
|
|
231
|
+
"nav.easyops-navbar-alerts": {
|
|
232
|
+
"properties": [],
|
|
249
233
|
"events": [],
|
|
250
234
|
"methods": []
|
|
251
235
|
},
|
|
@@ -559,11 +543,40 @@
|
|
|
559
543
|
}
|
|
560
544
|
]
|
|
561
545
|
},
|
|
546
|
+
"eo-sidebar-sub-menu": {
|
|
547
|
+
"properties": [
|
|
548
|
+
{
|
|
549
|
+
"name": "menu",
|
|
550
|
+
"annotation": {
|
|
551
|
+
"type": "reference",
|
|
552
|
+
"typeName": {
|
|
553
|
+
"type": "identifier",
|
|
554
|
+
"name": "SidebarMenu"
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
],
|
|
559
|
+
"events": [],
|
|
560
|
+
"methods": []
|
|
561
|
+
},
|
|
562
562
|
"nav.nav-logo": {
|
|
563
563
|
"properties": [],
|
|
564
564
|
"events": [],
|
|
565
565
|
"methods": []
|
|
566
566
|
},
|
|
567
|
+
"eo-search-launchpad": {
|
|
568
|
+
"properties": [
|
|
569
|
+
{
|
|
570
|
+
"name": "readonly",
|
|
571
|
+
"annotation": {
|
|
572
|
+
"type": "keyword",
|
|
573
|
+
"value": "boolean"
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
],
|
|
577
|
+
"events": [],
|
|
578
|
+
"methods": []
|
|
579
|
+
},
|
|
567
580
|
"eo-launchpad-recent-visits": {
|
|
568
581
|
"properties": [
|
|
569
582
|
{
|
|
@@ -700,7 +713,7 @@
|
|
|
700
713
|
],
|
|
701
714
|
"methods": []
|
|
702
715
|
},
|
|
703
|
-
"nav.get-menu-config-
|
|
716
|
+
"nav.get-menu-config-options": {
|
|
704
717
|
"type": "provider",
|
|
705
718
|
"params": [
|
|
706
719
|
{
|
|
@@ -733,7 +746,7 @@
|
|
|
733
746
|
"type": "reference",
|
|
734
747
|
"typeName": {
|
|
735
748
|
"type": "identifier",
|
|
736
|
-
"name": "
|
|
749
|
+
"name": "MenuOption"
|
|
737
750
|
}
|
|
738
751
|
}
|
|
739
752
|
}
|
|
@@ -1059,13 +1072,13 @@
|
|
|
1059
1072
|
},
|
|
1060
1073
|
{
|
|
1061
1074
|
"type": "interface",
|
|
1062
|
-
"name": "
|
|
1075
|
+
"name": "MenuOption",
|
|
1063
1076
|
"body": [
|
|
1064
1077
|
{
|
|
1065
1078
|
"type": "propertySignature",
|
|
1066
1079
|
"key": {
|
|
1067
1080
|
"type": "identifier",
|
|
1068
|
-
"name": "
|
|
1081
|
+
"name": "label"
|
|
1069
1082
|
},
|
|
1070
1083
|
"annotation": {
|
|
1071
1084
|
"type": "keyword",
|
|
@@ -1077,130 +1090,18 @@
|
|
|
1077
1090
|
"type": "propertySignature",
|
|
1078
1091
|
"key": {
|
|
1079
1092
|
"type": "identifier",
|
|
1080
|
-
"name": "
|
|
1093
|
+
"name": "value"
|
|
1081
1094
|
},
|
|
1082
1095
|
"annotation": {
|
|
1083
1096
|
"type": "keyword",
|
|
1084
1097
|
"value": "string"
|
|
1085
1098
|
},
|
|
1086
1099
|
"computed": false
|
|
1087
|
-
},
|
|
1088
|
-
{
|
|
1089
|
-
"type": "propertySignature",
|
|
1090
|
-
"key": {
|
|
1091
|
-
"type": "identifier",
|
|
1092
|
-
"name": "icon"
|
|
1093
|
-
},
|
|
1094
|
-
"annotation": {
|
|
1095
|
-
"type": "keyword",
|
|
1096
|
-
"value": "unknown"
|
|
1097
|
-
},
|
|
1098
|
-
"optional": true,
|
|
1099
|
-
"computed": false
|
|
1100
|
-
},
|
|
1101
|
-
{
|
|
1102
|
-
"type": "propertySignature",
|
|
1103
|
-
"key": {
|
|
1104
|
-
"type": "identifier",
|
|
1105
|
-
"name": "faded"
|
|
1106
|
-
},
|
|
1107
|
-
"annotation": {
|
|
1108
|
-
"type": "keyword",
|
|
1109
|
-
"value": "unknown"
|
|
1110
|
-
},
|
|
1111
|
-
"optional": true,
|
|
1112
|
-
"computed": false
|
|
1113
|
-
},
|
|
1114
|
-
{
|
|
1115
|
-
"type": "propertySignature",
|
|
1116
|
-
"key": {
|
|
1117
|
-
"type": "identifier",
|
|
1118
|
-
"name": "children"
|
|
1119
|
-
},
|
|
1120
|
-
"annotation": {
|
|
1121
|
-
"type": "array",
|
|
1122
|
-
"elementType": {
|
|
1123
|
-
"type": "reference",
|
|
1124
|
-
"typeName": {
|
|
1125
|
-
"type": "identifier",
|
|
1126
|
-
"name": "TreeNode"
|
|
1127
|
-
}
|
|
1128
|
-
}
|
|
1129
|
-
},
|
|
1130
|
-
"optional": true,
|
|
1131
|
-
"computed": false
|
|
1132
|
-
},
|
|
1133
|
-
{
|
|
1134
|
-
"type": "propertySignature",
|
|
1135
|
-
"key": {
|
|
1136
|
-
"type": "identifier",
|
|
1137
|
-
"name": "data"
|
|
1138
|
-
},
|
|
1139
|
-
"annotation": {
|
|
1140
|
-
"type": "union",
|
|
1141
|
-
"types": [
|
|
1142
|
-
{
|
|
1143
|
-
"type": "reference",
|
|
1144
|
-
"typeName": {
|
|
1145
|
-
"type": "identifier",
|
|
1146
|
-
"name": "MenuRawData"
|
|
1147
|
-
}
|
|
1148
|
-
},
|
|
1149
|
-
{
|
|
1150
|
-
"type": "reference",
|
|
1151
|
-
"typeName": {
|
|
1152
|
-
"type": "identifier",
|
|
1153
|
-
"name": "MenuItemRawData"
|
|
1154
|
-
}
|
|
1155
|
-
}
|
|
1156
|
-
]
|
|
1157
|
-
},
|
|
1158
|
-
"computed": false
|
|
1159
|
-
},
|
|
1160
|
-
{
|
|
1161
|
-
"type": "propertySignature",
|
|
1162
|
-
"key": {
|
|
1163
|
-
"type": "identifier",
|
|
1164
|
-
"name": "__keys"
|
|
1165
|
-
},
|
|
1166
|
-
"annotation": {
|
|
1167
|
-
"type": "array",
|
|
1168
|
-
"elementType": {
|
|
1169
|
-
"type": "keyword",
|
|
1170
|
-
"value": "string"
|
|
1171
|
-
}
|
|
1172
|
-
},
|
|
1173
|
-
"optional": true,
|
|
1174
|
-
"computed": false,
|
|
1175
|
-
"description": "第一个节点额外返回 __keys,包含所有节点的 key"
|
|
1176
1100
|
}
|
|
1177
1101
|
]
|
|
1178
1102
|
}
|
|
1179
1103
|
]
|
|
1180
1104
|
},
|
|
1181
|
-
"eo-launchpad-quick-access": {
|
|
1182
|
-
"properties": [
|
|
1183
|
-
{
|
|
1184
|
-
"name": "readonly",
|
|
1185
|
-
"annotation": {
|
|
1186
|
-
"type": "keyword",
|
|
1187
|
-
"value": "boolean"
|
|
1188
|
-
}
|
|
1189
|
-
},
|
|
1190
|
-
{
|
|
1191
|
-
"name": "target",
|
|
1192
|
-
"annotation": {
|
|
1193
|
-
"type": "reference",
|
|
1194
|
-
"typeName": {
|
|
1195
|
-
"type": "identifier",
|
|
1196
|
-
"name": "Target"
|
|
1197
|
-
}
|
|
1198
|
-
}
|
|
1199
|
-
}
|
|
1200
|
-
],
|
|
1201
|
-
"events": [],
|
|
1202
|
-
"methods": []
|
|
1203
|
-
},
|
|
1204
1105
|
"eo-sidebar-menu-group": {
|
|
1205
1106
|
"properties": [
|
|
1206
1107
|
{
|
|
@@ -1480,7 +1381,12 @@
|
|
|
1480
1381
|
}
|
|
1481
1382
|
]
|
|
1482
1383
|
},
|
|
1483
|
-
"nav.
|
|
1384
|
+
"nav.query-search": {
|
|
1385
|
+
"properties": [],
|
|
1386
|
+
"events": [],
|
|
1387
|
+
"methods": []
|
|
1388
|
+
},
|
|
1389
|
+
"nav.get-menu-config-tree": {
|
|
1484
1390
|
"type": "provider",
|
|
1485
1391
|
"params": [
|
|
1486
1392
|
{
|
|
@@ -1513,7 +1419,7 @@
|
|
|
1513
1419
|
"type": "reference",
|
|
1514
1420
|
"typeName": {
|
|
1515
1421
|
"type": "identifier",
|
|
1516
|
-
"name": "
|
|
1422
|
+
"name": "TreeNode"
|
|
1517
1423
|
}
|
|
1518
1424
|
}
|
|
1519
1425
|
}
|
|
@@ -1839,13 +1745,13 @@
|
|
|
1839
1745
|
},
|
|
1840
1746
|
{
|
|
1841
1747
|
"type": "interface",
|
|
1842
|
-
"name": "
|
|
1748
|
+
"name": "TreeNode",
|
|
1843
1749
|
"body": [
|
|
1844
1750
|
{
|
|
1845
1751
|
"type": "propertySignature",
|
|
1846
1752
|
"key": {
|
|
1847
1753
|
"type": "identifier",
|
|
1848
|
-
"name": "
|
|
1754
|
+
"name": "key"
|
|
1849
1755
|
},
|
|
1850
1756
|
"annotation": {
|
|
1851
1757
|
"type": "keyword",
|
|
@@ -1857,36 +1763,107 @@
|
|
|
1857
1763
|
"type": "propertySignature",
|
|
1858
1764
|
"key": {
|
|
1859
1765
|
"type": "identifier",
|
|
1860
|
-
"name": "
|
|
1766
|
+
"name": "title"
|
|
1861
1767
|
},
|
|
1862
1768
|
"annotation": {
|
|
1863
1769
|
"type": "keyword",
|
|
1864
1770
|
"value": "string"
|
|
1865
1771
|
},
|
|
1866
1772
|
"computed": false
|
|
1773
|
+
},
|
|
1774
|
+
{
|
|
1775
|
+
"type": "propertySignature",
|
|
1776
|
+
"key": {
|
|
1777
|
+
"type": "identifier",
|
|
1778
|
+
"name": "icon"
|
|
1779
|
+
},
|
|
1780
|
+
"annotation": {
|
|
1781
|
+
"type": "keyword",
|
|
1782
|
+
"value": "unknown"
|
|
1783
|
+
},
|
|
1784
|
+
"optional": true,
|
|
1785
|
+
"computed": false
|
|
1786
|
+
},
|
|
1787
|
+
{
|
|
1788
|
+
"type": "propertySignature",
|
|
1789
|
+
"key": {
|
|
1790
|
+
"type": "identifier",
|
|
1791
|
+
"name": "faded"
|
|
1792
|
+
},
|
|
1793
|
+
"annotation": {
|
|
1794
|
+
"type": "keyword",
|
|
1795
|
+
"value": "unknown"
|
|
1796
|
+
},
|
|
1797
|
+
"optional": true,
|
|
1798
|
+
"computed": false
|
|
1799
|
+
},
|
|
1800
|
+
{
|
|
1801
|
+
"type": "propertySignature",
|
|
1802
|
+
"key": {
|
|
1803
|
+
"type": "identifier",
|
|
1804
|
+
"name": "children"
|
|
1805
|
+
},
|
|
1806
|
+
"annotation": {
|
|
1807
|
+
"type": "array",
|
|
1808
|
+
"elementType": {
|
|
1809
|
+
"type": "reference",
|
|
1810
|
+
"typeName": {
|
|
1811
|
+
"type": "identifier",
|
|
1812
|
+
"name": "TreeNode"
|
|
1813
|
+
}
|
|
1814
|
+
}
|
|
1815
|
+
},
|
|
1816
|
+
"optional": true,
|
|
1817
|
+
"computed": false
|
|
1818
|
+
},
|
|
1819
|
+
{
|
|
1820
|
+
"type": "propertySignature",
|
|
1821
|
+
"key": {
|
|
1822
|
+
"type": "identifier",
|
|
1823
|
+
"name": "data"
|
|
1824
|
+
},
|
|
1825
|
+
"annotation": {
|
|
1826
|
+
"type": "union",
|
|
1827
|
+
"types": [
|
|
1828
|
+
{
|
|
1829
|
+
"type": "reference",
|
|
1830
|
+
"typeName": {
|
|
1831
|
+
"type": "identifier",
|
|
1832
|
+
"name": "MenuRawData"
|
|
1833
|
+
}
|
|
1834
|
+
},
|
|
1835
|
+
{
|
|
1836
|
+
"type": "reference",
|
|
1837
|
+
"typeName": {
|
|
1838
|
+
"type": "identifier",
|
|
1839
|
+
"name": "MenuItemRawData"
|
|
1840
|
+
}
|
|
1841
|
+
}
|
|
1842
|
+
]
|
|
1843
|
+
},
|
|
1844
|
+
"computed": false
|
|
1845
|
+
},
|
|
1846
|
+
{
|
|
1847
|
+
"type": "propertySignature",
|
|
1848
|
+
"key": {
|
|
1849
|
+
"type": "identifier",
|
|
1850
|
+
"name": "__keys"
|
|
1851
|
+
},
|
|
1852
|
+
"annotation": {
|
|
1853
|
+
"type": "array",
|
|
1854
|
+
"elementType": {
|
|
1855
|
+
"type": "keyword",
|
|
1856
|
+
"value": "string"
|
|
1857
|
+
}
|
|
1858
|
+
},
|
|
1859
|
+
"optional": true,
|
|
1860
|
+
"computed": false,
|
|
1861
|
+
"description": "第一个节点额外返回 __keys,包含所有节点的 key"
|
|
1867
1862
|
}
|
|
1868
1863
|
]
|
|
1869
1864
|
}
|
|
1870
1865
|
]
|
|
1871
1866
|
},
|
|
1872
|
-
"nav.query-search": {
|
|
1873
|
-
"properties": [],
|
|
1874
|
-
"events": [],
|
|
1875
|
-
"methods": []
|
|
1876
|
-
},
|
|
1877
|
-
"eo-search-launchpad": {
|
|
1878
|
-
"properties": [
|
|
1879
|
-
{
|
|
1880
|
-
"name": "readonly",
|
|
1881
|
-
"annotation": {
|
|
1882
|
-
"type": "keyword",
|
|
1883
|
-
"value": "boolean"
|
|
1884
|
-
}
|
|
1885
|
-
}
|
|
1886
|
-
],
|
|
1887
|
-
"events": [],
|
|
1888
|
-
"methods": []
|
|
1889
|
-
},
|
|
1890
1867
|
"eo-directory-tree": {
|
|
1891
1868
|
"properties": [
|
|
1892
1869
|
{
|
|
@@ -2979,6 +2956,29 @@
|
|
|
2979
2956
|
"events": [],
|
|
2980
2957
|
"methods": []
|
|
2981
2958
|
},
|
|
2959
|
+
"eo-launchpad-quick-access": {
|
|
2960
|
+
"properties": [
|
|
2961
|
+
{
|
|
2962
|
+
"name": "readonly",
|
|
2963
|
+
"annotation": {
|
|
2964
|
+
"type": "keyword",
|
|
2965
|
+
"value": "boolean"
|
|
2966
|
+
}
|
|
2967
|
+
},
|
|
2968
|
+
{
|
|
2969
|
+
"name": "target",
|
|
2970
|
+
"annotation": {
|
|
2971
|
+
"type": "reference",
|
|
2972
|
+
"typeName": {
|
|
2973
|
+
"type": "identifier",
|
|
2974
|
+
"name": "Target"
|
|
2975
|
+
}
|
|
2976
|
+
}
|
|
2977
|
+
}
|
|
2978
|
+
],
|
|
2979
|
+
"events": [],
|
|
2980
|
+
"methods": []
|
|
2981
|
+
},
|
|
2982
2982
|
"eo-launchpad-button-v2": {
|
|
2983
2983
|
"properties": [],
|
|
2984
2984
|
"events": [],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/nav",
|
|
3
|
-
"version": "1.22.
|
|
3
|
+
"version": "1.22.9",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-advanced-bricks/tree/master/bricks/nav",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"@next-bricks/form": "*",
|
|
44
44
|
"@next-bricks/icons": "*"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "7a72596d49dd941b023d6733e8587c9608b8f14b"
|
|
47
47
|
}
|