@das-fed/web 6.4.0-dev.54.2 → 6.4.0-dev.54.3
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/esm-map.json +2 -1
- package/i18n-collection/en.js +5 -5
- package/{index-CnmdXghP.js → index-CVrIOIF8.js} +459 -451
- package/index-CVrIOIF8.js.gz +0 -0
- package/{index-Bc3Qo-La.js → index-DNAkEIYA.js} +1 -1
- package/index-DNAkEIYA.js.gz +0 -0
- package/{packages/main-app-framework/index-DhVsPL7v.js → index-DtTAm1kw.js} +1 -1
- package/index.js +21 -20
- package/package.json +6 -6
- package/packages/i18n/index.js +34 -32
- package/packages/i18n/index.js.gz +0 -0
- package/{index-Bi9gwPD6.js → packages/main-app-framework/index-C32Z4bll.js} +1 -1
- package/packages/main-app-framework/{index-pPD9H37y.js → index-CsywGkyZ.js} +1 -1
- package/packages/main-app-framework/index-CsywGkyZ.js.gz +0 -0
- package/packages/main-app-framework/{index-Dwkz-q7X.js → index-J3-aFHZI.js} +306 -300
- package/packages/main-app-framework/{index-Dwkz-q7X.js.gz → index-J3-aFHZI.js.gz} +0 -0
- package/packages/main-app-framework/index.js +1 -1
- package/types/i18n/index.d.ts +3 -2
- package/index-Bc3Qo-La.js.gz +0 -0
- package/index-CnmdXghP.js.gz +0 -0
- package/packages/main-app-framework/index-pPD9H37y.js.gz +0 -0
|
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 q, a as u, c as f, b as B, l as P, d as K } from "./index-
|
|
9
|
+
import { u as L, p as q, a as u, c as f, b as B, l as P, d as K } from "./index-CVrIOIF8.js";
|
|
10
10
|
const M = "v1", N = E(`/api/justauth/client/${M}`), O = N.get("/visitor/kingdee/auth/user/auth_code"), Z = /* @__PURE__ */ k({
|
|
11
11
|
__name: "index",
|
|
12
12
|
setup(V) {
|
|
Binary file
|
package/index.js
CHANGED
|
@@ -1,31 +1,32 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { I as e, z as t, B as n, A as i, C as r, e as u, k as o, v as g, n as m, g as p, j as D, r as l, x as L, y as b, f as c, i as h, F as A, G as T, o as y, D as R, E as W, J as I, H as M, s as F, h as V, m as f, q as k, w as v, t as w } from "./index-CVrIOIF8.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
e as DasMainAppLayout,
|
|
4
4
|
t as DasWebLayout,
|
|
5
5
|
n as DasWebMenu,
|
|
6
6
|
i as DasWebNav,
|
|
7
7
|
r as DasWebTabs,
|
|
8
8
|
u as createDasWebApp,
|
|
9
9
|
o as currentLang,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
g as currentTheme,
|
|
11
|
+
m as customLangeData,
|
|
12
|
+
p as getI18nRule,
|
|
13
|
+
D as getLang,
|
|
13
14
|
l as getThemeRule,
|
|
14
|
-
|
|
15
|
+
L as getVar,
|
|
15
16
|
b as getVarValue,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
c as i18n,
|
|
18
|
+
h as initI18n,
|
|
19
|
+
A as initMainApp,
|
|
19
20
|
T as initMicroApp,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
21
|
+
y as initTheme,
|
|
22
|
+
R as layout,
|
|
23
|
+
W as layoutData,
|
|
24
|
+
I as mainAppFramework,
|
|
25
|
+
M as microFrontend,
|
|
26
|
+
F as setI18nRule,
|
|
27
|
+
V as setLang,
|
|
28
|
+
f as setLangRule,
|
|
29
|
+
k as setTheme,
|
|
30
|
+
v as setThemeRule,
|
|
31
|
+
w as t
|
|
31
32
|
};
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@das-fed/web",
|
|
3
|
-
"version": "6.4.0-dev.54.
|
|
3
|
+
"version": "6.4.0-dev.54.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@das-fed/ui": "6.4.0-dev.54.
|
|
8
|
-
"@das-fed/utils": "6.4.0-dev.54.
|
|
9
|
-
"@das-fed/web": "6.4.0-dev.54.
|
|
10
|
-
"@das-fed/web-components": "6.4.0-dev.54.
|
|
7
|
+
"@das-fed/ui": "6.4.0-dev.54.3",
|
|
8
|
+
"@das-fed/utils": "6.4.0-dev.54.3",
|
|
9
|
+
"@das-fed/web": "6.4.0-dev.54.3",
|
|
10
|
+
"@das-fed/web-components": "6.4.0-dev.54.3",
|
|
11
11
|
"@microsoft/signalr": "^8.0.7",
|
|
12
12
|
"@vueuse/core": "^9.13.0",
|
|
13
13
|
"animate.css": "^4.1.1",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"vue-router": "^4.4.0"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@das-fed/cli": "6.4.0-dev.54.
|
|
21
|
+
"@das-fed/cli": "6.4.0-dev.54.3",
|
|
22
22
|
"@types/lodash": "^4.14.194",
|
|
23
23
|
"@types/lodash-es": "^4.17.12",
|
|
24
24
|
"@vitejs/plugin-vue": "^5.1.0",
|
package/packages/i18n/index.js
CHANGED
|
@@ -1,40 +1,42 @@
|
|
|
1
|
-
import { reactive as
|
|
2
|
-
const a =
|
|
3
|
-
const
|
|
1
|
+
import { reactive as g, ref as u, computed as b } from "vue";
|
|
2
|
+
const a = g({}), i = g({}), r = u("zh-CN"), m = "dasI18n", z = (n = {}, l) => {
|
|
3
|
+
const t = l === "global", c = !t, s = {};
|
|
4
4
|
for (const e in n)
|
|
5
|
-
|
|
6
|
-
},
|
|
7
|
-
|
|
5
|
+
for (const o in n[e])
|
|
6
|
+
s[o] || (s[o] = {}), s[o][e] = n[e][o] ?? "", t && (i[o] || (i[o] = {}), i[o][e] = s[o][e]), c && (a[o] || (a[o] = {}), a[o][e] = s[o][e]);
|
|
7
|
+
}, f = (n = {}, l) => {
|
|
8
|
+
const t = l === "global", c = !t;
|
|
8
9
|
for (const s in n)
|
|
9
|
-
t && !
|
|
10
|
-
},
|
|
11
|
-
var
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
let t = Object.assign(((
|
|
10
|
+
t && !i[s] && (i[s] = n[s]), c && !a[s] && (a[s] = n[s]);
|
|
11
|
+
}, C = async (n) => {
|
|
12
|
+
var c, s;
|
|
13
|
+
const l = window[m];
|
|
14
|
+
l && f(l, "global");
|
|
15
|
+
let t = Object.assign(((c = n == null ? void 0 : n.i18n) == null ? void 0 : c.glob) || {});
|
|
15
16
|
(s = n == null ? void 0 : n.microApps) == null || s.map((e) => {
|
|
16
|
-
var
|
|
17
|
-
t = Object.assign(t, ((
|
|
18
|
-
}), Object.values(t).filter((e) => !!e).flat().map((e) =>
|
|
19
|
-
},
|
|
20
|
-
let t =
|
|
17
|
+
var o;
|
|
18
|
+
t = Object.assign(t, ((o = e.i18n) == null ? void 0 : o.glob) || {});
|
|
19
|
+
}), Object.values(t).filter((e) => !!e).flat().map((e) => f(e));
|
|
20
|
+
}, I = (n, ...l) => b(() => {
|
|
21
|
+
let t = i[n] || a[n] || n;
|
|
21
22
|
if (t === n) return n;
|
|
22
23
|
typeof t == "string" && (t = { "zh-CN": t });
|
|
23
|
-
let
|
|
24
|
-
return
|
|
25
|
-
|
|
26
|
-
}),
|
|
27
|
-
}),
|
|
28
|
-
|
|
29
|
-
}, N = () =>
|
|
24
|
+
let c = t[r.value];
|
|
25
|
+
return r.value === "zh-CN" && t["zh-cn"] && !t["zh-CN"] && (c = t["zh-cn"]), l.map((s, e) => {
|
|
26
|
+
c = c.replace(`$${e}`, s);
|
|
27
|
+
}), c;
|
|
28
|
+
}), h = I, D = (n, ...l) => h(n, ...l).value, L = (n) => {
|
|
29
|
+
r.value = n;
|
|
30
|
+
}, N = () => r;
|
|
30
31
|
export {
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
r as currentLang,
|
|
33
|
+
a as customLangeData,
|
|
34
|
+
I as getI18nRule,
|
|
33
35
|
N as getLang,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
h as i18n,
|
|
37
|
+
C as initI18n,
|
|
38
|
+
f as setI18nRule,
|
|
39
|
+
L as setLang,
|
|
40
|
+
z as setLangRule,
|
|
41
|
+
D as t
|
|
40
42
|
};
|
|
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 q, a as u, c as f, b as B, l as P, d as K } from "./index-
|
|
9
|
+
import { u as L, p as q, a as u, c as f, b as B, l as P, d as K } from "./index-J3-aFHZI.js";
|
|
10
10
|
const M = "v1", N = E(`/api/justauth/client/${M}`), O = N.get("/visitor/kingdee/auth/user/auth_code"), Z = /* @__PURE__ */ k({
|
|
11
11
|
__name: "index",
|
|
12
12
|
setup(V) {
|
|
Binary file
|