nxd-plugin 1.8.21 → 1.8.23
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.
- package/dist/chunks/YCServiceSummary-D9qP6hLO.mjs +2 -0
- package/dist/chunks/{component-AiChat-C_DePYiS.mjs → component-AiChat-BwP3zj0h.mjs} +1167 -884
- package/dist/chunks/{component-AqiMonitor-B4ZLQZOd.mjs → component-AqiMonitor-Cga2wb4h.mjs} +27 -31
- package/dist/chunks/{component-ChartCumulativePre-DQqNwEkp.mjs → component-ChartCumulativePre-CkQrY-fM.mjs} +2 -2
- package/dist/chunks/{component-ChartServiceMaterial-BSXCSmjT.mjs → component-ChartServiceMaterial-BSfXMgj4.mjs} +2 -2
- package/dist/chunks/{component-Duty-DnkxgYav.mjs → component-Duty-DLMdCDNu.mjs} +2 -2
- package/dist/chunks/{component-EarlyWarningStatistic-DZIISSb4.mjs → component-EarlyWarningStatistic-CHCmDM5w.mjs} +2 -2
- package/dist/chunks/{component-EarlyWarningStatistic2-vSCEWtaq.mjs → component-EarlyWarningStatistic2-D_Uc9rbm.mjs} +2 -2
- package/dist/chunks/{component-Forecast72h-DicwnEaB.mjs → component-Forecast72h-CwDS2BCV.mjs} +91 -92
- package/dist/chunks/{component-GeologyLiveAlarm-DcLkKxQi.mjs → component-GeologyLiveAlarm-TXjC0N1b.mjs} +2 -2
- package/dist/chunks/{component-GridForecastMsg-B1J5xBf1.mjs → component-GridForecastMsg-J7V2m_bm.mjs} +1 -2
- package/dist/chunks/{component-HDSeaLegend-ubUWj-K6.mjs → component-HDSeaLegend-BbW1vk-L.mjs} +2 -1
- package/dist/chunks/{component-HdCameraList-DE5T_NCe.mjs → component-HdCameraList-ya7gQWsk.mjs} +84 -101
- package/dist/chunks/{component-HdFarmStation-Dr16UrnR.mjs → component-HdFarmStation-DbvF94Z6.mjs} +77 -81
- package/dist/chunks/{component-HdFarmStationDialog-DNAo261X.mjs → component-HdFarmStationDialog-p3vjS1JB.mjs} +265 -282
- package/dist/chunks/{component-HdForecastProducts-DW94eZkZ.mjs → component-HdForecastProducts-2ZXLMLdw.mjs} +1 -2
- package/dist/chunks/{component-HdHeatChart-QyRCV140.mjs → component-HdHeatChart-CM4uhNsK.mjs} +1 -2
- package/dist/chunks/{component-HdHeatChartDialog-CwUk9qQm.mjs → component-HdHeatChartDialog-CxIaxIg5.mjs} +2 -3
- package/dist/chunks/{component-HdHeatService-Cbsa46Kg.mjs → component-HdHeatService-BNRBwLEC.mjs} +1 -2
- package/dist/chunks/{component-HdInsectDetailList-Br06iK7W.mjs → component-HdInsectDetailList-CNfJip9R.mjs} +1 -2
- package/dist/chunks/{component-HdInsectList-Djo-0pVh.mjs → component-HdInsectList-D0fRM6cx.mjs} +1 -2
- package/dist/chunks/component-HdMajorActivity-C95MgI5Y.mjs +704 -0
- package/dist/chunks/{component-HdObservation-5k_0GZGV.mjs → component-HdObservation-DUMGmfJN.mjs} +3 -4
- package/dist/chunks/{component-HdPreSituation-B0yXJZVG.mjs → component-HdPreSituation-IILymZ3h.mjs} +3 -4
- package/dist/chunks/{component-HdQxServiceEffects-Ds1vj_DV.mjs → component-HdQxServiceEffects-B-C0VBH3.mjs} +1 -2
- package/dist/chunks/{component-HdRadarList-NLZ0YNV8.mjs → component-HdRadarList-DSMrSb-T.mjs} +3 -3
- package/dist/chunks/{component-HdRadarTime-D7-YoOkE.mjs → component-HdRadarTime-FEhuGBEg.mjs} +1 -2
- package/dist/chunks/{component-HdRadarTimeLine-CJ0_ejKf.mjs → component-HdRadarTimeLine-UfzKKTgp.mjs} +1 -2
- package/dist/chunks/{component-HdRisk-fuJNWgJD.mjs → component-HdRisk-B3N71NoC.mjs} +2 -3
- package/dist/chunks/{component-HdSeaCase-D21rq9pv.mjs → component-HdSeaCase-Cim-Y8hP.mjs} +1 -2
- package/dist/chunks/{component-HdServiceMarterial-CgcHHy6J.mjs → component-HdServiceMarterial-BxifbLBR.mjs} +2 -3
- package/dist/chunks/{component-HdServiceRequirements-D2EdgZjN.mjs → component-HdServiceRequirements-BawMn0jA.mjs} +2 -3
- package/dist/chunks/{component-HdSoil-D58PIu6D.mjs → component-HdSoil-DaGj6RPD.mjs} +2 -3
- package/dist/chunks/{component-HdSoilDetailList-BpbPwCjd.mjs → component-HdSoilDetailList-fBu8i74J.mjs} +1 -2
- package/dist/chunks/{component-HdStationTem-qqZ5UXom.mjs → component-HdStationTem-DgGFJ20c.mjs} +3 -4
- package/dist/chunks/{component-HdSuggestion-Dbdlr5zS.mjs → component-HdSuggestion-BnpgzKkp.mjs} +2 -3
- package/dist/chunks/{component-HdThreeWeatherTrend-zSmR2LIO.mjs → component-HdThreeWeatherTrend-Bmire4sm.mjs} +3 -4
- package/dist/chunks/{component-HdWaveForcast-DllKzNgu.mjs → component-HdWaveForcast-Bc3sB9Fn.mjs} +2 -3
- package/dist/chunks/{component-HighQuality-BNVnCK0d.mjs → component-HighQuality-DjDZKwMT.mjs} +1 -2
- package/dist/chunks/{component-HighWayEarlyWarningRed-CwzMQCqp.mjs → component-HighWayEarlyWarningRed-CzBI_AJA.mjs} +2 -2
- package/dist/chunks/{component-HighWayFreeze-Ds2Hz7pR.mjs → component-HighWayFreeze-sFMx0umE.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarm-Do4pwmnJ.mjs → component-HighwayLiveAlarm-Ozq7Y8qF.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarmNew-DoWns_RH.mjs → component-HighwayLiveAlarmNew-ByL2OYk0.mjs} +3 -3
- package/dist/chunks/{component-HighwayStations-BBQa33JX.mjs → component-HighwayStations-DXj5h1vg.mjs} +2 -2
- package/dist/chunks/{component-HighwayWeatherForecast-C-kwyE6Q.mjs → component-HighwayWeatherForecast-6I714FL1.mjs} +69 -69
- package/dist/chunks/{component-IframeWeb-uP8unwJj.mjs → component-IframeWeb-DDYUNdVl.mjs} +1 -1
- package/dist/chunks/{component-ImageGeneration-CLAge4U1.mjs → component-ImageGeneration-C0K8D1lM.mjs} +2 -1
- package/dist/chunks/{component-IntroducePic-C8X8Y6hx.mjs → component-IntroducePic-Bzsjmjql.mjs} +1 -2
- package/dist/chunks/{component-LithiumBatteryMiningArea-xc5REiPe.mjs → component-LithiumBatteryMiningArea-ClvF3vsD.mjs} +2 -2
- package/dist/chunks/{component-MapPopup-DXRLi4wJ.mjs → component-MapPopup-BnKmR10m.mjs} +1 -1
- package/dist/chunks/{component-MaterialPreview-B9iSbEIO.mjs → component-MaterialPreview-DG5VgGJp.mjs} +1 -2
- package/dist/chunks/{component-PieLegend-DPwAQJxO.mjs → component-PieLegend-Y_AZPS0g.mjs} +1 -1
- package/dist/chunks/{component-PrecipitationRanking-CwP3NZlf.mjs → component-PrecipitationRanking-71G9U_UP.mjs} +3 -4
- package/dist/chunks/{component-RadarChart-BxEzHVOE.mjs → component-RadarChart-u6Xs1TTB.mjs} +2 -2
- package/dist/chunks/{component-RadarLegend-DVoe6ojQ.mjs → component-RadarLegend-9ahVi99l.mjs} +1 -1
- package/dist/chunks/{component-RadarShortTerm-7v_EauV4.mjs → component-RadarShortTerm-wwvpXBvp.mjs} +4 -4
- package/dist/chunks/{component-RadarTime-CT8WOoJR.mjs → component-RadarTime-BqkIprmh.mjs} +2 -2
- package/dist/chunks/{component-RenderMarkdown-CxAwaqBM.mjs → component-RenderMarkdown-Cip_f4e8.mjs} +2 -2
- package/dist/chunks/{component-ReservoirLiveAlarm-CWkaa2z8.mjs → component-ReservoirLiveAlarm-D6fDm2mR.mjs} +3 -3
- package/dist/chunks/{component-ServiceMaterial-CNjEwMGZ.mjs → component-ServiceMaterial-DHdRLUhG.mjs} +2 -2
- package/dist/chunks/{component-ServiceMaterialsBtn-DWBa1Hpa.mjs → component-ServiceMaterialsBtn-B6fjh9Bc.mjs} +2 -1
- package/dist/chunks/{component-StationDialog-usekZclX.mjs → component-StationDialog-DP9cwrI_.mjs} +2 -3
- package/dist/chunks/{component-StationList-B0bav8JG.mjs → component-StationList-Cfmz5c3d.mjs} +3 -4
- package/dist/chunks/{component-TimeBasedForecast-l0RpjVYi.mjs → component-TimeBasedForecast-DIBNCv4O.mjs} +36 -36
- package/dist/chunks/{component-Typhoon-Cf8qko_n.mjs → component-Typhoon-4Oj6wl91.mjs} +16 -16
- package/dist/chunks/{component-WarningLine-B2HyTDUW.mjs → component-WarningLine-XjCN_f4w.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-Cy8MQ6oC.mjs → component-WarningSignal-DPUOC73O.mjs} +3 -3
- package/dist/chunks/{component-WeatherForecast-B-MV7oqR.mjs → component-WeatherForecast-Cl3G0gZG.mjs} +36 -36
- package/dist/chunks/{component-YCDataMonitor-p7tSzU_b.mjs → component-YCDataMonitor-Cmugq2Hc.mjs} +1 -2
- package/dist/chunks/{component-YCDataService-BBVuyu-D.mjs → component-YCDataService-Veq9EEB6.mjs} +3 -4
- package/dist/chunks/{component-YCHighWaySummary-BH34LVVj.mjs → component-YCHighWaySummary-BfcLGdxr.mjs} +2 -2
- package/dist/chunks/{component-YCHome-CtSa__qB.mjs → component-YCHome-BgGFtVlS.mjs} +3 -4
- package/dist/chunks/{component-YCHomeLegend-DqzGcZgD.mjs → component-YCHomeLegend-jG8vwIka.mjs} +2 -1
- package/dist/chunks/{component-YCLoginNew-zgG8m4VV.mjs → component-YCLoginNew-BKMD-5TL.mjs} +9 -10
- package/dist/chunks/component-YCServiceSummary-C2K81UiN.mjs +869 -0
- package/dist/components/AiChat/AiChat.vue.d.ts +18 -0
- package/dist/components/AiChat/AiChatResponse.vue.d.ts +2 -0
- package/dist/components/AiChat/AiChatThinking.vue.d.ts +4 -0
- package/dist/components/AiChat/types.d.ts +1 -0
- package/dist/components/HdCameraList/HdCameraList.vue.d.ts +0 -10
- package/dist/components/HdFarmStationDialog/HdFarmStationDialog.vue.d.ts +0 -69
- package/dist/components/HdMajorActivity/HdMajorActivity.vue.d.ts +74 -0
- package/dist/components/YCServiceSummary/YCAIChatPanel.vue.d.ts +22 -2
- package/dist/components/YCServiceSummary/YCServiceSummary.vue.d.ts +21 -2
- package/dist/components/YCServiceSummary/YCServiceSummaryGeologyRefineAnalysis.vue.d.ts +24 -0
- package/dist/components/YCServiceSummary/YCServiceSummaryGeologyTrafficAnalysis.vue.d.ts +24 -0
- package/dist/components/YCServiceSummary/YCServiceSummaryRefineAnalysis.vue.d.ts +21 -2
- package/dist/components/YCServiceSummary/YCServiceSummaryReservoirRefineAnalysis.vue.d.ts +24 -0
- package/dist/components/YCServiceSummary/YCServiceSummaryReservoirTrafficAnalysis.vue.d.ts +24 -0
- package/dist/components/YCServiceSummary/YCServiceSummaryTrafficAnalysis.vue.d.ts +21 -2
- package/dist/index.d.ts +2 -1
- package/dist/nxd-plugin.mjs +75 -74
- package/dist/styles/component-AiChat.css +1 -1
- package/dist/styles/component-Forecast72h.css +1 -1
- package/dist/styles/component-HdCameraList.css +1 -1
- package/dist/styles/component-HdFarmStation.css +1 -1
- package/dist/styles/component-HdFarmStationDialog.css +1 -1
- package/dist/styles/component-HdInsectDetailList.css +1 -1
- package/dist/styles/component-HdMajorActivity.css +1 -0
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/dist/styles/component-YCServiceSummary.css +1 -1
- package/dist/utils/request.d.ts +1 -0
- package/package.json +1 -1
- package/dist/chunks/YCServiceSummary-9W7E-cRv.mjs +0 -2
- package/dist/chunks/component-YCServiceSummary-KF3yjd4u.mjs +0 -354
- package/dist/components/YCServiceSummary/types.d.ts +0 -14
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { i as e } from "./component-AiChat-
|
|
2
|
-
import { ElLoadingDirective as
|
|
3
|
-
import { Fragment as
|
|
1
|
+
import { i as e, o as t } from "./component-AiChat-BwP3zj0h.mjs";
|
|
2
|
+
import { ElLoadingDirective as n } from "element-plus/es";
|
|
3
|
+
import { Fragment as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createStaticVNode as s, defineComponent as c, getCurrentInstance as l, onMounted as u, openBlock as d, ref as f, renderList as p, toDisplayString as m, vModelRadio as h, withDirectives as g } from "vue";
|
|
4
4
|
//#region src/assets/img/head.png
|
|
5
|
-
var
|
|
6
|
-
let n = e.__vccOpts || e;
|
|
7
|
-
for (let [e, r] of t) n[e] = r;
|
|
8
|
-
return n;
|
|
9
|
-
}, v = {
|
|
5
|
+
var _ = "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", v = {
|
|
10
6
|
class: "AqiMonitor",
|
|
11
7
|
"element-loading-background": "rgba(0, 0, 0, 0.4)"
|
|
12
8
|
}, y = { class: "AqiMonitor__head" }, b = { class: "AqiMonitor__head-top" }, x = { class: "AqiMonitor__body" }, S = { class: "control-group" }, C = { class: "radio-group" }, w = ["value"], T = { class: "table-container" }, E = { class: "table-scroll-body" }, D = { class: "data-table" }, O = ["title"], k = { style: {
|
|
@@ -21,7 +17,7 @@ var g = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbsAAAASBAMAAAAwI22/AAAAB
|
|
|
21
17
|
} }, M = { style: {
|
|
22
18
|
width: "80px",
|
|
23
19
|
"text-align": "center"
|
|
24
|
-
} }, N = { key: 0 }, P = /* @__PURE__ */
|
|
20
|
+
} }, N = { key: 0 }, P = /* @__PURE__ */ e(/* @__PURE__ */ c({
|
|
25
21
|
__name: "AqiMonitor",
|
|
26
22
|
props: {
|
|
27
23
|
appKey: {
|
|
@@ -46,8 +42,8 @@ var g = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbsAAAASBAMAAAAwI22/AAAAB
|
|
|
46
42
|
}
|
|
47
43
|
},
|
|
48
44
|
emits: ["close"],
|
|
49
|
-
setup(
|
|
50
|
-
let _ =
|
|
45
|
+
setup(e, { emit: c }) {
|
|
46
|
+
let _ = l()?.appContext.config.globalProperties.$bus, P = e, F = c, I = f(!1), L = f([]), R = f("precipitation"), z = f([
|
|
51
47
|
{
|
|
52
48
|
value: "precipitation",
|
|
53
49
|
label: "降水量"
|
|
@@ -65,7 +61,7 @@ var g = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbsAAAASBAMAAAAwI22/AAAAB
|
|
|
65
61
|
label: "极大风速"
|
|
66
62
|
}
|
|
67
63
|
]);
|
|
68
|
-
|
|
64
|
+
u(() => {
|
|
69
65
|
_?.on("toComponent", (e) => {
|
|
70
66
|
e.componentName === "AqiMonitor" && B();
|
|
71
67
|
}), B();
|
|
@@ -74,7 +70,7 @@ var g = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbsAAAASBAMAAAAwI22/AAAAB
|
|
|
74
70
|
await V();
|
|
75
71
|
}, V = async () => {
|
|
76
72
|
I.value = !0;
|
|
77
|
-
let
|
|
73
|
+
let e = await t({
|
|
78
74
|
appKey: P.appKey,
|
|
79
75
|
appSalt: P.appSalt,
|
|
80
76
|
id: P.ids.data.id,
|
|
@@ -83,8 +79,8 @@ var g = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbsAAAASBAMAAAAwI22/AAAAB
|
|
|
83
79
|
reqType: P.ids.data.reqType,
|
|
84
80
|
isFormData: P.ids.data.isFormData
|
|
85
81
|
});
|
|
86
|
-
I.value = !1, console.log(
|
|
87
|
-
let n =
|
|
82
|
+
I.value = !1, console.log(e, "自动站数据");
|
|
83
|
+
let n = e.data?.result?.output || [];
|
|
88
84
|
n && n.length > 0 && (L.value = n.map((e) => ({
|
|
89
85
|
...e,
|
|
90
86
|
station_name: e.station_name || e.name || "",
|
|
@@ -96,25 +92,25 @@ var g = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbsAAAASBAMAAAAwI22/AAAAB
|
|
|
96
92
|
}, H = () => {
|
|
97
93
|
F("close", "AqiMonitor");
|
|
98
94
|
};
|
|
99
|
-
return (
|
|
100
|
-
let l =
|
|
101
|
-
return
|
|
95
|
+
return (t, c) => {
|
|
96
|
+
let l = n;
|
|
97
|
+
return g((d(), a("div", v, [o("div", y, [o("div", b, [o("div", null, m(e.title), 1), o("div", {
|
|
102
98
|
class: "closeBtn",
|
|
103
99
|
onClick: H,
|
|
104
100
|
title: "关闭"
|
|
105
|
-
})]), c[1] ||=
|
|
101
|
+
})]), c[1] ||= o("img", {
|
|
106
102
|
class: "AqiMonitor__head-line",
|
|
107
103
|
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",
|
|
108
104
|
alt: ""
|
|
109
|
-
}, null, -1)]),
|
|
105
|
+
}, null, -1)]), o("div", x, [o("div", S, [c[2] ||= o("label", { class: "control-label" }, "显示设置:", -1), o("div", C, [(d(!0), a(r, null, p(z.value, (e) => (d(), a("label", {
|
|
110
106
|
class: "radio-item",
|
|
111
107
|
key: e.value
|
|
112
|
-
}, [
|
|
108
|
+
}, [g(o("input", {
|
|
113
109
|
type: "radio",
|
|
114
110
|
"onUpdate:modelValue": c[0] ||= (e) => R.value = e,
|
|
115
111
|
value: e.value
|
|
116
|
-
}, null, 8, w), [[
|
|
117
|
-
|
|
112
|
+
}, null, 8, w), [[h, R.value]]), o("span", null, m(e.label), 1)]))), 128))])]), o("div", T, [c[4] ||= s("<table class=\"data-table\" data-v-94aab511><thead data-v-94aab511><tr data-v-94aab511><th style=\"min-width:100px;text-align:center;\" data-v-94aab511>站名</th><th style=\"width:80px;text-align:center;\" data-v-94aab511>降水量</th><th style=\"width:70px;text-align:center;\" data-v-94aab511>最高温</th><th style=\"width:70px;text-align:center;\" data-v-94aab511>最低温</th><th style=\"width:80px;text-align:center;\" data-v-94aab511>极大风速</th></tr></thead></table>", 1), o("div", E, [o("table", D, [o("tbody", null, [(d(!0), a(r, null, p(L.value, (e, t) => (d(), a("tr", { key: t }, [
|
|
113
|
+
o("td", {
|
|
118
114
|
style: {
|
|
119
115
|
"min-width": "100px",
|
|
120
116
|
overflow: "hidden",
|
|
@@ -122,17 +118,17 @@ var g = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbsAAAASBAMAAAAwI22/AAAAB
|
|
|
122
118
|
"white-space": "nowrap"
|
|
123
119
|
},
|
|
124
120
|
title: e.station_name
|
|
125
|
-
},
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
]))), 128)), !L.value || !L.value.length ? (
|
|
121
|
+
}, m(e.station_name), 9, O),
|
|
122
|
+
o("td", k, m(e.precipitation ?? "-"), 1),
|
|
123
|
+
o("td", A, m(e.max_temp ?? "-") + "℃", 1),
|
|
124
|
+
o("td", j, m(e.min_temp ?? "-") + "℃", 1),
|
|
125
|
+
o("td", M, m(e.max_wind_speed ?? "-") + "m/s", 1)
|
|
126
|
+
]))), 128)), !L.value || !L.value.length ? (d(), a("tr", N, [...c[3] ||= [o("td", {
|
|
131
127
|
colspan: "5",
|
|
132
128
|
class: "empty-state"
|
|
133
|
-
}, "暂无数据", -1)]])) :
|
|
129
|
+
}, "暂无数据", -1)]])) : i("", !0)])])])])])])), [[l, I.value]]);
|
|
134
130
|
};
|
|
135
131
|
}
|
|
136
132
|
}), [["__scopeId", "data-v-94aab511"]]);
|
|
137
133
|
//#endregion
|
|
138
|
-
export { _ as n,
|
|
134
|
+
export { _ as n, P as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
1
|
+
import "./component-AqiMonitor-Cga2wb4h.mjs";
|
|
2
|
+
import { i as e, o as t } from "./component-AiChat-BwP3zj0h.mjs";
|
|
3
3
|
import { ElLoadingDirective as n, ElOption as r, ElSelect as i } from "element-plus/es";
|
|
4
4
|
import { Fragment as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, onBeforeUnmount as d, onMounted as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, unref as _, withCtx as v, withDirectives as y } from "vue";
|
|
5
5
|
import * as b from "echarts";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
1
|
+
import "./component-AqiMonitor-Cga2wb4h.mjs";
|
|
2
|
+
import { i as e, o as t } from "./component-AiChat-BwP3zj0h.mjs";
|
|
3
3
|
import { ElLoadingDirective as n, ElOption as r, ElSelect as i } from "element-plus/es";
|
|
4
4
|
import { Fragment as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, onBeforeUnmount as d, onMounted as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, withCtx as _, withDirectives as v } from "vue";
|
|
5
5
|
import * as y from "echarts";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
1
|
+
import "./component-AqiMonitor-Cga2wb4h.mjs";
|
|
2
|
+
import { i as e, o as t } from "./component-AiChat-BwP3zj0h.mjs";
|
|
3
3
|
import { createCommentVNode as n, createElementBlock as r, createElementVNode as i, createStaticVNode as a, createTextVNode as o, defineComponent as s, onBeforeUnmount as c, onMounted as l, openBlock as u, ref as d, toDisplayString as f } from "vue";
|
|
4
4
|
//#region src/components/Duty/Duty.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var p = { class: "Duty" }, m = { class: "duty-section" }, h = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
1
|
+
import "./component-AqiMonitor-Cga2wb4h.mjs";
|
|
2
|
+
import { i as e, o as t } from "./component-AiChat-BwP3zj0h.mjs";
|
|
3
3
|
import { ElLoadingDirective as n, ElOption as r, ElSelect as i } from "element-plus/es";
|
|
4
4
|
import { Fragment as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, onBeforeUnmount as d, onMounted as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, withCtx as _, withDirectives as v } from "vue";
|
|
5
5
|
import * as y from "echarts";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
1
|
+
import "./component-AqiMonitor-Cga2wb4h.mjs";
|
|
2
|
+
import { i as e, o as t } from "./component-AiChat-BwP3zj0h.mjs";
|
|
3
3
|
import { ElLoadingDirective as n } from "element-plus/es";
|
|
4
4
|
import { Fragment as r, computed as i, createElementBlock as a, createElementVNode as o, defineComponent as s, nextTick as c, normalizeStyle as l, onBeforeUnmount as u, onMounted as d, openBlock as f, ref as p, renderList as m, toDisplayString as h, vShow as g, withDirectives as _ } from "vue";
|
|
5
5
|
import "element-plus/es/components/loading/style/css";
|
package/dist/chunks/{component-Forecast72h-DicwnEaB.mjs → component-Forecast72h-CwDS2BCV.mjs}
RENAMED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as t } from "./component-AiChat-C_DePYiS.mjs";
|
|
1
|
+
import { i as e, o as t } from "./component-AiChat-BwP3zj0h.mjs";
|
|
3
2
|
import { ElLoadingDirective as n, ElOption as r, ElSelect as i } from "element-plus/es";
|
|
4
3
|
import { Fragment as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createStaticVNode as u, createVNode as ee, defineComponent as d, getCurrentInstance as te, nextTick as f, normalizeClass as p, normalizeStyle as ne, onBeforeUnmount as re, onMounted as ie, onUnmounted as ae, openBlock as m, ref as h, renderList as g, toDisplayString as _, withCtx as oe, withDirectives as se } from "vue";
|
|
5
4
|
import * as v from "echarts";
|
|
@@ -17,34 +16,34 @@ function Ee(e) {
|
|
|
17
16
|
}
|
|
18
17
|
//#endregion
|
|
19
18
|
//#region src/assets/img/hd/wwindDirection.png
|
|
20
|
-
var
|
|
19
|
+
var F = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAGFBMVEX/////qBX/owf/pAT/ogL/ogH/ogD/ogC7UYbMAAAAB3RSTlMDJENqg8HizO9CmQAAAE9JREFUeNpjIBMwmriAgBFcgKUcDErgAqwQgSIkASUQEMAtwAbRUowpgNACttYASQBCo1hbCqRRzRBAUREaGoyqBUgMEwGWMvSIMmKgBAAAftMfdMqbYD0AAAAASUVORK5CYII=", De = {
|
|
21
20
|
class: "Forecast72h",
|
|
22
21
|
"element-loading-background": "rgba(0, 0, 0, 0.5)"
|
|
23
|
-
},
|
|
22
|
+
}, Oe = { class: "Forecast72h-toolbar" }, ke = { class: "Forecast72h-stationWrap" }, Ae = {
|
|
24
23
|
key: 0,
|
|
25
24
|
class: "Forecast72h-reportTime"
|
|
26
|
-
},
|
|
25
|
+
}, je = { class: "Forecast72h-timeline" }, Me = ["onClick"], Ne = {
|
|
27
26
|
class: "Forecast72h-timelineTime",
|
|
28
27
|
style: { color: "#2BD7D9" }
|
|
29
|
-
},
|
|
28
|
+
}, Pe = { class: "Forecast72h-timelineBody" }, Fe = { class: "Forecast72h-timelineLeft" }, Ie = ["src", "alt"], Le = { class: "Forecast72h-timelineTemp" }, Re = { class: "Forecast72h-timelineWeatherText" }, ze = { class: "Forecast72h-timelineRight" }, Be = {
|
|
30
29
|
class: "Forecast72h-timelineMetric",
|
|
31
30
|
title: "降水"
|
|
32
|
-
},
|
|
31
|
+
}, Ve = { class: "Forecast72h-timelineMetricValue" }, He = {
|
|
33
32
|
class: "Forecast72h-timelineMetric",
|
|
34
33
|
title: "湿度"
|
|
35
|
-
},
|
|
34
|
+
}, Ue = { class: "Forecast72h-timelineMetricValue" }, We = {
|
|
36
35
|
class: "Forecast72h-timelineMetric",
|
|
37
36
|
title: "能见度"
|
|
38
|
-
},
|
|
37
|
+
}, Ge = { class: "Forecast72h-timelineMetricValue" }, Ke = {
|
|
39
38
|
class: "Forecast72h-timelineMetric",
|
|
40
39
|
title: "云量"
|
|
41
|
-
},
|
|
40
|
+
}, qe = { class: "Forecast72h-timelineMetricValue" }, Je = {
|
|
42
41
|
class: "Forecast72h-timelineMetric",
|
|
43
42
|
title: "风速"
|
|
44
|
-
},
|
|
43
|
+
}, Ye = { class: "Forecast72h-timelineMetricValue" }, Xe = { class: "Forecast72h-timelineWindDir" }, Ze = { class: "Forecast72h-trend" }, Qe = { class: "Forecast72h-trendTabs" }, $e = ["onClick"], et = {
|
|
45
44
|
key: 0,
|
|
46
45
|
class: "Forecast72h-trendLegend"
|
|
47
|
-
},
|
|
46
|
+
}, tt = { class: "Forecast72h-trendLegendText" }, I = /* @__PURE__ */ e(/* @__PURE__ */ d({
|
|
48
47
|
__name: "Forecast72h",
|
|
49
48
|
props: {
|
|
50
49
|
baseHttp: { default: "" },
|
|
@@ -55,35 +54,35 @@ var De = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
55
54
|
},
|
|
56
55
|
emits: ["close", "stationChange"],
|
|
57
56
|
setup(e, { emit: d }) {
|
|
58
|
-
let P = te()?.appContext.config.globalProperties.$bus,
|
|
57
|
+
let P = te()?.appContext.config.globalProperties.$bus, I = e, nt = d, L = h(!1), R = h([]), z = h(""), B = h(""), V = h([]), H = h(0), U = h("temperature"), W = h(null), G = h(null), K = null, q = [
|
|
59
58
|
{
|
|
60
59
|
label: "气温",
|
|
61
60
|
value: "temperature",
|
|
62
|
-
dataKey: "
|
|
61
|
+
dataKey: "temperature",
|
|
63
62
|
eleCode: "tem"
|
|
64
63
|
},
|
|
65
64
|
{
|
|
66
65
|
label: "降水",
|
|
67
66
|
value: "precipitation",
|
|
68
|
-
dataKey: "
|
|
67
|
+
dataKey: "precipitation",
|
|
69
68
|
eleCode: "pre"
|
|
70
69
|
},
|
|
71
70
|
{
|
|
72
71
|
label: "风速风向",
|
|
73
72
|
value: "wind",
|
|
74
|
-
dataKey: "
|
|
73
|
+
dataKey: "windSpeed",
|
|
75
74
|
eleCode: "win_s"
|
|
76
75
|
},
|
|
77
76
|
{
|
|
78
77
|
label: "相对湿度",
|
|
79
78
|
value: "humidity",
|
|
80
|
-
dataKey: "
|
|
79
|
+
dataKey: "humidity",
|
|
81
80
|
eleCode: "erh"
|
|
82
81
|
},
|
|
83
82
|
{
|
|
84
83
|
label: "云量",
|
|
85
84
|
value: "cloudCover",
|
|
86
|
-
dataKey: "
|
|
85
|
+
dataKey: "cloudCover",
|
|
87
86
|
eleCode: "ect"
|
|
88
87
|
}
|
|
89
88
|
], rt = h([]), J = (e) => e == null || e === "" || e === 9999, Y = (e, t) => {
|
|
@@ -139,10 +138,10 @@ var De = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
139
138
|
"../../assets/img/weatherIcon/9.gif": N
|
|
140
139
|
}))[`../../assets/img/weatherIcon/${t}.gif`], import.meta.url).href;
|
|
141
140
|
}, st = () => {
|
|
142
|
-
|
|
141
|
+
nt("close", "Forecast72h");
|
|
143
142
|
}, ct = () => {
|
|
144
|
-
|
|
145
|
-
},
|
|
143
|
+
nt("stationChange", z.value), Q();
|
|
144
|
+
}, X = (e) => {
|
|
146
145
|
if (!e) return [];
|
|
147
146
|
if (Array.isArray(e)) return e;
|
|
148
147
|
if (typeof e == "object") {
|
|
@@ -150,10 +149,10 @@ var De = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
150
149
|
if (t.length) return t;
|
|
151
150
|
}
|
|
152
151
|
return [];
|
|
153
|
-
},
|
|
152
|
+
}, lt = (e) => ({
|
|
154
153
|
stationCode: String(e.station_id_c ?? e.stationCode ?? e.id ?? e.value ?? ""),
|
|
155
154
|
stationName: String(e.station_name ?? e.stationName ?? e.label ?? e.name ?? "")
|
|
156
|
-
}),
|
|
155
|
+
}), ut = (e) => {
|
|
157
156
|
if (J(e)) return "--";
|
|
158
157
|
let t = Number(e);
|
|
159
158
|
return isNaN(t) ? String(e) : [
|
|
@@ -167,7 +166,7 @@ var De = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
167
166
|
"西北风",
|
|
168
167
|
"北风"
|
|
169
168
|
][Math.round(t / 45) % 8];
|
|
170
|
-
},
|
|
169
|
+
}, dt = (e) => {
|
|
171
170
|
let t = e.tmp, n = e.er03, r = e.erh, i = e.spd10, a = e.dir10, o = e.ect, s = e.vis, c = e.prs, l = Ee({
|
|
172
171
|
windSpeed: J(i) ? 0 : Number(i),
|
|
173
172
|
precip3h: J(n) ? 0 : Number(n),
|
|
@@ -187,38 +186,38 @@ var De = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
187
186
|
humidity: r,
|
|
188
187
|
windSpeed: i,
|
|
189
188
|
windDirection: a,
|
|
190
|
-
windDirectionText:
|
|
189
|
+
windDirectionText: ut(a),
|
|
191
190
|
cloudCover: o,
|
|
192
191
|
visibility: s,
|
|
193
192
|
pressure: c
|
|
194
193
|
};
|
|
195
|
-
},
|
|
194
|
+
}, ft = (e) => {
|
|
196
195
|
if (!e) return "";
|
|
197
196
|
let [t, n] = e.split(" ");
|
|
198
197
|
if (!t || !n) return e;
|
|
199
198
|
let [r, i, a] = t.split("-"), [o] = n.split(":");
|
|
200
199
|
return `${i}月${a}日 ${o}时`;
|
|
201
|
-
},
|
|
202
|
-
let e =
|
|
200
|
+
}, pt = async () => {
|
|
201
|
+
let e = I.ids?.select;
|
|
203
202
|
if (!e?.id) {
|
|
204
203
|
console.warn("Forecast72h 缺少站点下拉框工作流配置");
|
|
205
204
|
return;
|
|
206
205
|
}
|
|
207
206
|
try {
|
|
208
|
-
R.value =
|
|
207
|
+
R.value = X(Ct(await t({
|
|
209
208
|
id: e.id,
|
|
210
|
-
baseHttp:
|
|
209
|
+
baseHttp: I.baseHttp,
|
|
211
210
|
reqType: e.reqType,
|
|
212
211
|
variables: {},
|
|
213
212
|
isFormData: e.isFormData,
|
|
214
|
-
appKey:
|
|
215
|
-
appSalt:
|
|
216
|
-
}))).map(
|
|
213
|
+
appKey: I.appKey,
|
|
214
|
+
appSalt: I.appSalt
|
|
215
|
+
}))).map(lt), !z.value && R.value.length && (z.value = R.value[0].stationCode);
|
|
217
216
|
} catch (e) {
|
|
218
217
|
console.error("Forecast72h 站点下拉框数据加载失败", e);
|
|
219
218
|
}
|
|
220
|
-
},
|
|
221
|
-
let e =
|
|
219
|
+
}, mt = async () => {
|
|
220
|
+
let e = I.ids?.data;
|
|
222
221
|
if (!e?.id) {
|
|
223
222
|
console.warn("Forecast72h 缺少数据工作流配置");
|
|
224
223
|
return;
|
|
@@ -226,37 +225,37 @@ var De = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
226
225
|
try {
|
|
227
226
|
let n = Ct(await t({
|
|
228
227
|
id: e.id,
|
|
229
|
-
baseHttp:
|
|
228
|
+
baseHttp: I.baseHttp,
|
|
230
229
|
reqType: e.reqType,
|
|
231
230
|
variables: { stationId: z.value },
|
|
232
231
|
isFormData: e.isFormData,
|
|
233
|
-
appKey:
|
|
234
|
-
appSalt:
|
|
232
|
+
appKey: I.appKey,
|
|
233
|
+
appSalt: I.appSalt
|
|
235
234
|
}));
|
|
236
235
|
if (!n || typeof n != "object") return;
|
|
237
236
|
rt.value = Array.isArray(n.threshold) ? n.threshold : [];
|
|
238
|
-
let r = Array.isArray(n.output1) ? n.output1 :
|
|
237
|
+
let r = Array.isArray(n.output1) ? n.output1 : X(n);
|
|
239
238
|
if (r.length) {
|
|
240
239
|
let e = r[0];
|
|
241
|
-
B.value =
|
|
242
|
-
|
|
240
|
+
B.value = ft(e.data_time ?? e.forecast_time), V.value = r.map(dt), H.value = 0, f(() => {
|
|
241
|
+
St();
|
|
243
242
|
});
|
|
244
243
|
}
|
|
245
244
|
} catch (e) {
|
|
246
245
|
console.error("Forecast72h 数据加载失败", e);
|
|
247
246
|
}
|
|
248
|
-
},
|
|
247
|
+
}, ht = (e) => {
|
|
249
248
|
H.value = e;
|
|
250
|
-
},
|
|
249
|
+
}, gt = (e) => {
|
|
251
250
|
W.value && W.value.scrollBy({
|
|
252
251
|
left: e * 120,
|
|
253
252
|
behavior: "smooth"
|
|
254
253
|
});
|
|
255
|
-
},
|
|
254
|
+
}, _t = (e) => {
|
|
256
255
|
U.value = e, f(() => {
|
|
257
|
-
|
|
256
|
+
St();
|
|
258
257
|
});
|
|
259
|
-
},
|
|
258
|
+
}, vt = (e) => {
|
|
260
259
|
let t = {
|
|
261
260
|
temperature: {
|
|
262
261
|
label: "气温",
|
|
@@ -285,8 +284,8 @@ var De = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
285
284
|
}
|
|
286
285
|
};
|
|
287
286
|
return t[e] || t.temperature;
|
|
288
|
-
},
|
|
289
|
-
let e =
|
|
287
|
+
}, yt = () => q.find((e) => e.value === U.value) || q[0], Z = () => {
|
|
288
|
+
let e = yt(), t = [], n = rt.value.filter((t) => t.ele_code === e.eleCode);
|
|
290
289
|
return n.length && n.forEach((e, n) => {
|
|
291
290
|
let r = [
|
|
292
291
|
"#FF4D4F",
|
|
@@ -305,12 +304,12 @@ var De = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
305
304
|
color: "#FF0000"
|
|
306
305
|
});
|
|
307
306
|
}), t;
|
|
308
|
-
},
|
|
307
|
+
}, bt = (e, t) => {
|
|
309
308
|
let n = [...e, ...t].filter((e) => !isNaN(Number(e)));
|
|
310
309
|
if (!n.length) return;
|
|
311
310
|
let r = Math.max(...n);
|
|
312
311
|
return r <= 0 ? 10 : Math.ceil(r * 1.1);
|
|
313
|
-
},
|
|
312
|
+
}, xt = (e) => ({
|
|
314
313
|
北风: 0,
|
|
315
314
|
东北风: 315,
|
|
316
315
|
东风: 270,
|
|
@@ -319,13 +318,13 @@ var De = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
319
318
|
西南风: 135,
|
|
320
319
|
西风: 90,
|
|
321
320
|
西北风: 45
|
|
322
|
-
})[e || ""] ?? 0,
|
|
321
|
+
})[e || ""] ?? 0, St = () => {
|
|
323
322
|
if (!G.value || !V.value.length) return;
|
|
324
323
|
K && K.dispose(), K = v.init(G.value);
|
|
325
|
-
let e =
|
|
324
|
+
let e = vt(U.value), t = yt(), n = V.value.map((e) => at(e.time)), r = V.value.map((e) => {
|
|
326
325
|
let n = e[t.dataKey];
|
|
327
326
|
return J(n) ? 0 : Number(n);
|
|
328
|
-
}), i =
|
|
327
|
+
}), i = Z(), a = i.map((e) => e.value), o = {
|
|
329
328
|
backgroundColor: "transparent",
|
|
330
329
|
grid: {
|
|
331
330
|
top: 32,
|
|
@@ -353,7 +352,7 @@ var De = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
353
352
|
},
|
|
354
353
|
yAxis: {
|
|
355
354
|
type: "value",
|
|
356
|
-
max:
|
|
355
|
+
max: bt(r, a),
|
|
357
356
|
name: `单位:${e.unit}`,
|
|
358
357
|
nameTextStyle: {
|
|
359
358
|
color: "rgba(255,255,255,0.6)",
|
|
@@ -417,9 +416,9 @@ var De = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
417
416
|
data: V.value.map((e, t) => ({
|
|
418
417
|
value: r[t],
|
|
419
418
|
windDirectionText: e.windDirectionText,
|
|
420
|
-
symbolRotate:
|
|
419
|
+
symbolRotate: xt(e.windDirectionText)
|
|
421
420
|
})),
|
|
422
|
-
symbol: `image://${
|
|
421
|
+
symbol: `image://${F}`,
|
|
423
422
|
symbolSize: [14, 14],
|
|
424
423
|
z: 10
|
|
425
424
|
}), i.forEach((e) => {
|
|
@@ -437,12 +436,12 @@ var De = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
437
436
|
});
|
|
438
437
|
}), K.setOption(o);
|
|
439
438
|
}, Ct = (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, wt = async () => {
|
|
440
|
-
await
|
|
439
|
+
await pt(), await mt();
|
|
441
440
|
}, Q = async () => {
|
|
442
441
|
L.value = !0, await wt(), L.value = !1;
|
|
443
442
|
}, $ = null, Tt = () => {
|
|
444
443
|
$ && clearInterval($);
|
|
445
|
-
let e = Math.max(
|
|
444
|
+
let e = Math.max(I.refreshInterval, 1) * 60 * 1e3;
|
|
446
445
|
$ = setInterval(() => Q(), e);
|
|
447
446
|
}, Et = () => {
|
|
448
447
|
$ &&= (clearInterval($), null);
|
|
@@ -457,13 +456,13 @@ var De = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
457
456
|
Et();
|
|
458
457
|
}), (e, t) => {
|
|
459
458
|
let d = r, te = i, f = n;
|
|
460
|
-
return se((m(), c("div",
|
|
459
|
+
return se((m(), c("div", De, [
|
|
461
460
|
l("button", {
|
|
462
461
|
class: "Forecast72h-close",
|
|
463
462
|
onClick: st
|
|
464
463
|
}, [...t[3] ||= [l("span", null, "✕", -1)]]),
|
|
465
|
-
t[10] ||= u("<div class=\"Forecast72h-header\" data-v-
|
|
466
|
-
l("div",
|
|
464
|
+
t[10] ||= u("<div class=\"Forecast72h-header\" data-v-b398afa9><div class=\"Forecast72h-headerContent\" data-v-b398afa9><h3 class=\"Forecast72h-title\" data-v-b398afa9>72小时预报</h3><span class=\"Forecast72h-subtitle\" data-v-b398afa9>(逐3小时)</span></div><img style=\"width:100%;object-fit:contain;margin-top:4px;\" 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\" alt=\"\" data-v-b398afa9></div>", 1),
|
|
465
|
+
l("div", Oe, [l("div", ke, [t[4] ||= l("span", { class: "Forecast72h-toolbarLabel" }, "站点", -1), ee(te, {
|
|
467
466
|
size: "small",
|
|
468
467
|
style: { width: "100px" },
|
|
469
468
|
modelValue: z.value,
|
|
@@ -479,11 +478,11 @@ var De = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
479
478
|
value: e.stationCode
|
|
480
479
|
}, null, 8, ["label", "value"]))), 128))]),
|
|
481
480
|
_: 1
|
|
482
|
-
}, 8, ["modelValue"])]), B.value ? (m(), c("div",
|
|
483
|
-
l("div",
|
|
481
|
+
}, 8, ["modelValue"])]), B.value ? (m(), c("div", Ae, " 起报时间:" + _(B.value), 1)) : s("", !0)]),
|
|
482
|
+
l("div", je, [
|
|
484
483
|
l("button", {
|
|
485
484
|
class: "Forecast72h-timelineArrow",
|
|
486
|
-
onClick: t[1] ||= (e) =>
|
|
485
|
+
onClick: t[1] ||= (e) => gt(-1)
|
|
487
486
|
}, "‹"),
|
|
488
487
|
l("div", {
|
|
489
488
|
ref_key: "timelineRef",
|
|
@@ -492,73 +491,73 @@ var De = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAA
|
|
|
492
491
|
}, [(m(!0), c(a, null, g(V.value, (e, n) => (m(), c("div", {
|
|
493
492
|
key: n,
|
|
494
493
|
class: p(["Forecast72h-timelineItem", { "Forecast72h-timelineItem--active": H.value === n }]),
|
|
495
|
-
onClick: (e) =>
|
|
494
|
+
onClick: (e) => ht(n)
|
|
496
495
|
}, [
|
|
497
|
-
l("div",
|
|
498
|
-
l("div",
|
|
496
|
+
l("div", Ne, _(it(e.time)), 1),
|
|
497
|
+
l("div", Pe, [l("div", Fe, [
|
|
499
498
|
l("img", {
|
|
500
499
|
class: "Forecast72h-timelineWeather",
|
|
501
500
|
src: ot(e.weatherIcon),
|
|
502
501
|
alt: e.weather || "天气"
|
|
503
|
-
}, null, 8,
|
|
504
|
-
l("div",
|
|
505
|
-
l("div",
|
|
506
|
-
]), l("div",
|
|
507
|
-
l("div",
|
|
502
|
+
}, null, 8, Ie),
|
|
503
|
+
l("div", Le, _(Y(e.temperature, "℃")), 1),
|
|
504
|
+
l("div", Re, _(e.weather || "--"), 1)
|
|
505
|
+
]), l("div", ze, [
|
|
506
|
+
l("div", Be, [t[5] ||= l("img", {
|
|
508
507
|
src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAIVBMVEVHcEwTl9wRltwRldsRltwRltwSltsSltsRltsRltwSltts0qttAAAACnRSTlMAEio+UmuMrsrixaD41wAAARdJREFUeNrtl9GuAyEIRBVQcP7/g29yuw2xpskCb23Py74YMwwwZtuPb0JajWG9VWBgtgoGgFueCQBWMBD/zFIBKBQxcKEtRV94IlkHSxIIcEZFQLaVC07GBcGG5ipwVsC8x0exc1+6+hSlXLSrZYyNGSh90XVTZhDYHZdwE9w6OWwM7t/qDzkWHWR6sazLVJ2D2l20uL9SmNyjcZJLsJoEK+7vwIYmI9SRuICaBMUrlM7gc4MpVMGZIaKRCHT601+DBIbAYb/cekGB3Io0wYFt4jjehT2eNWaCjyKtm5PJp4DdHIvaeLyxHBhmP06Rp4HXeXiEtqtPXQBsciEnid61d7Zi0nJLwS4gCSkA2Gh5SAb//rw+lD9yFhymGnM7cQAAAABJRU5ErkJggg==",
|
|
509
508
|
style: { width: "16px" },
|
|
510
509
|
class: "Forecast72h-timelineMetricLabel"
|
|
511
|
-
}, null, -1), l("span",
|
|
512
|
-
l("div",
|
|
510
|
+
}, null, -1), l("span", Ve, _(Y(e.precipitation, "mm")), 1)]),
|
|
511
|
+
l("div", He, [t[6] ||= l("img", {
|
|
513
512
|
src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAJ1BMVEVHcEwjrdYirNcjq9kiq9gjq9cjq9ciqtYiq9cjq9cjq9ciq9cjq9eHAo3GAAAADHRSTlMABxUmOlJphq7K4fJyhjwWAAABH0lEQVR42u2X3Y6EMAiF+0ML1PP+z7sxxjiTWJlCsrsX810r+aQH1PTl31MFnCIwAEp+ygCgyU/HTk9uFDuakxMCYgqMg1H8LTxgdwtjCgKEFAgXW/W1MKRQBmIKDIQU6oZ3KCYAiEMgoJAZCClU3NADAqtjTUBMQXDLKMtjCFeaimIG+TJ0Ic4MXbSFDnr72PAIxwTsPuYGxBQUO9yHU6GdmWWngpyXKGYMa4yPw94wpZohzHulOc0qoMc8TeFPCvBfFejRR2hnmwlzunmM/DwS1Uyy7ucoRpDsD7s+PFEu41obRTwrpb/sPnItNXmp8PAAdgW63W5t4b2kMnz3z2OolD4iJxLj/GyabHhDek1rZGLRoxfcanKQv7+Mv8YP9kk14sHnh6gAAAAASUVORK5CYII=",
|
|
514
513
|
style: { width: "16px" },
|
|
515
514
|
class: "Forecast72h-timelineMetricLabel"
|
|
516
|
-
}, null, -1), l("span",
|
|
517
|
-
l("div",
|
|
515
|
+
}, null, -1), l("span", Ue, _(Y(e.humidity, "%")), 1)]),
|
|
516
|
+
l("div", We, [t[7] ||= l("img", {
|
|
518
517
|
src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAJ1BMVEVHcEwRl90SltwRl9wSltsRltwSltsRltwSltsRltsSltwSltwSltuKE8OIAAAADHRSTlMAGDBGXHOEmK6/0+oc/ZkcAAAB00lEQVR42u2XwbLkIAhFAVFQ/P/vnapJqhFJMi+bqbfos2sEhKtJaPjy5ZeDhWsTVWmVC74NZhkzMIR/noT7vKTz+/D3KUqfj/QCT6AsXXepTIjEVXS4XRBu4fGJrpsbVl/jf26vly6sz0XQuYUJwQ0kdhZBkMAzXhEewB4z5JW62kpTM63hHspNhrO/Ak6dH1o2D7qIN4wlOR0csiMDpqwDnDY3CJy+l0WHDwTLgdk8gYW93576P6usBED1+KEpf4/lSpK6RoVq7NCbwCRT2XtkLzEUjV6P0a7pgN2/JhnIV0s61GAprsIig8EBqjCsjGNxxZKJuhS4Bn272APCzyA/lHguBDfgtuIahq4mBAgX0TXXS6moDivtcyyUWm7eQ7Tkk/KLxODwcsiPLhhvlfuPTYXhHYTbG26ubffGt2z5gbZoqfFx8xhTZjHPdvt0aXLp00npOVnIrlV6eisaQXaX9J04sFi/7+Zwftdi6/Y3ujfMeT3e63Jl3J2Z4kbJLWVQgluoeXymWvi2ZorMA6s3+XWe9Po0uXSCRPqcjMYFl4Gt+ZlUeKDoXLChIjpsLmh5O2O9H9S4vwzPxDHTVXk7q5qdUpjPqW9BIvz+bfjyH/gDjCEstQ3FDAMAAAAASUVORK5CYII=",
|
|
519
518
|
style: { width: "16px" },
|
|
520
519
|
class: "Forecast72h-timelineMetricLabel"
|
|
521
|
-
}, null, -1), l("span",
|
|
522
|
-
l("div",
|
|
520
|
+
}, null, -1), l("span", Ge, _(Y(e.visibility == null ? null : Number(e.visibility) / 1e3, "km")), 1)]),
|
|
521
|
+
l("div", Ke, [t[8] ||= l("img", {
|
|
523
522
|
src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABACAMAAACpzkDwAAAAHlBMVEVHcEwRl9sRltwRldwSltwRltsSltsRltsSltsSlttkNAv0AAAACXRSTlMAFy5EZoaowOP1g6p2AAABLklEQVR42tXYQW7FMAgEUGwMzNz/wt1UolJ/6sSBRd8BEBorOFhuUPMIEAhbU4qM5eBPsFlR1sDfXOUlAz8LlRdm8JrJMeWfYsoZ5wZUTgT3tLjfNOQp4y0YteeWvDjgtOSJxdsgDwzwPls6ihtOiHWruPOA72sPnsEqTiKFFiRxMPPAF1wuTb6C6ojT5d3JVJaGOpjKTnA6N84m0wKLYGzarQhDwUqzp262PMFU2bKz2sqPrVZkEMVGBlGexWQHa2qYLgJ2CFG2gBh7SHR1jH9WOIQ9vKtjk2ALFWcHiFhTxKLssKRnVqBrHFvHxZR/LNGSsDQcX+RyUEvl20R93YYwTKSlcmxWmrJFYaA2hzScqXbrXeA7NuSCgedcd0+kJ2JN2dFlAd6GcPv0VvEFuYKVE9sxy54AAAAASUVORK5CYII=",
|
|
524
523
|
style: { width: "16px" },
|
|
525
524
|
class: "Forecast72h-timelineMetricLabel"
|
|
526
|
-
}, null, -1), l("span",
|
|
527
|
-
l("div",
|
|
525
|
+
}, null, -1), l("span", qe, _(Y(e.cloudCover, "%")), 1)]),
|
|
526
|
+
l("div", Je, [t[9] ||= l("img", {
|
|
528
527
|
src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAJFBMVEVHcEwSltwSltsQk9sRltwRltsSldoSltsRltsSltwSltsSltvrS/5wAAAAC3RSTlMAHS9AUmuCnbnY7qE0u0MAAAFwSURBVHja7dVLkoQwCABQkhA+4f73na7pptS0RmG283YupMKvgAUkURPCAilNzHEmBNnO6BBlE4EYsRmm3+9KpH72oUykXkl4jg/PJv8KV6AeEyJ4rPsPh4ASLCLPAQ0CKjXYoKeU1ecAyNwhgKdJaMPMBOGpar8GOI5NRrG5jRaZrYq+kRWc2ByzyrA7dLIqXtcy7JbATpVjVLR75XRfR/E+32kXrUVf3zVpV70lD7fCCCf00EnsdK73BpPwii4DMCR53TpksXcniXbjUVoUdt2tE1meei5ZxechqcOfAozm7cjhrSFxg6mBS7SxwL8rSG9MvCMsjgkrXGpqt5YnUYMTNKv22Fic0GcEzkh0DWeF1V7Gi/7y0r/RC+t2qJL6lkTWdGvTb0BIG35UszRcBFLlk6v8mBxfXCyYgv+QLmI9Dl9brcN6S7ntjgCHGu9Uh31UCGD7QtHOTxiCxFx2kzD9flfE6ycVklpn4f61xj/qoDvAx6J5uwAAAABJRU5ErkJggg==",
|
|
529
528
|
style: { width: "16px" },
|
|
530
529
|
class: "Forecast72h-timelineMetricLabel"
|
|
531
|
-
}, null, -1), l("span",
|
|
530
|
+
}, null, -1), l("span", Ye, _(Y(e.windSpeed, "m/s")), 1)])
|
|
532
531
|
])]),
|
|
533
|
-
l("div",
|
|
534
|
-
], 10,
|
|
532
|
+
l("div", Xe, _(e.windDirectionText || "--"), 1)
|
|
533
|
+
], 10, Me))), 128))], 512),
|
|
535
534
|
l("button", {
|
|
536
535
|
class: "Forecast72h-timelineArrow",
|
|
537
|
-
onClick: t[2] ||= (e) =>
|
|
536
|
+
onClick: t[2] ||= (e) => gt(1)
|
|
538
537
|
}, "›")
|
|
539
538
|
]),
|
|
540
|
-
l("div",
|
|
541
|
-
l("div",
|
|
539
|
+
l("div", Ze, [
|
|
540
|
+
l("div", Qe, [(m(), c(a, null, g(q, (e) => l("button", {
|
|
542
541
|
key: e.value,
|
|
543
542
|
class: p(["Forecast72h-trendTab", { "Forecast72h-trendTab--active": U.value === e.value }]),
|
|
544
|
-
onClick: (t) =>
|
|
545
|
-
}, _(e.label), 11,
|
|
543
|
+
onClick: (t) => _t(e.value)
|
|
544
|
+
}, _(e.label), 11, $e)), 64))]),
|
|
546
545
|
l("div", {
|
|
547
546
|
ref_key: "trendChartRef",
|
|
548
547
|
ref: G,
|
|
549
548
|
class: "Forecast72h-trendChart"
|
|
550
549
|
}, null, 512),
|
|
551
|
-
|
|
550
|
+
Z().length ? (m(), c("div", et, [(m(!0), c(a, null, g(Z(), (e) => (m(), c("div", {
|
|
552
551
|
key: e.name,
|
|
553
552
|
class: "Forecast72h-trendLegendItem"
|
|
554
553
|
}, [l("span", {
|
|
555
554
|
class: "Forecast72h-trendLegendDot",
|
|
556
555
|
style: ne({ backgroundColor: e.color })
|
|
557
|
-
}, null, 4), l("span",
|
|
556
|
+
}, null, 4), l("span", tt, _(e.name), 1)]))), 128))])) : s("", !0)
|
|
558
557
|
])
|
|
559
558
|
])), [[f, L.value]]);
|
|
560
559
|
};
|
|
561
560
|
}
|
|
562
|
-
}), [["__scopeId", "data-v-
|
|
561
|
+
}), [["__scopeId", "data-v-b398afa9"]]);
|
|
563
562
|
//#endregion
|
|
564
|
-
export {
|
|
563
|
+
export { me as A, xe as C, _e as D, ve as E, le as F, ce as I, fe as M, de as N, ge as O, ue as P, Se as S, ye as T, b as _, M as a, we as b, k as c, E as d, T as f, x as g, S as h, N as i, pe as j, he as k, O as l, C as m, F as n, j as o, w as p, P as r, A as s, I as t, D as u, y as v, be as w, Ce as x, Te as y };
|