@jnrs/vue-core 1.1.5 → 1.1.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/README.md +4 -0
- package/dist/{index-CfK0PRAy.js → index-9Ug4oygq.js} +51 -41
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3275 -4
- package/dist/piniaStore/base/auth.d.ts +3 -3
- package/dist/piniaStore/index.d.ts +1 -0
- package/dist/piniaStore/index.js +6 -5
- package/dist/piniaStore/mock.d.ts +11 -0
- package/dist/request/axios.d.ts +6 -0
- package/dist/request/fetch.d.ts +0 -0
- package/dist/utils/index.d.ts +0 -0
- package/package.json +3 -3
|
@@ -33,7 +33,7 @@ export declare const useAuthStore: import('pinia').StoreDefinition<"@jnrs/vue-co
|
|
|
33
33
|
workgroup?: string | undefined;
|
|
34
34
|
avatarFileName?: string | undefined;
|
|
35
35
|
} | null>;
|
|
36
|
-
dict: import('vue').Ref<
|
|
36
|
+
dict: import('vue').Ref<Dict | undefined, Dict | undefined>;
|
|
37
37
|
role: import('vue').Ref<{
|
|
38
38
|
[x: string]: unknown;
|
|
39
39
|
label: string;
|
|
@@ -74,7 +74,7 @@ export declare const useAuthStore: import('pinia').StoreDefinition<"@jnrs/vue-co
|
|
|
74
74
|
workgroup?: string | undefined;
|
|
75
75
|
avatarFileName?: string | undefined;
|
|
76
76
|
} | null>;
|
|
77
|
-
dict: import('vue').Ref<
|
|
77
|
+
dict: import('vue').Ref<Dict | undefined, Dict | undefined>;
|
|
78
78
|
role: import('vue').Ref<{
|
|
79
79
|
[x: string]: unknown;
|
|
80
80
|
label: string;
|
|
@@ -115,7 +115,7 @@ export declare const useAuthStore: import('pinia').StoreDefinition<"@jnrs/vue-co
|
|
|
115
115
|
workgroup?: string | undefined;
|
|
116
116
|
avatarFileName?: string | undefined;
|
|
117
117
|
} | null>;
|
|
118
|
-
dict: import('vue').Ref<
|
|
118
|
+
dict: import('vue').Ref<Dict | undefined, Dict | undefined>;
|
|
119
119
|
role: import('vue').Ref<{
|
|
120
120
|
[x: string]: unknown;
|
|
121
121
|
label: string;
|
package/dist/piniaStore/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import "pinia-plugin-persistedstate";
|
|
2
|
-
import {
|
|
3
|
-
import { u
|
|
2
|
+
import { a as s, b as t, u } from "../index-9Ug4oygq.js";
|
|
3
|
+
import { u as S } from "../system-KZETuQYC.js";
|
|
4
4
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
s as useAuthStore,
|
|
6
|
+
t as useMenuStore,
|
|
7
|
+
u as useMockStore,
|
|
8
|
+
S as useSystemStore
|
|
8
9
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Mock仓库
|
|
3
|
+
* @returns isMock 是否使用mock数据
|
|
4
|
+
*/
|
|
5
|
+
export declare const useMockStore: import('pinia').StoreDefinition<"jnrs-app-mock", Pick<{
|
|
6
|
+
isMock: import('vue').Ref<boolean, boolean>;
|
|
7
|
+
}, "isMock">, Pick<{
|
|
8
|
+
isMock: import('vue').Ref<boolean, boolean>;
|
|
9
|
+
}, never>, Pick<{
|
|
10
|
+
isMock: import('vue').Ref<boolean, boolean>;
|
|
11
|
+
}, never>>;
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jnrs/vue-core",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"description": "巨能前端工程化开发,Vue 专用核心功能包。",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jnrs",
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"vue": "^3.5.22",
|
|
58
58
|
"vue-router": "^4.5.1",
|
|
59
59
|
"vue-i18n": "^9.14.5",
|
|
60
|
-
"@jnrs/shared": "1.1.
|
|
61
|
-
"@jnrs/core": "1.1.
|
|
60
|
+
"@jnrs/shared": "1.1.6",
|
|
61
|
+
"@jnrs/core": "1.1.6"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@vitejs/plugin-vue": "^6.0.1",
|