@gct-paas/core 0.1.6-dev.25 → 0.1.6-dev.27
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/index.esm.min.js +2 -2
- package/dist/{redirect-index-DrFyFXgv.js → redirect-index-2mXSgnns.js} +1 -1
- package/es/constants/index.d.ts +4 -0
- package/es/constants/index.mjs +5 -1
- package/es/enums/page-designer/panel.d.ts +1 -2
- package/es/enums/page-designer/panel.mjs +0 -1
- package/es/index.mjs +18 -17
- package/es/interface/i-app-context/i-app-context.d.ts +6 -0
- package/es/locale/index.d.ts +2 -13
- package/es/locale/index.mjs +9 -39
- package/es/locale/sys.d.ts +14 -0
- package/es/locale/sys.mjs +14 -0
- package/es/modules/env-manager/env-manager.d.ts +7 -0
- package/es/modules/env-manager/env-manager.mjs +9 -0
- package/es/modules/platform-config/useThemeSetting.mjs +21 -3
- package/es/modules/user-stores/store/user.store.mjs +4 -2
- package/es/router/index.mjs +10 -0
- package/es/setup-app.mjs +0 -9
- package/es/utils/auth-util/auth-util.d.ts +31 -0
- package/es/utils/auth-util/auth-util.mjs +67 -0
- package/es/utils/axios/check-status.d.ts +1 -0
- package/es/utils/axios/check-status.mjs +64 -0
- package/es/utils/axios/interceptors.mjs +21 -3
- package/es/utils/index.d.ts +1 -0
- package/es/utils/index.mjs +2 -1
- package/es/utils/openUtil/modal/modal.mjs +1 -1
- package/es/utils/openUtil/overlay-container/overlay-container.mjs +1 -1
- package/es/utils/tools/tools.mjs +2 -2
- package/package.json +3 -1
package/es/utils/index.mjs
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import "./tools/tools.mjs";
|
|
2
|
+
import "./auth-util/auth-util.mjs";
|
|
1
3
|
import "./css-loader/css-loader.mjs";
|
|
2
4
|
import "./cache-adapter/cache-adapter.mjs";
|
|
3
5
|
import "./dictionary/dictionary.mjs";
|
|
@@ -16,7 +18,6 @@ import "./openUtil/index.mjs";
|
|
|
16
18
|
import "./kit-pkg-util/kit-pkg-util.mjs";
|
|
17
19
|
import "./plugin-pkg-util/plugin-pkg-util.mjs";
|
|
18
20
|
import "./plugin-static-resource/plugin-static-resource.mjs";
|
|
19
|
-
import "./tools/tools.mjs";
|
|
20
21
|
import "./uuid/uuid.mjs";
|
|
21
22
|
import "./value-helper/value-helper.mjs";
|
|
22
23
|
import "./axios/interceptors.mjs";
|
package/es/utils/tools/tools.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { CoreConst } from "../../constants/core.mjs";
|
|
2
2
|
import "../../constants/index.mjs";
|
|
3
|
-
import
|
|
3
|
+
import { clearCookie, getCookie, setCookie } from "qx-util";
|
|
4
4
|
import { cloneDeep, isEqual, mergeWith, unionWith } from "lodash-es";
|
|
5
|
+
import qs from "qs";
|
|
5
6
|
import { customRef, readonly } from "vue";
|
|
6
|
-
import { clearCookie, getCookie, setCookie } from "qx-util";
|
|
7
7
|
//#region src/utils/tools/tools.ts
|
|
8
8
|
/**
|
|
9
9
|
* 租户 cookie 双向绑定响应式引用:get 直接读 cookie,set 直接写 cookie
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gct-paas/core",
|
|
3
|
-
"version": "0.1.6-dev.
|
|
3
|
+
"version": "0.1.6-dev.27",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "paas 平台核心包",
|
|
6
6
|
"loader": "dist/index.esm.min.js",
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
"lodash-es": "^4.17.23",
|
|
44
44
|
"mitt": "^3.0.1",
|
|
45
45
|
"mqtt": "^5.15.0",
|
|
46
|
+
"nprogress": "^0.2.0",
|
|
46
47
|
"overlayscrollbars": "^2.14.0",
|
|
47
48
|
"pinia": "^3.0.4",
|
|
48
49
|
"qs": "^6.15.0",
|
|
@@ -53,6 +54,7 @@
|
|
|
53
54
|
"wujie": "^1.0.29"
|
|
54
55
|
},
|
|
55
56
|
"devDependencies": {
|
|
57
|
+
"@types/nprogress": "^0.2.3",
|
|
56
58
|
"@vue/test-utils": "^2.4.6",
|
|
57
59
|
"fs-extra": "^11.3.3",
|
|
58
60
|
"playwright": "^1.58.0"
|