@das-fed/utils 6.4.0-test.2.1 → 6.4.0-test.3.1
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/api-services/index.js +1699 -1375
- package/api-services/index.js.gz +0 -0
- package/api-services/modules/app-manage/index.js +1926 -1602
- package/api-services/modules/app-manage/index.js.gz +0 -0
- package/api-services/modules/authentication/index.js +1926 -1602
- package/api-services/modules/authentication/index.js.gz +0 -0
- package/api-services/modules/bems/index.js +1929 -1605
- package/api-services/modules/bems/index.js.gz +0 -0
- package/api-services/modules/contract/index.js +1926 -1602
- package/api-services/modules/contract/index.js.gz +0 -0
- package/api-services/modules/duty-manage/index.js +1928 -1604
- package/api-services/modules/duty-manage/index.js.gz +0 -0
- package/api-services/modules/enterpriseright/index.js +1926 -1602
- package/api-services/modules/enterpriseright/index.js.gz +0 -0
- package/api-services/modules/file/index.d.ts +1 -0
- package/api-services/modules/file/index.js +3254 -154
- package/api-services/modules/file/index.js.gz +0 -0
- package/api-services/modules/gateway-edge/index.js +1926 -1602
- package/api-services/modules/gateway-edge/index.js.gz +0 -0
- package/api-services/modules/index.js +1690 -1366
- package/api-services/modules/index.js.gz +0 -0
- package/api-services/modules/iot/index.js +1940 -1616
- package/api-services/modules/iot/index.js.gz +0 -0
- package/api-services/modules/justauth/index.js +1927 -1603
- package/api-services/modules/justauth/index.js.gz +0 -0
- package/api-services/modules/knowledge/index.js +1926 -1602
- package/api-services/modules/knowledge/index.js.gz +0 -0
- package/api-services/modules/link/index.js +1926 -1602
- package/api-services/modules/link/index.js.gz +0 -0
- package/api-services/modules/permission/index.js +1926 -1602
- package/api-services/modules/permission/index.js.gz +0 -0
- package/api-services/modules/platformManage/index.js +1935 -1611
- package/api-services/modules/platformManage/index.js.gz +0 -0
- package/api-services/modules/portal/index.js +1926 -1602
- package/api-services/modules/portal/index.js.gz +0 -0
- package/api-services/modules/space-manage/index.js +1926 -1602
- package/api-services/modules/space-manage/index.js.gz +0 -0
- package/api-services/modules/super-admin/index.js +1940 -1616
- package/api-services/modules/super-admin/index.js.gz +0 -0
- package/api-services/modules/supplier/index.js +1928 -1604
- package/api-services/modules/supplier/index.js.gz +0 -0
- package/api-services/modules/supplychain-manage/index.js +1926 -1602
- package/api-services/modules/supplychain-manage/index.js.gz +0 -0
- package/api-services/modules/systemConfiguration/index.js +1926 -1602
- package/api-services/modules/systemConfiguration/index.js.gz +0 -0
- package/api-services/modules/tool/index.js +1926 -1602
- package/api-services/modules/tool/index.js.gz +0 -0
- package/api-services/src/create-service/index.js +1923 -1599
- package/api-services/src/create-service/index.js.gz +0 -0
- package/common-info/index.js +5 -4
- package/common-info/index.js.gz +0 -0
- package/common-info/set-personal-info/index.js +837 -570
- package/common-info/set-personal-info/index.js.gz +0 -0
- package/common-info/type.d.ts +2 -0
- package/common-tools/extract-file-name/index.js +922 -655
- package/common-tools/extract-file-name/index.js.gz +0 -0
- package/common-tools/index.d.ts +1 -0
- package/common-tools/index.js +1 -0
- package/common-tools/update-browser-title/index.d.ts +1 -0
- package/common-tools/update-browser-title/index.js +12 -0
- package/create-api-service/index.js +1923 -1599
- package/create-api-service/index.js.gz +0 -0
- package/create-api-service/sso/index.js +1193 -833
- package/create-api-service/sso/index.js.gz +0 -0
- package/curring-http/index.js +1364 -1097
- package/curring-http/index.js.gz +0 -0
- package/esm-map.json +2 -2
- package/i18n-collection/en.js +21 -0
- package/i18n-collection/zh-CN.js +21 -0
- package/package.json +4 -3
- package/pinyin-first-character/index.js +19799 -20879
- package/pinyin-first-character/index.js.gz +0 -0
- package/style/index.js +4 -2
- package/style/index.js.gz +0 -0
- package/token-tools/index.d.ts +0 -5
- package/token-tools/index.js +8 -84
- package/token-tools/index.js.gz +0 -0
|
Binary file
|
package/common-info/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { getConfig as i } from "@das-fed/utils/config";
|
|
|
2
2
|
import { getUrlParams as p } from "@das-fed/utils/common-tools";
|
|
3
3
|
import { getAccessToken as I } from "@das-fed/utils/token-tools";
|
|
4
4
|
import { getTokenFromQuery as m, getProjectInfoFromQuery as d } from "@das-fed/utils/common-info/getInfoFromUrl";
|
|
5
|
-
const S = I,
|
|
5
|
+
const S = I, O = () => {
|
|
6
6
|
var n;
|
|
7
7
|
let e = JSON.parse(sessionStorage.getItem("tenantInfo") || "{}");
|
|
8
8
|
return {
|
|
@@ -65,7 +65,8 @@ const S = I, C = () => {
|
|
|
65
65
|
appcategorys: e.appcategorys ?? [],
|
|
66
66
|
currentSubApp: e.currentSubApp ?? {},
|
|
67
67
|
currentSubAppCode: e.currentSubAppCode ?? "",
|
|
68
|
-
subAppList: e.subAppList ?? []
|
|
68
|
+
subAppList: e.subAppList ?? [],
|
|
69
|
+
menuCollapses: e.menuCollapses ?? []
|
|
69
70
|
};
|
|
70
71
|
}, j = (e, t = !1) => {
|
|
71
72
|
var s, a;
|
|
@@ -93,7 +94,7 @@ const S = I, C = () => {
|
|
|
93
94
|
return t || (e.baseURL ? e.baseURL : location.origin);
|
|
94
95
|
}, k = () => ({
|
|
95
96
|
instanceInfo: JSON.parse(sessionStorage.getItem("instance") || "{}").instanceInfo ?? {}
|
|
96
|
-
}), E = () => localStorage.getItem("fav-icon") || "";
|
|
97
|
+
}), E = () => localStorage.getItem("fav-icon") || "./logo.svg";
|
|
97
98
|
S() || m();
|
|
98
99
|
var l;
|
|
99
100
|
(l = b()) != null && l.id || d();
|
|
@@ -111,5 +112,5 @@ export {
|
|
|
111
112
|
v as getTabInfo,
|
|
112
113
|
y as getTenantInfo,
|
|
113
114
|
S as getToken,
|
|
114
|
-
|
|
115
|
+
O as getUserInfo
|
|
115
116
|
};
|
package/common-info/index.js.gz
CHANGED
|
Binary file
|