x-essential-lib 0.7.1 → 0.7.3
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/viewStack.d.ts +1 -1
- package/dist/index.js +417 -416
- package/dist/store/global.d.ts +2 -2
- package/dist/store/viewMgr.d.ts +2 -2
- package/dist/utils/axios.d.ts +1 -1
- package/dist/utils/dialog.d.ts +1 -1
- package/dist/utils/permission.d.ts +17 -17
- package/package.json +28 -24
package/dist/store/global.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { PermissionObjects } from '../utils';
|
|
2
|
-
export declare const useGlobalStore: import("pinia").StoreDefinition<"global",
|
|
2
|
+
export declare const useGlobalStore: import("pinia").StoreDefinition<"global", Pick<{
|
|
3
3
|
dark: import("vue").Ref<boolean | undefined, boolean | undefined>;
|
|
4
4
|
locale: import("vue").Ref<string, string>;
|
|
5
5
|
permissionObjects: import("vue").Ref<PermissionObjects, PermissionObjects>;
|
|
6
6
|
permissionChecksum: import("vue").Ref<string, string>;
|
|
7
7
|
lastAppPath: import("vue").Ref<string, string>;
|
|
8
|
-
}, "dark" | "locale" | "permissionObjects" | "permissionChecksum" | "lastAppPath"
|
|
8
|
+
}, "dark" | "locale" | "permissionObjects" | "permissionChecksum" | "lastAppPath">, Pick<{
|
|
9
9
|
dark: import("vue").Ref<boolean | undefined, boolean | undefined>;
|
|
10
10
|
locale: import("vue").Ref<string, string>;
|
|
11
11
|
permissionObjects: import("vue").Ref<PermissionObjects, PermissionObjects>;
|
package/dist/store/viewMgr.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'pinia-plugin-persistedstate';
|
|
2
|
-
export declare const useViewMgrStore: import("pinia").StoreDefinition<"viewMgr",
|
|
2
|
+
export declare const useViewMgrStore: import("pinia").StoreDefinition<"viewMgr", Pick<{
|
|
3
3
|
views: import("vue").Ref<string[], string[]>;
|
|
4
4
|
isEmpty: () => boolean;
|
|
5
5
|
lastView: () => string | undefined;
|
|
@@ -8,7 +8,7 @@ export declare const useViewMgrStore: import("pinia").StoreDefinition<"viewMgr",
|
|
|
8
8
|
delView: (name: string) => void;
|
|
9
9
|
popView: () => void;
|
|
10
10
|
clearViews: () => void;
|
|
11
|
-
}, "views"
|
|
11
|
+
}, "views">, Pick<{
|
|
12
12
|
views: import("vue").Ref<string[], string[]>;
|
|
13
13
|
isEmpty: () => boolean;
|
|
14
14
|
lastView: () => string | undefined;
|
package/dist/utils/axios.d.ts
CHANGED
package/dist/utils/dialog.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ interface PromptParams {
|
|
|
19
19
|
cancel?: ButtonOptions;
|
|
20
20
|
confirm?: ButtonOptions;
|
|
21
21
|
}
|
|
22
|
-
export declare function openPromptDlg(params: PromptParams): Promise<
|
|
22
|
+
export declare function openPromptDlg(params: PromptParams): Promise<string | undefined>;
|
|
23
23
|
export declare function openWaitDlg(text?: string): void;
|
|
24
24
|
export declare function closeWaitDlg(): void;
|
|
25
25
|
export {};
|
|
@@ -68,22 +68,22 @@ export declare enum Permission {
|
|
|
68
68
|
delete_data_space = "delete_data_space",
|
|
69
69
|
update_data_space = "update_data_space",
|
|
70
70
|
arrange_data_space = "arrange_data_space",
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
71
|
+
list_table_group = "list_table_group",
|
|
72
|
+
create_table_group = "create_table_group",
|
|
73
|
+
delete_table_group = "delete_table_group",
|
|
74
|
+
update_table_group = "update_table_group",
|
|
75
|
+
arrange_table_group = "arrange_table_group",
|
|
76
|
+
list_table = "list_table",
|
|
77
|
+
get_table = "get_table",
|
|
78
|
+
create_table = "create_table",
|
|
79
|
+
delete_table = "delete_table",
|
|
80
|
+
update_table = "update_table",
|
|
81
|
+
get_data = "get_data",
|
|
82
|
+
create_data = "create_data",
|
|
83
|
+
delete_data = "delete_data",
|
|
84
|
+
update_data = "update_data",
|
|
85
|
+
get_relation_graph = "get_relation_graph",
|
|
86
|
+
update_relation_graph = "update_relation_graph",
|
|
87
87
|
list_change = "list_change",
|
|
88
88
|
apply_change = "apply_change",
|
|
89
89
|
open_data_layer = "open_data_layer",
|
|
@@ -117,7 +117,7 @@ export declare enum Permission {
|
|
|
117
117
|
arrange_org_role = "arrange_org_role",
|
|
118
118
|
get_org_structure = "get_org_structure",
|
|
119
119
|
update_org_structure = "update_org_structure",
|
|
120
|
-
|
|
120
|
+
filter_table = "filter_table"
|
|
121
121
|
}
|
|
122
122
|
type InstanceTree = {
|
|
123
123
|
[key: string]: InstanceTree;
|
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.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"dev": "vite",
|
|
13
13
|
"build": "vue-tsc && vite build",
|
|
14
14
|
"preview": "vite preview",
|
|
15
|
-
"lint": "eslint
|
|
15
|
+
"lint": "eslint --fix .",
|
|
16
16
|
"format": "prettier --write .",
|
|
17
17
|
"lint-staged": "lint-staged",
|
|
18
18
|
"prepare": "husky"
|
|
@@ -22,37 +22,41 @@
|
|
|
22
22
|
"*": "prettier --write ."
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@vueuse/core": "^10.11.
|
|
25
|
+
"@vueuse/core": "^10.11.1",
|
|
26
26
|
"js-cookie": "^3.0.5",
|
|
27
27
|
"mitt": "^3.0.1"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"axios": "^1.7.
|
|
31
|
-
"pinia": "^2.2.
|
|
32
|
-
"pinia-plugin-persistedstate": "^
|
|
33
|
-
"vue": "^3.5.
|
|
34
|
-
"vue-i18n": "^
|
|
30
|
+
"axios": "^1.7.7",
|
|
31
|
+
"pinia": "^2.2.4",
|
|
32
|
+
"pinia-plugin-persistedstate": "^4.1.1",
|
|
33
|
+
"vue": "^3.5.12",
|
|
34
|
+
"vue-i18n": "^10.0.4",
|
|
35
35
|
"vue-router": "^4.4.3",
|
|
36
|
-
"vuetify": "^3.7.
|
|
36
|
+
"vuetify": "^3.7.2"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
+
"@eslint/js": "^10.0.0",
|
|
39
40
|
"@mdi/js": "^7.4.47",
|
|
40
|
-
"@rushstack/eslint-patch": "^1.10.
|
|
41
|
+
"@rushstack/eslint-patch": "^1.10.4",
|
|
41
42
|
"@types/js-cookie": "^3.0.6",
|
|
42
|
-
"@types/node": "^
|
|
43
|
-
"@vitejs/plugin-vue": "^5.
|
|
44
|
-
"@vue/eslint-config-prettier": "^
|
|
45
|
-
"@vue/eslint-config-typescript": "^
|
|
46
|
-
"eslint": "^
|
|
47
|
-
"eslint-plugin-
|
|
48
|
-
"
|
|
49
|
-
"
|
|
43
|
+
"@types/node": "^22.7.6",
|
|
44
|
+
"@vitejs/plugin-vue": "^5.1.4",
|
|
45
|
+
"@vue/eslint-config-prettier": "^10.0.0",
|
|
46
|
+
"@vue/eslint-config-typescript": "^14.1.1",
|
|
47
|
+
"eslint": "^9.12.0",
|
|
48
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
49
|
+
"eslint-plugin-vue": "^9.29.0",
|
|
50
|
+
"globals": "^15.11.0",
|
|
51
|
+
"husky": "^9.1.6",
|
|
52
|
+
"lint-staged": "^15.2.10",
|
|
50
53
|
"prettier": "3.3.3",
|
|
51
|
-
"sass": "^1.
|
|
52
|
-
"typescript": "^5.
|
|
53
|
-
"
|
|
54
|
-
"vite
|
|
55
|
-
"vite-plugin-
|
|
56
|
-
"
|
|
54
|
+
"sass": "^1.80.0",
|
|
55
|
+
"typescript": "^5.6.3",
|
|
56
|
+
"typescript-eslint": "^8.9.0",
|
|
57
|
+
"vite": "^5.4.9",
|
|
58
|
+
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
59
|
+
"vite-plugin-vuetify": "^2.0.4",
|
|
60
|
+
"vue-tsc": "^2.1.6"
|
|
57
61
|
}
|
|
58
62
|
}
|