@das-fed/web 7.0.7-hot.37 → 7.0.7-hot.39
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-Cb_k5Khi.js → index-BJXsWsq-.js} +2751 -2748
- package/index-BJXsWsq-.js.gz +0 -0
- package/{packages/main-app-framework/index-9DsPqzvB.js → index-DliL9LBv.js} +1 -1
- package/{index-900oqwH8.js → index-QDVSgZRq.js} +1 -1
- package/index-QDVSgZRq.js.gz +0 -0
- package/index.js +1 -1
- package/package.json +6 -6
- package/packages/i18n/index.js +34 -36
- package/packages/i18n/index.js.gz +0 -0
- package/{index-BFyGiPuz.js → packages/main-app-framework/index-B2q1kE6m.js} +1 -1
- package/packages/main-app-framework/{index-DrTsxZnw.js → index-Bo2069aB.js} +1 -1
- package/packages/main-app-framework/index-Bo2069aB.js.gz +0 -0
- package/packages/main-app-framework/{index-ClzxlHtx.js → index-CYGU1zn8.js} +7 -2
- package/packages/main-app-framework/{index-ClzxlHtx.js.gz → index-CYGU1zn8.js.gz} +0 -0
- package/packages/main-app-framework/index.js +1 -1
- package/types/main-app-framework/i18n/index.d.ts +5 -0
- package/index-900oqwH8.js.gz +0 -0
- package/index-Cb_k5Khi.js.gz +0 -0
- package/packages/main-app-framework/index-DrTsxZnw.js.gz +0 -0
|
Binary file
|
|
@@ -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-BJXsWsq-.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-
|
|
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-BJXsWsq-.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.39",
|
|
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.39",
|
|
8
|
+
"@das-fed/utils": "7.0.7-hot.39",
|
|
9
|
+
"@das-fed/web": "7.0.7-hot.39",
|
|
10
|
+
"@das-fed/web-components": "7.0.7-hot.39",
|
|
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.39",
|
|
23
23
|
"@types/crypto-js": "^4.2.2",
|
|
24
24
|
"@types/lodash": "^4.14.194",
|
|
25
25
|
"@types/lodash-es": "^4.17.12",
|
package/packages/i18n/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { reactive as
|
|
2
|
-
const
|
|
1
|
+
import { reactive as s, ref as z, computed as k } from "vue";
|
|
2
|
+
const _ = {
|
|
3
3
|
// 按钮
|
|
4
4
|
详情: { "zh-CN": "详情", en: "Details", _appCode: "framework" },
|
|
5
5
|
下载: { "zh-CN": "下载", en: "Download", _appCode: "framework" },
|
|
@@ -119,59 +119,57 @@ const l = {
|
|
|
119
119
|
删除失败: { "zh-CN": "删除失败", en: "Deleted Failed", _appCode: "framework" },
|
|
120
120
|
操作成功: { "zh-CN": "操作成功", en: "Operated Successfully", _appCode: "framework" },
|
|
121
121
|
操作失败: { "zh-CN": "操作失败", en: "Operated Failed", _appCode: "framework" }
|
|
122
|
-
},
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
var N;
|
|
126
|
-
const g = d || (sessionStorage.getItem("currentLang") ? sessionStorage.getItem("currentLang") : (N = navigator.language) != null && N.toLowerCase().startsWith("zh") ? "zh-CN" : "en"), h = k(g), u = "dasI18n", R = (e = {}, r) => {
|
|
122
|
+
}, d = s({}), f = s({}), t = s({});
|
|
123
|
+
var i;
|
|
124
|
+
const l = sessionStorage.getItem("currentLang") ? sessionStorage.getItem("currentLang") : (i = navigator.language) != null && i.toLowerCase().startsWith("zh") ? "zh-CN" : "en", m = z(l), c = "dasI18n", b = (e = {}, r) => {
|
|
127
125
|
const C = r === "global", n = !C, p = {};
|
|
128
126
|
for (const o in e)
|
|
129
127
|
for (const a in e[o])
|
|
130
|
-
p[a] || (p[a] = {}), p[a][o] = e[o][a] ?? "", C && (
|
|
131
|
-
},
|
|
128
|
+
p[a] || (p[a] = {}), p[a][o] = e[o][a] ?? "", C && (f[a] || (f[a] = {}), f[a][o] = p[a][o]), n && (d[a] || (d[a] = {}), d[a][o] = p[a][o]);
|
|
129
|
+
}, h = (e = {}, r) => {
|
|
132
130
|
var p;
|
|
133
131
|
const C = r === "global", n = !C;
|
|
134
132
|
for (const o in e)
|
|
135
|
-
if (C && !
|
|
133
|
+
if (C && !f[o] && (f[o] = e[o]), n) {
|
|
136
134
|
const a = (p = e[o]) != null && p._appCode ? e[o]._appCode.toLowerCase() : "";
|
|
137
|
-
a && (
|
|
135
|
+
a && (t[a] || (t[a] = {}), t[a][o] = e[o]), d[o] || (d[o] = e[o]);
|
|
138
136
|
}
|
|
139
|
-
},
|
|
137
|
+
}, S = async (e) => {
|
|
140
138
|
var p, o;
|
|
141
139
|
const r = document.documentElement;
|
|
142
|
-
r && r.setAttribute("lang",
|
|
143
|
-
const C = window[
|
|
144
|
-
C &&
|
|
140
|
+
r && r.setAttribute("lang", m.value);
|
|
141
|
+
const C = window[c];
|
|
142
|
+
C && h(C, "global"), h(_);
|
|
145
143
|
let n = Object.assign(((p = e == null ? void 0 : e.i18n) == null ? void 0 : p.glob) || {});
|
|
146
144
|
(o = e == null ? void 0 : e.microApps) == null || o.map((a) => {
|
|
147
145
|
var w;
|
|
148
146
|
n = Object.assign(n, ((w = a.i18n) == null ? void 0 : w.glob) || {});
|
|
149
|
-
}), Object.values(n).filter((a) => !!a).flat().map((a) =>
|
|
150
|
-
},
|
|
147
|
+
}), Object.values(n).filter((a) => !!a).flat().map((a) => h(a));
|
|
148
|
+
}, u = (e) => {
|
|
151
149
|
let r = "";
|
|
152
150
|
const C = /\/([^\/]+)\/([^\/]+)\//, n = e.match(C);
|
|
153
151
|
return n && n.length >= 3 && (r = n[1] + "/" + n[2]), r ? r.toLowerCase() : "";
|
|
154
|
-
},
|
|
155
|
-
const C =
|
|
156
|
-
let n =
|
|
152
|
+
}, g = (e, ...r) => k(() => {
|
|
153
|
+
const C = u(location.pathname);
|
|
154
|
+
let n = t.framework ?? {}, p = t[C] ?? {}, o = f[e] || n[e] || p[e] || d[e] || e;
|
|
157
155
|
if (o === e) return e;
|
|
158
156
|
typeof o == "string" && (o = { "zh-CN": o });
|
|
159
|
-
let a = o[
|
|
160
|
-
return
|
|
161
|
-
a && (a = a.replace(`$${
|
|
157
|
+
let a = o[m.value];
|
|
158
|
+
return m.value === "zh-CN" && o["zh-cn"] && !o["zh-CN"] && (a = o["zh-cn"]), r.map((w, N) => {
|
|
159
|
+
a && (a = a.replace(`$${N}`, w));
|
|
162
160
|
}), a;
|
|
163
|
-
}),
|
|
164
|
-
sessionStorage.setItem("currentLang", e),
|
|
165
|
-
},
|
|
161
|
+
}), P = g, R = (e, ...r) => P(e, ...r).value, D = (e) => {
|
|
162
|
+
sessionStorage.setItem("currentLang", e), m.value = e;
|
|
163
|
+
}, L = () => m;
|
|
166
164
|
export {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
165
|
+
m as currentLang,
|
|
166
|
+
d as customLangeData,
|
|
167
|
+
g as getI18nRule,
|
|
168
|
+
L as getLang,
|
|
169
|
+
P as i18n,
|
|
170
|
+
S as initI18n,
|
|
171
|
+
h as setI18nRule,
|
|
172
|
+
D as setLang,
|
|
173
|
+
b as setLangRule,
|
|
174
|
+
R as t
|
|
177
175
|
};
|
|
Binary file
|
|
@@ -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-CYGU1zn8.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
|
|
@@ -16627,6 +16627,11 @@ const ix = () => {
|
|
|
16627
16627
|
en: "Alias",
|
|
16628
16628
|
_appCode: "framework"
|
|
16629
16629
|
},
|
|
16630
|
+
常用应用设置: {
|
|
16631
|
+
"zh-CN": "常用应用设置",
|
|
16632
|
+
en: "Common Application Setting",
|
|
16633
|
+
_appCode: "framework"
|
|
16634
|
+
},
|
|
16630
16635
|
还原: {
|
|
16631
16636
|
"zh-CN": "还原",
|
|
16632
16637
|
en: "Restore",
|
|
@@ -16668,7 +16673,7 @@ B("@das-fed/web");
|
|
|
16668
16673
|
const Vx = [
|
|
16669
16674
|
{
|
|
16670
16675
|
path: Q9,
|
|
16671
|
-
component: () => import("./index-
|
|
16676
|
+
component: () => import("./index-Bo2069aB.js"),
|
|
16672
16677
|
meta: {
|
|
16673
16678
|
layout: {
|
|
16674
16679
|
minWidth: "0px"
|
|
@@ -16677,7 +16682,7 @@ const Vx = [
|
|
|
16677
16682
|
},
|
|
16678
16683
|
{
|
|
16679
16684
|
path: p6,
|
|
16680
|
-
component: () => import("./index-
|
|
16685
|
+
component: () => import("./index-B2q1kE6m.js")
|
|
16681
16686
|
}
|
|
16682
16687
|
], TR = {
|
|
16683
16688
|
routes: Vx,
|
|
Binary file
|
package/index-900oqwH8.js.gz
DELETED
|
Binary file
|
package/index-Cb_k5Khi.js.gz
DELETED
|
Binary file
|
|
Binary file
|