@next-bricks/nav 1.17.4 → 1.18.1

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.
@@ -41,78 +41,40 @@
41
41
  "insider": true
42
42
  },
43
43
  {
44
- "name": "eo-launchpad-button-v2",
44
+ "name": "nav.easyops-navbar-alerts",
45
45
  "properties": [],
46
46
  "events": [],
47
47
  "slots": [],
48
48
  "methods": [],
49
49
  "parts": [],
50
- "description": "构件 `eo-launchpad-button-v2`",
50
+ "description": "构件 `nav.easyops-navbar-alerts`",
51
51
  "insider": true
52
52
  },
53
53
  {
54
- "name": "nav.launchpad-config",
54
+ "name": "eo-launchpad-quick-access",
55
55
  "properties": [
56
56
  {
57
- "name": "menuGroups",
58
- "attribute": false,
59
- "type": "ConfigMenuGroup[]"
60
- },
61
- {
62
- "name": "actions",
63
- "attribute": false,
64
- "type": "MenuAction[]"
65
- },
66
- {
67
- "name": "variant",
68
- "description": "",
69
- "default": "\"launchpad-config\"",
70
- "type": "\"launchpad-config\" | \"menu-config\""
71
- },
72
- {
73
- "name": "urlTemplate",
74
- "description": "菜单项 APP 类型的链接模板,例如可配置为 `/app/{{ id }}`。\n\n注:仅用于 variant: \"menu-config\"。",
75
- "type": "string"
57
+ "name": "readonly",
58
+ "type": "boolean"
76
59
  },
77
60
  {
78
- "name": "customUrlTemplate",
79
- "description": "菜单项自定义类型的链接模板,例如可配置为 `/custom?url={{ __pathname }}`。\n\n注:仅用于 variant: \"menu-config\"。\n 外链菜单链接会设置为禁用。\n `__pathname` 是运行时变量,表示 url 解析后的 pathname。",
80
- "type": "string"
81
- }
82
- ],
83
- "events": [
84
- {
85
- "name": "action.click",
86
- "detail": {
87
- "type": "MenuActionEventDetail"
88
- }
61
+ "name": "target",
62
+ "type": "Target"
89
63
  }
90
64
  ],
91
- "slots": [],
92
- "methods": [],
93
- "parts": [],
94
- "description": "进行 Launchpad 配置。\n\n也可用于菜单自定义显示产品功能清单。",
95
- "insider": true
96
- },
97
- {
98
- "name": "nav.easyops-navbar-alerts",
99
- "properties": [],
100
65
  "events": [],
101
66
  "slots": [],
102
67
  "methods": [],
103
68
  "parts": [],
104
- "description": "构件 `nav.easyops-navbar-alerts`",
69
+ "description": "快捷访问",
105
70
  "insider": true
106
71
  },
107
72
  {
108
- "name": "eo-launchpad-quick-access",
73
+ "name": "eo-launchpad-recent-visits",
109
74
  "properties": [
110
- {
111
- "name": "readonly",
112
- "type": "boolean"
113
- },
114
75
  {
115
76
  "name": "target",
77
+ "attribute": false,
116
78
  "type": "Target"
117
79
  }
118
80
  ],
@@ -120,7 +82,7 @@
120
82
  "slots": [],
121
83
  "methods": [],
122
84
  "parts": [],
123
- "description": "快捷访问",
85
+ "description": "launchpad 最近访问",
124
86
  "insider": true
125
87
  },
126
88
  {
@@ -140,19 +102,13 @@
140
102
  "insider": true
141
103
  },
142
104
  {
143
- "name": "eo-launchpad-recent-visits",
144
- "properties": [
145
- {
146
- "name": "target",
147
- "attribute": false,
148
- "type": "Target"
149
- }
150
- ],
105
+ "name": "eo-launchpad-button-v2",
106
+ "properties": [],
151
107
  "events": [],
152
108
  "slots": [],
153
109
  "methods": [],
154
110
  "parts": [],
155
- "description": "launchpad 最近访问",
111
+ "description": "构件 `eo-launchpad-button-v2`",
156
112
  "insider": true
157
113
  },
158
114
  {
@@ -229,6 +185,42 @@
229
185
  "parts": [],
230
186
  "description": "面包屑"
231
187
  },
188
+ {
189
+ "name": "eo-sidebar-menu-group",
190
+ "properties": [
191
+ {
192
+ "name": "collapsable",
193
+ "description": "是否允许折叠",
194
+ "type": "boolean"
195
+ },
196
+ {
197
+ "name": "collapsed",
198
+ "description": "是否折叠",
199
+ "type": "boolean"
200
+ },
201
+ {
202
+ "name": "selected",
203
+ "description": "是否选中",
204
+ "type": "boolean"
205
+ },
206
+ {
207
+ "name": "menuCollapsed",
208
+ "description": "菜单整体是否收起状态",
209
+ "type": "boolean"
210
+ }
211
+ ],
212
+ "events": [],
213
+ "slots": [
214
+ {
215
+ "name": "title",
216
+ "description": "分组标题"
217
+ }
218
+ ],
219
+ "methods": [],
220
+ "parts": [],
221
+ "description": "侧栏菜单分组",
222
+ "category": "navigation"
223
+ },
232
224
  {
233
225
  "name": "eo-sidebar-menu-item",
234
226
  "properties": [
@@ -277,42 +269,6 @@
277
269
  "description": "侧栏菜单项",
278
270
  "category": "navigation"
279
271
  },
280
- {
281
- "name": "eo-sidebar-menu-group",
282
- "properties": [
283
- {
284
- "name": "collapsable",
285
- "description": "是否允许折叠",
286
- "type": "boolean"
287
- },
288
- {
289
- "name": "collapsed",
290
- "description": "是否折叠",
291
- "type": "boolean"
292
- },
293
- {
294
- "name": "selected",
295
- "description": "是否选中",
296
- "type": "boolean"
297
- },
298
- {
299
- "name": "menuCollapsed",
300
- "description": "菜单整体是否收起状态",
301
- "type": "boolean"
302
- }
303
- ],
304
- "events": [],
305
- "slots": [
306
- {
307
- "name": "title",
308
- "description": "分组标题"
309
- }
310
- ],
311
- "methods": [],
312
- "parts": [],
313
- "description": "侧栏菜单分组",
314
- "category": "navigation"
315
- },
316
272
  {
317
273
  "name": "eo-sidebar-menu-submenu",
318
274
  "properties": [
@@ -366,6 +322,50 @@
366
322
  "description": "侧栏菜单",
367
323
  "category": "navigation"
368
324
  },
325
+ {
326
+ "name": "nav.launchpad-config",
327
+ "properties": [
328
+ {
329
+ "name": "menuGroups",
330
+ "attribute": false,
331
+ "type": "ConfigMenuGroup[]"
332
+ },
333
+ {
334
+ "name": "actions",
335
+ "attribute": false,
336
+ "type": "MenuAction[]"
337
+ },
338
+ {
339
+ "name": "variant",
340
+ "description": "",
341
+ "default": "\"launchpad-config\"",
342
+ "type": "\"launchpad-config\" | \"menu-config\""
343
+ },
344
+ {
345
+ "name": "urlTemplate",
346
+ "description": "菜单项 APP 类型的链接模板,例如可配置为 `/app/{{ id }}`。\n\n注:仅用于 variant: \"menu-config\"。",
347
+ "type": "string"
348
+ },
349
+ {
350
+ "name": "customUrlTemplate",
351
+ "description": "菜单项自定义类型的链接模板,例如可配置为 `/custom?url={{ __pathname }}`。\n\n注:仅用于 variant: \"menu-config\"。\n 外链菜单链接会设置为禁用。\n `__pathname` 是运行时变量,表示 url 解析后的 pathname。",
352
+ "type": "string"
353
+ }
354
+ ],
355
+ "events": [
356
+ {
357
+ "name": "action.click",
358
+ "detail": {
359
+ "type": "MenuActionEventDetail"
360
+ }
361
+ }
362
+ ],
363
+ "slots": [],
364
+ "methods": [],
365
+ "parts": [],
366
+ "description": "进行 Launchpad 配置。\n\n也可用于菜单自定义显示产品功能清单。",
367
+ "insider": true
368
+ },
369
369
  {
370
370
  "name": "eo-sidebar",
371
371
  "properties": [
@@ -737,7 +737,11 @@
737
737
  "providers": [
738
738
  {
739
739
  "name": "nav.get-menu-config-tree",
740
- "description": "构造用于菜单自定义的树形结构数据。"
740
+ "description": "构造用于菜单自定义的树形结构数据。\n\n将对菜单标题进行表达式解析,支持 I18N 和 APP。"
741
+ },
742
+ {
743
+ "name": "nav.get-menu-config-options",
744
+ "description": "构造用于菜单自定义的下拉选项数据。\n\n将对菜单标题进行表达式解析,支持 I18N 和 APP。"
741
745
  }
742
746
  ]
743
747
  }