@point-hub/papp 0.0.114 → 0.0.115
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/index.d.ts +1 -0
- package/dist/stores/sidebar-menu.d.ts +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -58,6 +58,7 @@ export { useScreenSize } from './composable/screen-size';
|
|
|
58
58
|
export { useSidebar } from './composable/sidebar';
|
|
59
59
|
export { useScreenBreakpointStore } from './stores/screen-breakpoint';
|
|
60
60
|
export { useSidebarStore } from './stores/sidebar';
|
|
61
|
+
export type { IAppMenu, IMenu, IStateMenu, ISubmenu } from './stores/sidebar-menu';
|
|
61
62
|
export { useSidebarMenuStore } from './stores/sidebar-menu';
|
|
62
63
|
export { useWebsocketStore } from './stores/websocket';
|
|
63
64
|
export { default as AppFooter } from './components/app-footer.vue';
|
|
@@ -18,12 +18,12 @@ export interface ISubmenu {
|
|
|
18
18
|
separator?: boolean;
|
|
19
19
|
dataTestid?: string;
|
|
20
20
|
}
|
|
21
|
-
export interface
|
|
21
|
+
export interface IStateMenu {
|
|
22
22
|
choosenAppTitle: string;
|
|
23
23
|
choosenAppIndex: number;
|
|
24
24
|
appMenu: IAppMenu[];
|
|
25
25
|
}
|
|
26
|
-
export declare const useSidebarMenuStore: import('pinia').StoreDefinition<"sidebar-menu",
|
|
26
|
+
export declare const useSidebarMenuStore: import('pinia').StoreDefinition<"sidebar-menu", IStateMenu, {
|
|
27
27
|
getChoosenAppTitle: (state: {
|
|
28
28
|
choosenAppTitle: string;
|
|
29
29
|
choosenAppIndex: number;
|
|
@@ -45,7 +45,7 @@ export declare const useSidebarMenuStore: import('pinia').StoreDefinition<"sideb
|
|
|
45
45
|
}[] | undefined;
|
|
46
46
|
dataTestid?: string | undefined;
|
|
47
47
|
}[];
|
|
48
|
-
} & import('pinia').PiniaCustomStateProperties<
|
|
48
|
+
} & import('pinia').PiniaCustomStateProperties<IStateMenu>) => string;
|
|
49
49
|
getChoosenAppIndex: (state: {
|
|
50
50
|
choosenAppTitle: string;
|
|
51
51
|
choosenAppIndex: number;
|
|
@@ -67,7 +67,7 @@ export declare const useSidebarMenuStore: import('pinia').StoreDefinition<"sideb
|
|
|
67
67
|
}[] | undefined;
|
|
68
68
|
dataTestid?: string | undefined;
|
|
69
69
|
}[];
|
|
70
|
-
} & import('pinia').PiniaCustomStateProperties<
|
|
70
|
+
} & import('pinia').PiniaCustomStateProperties<IStateMenu>) => number;
|
|
71
71
|
}, {
|
|
72
72
|
setAppMenu(appMenu: IAppMenu[], appList?: IAppMenu[]): void;
|
|
73
73
|
onChooseApp(path: string): void;
|