nxd-plugin 1.8.50 → 1.8.52
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/GridData-D930GI5r.mjs +2 -0
- package/dist/chunks/YCServiceSummary-5zaYlO27.mjs +2 -0
- package/dist/chunks/{component-Forecast72h-CD6eT1xe.mjs → component-Forecast72h-PgbN_y9N.mjs} +170 -161
- package/dist/chunks/component-GridData-BK4jKmO-.mjs +399 -0
- package/dist/chunks/{component-HdCameraList-DuC-_0uH.mjs → component-HdCameraList-Ch0ojKDf.mjs} +1 -1
- package/dist/chunks/{component-HdFarmStation-BtYLSMAY.mjs → component-HdFarmStation-BV_kmLzl.mjs} +1 -1
- package/dist/chunks/component-HdMajorActivity-BS7LJXLj.mjs +718 -0
- package/dist/chunks/{component-HdObservation-DmRN3dBq.mjs → component-HdObservation-DrPL7XVh.mjs} +1 -1
- package/dist/chunks/{component-HdPreSituation-KMOE4Mt_.mjs → component-HdPreSituation-D0KUf8I4.mjs} +1 -1
- package/dist/chunks/{component-HdRadarList-Cx_cRpjb.mjs → component-HdRadarList-CspWsOEW.mjs} +1 -1
- package/dist/chunks/{component-HdRisk-Cx_Wuyuy.mjs → component-HdRisk-qQ1jbMi4.mjs} +1 -1
- package/dist/chunks/{component-HdServiceMarterial-D4nik4h0.mjs → component-HdServiceMarterial-DAf5Wr6D.mjs} +1 -1
- package/dist/chunks/{component-HdServiceRequirements-CrpxYdNK.mjs → component-HdServiceRequirements-CycjsvZT.mjs} +1 -1
- package/dist/chunks/{component-HdSoil-eQTGGIkq.mjs → component-HdSoil-BKDaVRnf.mjs} +1 -1
- package/dist/chunks/{component-HdStationTem-BCls8KKc.mjs → component-HdStationTem-Cb2YV_fB.mjs} +1 -1
- package/dist/chunks/{component-HdSuggestion-BnGlQLfg.mjs → component-HdSuggestion-fajQUBiB.mjs} +1 -1
- package/dist/chunks/{component-HdThreeWeatherTrend-D_dPqael.mjs → component-HdThreeWeatherTrend-CeAHvlR3.mjs} +1 -1
- package/dist/chunks/{component-HdWaveForcast-B-RPD_5H.mjs → component-HdWaveForcast-DRuTytq8.mjs} +1 -1
- package/dist/chunks/{component-HighwayWeatherForecast-BVj7aWS1.mjs → component-HighwayWeatherForecast-CUk0YFO6.mjs} +2 -2
- package/dist/chunks/{component-PrecipitationRanking-Ct4OY0FJ.mjs → component-PrecipitationRanking-Nq_SI95N.mjs} +1 -1
- package/dist/chunks/{component-StationDialog-_pkrpDnI.mjs → component-StationDialog-B-6V3oc5.mjs} +1 -1
- package/dist/chunks/{component-StationList-D4XTo6r2.mjs → component-StationList-qtk1j-fG.mjs} +1 -1
- package/dist/chunks/{component-TimeBasedForecast-4ZZ7ZnCH.mjs → component-TimeBasedForecast-DdTGq6GE.mjs} +1 -1
- package/dist/chunks/component-WeatherForecast-g9IL5upq.mjs +219 -0
- package/dist/chunks/{component-YCHome-BNYalrzu.mjs → component-YCHome-nJZqqhcF.mjs} +1 -1
- package/dist/chunks/{component-YCServiceSummary-BQmpmZC-.mjs → component-YCServiceSummary-BKkRTMKf.mjs} +352 -229
- package/dist/components/HdMajorActivity/HdMajorActivity.vue.d.ts +6 -2
- package/dist/index.d.ts +2 -2
- package/dist/nxd-plugin.mjs +25 -26
- package/dist/styles/component-Forecast72h.css +1 -1
- package/dist/styles/component-GridData.css +1 -1
- package/dist/styles/component-HdMajorActivity.css +1 -1
- package/dist/styles/component-WeatherForecast.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/dist/styles/component-YCServiceSummary.css +1 -1
- package/package.json +1 -1
- package/dist/chunks/YCServiceSummary-Dr7NyIZK.mjs +0 -2
- package/dist/chunks/component-GridData-o7hipw0h.mjs +0 -756
- package/dist/chunks/component-HdMajorActivity-CQ76SEKD.mjs +0 -710
- package/dist/chunks/component-WeatherForecast-DqdD9JUX.mjs +0 -208
package/dist/chunks/{component-HdObservation-DmRN3dBq.mjs → component-HdObservation-DrPL7XVh.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
2
|
import { g as t, p as n } from "./component-Agent-DwXtdLhK.mjs";
|
|
3
|
-
import "./component-Forecast72h-
|
|
3
|
+
import "./component-Forecast72h-PgbN_y9N.mjs";
|
|
4
4
|
import { n as r } from "./component-HdFarmStationDialog-BHxuJEsh.mjs";
|
|
5
5
|
import { ElIcon as i, ElLoadingDirective as a, ElOption as o, ElSelect as s } from "element-plus/es";
|
|
6
6
|
import { Fragment as c, computed as l, createBlock as ee, createCommentVNode as te, createElementBlock as u, createElementVNode as d, createStaticVNode as ne, createVNode as f, defineComponent as p, getCurrentInstance as re, nextTick as ie, normalizeClass as ae, normalizeStyle as oe, onBeforeUnmount as m, onMounted as se, openBlock as h, ref as g, renderList as _, toDisplayString as v, unref as ce, withCtx as y, withDirectives as le } from "vue";
|
package/dist/chunks/{component-HdPreSituation-KMOE4Mt_.mjs → component-HdPreSituation-D0KUf8I4.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
2
|
import { g as t, p as n } from "./component-Agent-DwXtdLhK.mjs";
|
|
3
|
-
import "./component-Forecast72h-
|
|
3
|
+
import "./component-Forecast72h-PgbN_y9N.mjs";
|
|
4
4
|
import { n as r } from "./component-HdFarmStationDialog-BHxuJEsh.mjs";
|
|
5
5
|
import { ElConfigProvider as i, ElDatePicker as a, ElIcon as ee, ElLoadingDirective as te, ElOption as ne, ElSelect as re, ElTable as ie, ElTableColumn as ae } from "element-plus/es";
|
|
6
6
|
import { Fragment as o, computed as s, createBlock as oe, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, getCurrentInstance as p, nextTick as m, normalizeClass as se, normalizeStyle as h, onBeforeUnmount as g, onMounted as _, openBlock as v, ref as y, renderList as b, toDisplayString as x, unref as S, watch as ce, withCtx as C, withDirectives as le } from "vue";
|
package/dist/chunks/{component-HdRadarList-Cx_cRpjb.mjs → component-HdRadarList-CspWsOEW.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as e } from "./component-Agent-DwXtdLhK.mjs";
|
|
2
|
-
import "./component-Forecast72h-
|
|
2
|
+
import "./component-Forecast72h-PgbN_y9N.mjs";
|
|
3
3
|
import { ElIcon as t } from "element-plus/es";
|
|
4
4
|
import { Fragment as n, computed as r, createElementBlock as i, createElementVNode as a, createVNode as o, defineComponent as s, getCurrentInstance as c, normalizeClass as l, onMounted as u, openBlock as d, ref as f, renderList as p, toDisplayString as m, unref as h, watch as g, withCtx as _ } from "vue";
|
|
5
5
|
import { EditPen as v } from "@element-plus/icons-vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as e, p as t } from "./component-Agent-DwXtdLhK.mjs";
|
|
2
|
-
import "./component-Forecast72h-
|
|
2
|
+
import "./component-Forecast72h-PgbN_y9N.mjs";
|
|
3
3
|
import { ElLoadingDirective as n } from "element-plus/es";
|
|
4
4
|
import { Fragment as r, Teleport as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, defineComponent as u, getCurrentInstance as d, nextTick as f, normalizeClass as p, onMounted as m, onUnmounted as h, openBlock as g, ref as _, renderList as ee, toDisplayString as v, vShow as y, watch as te, withDirectives as b, withModifiers as x } from "vue";
|
|
5
5
|
//#region src/components/HdRisk/HdRisk.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as e, p as t } from "./component-Agent-DwXtdLhK.mjs";
|
|
2
|
-
import "./component-Forecast72h-
|
|
2
|
+
import "./component-Forecast72h-PgbN_y9N.mjs";
|
|
3
3
|
import { ElIcon as n, ElInput as r, ElLoadingDirective as i, ElOption as ee, ElSelect as a, ElTable as o, ElTableColumn as s } from "element-plus/es";
|
|
4
4
|
import { Fragment as c, Teleport as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as h, defineComponent as g, getCurrentInstance as _, onMounted as v, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as C, withCtx as w, withDirectives as T, withKeys as te, withModifiers as ne } from "vue";
|
|
5
5
|
import { Search as re } from "@element-plus/icons-vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as e, p as t } from "./component-Agent-DwXtdLhK.mjs";
|
|
2
|
-
import "./component-Forecast72h-
|
|
2
|
+
import "./component-Forecast72h-PgbN_y9N.mjs";
|
|
3
3
|
import { Fragment as n, Teleport as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, defineComponent as l, getCurrentInstance as u, onMounted as d, openBlock as f, ref as p, renderList as ee, toDisplayString as m, withModifiers as h } from "vue";
|
|
4
4
|
//#region src/components/HdServiceRequirements/HdServiceRequirements.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var g = { class: "HdServiceRequirements" }, _ = { class: "HdServiceRequirements-header" }, v = { class: "HdServiceRequirements-headerContent" }, y = { class: "HdServiceRequirements-title" }, b = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as e, p as t } from "./component-Agent-DwXtdLhK.mjs";
|
|
2
|
-
import "./component-Forecast72h-
|
|
2
|
+
import "./component-Forecast72h-PgbN_y9N.mjs";
|
|
3
3
|
import { ElLoadingDirective as n, ElTable as r, ElTableColumn as i } from "element-plus/es";
|
|
4
4
|
import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, getCurrentInstance as p, normalizeClass as m, onBeforeUnmount as h, onMounted as g, openBlock as _, ref as v, renderList as y, toDisplayString as b, vModelCheckbox as x, vModelSelect as S, watch as C, withCtx as w, withDirectives as T } from "vue";
|
|
5
5
|
import "element-plus/dist/index.css";
|
package/dist/chunks/{component-HdStationTem-BCls8KKc.mjs → component-HdStationTem-Cb2YV_fB.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
2
|
import { g as t, p as n } from "./component-Agent-DwXtdLhK.mjs";
|
|
3
|
-
import "./component-Forecast72h-
|
|
3
|
+
import "./component-Forecast72h-PgbN_y9N.mjs";
|
|
4
4
|
import { n as r } from "./component-HdFarmStationDialog-BHxuJEsh.mjs";
|
|
5
5
|
import { ElCheckbox as i, ElIcon as a, ElLoadingDirective as o, ElTable as s, ElTableColumn as c } from "element-plus/es";
|
|
6
6
|
import { Fragment as l, computed as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as ee, createVNode as m, defineComponent as h, getCurrentInstance as g, nextTick as _, normalizeClass as v, normalizeStyle as te, onBeforeUnmount as ne, onMounted as re, openBlock as y, ref as b, renderList as ie, toDisplayString as x, unref as ae, watch as oe, withCtx as S, withDirectives as se, withModifiers as ce } from "vue";
|
package/dist/chunks/{component-HdSuggestion-BnGlQLfg.mjs → component-HdSuggestion-fajQUBiB.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as e, p as t } from "./component-Agent-DwXtdLhK.mjs";
|
|
2
|
-
import "./component-Forecast72h-
|
|
2
|
+
import "./component-Forecast72h-PgbN_y9N.mjs";
|
|
3
3
|
import { ElIcon as n, ElLoadingDirective as r } from "element-plus/es";
|
|
4
4
|
import { Fragment as i, Teleport as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, getCurrentInstance as p, onMounted as m, openBlock as h, ref as g, toDisplayString as _, unref as v, withCtx as y, withDirectives as ee, withModifiers as te } from "vue";
|
|
5
5
|
import { ArrowLeft as ne, ArrowRight as re } from "@element-plus/icons-vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as e, p as t } from "./component-Agent-DwXtdLhK.mjs";
|
|
2
|
-
import "./component-Forecast72h-
|
|
2
|
+
import "./component-Forecast72h-PgbN_y9N.mjs";
|
|
3
3
|
import { i as n, o as r, r as i } from "./component-HdFarmStationDialog-BHxuJEsh.mjs";
|
|
4
4
|
import { ElLoadingDirective as a, ElOption as o, ElSelect as s } from "element-plus/es";
|
|
5
5
|
import { Fragment as c, computed as l, createBlock as ee, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineComponent as te, getCurrentInstance as ne, normalizeClass 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";
|
package/dist/chunks/{component-HdWaveForcast-B-RPD_5H.mjs → component-HdWaveForcast-DRuTytq8.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as e, p as t } from "./component-Agent-DwXtdLhK.mjs";
|
|
2
|
-
import "./component-Forecast72h-
|
|
2
|
+
import "./component-Forecast72h-PgbN_y9N.mjs";
|
|
3
3
|
import { ElLoadingDirective as n } from "element-plus/es";
|
|
4
4
|
import { Fragment as r, computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, defineComponent as c, getCurrentInstance as l, normalizeClass as u, onMounted as d, onUnmounted as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, withDirectives as _ } from "vue";
|
|
5
5
|
import "element-plus/es/components/select/style/css";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./component-AqiMonitor-CiRH3KK9.mjs";
|
|
2
2
|
import { g as e, p as t } from "./component-Agent-DwXtdLhK.mjs";
|
|
3
|
-
import { A as n, C as r, D as i, E as ee, F as te, I as ne, M as re, N as ie, O as ae, P as oe, S as se, T as ce, _ as le, a as ue, b as de, c as fe, d as pe, f as me, g as he, h as ge, i as _e, j as ve, k as ye, l as be, m as xe, n as Se, o as Ce, p as we, r as Te, s as Ee, u as De, v as Oe, w as ke, x as Ae, y as je } from "./component-HdThreeWeatherTrend-
|
|
4
|
-
import { $ as a, A as o, B as s, C as c, D as l, E as u, F as d, G as f, H as p, I as m, J as h, K as g, L as _, M as v, N as y, O as b, P as x, Q as S, R as C, S as Me, T as w, U as T, V as E, W as D, X as O, Y as k, Z as A, j, k as M, q as N, w as P, x as F, z as I } from "./component-Forecast72h-
|
|
3
|
+
import { A as n, C as r, D as i, E as ee, F as te, I as ne, M as re, N as ie, O as ae, P as oe, S as se, T as ce, _ as le, a as ue, b as de, c as fe, d as pe, f as me, g as he, h as ge, i as _e, j as ve, k as ye, l as be, m as xe, n as Se, o as Ce, p as we, r as Te, s as Ee, u as De, v as Oe, w as ke, x as Ae, y as je } from "./component-HdThreeWeatherTrend-CeAHvlR3.mjs";
|
|
4
|
+
import { $ as a, A as o, B as s, C as c, D as l, E as u, F as d, G as f, H as p, I as m, J as h, K as g, L as _, M as v, N as y, O as b, P as x, Q as S, R as C, S as Me, T as w, U as T, V as E, W as D, X as O, Y as k, Z as A, j, k as M, q as N, w as P, x as F, z as I } from "./component-Forecast72h-PgbN_y9N.mjs";
|
|
5
5
|
import { r as Ne } from "./component-HdFarmStationDialog-BHxuJEsh.mjs";
|
|
6
6
|
import { ElLoadingDirective as Pe, ElOption as Fe, ElSelect as Ie } from "element-plus/es";
|
|
7
7
|
import { Fragment as L, createBlock as Le, createCommentVNode as R, createElementBlock as z, createElementVNode as B, createTextVNode as Re, createVNode as ze, defineComponent as V, isRef as Be, onBeforeUnmount as Ve, onMounted as He, openBlock as H, ref as U, renderList as W, toDisplayString as G, unref as K, withCtx as Ue, withDirectives as We } from "vue";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
2
|
import { g as t, p as n } from "./component-Agent-DwXtdLhK.mjs";
|
|
3
|
-
import "./component-Forecast72h-
|
|
3
|
+
import "./component-Forecast72h-PgbN_y9N.mjs";
|
|
4
4
|
import { n as r } from "./component-HdFarmStationDialog-BHxuJEsh.mjs";
|
|
5
5
|
import { ElConfigProvider as i, ElDatePicker as a, ElIcon as o, ElLoadingDirective as s, ElTable as c, ElTableColumn as ee } from "element-plus/es";
|
|
6
6
|
import { Fragment as l, computed as u, createBlock as te, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as ne, createVNode as m, defineComponent as h, getCurrentInstance as g, nextTick as _, normalizeClass as v, onBeforeUnmount as re, onMounted as ie, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as C, withCtx as w, withDirectives as ae, withModifiers as oe } from "vue";
|
package/dist/chunks/{component-StationDialog-_pkrpDnI.mjs → component-StationDialog-B-6V3oc5.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
2
|
import { g as t, p as n } from "./component-Agent-DwXtdLhK.mjs";
|
|
3
|
-
import { _ as r, a as i, c as a, d as o, f as s, g as c, h as ee, i as te, l as ne, m as re, n as ie, o as ae, p as oe, r as se, s as ce, u as le, v as ue, y as de } from "./component-Forecast72h-
|
|
3
|
+
import { _ as r, a as i, c as a, d as o, f as s, g as c, h as ee, i as te, l as ne, m as re, n as ie, o as ae, p as oe, r as se, s as ce, u as le, v as ue, y as de } from "./component-Forecast72h-PgbN_y9N.mjs";
|
|
4
4
|
import { i as l, n as u } from "./component-HdFarmStationDialog-BHxuJEsh.mjs";
|
|
5
5
|
import { ElConfigProvider as fe, ElDatePicker as pe, ElIcon as me, ElLoadingDirective as he, ElTable as ge, ElTableColumn as _e } from "element-plus/es";
|
|
6
6
|
import { Fragment as d, Teleport as ve, createBlock as ye, createCommentVNode as be, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, getCurrentInstance as xe, nextTick as _, normalizeClass as v, normalizeStyle as Se, onBeforeUnmount as Ce, onMounted as we, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as C, vShow as Te, watch as Ee, withCtx as w, withDirectives as De } from "vue";
|
package/dist/chunks/{component-StationList-D4XTo6r2.mjs → component-StationList-qtk1j-fG.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
2
|
import { g as t, p as n } from "./component-Agent-DwXtdLhK.mjs";
|
|
3
|
-
import "./component-Forecast72h-
|
|
3
|
+
import "./component-Forecast72h-PgbN_y9N.mjs";
|
|
4
4
|
import { i as r, n as i } from "./component-HdFarmStationDialog-BHxuJEsh.mjs";
|
|
5
5
|
import { ElConfigProvider as a, ElDatePicker as o, ElIcon as s, ElLoadingDirective as c, ElTable as l, ElTableColumn as u } from "element-plus/es";
|
|
6
6
|
import { computed as d, createCommentVNode as f, createElementBlock as p, createElementVNode 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";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./component-AqiMonitor-CiRH3KK9.mjs";
|
|
2
2
|
import { g as e, p as t } from "./component-Agent-DwXtdLhK.mjs";
|
|
3
|
-
import { $ as n, A as r, B as i, C as ee, D as a, E as o, F as s, G as c, H as l, I as u, J as d, K as f, L as p, M as m, N as te, O as ne, P as re, Q as ie, R as ae, S as oe, T as se, U as ce, V as le, W as ue, X as h, Y as g, Z as _, j as de, k as fe, q as pe, w as me, x as he, z as ge } from "./component-Forecast72h-
|
|
3
|
+
import { $ as n, A as r, B as i, C as ee, D as a, E as o, F as s, G as c, H as l, I as u, J as d, K as f, L as p, M as m, N as te, O as ne, P as re, Q as ie, R as ae, S as oe, T as se, U as ce, V as le, W as ue, X as h, Y as g, Z as _, j as de, k as fe, q as pe, w as me, x as he, z as ge } from "./component-Forecast72h-PgbN_y9N.mjs";
|
|
4
4
|
import { n as v } from "./component-LithiumBatteryMiningArea-BDFvxMfk.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";
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
import "./component-AqiMonitor-CiRH3KK9.mjs";
|
|
2
|
+
import { g as e, p as t } from "./component-Agent-DwXtdLhK.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 ee, J as te, K as ne, L as re, M as ie, N as d, O as f, P as p, Q as m, R as h, S as g, T as _, U as ae, V as oe, W as se, X as ce, Y as le, Z as ue, j as de, k as v, q as y, w as b, x, z as S } from "./component-Forecast72h-PgbN_y9N.mjs";
|
|
4
|
+
import { n as C } from "./component-LithiumBatteryMiningArea-BDFvxMfk.mjs";
|
|
5
|
+
import { ElLoadingDirective as w } from "element-plus/es";
|
|
6
|
+
import { Fragment as T, createCommentVNode as E, createElementBlock as D, createElementVNode as O, defineComponent as k, getCurrentInstance as A, normalizeClass as j, onMounted as M, openBlock as N, ref as P, renderList as F, toDisplayString as I, vShow as L, withDirectives as R } from "vue";
|
|
7
|
+
import "element-plus/es/components/loading/style/css";
|
|
8
|
+
//#region src/components/WeatherForecast/WeatherForecast.vue?vue&type=script&setup=true&lang.ts
|
|
9
|
+
var z = {
|
|
10
|
+
class: "WeatherForecast",
|
|
11
|
+
"element-loading-background": "rgba(0, 0, 0, 0.4)"
|
|
12
|
+
}, B = { class: "WeatherForecast__head" }, fe = { class: "WeatherForecast__head-top" }, V = { class: "WeatherForecast__body" }, pe = {
|
|
13
|
+
key: 0,
|
|
14
|
+
class: "WeatherForecast__area-select"
|
|
15
|
+
}, me = { style: {
|
|
16
|
+
display: "flex",
|
|
17
|
+
"align-items": "center"
|
|
18
|
+
} }, he = { class: "WeatherForecast__dropdown-wrapper" }, ge = { class: "WeatherForecast__area-panel" }, _e = ["onClick"], ve = { class: "WeatherForecast__wrap" }, ye = ["src", "alt"], H = /* @__PURE__ */ t(/* @__PURE__ */ k({
|
|
19
|
+
__name: "WeatherForecast",
|
|
20
|
+
props: {
|
|
21
|
+
appKey: {
|
|
22
|
+
type: String,
|
|
23
|
+
default: ""
|
|
24
|
+
},
|
|
25
|
+
appSalt: {
|
|
26
|
+
type: String,
|
|
27
|
+
default: ""
|
|
28
|
+
},
|
|
29
|
+
baseHttp: {
|
|
30
|
+
type: String,
|
|
31
|
+
default: ""
|
|
32
|
+
},
|
|
33
|
+
ids: {
|
|
34
|
+
type: Object,
|
|
35
|
+
default: () => ({})
|
|
36
|
+
},
|
|
37
|
+
title: {
|
|
38
|
+
type: String,
|
|
39
|
+
default: "天气预报"
|
|
40
|
+
},
|
|
41
|
+
showStationList: {
|
|
42
|
+
type: Boolean,
|
|
43
|
+
default: !1
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
emits: ["close"],
|
|
47
|
+
setup(t, { emit: k }) {
|
|
48
|
+
let H = A()?.appContext.config.globalProperties.$bus, U = t, W = k, G = P(!1), K = P([]), q = P({}), J = P([]), Y = P({}), X = P(!1);
|
|
49
|
+
M(() => {
|
|
50
|
+
H?.on("toComponent", async (e) => {
|
|
51
|
+
if (e.componentName === "WeatherForecast") {
|
|
52
|
+
let t = e?.payload?.stationId;
|
|
53
|
+
if (t && U.showStationList) {
|
|
54
|
+
J.value.length || await Q();
|
|
55
|
+
let e = J.value.find((e) => String(e.stationid) === String(t));
|
|
56
|
+
if (e) {
|
|
57
|
+
Y.value = e, G.value = !0, await $();
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
q.value = e.data, Z();
|
|
62
|
+
}
|
|
63
|
+
}), U.showStationList && Z();
|
|
64
|
+
}), document.addEventListener("click", (e) => {
|
|
65
|
+
e.target.closest(".WeatherForecast__area-select") || (X.value = !1);
|
|
66
|
+
});
|
|
67
|
+
let Z = async () => {
|
|
68
|
+
U.showStationList && await Q(), await $();
|
|
69
|
+
}, Q = async () => {
|
|
70
|
+
J.value = (await e({
|
|
71
|
+
appKey: U.appKey,
|
|
72
|
+
appSalt: U.appSalt,
|
|
73
|
+
id: U.ids.station.id,
|
|
74
|
+
variables: {},
|
|
75
|
+
baseHttp: U.baseHttp,
|
|
76
|
+
reqType: U.ids.station.reqType,
|
|
77
|
+
isFormData: U.ids.station.isFormData
|
|
78
|
+
})).data?.result?.output || [], J.value.length > 0 && (Y.value = J.value[0]), console.log("stationList.value", J.value);
|
|
79
|
+
}, be = () => {
|
|
80
|
+
W("close", "WeatherForecast");
|
|
81
|
+
}, xe = () => {
|
|
82
|
+
X.value = !X.value;
|
|
83
|
+
}, Se = async (e) => {
|
|
84
|
+
X.value = !1, Y.value?.stationid !== e.stationid && (Y.value = e, G.value = !0, await $());
|
|
85
|
+
}, $ = async () => {
|
|
86
|
+
G.value = !0;
|
|
87
|
+
let t = {};
|
|
88
|
+
if (U.showStationList) t = {
|
|
89
|
+
stationid: Y.value?.stationid || "58606",
|
|
90
|
+
days: 7,
|
|
91
|
+
includeToday: 1
|
|
92
|
+
};
|
|
93
|
+
else {
|
|
94
|
+
let e = {
|
|
95
|
+
lon: q.value.longitude,
|
|
96
|
+
lat: q.value.latitude,
|
|
97
|
+
hours: 168
|
|
98
|
+
};
|
|
99
|
+
t = { str: C.encode(JSON.stringify(e)) };
|
|
100
|
+
}
|
|
101
|
+
let w = await e({
|
|
102
|
+
appKey: U.appKey,
|
|
103
|
+
appSalt: U.appSalt,
|
|
104
|
+
id: U.ids.data.id,
|
|
105
|
+
variables: t,
|
|
106
|
+
baseHttp: U.baseHttp,
|
|
107
|
+
reqType: U.ids.data.reqType,
|
|
108
|
+
isFormData: U.ids.data.isFormData
|
|
109
|
+
});
|
|
110
|
+
G.value = !1;
|
|
111
|
+
let T = U.showStationList ? JSON.parse(w.data?.result?.output || "{}") || [] : w.data?.result?.output;
|
|
112
|
+
if (!T) {
|
|
113
|
+
console.warn("天气预报接口返回为空", w), K.value = [];
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
console.log("output", T), U.showStationList && (T = T.data.days);
|
|
117
|
+
let E = typeof T == "string" ? JSON.parse(T) : T, D = U.showStationList ? E : E.ds;
|
|
118
|
+
if (!Array.isArray(D) || D.length === 0) {
|
|
119
|
+
K.value = [];
|
|
120
|
+
return;
|
|
121
|
+
}
|
|
122
|
+
let O = U.showStationList, k = [
|
|
123
|
+
"日",
|
|
124
|
+
"一",
|
|
125
|
+
"二",
|
|
126
|
+
"三",
|
|
127
|
+
"四",
|
|
128
|
+
"五",
|
|
129
|
+
"六"
|
|
130
|
+
];
|
|
131
|
+
K.value = D.map((e, t) => {
|
|
132
|
+
let C = O ? new Date(e.f_time.replace(/\//g, "-")) : new Date(e.observation_time.replace(/\//g, "-"));
|
|
133
|
+
O || C.setDate(C.getDate() + t);
|
|
134
|
+
let w = `${C.getMonth() + 1}`.padStart(2, "0"), T = `${C.getDate()}`.padStart(2, "0"), E = O ? e.eda10_max : e.wind_speedinfo;
|
|
135
|
+
return {
|
|
136
|
+
...e,
|
|
137
|
+
_date: `${w}-${T}`,
|
|
138
|
+
_week: `周${k[C.getDay()]}`,
|
|
139
|
+
_icon: new URL((/* @__PURE__ */ Object.assign({
|
|
140
|
+
"../../assets/img/weatherIcon/0.gif": n,
|
|
141
|
+
"../../assets/img/weatherIcon/1.gif": m,
|
|
142
|
+
"../../assets/img/weatherIcon/10.gif": ue,
|
|
143
|
+
"../../assets/img/weatherIcon/11.gif": ce,
|
|
144
|
+
"../../assets/img/weatherIcon/12.gif": le,
|
|
145
|
+
"../../assets/img/weatherIcon/13.gif": te,
|
|
146
|
+
"../../assets/img/weatherIcon/14.gif": y,
|
|
147
|
+
"../../assets/img/weatherIcon/15.gif": ne,
|
|
148
|
+
"../../assets/img/weatherIcon/16.gif": l,
|
|
149
|
+
"../../assets/img/weatherIcon/17.gif": se,
|
|
150
|
+
"../../assets/img/weatherIcon/18.gif": ae,
|
|
151
|
+
"../../assets/img/weatherIcon/19.gif": u,
|
|
152
|
+
"../../assets/img/weatherIcon/2.gif": oe,
|
|
153
|
+
"../../assets/img/weatherIcon/20.gif": i,
|
|
154
|
+
"../../assets/img/weatherIcon/21.gif": S,
|
|
155
|
+
"../../assets/img/weatherIcon/22.gif": h,
|
|
156
|
+
"../../assets/img/weatherIcon/23.gif": re,
|
|
157
|
+
"../../assets/img/weatherIcon/24.gif": ee,
|
|
158
|
+
"../../assets/img/weatherIcon/25.gif": c,
|
|
159
|
+
"../../assets/img/weatherIcon/26.gif": p,
|
|
160
|
+
"../../assets/img/weatherIcon/27.gif": d,
|
|
161
|
+
"../../assets/img/weatherIcon/28.gif": ie,
|
|
162
|
+
"../../assets/img/weatherIcon/29.gif": de,
|
|
163
|
+
"../../assets/img/weatherIcon/3.gif": r,
|
|
164
|
+
"../../assets/img/weatherIcon/30.gif": v,
|
|
165
|
+
"../../assets/img/weatherIcon/31.gif": f,
|
|
166
|
+
"../../assets/img/weatherIcon/4.gif": o,
|
|
167
|
+
"../../assets/img/weatherIcon/5.gif": s,
|
|
168
|
+
"../../assets/img/weatherIcon/53.gif": _,
|
|
169
|
+
"../../assets/img/weatherIcon/6.gif": b,
|
|
170
|
+
"../../assets/img/weatherIcon/7.gif": a,
|
|
171
|
+
"../../assets/img/weatherIcon/8.gif": g,
|
|
172
|
+
"../../assets/img/weatherIcon/9.gif": x
|
|
173
|
+
}))[`../../assets/img/weatherIcon/${O ? e.wp : e.weatherPhenomenon}.gif`], import.meta.url).href,
|
|
174
|
+
_key: O ? `${e.f_time}-${t}` : `${e.observation_time}-${e.hour}`,
|
|
175
|
+
weather: O ? e.weatherPhenomenon : e.weather,
|
|
176
|
+
temp_low: O ? e.tmp_min : e.temp_low,
|
|
177
|
+
temp_high: O ? e.tmp_max : e.temp_high,
|
|
178
|
+
wind_directinfo: O ? e.eda10_dir_max : e.wind_directinfo,
|
|
179
|
+
_windSpeed: E == null || Number(E) < 3 ? "<3级" : O ? E : `${E}级`
|
|
180
|
+
};
|
|
181
|
+
});
|
|
182
|
+
};
|
|
183
|
+
return (e, n) => {
|
|
184
|
+
let r = w;
|
|
185
|
+
return R((N(), D("div", z, [O("div", B, [O("div", fe, [O("div", null, I(t.title), 1), O("div", {
|
|
186
|
+
class: "closeBtn",
|
|
187
|
+
onClick: be,
|
|
188
|
+
title: "关闭"
|
|
189
|
+
})]), n[0] ||= O("img", {
|
|
190
|
+
class: "WeatherForecast__head-line",
|
|
191
|
+
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",
|
|
192
|
+
alt: ""
|
|
193
|
+
}, null, -1)]), O("div", V, [U.showStationList ? (N(), D("div", pe, [O("div", me, [n[1] ||= O("label", { style: { "font-size": "12px" } }, "站点选择:", -1), O("div", he, [O("div", {
|
|
194
|
+
class: "WeatherForecast__area-trigger",
|
|
195
|
+
onClick: xe
|
|
196
|
+
}, [O("span", null, I(Y.value?.stationname2 || Y.value?.stationname || "选择站点"), 1), O("span", { class: j(["WeatherForecast__arrow", { "is-open": X.value }]) }, "▼", 2)]), R(O("div", ge, [(N(!0), D(T, null, F(J.value, (e, t) => (N(), D("div", {
|
|
197
|
+
key: t,
|
|
198
|
+
class: j(["WeatherForecast__area-item", { "is-selected": Y.value?.stationid === e.stationid }]),
|
|
199
|
+
onClick: (t) => Se(e)
|
|
200
|
+
}, I(e.stationname2 || e.stationname), 11, _e))), 128))], 512), [[L, X.value]])])])])) : E("", !0), O("div", ve, [(N(!0), D(T, null, F(K.value, (e) => (N(), D("div", {
|
|
201
|
+
class: "WeatherForecast__item",
|
|
202
|
+
key: e._key
|
|
203
|
+
}, [
|
|
204
|
+
O("div", null, I(e._date), 1),
|
|
205
|
+
O("div", null, I(e._week), 1),
|
|
206
|
+
O("img", {
|
|
207
|
+
src: e._icon,
|
|
208
|
+
alt: e.weather
|
|
209
|
+
}, null, 8, ye),
|
|
210
|
+
O("div", null, I(e.weather), 1),
|
|
211
|
+
O("div", null, I(e.temp_low) + "~" + I(e.temp_high) + "℃", 1),
|
|
212
|
+
O("div", null, I(e.wind_directinfo), 1),
|
|
213
|
+
O("div", null, I(e._windSpeed), 1)
|
|
214
|
+
]))), 128))])])])), [[r, G.value]]);
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
}), [["__scopeId", "data-v-b337929d"]]);
|
|
218
|
+
//#endregion
|
|
219
|
+
export { H as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as e, p as t } from "./component-Agent-DwXtdLhK.mjs";
|
|
2
|
-
import "./component-Forecast72h-
|
|
2
|
+
import "./component-Forecast72h-PgbN_y9N.mjs";
|
|
3
3
|
import { n } from "./component-AiChat-Cj1xCAtL.mjs";
|
|
4
4
|
import { n as r } from "./component-LithiumBatteryMiningArea-BDFvxMfk.mjs";
|
|
5
5
|
import { ElButton as i, ElDialog as ee, ElForm as te, ElFormItem as ne, ElIcon as re, ElInput as ie } from "element-plus/es";
|