@next-bricks/nav 1.26.5 → 1.26.7

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.
@@ -335,22 +335,6 @@
335
335
  "description": "侧栏菜单分组",
336
336
  "category": "navigation"
337
337
  },
338
- {
339
- "name": "eo-sidebar-menu",
340
- "properties": [
341
- {
342
- "name": "menuCollapsed",
343
- "description": "菜单整体是否收起状态",
344
- "type": "boolean"
345
- }
346
- ],
347
- "events": [],
348
- "slots": [],
349
- "methods": [],
350
- "parts": [],
351
- "description": "侧栏菜单",
352
- "category": "navigation"
353
- },
354
338
  {
355
339
  "name": "eo-sidebar-menu-submenu",
356
340
  "properties": [
@@ -388,6 +372,22 @@
388
372
  "description": "侧栏菜单子菜单",
389
373
  "category": "navigation"
390
374
  },
375
+ {
376
+ "name": "eo-sidebar-menu",
377
+ "properties": [
378
+ {
379
+ "name": "menuCollapsed",
380
+ "description": "菜单整体是否收起状态",
381
+ "type": "boolean"
382
+ }
383
+ ],
384
+ "events": [],
385
+ "slots": [],
386
+ "methods": [],
387
+ "parts": [],
388
+ "description": "侧栏菜单",
389
+ "category": "navigation"
390
+ },
391
391
  {
392
392
  "name": "eo-sidebar",
393
393
  "properties": [
@@ -455,6 +455,70 @@
455
455
  "description": "侧边栏子菜单,支持简单菜单项、分组和子菜单的嵌套渲染",
456
456
  "category": "navigation"
457
457
  },
458
+ {
459
+ "name": "eo-directory",
460
+ "properties": [
461
+ {
462
+ "name": "position",
463
+ "description": "设置定位方式:静态定位或固定定位。",
464
+ "default": "\"fixed\"",
465
+ "type": "\"static\" | \"fixed\""
466
+ },
467
+ {
468
+ "name": "directoryTitle",
469
+ "description": "目录标题",
470
+ "type": "string"
471
+ },
472
+ {
473
+ "name": "menuItems",
474
+ "description": "菜单数据",
475
+ "required": true,
476
+ "default": "[]",
477
+ "attribute": false,
478
+ "type": "MenuItem[]"
479
+ },
480
+ {
481
+ "name": "hideRightBorder",
482
+ "description": "是否隐藏右边线",
483
+ "default": "false",
484
+ "type": "boolean"
485
+ },
486
+ {
487
+ "name": "suffixBrick",
488
+ "description": "后缀 useBrick",
489
+ "attribute": false,
490
+ "type": "{ useBrick: UseBrickConfOrRenderFunction }"
491
+ },
492
+ {
493
+ "name": "defaultSelectedKeys",
494
+ "description": "默认选中高亮的菜单项",
495
+ "attribute": false,
496
+ "type": "string[]"
497
+ }
498
+ ],
499
+ "events": [
500
+ {
501
+ "name": "menu.item.click",
502
+ "description": "",
503
+ "detail": {
504
+ "description": "{ groupKey: 对应分组的 key(仅分组子项有值), data: 被点击的菜单项 }",
505
+ "type": "MenuItemClickEventDetail"
506
+ }
507
+ },
508
+ {
509
+ "name": "suffix.icon.click",
510
+ "description": "",
511
+ "detail": {
512
+ "description": "{ key: 对应菜单项或分组的 key }",
513
+ "type": "{ key: string }"
514
+ }
515
+ }
516
+ ],
517
+ "slots": [],
518
+ "methods": [],
519
+ "parts": [],
520
+ "description": "目录"
521
+ },
458
522
  {
459
523
  "name": "eo-directory-tree",
460
524
  "properties": [
@@ -552,70 +616,6 @@
552
616
  "parts": [],
553
617
  "description": "目录树"
554
618
  },
555
- {
556
- "name": "eo-directory",
557
- "properties": [
558
- {
559
- "name": "position",
560
- "description": "设置定位方式:静态定位或固定定位。",
561
- "default": "\"fixed\"",
562
- "type": "\"static\" | \"fixed\""
563
- },
564
- {
565
- "name": "directoryTitle",
566
- "description": "目录标题",
567
- "type": "string"
568
- },
569
- {
570
- "name": "menuItems",
571
- "description": "菜单数据",
572
- "required": true,
573
- "default": "[]",
574
- "attribute": false,
575
- "type": "MenuItem[]"
576
- },
577
- {
578
- "name": "hideRightBorder",
579
- "description": "是否隐藏右边线",
580
- "default": "false",
581
- "type": "boolean"
582
- },
583
- {
584
- "name": "suffixBrick",
585
- "description": "后缀 useBrick",
586
- "attribute": false,
587
- "type": "{ useBrick: UseBrickConfOrRenderFunction }"
588
- },
589
- {
590
- "name": "defaultSelectedKeys",
591
- "description": "默认选中高亮的菜单项",
592
- "attribute": false,
593
- "type": "string[]"
594
- }
595
- ],
596
- "events": [
597
- {
598
- "name": "menu.item.click",
599
- "description": "",
600
- "detail": {
601
- "description": "{ groupKey: 对应分组的 key(仅分组子项有值), data: 被点击的菜单项 }",
602
- "type": "MenuItemClickEventDetail"
603
- }
604
- },
605
- {
606
- "name": "suffix.icon.click",
607
- "description": "",
608
- "detail": {
609
- "description": "{ key: 对应菜单项或分组的 key }",
610
- "type": "{ key: string }"
611
- }
612
- }
613
- ],
614
- "slots": [],
615
- "methods": [],
616
- "parts": [],
617
- "description": "目录"
618
- },
619
619
  {
620
620
  "name": "eo-directory-tree-leaf",
621
621
  "properties": [
package/dist/types.json CHANGED
@@ -580,19 +580,6 @@
580
580
  "events": [],
581
581
  "methods": []
582
582
  },
583
- "eo-sidebar-menu": {
584
- "properties": [
585
- {
586
- "name": "menuCollapsed",
587
- "annotation": {
588
- "type": "keyword",
589
- "value": "boolean"
590
- }
591
- }
592
- ],
593
- "events": [],
594
- "methods": []
595
- },
596
583
  "eo-sidebar-menu-submenu": {
597
584
  "properties": [
598
585
  {
@@ -630,6 +617,19 @@
630
617
  "events": [],
631
618
  "methods": []
632
619
  },
620
+ "eo-sidebar-menu": {
621
+ "properties": [
622
+ {
623
+ "name": "menuCollapsed",
624
+ "annotation": {
625
+ "type": "keyword",
626
+ "value": "boolean"
627
+ }
628
+ }
629
+ ],
630
+ "events": [],
631
+ "methods": []
632
+ },
633
633
  "eo-directory-tree-internal-node": {
634
634
  "properties": [
635
635
  {
@@ -1178,19 +1178,6 @@
1178
1178
  }
1179
1179
  ]
1180
1180
  },
1181
- "eo-search-launchpad": {
1182
- "properties": [
1183
- {
1184
- "name": "readonly",
1185
- "annotation": {
1186
- "type": "keyword",
1187
- "value": "boolean"
1188
- }
1189
- }
1190
- ],
1191
- "events": [],
1192
- "methods": []
1193
- },
1194
1181
  "eo-sidebar-menu-group": {
1195
1182
  "properties": [
1196
1183
  {
@@ -1337,6 +1324,19 @@
1337
1324
  }
1338
1325
  ]
1339
1326
  },
1327
+ "eo-search-launchpad": {
1328
+ "properties": [
1329
+ {
1330
+ "name": "readonly",
1331
+ "annotation": {
1332
+ "type": "keyword",
1333
+ "value": "boolean"
1334
+ }
1335
+ }
1336
+ ],
1337
+ "events": [],
1338
+ "methods": []
1339
+ },
1340
1340
  "eo-directory-tree-leaf": {
1341
1341
  "properties": [
1342
1342
  {
@@ -1470,6 +1470,11 @@
1470
1470
  }
1471
1471
  ]
1472
1472
  },
1473
+ "nav.query-search": {
1474
+ "properties": [],
1475
+ "events": [],
1476
+ "methods": []
1477
+ },
1473
1478
  "nav.get-menu-config-options": {
1474
1479
  "type": "provider",
1475
1480
  "params": [
@@ -1859,11 +1864,6 @@
1859
1864
  }
1860
1865
  ]
1861
1866
  },
1862
- "nav.query-search": {
1863
- "properties": [],
1864
- "events": [],
1865
- "methods": []
1866
- },
1867
1867
  "eo-launchpad-quick-access": {
1868
1868
  "properties": [
1869
1869
  {
@@ -6,9 +6,10 @@ export declare const WrappedSearch: import("@next-core/react-element").WrappedBr
6
6
  /**
7
7
  * 综合搜索入口,支持全文检索、IP 搜索、工单搜索等多种查询模式,带搜索历史记录功能
8
8
  */
9
- export declare class QuerySearch extends ReactNextElement {
9
+ export declare class QuerySearch extends ReactNextElement implements QuerySearchProps {
10
10
  render(): React.JSX.Element;
11
11
  }
12
+ export type QuerySearchProps = Omit<QuerySearchComponentProps, "shadowRoot">;
12
13
  export interface QuerySearchComponentProps {
13
14
  shadowRoot: ShadowRoot | null;
14
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/nav",
3
- "version": "1.26.5",
3
+ "version": "1.26.7",
4
4
  "homepage": "https://github.com/easyops-cn/next-advanced-bricks/tree/master/bricks/nav",
5
5
  "repository": {
6
6
  "type": "git",
@@ -45,5 +45,5 @@
45
45
  "@next-bricks/form": "*",
46
46
  "@next-bricks/icons": "*"
47
47
  },
48
- "gitHead": "bfc02e6cd7028ac3f92808235d9f3fcc0dfde393"
48
+ "gitHead": "4d5f6d734cdfb04fc51bed23c1c9315a8229595a"
49
49
  }