@das-fed/web 7.0.7-hot.7 → 7.0.7-hot.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.
@@ -14009,6 +14009,7 @@ const JO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
14009
14009
  FA(
14010
14010
  () => t.currentRoute.value,
14011
14011
  async (c) => {
14012
+ localStorage.removeItem("loginType");
14012
14013
  const x = c.query.loginType || "";
14013
14014
  if (x && localStorage.setItem("loginType", x), !(c.path === a && Fr(c.query, d))) {
14014
14015
  if (a = H3(c.path), d = H3(c.query), d && d.source && localStorage.setItem("thirdLogouSource", d.source), await v(), q9.innerSet) {
@@ -14051,7 +14052,7 @@ const JO = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
14051
14052
  }, x = localStorage.getItem("loginType") || "";
14052
14053
  x && (c.redirect_uri = e0(c.redirect_uri, { loginType: x })), e.ssoLocale && (c.locale = "locale");
14053
14054
  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"), localStorage.removeItem("loginType"), sessionStorage.clear(), z0();
14055
+ window.__isAutoCloseApp = !1, t() ? P(s) : location.replace(s), localStorage.removeItem("idelTime"), sessionStorage.clear(), z0();
14055
14056
  }, { entryApp: z } = He(), b = async () => {
14056
14057
  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
14058
  if (s != null && s.disable || s != null && s.expired) {
@@ -18009,11 +18010,11 @@ g("@das-fed/web");
18009
18010
  const cN = [
18010
18011
  {
18011
18012
  path: xf,
18012
- component: () => import("./index-Dvl5mhJf.js")
18013
+ component: () => import("./index-D26v6k9t.js")
18013
18014
  },
18014
18015
  {
18015
18016
  path: td,
18016
- component: () => import("./index-BlI46s-_.js")
18017
+ component: () => import("./index-CrD32YQw.js")
18017
18018
  }
18018
18019
  ], kZ = {
18019
18020
  routes: cN,
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as r } from "vue";
2
- import { _ as c } from "./index-CAFKH2I_.js";
2
+ import { _ as c } from "./index-CjNQkH3Y.js";
3
3
  const o = {};
4
4
  function t(n, _) {
5
5
  return r(), e("div");
@@ -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-BWYBeYoB.js";
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-CjNQkH3Y.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-CAFKH2I_.js";
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-CjNQkH3Y.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.7",
3
+ "version": "7.0.7-hot.8",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "dependencies": {
7
- "@das-fed/ui": "7.0.7-hot.7",
8
- "@das-fed/utils": "7.0.7-hot.7",
9
- "@das-fed/web": "7.0.7-hot.7",
10
- "@das-fed/web-components": "7.0.7-hot.7",
7
+ "@das-fed/ui": "7.0.7-hot.8",
8
+ "@das-fed/utils": "7.0.7-hot.8",
9
+ "@das-fed/web": "7.0.7-hot.8",
10
+ "@das-fed/web-components": "7.0.7-hot.8",
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.7",
22
+ "@das-fed/cli": "7.0.7-hot.8",
23
23
  "@types/crypto-js": "^4.2.2",
24
24
  "@types/lodash": "^4.14.194",
25
25
  "@types/lodash-es": "^4.17.12",
@@ -12542,6 +12542,7 @@ const GH = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
12542
12542
  l9(
12543
12543
  () => P.currentRoute.value,
12544
12544
  async (b) => {
12545
+ localStorage.removeItem("loginType");
12545
12546
  const R = b.query.loginType || "";
12546
12547
  if (R && localStorage.setItem("loginType", R), !(b.path === a && sr(b.query, t))) {
12547
12548
  if (a = v7(b.path), t = v7(b.query), t && t.source && localStorage.setItem("thirdLogouSource", t.source), await e(), z9.innerSet) {
@@ -12584,7 +12585,7 @@ const GH = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
12584
12585
  }, R = localStorage.getItem("loginType") || "";
12585
12586
  R && (b.redirect_uri = e0(b.redirect_uri, { loginType: R })), v.ssoLocale && (b.locale = "locale");
12586
12587
  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"), localStorage.removeItem("loginType"), sessionStorage.clear(), X0();
12588
+ window.__isAutoCloseApp = !1, P() ? u(H) : location.replace(H), localStorage.removeItem("idelTime"), sessionStorage.clear(), X0();
12588
12589
  }, { entryApp: X } = d3(), c = async () => {
12589
12590
  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
12591
  if (H != null && H.disable || H != null && H.expired) {
@@ -16542,11 +16543,11 @@ B("@das-fed/web");
16542
16543
  const qx = [
16543
16544
  {
16544
16545
  path: bf,
16545
- component: () => import("./index-DWOOygIn.js")
16546
+ component: () => import("./index-DusfrBwt.js")
16546
16547
  },
16547
16548
  {
16548
16549
  path: z6,
16549
- component: () => import("./index-DIJfFyTT.js")
16550
+ component: () => import("./index-BzKyG8bf.js")
16550
16551
  }
16551
16552
  ], HR = {
16552
16553
  routes: qx,
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as r } from "vue";
2
- import { _ as c } from "./index-BWYBeYoB.js";
2
+ import { _ as c } from "./index-Bfq4syuK.js";
3
3
  const o = {};
4
4
  function t(n, _) {
5
5
  return r(), e("div");
@@ -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-CAFKH2I_.js";
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-Bfq4syuK.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) {
@@ -1,6 +1,6 @@
1
1
  import '@das-fed/web/packages/main-app-framework/style.css';
2
2
  import "vue";
3
- import { m as a } from "./index-BWYBeYoB.js";
3
+ import { m as a } from "./index-Bfq4syuK.js";
4
4
  import "@das-fed/web/packages/i18n/index";
5
5
  export {
6
6
  a as mainAppFramework
Binary file