@gx-design-vue/pro-layout 0.1.0-beta.76 → 0.1.0-beta.78

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/props.d.ts CHANGED
@@ -170,10 +170,6 @@ export declare const basicLayoutProps: {
170
170
  default: () => undefined;
171
171
  };
172
172
  onLogoClick: PropType<Function>;
173
- toFirstPath: {
174
- type: PropType<boolean>;
175
- default: undefined;
176
- };
177
173
  mode: {
178
174
  type: PropType<import("ant-design-vue/es/menu/src/interface").MenuMode>;
179
175
  default: string;
@@ -5,9 +5,17 @@ export type MenuData = {
5
5
  breadcrumb: RecordType;
6
6
  getLevel: () => AppRouteModule[];
7
7
  };
8
+ export declare function hanlePathKey(record: AppRouteModule): string;
8
9
  export declare const getMenuData: (routes: AppRouteModule[]) => MenuData;
9
10
  export declare function clearMenuItem(menusData: AppRouteModule[]): AppRouteModule[];
10
11
  export declare function flatMap(menusData: AppRouteModule[]): AppRouteModule[];
11
12
  export declare function getMenuFirstChildren(menus: AppRouteModule[], key?: string): AppRouteModule[];
12
- export declare function getMenuFirstLastChildPath(data: AppRouteModule[]): string;
13
- export declare function getMatchedList(data: AppRouteModule[], path: string): AppRouteModule[];
13
+ export declare function getLastPath(data: AppRouteModule[]): string;
14
+ export declare function findLastKey(tree: AppRouteModule[], targetKey: string): string | undefined;
15
+ export declare function getMatchedList({ menuData, levelMenuData }: {
16
+ menuData: AppRouteModule[];
17
+ levelMenuData: AppRouteModule[];
18
+ }, { path, name }: {
19
+ path: string;
20
+ name: AppRouteModule['name'];
21
+ }): AppRouteModule[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gx-design-vue/pro-layout",
3
- "version": "0.1.0-beta.76",
3
+ "version": "0.1.0-beta.78",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "vite build",