nxd-plugin 1.2.9 → 1.3.1
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-C66odQkE.mjs → component-HighwayLiveAlarmNew-Ccqk1-Nv.mjs} +60 -56
- 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-C5fiuIS-.mjs → component-RadarShortTerm-CPhbfQcf.mjs} +126 -124
- 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,8 +1,8 @@
|
|
|
1
1
|
import "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import { A as e, J as t, K as n, M as r, N as i, V as a, c as o, f as s, l as c, n as l, o as u, r as d, s as f, u as p, y as m } from "./component-HighWayFreeze-
|
|
3
|
-
import {
|
|
4
|
-
import { a as O, i as re, n as ie, o as ae, r as oe } from "./component-HighwayLiveAlarm-
|
|
5
|
-
import { Fragment as k, computed as A, createBlock as se, createCommentVNode as j, createElementBlock as M, createElementVNode as N, createTextVNode as P, createVNode as F, defineComponent as I, getCurrentInstance as
|
|
2
|
+
import { A as e, J as t, K as n, M as r, N as i, V as a, c as o, f as s, l as c, n as l, o as u, r as d, s as f, u as p, y as m } from "./component-HighWayFreeze-ByAF7JQ7.mjs";
|
|
3
|
+
import { At as h, B as g, D as _, Et as v, F as y, I as b, L as x, M as S, O as C, Ot as w, g as T, i as ee, o as te, p as E, r as D, w as ne } from "./component-HighWayEarlyWarningRed-yaXptPl1.mjs";
|
|
4
|
+
import { a as O, i as re, n as ie, o as ae, r as oe } from "./component-HighwayLiveAlarm-BrYDfT9C.mjs";
|
|
5
|
+
import { Fragment as k, computed as A, createBlock as se, createCommentVNode as j, createElementBlock as M, createElementVNode as N, createTextVNode as P, createVNode as F, defineComponent as I, getCurrentInstance as L, inject as R, isRef as ce, mergeProps as le, nextTick as ue, normalizeClass as z, normalizeStyle as de, onBeforeUnmount as fe, onMounted as pe, openBlock as B, provide as me, ref as V, renderList as H, renderSlot as U, resolveDynamicComponent as W, toDisplayString as G, toRaw as he, toRefs as ge, unref as K, useSlots as _e, vModelCheckbox as q, vShow as J, watch as Y, withCtx as X, withDirectives as Z, withModifiers as ve } from "vue";
|
|
6
6
|
//#region node_modules/element-plus/es/components/checkbox/src/checkbox.mjs
|
|
7
7
|
var ye = {
|
|
8
8
|
modelValue: {
|
|
@@ -62,7 +62,7 @@ var ye = {
|
|
|
62
62
|
default: void 0
|
|
63
63
|
},
|
|
64
64
|
border: Boolean,
|
|
65
|
-
size:
|
|
65
|
+
size: E,
|
|
66
66
|
tabindex: [String, Number],
|
|
67
67
|
validateEvent: {
|
|
68
68
|
type: Boolean,
|
|
@@ -71,11 +71,11 @@ var ye = {
|
|
|
71
71
|
ariaLabel: String,
|
|
72
72
|
...i(["ariaControls"])
|
|
73
73
|
}, Q = {
|
|
74
|
-
[t]: (e) =>
|
|
75
|
-
change: (e) =>
|
|
76
|
-
}, $ = Symbol("checkboxGroupContextKey"), be =
|
|
74
|
+
[t]: (e) => h(e) || y(e) || S(e),
|
|
75
|
+
change: (e) => h(e) || y(e) || S(e)
|
|
76
|
+
}, $ = Symbol("checkboxGroupContextKey"), be = _({
|
|
77
77
|
modelValue: {
|
|
78
|
-
type:
|
|
78
|
+
type: C(Array),
|
|
79
79
|
default: () => []
|
|
80
80
|
},
|
|
81
81
|
disabled: {
|
|
@@ -84,7 +84,7 @@ var ye = {
|
|
|
84
84
|
},
|
|
85
85
|
min: Number,
|
|
86
86
|
max: Number,
|
|
87
|
-
size:
|
|
87
|
+
size: E,
|
|
88
88
|
fill: String,
|
|
89
89
|
textColor: String,
|
|
90
90
|
tag: {
|
|
@@ -95,9 +95,9 @@ var ye = {
|
|
|
95
95
|
type: Boolean,
|
|
96
96
|
default: !0
|
|
97
97
|
},
|
|
98
|
-
options: { type:
|
|
98
|
+
options: { type: C(Array) },
|
|
99
99
|
props: {
|
|
100
|
-
type:
|
|
100
|
+
type: C(Object),
|
|
101
101
|
default: () => Se
|
|
102
102
|
},
|
|
103
103
|
type: {
|
|
@@ -107,23 +107,23 @@ var ye = {
|
|
|
107
107
|
},
|
|
108
108
|
...i(["ariaLabel"])
|
|
109
109
|
}), xe = {
|
|
110
|
-
[t]: (e) =>
|
|
111
|
-
change: (e) =>
|
|
110
|
+
[t]: (e) => v(e),
|
|
111
|
+
change: (e) => v(e)
|
|
112
112
|
}, Se = {
|
|
113
113
|
label: "label",
|
|
114
114
|
value: "value",
|
|
115
115
|
disabled: "disabled"
|
|
116
116
|
}, Ce = ({ model: e, isChecked: t }) => {
|
|
117
|
-
let n =
|
|
117
|
+
let n = R($, void 0), r = R(p, void 0), i = A(() => {
|
|
118
118
|
let r = n?.max?.value, i = n?.min?.value;
|
|
119
|
-
return !
|
|
119
|
+
return !x(r) && e.value.length >= r && !t.value || !x(i) && e.value.length <= i && t.value;
|
|
120
120
|
});
|
|
121
121
|
return {
|
|
122
122
|
isDisabled: o(A(() => n === void 0 ? r?.disabled ?? i.value : n.disabled?.value || i.value)),
|
|
123
123
|
isLimitDisabled: i
|
|
124
124
|
};
|
|
125
125
|
}, we = (e, { model: t, isLimitExceeded: r, hasOwnLabel: i, isDisabled: a, isLabeledByFormItem: o }) => {
|
|
126
|
-
let s =
|
|
126
|
+
let s = R($, void 0), { formItem: c } = u(), { emit: l } = L();
|
|
127
127
|
function d(t) {
|
|
128
128
|
return [
|
|
129
129
|
!0,
|
|
@@ -146,15 +146,15 @@ var ye = {
|
|
|
146
146
|
e.falseLabel
|
|
147
147
|
].includes(t.value)), await ue(), f(t.value, n)));
|
|
148
148
|
}
|
|
149
|
-
let
|
|
149
|
+
let h = A(() => s?.validateEvent || e.validateEvent);
|
|
150
150
|
return Y(() => e.modelValue, () => {
|
|
151
|
-
|
|
151
|
+
h.value && c?.validate("change").catch((e) => ne(e));
|
|
152
152
|
}), {
|
|
153
153
|
handleChange: p,
|
|
154
154
|
onClickRoot: m
|
|
155
155
|
};
|
|
156
156
|
}, Te = (e) => {
|
|
157
|
-
let n = V(!1), { emit: r, vnode: i } =
|
|
157
|
+
let n = V(!1), { emit: r, vnode: i } = L(), a = R($, void 0), o = A(() => x(a) === !1), s = V(!1), c = A(() => {
|
|
158
158
|
let e = i.props ?? {};
|
|
159
159
|
return "modelValue" in e || "model-value" in e;
|
|
160
160
|
}), l = A({
|
|
@@ -162,7 +162,7 @@ var ye = {
|
|
|
162
162
|
return o.value ? a?.modelValue?.value : c.value ? e.modelValue : n.value;
|
|
163
163
|
},
|
|
164
164
|
set(e) {
|
|
165
|
-
o.value &&
|
|
165
|
+
o.value && v(e) ? (s.value = a?.max?.value !== void 0 && e.length > a?.max.value && e.length > l.value.length, s.value === !1 && a?.changeEvent?.(e)) : (r(t, e), n.value = e);
|
|
166
166
|
}
|
|
167
167
|
});
|
|
168
168
|
return {
|
|
@@ -171,16 +171,16 @@ var ye = {
|
|
|
171
171
|
isLimitExceeded: s
|
|
172
172
|
};
|
|
173
173
|
}, Ee = (e, t, { model: n }) => {
|
|
174
|
-
let r =
|
|
174
|
+
let r = R($, void 0), i = V(!1), a = A(() => b(e.value) ? e.label : e.value), o = A(() => {
|
|
175
175
|
let t = n.value;
|
|
176
|
-
return
|
|
176
|
+
return S(t) ? t : v(t) ? w(a.value) ? t.map(he).some((e) => g(e, a.value)) : t.map(he).includes(a.value) : t == null ? !!t : t === e.trueValue || t === e.trueLabel;
|
|
177
177
|
});
|
|
178
178
|
return {
|
|
179
179
|
checkboxButtonSize: c(A(() => r?.size?.value), { prop: !0 }),
|
|
180
180
|
isChecked: o,
|
|
181
181
|
isFocused: i,
|
|
182
182
|
checkboxSize: c(A(() => r?.size?.value)),
|
|
183
|
-
hasOwnLabel: A(() => !!t.default || !
|
|
183
|
+
hasOwnLabel: A(() => !!t.default || !b(a.value)),
|
|
184
184
|
actualValue: a
|
|
185
185
|
};
|
|
186
186
|
}, De = (e, t) => {
|
|
@@ -191,7 +191,7 @@ var ye = {
|
|
|
191
191
|
formItemContext: n,
|
|
192
192
|
disableIdGeneration: d,
|
|
193
193
|
disableIdManagement: i
|
|
194
|
-
}), { handleChange: _, onClickRoot:
|
|
194
|
+
}), { handleChange: _, onClickRoot: y } = we(e, {
|
|
195
195
|
model: r,
|
|
196
196
|
isLimitExceeded: a,
|
|
197
197
|
hasOwnLabel: d,
|
|
@@ -200,7 +200,7 @@ var ye = {
|
|
|
200
200
|
});
|
|
201
201
|
return (() => {
|
|
202
202
|
function t() {
|
|
203
|
-
|
|
203
|
+
v(r.value) && !r.value.includes(p.value) ? r.value.push(p.value) : r.value = e.trueValue ?? e.trueLabel ?? !0;
|
|
204
204
|
}
|
|
205
205
|
e.checked && t();
|
|
206
206
|
})(), O({
|
|
@@ -209,7 +209,7 @@ var ye = {
|
|
|
209
209
|
version: "3.0.0",
|
|
210
210
|
scope: "el-checkbox",
|
|
211
211
|
ref: "https://element-plus.org/en-US/component/checkbox.html"
|
|
212
|
-
}, A(() => i.value &&
|
|
212
|
+
}, A(() => i.value && b(e.value))), O({
|
|
213
213
|
from: "true-label",
|
|
214
214
|
replacement: "true-value",
|
|
215
215
|
version: "3.0.0",
|
|
@@ -233,7 +233,7 @@ var ye = {
|
|
|
233
233
|
model: r,
|
|
234
234
|
actualValue: p,
|
|
235
235
|
handleChange: _,
|
|
236
|
-
onClickRoot:
|
|
236
|
+
onClickRoot: y
|
|
237
237
|
};
|
|
238
238
|
}, Oe = [
|
|
239
239
|
"id",
|
|
@@ -250,7 +250,7 @@ var ye = {
|
|
|
250
250
|
let t = e, { inputId: n, isLabeledByFormItem: r, isChecked: i, isDisabled: a, isFocused: o, checkboxSize: s, hasOwnLabel: c, model: l, actualValue: u, handleChange: d, onClickRoot: f } = De(t, _e()), p = A(() => t.trueValue || t.falseValue || t.trueLabel || t.falseLabel ? {
|
|
251
251
|
"true-value": t.trueValue ?? t.trueLabel ?? !0,
|
|
252
252
|
"false-value": t.falseValue ?? t.falseLabel ?? !1
|
|
253
|
-
} : { value: u.value }), m =
|
|
253
|
+
} : { value: u.value }), m = T("checkbox"), h = A(() => [
|
|
254
254
|
m.b(),
|
|
255
255
|
m.m(s.value),
|
|
256
256
|
m.is("disabled", a.value),
|
|
@@ -271,9 +271,9 @@ var ye = {
|
|
|
271
271
|
"aria-label": e.ariaLabel,
|
|
272
272
|
onClick: K(f)
|
|
273
273
|
}, {
|
|
274
|
-
default: X(() => [N("span", { class: z(g.value) }, [Z(N("input",
|
|
274
|
+
default: X(() => [N("span", { class: z(g.value) }, [Z(N("input", le({
|
|
275
275
|
id: K(n),
|
|
276
|
-
"onUpdate:modelValue": i[0] ||= (e) =>
|
|
276
|
+
"onUpdate:modelValue": i[0] ||= (e) => ce(l) ? l.value = e : null,
|
|
277
277
|
class: K(m).e("original"),
|
|
278
278
|
type: "checkbox",
|
|
279
279
|
indeterminate: e.indeterminate,
|
|
@@ -312,7 +312,7 @@ var ye = {
|
|
|
312
312
|
let t = e, { isFocused: n, isChecked: r, isDisabled: i, checkboxButtonSize: a, model: o, actualValue: s, handleChange: c } = De(t, _e()), l = A(() => t.trueValue || t.falseValue || t.trueLabel || t.falseLabel ? {
|
|
313
313
|
"true-value": t.trueValue ?? t.trueLabel ?? !0,
|
|
314
314
|
"false-value": t.falseValue ?? t.falseLabel ?? !1
|
|
315
|
-
} : { value: s.value }), u =
|
|
315
|
+
} : { value: s.value }), u = R($, void 0), d = T("checkbox"), f = A(() => {
|
|
316
316
|
let e = u?.fill?.value ?? "";
|
|
317
317
|
return {
|
|
318
318
|
backgroundColor: e,
|
|
@@ -327,8 +327,8 @@ var ye = {
|
|
|
327
327
|
d.is("checked", r.value),
|
|
328
328
|
d.is("focus", n.value)
|
|
329
329
|
]);
|
|
330
|
-
return (t, a) => (B(), M("label", { class: z(p.value) }, [Z(N("input",
|
|
331
|
-
"onUpdate:modelValue": a[0] ||= (e) =>
|
|
330
|
+
return (t, a) => (B(), M("label", { class: z(p.value) }, [Z(N("input", le({
|
|
331
|
+
"onUpdate:modelValue": a[0] ||= (e) => ce(o) ? o.value = e : null,
|
|
332
332
|
class: K(d).be("button", "original"),
|
|
333
333
|
type: "checkbox",
|
|
334
334
|
name: e.name,
|
|
@@ -351,14 +351,14 @@ var ye = {
|
|
|
351
351
|
props: be,
|
|
352
352
|
emits: xe,
|
|
353
353
|
setup(e, { emit: r }) {
|
|
354
|
-
let i = e, s = r, c =
|
|
354
|
+
let i = e, s = r, c = T("checkbox"), l = o(), { formItem: d } = u(), { inputId: p, isLabeledByFormItem: m } = f(i, { formItemContext: d }), h = async (e) => {
|
|
355
355
|
s(t, e), await ue(), s(n, e);
|
|
356
356
|
}, _ = A({
|
|
357
357
|
get() {
|
|
358
358
|
return i.modelValue;
|
|
359
359
|
},
|
|
360
360
|
set(e) {
|
|
361
|
-
|
|
361
|
+
h(e);
|
|
362
362
|
}
|
|
363
363
|
}), v = A(() => ({
|
|
364
364
|
...Se,
|
|
@@ -389,9 +389,9 @@ var ye = {
|
|
|
389
389
|
]),
|
|
390
390
|
disabled: l,
|
|
391
391
|
modelValue: _,
|
|
392
|
-
changeEvent:
|
|
392
|
+
changeEvent: h
|
|
393
393
|
}), Y(() => i.modelValue, (e, t) => {
|
|
394
|
-
i.validateEvent && !
|
|
394
|
+
i.validateEvent && !g(e, t) && d?.validate("change").catch((e) => ne(e));
|
|
395
395
|
}), (t, n) => (B(), se(W(e.tag), {
|
|
396
396
|
id: K(p),
|
|
397
397
|
class: z(K(c).b("group")),
|
|
@@ -399,7 +399,7 @@ var ye = {
|
|
|
399
399
|
"aria-label": K(m) ? void 0 : e.ariaLabel || "checkbox-group",
|
|
400
400
|
"aria-labelledby": K(m) ? K(d)?.labelId : void 0
|
|
401
401
|
}, {
|
|
402
|
-
default: X(() => [U(t.$slots, "default", {}, () => [(B(!0), M(k, null, H(e.options, (e, t) => (B(), se(W(b.value),
|
|
402
|
+
default: X(() => [U(t.$slots, "default", {}, () => [(B(!0), M(k, null, H(e.options, (e, t) => (B(), se(W(b.value), le({ key: t }, { ref_for: !0 }, y(e)), null, 16))), 128))])]),
|
|
403
403
|
_: 3
|
|
404
404
|
}, 8, [
|
|
405
405
|
"id",
|
|
@@ -32433,7 +32433,9 @@ var Pe = {
|
|
|
32433
32433
|
"addMarker",
|
|
32434
32434
|
"close",
|
|
32435
32435
|
"removeLayers",
|
|
32436
|
-
"removeMarker"
|
|
32436
|
+
"removeMarker",
|
|
32437
|
+
"addDataTitle",
|
|
32438
|
+
"removeDataTitle"
|
|
32437
32439
|
],
|
|
32438
32440
|
setup(e, { emit: t }) {
|
|
32439
32441
|
let n = V([
|
|
@@ -32500,7 +32502,7 @@ var Pe = {
|
|
|
32500
32502
|
field: "visibility",
|
|
32501
32503
|
unit: "km"
|
|
32502
32504
|
}
|
|
32503
|
-
}, i = t, a = e, o = V(""), c = V(!1), u = V(null), f = V(null), p = V("table"), h = V("降水"), g = V(!0), _ = V(!1), v = V(!1), y = V("全部"), b = V(["全部"]), x = V({}), S = V([]), C = V({}), w = V({}), T = V({}), E = null, D = null, ne = A(() => o.value === St ? "#52c41a" : "#ff4d4f"), O = A(() => n.value.filter((e) => e.isWarn)), ae = (e) => (e || []).filter((e) => q(e)).length, I = () => D || (D = new Audio(Fe), D.preload = "auto", D),
|
|
32505
|
+
}, i = t, a = e, o = V(""), c = V(!1), u = V(null), f = V(null), p = V("table"), h = V("降水"), g = V(!0), _ = V(!1), v = V(!1), y = V("全部"), b = V(["全部"]), x = V({}), S = V([]), C = V({}), w = V({}), T = V({}), E = null, D = null, ne = A(() => o.value === St ? "#52c41a" : "#ff4d4f"), O = A(() => n.value.filter((e) => e.isWarn)), ae = (e) => (e || []).filter((e) => q(e)).length, I = () => D || (D = new Audio(Fe), D.preload = "auto", D), L = () => {
|
|
32504
32506
|
if (_.value || typeof window > "u") return;
|
|
32505
32507
|
let e = I();
|
|
32506
32508
|
e.currentTime = 0;
|
|
@@ -32514,17 +32516,17 @@ var Pe = {
|
|
|
32514
32516
|
}).catch(() => {
|
|
32515
32517
|
_.value || (v.value = !0);
|
|
32516
32518
|
});
|
|
32517
|
-
},
|
|
32519
|
+
}, R = () => {
|
|
32518
32520
|
E && clearTimeout(E), E = setTimeout(() => {
|
|
32519
32521
|
_.value || (v.value = !0);
|
|
32520
32522
|
}, 800);
|
|
32523
|
+
}, ce = () => {
|
|
32524
|
+
L(), R();
|
|
32521
32525
|
}, le = () => {
|
|
32522
|
-
|
|
32523
|
-
}, R = () => {
|
|
32524
|
-
v.value = !1, ce(), L();
|
|
32526
|
+
v.value = !1, L(), R();
|
|
32525
32527
|
}, me = A(() => ve(y.value === "全部" ? S.value : S.value.filter((e) => e.name === y.value), (e) => Y(e.tags)));
|
|
32526
32528
|
pe(() => {
|
|
32527
|
-
|
|
32529
|
+
ce(), Te(), u.value = setInterval(() => {
|
|
32528
32530
|
Te();
|
|
32529
32531
|
}, 1e3 * 60 * 10);
|
|
32530
32532
|
}), fe(() => {
|
|
@@ -32589,7 +32591,7 @@ var Pe = {
|
|
|
32589
32591
|
}), Ce = (e) => e.length ? `当前${e.map((e) => {
|
|
32590
32592
|
let t = [];
|
|
32591
32593
|
return e.iswarnrainfall_1h && t.push("降水"), e.iswarntemp && t.push("温度"), e.iswarnvis && t.push("能见度"), `${e.name}高速${t.join("、")}报警`;
|
|
32592
|
-
}).join(",")},请合理安排出行!` : St, we = async () => a.dataInterface ? (await
|
|
32594
|
+
}).join(",")},请合理安排出行!` : St, we = async () => a.dataInterface ? (await ee({
|
|
32593
32595
|
url: a.dataInterface,
|
|
32594
32596
|
method: a.dataInterfaceType,
|
|
32595
32597
|
params: a.dataInterfaceParams,
|
|
@@ -32602,17 +32604,17 @@ var Pe = {
|
|
|
32602
32604
|
c.value = !0;
|
|
32603
32605
|
let e = await we();
|
|
32604
32606
|
c.value = !1;
|
|
32605
|
-
let t = [], n = [], r = {},
|
|
32607
|
+
let t = [], n = [], r = {}, a = [];
|
|
32606
32608
|
e.forEach((e) => {
|
|
32607
|
-
let
|
|
32609
|
+
let i = $(e), o = ve(e.zdzds || [], (e) => q(e)), s = !!(i.iswarnrainfall_1h || i.iswarntemp || i.iswarnvis);
|
|
32608
32610
|
s && n.push({
|
|
32609
32611
|
name: e.name,
|
|
32610
|
-
...
|
|
32611
|
-
}), r[e.name] = be(e, s),
|
|
32612
|
+
...i
|
|
32613
|
+
}), r[e.name] = be(e, s), a.push({
|
|
32612
32614
|
name: e.name,
|
|
32613
32615
|
stations: o,
|
|
32614
32616
|
warnCount: Se(o),
|
|
32615
|
-
tags: xe(
|
|
32617
|
+
tags: xe(i)
|
|
32616
32618
|
});
|
|
32617
32619
|
let c = s ? "#ff4d4f" : "#52c41a";
|
|
32618
32620
|
t.push({
|
|
@@ -32621,7 +32623,9 @@ var Pe = {
|
|
|
32621
32623
|
itemStyle: { color: c },
|
|
32622
32624
|
label: { color: c }
|
|
32623
32625
|
});
|
|
32624
|
-
}), x.value = r, S.value =
|
|
32626
|
+
}), x.value = r, S.value = a, b.value = ["全部", ...a.map((e) => e.name)], b.value.includes(y.value) || (y.value = "全部"), Ae(y.value), Tt(), o.value = Ce(n), Ee(t), i("removeDataTitle", "自动站观测时间:2026-04-29 14:00"), setTimeout(() => {
|
|
32627
|
+
i("addDataTitle", "自动站观测时间:2026-04-29 14:00");
|
|
32628
|
+
}, 1e3);
|
|
32625
32629
|
}, Ee = (e) => {
|
|
32626
32630
|
let t = document.querySelector(".HighwayLiveAlarmNew-chart");
|
|
32627
32631
|
if (!t) return;
|
|
@@ -32791,14 +32795,14 @@ var Pe = {
|
|
|
32791
32795
|
i("close", "HighwayLiveAlarmNew");
|
|
32792
32796
|
};
|
|
32793
32797
|
return (e, t) => {
|
|
32794
|
-
let r = Ne, i = oe, a = re, u = l, f = d, _ = s, x =
|
|
32798
|
+
let r = Ne, i = oe, a = re, u = l, f = d, _ = s, x = te;
|
|
32795
32799
|
return Z((B(), M("div", Ie, [
|
|
32796
32800
|
v.value ? (B(), M("div", Le, [N("div", { class: "voice-permission-dialog" }, [
|
|
32797
32801
|
t[5] ||= N("div", { class: "voice-permission-title" }, "播报报警需要授权", -1),
|
|
32798
32802
|
t[6] ||= N("div", { class: "voice-permission-desc" }, "请点击下方按钮开启播报报警", -1),
|
|
32799
32803
|
N("button", {
|
|
32800
32804
|
class: "voice-permission-btn",
|
|
32801
|
-
onClick:
|
|
32805
|
+
onClick: le
|
|
32802
32806
|
}, "开启")
|
|
32803
32807
|
])])) : j("", !0),
|
|
32804
32808
|
N("div", Re, [N("div", ze, [t[7] ||= N("div", null, "沿线高速公路实况报警", -1), N("div", Be, [N("div", Ve, [N("button", {
|
|
@@ -32929,6 +32933,6 @@ var Pe = {
|
|
|
32929
32933
|
])), [[x, c.value]]);
|
|
32930
32934
|
};
|
|
32931
32935
|
}
|
|
32932
|
-
}), [["__scopeId", "data-v-
|
|
32936
|
+
}), [["__scopeId", "data-v-c74b1727"]]);
|
|
32933
32937
|
//#endregion
|
|
32934
32938
|
export { Pe as n, Ne as r, Ct as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import { n as e, r as t } from "./component-HighWayFreeze-
|
|
3
|
-
import {
|
|
4
|
-
import { i as a, r as o } from "./component-HighwayLiveAlarm-
|
|
2
|
+
import { n as e, r as t } from "./component-HighWayFreeze-ByAF7JQ7.mjs";
|
|
3
|
+
import { i as n, o as r, r as i } from "./component-HighWayEarlyWarningRed-yaXptPl1.mjs";
|
|
4
|
+
import { i as a, r as o } from "./component-HighwayLiveAlarm-BrYDfT9C.mjs";
|
|
5
5
|
import { Fragment as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, isRef as h, normalizeClass as g, onBeforeUnmount as _, onMounted as v, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as C, withCtx as w, withDirectives as T } from "vue";
|
|
6
6
|
var E = {
|
|
7
7
|
msg: "success",
|
|
@@ -31948,7 +31948,7 @@ var E = {
|
|
|
31948
31948
|
}, D = {
|
|
31949
31949
|
class: "HighwayStations",
|
|
31950
31950
|
"element-loading-background": "rgba(0, 0, 0, 0.4)"
|
|
31951
|
-
}, O = { class: "HighwayStations-road" }, k = { class: "table-container" }, A = { class: "data-table" }, j = { key: 0 }, M = /* @__PURE__ */
|
|
31951
|
+
}, O = { class: "HighwayStations-road" }, k = { class: "table-container" }, A = { class: "data-table" }, j = { key: 0 }, M = /* @__PURE__ */ i(/* @__PURE__ */ m({
|
|
31952
31952
|
__name: "HighwayStations",
|
|
31953
31953
|
props: {
|
|
31954
31954
|
tokenInterface: {
|
|
@@ -31984,8 +31984,8 @@ var E = {
|
|
|
31984
31984
|
default: !1
|
|
31985
31985
|
}
|
|
31986
31986
|
},
|
|
31987
|
-
setup(
|
|
31988
|
-
let M = m, N =
|
|
31987
|
+
setup(i, { emit: m }) {
|
|
31988
|
+
let M = m, N = i, P = b(""), F = b([]), I = b("降水"), L = b([]), R = b(!1), z = null;
|
|
31989
31989
|
v(() => {
|
|
31990
31990
|
B(), z = setInterval(() => {
|
|
31991
31991
|
B();
|
|
@@ -31994,7 +31994,7 @@ var E = {
|
|
|
31994
31994
|
clearInterval(z);
|
|
31995
31995
|
});
|
|
31996
31996
|
let B = async () => {
|
|
31997
|
-
R.value = !0, N.dataInterface ? F.value = (await
|
|
31997
|
+
R.value = !0, N.dataInterface ? F.value = (await n({
|
|
31998
31998
|
url: N.dataInterface,
|
|
31999
31999
|
method: N.dataInterfaceType,
|
|
32000
32000
|
params: N.dataInterfaceParams,
|
|
@@ -32059,8 +32059,8 @@ var E = {
|
|
|
32059
32059
|
removeMarker: "station_highway"
|
|
32060
32060
|
});
|
|
32061
32061
|
};
|
|
32062
|
-
return (
|
|
32063
|
-
let m = e, _ = t, v = o, b = a, E =
|
|
32062
|
+
return (n, i) => {
|
|
32063
|
+
let m = e, _ = t, v = o, b = a, E = r;
|
|
32064
32064
|
return T((y(), u("div", D, [
|
|
32065
32065
|
d("div", { class: "HighwayStations-head" }, [d("div", { class: "HighwayStations-head-top" }, [i[2] ||= d("div", null, "沿线自动站数据", -1), d("div", {
|
|
32066
32066
|
class: "closeBtn",
|