@das-fed/web 7.0.1-beta.3 → 7.0.1-beta.5

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.
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as r } from "vue";
2
- import { _ as c } from "./index-DzkpMxF2.js";
2
+ import { _ as c } from "./index-DcwOUZ1-.js";
3
3
  const o = {};
4
4
  function t(n, _) {
5
5
  return r(), e("div");
@@ -8130,7 +8130,7 @@ const k9 = (f, A = "") => {
8130
8130
  if (f)
8131
8131
  return Hv.value = [], { fixedAppsConfig: [] };
8132
8132
  Hv.value = A;
8133
- const e = ((P = cA()) == null ? void 0 : P.subAppList) || [], v = e.map((u) => u.code), r = A.filter((u) => !v.includes(u.code)), n = I6.value.filter((u) => [...e, ...r].map((d) => d.code).includes(u.code));
8133
+ const e = ((P = cA()) == null ? void 0 : P.subAppList) || [], v = e.map((u) => u.code), r = A.filter((u) => !v.includes(u.code)), n = [...e, ...r].filter((u) => I6.value.find((d) => d.code === u.code));
8134
8134
  return SA([{ key: "subAppList", value: n }]), { fixedAppsConfig: A };
8135
8135
  }, Wn = "v1", M6 = J9.get("/organization/authProjectTree"), B6 = MA(`/api/customer/customer/${Wn}`), k6 = B6.get("/project/list"), Q6 = MA(`/api/project/project-server/${Wn}`), Y6 = Q6.get("/list/message"), G6 = async () => {
8136
8136
  var P, u;
@@ -9959,8 +9959,8 @@ const r8 = (f) => {
9959
9959
  return localStorage.getItem("thirdLogouSource") === "zhongshen" && (d = !0), d;
9960
9960
  }, r = (d) => {
9961
9961
  if (localStorage.getItem("thirdLogouSource") === "zhongshen") {
9962
- const z = `https://iam-uat.shenyejituan.com:6443/idp/profile/OAUTH2/Redirect/GLO?redirctToUrl=${encodeURIComponent(d)}&entityId=AIoT&redirectToLogin=true`;
9963
- localStorage.removeItem("thirdLogouSource"), location.href = z;
9962
+ const p = `https://iam.shenyejituan.com:6443/idp/profile/OAUTH2/Redirect/GLO?redirctToUrl=${encodeURIComponent(d)}&entityId=AIoT&redirectToLogin=true`;
9963
+ localStorage.removeItem("thirdLogouSource"), location.href = p;
9964
9964
  }
9965
9965
  }, n = async () => {
9966
9966
  const d = {
@@ -13902,11 +13902,11 @@ T("@das-fed/web");
13902
13902
  const sc = [
13903
13903
  {
13904
13904
  path: wA,
13905
- component: () => import("./index-CzUbZXox.js")
13905
+ component: () => import("./index-Dv1O0Bt7.js")
13906
13906
  },
13907
13907
  {
13908
13908
  path: Cv,
13909
- component: () => import("./index-3hqumG-u.js")
13909
+ component: () => import("./index-Cwi1llS_.js")
13910
13910
  }
13911
13911
  ], Mb = {
13912
13912
  routes: sc,
Binary file
@@ -6,7 +6,7 @@ import { DasSpin as x } from "@das-fed/ui/packages/components/spin/index";
6
6
  import { getTabInfo as T } from "@das-fed/utils/common-info";
7
7
  import { setShowLayout as b } from "@das-fed/utils/common-tools";
8
8
  import { createService as E } from "@das-fed/utils/create-api-service";
9
- import { u as L, p as P, a as u, c as f, b as q, l as B, g as K, d as M } from "./index-DNx_r6BJ.js";
9
+ import { u as L, p as P, a as u, c as f, b as q, l as B, g as K, d as M } from "./index-DcwOUZ1-.js";
10
10
  const N = "v1", O = E(`/api/justauth/client/${N}`), V = O.get("/visitor/kingdee/auth/user/auth_code"), z = /* @__PURE__ */ k({
11
11
  __name: "index",
12
12
  setup(F) {
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-DzkpMxF2.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-DcwOUZ1-.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.1-beta.3",
3
+ "version": "7.0.1-beta.5",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "dependencies": {
7
- "@das-fed/ui": "7.0.1-beta.3",
8
- "@das-fed/utils": "7.0.1-beta.3",
9
- "@das-fed/web": "7.0.1-beta.3",
10
- "@das-fed/web-components": "7.0.1-beta.3",
7
+ "@das-fed/ui": "7.0.1-beta.5",
8
+ "@das-fed/utils": "7.0.1-beta.5",
9
+ "@das-fed/web": "7.0.1-beta.5",
10
+ "@das-fed/web-components": "7.0.1-beta.5",
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.1-beta.3",
22
+ "@das-fed/cli": "7.0.1-beta.5",
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-DNx_r6BJ.js";
2
+ import { _ as c } from "./index-DJlPkIkp.js";
3
3
  const o = {};
4
4
  function t(n, _) {
5
5
  return r(), e("div");
@@ -6666,7 +6666,7 @@ const bf = (e, A = "") => {
6666
6666
  if (e)
6667
6667
  return Z3.value = [], { fixedAppsConfig: [] };
6668
6668
  Z3.value = A;
6669
- const f = ((t = uA()) == null ? void 0 : t.subAppList) || [], v = f.map((z) => z.code), r = A.filter((z) => !v.includes(z.code)), P = kd.value.filter((z) => [...f, ...r].map((d) => d.code).includes(z.code));
6669
+ const f = ((t = uA()) == null ? void 0 : t.subAppList) || [], v = f.map((z) => z.code), r = A.filter((z) => !v.includes(z.code)), P = [...f, ...r].filter((z) => kd.value.find((d) => d.code === z.code));
6670
6670
  return MA([{ key: "subAppList", value: P }]), { fixedAppsConfig: A };
6671
6671
  }, kv = "v1", Yd = xf.get("/organization/authProjectTree"), Gd = oA(`/api/customer/customer/${kv}`), Ud = Gd.get("/project/list"), Jd = oA(`/api/project/project-server/${kv}`), Fd = Jd.get("/list/message"), Sd = async () => {
6672
6672
  var t, z;
@@ -8495,8 +8495,8 @@ const z6 = (e) => {
8495
8495
  return localStorage.getItem("thirdLogouSource") === "zhongshen" && (d = !0), d;
8496
8496
  }, r = (d) => {
8497
8497
  if (localStorage.getItem("thirdLogouSource") === "zhongshen") {
8498
- const u = `https://iam-uat.shenyejituan.com:6443/idp/profile/OAUTH2/Redirect/GLO?redirctToUrl=${encodeURIComponent(d)}&entityId=AIoT&redirectToLogin=true`;
8499
- localStorage.removeItem("thirdLogouSource"), location.href = u;
8498
+ const x = `https://iam.shenyejituan.com:6443/idp/profile/OAUTH2/Redirect/GLO?redirctToUrl=${encodeURIComponent(d)}&entityId=AIoT&redirectToLogin=true`;
8499
+ localStorage.removeItem("thirdLogouSource"), location.href = x;
8500
8500
  }
8501
8501
  }, P = async () => {
8502
8502
  const d = {
@@ -12438,11 +12438,11 @@ o("@das-fed/web");
12438
12438
  const xX = [
12439
12439
  {
12440
12440
  path: RA,
12441
- component: () => import("./index-DTjoUit3.js")
12441
+ component: () => import("./index-DoWPII3c.js")
12442
12442
  },
12443
12443
  {
12444
12444
  path: fv,
12445
- component: () => import("./index-CUNCTIKf.js")
12445
+ component: () => import("./index-BBN2mEFi.js")
12446
12446
  }
12447
12447
  ], O2 = {
12448
12448
  routes: xX,
@@ -6,7 +6,7 @@ import { DasSpin as x } from "@das-fed/ui/packages/components/spin/index";
6
6
  import { getTabInfo as T } from "@das-fed/utils/common-info";
7
7
  import { setShowLayout as b } from "@das-fed/utils/common-tools";
8
8
  import { createService as E } from "@das-fed/utils/create-api-service";
9
- import { u as L, p as P, a as u, c as f, b as q, l as B, g as K, d as M } from "./index-DzkpMxF2.js";
9
+ import { u as L, p as P, a as u, c as f, b as q, l as B, g as K, d as M } from "./index-DJlPkIkp.js";
10
10
  const N = "v1", O = E(`/api/justauth/client/${N}`), V = O.get("/visitor/kingdee/auth/user/auth_code"), z = /* @__PURE__ */ k({
11
11
  __name: "index",
12
12
  setup(F) {
@@ -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-DNx_r6BJ.js";
3
+ import { m as a } from "./index-DJlPkIkp.js";
4
4
  import "@das-fed/web/packages/i18n/index";
5
5
  export {
6
6
  a as mainAppFramework
Binary file
Binary file
Binary file