yxuse 1.0.62 → 1.0.63
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/lib/api.cjs.js +1 -1
- package/lib/api.es.js +1 -1
- package/lib/icons.cjs.js +1 -1
- package/lib/icons.es.js +1 -1
- package/lib/index.cjs.js +1 -1
- package/lib/index.cjs2.js +1 -1
- package/lib/index.cjs2.js.gz +0 -0
- package/lib/index.cjs3.js +1 -1
- package/lib/index.cjs4.js +1 -1
- package/lib/index.cjs5.js +1 -1
- package/lib/index.es.js +8 -15
- package/lib/index.es2.js +472 -24
- package/lib/index.es2.js.gz +0 -0
- package/lib/index.es3.js +27 -7
- package/lib/index.es4.js +7 -32
- package/lib/index.es5.js +25 -449
- package/lib/theme.cjs.js +1 -1
- package/lib/theme.es.js +14 -10
- package/lib/utils.cjs.js +1 -1
- package/lib/utils.es.js +5 -4
- package/package.json +1 -1
- package/lib/index.cjs5.js.gz +0 -0
- package/lib/index.es5.js.gz +0 -0
package/lib/index.es5.js
CHANGED
|
@@ -1,460 +1,36 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var s = (t, c, a) => new Promise((_, l) => {
|
|
2
|
+
var d = (e) => {
|
|
3
3
|
try {
|
|
4
|
-
|
|
4
|
+
n(a.next(e));
|
|
5
5
|
} catch (i) {
|
|
6
|
-
|
|
6
|
+
l(i);
|
|
7
7
|
}
|
|
8
|
-
}, g = (
|
|
8
|
+
}, g = (e) => {
|
|
9
9
|
try {
|
|
10
|
-
|
|
10
|
+
n(a.throw(e));
|
|
11
11
|
} catch (i) {
|
|
12
|
-
|
|
12
|
+
l(i);
|
|
13
13
|
}
|
|
14
|
-
},
|
|
15
|
-
|
|
14
|
+
}, n = (e) => e.done ? _(e.value) : Promise.resolve(e.value).then(d, g);
|
|
15
|
+
n((a = a.apply(t, c)).next());
|
|
16
16
|
});
|
|
17
|
-
import {
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"main-15": "rgba(80, 165, 122, 0.15)",
|
|
26
|
-
"main-5": "rgba(80, 165, 122, 0.05)",
|
|
27
|
-
"error-100": "rgba(255, 152, 146, 1)",
|
|
28
|
-
"error-50": "rgba(255, 152, 146, 0.5)",
|
|
29
|
-
"error-25": "rgba(255, 152, 146, 0.25)",
|
|
30
|
-
"error-15": "rgba(255, 152, 146, 0.15)",
|
|
31
|
-
"error-5": "rgba(255, 152, 146, 0.05)",
|
|
32
|
-
"warning-100": "rgba(249, 162, 33, 1)",
|
|
33
|
-
"warning-50": "rgba(249, 162, 33, 0.5)",
|
|
34
|
-
"warning-25": "rgba(249, 162, 33, 0.25)",
|
|
35
|
-
"warning-15": "rgba(249, 162, 33, 0.15)",
|
|
36
|
-
"warning-5": "rgba(249, 162, 33, 0.05)",
|
|
37
|
-
"info-100": "rgba(133, 233, 183, 1)",
|
|
38
|
-
"info-50": "rgba(133, 233, 183, 0.5)",
|
|
39
|
-
"info-25": "rgba(133, 233, 183, 0.25)",
|
|
40
|
-
"info-15": "rgba(133, 233, 183, 0.15)",
|
|
41
|
-
"info-5": "rgba(133, 233, 183, 0.05)",
|
|
42
|
-
"neutral-100": "rgba(85, 221, 221, 1)",
|
|
43
|
-
"neutral-50": "rgba(85, 221, 221, 0.5)",
|
|
44
|
-
"neutral-25": "rgba(85, 221, 221, 0.25)",
|
|
45
|
-
"neutral-15": "rgba(85, 221, 221, 0.15)",
|
|
46
|
-
"neutral-5": "rgba(85, 221, 221, 0.05)"
|
|
47
|
-
},
|
|
48
|
-
background: {
|
|
49
|
-
"error-gradual": "linear-gradient(90deg, #FFCECB 0%, rgba(255,235,233,0.35) 100%)",
|
|
50
|
-
"warning-gradual": "linear-gradient(90deg, #FFE4BC 0%, rgba(255,250,233,0.35) 100%)",
|
|
51
|
-
"success-gradual": "linear-gradient(90deg, #D5ECBE 0%, rgba(234,255,233,0.35) 100%)",
|
|
52
|
-
"success-gradient": "#D5ECBE 0%, rgba(234,255,233,0.35) 100%",
|
|
53
|
-
"warning-gradient": "#FFE4BC 0%, rgba(255,250,233,0.35) 100%",
|
|
54
|
-
"error-gradient": "#FFCECB 0%, rgba(255,235,233,0.35) 100%",
|
|
55
|
-
page: "rgba(241, 243, 242, 1)",
|
|
56
|
-
"main-content-special": "rgba(103, 186, 145, 0.10)",
|
|
57
|
-
section: "rgba(252, 255, 253, 1)",
|
|
58
|
-
success: "#52F998",
|
|
59
|
-
warning: "#F9A221",
|
|
60
|
-
error: "#FF9892"
|
|
61
|
-
},
|
|
62
|
-
button: {
|
|
63
|
-
background: "rgba(103, 186, 145, 0.10)",
|
|
64
|
-
"border-color": "rgba(80, 165, 122, 1)",
|
|
65
|
-
"text-color": "rgba(80, 165, 122, 1)",
|
|
66
|
-
"active-background": "rgba(80, 165, 122, 1)",
|
|
67
|
-
"active-border-color": "rgba(154, 209, 162, 1)",
|
|
68
|
-
"active-text-color": "#fff"
|
|
69
|
-
},
|
|
70
|
-
checkbox: {
|
|
71
|
-
background: "rgba(216, 233, 219, 1)",
|
|
72
|
-
"icon-color": "rgba(80, 165, 122, 0)",
|
|
73
|
-
"border-color": "rgba(154, 209, 162, 1)",
|
|
74
|
-
"text-color": "#9AD1A2",
|
|
75
|
-
"checked-text-color": "#1D4B34",
|
|
76
|
-
"checked-background": "rgba(216, 233, 219, 1)",
|
|
77
|
-
"checked-icon-color": "rgba(80, 165, 122, 1)",
|
|
78
|
-
"checked-border-color": "rgba(154, 209, 162, 1)"
|
|
79
|
-
},
|
|
80
|
-
radio: {
|
|
81
|
-
background: "rgba(191, 225, 209, 1)",
|
|
82
|
-
"icon-border-color": "rgba(191, 225, 209, 1)",
|
|
83
|
-
"icon-checked-background": "rgba(103, 186, 145, 1)",
|
|
84
|
-
"icon-checked-point-background": "rgba(210, 255, 218, 1)"
|
|
85
|
-
},
|
|
86
|
-
switch: {
|
|
87
|
-
background: "#637B6B",
|
|
88
|
-
"icon-point-background": "#fff",
|
|
89
|
-
"icon-checked-point-background": "#90E6BA",
|
|
90
|
-
"checked-background": "#9BE9C2"
|
|
91
|
-
},
|
|
92
|
-
input: {
|
|
93
|
-
color: "#1D4B34",
|
|
94
|
-
background: "#FFFFFF",
|
|
95
|
-
"border-color": "#A8B6AF",
|
|
96
|
-
"placeholder-color": "rgba(29,75,52,0.5)",
|
|
97
|
-
"hover-background": "#FFFFFF",
|
|
98
|
-
"hover-border-color": "#50A57A",
|
|
99
|
-
"hover-color": "#1D4B34",
|
|
100
|
-
"active-background": "#FFFFFF",
|
|
101
|
-
"active-border-color": "#50A57A",
|
|
102
|
-
"active-color": "#1D4B34",
|
|
103
|
-
"disabled-background": "#FBFBFB",
|
|
104
|
-
"disabled-border-color": "#7B8A83",
|
|
105
|
-
"disabled-color": "#7B8A83",
|
|
106
|
-
"append-background": "transparent",
|
|
107
|
-
"append-color": "#50A57A"
|
|
108
|
-
},
|
|
109
|
-
select: {
|
|
110
|
-
"dropdown-background": "rgba(237, 246, 239, 1)",
|
|
111
|
-
"dropdown-border-color": "rgba(80, 165, 122, 1)",
|
|
112
|
-
"dropdown-item-color": "rgba(80, 165, 122, 1)",
|
|
113
|
-
"dropdown-item-hover-background": "rgba(178, 220, 198, 1)",
|
|
114
|
-
"dropdown-item-hover-color": "rgba(29, 75, 52, 1)",
|
|
115
|
-
"dropdown-item-selected-background": "rgba(178, 220, 198, 1)",
|
|
116
|
-
"dropdown-item-selected-color": "rgba(29, 75, 52, 1)"
|
|
117
|
-
},
|
|
118
|
-
tree: {
|
|
119
|
-
text: "rgba(99,123,107,0.50)"
|
|
120
|
-
},
|
|
121
|
-
layout: {
|
|
122
|
-
"nav-background": "#fff",
|
|
123
|
-
"view-background": "#F1F3F2"
|
|
124
|
-
},
|
|
125
|
-
table: {
|
|
126
|
-
"header-background": "#67BA91",
|
|
127
|
-
"header-text-color": "#fff",
|
|
128
|
-
"row-background": "#F8FFF9",
|
|
129
|
-
"row-odd-background": "#EDFBF1",
|
|
130
|
-
//奇数行色值
|
|
131
|
-
"row-border-bottom-color": "transparent",
|
|
132
|
-
"row-text-color": "#1D4B34",
|
|
133
|
-
"row-success-background": "linear-gradient(82deg, rgba(85,196,39,0.22) 0%, rgba(85,196,39,0) 100%)",
|
|
134
|
-
"row-error-background": "linear-gradient(82deg, rgba(234,111,111,0.22) 0%, rgba(234,111,111,0) 100%)",
|
|
135
|
-
"row-warning-background": "linear-gradient(82deg, rgba(248,184,90,0.22) 0%, rgba(248,184,90,0) 100%)",
|
|
136
|
-
"row-hover-background": "linear-gradient(82deg, #CBF7DD 0%, #EEFFF1 100%)",
|
|
137
|
-
"row-hover-text-color": "rgba(29, 75, 52, 1)"
|
|
138
|
-
},
|
|
139
|
-
chart: {
|
|
140
|
-
pie_color_1: "#50A57A",
|
|
141
|
-
pie_color_2: "#F8B85A",
|
|
142
|
-
pie_color_3: "#FF9892",
|
|
143
|
-
pie_color_4: "#55DDDD",
|
|
144
|
-
pie_color_5: "#85E9B7",
|
|
145
|
-
line_color_1: "#50A57A",
|
|
146
|
-
line_color_2: "#F8B85A",
|
|
147
|
-
line_color_3: "#FF9892",
|
|
148
|
-
line_color_4: "#55DDDD",
|
|
149
|
-
line_color_5: "#85E9B7",
|
|
150
|
-
line_title_color: "#637B6B",
|
|
151
|
-
line_xAxis_color: "#50A57A",
|
|
152
|
-
line_yAxis_color: "#50A57A",
|
|
153
|
-
line_markLine_color: "#FF9892",
|
|
154
|
-
line_splitLine_color: "#DBEEE3"
|
|
155
|
-
},
|
|
156
|
-
message: {},
|
|
157
|
-
text: {
|
|
158
|
-
main: "#50A57A",
|
|
159
|
-
deep: "#1D4B34",
|
|
160
|
-
light: "rgba(80, 165, 122, 0.50)",
|
|
161
|
-
paler: "#637B6B",
|
|
162
|
-
success: "#52F998",
|
|
163
|
-
warning: "#F9B652",
|
|
164
|
-
error: "#FF7A7A",
|
|
165
|
-
white: "#fff",
|
|
166
|
-
light_gray: "#B0BDB4"
|
|
167
|
-
},
|
|
168
|
-
//弹窗
|
|
169
|
-
dialog: {
|
|
170
|
-
"header-background": "#fff",
|
|
171
|
-
"body-background": "#fff",
|
|
172
|
-
"footer-background": "#fff"
|
|
173
|
-
},
|
|
174
|
-
//进度条
|
|
175
|
-
progress: {
|
|
176
|
-
background: "#CADFD3",
|
|
177
|
-
"active-background": "#67BA91"
|
|
178
|
-
},
|
|
179
|
-
icon: {
|
|
180
|
-
"title-main": "#DAF1E5",
|
|
181
|
-
"title-assist": "#F9A221",
|
|
182
|
-
"title-assist-2": "#50A57A",
|
|
183
|
-
"active-color": "rgba(80,165,122,1)",
|
|
184
|
-
"active-light-color": "#F9A221"
|
|
185
|
-
}
|
|
186
|
-
},
|
|
187
|
-
cloud: {},
|
|
188
|
-
"station-control-center": {
|
|
189
|
-
"equipment-line-status-NORMAL-SFED": "#F9A221",
|
|
190
|
-
"equipment-line-status-NORMAL": "#50A57A",
|
|
191
|
-
"equipment-line-status-WARN": "#FF9892",
|
|
192
|
-
"equipment-line-status-OFF_LINE": "#D1D3D2",
|
|
193
|
-
"equipment-status-NORMAL": "#50A57A",
|
|
194
|
-
"equipment-status-WARN": "#FF9892",
|
|
195
|
-
"equipment-status-OFF_LINE": "#D1D3D2",
|
|
196
|
-
"equipment-background-NORMAL": "#F9FCF9",
|
|
197
|
-
"equipment-border-NORMAL": "1px solid #50A57A",
|
|
198
|
-
"equipment-background-WARN": "#F9FBFC",
|
|
199
|
-
"equipment-border-WARN": "1px solid #FF9892",
|
|
200
|
-
"equipment-background-OFF_LINE": "#E9F2EE",
|
|
201
|
-
"equipment-border-OFF_LINE": "1px solid #fff",
|
|
202
|
-
"equipment-color-LHPC-NORMAL": "#fff",
|
|
203
|
-
"equipment-background-LHPC-NORMAL": "linear-gradient(90deg, #50A57A 0%, rgba(80,165,122,0.3) 100%)",
|
|
204
|
-
"equipment-color-LHPC-NORMAL-SFED": "#fff",
|
|
205
|
-
"equipment-background-LHPC-NORMAL-SFED": "linear-gradient(90deg, #F9A221 0%, rgba(255,223,165,0.38) 100%)",
|
|
206
|
-
"equipment-color-LHPC-OFF_LINE": "#637B6B",
|
|
207
|
-
"equipment-background-LHPC-OFF_LINE": "linear-gradient(90deg, #D1D3D2 0%, rgba(209,211,210,0) 100%)",
|
|
208
|
-
"equipment-ball-background": "#9DCBB4",
|
|
209
|
-
"equipment-ball-LINE-NORMAL": "#50A57A",
|
|
210
|
-
"equipment-ball-LINE-OFF_LINE": "#D1D3D2",
|
|
211
|
-
"equipment-ball-background-SFED": "#FBE5B7",
|
|
212
|
-
"equipment-ball-LINE-NORMAL-SFED": "#F9A221",
|
|
213
|
-
"equipment-ball-LINE-OFF_LINE-SFED": "#D1D3D2"
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
blue: {
|
|
217
|
-
common: {
|
|
218
|
-
color: {
|
|
219
|
-
"main-100": "#0A2F52",
|
|
220
|
-
"main-50": "#5477CF",
|
|
221
|
-
"main-25": "#3E75CF",
|
|
222
|
-
"main-15": "#E4EDFF",
|
|
223
|
-
"main-5": "#5477CF",
|
|
224
|
-
"error-100": "#FF9892",
|
|
225
|
-
"error-50": "#FFF4F3",
|
|
226
|
-
"error-25": "#F9EACE",
|
|
227
|
-
"error-15": "rgba(255, 152, 146, 0.15)",
|
|
228
|
-
"error-5": "rgba(255, 152, 146, 0.05)",
|
|
229
|
-
"warning-100": "#F9A221",
|
|
230
|
-
"warning-50": "#F8B85A",
|
|
231
|
-
"warning-25": "#F9EACE",
|
|
232
|
-
"warning-15": "rgba(249, 162, 33, 0.15)",
|
|
233
|
-
"warning-5": "rgba(249, 162, 33, 0.05)",
|
|
234
|
-
"info-100": "rgba(133, 233, 183, 1)",
|
|
235
|
-
"info-50": "rgba(133, 233, 183, 0.5)",
|
|
236
|
-
"info-25": "rgba(133, 233, 183, 0.25)",
|
|
237
|
-
"info-15": "rgba(133, 233, 183, 0.15)",
|
|
238
|
-
"info-5": "rgba(133, 233, 183, 0.05)",
|
|
239
|
-
"neutral-100": "rgba(85, 221, 221, 1)",
|
|
240
|
-
"neutral-50": "rgba(85, 221, 221, 0.5)",
|
|
241
|
-
"neutral-25": "rgba(85, 221, 221, 0.25)",
|
|
242
|
-
"neutral-15": "rgba(85, 221, 221, 0.15)",
|
|
243
|
-
"neutral-5": "rgba(85, 221, 221, 0.05)"
|
|
244
|
-
},
|
|
245
|
-
background: {
|
|
246
|
-
"error-gradual": "#FF9892",
|
|
247
|
-
"warning-gradual": "#F8B85A",
|
|
248
|
-
"success-gradual": "linear-gradient(90deg, #D5ECBE 0%, rgba(234,255,233,0.35) 100%)",
|
|
249
|
-
"success-gradient": "#D5ECBE 0%, rgba(234,255,233,0.35) 100%",
|
|
250
|
-
"warning-gradient": "#FFE4BC 0%, rgba(255,250,233,0.35) 100%",
|
|
251
|
-
"error-gradient": "#FFCECB 0%, rgba(255,235,233,0.35) 100%",
|
|
252
|
-
page: "rgba(241, 243, 242, 1)",
|
|
253
|
-
"main-content-special": "rgba(103, 186, 145, 0.10)",
|
|
254
|
-
section: "rgba(252, 255, 253, 1)",
|
|
255
|
-
success: "rgba(80, 165, 122, 1)",
|
|
256
|
-
warning: "#F9A221",
|
|
257
|
-
error: "#FF9892"
|
|
258
|
-
},
|
|
259
|
-
button: {
|
|
260
|
-
background: "rgba(103, 186, 145, 0.10)",
|
|
261
|
-
"border-color": "rgba(80, 165, 122, 1)",
|
|
262
|
-
"text-color": "rgba(80, 165, 122, 1)",
|
|
263
|
-
"active-background-color": "rgba(80, 165, 122, 1)",
|
|
264
|
-
"active-border-color": "rgba(154, 209, 162, 1)",
|
|
265
|
-
"active-text-color": "#fff"
|
|
266
|
-
},
|
|
267
|
-
checkbox: {
|
|
268
|
-
background: "rgba(216, 233, 219, 1)",
|
|
269
|
-
"icon-color": "rgba(80, 165, 122, 0)",
|
|
270
|
-
"border-color": "rgba(154, 209, 162, 1)",
|
|
271
|
-
"text-color": "#9AD1A2",
|
|
272
|
-
"checked-text-color": "#1D4B34",
|
|
273
|
-
"checked-background": "rgba(216, 233, 219, 1)",
|
|
274
|
-
"checked-icon-color": "rgba(80, 165, 122, 1)",
|
|
275
|
-
"checked-border-color": "rgba(154, 209, 162, 1)"
|
|
276
|
-
},
|
|
277
|
-
radio: {
|
|
278
|
-
background: "rgba(191, 225, 209, 1)",
|
|
279
|
-
"icon-border-color": "rgba(191, 225, 209, 1)",
|
|
280
|
-
"icon-checked-background": "rgba(103, 186, 145, 1)",
|
|
281
|
-
"icon-checked-point-background": "rgba(210, 255, 218, 1)"
|
|
282
|
-
},
|
|
283
|
-
switch: {
|
|
284
|
-
background: "#637B6B",
|
|
285
|
-
"icon-point-background": "#fff",
|
|
286
|
-
"icon-checked-point-background": "#90E6BA",
|
|
287
|
-
"checked-background": "#9BE9C2"
|
|
288
|
-
},
|
|
289
|
-
input: {
|
|
290
|
-
background: "rgba(237, 246, 239, 1)",
|
|
291
|
-
"border-color": "rgba(80, 165, 122, 1)",
|
|
292
|
-
color: "rgba(29, 75, 52, 1)",
|
|
293
|
-
"placeholder-color": "rgba(80, 165, 122, 1)",
|
|
294
|
-
"hover-background": "rgba(237, 246, 239, 0.30)",
|
|
295
|
-
"hover-border-color": "rgba(80, 165, 122, 1)",
|
|
296
|
-
"hover-color": "rgba(80, 165, 122, 1)",
|
|
297
|
-
"active-background": "rgba(237, 246, 239, 0.30)",
|
|
298
|
-
"active-border-color": "rgba(80, 165, 122, 1)",
|
|
299
|
-
"active-color": "rgba(80, 165, 122, 1)",
|
|
300
|
-
"disabled-background": "rgba(219, 232, 221, 1)",
|
|
301
|
-
"disabled-border-color": "#fff",
|
|
302
|
-
"disabled-color": "rgba(80, 165, 122, 0.5)",
|
|
303
|
-
"append-background": "transparent",
|
|
304
|
-
"append-color": "#50A57A"
|
|
305
|
-
},
|
|
306
|
-
select: {
|
|
307
|
-
"dropdown-background": "rgba(237, 246, 239, 1)",
|
|
308
|
-
"dropdown-border-color": "rgba(80, 165, 122, 1)",
|
|
309
|
-
"dropdown-item-color": "rgba(80, 165, 122, 1)",
|
|
310
|
-
"dropdown-item-hover-background": "rgba(178, 220, 198, 1)",
|
|
311
|
-
"dropdown-item-hover-color": "rgba(29, 75, 52, 1)",
|
|
312
|
-
"dropdown-item-selected-background": "rgba(178, 220, 198, 1)",
|
|
313
|
-
"dropdown-item-selected-color": "rgba(29, 75, 52, 1)"
|
|
314
|
-
},
|
|
315
|
-
tree: {
|
|
316
|
-
text: "rgba(99,123,107,0.50)"
|
|
317
|
-
},
|
|
318
|
-
layout: {
|
|
319
|
-
"nav-background": "#fff",
|
|
320
|
-
"view-background": "#F1F3F2"
|
|
321
|
-
},
|
|
322
|
-
table: {
|
|
323
|
-
"header-background": "#5477CF",
|
|
324
|
-
"header-text-color": "#fff",
|
|
325
|
-
"row-background": "#F9FBFF",
|
|
326
|
-
"row-odd-background": "#F9FBFF",
|
|
327
|
-
//奇数行色值
|
|
328
|
-
"row-border-bottom-color": "#E4EDFF",
|
|
329
|
-
"row-text-color": "#0A2F52",
|
|
330
|
-
"row-error-background": "linear-gradient(90deg, #FFCECB 0%, rgba(255,235,233,0.35) 100%)",
|
|
331
|
-
"row-warning-background": "linear-gradient(90deg, #FFE4BC 0%, rgba(255,250,233,0.35) 100%)",
|
|
332
|
-
"row-hover-background": "rgba(62,117,207,0.2)",
|
|
333
|
-
"row-hover-text-color": "rgba(29, 75, 52, 1)"
|
|
334
|
-
},
|
|
335
|
-
chart: {
|
|
336
|
-
pie_color_1: "#50A57A",
|
|
337
|
-
pie_color_2: "#F8B85A",
|
|
338
|
-
pie_color_3: "#FF9892",
|
|
339
|
-
pie_color_4: "#55DDDD",
|
|
340
|
-
pie_color_5: "#85E9B7",
|
|
341
|
-
line_color_1: "#50A57A",
|
|
342
|
-
line_color_2: "#F8B85A",
|
|
343
|
-
line_color_3: "#FF9892",
|
|
344
|
-
line_color_4: "#55DDDD",
|
|
345
|
-
line_color_5: "#85E9B7",
|
|
346
|
-
line_title_color: "#637B6B",
|
|
347
|
-
line_xAxis_color: "#50A57A",
|
|
348
|
-
line_yAxis_color: "#50A57A",
|
|
349
|
-
line_markLine_color: "#FF9892",
|
|
350
|
-
line_splitLine_color: "#DBEEE3"
|
|
351
|
-
},
|
|
352
|
-
message: {},
|
|
353
|
-
text: {
|
|
354
|
-
main: "#50A57A",
|
|
355
|
-
deep: "#1D4B34",
|
|
356
|
-
light: "rgba(80, 165, 122, 0.50)",
|
|
357
|
-
paler: "#637B6B",
|
|
358
|
-
success: "#8FF59E",
|
|
359
|
-
warning: "#F8B85A",
|
|
360
|
-
error: "#FF9892",
|
|
361
|
-
white: "#fff",
|
|
362
|
-
light_gray: "#B0BDB4"
|
|
363
|
-
},
|
|
364
|
-
//弹窗
|
|
365
|
-
dialog: {
|
|
366
|
-
"header-background": "#fff",
|
|
367
|
-
"body-background": "#fff",
|
|
368
|
-
"footer-background": "#fff"
|
|
369
|
-
},
|
|
370
|
-
//进度条
|
|
371
|
-
progress: {
|
|
372
|
-
background: "#CADFD3",
|
|
373
|
-
"active-background": "#67BA91"
|
|
374
|
-
},
|
|
375
|
-
icon: {
|
|
376
|
-
"title-main": "#DAF1E5",
|
|
377
|
-
"title-assist": "#F9A221",
|
|
378
|
-
"title-assist-2": "#50A57A",
|
|
379
|
-
"active-color": "rgba(80,165,122,1)",
|
|
380
|
-
"active-light-color": "#F9A221"
|
|
381
|
-
}
|
|
382
|
-
},
|
|
383
|
-
cloud: {},
|
|
384
|
-
"station-control-center": {}
|
|
385
|
-
}
|
|
386
|
-
}, k = () => b(void 0, null, function* () {
|
|
387
|
-
let r = d(), e = "";
|
|
388
|
-
const { data: o } = yield u();
|
|
389
|
-
if (r)
|
|
390
|
-
e = o.find((t) => t.id === r).themeUrl;
|
|
391
|
-
else {
|
|
392
|
-
const n = o.find((g) => g.defaultTheme === 1) || o[0];
|
|
393
|
-
e = n.themeUrl, r = n.id;
|
|
394
|
-
}
|
|
395
|
-
const a = yield m(e);
|
|
396
|
-
F({ themeCssVar: a, themeId: r });
|
|
397
|
-
}), F = ({ themeCssVar: r, themeId: e }) => {
|
|
398
|
-
const o = localStorage.getItem("ttcGlobalState") || "{}", a = JSON.parse(o);
|
|
399
|
-
a.theme = {
|
|
400
|
-
themeCssVar: r,
|
|
401
|
-
id: e
|
|
402
|
-
}, localStorage.setItem("ttcGlobalState", JSON.stringify(a));
|
|
403
|
-
}, p = (r) => b(void 0, null, function* () {
|
|
404
|
-
const e = yield m(r.themeUrl);
|
|
405
|
-
F({ themeCssVar: e, themeId: r == null ? void 0 : r.id });
|
|
406
|
-
}), f = () => {
|
|
407
|
-
const r = s(), e = document.documentElement;
|
|
408
|
-
Object.keys(r).forEach((o) => {
|
|
409
|
-
Object.keys(r[o]).forEach((a) => {
|
|
410
|
-
const t = `--${o}-${a}`;
|
|
411
|
-
e.style.setProperty(t, r[o][a]);
|
|
412
|
-
});
|
|
413
|
-
});
|
|
414
|
-
}, m = (r) => b(void 0, null, function* () {
|
|
415
|
-
const o = yield (yield fetch(r)).json(), a = document.documentElement;
|
|
416
|
-
return Object.keys(o).forEach((t) => {
|
|
417
|
-
Object.keys(o[t]).forEach((n) => {
|
|
418
|
-
const g = `--${t}-${n}`;
|
|
419
|
-
a.style.setProperty(g, o[t][n]);
|
|
420
|
-
});
|
|
421
|
-
}), o;
|
|
422
|
-
}), h = () => b(void 0, null, function* () {
|
|
423
|
-
const { data: r } = yield u(), e = r.find((a) => a.defaultTheme === 1);
|
|
424
|
-
return e ? e.themeUrl : r[0].themeUrl;
|
|
425
|
-
}), d = () => {
|
|
426
|
-
var o;
|
|
427
|
-
const r = localStorage.getItem("ttcGlobalState"), e = r && ((o = JSON.parse(r)) == null ? void 0 : o.theme);
|
|
428
|
-
return (e == null ? void 0 : e.id) || null;
|
|
429
|
-
}, s = () => {
|
|
430
|
-
var o;
|
|
431
|
-
const r = localStorage.getItem("ttcGlobalState");
|
|
432
|
-
return (r && ((o = JSON.parse(r)) == null ? void 0 : o.theme)).themeCssVar;
|
|
433
|
-
}, B = (r) => s()[r] || {}, E = (r) => {
|
|
434
|
-
const e = d(), o = A[e][r], a = document.documentElement;
|
|
435
|
-
Object.keys(o).forEach((t) => {
|
|
436
|
-
const n = `--${t}`;
|
|
437
|
-
a.style.setProperty(n, o[t]);
|
|
438
|
-
});
|
|
439
|
-
}, w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
17
|
+
import { h as r, U as o, i as E } from "./index.es8.js";
|
|
18
|
+
const S = (t = "ttc") => s(void 0, null, function* () {
|
|
19
|
+
return yield r.get(`${o[t].INTEGRATED_BASE_URL}/basic/data/satellite/select`);
|
|
20
|
+
}), T = (t = "ttc") => s(void 0, null, function* () {
|
|
21
|
+
return yield r.get(`${o[t].INTEGRATED_BASE_URL}/basic/data/ante/select`);
|
|
22
|
+
}), U = (t = "ttc") => s(void 0, null, function* () {
|
|
23
|
+
return yield r.get(`${o[t].INTEGRATED_BASE_URL}/theme/list`);
|
|
24
|
+
}), L = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
440
25
|
__proto__: null,
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
getGroupColor: B,
|
|
446
|
-
install: k,
|
|
447
|
-
installSystemTheme: E,
|
|
448
|
-
updateTheme: f
|
|
26
|
+
auth: E,
|
|
27
|
+
getUserSelectAnteList: T,
|
|
28
|
+
getUserSelectSatelliteList: S,
|
|
29
|
+
getUserThemeList: U
|
|
449
30
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
450
31
|
export {
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
E as e,
|
|
456
|
-
h as g,
|
|
457
|
-
k as i,
|
|
458
|
-
w as t,
|
|
459
|
-
f as u
|
|
32
|
+
L as a,
|
|
33
|
+
S as b,
|
|
34
|
+
T as c,
|
|
35
|
+
U as g
|
|
460
36
|
};
|
package/lib/theme.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs5.js");require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs2.js");require("./index.cjs5.js");require("./index.cjs3.js");require("./index.cjs8.js");require("./index.cjs9.js");require("./index.cjs4.js");require("./index.cjs6.js");require("./index.cjs7.js");exports.changeTheme=e.changeTheme;exports.getCurTheme=e.getCurTheme;exports.getCurThemeCssVar=e.getCurThemeCssVar;exports.getDefaultThemeUrl=e.getDefaultThemeUrl;exports.getGroupColor=e.getGroupColor;exports.install=e.install;exports.installSystemTheme=e.installSystemTheme;exports.updateTheme=e.updateTheme;
|
package/lib/theme.es.js
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import "./index.
|
|
1
|
+
import { c as h, a as l, b as g, g as u, d as T, i as C, e as n, u as c } from "./index.es2.js";
|
|
2
|
+
import "./index.es5.js";
|
|
3
|
+
import "./index.es3.js";
|
|
3
4
|
import "./index.es8.js";
|
|
4
5
|
import "./index.es9.js";
|
|
6
|
+
import "./index.es4.js";
|
|
7
|
+
import "./index.es6.js";
|
|
8
|
+
import "./index.es7.js";
|
|
5
9
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
h as changeTheme,
|
|
11
|
+
l as getCurTheme,
|
|
12
|
+
g as getCurThemeCssVar,
|
|
13
|
+
u as getDefaultThemeUrl,
|
|
14
|
+
T as getGroupColor,
|
|
15
|
+
C as install,
|
|
16
|
+
n as installSystemTheme,
|
|
17
|
+
c as updateTheme
|
|
14
18
|
};
|
package/lib/utils.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs8.js"),e=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs8.js"),e=require("./index.cjs3.js");require("./index.cjs9.js");exports.http=t.http;exports.enumToArray=e.enumToArray;exports.getSelectOptions=e.getSelectOptions;exports.notifyMessageToSystems=e.notifyMessageToSystems;exports.receiveMessage=e.receiveMessage;
|
package/lib/utils.es.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { h as
|
|
2
|
-
import { e as a, g as m, n as p } from "./index.
|
|
1
|
+
import { h as o } from "./index.es8.js";
|
|
2
|
+
import { e as a, g as m, n as p, r as g } from "./index.es3.js";
|
|
3
3
|
import "./index.es9.js";
|
|
4
4
|
export {
|
|
5
5
|
a as enumToArray,
|
|
6
6
|
m as getSelectOptions,
|
|
7
|
-
|
|
8
|
-
p as notifyMessageToSystems
|
|
7
|
+
o as http,
|
|
8
|
+
p as notifyMessageToSystems,
|
|
9
|
+
g as receiveMessage
|
|
9
10
|
};
|
package/package.json
CHANGED
package/lib/index.cjs5.js.gz
DELETED
|
Binary file
|
package/lib/index.es5.js.gz
DELETED
|
Binary file
|