@next-bricks/nav 1.18.1 → 1.18.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,23 +31,47 @@
31
31
  "category": "navigation"
32
32
  },
33
33
  {
34
- "name": "eo-launchpad-button",
35
- "properties": [],
36
- "events": [],
37
- "slots": [],
38
- "methods": [],
39
- "parts": [],
40
- "description": "Launchpad 按钮构件",
41
- "insider": true
42
- },
43
- {
44
- "name": "nav.easyops-navbar-alerts",
45
- "properties": [],
46
- "events": [],
34
+ "name": "nav.launchpad-config",
35
+ "properties": [
36
+ {
37
+ "name": "menuGroups",
38
+ "attribute": false,
39
+ "type": "ConfigMenuGroup[]"
40
+ },
41
+ {
42
+ "name": "actions",
43
+ "attribute": false,
44
+ "type": "MenuAction[]"
45
+ },
46
+ {
47
+ "name": "variant",
48
+ "description": "",
49
+ "default": "\"launchpad-config\"",
50
+ "type": "\"launchpad-config\" | \"menu-config\""
51
+ },
52
+ {
53
+ "name": "urlTemplate",
54
+ "description": "菜单项 APP 类型的链接模板,例如可配置为 `/app/{{ id }}`。\n\n注:仅用于 variant: \"menu-config\"。",
55
+ "type": "string"
56
+ },
57
+ {
58
+ "name": "customUrlTemplate",
59
+ "description": "菜单项自定义类型的链接模板,例如可配置为 `/custom?url={{ __pathname }}`。\n\n注:仅用于 variant: \"menu-config\"。\n 外链菜单链接会设置为禁用。\n `__pathname` 是运行时变量,表示 url 解析后的 pathname。",
60
+ "type": "string"
61
+ }
62
+ ],
63
+ "events": [
64
+ {
65
+ "name": "action.click",
66
+ "detail": {
67
+ "type": "MenuActionEventDetail"
68
+ }
69
+ }
70
+ ],
47
71
  "slots": [],
48
72
  "methods": [],
49
73
  "parts": [],
50
- "description": "构件 `nav.easyops-navbar-alerts`",
74
+ "description": "进行 Launchpad 配置。\n\n也可用于菜单自定义显示产品功能清单。",
51
75
  "insider": true
52
76
  },
53
77
  {
@@ -70,47 +94,74 @@
70
94
  "insider": true
71
95
  },
72
96
  {
73
- "name": "eo-launchpad-recent-visits",
97
+ "name": "eo-search-launchpad",
74
98
  "properties": [
75
99
  {
76
- "name": "target",
77
- "attribute": false,
78
- "type": "Target"
100
+ "name": "readonly",
101
+ "description": "简约模式",
102
+ "type": "boolean"
79
103
  }
80
104
  ],
81
105
  "events": [],
82
106
  "slots": [],
83
107
  "methods": [],
84
108
  "parts": [],
85
- "description": "launchpad 最近访问",
109
+ "description": "launchpad 搜索",
86
110
  "insider": true
87
111
  },
88
112
  {
89
- "name": "eo-search-launchpad",
113
+ "name": "eo-launchpad-recent-visits",
90
114
  "properties": [
91
115
  {
92
- "name": "readonly",
93
- "description": "简约模式",
94
- "type": "boolean"
116
+ "name": "target",
117
+ "attribute": false,
118
+ "type": "Target"
95
119
  }
96
120
  ],
97
121
  "events": [],
98
122
  "slots": [],
99
123
  "methods": [],
100
124
  "parts": [],
101
- "description": "launchpad 搜索",
125
+ "description": "launchpad 最近访问",
102
126
  "insider": true
103
127
  },
104
128
  {
105
- "name": "eo-launchpad-button-v2",
129
+ "name": "eo-launchpad-button",
106
130
  "properties": [],
107
131
  "events": [],
108
132
  "slots": [],
109
133
  "methods": [],
110
134
  "parts": [],
111
- "description": "构件 `eo-launchpad-button-v2`",
135
+ "description": "Launchpad 按钮构件",
112
136
  "insider": true
113
137
  },
138
+ {
139
+ "name": "eo-frame-breadcrumb",
140
+ "properties": [
141
+ {
142
+ "name": "breadcrumb",
143
+ "description": "面包屑配置",
144
+ "attribute": false,
145
+ "type": "BreadcrumbItemConf[]"
146
+ },
147
+ {
148
+ "name": "noCurrentApp",
149
+ "description": "是否隐藏当前应用名称",
150
+ "type": "boolean"
151
+ },
152
+ {
153
+ "name": "menu",
154
+ "description": "菜单配置",
155
+ "attribute": false,
156
+ "type": "Menu"
157
+ }
158
+ ],
159
+ "events": [],
160
+ "slots": [],
161
+ "methods": [],
162
+ "parts": [],
163
+ "description": "面包屑"
164
+ },
114
165
  {
115
166
  "name": "eo-app-bar-wrapper",
116
167
  "alias": [
@@ -159,67 +210,14 @@
159
210
  "description": "应用顶部容器"
160
211
  },
161
212
  {
162
- "name": "eo-frame-breadcrumb",
163
- "properties": [
164
- {
165
- "name": "breadcrumb",
166
- "description": "面包屑配置",
167
- "attribute": false,
168
- "type": "BreadcrumbItemConf[]"
169
- },
170
- {
171
- "name": "noCurrentApp",
172
- "description": "是否隐藏当前应用名称",
173
- "type": "boolean"
174
- },
175
- {
176
- "name": "menu",
177
- "description": "菜单配置",
178
- "attribute": false,
179
- "type": "Menu"
180
- }
181
- ],
213
+ "name": "eo-launchpad-button-v2",
214
+ "properties": [],
182
215
  "events": [],
183
216
  "slots": [],
184
217
  "methods": [],
185
218
  "parts": [],
186
- "description": "面包屑"
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"
219
+ "description": "构件 `eo-launchpad-button-v2`",
220
+ "insider": true
223
221
  },
224
222
  {
225
223
  "name": "eo-sidebar-menu-item",
@@ -269,6 +267,52 @@
269
267
  "description": "侧栏菜单项",
270
268
  "category": "navigation"
271
269
  },
270
+ {
271
+ "name": "nav.easyops-navbar-alerts",
272
+ "properties": [],
273
+ "events": [],
274
+ "slots": [],
275
+ "methods": [],
276
+ "parts": [],
277
+ "description": "构件 `nav.easyops-navbar-alerts`",
278
+ "insider": true
279
+ },
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
+ },
272
316
  {
273
317
  "name": "eo-sidebar-menu-submenu",
274
318
  "properties": [
@@ -322,50 +366,6 @@
322
366
  "description": "侧栏菜单",
323
367
  "category": "navigation"
324
368
  },
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": [
package/dist/types.json CHANGED
@@ -1,62 +1,4 @@
1
1
  {
2
- "nav.easyops-navbar-alerts": {
3
- "properties": [],
4
- "events": [],
5
- "methods": []
6
- },
7
- "eo-app-bar-wrapper": {
8
- "properties": [
9
- {
10
- "name": "isFixed",
11
- "annotation": {
12
- "type": "keyword",
13
- "value": "boolean"
14
- }
15
- },
16
- {
17
- "name": "position",
18
- "annotation": {
19
- "type": "union",
20
- "types": [
21
- {
22
- "type": "jsLiteral",
23
- "value": "static"
24
- },
25
- {
26
- "type": "jsLiteral",
27
- "value": "fixed"
28
- }
29
- ]
30
- }
31
- },
32
- {
33
- "name": "displayCenter",
34
- "annotation": {
35
- "type": "keyword",
36
- "value": "boolean"
37
- }
38
- },
39
- {
40
- "name": "extraAppBarContentStyle",
41
- "annotation": {
42
- "type": "reference",
43
- "typeName": {
44
- "type": "qualifiedName",
45
- "left": {
46
- "type": "identifier",
47
- "name": "React"
48
- },
49
- "right": {
50
- "type": "identifier",
51
- "name": "CSSProperties"
52
- }
53
- }
54
- }
55
- }
56
- ],
57
- "events": [],
58
- "methods": []
59
- },
60
2
  "eo-frame-breadcrumb": {
61
3
  "properties": [
62
4
  {
@@ -145,6 +87,59 @@
145
87
  }
146
88
  ]
147
89
  },
90
+ "eo-app-bar-wrapper": {
91
+ "properties": [
92
+ {
93
+ "name": "isFixed",
94
+ "annotation": {
95
+ "type": "keyword",
96
+ "value": "boolean"
97
+ }
98
+ },
99
+ {
100
+ "name": "position",
101
+ "annotation": {
102
+ "type": "union",
103
+ "types": [
104
+ {
105
+ "type": "jsLiteral",
106
+ "value": "static"
107
+ },
108
+ {
109
+ "type": "jsLiteral",
110
+ "value": "fixed"
111
+ }
112
+ ]
113
+ }
114
+ },
115
+ {
116
+ "name": "displayCenter",
117
+ "annotation": {
118
+ "type": "keyword",
119
+ "value": "boolean"
120
+ }
121
+ },
122
+ {
123
+ "name": "extraAppBarContentStyle",
124
+ "annotation": {
125
+ "type": "reference",
126
+ "typeName": {
127
+ "type": "qualifiedName",
128
+ "left": {
129
+ "type": "identifier",
130
+ "name": "React"
131
+ },
132
+ "right": {
133
+ "type": "identifier",
134
+ "name": "CSSProperties"
135
+ }
136
+ }
137
+ }
138
+ }
139
+ ],
140
+ "events": [],
141
+ "methods": []
142
+ },
148
143
  "eo-sidebar-menu-item": {
149
144
  "properties": [
150
145
  {
@@ -233,6 +228,11 @@
233
228
  "events": [],
234
229
  "methods": []
235
230
  },
231
+ "nav.easyops-navbar-alerts": {
232
+ "properties": [],
233
+ "events": [],
234
+ "methods": []
235
+ },
236
236
  "eo-sidebar-sub-menu": {
237
237
  "properties": [
238
238
  {
@@ -564,29 +564,29 @@
564
564
  "events": [],
565
565
  "methods": []
566
566
  },
567
- "eo-launchpad-recent-visits": {
567
+ "eo-search-launchpad": {
568
568
  "properties": [
569
569
  {
570
- "name": "target",
570
+ "name": "readonly",
571
571
  "annotation": {
572
- "type": "reference",
573
- "typeName": {
574
- "type": "identifier",
575
- "name": "Target"
576
- }
572
+ "type": "keyword",
573
+ "value": "boolean"
577
574
  }
578
575
  }
579
576
  ],
580
577
  "events": [],
581
578
  "methods": []
582
579
  },
583
- "eo-search-launchpad": {
580
+ "eo-launchpad-recent-visits": {
584
581
  "properties": [
585
582
  {
586
- "name": "readonly",
583
+ "name": "target",
587
584
  "annotation": {
588
- "type": "keyword",
589
- "value": "boolean"
585
+ "type": "reference",
586
+ "typeName": {
587
+ "type": "identifier",
588
+ "name": "Target"
589
+ }
590
590
  }
591
591
  }
592
592
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/nav",
3
- "version": "1.18.1",
3
+ "version": "1.18.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": "24971fcdc637b394b09b4764b405dfed81c66eec"
46
+ "gitHead": "ca8554437ba407db5df02bf37f7217eb0798eca5"
47
47
  }