@das-fed/web 7.0.7-hot.4 → 7.0.7-hot.6
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/{index-Dd5IG0LM.js → index-BvMPIPcw.js} +6 -6
- package/{index-Dd5IG0LM.js.gz → index-BvMPIPcw.js.gz} +0 -0
- package/{index-DVaL7cmW.js → index-CtwGrzH9.js} +1 -1
- package/{packages/main-app-framework/index-7BoZiicm.js → index-E77gum55.js} +1 -1
- package/index-E77gum55.js.gz +0 -0
- package/index.js +1 -1
- package/package.json +6 -6
- package/{index-ZteIZHLW.js → packages/main-app-framework/index-76Uhoeeg.js} +1 -1
- package/packages/main-app-framework/index-76Uhoeeg.js.gz +0 -0
- package/packages/main-app-framework/{index-HimW4rhP.js → index-B3BnT3-C.js} +6 -6
- package/packages/main-app-framework/{index-HimW4rhP.js.gz → index-B3BnT3-C.js.gz} +0 -0
- package/packages/main-app-framework/{index-BlDFy06J.js → index-DxTe9g1t.js} +1 -1
- package/packages/main-app-framework/index.js +1 -1
- package/index-ZteIZHLW.js.gz +0 -0
- package/packages/main-app-framework/index-7BoZiicm.js.gz +0 -0
|
@@ -14010,7 +14010,7 @@ const gO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
14010
14010
|
() => t.currentRoute.value,
|
|
14011
14011
|
async (c) => {
|
|
14012
14012
|
const x = c.query.loginType || "";
|
|
14013
|
-
if (
|
|
14013
|
+
if (localStorage.setItem("loginType", x), !(c.path === a && Fr(c.query, d))) {
|
|
14014
14014
|
if (a = H3(c.path), d = H3(c.query), d && d.source && localStorage.setItem("thirdLogouSource", d.source), await v(), q9.innerSet) {
|
|
14015
14015
|
q9.innerSet = !1;
|
|
14016
14016
|
return;
|
|
@@ -14048,10 +14048,10 @@ const gO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
14048
14048
|
logout_token: ve(),
|
|
14049
14049
|
// 写用户访问日志逻辑配合
|
|
14050
14050
|
logout: "true"
|
|
14051
|
-
}, x = localStorage.getItem("loginType");
|
|
14052
|
-
|
|
14051
|
+
}, x = localStorage.getItem("loginType") || "";
|
|
14052
|
+
c.loginType = x, e.ssoLocale && (c.locale = "locale");
|
|
14053
14053
|
const i = Object.keys(c).map((q) => `${q}=${c[q]}`).join("&"), s = `${e.baseURL}${a.logout}?${i}`;
|
|
14054
|
-
window.__isAutoCloseApp = !1, t() ? P(s) : location.replace(s), localStorage.removeItem("idelTime"),
|
|
14054
|
+
window.__isAutoCloseApp = !1, t() ? P(s) : location.replace(s), localStorage.removeItem("idelTime"), sessionStorage.clear(), d0();
|
|
14055
14055
|
}, { entryApp: z } = He(), b = async () => {
|
|
14056
14056
|
const a = "personCenter", c = (GA().appcategorys || []).map((O) => O.apps).flat(), { originalMenus: x = [] } = await Rt(a), s = Rf(x).filter((O) => O.isMenu && O.routeUrl).find((O) => O.routeUrl === "/userInfo");
|
|
14057
14057
|
if (s != null && s.disable || s != null && s.expired) {
|
|
@@ -18009,11 +18009,11 @@ g("@das-fed/web");
|
|
|
18009
18009
|
const bN = [
|
|
18010
18010
|
{
|
|
18011
18011
|
path: xf,
|
|
18012
|
-
component: () => import("./index-
|
|
18012
|
+
component: () => import("./index-E77gum55.js")
|
|
18013
18013
|
},
|
|
18014
18014
|
{
|
|
18015
18015
|
path: td,
|
|
18016
|
-
component: () => import("./index-
|
|
18016
|
+
component: () => import("./index-CtwGrzH9.js")
|
|
18017
18017
|
}
|
|
18018
18018
|
], MZ = {
|
|
18019
18019
|
routes: bN,
|
|
Binary file
|
|
@@ -6,7 +6,7 @@ import { DasSpin as T } from "@das-fed/ui/packages/components/spin/index";
|
|
|
6
6
|
import { getTabInfo as b } from "@das-fed/utils/common-info";
|
|
7
7
|
import { setShowLayout as E } from "@das-fed/utils/common-tools";
|
|
8
8
|
import { createService as L } from "@das-fed/utils/create-api-service";
|
|
9
|
-
import { u as P, p as q, a as u, c as d, b as B, l as K, g as M, d as N } from "./index-
|
|
9
|
+
import { u as P, p as q, a as u, c as d, b as B, l as K, g as M, d as N } from "./index-BvMPIPcw.js";
|
|
10
10
|
const O = "v1", V = L(`/api/justauth/client/${O}`), F = V.get("/visitor/kingdee/auth/user/auth_code"), ee = /* @__PURE__ */ v({
|
|
11
11
|
__name: "index",
|
|
12
12
|
setup(G) {
|
|
Binary file
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { J as e, A as t, C as n, B as i, D as r, e as u, m as o, w as m, o as p, f as g, k as D, v as l, y as L, z as b, h as c, i as h, G as A, H as T, q as y, E as R, F as W, K as I, I as M, s as F, j as V, n as f, r as k, x as v, t as w } from "./index-
|
|
1
|
+
import { J as e, A as t, C as n, B as i, D as r, e as u, m as o, w as m, o as p, f as g, k as D, v as l, y as L, z as b, h as c, i as h, G as A, H as T, q as y, E as R, F as W, K as I, I as M, s as F, j as V, n as f, r as k, x as v, t as w } from "./index-BvMPIPcw.js";
|
|
2
2
|
export {
|
|
3
3
|
e as DasMainAppLayout,
|
|
4
4
|
t as DasWebLayout,
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@das-fed/web",
|
|
3
|
-
"version": "7.0.7-hot.
|
|
3
|
+
"version": "7.0.7-hot.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@das-fed/ui": "7.0.7-hot.
|
|
8
|
-
"@das-fed/utils": "7.0.7-hot.
|
|
9
|
-
"@das-fed/web": "7.0.7-hot.
|
|
10
|
-
"@das-fed/web-components": "7.0.7-hot.
|
|
7
|
+
"@das-fed/ui": "7.0.7-hot.6",
|
|
8
|
+
"@das-fed/utils": "7.0.7-hot.6",
|
|
9
|
+
"@das-fed/web": "7.0.7-hot.6",
|
|
10
|
+
"@das-fed/web-components": "7.0.7-hot.6",
|
|
11
11
|
"@microsoft/signalr": "^8.0.7",
|
|
12
12
|
"@vueuse/core": "^9.13.0",
|
|
13
13
|
"animate.css": "^4.1.1",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"vue-router": "^4.4.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@das-fed/cli": "7.0.7-hot.
|
|
22
|
+
"@das-fed/cli": "7.0.7-hot.6",
|
|
23
23
|
"@types/crypto-js": "^4.2.2",
|
|
24
24
|
"@types/lodash": "^4.14.194",
|
|
25
25
|
"@types/lodash-es": "^4.17.12",
|
|
@@ -6,7 +6,7 @@ import { DasSpin as T } from "@das-fed/ui/packages/components/spin/index";
|
|
|
6
6
|
import { getTabInfo as b } from "@das-fed/utils/common-info";
|
|
7
7
|
import { setShowLayout as E } from "@das-fed/utils/common-tools";
|
|
8
8
|
import { createService as L } from "@das-fed/utils/create-api-service";
|
|
9
|
-
import { u as P, p as q, a as u, c as d, b as B, l as K, g as M, d as N } from "./index-
|
|
9
|
+
import { u as P, p as q, a as u, c as d, b as B, l as K, g as M, d as N } from "./index-B3BnT3-C.js";
|
|
10
10
|
const O = "v1", V = L(`/api/justauth/client/${O}`), F = V.get("/visitor/kingdee/auth/user/auth_code"), ee = /* @__PURE__ */ v({
|
|
11
11
|
__name: "index",
|
|
12
12
|
setup(G) {
|
|
Binary file
|
|
@@ -12543,7 +12543,7 @@ const UH = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
12543
12543
|
() => P.currentRoute.value,
|
|
12544
12544
|
async (b) => {
|
|
12545
12545
|
const R = b.query.loginType || "";
|
|
12546
|
-
if (
|
|
12546
|
+
if (localStorage.setItem("loginType", R), !(b.path === a && sr(b.query, t))) {
|
|
12547
12547
|
if (a = v7(b.path), t = v7(b.query), t && t.source && localStorage.setItem("thirdLogouSource", t.source), await e(), z9.innerSet) {
|
|
12548
12548
|
z9.innerSet = !1;
|
|
12549
12549
|
return;
|
|
@@ -12581,10 +12581,10 @@ const UH = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
12581
12581
|
logout_token: Uf(),
|
|
12582
12582
|
// 写用户访问日志逻辑配合
|
|
12583
12583
|
logout: "true"
|
|
12584
|
-
}, R = localStorage.getItem("loginType");
|
|
12585
|
-
|
|
12584
|
+
}, R = localStorage.getItem("loginType") || "";
|
|
12585
|
+
b.loginType = R, v.ssoLocale && (b.locale = "locale");
|
|
12586
12586
|
const q = Object.keys(b).map((p) => `${p}=${b[p]}`).join("&"), H = `${v.baseURL}${a.logout}?${q}`;
|
|
12587
|
-
window.__isAutoCloseApp = !1, P() ? u(H) : location.replace(H), localStorage.removeItem("idelTime"),
|
|
12587
|
+
window.__isAutoCloseApp = !1, P() ? u(H) : location.replace(H), localStorage.removeItem("idelTime"), sessionStorage.clear(), z0();
|
|
12588
12588
|
}, { entryApp: X } = d3(), c = async () => {
|
|
12589
12589
|
const a = "personCenter", b = (gA().appcategorys || []).map((V) => V.apps).flat(), { originalMenus: R = [] } = await Ur(a), H = cf(R).filter((V) => V.isMenu && V.routeUrl).find((V) => V.routeUrl === "/userInfo");
|
|
12590
12590
|
if (H != null && H.disable || H != null && H.expired) {
|
|
@@ -16542,11 +16542,11 @@ B("@das-fed/web");
|
|
|
16542
16542
|
const ix = [
|
|
16543
16543
|
{
|
|
16544
16544
|
path: bf,
|
|
16545
|
-
component: () => import("./index-
|
|
16545
|
+
component: () => import("./index-76Uhoeeg.js")
|
|
16546
16546
|
},
|
|
16547
16547
|
{
|
|
16548
16548
|
path: z6,
|
|
16549
|
-
component: () => import("./index-
|
|
16549
|
+
component: () => import("./index-DxTe9g1t.js")
|
|
16550
16550
|
}
|
|
16551
16551
|
], lR = {
|
|
16552
16552
|
routes: ix,
|
|
Binary file
|
package/index-ZteIZHLW.js.gz
DELETED
|
Binary file
|
|
Binary file
|