nxd-plugin 1.3.7 → 1.3.8

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 (47) hide show
  1. package/dist/chunks/{component-HighWayEarlyWarningRed-yaXptPl1.mjs → component-HighWayEarlyWarningRed-BKLHeWHr.mjs} +1490 -33432
  2. package/dist/chunks/{component-HighWayFreeze-ByAF7JQ7.mjs → component-HighWayFreeze-BvB-6JYi.mjs} +1539 -1523
  3. package/dist/chunks/{component-HighwayLiveAlarm-BrYDfT9C.mjs → component-HighwayLiveAlarm-BHOhzsUw.mjs} +79 -79
  4. package/dist/chunks/{component-HighwayLiveAlarmNew-Ccqk1-Nv.mjs → component-HighwayLiveAlarmNew-CIRCsfMN.mjs} +939 -954
  5. package/dist/chunks/{component-HighwayStations-DBsRXgHk.mjs → component-HighwayStations-C74-YZeJ.mjs} +3 -3
  6. package/dist/chunks/{component-HighwayWeatherForecast-DfD4TY_f.mjs → component-HighwayWeatherForecast-CT7S3N4a.mjs} +2 -2
  7. package/dist/chunks/component-ImageGeneration-DPxBMC0C.mjs +36199 -0
  8. package/dist/chunks/{component-LithiumBatteryMiningArea-CciAKE46.mjs → component-LithiumBatteryMiningArea-xte8_s0I.mjs} +228 -2277
  9. package/dist/chunks/{component-RadarShortTerm-BeeWDY9X.mjs → component-RadarShortTerm-DQ1z5uSp.mjs} +7 -7
  10. package/dist/chunks/{component-ServiceMaterialsBtn-Sj_vfugh.mjs → component-ServiceMaterialsBtn-DwTBVx4n.mjs} +229 -1137
  11. package/dist/chunks/component-TimeBasedForecast-CmikCSFB.mjs +238 -0
  12. package/dist/chunks/component-WeatherForecast-rputF8JM.mjs +136 -0
  13. package/dist/chunks/{component-YCHome-DskMdi13.mjs → component-YCHome-B3j5J78s.mjs} +680 -1249
  14. package/dist/chunks/{component-YCLogin-DeNzuZJh.mjs → component-YCLogin-D1HY0SIj.mjs} +22 -22
  15. package/dist/chunks/component-YCLoginNew-ToBzfPon.mjs +168 -0
  16. package/dist/nxd-plugin.mjs +18 -17
  17. package/dist/src/components/HighWayEarlyWarningRed/HighWayEarlyWarningRed.vue.d.ts +4 -34
  18. package/dist/src/components/HighWayFreeze/HighWayFreeze.vue.d.ts +24 -3
  19. package/dist/src/components/HighwayLiveAlarmNew/HighwayLiveAlarmNew.vue.d.ts +6 -60
  20. package/dist/src/components/LithiumBatteryMiningArea/LithiumBatteryMiningArea.vue.d.ts +24 -3
  21. package/dist/src/components/TimeBasedForecast/TimeBasedForecast.vue.d.ts +24 -3
  22. package/dist/src/components/WeatherForecast/WeatherForecast.vue.d.ts +18 -0
  23. package/dist/src/components/YCLoginNew/YCLoginNew.vue.d.ts +13 -1
  24. package/dist/src/index.d.ts +2 -1
  25. package/dist/src/utils/request.d.ts +8 -13
  26. package/dist/src/utils/request/345/244/207/344/273/275.d.ts +17 -0
  27. package/dist/styles/component-HighWayEarlyWarningRed.css +1 -1
  28. package/dist/styles/component-HighWayFreeze.css +1 -1
  29. package/dist/styles/component-HighwayLiveAlarmNew.css +1 -1
  30. package/dist/styles/component-ImageGeneration.css +1 -0
  31. package/dist/styles/component-LithiumBatteryMiningArea.css +1 -1
  32. package/dist/styles/component-ServiceMaterialsBtn.css +1 -1
  33. package/dist/styles/component-TimeBasedForecast.css +1 -1
  34. package/dist/styles/component-WeatherForecast.css +1 -1
  35. package/dist/styles/component-YCHome.css +1 -1
  36. package/dist/styles/component-YCLogin.css +1 -1
  37. package/dist/styles/component-YCLoginNew.css +1 -1
  38. package/package.json +6 -1
  39. package/readme.md +24 -25
  40. package/dist/chunks/component-TimeBasedForecast-LNK3QTFp.mjs +0 -347
  41. package/dist/chunks/component-WeatherForecast-Cl188OT3.mjs +0 -219
  42. package/dist/chunks/component-YCLoginNew-Vd0a8quF.mjs +0 -137
  43. package/dist/components/HighWayEarlyWarningRed/default.json.d.ts +0 -31891
  44. package/dist/components/LithiumBatteryMiningArea/miningArea.json.d.ts +0 -59
  45. package/dist/components/LithiumBatteryMiningArea/realTimeData.json.d.ts +0 -2144
  46. package/dist/components/TimeBasedForecast/hourForecast.json.d.ts +0 -147
  47. package/dist/components/WeatherForecast/weatherForecast.json.d.ts +0 -113
@@ -1,6 +1,6 @@
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-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";
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-BvB-6JYi.mjs";
3
+ import { $ as v, B as y, Ct as b, D as x, F as S, G as C, I as w, J as T, K as E, M as D, O, Q as k, St as A, U as j, Ut 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-BKLHeWHr.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() {
@@ -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 ? x.Buffer : void 0, bt = yt ? yt.allocUnsafe : void 0;
81
+ var _t = typeof exports == "object" && exports && !exports.nodeType && exports, vt = _t && typeof module == "object" && module && !module.nodeType && module, yt = vt && vt.exports === _t ? b.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);
@@ -94,7 +94,7 @@ function St(e, t) {
94
94
  var Ct = Object.getOwnPropertySymbols ? function(e) {
95
95
  for (var t = []; e;) ne(t, ye(e)), e = l(e);
96
96
  return t;
97
- } : E;
97
+ } : T;
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 D(e, pt, Ct);
106
+ return E(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 ee(t).set(new ee(e)), t;
119
+ return new j(t).set(new j(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 = j ? j.prototype : void 0, Nt = Mt ? Mt.valueOf : void 0;
136
+ var Mt = A ? A.prototype : void 0, Nt = Mt ? Mt.valueOf : void 0;
137
137
  function Pt(e) {
138
138
  return Nt ? Object(Nt.call(e)) : {};
139
139
  }
@@ -216,7 +216,7 @@ 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 : w : c ? pt : me)(e);
219
+ var m = u ? void 0 : (l ? c ? Tt : C : c ? pt : me)(e);
220
220
  return ct(m || e, function(r, i) {
221
221
  m && (i = r, r = e[i]), ce(o, i, Hn(r, t, n, i, e, a));
222
222
  }), o;
@@ -230,7 +230,7 @@ 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 : A(e, mt(t, 0, -1));
233
+ return t.length < 2 ? e : k(e, mt(t, 0, -1));
234
234
  }
235
235
  //#endregion
236
236
  //#region node_modules/lodash-es/_baseUnset.js
@@ -249,11 +249,11 @@ function Kn(e, t) {
249
249
  //#endregion
250
250
  //#region node_modules/lodash-es/_customOmitClone.js
251
251
  function qn(e) {
252
- return c(e) ? void 0 : e;
252
+ return n(e) ? void 0 : e;
253
253
  }
254
254
  //#endregion
255
255
  //#region node_modules/lodash-es/omit.js
256
- var Jn = 1, Yn = 2, Xn = 4, Zn = n(function(e, t) {
256
+ var Jn = 1, Yn = 2, Xn = 4, Zn = c(function(e, t) {
257
257
  var n = {};
258
258
  if (e == null) return n;
259
259
  var r = !1;
@@ -268,7 +268,7 @@ var Jn = 1, Yn = 2, Xn = 4, Zn = n(function(e, t) {
268
268
  For more detail, please visit: ${i}
269
269
  `);
270
270
  }, { immediate: !0 });
271
- }, $n = S({
271
+ }, $n = x({
272
272
  modelValue: {
273
273
  type: [
274
274
  String,
@@ -302,17 +302,17 @@ For more detail, please visit: ${i}
302
302
  type: String,
303
303
  default: void 0
304
304
  }
305
- }), er = S({
305
+ }), er = x({
306
306
  ...$n,
307
307
  border: Boolean
308
308
  }), tr = {
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 = {
309
+ [f]: (e) => ee(e) || S(e) || D(e),
310
+ [a]: (e) => ee(e) || S(e) || D(e)
311
+ }, nr = Symbol("radioGroupKey"), rr = x({ ...$n }), ir = {
312
312
  label: "label",
313
313
  value: "value",
314
314
  disabled: "disabled"
315
- }, ar = S({
315
+ }, ar = x({
316
316
  id: {
317
317
  type: String,
318
318
  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: k(Array) },
349
+ options: { type: O(Array) },
350
350
  props: {
351
- type: k(Object),
351
+ type: O(Object),
352
352
  default: () => ir
353
353
  },
354
354
  type: {
@@ -356,30 +356,30 @@ For more detail, please visit: ${i}
356
356
  values: ["radio", "button"],
357
357
  default: "radio"
358
358
  },
359
- ...s(["ariaLabel"])
359
+ ...r(["ariaLabel"])
360
360
  }), or = tr, sr = (e, t) => {
361
- let n = Ke(), r = Fe(nr, void 0), i = Ee(() => !!r), a = Ee(() => T(e.value) ? e.label : e.value), o = Ee({
361
+ let n = Ke(), r = Fe(nr, void 0), i = Ee(() => !!r), a = Ee(() => w(e.value) ? e.label : e.value), o = Ee({
362
362
  get() {
363
363
  return i.value ? r.modelValue : e.modelValue;
364
364
  },
365
365
  set(o) {
366
366
  i.value ? r.changeEvent(o) : t && t("update:modelValue", o), n.value.checked = e.modelValue === a.value;
367
367
  }
368
- }), s = f(Ee(() => r?.size)), c = u(Ee(() => r?.disabled)), l = Ke(!1), d = Ee(() => c.value || i.value && o.value !== a.value ? -1 : 0);
368
+ }), s = d(Ee(() => r?.size)), c = _(Ee(() => r?.disabled)), l = Ke(!1), u = Ee(() => c.value || i.value && o.value !== a.value ? -1 : 0);
369
369
  return Qn({
370
370
  from: "label act as value",
371
371
  replacement: "value",
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 && T(e.value))), {
375
+ }, Ee(() => i.value && w(e.value))), {
376
376
  radioRef: n,
377
377
  isGroup: i,
378
378
  radioGroup: r,
379
379
  focus: l,
380
380
  size: s,
381
381
  disabled: c,
382
- tabIndex: d,
382
+ tabIndex: u,
383
383
  modelValue: o,
384
384
  actualValue: a
385
385
  };
@@ -394,26 +394,26 @@ 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 = le("radio"), { radioRef: o, radioGroup: s, focus: c, size: l, disabled: u, modelValue: d, actualValue: f } = sr(n, r);
397
+ let n = e, r = t, i = le("radio"), { radioRef: o, radioGroup: s, focus: c, size: l, disabled: u, modelValue: d, actualValue: f } = sr(n, r);
398
398
  function p() {
399
- Re(() => r(i, d.value));
399
+ Re(() => r(a, d.value));
400
400
  }
401
401
  return (t, n) => (Ue(), ke("label", { class: ze([
402
- Qe(a).b(),
403
- Qe(a).is("disabled", Qe(u)),
404
- Qe(a).is("focus", Qe(c)),
405
- Qe(a).is("bordered", e.border),
406
- Qe(a).is("checked", Qe(d) === Qe(f)),
407
- Qe(a).m(Qe(l))
402
+ Qe(i).b(),
403
+ Qe(i).is("disabled", Qe(u)),
404
+ Qe(i).is("focus", Qe(c)),
405
+ Qe(i).is("bordered", e.border),
406
+ Qe(i).is("checked", Qe(d) === Qe(f)),
407
+ Qe(i).m(Qe(l))
408
408
  ]) }, [Ae("span", { class: ze([
409
- Qe(a).e("input"),
410
- Qe(a).is("disabled", Qe(u)),
411
- Qe(a).is("checked", Qe(d) === Qe(f))
409
+ Qe(i).e("input"),
410
+ Qe(i).is("disabled", Qe(u)),
411
+ Qe(i).is("checked", Qe(d) === Qe(f))
412
412
  ]) }, [rt(Ae("input", {
413
413
  ref_key: "radioRef",
414
414
  ref: o,
415
415
  "onUpdate:modelValue": n[0] ||= (e) => Ie(d) ? d.value = e : null,
416
- class: ze(Qe(a).e("original")),
416
+ class: ze(Qe(i).e("original")),
417
417
  value: Qe(f),
418
418
  name: e.name || Qe(s)?.name,
419
419
  disabled: Qe(u),
@@ -423,8 +423,8 @@ For more detail, please visit: ${i}
423
423
  onBlur: n[2] ||= (e) => c.value = !1,
424
424
  onChange: p,
425
425
  onClick: n[3] ||= it(() => {}, ["stop"])
426
- }, null, 42, cr), [[$e, Qe(d)]]), Ae("span", { class: ze(Qe(a).e("inner")) }, null, 2)], 2), Ae("span", {
427
- class: ze(Qe(a).e("label")),
426
+ }, null, 42, cr), [[$e, Qe(d)]]), Ae("span", { class: ze(Qe(i).e("inner")) }, null, 2)], 2), Ae("span", {
427
+ class: ze(Qe(i).e("label")),
428
428
  onKeydown: n[4] ||= it(() => {}, ["stop"])
429
429
  }, [Je(t.$slots, "default", {}, () => [Me(Xe(e.label), 1)])], 34)], 2));
430
430
  }
@@ -477,14 +477,14 @@ 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 = le("radio"), c = a(), l = Ke(), { formItem: u } = m(), { inputId: d, isLabeledByFormItem: f } = g(n, { formItemContext: u }), p = (e) => {
481
- o(r, e), Re(() => o(i, e));
480
+ let n = e, r = t, i = le("radio"), o = s(), c = Ke(), { formItem: l } = u(), { inputId: d, isLabeledByFormItem: m } = p(n, { formItemContext: l }), h = (e) => {
481
+ r(f, e), Re(() => r(a, e));
482
482
  };
483
483
  He(() => {
484
- let e = l.value.querySelectorAll("[type=radio]"), t = e[0];
484
+ let e = c.value.querySelectorAll("[type=radio]"), t = e[0];
485
485
  !Array.from(e).some((e) => e.checked) && t && (t.tabIndex = 0);
486
486
  });
487
- let h = Ee(() => n.name || c.value), _ = Ee(() => ({
487
+ let g = Ee(() => n.name || o.value), _ = Ee(() => ({
488
488
  ...ir,
489
489
  ...n.props
490
490
  })), v = (e) => {
@@ -501,28 +501,28 @@ For more detail, please visit: ${i}
501
501
  ]),
502
502
  ...i
503
503
  };
504
- }, y = Ee(() => n.type === "button" ? dr : lr);
504
+ }, b = Ee(() => n.type === "button" ? dr : lr);
505
505
  return We(nr, Ge({
506
506
  ...Ze(n),
507
- changeEvent: p,
508
- name: h
507
+ changeEvent: h,
508
+ name: g
509
509
  })), tt(() => n.modelValue, (e, t) => {
510
- n.validateEvent && !b(e, t) && u?.validate("change").catch((e) => we(e));
510
+ n.validateEvent && !y(e, t) && l?.validate("change").catch((e) => we(e));
511
511
  }), (t, n) => (Ue(), ke("div", {
512
512
  id: Qe(d),
513
513
  ref_key: "radioGroupRef",
514
- ref: l,
515
- class: ze(Qe(s).b("group")),
514
+ ref: c,
515
+ class: ze(Qe(i).b("group")),
516
516
  role: "radiogroup",
517
- "aria-label": Qe(f) ? void 0 : e.ariaLabel || "radio-group",
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(y.value), Le({ key: t }, { ref_for: !0 }, v(e)), null, 16))), 128))])], 10, fr));
517
+ "aria-label": Qe(m) ? void 0 : e.ariaLabel || "radio-group",
518
+ "aria-labelledby": Qe(m) ? Qe(l).labelId : void 0
519
+ }, [Je(t.$slots, "default", {}, () => [(Ue(!0), ke(Te, null, qe(e.options, (e, t) => (Ue(), De(Ye(b.value), Le({ key: t }, { ref_for: !0 }, v(e)), null, 16))), 128))])], 10, fr));
520
520
  }
521
- }), mr = t(lr, {
521
+ }), mr = i(lr, {
522
522
  RadioButton: dr,
523
523
  RadioGroup: pr
524
- }), hr = o(pr);
525
- o(dr);
524
+ }), hr = t(pr);
525
+ t(dr);
526
526
  //#endregion
527
527
  //#region node_modules/echarts/node_modules/tslib/tslib.es6.js
528
528
  var gr = function(e, t) {
@@ -77178,13 +77178,13 @@ var E5 = {
77178
77178
  field: "wind_speed",
77179
77179
  unit: "m/s"
77180
77180
  }
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));
77181
+ }, 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
77182
  He(() => {
77183
- ie(), s.value = setInterval(() => {
77183
+ ie(), c.value = setInterval(() => {
77184
77184
  ie();
77185
77185
  }, 1e3 * 60 * 10);
77186
77186
  }), Ve(() => {
77187
- s.value && clearInterval(s.value), c.value?.dispose(), c.value = null;
77187
+ c.value && clearInterval(c.value), l.value?.dispose(), l.value = null;
77188
77188
  });
77189
77189
  let S = (e) => {
77190
77190
  let t = Number(e);
@@ -77258,9 +77258,9 @@ var E5 = {
77258
77258
  tokenInterfaceType: i.tokenInterfaceType,
77259
77259
  tokenInterfaceIsFormData: i.tokenInterfaceIsFormData
77260
77260
  }))?.ds || [] : E5?.ds || [], ie = async () => {
77261
- o.value = !0;
77261
+ s.value = !0;
77262
77262
  let e = await re();
77263
- o.value = !1;
77263
+ s.value = !1;
77264
77264
  let t = [], n = [], r = {}, i = [];
77265
77265
  e.forEach((e) => {
77266
77266
  let a = j(e), o = !!(a.iswarnrainfall_1h || a.iswarntemp || a.iswarnvis || a.iswarnwind);
@@ -77279,11 +77279,11 @@ 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 = {}, ce(f.value), a.value = ne(n), ae(t);
77282
+ }), _.value = r, v.value = i, p.value = ["全部", ...i.map((e) => e.name)], p.value.includes(f.value) || (f.value = "全部"), y.value = {}, ce(f.value), a.value = ne(n), ae(t);
77283
77283
  }, ae = (e) => {
77284
77284
  let t = document.querySelector(".HighwayLiveAlarm-chart");
77285
77285
  if (!t) return;
77286
- c.value ||= QE(t);
77286
+ l.value ||= QE(t);
77287
77287
  let n = {
77288
77288
  tooltip: {
77289
77289
  trigger: "item",
@@ -77311,17 +77311,17 @@ var E5 = {
77311
77311
  data: e
77312
77312
  }]
77313
77313
  };
77314
- c.value.setOption(n);
77314
+ l.value.setOption(n);
77315
77315
  }, oe = async (e) => {
77316
- l.value = e, e === "chart" && (await Re(), c.value?.resize());
77317
- }, se = (e) => e === "全部" ? Object.values(g.value) : g.value[e] ? [g.value[e]] : [], ce = (e) => {
77318
- f.value = e, r("removeLayers", Object.values(g.value).map((e) => e.name)), setTimeout(() => {
77316
+ u.value = e, e === "chart" && (await Re(), l.value?.resize());
77317
+ }, se = (e) => e === "全部" ? Object.values(_.value) : _.value[e] ? [_.value[e]] : [], ce = (e) => {
77318
+ f.value = e, r("removeLayers", Object.values(_.value).map((e) => e.name)), setTimeout(() => {
77319
77319
  r("addLayers", {
77320
77320
  layers: se(e),
77321
77321
  isRemove: !0
77322
77322
  });
77323
77323
  }, 1e3), pe();
77324
- }, le = () => n[u.value], ue = (e, t) => {
77324
+ }, le = () => n[d.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) => `
@@ -77369,13 +77369,13 @@ var E5 = {
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 = he;
77372
+ let n = mr, r = hr, i = h, c = g, l = m, _ = 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
- class: ze(["switch-btn", { active: l.value === "chart" }]),
77375
+ class: ze(["switch-btn", { active: u.value === "chart" }]),
77376
77376
  onClick: t[0] ||= (e) => oe("chart")
77377
77377
  }, " 图表 ", 2), Ae("button", {
77378
- class: ze(["switch-btn", { active: l.value === "table" }]),
77378
+ class: ze(["switch-btn", { active: u.value === "table" }]),
77379
77379
  onClick: t[1] ||= (e) => oe("table")
77380
77380
  }, " 表格 ", 2)]), Ae("div", {
77381
77381
  class: "closeBtn",
@@ -77389,12 +77389,12 @@ var E5 = {
77389
77389
  rt(Ae("div", {
77390
77390
  class: "HighwayLiveAlarm-summary",
77391
77391
  style: Be({ color: b.value })
77392
- }, Xe(a.value), 5), [[et, l.value === "chart"]]),
77393
- rt(Ae("div", M5, null, 512), [[et, l.value === "chart"]]),
77392
+ }, Xe(a.value), 5), [[et, u.value === "chart"]]),
77393
+ rt(Ae("div", M5, null, 512), [[et, u.value === "chart"]]),
77394
77394
  rt(Ae("div", N5, [
77395
77395
  Ae("div", P5, [Ae("div", F5, [t[10] ||= Ae("span", { class: "setting-label" }, "地图要素:", -1), Ne(r, {
77396
- modelValue: u.value,
77397
- "onUpdate:modelValue": t[2] ||= (e) => u.value = e,
77396
+ modelValue: d.value,
77397
+ "onUpdate:modelValue": t[2] ||= (e) => d.value = e,
77398
77398
  class: "setting-radios",
77399
77399
  onChange: pe
77400
77400
  }, {
@@ -77417,14 +77417,14 @@ var E5 = {
77417
77417
  })
77418
77418
  ]),
77419
77419
  _: 1
77420
- }, 8, ["modelValue"])]), Ae("div", I5, [t[11] ||= Ae("span", { class: "setting-label" }, "路线地图:", -1), Ne(s, {
77420
+ }, 8, ["modelValue"])]), Ae("div", I5, [t[11] ||= Ae("span", { class: "setting-label" }, "路线地图:", -1), Ne(c, {
77421
77421
  modelValue: f.value,
77422
77422
  "onUpdate:modelValue": t[3] ||= (e) => f.value = e,
77423
77423
  placeholder: "请选择路线",
77424
77424
  class: "dark-select",
77425
77425
  onChange: ce
77426
77426
  }, {
77427
- default: nt(() => [(Ue(!0), ke(Te, null, qe(m.value, (e) => (Ue(), De(i, {
77427
+ default: nt(() => [(Ue(!0), ke(Te, null, qe(p.value, (e) => (Ue(), De(i, {
77428
77428
  key: e,
77429
77429
  label: e,
77430
77430
  value: e
@@ -77451,8 +77451,8 @@ var E5 = {
77451
77451
  Ae("span", {
77452
77452
  class: ze(["expand-arrow", { expanded: y.value[e.name] }]),
77453
77453
  "aria-hidden": "true"
77454
- }, [Ne(c, null, {
77455
- default: nt(() => [Ne(Qe(_))]),
77454
+ }, [Ne(l, null, {
77455
+ default: nt(() => [Ne(Qe(o))]),
77456
77456
  _: 1
77457
77457
  })], 2)
77458
77458
  ], 8, R5), rt(Ae("div", V5, [t[12] ||= je("<div class=\"station-head\" data-v-c1dcc971><span data-v-c1dcc971>站名</span><span class=\"metric-head\" data-v-c1dcc971><span class=\"label\" data-v-c1dcc971>降水</span><span class=\"unit\" data-v-c1dcc971>(mm)</span></span><span class=\"metric-head\" data-v-c1dcc971><span class=\"label\" data-v-c1dcc971>温度</span><span class=\"unit\" data-v-c1dcc971>(℃)</span></span><span class=\"metric-head\" data-v-c1dcc971><span class=\"label\" data-v-c1dcc971>能见度</span><span class=\"unit\" data-v-c1dcc971>(km)</span></span><span class=\"metric-head\" data-v-c1dcc971><span class=\"label\" data-v-c1dcc971>大风</span><span class=\"unit\" data-v-c1dcc971>(m/s)</span></span></div>", 1), e.stations.length ? (Ue(), ke("div", H5, [(Ue(!0), ke(Te, null, qe(e.stations, (t) => (Ue(), ke("div", {
@@ -77465,8 +77465,8 @@ var E5 = {
77465
77465
  Ae("span", { class: ze(["metric-value", { warn: t?.iswarnvis === 1 }]) }, Xe(E(t.visibility)), 3),
77466
77466
  Ae("span", { class: ze(["metric-value", { warn: t?.iswarnwind === 1 }]) }, Xe(T(t.wind_speed)), 3)
77467
77467
  ], 2))), 128))])) : (Ue(), ke("div", U5, "暂无站点数据"))], 512), [[et, y.value[e.name]]])]))), 128))])
77468
- ], 512), [[et, l.value === "table"]])
77469
- ])), [[g, o.value]]);
77468
+ ], 512), [[et, u.value === "table"]])
77469
+ ])), [[_, s.value]]);
77470
77470
  };
77471
77471
  }
77472
77472
  }), [["__scopeId", "data-v-c1dcc971"]]);