nxd-plugin 1.7.47 → 1.7.48

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 (35) hide show
  1. package/dist/chunks/{component-AqiMonitor-n1rMcUkd.mjs → component-AqiMonitor-BUy1MSaP.mjs} +14 -14
  2. package/dist/chunks/{component-GeologyLiveAlarm-mPxAthzw.mjs → component-GeologyLiveAlarm-b35T-VKV.mjs} +261 -44898
  3. package/dist/chunks/{component-HighWayEarlyWarningRed-B_9L8JsB.mjs → component-HighWayEarlyWarningRed-C07Bu2a2.mjs} +2 -2
  4. package/dist/chunks/{component-HighWayFreeze-9INqahBu.mjs → component-HighWayFreeze-BOqfGgAp.mjs} +1 -1
  5. package/dist/chunks/{component-HighwayLiveAlarm-dQdffUQY.mjs → component-HighwayLiveAlarm-GTnOMO-n.mjs} +24 -24
  6. package/dist/chunks/{component-HighwayLiveAlarmNew-OiO7uyqZ.mjs → component-HighwayLiveAlarmNew-Cq2GC0ay.mjs} +204 -203
  7. package/dist/chunks/{component-HighwayStations-BhvfmiM0.mjs → component-HighwayStations-D3we6SUy.mjs} +1 -1
  8. package/dist/chunks/{component-HighwayWeatherForecast-BXOXcWwJ.mjs → component-HighwayWeatherForecast-BplmvdB0.mjs} +1 -1
  9. package/dist/chunks/{component-ImageGeneration-BkSwS0RR.mjs → component-ImageGeneration-BesrLds9.mjs} +2 -2
  10. package/dist/chunks/{component-LithiumBatteryMiningArea-Chh8AwLb.mjs → component-LithiumBatteryMiningArea-CLqls8wF.mjs} +154 -154
  11. package/dist/chunks/{component-MapPopup-B8I4A7Cp.mjs → component-MapPopup-B9HGnA3K.mjs} +1 -1
  12. package/dist/chunks/{component-MaterialPreview-Cz5C1iYV.mjs → component-MaterialPreview-p3cNPs6w.mjs} +1 -1
  13. package/dist/chunks/{component-PieLegend-5tlC6rev.mjs → component-PieLegend-BtguPb2s.mjs} +1 -1
  14. package/dist/chunks/{component-RadarChart-DUQY1PLE.mjs → component-RadarChart-BG_3ghVT.mjs} +1 -1
  15. package/dist/chunks/{component-RadarLegend-CpVt8t9N.mjs → component-RadarLegend-DOOZkw6V.mjs} +1 -1
  16. package/dist/chunks/{component-RadarShortTerm-DX9kXkns.mjs → component-RadarShortTerm-n4ICvBMu.mjs} +3 -3
  17. package/dist/chunks/{component-RadarTime-DlM1Kazb.mjs → component-RadarTime-BPrUMwWz.mjs} +1 -1
  18. package/dist/chunks/component-ReservoirLiveAlarm-DEwaF83N.mjs +684 -0
  19. package/dist/chunks/{component-ServiceMaterial-Ca1My5rC.mjs → component-ServiceMaterial-DW1I7Fqv.mjs} +1 -1
  20. package/dist/chunks/{component-ServiceMaterialsBtn-ChWG5nRG.mjs → component-ServiceMaterialsBtn-DqiX5KzU.mjs} +1 -1
  21. package/dist/chunks/{component-TimeBasedForecast-Bg6qu_yy.mjs → component-TimeBasedForecast-B-Y51oZX.mjs} +73 -73
  22. package/dist/chunks/{component-WarningLine-D1f-Q5rO.mjs → component-WarningLine-BhNa2lgA.mjs} +2 -2
  23. package/dist/chunks/{component-WarningSignal-CD6KN09j.mjs → component-WarningSignal-BDZH5FVy.mjs} +2 -2
  24. package/dist/chunks/{component-WeatherForecast-30wu6HSj.mjs → component-WeatherForecast-XrVjScRY.mjs} +3 -3
  25. package/dist/chunks/{component-YCHome-C7KSa0hp.mjs → component-YCHome-CkEc84Y1.mjs} +1 -1
  26. package/dist/chunks/{component-YCLogin-BB_7gujE.mjs → component-YCLogin-DhBC5b55.mjs} +1 -1
  27. package/dist/chunks/{component-YCLoginNew-B_Wi1G9n.mjs → component-YCLoginNew-I_ZnliMh.mjs} +2 -2
  28. package/dist/chunks/{rolldown-runtime-Dd0fQ6-X.mjs → rolldown-runtime-Cz5NsrRf.mjs} +4 -11
  29. package/dist/nxd-plugin.mjs +30 -29
  30. package/dist/src/components/ReservoirLiveAlarm/ReservoirLiveAlarm.vue.d.ts +74 -0
  31. package/dist/src/index.d.ts +2 -1
  32. package/dist/styles/component-ReservoirLiveAlarm.css +1 -0
  33. package/dist/styles/component-YCLogin.css +1 -1
  34. package/dist/styles/component-YCLoginNew.css +1 -1
  35. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { r as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
2
- import { n as t, r as n } from "./component-AqiMonitor-n1rMcUkd.mjs";
1
+ import { n as e } from "./rolldown-runtime-Cz5NsrRf.mjs";
2
+ import { n as t, r as n } from "./component-AqiMonitor-BUy1MSaP.mjs";
3
3
  import { ElLoadingDirective as r } from "element-plus/es";
4
4
  import { Fragment as i, computed as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, normalizeStyle as d, onBeforeUnmount as f, onMounted as ee, openBlock as te, ref as p, renderList as ne, toDisplayString as m, unref as re, vShow as ie, watch as ae, withDirectives as oe, withModifiers as se } from "vue";
5
5
  import "element-plus/es/components/loading/style/css";
@@ -1,4 +1,4 @@
1
- import { n as e, r as t } from "./component-AqiMonitor-n1rMcUkd.mjs";
1
+ import { n as e, r as t } from "./component-AqiMonitor-BUy1MSaP.mjs";
2
2
  import { ElLoadingDirective as n, ElOption as r, ElSelect as i } from "element-plus/es";
3
3
  import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, normalizeClass as m, onBeforeUnmount as h, onMounted as g, openBlock as _, ref as v, renderList as y, toDisplayString as b, withCtx as x, withDirectives as S } from "vue";
4
4
  import "element-plus/es/components/loading/style/css";
@@ -1,8 +1,8 @@
1
- import { n as e, r as t } from "./component-AqiMonitor-n1rMcUkd.mjs";
2
- import { r as n } from "./component-GeologyLiveAlarm-mPxAthzw.mjs";
3
- import { ElIcon as r, ElLoadingDirective as i, ElOption as a, ElRadio as o, ElRadioGroup as s, ElSelect as c } from "element-plus/es";
4
- import { Fragment as l, computed as u, createBlock as d, createCommentVNode as ee, createElementBlock as f, createElementVNode as p, createStaticVNode as te, createTextVNode as m, createVNode as h, defineComponent as g, nextTick as _, normalizeClass as v, normalizeStyle as y, onBeforeUnmount as b, onMounted as x, openBlock as S, ref as C, renderList as w, toDisplayString as T, unref as E, vShow as D, withCtx as O, withDirectives as k } from "vue";
5
- import { ArrowRight as ne } from "@element-plus/icons-vue";
1
+ import { n as e, r as t } from "./component-AqiMonitor-BUy1MSaP.mjs";
2
+ import { ElIcon as n, ElLoadingDirective as r, ElOption as i, ElRadio as a, ElRadioGroup as o, ElSelect as s } from "element-plus/es";
3
+ import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createStaticVNode as ee, createTextVNode as m, createVNode as h, defineComponent as g, nextTick as _, normalizeClass as v, normalizeStyle as y, onBeforeUnmount as b, onMounted as x, openBlock as S, ref as C, renderList as w, toDisplayString as T, unref as E, vShow as D, withCtx as O, withDirectives as k } from "vue";
4
+ import { ArrowRight as te } from "@element-plus/icons-vue";
5
+ import * as ne from "echarts";
6
6
  import "element-plus/es/components/loading/style/css";
7
7
  import "element-plus/es/components/radio/style/css";
8
8
  import "element-plus/es/components/radio-group/style/css";
@@ -32026,7 +32026,7 @@ var re = {
32026
32026
  field: "wind_speed",
32027
32027
  unit: "m/s"
32028
32028
  }
32029
- }, M = g, N = e, P = C(""), F = C(!1), I = C(null), L = C(null), R = C("table"), z = C("降水"), B = C("全部"), V = C(["全部"]), H = C({}), U = C([]), W = C({}), xe = u(() => P.value === A ? "#52c41a" : "#ff4d4f"), Se = u(() => B.value === "全部" ? U.value : U.value.filter((e) => e.name === B.value));
32029
+ }, M = g, N = e, P = C(""), F = C(!1), I = C(null), L = C(null), R = C("table"), z = C("降水"), B = C("全部"), V = C(["全部"]), H = C({}), U = C([]), W = C({}), xe = l(() => P.value === A ? "#52c41a" : "#ff4d4f"), Se = l(() => B.value === "全部" ? U.value : U.value.filter((e) => e.name === B.value));
32030
32030
  x(() => {
32031
32031
  X(), I.value = setInterval(() => {
32032
32032
  X();
@@ -32131,8 +32131,8 @@ var re = {
32131
32131
  }, Me = (e) => {
32132
32132
  let t = document.querySelector(".HighwayLiveAlarm-chart");
32133
32133
  if (!t) return;
32134
- L.value ||= n(t);
32135
- let r = {
32134
+ L.value ||= ne.init(t);
32135
+ let n = {
32136
32136
  tooltip: {
32137
32137
  trigger: "item",
32138
32138
  formatter: (e) => {
@@ -32159,7 +32159,7 @@ var re = {
32159
32159
  data: e
32160
32160
  }]
32161
32161
  };
32162
- L.value.setOption(r);
32162
+ L.value.setOption(n);
32163
32163
  }, Z = async (e) => {
32164
32164
  R.value = e, e === "chart" && (await _(), L.value?.resize());
32165
32165
  }, Ne = (e) => e === "全部" ? Object.values(H.value) : H.value[e] ? [H.value[e]] : [], Q = (e) => {
@@ -32217,7 +32217,7 @@ var re = {
32217
32217
  M("close", "HighwayLiveAlarm");
32218
32218
  };
32219
32219
  return (e, t) => {
32220
- let n = o, u = s, g = a, _ = c, b = r, x = i;
32220
+ let l = a, g = o, _ = i, b = s, x = n, C = r;
32221
32221
  return k((S(), f("div", ie, [
32222
32222
  p("div", ae, [p("div", oe, [t[4] ||= p("div", null, "沿线高速公路实况报警", -1), p("div", se, [p("div", ce, [p("button", {
32223
32223
  class: v(["switch-btn", { active: R.value === "chart" }]),
@@ -32240,39 +32240,39 @@ var re = {
32240
32240
  }, T(P.value), 5), [[D, R.value === "chart"]]),
32241
32241
  k(p("div", le, null, 512), [[D, R.value === "chart"]]),
32242
32242
  k(p("div", ue, [
32243
- p("div", de, [p("div", fe, [t[10] ||= p("span", { class: "setting-label" }, "地图要素:", -1), h(u, {
32243
+ p("div", de, [p("div", fe, [t[10] ||= p("span", { class: "setting-label" }, "地图要素:", -1), h(g, {
32244
32244
  modelValue: z.value,
32245
32245
  "onUpdate:modelValue": t[2] ||= (e) => z.value = e,
32246
32246
  class: "setting-radios",
32247
32247
  onChange: $
32248
32248
  }, {
32249
32249
  default: O(() => [
32250
- h(n, { value: "降水" }, {
32250
+ h(l, { value: "降水" }, {
32251
32251
  default: O(() => [...t[6] ||= [m("降水", -1)]]),
32252
32252
  _: 1
32253
32253
  }),
32254
- h(n, { value: "温度" }, {
32254
+ h(l, { value: "温度" }, {
32255
32255
  default: O(() => [...t[7] ||= [m("温度", -1)]]),
32256
32256
  _: 1
32257
32257
  }),
32258
- h(n, { value: "能见度" }, {
32258
+ h(l, { value: "能见度" }, {
32259
32259
  default: O(() => [...t[8] ||= [m("能见度", -1)]]),
32260
32260
  _: 1
32261
32261
  }),
32262
- h(n, { value: "大风" }, {
32262
+ h(l, { value: "大风" }, {
32263
32263
  default: O(() => [...t[9] ||= [m("大风", -1)]]),
32264
32264
  _: 1
32265
32265
  })
32266
32266
  ]),
32267
32267
  _: 1
32268
- }, 8, ["modelValue"])]), p("div", pe, [t[11] ||= p("span", { class: "setting-label" }, "路线地图:", -1), h(_, {
32268
+ }, 8, ["modelValue"])]), p("div", pe, [t[11] ||= p("span", { class: "setting-label" }, "路线地图:", -1), h(b, {
32269
32269
  modelValue: B.value,
32270
32270
  "onUpdate:modelValue": t[3] ||= (e) => B.value = e,
32271
32271
  placeholder: "请选择路线",
32272
32272
  class: "dark-select",
32273
32273
  onChange: Q
32274
32274
  }, {
32275
- default: O(() => [(S(!0), f(l, null, w(V.value, (e) => (S(), d(g, {
32275
+ default: O(() => [(S(!0), f(c, null, w(V.value, (e) => (S(), u(_, {
32276
32276
  key: e,
32277
32277
  label: e,
32278
32278
  value: e
@@ -32284,7 +32284,7 @@ var re = {
32284
32284
  p("span", null, "状态要素"),
32285
32285
  p("span", { class: "head-arrow" })
32286
32286
  ], -1),
32287
- p("div", me, [(S(!0), f(l, null, w(Se.value, (e) => (S(), f("div", {
32287
+ p("div", me, [(S(!0), f(c, null, w(Se.value, (e) => (S(), f("div", {
32288
32288
  class: "table-row",
32289
32289
  key: e.name
32290
32290
  }, [p("div", {
@@ -32292,18 +32292,18 @@ var re = {
32292
32292
  onClick: (t) => Le(e.name)
32293
32293
  }, [
32294
32294
  p("span", ge, T(e.name), 1),
32295
- p("div", { class: v(["status-tags", { "has-warn": Ee(e.tags) }]) }, [(S(!0), f(l, null, w(e.tags, (t) => (S(), f("span", {
32295
+ p("div", { class: v(["status-tags", { "has-warn": Ee(e.tags) }]) }, [(S(!0), f(c, null, w(e.tags, (t) => (S(), f("span", {
32296
32296
  class: v(["status-tag", { warn: t.warn }]),
32297
32297
  key: `${e.name}-${t.label}`
32298
- }, [p("span", null, T(t.label), 1), t.warn ? (S(), f("span", _e, T(t.value || "--"), 1)) : ee("", !0)], 2))), 128))], 2),
32298
+ }, [p("span", null, T(t.label), 1), t.warn ? (S(), f("span", _e, T(t.value || "--"), 1)) : d("", !0)], 2))), 128))], 2),
32299
32299
  p("span", {
32300
32300
  class: v(["expand-arrow", { expanded: W.value[e.name] }]),
32301
32301
  "aria-hidden": "true"
32302
- }, [h(b, null, {
32303
- default: O(() => [h(E(ne))]),
32302
+ }, [h(x, null, {
32303
+ default: O(() => [h(E(te))]),
32304
32304
  _: 1
32305
32305
  })], 2)
32306
- ], 8, he), k(p("div", ve, [t[12] ||= te("<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 ? (S(), f("div", ye, [(S(!0), f(l, null, w(e.stations, (t) => (S(), f("div", {
32306
+ ], 8, he), k(p("div", ve, [t[12] ||= ee("<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 ? (S(), f("div", ye, [(S(!0), f(c, null, w(e.stations, (t) => (S(), f("div", {
32307
32307
  class: v(["station-row", { "is-warn": Te(t) }]),
32308
32308
  key: `${e.name}-${t.station_number}`
32309
32309
  }, [
@@ -32314,7 +32314,7 @@ var re = {
32314
32314
  p("span", { class: v(["metric-value", { warn: t?.iswarnwind === 1 }]) }, T(q(t.wind_speed)), 3)
32315
32315
  ], 2))), 128))])) : (S(), f("div", be, "暂无站点数据"))], 512), [[D, W.value[e.name]]])]))), 128))])
32316
32316
  ], 512), [[D, R.value === "table"]])
32317
- ])), [[x, F.value]]);
32317
+ ])), [[C, F.value]]);
32318
32318
  };
32319
32319
  }
32320
32320
  }), [["__scopeId", "data-v-c1dcc971"]]);