nxd-plugin 1.7.80 → 1.7.83
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/{component-AiChat-CtsIvsGB.mjs → component-AiChat-C1xBPkS5.mjs} +312 -260
- package/dist/chunks/{component-AqiMonitor-D16SVL6m.mjs → component-AqiMonitor-DoAVs1Jf.mjs} +1 -1
- package/dist/chunks/{component-ChartCumulativePre-CXnKE427.mjs → component-ChartCumulativePre-BOIMPYxl.mjs} +2 -2
- package/dist/chunks/{component-ChartServiceMaterial-_cOa2zr2.mjs → component-ChartServiceMaterial-CmR3bmG_.mjs} +2 -2
- package/dist/chunks/{component-Duty-D0YruNKe.mjs → component-Duty-gmt7ZcSc.mjs} +2 -2
- package/dist/chunks/{component-EarlyWarningStatistic-CWzunUWV.mjs → component-EarlyWarningStatistic-BWYWrz65.mjs} +2 -2
- package/dist/chunks/component-Forecast72h-BZ1kB2TJ.mjs +427 -0
- package/dist/chunks/{component-GeologyLiveAlarm-CvwronHT.mjs → component-GeologyLiveAlarm-CNpQPmGs.mjs} +2 -2
- package/dist/chunks/component-HdHeatService-ok6q8UuG.mjs +412 -0
- package/dist/chunks/component-HdObservation-BmQdGJV6.mjs +600 -0
- package/dist/chunks/component-HdPreSituation-LBpO58bE.mjs +604 -0
- package/dist/chunks/component-HdRadarTime-D7hOn_ph.mjs +461 -0
- package/dist/chunks/component-HdSeaCase-DYPQ7CdN.mjs +219 -0
- package/dist/chunks/component-HdServiceRequirements-DcXrcIIV.mjs +143 -0
- package/dist/chunks/component-HdStationTem-US6IRwbQ.mjs +573 -0
- package/dist/chunks/{component-HighQuality-mh3fFFrU.mjs → component-HighQuality-B0OgPi3T.mjs} +3 -3
- package/dist/chunks/{component-HighWayEarlyWarningRed-bUwQzo1p.mjs → component-HighWayEarlyWarningRed-BTl2WWZ-.mjs} +907 -759
- package/dist/chunks/{component-HighWayFreeze-sv_B8HYz.mjs → component-HighWayFreeze-B1aMHQWU.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarm-C5CT4pNH.mjs → component-HighwayLiveAlarm-8u45ZdnN.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarmNew-DwM5R3uq.mjs → component-HighwayLiveAlarmNew-DK827eVk.mjs} +3 -3
- package/dist/chunks/{component-HighwayStations-DUpEnASL.mjs → component-HighwayStations-BzrbWP50.mjs} +2 -2
- package/dist/chunks/{component-HighwayWeatherForecast-DySnAsrW.mjs → component-HighwayWeatherForecast-DER5XGc3.mjs} +2 -2
- package/dist/chunks/{component-IframeWeb-ZChwSgDN.mjs → component-IframeWeb-DuBssYPk.mjs} +1 -1
- package/dist/chunks/{component-ImageGeneration-B17dWjVV.mjs → component-ImageGeneration-3G3j7utC.mjs} +1 -1
- package/dist/chunks/{component-IntroducePic-hpd3_zKO.mjs → component-IntroducePic-L8VH8Yq8.mjs} +1 -1
- package/dist/chunks/{component-LithiumBatteryMiningArea-BLx7FYWI.mjs → component-LithiumBatteryMiningArea-DSFTVepN.mjs} +2 -2
- package/dist/chunks/{component-MapPopup-BBY3WROQ.mjs → component-MapPopup-BNc18syw.mjs} +1 -1
- package/dist/chunks/{component-MaterialPreview-W3eNeSc0.mjs → component-MaterialPreview-DhLUbjcT.mjs} +2 -2
- package/dist/chunks/{component-PieLegend-YE4EI4RM.mjs → component-PieLegend-Haojhtet.mjs} +1 -1
- package/dist/chunks/component-PrecipitationRanking-BanKrD3J.mjs +608 -0
- package/dist/chunks/{component-RadarChart-BnaENnYS.mjs → component-RadarChart-BYMbkI3K.mjs} +2 -2
- package/dist/chunks/{component-RadarLegend-B_mzSJzM.mjs → component-RadarLegend-CiGsla7a.mjs} +1 -1
- package/dist/chunks/{component-RadarShortTerm-BGK_OnB2.mjs → component-RadarShortTerm-yPc2UWpz.mjs} +4 -4
- package/dist/chunks/{component-RadarTime-Bm7mOE3Z.mjs → component-RadarTime-CkqIaTJh.mjs} +2 -2
- package/dist/chunks/{component-RenderMarkdown-9GGS03jg.mjs → component-RenderMarkdown-D590sXEf.mjs} +2 -2
- package/dist/chunks/{component-ReservoirLiveAlarm-B9Sxhqyu.mjs → component-ReservoirLiveAlarm-DTtKdDQS.mjs} +3 -3
- package/dist/chunks/{component-ServiceMaterial-wVF-3Lpq.mjs → component-ServiceMaterial-BKbVQbKm.mjs} +2 -2
- package/dist/chunks/{component-ServiceMaterialsBtn-DXbl0E-k.mjs → component-ServiceMaterialsBtn-CskK-Qiz.mjs} +1 -1
- package/dist/chunks/component-StationDialog-Bn7Fbk24.mjs +897 -0
- package/dist/chunks/component-StationList-DRABlFdc.mjs +323 -0
- package/dist/chunks/{component-TimeBasedForecast-Cqb98MyV.mjs → component-TimeBasedForecast-D1fJ4rGJ.mjs} +4 -4
- package/dist/chunks/{component-WarningLine-DWxDqXz4.mjs → component-WarningLine-jN8sg45u.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-C6bMbzAR.mjs → component-WarningSignal-BkIKqyJB.mjs} +3 -3
- package/dist/chunks/component-WeatherForecast-CYsbJhYt.mjs +225 -0
- package/dist/chunks/{component-YCDataMonitor-CdjR4SD9.mjs → component-YCDataMonitor-vVlnkSzT.mjs} +2 -2
- package/dist/chunks/{component-YCDataService-BVgkmLN8.mjs → component-YCDataService-okkY1-iU.mjs} +4 -4
- package/dist/chunks/{component-YCHome-DoRcqj79.mjs → component-YCHome-BfpbxDIg.mjs} +4 -4
- package/dist/chunks/{component-YCHomeLegend-_Iq4kWV6.mjs → component-YCHomeLegend-CuT-BwNJ.mjs} +1 -1
- package/dist/chunks/{component-YCLoginNew-CA6LbHIs.mjs → component-YCLoginNew-KZoyW1EV.mjs} +3 -3
- package/dist/components/Forecast72h/Forecast72h.vue.d.ts +50 -0
- package/dist/components/HdHeatService/HdHeatService.vue.d.ts +56 -0
- package/dist/components/HdObservation/HdObservation.vue.d.ts +43 -0
- package/dist/components/HdPreSituation/HdPreSituation.vue.d.ts +62 -0
- package/dist/components/HdQxServiceEffects/HdQxServiceEffects.vue.d.ts +59 -0
- package/dist/components/HdRadarTime/HdRadarTime.vue.d.ts +71 -0
- package/dist/components/HdSeaCase/HdSeaCase.vue.d.ts +46 -0
- package/dist/components/HdServiceRequirements/HdServiceRequirements.vue.d.ts +51 -0
- package/dist/components/HdStationTem/HdStationTem.vue.d.ts +69 -0
- package/dist/components/HighWayEarlyWarningRed/Call.vue.d.ts +18 -0
- package/dist/components/HighWayEarlyWarningRed/HighWayEarlyWarningRed.vue.d.ts +5 -0
- package/dist/components/PrecipitationRanking/PrecipitationRanking.vue.d.ts +57 -0
- package/dist/components/StationDialog/StationDialog.vue.d.ts +90 -0
- package/dist/components/StationList/StationList.vue.d.ts +64 -0
- package/dist/index.d.ts +13 -1
- package/dist/nxd-plugin.mjs +51 -40
- package/dist/styles/component-Forecast72h.css +1 -0
- package/dist/styles/component-HdHeatService.css +1 -0
- package/dist/styles/component-HdObservation.css +1 -0
- package/dist/styles/component-HdPreSituation.css +1 -0
- package/dist/styles/component-HdRadarTime.css +1 -0
- package/dist/styles/component-HdSeaCase.css +1 -0
- package/dist/styles/component-HdServiceRequirements.css +1 -0
- package/dist/styles/component-HdStationTem.css +1 -0
- package/dist/styles/component-HighQuality.css +1 -1
- package/dist/styles/component-HighWayEarlyWarningRed.css +1 -1
- package/dist/styles/component-PrecipitationRanking.css +1 -0
- package/dist/styles/component-StationDialog.css +1 -0
- package/dist/styles/component-StationList.css +1 -0
- package/dist/styles/component-WeatherForecast.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/package.json +2 -1
- package/dist/chunks/component-WeatherForecast-EqHxKbyh.mjs +0 -210
|
@@ -0,0 +1,323 @@
|
|
|
1
|
+
import { r as e } from "./rolldown-runtime-Cz5NsrRf.mjs";
|
|
2
|
+
import { n as t } from "./component-AqiMonitor-DoAVs1Jf.mjs";
|
|
3
|
+
import { i as n } from "./component-AiChat-C1xBPkS5.mjs";
|
|
4
|
+
import "./component-Forecast72h-BZ1kB2TJ.mjs";
|
|
5
|
+
import { n as r } from "./component-HdObservation-BmQdGJV6.mjs";
|
|
6
|
+
import { ElConfigProvider as i, ElDatePicker as a, ElLoadingDirective as o, ElTable as s, ElTableColumn as c } from "element-plus/es";
|
|
7
|
+
import { computed as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineComponent as h, getCurrentInstance as g, normalizeClass as _, onBeforeUnmount as v, onMounted as y, openBlock as b, ref as x, toDisplayString as S, unref as C, withCtx as w, withDirectives as T } from "vue";
|
|
8
|
+
import E from "element-plus/es/locale/lang/zh-cn.mjs";
|
|
9
|
+
//#region src/components/StationList/StationList.vue?vue&type=script&setup=true&lang.ts
|
|
10
|
+
var ee = /* @__PURE__ */ e(r()), D = {
|
|
11
|
+
class: "StationList",
|
|
12
|
+
"element-loading-background": "rgba(0, 0, 0, 0.5)"
|
|
13
|
+
}, O = { class: "StationList-header" }, te = { class: "StationList-headerContent" }, ne = { class: "StationList-title" }, k = {
|
|
14
|
+
key: 0,
|
|
15
|
+
class: "StationList-dataTime"
|
|
16
|
+
}, A = { class: "StationList-toolbar" }, j = { class: "StationList-timeWrap" }, M = { class: "StationList-content" }, N = { class: "StationList-tableWrap" }, P = /* @__PURE__ */ t(/* @__PURE__ */ h({
|
|
17
|
+
__name: "StationList",
|
|
18
|
+
props: {
|
|
19
|
+
mock: {
|
|
20
|
+
type: Boolean,
|
|
21
|
+
default: !1
|
|
22
|
+
},
|
|
23
|
+
title: { default: "观测数据" },
|
|
24
|
+
baseHttp: { default: "" },
|
|
25
|
+
tableHeight: { default: "40vh" },
|
|
26
|
+
appKey: { default: "" },
|
|
27
|
+
appSalt: { default: "" },
|
|
28
|
+
ids: { default: () => ({}) },
|
|
29
|
+
refreshInterval: { default: 300 * 1e3 },
|
|
30
|
+
thresholds: { default: () => ({
|
|
31
|
+
temperature: {
|
|
32
|
+
min: -40,
|
|
33
|
+
max: 50
|
|
34
|
+
},
|
|
35
|
+
precipitation: { max: 250 },
|
|
36
|
+
windSpeed: { max: 40 }
|
|
37
|
+
}) },
|
|
38
|
+
mockData: { default: () => ({
|
|
39
|
+
dataTime: "2026-04-12 16时",
|
|
40
|
+
list: [
|
|
41
|
+
{
|
|
42
|
+
stationName: "诸城",
|
|
43
|
+
temperature: 21,
|
|
44
|
+
precipitation: 0,
|
|
45
|
+
windSpeed: 5.1,
|
|
46
|
+
windDirectionText: "南风"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
stationName: "诸城气象局",
|
|
50
|
+
temperature: 21,
|
|
51
|
+
precipitation: 0,
|
|
52
|
+
windSpeed: 5.1,
|
|
53
|
+
windDirectionText: "南风"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
stationName: "五莲气象局",
|
|
57
|
+
temperature: 22.4,
|
|
58
|
+
precipitation: 0,
|
|
59
|
+
windSpeed: 3.8,
|
|
60
|
+
windDirectionText: "南风"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
stationName: "黄岛",
|
|
64
|
+
temperature: 14,
|
|
65
|
+
precipitation: 0,
|
|
66
|
+
windSpeed: 3,
|
|
67
|
+
windDirectionText: "东南风"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
stationName: "董家口",
|
|
71
|
+
temperature: 16.6,
|
|
72
|
+
precipitation: 0,
|
|
73
|
+
windSpeed: 1.7,
|
|
74
|
+
windDirectionText: "东南风"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
stationName: "金沙滩",
|
|
78
|
+
temperature: 13.1,
|
|
79
|
+
precipitation: 0,
|
|
80
|
+
windSpeed: 1.4,
|
|
81
|
+
windDirectionText: "南风"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
stationName: "琅琊",
|
|
85
|
+
temperature: 15.4,
|
|
86
|
+
precipitation: 0,
|
|
87
|
+
windSpeed: 2.2,
|
|
88
|
+
windDirectionText: "南风"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
stationName: "大场",
|
|
92
|
+
temperature: 18.6,
|
|
93
|
+
precipitation: 0,
|
|
94
|
+
windSpeed: 1.9,
|
|
95
|
+
windDirectionText: "南风"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
stationName: "大村",
|
|
99
|
+
temperature: 19.4,
|
|
100
|
+
precipitation: 0,
|
|
101
|
+
windSpeed: 1.8,
|
|
102
|
+
windDirectionText: "南风"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
stationName: "胶州营海",
|
|
106
|
+
temperature: 16.3,
|
|
107
|
+
precipitation: 0,
|
|
108
|
+
windSpeed: 2.4,
|
|
109
|
+
windDirectionText: "东南风"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
stationName: "大涧山",
|
|
113
|
+
temperature: 15.6,
|
|
114
|
+
precipitation: 0,
|
|
115
|
+
windSpeed: 3,
|
|
116
|
+
windDirectionText: "南风"
|
|
117
|
+
}
|
|
118
|
+
]
|
|
119
|
+
}) }
|
|
120
|
+
},
|
|
121
|
+
emits: ["close", "rowClick"],
|
|
122
|
+
setup(e, { emit: t }) {
|
|
123
|
+
let r = g()?.appContext.config.globalProperties.$bus, h = e, P = t, F = x(!1), I = x(!1), L = x(""), R = x(""), z = x(""), B = x([]), V = x(""), H = x("asc"), U = null, W = l(() => {
|
|
124
|
+
let e = [...B.value];
|
|
125
|
+
return V.value && e.sort((e, t) => {
|
|
126
|
+
let n = Number(e[V.value]) || 0, r = Number(t[V.value]) || 0;
|
|
127
|
+
return H.value === "asc" ? n - r : r - n;
|
|
128
|
+
}), e;
|
|
129
|
+
}), G = (e) => e == null || e === "" || e === 9999, K = (e, t) => G(e) ? "--" : t ? `${e}${t}` : String(e), q = (e) => `${G(e.windSpeed) ? "--" : `${e.windSpeed}m/s`} ${e.windDirectionText || "--"}`, J = (e, t) => {
|
|
130
|
+
let n = Number(e[t]);
|
|
131
|
+
if (G(n) || isNaN(n)) return !1;
|
|
132
|
+
let r = h.thresholds[t];
|
|
133
|
+
return r ? r.min !== void 0 && n < r.min || r.max !== void 0 && n > r.max : !1;
|
|
134
|
+
}, Y = () => {
|
|
135
|
+
P("close", "StationList");
|
|
136
|
+
}, X = (e) => {
|
|
137
|
+
P("rowClick", e);
|
|
138
|
+
}, Z = ({ prop: e, order: t }) => {
|
|
139
|
+
if (!e || !t) {
|
|
140
|
+
V.value = "";
|
|
141
|
+
return;
|
|
142
|
+
}
|
|
143
|
+
V.value = e, H.value = t === "ascending" ? "asc" : "desc";
|
|
144
|
+
}, re = (e) => {
|
|
145
|
+
let t = h.ids[e] || h.ids.data;
|
|
146
|
+
return t?.id ? t : null;
|
|
147
|
+
}, ie = (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, ae = () => {
|
|
148
|
+
let e = h.mockData;
|
|
149
|
+
console.log(e, "data"), B.value = e.list || [], z.value = e.dataTime || "";
|
|
150
|
+
}, oe = async () => {
|
|
151
|
+
let e = re("data");
|
|
152
|
+
if (!e) {
|
|
153
|
+
console.warn("StationList 缺少工作流配置");
|
|
154
|
+
return;
|
|
155
|
+
}
|
|
156
|
+
try {
|
|
157
|
+
let t = ie(await n({
|
|
158
|
+
id: e.id,
|
|
159
|
+
baseHttp: h.baseHttp,
|
|
160
|
+
reqType: e.reqType,
|
|
161
|
+
variables: {
|
|
162
|
+
startTime: L.value,
|
|
163
|
+
endTime: R.value
|
|
164
|
+
},
|
|
165
|
+
isFormData: e.isFormData,
|
|
166
|
+
appKey: h.appKey,
|
|
167
|
+
appSalt: h.appSalt
|
|
168
|
+
}));
|
|
169
|
+
t && (B.value = Array.isArray(t.list) ? t.list : [], z.value = t.dataTime || "");
|
|
170
|
+
} catch (e) {
|
|
171
|
+
console.error("StationList 数据加载失败", e);
|
|
172
|
+
}
|
|
173
|
+
}, Q = async () => {
|
|
174
|
+
F.value = !0, h.mock ? ae() : await oe(), F.value = !1;
|
|
175
|
+
}, se = () => {
|
|
176
|
+
Q();
|
|
177
|
+
}, ce = async () => {
|
|
178
|
+
I.value = !0, await Q(), setTimeout(() => {
|
|
179
|
+
I.value = !1;
|
|
180
|
+
}, 500);
|
|
181
|
+
}, le = () => {
|
|
182
|
+
let e = W.value.map((e) => ({
|
|
183
|
+
站名: e.stationName,
|
|
184
|
+
温度: K(e.temperature, "℃"),
|
|
185
|
+
降水量: K(e.precipitation, "mm"),
|
|
186
|
+
风速: K(e.windSpeed, "m/s"),
|
|
187
|
+
风向: e.windDirectionText || "--",
|
|
188
|
+
数据时间: e.monitorTime || z.value || ""
|
|
189
|
+
}));
|
|
190
|
+
new ee.default({
|
|
191
|
+
fileName: `自动站观测数据_${(/* @__PURE__ */ new Date()).getTime()}`,
|
|
192
|
+
datas: [{
|
|
193
|
+
sheetData: e,
|
|
194
|
+
sheetName: "观测数据",
|
|
195
|
+
sheetFilter: [
|
|
196
|
+
"站名",
|
|
197
|
+
"温度",
|
|
198
|
+
"降水量",
|
|
199
|
+
"风速",
|
|
200
|
+
"风向",
|
|
201
|
+
"数据时间"
|
|
202
|
+
],
|
|
203
|
+
sheetHeader: [
|
|
204
|
+
"站名",
|
|
205
|
+
"温度",
|
|
206
|
+
"降水量",
|
|
207
|
+
"风速",
|
|
208
|
+
"风向",
|
|
209
|
+
"数据时间"
|
|
210
|
+
],
|
|
211
|
+
columnWidths: [
|
|
212
|
+
20,
|
|
213
|
+
12,
|
|
214
|
+
12,
|
|
215
|
+
12,
|
|
216
|
+
12,
|
|
217
|
+
20
|
|
218
|
+
]
|
|
219
|
+
}]
|
|
220
|
+
}).saveExcel();
|
|
221
|
+
}, ue = () => {
|
|
222
|
+
$(), !(h.refreshInterval <= 0) && (U = setInterval(() => {
|
|
223
|
+
Q();
|
|
224
|
+
}, h.refreshInterval));
|
|
225
|
+
}, $ = () => {
|
|
226
|
+
U &&= (clearInterval(U), null);
|
|
227
|
+
};
|
|
228
|
+
return y(() => {
|
|
229
|
+
r?.on("toComponent", (e) => {
|
|
230
|
+
e.componentName === "StationList" && Q();
|
|
231
|
+
}), Q(), ue();
|
|
232
|
+
}), v(() => {
|
|
233
|
+
$();
|
|
234
|
+
}), (t, n) => {
|
|
235
|
+
let r = a, l = i, h = c, g = s, v = o;
|
|
236
|
+
return T((b(), d("div", D, [
|
|
237
|
+
f("button", {
|
|
238
|
+
class: "StationList-close",
|
|
239
|
+
onClick: Y
|
|
240
|
+
}, [...n[1] ||= [f("span", null, "✕", -1)]]),
|
|
241
|
+
f("div", O, [f("div", te, [f("h3", ne, S(e.title), 1), z.value ? (b(), d("span", k, "(数据时间:" + S(z.value) + ")", 1)) : u("", !0)]), n[2] ||= f("img", {
|
|
242
|
+
style: {
|
|
243
|
+
width: "100%",
|
|
244
|
+
"object-fit": "contain",
|
|
245
|
+
"margin-top": "4px"
|
|
246
|
+
},
|
|
247
|
+
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",
|
|
248
|
+
alt: ""
|
|
249
|
+
}, null, -1)]),
|
|
250
|
+
f("div", A, [f("div", j, [n[3] ||= f("span", { class: "StationList-toolbarLabel" }, "时间选择", -1), m(l, { locale: C(E) }, {
|
|
251
|
+
default: w(() => [m(r, {
|
|
252
|
+
style: { "max-width": "150px" },
|
|
253
|
+
modelValue: L.value,
|
|
254
|
+
"onUpdate:modelValue": n[0] ||= (e) => L.value = e,
|
|
255
|
+
type: "datetime",
|
|
256
|
+
placeholder: "请选择时间",
|
|
257
|
+
"value-format": "YYYY-MM-DD HH",
|
|
258
|
+
format: "YYYY-MM-DD HH",
|
|
259
|
+
class: "StationList-datePicker",
|
|
260
|
+
"popper-class": "StationList-datePopper",
|
|
261
|
+
onChange: se
|
|
262
|
+
}, null, 8, ["modelValue"])]),
|
|
263
|
+
_: 1
|
|
264
|
+
}, 8, ["locale"])]), f("div", { class: "StationList-actions" }, [f("button", {
|
|
265
|
+
class: "StationList-btn",
|
|
266
|
+
onClick: le
|
|
267
|
+
}, [...n[4] ||= [f("span", null, "导出", -1)]]), f("button", {
|
|
268
|
+
class: "StationList-btn",
|
|
269
|
+
onClick: ce
|
|
270
|
+
}, [...n[5] ||= [f("span", null, "刷新", -1)]])])]),
|
|
271
|
+
f("div", M, [f("div", N, [m(g, {
|
|
272
|
+
data: W.value,
|
|
273
|
+
class: "StationList-table",
|
|
274
|
+
height: e.tableHeight,
|
|
275
|
+
"empty-text": "暂无数据",
|
|
276
|
+
onSortChange: Z,
|
|
277
|
+
onRowClick: X
|
|
278
|
+
}, {
|
|
279
|
+
default: w(() => [
|
|
280
|
+
m(h, {
|
|
281
|
+
prop: "stationName",
|
|
282
|
+
label: "站名",
|
|
283
|
+
align: "left",
|
|
284
|
+
"min-width": "90",
|
|
285
|
+
"show-overflow-tooltip": ""
|
|
286
|
+
}),
|
|
287
|
+
m(h, {
|
|
288
|
+
prop: "temperature",
|
|
289
|
+
label: "温度",
|
|
290
|
+
align: "center",
|
|
291
|
+
sortable: "custom",
|
|
292
|
+
"min-width": "80"
|
|
293
|
+
}, {
|
|
294
|
+
default: w(({ row: e }) => [f("span", { class: _({ "is-alarm": J(e, "temperature") }) }, S(K(e.temperature, "℃")), 3)]),
|
|
295
|
+
_: 1
|
|
296
|
+
}),
|
|
297
|
+
m(h, {
|
|
298
|
+
prop: "precipitation",
|
|
299
|
+
label: "降水量",
|
|
300
|
+
align: "center",
|
|
301
|
+
sortable: "custom",
|
|
302
|
+
"min-width": "100"
|
|
303
|
+
}, {
|
|
304
|
+
default: w(({ row: e }) => [f("span", { class: _({ "is-alarm": J(e, "precipitation") }) }, S(K(e.precipitation, "mm")), 3)]),
|
|
305
|
+
_: 1
|
|
306
|
+
}),
|
|
307
|
+
m(h, {
|
|
308
|
+
label: "风向风速",
|
|
309
|
+
align: "left",
|
|
310
|
+
"min-width": "100"
|
|
311
|
+
}, {
|
|
312
|
+
default: w(({ row: e }) => [p(S(q(e)), 1)]),
|
|
313
|
+
_: 1
|
|
314
|
+
})
|
|
315
|
+
]),
|
|
316
|
+
_: 1
|
|
317
|
+
}, 8, ["data", "height"])])])
|
|
318
|
+
])), [[v, F.value]]);
|
|
319
|
+
};
|
|
320
|
+
}
|
|
321
|
+
}), [["__scopeId", "data-v-6d70310a"]]);
|
|
322
|
+
//#endregion
|
|
323
|
+
export { P as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
3
|
-
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-
|
|
4
|
-
import { n as v } from "./component-LithiumBatteryMiningArea-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-DoAVs1Jf.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-C1xBPkS5.mjs";
|
|
3
|
+
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-DER5XGc3.mjs";
|
|
4
|
+
import { n as v } from "./component-LithiumBatteryMiningArea-DSFTVepN.mjs";
|
|
5
5
|
import { ElLoadingDirective as y, ElOption as b, ElSelect as x } from "element-plus/es";
|
|
6
6
|
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";
|
|
7
7
|
import * as ve from "echarts";
|
package/dist/chunks/{component-WarningLine-DWxDqXz4.mjs → component-WarningLine-jN8sg45u.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as e } from "./component-AiChat-
|
|
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-
|
|
1
|
+
import { i as e } from "./component-AiChat-C1xBPkS5.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-BTl2WWZ-.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 = {
|
package/dist/chunks/{component-WarningSignal-C6bMbzAR.mjs → component-WarningSignal-BkIKqyJB.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
3
|
-
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-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-DoAVs1Jf.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-C1xBPkS5.mjs";
|
|
3
|
+
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-BTl2WWZ-.mjs";
|
|
4
4
|
import { ElLoadingDirective as O } from "element-plus/es";
|
|
5
5
|
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";
|
|
6
6
|
import "element-plus/es/components/loading/style/css";
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-DoAVs1Jf.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-C1xBPkS5.mjs";
|
|
3
|
+
import { A as n, C as r, D as i, E as a, F as o, M as s, N as c, O as l, P as ee, S as te, T as u, _ as d, a as f, b as p, c as m, d as h, f as g, g as ne, h as re, i as ie, j as ae, k as oe, l as se, m as ce, o as le, p as _, r as v, s as y, u as b, v as x, w as S, x as C, y as w } from "./component-HighwayWeatherForecast-DER5XGc3.mjs";
|
|
4
|
+
import { n as T } from "./component-LithiumBatteryMiningArea-DSFTVepN.mjs";
|
|
5
|
+
import { ElLoadingDirective as E } from "element-plus/es";
|
|
6
|
+
import { Fragment as D, createCommentVNode as O, createElementBlock as k, createElementVNode as A, defineComponent as j, getCurrentInstance as M, normalizeClass as N, onMounted as P, openBlock as F, ref as I, renderList as L, toDisplayString as R, vShow as z, withDirectives as B } from "vue";
|
|
7
|
+
//#region src/components/WeatherForecast/WeatherForecast.vue?vue&type=script&setup=true&lang.ts
|
|
8
|
+
var V = {
|
|
9
|
+
class: "WeatherForecast",
|
|
10
|
+
"element-loading-background": "rgba(0, 0, 0, 0.4)"
|
|
11
|
+
}, H = { class: "WeatherForecast__head" }, U = { class: "WeatherForecast__head-top" }, W = { class: "WeatherForecast__body" }, ue = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "WeatherForecast__area-select"
|
|
14
|
+
}, de = { style: {
|
|
15
|
+
display: "flex",
|
|
16
|
+
"align-items": "center"
|
|
17
|
+
} }, fe = { class: "WeatherForecast__dropdown-wrapper" }, pe = { class: "WeatherForecast__area-panel" }, me = ["onClick"], he = { class: "WeatherForecast__wrap" }, ge = ["src", "alt"], G = /* @__PURE__ */ e(/* @__PURE__ */ j({
|
|
18
|
+
__name: "WeatherForecast",
|
|
19
|
+
props: {
|
|
20
|
+
appKey: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: ""
|
|
23
|
+
},
|
|
24
|
+
appSalt: {
|
|
25
|
+
type: String,
|
|
26
|
+
default: ""
|
|
27
|
+
},
|
|
28
|
+
baseHttp: {
|
|
29
|
+
type: String,
|
|
30
|
+
default: ""
|
|
31
|
+
},
|
|
32
|
+
ids: {
|
|
33
|
+
type: Object,
|
|
34
|
+
default: () => ({})
|
|
35
|
+
},
|
|
36
|
+
title: {
|
|
37
|
+
type: String,
|
|
38
|
+
default: "天气预报"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
emits: ["close"],
|
|
42
|
+
setup(e, { emit: j }) {
|
|
43
|
+
let G = M()?.appContext.config.globalProperties.$bus, K = e, _e = j, q = I(!1), J = I([]), Y = I({}), X = I([
|
|
44
|
+
{
|
|
45
|
+
name: "黄岛区",
|
|
46
|
+
value: "aksu",
|
|
47
|
+
longitude: "80.2651",
|
|
48
|
+
latitude: "41.1707"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
name: "黄岛区2",
|
|
52
|
+
value: "kuche",
|
|
53
|
+
longitude: "82.9989",
|
|
54
|
+
latitude: "41.7160"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: "黄岛区3",
|
|
58
|
+
value: "baicheng",
|
|
59
|
+
longitude: "81.8670",
|
|
60
|
+
latitude: "41.7860"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
name: "黄岛区4",
|
|
64
|
+
value: "xinhe",
|
|
65
|
+
longitude: "82.6100",
|
|
66
|
+
latitude: "41.5490"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
name: "黄岛区5",
|
|
70
|
+
value: "shaya",
|
|
71
|
+
longitude: "82.7800",
|
|
72
|
+
latitude: "41.2200"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
name: "黄岛区6",
|
|
76
|
+
value: "wensu",
|
|
77
|
+
longitude: "80.3000",
|
|
78
|
+
latitude: "41.1600"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
name: "黄岛区7",
|
|
82
|
+
value: "wushi",
|
|
83
|
+
longitude: "79.2300",
|
|
84
|
+
latitude: "41.2100"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
name: "黄岛区8",
|
|
88
|
+
value: "keping",
|
|
89
|
+
longitude: "79.0200",
|
|
90
|
+
latitude: "40.5000"
|
|
91
|
+
}
|
|
92
|
+
]), Z = I({}), Q = I(!1);
|
|
93
|
+
P(() => {
|
|
94
|
+
G?.on("toComponent", (e) => {
|
|
95
|
+
e.componentName === "WeatherForecast" && (Y.value = e.data, ve());
|
|
96
|
+
});
|
|
97
|
+
}), document.addEventListener("click", (e) => {
|
|
98
|
+
e.target.closest(".WeatherForecast__area-select") || (Q.value = !1);
|
|
99
|
+
});
|
|
100
|
+
let ve = async () => {
|
|
101
|
+
await xe();
|
|
102
|
+
}, ye = () => {
|
|
103
|
+
_e("close", "WeatherForecast");
|
|
104
|
+
}, be = () => {
|
|
105
|
+
Q.value = !Q.value;
|
|
106
|
+
}, $ = async (e) => {
|
|
107
|
+
Q.value = !1, Z.value?.value !== e.value && (Z.value = e);
|
|
108
|
+
}, xe = async () => {
|
|
109
|
+
q.value = !0;
|
|
110
|
+
let e = {
|
|
111
|
+
lon: Y.value.longitude,
|
|
112
|
+
lat: Y.value.latitude,
|
|
113
|
+
hours: 168
|
|
114
|
+
}, E = await t({
|
|
115
|
+
appKey: K.appKey,
|
|
116
|
+
appSalt: K.appSalt,
|
|
117
|
+
id: K.ids.data.id,
|
|
118
|
+
variables: { str: T.encode(JSON.stringify(e)) },
|
|
119
|
+
baseHttp: K.baseHttp,
|
|
120
|
+
reqType: K.ids.data.reqType,
|
|
121
|
+
isFormData: K.ids.data.isFormData
|
|
122
|
+
});
|
|
123
|
+
q.value = !1;
|
|
124
|
+
let D = E.data?.result?.output;
|
|
125
|
+
if (!D) {
|
|
126
|
+
console.warn("天气预报接口返回为空", E), J.value = [];
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
let O = (typeof D == "string" ? JSON.parse(D) : D).ds;
|
|
130
|
+
if (!Array.isArray(O) || O.length === 0) {
|
|
131
|
+
J.value = [];
|
|
132
|
+
return;
|
|
133
|
+
}
|
|
134
|
+
let k = [
|
|
135
|
+
"日",
|
|
136
|
+
"一",
|
|
137
|
+
"二",
|
|
138
|
+
"三",
|
|
139
|
+
"四",
|
|
140
|
+
"五",
|
|
141
|
+
"六"
|
|
142
|
+
];
|
|
143
|
+
J.value = O.map((e, t) => {
|
|
144
|
+
let T = new Date(e.observation_time.replace(/\//g, "-"));
|
|
145
|
+
T.setDate(T.getDate() + t);
|
|
146
|
+
let E = `${T.getMonth() + 1}`.padStart(2, "0"), D = `${T.getDate()}`.padStart(2, "0");
|
|
147
|
+
return {
|
|
148
|
+
...e,
|
|
149
|
+
_date: `${E}-${D}`,
|
|
150
|
+
_week: `周${k[T.getDay()]}`,
|
|
151
|
+
_icon: new URL((/* @__PURE__ */ Object.assign({
|
|
152
|
+
"../../assets/img/weatherIcon/0.gif": o,
|
|
153
|
+
"../../assets/img/weatherIcon/1.gif": ee,
|
|
154
|
+
"../../assets/img/weatherIcon/10.gif": c,
|
|
155
|
+
"../../assets/img/weatherIcon/11.gif": s,
|
|
156
|
+
"../../assets/img/weatherIcon/12.gif": ae,
|
|
157
|
+
"../../assets/img/weatherIcon/13.gif": n,
|
|
158
|
+
"../../assets/img/weatherIcon/14.gif": oe,
|
|
159
|
+
"../../assets/img/weatherIcon/15.gif": l,
|
|
160
|
+
"../../assets/img/weatherIcon/16.gif": i,
|
|
161
|
+
"../../assets/img/weatherIcon/17.gif": a,
|
|
162
|
+
"../../assets/img/weatherIcon/18.gif": u,
|
|
163
|
+
"../../assets/img/weatherIcon/19.gif": S,
|
|
164
|
+
"../../assets/img/weatherIcon/2.gif": r,
|
|
165
|
+
"../../assets/img/weatherIcon/20.gif": te,
|
|
166
|
+
"../../assets/img/weatherIcon/21.gif": C,
|
|
167
|
+
"../../assets/img/weatherIcon/22.gif": p,
|
|
168
|
+
"../../assets/img/weatherIcon/23.gif": w,
|
|
169
|
+
"../../assets/img/weatherIcon/24.gif": x,
|
|
170
|
+
"../../assets/img/weatherIcon/25.gif": d,
|
|
171
|
+
"../../assets/img/weatherIcon/26.gif": ne,
|
|
172
|
+
"../../assets/img/weatherIcon/27.gif": re,
|
|
173
|
+
"../../assets/img/weatherIcon/28.gif": ce,
|
|
174
|
+
"../../assets/img/weatherIcon/29.gif": _,
|
|
175
|
+
"../../assets/img/weatherIcon/3.gif": g,
|
|
176
|
+
"../../assets/img/weatherIcon/30.gif": h,
|
|
177
|
+
"../../assets/img/weatherIcon/31.gif": b,
|
|
178
|
+
"../../assets/img/weatherIcon/4.gif": se,
|
|
179
|
+
"../../assets/img/weatherIcon/5.gif": m,
|
|
180
|
+
"../../assets/img/weatherIcon/53.gif": y,
|
|
181
|
+
"../../assets/img/weatherIcon/6.gif": le,
|
|
182
|
+
"../../assets/img/weatherIcon/7.gif": f,
|
|
183
|
+
"../../assets/img/weatherIcon/8.gif": ie,
|
|
184
|
+
"../../assets/img/weatherIcon/9.gif": v
|
|
185
|
+
}))[`../../assets/img/weatherIcon/${e.weatherPhenomenon}.gif`], import.meta.url).href
|
|
186
|
+
};
|
|
187
|
+
});
|
|
188
|
+
};
|
|
189
|
+
return (t, n) => {
|
|
190
|
+
let r = E;
|
|
191
|
+
return B((F(), k("div", V, [A("div", H, [A("div", U, [A("div", null, R(e.title), 1), A("div", {
|
|
192
|
+
class: "closeBtn",
|
|
193
|
+
onClick: ye,
|
|
194
|
+
title: "关闭"
|
|
195
|
+
})]), n[0] ||= A("img", {
|
|
196
|
+
class: "WeatherForecast__head-line",
|
|
197
|
+
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",
|
|
198
|
+
alt: ""
|
|
199
|
+
}, null, -1)]), A("div", W, [X.value.length > 0 ? (F(), k("div", ue, [A("div", de, [n[1] ||= A("label", { style: { "font-size": "12px" } }, "区域选择:", -1), A("div", fe, [A("div", {
|
|
200
|
+
class: "WeatherForecast__area-trigger",
|
|
201
|
+
onClick: be
|
|
202
|
+
}, [A("span", null, R(Z.value?.name || "选择区域"), 1), A("span", { class: N(["WeatherForecast__arrow", { "is-open": Q.value }]) }, "▼", 2)]), B(A("div", pe, [(F(!0), k(D, null, L(X.value, (e, t) => (F(), k("div", {
|
|
203
|
+
key: t,
|
|
204
|
+
class: N(["WeatherForecast__area-item", { "is-selected": Z.value?.value === e.value }]),
|
|
205
|
+
onClick: (t) => $(e)
|
|
206
|
+
}, R(e.name), 11, me))), 128))], 512), [[z, Q.value]])])])])) : O("", !0), A("div", he, [(F(!0), k(D, null, L(J.value, (e) => (F(), k("div", {
|
|
207
|
+
class: "WeatherForecast__item",
|
|
208
|
+
key: `${e.observation_time}-${e.hour}`
|
|
209
|
+
}, [
|
|
210
|
+
A("div", null, R(e._date), 1),
|
|
211
|
+
A("div", null, R(e._week), 1),
|
|
212
|
+
A("img", {
|
|
213
|
+
src: e._icon,
|
|
214
|
+
alt: e.weather
|
|
215
|
+
}, null, 8, ge),
|
|
216
|
+
A("div", null, R(e.weather), 1),
|
|
217
|
+
A("div", null, R(e.temp_low) + "~" + R(e.temp_high) + "℃", 1),
|
|
218
|
+
A("div", null, R(e.wind_directinfo), 1),
|
|
219
|
+
A("div", null, R(e.wind_speedinfo === null || Number(e.wind_speedinfo) < 3 ? "<3级" : `${e.wind_speedinfo}级`), 1)
|
|
220
|
+
]))), 128))])])])), [[r, q.value]]);
|
|
221
|
+
};
|
|
222
|
+
}
|
|
223
|
+
}), [["__scopeId", "data-v-08acfdb8"]]);
|
|
224
|
+
//#endregion
|
|
225
|
+
export { G as t };
|
package/dist/chunks/{component-YCDataMonitor-CdjR4SD9.mjs → component-YCDataMonitor-vVlnkSzT.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-DoAVs1Jf.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-C1xBPkS5.mjs";
|
|
3
3
|
import { ElConfigProvider as n, ElDatePicker as r, ElInput as i, ElLoadingDirective as a } from "element-plus/es";
|
|
4
4
|
import { Fragment as o, Teleport as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineComponent as h, normalizeClass as g, onBeforeUnmount as _, onMounted as v, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as ee, withCtx as te, withDirectives as C, withModifiers as w } from "vue";
|
|
5
5
|
import { ElMessage as T } from "element-plus";
|
package/dist/chunks/{component-YCDataService-BVgkmLN8.mjs → component-YCDataService-okkY1-iU.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
3
|
-
import { n } from "./component-HighwayWeatherForecast-
|
|
4
|
-
import { t as r } from "./component-YCDataMonitor-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-DoAVs1Jf.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-C1xBPkS5.mjs";
|
|
3
|
+
import { n } from "./component-HighwayWeatherForecast-DER5XGc3.mjs";
|
|
4
|
+
import { t as r } from "./component-YCDataMonitor-vVlnkSzT.mjs";
|
|
5
5
|
import { ElConfigProvider as i, ElDatePicker as a, ElInput as o, ElLoadingDirective as s } from "element-plus/es";
|
|
6
6
|
import { Fragment as c, computed as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineComponent as h, normalizeClass as g, onBeforeUnmount as _, onMounted as v, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as C, vShow as w, withCtx as T, withDirectives as E } from "vue";
|
|
7
7
|
import "element-plus/es/components/loading/style/css";
|