@gx-design-vue/pro-layout 0.1.0-beta.80 → 0.1.0-beta.82
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/hooks/menu/index.d.ts +5 -2
- package/dist/pro-layout.js +1448 -1434
- package/dist/pro-layout.umd.cjs +2 -2
- package/dist/utils/menu.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ComputedRef } from 'vue';
|
|
2
2
|
import type { AppRouteModule } from '../../RouteTypings';
|
|
3
3
|
import type { AntRoute } from '../../typings';
|
|
4
4
|
export type MenuState = {
|
|
5
5
|
menuData: AppRouteModule[];
|
|
6
6
|
levelMenuData: AppRouteModule[];
|
|
7
7
|
};
|
|
8
|
-
export default function (menuData
|
|
8
|
+
export default function ({ menuData, watchOpenKeys }: {
|
|
9
|
+
menuData?: any;
|
|
10
|
+
watchOpenKeys?: boolean;
|
|
11
|
+
}): {
|
|
9
12
|
menuState: MenuState;
|
|
10
13
|
matchedKeys: {
|
|
11
14
|
openKeys: string[];
|