nxd-plugin 1.7.42 → 1.7.45

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 (43) hide show
  1. package/dist/chunks/{component-AqiMonitor-DoGm_NCt.mjs → component-AqiMonitor-n1rMcUkd.mjs} +323 -1912
  2. package/dist/chunks/{component-HighWayEarlyWarningRed-D89gFa50.mjs → component-HighWayEarlyWarningRed-BnJyShce.mjs} +18 -16
  3. package/dist/chunks/component-HighWayFreeze-ByxdEM06.mjs +181 -0
  4. package/dist/chunks/{component-HighwayLiveAlarm-DMdnrD3c.mjs → component-HighwayLiveAlarm-D_lIKhkC.mjs} +10150 -10667
  5. package/dist/chunks/{component-HighwayLiveAlarmNew-W2DKwrPk.mjs → component-HighwayLiveAlarmNew-DbEuUJW6.mjs} +243 -649
  6. package/dist/chunks/component-HighwayStations-Cmjb6MHu.mjs +218 -0
  7. package/dist/chunks/{component-HighwayWeatherForecast-Dn6tjaR-.mjs → component-HighwayWeatherForecast-ByPDymqX.mjs} +159 -158
  8. package/dist/chunks/{component-ImageGeneration-9XdsjkaE.mjs → component-ImageGeneration-SPM2CN6K.mjs} +5010 -7558
  9. package/dist/chunks/{component-LithiumBatteryMiningArea-Dj1DMKuU.mjs → component-LithiumBatteryMiningArea-C1KfrHaF.mjs} +51 -48
  10. package/dist/chunks/{component-MapPopup-0uM1uyql.mjs → component-MapPopup-B2f0tnVu.mjs} +1 -1
  11. package/dist/chunks/{component-PieLegend-JVqrszxO.mjs → component-PieLegend-w1YvpVaB.mjs} +1 -1
  12. package/dist/chunks/{component-RadarChart-Dz5sm2q5.mjs → component-RadarChart-Dnjp4cbb.mjs} +11 -11
  13. package/dist/chunks/{component-RadarLegend-BKm_34Tm.mjs → component-RadarLegend-Coihcxje.mjs} +1 -1
  14. package/dist/chunks/{component-RadarShortTerm-CyMCE9wz.mjs → component-RadarShortTerm-BlI00kHC.mjs} +86 -85
  15. package/dist/chunks/{component-RadarTime--DUvLJh2.mjs → component-RadarTime-BnWNJDq1.mjs} +14 -14
  16. package/dist/chunks/{component-ServiceMaterial-D9i1nsOr.mjs → component-ServiceMaterial-trvjXwHN.mjs} +1 -1
  17. package/dist/chunks/{component-ServiceMaterialsBtn-DjUo4Hsx.mjs → component-ServiceMaterialsBtn-C1ud7xtc.mjs} +34 -556
  18. package/dist/chunks/{component-TimeBasedForecast-Bc4EOR8R.mjs → component-TimeBasedForecast-DR7FkXAn.mjs} +69 -68
  19. package/dist/chunks/{component-WarningLine-C5AGlCZR.mjs → component-WarningLine-CWqiXdhZ.mjs} +2 -2
  20. package/dist/chunks/{component-WarningSignal-BaKdzl4i.mjs → component-WarningSignal-CtyCcjNo.mjs} +75 -74
  21. package/dist/chunks/component-WeatherForecast-DTGpJVhm.mjs +209 -0
  22. package/dist/chunks/component-YCHome-DeLwwN9F.mjs +426 -0
  23. package/dist/chunks/{component-YCLogin-DWhvv-rf.mjs → component-YCLogin-DtjB2mai.mjs} +52 -47
  24. package/dist/chunks/component-YCLoginNew-DDPai-9U.mjs +183 -0
  25. package/dist/nxd-plugin.mjs +26 -26
  26. package/dist/styles/component-HighWayEarlyWarningRed.css +1 -1
  27. package/dist/styles/component-HighWayFreeze.css +1 -1
  28. package/dist/styles/component-HighwayLiveAlarm.css +1 -1
  29. package/dist/styles/component-HighwayLiveAlarmNew.css +1 -1
  30. package/dist/styles/component-HighwayStations.css +1 -1
  31. package/dist/styles/component-ImageGeneration.css +1 -1
  32. package/dist/styles/component-RadarShortTerm.css +1 -1
  33. package/dist/styles/component-ServiceMaterialsBtn.css +1 -1
  34. package/dist/styles/component-YCHome.css +1 -1
  35. package/dist/styles/component-YCLogin.css +1 -1
  36. package/dist/styles/component-YCLoginNew.css +1 -1
  37. package/package.json +3 -3
  38. package/dist/chunks/component-HighWayFreeze-C_Y5P0wN.mjs +0 -4730
  39. package/dist/chunks/component-HighwayStations-CNs3P4Vw.mjs +0 -32157
  40. package/dist/chunks/component-WeatherForecast-BzF3E06F.mjs +0 -209
  41. package/dist/chunks/component-YCHome-B2wOG1EV.mjs +0 -1768
  42. package/dist/chunks/component-YCLoginNew-CPPSTPXH.mjs +0 -178
  43. package/dist/components/HighwayStations/default.json.d.ts +0 -31945
@@ -1,5 +1,5 @@
1
- import "./rolldown-runtime-Dd0fQ6-X.mjs";
2
- import { a as e, n as t, r as n } from "./component-AqiMonitor-DoGm_NCt.mjs";
1
+ import { n as e, r as t } from "./component-AqiMonitor-n1rMcUkd.mjs";
2
+ import { ElLoadingDirective as n } from "element-plus/es";
3
3
  import { Fragment as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, defineComponent as s, getCurrentInstance as c, onMounted as l, openBlock as u, ref as d, renderList as f, toDisplayString as p, vModelCheckbox as m, withDirectives as h } from "vue";
4
4
  //#region src/components/RadarChart/RadarChart.vue?vue&type=script&setup=true&lang.ts
5
5
  var g = {
@@ -11,7 +11,7 @@ var g = {
11
11
  } }, O = { style: {
12
12
  width: "80px",
13
13
  "text-align": "center"
14
- } }, k = { key: 0 }, A = /* @__PURE__ */ t(/* @__PURE__ */ s({
14
+ } }, k = { key: 0 }, A = /* @__PURE__ */ e(/* @__PURE__ */ s({
15
15
  __name: "RadarChart",
16
16
  props: {
17
17
  appKey: {
@@ -36,8 +36,8 @@ var g = {
36
36
  }
37
37
  },
38
38
  emits: ["close"],
39
- setup(t, { emit: s }) {
40
- let A = c()?.appContext.config.globalProperties.$bus, j = t, M = s, N = d(!1), P = d([]), F = d(!0), I = d(0);
39
+ setup(e, { emit: s }) {
40
+ let A = c()?.appContext.config.globalProperties.$bus, j = e, M = s, N = d(!1), P = d([]), F = d(!0), I = d(0);
41
41
  l(() => {
42
42
  A?.on("toComponent", (e) => {
43
43
  e.componentName === "RadarChart" && L();
@@ -47,7 +47,7 @@ var g = {
47
47
  await R();
48
48
  }, R = async () => {
49
49
  N.value = !0;
50
- let e = await n({
50
+ let e = await t({
51
51
  appKey: j.appKey,
52
52
  appSalt: j.appSalt,
53
53
  id: j.ids.data.id,
@@ -57,8 +57,8 @@ var g = {
57
57
  isFormData: j.ids.data.isFormData
58
58
  });
59
59
  N.value = !1, console.log(e, "雷达数据");
60
- let t = e.data?.result?.output || [];
61
- t && t.length > 0 && (P.value = t.map((e) => ({
60
+ let n = e.data?.result?.output || [];
61
+ n && n.length > 0 && (P.value = n.map((e) => ({
62
62
  ...e,
63
63
  areaName: e.area_name || e.areaName || "",
64
64
  alarmTime: e.alarm_time || e.alarmTime || "",
@@ -67,9 +67,9 @@ var g = {
67
67
  }, z = () => {
68
68
  M("close", "RadarChart");
69
69
  };
70
- return (n, s) => {
71
- let c = e;
72
- return h((u(), a("div", g, [o("div", _, [o("div", v, [o("div", null, p(t.title), 1), o("div", {
70
+ return (t, s) => {
71
+ let c = n;
72
+ return h((u(), a("div", g, [o("div", _, [o("div", v, [o("div", null, p(e.title), 1), o("div", {
73
73
  class: "closeBtn",
74
74
  onClick: z,
75
75
  title: "关闭"
@@ -1,4 +1,4 @@
1
- import { n as e } from "./component-AqiMonitor-DoGm_NCt.mjs";
1
+ import { n as e } from "./component-AqiMonitor-n1rMcUkd.mjs";
2
2
  import { Fragment as t, createElementBlock as n, createElementVNode as r, defineComponent as i, getCurrentInstance as a, normalizeClass as o, normalizeStyle as s, onMounted as c, openBlock as l, ref as u, renderList as d, toDisplayString as f, vShow as p, withDirectives as m } from "vue";
3
3
  //#region src/components/RadarLegend/RadarLegend.vue?vue&type=script&setup=true&lang.ts
4
4
  var h = { class: "RadarLegend-colorList" }, g = { class: "valueText" }, _ = /* @__PURE__ */ e(/* @__PURE__ */ i({
@@ -1,11 +1,12 @@
1
- import "./rolldown-runtime-Dd0fQ6-X.mjs";
2
- import { A as e, S as t, j as n, m as r } from "./component-HighWayFreeze-C_Y5P0wN.mjs";
3
- import { a as i, n as a, r as o } from "./component-AqiMonitor-DoGm_NCt.mjs";
4
- import "./component-ImageGeneration-9XdsjkaE.mjs";
5
- import { n as s } from "./component-HighwayLiveAlarmNew-W2DKwrPk.mjs";
6
- import { n as ee } from "./component-HighWayEarlyWarningRed-D89gFa50.mjs";
7
- import { t as te } from "./component-RadarLegend-BKm_34Tm.mjs";
8
- import { Fragment as c, computed as l, createBlock as u, createCommentVNode as ne, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineComponent as h, nextTick as re, normalizeClass as g, normalizeStyle as _, onBeforeUnmount as ie, onMounted as ae, openBlock as v, ref as y, renderList as b, toDisplayString as x, unref as S, vShow as C, watch as w, withCtx as T, withDirectives as E } from "vue";
1
+ import { n as e, r as t } from "./component-AqiMonitor-n1rMcUkd.mjs";
2
+ import { n } from "./component-HighWayEarlyWarningRed-BnJyShce.mjs";
3
+ import { t as r } from "./component-RadarLegend-Coihcxje.mjs";
4
+ import { ElCheckbox as i, ElIcon as a, ElLoadingDirective as o } from "element-plus/es";
5
+ import { Fragment as s, computed as c, createBlock as l, createCommentVNode as ee, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, nextTick as h, normalizeClass as g, normalizeStyle as te, onBeforeUnmount as ne, onMounted as re, openBlock as _, ref as v, renderList as y, toDisplayString as b, unref as x, vShow as S, watch as C, withCtx as w, withDirectives as T } from "vue";
6
+ import { ArrowRight as E, VideoPause as ie, VideoPlay as ae } from "@element-plus/icons-vue";
7
+ import "element-plus/es/components/loading/style/css";
8
+ import "element-plus/es/components/checkbox/style/css";
9
+ import "element-plus/es/components/slider/style/css";
9
10
  //#region src/components/RadarShortTerm/RadarShortTerm.vue?vue&type=script&setup=true&lang.ts
10
11
  var oe = {
11
12
  class: "RadarShortTerm",
@@ -19,7 +20,7 @@ var oe = {
19
20
  }, ye = ["onClick"], be = {
20
21
  key: 1,
21
22
  class: "pile-empty"
22
- }, xe = { class: "RadarShortTerm-timeline" }, Se = ["title"], Ce = { class: "timeline-slider-wrap" }, we = { class: "timeline-time-label" }, Te = { class: "radarAxis-li" }, Ee = ["onClick"], De = { class: "radarAxis-li-node-text" }, D = /* @__PURE__ */ a(/* @__PURE__ */ h({
23
+ }, xe = { class: "RadarShortTerm-timeline" }, Se = ["title"], Ce = { class: "timeline-slider-wrap" }, we = { class: "timeline-time-label" }, Te = { class: "radarAxis-li" }, Ee = ["onClick"], De = { class: "radarAxis-li-node-text" }, D = /* @__PURE__ */ e(/* @__PURE__ */ m({
23
24
  __name: "RadarShortTerm",
24
25
  props: {
25
26
  appKey: {
@@ -50,25 +51,25 @@ var oe = {
50
51
  "setImgAniShowByIndex",
51
52
  "changeLoading"
52
53
  ],
53
- setup(a, { emit: h }) {
54
- let D = a, O = h, k = y(!0), A = y(!1), j = y(0), M = y(null), N = y([]), P = y({}), F = y({}), I = y({}), L = y(""), R = y(null), z = y(!0), B = y(null), V = y(!0), H = y(null), U = y({
54
+ setup(e, { emit: m }) {
55
+ let D = e, O = m, k = v(!0), A = v(!1), j = v(0), M = v(null), N = v([]), P = v({}), F = v({}), I = v({}), L = v(""), R = v(null), z = v(!0), B = v(null), V = v(!0), H = v(null), U = v({
55
56
  httpurl: "",
56
57
  lngStart: void 0,
57
58
  latStart: void 0,
58
59
  lngEnd: void 0,
59
60
  latEnd: void 0
60
- }), W = y({
61
+ }), W = v({
61
62
  httpurl: "",
62
63
  lngStart: void 0,
63
64
  latStart: void 0,
64
65
  lngEnd: void 0,
65
66
  latEnd: void 0
66
67
  });
67
- ae(() => {
68
+ re(() => {
68
69
  G(), B.value = setInterval(() => {
69
70
  G();
70
71
  }, 1e3 * 60 * 10);
71
- }), ie(() => {
72
+ }), ne(() => {
72
73
  Q(), clearInterval(B.value), B.value = null;
73
74
  });
74
75
  let G = async () => {
@@ -82,7 +83,7 @@ var oe = {
82
83
  }), Ae(), z.value = !1;
83
84
  }, K = async () => {
84
85
  z.value = !0;
85
- let e = await o({
86
+ let e = await t({
86
87
  appKey: D.appKey,
87
88
  appSalt: D.appSalt,
88
89
  id: D.ids.radar.id,
@@ -92,7 +93,7 @@ var oe = {
92
93
  isFormData: D.ids.radar.isFormData
93
94
  });
94
95
  console.log("雷达", e.data.result);
95
- let t = await o({
96
+ let n = await t({
96
97
  appKey: D.appKey,
97
98
  appSalt: D.appSalt,
98
99
  id: D.ids.historyRadar.id,
@@ -101,31 +102,31 @@ var oe = {
101
102
  reqType: D.ids.historyRadar.reqType,
102
103
  isFormData: D.ids.historyRadar.isFormData
103
104
  });
104
- console.log("历史雷达", t.data.result), z.value = !1;
105
- let n = q(e.data.result), r = q(t.data.result);
105
+ console.log("历史雷达", n.data.result), z.value = !1;
106
+ let r = q(e.data.result), i = q(n.data.result);
106
107
  U.value = {
107
- httpurl: n.httpurl,
108
- ...n.extent
109
- }, W.value = {
110
108
  httpurl: r.httpurl,
111
109
  ...r.extent
110
+ }, W.value = {
111
+ httpurl: i.httpurl,
112
+ ...i.extent
112
113
  };
113
- let i = r.frames.slice(-3).map((e, t) => ({
114
+ let a = i.frames.slice(-3).map((e, t) => ({
114
115
  ...e,
115
116
  focarcast_time: e.observation_time,
116
117
  _isHistory: !0,
117
118
  _label: t === 0 ? "-2" : t === 1 ? "-1" : "现在",
118
- _httpurl: (r.httpurl || "") + (e.observation_time || "").slice(0, 10).replaceAll("-", "") + "/"
119
- })), a = n.frames.map((e, t) => ({
119
+ _httpurl: (i.httpurl || "") + (e.observation_time || "").slice(0, 10).replaceAll("-", "") + "/"
120
+ })), o = r.frames.map((e, t) => ({
120
121
  ...e,
121
122
  _isHistory: !1,
122
123
  _label: `+${t + 1}`,
123
- _httpurl: n.httpurl || ""
124
- })), s = [...i, ...a];
124
+ _httpurl: r.httpurl || ""
125
+ })), s = [...a, ...o];
125
126
  I.value = {
126
127
  ds: s,
127
- httpurl: n.httpurl,
128
- ...r.extent
128
+ httpurl: r.httpurl,
129
+ ...i.extent
129
130
  }, j.value = 2, k.value && (O("clearImgAniArr"), s.forEach((e) => {
130
131
  let t = Ie(e);
131
132
  t && O("addImageAniArr", { data: { imgArr: [t] } });
@@ -135,7 +136,7 @@ var oe = {
135
136
  Le(e), O("showRadarLegend", !0);
136
137
  }, 1e3));
137
138
  }, Oe = async () => {
138
- let e = await o({
139
+ let e = await t({
139
140
  appKey: D.appKey,
140
141
  appSalt: D.appSalt,
141
142
  id: D.ids.shortTerm.id,
@@ -162,7 +163,7 @@ var oe = {
162
163
  httpurl: i,
163
164
  extent: r
164
165
  };
165
- }, J = l(() => Pe(N.value, (e) => Z(e.tags))), Y = l(() => I.value?.ds || []), X = l(() => Y.value.map((e) => {
166
+ }, J = c(() => Pe(N.value, (e) => Z(e.tags))), Y = c(() => I.value?.ds || []), X = c(() => Y.value.map((e) => {
166
167
  let t = new Date(e.focarcast_time);
167
168
  return `${String(t.getHours()).padStart(2, "0")}:${String(t.getMinutes()).padStart(2, "0")}`;
168
169
  })), Ae = () => {
@@ -211,7 +212,7 @@ var oe = {
211
212
  otherData: { imgId: "radar_RadarShortTerm" }
212
213
  };
213
214
  }, Le = (e) => {
214
- L.value && O("removeDataTitle", L.value), L.value = "雷达观测时间:" + ee(e.focarcast_time).format("YYYY-MM-DD HH:mm "), O("addDataTitle", L.value);
215
+ L.value && O("removeDataTitle", L.value), L.value = "雷达观测时间:" + n(e.focarcast_time).format("YYYY-MM-DD HH:mm "), O("addDataTitle", L.value);
215
216
  }, Re = (e) => {
216
217
  O("setImgAniShowByIndex", { index: e });
217
218
  let t = Y.value[e];
@@ -231,10 +232,10 @@ var oe = {
231
232
  }
232
233
  ze();
233
234
  };
234
- w(j, (e) => {
235
+ C(j, (e) => {
235
236
  Re(e), V.value && H.value !== null && e === H.value && (V.value = !1, H.value = null, O("changeLoading", !1));
236
- }), w(j, () => {
237
- re(() => {
237
+ }), C(j, () => {
238
+ h(() => {
238
239
  let e = R.value;
239
240
  if (!e) return;
240
241
  let t = e.querySelectorAll(".radarAxis-li")[j.value];
@@ -267,107 +268,107 @@ var oe = {
267
268
  zoom: 11
268
269
  });
269
270
  };
270
- return (a, o) => {
271
- let ee = s, l = r, h = i;
272
- return E((v(), d("div", oe, [
273
- f("div", { class: "RadarShortTerm-head" }, [f("div", { class: "RadarShortTerm-head-top" }, [o[1] ||= f("div", null, "雷达短临预报", -1), f("div", { class: "head-actions" }, [f("div", {
271
+ return (e, t) => {
272
+ let n = i, c = a, m = r, h = o;
273
+ return T((_(), u("div", oe, [
274
+ d("div", { class: "RadarShortTerm-head" }, [d("div", { class: "RadarShortTerm-head-top" }, [t[1] ||= d("div", null, "雷达短临预报", -1), d("div", { class: "head-actions" }, [d("div", {
274
275
  class: "closeBtn",
275
276
  onClick: Ge,
276
277
  title: "关闭"
277
- })])]), o[2] ||= f("img", {
278
+ })])]), t[2] ||= d("img", {
278
279
  class: "RadarShortTerm-head-line",
279
280
  src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbsAAAASBAMAAAAwI22/AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAwUExURQAAAAem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/5bu5GYAAAAPdFJOUwAFwAwc2M8ULQYDn/hGXGnV2UoAAAGZSURBVEjH7ZM/S8NAGId/JYGmmeLspptThurk0CHWRXGo0Nk/S50y6CYSHMRF7Efo4uQXEIpbwUnM6OhnEIeChXjv5ZLLXdLtLCX68vDCe0eGJ7/3AJN1VcL+UImB/SruVJwYTqSAW5V3LLyaPR1c+IIdH12OPZiLcyTAjccZEdccZ0Nn4bXpC3KpCuFu5tkdziX3FJxBSBZZdFk9HempCduMk4xSitJTpOgJSSIPrx10YAUB0tYOwrQ1g12k7ZyODIYXZmQpppLV26rtbDFOXVhua2Fn7WTWwUEyAe5Zc2hiLWTTC3jjk8Hw+jrSM9/Z8raKOAtZVmyr9jbpee4lU9hvSUStw6YvOpqwiXlK9d8IL0Oq5tuqvc3KLMs7q9uyCC0y22aKvDVp4u2SjnJ1c+Wecg7h9gV4CFV8NHpEaw7yF2wVGcIa6OBx/Ax3PI6pRWx6Am98alBbpSODNVTxgAbQUpF3KeVv0s80xMUow8N//YVaqWEV9BJDdby2PBUZ1/te0uU0YzeLa623jjrrvaLOep/+str9ACyAtv25BhHcAAAAAElFTkSuQmCC",
280
281
  alt: ""
281
282
  }, null, -1)]),
282
- f("div", se, [f("div", ce, [f("div", le, [o[4] ||= f("span", { class: "setting-label" }, "雷达展示:", -1), f("div", ue, [m(ee, {
283
+ d("div", se, [d("div", ce, [d("div", le, [t[4] ||= d("span", { class: "setting-label" }, "雷达展示:", -1), d("div", ue, [p(n, {
283
284
  modelValue: k.value,
284
- "onUpdate:modelValue": o[0] ||= (e) => k.value = e,
285
+ "onUpdate:modelValue": t[0] ||= (e) => k.value = e,
285
286
  class: "pile-checkbox",
286
287
  onChange: He
287
288
  }, {
288
- default: T(() => [...o[3] ||= [p(" 显示 ", -1)]]),
289
+ default: w(() => [...t[3] ||= [f(" 显示 ", -1)]]),
289
290
  _: 1
290
291
  }, 8, ["modelValue"])])])])]),
291
- f("div", de, [o[7] ||= f("div", { class: "table-head" }, [
292
- f("span", null, "高速名称"),
293
- f("span", null, "状态要素"),
294
- f("span", { class: "head-arrow" })
295
- ], -1), f("div", fe, [(v(!0), d(c, null, b(J.value, (e) => (v(), d("div", {
292
+ d("div", de, [t[7] ||= d("div", { class: "table-head" }, [
293
+ d("span", null, "高速名称"),
294
+ d("span", null, "状态要素"),
295
+ d("span", { class: "head-arrow" })
296
+ ], -1), d("div", fe, [(_(!0), u(s, null, y(J.value, (e) => (_(), u("div", {
296
297
  class: "table-row",
297
298
  key: e.name
298
299
  }, [
299
- f("div", {
300
+ d("div", {
300
301
  class: "table-row-main",
301
302
  onClick: (t) => Ue(e.name)
302
303
  }, [
303
- f("span", me, x(e.name), 1),
304
- f("div", { class: g(["status-tags", { "has-warn": Z(e.tags) }]) }, [(v(!0), d(c, null, b(e.tags, (t) => (v(), d("span", {
304
+ d("span", me, b(e.name), 1),
305
+ d("div", { class: g(["status-tags", { "has-warn": Z(e.tags) }]) }, [(_(!0), u(s, null, y(e.tags, (t) => (_(), u("span", {
305
306
  class: g(["status-tag", { warn: t.warn }]),
306
307
  key: `${e.name}-${t.label}`
307
- }, [f("span", null, x(t.label), 1)], 2))), 128))], 2),
308
- f("span", {
308
+ }, [d("span", null, b(t.label), 1)], 2))), 128))], 2),
309
+ d("span", {
309
310
  class: g(["expand-arrow", { expanded: P.value[e.name] }]),
310
311
  "aria-hidden": "true"
311
- }, [m(l, null, {
312
- default: T(() => [m(S(t))]),
312
+ }, [p(c, null, {
313
+ default: w(() => [p(x(E))]),
313
314
  _: 1
314
315
  })], 2)
315
316
  ], 8, pe),
316
- E(f("div", {
317
+ T(d("div", {
317
318
  class: "pile-title",
318
319
  onClick: (t) => We(e.name)
319
- }, [f("span", null, [o[5] ||= p(" 桩号数据 ", -1), Fe(e.piles) > 0 ? (v(), d("span", ge, " (报警数量:" + x(Fe(e.piles)) + "个)", 1)) : ne("", !0)]), f("span", { class: g(["panel-arrow", { expanded: F.value[e.name] }]) }, [m(l, null, {
320
- default: T(() => [m(S(t))]),
320
+ }, [d("span", null, [t[5] ||= f(" 桩号数据 ", -1), Fe(e.piles) > 0 ? (_(), u("span", ge, " (报警数量:" + b(Fe(e.piles)) + "个)", 1)) : ee("", !0)]), d("span", { class: g(["panel-arrow", { expanded: F.value[e.name] }]) }, [p(c, null, {
321
+ default: w(() => [p(x(E))]),
321
322
  _: 1
322
- })], 2)], 8, he), [[C, P.value[e.name]]]),
323
- E(f("div", _e, [o[6] ||= f("div", { class: "pile-head" }, [
324
- f("span", null, "桩号"),
325
- f("span", null, "未来R1h"),
326
- f("span", null, "未来R2h"),
327
- f("span", null, "未来R3h")
328
- ], -1), e.piles.length ? (v(), d("div", ve, [(v(!0), d(c, null, b(e.piles, (e) => (v(), d("div", {
323
+ })], 2)], 8, he), [[S, P.value[e.name]]]),
324
+ T(d("div", _e, [t[6] ||= d("div", { class: "pile-head" }, [
325
+ d("span", null, "桩号"),
326
+ d("span", null, "未来R1h"),
327
+ d("span", null, "未来R2h"),
328
+ d("span", null, "未来R3h")
329
+ ], -1), e.piles.length ? (_(), u("div", ve, [(_(!0), u(s, null, y(e.piles, (e) => (_(), u("div", {
329
330
  class: g(["pile-row", { "is-warn": e.isWarn }]),
330
331
  key: e.pileNo,
331
332
  onClick: (t) => Ke(e)
332
333
  }, [
333
- f("span", null, x(e.pileNo), 1),
334
- f("span", null, x(e.rain1h), 1),
335
- f("span", null, x(e.rain2h), 1),
336
- f("span", null, x(e.rain3h), 1)
337
- ], 10, ye))), 128))])) : (v(), d("div", be, "暂无数据"))], 512), [[C, P.value[e.name] && F.value[e.name]]])
334
+ d("span", null, b(e.pileNo), 1),
335
+ d("span", null, b(e.rain1h), 1),
336
+ d("span", null, b(e.rain2h), 1),
337
+ d("span", null, b(e.rain3h), 1)
338
+ ], 10, ye))), 128))])) : (_(), u("div", be, "暂无数据"))], 512), [[S, P.value[e.name] && F.value[e.name]]])
338
339
  ]))), 128))])]),
339
- E(m(te, {
340
+ T(p(m, {
340
341
  show: !0,
341
342
  isVertical: !1,
342
343
  class: "RadarShortTerm-legend"
343
- }, null, 512), [[C, k.value]]),
344
- E(f("div", xe, [f("button", {
344
+ }, null, 512), [[S, k.value]]),
345
+ T(d("div", xe, [d("button", {
345
346
  type: "button",
346
347
  class: "timeline-play-btn",
347
348
  title: A.value ? "暂停" : "播放",
348
349
  onClick: Be
349
- }, [m(l, null, {
350
- default: T(() => [A.value ? (v(), u(S(e), { key: 0 })) : (v(), u(S(n), { key: 1 }))]),
350
+ }, [p(c, null, {
351
+ default: w(() => [A.value ? (_(), l(x(ie), { key: 0 })) : (_(), l(x(ae), { key: 1 }))]),
351
352
  _: 1
352
- })], 8, Se), f("div", Ce, [f("span", we, x(X.value[j.value] || ""), 1), f("div", {
353
+ })], 8, Se), d("div", Ce, [d("span", we, b(X.value[j.value] || ""), 1), d("div", {
353
354
  class: "radarAxis",
354
355
  ref_key: "ref_radarAxis",
355
356
  ref: R
356
- }, [(v(!0), d(c, null, b(Y.value, (e, t) => (v(), d("div", Te, [f("div", {
357
+ }, [(_(!0), u(s, null, y(Y.value, (e, n) => (_(), u("div", Te, [d("div", {
357
358
  class: "radarAxis-li-node",
358
- onClick: (e) => (j.value = Number(t), Ve())
359
+ onClick: (e) => (j.value = Number(n), Ve())
359
360
  }, [
360
- f("i", { style: _({ backgroundColor: e._isHistory ? "" : "#ca9e64" }) }, null, 4),
361
- E(f("span", null, [...o[8] ||= [f("i", null, null, -1)]], 512), [[C, t === j.value]]),
362
- f("div", De, [f("b", null, x(e._label), 1)])
363
- ], 8, Ee), (v(), d(c, null, b(4, (n) => E(f("div", {
361
+ d("i", { style: te({ backgroundColor: e._isHistory ? "" : "#ca9e64" }) }, null, 4),
362
+ T(d("span", null, [...t[8] ||= [d("i", null, null, -1)]], 512), [[S, n === j.value]]),
363
+ d("div", De, [d("b", null, b(e._label), 1)])
364
+ ], 8, Ee), (_(), u(s, null, y(4, (t) => T(d("div", {
364
365
  class: "radarAxis-li-point",
365
- key: n,
366
- style: _({ backgroundColor: e._isHistory ? "" : "#ca9e64" })
367
- }, null, 4), [[C, t !== Y.value.length - 1]])), 64))]))), 256))], 512)])], 512), [[C, k.value]])
366
+ key: t,
367
+ style: te({ backgroundColor: e._isHistory ? "" : "#ca9e64" })
368
+ }, null, 4), [[S, n !== Y.value.length - 1]])), 64))]))), 256))], 512)])], 512), [[S, k.value]])
368
369
  ])), [[h, z.value]]);
369
370
  };
370
371
  }
371
- }), [["__scopeId", "data-v-f7fc9003"]]);
372
+ }), [["__scopeId", "data-v-2cd49a0d"]]);
372
373
  //#endregion
373
374
  export { D as t };
@@ -1,5 +1,5 @@
1
- import "./rolldown-runtime-Dd0fQ6-X.mjs";
2
- import { a as e, n as t, r as n } from "./component-AqiMonitor-DoGm_NCt.mjs";
1
+ import { n as e, r as t } from "./component-AqiMonitor-n1rMcUkd.mjs";
2
+ import { ElLoadingDirective as n } from "element-plus/es";
3
3
  import { Fragment as r, computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, defineComponent as c, getCurrentInstance as l, normalizeClass as u, normalizeStyle as d, onMounted as f, onUnmounted as ee, openBlock as p, ref as m, renderList as h, toDisplayString as g, vShow as _, watch as te, withDirectives as v, withModifiers as y } from "vue";
4
4
  //#region src/components/RadarTime/RadarTime.vue?vue&type=script&setup=true&lang.ts
5
5
  var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class: "RadarTime__head-top" }, ie = { class: "RadarTime__body" }, ae = { class: "RadarTime__toolbar" }, oe = { class: "RadarTime__display" }, se = { class: "RadarTime__panel" }, ce = { class: "RadarTime__time-list" }, le = ["onClick"], ue = {
@@ -22,7 +22,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
22
22
  height: "20",
23
23
  viewBox: "0 0 24 24",
24
24
  fill: "#fff"
25
- }, Se = { class: "RadarTime__track-bg" }, Ce = { class: "RadarTime__track-content" }, we = ["onClick"], S = /* @__PURE__ */ t(/* @__PURE__ */ c({
25
+ }, Se = { class: "RadarTime__track-bg" }, Ce = { class: "RadarTime__track-content" }, we = ["onClick"], S = /* @__PURE__ */ e(/* @__PURE__ */ c({
26
26
  __name: "RadarTime",
27
27
  props: {
28
28
  appKey: {
@@ -118,8 +118,8 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
118
118
  "addPolygon",
119
119
  "addMarker"
120
120
  ],
121
- setup(t, { emit: c }) {
122
- let S = l()?.appContext.config.globalProperties.$bus, C = t, w = c, T = m(!1), E = m(!1), D = m([]), O = m([]), k = m([]), A = m(0), j = m([]), M = m(null), N = m(!1), P = m(null), F = m(!1), I = m(null), L = m(0), R = i(() => O.value.map((e) => ({
121
+ setup(e, { emit: c }) {
122
+ let S = l()?.appContext.config.globalProperties.$bus, C = e, w = c, T = m(!1), E = m(!1), D = m([]), O = m([]), k = m([]), A = m(0), j = m([]), M = m(null), N = m(!1), P = m(null), F = m(!1), I = m(null), L = m(0), R = i(() => O.value.map((e) => ({
123
123
  time: e.radar_time,
124
124
  displayTime: e.radar_time?.substring(11, 16) || "",
125
125
  selectedTime: e.radar_time?.substring(0, 16) || ""
@@ -236,7 +236,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
236
236
  isFormData: C.ids.data.isFormData
237
237
  };
238
238
  try {
239
- let t = (await n(e)).data?.result?.output || "", r = JSON.parse(t)?.data || [];
239
+ let n = (await t(e)).data?.result?.output || "", r = JSON.parse(n)?.data || [];
240
240
  console.log(r, "雷达实况数据(标准版)"), r && r.length > 0 && (r = r.reverse(), O.value = r.map((e) => {
241
241
  let t = "";
242
242
  if (e.imagePath) {
@@ -257,7 +257,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
257
257
  T.value = !1;
258
258
  }
259
259
  }, $ = async (e) => {
260
- let t = {
260
+ let n = {
261
261
  appKey: C.appKey,
262
262
  appSalt: C.appSalt,
263
263
  id: C.ids.data.forecastId,
@@ -267,7 +267,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
267
267
  isFormData: C.ids.data.isFormData
268
268
  };
269
269
  try {
270
- let e = await n(t);
270
+ let e = await t(n);
271
271
  console.log(e, "雷达外推数据");
272
272
  let r = e.data?.result?.output || "", i = {};
273
273
  try {
@@ -302,7 +302,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
302
302
  }), console.log(k.value, "forecastList 外推数据");
303
303
  }, Le = async () => {
304
304
  try {
305
- let e = (await n({
305
+ let e = (await t({
306
306
  appKey: C.appKey,
307
307
  appSalt: C.appSalt,
308
308
  id: C.ids.data.radarListId,
@@ -445,9 +445,9 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
445
445
  }, Ve = () => {
446
446
  Y(), w("clearImg", "radarLayer"), w("close", "RadarTime");
447
447
  };
448
- return (n, i) => {
449
- let c = e;
450
- return v((p(), o("div", b, [s("div", ne, [s("div", re, [t.showCloseBtn ? (p(), o("div", {
448
+ return (t, i) => {
449
+ let c = n;
450
+ return v((p(), o("div", b, [s("div", ne, [s("div", re, [e.showCloseBtn ? (p(), o("div", {
451
451
  key: 0,
452
452
  class: "closeBtn",
453
453
  onClick: Ve,
@@ -471,11 +471,11 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
471
471
  onClick: (e) => Oe(t)
472
472
  }, g(e.time), 11, le))), 128))])], 512), [[_, F.value]])], 512),
473
473
  D.value.length > 0 && A.value >= 0 ? (p(), o("div", ue, [i[2] ||= s("span", { class: "RadarTime__node-label" }, "当前:", -1), s("span", de, g(D.value[A.value]?.time || "--:--"), 1)])) : a("", !0),
474
- s("div", fe, [i[3] ||= s("span", { class: "RadarTime__legend-title" }, "图例", -1), s("div", pe, [(p(!0), o(r, null, h(t.legendData, (e, t) => (p(), o("div", {
474
+ s("div", fe, [i[3] ||= s("span", { class: "RadarTime__legend-title" }, "图例", -1), s("div", pe, [(p(!0), o(r, null, h(e.legendData, (e, t) => (p(), o("div", {
475
475
  key: t,
476
476
  class: "RadarTime__legend-segment",
477
477
  style: d({ backgroundColor: e.color })
478
- }, null, 4))), 128)), s("div", x, [(p(!0), o(r, null, h(t.legendData, (e, t) => (p(), o("span", { key: t }, g(e.value), 1))), 128))])])])
478
+ }, null, 4))), 128)), s("div", x, [(p(!0), o(r, null, h(e.legendData, (e, t) => (p(), o("span", { key: t }, g(e.value), 1))), 128))])])])
479
479
  ]),
480
480
  j.value.length > 0 ? (p(), o("div", me, [s("div", {
481
481
  class: "RadarTime__station-dropdown",
@@ -1,4 +1,4 @@
1
- import { n as e, r as t } from "./component-AqiMonitor-DoGm_NCt.mjs";
1
+ import { n as e, r as t } from "./component-AqiMonitor-n1rMcUkd.mjs";
2
2
  import { Fragment as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, defineComponent as o, getCurrentInstance as s, onMounted as c, openBlock as l, ref as u, renderList as d, toDisplayString as f, withModifiers as p } from "vue";
3
3
  //#region src/components/ServiceMaterial/ServiceMaterial.vue?vue&type=script&setup=true&lang.ts
4
4
  var m = { class: "ServiceMaterial" }, h = { class: "ServiceMaterial__head" }, g = { class: "ServiceMaterial__head-top" }, _ = { class: "ServiceMaterial__body" }, v = { class: "ServiceMaterial__list" }, y = { class: "ServiceMaterial__list-container" }, b = { class: "ServiceMaterial__list-content" }, x = { class: "ServiceMaterial__list-col ServiceMaterial__list-col--name" }, S = ["title"], C = { class: "ServiceMaterial__list-col ServiceMaterial__list-col--time" }, w = { class: "ServiceMaterial__list-col ServiceMaterial__list-col--action" }, T = ["onClick"], E = ["onClick"], D = {