nxd-plugin 1.7.84 → 1.7.85

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 (30) hide show
  1. package/dist/chunks/component-Forecast72h-TFBSlUgI.mjs +543 -0
  2. package/dist/chunks/{component-HdObservation-CM6HUrQ3.mjs → component-HdObservation-rcQFHEfW.mjs} +1 -1
  3. package/dist/chunks/{component-HdPreSituation-CJ8-wiRO.mjs → component-HdPreSituation-CnRwuRGg.mjs} +2 -2
  4. package/dist/chunks/{component-HdRadarTime-C4ZArOUM.mjs → component-HdRadarTime-Gcn9dJky.mjs} +177 -146
  5. package/dist/chunks/{component-HdServiceMarterial-pSFQUH2x.mjs → component-HdServiceMarterial-ehquoNg2.mjs} +6 -5
  6. package/dist/chunks/{component-HdServiceRequirements-BjuiyyC5.mjs → component-HdServiceRequirements-Bd4HJrpn.mjs} +1 -1
  7. package/dist/chunks/{component-HdStationTem-Dit7Y8lu.mjs → component-HdStationTem-CbJkt6Ww.mjs} +2 -2
  8. package/dist/chunks/{component-HdSuggestion-B_abfzRO.mjs → component-HdSuggestion-_JNJhwSK.mjs} +1 -1
  9. package/dist/chunks/{component-HdThreeWeatherTrend-B2qzvOzb.mjs → component-HdThreeWeatherTrend-HlRMLWm8.mjs} +1 -1
  10. package/dist/chunks/{component-HdWaveForcast-D8UZrHzF.mjs → component-HdWaveForcast-jNK-H1b1.mjs} +1 -1
  11. package/dist/chunks/{component-HighwayWeatherForecast-BQrNGF7m.mjs → component-HighwayWeatherForecast-CDLKFRNB.mjs} +119 -119
  12. package/dist/chunks/{component-PrecipitationRanking-C63n87WI.mjs → component-PrecipitationRanking-BOm_vb1L.mjs} +203 -121
  13. package/dist/chunks/{component-StationDialog-Ck8zd52d.mjs → component-StationDialog-CnJuYTfB.mjs} +123 -113
  14. package/dist/chunks/{component-StationList-BvoVJwAU.mjs → component-StationList-BcnqOIZY.mjs} +70 -68
  15. package/dist/chunks/{component-TimeBasedForecast-BaPiit4s.mjs → component-TimeBasedForecast-C1yk1Iu-.mjs} +33 -33
  16. package/dist/chunks/{component-WeatherForecast-DWdNramU.mjs → component-WeatherForecast-BRml38Ik.mjs} +33 -33
  17. package/dist/chunks/{component-YCDataService-CD042ss7.mjs → component-YCDataService-B4PPV3Dp.mjs} +1 -1
  18. package/dist/chunks/{component-YCHome-DjpIzt-5.mjs → component-YCHome-C-_Hf_oA.mjs} +1 -1
  19. package/dist/components/HdRadarTime/HdRadarTime.vue.d.ts +4 -2
  20. package/dist/nxd-plugin.mjs +21 -21
  21. package/dist/styles/component-Forecast72h.css +1 -1
  22. package/dist/styles/component-HdRadarTime.css +1 -1
  23. package/dist/styles/component-HdServiceMarterial.css +1 -1
  24. package/dist/styles/component-PrecipitationRanking.css +1 -1
  25. package/dist/styles/component-StationDialog.css +1 -1
  26. package/dist/styles/component-StationList.css +1 -1
  27. package/dist/styles/component-YCLoginNew.css +1 -1
  28. package/package.json +1 -1
  29. package/dist/chunks/component-Forecast72h-BkVZSGhE.mjs +0 -427
  30. /package/dist/chunks/{component-ServiceMaterialsBtn-CTWGd-Is.mjs → component-ServiceMaterialsBtn-C9m-epfv.mjs} +0 -0
@@ -1,34 +1,44 @@
1
1
  import { r as e } from "./rolldown-runtime-Cz5NsrRf.mjs";
2
2
  import { n as t } from "./component-AqiMonitor-C_V1Nuf_.mjs";
3
3
  import { i as n } from "./component-AiChat-BXNBLM1G.mjs";
4
- import { n as r } from "./component-HdObservation-CM6HUrQ3.mjs";
5
- import { ElIcon as i, ElTable as a, ElTableColumn as ee } from "element-plus/es";
6
- import { Fragment as o, Teleport as te, createBlock as ne, createCommentVNode as re, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, nextTick as p, normalizeClass as m, normalizeStyle as ie, onBeforeUnmount as ae, onMounted as oe, openBlock as h, ref as g, renderList as _, toDisplayString as v, unref as y, vShow as se, watch as b, withCtx as x, withDirectives as ce } from "vue";
4
+ import { n as r } from "./component-HdObservation-rcQFHEfW.mjs";
5
+ import { ElIcon as i, ElLoadingDirective as a, ElTable as ee, ElTableColumn as te } from "element-plus/es";
6
+ import { Fragment as o, Teleport as ne, createBlock as re, createCommentVNode as ie, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, nextTick as p, normalizeClass as m, normalizeStyle as ae, onBeforeUnmount as h, onMounted as oe, openBlock as g, ref as _, renderList as v, toDisplayString as y, unref as b, vShow as se, watch as x, withCtx as S, withDirectives as ce } from "vue";
7
7
  import { Close as le, Download as ue, Histogram as de } from "@element-plus/icons-vue";
8
- import * as S from "echarts";
8
+ import * as C from "echarts";
9
9
  import "element-plus/es/components/table/style/css";
10
10
  import "element-plus/es/components/table-column/style/css";
11
11
  //#region src/components/StationDialog/StationDialog.vue?vue&type=script&setup=true&lang.ts
12
- var fe = /* @__PURE__ */ e(r()), pe = { class: "StationDialog-mask StationDialog" }, me = { class: "StationPop-title" }, he = { class: "StationPop-subtitle" }, ge = {
12
+ var fe = /* @__PURE__ */ e(r()), pe = {
13
+ class: "StationDialog-mask StationDialog",
14
+ "element-loading-text": "加载中...",
15
+ "element-loading-background": "rgba(0, 0, 0, 0.7)"
16
+ }, me = { class: "StationPop-title" }, he = { class: "StationPop-subtitle" }, ge = {
13
17
  key: 0,
14
18
  class: "StationPop-dataTime"
15
19
  }, _e = {
16
20
  key: 1,
17
21
  class: "StationPop-dataTime"
18
- }, ve = { class: "StationPop-info" }, ye = { class: "StationPop-infoItem" }, be = { class: "StationPop-infoValue" }, xe = { class: "StationPop-infoItem" }, Se = { class: "StationPop-infoValue" }, Ce = { class: "StationPop-infoItem" }, we = { class: "StationPop-infoValue" }, C = { class: "StationPop-infoItem StationPop-infoItem--wide" }, w = { class: "StationPop-infoValue" }, T = { class: "StationPop-infoItem StationPop-infoItem--wide" }, E = { class: "StationPop-infoValue" }, D = { class: "StationPop-main" }, O = { class: "StationPop-section StationPop-section--realtime" }, k = { class: "StationPop-realtime" }, Te = { class: "StationPop-realtimeItem" }, Ee = { class: "StationPop-realtimeValue" }, De = { class: "StationPop-realtimeItem" }, Oe = { class: "StationPop-realtimeValue" }, ke = { class: "StationPop-realtimeItem" }, Ae = { class: "StationPop-realtimeValue" }, je = { class: "StationPop-realtimeItem" }, Me = { class: "StationPop-realtimeValue" }, Ne = { class: "StationPop-realtimeItem" }, Pe = { class: "StationPop-realtimeValue" }, Fe = { class: "StationPop-realtimeItem" }, Ie = { class: "StationPop-realtimeValue" }, Le = { class: "StationPop-realtimeItem" }, Re = { class: "StationPop-realtimeValue" }, ze = { class: "StationPop-realtimeItem" }, Be = { class: "StationPop-realtimeValue" }, Ve = { class: "StationPop-realtimeItem" }, He = { class: "StationPop-realtimeValue" }, Ue = { class: "StationPop-section StationPop-section--statistics" }, We = { class: "StationPop-statistics" }, Ge = { class: "StationPop-statisticsItem" }, Ke = { class: "StationPop-statisticsValue" }, qe = { class: "StationPop-statisticsItem" }, Je = { class: "StationPop-statisticsValue" }, Ye = { class: "StationPop-statisticsItem" }, Xe = { class: "StationPop-statisticsValue" }, Ze = { class: "StationPop-statisticsItem" }, Qe = { class: "StationPop-statisticsValue" }, $e = { class: "StationPop-statisticsItem" }, et = { class: "StationPop-statisticsValue" }, tt = { class: "StationPop-statisticsItem" }, nt = { class: "StationPop-statisticsValue" }, rt = { class: "StationPop-section StationPop-section--chart" }, it = { class: "StationPop-tabs" }, at = ["onClick"], ot = {
22
+ }, ve = { class: "StationPop-info" }, ye = { style: {
23
+ display: "grid",
24
+ "grid-template-columns": "repeat(3, 1fr)"
25
+ } }, be = { class: "StationPop-infoItem" }, xe = { class: "StationPop-infoValue" }, Se = { class: "StationPop-infoItem" }, Ce = { class: "StationPop-infoValue" }, we = { class: "StationPop-infoItem" }, Te = { class: "StationPop-infoValue" }, w = { style: {
26
+ display: "grid",
27
+ "grid-template-columns": "repeat(4, 1fr)"
28
+ } }, T = { class: "StationPop-infoItem StationPop-infoItem--wide" }, E = { class: "StationPop-infoValue" }, D = { class: "StationPop-infoItem StationPop-infoItem--wide" }, O = { class: "StationPop-infoValue" }, Ee = { class: "StationPop-main" }, De = { class: "StationPop-section StationPop-section--realtime" }, Oe = { class: "StationPop-realtime" }, ke = { class: "StationPop-realtimeItem" }, Ae = { class: "StationPop-realtimeValue" }, je = { class: "StationPop-realtimeItem" }, Me = { class: "StationPop-realtimeValue" }, Ne = { class: "StationPop-realtimeItem" }, Pe = { class: "StationPop-realtimeValue" }, Fe = { class: "StationPop-realtimeItem" }, Ie = { class: "StationPop-realtimeValue" }, Le = { class: "StationPop-realtimeItem" }, Re = { class: "StationPop-realtimeValue" }, ze = { class: "StationPop-realtimeItem" }, Be = { class: "StationPop-realtimeValue" }, Ve = { class: "StationPop-realtimeItem" }, He = { class: "StationPop-realtimeValue" }, Ue = { class: "StationPop-realtimeItem" }, We = { class: "StationPop-realtimeValue" }, Ge = { class: "StationPop-realtimeItem" }, Ke = { class: "StationPop-realtimeValue" }, qe = { class: "StationPop-section StationPop-section--statistics" }, Je = { class: "StationPop-statistics" }, Ye = { class: "StationPop-statisticsItem" }, Xe = { class: "StationPop-statisticsValue" }, Ze = { class: "StationPop-statisticsItem" }, Qe = { class: "StationPop-statisticsValue" }, $e = { class: "StationPop-statisticsItem" }, et = { class: "StationPop-statisticsValue" }, tt = { class: "StationPop-statisticsItem" }, nt = { class: "StationPop-statisticsValue" }, rt = { class: "StationPop-statisticsItem" }, it = { class: "StationPop-statisticsValue" }, at = { class: "StationPop-statisticsItem" }, ot = { class: "StationPop-statisticsValue" }, st = { class: "StationPop-section StationPop-section--chart" }, ct = { class: "StationPop-tabs" }, lt = ["onClick"], ut = {
19
29
  key: 0,
20
30
  class: "StationPop-historyMask"
21
- }, st = { class: "StationPop-historyPopup" }, ct = { class: "StationPop-historyHeader" }, lt = { class: "StationPop-historyTitle" }, ut = { class: "StationPop-historySubTitle" }, dt = {
31
+ }, dt = { class: "StationPop-historyPopup" }, ft = { class: "StationPop-historyHeader" }, pt = { class: "StationPop-historyTitle" }, mt = { class: "StationPop-historySubTitle" }, ht = {
22
32
  class: "StationPop-historyTabs",
23
33
  style: { position: "relative" }
24
- }, ft = ["onClick"], pt = {
34
+ }, gt = ["onClick"], _t = {
25
35
  class: "StationPop-historyActions",
26
36
  style: {
27
37
  position: "absolute",
28
38
  top: "0",
29
39
  right: "0"
30
40
  }
31
- }, mt = { class: "StationPop-historyTableWrap" }, A = /* @__PURE__ */ t(/* @__PURE__ */ d({
41
+ }, vt = { class: "StationPop-historyTableWrap" }, k = /* @__PURE__ */ t(/* @__PURE__ */ d({
32
42
  __name: "StationDialog",
33
43
  props: {
34
44
  componentStyle: { default: () => ({}) },
@@ -445,14 +455,14 @@ var fe = /* @__PURE__ */ e(r()), pe = { class: "StationDialog-mask StationDialog
445
455
  }) }
446
456
  },
447
457
  setup(e) {
448
- let t = f()?.appContext.config.globalProperties.$bus, r = e, d = g({
458
+ let t = f()?.appContext.config.globalProperties.$bus, r = _(!1), d = e, k = _({
449
459
  stationName: "",
450
460
  stationCode: "",
451
461
  address: "",
452
462
  stationStatus: "",
453
463
  monitorElement: "",
454
464
  serviceType: ""
455
- }), A = g(!1), j = g(""), M = g({}), N = g({}), P = g(null), F = null, I = g("temperature"), L = [
465
+ }), A = _(!1), j = _(""), M = _({}), N = _({}), P = _(null), F = null, I = _("temperature"), L = [
456
466
  {
457
467
  label: "温度",
458
468
  value: "temperature"
@@ -473,42 +483,42 @@ var fe = /* @__PURE__ */ e(r()), pe = { class: "StationDialog-mask StationDialog
473
483
  label: "气压",
474
484
  value: "pressure"
475
485
  }
476
- ], R = g({}), z = g(!1), B = g("day"), V = g([]), ht = [{
486
+ ], R = _({}), z = _(!1), B = _("day"), V = _([]), yt = [{
477
487
  label: "日统计",
478
488
  value: "day"
479
489
  }, {
480
490
  label: "月统计",
481
491
  value: "month"
482
- }], gt = () => {
492
+ }], bt = () => {
483
493
  A.value = !1, z.value = !1;
484
- }, H = (e) => e == null || e === "" || e === 9999, U = (e, t) => H(e) ? "--" : t ? `${e}${t}` : String(e), _t = (e) => `${H(e.windSpeed) ? "--" : `${e.windSpeed}m/s`} ${e.windDirectionText || "--"}`, W = (e) => {
485
- let t = r.ids[e] || r.ids.data;
494
+ }, H = (e) => e == null || e === "" || e === 9999, U = (e, t) => H(e) ? "--" : t ? `${e}${t}` : String(e), xt = (e) => `${H(e.windSpeed) ? "--" : `${e.windSpeed}m/s`} ${e.windDirectionText || "--"}`, W = (e) => {
495
+ let t = d.ids[e] || d.ids.data;
486
496
  return t?.id ? t : null;
487
497
  }, G = async (e, t = {}) => {
488
- let i = W(e);
489
- if (!i) throw Error(`缺少 ${e} 对应的工作流配置`);
498
+ let r = W(e);
499
+ if (!r) throw Error(`缺少 ${e} 对应的工作流配置`);
490
500
  return await n({
491
- id: i.id,
492
- baseHttp: r.baseHttp,
493
- reqType: i.reqType,
501
+ id: r.id,
502
+ baseHttp: d.baseHttp,
503
+ reqType: r.reqType,
494
504
  variables: {
495
- stationCode: r.stationCode,
505
+ stationCode: d.stationCode,
496
506
  ...t
497
507
  },
498
- isFormData: i.isFormData,
499
- appKey: r.appKey,
500
- appSalt: r.appSalt
508
+ isFormData: r.isFormData,
509
+ appKey: d.appKey,
510
+ appSalt: d.appSalt
501
511
  });
502
512
  }, K = (e) => e ? e.data === void 0 ? e.result === void 0 ? e : e.result : e.data?.result?.output === void 0 ? e.data?.result === void 0 ? e.data : e.data.result : e.data.result.output : null, q = async () => {
503
- r.mock ? J() : await vt();
504
- }, J = () => {
505
- let e = r.mockData;
506
- e.baseInfo && (d.value = { ...e.baseInfo }), e.realTimeInfo && (M.value = { ...e.realTimeInfo }), e.statisticsInfo && (N.value = { ...e.statisticsInfo }), e.chartData && (R.value = { ...e.chartData }), j.value = e.dataTime || "", p(X);
507
- }, vt = async () => {
513
+ d.mock ? St() : await Ct();
514
+ }, St = () => {
515
+ let e = d.mockData;
516
+ e.baseInfo && (k.value = { ...e.baseInfo }), e.realTimeInfo && (M.value = { ...e.realTimeInfo }), e.statisticsInfo && (N.value = { ...e.statisticsInfo }), e.chartData && (R.value = { ...e.chartData }), j.value = e.dataTime || "", p(X);
517
+ }, Ct = async () => {
508
518
  try {
509
519
  let e = K(await G("baseInfo"));
510
- e && (d.value = {
511
- ...d.value,
520
+ e && (k.value = {
521
+ ...k.value,
512
522
  ...e
513
523
  });
514
524
  } catch (e) {
@@ -529,13 +539,13 @@ var fe = /* @__PURE__ */ e(r()), pe = { class: "StationDialog-mask StationDialog
529
539
  try {
530
540
  if (W("chart")) {
531
541
  let e = K(await G("chart"));
532
- e && typeof e == "object" && (R.value = Y(e));
533
- } else if (r.ids.data?.id) {
542
+ e && typeof e == "object" && (R.value = J(e));
543
+ } else if (d.ids.data?.id) {
534
544
  let e = {};
535
545
  for (let t of L) try {
536
546
  let n = K(await G("data", { type: t.value }));
537
547
  if (n) {
538
- let r = Y({ [t.value]: n });
548
+ let r = J({ [t.value]: n });
539
549
  Object.assign(e, r);
540
550
  }
541
551
  } catch (e) {
@@ -547,7 +557,7 @@ var fe = /* @__PURE__ */ e(r()), pe = { class: "StationDialog-mask StationDialog
547
557
  console.warn("图表数据接口失败", e);
548
558
  }
549
559
  p(X);
550
- }, Y = (e) => {
560
+ }, J = (e) => {
551
561
  let t = {};
552
562
  return [
553
563
  "temperature",
@@ -570,11 +580,11 @@ var fe = /* @__PURE__ */ e(r()), pe = { class: "StationDialog-mask StationDialog
570
580
  })) : []
571
581
  });
572
582
  }), t;
573
- }, yt = (e) => {
583
+ }, Y = (e) => {
574
584
  I.value = e, p(X);
575
585
  }, X = () => {
576
586
  if (!P.value) return;
577
- F ||= S.init(P.value);
587
+ F ||= C.init(P.value);
578
588
  let e = R.value[I.value];
579
589
  if (!e || !e.times.length) {
580
590
  F.clear();
@@ -596,7 +606,7 @@ var fe = /* @__PURE__ */ e(r()), pe = { class: "StationDialog-mask StationDialog
596
606
  4,
597
607
  0,
598
608
  0
599
- ], delete i.smooth, delete i.symbol, delete i.symbolSize), !n && !t && (i.areaStyle = { color: new S.graphic.LinearGradient(0, 0, 0, 1, [{
609
+ ], delete i.smooth, delete i.symbol, delete i.symbolSize), !n && !t && (i.areaStyle = { color: new C.graphic.LinearGradient(0, 0, 0, 1, [{
600
610
  offset: 0,
601
611
  color: Z(r.color || "#00D9FF", .3)
602
612
  }, {
@@ -689,7 +699,8 @@ var fe = /* @__PURE__ */ e(r()), pe = { class: "StationDialog-mask StationDialog
689
699
  axisLine: { lineStyle: { color: "rgba(255,255,255,0.3)" } },
690
700
  axisLabel: {
691
701
  color: "rgba(255,255,255,0.7)",
692
- fontSize: 11
702
+ fontSize: 11,
703
+ interval: 0
693
704
  },
694
705
  axisTick: { show: !1 },
695
706
  splitLine: { show: !1 }
@@ -720,15 +731,15 @@ var fe = /* @__PURE__ */ e(r()), pe = { class: "StationDialog-mask StationDialog
720
731
  F.setOption(a, !0), F.resize();
721
732
  }, Z = (e, t) => `rgba(${parseInt(e.slice(1, 3), 16)}, ${parseInt(e.slice(3, 5), 16)}, ${parseInt(e.slice(5, 7), 16)}, ${t})`, Q = () => {
722
733
  F?.resize();
723
- }, bt = () => {
734
+ }, wt = () => {
724
735
  z.value = !0, $();
725
- }, xt = () => {
736
+ }, Tt = () => {
726
737
  z.value = !1;
727
- }, St = (e) => {
738
+ }, Et = (e) => {
728
739
  B.value = e, $();
729
740
  }, $ = async () => {
730
- if (r.mock) {
731
- V.value = r.mockData.historyData?.[B.value] || [];
741
+ if (d.mock) {
742
+ V.value = d.mockData.historyData?.[B.value] || [];
732
743
  return;
733
744
  }
734
745
  if (!W("history")) {
@@ -741,7 +752,7 @@ var fe = /* @__PURE__ */ e(r()), pe = { class: "StationDialog-mask StationDialog
741
752
  } catch (e) {
742
753
  console.error("历史数据加载失败", e), V.value = [];
743
754
  }
744
- }, Ct = () => {
755
+ }, Dt = () => {
745
756
  let e = V.value.map((e, t) => ({
746
757
  序号: t + 1,
747
758
  日期: e.date || "",
@@ -753,7 +764,7 @@ var fe = /* @__PURE__ */ e(r()), pe = { class: "StationDialog-mask StationDialog
753
764
  气压: U(e.pressure, "hPa")
754
765
  })), t = B.value === "day" ? "日统计" : "月统计";
755
766
  new fe.default({
756
- fileName: `${d.value.stationName || r.stationName}_历史数据_${t}_${(/* @__PURE__ */ new Date()).getTime()}`,
767
+ fileName: `${k.value.stationName || d.stationName}_历史数据_${t}_${(/* @__PURE__ */ new Date()).getTime()}`,
757
768
  datas: [{
758
769
  sheetData: e,
759
770
  sheetName: t,
@@ -790,107 +801,106 @@ var fe = /* @__PURE__ */ e(r()), pe = { class: "StationDialog-mask StationDialog
790
801
  }]
791
802
  }).saveExcel();
792
803
  };
793
- b(() => r.stationCode, () => {
804
+ x(() => d.stationCode, () => {
794
805
  q();
795
- }, { immediate: !0 }), b(A, (e) => {
806
+ }, { immediate: !0 }), x(A, (e) => {
796
807
  e && p(() => {
797
808
  !F && P.value ? X() : F?.resize();
798
809
  });
799
810
  });
800
- function wt() {
801
- A.value = !0, q();
811
+ function Ot() {
812
+ A.value = !0, r.value = !0, q().finally(() => {
813
+ r.value = !1;
814
+ });
802
815
  }
803
816
  return oe(() => {
804
817
  window.addEventListener("resize", Q), t?.on("toComponent", (e) => {
805
- e.componentName === "StationDialog" && wt();
818
+ e.componentName === "StationDialog" && Ot();
806
819
  });
807
- }), ae(() => {
820
+ }), h(() => {
808
821
  window.removeEventListener("resize", Q), F &&= (F.dispose(), null);
809
822
  }), (t, n) => {
810
- let r = i, f = ee, p = a;
811
- return h(), ne(te, { to: "body" }, [ce(c("div", pe, [c("div", {
823
+ let d = i, f = te, p = ee, h = a;
824
+ return g(), re(ne, { to: "body" }, [ce((g(), s("div", pe, [c("div", {
812
825
  class: "StationPop",
813
- style: ie(e.componentStyle)
826
+ style: ae(e.componentStyle)
814
827
  }, [
815
828
  c("div", {
816
829
  class: "StationPop-close",
817
- onClick: gt
818
- }, [u(r, { class: "StationPop-close-icon" }, {
819
- default: x(() => [u(y(le))]),
830
+ onClick: bt
831
+ }, [u(d, { class: "StationPop-close-icon" }, {
832
+ default: S(() => [u(b(le))]),
820
833
  _: 1
821
834
  })]),
822
- c("div", me, v(d.value.stationName || e.stationName), 1),
823
- c("div", he, [j.value ? (h(), s("span", ge, "数据时间:" + v(j.value), 1)) : (h(), s("span", _e, "数据时间:--"))]),
824
- c("div", ve, [
825
- c("div", ye, [n[0] ||= c("span", { class: "StationPop-infoLabel" }, "站  号:", -1), c("span", be, v(d.value.stationCode || "--"), 1)]),
826
- c("div", xe, [n[1] ||= c("span", { class: "StationPop-infoLabel" }, "位  置:", -1), c("span", Se, v(d.value.address || "--"), 1)]),
827
- c("div", Ce, [n[2] ||= c("span", { class: "StationPop-infoLabel" }, "运行状况:", -1), c("span", we, v(d.value.stationStatus || "--"), 1)]),
828
- c("div", C, [n[3] ||= c("span", { class: "StationPop-infoLabel" }, "监测要素:", -1), c("span", w, v(d.value.monitorElement || "--"), 1)]),
829
- c("div", T, [n[4] ||= c("span", { class: "StationPop-infoLabel" }, "服务类别:", -1), c("span", E, v(d.value.serviceType || "--"), 1)])
830
- ]),
831
- c("div", D, [
832
- c("div", O, [n[14] ||= c("div", { class: "StationPop-sectionTitle" }, [c("span", { class: "StationPop-sectionBar" }), l(" 实时监测(时) ")], -1), c("div", k, [
833
- c("div", Te, [n[5] ||= c("span", { class: "StationPop-realtimeLabel" }, "温度:", -1), c("span", Ee, v(U(M.value.temperature, "")), 1)]),
834
- c("div", De, [n[6] ||= c("span", { class: "StationPop-realtimeLabel" }, "湿度:", -1), c("span", Oe, v(U(M.value.humidity, "%")), 1)]),
835
- c("div", ke, [n[7] ||= c("span", { class: "StationPop-realtimeLabel" }, "风速风向:", -1), c("span", Ae, v(U(M.value.windSpeed, "m/s")), 1)]),
836
- c("div", je, [n[8] ||= c("span", { class: "StationPop-realtimeLabel" }, "1小时累积降水:", -1), c("span", Me, v(U(M.value.hourPrecipitation, "mm")), 1)]),
837
- c("div", Ne, [n[9] ||= c("span", { class: "StationPop-realtimeLabel" }, "气压:", -1), c("span", Pe, v(U(M.value.pressure, "hPa")), 1)]),
838
- c("div", Fe, [n[10] ||= c("span", { class: "StationPop-realtimeLabel" }, "能见度:", -1), c("span", Ie, v(U(M.value.visibility, "m")), 1)]),
839
- c("div", Le, [n[11] ||= c("span", { class: "StationPop-realtimeLabel" }, "蒸发:", -1), c("span", Re, v(U(M.value.evaporation, "mm")), 1)]),
840
- c("div", ze, [n[12] ||= c("span", { class: "StationPop-realtimeLabel" }, "光照强度:", -1), c("span", Be, v(U(M.value.lightIntensity, "lux")), 1)]),
841
- c("div", Ve, [n[13] ||= c("span", { class: "StationPop-realtimeLabel" }, "光合有效辐射:", -1), c("span", He, v(U(M.value.par, "μmol/m²/s")), 1)])
835
+ c("div", me, y(k.value.stationName || e.stationName), 1),
836
+ c("div", he, [j.value ? (g(), s("span", ge, "数据时间:" + y(j.value), 1)) : (g(), s("span", _e, "数据时间:--"))]),
837
+ c("div", ve, [c("div", ye, [
838
+ c("div", be, [n[0] ||= c("span", { class: "StationPop-infoLabel" }, "站  号:", -1), c("span", xe, y(k.value.stationCode || "--"), 1)]),
839
+ c("div", Se, [n[1] ||= c("span", { class: "StationPop-infoLabel" }, "位  置:", -1), c("span", Ce, y(k.value.address || "--"), 1)]),
840
+ c("div", we, [n[2] ||= c("span", { class: "StationPop-infoLabel" }, "运行状况:", -1), c("span", Te, y(k.value.stationStatus || "--"), 1)])
841
+ ]), c("div", w, [c("div", T, [n[3] ||= c("span", { class: "StationPop-infoLabel" }, "监测要素:", -1), c("span", E, y(k.value.monitorElement || "--"), 1)]), c("div", D, [n[4] ||= c("span", { class: "StationPop-infoLabel" }, "服务类别:", -1), c("span", O, y(k.value.serviceType || "--"), 1)])])]),
842
+ c("div", Ee, [
843
+ c("div", De, [n[14] ||= c("div", { class: "StationPop-sectionTitle" }, [c("span", { class: "StationPop-sectionBar" }), l(" 实时监测(时) ")], -1), c("div", Oe, [
844
+ c("div", ke, [n[5] ||= c("span", { class: "StationPop-realtimeLabel" }, "温度:", -1), c("span", Ae, y(U(M.value.temperature, "℃")), 1)]),
845
+ c("div", je, [n[6] ||= c("span", { class: "StationPop-realtimeLabel" }, "湿度:", -1), c("span", Me, y(U(M.value.humidity, "%")), 1)]),
846
+ c("div", Ne, [n[7] ||= c("span", { class: "StationPop-realtimeLabel" }, "风速风向:", -1), c("span", Pe, y(U(M.value.windSpeed, "m/s")), 1)]),
847
+ c("div", Fe, [n[8] ||= c("span", { class: "StationPop-realtimeLabel" }, "1小时累积降水:", -1), c("span", Ie, y(U(M.value.hourPrecipitation, "mm")), 1)]),
848
+ c("div", Le, [n[9] ||= c("span", { class: "StationPop-realtimeLabel" }, "气压:", -1), c("span", Re, y(U(M.value.pressure, "hPa")), 1)]),
849
+ c("div", ze, [n[10] ||= c("span", { class: "StationPop-realtimeLabel" }, "能见度:", -1), c("span", Be, y(U(M.value.visibility, "m")), 1)]),
850
+ c("div", Ve, [n[11] ||= c("span", { class: "StationPop-realtimeLabel" }, "蒸发:", -1), c("span", He, y(U(M.value.evaporation, "mm")), 1)]),
851
+ c("div", Ue, [n[12] ||= c("span", { class: "StationPop-realtimeLabel" }, "光照强度:", -1), c("span", We, y(U(M.value.lightIntensity, "lux")), 1)]),
852
+ c("div", Ge, [n[13] ||= c("span", { class: "StationPop-realtimeLabel" }, "光合有效辐射:", -1), c("span", Ke, y(U(M.value.par, "μmol/m²/s")), 1)])
842
853
  ])]),
843
- c("div", Ue, [
854
+ c("div", qe, [
844
855
  n[22] ||= c("div", { class: "StationPop-sectionTitle" }, [c("span", { class: "StationPop-sectionBar" }), l(" 统计信息 ")], -1),
845
- c("div", We, [
846
- c("div", Ge, [n[15] ||= c("span", { class: "StationPop-statisticsLabel" }, "日最低温度:", -1), c("span", Ke, v(U(N.value.dailyMinTemp, "℃")), 1)]),
847
- c("div", qe, [n[16] ||= c("span", { class: "StationPop-statisticsLabel" }, "日最高温度:", -1), c("span", Je, v(U(N.value.dailyMaxTemp, "℃")), 1)]),
848
- c("div", Ye, [n[17] ||= c("span", { class: "StationPop-statisticsLabel" }, "日累计降水:", -1), c("span", Xe, v(U(N.value.dailyPrecipitation, "mm")), 1)]),
849
- c("div", Ze, [n[18] ||= c("span", { class: "StationPop-statisticsLabel" }, "历史最低温:", -1), c("span", Qe, v(U(N.value.historyMinTemp, "℃")), 1)]),
850
- c("div", $e, [n[19] ||= c("span", { class: "StationPop-statisticsLabel" }, "历史最高温:", -1), c("span", et, v(U(N.value.historyMaxTemp, "℃")), 1)]),
851
- c("div", tt, [n[20] ||= c("span", { class: "StationPop-statisticsLabel" }, "历史最大累积降水:", -1), c("span", nt, v(U(N.value.historyMaxPrecipitation, "mm")), 1)])
856
+ c("div", Je, [
857
+ c("div", Ye, [n[15] ||= c("span", { class: "StationPop-statisticsLabel" }, "日最低温度:", -1), c("span", Xe, y(U(N.value.dailyMinTemp, "℃")), 1)]),
858
+ c("div", Ze, [n[16] ||= c("span", { class: "StationPop-statisticsLabel" }, "日最高温度:", -1), c("span", Qe, y(U(N.value.dailyMaxTemp, "℃")), 1)]),
859
+ c("div", $e, [n[17] ||= c("span", { class: "StationPop-statisticsLabel" }, "日累计降水:", -1), c("span", et, y(U(N.value.dailyPrecipitation, "mm")), 1)]),
860
+ c("div", tt, [n[18] ||= c("span", { class: "StationPop-statisticsLabel" }, "历史最低温:", -1), c("span", nt, y(U(N.value.historyMinTemp, "℃")), 1)]),
861
+ c("div", rt, [n[19] ||= c("span", { class: "StationPop-statisticsLabel" }, "历史最高温:", -1), c("span", it, y(U(N.value.historyMaxTemp, "℃")), 1)]),
862
+ c("div", at, [n[20] ||= c("span", { class: "StationPop-statisticsLabel" }, "历史最大累积降水:", -1), c("span", ot, y(U(N.value.historyMaxPrecipitation, "mm")), 1)])
852
863
  ]),
853
864
  c("button", {
854
865
  class: "StationPop-historyBtn",
855
- onClick: bt
856
- }, [u(r, null, {
857
- default: x(() => [u(y(de))]),
866
+ onClick: wt
867
+ }, [u(d, null, {
868
+ default: S(() => [u(b(de))]),
858
869
  _: 1
859
870
  }), n[21] ||= l(" 历史数据 ", -1)])
860
871
  ]),
861
- c("div", rt, [c("div", it, [(h(), s(o, null, _(L, (e) => c("div", {
872
+ c("div", st, [c("div", ct, [(g(), s(o, null, v(L, (e) => c("div", {
862
873
  key: e.value,
863
874
  class: m(["StationPop-tab", { "StationPop-tab--active": I.value === e.value }]),
864
- onClick: (t) => yt(e.value)
865
- }, v(e.label), 11, at)), 64))]), c("div", {
875
+ onClick: (t) => Y(e.value)
876
+ }, y(e.label), 11, lt)), 64))]), c("div", {
866
877
  ref_key: "chartRef",
867
878
  ref: P,
868
879
  class: "StationPop-chart"
869
880
  }, null, 512)])
870
881
  ])
871
- ], 4), z.value ? (h(), s("div", ot, [c("div", st, [
872
- c("div", ct, [c("div", lt, [n[23] ||= c("span", null, "历史数据", -1), c("span", ut, v(d.value.stationName || e.stationName), 1)]), c("button", {
882
+ ], 4), z.value ? (g(), s("div", ut, [c("div", dt, [
883
+ c("div", ft, [c("div", pt, [n[23] ||= c("span", null, "历史数据", -1), c("span", mt, y(k.value.stationName || e.stationName), 1)]), c("button", {
873
884
  class: "StationPop-historyClose",
874
- onClick: xt
885
+ onClick: Tt
875
886
  }, "✕")]),
876
- c("div", dt, [(h(), s(o, null, _(ht, (e) => c("button", {
887
+ c("div", ht, [(g(), s(o, null, v(yt, (e) => c("button", {
877
888
  key: e.value,
878
889
  class: m(["StationPop-historyTab", { "StationPop-historyTab--active": B.value === e.value }]),
879
- onClick: (t) => St(e.value)
880
- }, v(e.label), 11, ft)), 64)), c("div", pt, [c("button", {
890
+ onClick: (t) => Et(e.value)
891
+ }, y(e.label), 11, gt)), 64)), c("div", _t, [c("button", {
881
892
  class: "StationPop-historyExport",
882
- onClick: Ct
883
- }, [u(r, null, {
884
- default: x(() => [u(y(ue))]),
893
+ onClick: Dt
894
+ }, [u(d, null, {
895
+ default: S(() => [u(b(ue))]),
885
896
  _: 1
886
897
  }), n[24] ||= l(" 导出 ", -1)])])]),
887
- c("div", mt, [u(p, {
898
+ c("div", vt, [u(p, {
888
899
  data: V.value,
889
900
  class: "StationPop-historyTable",
890
- size: "small",
891
901
  style: { width: "100%" }
892
902
  }, {
893
- default: x(() => [
903
+ default: S(() => [
894
904
  u(f, {
895
905
  type: "index",
896
906
  label: "序号",
@@ -902,7 +912,7 @@ var fe = /* @__PURE__ */ e(r()), pe = { class: "StationDialog-mask StationDialog
902
912
  "min-width": "100",
903
913
  align: "left"
904
914
  }, {
905
- default: x(({ row: e }) => [c("span", null, v(e.date || "--"), 1)]),
915
+ default: S(({ row: e }) => [c("span", null, y(e.date || "--"), 1)]),
906
916
  _: 1
907
917
  }, 8, ["label"]),
908
918
  u(f, {
@@ -910,7 +920,7 @@ var fe = /* @__PURE__ */ e(r()), pe = { class: "StationDialog-mask StationDialog
910
920
  "min-width": "80",
911
921
  align: "right"
912
922
  }, {
913
- default: x(({ row: e }) => [c("span", null, v(U(e.precipitation, "mm")), 1)]),
923
+ default: S(({ row: e }) => [c("span", null, y(U(e.precipitation, "mm")), 1)]),
914
924
  _: 1
915
925
  }),
916
926
  u(f, {
@@ -918,7 +928,7 @@ var fe = /* @__PURE__ */ e(r()), pe = { class: "StationDialog-mask StationDialog
918
928
  "min-width": "80",
919
929
  align: "right"
920
930
  }, {
921
- default: x(({ row: e }) => [c("span", null, v(U(e.temperature, "℃")), 1)]),
931
+ default: S(({ row: e }) => [c("span", null, y(U(e.temperature, "℃")), 1)]),
922
932
  _: 1
923
933
  }),
924
934
  u(f, {
@@ -926,7 +936,7 @@ var fe = /* @__PURE__ */ e(r()), pe = { class: "StationDialog-mask StationDialog
926
936
  "min-width": "80",
927
937
  align: "right"
928
938
  }, {
929
- default: x(({ row: e }) => [c("span", null, v(U(e.humidity, "%")), 1)]),
939
+ default: S(({ row: e }) => [c("span", null, y(U(e.humidity, "%")), 1)]),
930
940
  _: 1
931
941
  }),
932
942
  u(f, {
@@ -934,7 +944,7 @@ var fe = /* @__PURE__ */ e(r()), pe = { class: "StationDialog-mask StationDialog
934
944
  "min-width": "120",
935
945
  align: "left"
936
946
  }, {
937
- default: x(({ row: e }) => [c("span", null, v(_t(e)), 1)]),
947
+ default: S(({ row: e }) => [c("span", null, y(xt(e)), 1)]),
938
948
  _: 1
939
949
  }),
940
950
  u(f, {
@@ -942,15 +952,15 @@ var fe = /* @__PURE__ */ e(r()), pe = { class: "StationDialog-mask StationDialog
942
952
  "min-width": "90",
943
953
  align: "right"
944
954
  }, {
945
- default: x(({ row: e }) => [c("span", null, v(U(e.pressure, "hPa")), 1)]),
955
+ default: S(({ row: e }) => [c("span", null, y(U(e.pressure, "hPa")), 1)]),
946
956
  _: 1
947
957
  })
948
958
  ]),
949
959
  _: 1
950
960
  }, 8, ["data"])])
951
- ])])) : re("", !0)], 512), [[se, A.value]])]);
961
+ ])])) : ie("", !0)])), [[se, A.value], [h, r.value]])]);
952
962
  };
953
963
  }
954
- }), [["__scopeId", "data-v-a47434cc"]]);
964
+ }), [["__scopeId", "data-v-c1c0c7f7"]]);
955
965
  //#endregion
956
- export { A as t };
966
+ export { k as t };