@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 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 StateInterface {
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", StateInterface, {
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<StateInterface>) => string;
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<StateInterface>) => number;
70
+ } & import('pinia').PiniaCustomStateProperties<IStateMenu>) => number;
71
71
  }, {
72
72
  setAppMenu(appMenu: IAppMenu[], appList?: IAppMenu[]): void;
73
73
  onChooseApp(path: string): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@point-hub/papp",
3
- "version": "0.0.114",
3
+ "version": "0.0.115",
4
4
  "type": "module",
5
5
  "main": "./dist/index.umd.cjs",
6
6
  "module": "./dist/index.js",