@gonsin/gview 2.0.8 → 2.0.10
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 +12 -0
- package/dist/{index-a34cb21a.mjs → index-68257001.mjs} +1 -1
- package/dist/{index-bea99080.mjs → index-863cc3f3.mjs} +1570 -1567
- package/dist/index.mjs +27 -26
- package/dist/style.css +1 -1
- package/dist/types/stores/setting.d.ts +1 -6
- package/dist/types/utils/withInstall.d.ts +1 -2
- package/package.json +5 -1
|
@@ -2,10 +2,6 @@ import { DEFAULT_THEME_CONFIG } from "~/constant/theme";
|
|
|
2
2
|
import type { SideMenu } from "~/types/menu";
|
|
3
3
|
interface UserConfig {
|
|
4
4
|
userInfo: any;
|
|
5
|
-
userToken: {
|
|
6
|
-
token: string;
|
|
7
|
-
tokenExpiredTime: string;
|
|
8
|
-
};
|
|
9
5
|
userMenu: any;
|
|
10
6
|
homeUrl?: string;
|
|
11
7
|
uploadApi: string;
|
|
@@ -23,8 +19,7 @@ interface SettingState {
|
|
|
23
19
|
export declare const useSettingStore: import("pinia").StoreDefinition<"setting", SettingState, {
|
|
24
20
|
userRealName: (state: SettingState) => any;
|
|
25
21
|
userEdificeKey: (state: SettingState) => any;
|
|
26
|
-
token: (state: SettingState) =>
|
|
27
|
-
tokenExpiredTime: (state: SettingState) => string;
|
|
22
|
+
token: (state: SettingState) => any;
|
|
28
23
|
uploadApi: (state: SettingState) => string;
|
|
29
24
|
homeUrl: (state: SettingState) => any;
|
|
30
25
|
displayMode: (state: SettingState) => any;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { Plugin, Directive } from "vue";
|
|
2
|
-
declare function withInstall<T>(comp: T, alias?: string, directive?: {
|
|
2
|
+
export declare function withInstall<T>(comp: T, alias?: string, directive?: {
|
|
3
3
|
name: string;
|
|
4
4
|
comp: Directive<T>;
|
|
5
5
|
}): T & Plugin;
|
|
6
|
-
export default withInstall;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gonsin/gview",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.10",
|
|
4
4
|
"main": "dist/index.mjs",
|
|
5
5
|
"typings": "dist/types/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"format": "prettier --write develop/ && prettier --write packages/"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
+
"@gonsin/glicense": "^1.0.2",
|
|
24
25
|
"@wangeditor/editor": "^5.1.23",
|
|
25
26
|
"@wangeditor/editor-for-vue": "^5.1.12",
|
|
26
27
|
"axios": "^1.3.4",
|
|
@@ -41,12 +42,15 @@
|
|
|
41
42
|
"@rushstack/eslint-patch": "^1.2.0",
|
|
42
43
|
"@types/lodash-es": "^4.17.7",
|
|
43
44
|
"@types/node": "^18.14.2",
|
|
45
|
+
"@typescript-eslint/parser": "^5.59.2",
|
|
44
46
|
"@vitejs/plugin-vue": "^4.0.0",
|
|
45
47
|
"@vitejs/plugin-vue-jsx": "^3.0.0",
|
|
46
48
|
"@vue/eslint-config-prettier": "^7.1.0",
|
|
47
49
|
"@vue/eslint-config-typescript": "^11.0.2",
|
|
48
50
|
"@vue/tsconfig": "^0.1.3",
|
|
49
51
|
"eslint": "^8.34.0",
|
|
52
|
+
"eslint-import-resolver-typescript": "^3.5.5",
|
|
53
|
+
"eslint-plugin-import": "^2.27.5",
|
|
50
54
|
"eslint-plugin-vue": "^9.9.0",
|
|
51
55
|
"npm-run-all": "^4.1.5",
|
|
52
56
|
"postcss": "^8.4.21",
|