@das-fed/web 7.1.0-qatar.5 → 7.1.0-qatar.7
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-8lHAVOXu.js → index-B9S5yxEO.js} +1 -1
- package/index-B9S5yxEO.js.gz +0 -0
- package/{index-VAdDILqv.js → index-BO2cf8lW.js} +1 -1
- package/{index-DRBlGObU.js → index-CTY55Yai.js} +7 -3
- package/index-CTY55Yai.js.gz +0 -0
- package/index.js +1 -1
- package/package.json +6 -6
- package/packages/theme/index.js +43 -39
- package/packages/theme/index.js.gz +0 -0
- package/index-8lHAVOXu.js.gz +0 -0
- package/index-DRBlGObU.js.gz +0 -0
|
@@ -6,7 +6,7 @@ import { DasSpin as E } from "@das-fed/ui/packages/components/spin/index";
|
|
|
6
6
|
import { getTabInfo as L } from "@das-fed/utils/common-info";
|
|
7
7
|
import { setShowLayout as P } from "@das-fed/utils/common-tools";
|
|
8
8
|
import { createService as q } from "@das-fed/utils/create-api-service";
|
|
9
|
-
import { u as B, p as K, a as l, c as d, b as M, l as N, g as O, d as V } from "./index-
|
|
9
|
+
import { u as B, p as K, a as l, c as d, b as M, l as N, g as O, d as V } from "./index-CTY55Yai.js";
|
|
10
10
|
const F = "v1", G = q(`/api/justauth/client/${F}`), H = G.get("/visitor/kingdee/auth/user/auth_code"), oe = /* @__PURE__ */ U({
|
|
11
11
|
__name: "index",
|
|
12
12
|
setup(J) {
|
|
Binary file
|
|
@@ -435,8 +435,12 @@ const qs = (v) => {
|
|
|
435
435
|
// 大尺寸圆角,卡片、弹窗、通知等
|
|
436
436
|
"--das-radius-xl": { light: "4px", qatar: "12px" },
|
|
437
437
|
// 超大尺寸圆角,强调容器或特殊面板
|
|
438
|
-
"--das-radius-pill": { light: "999px", qatar: "999px" }
|
|
438
|
+
"--das-radius-pill": { light: "999px", qatar: "999px" },
|
|
439
439
|
// 胶囊圆角
|
|
440
|
+
"--das-radius-dropdown": { light: "4px", qatar: "6px" },
|
|
441
|
+
// 下拉框、折叠下拉面板圆角
|
|
442
|
+
"--das-radius-container": { light: "0px", qatar: "8px" }
|
|
443
|
+
// 容器圆角
|
|
440
444
|
}, js = {
|
|
441
445
|
"--das-scrollbar-padding": "1px",
|
|
442
446
|
"--das-scrollbar-thumb-size": "8px"
|
|
@@ -20170,7 +20174,7 @@ g("@das-fed/web");
|
|
|
20170
20174
|
const W4 = [
|
|
20171
20175
|
{
|
|
20172
20176
|
path: re,
|
|
20173
|
-
component: () => import("./index-
|
|
20177
|
+
component: () => import("./index-B9S5yxEO.js"),
|
|
20174
20178
|
meta: {
|
|
20175
20179
|
layout: {
|
|
20176
20180
|
minWidth: "0px"
|
|
@@ -20179,7 +20183,7 @@ const W4 = [
|
|
|
20179
20183
|
},
|
|
20180
20184
|
{
|
|
20181
20185
|
path: l5,
|
|
20182
|
-
component: () => import("./index-
|
|
20186
|
+
component: () => import("./index-BO2cf8lW.js")
|
|
20183
20187
|
}
|
|
20184
20188
|
], Zy = {
|
|
20185
20189
|
routes: W4,
|
|
Binary file
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as s, D as t, F as n, E as i, G as r, e as u, m, y as o, q as g, n as l, f as p, k as D, w as h, x as L, A as T, B as b, h as c, i as A, J as R, K as y, r as M, H as W, I, N as F, L as V, C as d, s as f, j as k, o as v, v as w, z as x, t as G } from "./index-
|
|
1
|
+
import { M as s, D as t, F as n, E as i, G as r, e as u, m, y as o, q as g, n as l, f as p, k as D, w as h, x as L, A as T, B as b, h as c, i as A, J as R, K as y, r as M, H as W, I, N as F, L as V, C as d, s as f, j as k, o as v, v as w, z as x, t as G } from "./index-CTY55Yai.js";
|
|
2
2
|
export {
|
|
3
3
|
s 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.1.0-qatar.
|
|
3
|
+
"version": "7.1.0-qatar.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@das-fed/ui": "7.1.0-qatar.
|
|
8
|
-
"@das-fed/utils": "7.1.0-qatar.
|
|
9
|
-
"@das-fed/web": "7.1.0-qatar.
|
|
10
|
-
"@das-fed/web-components": "7.1.0-qatar.
|
|
7
|
+
"@das-fed/ui": "7.1.0-qatar.7",
|
|
8
|
+
"@das-fed/utils": "7.1.0-qatar.7",
|
|
9
|
+
"@das-fed/web": "7.1.0-qatar.7",
|
|
10
|
+
"@das-fed/web-components": "7.1.0-qatar.7",
|
|
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.1.0-qatar.
|
|
22
|
+
"@das-fed/cli": "7.1.0-qatar.7",
|
|
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/theme/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ref as
|
|
1
|
+
import { ref as m, computed as b } from "vue";
|
|
2
2
|
import { setThemeRule as F } from "@das-fed/web/packages/theme/index";
|
|
3
|
-
const
|
|
3
|
+
const p = {
|
|
4
4
|
"--das-color-brand-primary": { light: "#276ff5", qatar: "#348CAB" },
|
|
5
5
|
// 品牌主色-默认
|
|
6
6
|
"--das-color-brand-primary-light": { light: "#F2F9FF", qatar: "#EBFAFF" },
|
|
@@ -57,7 +57,7 @@ const f = {
|
|
|
57
57
|
// 描边色-常规
|
|
58
58
|
"--das-color-border-strong": { light: "#D9D9D9", qatar: "#D9D9D9" }
|
|
59
59
|
// 描边色-强调
|
|
60
|
-
},
|
|
60
|
+
}, f = {
|
|
61
61
|
"--das-font-size-xxs": "10px",
|
|
62
62
|
// 极小字号,用于角标、辅助标识、弱提示等低层级信息
|
|
63
63
|
"--das-font-size-xs": "12px",
|
|
@@ -132,78 +132,82 @@ const f = {
|
|
|
132
132
|
// 大尺寸圆角,卡片、弹窗、通知等
|
|
133
133
|
"--das-radius-xl": { light: "4px", qatar: "12px" },
|
|
134
134
|
// 超大尺寸圆角,强调容器或特殊面板
|
|
135
|
-
"--das-radius-pill": { light: "999px", qatar: "999px" }
|
|
135
|
+
"--das-radius-pill": { light: "999px", qatar: "999px" },
|
|
136
136
|
// 胶囊圆角
|
|
137
|
+
"--das-radius-dropdown": { light: "4px", qatar: "6px" },
|
|
138
|
+
// 下拉框、折叠下拉面板圆角
|
|
139
|
+
"--das-radius-container": { light: "0px", qatar: "8px" }
|
|
140
|
+
// 容器圆角
|
|
137
141
|
}, y = {
|
|
138
142
|
"--das-scrollbar-padding": "1px",
|
|
139
143
|
"--das-scrollbar-thumb-size": "8px"
|
|
140
144
|
}, T = () => {
|
|
141
|
-
const
|
|
142
|
-
Object.keys(
|
|
143
|
-
}, c =
|
|
145
|
+
const a = /* @__PURE__ */ Object.assign({ "./module/color.ts": p, "./module/fontSize.ts": f, "./module/menu.ts": q, "./module/radius.ts": v, "./module/scrollbar.ts": y });
|
|
146
|
+
Object.keys(a).map((e) => F(a[e]));
|
|
147
|
+
}, c = m("light"), g = m({
|
|
144
148
|
light: {},
|
|
145
149
|
dark: {}
|
|
146
|
-
}), h =
|
|
150
|
+
}), h = m({
|
|
147
151
|
light: {},
|
|
148
152
|
dark: {}
|
|
149
|
-
}), B = "dasTheme",
|
|
150
|
-
let
|
|
153
|
+
}), B = "dasTheme", u = "das-theme", _ = (a) => {
|
|
154
|
+
let e = {
|
|
151
155
|
light: {},
|
|
152
156
|
dark: {}
|
|
153
157
|
};
|
|
154
|
-
if (!
|
|
155
|
-
const { light: s = {}, dark: o = {}, qatar: l = {}, base: t = {}, ...r } =
|
|
156
|
-
|
|
158
|
+
if (!a) return e;
|
|
159
|
+
const { light: s = {}, dark: o = {}, qatar: l = {}, base: t = {}, ...r } = a || {};
|
|
160
|
+
e.light = { ...s, ...t }, e.dark = o || {};
|
|
157
161
|
for (const d in r) {
|
|
158
162
|
const i = r[d];
|
|
159
|
-
if (typeof i == "string" && (
|
|
163
|
+
if (typeof i == "string" && (e.light[d] = i), typeof i == "object")
|
|
160
164
|
for (const n in i)
|
|
161
|
-
|
|
165
|
+
e[n] || (e[n] = {}), e[n][d] || (e[n][d] = {}), e[n][d] = i[n];
|
|
162
166
|
}
|
|
163
|
-
return
|
|
167
|
+
return e;
|
|
164
168
|
};
|
|
165
|
-
function E(
|
|
166
|
-
const
|
|
169
|
+
function E(a) {
|
|
170
|
+
const e = "das-global-theme", s = "das-custom-theme";
|
|
167
171
|
if (!document.getElementById(s)) {
|
|
168
172
|
const l = document.createElement("style");
|
|
169
173
|
l.appendChild(document.createTextNode("")), l.setAttribute("id", s), document.head.appendChild(l);
|
|
170
174
|
}
|
|
171
|
-
if (!document.getElementById(
|
|
175
|
+
if (!document.getElementById(e)) {
|
|
172
176
|
const l = document.createElement("style");
|
|
173
|
-
l.appendChild(document.createTextNode("")), l.setAttribute("id",
|
|
177
|
+
l.appendChild(document.createTextNode("")), l.setAttribute("id", e), document.head.appendChild(l);
|
|
174
178
|
}
|
|
175
|
-
|
|
179
|
+
a || (a = "custom");
|
|
176
180
|
let o = document.getElementById(s);
|
|
177
|
-
return
|
|
181
|
+
return a === "global" && (o = document.getElementById(e)), o.sheet;
|
|
178
182
|
}
|
|
179
|
-
const x = (
|
|
180
|
-
|
|
181
|
-
const s = E(
|
|
183
|
+
const x = (a, e) => {
|
|
184
|
+
e || (e = "custom");
|
|
185
|
+
const s = E(e), o = _(a);
|
|
182
186
|
for (const t in o) {
|
|
183
187
|
const r = o[t];
|
|
184
188
|
for (const d in r) {
|
|
185
|
-
const i = r[d], n = `${
|
|
189
|
+
const i = r[d], n = `${u}-${t}`;
|
|
186
190
|
s.insertRule(`.${n} { ${d}:${i} } `, s.cssRules.length);
|
|
187
191
|
}
|
|
188
|
-
|
|
192
|
+
e === "global" && (h.value[t] || (h.value[t] = {}), h.value[t] = { ...h.value[t], ...r }), e === "custom" && (g.value[t] || (g.value[t] = {}), g.value[t] = { ...g.value[t], ...r });
|
|
189
193
|
}
|
|
190
|
-
const l = `${
|
|
194
|
+
const l = `${u}-${c.value}`;
|
|
191
195
|
document.body.classList.contains(l) || document.body.classList.add(l);
|
|
192
|
-
}, z = async (
|
|
196
|
+
}, z = async (a) => {
|
|
193
197
|
var o, l;
|
|
194
|
-
const
|
|
195
|
-
|
|
196
|
-
let s = Object.assign(((o =
|
|
197
|
-
(l =
|
|
198
|
+
const e = window[B];
|
|
199
|
+
e && x(e, "global");
|
|
200
|
+
let s = Object.assign(((o = a == null ? void 0 : a.theme) == null ? void 0 : o.glob) || {});
|
|
201
|
+
(l = a == null ? void 0 : a.microApps) == null || l.map((t) => {
|
|
198
202
|
var r;
|
|
199
203
|
s = Object.assign(s, ((r = t.theme) == null ? void 0 : r.glob) || {});
|
|
200
204
|
}), Object.values(s).filter((t) => !!t).flat().map((t) => x(t));
|
|
201
|
-
}, $ = (
|
|
202
|
-
document.body.classList.add(`${
|
|
203
|
-
}, R = () => c.value, C = (
|
|
204
|
-
var
|
|
205
|
-
return ((s = (
|
|
206
|
-
}), k = (
|
|
205
|
+
}, $ = (a) => {
|
|
206
|
+
document.body.classList.add(`${u}-light`), a === "light" && document.body.classList.remove(`${u}-${c.value}`), c.value = a, document.body.classList.add(`${u}-${c.value}`);
|
|
207
|
+
}, R = () => c.value, C = (a) => b(() => {
|
|
208
|
+
var e, s, o, l, t, r, d, i;
|
|
209
|
+
return ((s = (e = h.value) == null ? void 0 : e[c.value]) == null ? void 0 : s[a]) || ((l = (o = g.value) == null ? void 0 : o[c.value]) == null ? void 0 : l[a]) || ((r = (t = h.value) == null ? void 0 : t.light) == null ? void 0 : r[a]) || ((i = (d = g.value) == null ? void 0 : d.light) == null ? void 0 : i[a]) || a;
|
|
210
|
+
}), k = (a) => `var(${a})`, I = C;
|
|
207
211
|
export {
|
|
208
212
|
c as currentTheme,
|
|
209
213
|
R as getTheme,
|
|
Binary file
|
package/index-8lHAVOXu.js.gz
DELETED
|
Binary file
|
package/index-DRBlGObU.js.gz
DELETED
|
Binary file
|