@das-fed/web 7.1.0-qatar.1 → 7.1.0-qatar.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 +3 -1
- package/{index-CzrFWqFK.js → index-BiA-PGky.js} +2896 -2754
- package/index-BiA-PGky.js.gz +0 -0
- package/{index-AJ9ShTGM.js → index-CFzkerOh.js} +1 -1
- package/index-CFzkerOh.js.gz +0 -0
- package/{index-DLZsgyhE.js → index-ClEsjEKR.js} +1 -1
- package/index.js +23 -21
- package/package.json +6 -6
- package/packages/theme/index.js +197 -55
- 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/global/index.d.ts +2 -0
- package/types/theme/index.d.ts +4 -3
- package/index-AJ9ShTGM.js.gz +0 -0
- package/index-CzrFWqFK.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,33 +1,35 @@
|
|
|
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,
|
|
5
5
|
n as DasWebMenu,
|
|
6
6
|
i as DasWebNav,
|
|
7
7
|
r as DasWebTabs,
|
|
8
8
|
u as createDasWebApp,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
m as currentLang,
|
|
10
|
+
o as currentTheme,
|
|
11
|
+
g as customLangeData,
|
|
12
|
+
l as dir,
|
|
13
|
+
p as getI18nRule,
|
|
14
|
+
D as getLang,
|
|
15
|
+
h as getTheme,
|
|
15
16
|
L as getThemeRule,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
T as getVar,
|
|
18
|
+
b as getVarValue,
|
|
19
|
+
c as i18n,
|
|
19
20
|
A as initI18n,
|
|
20
|
-
|
|
21
|
+
R as initMainApp,
|
|
21
22
|
y as initMicroApp,
|
|
22
|
-
|
|
23
|
+
M as initTheme,
|
|
23
24
|
W as layout,
|
|
24
25
|
I as layoutData,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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
|
|
33
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.3",
|
|
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.3",
|
|
8
|
+
"@das-fed/utils": "7.1.0-qatar.3",
|
|
9
|
+
"@das-fed/web": "7.1.0-qatar.3",
|
|
10
|
+
"@das-fed/web-components": "7.1.0-qatar.3",
|
|
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.3",
|
|
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,75 +1,217 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
|
|
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
|
+
// 品牌主色-默认
|
|
6
|
+
"--das-color-brand-primary-light": { light: "#F2F9FF", qatar: "#EBFAFF" },
|
|
7
|
+
// 品牌主色-浅色背景
|
|
8
|
+
"--das-color-brand-primary-hover": { light: "#5582F3", qatar: "#53A2BE" },
|
|
9
|
+
// 品牌主色-悬停
|
|
10
|
+
"--das-color-brand-primary-active": { light: "#3761CA", qatar: "#24718C" },
|
|
11
|
+
// 品牌主色-激活
|
|
12
|
+
"--das-color-brand-primary-disabled": { light: "#B5CAFF", qatar: "#BEE4F1" },
|
|
13
|
+
// 品牌主色-禁用
|
|
14
|
+
"--das-color-brand-primary-shadow": { light: "rgba(85, 130, 243, 0.1)", qatar: "rgba(52, 140, 171, 0.1)" },
|
|
15
|
+
// 品牌主色-焦点阴影
|
|
16
|
+
"--das-color-brand-secondary": { light: "#4367C1", qatar: "#495CA6" },
|
|
17
|
+
// 品牌辅助色-默认
|
|
18
|
+
"--das-color-brand-secondary-hover": { light: "#4C74DA", qatar: "#6578C2" },
|
|
19
|
+
// 品牌辅助色-悬停
|
|
20
|
+
"--das-color-brand-secondary-active": { light: "#3B5AA9", qatar: "#405192" },
|
|
21
|
+
// 品牌辅助色-激活
|
|
22
|
+
"--das-color-brand-secondary-disabled": { light: "#95A4C8", qatar: "#C8D2F1" },
|
|
23
|
+
// 品牌辅助色-禁用
|
|
24
|
+
"--das-color-success": { light: "#1BA854", qatar: "#1BA854" },
|
|
25
|
+
// 功能色-成功
|
|
26
|
+
"--das-color-info": { light: "#276FF5", qatar: "#276FF5" },
|
|
27
|
+
// 功能色-信息
|
|
28
|
+
"--das-color-warning": { light: "#FF991C", qatar: "#FF991C" },
|
|
29
|
+
// 功能色-警告
|
|
30
|
+
"--das-color-danger": { light: "#FB2323", qatar: "#FB2323" },
|
|
31
|
+
// 功能色-危险
|
|
32
|
+
"--das-color-danger-light": { light: "#FFDBE0", qatar: "#FFDBE0" },
|
|
33
|
+
// 功能色-危险浅色背景
|
|
34
|
+
"--das-color-link": { light: "#0E5FD8", qatar: "#348CAB" },
|
|
35
|
+
// 链接色
|
|
36
|
+
"--das-color-text-title": { light: "#212121", qatar: "#212121" },
|
|
37
|
+
// 文字色-标题
|
|
38
|
+
"--das-color-text-body": { light: "#666666", qatar: "#666666" },
|
|
39
|
+
// 文字色-正文
|
|
40
|
+
"--das-color-text-subtle": { light: "#999999", qatar: "#999999" },
|
|
41
|
+
// 文字色-辅助
|
|
42
|
+
"--das-color-text-caption": { light: "#B2B2B2", qatar: "#B2B2B2" },
|
|
43
|
+
// 文字色-说明
|
|
44
|
+
"--das-color-bg-page": { light: "#F2F7FF", qatar: "#F2F7FF" },
|
|
45
|
+
// 背景色-页面
|
|
46
|
+
"--das-color-bg-container": { light: "#FFFFFF", qatar: "#FFFFFF" },
|
|
47
|
+
// 背景色-容器
|
|
48
|
+
"--das-color-bg-disabled": { light: "#F5F5F5", qatar: "#F5F5F5" },
|
|
49
|
+
// 背景色-禁用
|
|
50
|
+
"--das-color-mask-dark": { light: "#000000", qatar: "#000000" },
|
|
51
|
+
// 遮罩色-深色
|
|
52
|
+
"--das-color-mask-dark-opacity": { light: "rgba(0, 0, 0, 0.5)", qatar: "rgba(0, 0, 0, 0.5)" },
|
|
53
|
+
// 遮罩色-深色半透明
|
|
54
|
+
"--das-color-border-light": { light: "#FFFFFF", qatar: "#FFFFFF" },
|
|
55
|
+
// 描边色-弱
|
|
56
|
+
"--das-color-border-base": { light: "#E5E5E5", qatar: "#E5E5E5" },
|
|
57
|
+
// 描边色-常规
|
|
58
|
+
"--das-color-border-strong": { light: "#D9D9D9", qatar: "#D9D9D9" }
|
|
59
|
+
// 描边色-强调
|
|
60
|
+
}, f = {
|
|
61
|
+
"--das-font-size-xxs": "10px",
|
|
62
|
+
// 极小字号,用于角标、辅助标识、弱提示等低层级信息
|
|
63
|
+
"--das-font-size-xs": "12px",
|
|
64
|
+
// 辅助字号,用于表格、说明文字、错误提示等紧凑信息
|
|
65
|
+
"--das-font-size-sm": "14px",
|
|
66
|
+
// 小字号,用于表单、列表、菜单等常规控件文字
|
|
67
|
+
"--das-font-size-md": "16px",
|
|
68
|
+
// 基础字号,用于正文、默认输入内容、常规阅读文本
|
|
69
|
+
"--das-font-size-lg": "18px",
|
|
70
|
+
// 大字号,用于模块标题、弹窗标题等强调文本
|
|
71
|
+
"--das-font-size-xl": "20px",
|
|
72
|
+
// 一级内容标题字号,用于页面内重要标题
|
|
73
|
+
"--das-font-size-2xl": "24px",
|
|
74
|
+
// 展示标题字号,用于重点数据、卡片标题等
|
|
75
|
+
"--das-font-size-3xl": "28px",
|
|
76
|
+
// 大展示标题字号,用于关键指标或大号标题
|
|
77
|
+
"--das-font-size-4xl": "32px",
|
|
78
|
+
// 页面标题字号,用于页面级标题
|
|
79
|
+
"--das-font-size-5xl": "40px",
|
|
80
|
+
// 大屏标题字号,用于运营屏、看板标题等展示场景
|
|
81
|
+
"--das-font-size-6xl": "48px",
|
|
82
|
+
// 超大展示字号,用于大屏核心数据或强视觉标题
|
|
83
|
+
"--das-font-size-7xl": "56px",
|
|
84
|
+
// 最大展示字号,用于超大屏核心数据或主视觉标题
|
|
85
|
+
"--das-line-height-xxs": "15px",
|
|
86
|
+
// 10px 字号对应行高
|
|
87
|
+
"--das-line-height-xs": "18px",
|
|
88
|
+
// 12px 字号对应行高
|
|
89
|
+
"--das-line-height-sm": "21px",
|
|
90
|
+
// 14px 字号对应行高
|
|
91
|
+
"--das-line-height-md": "24px",
|
|
92
|
+
// 16px 字号对应行高
|
|
93
|
+
"--das-line-height-lg": "27px",
|
|
94
|
+
// 18px 字号对应行高
|
|
95
|
+
"--das-line-height-xl": "30px",
|
|
96
|
+
// 20px 字号对应行高
|
|
97
|
+
"--das-line-height-2xl": "36px",
|
|
98
|
+
// 24px 字号对应行高
|
|
99
|
+
"--das-line-height-3xl": "42px",
|
|
100
|
+
// 28px 字号对应行高
|
|
101
|
+
"--das-line-height-4xl": "48px",
|
|
102
|
+
// 32px 字号对应行高
|
|
103
|
+
"--das-line-height-5xl": "60px",
|
|
104
|
+
// 40px 字号对应行高
|
|
105
|
+
"--das-line-height-6xl": "72px",
|
|
106
|
+
// 48px 字号对应行高
|
|
107
|
+
"--das-line-height-7xl": "84px"
|
|
108
|
+
// 56px 字号对应行高
|
|
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" },
|
|
122
|
+
// 无圆角
|
|
123
|
+
"--das-radius-2xs": { light: "1px", qatar: "2px" },
|
|
124
|
+
// 极极小圆角,覆盖层错误边框等
|
|
125
|
+
"--das-radius-xs": { light: "0px", qatar: "3px" },
|
|
126
|
+
// 极小圆角,多选框表格、下拉多选、多选树、多选列表等
|
|
127
|
+
"--das-radius-sm": { light: "2px", qatar: "4px" },
|
|
128
|
+
// 小尺寸圆角,按钮、输入框、标签等
|
|
129
|
+
"--das-radius-md": { light: "2px", qatar: "6px" },
|
|
130
|
+
// 中尺寸圆角,搜索框、下拉面板等
|
|
131
|
+
"--das-radius-lg": { light: "4px", qatar: "8px" },
|
|
132
|
+
// 大尺寸圆角,卡片、弹窗、通知等
|
|
133
|
+
"--das-radius-xl": { light: "4px", qatar: "12px" },
|
|
134
|
+
// 超大尺寸圆角,强调容器或特殊面板
|
|
135
|
+
"--das-radius-pill": { light: "999px", qatar: "999px" }
|
|
136
|
+
// 胶囊圆角
|
|
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({
|
|
3
144
|
light: {},
|
|
4
145
|
dark: {}
|
|
5
|
-
}),
|
|
146
|
+
}), h = u({
|
|
6
147
|
light: {},
|
|
7
148
|
dark: {}
|
|
8
|
-
}),
|
|
149
|
+
}), B = "dasTheme", m = "das-theme", _ = (a) => {
|
|
9
150
|
let e = {
|
|
10
151
|
light: {},
|
|
11
152
|
dark: {}
|
|
12
153
|
};
|
|
13
|
-
if (!
|
|
14
|
-
const { light:
|
|
15
|
-
e.light = { ...
|
|
16
|
-
for (const
|
|
17
|
-
const
|
|
18
|
-
if (typeof
|
|
19
|
-
for (const
|
|
20
|
-
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];
|
|
21
162
|
}
|
|
22
163
|
return e;
|
|
23
164
|
};
|
|
24
|
-
function
|
|
25
|
-
const e = "das-global-theme",
|
|
26
|
-
if (!document.getElementById(
|
|
27
|
-
const
|
|
28
|
-
|
|
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);
|
|
29
170
|
}
|
|
30
171
|
if (!document.getElementById(e)) {
|
|
31
|
-
const
|
|
32
|
-
|
|
172
|
+
const l = document.createElement("style");
|
|
173
|
+
l.appendChild(document.createTextNode("")), l.setAttribute("id", e), document.head.appendChild(l);
|
|
33
174
|
}
|
|
34
|
-
|
|
35
|
-
let
|
|
36
|
-
return
|
|
175
|
+
a || (a = "custom");
|
|
176
|
+
let o = document.getElementById(s);
|
|
177
|
+
return a === "global" && (o = document.getElementById(e)), o.sheet;
|
|
37
178
|
}
|
|
38
|
-
const
|
|
179
|
+
const x = (a, e) => {
|
|
39
180
|
e || (e = "custom");
|
|
40
|
-
const
|
|
41
|
-
for (const
|
|
42
|
-
const
|
|
43
|
-
for (const
|
|
44
|
-
const
|
|
45
|
-
|
|
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);
|
|
46
187
|
}
|
|
47
|
-
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 });
|
|
48
189
|
}
|
|
49
|
-
const
|
|
50
|
-
document.body.classList.contains(
|
|
51
|
-
},
|
|
52
|
-
var
|
|
53
|
-
const e = window[
|
|
54
|
-
e &&
|
|
55
|
-
let
|
|
56
|
-
(
|
|
57
|
-
var
|
|
58
|
-
|
|
59
|
-
}), Object.values(
|
|
60
|
-
},
|
|
61
|
-
document.body.classList.add(`${
|
|
62
|
-
},
|
|
63
|
-
var e, l,
|
|
64
|
-
return ((
|
|
65
|
-
}),
|
|
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;
|
|
66
207
|
export {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
208
|
+
c as currentTheme,
|
|
209
|
+
R as getTheme,
|
|
210
|
+
C as getThemeRule,
|
|
211
|
+
k as getVar,
|
|
212
|
+
I as getVarValue,
|
|
213
|
+
z as initTheme,
|
|
214
|
+
T as setGlobalThemeRule,
|
|
215
|
+
$ as setTheme,
|
|
216
|
+
x as setThemeRule
|
|
75
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
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
import { setGlobalThemeRule } from './global';
|
|
2
|
+
|
|
1
3
|
declare const currentTheme: import('vue').Ref<any, any>;
|
|
2
4
|
declare const setThemeRule: (data: any, type?: "global" | "custom") => void;
|
|
3
5
|
declare const initTheme: (opt?: any) => any;
|
|
4
6
|
declare const setTheme: (value: string) => void;
|
|
7
|
+
declare const getTheme: () => any;
|
|
5
8
|
/** 获取css var实际值 */
|
|
6
9
|
declare const getThemeRule: (key: string) => import('vue').ComputedRef<any>;
|
|
7
10
|
/** 获取css var字符串 */
|
|
8
11
|
declare const getVar: (key: string) => string;
|
|
9
12
|
/** 获取css var实际值 */
|
|
10
13
|
declare const getVarValue: (key: string) => import('vue').ComputedRef<any>;
|
|
11
|
-
export { initTheme, setTheme, getThemeRule, currentTheme, setThemeRule, getVar, getVarValue };
|
|
12
|
-
declare const _default: {};
|
|
13
|
-
export default _default;
|
|
14
|
+
export { initTheme, setTheme, getTheme, getThemeRule, currentTheme, setThemeRule, getVar, getVarValue, setGlobalThemeRule, };
|
package/index-AJ9ShTGM.js.gz
DELETED
|
Binary file
|
package/index-CzrFWqFK.js.gz
DELETED
|
Binary file
|