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.
Files changed (20) hide show
  1. package/dist/chunks/{component-HighWayEarlyWarningRed-CmmlD13f.mjs → component-HighWayEarlyWarningRed-yaXptPl1.mjs} +1 -1
  2. package/dist/chunks/{component-HighWayFreeze-fwE0zu5a.mjs → component-HighWayFreeze-ByAF7JQ7.mjs} +649 -649
  3. package/dist/chunks/{component-HighwayLiveAlarm-eKR6YC57.mjs → component-HighwayLiveAlarm-BrYDfT9C.mjs} +72 -72
  4. package/dist/chunks/{component-HighwayLiveAlarmNew-CJQ38bxx.mjs → component-HighwayLiveAlarmNew-Ccqk1-Nv.mjs} +97 -93
  5. package/dist/chunks/{component-HighwayStations-CIR-nhyB.mjs → component-HighwayStations-DBsRXgHk.mjs} +9 -9
  6. package/dist/chunks/{component-HighwayWeatherForecast-kKP0BVV-.mjs → component-HighwayWeatherForecast-DdNgGl6A.mjs} +164 -164
  7. package/dist/chunks/{component-RadarShortTerm-BPXY6EhF.mjs → component-RadarShortTerm-CPhbfQcf.mjs} +142 -162
  8. package/dist/chunks/{component-ServiceMaterialsBtn-BmsX0VQ7.mjs → component-ServiceMaterialsBtn-Sj_vfugh.mjs} +303 -303
  9. package/dist/chunks/{component-YCHome-C3hQ-kl7.mjs → component-YCHome-TTUuIPor.mjs} +180 -180
  10. package/dist/chunks/{component-YCLogin-CFEfm-Xo.mjs → component-YCLogin-7PlITuZv.mjs} +4 -4
  11. package/dist/chunks/{component-YCLoginNew-CS5GpLDx.mjs → component-YCLoginNew-Bzpu-Daf.mjs} +4 -4
  12. package/dist/components/RadarShortTerm/radar.json.d.ts +151 -0
  13. package/dist/nxd-plugin.mjs +11 -11
  14. package/dist/src/components/HighwayLiveAlarmNew/HighwayLiveAlarmNew.vue.d.ts +4 -0
  15. package/dist/src/components/RadarShortTerm/RadarShortTerm.vue.d.ts +89 -0
  16. package/dist/styles/component-HighwayLiveAlarmNew.css +1 -1
  17. package/dist/styles/component-RadarShortTerm.css +1 -1
  18. package/dist/styles/component-YCLogin.css +1 -1
  19. package/dist/styles/component-YCLoginNew.css +1 -1
  20. 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-fwE0zu5a.mjs";
3
- import { C as h, D as g, Dt as _, E as v, F as y, I as b, P as x, Tt as S, a as ee, f as C, h as w, j as T, kt as E, n as D, r as te, z as ne } from "./component-HighWayEarlyWarningRed-CmmlD13f.mjs";
4
- import { a as re, i as ie, n as ae, o as oe, r as se } from "./component-HighwayLiveAlarm-eKR6YC57.mjs";
5
- import { Fragment as O, computed as k, createBlock as A, createCommentVNode as j, createElementBlock as M, createElementVNode as N, createTextVNode as P, createVNode as F, defineComponent as I, getCurrentInstance as ce, inject as L, isRef as le, mergeProps as R, 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";
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: C,
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) => E(e) || x(e) || T(e),
75
- change: (e) => E(e) || x(e) || T(e)
76
- }, $ = Symbol("checkboxGroupContextKey"), be = v({
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: g(Array),
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: C,
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: g(Array) },
98
+ options: { type: C(Array) },
99
99
  props: {
100
- type: g(Object),
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) => S(e),
111
- change: (e) => S(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 = L($, void 0), r = L(p, void 0), i = k(() => {
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 !b(r) && e.value.length >= r && !t.value || !b(i) && e.value.length <= i && t.value;
119
+ return !x(r) && e.value.length >= r && !t.value || !x(i) && e.value.length <= i && t.value;
120
120
  });
121
121
  return {
122
- isDisabled: o(k(() => n === void 0 ? r?.disabled ?? i.value : n.disabled?.value || i.value)),
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 = L($, void 0), { formItem: c } = u(), { emit: l } = ce();
126
+ let s = R($, void 0), { formItem: c } = u(), { emit: l } = L();
127
127
  function d(t) {
128
128
  return [
129
129
  !0,
@@ -146,23 +146,23 @@ var ye = {
146
146
  e.falseLabel
147
147
  ].includes(t.value)), await ue(), f(t.value, n)));
148
148
  }
149
- let g = k(() => s?.validateEvent || e.validateEvent);
149
+ let h = A(() => s?.validateEvent || e.validateEvent);
150
150
  return Y(() => e.modelValue, () => {
151
- g.value && c?.validate("change").catch((e) => h(e));
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 } = ce(), a = L($, void 0), o = k(() => b(a) === !1), s = V(!1), c = k(() => {
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
- }), l = k({
160
+ }), l = A({
161
161
  get() {
162
162
  return o.value ? a?.modelValue?.value : c.value ? e.modelValue : n.value;
163
163
  },
164
164
  set(e) {
165
- o.value && S(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);
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 = L($, void 0), i = V(!1), a = k(() => y(e.value) ? e.label : e.value), o = k(() => {
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 T(t) ? t : S(t) ? _(a.value) ? t.map(he).some((e) => ne(e, a.value)) : t.map(he).includes(a.value) : t == null ? !!t : t === e.trueValue || t === e.trueLabel;
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
- checkboxButtonSize: c(k(() => r?.size?.value), { prop: !0 }),
179
+ checkboxButtonSize: c(A(() => r?.size?.value), { prop: !0 }),
180
180
  isChecked: o,
181
181
  isFocused: i,
182
- checkboxSize: c(k(() => r?.size?.value)),
183
- hasOwnLabel: k(() => !!t.default || !y(a.value)),
182
+ checkboxSize: c(A(() => r?.size?.value)),
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: v } = we(e, {
194
+ }), { handleChange: _, onClickRoot: y } = we(e, {
195
195
  model: r,
196
196
  isLimitExceeded: a,
197
197
  hasOwnLabel: d,
@@ -200,28 +200,28 @@ var ye = {
200
200
  });
201
201
  return (() => {
202
202
  function t() {
203
- S(r.value) && !r.value.includes(p.value) ? r.value.push(p.value) : r.value = e.trueValue ?? e.trueLabel ?? !0;
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
- })(), re({
206
+ })(), O({
207
207
  from: "label act as value",
208
208
  replacement: "value",
209
209
  version: "3.0.0",
210
210
  scope: "el-checkbox",
211
211
  ref: "https://element-plus.org/en-US/component/checkbox.html"
212
- }, k(() => i.value && y(e.value))), re({
212
+ }, A(() => i.value && b(e.value))), O({
213
213
  from: "true-label",
214
214
  replacement: "true-value",
215
215
  version: "3.0.0",
216
216
  scope: "el-checkbox",
217
217
  ref: "https://element-plus.org/en-US/component/checkbox.html"
218
- }, k(() => !!e.trueLabel)), re({
218
+ }, A(() => !!e.trueLabel)), O({
219
219
  from: "false-label",
220
220
  replacement: "false-value",
221
221
  version: "3.0.0",
222
222
  scope: "el-checkbox",
223
223
  ref: "https://element-plus.org/en-US/component/checkbox.html"
224
- }, k(() => !!e.falseLabel)), {
224
+ }, A(() => !!e.falseLabel)), {
225
225
  inputId: h,
226
226
  isLabeledByFormItem: g,
227
227
  isChecked: s,
@@ -233,7 +233,7 @@ var ye = {
233
233
  model: r,
234
234
  actualValue: p,
235
235
  handleChange: _,
236
- onClickRoot: v
236
+ onClickRoot: y
237
237
  };
238
238
  }, Oe = [
239
239
  "id",
@@ -247,23 +247,23 @@ var ye = {
247
247
  props: ye,
248
248
  emits: Q,
249
249
  setup(e) {
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 = k(() => t.trueValue || t.falseValue || t.trueLabel || t.falseLabel ? {
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 = w("checkbox"), h = k(() => [
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),
257
257
  m.is("bordered", t.border),
258
258
  m.is("checked", i.value)
259
- ]), g = k(() => [
259
+ ]), g = A(() => [
260
260
  m.e("input"),
261
261
  m.is("disabled", a.value),
262
262
  m.is("checked", i.value),
263
263
  m.is("indeterminate", t.indeterminate),
264
264
  m.is("focus", o.value)
265
265
  ]);
266
- return (t, i) => (B(), A(W(!K(c) && K(r) ? "span" : "label"), {
266
+ return (t, i) => (B(), se(W(!K(c) && K(r) ? "span" : "label"), {
267
267
  for: !K(c) && K(r) ? null : K(n),
268
268
  class: z(h.value),
269
269
  "aria-controls": e.indeterminate ? e.ariaControls : null,
@@ -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", R({
274
+ default: X(() => [N("span", { class: z(g.value) }, [Z(N("input", le({
275
275
  id: K(n),
276
- "onUpdate:modelValue": i[0] ||= (e) => le(l) ? l.value = e : null,
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,
@@ -288,7 +288,7 @@ var ye = {
288
288
  }), null, 16, Oe), [[q, K(l)]]), N("span", { class: z(K(m).e("inner")) }, null, 2)], 2), K(c) ? (B(), M("span", {
289
289
  key: 0,
290
290
  class: z(K(m).e("label"))
291
- }, [U(t.$slots, "default"), t.$slots.default ? j("v-if", !0) : (B(), M(O, { key: 0 }, [P(G(e.label), 1)], 64))], 2)) : j("v-if", !0)]),
291
+ }, [U(t.$slots, "default"), t.$slots.default ? j("v-if", !0) : (B(), M(k, { key: 0 }, [P(G(e.label), 1)], 64))], 2)) : j("v-if", !0)]),
292
292
  _: 3
293
293
  }, 8, [
294
294
  "for",
@@ -309,10 +309,10 @@ var ye = {
309
309
  props: ye,
310
310
  emits: Q,
311
311
  setup(e) {
312
- let t = e, { isFocused: n, isChecked: r, isDisabled: i, checkboxButtonSize: a, model: o, actualValue: s, handleChange: c } = De(t, _e()), l = k(() => t.trueValue || t.falseValue || t.trueLabel || t.falseLabel ? {
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 = L($, void 0), d = w("checkbox"), f = k(() => {
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,
@@ -320,15 +320,15 @@ var ye = {
320
320
  color: u?.textColor?.value ?? "",
321
321
  boxShadow: e ? `-1px 0 0 0 ${e}` : void 0
322
322
  };
323
- }), p = k(() => [
323
+ }), p = A(() => [
324
324
  d.b("button"),
325
325
  d.bm("button", a.value),
326
326
  d.is("disabled", i.value),
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", R({
331
- "onUpdate:modelValue": a[0] ||= (e) => le(o) ? o.value = e : null,
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,16 +351,16 @@ var ye = {
351
351
  props: be,
352
352
  emits: xe,
353
353
  setup(e, { emit: r }) {
354
- let i = e, s = r, c = w("checkbox"), l = o(), { formItem: d } = u(), { inputId: p, isLabeledByFormItem: m } = f(i, { formItemContext: d }), g = async (e) => {
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
- }, _ = k({
356
+ }, _ = A({
357
357
  get() {
358
358
  return i.modelValue;
359
359
  },
360
360
  set(e) {
361
- g(e);
361
+ h(e);
362
362
  }
363
- }), v = k(() => ({
363
+ }), v = A(() => ({
364
364
  ...Se,
365
365
  ...i.props
366
366
  })), y = (e) => {
@@ -370,14 +370,14 @@ var ye = {
370
370
  disabled: e[r]
371
371
  };
372
372
  return {
373
- ...oe(e, [
373
+ ...ae(e, [
374
374
  t,
375
375
  n,
376
376
  r
377
377
  ]),
378
378
  ...i
379
379
  };
380
- }, b = k(() => i.type === "button" ? je : ke);
380
+ }, b = A(() => i.type === "button" ? je : ke);
381
381
  return me($, {
382
382
  ...a(ge(i), [
383
383
  "size",
@@ -389,17 +389,17 @@ var ye = {
389
389
  ]),
390
390
  disabled: l,
391
391
  modelValue: _,
392
- changeEvent: g
392
+ changeEvent: h
393
393
  }), Y(() => i.modelValue, (e, t) => {
394
- i.validateEvent && !ne(e, t) && d?.validate("change").catch((e) => h(e));
395
- }), (t, n) => (B(), A(W(e.tag), {
394
+ i.validateEvent && !g(e, t) && d?.validate("change").catch((e) => ne(e));
395
+ }), (t, n) => (B(), se(W(e.tag), {
396
396
  id: K(p),
397
397
  class: z(K(c).b("group")),
398
398
  role: "group",
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(O, null, H(e.options, (e, t) => (B(), A(W(b.value), R({ key: t }, { ref_for: !0 }, y(e)), null, 16))), 128))])]),
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,59 +32433,61 @@ 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([
32440
32442
  {
32441
32443
  pileNo: "养护站901",
32442
32444
  isWarn: !0,
32443
- warnValue: "温度"
32445
+ warnValue: "温度:38℃"
32444
32446
  },
32445
32447
  {
32446
32448
  pileNo: "服务区停车区902",
32447
32449
  isWarn: !0,
32448
- warnValue: "降水"
32450
+ warnValue: "降水:40mm"
32449
32451
  },
32450
32452
  {
32451
32453
  pileNo: "收费站903",
32452
32454
  isWarn: !0,
32453
- warnValue: "能见度"
32455
+ warnValue: "能见度:0.8km"
32454
32456
  },
32455
32457
  {
32456
32458
  pileNo: "养护站904",
32457
32459
  isWarn: !1,
32458
- warnValue: "温度"
32460
+ warnValue: ""
32459
32461
  },
32460
32462
  {
32461
32463
  pileNo: "服务区停车区905",
32462
32464
  isWarn: !1,
32463
- warnValue: "降水"
32465
+ warnValue: ""
32464
32466
  },
32465
32467
  {
32466
32468
  pileNo: "收费站906",
32467
32469
  isWarn: !1,
32468
- warnValue: "能见度"
32470
+ warnValue: ""
32469
32471
  },
32470
32472
  {
32471
32473
  pileNo: "养护站907",
32472
32474
  isWarn: !1,
32473
- warnValue: "温度"
32475
+ warnValue: ""
32474
32476
  },
32475
32477
  {
32476
32478
  pileNo: "服务区停车区908",
32477
32479
  isWarn: !1,
32478
- warnValue: "降水"
32480
+ warnValue: ""
32479
32481
  },
32480
32482
  {
32481
32483
  pileNo: "收费站909",
32482
32484
  isWarn: !1,
32483
- warnValue: "能见度"
32485
+ warnValue: ""
32484
32486
  },
32485
32487
  {
32486
32488
  pileNo: "养护站910",
32487
32489
  isWarn: !1,
32488
- warnValue: "温度"
32490
+ warnValue: ""
32489
32491
  }
32490
32492
  ]), r = {
32491
32493
  降水: {
@@ -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 = k(() => o.value === St ? "#52c41a" : "#ff4d4f"), re = k(() => n.value.filter((e) => e.isWarn)), oe = (e) => (e || []).filter((e) => q(e)).length, I = () => D || (D = new Audio(Fe), D.preload = "auto", D), ce = () => {
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
- }, L = () => {
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
- ce(), L();
32523
- }, R = () => {
32524
- v.value = !1, ce(), L();
32525
- }, me = k(() => ve(y.value === "全部" ? S.value : S.value.filter((e) => e.name === y.value), (e) => Y(e.tags)));
32526
+ v.value = !1, L(), R();
32527
+ }, me = A(() => ve(y.value === "全部" ? S.value : S.value.filter((e) => e.name === y.value), (e) => Y(e.tags)));
32526
32528
  pe(() => {
32527
- le(), Te(), u.value = setInterval(() => {
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 te({
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 = {}, i = [];
32607
+ let t = [], n = [], r = {}, a = [];
32606
32608
  e.forEach((e) => {
32607
- let a = $(e), o = ve(e.zdzds || [], (e) => q(e)), s = !!(a.iswarnrainfall_1h || a.iswarntemp || a.iswarnvis);
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
- ...a
32611
- }), r[e.name] = be(e, s), i.push({
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(a)
32617
+ tags: xe(i)
32616
32618
  });
32617
32619
  let c = s ? "#ff4d4f" : "#52c41a";
32618
32620
  t.push({
@@ -32621,11 +32623,13 @@ var Pe = {
32621
32623
  itemStyle: { color: c },
32622
32624
  label: { color: c }
32623
32625
  });
32624
- }), x.value = r, S.value = i, b.value = ["全部", ...i.map((e) => e.name)], b.value.includes(y.value) || (y.value = "全部"), Ae(y.value), Tt(), o.value = Ce(n), Ee(t);
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;
32628
- f.value ||= ae(t);
32632
+ f.value ||= ie(t);
32629
32633
  let n = {
32630
32634
  tooltip: {
32631
32635
  trigger: "item",
@@ -32791,14 +32795,14 @@ var Pe = {
32791
32795
  i("close", "HighwayLiveAlarmNew");
32792
32796
  };
32793
32797
  return (e, t) => {
32794
- let r = Ne, i = se, a = ie, u = l, f = d, _ = s, x = ee;
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: R
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", {
@@ -32860,7 +32864,7 @@ var Pe = {
32860
32864
  class: "dark-select",
32861
32865
  onChange: Ae
32862
32866
  }, {
32863
- default: X(() => [(B(!0), M(O, null, H(b.value, (e) => (B(), A(u, {
32867
+ default: X(() => [(B(!0), M(k, null, H(b.value, (e) => (B(), se(u, {
32864
32868
  key: e,
32865
32869
  label: e,
32866
32870
  value: e
@@ -32872,7 +32876,7 @@ var Pe = {
32872
32876
  N("span", null, "高速名称"),
32873
32877
  N("span", null, "状态要素"),
32874
32878
  N("span", { class: "head-arrow" })
32875
- ], -1), N("div", Xe, [(B(!0), M(O, null, H(me.value, (e) => (B(), M("div", {
32879
+ ], -1), N("div", Xe, [(B(!0), M(k, null, H(me.value, (e) => (B(), M("div", {
32876
32880
  class: "table-row",
32877
32881
  key: e.name
32878
32882
  }, [
@@ -32881,7 +32885,7 @@ var Pe = {
32881
32885
  onClick: (t) => Et(e.name)
32882
32886
  }, [
32883
32887
  N("span", Qe, G(e.name), 1),
32884
- N("div", { class: z(["status-tags", { "has-warn": Y(e.tags) }]) }, [(B(!0), M(O, null, H(e.tags, (t) => (B(), M("span", {
32888
+ N("div", { class: z(["status-tags", { "has-warn": Y(e.tags) }]) }, [(B(!0), M(k, null, H(e.tags, (t) => (B(), M("span", {
32885
32889
  class: z(["status-tag", { warn: t.warn }]),
32886
32890
  key: `${e.name}-${t.label}`
32887
32891
  }, [N("span", null, G(t.label), 1)], 2))), 128))], 2),
@@ -32896,7 +32900,7 @@ var Pe = {
32896
32900
  Z(N("div", {
32897
32901
  class: "station-title",
32898
32902
  onClick: (t) => Dt(e.name)
32899
- }, [N("span", null, [t[16] ||= P(" 自动站数据 ", -1), oe(e.stations) > 0 ? (B(), M("span", et, " (报警数量:" + G(oe(e.stations)) + "个) ", 1)) : j("", !0)]), N("span", { class: z(["panel-arrow", { expanded: w.value[e.name] }]) }, [F(_, null, {
32903
+ }, [N("span", null, [t[16] ||= P(" 自动站数据 ", -1), ae(e.stations) > 0 ? (B(), M("span", et, " (报警数量:" + G(ae(e.stations)) + "个) ", 1)) : j("", !0)]), N("span", { class: z(["panel-arrow", { expanded: w.value[e.name] }]) }, [F(_, null, {
32900
32904
  default: X(() => [F(K(m))]),
32901
32905
  _: 1
32902
32906
  })], 2)], 8, $e), [[J, C.value[e.name]]]),
@@ -32905,7 +32909,7 @@ var Pe = {
32905
32909
  N("span", rt, [N("span", it, [t[17] ||= P(" 降水 ", -1), e.warnCount.rainfall > 0 ? (B(), M("span", at, G(e.warnCount.rainfall) + "条 ", 1)) : j("", !0)]), t[18] ||= N("span", { class: "unit" }, "(mm)", -1)]),
32906
32910
  N("span", ot, [N("span", st, [t[19] ||= P(" 温度 ", -1), e.warnCount.temp > 0 ? (B(), M("span", ct, G(e.warnCount.temp) + "条 ", 1)) : j("", !0)]), t[20] ||= N("span", { class: "unit" }, "(℃)", -1)]),
32907
32911
  N("span", lt, [N("span", ut, [t[21] ||= P(" 能见度 ", -1), e.warnCount.vis > 0 ? (B(), M("span", dt, G(e.warnCount.vis) + "条 ", 1)) : j("", !0)]), t[22] ||= N("span", { class: "unit" }, "(km)", -1)])
32908
- ]), e.stations.length ? (B(), M("div", ft, [(B(!0), M(O, null, H(e.stations, (t) => (B(), M("div", {
32912
+ ]), e.stations.length ? (B(), M("div", ft, [(B(!0), M(k, null, H(e.stations, (t) => (B(), M("div", {
32909
32913
  class: z(["station-row", { "is-warn": q(t) }]),
32910
32914
  key: `${e.name}-${t.station_number}`
32911
32915
  }, [
@@ -32917,11 +32921,11 @@ var Pe = {
32917
32921
  Z(N("div", {
32918
32922
  class: "pile-title",
32919
32923
  onClick: (t) => Ot(e.name)
32920
- }, [N("span", null, [t[24] ||= P(" 桩号数据 ", -1), n.value.length > 0 ? (B(), M("span", vt, " (报警数量:" + G(n.value.length) + "个)", 1)) : j("", !0)]), N("span", { class: z(["panel-arrow", { expanded: T.value[e.name] }]) }, [F(_, null, {
32924
+ }, [N("span", null, [t[24] ||= P(" 桩号数据 ", -1), O.value.length > 0 ? (B(), M("span", vt, " (报警数量:" + G(O.value.length) + "个)", 1)) : j("", !0)]), N("span", { class: z(["panel-arrow", { expanded: T.value[e.name] }]) }, [F(_, null, {
32921
32925
  default: X(() => [F(K(m))]),
32922
32926
  _: 1
32923
32927
  })], 2)], 8, _t), [[J, C.value[e.name]]]),
32924
- Z(N("div", yt, [t[25] ||= N("div", { class: "pile-head" }, [N("span", null, "桩号"), N("span", null, "报警值")], -1), re.value.length ? (B(), M("div", bt, [(B(!0), M(O, null, H(n.value, (e) => (B(), M("div", {
32928
+ Z(N("div", yt, [t[25] ||= N("div", { class: "pile-head" }, [N("span", null, "桩号"), N("span", null, "报警值")], -1), O.value.length ? (B(), M("div", bt, [(B(!0), M(k, null, H(n.value, (e) => (B(), M("div", {
32925
32929
  class: z(["pile-row", { "is-warn": e.isWarn }]),
32926
32930
  key: e.pileNo
32927
32931
  }, [N("span", null, G(e.pileNo), 1), N("span", null, G(e.warnValue), 1)], 2))), 128))])) : (B(), M("div", xt, "暂无数据"))], 512), [[J, C.value[e.name] && T.value[e.name]]])
@@ -32929,6 +32933,6 @@ var Pe = {
32929
32933
  ])), [[x, c.value]]);
32930
32934
  };
32931
32935
  }
32932
- }), [["__scopeId", "data-v-8430d0b3"]]);
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-fwE0zu5a.mjs";
3
- import { a as n, n as r, r as i } from "./component-HighWayEarlyWarningRed-CmmlD13f.mjs";
4
- import { i as a, r as o } from "./component-HighwayLiveAlarm-eKR6YC57.mjs";
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__ */ r(/* @__PURE__ */ m({
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(r, { emit: m }) {
31988
- let M = m, N = r, P = b(""), F = b([]), I = b("降水"), L = b([]), R = b(!1), z = null;
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 i({
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 (r, i) => {
32063
- let m = e, _ = t, v = o, b = a, E = n;
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",