@gx-design-vue/pro-layout 0.1.0-beta.203 → 0.1.0-beta.205
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/components/BaseMenu/index.d.ts +1 -0
- package/dist/hooks/layout/use-page-content.d.ts +1 -1
- package/dist/hooks/menu/context.d.ts +2 -0
- package/dist/hooks/menu/index.d.ts +2 -0
- package/dist/pro-layout.js +1389 -1356
- package/dist/pro-layout.umd.cjs +8 -8
- package/dist/types/MenuTypings.d.ts +1 -1
- package/dist/types/RouteTypings.d.ts +7 -3
- package/dist/types/typings.d.ts +2 -3
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function usePageContent(
|
|
1
|
+
export declare function usePageContent(count?: number): import("vue").ComputedRef<string>;
|
|
@@ -2,6 +2,8 @@ import type { ComputedRef, Ref } from 'vue';
|
|
|
2
2
|
import type { AppRouteModule } from '../../types/RouteTypings';
|
|
3
3
|
import type { MenuData } from '../../utils/menu';
|
|
4
4
|
interface ProLayoutMenuContext {
|
|
5
|
+
update: () => void;
|
|
6
|
+
names: Ref<string[]>;
|
|
5
7
|
menuData: Ref<AppRouteModule[]>;
|
|
6
8
|
menuMap: Ref<MenuData['menuMap']>;
|
|
7
9
|
flatMenus: Ref<AppRouteModule[]>;
|
|
@@ -5,12 +5,14 @@ import type { MenuData } from '../../utils/menu';
|
|
|
5
5
|
export interface MenuState {
|
|
6
6
|
menuMap: MenuData['menuMap'];
|
|
7
7
|
flatMenus: AppRouteModule[];
|
|
8
|
+
names: string[];
|
|
8
9
|
}
|
|
9
10
|
export default function (options?: {
|
|
10
11
|
menuData?: any;
|
|
11
12
|
defaultOpen?: boolean;
|
|
12
13
|
autoClose?: boolean;
|
|
13
14
|
}): {
|
|
15
|
+
update: () => void;
|
|
14
16
|
menuState: MenuState;
|
|
15
17
|
menuData: Ref<AppRouteModule[]>;
|
|
16
18
|
matchedKeys: {
|