x-essential-lib 0.7.4 → 0.7.6
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/composables/microApp.d.ts +3 -1
- package/dist/composables/system.d.ts +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +428 -398
- package/dist/utils/provideInject.d.ts +11 -0
- package/package.json +1 -3
- package/dist/store/global.d.ts +0 -20
- package/dist/store/index.d.ts +0 -1
|
@@ -1,3 +1,14 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
+
import { PermissionObjects } from './permission';
|
|
3
|
+
export declare function provideDark(dark: Ref<boolean | undefined>): void;
|
|
4
|
+
export declare function injectDark(): Ref<boolean | undefined>;
|
|
5
|
+
export declare function provideLocale(locale: Ref<string>): void;
|
|
6
|
+
export declare function injectLocale(): Ref<string>;
|
|
7
|
+
export declare function providePermissionObjects(permissionObjects: Ref<PermissionObjects>): void;
|
|
8
|
+
export declare function injectPermissionObjects(): Ref<PermissionObjects>;
|
|
9
|
+
export declare function providePermissionChecksum(permissionChecksum: Ref<string>): void;
|
|
10
|
+
export declare function injectPermissionChecksum(): Ref<string>;
|
|
11
|
+
export declare function provideLastAppPath(lastAppPath: Ref<string>): void;
|
|
12
|
+
export declare function injectLastAppPath(): Ref<string>;
|
|
2
13
|
export declare function provideViews(views: Ref<string[]>): void;
|
|
3
14
|
export declare function injectViews(): Ref<string[]>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x-essential-lib",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.6",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -28,8 +28,6 @@
|
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"axios": "^1.7.7",
|
|
31
|
-
"pinia": "^2.2.4",
|
|
32
|
-
"pinia-plugin-persistedstate": "^4.1.1",
|
|
33
31
|
"vue": "^3.5.12",
|
|
34
32
|
"vue-i18n": "^10.0.4",
|
|
35
33
|
"vue-router": "^4.4.3",
|
package/dist/store/global.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { PermissionObjects } from '../utils';
|
|
2
|
-
export declare const useGlobalStore: import("pinia").StoreDefinition<"global", Pick<{
|
|
3
|
-
dark: import("vue").Ref<boolean | undefined, boolean | undefined>;
|
|
4
|
-
locale: import("vue").Ref<string, string>;
|
|
5
|
-
permissionObjects: import("vue").Ref<PermissionObjects, PermissionObjects>;
|
|
6
|
-
permissionChecksum: import("vue").Ref<string, string>;
|
|
7
|
-
lastAppPath: import("vue").Ref<string, string>;
|
|
8
|
-
}, "dark" | "locale" | "permissionObjects" | "permissionChecksum" | "lastAppPath">, Pick<{
|
|
9
|
-
dark: import("vue").Ref<boolean | undefined, boolean | undefined>;
|
|
10
|
-
locale: import("vue").Ref<string, string>;
|
|
11
|
-
permissionObjects: import("vue").Ref<PermissionObjects, PermissionObjects>;
|
|
12
|
-
permissionChecksum: import("vue").Ref<string, string>;
|
|
13
|
-
lastAppPath: import("vue").Ref<string, string>;
|
|
14
|
-
}, never>, Pick<{
|
|
15
|
-
dark: import("vue").Ref<boolean | undefined, boolean | undefined>;
|
|
16
|
-
locale: import("vue").Ref<string, string>;
|
|
17
|
-
permissionObjects: import("vue").Ref<PermissionObjects, PermissionObjects>;
|
|
18
|
-
permissionChecksum: import("vue").Ref<string, string>;
|
|
19
|
-
lastAppPath: import("vue").Ref<string, string>;
|
|
20
|
-
}, never>>;
|
package/dist/store/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './global';
|