@next-bricks/nav 1.15.0 → 1.16.0
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 +32 -25
- package/dist/chunks/884.18f6ab5d.js +2 -0
- package/dist/chunks/884.18f6ab5d.js.map +1 -0
- package/dist/chunks/eo-directory-tree-internal-node.9b27dad7.js +2 -0
- package/dist/chunks/eo-directory-tree-internal-node.9b27dad7.js.map +1 -0
- package/dist/chunks/eo-directory-tree-leaf.bfd0aeb0.js +2 -0
- package/dist/chunks/eo-directory-tree-leaf.bfd0aeb0.js.map +1 -0
- package/dist/chunks/eo-directory-tree.4eb89def.js +3 -0
- package/dist/chunks/eo-directory-tree.4eb89def.js.LICENSE.txt +5 -0
- package/dist/chunks/eo-directory-tree.4eb89def.js.map +1 -0
- package/dist/chunks/{main.87f2149b.js → main.2cb469ea.js} +2 -2
- package/dist/chunks/{main.87f2149b.js.map → main.2cb469ea.js.map} +1 -1
- package/dist/examples.json +6 -6
- package/dist/index.ed279d5d.js +2 -0
- package/dist/{index.9bc7784b.js.map → index.ed279d5d.js.map} +1 -1
- package/dist/manifest.json +153 -130
- package/dist/types.json +183 -82
- package/dist-types/directory-tree/DirectoryTreeContext.d.ts +3 -5
- package/dist-types/directory-tree/directory-tree-internal-node/index.d.ts +6 -1
- package/dist-types/directory-tree/directory-tree-leaf/index.d.ts +6 -1
- package/dist-types/directory-tree/index.d.ts +16 -3
- package/package.json +2 -2
- package/dist/chunks/884.f050ce1d.js +0 -2
- package/dist/chunks/884.f050ce1d.js.map +0 -1
- package/dist/chunks/eo-directory-tree-internal-node.eb2044aa.js +0 -2
- package/dist/chunks/eo-directory-tree-internal-node.eb2044aa.js.map +0 -1
- package/dist/chunks/eo-directory-tree-leaf.8fc6c903.js +0 -2
- package/dist/chunks/eo-directory-tree-leaf.8fc6c903.js.map +0 -1
- package/dist/chunks/eo-directory-tree.875e9246.js +0 -2
- package/dist/chunks/eo-directory-tree.875e9246.js.map +0 -1
- package/dist/index.9bc7784b.js +0 -2
package/dist/manifest.json
CHANGED
|
@@ -31,13 +31,52 @@
|
|
|
31
31
|
"category": "navigation"
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
|
-
"name": "eo-launchpad-button
|
|
34
|
+
"name": "eo-launchpad-button",
|
|
35
35
|
"properties": [],
|
|
36
36
|
"events": [],
|
|
37
37
|
"slots": [],
|
|
38
38
|
"methods": [],
|
|
39
39
|
"parts": [],
|
|
40
|
-
"description": "
|
|
40
|
+
"description": "Launchpad 按钮构件",
|
|
41
|
+
"insider": true
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "nav.launchpad-config",
|
|
45
|
+
"properties": [
|
|
46
|
+
{
|
|
47
|
+
"name": "menuGroups",
|
|
48
|
+
"attribute": false,
|
|
49
|
+
"type": "ConfigMenuGroup[]"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "actions",
|
|
53
|
+
"attribute": false,
|
|
54
|
+
"type": "MenuAction[]"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "variant",
|
|
58
|
+
"description": "",
|
|
59
|
+
"default": "\"launchpad-config\"",
|
|
60
|
+
"type": "\"launchpad-config\" | \"menu-config\""
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "urlTemplate",
|
|
64
|
+
"description": "菜单项链接模板,例如可配置为 `/app/{{ id }}`。\n\n注:仅用于 variant: \"menu-config\"。",
|
|
65
|
+
"type": "string"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"events": [
|
|
69
|
+
{
|
|
70
|
+
"name": "action.click",
|
|
71
|
+
"detail": {
|
|
72
|
+
"type": "MenuActionEventDetail"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
],
|
|
76
|
+
"slots": [],
|
|
77
|
+
"methods": [],
|
|
78
|
+
"parts": [],
|
|
79
|
+
"description": "进行 Launchpad 配置。\n\n也可用于菜单自定义显示产品功能清单。",
|
|
41
80
|
"insider": true
|
|
42
81
|
},
|
|
43
82
|
{
|
|
@@ -51,13 +90,13 @@
|
|
|
51
90
|
"insider": true
|
|
52
91
|
},
|
|
53
92
|
{
|
|
54
|
-
"name": "eo-launchpad-button",
|
|
93
|
+
"name": "eo-launchpad-button-v2",
|
|
55
94
|
"properties": [],
|
|
56
95
|
"events": [],
|
|
57
96
|
"slots": [],
|
|
58
97
|
"methods": [],
|
|
59
98
|
"parts": [],
|
|
60
|
-
"description": "
|
|
99
|
+
"description": "构件 `eo-launchpad-button-v2`",
|
|
61
100
|
"insider": true
|
|
62
101
|
},
|
|
63
102
|
{
|
|
@@ -81,42 +120,19 @@
|
|
|
81
120
|
"insider": true
|
|
82
121
|
},
|
|
83
122
|
{
|
|
84
|
-
"name": "
|
|
123
|
+
"name": "eo-search-launchpad",
|
|
85
124
|
"properties": [
|
|
86
125
|
{
|
|
87
|
-
"name": "
|
|
88
|
-
"
|
|
89
|
-
"type": "
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"name": "actions",
|
|
93
|
-
"attribute": false,
|
|
94
|
-
"type": "MenuAction[]"
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"name": "variant",
|
|
98
|
-
"description": "",
|
|
99
|
-
"default": "\"launchpad-config\"",
|
|
100
|
-
"type": "\"launchpad-config\" | \"menu-config\""
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"name": "urlTemplate",
|
|
104
|
-
"description": "菜单项链接模板,例如可配置为 `/app/{{ id }}`。\n\n注:仅用于 variant: \"menu-config\"。",
|
|
105
|
-
"type": "string"
|
|
106
|
-
}
|
|
107
|
-
],
|
|
108
|
-
"events": [
|
|
109
|
-
{
|
|
110
|
-
"name": "action.click",
|
|
111
|
-
"detail": {
|
|
112
|
-
"type": "MenuActionEventDetail"
|
|
113
|
-
}
|
|
126
|
+
"name": "readonly",
|
|
127
|
+
"description": "简约模式",
|
|
128
|
+
"type": "boolean"
|
|
114
129
|
}
|
|
115
130
|
],
|
|
131
|
+
"events": [],
|
|
116
132
|
"slots": [],
|
|
117
133
|
"methods": [],
|
|
118
134
|
"parts": [],
|
|
119
|
-
"description": "
|
|
135
|
+
"description": "launchpad 搜索",
|
|
120
136
|
"insider": true
|
|
121
137
|
},
|
|
122
138
|
{
|
|
@@ -136,20 +152,31 @@
|
|
|
136
152
|
"insider": true
|
|
137
153
|
},
|
|
138
154
|
{
|
|
139
|
-
"name": "eo-
|
|
155
|
+
"name": "eo-frame-breadcrumb",
|
|
140
156
|
"properties": [
|
|
141
157
|
{
|
|
142
|
-
"name": "
|
|
143
|
-
"description": "
|
|
158
|
+
"name": "breadcrumb",
|
|
159
|
+
"description": "面包屑配置",
|
|
160
|
+
"attribute": false,
|
|
161
|
+
"type": "BreadcrumbItemConf[]"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "noCurrentApp",
|
|
165
|
+
"description": "是否隐藏当前应用名称",
|
|
144
166
|
"type": "boolean"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"name": "menu",
|
|
170
|
+
"description": "菜单配置",
|
|
171
|
+
"attribute": false,
|
|
172
|
+
"type": "Menu"
|
|
145
173
|
}
|
|
146
174
|
],
|
|
147
175
|
"events": [],
|
|
148
176
|
"slots": [],
|
|
149
177
|
"methods": [],
|
|
150
178
|
"parts": [],
|
|
151
|
-
"description": "
|
|
152
|
-
"insider": true
|
|
179
|
+
"description": "面包屑"
|
|
153
180
|
},
|
|
154
181
|
{
|
|
155
182
|
"name": "eo-app-bar-wrapper",
|
|
@@ -198,33 +225,6 @@
|
|
|
198
225
|
"parts": [],
|
|
199
226
|
"description": "应用顶部容器"
|
|
200
227
|
},
|
|
201
|
-
{
|
|
202
|
-
"name": "eo-frame-breadcrumb",
|
|
203
|
-
"properties": [
|
|
204
|
-
{
|
|
205
|
-
"name": "breadcrumb",
|
|
206
|
-
"description": "面包屑配置",
|
|
207
|
-
"attribute": false,
|
|
208
|
-
"type": "BreadcrumbItemConf[]"
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
"name": "noCurrentApp",
|
|
212
|
-
"description": "是否隐藏当前应用名称",
|
|
213
|
-
"type": "boolean"
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
"name": "menu",
|
|
217
|
-
"description": "菜单配置",
|
|
218
|
-
"attribute": false,
|
|
219
|
-
"type": "Menu"
|
|
220
|
-
}
|
|
221
|
-
],
|
|
222
|
-
"events": [],
|
|
223
|
-
"slots": [],
|
|
224
|
-
"methods": [],
|
|
225
|
-
"parts": [],
|
|
226
|
-
"description": "面包屑"
|
|
227
|
-
},
|
|
228
228
|
{
|
|
229
229
|
"name": "eo-sidebar-menu-item",
|
|
230
230
|
"properties": [
|
|
@@ -429,70 +429,6 @@
|
|
|
429
429
|
"description": "构件 `eo-sidebar-sub-menu`",
|
|
430
430
|
"category": "navigation"
|
|
431
431
|
},
|
|
432
|
-
{
|
|
433
|
-
"name": "eo-directory",
|
|
434
|
-
"properties": [
|
|
435
|
-
{
|
|
436
|
-
"name": "position",
|
|
437
|
-
"description": "设置定位方式:静态定位或固定定位。",
|
|
438
|
-
"default": "\"fixed\"",
|
|
439
|
-
"type": "\"static\" | \"fixed\""
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
"name": "directoryTitle",
|
|
443
|
-
"description": "目录标题",
|
|
444
|
-
"type": "string"
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
"name": "menuItems",
|
|
448
|
-
"description": "菜单数据",
|
|
449
|
-
"required": true,
|
|
450
|
-
"default": "[]",
|
|
451
|
-
"attribute": false,
|
|
452
|
-
"type": "MenuItem[]"
|
|
453
|
-
},
|
|
454
|
-
{
|
|
455
|
-
"name": "hideRightBorder",
|
|
456
|
-
"description": "是否隐藏右边线",
|
|
457
|
-
"default": "false",
|
|
458
|
-
"type": "boolean"
|
|
459
|
-
},
|
|
460
|
-
{
|
|
461
|
-
"name": "suffixBrick",
|
|
462
|
-
"description": "后缀 useBrick",
|
|
463
|
-
"attribute": false,
|
|
464
|
-
"type": "{ useBrick: UseBrickConf }"
|
|
465
|
-
},
|
|
466
|
-
{
|
|
467
|
-
"name": "defaultSelectedKeys",
|
|
468
|
-
"description": "默认选中高亮的菜单项",
|
|
469
|
-
"attribute": false,
|
|
470
|
-
"type": "string[]"
|
|
471
|
-
}
|
|
472
|
-
],
|
|
473
|
-
"events": [
|
|
474
|
-
{
|
|
475
|
-
"name": "menu.item.click",
|
|
476
|
-
"description": "菜单点击,groupKey 表示对应分组的key,data 表示对应菜单项",
|
|
477
|
-
"detail": {
|
|
478
|
-
"description": "{ groupKey: string, data: MenuChildrenItem }",
|
|
479
|
-
"type": "MenuItemClickEventDetail"
|
|
480
|
-
}
|
|
481
|
-
},
|
|
482
|
-
{
|
|
483
|
-
"name": "suffix.icon.click",
|
|
484
|
-
"description": "点击icon,detail为 对应菜单项或者是分组的key",
|
|
485
|
-
"detail": {
|
|
486
|
-
"description": "{ key: string }",
|
|
487
|
-
"type": "{ key: string }"
|
|
488
|
-
}
|
|
489
|
-
}
|
|
490
|
-
],
|
|
491
|
-
"slots": [],
|
|
492
|
-
"methods": [],
|
|
493
|
-
"parts": [],
|
|
494
|
-
"description": "目录"
|
|
495
|
-
},
|
|
496
432
|
{
|
|
497
433
|
"name": "eo-directory-tree",
|
|
498
434
|
"properties": [
|
|
@@ -508,6 +444,11 @@
|
|
|
508
444
|
"description": "目录标题",
|
|
509
445
|
"type": "string"
|
|
510
446
|
},
|
|
447
|
+
{
|
|
448
|
+
"name": "internalNodeSelectable",
|
|
449
|
+
"description": "设置中间节点是否可选,默认只有叶子节点可选",
|
|
450
|
+
"type": "boolean"
|
|
451
|
+
},
|
|
511
452
|
{
|
|
512
453
|
"name": "searchable",
|
|
513
454
|
"description": "可搜索",
|
|
@@ -528,7 +469,7 @@
|
|
|
528
469
|
"name": "suffixBrick",
|
|
529
470
|
"description": "后缀 useBrick",
|
|
530
471
|
"attribute": false,
|
|
531
|
-
"type": "
|
|
472
|
+
"type": "SuffixBrickConf"
|
|
532
473
|
},
|
|
533
474
|
{
|
|
534
475
|
"name": "selectedKeys",
|
|
@@ -585,6 +526,70 @@
|
|
|
585
526
|
"parts": [],
|
|
586
527
|
"description": "目录树"
|
|
587
528
|
},
|
|
529
|
+
{
|
|
530
|
+
"name": "eo-directory",
|
|
531
|
+
"properties": [
|
|
532
|
+
{
|
|
533
|
+
"name": "position",
|
|
534
|
+
"description": "设置定位方式:静态定位或固定定位。",
|
|
535
|
+
"default": "\"fixed\"",
|
|
536
|
+
"type": "\"static\" | \"fixed\""
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
"name": "directoryTitle",
|
|
540
|
+
"description": "目录标题",
|
|
541
|
+
"type": "string"
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"name": "menuItems",
|
|
545
|
+
"description": "菜单数据",
|
|
546
|
+
"required": true,
|
|
547
|
+
"default": "[]",
|
|
548
|
+
"attribute": false,
|
|
549
|
+
"type": "MenuItem[]"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"name": "hideRightBorder",
|
|
553
|
+
"description": "是否隐藏右边线",
|
|
554
|
+
"default": "false",
|
|
555
|
+
"type": "boolean"
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
"name": "suffixBrick",
|
|
559
|
+
"description": "后缀 useBrick",
|
|
560
|
+
"attribute": false,
|
|
561
|
+
"type": "{ useBrick: UseBrickConf }"
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"name": "defaultSelectedKeys",
|
|
565
|
+
"description": "默认选中高亮的菜单项",
|
|
566
|
+
"attribute": false,
|
|
567
|
+
"type": "string[]"
|
|
568
|
+
}
|
|
569
|
+
],
|
|
570
|
+
"events": [
|
|
571
|
+
{
|
|
572
|
+
"name": "menu.item.click",
|
|
573
|
+
"description": "菜单点击,groupKey 表示对应分组的key,data 表示对应菜单项",
|
|
574
|
+
"detail": {
|
|
575
|
+
"description": "{ groupKey: string, data: MenuChildrenItem }",
|
|
576
|
+
"type": "MenuItemClickEventDetail"
|
|
577
|
+
}
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
"name": "suffix.icon.click",
|
|
581
|
+
"description": "点击icon,detail为 对应菜单项或者是分组的key",
|
|
582
|
+
"detail": {
|
|
583
|
+
"description": "{ key: string }",
|
|
584
|
+
"type": "{ key: string }"
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
],
|
|
588
|
+
"slots": [],
|
|
589
|
+
"methods": [],
|
|
590
|
+
"parts": [],
|
|
591
|
+
"description": "目录"
|
|
592
|
+
},
|
|
588
593
|
{
|
|
589
594
|
"name": "eo-directory-tree-leaf",
|
|
590
595
|
"properties": [
|
|
@@ -598,6 +603,15 @@
|
|
|
598
603
|
"name": "selected",
|
|
599
604
|
"description": "是否选中",
|
|
600
605
|
"type": "boolean"
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"name": "icon",
|
|
609
|
+
"attribute": false,
|
|
610
|
+
"type": "GeneralIconProps"
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"name": "faded",
|
|
614
|
+
"type": "boolean"
|
|
601
615
|
}
|
|
602
616
|
],
|
|
603
617
|
"events": [
|
|
@@ -637,6 +651,15 @@
|
|
|
637
651
|
"name": "selected",
|
|
638
652
|
"description": "是否选中",
|
|
639
653
|
"type": "boolean"
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
"name": "icon",
|
|
657
|
+
"attribute": false,
|
|
658
|
+
"type": "GeneralIconProps"
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"name": "faded",
|
|
662
|
+
"type": "boolean"
|
|
640
663
|
}
|
|
641
664
|
],
|
|
642
665
|
"events": [
|