@next-bricks/nav 1.24.5 → 1.24.6
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 +31 -31
- package/dist/chunks/{4433.37b5f4d3.js → 4433.992e1929.js} +2 -2
- package/dist/chunks/4433.992e1929.js.map +1 -0
- package/dist/chunks/{main.0d281534.js → main.f38a6f4f.js} +2 -2
- package/dist/chunks/{main.0d281534.js.map → main.f38a6f4f.js.map} +1 -1
- package/dist/chunks/query-search.409b5c32.js +3 -0
- package/dist/chunks/query-search.409b5c32.js.map +1 -0
- package/dist/examples.json +6 -6
- package/dist/{index.8e935045.js → index.0b8fa17f.js} +2 -2
- package/dist/{index.8e935045.js.map → index.0b8fa17f.js.map} +1 -1
- package/dist/manifest.json +146 -146
- package/dist/types.json +38 -38
- package/dist-types/query-search/i18n.d.ts +10 -0
- package/package.json +2 -2
- package/dist/chunks/4433.37b5f4d3.js.map +0 -1
- package/dist/chunks/query-search.aab4b569.js +0 -3
- package/dist/chunks/query-search.aab4b569.js.map +0 -1
- /package/dist/chunks/{query-search.aab4b569.js.LICENSE.txt → query-search.409b5c32.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -30,6 +30,36 @@
|
|
|
30
30
|
"description": "菜单构件",
|
|
31
31
|
"category": "navigation"
|
|
32
32
|
},
|
|
33
|
+
{
|
|
34
|
+
"name": "nav.easyops-navbar-alerts",
|
|
35
|
+
"properties": [],
|
|
36
|
+
"events": [],
|
|
37
|
+
"slots": [],
|
|
38
|
+
"methods": [],
|
|
39
|
+
"parts": [],
|
|
40
|
+
"description": "构件 `nav.easyops-navbar-alerts`",
|
|
41
|
+
"insider": true
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "eo-launchpad-button-v2",
|
|
45
|
+
"properties": [],
|
|
46
|
+
"events": [],
|
|
47
|
+
"slots": [],
|
|
48
|
+
"methods": [],
|
|
49
|
+
"parts": [],
|
|
50
|
+
"description": "构件 `eo-launchpad-button-v2`",
|
|
51
|
+
"insider": true
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "eo-launchpad-button",
|
|
55
|
+
"properties": [],
|
|
56
|
+
"events": [],
|
|
57
|
+
"slots": [],
|
|
58
|
+
"methods": [],
|
|
59
|
+
"parts": [],
|
|
60
|
+
"description": "Launchpad 按钮构件",
|
|
61
|
+
"insider": true
|
|
62
|
+
},
|
|
33
63
|
{
|
|
34
64
|
"name": "nav.launchpad-config",
|
|
35
65
|
"properties": [
|
|
@@ -86,16 +116,6 @@
|
|
|
86
116
|
"description": "进行 Launchpad 配置。\n\n也可用于菜单自定义显示产品功能清单。",
|
|
87
117
|
"insider": true
|
|
88
118
|
},
|
|
89
|
-
{
|
|
90
|
-
"name": "nav.easyops-navbar-alerts",
|
|
91
|
-
"properties": [],
|
|
92
|
-
"events": [],
|
|
93
|
-
"slots": [],
|
|
94
|
-
"methods": [],
|
|
95
|
-
"parts": [],
|
|
96
|
-
"description": "构件 `nav.easyops-navbar-alerts`",
|
|
97
|
-
"insider": true
|
|
98
|
-
},
|
|
99
119
|
{
|
|
100
120
|
"name": "eo-launchpad-quick-access",
|
|
101
121
|
"properties": [
|
|
@@ -115,42 +135,6 @@
|
|
|
115
135
|
"description": "快捷访问",
|
|
116
136
|
"insider": true
|
|
117
137
|
},
|
|
118
|
-
{
|
|
119
|
-
"name": "eo-launchpad-recent-visits",
|
|
120
|
-
"properties": [
|
|
121
|
-
{
|
|
122
|
-
"name": "target",
|
|
123
|
-
"attribute": false,
|
|
124
|
-
"type": "Target"
|
|
125
|
-
}
|
|
126
|
-
],
|
|
127
|
-
"events": [],
|
|
128
|
-
"slots": [],
|
|
129
|
-
"methods": [],
|
|
130
|
-
"parts": [],
|
|
131
|
-
"description": "launchpad 最近访问",
|
|
132
|
-
"insider": true
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
"name": "eo-launchpad-button-v2",
|
|
136
|
-
"properties": [],
|
|
137
|
-
"events": [],
|
|
138
|
-
"slots": [],
|
|
139
|
-
"methods": [],
|
|
140
|
-
"parts": [],
|
|
141
|
-
"description": "构件 `eo-launchpad-button-v2`",
|
|
142
|
-
"insider": true
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"name": "eo-launchpad-button",
|
|
146
|
-
"properties": [],
|
|
147
|
-
"events": [],
|
|
148
|
-
"slots": [],
|
|
149
|
-
"methods": [],
|
|
150
|
-
"parts": [],
|
|
151
|
-
"description": "Launchpad 按钮构件",
|
|
152
|
-
"insider": true
|
|
153
|
-
},
|
|
154
138
|
{
|
|
155
139
|
"name": "eo-app-bar-wrapper",
|
|
156
140
|
"alias": [
|
|
@@ -214,6 +198,22 @@
|
|
|
214
198
|
"description": "launchpad 搜索",
|
|
215
199
|
"insider": true
|
|
216
200
|
},
|
|
201
|
+
{
|
|
202
|
+
"name": "eo-launchpad-recent-visits",
|
|
203
|
+
"properties": [
|
|
204
|
+
{
|
|
205
|
+
"name": "target",
|
|
206
|
+
"attribute": false,
|
|
207
|
+
"type": "Target"
|
|
208
|
+
}
|
|
209
|
+
],
|
|
210
|
+
"events": [],
|
|
211
|
+
"slots": [],
|
|
212
|
+
"methods": [],
|
|
213
|
+
"parts": [],
|
|
214
|
+
"description": "launchpad 最近访问",
|
|
215
|
+
"insider": true
|
|
216
|
+
},
|
|
217
217
|
{
|
|
218
218
|
"name": "eo-frame-breadcrumb",
|
|
219
219
|
"properties": [
|
|
@@ -241,6 +241,42 @@
|
|
|
241
241
|
"parts": [],
|
|
242
242
|
"description": "面包屑"
|
|
243
243
|
},
|
|
244
|
+
{
|
|
245
|
+
"name": "eo-sidebar-menu-group",
|
|
246
|
+
"properties": [
|
|
247
|
+
{
|
|
248
|
+
"name": "collapsable",
|
|
249
|
+
"description": "是否允许折叠",
|
|
250
|
+
"type": "boolean"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"name": "collapsed",
|
|
254
|
+
"description": "是否折叠",
|
|
255
|
+
"type": "boolean"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"name": "selected",
|
|
259
|
+
"description": "是否选中",
|
|
260
|
+
"type": "boolean"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"name": "menuCollapsed",
|
|
264
|
+
"description": "菜单整体是否收起状态",
|
|
265
|
+
"type": "boolean"
|
|
266
|
+
}
|
|
267
|
+
],
|
|
268
|
+
"events": [],
|
|
269
|
+
"slots": [
|
|
270
|
+
{
|
|
271
|
+
"name": "title",
|
|
272
|
+
"description": "分组标题"
|
|
273
|
+
}
|
|
274
|
+
],
|
|
275
|
+
"methods": [],
|
|
276
|
+
"parts": [],
|
|
277
|
+
"description": "侧栏菜单分组",
|
|
278
|
+
"category": "navigation"
|
|
279
|
+
},
|
|
244
280
|
{
|
|
245
281
|
"name": "eo-sidebar-menu-item",
|
|
246
282
|
"properties": [
|
|
@@ -289,42 +325,6 @@
|
|
|
289
325
|
"description": "侧栏菜单项",
|
|
290
326
|
"category": "navigation"
|
|
291
327
|
},
|
|
292
|
-
{
|
|
293
|
-
"name": "eo-sidebar-menu-group",
|
|
294
|
-
"properties": [
|
|
295
|
-
{
|
|
296
|
-
"name": "collapsable",
|
|
297
|
-
"description": "是否允许折叠",
|
|
298
|
-
"type": "boolean"
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
"name": "collapsed",
|
|
302
|
-
"description": "是否折叠",
|
|
303
|
-
"type": "boolean"
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
"name": "selected",
|
|
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
328
|
{
|
|
329
329
|
"name": "eo-sidebar-menu-submenu",
|
|
330
330
|
"properties": [
|
|
@@ -445,70 +445,6 @@
|
|
|
445
445
|
"description": "构件 `eo-sidebar-sub-menu`",
|
|
446
446
|
"category": "navigation"
|
|
447
447
|
},
|
|
448
|
-
{
|
|
449
|
-
"name": "eo-directory",
|
|
450
|
-
"properties": [
|
|
451
|
-
{
|
|
452
|
-
"name": "position",
|
|
453
|
-
"description": "设置定位方式:静态定位或固定定位。",
|
|
454
|
-
"default": "\"fixed\"",
|
|
455
|
-
"type": "\"static\" | \"fixed\""
|
|
456
|
-
},
|
|
457
|
-
{
|
|
458
|
-
"name": "directoryTitle",
|
|
459
|
-
"description": "目录标题",
|
|
460
|
-
"type": "string"
|
|
461
|
-
},
|
|
462
|
-
{
|
|
463
|
-
"name": "menuItems",
|
|
464
|
-
"description": "菜单数据",
|
|
465
|
-
"required": true,
|
|
466
|
-
"default": "[]",
|
|
467
|
-
"attribute": false,
|
|
468
|
-
"type": "MenuItem[]"
|
|
469
|
-
},
|
|
470
|
-
{
|
|
471
|
-
"name": "hideRightBorder",
|
|
472
|
-
"description": "是否隐藏右边线",
|
|
473
|
-
"default": "false",
|
|
474
|
-
"type": "boolean"
|
|
475
|
-
},
|
|
476
|
-
{
|
|
477
|
-
"name": "suffixBrick",
|
|
478
|
-
"description": "后缀 useBrick",
|
|
479
|
-
"attribute": false,
|
|
480
|
-
"type": "{ useBrick: UseBrickConf }"
|
|
481
|
-
},
|
|
482
|
-
{
|
|
483
|
-
"name": "defaultSelectedKeys",
|
|
484
|
-
"description": "默认选中高亮的菜单项",
|
|
485
|
-
"attribute": false,
|
|
486
|
-
"type": "string[]"
|
|
487
|
-
}
|
|
488
|
-
],
|
|
489
|
-
"events": [
|
|
490
|
-
{
|
|
491
|
-
"name": "menu.item.click",
|
|
492
|
-
"description": "菜单点击,groupKey 表示对应分组的key,data 表示对应菜单项",
|
|
493
|
-
"detail": {
|
|
494
|
-
"description": "{ groupKey: string, data: MenuChildrenItem }",
|
|
495
|
-
"type": "MenuItemClickEventDetail"
|
|
496
|
-
}
|
|
497
|
-
},
|
|
498
|
-
{
|
|
499
|
-
"name": "suffix.icon.click",
|
|
500
|
-
"description": "点击icon,detail为 对应菜单项或者是分组的key",
|
|
501
|
-
"detail": {
|
|
502
|
-
"description": "{ key: string }",
|
|
503
|
-
"type": "{ key: string }"
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
],
|
|
507
|
-
"slots": [],
|
|
508
|
-
"methods": [],
|
|
509
|
-
"parts": [],
|
|
510
|
-
"description": "目录"
|
|
511
|
-
},
|
|
512
448
|
{
|
|
513
449
|
"name": "eo-directory-tree",
|
|
514
450
|
"properties": [
|
|
@@ -745,6 +681,70 @@
|
|
|
745
681
|
"parts": [],
|
|
746
682
|
"description": "轮询获取通知消息并展示。\n\n 从 v2 构件 `nav-legacy.poll-announce` 迁移而来"
|
|
747
683
|
},
|
|
684
|
+
{
|
|
685
|
+
"name": "eo-directory",
|
|
686
|
+
"properties": [
|
|
687
|
+
{
|
|
688
|
+
"name": "position",
|
|
689
|
+
"description": "设置定位方式:静态定位或固定定位。",
|
|
690
|
+
"default": "\"fixed\"",
|
|
691
|
+
"type": "\"static\" | \"fixed\""
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
"name": "directoryTitle",
|
|
695
|
+
"description": "目录标题",
|
|
696
|
+
"type": "string"
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
"name": "menuItems",
|
|
700
|
+
"description": "菜单数据",
|
|
701
|
+
"required": true,
|
|
702
|
+
"default": "[]",
|
|
703
|
+
"attribute": false,
|
|
704
|
+
"type": "MenuItem[]"
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"name": "hideRightBorder",
|
|
708
|
+
"description": "是否隐藏右边线",
|
|
709
|
+
"default": "false",
|
|
710
|
+
"type": "boolean"
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
"name": "suffixBrick",
|
|
714
|
+
"description": "后缀 useBrick",
|
|
715
|
+
"attribute": false,
|
|
716
|
+
"type": "{ useBrick: UseBrickConf }"
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
"name": "defaultSelectedKeys",
|
|
720
|
+
"description": "默认选中高亮的菜单项",
|
|
721
|
+
"attribute": false,
|
|
722
|
+
"type": "string[]"
|
|
723
|
+
}
|
|
724
|
+
],
|
|
725
|
+
"events": [
|
|
726
|
+
{
|
|
727
|
+
"name": "menu.item.click",
|
|
728
|
+
"description": "菜单点击,groupKey 表示对应分组的key,data 表示对应菜单项",
|
|
729
|
+
"detail": {
|
|
730
|
+
"description": "{ groupKey: string, data: MenuChildrenItem }",
|
|
731
|
+
"type": "MenuItemClickEventDetail"
|
|
732
|
+
}
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
"name": "suffix.icon.click",
|
|
736
|
+
"description": "点击icon,detail为 对应菜单项或者是分组的key",
|
|
737
|
+
"detail": {
|
|
738
|
+
"description": "{ key: string }",
|
|
739
|
+
"type": "{ key: string }"
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
],
|
|
743
|
+
"slots": [],
|
|
744
|
+
"methods": [],
|
|
745
|
+
"parts": [],
|
|
746
|
+
"description": "目录"
|
|
747
|
+
},
|
|
748
748
|
{
|
|
749
749
|
"name": "nav.query-search",
|
|
750
750
|
"properties": [],
|
package/dist/types.json
CHANGED
|
@@ -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,8 +564,16 @@
|
|
|
559
564
|
}
|
|
560
565
|
]
|
|
561
566
|
},
|
|
562
|
-
"
|
|
563
|
-
"properties": [
|
|
567
|
+
"eo-search-launchpad": {
|
|
568
|
+
"properties": [
|
|
569
|
+
{
|
|
570
|
+
"name": "readonly",
|
|
571
|
+
"annotation": {
|
|
572
|
+
"type": "keyword",
|
|
573
|
+
"value": "boolean"
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
],
|
|
564
577
|
"events": [],
|
|
565
578
|
"methods": []
|
|
566
579
|
},
|
|
@@ -580,19 +593,6 @@
|
|
|
580
593
|
"events": [],
|
|
581
594
|
"methods": []
|
|
582
595
|
},
|
|
583
|
-
"eo-search-launchpad": {
|
|
584
|
-
"properties": [
|
|
585
|
-
{
|
|
586
|
-
"name": "readonly",
|
|
587
|
-
"annotation": {
|
|
588
|
-
"type": "keyword",
|
|
589
|
-
"value": "boolean"
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
],
|
|
593
|
-
"events": [],
|
|
594
|
-
"methods": []
|
|
595
|
-
},
|
|
596
596
|
"eo-sidebar-menu-submenu": {
|
|
597
597
|
"properties": [
|
|
598
598
|
{
|
|
@@ -1864,6 +1864,29 @@
|
|
|
1864
1864
|
"events": [],
|
|
1865
1865
|
"methods": []
|
|
1866
1866
|
},
|
|
1867
|
+
"eo-launchpad-quick-access": {
|
|
1868
|
+
"properties": [
|
|
1869
|
+
{
|
|
1870
|
+
"name": "readonly",
|
|
1871
|
+
"annotation": {
|
|
1872
|
+
"type": "keyword",
|
|
1873
|
+
"value": "boolean"
|
|
1874
|
+
}
|
|
1875
|
+
},
|
|
1876
|
+
{
|
|
1877
|
+
"name": "target",
|
|
1878
|
+
"annotation": {
|
|
1879
|
+
"type": "reference",
|
|
1880
|
+
"typeName": {
|
|
1881
|
+
"type": "identifier",
|
|
1882
|
+
"name": "Target"
|
|
1883
|
+
}
|
|
1884
|
+
}
|
|
1885
|
+
}
|
|
1886
|
+
],
|
|
1887
|
+
"events": [],
|
|
1888
|
+
"methods": []
|
|
1889
|
+
},
|
|
1867
1890
|
"eo-directory-tree": {
|
|
1868
1891
|
"properties": [
|
|
1869
1892
|
{
|
|
@@ -2956,29 +2979,6 @@
|
|
|
2956
2979
|
"events": [],
|
|
2957
2980
|
"methods": []
|
|
2958
2981
|
},
|
|
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": [],
|
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
export declare enum K {
|
|
2
|
+
FULL_TEXT_SEARCH = "FULL_TEXT_SEARCH",
|
|
3
|
+
IP_SEARCH = "IP_SEARCH",
|
|
4
|
+
TICKET_SEARCH = "TICKET_SEARCH",
|
|
5
|
+
TICKET_SEARCH_PLACEHOLDER = "TICKET_SEARCH_PLACEHOLDER",
|
|
6
|
+
IP_SEARCH_PLACEHOLDER = "IP_SEARCH_PLACEHOLDER",
|
|
7
|
+
FULL_TEXT_SEARCH_PLACEHOLDER = "FULL_TEXT_SEARCH_PLACEHOLDER",
|
|
8
|
+
IP_SEARCH_TOOLTIP = "IP_SEARCH_TOOLTIP",
|
|
9
|
+
RECENT_SEARCH = "RECENT_SEARCH",
|
|
10
|
+
NO_SEARCH_HISTORY = "NO_SEARCH_HISTORY",
|
|
11
|
+
QUICK_SEARCH_TIP = "QUICK_SEARCH_TIP"
|
|
2
12
|
}
|
|
3
13
|
export declare const NS = "bricks/nav/query-search";
|
|
4
14
|
export declare const locales: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/nav",
|
|
3
|
-
"version": "1.24.
|
|
3
|
+
"version": "1.24.6",
|
|
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": "2d89bc4c11767dfd3f9f61dc376130125a2124be"
|
|
47
47
|
}
|