@next-core/next-docs 1.2.480 → 1.2.481
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/brick-types.menuitemrawdata.md +2 -1
- package/dist/brick-types.sidebarmenugroup.childlayout.md +1 -1
- package/dist/brick-types.sidebarmenugroup.groupfrom.md +21 -0
- package/dist/brick-types.sidebarmenugroup.groupid.md +21 -0
- package/dist/brick-types.sidebarmenugroup.md +3 -1
- package/package.json +4 -4
|
@@ -19,11 +19,12 @@ custom_edit_url: null
|
|
|
19
19
|
export declare type MenuItemRawData = Omit<SidebarMenuSimpleItem, "type"> & {
|
|
20
20
|
children?: MenuItemRawData[];
|
|
21
21
|
type?: "default" | "group";
|
|
22
|
-
childLayout?: "default" | "category";
|
|
22
|
+
childLayout?: "default" | "category" | "siteMap";
|
|
23
23
|
sort?: number;
|
|
24
24
|
if?: string | boolean;
|
|
25
25
|
defaultExpanded?: boolean;
|
|
26
26
|
groupId?: string;
|
|
27
|
+
groupFrom?: string;
|
|
27
28
|
};
|
|
28
29
|
```
|
|
29
30
|
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: brick-types.sidebarmenugroup.groupfrom
|
|
3
|
+
title: SidebarMenuGroup.groupFrom
|
|
4
|
+
hide_title: true
|
|
5
|
+
custom_edit_url: null
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
9
|
+
|
|
10
|
+
[API Reference](./index.md) > [@next-core/brick-types](./brick-types.md) > [SidebarMenuGroup](./brick-types.sidebarmenugroup.md) > [groupFrom](./brick-types.sidebarmenugroup.groupfrom.md)
|
|
11
|
+
|
|
12
|
+
## SidebarMenuGroup.groupFrom property
|
|
13
|
+
|
|
14
|
+
分组来源。
|
|
15
|
+
|
|
16
|
+
**Signature:**
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
groupFrom?: string;
|
|
20
|
+
```
|
|
21
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: brick-types.sidebarmenugroup.groupid
|
|
3
|
+
title: SidebarMenuGroup.groupId
|
|
4
|
+
hide_title: true
|
|
5
|
+
custom_edit_url: null
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
9
|
+
|
|
10
|
+
[API Reference](./index.md) > [@next-core/brick-types](./brick-types.md) > [SidebarMenuGroup](./brick-types.sidebarmenugroup.md) > [groupId](./brick-types.sidebarmenugroup.groupid.md)
|
|
11
|
+
|
|
12
|
+
## SidebarMenuGroup.groupId property
|
|
13
|
+
|
|
14
|
+
分组 Id。
|
|
15
|
+
|
|
16
|
+
**Signature:**
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
groupId?: string;
|
|
20
|
+
```
|
|
21
|
+
|
|
@@ -23,8 +23,10 @@ export interface SidebarMenuGroup
|
|
|
23
23
|
|
|
24
24
|
| Property | Type | Description |
|
|
25
25
|
| --- | --- | --- |
|
|
26
|
-
| [childLayout](./brick-types.sidebarmenugroup.childlayout.md) | "default" \| "category" | 子菜单项的布局方式。 |
|
|
26
|
+
| [childLayout](./brick-types.sidebarmenugroup.childlayout.md) | "default" \| "category" \| "siteMap" | 子菜单项的布局方式。 |
|
|
27
27
|
| [defaultExpanded](./brick-types.sidebarmenugroup.defaultexpanded.md) | boolean | 该分组下的子菜单是否默认展开。 |
|
|
28
|
+
| [groupFrom](./brick-types.sidebarmenugroup.groupfrom.md) | string | 分组来源。 |
|
|
29
|
+
| [groupId](./brick-types.sidebarmenugroup.groupid.md) | string | 分组 Id。 |
|
|
28
30
|
| [icon](./brick-types.sidebarmenugroup.icon.md) | [MenuIcon](./brick-types.menuicon.md) | 菜单项的图标。 |
|
|
29
31
|
| [items](./brick-types.sidebarmenugroup.items.md) | [SidebarMenuItem](./brick-types.sidebarmenuitem.md)<!-- -->\[\] | 该分组下的子菜单项列表。 |
|
|
30
32
|
| [title](./brick-types.sidebarmenugroup.title.md) | string | 分组标题。 |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-core/next-docs",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.481",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "https://github.com/easyops-cn/next-core/tree/master/packages/next-docs",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"sideEffects": false,
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@easyops-cn/brick-next-pipes": "^0.4.0",
|
|
35
|
-
"@next-core/brick-kit": "^2.178.
|
|
36
|
-
"@next-core/brick-types": "^2.89.
|
|
35
|
+
"@next-core/brick-kit": "^2.178.12",
|
|
36
|
+
"@next-core/brick-types": "^2.89.3",
|
|
37
37
|
"fs-extra": "^10.1.0"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "f8d35e9f8ee2f57f7f7fa1e54e4b993b78875b1b"
|
|
40
40
|
}
|