nxd-plugin 1.6.4 → 1.6.6
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/dist/chunks/component-AqiMonitor-DoGm_NCt.mjs +6718 -0
- package/dist/chunks/component-HighWayEarlyWarningRed-D89gFa50.mjs +2223 -0
- package/dist/chunks/{component-HighWayFreeze-DTZgUHLb.mjs → component-HighWayFreeze-C_Y5P0wN.mjs} +1007 -1006
- package/dist/chunks/{component-HighwayLiveAlarm-DH_Radnp.mjs → component-HighwayLiveAlarm-DMdnrD3c.mjs} +66 -65
- package/dist/chunks/{component-HighwayLiveAlarmNew-BRmrckoI.mjs → component-HighwayLiveAlarmNew--cnSiMgV.mjs} +258 -257
- package/dist/chunks/{component-HighwayStations-BADne1O5.mjs → component-HighwayStations-CNs3P4Vw.mjs} +10 -9
- package/dist/chunks/{component-HighwayWeatherForecast-D3pduycn.mjs → component-HighwayWeatherForecast-Dn6tjaR-.mjs} +33 -32
- package/dist/chunks/{component-ImageGeneration-BWVqHs7l.mjs → component-ImageGeneration-BY0gFwcr.mjs} +4548 -4504
- package/dist/chunks/{component-LithiumBatteryMiningArea-QPD9ERqx.mjs → component-LithiumBatteryMiningArea-Dj1DMKuU.mjs} +16 -15
- package/dist/chunks/component-MapPopup-B2Jmyc6L.mjs +46 -0
- package/dist/chunks/component-RadarChart-CGAMxnMk.mjs +121 -0
- package/dist/chunks/{component-RadarShortTerm-Bnv0T3bz.mjs → component-RadarShortTerm-Bp09mb4q.mjs} +36 -33
- package/dist/chunks/component-RadarTime-aohD_Dpx.mjs +500 -0
- package/dist/chunks/{component-ServiceMaterialsBtn-IIYNTWxy.mjs → component-ServiceMaterialsBtn-7b7nWW__.mjs} +106 -105
- package/dist/chunks/{component-TimeBasedForecast-9At0jrIg.mjs → component-TimeBasedForecast-By7vsTR3.mjs} +25 -25
- package/dist/chunks/component-WarningSignal-DDOj8BOp.mjs +322 -0
- package/dist/chunks/component-WeatherForecast-B-KJ3IU3.mjs +231 -0
- package/dist/chunks/{component-YCHome-BGMzJhDv.mjs → component-YCHome-CUbCw7zJ.mjs} +143 -142
- package/dist/chunks/{component-YCLogin-CFe09txe.mjs → component-YCLogin-iSv0b64g.mjs} +4 -4
- package/dist/chunks/{component-YCLoginNew-BDpy2huY.mjs → component-YCLoginNew-BFc61ag4.mjs} +9 -9
- package/dist/nxd-plugin.mjs +23 -18
- package/dist/src/components/AqiMonitor/AqiMonitor.vue.d.ts +54 -0
- package/dist/src/components/MapPopup/MapPopup.vue.d.ts +60 -0
- package/dist/src/components/RadarChart/RadarChart.vue.d.ts +54 -0
- package/dist/src/components/RadarTime/RadarTime.vue.d.ts +158 -0
- package/dist/src/components/WarningSignal/WarningSignal.vue.d.ts +60 -0
- package/dist/src/index.d.ts +6 -1
- package/dist/styles/component-AqiMonitor.css +1 -0
- package/dist/styles/component-MapPopup.css +1 -0
- package/dist/styles/component-RadarChart.css +1 -0
- package/dist/styles/component-RadarShortTerm.css +1 -1
- package/dist/styles/component-RadarTime.css +1 -0
- package/dist/styles/component-WarningSignal.css +1 -0
- package/dist/styles/component-WeatherForecast.css +1 -1
- package/dist/styles/component-YCLogin.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/package.json +1 -1
- package/dist/chunks/component-HighWayEarlyWarningRed-B24zorkZ.mjs +0 -8807
- package/dist/chunks/component-WeatherForecast-DFqXrhZl.mjs +0 -146
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { n as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import { I as t, J as n, L as r, P as i, Q as a, S as o, V as s, X as c, Y as l, c as u, d, et as f, l as p, m, n as h, r as g, u as _ } from "./component-HighWayFreeze-
|
|
3
|
-
import { $ as v,
|
|
2
|
+
import { I as t, J as n, L as r, P as i, Q as a, S as o, V as s, X as c, Y as l, c as u, d, et as f, l as p, m, n as h, r as g, u as _ } from "./component-HighWayFreeze-C_Y5P0wN.mjs";
|
|
3
|
+
import { $ as v, C as y, D as b, E as x, F as S, G as C, H as w, Ht as T, J as E, K as D, P as O, Q as k, St as A, U as j, W as ee, Y as te, Z as ne, _t as re, a as ie, at as ae, ct as oe, dt as se, f as ce, ft as le, gt as ue, h as de, ht as fe, it as pe, j as me, lt as he, n as ge, ot as _e, q as ve, r as ye, rt as be, tt as xe, xt as Se, yt as Ce, z as we } from "./component-AqiMonitor-DoGm_NCt.mjs";
|
|
4
|
+
import "./component-HighWayEarlyWarningRed-D89gFa50.mjs";
|
|
4
5
|
import { Fragment as Te, computed as Ee, createBlock as De, createCommentVNode as Oe, createElementBlock as ke, createElementVNode as Ae, createStaticVNode as je, createTextVNode as Me, createVNode as Ne, defineComponent as Pe, inject as Fe, isRef as Ie, mergeProps as Le, nextTick as Re, normalizeClass as ze, normalizeStyle as Be, onBeforeUnmount as Ve, onMounted as He, openBlock as Ue, provide as We, reactive as Ge, ref as Ke, renderList as qe, renderSlot as Je, resolveDynamicComponent as Ye, toDisplayString as Xe, toRefs as Ze, unref as Qe, vModelRadio as $e, vShow as et, watch as tt, withCtx as nt, withDirectives as rt, withModifiers as it } from "vue";
|
|
5
6
|
//#region node_modules/lodash-es/_baseCreate.js
|
|
6
7
|
var at = Object.create, ot = function() {
|
|
7
8
|
function e() {}
|
|
8
9
|
return function(t) {
|
|
9
|
-
if (!
|
|
10
|
+
if (!fe(t)) return {};
|
|
10
11
|
if (at) return at(t);
|
|
11
12
|
e.prototype = t;
|
|
12
13
|
var n = new e();
|
|
@@ -33,7 +34,7 @@ function lt(e, t, n, r) {
|
|
|
33
34
|
n ||= {};
|
|
34
35
|
for (var a = -1, o = t.length; ++a < o;) {
|
|
35
36
|
var s = t[a], c = r ? r(n[s], e[s], s, n, e) : void 0;
|
|
36
|
-
c === void 0 && (c = e[s]), i ?
|
|
37
|
+
c === void 0 && (c = e[s]), i ? le(n, s, c) : se(n, s, c);
|
|
37
38
|
}
|
|
38
39
|
return n;
|
|
39
40
|
}
|
|
@@ -48,15 +49,15 @@ function ut(e) {
|
|
|
48
49
|
//#region node_modules/lodash-es/_baseKeysIn.js
|
|
49
50
|
var dt = Object.prototype.hasOwnProperty;
|
|
50
51
|
function ft(e) {
|
|
51
|
-
if (!
|
|
52
|
-
var t =
|
|
52
|
+
if (!fe(e)) return ut(e);
|
|
53
|
+
var t = oe(e), n = [];
|
|
53
54
|
for (var r in e) r == "constructor" && (t || !dt.call(e, r)) || n.push(r);
|
|
54
55
|
return n;
|
|
55
56
|
}
|
|
56
57
|
//#endregion
|
|
57
58
|
//#region node_modules/lodash-es/keysIn.js
|
|
58
59
|
function pt(e) {
|
|
59
|
-
return
|
|
60
|
+
return he(e) ? be(e, !0) : ft(e);
|
|
60
61
|
}
|
|
61
62
|
//#endregion
|
|
62
63
|
//#region node_modules/lodash-es/_baseSlice.js
|
|
@@ -69,7 +70,7 @@ function mt(e, t, n) {
|
|
|
69
70
|
//#endregion
|
|
70
71
|
//#region node_modules/lodash-es/_baseAssign.js
|
|
71
72
|
function ht(e, t) {
|
|
72
|
-
return e && lt(t,
|
|
73
|
+
return e && lt(t, xe(t), e);
|
|
73
74
|
}
|
|
74
75
|
//#endregion
|
|
75
76
|
//#region node_modules/lodash-es/_baseAssignIn.js
|
|
@@ -78,7 +79,7 @@ function gt(e, t) {
|
|
|
78
79
|
}
|
|
79
80
|
//#endregion
|
|
80
81
|
//#region node_modules/lodash-es/_cloneBuffer.js
|
|
81
|
-
var _t = typeof exports == "object" && exports && !exports.nodeType && exports, vt = _t && typeof module == "object" && module && !module.nodeType && module, yt = vt && vt.exports === _t ?
|
|
82
|
+
var _t = typeof exports == "object" && exports && !exports.nodeType && exports, vt = _t && typeof module == "object" && module && !module.nodeType && module, yt = vt && vt.exports === _t ? A.Buffer : void 0, bt = yt ? yt.allocUnsafe : void 0;
|
|
82
83
|
function xt(e, t) {
|
|
83
84
|
if (t) return e.slice();
|
|
84
85
|
var n = e.length, r = bt ? bt(n) : new e.constructor(n);
|
|
@@ -87,14 +88,14 @@ function xt(e, t) {
|
|
|
87
88
|
//#endregion
|
|
88
89
|
//#region node_modules/lodash-es/_copySymbols.js
|
|
89
90
|
function St(e, t) {
|
|
90
|
-
return lt(e,
|
|
91
|
+
return lt(e, D(e), t);
|
|
91
92
|
}
|
|
92
93
|
//#endregion
|
|
93
94
|
//#region node_modules/lodash-es/_getSymbolsIn.js
|
|
94
95
|
var Ct = Object.getOwnPropertySymbols ? function(e) {
|
|
95
|
-
for (var t = []; e;)
|
|
96
|
+
for (var t = []; e;) te(t, D(e)), e = l(e);
|
|
96
97
|
return t;
|
|
97
|
-
} :
|
|
98
|
+
} : ve;
|
|
98
99
|
//#endregion
|
|
99
100
|
//#region node_modules/lodash-es/_copySymbolsIn.js
|
|
100
101
|
function wt(e, t) {
|
|
@@ -103,7 +104,7 @@ function wt(e, t) {
|
|
|
103
104
|
//#endregion
|
|
104
105
|
//#region node_modules/lodash-es/_getAllKeysIn.js
|
|
105
106
|
function Tt(e) {
|
|
106
|
-
return
|
|
107
|
+
return C(e, pt, Ct);
|
|
107
108
|
}
|
|
108
109
|
//#endregion
|
|
109
110
|
//#region node_modules/lodash-es/_initCloneArray.js
|
|
@@ -116,7 +117,7 @@ function Dt(e) {
|
|
|
116
117
|
//#region node_modules/lodash-es/_cloneArrayBuffer.js
|
|
117
118
|
function Ot(e) {
|
|
118
119
|
var t = new e.constructor(e.byteLength);
|
|
119
|
-
return new
|
|
120
|
+
return new w(t).set(new w(e)), t;
|
|
120
121
|
}
|
|
121
122
|
//#endregion
|
|
122
123
|
//#region node_modules/lodash-es/_cloneDataView.js
|
|
@@ -133,7 +134,7 @@ function jt(e) {
|
|
|
133
134
|
}
|
|
134
135
|
//#endregion
|
|
135
136
|
//#region node_modules/lodash-es/_cloneSymbol.js
|
|
136
|
-
var Mt =
|
|
137
|
+
var Mt = Se ? Se.prototype : void 0, Nt = Mt ? Mt.valueOf : void 0;
|
|
137
138
|
function Pt(e) {
|
|
138
139
|
return Nt ? Object(Nt.call(e)) : {};
|
|
139
140
|
}
|
|
@@ -173,34 +174,34 @@ function tn(e, t, n) {
|
|
|
173
174
|
//#endregion
|
|
174
175
|
//#region node_modules/lodash-es/_initCloneObject.js
|
|
175
176
|
function nn(e) {
|
|
176
|
-
return typeof e.constructor == "function" && !
|
|
177
|
+
return typeof e.constructor == "function" && !oe(e) ? ot(l(e)) : {};
|
|
177
178
|
}
|
|
178
179
|
//#endregion
|
|
179
180
|
//#region node_modules/lodash-es/_baseIsMap.js
|
|
180
181
|
var rn = "[object Map]";
|
|
181
182
|
function an(e) {
|
|
182
|
-
return
|
|
183
|
+
return Ce(e) && j(e) == rn;
|
|
183
184
|
}
|
|
184
185
|
//#endregion
|
|
185
186
|
//#region node_modules/lodash-es/isMap.js
|
|
186
|
-
var on =
|
|
187
|
+
var on = pe && pe.isMap, sn = on ? ae(on) : an, cn = "[object Set]";
|
|
187
188
|
function ln(e) {
|
|
188
|
-
return
|
|
189
|
+
return Ce(e) && j(e) == cn;
|
|
189
190
|
}
|
|
190
191
|
//#endregion
|
|
191
192
|
//#region node_modules/lodash-es/isSet.js
|
|
192
|
-
var un =
|
|
193
|
+
var un = pe && pe.isSet, dn = un ? ae(un) : ln, fn = 1, pn = 2, mn = 4, hn = "[object Arguments]", gn = "[object Array]", _n = "[object Boolean]", vn = "[object Date]", yn = "[object Error]", bn = "[object Function]", xn = "[object GeneratorFunction]", Sn = "[object Map]", Cn = "[object Number]", wn = "[object Object]", Tn = "[object RegExp]", En = "[object Set]", Dn = "[object String]", On = "[object Symbol]", kn = "[object WeakMap]", An = "[object ArrayBuffer]", jn = "[object DataView]", Mn = "[object Float32Array]", Nn = "[object Float64Array]", Pn = "[object Int8Array]", Fn = "[object Int16Array]", In = "[object Int32Array]", Ln = "[object Uint8Array]", Rn = "[object Uint8ClampedArray]", zn = "[object Uint16Array]", Bn = "[object Uint32Array]", Vn = {};
|
|
193
194
|
Vn[hn] = Vn[gn] = Vn[An] = Vn[jn] = Vn[_n] = Vn[vn] = Vn[Mn] = Vn[Nn] = Vn[Pn] = Vn[Fn] = Vn[In] = Vn[Sn] = Vn[Cn] = Vn[wn] = Vn[Tn] = Vn[En] = Vn[Dn] = Vn[On] = Vn[Ln] = Vn[Rn] = Vn[zn] = Vn[Bn] = !0, Vn[yn] = Vn[bn] = Vn[kn] = !1;
|
|
194
195
|
function Hn(e, t, n, r, i, a) {
|
|
195
196
|
var o, s = t & fn, c = t & pn, l = t & mn;
|
|
196
197
|
if (n && (o = i ? n(e, r, i, a) : n(e)), o !== void 0) return o;
|
|
197
|
-
if (!
|
|
198
|
-
var u =
|
|
198
|
+
if (!fe(e)) return e;
|
|
199
|
+
var u = ue(e);
|
|
199
200
|
if (u) {
|
|
200
201
|
if (o = Dt(e), !s) return st(e, o);
|
|
201
202
|
} else {
|
|
202
|
-
var d =
|
|
203
|
-
if (
|
|
203
|
+
var d = j(e), f = d == bn || d == xn;
|
|
204
|
+
if (_e(e)) return xt(e, s);
|
|
204
205
|
if (d == wn || d == hn || f && !i) {
|
|
205
206
|
if (o = c || f ? {} : nn(e), !s) return c ? wt(e, gt(o, e)) : St(e, ht(o, e));
|
|
206
207
|
} else {
|
|
@@ -208,7 +209,7 @@ function Hn(e, t, n, r, i, a) {
|
|
|
208
209
|
o = tn(e, d, s);
|
|
209
210
|
}
|
|
210
211
|
}
|
|
211
|
-
a ||= new
|
|
212
|
+
a ||= new E();
|
|
212
213
|
var p = a.get(e);
|
|
213
214
|
if (p) return p;
|
|
214
215
|
a.set(e, o), dn(e) ? e.forEach(function(r) {
|
|
@@ -216,9 +217,9 @@ function Hn(e, t, n, r, i, a) {
|
|
|
216
217
|
}) : sn(e) && e.forEach(function(r, i) {
|
|
217
218
|
o.set(i, Hn(r, t, n, i, e, a));
|
|
218
219
|
});
|
|
219
|
-
var m = u ? void 0 : (l ? c ? Tt :
|
|
220
|
+
var m = u ? void 0 : (l ? c ? Tt : ee : c ? pt : xe)(e);
|
|
220
221
|
return ct(m || e, function(r, i) {
|
|
221
|
-
m && (i = r, r = e[i]),
|
|
222
|
+
m && (i = r, r = e[i]), se(o, i, Hn(r, t, n, i, e, a));
|
|
222
223
|
}), o;
|
|
223
224
|
}
|
|
224
225
|
//#endregion
|
|
@@ -230,21 +231,21 @@ function Un(e) {
|
|
|
230
231
|
//#endregion
|
|
231
232
|
//#region node_modules/lodash-es/_parent.js
|
|
232
233
|
function Wn(e, t) {
|
|
233
|
-
return t.length < 2 ? e :
|
|
234
|
+
return t.length < 2 ? e : ne(e, mt(t, 0, -1));
|
|
234
235
|
}
|
|
235
236
|
//#endregion
|
|
236
237
|
//#region node_modules/lodash-es/_baseUnset.js
|
|
237
238
|
var Gn = Object.prototype.hasOwnProperty;
|
|
238
239
|
function Kn(e, t) {
|
|
239
|
-
t =
|
|
240
|
+
t = v(t, e);
|
|
240
241
|
var n = -1, r = t.length;
|
|
241
242
|
if (!r) return !0;
|
|
242
243
|
for (; ++n < r;) {
|
|
243
|
-
var i =
|
|
244
|
+
var i = k(t[n]);
|
|
244
245
|
if (i === "__proto__" && !Gn.call(e, "__proto__") || (i === "constructor" || i === "prototype") && n < r - 1) return !1;
|
|
245
246
|
}
|
|
246
247
|
var a = Wn(e, t);
|
|
247
|
-
return a == null || delete a[
|
|
248
|
+
return a == null || delete a[k(Un(t))];
|
|
248
249
|
}
|
|
249
250
|
//#endregion
|
|
250
251
|
//#region node_modules/lodash-es/_customOmitClone.js
|
|
@@ -257,14 +258,14 @@ var Jn = 1, Yn = 2, Xn = 4, Zn = c(function(e, t) {
|
|
|
257
258
|
var n = {};
|
|
258
259
|
if (e == null) return n;
|
|
259
260
|
var r = !1;
|
|
260
|
-
t =
|
|
261
|
-
return t =
|
|
261
|
+
t = re(t, function(t) {
|
|
262
|
+
return t = v(t, e), r ||= t.length > 1, t;
|
|
262
263
|
}), lt(e, Tt(e), n), r && (n = Hn(n, Jn | Yn | Xn, qn));
|
|
263
264
|
for (var i = t.length; i--;) Kn(n, t[i]);
|
|
264
265
|
return n;
|
|
265
266
|
}), Qn = ({ from: e, replacement: t, scope: n, version: r, ref: i, type: a = "API" }, o) => {
|
|
266
267
|
tt(() => Qe(o), (o) => {
|
|
267
|
-
o &&
|
|
268
|
+
o && y(n, `[${a}] ${e} is about to be deprecated in version ${r}, please use ${t} instead.
|
|
268
269
|
For more detail, please visit: ${i}
|
|
269
270
|
`);
|
|
270
271
|
}, { immediate: !0 });
|
|
@@ -277,7 +278,7 @@ For more detail, please visit: ${i}
|
|
|
277
278
|
],
|
|
278
279
|
default: void 0
|
|
279
280
|
},
|
|
280
|
-
size:
|
|
281
|
+
size: ce,
|
|
281
282
|
disabled: {
|
|
282
283
|
type: Boolean,
|
|
283
284
|
default: void 0
|
|
@@ -306,8 +307,8 @@ For more detail, please visit: ${i}
|
|
|
306
307
|
...$n,
|
|
307
308
|
border: Boolean
|
|
308
309
|
}), tr = {
|
|
309
|
-
[f]: (e) =>
|
|
310
|
-
[a]: (e) =>
|
|
310
|
+
[f]: (e) => T(e) || O(e) || me(e),
|
|
311
|
+
[a]: (e) => T(e) || O(e) || me(e)
|
|
311
312
|
}, nr = Symbol("radioGroupKey"), rr = x({ ...$n }), ir = {
|
|
312
313
|
label: "label",
|
|
313
314
|
value: "value",
|
|
@@ -317,7 +318,7 @@ For more detail, please visit: ${i}
|
|
|
317
318
|
type: String,
|
|
318
319
|
default: void 0
|
|
319
320
|
},
|
|
320
|
-
size:
|
|
321
|
+
size: ce,
|
|
321
322
|
disabled: {
|
|
322
323
|
type: Boolean,
|
|
323
324
|
default: void 0
|
|
@@ -346,9 +347,9 @@ For more detail, please visit: ${i}
|
|
|
346
347
|
type: Boolean,
|
|
347
348
|
default: !0
|
|
348
349
|
},
|
|
349
|
-
options: { type:
|
|
350
|
+
options: { type: b(Array) },
|
|
350
351
|
props: {
|
|
351
|
-
type:
|
|
352
|
+
type: b(Object),
|
|
352
353
|
default: () => ir
|
|
353
354
|
},
|
|
354
355
|
type: {
|
|
@@ -358,7 +359,7 @@ For more detail, please visit: ${i}
|
|
|
358
359
|
},
|
|
359
360
|
...r(["ariaLabel"])
|
|
360
361
|
}), or = tr, sr = (e, t) => {
|
|
361
|
-
let n = Ke(), r = Fe(nr, void 0), i = Ee(() => !!r), a = Ee(() =>
|
|
362
|
+
let n = Ke(), r = Fe(nr, void 0), i = Ee(() => !!r), a = Ee(() => S(e.value) ? e.label : e.value), o = Ee({
|
|
362
363
|
get() {
|
|
363
364
|
return i.value ? r.modelValue : e.modelValue;
|
|
364
365
|
},
|
|
@@ -372,7 +373,7 @@ For more detail, please visit: ${i}
|
|
|
372
373
|
version: "3.0.0",
|
|
373
374
|
scope: "el-radio",
|
|
374
375
|
ref: "https://element-plus.org/en-US/component/radio.html"
|
|
375
|
-
}, Ee(() => i.value &&
|
|
376
|
+
}, Ee(() => i.value && S(e.value))), {
|
|
376
377
|
radioRef: n,
|
|
377
378
|
isGroup: i,
|
|
378
379
|
radioGroup: r,
|
|
@@ -394,7 +395,7 @@ For more detail, please visit: ${i}
|
|
|
394
395
|
props: er,
|
|
395
396
|
emits: tr,
|
|
396
397
|
setup(e, { emit: t }) {
|
|
397
|
-
let n = e, r = t, i =
|
|
398
|
+
let n = e, r = t, i = de("radio"), { radioRef: o, radioGroup: s, focus: c, size: l, disabled: u, modelValue: d, actualValue: f } = sr(n, r);
|
|
398
399
|
function p() {
|
|
399
400
|
Re(() => r(a, d.value));
|
|
400
401
|
}
|
|
@@ -437,7 +438,7 @@ For more detail, please visit: ${i}
|
|
|
437
438
|
__name: "radio-button",
|
|
438
439
|
props: rr,
|
|
439
440
|
setup(e) {
|
|
440
|
-
let t = e, n =
|
|
441
|
+
let t = e, n = de("radio"), { radioRef: r, focus: i, size: a, disabled: o, modelValue: s, radioGroup: c, actualValue: l } = sr(t), u = Ee(() => ({
|
|
441
442
|
backgroundColor: c?.fill || "",
|
|
442
443
|
borderColor: c?.fill || "",
|
|
443
444
|
boxShadow: c?.fill ? `-1px 0 0 0 ${c.fill}` : "",
|
|
@@ -477,7 +478,7 @@ For more detail, please visit: ${i}
|
|
|
477
478
|
props: ar,
|
|
478
479
|
emits: or,
|
|
479
480
|
setup(e, { emit: t }) {
|
|
480
|
-
let n = e, r = t, i =
|
|
481
|
+
let n = e, r = t, i = de("radio"), o = s(), c = Ke(), { formItem: l } = u(), { inputId: d, isLabeledByFormItem: m } = p(n, { formItemContext: l }), h = (e) => {
|
|
481
482
|
r(f, e), Re(() => r(a, e));
|
|
482
483
|
};
|
|
483
484
|
He(() => {
|
|
@@ -507,7 +508,7 @@ For more detail, please visit: ${i}
|
|
|
507
508
|
changeEvent: h,
|
|
508
509
|
name: g
|
|
509
510
|
})), tt(() => n.modelValue, (e, t) => {
|
|
510
|
-
n.validateEvent && !
|
|
511
|
+
n.validateEvent && !we(e, t) && l?.validate("change").catch((e) => y(e));
|
|
511
512
|
}), (t, n) => (Ue(), ke("div", {
|
|
512
513
|
id: Qe(d),
|
|
513
514
|
ref_key: "radioGroupRef",
|
|
@@ -77114,7 +77115,7 @@ var E5 = {
|
|
|
77114
77115
|
}, U5 = {
|
|
77115
77116
|
key: 1,
|
|
77116
77117
|
class: "station-empty"
|
|
77117
|
-
}, W5 = "当前高速无任何报警,请放心出行。", G5 = /* @__PURE__ */
|
|
77118
|
+
}, W5 = "当前高速无任何报警,请放心出行。", G5 = /* @__PURE__ */ ge(/* @__PURE__ */ Pe({
|
|
77118
77119
|
__name: "HighwayLiveAlarm",
|
|
77119
77120
|
props: {
|
|
77120
77121
|
tokenInterface: {
|
|
@@ -77180,8 +77181,8 @@ var E5 = {
|
|
|
77180
77181
|
}
|
|
77181
77182
|
}, r = t, i = e, a = Ke(""), s = Ke(!1), c = Ke(null), l = Ke(null), u = Ke("table"), d = Ke("降水"), f = Ke("全部"), p = Ke(["全部"]), _ = Ke({}), v = Ke([]), y = Ke({}), b = Ee(() => a.value === W5 ? "#52c41a" : "#ff4d4f"), x = Ee(() => f.value === "全部" ? v.value : v.value.filter((e) => e.name === f.value));
|
|
77182
77183
|
He(() => {
|
|
77183
|
-
|
|
77184
|
-
|
|
77184
|
+
ae(), c.value = setInterval(() => {
|
|
77185
|
+
ae();
|
|
77185
77186
|
}, 1e3 * 60 * 10);
|
|
77186
77187
|
}), Ve(() => {
|
|
77187
77188
|
c.value && clearInterval(c.value), l.value?.dispose(), l.value = null;
|
|
@@ -77248,7 +77249,7 @@ var E5 = {
|
|
|
77248
77249
|
], ne = (e) => e.length ? `当前${e.map((e) => {
|
|
77249
77250
|
let t = [];
|
|
77250
77251
|
return e.iswarnrainfall_1h && t.push("降水"), e.iswarntemp && t.push("温度"), e.iswarnvis && t.push("能见度"), e.iswarnwind && t.push("大风"), `${e.name}高速${t.join("、")}报警`;
|
|
77251
|
-
}).join(",")},请合理安排出行!` : W5, re = async () => i.dataInterface ? (await
|
|
77252
|
+
}).join(",")},请合理安排出行!` : W5, re = async () => i.dataInterface ? (await ye({
|
|
77252
77253
|
url: i.dataInterface,
|
|
77253
77254
|
method: i.dataInterfaceType,
|
|
77254
77255
|
params: i.dataInterfaceParams,
|
|
@@ -77257,7 +77258,7 @@ var E5 = {
|
|
|
77257
77258
|
tokenInterfaceParams: i.tokenInterfaceParams,
|
|
77258
77259
|
tokenInterfaceType: i.tokenInterfaceType,
|
|
77259
77260
|
tokenInterfaceIsFormData: i.tokenInterfaceIsFormData
|
|
77260
|
-
}))?.ds || [] : E5?.ds || [],
|
|
77261
|
+
}))?.ds || [] : E5?.ds || [], ae = async () => {
|
|
77261
77262
|
s.value = !0;
|
|
77262
77263
|
let e = await re();
|
|
77263
77264
|
s.value = !1;
|
|
@@ -77279,8 +77280,8 @@ var E5 = {
|
|
|
77279
77280
|
itemStyle: { color: s },
|
|
77280
77281
|
label: { color: s }
|
|
77281
77282
|
});
|
|
77282
|
-
}), _.value = r, v.value = i, p.value = ["全部", ...i.map((e) => e.name)], p.value.includes(f.value) || (f.value = "全部"), y.value = {},
|
|
77283
|
-
},
|
|
77283
|
+
}), _.value = r, v.value = i, p.value = ["全部", ...i.map((e) => e.name)], p.value.includes(f.value) || (f.value = "全部"), y.value = {}, le(f.value), a.value = ne(n), oe(t);
|
|
77284
|
+
}, oe = (e) => {
|
|
77284
77285
|
let t = document.querySelector(".HighwayLiveAlarm-chart");
|
|
77285
77286
|
if (!t) return;
|
|
77286
77287
|
l.value ||= QE(t);
|
|
@@ -77312,16 +77313,16 @@ var E5 = {
|
|
|
77312
77313
|
}]
|
|
77313
77314
|
};
|
|
77314
77315
|
l.value.setOption(n);
|
|
77315
|
-
},
|
|
77316
|
+
}, se = async (e) => {
|
|
77316
77317
|
u.value = e, e === "chart" && (await Re(), l.value?.resize());
|
|
77317
|
-
},
|
|
77318
|
+
}, ce = (e) => e === "全部" ? Object.values(_.value) : _.value[e] ? [_.value[e]] : [], le = (e) => {
|
|
77318
77319
|
f.value = e, r("removeLayers", Object.values(_.value).map((e) => e.name)), setTimeout(() => {
|
|
77319
77320
|
r("addLayers", {
|
|
77320
|
-
layers:
|
|
77321
|
+
layers: ce(e),
|
|
77321
77322
|
isRemove: !0
|
|
77322
77323
|
});
|
|
77323
77324
|
}, 1e3), pe();
|
|
77324
|
-
},
|
|
77325
|
+
}, ue = () => n[d.value], de = (e, t) => {
|
|
77325
77326
|
let n = Number(e?.[t]);
|
|
77326
77327
|
return S(n) ? t === "visibility" ? (n / 1e3).toString() : String(e?.[t]) : "";
|
|
77327
77328
|
}, fe = (e, t, n) => `
|
|
@@ -77349,9 +77350,9 @@ var E5 = {
|
|
|
77349
77350
|
}],
|
|
77350
77351
|
drawArrObj: [],
|
|
77351
77352
|
onlyLayerID: "station_highway"
|
|
77352
|
-
}, t =
|
|
77353
|
+
}, t = ue(), n = t.field, i = t.unit;
|
|
77353
77354
|
k().forEach((t) => {
|
|
77354
|
-
let r = fe(t,
|
|
77355
|
+
let r = fe(t, de(t, n), i), a = {
|
|
77355
77356
|
lng: t.longitude,
|
|
77356
77357
|
lat: t.latitude,
|
|
77357
77358
|
htmlString: r,
|
|
@@ -77365,21 +77366,21 @@ var E5 = {
|
|
|
77365
77366
|
});
|
|
77366
77367
|
}, me = (e) => {
|
|
77367
77368
|
y.value[e] = !y.value[e];
|
|
77368
|
-
},
|
|
77369
|
+
}, he = () => {
|
|
77369
77370
|
r("close", "HighwayLiveAlarm");
|
|
77370
77371
|
};
|
|
77371
77372
|
return (e, t) => {
|
|
77372
|
-
let n = mr, r = hr, i = h, c = g, l = m, _ =
|
|
77373
|
+
let n = mr, r = hr, i = h, c = g, l = m, _ = ie;
|
|
77373
77374
|
return rt((Ue(), ke("div", D5, [
|
|
77374
77375
|
Ae("div", O5, [Ae("div", k5, [t[4] ||= Ae("div", null, "沿线高速公路实况报警", -1), Ae("div", A5, [Ae("div", j5, [Ae("button", {
|
|
77375
77376
|
class: ze(["switch-btn", { active: u.value === "chart" }]),
|
|
77376
|
-
onClick: t[0] ||= (e) =>
|
|
77377
|
+
onClick: t[0] ||= (e) => se("chart")
|
|
77377
77378
|
}, " 图表 ", 2), Ae("button", {
|
|
77378
77379
|
class: ze(["switch-btn", { active: u.value === "table" }]),
|
|
77379
|
-
onClick: t[1] ||= (e) =>
|
|
77380
|
+
onClick: t[1] ||= (e) => se("table")
|
|
77380
77381
|
}, " 表格 ", 2)]), Ae("div", {
|
|
77381
77382
|
class: "closeBtn",
|
|
77382
|
-
onClick:
|
|
77383
|
+
onClick: he,
|
|
77383
77384
|
title: "关闭"
|
|
77384
77385
|
})])]), t[5] ||= Ae("img", {
|
|
77385
77386
|
class: "HighwayLiveAlarm-head-line",
|
|
@@ -77422,7 +77423,7 @@ var E5 = {
|
|
|
77422
77423
|
"onUpdate:modelValue": t[3] ||= (e) => f.value = e,
|
|
77423
77424
|
placeholder: "请选择路线",
|
|
77424
77425
|
class: "dark-select",
|
|
77425
|
-
onChange:
|
|
77426
|
+
onChange: le
|
|
77426
77427
|
}, {
|
|
77427
77428
|
default: nt(() => [(Ue(!0), ke(Te, null, qe(p.value, (e) => (Ue(), De(i, {
|
|
77428
77429
|
key: e,
|