@next-bricks/nav 1.24.3 → 1.24.4

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,79 +31,23 @@
31
31
  "category": "navigation"
32
32
  },
33
33
  {
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": "ConfigVariant"
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
- "name": "blacklist",
64
- "description": "屏蔽的 URL 列表,例如可配置为 `[\"/app/1\", \"/app/2\"]`。\n\n注:仅用于 variant: \"blacklist-config\"。",
65
- "attribute": false,
66
- "type": "string[]"
67
- }
68
- ],
69
- "events": [
70
- {
71
- "name": "menu-item.click",
72
- "detail": {
73
- "type": "ConfigMenuItemNormal"
74
- }
75
- },
76
- {
77
- "name": "action.click",
78
- "detail": {
79
- "type": "MenuActionEventDetail"
80
- }
81
- }
82
- ],
83
- "slots": [],
84
- "methods": [],
85
- "parts": [],
86
- "description": "进行 Launchpad 配置。\n\n也可用于菜单自定义显示产品功能清单。",
87
- "insider": true
88
- },
89
- {
90
- "name": "nav.easyops-navbar-alerts",
34
+ "name": "eo-launchpad-button-v2",
91
35
  "properties": [],
92
36
  "events": [],
93
37
  "slots": [],
94
38
  "methods": [],
95
39
  "parts": [],
96
- "description": "构件 `nav.easyops-navbar-alerts`",
40
+ "description": "构件 `eo-launchpad-button-v2`",
97
41
  "insider": true
98
42
  },
99
43
  {
100
- "name": "eo-launchpad-button-v2",
44
+ "name": "nav.easyops-navbar-alerts",
101
45
  "properties": [],
102
46
  "events": [],
103
47
  "slots": [],
104
48
  "methods": [],
105
49
  "parts": [],
106
- "description": "构件 `eo-launchpad-button-v2`",
50
+ "description": "构件 `nav.easyops-navbar-alerts`",
107
51
  "insider": true
108
52
  },
109
53
  {
@@ -142,30 +86,61 @@
142
86
  "insider": true
143
87
  },
144
88
  {
145
- "name": "eo-launchpad-recent-visits",
146
- "properties": [
147
- {
148
- "name": "target",
149
- "attribute": false,
150
- "type": "Target"
151
- }
152
- ],
89
+ "name": "eo-launchpad-button",
90
+ "properties": [],
153
91
  "events": [],
154
92
  "slots": [],
155
93
  "methods": [],
156
94
  "parts": [],
157
- "description": "launchpad 最近访问",
95
+ "description": "Launchpad 按钮构件",
158
96
  "insider": true
159
97
  },
160
98
  {
161
- "name": "eo-launchpad-button",
162
- "properties": [],
99
+ "name": "eo-app-bar-wrapper",
100
+ "alias": [
101
+ "basic.app-bar-wrapper"
102
+ ],
103
+ "properties": [
104
+ {
105
+ "name": "isFixed",
106
+ "description": "是否固定定位。",
107
+ "deprecated": "使用 `position` 属性代替",
108
+ "default": "true",
109
+ "type": "boolean"
110
+ },
111
+ {
112
+ "name": "position",
113
+ "description": "设置定位方式:静态定位或固定定位。\n\n设置时优先级高于 `isFixed`。",
114
+ "default": "\"fixed\"",
115
+ "type": "\"static\" | \"fixed\""
116
+ },
117
+ {
118
+ "name": "displayCenter",
119
+ "description": "居中显示",
120
+ "default": "false",
121
+ "type": "boolean"
122
+ },
123
+ {
124
+ "name": "extraAppBarContentStyle",
125
+ "description": "自定义样式",
126
+ "attribute": false,
127
+ "type": "React.CSSProperties"
128
+ }
129
+ ],
163
130
  "events": [],
164
- "slots": [],
131
+ "slots": [
132
+ {
133
+ "name": "left",
134
+ "description": "左侧内容区"
135
+ },
136
+ {
137
+ "name": "right",
138
+ "description": "右侧内容区"
139
+ }
140
+ ],
165
141
  "methods": [],
166
142
  "parts": [],
167
- "description": "Launchpad 按钮构件",
168
- "insider": true
143
+ "description": "应用顶部容器"
169
144
  },
170
145
  {
171
146
  "name": "eo-frame-breadcrumb",
@@ -195,51 +170,108 @@
195
170
  "description": "面包屑"
196
171
  },
197
172
  {
198
- "name": "eo-app-bar-wrapper",
199
- "alias": [
200
- "basic.app-bar-wrapper"
201
- ],
173
+ "name": "nav.launchpad-config",
202
174
  "properties": [
203
175
  {
204
- "name": "isFixed",
205
- "description": "是否固定定位。",
206
- "deprecated": "使用 `position` 属性代替",
207
- "default": "true",
208
- "type": "boolean"
176
+ "name": "menuGroups",
177
+ "attribute": false,
178
+ "type": "ConfigMenuGroup[]"
209
179
  },
210
180
  {
211
- "name": "position",
212
- "description": "设置定位方式:静态定位或固定定位。\n\n设置时优先级高于 `isFixed`。",
213
- "default": "\"fixed\"",
214
- "type": "\"static\" | \"fixed\""
181
+ "name": "actions",
182
+ "attribute": false,
183
+ "type": "MenuAction[]"
215
184
  },
216
185
  {
217
- "name": "displayCenter",
218
- "description": "居中显示",
219
- "default": "false",
220
- "type": "boolean"
186
+ "name": "variant",
187
+ "description": "",
188
+ "default": "\"launchpad-config\"",
189
+ "type": "ConfigVariant"
221
190
  },
222
191
  {
223
- "name": "extraAppBarContentStyle",
224
- "description": "自定义样式",
192
+ "name": "urlTemplate",
193
+ "description": "菜单项 APP 类型的链接模板,例如可配置为 `/app/{{ id }}`。\n\n注:仅用于 variant: \"menu-config\"。",
194
+ "type": "string"
195
+ },
196
+ {
197
+ "name": "customUrlTemplate",
198
+ "description": "菜单项自定义类型的链接模板,例如可配置为 `/custom?url={{ __pathname }}`。\n\n注:仅用于 variant: \"menu-config\"。\n 外链菜单链接会设置为禁用。\n `__pathname` 是运行时变量,表示 url 解析后的 pathname。",
199
+ "type": "string"
200
+ },
201
+ {
202
+ "name": "blacklist",
203
+ "description": "屏蔽的 URL 列表,例如可配置为 `[\"/app/1\", \"/app/2\"]`。\n\n注:仅用于 variant: \"blacklist-config\"。",
225
204
  "attribute": false,
226
- "type": "React.CSSProperties"
205
+ "type": "string[]"
227
206
  }
228
207
  ],
229
- "events": [],
230
- "slots": [
208
+ "events": [
231
209
  {
232
- "name": "left",
233
- "description": "左侧内容区"
210
+ "name": "menu-item.click",
211
+ "detail": {
212
+ "type": "ConfigMenuItemNormal"
213
+ }
234
214
  },
235
215
  {
236
- "name": "right",
237
- "description": "右侧内容区"
216
+ "name": "action.click",
217
+ "detail": {
218
+ "type": "MenuActionEventDetail"
219
+ }
238
220
  }
239
221
  ],
222
+ "slots": [],
240
223
  "methods": [],
241
224
  "parts": [],
242
- "description": "应用顶部容器"
225
+ "description": "进行 Launchpad 配置。\n\n也可用于菜单自定义显示产品功能清单。",
226
+ "insider": true
227
+ },
228
+ {
229
+ "name": "eo-sidebar-menu-item",
230
+ "properties": [
231
+ {
232
+ "name": "url",
233
+ "description": "菜单项对应的系统内地址",
234
+ "attribute": false,
235
+ "type": "LinkProps[\"url\"]"
236
+ },
237
+ {
238
+ "name": "href",
239
+ "description": "菜单项对应的外部链接地址",
240
+ "type": "LinkProps[\"href\"]"
241
+ },
242
+ {
243
+ "name": "target",
244
+ "description": "菜单项链接打开的目标",
245
+ "type": "LinkProps[\"target\"]"
246
+ },
247
+ {
248
+ "name": "icon",
249
+ "description": "菜单项的图标",
250
+ "attribute": false,
251
+ "type": "GeneralIconProps"
252
+ },
253
+ {
254
+ "name": "selected",
255
+ "description": "是否选中",
256
+ "type": "boolean"
257
+ },
258
+ {
259
+ "name": "inSubmenu",
260
+ "description": "是否在二级菜单中",
261
+ "type": "boolean"
262
+ },
263
+ {
264
+ "name": "menuCollapsed",
265
+ "description": "菜单整体是否收起状态",
266
+ "type": "boolean"
267
+ }
268
+ ],
269
+ "events": [],
270
+ "slots": [],
271
+ "methods": [],
272
+ "parts": [],
273
+ "description": "侧栏菜单项",
274
+ "category": "navigation"
243
275
  },
244
276
  {
245
277
  "name": "eo-sidebar-menu-group",
@@ -315,52 +347,20 @@
315
347
  "category": "navigation"
316
348
  },
317
349
  {
318
- "name": "eo-sidebar-menu-item",
350
+ "name": "eo-launchpad-recent-visits",
319
351
  "properties": [
320
- {
321
- "name": "url",
322
- "description": "菜单项对应的系统内地址",
323
- "attribute": false,
324
- "type": "LinkProps[\"url\"]"
325
- },
326
- {
327
- "name": "href",
328
- "description": "菜单项对应的外部链接地址",
329
- "type": "LinkProps[\"href\"]"
330
- },
331
352
  {
332
353
  "name": "target",
333
- "description": "菜单项链接打开的目标",
334
- "type": "LinkProps[\"target\"]"
335
- },
336
- {
337
- "name": "icon",
338
- "description": "菜单项的图标",
339
354
  "attribute": false,
340
- "type": "GeneralIconProps"
341
- },
342
- {
343
- "name": "selected",
344
- "description": "是否选中",
345
- "type": "boolean"
346
- },
347
- {
348
- "name": "inSubmenu",
349
- "description": "是否在二级菜单中",
350
- "type": "boolean"
351
- },
352
- {
353
- "name": "menuCollapsed",
354
- "description": "菜单整体是否收起状态",
355
- "type": "boolean"
355
+ "type": "Target"
356
356
  }
357
357
  ],
358
358
  "events": [],
359
359
  "slots": [],
360
360
  "methods": [],
361
361
  "parts": [],
362
- "description": "侧栏菜单项",
363
- "category": "navigation"
362
+ "description": "launchpad 最近访问",
363
+ "insider": true
364
364
  },
365
365
  {
366
366
  "name": "eo-sidebar-menu",
@@ -509,6 +509,44 @@
509
509
  "parts": [],
510
510
  "description": "目录"
511
511
  },
512
+ {
513
+ "name": "eo-directory-tree-leaf",
514
+ "properties": [
515
+ {
516
+ "name": "depth",
517
+ "description": "深度",
518
+ "default": "0",
519
+ "type": "number"
520
+ },
521
+ {
522
+ "name": "selected",
523
+ "description": "是否选中",
524
+ "type": "boolean"
525
+ },
526
+ {
527
+ "name": "icon",
528
+ "attribute": false,
529
+ "type": "GeneralIconProps"
530
+ },
531
+ {
532
+ "name": "faded",
533
+ "type": "boolean"
534
+ }
535
+ ],
536
+ "events": [
537
+ {
538
+ "name": "select",
539
+ "description": "选择事件",
540
+ "detail": {
541
+ "type": "void"
542
+ }
543
+ }
544
+ ],
545
+ "slots": [],
546
+ "methods": [],
547
+ "parts": [],
548
+ "description": "目录树叶子节点"
549
+ },
512
550
  {
513
551
  "name": "eo-directory-tree",
514
552
  "properties": [
@@ -606,53 +644,6 @@
606
644
  "parts": [],
607
645
  "description": "目录树"
608
646
  },
609
- {
610
- "name": "eo-directory-tree-leaf",
611
- "properties": [
612
- {
613
- "name": "depth",
614
- "description": "深度",
615
- "default": "0",
616
- "type": "number"
617
- },
618
- {
619
- "name": "selected",
620
- "description": "是否选中",
621
- "type": "boolean"
622
- },
623
- {
624
- "name": "icon",
625
- "attribute": false,
626
- "type": "GeneralIconProps"
627
- },
628
- {
629
- "name": "faded",
630
- "type": "boolean"
631
- }
632
- ],
633
- "events": [
634
- {
635
- "name": "select",
636
- "description": "选择事件",
637
- "detail": {
638
- "type": "void"
639
- }
640
- }
641
- ],
642
- "slots": [],
643
- "methods": [],
644
- "parts": [],
645
- "description": "目录树叶子节点"
646
- },
647
- {
648
- "name": "nav.nav-logo",
649
- "properties": [],
650
- "events": [],
651
- "slots": [],
652
- "methods": [],
653
- "parts": [],
654
- "description": "导航栏图标"
655
- },
656
647
  {
657
648
  "name": "eo-directory-tree-internal-node",
658
649
  "properties": [
@@ -710,13 +701,13 @@
710
701
  "description": "目录树节点节点"
711
702
  },
712
703
  {
713
- "name": "nav.query-search",
704
+ "name": "nav.nav-logo",
714
705
  "properties": [],
715
706
  "events": [],
716
707
  "slots": [],
717
708
  "methods": [],
718
709
  "parts": [],
719
- "description": "构件 `nav.query-search`"
710
+ "description": "导航栏图标"
720
711
  },
721
712
  {
722
713
  "name": "nav.poll-announce",
@@ -753,6 +744,15 @@
753
744
  "methods": [],
754
745
  "parts": [],
755
746
  "description": "轮询获取通知消息并展示。\n\n 从 v2 构件 `nav-legacy.poll-announce` 迁移而来"
747
+ },
748
+ {
749
+ "name": "nav.query-search",
750
+ "properties": [],
751
+ "events": [],
752
+ "slots": [],
753
+ "methods": [],
754
+ "parts": [],
755
+ "description": "构件 `nav.query-search`"
756
756
  }
757
757
  ],
758
758
  "providers": [