@gonsin/gview 2.0.92 → 2.0.93

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.
@@ -12,3 +12,4 @@ export declare const LOCAL_DATA_ID = "dataId";
12
12
  export declare const LOCAL_SESSION_ID = "sessionId";
13
13
  export declare const SESSION_FORM_DATA_CACHE = "formDataCache";
14
14
  export declare const SESSION_COLUMN_DATA = "columnData";
15
+ export declare const SESSION_USER_PERMISSION = "permissions";
@@ -0,0 +1,5 @@
1
+ import type { App } from "vue";
2
+ declare const _default: {
3
+ install(app: App): void;
4
+ };
5
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import type { DirectiveBinding } from "vue";
2
+ declare const _default: {
3
+ mounted(el: Element, binding: DirectiveBinding): void;
4
+ };
5
+ export default _default;
@@ -23,6 +23,7 @@ interface SettingState {
23
23
  isTokenRefreshing: boolean;
24
24
  sideHoverMenuTimer: any;
25
25
  isSideHoverMenuShow: boolean;
26
+ userPermission: string[];
26
27
  }
27
28
  export declare const useSettingStore: import("pinia").StoreDefinition<"setting", SettingState, {
28
29
  userType: (state: SettingState) => any;
@@ -60,6 +61,7 @@ export declare const useSettingStore: import("pinia").StoreDefinition<"setting",
60
61
  */
61
62
  checkUserToken(): Promise<void>;
62
63
  setSideMenuTree(userMenu: any): void;
64
+ setUserPermission(permissions: any): void;
63
65
  /**
64
66
  * @description 用户登录后初始化配置
65
67
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gonsin/gview",
3
- "version": "2.0.92",
3
+ "version": "2.0.93",
4
4
  "main": "dist/index.mjs",
5
5
  "typings": "dist/types/index.d.ts",
6
6
  "files": [