nxd-plugin 1.2.8 → 1.3.0
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-HighWayEarlyWarningRed-CmmlD13f.mjs → component-HighWayEarlyWarningRed-yaXptPl1.mjs} +1 -1
- package/dist/chunks/{component-HighWayFreeze-fwE0zu5a.mjs → component-HighWayFreeze-ByAF7JQ7.mjs} +649 -649
- package/dist/chunks/{component-HighwayLiveAlarm-eKR6YC57.mjs → component-HighwayLiveAlarm-BrYDfT9C.mjs} +72 -72
- package/dist/chunks/{component-HighwayLiveAlarmNew-CJQ38bxx.mjs → component-HighwayLiveAlarmNew-Ccqk1-Nv.mjs} +97 -93
- package/dist/chunks/{component-HighwayStations-CIR-nhyB.mjs → component-HighwayStations-DBsRXgHk.mjs} +9 -9
- package/dist/chunks/{component-HighwayWeatherForecast-kKP0BVV-.mjs → component-HighwayWeatherForecast-DdNgGl6A.mjs} +164 -164
- package/dist/chunks/{component-RadarShortTerm-BPXY6EhF.mjs → component-RadarShortTerm-CPhbfQcf.mjs} +142 -162
- package/dist/chunks/{component-ServiceMaterialsBtn-BmsX0VQ7.mjs → component-ServiceMaterialsBtn-Sj_vfugh.mjs} +303 -303
- package/dist/chunks/{component-YCHome-C3hQ-kl7.mjs → component-YCHome-TTUuIPor.mjs} +180 -180
- package/dist/chunks/{component-YCLogin-CFEfm-Xo.mjs → component-YCLogin-7PlITuZv.mjs} +4 -4
- package/dist/chunks/{component-YCLoginNew-CS5GpLDx.mjs → component-YCLoginNew-Bzpu-Daf.mjs} +4 -4
- package/dist/components/RadarShortTerm/radar.json.d.ts +151 -0
- package/dist/nxd-plugin.mjs +11 -11
- package/dist/src/components/HighwayLiveAlarmNew/HighwayLiveAlarmNew.vue.d.ts +4 -0
- package/dist/src/components/RadarShortTerm/RadarShortTerm.vue.d.ts +89 -0
- package/dist/styles/component-HighwayLiveAlarmNew.css +1 -1
- package/dist/styles/component-RadarShortTerm.css +1 -1
- package/dist/styles/component-YCLogin.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { n as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import { A as t, G as n, J as r, K as i, L as a, M as o, N as s, U as c, W as l, c as u, f as d, l as f, n as p, o as m, r as h, s as g, y as _ } from "./component-HighWayFreeze-
|
|
3
|
-
import { $ as v,
|
|
2
|
+
import { A as t, G as n, J as r, K as i, L as a, M as o, N as s, U as c, W as l, c as u, f as d, l as f, n as p, o as m, r as h, s as g, y as _ } from "./component-HighWayFreeze-ByAF7JQ7.mjs";
|
|
3
|
+
import { $ as v, At as y, B as b, Ct as x, D as S, F as C, G as w, I as T, J as E, K as D, M as O, O as k, Q as A, St as j, U as ee, W as te, X as ne, Y as re, _t as ie, at as ae, bt as oe, et as se, ft as ce, g as le, gt as ue, i as de, it as fe, lt as pe, nt as me, o as he, ot as ge, p as _e, pt as ve, q as ye, r as be, st as xe, ut as Se, vt as Ce, w as we } from "./component-HighWayEarlyWarningRed-yaXptPl1.mjs";
|
|
4
4
|
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
5
|
//#region node_modules/lodash-es/_baseCreate.js
|
|
6
6
|
var at = Object.create, ot = function() {
|
|
7
7
|
function e() {}
|
|
8
8
|
return function(t) {
|
|
9
|
-
if (!
|
|
9
|
+
if (!ue(t)) return {};
|
|
10
10
|
if (at) return at(t);
|
|
11
11
|
e.prototype = t;
|
|
12
12
|
var n = new e();
|
|
@@ -33,7 +33,7 @@ function lt(e, t, n, r) {
|
|
|
33
33
|
n ||= {};
|
|
34
34
|
for (var a = -1, o = t.length; ++a < o;) {
|
|
35
35
|
var s = t[a], c = r ? r(n[s], e[s], s, n, e) : void 0;
|
|
36
|
-
c === void 0 && (c = e[s]), i ?
|
|
36
|
+
c === void 0 && (c = e[s]), i ? ve(n, s, c) : ce(n, s, c);
|
|
37
37
|
}
|
|
38
38
|
return n;
|
|
39
39
|
}
|
|
@@ -48,15 +48,15 @@ function ut(e) {
|
|
|
48
48
|
//#region node_modules/lodash-es/_baseKeysIn.js
|
|
49
49
|
var dt = Object.prototype.hasOwnProperty;
|
|
50
50
|
function ft(e) {
|
|
51
|
-
if (!
|
|
52
|
-
var t =
|
|
51
|
+
if (!ue(e)) return ut(e);
|
|
52
|
+
var t = pe(e), n = [];
|
|
53
53
|
for (var r in e) r == "constructor" && (t || !dt.call(e, r)) || n.push(r);
|
|
54
54
|
return n;
|
|
55
55
|
}
|
|
56
56
|
//#endregion
|
|
57
57
|
//#region node_modules/lodash-es/keysIn.js
|
|
58
58
|
function pt(e) {
|
|
59
|
-
return
|
|
59
|
+
return Se(e) ? fe(e, !0) : ft(e);
|
|
60
60
|
}
|
|
61
61
|
//#endregion
|
|
62
62
|
//#region node_modules/lodash-es/_baseSlice.js
|
|
@@ -69,7 +69,7 @@ function mt(e, t, n) {
|
|
|
69
69
|
//#endregion
|
|
70
70
|
//#region node_modules/lodash-es/_baseAssign.js
|
|
71
71
|
function ht(e, t) {
|
|
72
|
-
return e && lt(t,
|
|
72
|
+
return e && lt(t, me(t), e);
|
|
73
73
|
}
|
|
74
74
|
//#endregion
|
|
75
75
|
//#region node_modules/lodash-es/_baseAssignIn.js
|
|
@@ -78,7 +78,7 @@ function gt(e, t) {
|
|
|
78
78
|
}
|
|
79
79
|
//#endregion
|
|
80
80
|
//#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 ?
|
|
81
|
+
var _t = typeof exports == "object" && exports && !exports.nodeType && exports, vt = _t && typeof module == "object" && module && !module.nodeType && module, yt = vt && vt.exports === _t ? x.Buffer : void 0, bt = yt ? yt.allocUnsafe : void 0;
|
|
82
82
|
function xt(e, t) {
|
|
83
83
|
if (t) return e.slice();
|
|
84
84
|
var n = e.length, r = bt ? bt(n) : new e.constructor(n);
|
|
@@ -87,14 +87,14 @@ function xt(e, t) {
|
|
|
87
87
|
//#endregion
|
|
88
88
|
//#region node_modules/lodash-es/_copySymbols.js
|
|
89
89
|
function St(e, t) {
|
|
90
|
-
return lt(e,
|
|
90
|
+
return lt(e, ye(e), t);
|
|
91
91
|
}
|
|
92
92
|
//#endregion
|
|
93
93
|
//#region node_modules/lodash-es/_getSymbolsIn.js
|
|
94
94
|
var Ct = Object.getOwnPropertySymbols ? function(e) {
|
|
95
|
-
for (var t = []; e;)
|
|
95
|
+
for (var t = []; e;) ne(t, ye(e)), e = l(e);
|
|
96
96
|
return t;
|
|
97
|
-
} :
|
|
97
|
+
} : E;
|
|
98
98
|
//#endregion
|
|
99
99
|
//#region node_modules/lodash-es/_copySymbolsIn.js
|
|
100
100
|
function wt(e, t) {
|
|
@@ -103,7 +103,7 @@ function wt(e, t) {
|
|
|
103
103
|
//#endregion
|
|
104
104
|
//#region node_modules/lodash-es/_getAllKeysIn.js
|
|
105
105
|
function Tt(e) {
|
|
106
|
-
return
|
|
106
|
+
return D(e, pt, Ct);
|
|
107
107
|
}
|
|
108
108
|
//#endregion
|
|
109
109
|
//#region node_modules/lodash-es/_initCloneArray.js
|
|
@@ -116,7 +116,7 @@ function Dt(e) {
|
|
|
116
116
|
//#region node_modules/lodash-es/_cloneArrayBuffer.js
|
|
117
117
|
function Ot(e) {
|
|
118
118
|
var t = new e.constructor(e.byteLength);
|
|
119
|
-
return new
|
|
119
|
+
return new ee(t).set(new ee(e)), t;
|
|
120
120
|
}
|
|
121
121
|
//#endregion
|
|
122
122
|
//#region node_modules/lodash-es/_cloneDataView.js
|
|
@@ -133,7 +133,7 @@ function jt(e) {
|
|
|
133
133
|
}
|
|
134
134
|
//#endregion
|
|
135
135
|
//#region node_modules/lodash-es/_cloneSymbol.js
|
|
136
|
-
var Mt =
|
|
136
|
+
var Mt = j ? j.prototype : void 0, Nt = Mt ? Mt.valueOf : void 0;
|
|
137
137
|
function Pt(e) {
|
|
138
138
|
return Nt ? Object(Nt.call(e)) : {};
|
|
139
139
|
}
|
|
@@ -173,34 +173,34 @@ function tn(e, t, n) {
|
|
|
173
173
|
//#endregion
|
|
174
174
|
//#region node_modules/lodash-es/_initCloneObject.js
|
|
175
175
|
function nn(e) {
|
|
176
|
-
return typeof e.constructor == "function" && !
|
|
176
|
+
return typeof e.constructor == "function" && !pe(e) ? ot(l(e)) : {};
|
|
177
177
|
}
|
|
178
178
|
//#endregion
|
|
179
179
|
//#region node_modules/lodash-es/_baseIsMap.js
|
|
180
180
|
var rn = "[object Map]";
|
|
181
181
|
function an(e) {
|
|
182
|
-
return
|
|
182
|
+
return oe(e) && te(e) == rn;
|
|
183
183
|
}
|
|
184
184
|
//#endregion
|
|
185
185
|
//#region node_modules/lodash-es/isMap.js
|
|
186
|
-
var on =
|
|
186
|
+
var on = ae && ae.isMap, sn = on ? ge(on) : an, cn = "[object Set]";
|
|
187
187
|
function ln(e) {
|
|
188
|
-
return
|
|
188
|
+
return oe(e) && te(e) == cn;
|
|
189
189
|
}
|
|
190
190
|
//#endregion
|
|
191
191
|
//#region node_modules/lodash-es/isSet.js
|
|
192
|
-
var un =
|
|
192
|
+
var un = ae && ae.isSet, dn = un ? ge(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
193
|
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
194
|
function Hn(e, t, n, r, i, a) {
|
|
195
195
|
var o, s = t & fn, c = t & pn, l = t & mn;
|
|
196
196
|
if (n && (o = i ? n(e, r, i, a) : n(e)), o !== void 0) return o;
|
|
197
|
-
if (!
|
|
198
|
-
var u =
|
|
197
|
+
if (!ue(e)) return e;
|
|
198
|
+
var u = ie(e);
|
|
199
199
|
if (u) {
|
|
200
200
|
if (o = Dt(e), !s) return st(e, o);
|
|
201
201
|
} else {
|
|
202
|
-
var d =
|
|
203
|
-
if (
|
|
202
|
+
var d = te(e), f = d == bn || d == xn;
|
|
203
|
+
if (xe(e)) return xt(e, s);
|
|
204
204
|
if (d == wn || d == hn || f && !i) {
|
|
205
205
|
if (o = c || f ? {} : nn(e), !s) return c ? wt(e, gt(o, e)) : St(e, ht(o, e));
|
|
206
206
|
} else {
|
|
@@ -208,7 +208,7 @@ function Hn(e, t, n, r, i, a) {
|
|
|
208
208
|
o = tn(e, d, s);
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
|
-
a ||= new
|
|
211
|
+
a ||= new re();
|
|
212
212
|
var p = a.get(e);
|
|
213
213
|
if (p) return p;
|
|
214
214
|
a.set(e, o), dn(e) ? e.forEach(function(r) {
|
|
@@ -216,9 +216,9 @@ function Hn(e, t, n, r, i, a) {
|
|
|
216
216
|
}) : sn(e) && e.forEach(function(r, i) {
|
|
217
217
|
o.set(i, Hn(r, t, n, i, e, a));
|
|
218
218
|
});
|
|
219
|
-
var m = u ? void 0 : (l ? c ? Tt :
|
|
219
|
+
var m = u ? void 0 : (l ? c ? Tt : w : c ? pt : me)(e);
|
|
220
220
|
return ct(m || e, function(r, i) {
|
|
221
|
-
m && (i = r, r = e[i]),
|
|
221
|
+
m && (i = r, r = e[i]), ce(o, i, Hn(r, t, n, i, e, a));
|
|
222
222
|
}), o;
|
|
223
223
|
}
|
|
224
224
|
//#endregion
|
|
@@ -230,21 +230,21 @@ function Un(e) {
|
|
|
230
230
|
//#endregion
|
|
231
231
|
//#region node_modules/lodash-es/_parent.js
|
|
232
232
|
function Wn(e, t) {
|
|
233
|
-
return t.length < 2 ? e :
|
|
233
|
+
return t.length < 2 ? e : A(e, mt(t, 0, -1));
|
|
234
234
|
}
|
|
235
235
|
//#endregion
|
|
236
236
|
//#region node_modules/lodash-es/_baseUnset.js
|
|
237
237
|
var Gn = Object.prototype.hasOwnProperty;
|
|
238
238
|
function Kn(e, t) {
|
|
239
|
-
t =
|
|
239
|
+
t = se(t, e);
|
|
240
240
|
var n = -1, r = t.length;
|
|
241
241
|
if (!r) return !0;
|
|
242
242
|
for (; ++n < r;) {
|
|
243
|
-
var i =
|
|
243
|
+
var i = v(t[n]);
|
|
244
244
|
if (i === "__proto__" && !Gn.call(e, "__proto__") || (i === "constructor" || i === "prototype") && n < r - 1) return !1;
|
|
245
245
|
}
|
|
246
246
|
var a = Wn(e, t);
|
|
247
|
-
return a == null || delete a[
|
|
247
|
+
return a == null || delete a[v(Un(t))];
|
|
248
248
|
}
|
|
249
249
|
//#endregion
|
|
250
250
|
//#region node_modules/lodash-es/_customOmitClone.js
|
|
@@ -257,18 +257,18 @@ var Jn = 1, Yn = 2, Xn = 4, Zn = n(function(e, t) {
|
|
|
257
257
|
var n = {};
|
|
258
258
|
if (e == null) return n;
|
|
259
259
|
var r = !1;
|
|
260
|
-
t =
|
|
261
|
-
return t =
|
|
260
|
+
t = Ce(t, function(t) {
|
|
261
|
+
return t = se(t, e), r ||= t.length > 1, t;
|
|
262
262
|
}), lt(e, Tt(e), n), r && (n = Hn(n, Jn | Yn | Xn, qn));
|
|
263
263
|
for (var i = t.length; i--;) Kn(n, t[i]);
|
|
264
264
|
return n;
|
|
265
265
|
}), Qn = ({ from: e, replacement: t, scope: n, version: r, ref: i, type: a = "API" }, o) => {
|
|
266
266
|
tt(() => Qe(o), (o) => {
|
|
267
|
-
o &&
|
|
267
|
+
o && we(n, `[${a}] ${e} is about to be deprecated in version ${r}, please use ${t} instead.
|
|
268
268
|
For more detail, please visit: ${i}
|
|
269
269
|
`);
|
|
270
270
|
}, { immediate: !0 });
|
|
271
|
-
}, $n =
|
|
271
|
+
}, $n = S({
|
|
272
272
|
modelValue: {
|
|
273
273
|
type: [
|
|
274
274
|
String,
|
|
@@ -277,7 +277,7 @@ For more detail, please visit: ${i}
|
|
|
277
277
|
],
|
|
278
278
|
default: void 0
|
|
279
279
|
},
|
|
280
|
-
size:
|
|
280
|
+
size: _e,
|
|
281
281
|
disabled: {
|
|
282
282
|
type: Boolean,
|
|
283
283
|
default: void 0
|
|
@@ -302,22 +302,22 @@ For more detail, please visit: ${i}
|
|
|
302
302
|
type: String,
|
|
303
303
|
default: void 0
|
|
304
304
|
}
|
|
305
|
-
}), er =
|
|
305
|
+
}), er = S({
|
|
306
306
|
...$n,
|
|
307
307
|
border: Boolean
|
|
308
308
|
}), tr = {
|
|
309
|
-
[r]: (e) =>
|
|
310
|
-
[i]: (e) =>
|
|
311
|
-
}, nr = Symbol("radioGroupKey"), rr =
|
|
309
|
+
[r]: (e) => y(e) || C(e) || O(e),
|
|
310
|
+
[i]: (e) => y(e) || C(e) || O(e)
|
|
311
|
+
}, nr = Symbol("radioGroupKey"), rr = S({ ...$n }), ir = {
|
|
312
312
|
label: "label",
|
|
313
313
|
value: "value",
|
|
314
314
|
disabled: "disabled"
|
|
315
|
-
}, ar =
|
|
315
|
+
}, ar = S({
|
|
316
316
|
id: {
|
|
317
317
|
type: String,
|
|
318
318
|
default: void 0
|
|
319
319
|
},
|
|
320
|
-
size:
|
|
320
|
+
size: _e,
|
|
321
321
|
disabled: {
|
|
322
322
|
type: Boolean,
|
|
323
323
|
default: void 0
|
|
@@ -346,9 +346,9 @@ For more detail, please visit: ${i}
|
|
|
346
346
|
type: Boolean,
|
|
347
347
|
default: !0
|
|
348
348
|
},
|
|
349
|
-
options: { type:
|
|
349
|
+
options: { type: k(Array) },
|
|
350
350
|
props: {
|
|
351
|
-
type:
|
|
351
|
+
type: k(Object),
|
|
352
352
|
default: () => ir
|
|
353
353
|
},
|
|
354
354
|
type: {
|
|
@@ -358,7 +358,7 @@ For more detail, please visit: ${i}
|
|
|
358
358
|
},
|
|
359
359
|
...s(["ariaLabel"])
|
|
360
360
|
}), or = tr, sr = (e, t) => {
|
|
361
|
-
let n = Ke(), r = Fe(nr, void 0), i = Ee(() => !!r), a = Ee(() =>
|
|
361
|
+
let n = Ke(), r = Fe(nr, void 0), i = Ee(() => !!r), a = Ee(() => T(e.value) ? e.label : e.value), o = Ee({
|
|
362
362
|
get() {
|
|
363
363
|
return i.value ? r.modelValue : e.modelValue;
|
|
364
364
|
},
|
|
@@ -372,7 +372,7 @@ For more detail, please visit: ${i}
|
|
|
372
372
|
version: "3.0.0",
|
|
373
373
|
scope: "el-radio",
|
|
374
374
|
ref: "https://element-plus.org/en-US/component/radio.html"
|
|
375
|
-
}, Ee(() => i.value &&
|
|
375
|
+
}, Ee(() => i.value && T(e.value))), {
|
|
376
376
|
radioRef: n,
|
|
377
377
|
isGroup: i,
|
|
378
378
|
radioGroup: r,
|
|
@@ -394,7 +394,7 @@ For more detail, please visit: ${i}
|
|
|
394
394
|
props: er,
|
|
395
395
|
emits: tr,
|
|
396
396
|
setup(e, { emit: t }) {
|
|
397
|
-
let n = e, r = t, a =
|
|
397
|
+
let n = e, r = t, a = le("radio"), { radioRef: o, radioGroup: s, focus: c, size: l, disabled: u, modelValue: d, actualValue: f } = sr(n, r);
|
|
398
398
|
function p() {
|
|
399
399
|
Re(() => r(i, d.value));
|
|
400
400
|
}
|
|
@@ -437,7 +437,7 @@ For more detail, please visit: ${i}
|
|
|
437
437
|
__name: "radio-button",
|
|
438
438
|
props: rr,
|
|
439
439
|
setup(e) {
|
|
440
|
-
let t = e, n =
|
|
440
|
+
let t = e, n = le("radio"), { radioRef: r, focus: i, size: a, disabled: o, modelValue: s, radioGroup: c, actualValue: l } = sr(t), u = Ee(() => ({
|
|
441
441
|
backgroundColor: c?.fill || "",
|
|
442
442
|
borderColor: c?.fill || "",
|
|
443
443
|
boxShadow: c?.fill ? `-1px 0 0 0 ${c.fill}` : "",
|
|
@@ -477,7 +477,7 @@ For more detail, please visit: ${i}
|
|
|
477
477
|
props: ar,
|
|
478
478
|
emits: or,
|
|
479
479
|
setup(e, { emit: t }) {
|
|
480
|
-
let n = e, o = t, s =
|
|
480
|
+
let n = e, o = t, s = le("radio"), c = a(), l = Ke(), { formItem: u } = m(), { inputId: d, isLabeledByFormItem: f } = g(n, { formItemContext: u }), p = (e) => {
|
|
481
481
|
o(r, e), Re(() => o(i, e));
|
|
482
482
|
};
|
|
483
483
|
He(() => {
|
|
@@ -501,13 +501,13 @@ For more detail, please visit: ${i}
|
|
|
501
501
|
]),
|
|
502
502
|
...i
|
|
503
503
|
};
|
|
504
|
-
},
|
|
504
|
+
}, y = Ee(() => n.type === "button" ? dr : lr);
|
|
505
505
|
return We(nr, Ge({
|
|
506
506
|
...Ze(n),
|
|
507
507
|
changeEvent: p,
|
|
508
508
|
name: h
|
|
509
509
|
})), tt(() => n.modelValue, (e, t) => {
|
|
510
|
-
n.validateEvent && !
|
|
510
|
+
n.validateEvent && !b(e, t) && u?.validate("change").catch((e) => we(e));
|
|
511
511
|
}), (t, n) => (Ue(), ke("div", {
|
|
512
512
|
id: Qe(d),
|
|
513
513
|
ref_key: "radioGroupRef",
|
|
@@ -516,7 +516,7 @@ For more detail, please visit: ${i}
|
|
|
516
516
|
role: "radiogroup",
|
|
517
517
|
"aria-label": Qe(f) ? void 0 : e.ariaLabel || "radio-group",
|
|
518
518
|
"aria-labelledby": Qe(f) ? Qe(u).labelId : void 0
|
|
519
|
-
}, [Je(t.$slots, "default", {}, () => [(Ue(!0), ke(Te, null, qe(e.options, (e, t) => (Ue(), De(Ye(
|
|
519
|
+
}, [Je(t.$slots, "default", {}, () => [(Ue(!0), ke(Te, null, qe(e.options, (e, t) => (Ue(), De(Ye(y.value), Le({ key: t }, { ref_for: !0 }, v(e)), null, 16))), 128))])], 10, fr));
|
|
520
520
|
}
|
|
521
521
|
}), mr = t(lr, {
|
|
522
522
|
RadioButton: dr,
|
|
@@ -77114,7 +77114,7 @@ var E5 = {
|
|
|
77114
77114
|
}, U5 = {
|
|
77115
77115
|
key: 1,
|
|
77116
77116
|
class: "station-empty"
|
|
77117
|
-
}, W5 = "当前高速无任何报警,请放心出行。", G5 = /* @__PURE__ */
|
|
77117
|
+
}, W5 = "当前高速无任何报警,请放心出行。", G5 = /* @__PURE__ */ be(/* @__PURE__ */ Pe({
|
|
77118
77118
|
__name: "HighwayLiveAlarm",
|
|
77119
77119
|
props: {
|
|
77120
77120
|
tokenInterface: {
|
|
@@ -77180,8 +77180,8 @@ var E5 = {
|
|
|
77180
77180
|
}
|
|
77181
77181
|
}, r = t, i = e, a = Ke(""), o = Ke(!1), s = Ke(null), c = Ke(null), l = Ke("table"), u = Ke("降水"), f = Ke("全部"), m = Ke(["全部"]), g = 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
77182
|
He(() => {
|
|
77183
|
-
|
|
77184
|
-
|
|
77183
|
+
ie(), s.value = setInterval(() => {
|
|
77184
|
+
ie();
|
|
77185
77185
|
}, 1e3 * 60 * 10);
|
|
77186
77186
|
}), Ve(() => {
|
|
77187
77187
|
s.value && clearInterval(s.value), c.value?.dispose(), c.value = null;
|
|
@@ -77248,7 +77248,7 @@ var E5 = {
|
|
|
77248
77248
|
], ne = (e) => e.length ? `当前${e.map((e) => {
|
|
77249
77249
|
let t = [];
|
|
77250
77250
|
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,
|
|
77251
|
+
}).join(",")},请合理安排出行!` : W5, re = async () => i.dataInterface ? (await de({
|
|
77252
77252
|
url: i.dataInterface,
|
|
77253
77253
|
method: i.dataInterfaceType,
|
|
77254
77254
|
params: i.dataInterfaceParams,
|
|
@@ -77257,9 +77257,9 @@ var E5 = {
|
|
|
77257
77257
|
tokenInterfaceParams: i.tokenInterfaceParams,
|
|
77258
77258
|
tokenInterfaceType: i.tokenInterfaceType,
|
|
77259
77259
|
tokenInterfaceIsFormData: i.tokenInterfaceIsFormData
|
|
77260
|
-
}))?.ds || [] : E5?.ds || [],
|
|
77260
|
+
}))?.ds || [] : E5?.ds || [], ie = async () => {
|
|
77261
77261
|
o.value = !0;
|
|
77262
|
-
let e = await
|
|
77262
|
+
let e = await re();
|
|
77263
77263
|
o.value = !1;
|
|
77264
77264
|
let t = [], n = [], r = {}, i = [];
|
|
77265
77265
|
e.forEach((e) => {
|
|
@@ -77279,8 +77279,8 @@ var E5 = {
|
|
|
77279
77279
|
itemStyle: { color: s },
|
|
77280
77280
|
label: { color: s }
|
|
77281
77281
|
});
|
|
77282
|
-
}), g.value = r, v.value = i, m.value = ["全部", ...i.map((e) => e.name)], m.value.includes(f.value) || (f.value = "全部"), y.value = {},
|
|
77283
|
-
},
|
|
77282
|
+
}), g.value = r, v.value = i, m.value = ["全部", ...i.map((e) => e.name)], m.value.includes(f.value) || (f.value = "全部"), y.value = {}, ce(f.value), a.value = ne(n), ae(t);
|
|
77283
|
+
}, ae = (e) => {
|
|
77284
77284
|
let t = document.querySelector(".HighwayLiveAlarm-chart");
|
|
77285
77285
|
if (!t) return;
|
|
77286
77286
|
c.value ||= QE(t);
|
|
@@ -77312,16 +77312,16 @@ var E5 = {
|
|
|
77312
77312
|
}]
|
|
77313
77313
|
};
|
|
77314
77314
|
c.value.setOption(n);
|
|
77315
|
-
},
|
|
77315
|
+
}, oe = async (e) => {
|
|
77316
77316
|
l.value = e, e === "chart" && (await Re(), c.value?.resize());
|
|
77317
|
-
},
|
|
77317
|
+
}, se = (e) => e === "全部" ? Object.values(g.value) : g.value[e] ? [g.value[e]] : [], ce = (e) => {
|
|
77318
77318
|
f.value = e, r("removeLayers", Object.values(g.value).map((e) => e.name)), setTimeout(() => {
|
|
77319
77319
|
r("addLayers", {
|
|
77320
|
-
layers:
|
|
77320
|
+
layers: se(e),
|
|
77321
77321
|
isRemove: !0
|
|
77322
77322
|
});
|
|
77323
77323
|
}, 1e3), pe();
|
|
77324
|
-
},
|
|
77324
|
+
}, le = () => n[u.value], ue = (e, t) => {
|
|
77325
77325
|
let n = Number(e?.[t]);
|
|
77326
77326
|
return S(n) ? t === "visibility" ? (n / 1e3).toString() : String(e?.[t]) : "";
|
|
77327
77327
|
}, fe = (e, t, n) => `
|
|
@@ -77349,9 +77349,9 @@ var E5 = {
|
|
|
77349
77349
|
}],
|
|
77350
77350
|
drawArrObj: [],
|
|
77351
77351
|
onlyLayerID: "station_highway"
|
|
77352
|
-
}, t =
|
|
77352
|
+
}, t = le(), n = t.field, i = t.unit;
|
|
77353
77353
|
k().forEach((t) => {
|
|
77354
|
-
let r = fe(t,
|
|
77354
|
+
let r = fe(t, ue(t, n), i), a = {
|
|
77355
77355
|
lng: t.longitude,
|
|
77356
77356
|
lat: t.latitude,
|
|
77357
77357
|
htmlString: r,
|
|
@@ -77365,21 +77365,21 @@ var E5 = {
|
|
|
77365
77365
|
});
|
|
77366
77366
|
}, me = (e) => {
|
|
77367
77367
|
y.value[e] = !y.value[e];
|
|
77368
|
-
},
|
|
77368
|
+
}, ge = () => {
|
|
77369
77369
|
r("close", "HighwayLiveAlarm");
|
|
77370
77370
|
};
|
|
77371
77371
|
return (e, t) => {
|
|
77372
|
-
let n = mr, r = hr, i = p, s = h, c = d, g =
|
|
77372
|
+
let n = mr, r = hr, i = p, s = h, c = d, g = he;
|
|
77373
77373
|
return rt((Ue(), ke("div", D5, [
|
|
77374
77374
|
Ae("div", O5, [Ae("div", k5, [t[4] ||= Ae("div", null, "沿线高速公路实况报警", -1), Ae("div", A5, [Ae("div", j5, [Ae("button", {
|
|
77375
77375
|
class: ze(["switch-btn", { active: l.value === "chart" }]),
|
|
77376
|
-
onClick: t[0] ||= (e) =>
|
|
77376
|
+
onClick: t[0] ||= (e) => oe("chart")
|
|
77377
77377
|
}, " 图表 ", 2), Ae("button", {
|
|
77378
77378
|
class: ze(["switch-btn", { active: l.value === "table" }]),
|
|
77379
|
-
onClick: t[1] ||= (e) =>
|
|
77379
|
+
onClick: t[1] ||= (e) => oe("table")
|
|
77380
77380
|
}, " 表格 ", 2)]), Ae("div", {
|
|
77381
77381
|
class: "closeBtn",
|
|
77382
|
-
onClick:
|
|
77382
|
+
onClick: ge,
|
|
77383
77383
|
title: "关闭"
|
|
77384
77384
|
})])]), t[5] ||= Ae("img", {
|
|
77385
77385
|
class: "HighwayLiveAlarm-head-line",
|
|
@@ -77422,7 +77422,7 @@ var E5 = {
|
|
|
77422
77422
|
"onUpdate:modelValue": t[3] ||= (e) => f.value = e,
|
|
77423
77423
|
placeholder: "请选择路线",
|
|
77424
77424
|
class: "dark-select",
|
|
77425
|
-
onChange:
|
|
77425
|
+
onChange: ce
|
|
77426
77426
|
}, {
|
|
77427
77427
|
default: nt(() => [(Ue(!0), ke(Te, null, qe(m.value, (e) => (Ue(), De(i, {
|
|
77428
77428
|
key: e,
|