@das-fed/web 7.0.7-hot.35 → 7.0.7-hot.36
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-BT3qbm5T.js → index-6-zaGlHD.js} +1 -1
- package/{index-BNFskqO8.js → index-AM3Tb1_e.js} +1 -1
- package/index-AM3Tb1_e.js.gz +0 -0
- package/{index-9JwQzCBa.js → index-zBCFw79i.js} +16 -9
- package/index-zBCFw79i.js.gz +0 -0
- package/index.js +1 -1
- package/package.json +6 -6
- package/packages/layout/index.js +136 -129
- package/packages/layout/index.js.gz +0 -0
- package/packages/layout/style.css +1 -1
- package/packages/layout/style.css.gz +0 -0
- package/style.css +1 -1
- package/style.css.gz +0 -0
- package/index-9JwQzCBa.js.gz +0 -0
- package/index-BNFskqO8.js.gz +0 -0
|
@@ -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-zBCFw79i.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
|
|
@@ -794,15 +794,22 @@ const c1 = (n, v) => {
|
|
|
794
794
|
}));
|
|
795
795
|
let O = /* @__PURE__ */ new Map();
|
|
796
796
|
const N = (T, W) => {
|
|
797
|
+
if (!T) return null;
|
|
797
798
|
let D;
|
|
798
799
|
return O.has(W) ? D = O.get(W) : (D = {
|
|
799
|
-
name: W,
|
|
800
|
+
name: W.replace(/\//g, "_"),
|
|
801
|
+
// 给组件一个合法且唯一的 name
|
|
800
802
|
render() {
|
|
801
803
|
return N9("div", { style: { width: "100%", height: "100%" } }, [N9(T)]);
|
|
802
804
|
}
|
|
803
805
|
}, O.set(W, D)), D;
|
|
804
806
|
};
|
|
805
|
-
return (
|
|
807
|
+
return FA(
|
|
808
|
+
() => v.routeKeepAliveVisible,
|
|
809
|
+
(T) => {
|
|
810
|
+
T || O.clear();
|
|
811
|
+
}
|
|
812
|
+
), (T, W) => {
|
|
806
813
|
const D = Na("router-view");
|
|
807
814
|
return cA(), ZA("div", ri, [
|
|
808
815
|
q9(nA(
|
|
@@ -876,11 +883,11 @@ const c1 = (n, v) => {
|
|
|
876
883
|
exclude: m.value
|
|
877
884
|
}, [
|
|
878
885
|
q.value && !((E = j(e).meta) != null && E.isIframe) ? (cA(), wA(q3(N(y, j(e).path)), {
|
|
879
|
-
key: j(e).
|
|
886
|
+
key: j(e).fullPath
|
|
880
887
|
})) : mA("v-if", !0)
|
|
881
888
|
], 1032, ["exclude"])) : !j(e).meta.keepAlive && !j(e).meta.isIframe ? (cA(), ZA("div", {
|
|
882
889
|
style: { width: "100%", height: "100%" },
|
|
883
|
-
key: j(e).
|
|
890
|
+
key: j(e).fullPath
|
|
884
891
|
}, [
|
|
885
892
|
(cA(), wA(q3(y)))
|
|
886
893
|
])) : mA("v-if", !0)
|
|
@@ -900,11 +907,11 @@ const c1 = (n, v) => {
|
|
|
900
907
|
exclude: m.value
|
|
901
908
|
}, [
|
|
902
909
|
q.value && !j(e).meta.isIframe ? (cA(), wA(q3(N(y, j(e).path)), {
|
|
903
|
-
key: j(e).
|
|
910
|
+
key: j(e).fullPath
|
|
904
911
|
})) : mA("v-if", !0)
|
|
905
912
|
], 1032, ["exclude"])) : !j(e).meta.keepAlive && !j(e).meta.isIframe ? (cA(), ZA("div", {
|
|
906
913
|
style: { width: "100%", height: "100%" },
|
|
907
|
-
key: j(e).
|
|
914
|
+
key: j(e).fullPath
|
|
908
915
|
}, [
|
|
909
916
|
(cA(), wA(q3(y)))
|
|
910
917
|
])) : mA("v-if", !0)
|
|
@@ -953,7 +960,7 @@ const c1 = (n, v) => {
|
|
|
953
960
|
]);
|
|
954
961
|
};
|
|
955
962
|
}
|
|
956
|
-
}), MZ = /* @__PURE__ */ m9(qi, [["__scopeId", "data-v-
|
|
963
|
+
}), MZ = /* @__PURE__ */ m9(qi, [["__scopeId", "data-v-50d047ed"]]), si = ["theme", "modelValue", "logoUrl", "config", "innerPagesConfig", "searchConfig", "projectTreeConfig", "userInfoConfig"], kZ = /* @__PURE__ */ SA({
|
|
957
964
|
__name: "das-web-nav",
|
|
958
965
|
setup(n) {
|
|
959
966
|
const { nav: v } = We, e = lA(() => v.theme), t = lA(() => v.logo || ""), u = lA(() => v.activeItem || ""), P = lA(() => (v.items || []).filter((y) => y.fixed)), z = lA(() => (v.items || []).filter((y) => !y.fixed)), b = lA(() => {
|
|
@@ -18126,7 +18133,7 @@ g("@das-fed/web");
|
|
|
18126
18133
|
const lN = [
|
|
18127
18134
|
{
|
|
18128
18135
|
path: ef,
|
|
18129
|
-
component: () => import("./index-
|
|
18136
|
+
component: () => import("./index-AM3Tb1_e.js"),
|
|
18130
18137
|
meta: {
|
|
18131
18138
|
layout: {
|
|
18132
18139
|
minWidth: "0px"
|
|
@@ -18135,7 +18142,7 @@ const lN = [
|
|
|
18135
18142
|
},
|
|
18136
18143
|
{
|
|
18137
18144
|
path: zd,
|
|
18138
|
-
component: () => import("./index-
|
|
18145
|
+
component: () => import("./index-6-zaGlHD.js")
|
|
18139
18146
|
}
|
|
18140
18147
|
], YZ = {
|
|
18141
18148
|
routes: lN,
|
|
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-zBCFw79i.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.36",
|
|
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.36",
|
|
8
|
+
"@das-fed/utils": "7.0.7-hot.36",
|
|
9
|
+
"@das-fed/web": "7.0.7-hot.36",
|
|
10
|
+
"@das-fed/web-components": "7.0.7-hot.36",
|
|
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.36",
|
|
23
23
|
"@types/crypto-js": "^4.2.2",
|
|
24
24
|
"@types/lodash": "^4.14.194",
|
|
25
25
|
"@types/lodash-es": "^4.17.12",
|