@das-fed/web 7.1.0-qatar.2 → 7.1.0-qatar.4
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/{index-BaX9zH-6.js → index-BiA-PGky.js} +2093 -2074
- package/index-BiA-PGky.js.gz +0 -0
- package/{index-BUvWVE_h.js → index-CFzkerOh.js} +1 -1
- package/index-CFzkerOh.js.gz +0 -0
- package/{index-1_XnhEdp.js → index-ClEsjEKR.js} +1 -1
- package/index.js +25 -24
- package/package.json +6 -6
- package/packages/theme/index.js +114 -95
- package/packages/theme/index.js.gz +0 -0
- package/types/main-app-framework/init-config/get-tenant-config/index.d.ts +1 -1
- package/types/theme/index.d.ts +2 -1
- package/index-BUvWVE_h.js.gz +0 -0
- package/index-BaX9zH-6.js.gz +0 -0
|
Binary file
|
|
@@ -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-BiA-PGky.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
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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-BiA-PGky.js";
|
|
2
2
|
export {
|
|
3
3
|
s as DasMainAppLayout,
|
|
4
4
|
t as DasWebLayout,
|
|
@@ -6,29 +6,30 @@ export {
|
|
|
6
6
|
i as DasWebNav,
|
|
7
7
|
r as DasWebTabs,
|
|
8
8
|
u as createDasWebApp,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
m as currentLang,
|
|
10
|
+
o as currentTheme,
|
|
11
|
+
g as customLangeData,
|
|
12
|
+
l as dir,
|
|
13
|
+
p as getI18nRule,
|
|
14
14
|
D as getLang,
|
|
15
|
+
h as getTheme,
|
|
15
16
|
L as getThemeRule,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
17
|
+
T as getVar,
|
|
18
|
+
b as getVarValue,
|
|
19
|
+
c as i18n,
|
|
20
|
+
A as initI18n,
|
|
21
|
+
R as initMainApp,
|
|
22
|
+
y as initMicroApp,
|
|
23
|
+
M as initTheme,
|
|
24
|
+
W as layout,
|
|
25
|
+
I as layoutData,
|
|
26
|
+
F as mainAppFramework,
|
|
27
|
+
V as microFrontend,
|
|
28
|
+
d as setGlobalThemeRule,
|
|
29
|
+
f as setI18nRule,
|
|
30
|
+
k as setLang,
|
|
31
|
+
v as setLangRule,
|
|
32
|
+
w as setTheme,
|
|
33
|
+
x as setThemeRule,
|
|
34
|
+
G as t
|
|
34
35
|
};
|
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.4",
|
|
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.4",
|
|
8
|
+
"@das-fed/utils": "7.1.0-qatar.4",
|
|
9
|
+
"@das-fed/web": "7.1.0-qatar.4",
|
|
10
|
+
"@das-fed/web-components": "7.1.0-qatar.4",
|
|
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.4",
|
|
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,61 +1,63 @@
|
|
|
1
|
-
import { ref as u, computed as
|
|
2
|
-
import { setThemeRule as
|
|
3
|
-
const
|
|
4
|
-
"--das-color-brand-primary": "#348CAB",
|
|
1
|
+
import { ref as u, computed as F } from "vue";
|
|
2
|
+
import { setThemeRule as b } from "@das-fed/web/packages/theme/index";
|
|
3
|
+
const p = {
|
|
4
|
+
"--das-color-brand-primary": { light: "#276ff5", qatar: "#348CAB" },
|
|
5
5
|
// 品牌主色-默认
|
|
6
|
-
"--das-color-brand-primary-light": "#EBFAFF",
|
|
6
|
+
"--das-color-brand-primary-light": { light: "#F2F9FF", qatar: "#EBFAFF" },
|
|
7
7
|
// 品牌主色-浅色背景
|
|
8
|
-
"--das-color-brand-primary-hover": "#53A2BE",
|
|
8
|
+
"--das-color-brand-primary-hover": { light: "#5582F3", qatar: "#53A2BE" },
|
|
9
9
|
// 品牌主色-悬停
|
|
10
|
-
"--das-color-brand-primary-active": "#24718C",
|
|
10
|
+
"--das-color-brand-primary-active": { light: "#3761CA", qatar: "#24718C" },
|
|
11
11
|
// 品牌主色-激活
|
|
12
|
-
"--das-color-brand-primary-disabled": "#BEE4F1",
|
|
12
|
+
"--das-color-brand-primary-disabled": { light: "#B5CAFF", qatar: "#BEE4F1" },
|
|
13
13
|
// 品牌主色-禁用
|
|
14
|
-
"--das-color-brand-primary-shadow": "rgba(52, 140, 171, 0.1)",
|
|
14
|
+
"--das-color-brand-primary-shadow": { light: "rgba(85, 130, 243, 0.1)", qatar: "rgba(52, 140, 171, 0.1)" },
|
|
15
15
|
// 品牌主色-焦点阴影
|
|
16
|
-
"--das-color-brand-secondary": "#495CA6",
|
|
16
|
+
"--das-color-brand-secondary": { light: "#4367C1", qatar: "#495CA6" },
|
|
17
17
|
// 品牌辅助色-默认
|
|
18
|
-
"--das-color-brand-secondary-hover": "#6578C2",
|
|
18
|
+
"--das-color-brand-secondary-hover": { light: "#4C74DA", qatar: "#6578C2" },
|
|
19
19
|
// 品牌辅助色-悬停
|
|
20
|
-
"--das-color-brand-secondary-active": "#405192",
|
|
20
|
+
"--das-color-brand-secondary-active": { light: "#3B5AA9", qatar: "#405192" },
|
|
21
21
|
// 品牌辅助色-激活
|
|
22
|
-
"--das-color-brand-secondary-disabled": "#C8D2F1",
|
|
22
|
+
"--das-color-brand-secondary-disabled": { light: "#95A4C8", qatar: "#C8D2F1" },
|
|
23
23
|
// 品牌辅助色-禁用
|
|
24
|
-
"--das-color-success": "#1BA854",
|
|
24
|
+
"--das-color-success": { light: "#1BA854", qatar: "#1BA854" },
|
|
25
25
|
// 功能色-成功
|
|
26
|
-
"--das-color-info": "#276FF5",
|
|
26
|
+
"--das-color-info": { light: "#276FF5", qatar: "#276FF5" },
|
|
27
27
|
// 功能色-信息
|
|
28
|
-
"--das-color-warning": "#FF991C",
|
|
28
|
+
"--das-color-warning": { light: "#FF991C", qatar: "#FF991C" },
|
|
29
29
|
// 功能色-警告
|
|
30
|
-
"--das-color-danger": "#FB2323",
|
|
30
|
+
"--das-color-danger": { light: "#FB2323", qatar: "#FB2323" },
|
|
31
31
|
// 功能色-危险
|
|
32
|
-
"--das-color-danger-light": "#FFDBE0",
|
|
32
|
+
"--das-color-danger-light": { light: "#FFDBE0", qatar: "#FFDBE0" },
|
|
33
33
|
// 功能色-危险浅色背景
|
|
34
|
-
"--das-color-
|
|
34
|
+
"--das-color-link": { light: "#0E5FD8", qatar: "#348CAB" },
|
|
35
|
+
// 链接色
|
|
36
|
+
"--das-color-text-title": { light: "#212121", qatar: "#212121" },
|
|
35
37
|
// 文字色-标题
|
|
36
|
-
"--das-color-text-body": "#666666",
|
|
38
|
+
"--das-color-text-body": { light: "#666666", qatar: "#666666" },
|
|
37
39
|
// 文字色-正文
|
|
38
|
-
"--das-color-text-subtle": "#999999",
|
|
40
|
+
"--das-color-text-subtle": { light: "#999999", qatar: "#999999" },
|
|
39
41
|
// 文字色-辅助
|
|
40
|
-
"--das-color-text-caption": "#B2B2B2",
|
|
42
|
+
"--das-color-text-caption": { light: "#B2B2B2", qatar: "#B2B2B2" },
|
|
41
43
|
// 文字色-说明
|
|
42
|
-
"--das-color-bg-page": "#F2F7FF",
|
|
44
|
+
"--das-color-bg-page": { light: "#F2F7FF", qatar: "#F2F7FF" },
|
|
43
45
|
// 背景色-页面
|
|
44
|
-
"--das-color-bg-container": "#FFFFFF",
|
|
46
|
+
"--das-color-bg-container": { light: "#FFFFFF", qatar: "#FFFFFF" },
|
|
45
47
|
// 背景色-容器
|
|
46
|
-
"--das-color-bg-disabled": "#F5F5F5",
|
|
48
|
+
"--das-color-bg-disabled": { light: "#F5F5F5", qatar: "#F5F5F5" },
|
|
47
49
|
// 背景色-禁用
|
|
48
|
-
"--das-color-mask-dark": "#000000",
|
|
50
|
+
"--das-color-mask-dark": { light: "#000000", qatar: "#000000" },
|
|
49
51
|
// 遮罩色-深色
|
|
50
|
-
"--das-color-mask-dark-opacity": "rgba(0, 0, 0, 0.5)",
|
|
52
|
+
"--das-color-mask-dark-opacity": { light: "rgba(0, 0, 0, 0.5)", qatar: "rgba(0, 0, 0, 0.5)" },
|
|
51
53
|
// 遮罩色-深色半透明
|
|
52
|
-
"--das-color-border-light": "#FFFFFF",
|
|
54
|
+
"--das-color-border-light": { light: "#FFFFFF", qatar: "#FFFFFF" },
|
|
53
55
|
// 描边色-弱
|
|
54
|
-
"--das-color-border-base": "#E5E5E5",
|
|
56
|
+
"--das-color-border-base": { light: "#E5E5E5", qatar: "#E5E5E5" },
|
|
55
57
|
// 描边色-常规
|
|
56
|
-
"--das-color-border-strong": "#D9D9D9"
|
|
58
|
+
"--das-color-border-strong": { light: "#D9D9D9", qatar: "#D9D9D9" }
|
|
57
59
|
// 描边色-强调
|
|
58
|
-
},
|
|
60
|
+
}, f = {
|
|
59
61
|
"--das-font-size-xxs": "10px",
|
|
60
62
|
// 极小字号,用于角标、辅助标识、弱提示等低层级信息
|
|
61
63
|
"--das-font-size-xs": "12px",
|
|
@@ -104,95 +106,112 @@ const f = {
|
|
|
104
106
|
// 48px 字号对应行高
|
|
105
107
|
"--das-line-height-7xl": "84px"
|
|
106
108
|
// 56px 字号对应行高
|
|
107
|
-
},
|
|
108
|
-
"--das-
|
|
109
|
+
}, q = {
|
|
110
|
+
"--das-menu-color-fog-blue-1": "#EBEFFF",
|
|
111
|
+
"--das-menu-color-fog-blue-2": "#CBD2F1",
|
|
112
|
+
"--das-menu-color-fog-blue-3": "#9EB0FA",
|
|
113
|
+
"--das-menu-color-fog-blue-4": "#8294DE",
|
|
114
|
+
"--das-menu-color-fog-blue-5": "#6578C2",
|
|
115
|
+
"--das-menu-color-fog-blue-6": "#495CA6",
|
|
116
|
+
"--das-menu-color-fog-blue-7": "#405192",
|
|
117
|
+
"--das-menu-color-fog-blue-8": "#38467E",
|
|
118
|
+
"--das-menu-color-fog-blue-9": "#2F3A6B",
|
|
119
|
+
"--das-menu-color-fog-blue-10": "#262F57"
|
|
120
|
+
}, v = {
|
|
121
|
+
"--das-radius-none": { light: "0px", qatar: "0px" },
|
|
109
122
|
// 无圆角
|
|
110
|
-
"--das-radius-
|
|
123
|
+
"--das-radius-2xs": { light: "1px", qatar: "2px" },
|
|
124
|
+
// 极极小圆角,覆盖层错误边框等
|
|
125
|
+
"--das-radius-xs": { light: "0px", qatar: "3px" },
|
|
111
126
|
// 极小圆角,多选框表格、下拉多选、多选树、多选列表等
|
|
112
|
-
"--das-radius-sm": "4px",
|
|
127
|
+
"--das-radius-sm": { light: "2px", qatar: "4px" },
|
|
113
128
|
// 小尺寸圆角,按钮、输入框、标签等
|
|
114
|
-
"--das-radius-md": "6px",
|
|
129
|
+
"--das-radius-md": { light: "2px", qatar: "6px" },
|
|
115
130
|
// 中尺寸圆角,搜索框、下拉面板等
|
|
116
|
-
"--das-radius-lg": "8px",
|
|
131
|
+
"--das-radius-lg": { light: "4px", qatar: "8px" },
|
|
117
132
|
// 大尺寸圆角,卡片、弹窗、通知等
|
|
118
|
-
"--das-radius-xl": "12px",
|
|
133
|
+
"--das-radius-xl": { light: "4px", qatar: "12px" },
|
|
119
134
|
// 超大尺寸圆角,强调容器或特殊面板
|
|
120
|
-
"--das-radius-pill": "999px"
|
|
135
|
+
"--das-radius-pill": { light: "999px", qatar: "999px" }
|
|
121
136
|
// 胶囊圆角
|
|
122
|
-
},
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
},
|
|
137
|
+
}, y = {
|
|
138
|
+
"--das-scrollbar-padding": "1px",
|
|
139
|
+
"--das-scrollbar-thumb-size": "8px"
|
|
140
|
+
}, T = () => {
|
|
141
|
+
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 });
|
|
142
|
+
Object.keys(a).map((e) => b(a[e]));
|
|
143
|
+
}, c = u("light"), g = u({
|
|
126
144
|
light: {},
|
|
127
145
|
dark: {}
|
|
128
|
-
}),
|
|
146
|
+
}), h = u({
|
|
129
147
|
light: {},
|
|
130
148
|
dark: {}
|
|
131
|
-
}),
|
|
149
|
+
}), B = "dasTheme", m = "das-theme", _ = (a) => {
|
|
132
150
|
let e = {
|
|
133
151
|
light: {},
|
|
134
152
|
dark: {}
|
|
135
153
|
};
|
|
136
|
-
if (!
|
|
137
|
-
const { light:
|
|
138
|
-
e.light = { ...
|
|
139
|
-
for (const
|
|
140
|
-
const
|
|
141
|
-
if (typeof
|
|
142
|
-
for (const
|
|
143
|
-
e[
|
|
154
|
+
if (!a) return e;
|
|
155
|
+
const { light: s = {}, dark: o = {}, qatar: l = {}, base: t = {}, ...r } = a || {};
|
|
156
|
+
e.light = { ...s, ...t }, e.dark = o || {};
|
|
157
|
+
for (const d in r) {
|
|
158
|
+
const i = r[d];
|
|
159
|
+
if (typeof i == "string" && (e.light[d] = i), typeof i == "object")
|
|
160
|
+
for (const n in i)
|
|
161
|
+
e[n] || (e[n] = {}), e[n][d] || (e[n][d] = {}), e[n][d] = i[n];
|
|
144
162
|
}
|
|
145
163
|
return e;
|
|
146
164
|
};
|
|
147
|
-
function
|
|
148
|
-
const e = "das-global-theme",
|
|
149
|
-
if (!document.getElementById(
|
|
150
|
-
const
|
|
151
|
-
|
|
165
|
+
function E(a) {
|
|
166
|
+
const e = "das-global-theme", s = "das-custom-theme";
|
|
167
|
+
if (!document.getElementById(s)) {
|
|
168
|
+
const l = document.createElement("style");
|
|
169
|
+
l.appendChild(document.createTextNode("")), l.setAttribute("id", s), document.head.appendChild(l);
|
|
152
170
|
}
|
|
153
171
|
if (!document.getElementById(e)) {
|
|
154
|
-
const
|
|
155
|
-
|
|
172
|
+
const l = document.createElement("style");
|
|
173
|
+
l.appendChild(document.createTextNode("")), l.setAttribute("id", e), document.head.appendChild(l);
|
|
156
174
|
}
|
|
157
|
-
|
|
158
|
-
let
|
|
159
|
-
return
|
|
175
|
+
a || (a = "custom");
|
|
176
|
+
let o = document.getElementById(s);
|
|
177
|
+
return a === "global" && (o = document.getElementById(e)), o.sheet;
|
|
160
178
|
}
|
|
161
|
-
const
|
|
179
|
+
const x = (a, e) => {
|
|
162
180
|
e || (e = "custom");
|
|
163
|
-
const
|
|
164
|
-
for (const t in
|
|
165
|
-
const
|
|
166
|
-
for (const
|
|
167
|
-
const i =
|
|
168
|
-
|
|
181
|
+
const s = E(e), o = _(a);
|
|
182
|
+
for (const t in o) {
|
|
183
|
+
const r = o[t];
|
|
184
|
+
for (const d in r) {
|
|
185
|
+
const i = r[d], n = `${m}-${t}`;
|
|
186
|
+
s.insertRule(`.${n} { ${d}:${i} } `, s.cssRules.length);
|
|
169
187
|
}
|
|
170
|
-
e === "global" && (
|
|
188
|
+
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 });
|
|
171
189
|
}
|
|
172
|
-
const
|
|
173
|
-
document.body.classList.contains(
|
|
174
|
-
},
|
|
175
|
-
var
|
|
176
|
-
const e = window[
|
|
177
|
-
e &&
|
|
178
|
-
let
|
|
179
|
-
(
|
|
180
|
-
var
|
|
181
|
-
|
|
182
|
-
}), Object.values(
|
|
183
|
-
},
|
|
184
|
-
document.body.classList.add(`${
|
|
185
|
-
},
|
|
186
|
-
var e, o, d,
|
|
187
|
-
return ((
|
|
188
|
-
}), k = (
|
|
190
|
+
const l = `${m}-${c.value}`;
|
|
191
|
+
document.body.classList.contains(l) || document.body.classList.add(l);
|
|
192
|
+
}, z = async (a) => {
|
|
193
|
+
var o, l;
|
|
194
|
+
const e = window[B];
|
|
195
|
+
e && x(e, "global");
|
|
196
|
+
let s = Object.assign(((o = a == null ? void 0 : a.theme) == null ? void 0 : o.glob) || {});
|
|
197
|
+
(l = a == null ? void 0 : a.microApps) == null || l.map((t) => {
|
|
198
|
+
var r;
|
|
199
|
+
s = Object.assign(s, ((r = t.theme) == null ? void 0 : r.glob) || {});
|
|
200
|
+
}), Object.values(s).filter((t) => !!t).flat().map((t) => x(t));
|
|
201
|
+
}, $ = (a) => {
|
|
202
|
+
document.body.classList.add(`${m}-light`), a === "light" && document.body.classList.remove(`${m}-${c.value}`), c.value = a, document.body.classList.add(`${m}-${c.value}`);
|
|
203
|
+
}, R = () => c.value, C = (a) => F(() => {
|
|
204
|
+
var e, s, o, l, t, r, d, i;
|
|
205
|
+
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;
|
|
206
|
+
}), k = (a) => `var(${a})`, I = C;
|
|
189
207
|
export {
|
|
190
|
-
|
|
191
|
-
|
|
208
|
+
c as currentTheme,
|
|
209
|
+
R as getTheme,
|
|
210
|
+
C as getThemeRule,
|
|
192
211
|
k as getVar,
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
212
|
+
I as getVarValue,
|
|
213
|
+
z as initTheme,
|
|
214
|
+
T as setGlobalThemeRule,
|
|
215
|
+
$ as setTheme,
|
|
216
|
+
x as setThemeRule
|
|
198
217
|
};
|
|
Binary file
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
export declare const getPersonalConfig: () => unknown;
|
|
3
3
|
/** 获取租户详情 */
|
|
4
4
|
export declare const getTenantConfig: () => unknown;
|
|
5
|
-
/** 获取当前登录用户租户信息 ==
|
|
5
|
+
/** 获取当前登录用户租户信息 == 用来获取语言类型判断是否需要显示语言切换栏目,小于2则不显示语言切换栏目 */
|
|
6
6
|
export declare const getCurrentTenatConfig: () => unknown;
|
|
7
7
|
/** 获取租户列表 */
|
|
8
8
|
export declare const getTenantList: () => unknown;
|
package/types/theme/index.d.ts
CHANGED
|
@@ -4,10 +4,11 @@ declare const currentTheme: import('vue').Ref<any, any>;
|
|
|
4
4
|
declare const setThemeRule: (data: any, type?: "global" | "custom") => void;
|
|
5
5
|
declare const initTheme: (opt?: any) => any;
|
|
6
6
|
declare const setTheme: (value: string) => void;
|
|
7
|
+
declare const getTheme: () => any;
|
|
7
8
|
/** 获取css var实际值 */
|
|
8
9
|
declare const getThemeRule: (key: string) => import('vue').ComputedRef<any>;
|
|
9
10
|
/** 获取css var字符串 */
|
|
10
11
|
declare const getVar: (key: string) => string;
|
|
11
12
|
/** 获取css var实际值 */
|
|
12
13
|
declare const getVarValue: (key: string) => import('vue').ComputedRef<any>;
|
|
13
|
-
export { initTheme, setTheme, getThemeRule, currentTheme, setThemeRule, getVar, getVarValue, setGlobalThemeRule };
|
|
14
|
+
export { initTheme, setTheme, getTheme, getThemeRule, currentTheme, setThemeRule, getVar, getVarValue, setGlobalThemeRule, };
|
package/index-BUvWVE_h.js.gz
DELETED
|
Binary file
|
package/index-BaX9zH-6.js.gz
DELETED
|
Binary file
|