yxuse 1.0.24 → 1.0.25
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/README.md +6 -0
- package/lib/index.cjs4.js +1 -1
- package/lib/index.es4.js +208 -167
- package/lib/theme.cjs.js +1 -8
- package/lib/theme.es.js +6 -5
- package/package.json +1 -1
package/README.md
CHANGED
package/lib/index.cjs4.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const g={green:{common:{color:{"main-100":"rgba(80, 165, 122, 1)","main-50":"rgba(80, 165, 122, 0.5)","main-25":"rgba(80, 165, 122, 0.25)","main-15":"rgba(80, 165, 122, 0.15)","main-5":"rgba(80, 165, 122, 0.05)","error-100":"rgba(255, 152, 146, 1)","error-50":"rgba(255, 152, 146, 0.5)","error-25":"rgba(255, 152, 146, 0.25)","error-15":"rgba(255, 152, 146, 0.15)","error-5":"rgba(255, 152, 146, 0.05)","warning-100":"rgba(249, 162, 33, 1)","warning-50":"rgba(249, 162, 33, 0.5)","warning-25":"rgba(249, 162, 33, 0.25)","warning-15":"rgba(249, 162, 33, 0.15)","warning-5":"rgba(249, 162, 33, 0.05)","info-100":"rgba(133, 233, 183, 1)","info-50":"rgba(133, 233, 183, 0.5)","info-25":"rgba(133, 233, 183, 0.25)","info-15":"rgba(133, 233, 183, 0.15)","info-5":"rgba(133, 233, 183, 0.05)","neutral-100":"rgba(85, 221, 221, 1)","neutral-50":"rgba(85, 221, 221, 0.5)","neutral-25":"rgba(85, 221, 221, 0.25)","neutral-15":"rgba(85, 221, 221, 0.15)","neutral-5":"rgba(85, 221, 221, 0.05)"},background:{"error-gradual":"linear-gradient(90deg, #FFCECB 0%, rgba(255,235,233,0.35) 100%)","warning-gradual":"linear-gradient(90deg, #FFE4BC 0%, rgba(255,250,233,0.35) 100%)","success-gradual":"linear-gradient(90deg, #D5ECBE 0%, rgba(234,255,233,0.35) 100%)",page:"rgba(241, 243, 242, 1)","main-content-special":"rgba(103, 186, 145, 0.10)",section:"rgba(252, 255, 253, 1)",success:"rgba(80, 165, 122, 1)",warning:"#F9A221",error:"#FF9892"},button:{background:"rgba(103, 186, 145, 0.10)","border-color":"rgba(80, 165, 122, 1)","text-color":"rgba(80, 165, 122, 1)","active-background-color":"rgba(80, 165, 122, 1)","active-border-color":"rgba(154, 209, 162, 1)","active-text-color":"#fff"},checkbox:{background:"rgba(216, 233, 219, 1)","icon-color":"rgba(80, 165, 122, 0)","border-color":"rgba(154, 209, 162, 1)","text-color":"#9AD1A2","checked-text-color":"#1D4B34","checked-background":"rgba(216, 233, 219, 1)","checked-icon-color":"rgba(80, 165, 122, 1)","checked-border-color":"rgba(154, 209, 162, 1)"},radio:{background:"rgba(191, 225, 209, 1)","icon-border-color":"rgba(191, 225, 209, 1)","icon-checked-background":"rgba(103, 186, 145, 1)","icon-checked-point-background":"rgba(210, 255, 218, 1)"},switch:{background:"#637B6B","checked-background":"#9BE9C2"},input:{background:"rgba(237, 246, 239, 1)","border-color":"rgba(80, 165, 122, 1)",color:"rgba(29, 75, 52, 1)","placeholder-color":"rgba(80, 165, 122, 1)","hover-background":"rgba(237, 246, 239, 0.30)","hover-border-color":"rgba(80, 165, 122, 1)","hover-color":"rgba(80, 165, 122, 1)","active-background":"rgba(237, 246, 239, 0.30)","active-border-color":"rgba(80, 165, 122, 1)","active-color":"rgba(80, 165, 122, 1)","disabled-background":"rgba(237, 246, 239, 1)","disabled-border-color":"rgba(237, 246, 239, 1)","disabled-color":"rgba(83, 83, 83, 1)"},select:{"dropdown-background":"rgba(237, 246, 239, 1)","dropdown-border-color":"rgba(80, 165, 122, 1)","dropdown-item-color":"rgba(80, 165, 122, 1)","dropdown-item-hover-background":"rgba(178, 220, 198, 1)","dropdown-item-hover-color":"rgba(29, 75, 52, 1)","dropdown-item-selected-background":"rgba(178, 220, 198, 1)","dropdown-item-selected-color":"rgba(29, 75, 52, 1)"},tree:{},layout:{"nav-background":"#fff","view-background":"#F1F3F2"},table:{"header-background":"#67BA91","header-text-color":"#fff","row-background":"#D1EFDA","row-odd-background":"#EAF9ED","row-border-bottom-color":"#9AD1A2","row-text-color":"#1D4B34","row-error-background":"linear-gradient(90deg, #FFCECB 0%, rgba(255,235,233,0.35) 100%)","row-warning-background":"linear-gradient(90deg, #FFE4BC 0%, rgba(255,250,233,0.35) 100%)","row-hover-background":"#b2dcc6","row-hover-text-color":"rgba(29, 75, 52, 1)"},chart:{pie_color_1:"#50A57A",pie_color_2:"#F8B85A",pie_color_3:"#FF9892",pie_color_4:"#55DDDD",pie_color_5:"#85E9B7"},message:{},text:{main:"#50A57A",deep:"#1D4B34",light:"rgba(80, 165, 122, 0.50)",paler:"#637B6B",success:"#50A57A",warning:"#F8B85A",error:"#FF9892",white:"#fff"},dialog:{"header-background":"#fff","body-background":"#fff","footer-background":"#fff"},progress:{background:"#CADFD3","active-background":"#67BA91"}},cloud:{},"station-control-center":{"equipment-line-status-NORMAL-SFED":"#F9A221","equipment-line-status-NORMAL":"#50A57A","equipment-line-status-WARN":"#FF9892","equipment-line-status-OFF_LINE":"#D1D3D2","equipment-status-NORMAL":"#50A57A","equipment-status-WARN":"#FF9892","equipment-status-OFF_LINE":"#D1D3D2","equipment-background-NORMAL":"#F9FCF9","equipment-border-NORMAL":"1px solid #50A57A","equipment-background-WARN":"#F9FBFC","equipment-border-WARN":"1px solid #FF9892","equipment-background-OFF_LINE":"#E9F2EE","equipment-border-OFF_LINE":"1px solid #fff"}},blue:{common:{"--test1":"#fff","--test2":"#ccc"},cloud:{},"station-control-center":{}}},n="yxTheme",m="green",d=()=>{const r=a();localStorage.getItem(n)||localStorage.setItem(n,r);const o=document.documentElement,e=g[r].common;Object.keys(e).forEach(t=>{Object.keys(e[t]).forEach(c=>{const b=`--${t}-${c}`;o.style.setProperty(b,e[t][c])})})},l=r=>{localStorage.setItem(n,r),d()},a=()=>localStorage.getItem(n)||m,i=r=>{const o=a();return g[o][r]||{}},u=r=>{const o=a();return g[o].common[r]||{}},s=r=>{const o=a(),e=g[o][r],t=document.documentElement;Object.keys(e).forEach(c=>{const b=`--${c}`;t.style.setProperty(b,e[c])})},F=Object.freeze(Object.defineProperty({__proto__:null,changeTheme:l,getCurTheme:a,getGroupColor:u,getSystemThemeConfig:i,install:d,installSystemTheme:s},Symbol.toStringTag,{value:"Module"}));exports.changeTheme=l;exports.getCurTheme=a;exports.getGroupColor=u;exports.getSystemThemeConfig=i;exports.install=d;exports.installSystemTheme=s;exports.theme=F;
|
package/lib/index.es4.js
CHANGED
|
@@ -1,167 +1,208 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
1
|
+
const g = {
|
|
2
|
+
green: {
|
|
3
|
+
common: {
|
|
4
|
+
color: {
|
|
5
|
+
"main-100": "rgba(80, 165, 122, 1)",
|
|
6
|
+
"main-50": "rgba(80, 165, 122, 0.5)",
|
|
7
|
+
"main-25": "rgba(80, 165, 122, 0.25)",
|
|
8
|
+
"main-15": "rgba(80, 165, 122, 0.15)",
|
|
9
|
+
"main-5": "rgba(80, 165, 122, 0.05)",
|
|
10
|
+
"error-100": "rgba(255, 152, 146, 1)",
|
|
11
|
+
"error-50": "rgba(255, 152, 146, 0.5)",
|
|
12
|
+
"error-25": "rgba(255, 152, 146, 0.25)",
|
|
13
|
+
"error-15": "rgba(255, 152, 146, 0.15)",
|
|
14
|
+
"error-5": "rgba(255, 152, 146, 0.05)",
|
|
15
|
+
"warning-100": "rgba(249, 162, 33, 1)",
|
|
16
|
+
"warning-50": "rgba(249, 162, 33, 0.5)",
|
|
17
|
+
"warning-25": "rgba(249, 162, 33, 0.25)",
|
|
18
|
+
"warning-15": "rgba(249, 162, 33, 0.15)",
|
|
19
|
+
"warning-5": "rgba(249, 162, 33, 0.05)",
|
|
20
|
+
"info-100": "rgba(133, 233, 183, 1)",
|
|
21
|
+
"info-50": "rgba(133, 233, 183, 0.5)",
|
|
22
|
+
"info-25": "rgba(133, 233, 183, 0.25)",
|
|
23
|
+
"info-15": "rgba(133, 233, 183, 0.15)",
|
|
24
|
+
"info-5": "rgba(133, 233, 183, 0.05)",
|
|
25
|
+
"neutral-100": "rgba(85, 221, 221, 1)",
|
|
26
|
+
"neutral-50": "rgba(85, 221, 221, 0.5)",
|
|
27
|
+
"neutral-25": "rgba(85, 221, 221, 0.25)",
|
|
28
|
+
"neutral-15": "rgba(85, 221, 221, 0.15)",
|
|
29
|
+
"neutral-5": "rgba(85, 221, 221, 0.05)"
|
|
30
|
+
},
|
|
31
|
+
background: {
|
|
32
|
+
"error-gradual": "linear-gradient(90deg, #FFCECB 0%, rgba(255,235,233,0.35) 100%)",
|
|
33
|
+
"warning-gradual": "linear-gradient(90deg, #FFE4BC 0%, rgba(255,250,233,0.35) 100%)",
|
|
34
|
+
"success-gradual": "linear-gradient(90deg, #D5ECBE 0%, rgba(234,255,233,0.35) 100%)",
|
|
35
|
+
page: "rgba(241, 243, 242, 1)",
|
|
36
|
+
"main-content-special": "rgba(103, 186, 145, 0.10)",
|
|
37
|
+
section: "rgba(252, 255, 253, 1)",
|
|
38
|
+
success: "rgba(80, 165, 122, 1)",
|
|
39
|
+
warning: "#F9A221",
|
|
40
|
+
error: "#FF9892"
|
|
41
|
+
},
|
|
42
|
+
button: {
|
|
43
|
+
background: "rgba(103, 186, 145, 0.10)",
|
|
44
|
+
"border-color": "rgba(80, 165, 122, 1)",
|
|
45
|
+
"text-color": "rgba(80, 165, 122, 1)",
|
|
46
|
+
"active-background-color": "rgba(80, 165, 122, 1)",
|
|
47
|
+
"active-border-color": "rgba(154, 209, 162, 1)",
|
|
48
|
+
"active-text-color": "#fff"
|
|
49
|
+
},
|
|
50
|
+
checkbox: {
|
|
51
|
+
background: "rgba(216, 233, 219, 1)",
|
|
52
|
+
"icon-color": "rgba(80, 165, 122, 0)",
|
|
53
|
+
"border-color": "rgba(154, 209, 162, 1)",
|
|
54
|
+
"text-color": "#9AD1A2",
|
|
55
|
+
"checked-text-color": "#1D4B34",
|
|
56
|
+
"checked-background": "rgba(216, 233, 219, 1)",
|
|
57
|
+
"checked-icon-color": "rgba(80, 165, 122, 1)",
|
|
58
|
+
"checked-border-color": "rgba(154, 209, 162, 1)"
|
|
59
|
+
},
|
|
60
|
+
radio: {
|
|
61
|
+
background: "rgba(191, 225, 209, 1)",
|
|
62
|
+
"icon-border-color": "rgba(191, 225, 209, 1)",
|
|
63
|
+
"icon-checked-background": "rgba(103, 186, 145, 1)",
|
|
64
|
+
"icon-checked-point-background": "rgba(210, 255, 218, 1)"
|
|
65
|
+
},
|
|
66
|
+
switch: {
|
|
67
|
+
background: "#637B6B",
|
|
68
|
+
"checked-background": "#9BE9C2"
|
|
69
|
+
},
|
|
70
|
+
input: {
|
|
71
|
+
background: "rgba(237, 246, 239, 1)",
|
|
72
|
+
"border-color": "rgba(80, 165, 122, 1)",
|
|
73
|
+
color: "rgba(29, 75, 52, 1)",
|
|
74
|
+
"placeholder-color": "rgba(80, 165, 122, 1)",
|
|
75
|
+
"hover-background": "rgba(237, 246, 239, 0.30)",
|
|
76
|
+
"hover-border-color": "rgba(80, 165, 122, 1)",
|
|
77
|
+
"hover-color": "rgba(80, 165, 122, 1)",
|
|
78
|
+
"active-background": "rgba(237, 246, 239, 0.30)",
|
|
79
|
+
"active-border-color": "rgba(80, 165, 122, 1)",
|
|
80
|
+
"active-color": "rgba(80, 165, 122, 1)",
|
|
81
|
+
"disabled-background": "rgba(237, 246, 239, 1)",
|
|
82
|
+
"disabled-border-color": "rgba(237, 246, 239, 1)",
|
|
83
|
+
"disabled-color": "rgba(83, 83, 83, 1)"
|
|
84
|
+
},
|
|
85
|
+
select: {
|
|
86
|
+
"dropdown-background": "rgba(237, 246, 239, 1)",
|
|
87
|
+
"dropdown-border-color": "rgba(80, 165, 122, 1)",
|
|
88
|
+
"dropdown-item-color": "rgba(80, 165, 122, 1)",
|
|
89
|
+
"dropdown-item-hover-background": "rgba(178, 220, 198, 1)",
|
|
90
|
+
"dropdown-item-hover-color": "rgba(29, 75, 52, 1)",
|
|
91
|
+
"dropdown-item-selected-background": "rgba(178, 220, 198, 1)",
|
|
92
|
+
"dropdown-item-selected-color": "rgba(29, 75, 52, 1)"
|
|
93
|
+
},
|
|
94
|
+
tree: {},
|
|
95
|
+
layout: {
|
|
96
|
+
"nav-background": "#fff",
|
|
97
|
+
"view-background": "#F1F3F2"
|
|
98
|
+
},
|
|
99
|
+
table: {
|
|
100
|
+
"header-background": "#67BA91",
|
|
101
|
+
"header-text-color": "#fff",
|
|
102
|
+
"row-background": "#D1EFDA",
|
|
103
|
+
"row-odd-background": "#EAF9ED",
|
|
104
|
+
//奇数行色值
|
|
105
|
+
"row-border-bottom-color": "#9AD1A2",
|
|
106
|
+
"row-text-color": "#1D4B34",
|
|
107
|
+
"row-error-background": "linear-gradient(90deg, #FFCECB 0%, rgba(255,235,233,0.35) 100%)",
|
|
108
|
+
"row-warning-background": "linear-gradient(90deg, #FFE4BC 0%, rgba(255,250,233,0.35) 100%)",
|
|
109
|
+
"row-hover-background": "#b2dcc6",
|
|
110
|
+
"row-hover-text-color": "rgba(29, 75, 52, 1)"
|
|
111
|
+
},
|
|
112
|
+
chart: {
|
|
113
|
+
pie_color_1: "#50A57A",
|
|
114
|
+
pie_color_2: "#F8B85A",
|
|
115
|
+
pie_color_3: "#FF9892",
|
|
116
|
+
pie_color_4: "#55DDDD",
|
|
117
|
+
pie_color_5: "#85E9B7"
|
|
118
|
+
},
|
|
119
|
+
message: {},
|
|
120
|
+
text: {
|
|
121
|
+
main: "#50A57A",
|
|
122
|
+
deep: "#1D4B34",
|
|
123
|
+
light: "rgba(80, 165, 122, 0.50)",
|
|
124
|
+
paler: "#637B6B",
|
|
125
|
+
success: "#50A57A",
|
|
126
|
+
warning: "#F8B85A",
|
|
127
|
+
error: "#FF9892",
|
|
128
|
+
white: "#fff"
|
|
129
|
+
},
|
|
130
|
+
//弹窗
|
|
131
|
+
dialog: {
|
|
132
|
+
"header-background": "#fff",
|
|
133
|
+
"body-background": "#fff",
|
|
134
|
+
"footer-background": "#fff"
|
|
135
|
+
},
|
|
136
|
+
//进度条
|
|
137
|
+
progress: {
|
|
138
|
+
background: "#CADFD3",
|
|
139
|
+
"active-background": "#67BA91"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
cloud: {},
|
|
143
|
+
"station-control-center": {
|
|
144
|
+
"equipment-line-status-NORMAL-SFED": "#F9A221",
|
|
145
|
+
"equipment-line-status-NORMAL": "#50A57A",
|
|
146
|
+
"equipment-line-status-WARN": "#FF9892",
|
|
147
|
+
"equipment-line-status-OFF_LINE": "#D1D3D2",
|
|
148
|
+
"equipment-status-NORMAL": "#50A57A",
|
|
149
|
+
"equipment-status-WARN": "#FF9892",
|
|
150
|
+
"equipment-status-OFF_LINE": "#D1D3D2",
|
|
151
|
+
"equipment-background-NORMAL": "#F9FCF9",
|
|
152
|
+
"equipment-border-NORMAL": "1px solid #50A57A",
|
|
153
|
+
"equipment-background-WARN": "#F9FBFC",
|
|
154
|
+
"equipment-border-WARN": "1px solid #FF9892",
|
|
155
|
+
"equipment-background-OFF_LINE": "#E9F2EE",
|
|
156
|
+
"equipment-border-OFF_LINE": "1px solid #fff"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
blue: {
|
|
160
|
+
common: {
|
|
161
|
+
"--test1": "#fff",
|
|
162
|
+
"--test2": "#ccc"
|
|
163
|
+
},
|
|
164
|
+
cloud: {},
|
|
165
|
+
"station-control-center": {}
|
|
166
|
+
}
|
|
167
|
+
}, n = "yxTheme", i = "green", d = () => {
|
|
168
|
+
const r = t();
|
|
169
|
+
localStorage.getItem(n) || localStorage.setItem(n, r);
|
|
170
|
+
const o = document.documentElement, e = g[r].common;
|
|
171
|
+
Object.keys(e).forEach((a) => {
|
|
172
|
+
Object.keys(e[a]).forEach((c) => {
|
|
173
|
+
const b = `--${a}-${c}`;
|
|
174
|
+
o.style.setProperty(b, e[a][c]);
|
|
175
|
+
});
|
|
176
|
+
});
|
|
177
|
+
}, l = (r) => {
|
|
178
|
+
localStorage.setItem(n, r), d();
|
|
179
|
+
}, t = () => localStorage.getItem(n) || i, s = (r) => {
|
|
180
|
+
const o = t();
|
|
181
|
+
return g[o][r] || {};
|
|
182
|
+
}, u = (r) => {
|
|
183
|
+
const o = t();
|
|
184
|
+
return g[o].common[r] || {};
|
|
185
|
+
}, m = (r) => {
|
|
186
|
+
const o = t(), e = g[o][r], a = document.documentElement;
|
|
187
|
+
Object.keys(e).forEach((c) => {
|
|
188
|
+
const b = `--${c}`;
|
|
189
|
+
a.style.setProperty(b, e[c]);
|
|
190
|
+
});
|
|
191
|
+
}, F = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
192
|
+
__proto__: null,
|
|
193
|
+
changeTheme: l,
|
|
194
|
+
getCurTheme: t,
|
|
195
|
+
getGroupColor: u,
|
|
196
|
+
getSystemThemeConfig: s,
|
|
197
|
+
install: d,
|
|
198
|
+
installSystemTheme: m
|
|
199
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
200
|
+
export {
|
|
201
|
+
s as a,
|
|
202
|
+
u as b,
|
|
203
|
+
l as c,
|
|
204
|
+
m as d,
|
|
205
|
+
t as g,
|
|
206
|
+
d as i,
|
|
207
|
+
F as t
|
|
208
|
+
};
|
package/lib/theme.cjs.js
CHANGED
|
@@ -1,8 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const e = require("./index.cjs4.js");
|
|
4
|
-
exports.changeTheme = e.changeTheme;
|
|
5
|
-
exports.getCurTheme = e.getCurTheme;
|
|
6
|
-
exports.getGroupColor = e.getGroupColor;
|
|
7
|
-
exports.getSystemThemeConfig = e.getSystemThemeConfig;
|
|
8
|
-
exports.install = e.install;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs4.js");exports.changeTheme=e.changeTheme;exports.getCurTheme=e.getCurTheme;exports.getGroupColor=e.getGroupColor;exports.getSystemThemeConfig=e.getSystemThemeConfig;exports.install=e.install;exports.installSystemTheme=e.installSystemTheme;
|
package/lib/theme.es.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { c as s, g, b as
|
|
1
|
+
import { c as s, g as t, b as m, a as g, i as o, d as h } from "./index.es4.js";
|
|
2
2
|
export {
|
|
3
3
|
s as changeTheme,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
t as getCurTheme,
|
|
5
|
+
m as getGroupColor,
|
|
6
|
+
g as getSystemThemeConfig,
|
|
7
|
+
o as install,
|
|
8
|
+
h as installSystemTheme
|
|
8
9
|
};
|