nxd-plugin 1.7.73 → 1.7.75

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 (52) hide show
  1. package/dist/assets/dataJson/HighQualityConfig.json.d.ts +339 -0
  2. package/dist/chunks/component-AiChat-Q30QFcNW.mjs +47618 -0
  3. package/dist/chunks/{component-AqiMonitor-DbEiA-eq.mjs → component-AqiMonitor-Bnnw0FMj.mjs} +22 -18
  4. package/dist/chunks/{component-ChartCumulativePre-CqnTrs3A.mjs → component-ChartCumulativePre-C0GUFXEa.mjs} +6 -6
  5. package/dist/chunks/{component-ChartServiceMaterial-DN-uO_OP.mjs → component-ChartServiceMaterial-CNGZyHfu.mjs} +5 -5
  6. package/dist/chunks/{component-Duty-BJOz8pxV.mjs → component-Duty-8taqj71c.mjs} +5 -5
  7. package/dist/chunks/{component-EarlyWarningStatistic-DvAmY7Gh.mjs → component-EarlyWarningStatistic-CXzvMFSw.mjs} +5 -5
  8. package/dist/chunks/{component-GeologyLiveAlarm-CRRIUd2h.mjs → component-GeologyLiveAlarm-C6uBCDIM.mjs} +6 -6
  9. package/dist/chunks/component-HighQuality-DFvbK5Vt.mjs +1120 -0
  10. package/dist/chunks/{component-HighWayEarlyWarningRed-DgNrFdzm.mjs → component-HighWayEarlyWarningRed-VCLYuCBe.mjs} +6 -6
  11. package/dist/chunks/{component-HighWayFreeze-DzBnVD2r.mjs → component-HighWayFreeze-B3F7d3lb.mjs} +7 -7
  12. package/dist/chunks/{component-HighwayLiveAlarm-DZM7_KsV.mjs → component-HighwayLiveAlarm-CJdM4vx6.mjs} +5 -5
  13. package/dist/chunks/{component-HighwayLiveAlarmNew-CPbcFfFw.mjs → component-HighwayLiveAlarmNew-F1sJV5h6.mjs} +9 -9
  14. package/dist/chunks/{component-HighwayStations-BQM5VnrX.mjs → component-HighwayStations-Bz6Zekf1.mjs} +5 -5
  15. package/dist/chunks/{component-HighwayWeatherForecast-jJgs1nWv.mjs → component-HighwayWeatherForecast-BvuVI9p6.mjs} +5 -5
  16. package/dist/chunks/{component-IframeWeb-2o0iO_zv.mjs → component-IframeWeb-CqORkYhs.mjs} +1 -1
  17. package/dist/chunks/{component-ImageGeneration-BpL7GGVe.mjs → component-ImageGeneration-DxvSAg0-.mjs} +1 -1
  18. package/dist/chunks/component-IntroducePic-CW0bRPyF.mjs +58 -0
  19. package/dist/chunks/{component-LithiumBatteryMiningArea-Cu4xOUMT.mjs → component-LithiumBatteryMiningArea-DRuCBQHX.mjs} +11 -11
  20. package/dist/chunks/{component-MapPopup-BKpmRiRc.mjs → component-MapPopup-5ov9bufN.mjs} +1 -1
  21. package/dist/chunks/{component-MaterialPreview-B9hPgmCc.mjs → component-MaterialPreview-BIrxdpHg.mjs} +5 -5
  22. package/dist/chunks/{component-PieLegend-oUHPJc3-.mjs → component-PieLegend-BrcbU4Hc.mjs} +1 -1
  23. package/dist/chunks/{component-RadarChart-Kv3AUHxN.mjs → component-RadarChart-BvRhuudc.mjs} +9 -9
  24. package/dist/chunks/{component-RadarLegend-CkBt4euh.mjs → component-RadarLegend-BQrNUHJu.mjs} +1 -1
  25. package/dist/chunks/{component-RadarShortTerm-sDd-YZK5.mjs → component-RadarShortTerm-DSqGlMQq.mjs} +12 -12
  26. package/dist/chunks/{component-RadarTime-B_8GIAtB.mjs → component-RadarTime-DeA11c09.mjs} +17 -17
  27. package/dist/chunks/{component-RenderMarkdown-DeNXJIM-.mjs → component-RenderMarkdown-BA6QDwis.mjs} +5 -5
  28. package/dist/chunks/{component-ReservoirLiveAlarm-BfYMEzip.mjs → component-ReservoirLiveAlarm-CwQGV2pX.mjs} +7 -7
  29. package/dist/chunks/{component-ServiceMaterial-oEiMoM8L.mjs → component-ServiceMaterial-D4na59x3.mjs} +8 -8
  30. package/dist/chunks/{component-ServiceMaterialsBtn-bkSh2Pec.mjs → component-ServiceMaterialsBtn-pvj67yYf.mjs} +1 -1
  31. package/dist/chunks/{component-TimeBasedForecast-B7joXIvV.mjs → component-TimeBasedForecast-JuvtROGA.mjs} +9 -9
  32. package/dist/chunks/{component-WarningLine-C3-1NPwv.mjs → component-WarningLine-Dcn_betl.mjs} +2 -2
  33. package/dist/chunks/{component-WarningSignal-Bj-bDMis.mjs → component-WarningSignal-q50D47rs.mjs} +16 -16
  34. package/dist/chunks/{component-WeatherForecast-Dyf8v_Fq.mjs → component-WeatherForecast-ByBdU74M.mjs} +11 -11
  35. package/dist/chunks/{component-YCDataMonitor-BW_Cmxsb.mjs → component-YCDataMonitor-DcWd4kcO.mjs} +16 -16
  36. package/dist/chunks/{component-YCDataService-Bp6uTbfE.mjs → component-YCDataService-mOrVZ4oo.mjs} +10 -10
  37. package/dist/chunks/{component-YCHome-CCSemcIf.mjs → component-YCHome-C-UM-oMR.mjs} +34 -34
  38. package/dist/chunks/{component-YCHomeLegend-CsgZ7ayU.mjs → component-YCHomeLegend-LI2zcDnx.mjs} +1 -1
  39. package/dist/chunks/{component-YCLoginNew-CAKG8hmF.mjs → component-YCLoginNew-DSeX5cyy.mjs} +18 -18
  40. package/dist/components/AiChat/AiChat.vue.d.ts +61 -0
  41. package/dist/components/AiChat/AiChatResponse.vue.d.ts +7 -0
  42. package/dist/components/AiChat/renderMarkdown.d.ts +1 -0
  43. package/dist/components/AiChat/types.d.ts +48 -0
  44. package/dist/components/HighQuality/HighQuality.vue.d.ts +67 -0
  45. package/dist/composables/useDraggable.d.ts +13 -0
  46. package/dist/index.d.ts +4 -1
  47. package/dist/nxd-plugin.mjs +40 -37
  48. package/dist/styles/component-AiChat.css +1 -0
  49. package/dist/styles/component-HighQuality.css +1 -0
  50. package/dist/styles/component-IntroducePic.css +1 -0
  51. package/dist/styles/component-YCLoginNew.css +1 -1
  52. package/package.json +7 -2
@@ -1,4 +1,4 @@
1
- import { n as e, r as t } from "./component-AqiMonitor-DbEiA-eq.mjs";
1
+ import { i as e, n as t } from "./component-AqiMonitor-Bnnw0FMj.mjs";
2
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
@@ -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__ */ e(/* @__PURE__ */ s({
14
+ } }, k = { key: 0 }, A = /* @__PURE__ */ t(/* @__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(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);
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);
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 t({
50
+ let t = await e({
51
51
  appKey: j.appKey,
52
52
  appSalt: j.appSalt,
53
53
  id: j.ids.data.id,
@@ -56,8 +56,8 @@ var g = {
56
56
  reqType: j.ids.data.reqType,
57
57
  isFormData: j.ids.data.isFormData
58
58
  });
59
- N.value = !1, console.log(e, "雷达数据");
60
- let n = e.data?.result?.output || [];
59
+ N.value = !1, console.log(t, "雷达数据");
60
+ let n = t.data?.result?.output || [];
61
61
  n && n.length > 0 && (P.value = n.map((e) => ({
62
62
  ...e,
63
63
  areaName: e.area_name || e.areaName || "",
@@ -67,9 +67,9 @@ var g = {
67
67
  }, z = () => {
68
68
  M("close", "RadarChart");
69
69
  };
70
- return (t, s) => {
70
+ return (e, s) => {
71
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", {
72
+ return h((u(), a("div", g, [o("div", _, [o("div", v, [o("div", null, p(t.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-DbEiA-eq.mjs";
1
+ import { n as e } from "./component-AqiMonitor-Bnnw0FMj.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,6 +1,6 @@
1
- import { n as e, r as t } from "./component-AqiMonitor-DbEiA-eq.mjs";
2
- import { n } from "./component-HighWayEarlyWarningRed-DgNrFdzm.mjs";
3
- import { t as r } from "./component-RadarLegend-CkBt4euh.mjs";
1
+ import { i as e, n as t } from "./component-AqiMonitor-Bnnw0FMj.mjs";
2
+ import { n } from "./component-HighWayEarlyWarningRed-VCLYuCBe.mjs";
3
+ import { t as r } from "./component-RadarLegend-BQrNUHJu.mjs";
4
4
  import { ElCheckbox as i, ElIcon as a, ElLoadingDirective as o } from "element-plus/es";
5
5
  import { Fragment as s, computed as c, createBlock as l, createCommentVNode as ee, createElementBlock as u, createElementVNode as d, createTextVNode as te, createVNode as f, defineComponent as p, nextTick as m, normalizeClass as h, normalizeStyle as g, 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
6
  import { ArrowRight as E, VideoPause as ie, VideoPlay as ae } from "@element-plus/icons-vue";
@@ -20,7 +20,7 @@ var oe = {
20
20
  }, xe = ["onClick"], Se = {
21
21
  key: 1,
22
22
  class: "pile-empty"
23
- }, Ce = { class: "RadarShortTerm-timeline" }, we = ["title"], Te = { class: "timeline-slider-wrap" }, Ee = { class: "timeline-time-label" }, De = { class: "radarAxis-li" }, Oe = ["onClick"], ke = { class: "radarAxis-li-node-text" }, D = /* @__PURE__ */ e(/* @__PURE__ */ p({
23
+ }, Ce = { class: "RadarShortTerm-timeline" }, we = ["title"], Te = { class: "timeline-slider-wrap" }, Ee = { class: "timeline-time-label" }, De = { class: "radarAxis-li" }, Oe = ["onClick"], ke = { class: "radarAxis-li-node-text" }, D = /* @__PURE__ */ t(/* @__PURE__ */ p({
24
24
  __name: "RadarShortTerm",
25
25
  props: {
26
26
  appKey: {
@@ -55,8 +55,8 @@ var oe = {
55
55
  "setImgAniShowByIndex",
56
56
  "changeLoading"
57
57
  ],
58
- setup(e, { emit: p }) {
59
- let D = e, O = p, k = v(!0), A = v(!1), j = v(0), M = v(null), N = v([]), P = v({}), F = v({}), I = v({}), L = v(""), Ae = v(null), R = v(!0), z = v(null), B = v(!0), V = v(null), H = v({
58
+ setup(t, { emit: p }) {
59
+ let D = t, O = p, k = v(!0), A = v(!1), j = v(0), M = v(null), N = v([]), P = v({}), F = v({}), I = v({}), L = v(""), Ae = v(null), R = v(!0), z = v(null), B = v(!0), V = v(null), H = v({
60
60
  httpurl: "",
61
61
  lngStart: void 0,
62
62
  latStart: void 0,
@@ -89,7 +89,7 @@ var oe = {
89
89
  }), Pe(), R.value = !1;
90
90
  }, G = async () => {
91
91
  R.value = !0;
92
- let e = await t({
92
+ let t = await e({
93
93
  appKey: D.appKey,
94
94
  appSalt: D.appSalt,
95
95
  id: D.ids.radar.id,
@@ -98,8 +98,8 @@ var oe = {
98
98
  reqType: D.ids.radar.reqType,
99
99
  isFormData: D.ids.radar.isFormData
100
100
  });
101
- console.log("雷达", e.data.result);
102
- let n = await t({
101
+ console.log("雷达", t.data.result);
102
+ let n = await e({
103
103
  appKey: D.appKey,
104
104
  appSalt: D.appSalt,
105
105
  id: D.ids.historyRadar.id,
@@ -109,7 +109,7 @@ var oe = {
109
109
  isFormData: D.ids.historyRadar.isFormData
110
110
  });
111
111
  console.log("历史雷达", n.data.result), R.value = !1;
112
- let r = K(e.data.result), i = K(n.data.result);
112
+ let r = K(t.data.result), i = K(n.data.result);
113
113
  H.value = {
114
114
  httpurl: r.httpurl,
115
115
  ...r.extent
@@ -142,7 +142,7 @@ var oe = {
142
142
  Z(e), O("showRadarLegend", !0);
143
143
  }, 1e3));
144
144
  }, je = async () => {
145
- let e = await t({
145
+ let t = await e({
146
146
  appKey: D.appKey,
147
147
  appSalt: D.appSalt,
148
148
  id: D.ids.shortTerm.id,
@@ -151,7 +151,7 @@ var oe = {
151
151
  reqType: D.ids.shortTerm.reqType,
152
152
  isFormData: D.ids.shortTerm.isFormData
153
153
  });
154
- return console.log("短时预报", e.data.result.ds), e.data.result.ds || [];
154
+ return console.log("短时预报", t.data.result.ds), t.data.result.ds || [];
155
155
  }, Me = (e) => {
156
156
  let t = String(e || "").split(",").map((e) => Number(e.trim()));
157
157
  return {
@@ -1,4 +1,4 @@
1
- import { n as e, r as t } from "./component-AqiMonitor-DbEiA-eq.mjs";
1
+ import { i as e, n as t } from "./component-AqiMonitor-Bnnw0FMj.mjs";
2
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
@@ -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__ */ e(/* @__PURE__ */ c({
25
+ }, Se = { class: "RadarTime__track-bg" }, Ce = { class: "RadarTime__track-content" }, we = ["onClick"], S = /* @__PURE__ */ t(/* @__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(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) => ({
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) => ({
123
123
  time: e.radar_time,
124
124
  displayTime: e.radar_time?.substring(11, 16) || "",
125
125
  selectedTime: e.radar_time?.substring(0, 16) || ""
@@ -218,7 +218,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
218
218
  }, 0);
219
219
  }, Q = async () => {
220
220
  T.value = !0;
221
- let e = {
221
+ let t = {
222
222
  appKey: C.appKey,
223
223
  appSalt: C.appSalt,
224
224
  id: C.ids.data.id2,
@@ -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 n = (await t(e)).data?.result?.output || "", r = JSON.parse(n)?.data || [];
239
+ let n = (await e(t)).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) {
@@ -256,20 +256,20 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
256
256
  } finally {
257
257
  T.value = !1;
258
258
  }
259
- }, $ = async (e) => {
259
+ }, $ = async (t) => {
260
260
  let n = {
261
261
  appKey: C.appKey,
262
262
  appSalt: C.appSalt,
263
263
  id: C.ids.data.forecastId,
264
- variables: { dateTime: e || O.value[O.value.length - 1]?.date_time || "" },
264
+ variables: { dateTime: t || O.value[O.value.length - 1]?.date_time || "" },
265
265
  baseHttp: C.baseHttp,
266
266
  reqType: C.ids.data.reqType,
267
267
  isFormData: C.ids.data.isFormData
268
268
  };
269
269
  try {
270
- let e = await t(n);
271
- console.log(e, "雷达外推数据");
272
- let r = e.data?.result?.output || "", i = {};
270
+ let t = await e(n);
271
+ console.log(t, "雷达外推数据");
272
+ let r = t.data?.result?.output || "", i = {};
273
273
  try {
274
274
  i = typeof r == "string" ? JSON.parse(r) : r;
275
275
  } catch (e) {
@@ -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 t({
305
+ let t = (await e({
306
306
  appKey: C.appKey,
307
307
  appSalt: C.appSalt,
308
308
  id: C.ids.data.radarListId,
@@ -311,7 +311,7 @@ var b = { class: "RadarTime" }, ne = { class: "RadarTime__head" }, re = { class:
311
311
  reqType: C.ids.data.reqType,
312
312
  isFormData: C.ids.data.isFormData
313
313
  })).data?.result?.output || [];
314
- e && e.length > 0 && (j.value = e, M.value = e[0], console.log(e, "雷达列表数据"));
314
+ t && t.length > 0 && (j.value = t, M.value = t[0], console.log(t, "雷达列表数据"));
315
315
  } catch (e) {
316
316
  console.error("获取雷达列表失败:", e);
317
317
  }
@@ -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 (t, i) => {
448
+ return (e, i) => {
449
449
  let c = n;
450
- return v((p(), o("div", b, [s("div", ne, [s("div", re, [e.showCloseBtn ? (p(), o("div", {
450
+ return v((p(), o("div", b, [s("div", ne, [s("div", re, [t.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(e.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(t.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(e.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(t.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,10 +1,10 @@
1
- import { n as e, r as t } from "./component-AqiMonitor-DbEiA-eq.mjs";
1
+ import { i as e, n as t } from "./component-AqiMonitor-Bnnw0FMj.mjs";
2
2
  import { createCommentVNode as n, createElementBlock as r, createElementVNode as i, defineComponent as a, onBeforeUnmount as o, onMounted as s, openBlock as c, ref as l, toDisplayString as u } from "vue";
3
3
  //#region src/components/RenderMarkdown/RenderMarkdown.vue?vue&type=script&setup=true&lang.ts
4
4
  var d = {
5
5
  key: 0,
6
6
  class: "RenderMarkdown"
7
- }, f = { class: "RenderMarkdown-head" }, p = { class: "RenderMarkdown-head-top" }, m = { class: "duty-section" }, h = ["innerHTML"], g = /* @__PURE__ */ e(/* @__PURE__ */ a({
7
+ }, f = { class: "RenderMarkdown-head" }, p = { class: "RenderMarkdown-head-top" }, m = { class: "duty-section" }, h = ["innerHTML"], g = /* @__PURE__ */ t(/* @__PURE__ */ a({
8
8
  __name: "RenderMarkdown",
9
9
  props: {
10
10
  appKey: {
@@ -29,8 +29,8 @@ var d = {
29
29
  }
30
30
  },
31
31
  emits: ["close"],
32
- setup(e, { emit: a }) {
33
- let g = e, _ = a, v = l({}), y = l(null), b = async () => {
32
+ setup(t, { emit: a }) {
33
+ let g = t, _ = a, v = l({}), y = l(null), b = async () => {
34
34
  await x();
35
35
  };
36
36
  s(() => {
@@ -41,7 +41,7 @@ var d = {
41
41
  y.value &&= (clearInterval(y.value), null);
42
42
  });
43
43
  let x = async () => {
44
- v.value = (await t({
44
+ v.value = (await e({
45
45
  appKey: g.appKey,
46
46
  appSalt: g.appSalt,
47
47
  id: g.ids.data.id,
@@ -1,5 +1,5 @@
1
- import { n as e, r as t } from "./component-AqiMonitor-DbEiA-eq.mjs";
2
- import { n } from "./component-GeologyLiveAlarm-CRRIUd2h.mjs";
1
+ import { i as e, n as t } from "./component-AqiMonitor-Bnnw0FMj.mjs";
2
+ import { n } from "./component-GeologyLiveAlarm-C6uBCDIM.mjs";
3
3
  import { ElIcon as r, ElLoadingDirective as i, ElRadio as a, ElRadioGroup as o } from "element-plus/es";
4
4
  import { Fragment as s, computed as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, nextTick as h, normalizeClass as g, normalizeStyle as ee, onBeforeUnmount as te, onMounted as ne, openBlock as _, ref as v, renderList as y, toDisplayString as b, unref as x, vShow as S, withCtx as C, withDirectives as w } from "vue";
5
5
  import { ArrowRight as T } from "@element-plus/icons-vue";
@@ -35,7 +35,7 @@ var ie = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAQ
35
35
  }, Fe = { class: "detail-popup-head" }, Ie = { class: "detail-popup-title" }, Le = { class: "detail-popup-row" }, Re = { class: "detail-popup-row" }, ze = { class: "detail-popup-row" }, Be = { class: "detail-popup-row" }, Ve = { class: "detail-popup-row" }, He = { class: "detail-popup-row" }, Ue = { key: 0 }, We = {
36
36
  key: 0,
37
37
  style: { "margin-right": "10px" }
38
- }, Ge = { key: 1 }, Ke = { key: 1 }, E = "当前暂无报警", D = /* @__PURE__ */ e(/* @__PURE__ */ m({
38
+ }, Ge = { key: 1 }, Ke = { key: 1 }, E = "当前暂无报警", D = /* @__PURE__ */ t(/* @__PURE__ */ m({
39
39
  __name: "ReservoirLiveAlarm",
40
40
  props: {
41
41
  appKey: {
@@ -63,8 +63,8 @@ var ie = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAQ
63
63
  "removeDataTitle",
64
64
  "toMapView"
65
65
  ],
66
- setup(e, { emit: m }) {
67
- let D = e, O = m, qe = v([]), k = v(""), A = v(!1), j = v(null), M = v(null), N = v("table"), P = v("1h降水"), F = v(!1), I = v(!1), L = v({}), R = v("水库点观测时间:--"), z = v([]), B = v({}), V = v({}), H = null, Je = c(() => k.value === E ? "#52c41a" : "#ff4d4f"), U = (e) => (e || []).filter((e) => X(e)).length, W = () => H || (H = new Audio(n), H.preload = "auto", H), Ye = () => new Promise((e) => {
66
+ setup(t, { emit: m }) {
67
+ let D = t, O = m, qe = v([]), k = v(""), A = v(!1), j = v(null), M = v(null), N = v("table"), P = v("1h降水"), F = v(!1), I = v(!1), L = v({}), R = v("水库点观测时间:--"), z = v([]), B = v({}), V = v({}), H = null, Je = c(() => k.value === E ? "#52c41a" : "#ff4d4f"), U = (e) => (e || []).filter((e) => X(e)).length, W = () => H || (H = new Audio(n), H.preload = "auto", H), Ye = () => new Promise((e) => {
68
68
  let t = W();
69
69
  t.volume = 0, t.currentTime = 0;
70
70
  let n = t.play();
@@ -101,7 +101,7 @@ var ie = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAQ
101
101
  });
102
102
  let K = async () => {
103
103
  A.value = !0;
104
- let e = await t({
104
+ let t = await e({
105
105
  appKey: D.appKey,
106
106
  appSalt: D.appSalt,
107
107
  id: D.ids.data.id,
@@ -111,7 +111,7 @@ var ie = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAQ
111
111
  isFormData: D.ids.data.isFormData
112
112
  });
113
113
  A.value = !1;
114
- let n = e.data.result.ds;
114
+ let n = t.data.result.ds;
115
115
  console.log("得到数据", JSON.parse(JSON.stringify(n))), qe.value = n;
116
116
  let r = R.value, i = $e(n);
117
117
  R.value = i, O("removeDataTitle", r), setTimeout(() => {
@@ -1,10 +1,10 @@
1
- import { n as e, r as t } from "./component-AqiMonitor-DbEiA-eq.mjs";
1
+ import { i as e, n as t } from "./component-AqiMonitor-Bnnw0FMj.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 = {
5
5
  key: 0,
6
6
  class: "ServiceMaterial__empty"
7
- }, O = { class: "ServiceMaterial__list-footer" }, k = { class: "ServiceMaterial__total" }, A = /* @__PURE__ */ e(/* @__PURE__ */ o({
7
+ }, O = { class: "ServiceMaterial__list-footer" }, k = { class: "ServiceMaterial__total" }, A = /* @__PURE__ */ t(/* @__PURE__ */ o({
8
8
  __name: "ServiceMaterial",
9
9
  props: {
10
10
  appKey: {
@@ -33,8 +33,8 @@ var m = { class: "ServiceMaterial" }, h = { class: "ServiceMaterial__head" }, g
33
33
  "preview",
34
34
  "download"
35
35
  ],
36
- setup(e, { emit: o }) {
37
- let A = s()?.appContext.config.globalProperties.$bus, j = e, M = o, N = u(!1), P = u([]);
36
+ setup(t, { emit: o }) {
37
+ let A = s()?.appContext.config.globalProperties.$bus, j = t, M = o, N = u(!1), P = u([]);
38
38
  c(() => {
39
39
  A?.on("toComponent", (e) => {
40
40
  e.componentName === "ServiceMaterial" && F();
@@ -46,7 +46,7 @@ var m = { class: "ServiceMaterial" }, h = { class: "ServiceMaterial__head" }, g
46
46
  if (j.ids.data?.id) {
47
47
  N.value = !0;
48
48
  try {
49
- let e = await t({
49
+ let t = await e({
50
50
  appKey: j.appKey,
51
51
  appSalt: j.appSalt,
52
52
  id: j.ids.data.id,
@@ -55,8 +55,8 @@ var m = { class: "ServiceMaterial" }, h = { class: "ServiceMaterial__head" }, g
55
55
  reqType: j.ids.data.reqType,
56
56
  isFormData: j.ids.data.isFormData
57
57
  });
58
- console.log(e, "服务材料数据");
59
- let n = e.data?.result?.output || [];
58
+ console.log(t, "服务材料数据");
59
+ let n = t.data?.result?.output || [];
60
60
  Array.isArray(n) && n.length > 0 && (P.value = n.map((e) => ({
61
61
  id: e.id || e.file_id,
62
62
  name: e.name || e.file_name || e.title || "",
@@ -79,7 +79,7 @@ var m = { class: "ServiceMaterial" }, h = { class: "ServiceMaterial__head" }, g
79
79
  }, B = () => {
80
80
  M("close", "ServiceMaterial");
81
81
  };
82
- return (t, o) => (l(), i("div", m, [a("div", h, [a("div", g, [a("div", null, f(e.title), 1), a("div", {
82
+ return (e, o) => (l(), i("div", m, [a("div", h, [a("div", g, [a("div", null, f(t.title), 1), a("div", {
83
83
  class: "closeBtn",
84
84
  onClick: B,
85
85
  title: "关闭"
@@ -1,4 +1,4 @@
1
- import { n as e } from "./component-AqiMonitor-DbEiA-eq.mjs";
1
+ import { n as e } from "./component-AqiMonitor-Bnnw0FMj.mjs";
2
2
  import { ElButton as t, ElDialog as n } from "element-plus/es";
3
3
  import { Fragment as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, createVNode as s, defineComponent as c, isRef as l, onBeforeUnmount as u, onMounted as d, openBlock as f, ref as p, unref as m, withCtx as h } from "vue";
4
4
  import "element-plus/es/components/dialog/style/css";
@@ -1,6 +1,6 @@
1
- import { n as e, r as t } from "./component-AqiMonitor-DbEiA-eq.mjs";
2
- import { A as n, C as r, D as i, E as ee, F as a, M as o, N as s, O as c, P as l, S as u, T as d, _ as f, a as p, b as m, c as te, d as ne, f as re, g as ie, h as ae, i as oe, j as se, k as ce, l as le, m as ue, o as h, p as g, r as _, s as de, u as fe, v as pe, w as me, x as he, y as ge } from "./component-HighwayWeatherForecast-jJgs1nWv.mjs";
3
- import { n as v } from "./component-LithiumBatteryMiningArea-Cu4xOUMT.mjs";
1
+ import { i as e, n as t } from "./component-AqiMonitor-Bnnw0FMj.mjs";
2
+ import { A as n, C as r, D as i, E as ee, F as a, M as o, N as s, O as c, P as l, S as u, T as d, _ as f, a as p, b as m, c as te, d as ne, f as re, g as ie, h as ae, i as oe, j as se, k as ce, l as le, m as ue, o as h, p as g, r as _, s as de, u as fe, v as pe, w as me, x as he, y as ge } from "./component-HighwayWeatherForecast-BvuVI9p6.mjs";
3
+ import { n as v } from "./component-LithiumBatteryMiningArea-DRuCBQHX.mjs";
4
4
  import { ElLoadingDirective as y, ElOption as b, ElSelect as x } from "element-plus/es";
5
5
  import { Fragment as S, createElementBlock as C, createElementVNode as w, createVNode as T, defineComponent as E, getCurrentInstance as D, nextTick as O, normalizeStyle as k, onBeforeUnmount as A, onMounted as j, openBlock as M, ref as N, renderList as P, toDisplayString as F, watch as I, withCtx as L, withDirectives as _e } from "vue";
6
6
  import * as ve from "echarts";
@@ -10,7 +10,7 @@ import "element-plus/es/components/option/style/css";
10
10
  var ye = {
11
11
  class: "TimeBasedForecast",
12
12
  "element-loading-background": "rgba(0, 0, 0, 0.4)"
13
- }, be = { class: "TimeBasedForecast__meta" }, xe = { class: "TimeBasedForecast__control" }, R = { class: "TimeBasedForecast__time" }, Se = { class: "TimeBasedForecast__content" }, Ce = { class: "TimeBasedForecast__scroll" }, we = { class: "TimeBasedForecast__dates" }, Te = { class: "TimeBasedForecast__date" }, Ee = { class: "TimeBasedForecast__hour" }, De = { class: "TimeBasedForecast__chart" }, Oe = { class: "TimeBasedForecast__table" }, ke = { class: "TimeBasedForecast__row TimeBasedForecast__row--icon" }, Ae = ["src", "alt"], je = { class: "TimeBasedForecast__row" }, Me = { class: "TimeBasedForecast__row" }, Ne = { class: "TimeBasedForecast__row" }, Pe = 78, z = 112, B = /* @__PURE__ */ e(/* @__PURE__ */ E({
13
+ }, be = { class: "TimeBasedForecast__meta" }, xe = { class: "TimeBasedForecast__control" }, R = { class: "TimeBasedForecast__time" }, Se = { class: "TimeBasedForecast__content" }, Ce = { class: "TimeBasedForecast__scroll" }, we = { class: "TimeBasedForecast__dates" }, Te = { class: "TimeBasedForecast__date" }, Ee = { class: "TimeBasedForecast__hour" }, De = { class: "TimeBasedForecast__chart" }, Oe = { class: "TimeBasedForecast__table" }, ke = { class: "TimeBasedForecast__row TimeBasedForecast__row--icon" }, Ae = ["src", "alt"], je = { class: "TimeBasedForecast__row" }, Me = { class: "TimeBasedForecast__row" }, Ne = { class: "TimeBasedForecast__row" }, Pe = 78, z = 112, B = /* @__PURE__ */ t(/* @__PURE__ */ E({
14
14
  __name: "TimeBasedForecast",
15
15
  props: {
16
16
  appKey: {
@@ -31,8 +31,8 @@ var ye = {
31
31
  }
32
32
  },
33
33
  emits: ["close"],
34
- setup(e, { emit: E }) {
35
- let B = D()?.appContext.config.globalProperties.$bus, V = e, Fe = E, H = N(null), U = null, Ie = [
34
+ setup(t, { emit: E }) {
35
+ let B = D()?.appContext.config.globalProperties.$bus, V = t, Fe = E, H = N(null), U = null, Ie = [
36
36
  "24小时预报",
37
37
  "48小时预报",
38
38
  "72小时预报",
@@ -56,16 +56,16 @@ var ye = {
56
56
  Fe("close", "TimeBasedForecast");
57
57
  }, Z = async () => {
58
58
  Y.value = !0;
59
- let e = {
59
+ let t = {
60
60
  lon: X.value.longitude,
61
61
  lat: X.value.latitude,
62
62
  hours: Number(W.value.replace("小时预报", "")),
63
63
  unit_id: "3"
64
- }, y = await t({
64
+ }, y = await e({
65
65
  appKey: V.appKey,
66
66
  appSalt: V.appSalt,
67
67
  id: V.ids.data.id,
68
- variables: { str: v.encode(JSON.stringify(e)) },
68
+ variables: { str: v.encode(JSON.stringify(t)) },
69
69
  baseHttp: V.baseHttp,
70
70
  reqType: V.ids.data.reqType,
71
71
  isFormData: V.ids.data.isFormData
@@ -1,5 +1,5 @@
1
- import { r as e } from "./component-AqiMonitor-DbEiA-eq.mjs";
2
- import { $ as t, A as n, B as r, C as ee, D as te, E as ne, F as re, G as ie, H as ae, I as oe, J as se, K as ce, L as le, M as ue, N as de, O as fe, P as pe, Q as me, R as he, S as ge, T as _e, U as ve, V as ye, W as be, X as xe, Y as Se, Z as Ce, _ as i, a, at as o, b as s, c, ct as l, d as u, dt as d, et as f, f as p, ft as m, g as h, h as g, i as _, it as v, j as y, k as b, l as x, lt as S, m as C, nt as w, o as T, ot as E, p as D, q as O, r as k, rt as A, s as we, st as Te, tt as Ee, u as De, ut as Oe, v as ke, w as Ae, x as je, y as Me, z as j } from "./component-HighWayEarlyWarningRed-DgNrFdzm.mjs";
1
+ import { i as e } from "./component-AqiMonitor-Bnnw0FMj.mjs";
2
+ import { $ as t, A as n, B as r, C as ee, D as te, E as ne, F as re, G as ie, H as ae, I as oe, J as se, K as ce, L as le, M as ue, N as de, O as fe, P as pe, Q as me, R as he, S as ge, T as _e, U as ve, V as ye, W as be, X as xe, Y as Se, Z as Ce, _ as i, a, at as o, b as s, c, ct as l, d as u, dt as d, et as f, f as p, ft as m, g as h, h as g, i as _, it as v, j as y, k as b, l as x, lt as S, m as C, nt as w, o as T, ot as E, p as D, q as O, r as k, rt as A, s as we, st as Te, tt as Ee, u as De, ut as Oe, v as ke, w as Ae, x as je, y as Me, z as j } from "./component-HighWayEarlyWarningRed-VCLYuCBe.mjs";
3
3
  import { Fragment as M, Transition as N, computed as P, createCommentVNode as F, createElementBlock as I, createElementVNode as L, createVNode as Ne, defineComponent as R, getCurrentInstance as Pe, normalizeStyle as Fe, onMounted as Ie, onUnmounted as Le, openBlock as z, ref as B, renderList as Re, toDisplayString as V, watch as ze, withCtx as Be } from "vue";
4
4
  //#region src/components/WarningLine/WarningLine.vue?vue&type=script&setup=true&lang.ts
5
5
  var Ve = { class: "WarningLine__content" }, He = { class: "WarningLine__scroll-container" }, Ue = ["src"], We = { class: "WarningLine__text" }, Ge = {
@@ -1,5 +1,5 @@
1
- import { n as e, r as t } from "./component-AqiMonitor-DbEiA-eq.mjs";
2
- import { $ as n, A as r, B as i, C as a, D as o, E as s, F as c, G as l, H as u, I as d, J as f, K as p, L as m, M as h, N as ee, O as te, P as ne, Q as re, R as ie, S as ae, T as oe, U as se, V as ce, W as le, X as ue, Y as de, Z as fe, _ as pe, a as me, at as he, b as ge, c as _e, ct as ve, d as ye, dt as be, et as xe, f as Se, ft as Ce, g as we, h as Te, i as Ee, it as g, j as _, k as v, l as y, lt as b, m as x, n as S, nt as C, o as w, ot as T, p as E, q as D, r as De, rt as Oe, s as ke, st as Ae, tt as je, u as Me, ut as Ne, v as Pe, w as Fe, x as Ie, y as Le, z as Re } from "./component-HighWayEarlyWarningRed-DgNrFdzm.mjs";
1
+ import { i as e, n as t } from "./component-AqiMonitor-Bnnw0FMj.mjs";
2
+ import { $ as n, A as r, B as i, C as a, D as o, E as s, F as c, G as l, H as u, I as d, J as f, K as p, L as m, M as h, N as ee, O as te, P as ne, Q as re, R as ie, S as ae, T as oe, U as se, V as ce, W as le, X as ue, Y as de, Z as fe, _ as pe, a as me, at as he, b as ge, c as _e, ct as ve, d as ye, dt as be, et as xe, f as Se, ft as Ce, g as we, h as Te, i as Ee, it as g, j as _, k as v, l as y, lt as b, m as x, n as S, nt as C, o as w, ot as T, p as E, q as D, r as De, rt as Oe, s as ke, st as Ae, tt as je, u as Me, ut as Ne, v as Pe, w as Fe, x as Ie, y as Le, z as Re } from "./component-HighWayEarlyWarningRed-VCLYuCBe.mjs";
3
3
  import { ElLoadingDirective as O } from "element-plus/es";
4
4
  import { Fragment as k, computed as A, createCommentVNode as j, createElementBlock as M, createElementVNode as N, createStaticVNode as ze, createVNode as Be, defineComponent as P, getCurrentInstance as Ve, normalizeStyle as F, onBeforeUnmount as I, onMounted as He, openBlock as L, ref as R, renderList as Ue, toDisplayString as z, unref as B, vShow as We, watch as V, withDirectives as H, withModifiers as U } from "vue";
5
5
  import "element-plus/es/components/loading/style/css";
@@ -7,7 +7,7 @@ import "element-plus/es/components/loading/style/css";
7
7
  var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K = { class: "wrap-body" }, q = { class: "wrap-body-icon" }, J = ["src"], Y = { class: "wrap-body-explain" }, X = {
8
8
  key: 0,
9
9
  class: "wrap-body-table"
10
- }, Ge = /* @__PURE__ */ e({
10
+ }, Ge = /* @__PURE__ */ t({
11
11
  __name: "warnPop",
12
12
  props: { warnPopData: {
13
13
  type: Object,
@@ -95,7 +95,7 @@ var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K =
95
95
  } }, rt = { style: {
96
96
  width: "40px",
97
97
  "text-align": "center"
98
- } }, it = ["onClick"], at = { key: 0 }, Q = /* @__PURE__ */ e(/* @__PURE__ */ P({
98
+ } }, it = ["onClick"], at = { key: 0 }, Q = /* @__PURE__ */ t(/* @__PURE__ */ P({
99
99
  __name: "WarningSignal",
100
100
  props: {
101
101
  appKey: {
@@ -133,8 +133,8 @@ var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K =
133
133
  "view",
134
134
  "changeMapView"
135
135
  ],
136
- setup(e, { emit: S }) {
137
- let A = Ve()?.appContext.config.globalProperties.$bus, P = e, F = S, I = R(!1), B = R([]), V = R(!1), W = R({}), G = {
136
+ setup(t, { emit: S }) {
137
+ let A = Ve()?.appContext.config.globalProperties.$bus, P = t, F = S, I = R(!1), B = R([]), V = R(!1), W = R({}), G = {
138
138
  大风: "big_wind",
139
139
  暴雨: "rain_storm",
140
140
  台风: "typhoon",
@@ -244,10 +244,10 @@ var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K =
244
244
  await Y();
245
245
  }, Y = async () => {
246
246
  I.value = !0;
247
- let e = [];
248
- if (P.dataType === "static") e = P.staticData || [], console.log("预警信号使用静态数据:", e);
247
+ let t = [];
248
+ if (P.dataType === "static") t = P.staticData || [], console.log("预警信号使用静态数据:", t);
249
249
  else {
250
- let n = await t({
250
+ let n = await e({
251
251
  appKey: P.appKey,
252
252
  appSalt: P.appSalt,
253
253
  id: P.ids.data.id,
@@ -256,10 +256,10 @@ var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K =
256
256
  reqType: P.ids.data.reqType,
257
257
  isFormData: P.ids.data.isFormData
258
258
  });
259
- console.log(n, "预警信号"), e = n.data?.result?.output || [];
259
+ console.log(n, "预警信号"), t = n.data?.result?.output || [];
260
260
  }
261
- if (I.value = !1, e && e.length > 0) {
262
- B.value = e.map((e) => {
261
+ if (I.value = !1, t && t.length > 0) {
262
+ B.value = t.map((e) => {
263
263
  let t = e.lat, n = e.lng || e.lon;
264
264
  if (!t || !n) {
265
265
  let e = (Math.random() - .5) * .8, r = (Math.random() - .5) * 1.2;
@@ -273,7 +273,7 @@ var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K =
273
273
  lon: n
274
274
  };
275
275
  });
276
- let t = { mapMarker: {
276
+ let e = { mapMarker: {
277
277
  clickOpen: !0,
278
278
  drawArrObj: [],
279
279
  spotObject: [{
@@ -289,7 +289,7 @@ var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K =
289
289
  }))
290
290
  }]
291
291
  } };
292
- console.log("预警信号标记数据:", t), console.log("spotArrone长度:", t.mapMarker.spotObject[0].spotArrone.length), console.log("第一个标记:", t.mapMarker.spotObject[0].spotArrone[0]), F("addMarker", t);
292
+ console.log("预警信号标记数据:", e), console.log("spotArrone长度:", e.mapMarker.spotObject[0].spotArrone.length), console.log("第一个标记:", e.mapMarker.spotObject[0].spotArrone[0]), F("addMarker", e);
293
293
  }
294
294
  }, X = (e) => {
295
295
  F("changeMapView", e);
@@ -396,10 +396,10 @@ var W = { class: "wrap-head-title" }, G = { class: "wrap-head-publicTime" }, K =
396
396
  }
397
397
  return t && n && $[t]?.[n] ? $[t][n] : null;
398
398
  }
399
- return (t, n) => {
399
+ return (e, n) => {
400
400
  let r = O;
401
401
  return H((L(), M("div", Ke, [
402
- N("div", qe, [N("div", Je, [N("div", null, z(e.title), 1), N("div", {
402
+ N("div", qe, [N("div", Je, [N("div", null, z(t.title), 1), N("div", {
403
403
  class: "closeBtn",
404
404
  onClick: ot,
405
405
  title: "关闭"
@@ -1,13 +1,13 @@
1
- import { n as e, r as t } from "./component-AqiMonitor-DbEiA-eq.mjs";
2
- import { A as n, C as r, D as i, E as a, F as o, M as s, N as ee, O as c, P as l, S as u, T as d, _ as f, a as te, b as ne, c as re, d as ie, f as ae, g as p, h as m, i as h, j as g, k as _, l as v, m as y, o as b, p as x, r as S, s as C, u as w, v as T, w as E, x as D, y as O } from "./component-HighwayWeatherForecast-jJgs1nWv.mjs";
3
- import { n as k } from "./component-LithiumBatteryMiningArea-Cu4xOUMT.mjs";
1
+ import { i as e, n as t } from "./component-AqiMonitor-Bnnw0FMj.mjs";
2
+ import { A as n, C as r, D as i, E as a, F as o, M as s, N as ee, O as c, P as l, S as u, T as d, _ as f, a as te, b as ne, c as re, d as ie, f as ae, g as p, h as m, i as h, j as g, k as _, l as v, m as y, o as b, p as x, r as S, s as C, u as w, v as T, w as E, x as D, y as O } from "./component-HighwayWeatherForecast-BvuVI9p6.mjs";
3
+ import { n as k } from "./component-LithiumBatteryMiningArea-DRuCBQHX.mjs";
4
4
  import { ElLoadingDirective as A } from "element-plus/es";
5
5
  import { Fragment as j, createElementBlock as M, createElementVNode as N, defineComponent as P, getCurrentInstance as F, onMounted as I, openBlock as L, ref as R, renderList as z, toDisplayString as B, withDirectives as V } from "vue";
6
6
  //#region src/components/WeatherForecast/WeatherForecast.vue?vue&type=script&setup=true&lang.ts
7
7
  var H = {
8
8
  class: "WeatherForecast",
9
9
  "element-loading-background": "rgba(0, 0, 0, 0.4)"
10
- }, U = { class: "WeatherForecast__head" }, W = { class: "WeatherForecast__head-top" }, G = { class: "WeatherForecast__body" }, K = { class: "WeatherForecast__wrap" }, q = ["src", "alt"], J = /* @__PURE__ */ e(/* @__PURE__ */ P({
10
+ }, U = { class: "WeatherForecast__head" }, W = { class: "WeatherForecast__head-top" }, G = { class: "WeatherForecast__body" }, K = { class: "WeatherForecast__wrap" }, q = ["src", "alt"], J = /* @__PURE__ */ t(/* @__PURE__ */ P({
11
11
  __name: "WeatherForecast",
12
12
  props: {
13
13
  appKey: {
@@ -32,8 +32,8 @@ var H = {
32
32
  }
33
33
  },
34
34
  emits: ["close"],
35
- setup(e, { emit: P }) {
36
- let J = F()?.appContext.config.globalProperties.$bus, Y = e, oe = P, X = R(!1), Z = R([]), Q = R({});
35
+ setup(t, { emit: P }) {
36
+ let J = F()?.appContext.config.globalProperties.$bus, Y = t, oe = P, X = R(!1), Z = R([]), Q = R({});
37
37
  R([
38
38
  {
39
39
  name: "阿克苏市",
@@ -98,15 +98,15 @@ var H = {
98
98
  oe("close", "WeatherForecast");
99
99
  }, le = async () => {
100
100
  X.value = !0;
101
- let e = {
101
+ let t = {
102
102
  lon: Q.value.longitude,
103
103
  lat: Q.value.latitude,
104
104
  hours: 168
105
- }, A = await t({
105
+ }, A = await e({
106
106
  appKey: Y.appKey,
107
107
  appSalt: Y.appSalt,
108
108
  id: Y.ids.data.id,
109
- variables: { str: k.encode(JSON.stringify(e)) },
109
+ variables: { str: k.encode(JSON.stringify(t)) },
110
110
  baseHttp: Y.baseHttp,
111
111
  reqType: Y.ids.data.reqType,
112
112
  isFormData: Y.ids.data.isFormData
@@ -177,9 +177,9 @@ var H = {
177
177
  };
178
178
  });
179
179
  };
180
- return (t, n) => {
180
+ return (e, n) => {
181
181
  let r = A;
182
- return V((L(), M("div", H, [N("div", U, [N("div", W, [N("div", null, B(e.title), 1), N("div", {
182
+ return V((L(), M("div", H, [N("div", U, [N("div", W, [N("div", null, B(t.title), 1), N("div", {
183
183
  class: "closeBtn",
184
184
  onClick: ce,
185
185
  title: "关闭"