@das-fed/web 7.0.7-hot.57 → 7.0.7-hot.58

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/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@das-fed/web",
3
- "version": "7.0.7-hot.57",
3
+ "version": "7.0.7-hot.58",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "dependencies": {
7
- "@das-fed/ui": "7.0.7-hot.57",
8
- "@das-fed/utils": "7.0.7-hot.57",
9
- "@das-fed/web": "7.0.7-hot.57",
10
- "@das-fed/web-components": "7.0.7-hot.57",
7
+ "@das-fed/ui": "7.0.7-hot.58",
8
+ "@das-fed/utils": "7.0.7-hot.58",
9
+ "@das-fed/web": "7.0.7-hot.58",
10
+ "@das-fed/web-components": "7.0.7-hot.58",
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.57",
22
+ "@das-fed/cli": "7.0.7-hot.58",
23
23
  "@types/crypto-js": "^4.2.2",
24
24
  "@types/lodash": "^4.14.194",
25
25
  "@types/lodash-es": "^4.17.12",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as r } from "vue";
2
- import { _ as c } from "./index-DEJ4UzwO.js";
2
+ import { _ as c } from "./index-CuDzwEwX.js";
3
3
  const o = {};
4
4
  function t(n, _) {
5
5
  return r(), e("div");
@@ -16,8 +16,8 @@ import { setProcessEngineProject as sd, setProcessEngineToken as sC } from "@das
16
16
  import { oauthServer as ld, justauth as L0, enterpriseright as na, iotModules as lC, portal as jn, systemConfiguration as ra, oauthClient as cC } from "@das-fed/utils/api-services/modules";
17
17
  import { createService as wt } from "@das-fed/utils/create-api-service";
18
18
  import { getConfig as Vn } from "@das-fed/utils/config";
19
- import { getAccessToken as uC, removeAccessToken as fC, getAccessTokenInfo as Mi } from "@das-fed/utils/token-tools";
20
- import { login as cd, real_uri as ud, getTokenParams as $0, getLoginType as dC, tokenStorage as fd, refreshToken as pC } from "@das-fed/utils/create-api-service/sso";
19
+ import { getAccessToken as uC, clearPlatformAuthStorage as fC, tokenStorage as cd, getAccessTokenInfo as Mi } from "@das-fed/utils/token-tools";
20
+ import { login as ud, real_uri as fd, getTokenParams as $0, getLoginType as dC, refreshToken as pC } from "@das-fed/utils/create-api-service/sso";
21
21
  import { hasUnauthorizedRecovery as hC } from "@das-fed/utils/create-api-service/unauthorized-recovery";
22
22
  import { useGetAuth as vC } from "@das-fed/utils/hooks/use-get-auth";
23
23
  import { systemConfiguration as xC, portal as gC, enterpriseright as N0, createService as io, spaceManage as dd } from "@das-fed/utils/api-services";
@@ -5856,7 +5856,7 @@ async function C2(i) {
5856
5856
  let h = p;
5857
5857
  if (Td(p)) {
5858
5858
  if (!qn())
5859
- return cd({ ...$0, redirect_uri: ud }), "goLogin";
5859
+ return ud({ ...$0, redirect_uri: fd }), "goLogin";
5860
5860
  h = await Fd(p);
5861
5861
  }
5862
5862
  n[f] = h;
@@ -5870,7 +5870,7 @@ async function y2(i) {
5870
5870
  let a = i[n] || {}, { attributeContentEnum: l, paramName: c, attributeContent: f, paramType: p, isEncrypted: h } = a, s = c, d = f;
5871
5871
  if (Td(l)) {
5872
5872
  if (!qn())
5873
- return cd({ ...$0, redirect_uri: ud }), "goLogin";
5873
+ return ud({ ...$0, redirect_uri: fd }), "goLogin";
5874
5874
  d = await Fd(l);
5875
5875
  } else if (p === Id.JSON && (d = await C2(f), d === "goLogin"))
5876
5876
  return "goLogin";
@@ -12633,7 +12633,7 @@ const eE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, tE = n
12633
12633
  s.set(x, String(_));
12634
12634
  });
12635
12635
  const d = s.toString(), w = `${n.baseURL}${YE.logout}?${d}`;
12636
- window.__isAutoCloseApp = !1, _C() ? await CC(w) : location.replace(w), localStorage.removeItem("idelTime"), sessionStorage.clear(), fC();
12636
+ window.__isAutoCloseApp = !1, _C() ? await CC(w) : (fC(), location.replace(w));
12637
12637
  }, { entryApp: l } = cr(), c = async () => {
12638
12638
  const f = "personCenter", h = (Oe().appcategorys || []).map((_) => _.apps).flat(), { originalMenus: s = [] } = await ua(f), w = nn(s).filter((_) => _.isMenu && _.routeUrl).find((_) => _.routeUrl === "/userInfo");
12639
12639
  if (w != null && w.disable || w != null && w.expired) {
@@ -12680,7 +12680,7 @@ const eE = new URL("assets/setected-tvECHVG9.svg", import.meta.url).href, tE = n
12680
12680
  refreshToken: w,
12681
12681
  info: s
12682
12682
  };
12683
- fd().save(v);
12683
+ cd().save(v);
12684
12684
  const m = {
12685
12685
  id: _,
12686
12686
  name: C,
@@ -16336,7 +16336,7 @@ const wS = () => {
16336
16336
  }, a = async () => {
16337
16337
  if (!hC())
16338
16338
  try {
16339
- const { refreshToken: v } = fd().getData();
16339
+ const { refreshToken: v } = cd().getData();
16340
16340
  if (!v)
16341
16341
  return;
16342
16342
  await pC($0) && f();
@@ -16686,7 +16686,7 @@ z("@das-fed/web");
16686
16686
  const TS = [
16687
16687
  {
16688
16688
  path: jt,
16689
- component: () => import("./index-BjGHESUs.js"),
16689
+ component: () => import("./index-CwPhZ7VL.js"),
16690
16690
  meta: {
16691
16691
  layout: {
16692
16692
  minWidth: "0px"
@@ -16695,7 +16695,7 @@ const TS = [
16695
16695
  },
16696
16696
  {
16697
16697
  path: gd,
16698
- component: () => import("./index-_-DzRcm4.js")
16698
+ component: () => import("./index-BLOwaLgb.js")
16699
16699
  }
16700
16700
  ], O5 = {
16701
16701
  routes: TS,
@@ -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-DEJ4UzwO.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-CuDzwEwX.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,5 +1,5 @@
1
1
  import "vue";
2
- import { m as a } from "./index-DEJ4UzwO.js";
2
+ import { m as a } from "./index-CuDzwEwX.js";
3
3
  import "@das-fed/web/packages/i18n/index";
4
4
  export {
5
5
  a as mainAppFramework