@next-bricks/nav 1.14.0 → 1.14.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.
@@ -31,33 +31,33 @@
31
31
  "category": "navigation"
32
32
  },
33
33
  {
34
- "name": "nav.easyops-navbar-alerts",
34
+ "name": "eo-launchpad-button",
35
35
  "properties": [],
36
36
  "events": [],
37
37
  "slots": [],
38
38
  "methods": [],
39
39
  "parts": [],
40
- "description": "构件 `nav.easyops-navbar-alerts`",
40
+ "description": "Launchpad 按钮构件",
41
41
  "insider": true
42
42
  },
43
43
  {
44
- "name": "eo-launchpad-quick-access",
45
- "properties": [
46
- {
47
- "name": "readonly",
48
- "type": "boolean"
49
- },
50
- {
51
- "name": "target",
52
- "attribute": false,
53
- "type": "Target"
54
- }
55
- ],
44
+ "name": "eo-launchpad-button-v2",
45
+ "properties": [],
56
46
  "events": [],
57
47
  "slots": [],
58
48
  "methods": [],
59
49
  "parts": [],
60
- "description": "快捷访问",
50
+ "description": "构件 `eo-launchpad-button-v2`",
51
+ "insider": true
52
+ },
53
+ {
54
+ "name": "nav.easyops-navbar-alerts",
55
+ "properties": [],
56
+ "events": [],
57
+ "slots": [],
58
+ "methods": [],
59
+ "parts": [],
60
+ "description": "构件 `nav.easyops-navbar-alerts`",
61
61
  "insider": true
62
62
  },
63
63
  {
@@ -89,29 +89,39 @@
89
89
  "insider": true
90
90
  },
91
91
  {
92
- "name": "eo-search-launchpad",
92
+ "name": "eo-launchpad-quick-access",
93
93
  "properties": [
94
94
  {
95
95
  "name": "readonly",
96
- "description": "简约模式",
97
96
  "type": "boolean"
97
+ },
98
+ {
99
+ "name": "target",
100
+ "attribute": false,
101
+ "type": "Target"
98
102
  }
99
103
  ],
100
104
  "events": [],
101
105
  "slots": [],
102
106
  "methods": [],
103
107
  "parts": [],
104
- "description": "launchpad 搜索",
108
+ "description": "快捷访问",
105
109
  "insider": true
106
110
  },
107
111
  {
108
- "name": "eo-launchpad-button",
109
- "properties": [],
112
+ "name": "eo-search-launchpad",
113
+ "properties": [
114
+ {
115
+ "name": "readonly",
116
+ "description": "简约模式",
117
+ "type": "boolean"
118
+ }
119
+ ],
110
120
  "events": [],
111
121
  "slots": [],
112
122
  "methods": [],
113
123
  "parts": [],
114
- "description": "Launchpad 按钮构件",
124
+ "description": "launchpad 搜索",
115
125
  "insider": true
116
126
  },
117
127
  {
@@ -177,6 +187,33 @@
177
187
  "parts": [],
178
188
  "description": "应用顶部容器"
179
189
  },
190
+ {
191
+ "name": "eo-frame-breadcrumb",
192
+ "properties": [
193
+ {
194
+ "name": "breadcrumb",
195
+ "description": "面包屑配置",
196
+ "attribute": false,
197
+ "type": "BreadcrumbItemConf[]"
198
+ },
199
+ {
200
+ "name": "noCurrentApp",
201
+ "description": "是否隐藏当前应用名称",
202
+ "type": "boolean"
203
+ },
204
+ {
205
+ "name": "menu",
206
+ "description": "菜单配置",
207
+ "attribute": false,
208
+ "type": "Menu"
209
+ }
210
+ ],
211
+ "events": [],
212
+ "slots": [],
213
+ "methods": [],
214
+ "parts": [],
215
+ "description": "面包屑"
216
+ },
180
217
  {
181
218
  "name": "eo-sidebar-menu-item",
182
219
  "properties": [
@@ -225,33 +262,6 @@
225
262
  "description": "侧栏菜单项",
226
263
  "category": "navigation"
227
264
  },
228
- {
229
- "name": "eo-frame-breadcrumb",
230
- "properties": [
231
- {
232
- "name": "breadcrumb",
233
- "description": "面包屑配置",
234
- "attribute": false,
235
- "type": "BreadcrumbItemConf[]"
236
- },
237
- {
238
- "name": "noCurrentApp",
239
- "description": "是否隐藏当前应用名称",
240
- "type": "boolean"
241
- },
242
- {
243
- "name": "menu",
244
- "description": "菜单配置",
245
- "attribute": false,
246
- "type": "Menu"
247
- }
248
- ],
249
- "events": [],
250
- "slots": [],
251
- "methods": [],
252
- "parts": [],
253
- "description": "面包屑"
254
- },
255
265
  {
256
266
  "name": "eo-sidebar-menu-group",
257
267
  "properties": [
@@ -288,43 +298,6 @@
288
298
  "description": "侧栏菜单分组",
289
299
  "category": "navigation"
290
300
  },
291
- {
292
- "name": "eo-sidebar-menu-submenu",
293
- "properties": [
294
- {
295
- "name": "icon",
296
- "description": "菜单的图标",
297
- "attribute": false,
298
- "type": "GeneralIconProps"
299
- },
300
- {
301
- "name": "selected",
302
- "description": "是否选中",
303
- "type": "boolean"
304
- },
305
- {
306
- "name": "collapsed",
307
- "description": "是否折叠",
308
- "type": "boolean"
309
- },
310
- {
311
- "name": "menuCollapsed",
312
- "description": "菜单整体是否收起状态",
313
- "type": "boolean"
314
- }
315
- ],
316
- "events": [],
317
- "slots": [
318
- {
319
- "name": "title",
320
- "description": "子菜单标题"
321
- }
322
- ],
323
- "methods": [],
324
- "parts": [],
325
- "description": "侧栏菜单子菜单",
326
- "category": "navigation"
327
- },
328
301
  {
329
302
  "name": "eo-sidebar-menu",
330
303
  "properties": [
@@ -341,16 +314,6 @@
341
314
  "description": "侧栏菜单",
342
315
  "category": "navigation"
343
316
  },
344
- {
345
- "name": "eo-launchpad-button-v2",
346
- "properties": [],
347
- "events": [],
348
- "slots": [],
349
- "methods": [],
350
- "parts": [],
351
- "description": "构件 `eo-launchpad-button-v2`",
352
- "insider": true
353
- },
354
317
  {
355
318
  "name": "eo-sidebar",
356
319
  "properties": [
@@ -419,68 +382,41 @@
419
382
  "category": "navigation"
420
383
  },
421
384
  {
422
- "name": "eo-directory",
385
+ "name": "eo-sidebar-menu-submenu",
423
386
  "properties": [
424
387
  {
425
- "name": "position",
426
- "description": "设置定位方式:静态定位或固定定位。",
427
- "default": "\"fixed\"",
428
- "type": "\"static\" | \"fixed\""
429
- },
430
- {
431
- "name": "directoryTitle",
432
- "description": "目录标题",
433
- "type": "string"
434
- },
435
- {
436
- "name": "menuItems",
437
- "description": "菜单数据",
438
- "required": true,
439
- "default": "[]",
388
+ "name": "icon",
389
+ "description": "菜单的图标",
440
390
  "attribute": false,
441
- "type": "MenuItem[]"
391
+ "type": "GeneralIconProps"
442
392
  },
443
393
  {
444
- "name": "hideRightBorder",
445
- "description": "是否隐藏右边线",
446
- "default": "false",
394
+ "name": "selected",
395
+ "description": "是否选中",
447
396
  "type": "boolean"
448
397
  },
449
398
  {
450
- "name": "suffixBrick",
451
- "description": "后缀 useBrick",
452
- "attribute": false,
453
- "type": "{ useBrick: UseBrickConf }"
399
+ "name": "collapsed",
400
+ "description": "是否折叠",
401
+ "type": "boolean"
454
402
  },
455
403
  {
456
- "name": "defaultSelectedKeys",
457
- "description": "默认选中高亮的菜单项",
458
- "attribute": false,
459
- "type": "string[]"
404
+ "name": "menuCollapsed",
405
+ "description": "菜单整体是否收起状态",
406
+ "type": "boolean"
460
407
  }
461
408
  ],
462
- "events": [
463
- {
464
- "name": "menu.item.click",
465
- "description": "菜单点击,groupKey 表示对应分组的key,data 表示对应菜单项",
466
- "detail": {
467
- "description": "{ groupKey: string, data: MenuChildrenItem }",
468
- "type": "MenuItemClickEventDetail"
469
- }
470
- },
409
+ "events": [],
410
+ "slots": [
471
411
  {
472
- "name": "suffix.icon.click",
473
- "description": "点击icon,detail为 对应菜单项或者是分组的key",
474
- "detail": {
475
- "description": "{ key: string }",
476
- "type": "{ key: string }"
477
- }
412
+ "name": "title",
413
+ "description": "子菜单标题"
478
414
  }
479
415
  ],
480
- "slots": [],
481
416
  "methods": [],
482
417
  "parts": [],
483
- "description": "目录"
418
+ "description": "侧栏菜单子菜单",
419
+ "category": "navigation"
484
420
  },
485
421
  {
486
422
  "name": "eo-directory-tree",
@@ -694,6 +630,70 @@
694
630
  "methods": [],
695
631
  "parts": [],
696
632
  "description": "轮询获取通知消息并展示。\n\n 从 v2 构件 `nav-legacy.poll-announce` 迁移而来"
633
+ },
634
+ {
635
+ "name": "eo-directory",
636
+ "properties": [
637
+ {
638
+ "name": "position",
639
+ "description": "设置定位方式:静态定位或固定定位。",
640
+ "default": "\"fixed\"",
641
+ "type": "\"static\" | \"fixed\""
642
+ },
643
+ {
644
+ "name": "directoryTitle",
645
+ "description": "目录标题",
646
+ "type": "string"
647
+ },
648
+ {
649
+ "name": "menuItems",
650
+ "description": "菜单数据",
651
+ "required": true,
652
+ "default": "[]",
653
+ "attribute": false,
654
+ "type": "MenuItem[]"
655
+ },
656
+ {
657
+ "name": "hideRightBorder",
658
+ "description": "是否隐藏右边线",
659
+ "default": "false",
660
+ "type": "boolean"
661
+ },
662
+ {
663
+ "name": "suffixBrick",
664
+ "description": "后缀 useBrick",
665
+ "attribute": false,
666
+ "type": "{ useBrick: UseBrickConf }"
667
+ },
668
+ {
669
+ "name": "defaultSelectedKeys",
670
+ "description": "默认选中高亮的菜单项",
671
+ "attribute": false,
672
+ "type": "string[]"
673
+ }
674
+ ],
675
+ "events": [
676
+ {
677
+ "name": "menu.item.click",
678
+ "description": "菜单点击,groupKey 表示对应分组的key,data 表示对应菜单项",
679
+ "detail": {
680
+ "description": "{ groupKey: string, data: MenuChildrenItem }",
681
+ "type": "MenuItemClickEventDetail"
682
+ }
683
+ },
684
+ {
685
+ "name": "suffix.icon.click",
686
+ "description": "点击icon,detail为 对应菜单项或者是分组的key",
687
+ "detail": {
688
+ "description": "{ key: string }",
689
+ "type": "{ key: string }"
690
+ }
691
+ }
692
+ ],
693
+ "slots": [],
694
+ "methods": [],
695
+ "parts": [],
696
+ "description": "目录"
697
697
  }
698
698
  ],
699
699
  "providers": []
package/dist/types.json CHANGED
@@ -57,94 +57,6 @@
57
57
  "events": [],
58
58
  "methods": []
59
59
  },
60
- "eo-sidebar-menu-item": {
61
- "properties": [
62
- {
63
- "name": "url",
64
- "annotation": {
65
- "type": "indexedAccess",
66
- "objectType": {
67
- "type": "reference",
68
- "typeName": {
69
- "type": "identifier",
70
- "name": "LinkProps"
71
- }
72
- },
73
- "indexType": {
74
- "type": "jsLiteral",
75
- "value": "url"
76
- }
77
- }
78
- },
79
- {
80
- "name": "href",
81
- "annotation": {
82
- "type": "indexedAccess",
83
- "objectType": {
84
- "type": "reference",
85
- "typeName": {
86
- "type": "identifier",
87
- "name": "LinkProps"
88
- }
89
- },
90
- "indexType": {
91
- "type": "jsLiteral",
92
- "value": "href"
93
- }
94
- }
95
- },
96
- {
97
- "name": "target",
98
- "annotation": {
99
- "type": "indexedAccess",
100
- "objectType": {
101
- "type": "reference",
102
- "typeName": {
103
- "type": "identifier",
104
- "name": "LinkProps"
105
- }
106
- },
107
- "indexType": {
108
- "type": "jsLiteral",
109
- "value": "target"
110
- }
111
- }
112
- },
113
- {
114
- "name": "icon",
115
- "annotation": {
116
- "type": "reference",
117
- "typeName": {
118
- "type": "identifier",
119
- "name": "GeneralIconProps"
120
- }
121
- }
122
- },
123
- {
124
- "name": "selected",
125
- "annotation": {
126
- "type": "keyword",
127
- "value": "boolean"
128
- }
129
- },
130
- {
131
- "name": "inSubmenu",
132
- "annotation": {
133
- "type": "keyword",
134
- "value": "boolean"
135
- }
136
- },
137
- {
138
- "name": "menuCollapsed",
139
- "annotation": {
140
- "type": "keyword",
141
- "value": "boolean"
142
- }
143
- }
144
- ],
145
- "events": [],
146
- "methods": []
147
- },
148
60
  "eo-frame-breadcrumb": {
149
61
  "properties": [
150
62
  {
@@ -233,6 +145,94 @@
233
145
  }
234
146
  ]
235
147
  },
148
+ "eo-sidebar-menu-item": {
149
+ "properties": [
150
+ {
151
+ "name": "url",
152
+ "annotation": {
153
+ "type": "indexedAccess",
154
+ "objectType": {
155
+ "type": "reference",
156
+ "typeName": {
157
+ "type": "identifier",
158
+ "name": "LinkProps"
159
+ }
160
+ },
161
+ "indexType": {
162
+ "type": "jsLiteral",
163
+ "value": "url"
164
+ }
165
+ }
166
+ },
167
+ {
168
+ "name": "href",
169
+ "annotation": {
170
+ "type": "indexedAccess",
171
+ "objectType": {
172
+ "type": "reference",
173
+ "typeName": {
174
+ "type": "identifier",
175
+ "name": "LinkProps"
176
+ }
177
+ },
178
+ "indexType": {
179
+ "type": "jsLiteral",
180
+ "value": "href"
181
+ }
182
+ }
183
+ },
184
+ {
185
+ "name": "target",
186
+ "annotation": {
187
+ "type": "indexedAccess",
188
+ "objectType": {
189
+ "type": "reference",
190
+ "typeName": {
191
+ "type": "identifier",
192
+ "name": "LinkProps"
193
+ }
194
+ },
195
+ "indexType": {
196
+ "type": "jsLiteral",
197
+ "value": "target"
198
+ }
199
+ }
200
+ },
201
+ {
202
+ "name": "icon",
203
+ "annotation": {
204
+ "type": "reference",
205
+ "typeName": {
206
+ "type": "identifier",
207
+ "name": "GeneralIconProps"
208
+ }
209
+ }
210
+ },
211
+ {
212
+ "name": "selected",
213
+ "annotation": {
214
+ "type": "keyword",
215
+ "value": "boolean"
216
+ }
217
+ },
218
+ {
219
+ "name": "inSubmenu",
220
+ "annotation": {
221
+ "type": "keyword",
222
+ "value": "boolean"
223
+ }
224
+ },
225
+ {
226
+ "name": "menuCollapsed",
227
+ "annotation": {
228
+ "type": "keyword",
229
+ "value": "boolean"
230
+ }
231
+ }
232
+ ],
233
+ "events": [],
234
+ "methods": []
235
+ },
236
236
  "eo-sidebar-sub-menu": {
237
237
  "properties": [
238
238
  {
@@ -249,6 +249,11 @@
249
249
  "events": [],
250
250
  "methods": []
251
251
  },
252
+ "nav.nav-logo": {
253
+ "properties": [],
254
+ "events": [],
255
+ "methods": []
256
+ },
252
257
  "eo-directory": {
253
258
  "properties": [
254
259
  {
@@ -559,11 +564,6 @@
559
564
  }
560
565
  ]
561
566
  },
562
- "nav.nav-logo": {
563
- "properties": [],
564
- "events": [],
565
- "methods": []
566
- },
567
567
  "eo-search-launchpad": {
568
568
  "properties": [
569
569
  {
@@ -593,6 +593,19 @@
593
593
  "events": [],
594
594
  "methods": []
595
595
  },
596
+ "eo-sidebar-menu": {
597
+ "properties": [
598
+ {
599
+ "name": "menuCollapsed",
600
+ "annotation": {
601
+ "type": "keyword",
602
+ "value": "boolean"
603
+ }
604
+ }
605
+ ],
606
+ "events": [],
607
+ "methods": []
608
+ },
596
609
  "eo-sidebar-menu-submenu": {
597
610
  "properties": [
598
611
  {
@@ -630,19 +643,6 @@
630
643
  "events": [],
631
644
  "methods": []
632
645
  },
633
- "eo-sidebar-menu": {
634
- "properties": [
635
- {
636
- "name": "menuCollapsed",
637
- "annotation": {
638
- "type": "keyword",
639
- "value": "boolean"
640
- }
641
- }
642
- ],
643
- "events": [],
644
- "methods": []
645
- },
646
646
  "eo-directory-tree-internal-node": {
647
647
  "properties": [
648
648
  {
@@ -958,6 +958,29 @@
958
958
  }
959
959
  ]
960
960
  },
961
+ "eo-launchpad-quick-access": {
962
+ "properties": [
963
+ {
964
+ "name": "readonly",
965
+ "annotation": {
966
+ "type": "keyword",
967
+ "value": "boolean"
968
+ }
969
+ },
970
+ {
971
+ "name": "target",
972
+ "annotation": {
973
+ "type": "reference",
974
+ "typeName": {
975
+ "type": "identifier",
976
+ "name": "Target"
977
+ }
978
+ }
979
+ }
980
+ ],
981
+ "events": [],
982
+ "methods": []
983
+ },
961
984
  "eo-directory-tree": {
962
985
  "properties": [
963
986
  {
@@ -1874,29 +1897,6 @@
1874
1897
  "events": [],
1875
1898
  "methods": []
1876
1899
  },
1877
- "eo-launchpad-quick-access": {
1878
- "properties": [
1879
- {
1880
- "name": "readonly",
1881
- "annotation": {
1882
- "type": "keyword",
1883
- "value": "boolean"
1884
- }
1885
- },
1886
- {
1887
- "name": "target",
1888
- "annotation": {
1889
- "type": "reference",
1890
- "typeName": {
1891
- "type": "identifier",
1892
- "name": "Target"
1893
- }
1894
- }
1895
- }
1896
- ],
1897
- "events": [],
1898
- "methods": []
1899
- },
1900
1900
  "eo-launchpad-button-v2": {
1901
1901
  "properties": [],
1902
1902
  "events": [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/nav",
3
- "version": "1.14.0",
3
+ "version": "1.14.2",
4
4
  "homepage": "https://github.com/easyops-cn/next-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": "7507bb8128c981b14f7504fdae0689db52437bea"
46
+ "gitHead": "822e80c2bfb15fb6a029ee53542bf3386b55f744"
47
47
  }