nxd-plugin 1.6.0 → 1.6.2

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 (25) hide show
  1. package/dist/chunks/{component-HighWayEarlyWarningRed-C4eUxLai.mjs → component-HighWayEarlyWarningRed-B24zorkZ.mjs} +2 -2
  2. package/dist/chunks/{component-HighWayFreeze-Bu_esAjA.mjs → component-HighWayFreeze-DTZgUHLb.mjs} +22 -18
  3. package/dist/chunks/{component-HighwayLiveAlarm-D5A8U6nr.mjs → component-HighwayLiveAlarm-DH_Radnp.mjs} +2 -2
  4. package/dist/chunks/{component-HighwayLiveAlarmNew-HTEc2Sb9.mjs → component-HighwayLiveAlarmNew-BRmrckoI.mjs} +3 -3
  5. package/dist/chunks/{component-HighwayStations-EkqsQMyT.mjs → component-HighwayStations-BADne1O5.mjs} +3 -3
  6. package/dist/chunks/{component-HighwayWeatherForecast-BevrRin0.mjs → component-HighwayWeatherForecast-D3pduycn.mjs} +2 -2
  7. package/dist/chunks/{component-ImageGeneration-Dl868bT0.mjs → component-ImageGeneration-BWVqHs7l.mjs} +4 -4
  8. package/dist/chunks/{component-LithiumBatteryMiningArea-UCOjHXW5.mjs → component-LithiumBatteryMiningArea-QPD9ERqx.mjs} +3 -3
  9. package/dist/chunks/component-RadarShortTerm-BktH6eB6.mjs +345 -0
  10. package/dist/chunks/{component-ServiceMaterialsBtn-ATwSSBGA.mjs → component-ServiceMaterialsBtn-IIYNTWxy.mjs} +4 -4
  11. package/dist/chunks/{component-TimeBasedForecast-BcpYv2vT.mjs → component-TimeBasedForecast-9At0jrIg.mjs} +5 -5
  12. package/dist/chunks/{component-WeatherForecast-4vw_2TY8.mjs → component-WeatherForecast-DFqXrhZl.mjs} +3 -3
  13. package/dist/chunks/{component-YCHome-Bkh0LsrR.mjs → component-YCHome-BGMzJhDv.mjs} +8 -8
  14. package/dist/chunks/{component-YCLogin-DlL6em53.mjs → component-YCLogin-CFe09txe.mjs} +4 -4
  15. package/dist/chunks/{component-YCLoginNew-CC2fkd71.mjs → component-YCLoginNew-BDpy2huY.mjs} +5 -5
  16. package/dist/nxd-plugin.mjs +15 -15
  17. package/dist/src/components/RadarShortTerm/RadarShortTerm.vue.d.ts +2 -0
  18. package/dist/styles/component-HighWayEarlyWarningRed.css +1 -1
  19. package/dist/styles/component-HighWayFreeze.css +1 -1
  20. package/dist/styles/component-RadarShortTerm.css +1 -1
  21. package/dist/styles/component-YCHome.css +1 -1
  22. package/dist/styles/component-YCLogin.css +1 -1
  23. package/dist/styles/component-YCLoginNew.css +1 -1
  24. package/package.json +1 -1
  25. package/dist/chunks/component-RadarShortTerm-DRcLYADs.mjs +0 -327
@@ -8793,7 +8793,7 @@ var Fg = { class: "wrap-head-title" }, Ig = { class: "wrap-head-publicTime" }, L
8793
8793
  },
8794
8794
  src: e.iconUrl,
8795
8795
  alt: ""
8796
- }, null, 8, Gg), l("span", Kg, k(e.alert_unit) + "气象局" + k(e.alertName || e.alertname) + k(e.grade) + "预警 ", 1)]), l("div", qg, " \xA0" + k(e.dataTime || e.data_time ? j(V)(e.dataTime || e.data_time).format("MM-DD HH:mm") : "") + "\xA0 ", 1)], 8, Ug)], 4))), 128)), a.value.length === 0 && !p.value ? (S(), c("div", Jg, " 暂无数据 ")) : s("", !0)]),
8796
+ }, null, 8, Gg), l("span", Kg, k(e.stationname2) + k(e.alertName || e.alertname) + k(e.grade) + "预警 ", 1)]), l("div", qg, " \xA0" + k(e.dataTime || e.data_time ? j(V)(e.dataTime || e.data_time).format("MM-DD HH:mm") : "") + "\xA0 ", 1)], 8, Ug)], 4))), 128)), a.value.length === 0 && !p.value ? (S(), c("div", Jg, " 暂无数据 ")) : s("", !0)]),
8797
8797
  F(u(Vg, {
8798
8798
  class: "alertPop",
8799
8799
  onClosePop: t[0] ||= (e) => d.value = !1,
@@ -8802,6 +8802,6 @@ var Fg = { class: "wrap-head-title" }, Ig = { class: "wrap-head-publicTime" }, L
8802
8802
  ], 4)), [[n, p.value]]);
8803
8803
  };
8804
8804
  }
8805
- }), [["__scopeId", "data-v-134777e2"]]);
8805
+ }), [["__scopeId", "data-v-79af446e"]]);
8806
8806
  //#endregion
8807
8807
  export { oi as $, Ce as $t, za as A, lt as At, Ta as B, Ze as Bt, Xa as C, vt as Ct, Ka as D, it as Dt, Ga as E, Me as Et, ja as F, Qe as Ft, Ci as G, Ae as Gt, Ca as H, He as Ht, Pa as I, Ve as It, vi as J, Le as Jt, Si as K, ht as Kt, ka as L, Fe as Lt, Aa as M, ze as Mt, Na as N, Be as Nt, Ua as O, st as Ot, Ma as P, Ue as Pt, si as Q, Oe as Qt, Da as R, Ke as Rt, to as S, yt as St, Ja as T, Ne as Tt, Bi as U, We as Ut, wa as V, qe as Vt, zi as W, Ge as Wt, li as X, Xe as Xt, gi as Y, at as Yt, ci as Z, ke as Zt, lo as _, Ft as _t, qo as a, R as an, lr as at, no as b, jt as bt, No as c, _e as cn, On as ct, Oo as d, ve as dn, vn as dt, be as en, ii as et, wo as f, re as fn, gn as ft, ho as g, Bt as gt, mo as h, ln as ht, Ec as i, L as in, pr as it, Ra as j, ot as jt, Va as k, Ie as kt, Mo as l, ie as ln, xn as lt, xo as m, fn as mt, V as n, Ee as nn, vr as nt, Ko as o, fe as on, ar as ot, So as p, pn as pt, xi as q, ut as qt, Dc as r, De as rn, mr as rt, Po as s, se as sn, Nn as st, Yg as t, xe as tn, xr as tt, ko as u, ge as un, yn as ut, eo as v, Pt as vt, Ya as w, je as wt, $a as x, At as xt, ro as y, Nt as yt, Ea as z, Pe as zt };
@@ -1,5 +1,5 @@
1
1
  import "./rolldown-runtime-Dd0fQ6-X.mjs";
2
- import { $ as e, $t as t, A as n, B as r, Bt as i, C as a, D as o, E as s, Et as c, F as l, H as u, L as d, M as f, Mt as p, N as m, Nt as h, O as g, P as _, Pt as v, Q as y, R as b, Rt as x, St as S, T as C, Ut as w, V as T, X as E, Y as D, Z as O, Zt as k, _ as ee, _t as A, an as j, bt as te, ct as ne, d as re, dt as ie, en as ae, et as oe, f as se, fn as ce, g as M, gt as le, h as ue, ht as de, i as fe, in as pe, j as me, ln as he, m as ge, mt as _e, nn as ve, nt as ye, o as be, on as xe, p as Se, r as Ce, rn as we, rt as Te, tn as Ee, tt as N, u as De, un as Oe, w as ke, xt as Ae, y as je, yt as Me, z as Ne } from "./component-HighWayEarlyWarningRed-C4eUxLai.mjs";
2
+ import { $ as e, $t as t, A as n, B as r, Bt as i, C as a, D as o, E as s, Et as c, F as l, H as u, L as d, M as f, Mt as p, N as m, Nt as h, O as g, P as _, Pt as v, Q as y, R as b, Rt as x, St as S, T as C, Ut as w, V as T, X as E, Y as D, Z as O, Zt as k, _ as ee, _t as A, an as j, bt as te, ct as ne, d as re, dt as ie, en as ae, et as oe, f as se, fn as ce, g as M, gt as le, h as ue, ht as de, i as fe, in as pe, j as me, ln as he, m as ge, mt as _e, nn as ve, nt as ye, o as be, on as xe, p as Se, r as Ce, rn as we, rt as Te, tn as Ee, tt as N, u as De, un as Oe, w as ke, xt as Ae, y as je, yt as Me, z as Ne } from "./component-HighWayEarlyWarningRed-B24zorkZ.mjs";
3
3
  import { Comment as Pe, Fragment as Fe, Teleport as Ie, Text as Le, Transition as Re, cloneVNode as ze, computed as P, createBlock as F, createCommentVNode as I, createElementBlock as L, createElementVNode as R, createTextVNode as Be, createVNode as z, defineComponent as B, getCurrentInstance as Ve, inject as V, isVNode as He, mergeProps as Ue, nextTick as H, normalizeClass as U, normalizeStyle as W, onActivated as We, onBeforeMount as Ge, onBeforeUnmount as G, onDeactivated as Ke, onMounted as qe, onUnmounted as Je, onUpdated as Ye, openBlock as K, provide as Xe, reactive as Ze, readonly as Qe, ref as q, renderList as $e, renderSlot as J, resolveComponent as et, resolveDirective as tt, resolveDynamicComponent as nt, shallowRef as rt, toDisplayString as Y, toHandlerKey as it, toRaw as at, toRef as ot, toRefs as st, unref as X, useSlots as ct, vShow as lt, watch as Z, watchEffect as ut, withCtx as Q, withDirectives as dt, withModifiers as ft } from "vue";
4
4
  //#region node_modules/element-plus/es/constants/aria.mjs
5
5
  var $ = {
@@ -4590,23 +4590,27 @@ var sc = {
4590
4590
  "上段",
4591
4591
  "中段",
4592
4592
  "下段"
4593
- ]), l = q([]), u = P(() => _((l.value.find((e) => e.road_name === a.value && e.name === o.value)?.pointds || []).map((e, t) => ({
4593
+ ]), l = q([]), u = q(null), d = P(() => v((l.value.find((e) => e.road_name === a.value && e.name === o.value)?.pointds || []).map((e, t) => ({
4594
4594
  pileNo: `路线${t + 1}`,
4595
- temperature: g(e?.zdzds?.temperature),
4595
+ temperature: _(e?.zdzds?.temperature),
4596
4596
  isWarn: e?.zdzds?.iswarntemp === 1
4597
- })), (e) => e.isWarn)), d = P(() => u.value.filter((e) => e.isWarn).length);
4597
+ })), (e) => e.isWarn)), f = P(() => d.value.filter((e) => e.isWarn).length);
4598
4598
  qe(() => {
4599
- f();
4599
+ p(), u.value = setInterval(() => {
4600
+ p();
4601
+ }, 1e3 * 60 * 10);
4602
+ }), G(() => {
4603
+ clearInterval(u.value);
4600
4604
  });
4601
- let f = async () => {
4602
- await h();
4603
- }, p = () => {
4605
+ let p = async () => {
4606
+ await g();
4607
+ }, m = () => {
4604
4608
  r("close", "HighWayFreeze");
4605
- }, m = (e) => {
4609
+ }, h = (e) => {
4606
4610
  a.value = e;
4607
4611
  let t = l.value.filter((e) => e.road_name === a.value);
4608
4612
  t.some((e) => e.name === o.value) || (o.value = t[0]?.name || c.value[0]);
4609
- }, h = async () => {
4613
+ }, g = async () => {
4610
4614
  i.value = !0;
4611
4615
  let e = (await fe({
4612
4616
  appKey: n.appKey,
@@ -4619,8 +4623,8 @@ var sc = {
4619
4623
  })).data.result.ds || [];
4620
4624
  console.log("道路结冰", e), l.value = e, s.value = [...new Set(e.map((e) => e.road_name))].filter(Boolean).map((e) => ({ name: e })), s.value.some((e) => e.name === a.value) || (a.value = s.value[0]?.name || "");
4621
4625
  let t = e.filter((e) => e.road_name === a.value);
4622
- t.some((e) => e.name === o.value) || (o.value = t[0]?.name || c.value[0]), v(), i.value = !1;
4623
- }, g = (e) => e == null || e === "" ? "--" : String(e), _ = (e, t) => [...e].sort((e, n) => Number(t(n)) - Number(t(e))), v = () => {
4626
+ t.some((e) => e.name === o.value) || (o.value = t[0]?.name || c.value[0]), y(), i.value = !1;
4627
+ }, _ = (e) => e == null || e === "" ? "--" : String(e), v = (e, t) => [...e].sort((e, n) => Number(t(n)) - Number(t(e))), y = () => {
4624
4628
  r("removeLine", "line_HighWayFreeze");
4625
4629
  let e = { lineArr: [] };
4626
4630
  if (l.value.forEach((t) => {
@@ -4658,7 +4662,7 @@ var sc = {
4658
4662
  removeLine: "line_HighWayFreeze",
4659
4663
  mapLine: e
4660
4664
  });
4661
- }, y = () => {
4665
+ }, b = () => {
4662
4666
  let e = l.value.find((e) => e.road_name === a.value && e.name === o.value)?.pointds?.[0];
4663
4667
  e && r("toMapView", {
4664
4668
  lng: Number(e.x),
@@ -4671,7 +4675,7 @@ var sc = {
4671
4675
  return dt((K(), L("div", sc, [
4672
4676
  R("div", { class: "HighWayFreeze-head" }, [R("div", { class: "HighWayFreeze-head-top" }, [t[2] ||= R("div", null, "隐患路段道路结冰实况报警", -1), R("div", {
4673
4677
  class: "closeBtn",
4674
- onClick: p,
4678
+ onClick: m,
4675
4679
  title: "关闭"
4676
4680
  })]), t[3] ||= R("img", {
4677
4681
  class: "HighWayFreeze-head-line",
@@ -4683,7 +4687,7 @@ var sc = {
4683
4687
  "onUpdate:modelValue": t[0] ||= (e) => a.value = e,
4684
4688
  placeholder: "请选择路线",
4685
4689
  class: "dark-select",
4686
- onChange: m
4690
+ onChange: h
4687
4691
  }, {
4688
4692
  default: Q(() => [(K(!0), L(Fe, null, $e(s.value, (e) => (K(), F(n, {
4689
4693
  key: e.name,
@@ -4710,16 +4714,16 @@ var sc = {
4710
4714
  R("button", {
4711
4715
  type: "button",
4712
4716
  class: "locate-btn",
4713
- onClick: y
4717
+ onClick: b
4714
4718
  }, "定位")
4715
4719
  ]),
4716
- R("div", uc, [R("div", dc, [t[8] ||= R("span", null, "路段", -1), R("span", fc, [R("span", pc, [t[6] ||= Be(" 温度 ", -1), d.value > 0 ? (K(), L("span", mc, "报警:" + Y(d.value) + "条", 1)) : I("", !0)]), t[7] ||= R("span", { class: "unit" }, "(℃)", -1)])]), R("div", hc, [(K(!0), L(Fe, null, $e(u.value, (e) => (K(), L("div", {
4720
+ R("div", uc, [R("div", dc, [t[8] ||= R("span", null, "路段", -1), R("span", fc, [R("span", pc, [t[6] ||= Be(" 温度 ", -1), f.value > 0 ? (K(), L("span", mc, "报警:" + Y(f.value) + "条", 1)) : I("", !0)]), t[7] ||= R("span", { class: "unit" }, "(℃)", -1)])]), R("div", hc, [(K(!0), L(Fe, null, $e(d.value, (e) => (K(), L("div", {
4717
4721
  class: U(["HighWayFreeze-table-row", { "is-warn": e.isWarn }]),
4718
4722
  key: e.pileNo
4719
4723
  }, [R("span", null, Y(e.pileNo), 1), R("span", null, Y(e.temperature), 1)], 2))), 128))])])
4720
4724
  ])), [[l, i.value]]);
4721
4725
  };
4722
4726
  }
4723
- }), [["__scopeId", "data-v-81e8e0c9"]]);
4727
+ }), [["__scopeId", "data-v-9f1159ca"]]);
4724
4728
  //#endregion
4725
4729
  export { ht as $, Aa as A, aa as B, xa as C, Ea as D, Ta as E, pa as F, An as G, Ln as H, ma as I, $t as J, Dn as K, ua as L, Ma as M, ha as N, Da as O, fa as P, mt as Q, ca as R, va as S, Ca as T, Pn as U, Ki as V, Mn as W, Gt as X, Kt as Y, Tt as Z, La as _, Xo as a, ga as b, ao as c, ro as d, pt as et, to as f, Ia as g, Fa as h, us as i, ja as j, ka as k, oo as l, za as m, oc as n, zo as o, no as p, en as q, ac as r, go as s, gc as t, $ as tt, io as u, Ra as v, Sa as w, _a as x, Pa as y, sa as z };
@@ -1,6 +1,6 @@
1
1
  import { n as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
2
- import { I as t, J as n, L as r, P as i, Q as a, S as o, V as s, X as c, Y as l, c as u, d, et as f, l as p, m, n as h, r as g, u as _ } from "./component-HighWayFreeze-Bu_esAjA.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-C4eUxLai.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-DTZgUHLb.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-B24zorkZ.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() {
@@ -1,7 +1,7 @@
1
1
  import "./rolldown-runtime-Dd0fQ6-X.mjs";
2
- import { I as e, K as t, L as n, P as r, Q as i, S as a, c as o, d as s, et as c, f as l, l as u, m as d, n as f, r as p, u as m } from "./component-HighWayFreeze-Bu_esAjA.mjs";
3
- import { B as h, D as g, F as _, I as v, L as y, M as b, Nt as x, O as S, Rt as C, Ut as w, g as T, i as ee, o as te, p as E, r as D, w as ne } from "./component-HighWayEarlyWarningRed-C4eUxLai.mjs";
4
- import { a as O, i as re, n as ie, o as k, r as ae } from "./component-HighwayLiveAlarm-D5A8U6nr.mjs";
2
+ import { I as e, K as t, L as n, P as r, Q as i, S as a, c as o, d as s, et as c, f as l, l as u, m as d, n as f, r as p, u as m } from "./component-HighWayFreeze-DTZgUHLb.mjs";
3
+ import { B as h, D as g, F as _, I as v, L as y, M as b, Nt as x, O as S, Rt as C, Ut as w, g as T, i as ee, o as te, p as E, r as D, w as ne } from "./component-HighWayEarlyWarningRed-B24zorkZ.mjs";
4
+ import { a as O, i as re, n as ie, o as k, r as ae } from "./component-HighwayLiveAlarm-DH_Radnp.mjs";
5
5
  import { Fragment as A, computed as j, createBlock as oe, createCommentVNode as M, createElementBlock as N, createElementVNode as P, createTextVNode as F, createVNode as I, defineComponent as L, getCurrentInstance as se, inject as R, isRef as ce, mergeProps as z, nextTick as le, normalizeClass as B, normalizeStyle as ue, onBeforeUnmount as de, onMounted as fe, openBlock as V, provide as pe, ref as H, renderList as U, renderSlot as W, resolveDynamicComponent as G, toDisplayString as K, toRaw as me, toRefs as he, unref as q, useSlots as ge, vModelCheckbox as _e, 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 = {
@@ -1,7 +1,7 @@
1
1
  import "./rolldown-runtime-Dd0fQ6-X.mjs";
2
- import { n as e, r as t } from "./component-HighWayFreeze-Bu_esAjA.mjs";
3
- import { i as n, o as r, r as i } from "./component-HighWayEarlyWarningRed-C4eUxLai.mjs";
4
- import { i as a, r as o } from "./component-HighwayLiveAlarm-D5A8U6nr.mjs";
2
+ import { n as e, r as t } from "./component-HighWayFreeze-DTZgUHLb.mjs";
3
+ import { i as n, o as r, r as i } from "./component-HighWayEarlyWarningRed-B24zorkZ.mjs";
4
+ import { i as a, r as o } from "./component-HighwayLiveAlarm-DH_Radnp.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",