@das-fed/utils 7.0.7-hot.9 → 7.0.8
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 +541 -560
- package/api-services/index.js.gz +0 -0
- package/api-services/modules/app-manage/index.js +331 -350
- package/api-services/modules/app-manage/index.js.gz +0 -0
- package/api-services/modules/authentication/index.js +331 -350
- package/api-services/modules/authentication/index.js.gz +0 -0
- package/api-services/modules/bems/index.js +336 -355
- package/api-services/modules/bems/index.js.gz +0 -0
- package/api-services/modules/contract/index.js +331 -350
- package/api-services/modules/contract/index.js.gz +0 -0
- package/api-services/modules/duty-manage/index.js +337 -356
- package/api-services/modules/duty-manage/index.js.gz +0 -0
- package/api-services/modules/enterpriseright/index.js +843 -880
- package/api-services/modules/enterpriseright/index.js.gz +0 -0
- package/api-services/modules/file/index.js +554 -573
- package/api-services/modules/file/index.js.gz +0 -0
- package/api-services/modules/gateway-edge/index.js +331 -350
- package/api-services/modules/gateway-edge/index.js.gz +0 -0
- package/api-services/modules/index.js +554 -573
- package/api-services/modules/index.js.gz +0 -0
- package/api-services/modules/iot/index.js +1094 -1117
- package/api-services/modules/iot/index.js.gz +0 -0
- package/api-services/modules/justauth/index.js +413 -432
- package/api-services/modules/justauth/index.js.gz +0 -0
- package/api-services/modules/knowledge/index.js +843 -880
- package/api-services/modules/knowledge/index.js.gz +0 -0
- package/api-services/modules/link/index.js +331 -350
- package/api-services/modules/link/index.js.gz +0 -0
- package/api-services/modules/permission/index.js +331 -350
- package/api-services/modules/permission/index.js.gz +0 -0
- package/api-services/modules/platformManage/index.js +830 -867
- package/api-services/modules/platformManage/index.js.gz +0 -0
- package/api-services/modules/portal/index.js +331 -350
- package/api-services/modules/portal/index.js.gz +0 -0
- package/api-services/modules/space-manage/index.js +843 -880
- package/api-services/modules/space-manage/index.js.gz +0 -0
- package/api-services/modules/super-admin/index.js +353 -372
- package/api-services/modules/super-admin/index.js.gz +0 -0
- package/api-services/modules/supplier/index.js +333 -352
- package/api-services/modules/supplier/index.js.gz +0 -0
- package/api-services/modules/supplychain-manage/index.js +331 -350
- package/api-services/modules/supplychain-manage/index.js.gz +0 -0
- package/api-services/modules/systemConfiguration/index.js +331 -350
- package/api-services/modules/systemConfiguration/index.js.gz +0 -0
- package/api-services/modules/tool/index.js +833 -834
- package/api-services/modules/tool/index.js.gz +0 -0
- package/api-services/src/create-service/index.js +842 -879
- package/api-services/src/create-service/index.js.gz +0 -0
- package/common-info/index.js +12 -13
- package/common-info/index.js.gz +0 -0
- package/common-info/set-personal-info/index.d.ts +1 -1
- package/common-info/set-personal-info/index.js +237 -253
- package/common-info/set-personal-info/index.js.gz +0 -0
- package/common-info/type.d.ts +0 -2
- package/common-tools/extract-file-name/index.js +550 -566
- package/common-tools/extract-file-name/index.js.gz +0 -0
- package/common-tools/get-url-params/index.d.ts +0 -7
- package/common-tools/get-url-params/index.js +38 -45
- package/common-tools/get-url-params/index.js.gz +0 -0
- package/common-tools/platform-tools/index.d.ts +1 -1
- package/common-tools/platform-tools/index.js +15 -22
- package/create-api-service/index.js +848 -849
- package/create-api-service/index.js.gz +0 -0
- package/create-api-service/sso/index.d.ts +2 -2
- package/create-api-service/sso/index.js +491 -511
- package/create-api-service/sso/index.js.gz +0 -0
- package/curring-http/index.js +566 -582
- package/curring-http/index.js.gz +0 -0
- package/esm-map.json +1 -2
- package/package.json +4 -4
- package/process-engine-info/index.js +7 -8
- package/style/index.js +1 -1
- package/style/index.js.gz +0 -0
- package/token-tools/index.js +8 -80
- package/vue/hooks/use-model-value/index.d.ts +1 -5
- package/token-tools/index.js.gz +0 -0
|
Binary file
|
package/common-info/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { getConfig as u } from "@das-fed/utils/config";
|
|
|
2
2
|
import { getUrlParams as d } from "@das-fed/utils/common-tools";
|
|
3
3
|
import { getAccessToken as I } from "@das-fed/utils/token-tools";
|
|
4
4
|
import { getTokenFromQuery as S, getProjectInfoFromQuery as y } from "@das-fed/utils/common-info/getInfoFromUrl";
|
|
5
|
-
const N = I,
|
|
5
|
+
const N = I, A = () => {
|
|
6
6
|
var r;
|
|
7
7
|
let e = JSON.parse(sessionStorage.getItem("tenantInfo") || "{}");
|
|
8
8
|
return {
|
|
@@ -60,7 +60,7 @@ const N = I, T = () => {
|
|
|
60
60
|
leaf: (e == null ? void 0 : e.leaf) ?? !1,
|
|
61
61
|
optional: (e == null ? void 0 : e.leaf) ?? !0
|
|
62
62
|
};
|
|
63
|
-
},
|
|
63
|
+
}, v = () => {
|
|
64
64
|
let e = JSON.parse(sessionStorage.getItem("project-message") || "{}");
|
|
65
65
|
return {
|
|
66
66
|
id: (e == null ? void 0 : e.id) ?? 0,
|
|
@@ -85,7 +85,7 @@ const N = I, T = () => {
|
|
|
85
85
|
autoTimezone: (e == null ? void 0 : e.autoTimezone) ?? !1,
|
|
86
86
|
currency: (e == null ? void 0 : e.currency) ?? {}
|
|
87
87
|
};
|
|
88
|
-
},
|
|
88
|
+
}, f = () => {
|
|
89
89
|
const e = JSON.parse(sessionStorage.getItem("home-config") || "{}");
|
|
90
90
|
return {
|
|
91
91
|
applicationCode: (e == null ? void 0 : e.applicationCode) ?? "",
|
|
@@ -118,7 +118,6 @@ const N = I, T = () => {
|
|
|
118
118
|
currentSubApp: e.currentSubApp ?? {},
|
|
119
119
|
currentSubAppCode: e.currentSubAppCode ?? "",
|
|
120
120
|
subAppList: e.subAppList ?? [],
|
|
121
|
-
fixedApps: e.fixedApps ?? [],
|
|
122
121
|
menuCollapses: e.menuCollapses ?? []
|
|
123
122
|
};
|
|
124
123
|
}, U = (e, t = !1) => {
|
|
@@ -134,7 +133,7 @@ const N = I, T = () => {
|
|
|
134
133
|
s[n.code] = n.menus ?? [];
|
|
135
134
|
}), s;
|
|
136
135
|
}
|
|
137
|
-
},
|
|
136
|
+
}, E = () => {
|
|
138
137
|
const e = JSON.parse(sessionStorage.getItem("tabs") || "{}");
|
|
139
138
|
return {
|
|
140
139
|
currentCode: e.currentCode ?? "",
|
|
@@ -142,10 +141,10 @@ const N = I, T = () => {
|
|
|
142
141
|
tabMap: e.tabMap ?? {},
|
|
143
142
|
preTab: e.preTab ?? {}
|
|
144
143
|
};
|
|
145
|
-
},
|
|
144
|
+
}, z = () => {
|
|
146
145
|
const e = u(), t = sessionStorage.getItem("minioAddress");
|
|
147
146
|
return t || (e.baseURL ? e.baseURL : location.origin);
|
|
148
|
-
},
|
|
147
|
+
}, x = () => ({
|
|
149
148
|
instanceInfo: JSON.parse(sessionStorage.getItem("instance") || "{}").instanceInfo ?? {}
|
|
150
149
|
}), F = () => localStorage.getItem("fav-icon") || "./logo.svg";
|
|
151
150
|
N() || S();
|
|
@@ -153,20 +152,20 @@ var i;
|
|
|
153
152
|
(i = C()) != null && i.id || y();
|
|
154
153
|
export {
|
|
155
154
|
F as getFavIcon,
|
|
156
|
-
|
|
157
|
-
|
|
155
|
+
f as getHomeInfo,
|
|
156
|
+
x as getInstanceInfo,
|
|
158
157
|
M as getLanguages,
|
|
159
158
|
U as getMenus,
|
|
160
|
-
|
|
159
|
+
z as getMinioAddress,
|
|
161
160
|
j as getPageAuth,
|
|
162
161
|
D as getPageAuthBtn,
|
|
163
162
|
k as getPersonalConfig,
|
|
164
163
|
J as getPersonalInfo,
|
|
165
164
|
C as getProjectInfo,
|
|
166
|
-
|
|
165
|
+
v as getProjectMessage,
|
|
167
166
|
m as getSubApps,
|
|
168
|
-
|
|
167
|
+
E as getTabInfo,
|
|
169
168
|
O as getTenantInfo,
|
|
170
169
|
N as getToken,
|
|
171
|
-
|
|
170
|
+
A as getUserInfo
|
|
172
171
|
};
|
package/common-info/index.js.gz
CHANGED
|
Binary file
|