nxd-plugin 1.7.83 → 1.7.84
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-C1xBPkS5.mjs → component-AiChat-BXNBLM1G.mjs} +92 -93
- package/dist/chunks/{component-AqiMonitor-DoAVs1Jf.mjs → component-AqiMonitor-C_V1Nuf_.mjs} +1 -1
- package/dist/chunks/{component-ChartCumulativePre-BOIMPYxl.mjs → component-ChartCumulativePre-Bo28Bgaa.mjs} +2 -2
- package/dist/chunks/{component-ChartServiceMaterial-CmR3bmG_.mjs → component-ChartServiceMaterial-DELVCsKj.mjs} +2 -2
- package/dist/chunks/{component-Duty-gmt7ZcSc.mjs → component-Duty-dyZZ4vHt.mjs} +2 -2
- package/dist/chunks/{component-EarlyWarningStatistic-BWYWrz65.mjs → component-EarlyWarningStatistic-CBJfrRsV.mjs} +2 -2
- package/dist/chunks/{component-Forecast72h-BZ1kB2TJ.mjs → component-Forecast72h-BkVZSGhE.mjs} +2 -2
- package/dist/chunks/{component-GeologyLiveAlarm-CNpQPmGs.mjs → component-GeologyLiveAlarm-B9jBWXf0.mjs} +2 -2
- package/dist/chunks/component-HdForecastProducts-D4x_Y0OB.mjs +211 -0
- package/dist/chunks/{component-HdHeatService-ok6q8UuG.mjs → component-HdHeatService-Bf9XH3DP.mjs} +2 -2
- package/dist/chunks/{component-HdObservation-BmQdGJV6.mjs → component-HdObservation-CM6HUrQ3.mjs} +51 -45
- package/dist/chunks/{component-HdPreSituation-LBpO58bE.mjs → component-HdPreSituation-CJ8-wiRO.mjs} +168 -133
- package/dist/chunks/{component-HdRadarTime-D7hOn_ph.mjs → component-HdRadarTime-C4ZArOUM.mjs} +2 -2
- package/dist/chunks/{component-HdSeaCase-DYPQ7CdN.mjs → component-HdSeaCase-3-YFxSuM.mjs} +2 -2
- package/dist/chunks/component-HdServiceMarterial-pSFQUH2x.mjs +316 -0
- package/dist/chunks/{component-HdServiceRequirements-DcXrcIIV.mjs → component-HdServiceRequirements-BjuiyyC5.mjs} +38 -39
- package/dist/chunks/{component-HdStationTem-US6IRwbQ.mjs → component-HdStationTem-Dit7Y8lu.mjs} +100 -100
- package/dist/chunks/component-HdSuggestion-B_abfzRO.mjs +161 -0
- package/dist/chunks/component-HdThreeWeatherTrend-B2qzvOzb.mjs +372 -0
- package/dist/chunks/component-HdWaveForcast-D8UZrHzF.mjs +269 -0
- package/dist/chunks/{component-HighQuality-B0OgPi3T.mjs → component-HighQuality-1iqLOQAF.mjs} +2 -2
- package/dist/chunks/{component-HighWayEarlyWarningRed-BTl2WWZ-.mjs → component-HighWayEarlyWarningRed-DlgG9rTx.mjs} +3 -3
- package/dist/chunks/{component-HighWayFreeze-B1aMHQWU.mjs → component-HighWayFreeze-CCp1Rxpz.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarm-8u45ZdnN.mjs → component-HighwayLiveAlarm-D7PKi5rG.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarmNew-DK827eVk.mjs → component-HighwayLiveAlarmNew-rH59lsj8.mjs} +3 -3
- package/dist/chunks/{component-HighwayStations-BzrbWP50.mjs → component-HighwayStations-DGt6Gsr9.mjs} +2 -2
- package/dist/chunks/{component-HighwayWeatherForecast-DER5XGc3.mjs → component-HighwayWeatherForecast-BQrNGF7m.mjs} +73 -130
- package/dist/chunks/{component-IframeWeb-DuBssYPk.mjs → component-IframeWeb-vLIWvbJY.mjs} +1 -1
- package/dist/chunks/{component-ImageGeneration-3G3j7utC.mjs → component-ImageGeneration-BtM7MHcE.mjs} +1 -1
- package/dist/chunks/{component-IntroducePic-L8VH8Yq8.mjs → component-IntroducePic-D3FSEuKX.mjs} +1 -1
- package/dist/chunks/{component-LithiumBatteryMiningArea-DSFTVepN.mjs → component-LithiumBatteryMiningArea-B5aUe7T0.mjs} +2 -2
- package/dist/chunks/{component-MapPopup-BNc18syw.mjs → component-MapPopup-UmWWAPBE.mjs} +1 -1
- package/dist/chunks/{component-MaterialPreview-DhLUbjcT.mjs → component-MaterialPreview-1Hyl4bjM.mjs} +2 -2
- package/dist/chunks/{component-PieLegend-Haojhtet.mjs → component-PieLegend-C0Acehix.mjs} +1 -1
- package/dist/chunks/component-PrecipitationRanking-C63n87WI.mjs +658 -0
- package/dist/chunks/{component-RadarChart-BYMbkI3K.mjs → component-RadarChart-BXfMyPPi.mjs} +2 -2
- package/dist/chunks/{component-RadarLegend-CiGsla7a.mjs → component-RadarLegend-B2ajP_0M.mjs} +1 -1
- package/dist/chunks/{component-RadarShortTerm-yPc2UWpz.mjs → component-RadarShortTerm-BeGEjbHr.mjs} +4 -4
- package/dist/chunks/{component-RadarTime-CkqIaTJh.mjs → component-RadarTime-DGRztCiR.mjs} +2 -2
- package/dist/chunks/{component-RenderMarkdown-D590sXEf.mjs → component-RenderMarkdown-Dv-UVGrS.mjs} +2 -2
- package/dist/chunks/{component-ReservoirLiveAlarm-DTtKdDQS.mjs → component-ReservoirLiveAlarm-CRgl_ztt.mjs} +3 -3
- package/dist/chunks/{component-ServiceMaterial-BKbVQbKm.mjs → component-ServiceMaterial-BTWYke8W.mjs} +2 -2
- package/dist/chunks/{component-ServiceMaterialsBtn-CskK-Qiz.mjs → component-ServiceMaterialsBtn-CTWGd-Is.mjs} +1 -1
- package/dist/chunks/{component-StationDialog-Bn7Fbk24.mjs → component-StationDialog-Ck8zd52d.mjs} +216 -157
- package/dist/chunks/{component-StationList-DRABlFdc.mjs → component-StationList-BvoVJwAU.mjs} +105 -91
- package/dist/chunks/{component-TimeBasedForecast-D1fJ4rGJ.mjs → component-TimeBasedForecast-BaPiit4s.mjs} +36 -36
- package/dist/chunks/{component-WarningLine-jN8sg45u.mjs → component-WarningLine-CcFfVzar.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-BkIKqyJB.mjs → component-WarningSignal-C0CnTLVH.mjs} +3 -3
- package/dist/chunks/component-WeatherForecast-DWdNramU.mjs +229 -0
- package/dist/chunks/{component-YCDataMonitor-vVlnkSzT.mjs → component-YCDataMonitor-DPMFqIFB.mjs} +108 -110
- package/dist/chunks/{component-YCDataService-okkY1-iU.mjs → component-YCDataService-CD042ss7.mjs} +4 -4
- package/dist/chunks/{component-YCHome-BfpbxDIg.mjs → component-YCHome-DjpIzt-5.mjs} +4 -4
- package/dist/chunks/{component-YCHomeLegend-CuT-BwNJ.mjs → component-YCHomeLegend-B-nlePS2.mjs} +1 -1
- package/dist/chunks/{component-YCLoginNew-KZoyW1EV.mjs → component-YCLoginNew-Bx2LoLJz.mjs} +3 -3
- package/dist/components/HdForecastProducts/HdForecastProducts.vue.d.ts +49 -0
- package/dist/components/HdPreSituation/HdPreSituation.vue.d.ts +0 -1
- package/dist/components/HdServiceMarterial/HdServiceMarterial.vue.d.ts +54 -0
- package/dist/components/HdSuggestion/HdSuggestion.vue.d.ts +49 -0
- package/dist/components/HdThreeWeatherTrend/HdThreeWeatherTrend.vue.d.ts +71 -0
- package/dist/components/HdWaveForcast/HdWaveForcast.vue.d.ts +70 -0
- package/dist/components/PrecipitationRanking/PrecipitationRanking.vue.d.ts +5 -0
- package/dist/components/WeatherForecast/WeatherForecast.vue.d.ts +9 -0
- package/dist/index.d.ts +6 -1
- package/dist/nxd-plugin.mjs +56 -51
- package/dist/styles/component-HdForecastProducts.css +1 -0
- package/dist/styles/component-HdObservation.css +1 -1
- package/dist/styles/component-HdPreSituation.css +1 -1
- package/dist/styles/component-HdServiceMarterial.css +1 -0
- package/dist/styles/component-HdServiceRequirements.css +1 -1
- package/dist/styles/component-HdStationTem.css +1 -1
- package/dist/styles/component-HdSuggestion.css +1 -0
- package/dist/styles/component-HdThreeWeatherTrend.css +1 -0
- package/dist/styles/component-HdWaveForcast.css +1 -0
- package/dist/styles/component-HighWayEarlyWarningRed.css +1 -1
- package/dist/styles/component-PrecipitationRanking.css +1 -1
- package/dist/styles/component-StationDialog.css +1 -1
- package/dist/styles/component-StationList.css +1 -1
- package/dist/styles/component-WeatherForecast.css +1 -1
- package/dist/styles/component-YCDataMonitor.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/package.json +1 -1
- package/dist/chunks/component-PrecipitationRanking-BanKrD3J.mjs +0 -608
- package/dist/chunks/component-WeatherForecast-CYsbJhYt.mjs +0 -225
package/dist/chunks/{component-StationList-DRABlFdc.mjs → component-StationList-BvoVJwAU.mjs}
RENAMED
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
import { r as e } from "./rolldown-runtime-Cz5NsrRf.mjs";
|
|
2
|
-
import { n as t } from "./component-AqiMonitor-
|
|
3
|
-
import { i as n } from "./component-AiChat-
|
|
4
|
-
import "./component-Forecast72h-
|
|
5
|
-
import { n as r } from "./component-HdObservation-
|
|
6
|
-
import { ElConfigProvider as i, ElDatePicker as a,
|
|
7
|
-
import { computed as
|
|
8
|
-
import E from "element-plus/
|
|
2
|
+
import { n as t } from "./component-AqiMonitor-C_V1Nuf_.mjs";
|
|
3
|
+
import { i as n } from "./component-AiChat-BXNBLM1G.mjs";
|
|
4
|
+
import "./component-Forecast72h-BkVZSGhE.mjs";
|
|
5
|
+
import { n as r } from "./component-HdObservation-CM6HUrQ3.mjs";
|
|
6
|
+
import { ElConfigProvider as i, ElDatePicker as a, ElIcon as o, ElLoadingDirective as s, ElTable as c, ElTableColumn as l } from "element-plus/es";
|
|
7
|
+
import { computed as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, getCurrentInstance as _, normalizeClass as v, onBeforeUnmount as y, onMounted as b, openBlock as x, ref as S, toDisplayString as C, unref as w, withCtx as T, withDirectives as ee } from "vue";
|
|
8
|
+
import { Download as E, RefreshRight as D } from "@element-plus/icons-vue";
|
|
9
|
+
import { ElMessage as O } from "element-plus";
|
|
10
|
+
import k from "element-plus/es/locale/lang/zh-cn.mjs";
|
|
11
|
+
import "element-plus/dist/index.css";
|
|
9
12
|
//#region src/components/StationList/StationList.vue?vue&type=script&setup=true&lang.ts
|
|
10
|
-
var
|
|
13
|
+
var te = /* @__PURE__ */ e(r()), ne = {
|
|
11
14
|
class: "StationList",
|
|
12
15
|
"element-loading-background": "rgba(0, 0, 0, 0.5)"
|
|
13
|
-
},
|
|
16
|
+
}, re = { class: "StationList-header" }, A = { class: "StationList-headerContent" }, j = { class: "StationList-title" }, M = {
|
|
14
17
|
key: 0,
|
|
15
18
|
class: "StationList-dataTime"
|
|
16
|
-
},
|
|
19
|
+
}, N = { class: "StationList-toolbar" }, P = { class: "StationList-timeWrap" }, F = { class: "StationList-actions" }, I = { class: "StationList-content" }, L = { class: "StationList-tableWrap" }, R = /* @__PURE__ */ t(/* @__PURE__ */ g({
|
|
17
20
|
__name: "StationList",
|
|
18
21
|
props: {
|
|
19
22
|
mock: {
|
|
@@ -120,74 +123,78 @@ var ee = /* @__PURE__ */ e(r()), D = {
|
|
|
120
123
|
},
|
|
121
124
|
emits: ["close", "rowClick"],
|
|
122
125
|
setup(e, { emit: t }) {
|
|
123
|
-
let r =
|
|
124
|
-
let e = [...
|
|
125
|
-
return
|
|
126
|
-
let n = Number(e[
|
|
127
|
-
return
|
|
126
|
+
let r = _()?.appContext.config.globalProperties.$bus, g = e, R = t, z = S(!1), B = S(!1), V = S(""), H = S(""), U = S(""), W = S([]), G = S(""), K = S("asc"), q = null, J = u(() => {
|
|
127
|
+
let e = [...W.value];
|
|
128
|
+
return G.value && e.sort((e, t) => {
|
|
129
|
+
let n = Number(e[G.value]) || 0, r = Number(t[G.value]) || 0;
|
|
130
|
+
return K.value === "asc" ? n - r : r - n;
|
|
128
131
|
}), e;
|
|
129
|
-
}),
|
|
132
|
+
}), Y = (e) => e == null || e === "" || e === 9999, X = (e, t) => Y(e) ? "--" : t ? `${e}${t}` : String(e), ie = (e) => `${Y(e.windSpeed) ? "--" : `${e.windSpeed}m/s`} ${e.windDirectionText || "--"}`, Z = (e, t) => {
|
|
130
133
|
let n = Number(e[t]);
|
|
131
|
-
if (
|
|
132
|
-
let r =
|
|
134
|
+
if (Y(n) || isNaN(n)) return !1;
|
|
135
|
+
let r = g.thresholds[t];
|
|
133
136
|
return r ? r.min !== void 0 && n < r.min || r.max !== void 0 && n > r.max : !1;
|
|
134
|
-
},
|
|
135
|
-
|
|
136
|
-
},
|
|
137
|
-
|
|
138
|
-
},
|
|
137
|
+
}, ae = () => {
|
|
138
|
+
R("close", "StationList");
|
|
139
|
+
}, oe = (e) => {
|
|
140
|
+
R("rowClick", e);
|
|
141
|
+
}, se = ({ prop: e, order: t }) => {
|
|
139
142
|
if (!e || !t) {
|
|
140
|
-
|
|
143
|
+
G.value = "";
|
|
141
144
|
return;
|
|
142
145
|
}
|
|
143
|
-
|
|
144
|
-
},
|
|
145
|
-
let t =
|
|
146
|
+
G.value = e, K.value = t === "ascending" ? "asc" : "desc";
|
|
147
|
+
}, ce = (e) => {
|
|
148
|
+
let t = g.ids[e] || g.ids.data;
|
|
146
149
|
return t?.id ? t : null;
|
|
147
|
-
},
|
|
148
|
-
let e =
|
|
149
|
-
console.log(e, "data"),
|
|
150
|
-
},
|
|
151
|
-
let e =
|
|
150
|
+
}, le = (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, ue = () => {
|
|
151
|
+
let e = g.mockData;
|
|
152
|
+
console.log(e, "data"), W.value = e.list || [], U.value = e.dataTime || "";
|
|
153
|
+
}, de = async () => {
|
|
154
|
+
let e = ce("data");
|
|
152
155
|
if (!e) {
|
|
153
156
|
console.warn("StationList 缺少工作流配置");
|
|
154
157
|
return;
|
|
155
158
|
}
|
|
156
159
|
try {
|
|
157
|
-
let t =
|
|
160
|
+
let t = le(await n({
|
|
158
161
|
id: e.id,
|
|
159
|
-
baseHttp:
|
|
162
|
+
baseHttp: g.baseHttp,
|
|
160
163
|
reqType: e.reqType,
|
|
161
164
|
variables: {
|
|
162
|
-
startTime:
|
|
163
|
-
endTime:
|
|
165
|
+
startTime: V.value,
|
|
166
|
+
endTime: H.value
|
|
164
167
|
},
|
|
165
168
|
isFormData: e.isFormData,
|
|
166
|
-
appKey:
|
|
167
|
-
appSalt:
|
|
169
|
+
appKey: g.appKey,
|
|
170
|
+
appSalt: g.appSalt
|
|
168
171
|
}));
|
|
169
|
-
t && (
|
|
172
|
+
t && (W.value = Array.isArray(t.list) ? t.list : [], U.value = t.dataTime || "");
|
|
170
173
|
} catch (e) {
|
|
171
174
|
console.error("StationList 数据加载失败", e);
|
|
172
175
|
}
|
|
173
176
|
}, Q = async () => {
|
|
174
|
-
|
|
175
|
-
},
|
|
177
|
+
z.value = !0, g.mock ? ue() : await de(), z.value = !1;
|
|
178
|
+
}, fe = () => {
|
|
176
179
|
Q();
|
|
177
|
-
},
|
|
178
|
-
|
|
179
|
-
|
|
180
|
+
}, pe = async () => {
|
|
181
|
+
B.value = !0, await Q(), setTimeout(() => {
|
|
182
|
+
B.value = !1;
|
|
180
183
|
}, 500);
|
|
181
|
-
},
|
|
182
|
-
|
|
184
|
+
}, me = () => {
|
|
185
|
+
if (J.value.length == 0) {
|
|
186
|
+
O.warning("暂无数据可导出");
|
|
187
|
+
return;
|
|
188
|
+
}
|
|
189
|
+
let e = J.value.map((e) => ({
|
|
183
190
|
站名: e.stationName,
|
|
184
|
-
温度:
|
|
185
|
-
降水量:
|
|
186
|
-
风速:
|
|
191
|
+
温度: X(e.temperature, "℃"),
|
|
192
|
+
降水量: X(e.precipitation, "mm"),
|
|
193
|
+
风速: X(e.windSpeed, "m/s"),
|
|
187
194
|
风向: e.windDirectionText || "--",
|
|
188
|
-
数据时间: e.monitorTime ||
|
|
195
|
+
数据时间: e.monitorTime || U.value || ""
|
|
189
196
|
}));
|
|
190
|
-
new
|
|
197
|
+
new te.default({
|
|
191
198
|
fileName: `自动站观测数据_${(/* @__PURE__ */ new Date()).getTime()}`,
|
|
192
199
|
datas: [{
|
|
193
200
|
sheetData: e,
|
|
@@ -218,27 +225,27 @@ var ee = /* @__PURE__ */ e(r()), D = {
|
|
|
218
225
|
]
|
|
219
226
|
}]
|
|
220
227
|
}).saveExcel();
|
|
221
|
-
},
|
|
222
|
-
$(), !(
|
|
228
|
+
}, he = () => {
|
|
229
|
+
$(), !(g.refreshInterval <= 0) && (q = setInterval(() => {
|
|
223
230
|
Q();
|
|
224
|
-
},
|
|
231
|
+
}, g.refreshInterval));
|
|
225
232
|
}, $ = () => {
|
|
226
|
-
|
|
233
|
+
q &&= (clearInterval(q), null);
|
|
227
234
|
};
|
|
228
|
-
return
|
|
235
|
+
return b(() => {
|
|
229
236
|
r?.on("toComponent", (e) => {
|
|
230
237
|
e.componentName === "StationList" && Q();
|
|
231
|
-
}), Q(),
|
|
232
|
-
}),
|
|
238
|
+
}), Q(), he();
|
|
239
|
+
}), y(() => {
|
|
233
240
|
$();
|
|
234
241
|
}), (t, n) => {
|
|
235
|
-
let r = a,
|
|
236
|
-
return
|
|
237
|
-
|
|
242
|
+
let r = a, u = i, g = o, _ = l, y = c, b = s;
|
|
243
|
+
return ee((x(), f("div", ne, [
|
|
244
|
+
p("button", {
|
|
238
245
|
class: "StationList-close",
|
|
239
|
-
onClick:
|
|
240
|
-
}, [...n[1] ||= [
|
|
241
|
-
|
|
246
|
+
onClick: ae
|
|
247
|
+
}, [...n[1] ||= [p("span", null, "✕", -1)]]),
|
|
248
|
+
p("div", re, [p("div", A, [p("h3", j, C(e.title), 1), U.value ? (x(), f("span", M, "(数据时间:" + C(U.value) + ")", 1)) : d("", !0)]), n[2] ||= p("img", {
|
|
242
249
|
style: {
|
|
243
250
|
width: "100%",
|
|
244
251
|
"object-fit": "contain",
|
|
@@ -247,77 +254,84 @@ var ee = /* @__PURE__ */ e(r()), D = {
|
|
|
247
254
|
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
255
|
alt: ""
|
|
249
256
|
}, null, -1)]),
|
|
250
|
-
|
|
251
|
-
default:
|
|
257
|
+
p("div", N, [p("div", P, [n[3] ||= p("span", { class: "StationList-toolbarLabel" }, "时间选择", -1), h(u, { locale: w(k) }, {
|
|
258
|
+
default: T(() => [h(r, {
|
|
259
|
+
size: "small",
|
|
252
260
|
style: { "max-width": "150px" },
|
|
253
|
-
modelValue:
|
|
254
|
-
"onUpdate:modelValue": n[0] ||= (e) =>
|
|
261
|
+
modelValue: V.value,
|
|
262
|
+
"onUpdate:modelValue": n[0] ||= (e) => V.value = e,
|
|
255
263
|
type: "datetime",
|
|
256
264
|
placeholder: "请选择时间",
|
|
257
|
-
"value-format": "YYYY-MM-DD HH",
|
|
258
|
-
format: "YYYY-MM-DD HH",
|
|
265
|
+
"value-format": "YYYY-MM-DD HH:mm",
|
|
266
|
+
format: "YYYY-MM-DD HH:mm",
|
|
259
267
|
class: "StationList-datePicker",
|
|
260
268
|
"popper-class": "StationList-datePopper",
|
|
261
|
-
onChange:
|
|
269
|
+
onChange: fe
|
|
262
270
|
}, null, 8, ["modelValue"])]),
|
|
263
271
|
_: 1
|
|
264
|
-
}, 8, ["locale"])]),
|
|
272
|
+
}, 8, ["locale"])]), p("div", F, [p("button", {
|
|
265
273
|
class: "StationList-btn",
|
|
266
|
-
onClick:
|
|
267
|
-
}, [
|
|
274
|
+
onClick: me
|
|
275
|
+
}, [h(g, null, {
|
|
276
|
+
default: T(() => [h(w(E))]),
|
|
277
|
+
_: 1
|
|
278
|
+
}), n[4] ||= p("span", null, "导出", -1)]), p("button", {
|
|
268
279
|
class: "StationList-btn",
|
|
269
|
-
onClick:
|
|
270
|
-
}, [
|
|
271
|
-
|
|
272
|
-
|
|
280
|
+
onClick: pe
|
|
281
|
+
}, [h(g, null, {
|
|
282
|
+
default: T(() => [h(w(D))]),
|
|
283
|
+
_: 1
|
|
284
|
+
}), n[5] ||= p("span", null, "刷新", -1)])])]),
|
|
285
|
+
p("div", I, [p("div", L, [h(y, {
|
|
286
|
+
data: J.value,
|
|
273
287
|
class: "StationList-table",
|
|
274
288
|
height: e.tableHeight,
|
|
275
289
|
"empty-text": "暂无数据",
|
|
276
|
-
onSortChange:
|
|
277
|
-
onRowClick:
|
|
290
|
+
onSortChange: se,
|
|
291
|
+
onRowClick: oe
|
|
278
292
|
}, {
|
|
279
|
-
default:
|
|
280
|
-
|
|
293
|
+
default: T(() => [
|
|
294
|
+
h(_, {
|
|
281
295
|
prop: "stationName",
|
|
282
296
|
label: "站名",
|
|
283
297
|
align: "left",
|
|
284
298
|
"min-width": "90",
|
|
285
299
|
"show-overflow-tooltip": ""
|
|
286
300
|
}),
|
|
287
|
-
|
|
301
|
+
h(_, {
|
|
288
302
|
prop: "temperature",
|
|
289
303
|
label: "温度",
|
|
290
304
|
align: "center",
|
|
291
305
|
sortable: "custom",
|
|
292
306
|
"min-width": "80"
|
|
293
307
|
}, {
|
|
294
|
-
default:
|
|
308
|
+
default: T(({ row: e }) => [p("span", { class: v({ "is-alarm": Z(e, "temperature") }) }, C(X(e.temperature, "℃")), 3)]),
|
|
295
309
|
_: 1
|
|
296
310
|
}),
|
|
297
|
-
|
|
311
|
+
h(_, {
|
|
298
312
|
prop: "precipitation",
|
|
299
313
|
label: "降水量",
|
|
300
314
|
align: "center",
|
|
301
315
|
sortable: "custom",
|
|
302
316
|
"min-width": "100"
|
|
303
317
|
}, {
|
|
304
|
-
default:
|
|
318
|
+
default: T(({ row: e }) => [p("span", { class: v({ "is-alarm": Z(e, "precipitation") }) }, C(X(e.precipitation, "mm")), 3)]),
|
|
305
319
|
_: 1
|
|
306
320
|
}),
|
|
307
|
-
|
|
321
|
+
h(_, {
|
|
308
322
|
label: "风向风速",
|
|
309
323
|
align: "left",
|
|
310
324
|
"min-width": "100"
|
|
311
325
|
}, {
|
|
312
|
-
default:
|
|
326
|
+
default: T(({ row: e }) => [m(C(ie(e)), 1)]),
|
|
313
327
|
_: 1
|
|
314
328
|
})
|
|
315
329
|
]),
|
|
316
330
|
_: 1
|
|
317
331
|
}, 8, ["data", "height"])])])
|
|
318
|
-
])), [[
|
|
332
|
+
])), [[b, z.value]]);
|
|
319
333
|
};
|
|
320
334
|
}
|
|
321
|
-
}), [["__scopeId", "data-v-
|
|
335
|
+
}), [["__scopeId", "data-v-732d7326"]]);
|
|
322
336
|
//#endregion
|
|
323
|
-
export {
|
|
337
|
+
export { R 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,
|
|
4
|
-
import { n as v } from "./component-LithiumBatteryMiningArea-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-C_V1Nuf_.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-BXNBLM1G.mjs";
|
|
3
|
+
import { A as n, C as r, D as i, E as ee, M as a, N as o, O as s, P as c, S as l, T as u, _ as d, a as f, b as p, c as m, d as te, f as ne, g as re, h as ie, i as ae, j as oe, k as se, l as ce, m as le, n 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-BQrNGF7m.mjs";
|
|
4
|
+
import { n as v } from "./component-LithiumBatteryMiningArea-B5aUe7T0.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";
|
|
@@ -89,39 +89,39 @@ var ye = {
|
|
|
89
89
|
_time: y,
|
|
90
90
|
_temp: Number.isFinite(b) ? b : 0,
|
|
91
91
|
_weatherIcon: new URL((/* @__PURE__ */ Object.assign({
|
|
92
|
-
"../../assets/img/weatherIcon/0.gif":
|
|
93
|
-
"../../assets/img/weatherIcon/1.gif":
|
|
94
|
-
"../../assets/img/weatherIcon/10.gif":
|
|
95
|
-
"../../assets/img/weatherIcon/11.gif":
|
|
96
|
-
"../../assets/img/weatherIcon/12.gif":
|
|
97
|
-
"../../assets/img/weatherIcon/13.gif":
|
|
98
|
-
"../../assets/img/weatherIcon/14.gif":
|
|
99
|
-
"../../assets/img/weatherIcon/15.gif":
|
|
100
|
-
"../../assets/img/weatherIcon/16.gif":
|
|
101
|
-
"../../assets/img/weatherIcon/17.gif":
|
|
102
|
-
"../../assets/img/weatherIcon/18.gif":
|
|
103
|
-
"../../assets/img/weatherIcon/19.gif":
|
|
104
|
-
"../../assets/img/weatherIcon/2.gif":
|
|
105
|
-
"../../assets/img/weatherIcon/20.gif":
|
|
106
|
-
"../../assets/img/weatherIcon/21.gif":
|
|
107
|
-
"../../assets/img/weatherIcon/22.gif":
|
|
108
|
-
"../../assets/img/weatherIcon/23.gif":
|
|
109
|
-
"../../assets/img/weatherIcon/24.gif":
|
|
110
|
-
"../../assets/img/weatherIcon/25.gif":
|
|
92
|
+
"../../assets/img/weatherIcon/0.gif": c,
|
|
93
|
+
"../../assets/img/weatherIcon/1.gif": o,
|
|
94
|
+
"../../assets/img/weatherIcon/10.gif": a,
|
|
95
|
+
"../../assets/img/weatherIcon/11.gif": oe,
|
|
96
|
+
"../../assets/img/weatherIcon/12.gif": n,
|
|
97
|
+
"../../assets/img/weatherIcon/13.gif": se,
|
|
98
|
+
"../../assets/img/weatherIcon/14.gif": s,
|
|
99
|
+
"../../assets/img/weatherIcon/15.gif": i,
|
|
100
|
+
"../../assets/img/weatherIcon/16.gif": ee,
|
|
101
|
+
"../../assets/img/weatherIcon/17.gif": u,
|
|
102
|
+
"../../assets/img/weatherIcon/18.gif": me,
|
|
103
|
+
"../../assets/img/weatherIcon/19.gif": r,
|
|
104
|
+
"../../assets/img/weatherIcon/2.gif": l,
|
|
105
|
+
"../../assets/img/weatherIcon/20.gif": he,
|
|
106
|
+
"../../assets/img/weatherIcon/21.gif": p,
|
|
107
|
+
"../../assets/img/weatherIcon/22.gif": ge,
|
|
108
|
+
"../../assets/img/weatherIcon/23.gif": pe,
|
|
109
|
+
"../../assets/img/weatherIcon/24.gif": d,
|
|
110
|
+
"../../assets/img/weatherIcon/25.gif": re,
|
|
111
111
|
"../../assets/img/weatherIcon/26.gif": ie,
|
|
112
|
-
"../../assets/img/weatherIcon/27.gif":
|
|
113
|
-
"../../assets/img/weatherIcon/28.gif":
|
|
114
|
-
"../../assets/img/weatherIcon/29.gif":
|
|
115
|
-
"../../assets/img/weatherIcon/3.gif":
|
|
116
|
-
"../../assets/img/weatherIcon/30.gif":
|
|
117
|
-
"../../assets/img/weatherIcon/31.gif":
|
|
118
|
-
"../../assets/img/weatherIcon/4.gif":
|
|
119
|
-
"../../assets/img/weatherIcon/5.gif":
|
|
120
|
-
"../../assets/img/weatherIcon/53.gif":
|
|
121
|
-
"../../assets/img/weatherIcon/6.gif":
|
|
122
|
-
"../../assets/img/weatherIcon/7.gif":
|
|
123
|
-
"../../assets/img/weatherIcon/8.gif":
|
|
124
|
-
"../../assets/img/weatherIcon/9.gif":
|
|
112
|
+
"../../assets/img/weatherIcon/27.gif": le,
|
|
113
|
+
"../../assets/img/weatherIcon/28.gif": g,
|
|
114
|
+
"../../assets/img/weatherIcon/29.gif": ne,
|
|
115
|
+
"../../assets/img/weatherIcon/3.gif": te,
|
|
116
|
+
"../../assets/img/weatherIcon/30.gif": fe,
|
|
117
|
+
"../../assets/img/weatherIcon/31.gif": ce,
|
|
118
|
+
"../../assets/img/weatherIcon/4.gif": m,
|
|
119
|
+
"../../assets/img/weatherIcon/5.gif": de,
|
|
120
|
+
"../../assets/img/weatherIcon/53.gif": h,
|
|
121
|
+
"../../assets/img/weatherIcon/6.gif": f,
|
|
122
|
+
"../../assets/img/weatherIcon/7.gif": ae,
|
|
123
|
+
"../../assets/img/weatherIcon/8.gif": _,
|
|
124
|
+
"../../assets/img/weatherIcon/9.gif": ue
|
|
125
125
|
}))[`../../assets/img/weatherIcon/${x}.gif`], import.meta.url).href,
|
|
126
126
|
_windSpeed: `${w}级`
|
|
127
127
|
};
|
package/dist/chunks/{component-WarningLine-jN8sg45u.mjs → component-WarningLine-CcFfVzar.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-BXNBLM1G.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-DlgG9rTx.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-BkIKqyJB.mjs → component-WarningSignal-C0CnTLVH.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-C_V1Nuf_.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-BXNBLM1G.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-DlgG9rTx.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";
|