nxd-plugin 1.8.2 → 1.8.4
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-DyGeXDp6.mjs +27410 -0
- package/dist/chunks/{component-AqiMonitor-DWhSDKFM.mjs → component-AqiMonitor-BxilaCJG.mjs} +1 -1
- package/dist/chunks/{component-ChartCumulativePre-CYVahvTN.mjs → component-ChartCumulativePre-CJSu7-IX.mjs} +2 -2
- package/dist/chunks/{component-ChartServiceMaterial-CbiB7503.mjs → component-ChartServiceMaterial-BC7I3NLo.mjs} +2 -2
- package/dist/chunks/{component-Duty-CxH58EY9.mjs → component-Duty-1ijuui39.mjs} +2 -2
- package/dist/chunks/{component-EarlyWarningStatistic-BsgcJent.mjs → component-EarlyWarningStatistic-D9L9hmlf.mjs} +2 -2
- package/dist/chunks/{component-EarlyWarningStatistic2-CEnr2SX2.mjs → component-EarlyWarningStatistic2-B-s2LQkZ.mjs} +2 -2
- package/dist/chunks/{component-Forecast72h-6g0PcT0B.mjs → component-Forecast72h-D-A-aWZk.mjs} +2 -2
- package/dist/chunks/{component-GeologyLiveAlarm-CzEt43gy.mjs → component-GeologyLiveAlarm-C2pBNUoR.mjs} +2 -2
- package/dist/chunks/{component-GridForecastMsg-CwRQve29.mjs → component-GridForecastMsg-DPq-a2nL.mjs} +2 -2
- package/dist/chunks/{component-HDSeaLegend-B2xekirw.mjs → component-HDSeaLegend-DEKws0Gd.mjs} +1 -1
- package/dist/chunks/{component-HdCameraList-CEOhupnQ.mjs → component-HdCameraList-BBszhKr0.mjs} +3 -3
- package/dist/chunks/{component-HdForecastProducts-DaeNeMiI.mjs → component-HdForecastProducts-Cbigiiwa.mjs} +2 -2
- package/dist/chunks/{component-HdHeatChart-DiG-hplN.mjs → component-HdHeatChart-DW4arHLw.mjs} +2 -2
- package/dist/chunks/{component-HdHeatChartDialog-C1tPPcVw.mjs → component-HdHeatChartDialog-USiSRSMe.mjs} +92 -254
- package/dist/chunks/{component-HdHeatService-UxyMUQp4.mjs → component-HdHeatService-BPT0iubG.mjs} +2 -2
- package/dist/chunks/{component-HdInsectDetailList-BiVgf4Nc.mjs → component-HdInsectDetailList-DOJaoWeh.mjs} +2 -2
- package/dist/chunks/{component-HdInsectList-CToVsJiF.mjs → component-HdInsectList-CJiMh4j4.mjs} +2 -2
- package/dist/chunks/{component-HdObservation-BV5jDCZt.mjs → component-HdObservation-BIwBZJH9.mjs} +3 -3
- package/dist/chunks/{component-HdPreSituation-DY4j43V7.mjs → component-HdPreSituation-Bix50Xsn.mjs} +4 -4
- package/dist/chunks/{component-HdQxServiceEffects-DM-KlAru.mjs → component-HdQxServiceEffects-BbeKIPEB.mjs} +2 -2
- package/dist/chunks/{component-HdRadarList-BdXRt42m.mjs → component-HdRadarList-DYI5GXA_.mjs} +3 -3
- package/dist/chunks/{component-HdRadarTime-OAbsHPlS.mjs → component-HdRadarTime-DosCRzve.mjs} +2 -2
- package/dist/chunks/{component-HdRisk-tQq0onmA.mjs → component-HdRisk-usH772yV.mjs} +3 -3
- package/dist/chunks/{component-HdSeaCase-DoWAhrNy.mjs → component-HdSeaCase-BYLCPKhO.mjs} +2 -2
- package/dist/chunks/{component-HdServiceMarterial-nCfTCfyI.mjs → component-HdServiceMarterial-DAyLKSEo.mjs} +3 -3
- package/dist/chunks/{component-HdServiceRequirements-S9zSof01.mjs → component-HdServiceRequirements-Djz32C_I.mjs} +50 -44
- package/dist/chunks/{component-HdSoil-tr6IWswf.mjs → component-HdSoil-d8iuo-U1.mjs} +3 -3
- package/dist/chunks/{component-HdSoilDetailList-DG-TzCl0.mjs → component-HdSoilDetailList-BKaO_vxM.mjs} +2 -2
- package/dist/chunks/{component-HdStationTem-DrPBR7fV.mjs → component-HdStationTem-CAWN_NMe.mjs} +4 -4
- package/dist/chunks/{component-HdSuggestion-DQO0InyO.mjs → component-HdSuggestion-8tbv0sgf.mjs} +3 -3
- package/dist/chunks/{component-HdThreeWeatherTrend-CElSAKJs.mjs → component-HdThreeWeatherTrend-7HS9wOgY.mjs} +3 -3
- package/dist/chunks/{component-HdWaveForcast-D3Hm8Dg3.mjs → component-HdWaveForcast-DA15xKCu.mjs} +3 -3
- package/dist/chunks/{component-HighQuality-C_W_iOrU.mjs → component-HighQuality-BKDWtgqU.mjs} +2 -2
- package/dist/chunks/{component-HighWayEarlyWarningRed-D5iSGN5l.mjs → component-HighWayEarlyWarningRed-DMwkpRV1.mjs} +2 -2
- package/dist/chunks/{component-HighWayFreeze-B9v5Z9Yd.mjs → component-HighWayFreeze-DXR0Dl1h.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarm-DjcOZUJv.mjs → component-HighwayLiveAlarm-BeaRh64w.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarmNew-C35RKvL1.mjs → component-HighwayLiveAlarmNew-BIOPh7hF.mjs} +3 -3
- package/dist/chunks/{component-HighwayStations-U_rU4hJi.mjs → component-HighwayStations-BbdfMcrr.mjs} +2 -2
- package/dist/chunks/{component-HighwayWeatherForecast-BD547juJ.mjs → component-HighwayWeatherForecast-D_XAhBIc.mjs} +4 -4
- package/dist/chunks/{component-IframeWeb-DMn6K9zk.mjs → component-IframeWeb-BjPYRDza.mjs} +1 -1
- package/dist/chunks/{component-ImageGeneration-BFSnXOdZ.mjs → component-ImageGeneration-BnOzqtSy.mjs} +1 -1
- package/dist/chunks/{component-IntroducePic-BmvED_mB.mjs → component-IntroducePic-C75GFHgQ.mjs} +2 -2
- package/dist/chunks/{component-LithiumBatteryMiningArea-BM_8uVPy.mjs → component-LithiumBatteryMiningArea-DZdiUN48.mjs} +2 -2
- package/dist/chunks/{component-MapPopup-CRQjbIZT.mjs → component-MapPopup-BI3nxxum.mjs} +1 -1
- package/dist/chunks/{component-MaterialPreview-Dmg4LG8h.mjs → component-MaterialPreview-DNkzRVZB.mjs} +2 -2
- package/dist/chunks/{component-PieLegend-B90e9FMW.mjs → component-PieLegend-B2bkRXSZ.mjs} +1 -1
- package/dist/chunks/{component-PrecipitationRanking-BamBChop.mjs → component-PrecipitationRanking-Zv4h2H1N.mjs} +7 -6
- package/dist/chunks/{component-RadarChart-DrQnSK2_.mjs → component-RadarChart-D6zc6dRs.mjs} +2 -2
- package/dist/chunks/{component-RadarLegend-UaQXwEdl.mjs → component-RadarLegend-zbFegJsn.mjs} +1 -1
- package/dist/chunks/{component-RadarShortTerm-B6DiXwjj.mjs → component-RadarShortTerm-SwEIgefx.mjs} +4 -4
- package/dist/chunks/{component-RadarTime-CrWj-oVD.mjs → component-RadarTime-C4yW4J22.mjs} +2 -2
- package/dist/chunks/{component-RenderMarkdown-CSoLEsFv.mjs → component-RenderMarkdown-CUTbYjK6.mjs} +2 -2
- package/dist/chunks/{component-ReservoirLiveAlarm-CJUDC3QW.mjs → component-ReservoirLiveAlarm-Del2dBZM.mjs} +3 -3
- package/dist/chunks/{component-ServiceMaterial-DR7imvMZ.mjs → component-ServiceMaterial-CRj875Fq.mjs} +2 -2
- package/dist/chunks/{component-ServiceMaterialsBtn-BWxBKKWn.mjs → component-ServiceMaterialsBtn-Cc-qT-uz.mjs} +1 -1
- package/dist/chunks/{component-StationDialog-2KObsuJ8.mjs → component-StationDialog-DwUteUNN.mjs} +4 -4
- package/dist/chunks/{component-StationList-CJ7XHlZl.mjs → component-StationList-BRNXKRdf.mjs} +5 -5
- package/dist/chunks/{component-TimeBasedForecast-B2ewC_QX.mjs → component-TimeBasedForecast-Dwo-HmHU.mjs} +4 -4
- package/dist/chunks/{component-Typhoon-BQQCoEbU.mjs → component-Typhoon-CDM4ZJoA.mjs} +2 -2
- package/dist/chunks/{component-WarningLine-9Y5OJRig.mjs → component-WarningLine-86Jg4WD3.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-uXiAUGTl.mjs → component-WarningSignal-DCXcbM6k.mjs} +3 -3
- package/dist/chunks/{component-WeatherForecast-BIeLjzMw.mjs → component-WeatherForecast-BGoTdp9n.mjs} +4 -4
- package/dist/chunks/{component-YCDataMonitor-D8jFTVaA.mjs → component-YCDataMonitor-CIMX0amW.mjs} +2 -2
- package/dist/chunks/{component-YCDataService--R26h5UL.mjs → component-YCDataService-BiA80BlY.mjs} +4 -4
- package/dist/chunks/{component-YCHighWaySummary-CeYp4g4j.mjs → component-YCHighWaySummary-BHo3r0GR.mjs} +2 -2
- package/dist/chunks/component-YCHome-CXUBslup.mjs +540 -0
- package/dist/chunks/{component-YCHomeLegend-DiFftuY3.mjs → component-YCHomeLegend-u14RoKpv.mjs} +1 -1
- package/dist/chunks/{component-YCLoginNew-CFJSyKfV.mjs → component-YCLoginNew-BysGlRgN.mjs} +7 -7
- package/dist/components/AiChat/AiChat.vue.d.ts +136 -51
- package/dist/components/AiChat/types.d.ts +0 -12
- package/dist/components/HdHeatChartDialog/HdHeatChartDialog.vue.d.ts +0 -25
- package/dist/components/StationDialog/StationDialog.vue.d.ts +1 -1
- package/dist/nxd-plugin.mjs +70 -70
- package/dist/styles/component-AiChat.css +1 -1
- package/dist/styles/component-HdHeatChart.css +1 -1
- package/dist/styles/component-HdHeatChartDialog.css +1 -1
- package/dist/styles/component-HdServiceRequirements.css +1 -1
- package/dist/styles/component-PrecipitationRanking.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/package.json +1 -1
- package/dist/assets/dataJson/AiChatMock.json.d.ts +0 -509
- package/dist/chunks/component-AiChat-B2YoRfzz.mjs +0 -27514
- package/dist/chunks/component-YCHome-DQSDzxCG.mjs +0 -540
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as e } from "./component-AiChat-DyGeXDp6.mjs";
|
|
2
2
|
import { ElLoadingDirective as t } from "element-plus/es";
|
|
3
3
|
import { Fragment as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createStaticVNode as o, defineComponent as s, getCurrentInstance as c, onMounted as l, openBlock as u, ref as d, renderList as f, toDisplayString as p, vModelRadio as m, withDirectives as h } from "vue";
|
|
4
4
|
//#region src/assets/img/head.png
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BxilaCJG.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DyGeXDp6.mjs";
|
|
3
3
|
import { ElLoadingDirective as n, ElOption as r, ElSelect as i } from "element-plus/es";
|
|
4
4
|
import { Fragment as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, onBeforeUnmount as d, onMounted as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, unref as _, withCtx as v, withDirectives as y } from "vue";
|
|
5
5
|
import * as b from "echarts";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BxilaCJG.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DyGeXDp6.mjs";
|
|
3
3
|
import { ElLoadingDirective as n, ElOption as r, ElSelect as i } from "element-plus/es";
|
|
4
4
|
import { Fragment as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, onBeforeUnmount as d, onMounted as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, withCtx as _, withDirectives as v } from "vue";
|
|
5
5
|
import * as y from "echarts";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BxilaCJG.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DyGeXDp6.mjs";
|
|
3
3
|
import { createCommentVNode as n, createElementBlock as r, createElementVNode as i, createStaticVNode as a, createTextVNode as o, defineComponent as s, onBeforeUnmount as c, onMounted as l, openBlock as u, ref as d, toDisplayString as f } from "vue";
|
|
4
4
|
//#region src/components/Duty/Duty.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var p = { class: "Duty" }, m = { class: "duty-section" }, h = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BxilaCJG.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DyGeXDp6.mjs";
|
|
3
3
|
import { ElLoadingDirective as n, ElOption as r, ElSelect as i } from "element-plus/es";
|
|
4
4
|
import { Fragment as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, onBeforeUnmount as d, onMounted as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, withCtx as _, withDirectives as v } from "vue";
|
|
5
5
|
import * as y from "echarts";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BxilaCJG.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DyGeXDp6.mjs";
|
|
3
3
|
import { ElLoadingDirective as n } from "element-plus/es";
|
|
4
4
|
import { Fragment as r, computed as i, createElementBlock as a, createElementVNode as o, defineComponent as s, nextTick as c, normalizeStyle as l, onBeforeUnmount as u, onMounted as d, openBlock as f, ref as p, renderList as m, toDisplayString as h, vShow as g, withDirectives as _ } from "vue";
|
|
5
5
|
import "element-plus/es/components/loading/style/css";
|
package/dist/chunks/{component-Forecast72h-6g0PcT0B.mjs → component-Forecast72h-D-A-aWZk.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BxilaCJG.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DyGeXDp6.mjs";
|
|
3
3
|
import { ElLoadingDirective as n, ElOption as r, ElSelect as i } from "element-plus/es";
|
|
4
4
|
import { Fragment as a, createBlock as o, createCommentVNode as ee, createElementBlock as s, createElementVNode as c, createStaticVNode as te, createVNode as ne, defineComponent as l, getCurrentInstance as u, nextTick as d, normalizeClass as re, onBeforeUnmount as ie, onMounted as ae, onUnmounted as oe, openBlock as f, ref as p, renderList as m, toDisplayString as h, withCtx as se, withDirectives as ce } from "vue";
|
|
5
5
|
import * as g from "echarts";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BxilaCJG.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DyGeXDp6.mjs";
|
|
3
3
|
import { ElIcon as n, ElLoadingDirective as r, ElRadio as i, ElRadioGroup as a } from "element-plus/es";
|
|
4
4
|
import { Fragment as o, computed as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, mergeProps as ee, nextTick as m, normalizeClass as h, normalizeStyle as te, onBeforeUnmount as g, onMounted as ne, openBlock as _, ref as v, renderList as y, toDisplayString as b, unref as x, vShow as S, withCtx as C, withDirectives as w } from "vue";
|
|
5
5
|
import { ArrowRight as T } from "@element-plus/icons-vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BxilaCJG.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DyGeXDp6.mjs";
|
|
3
3
|
import { ElCheckbox as n, ElInput as r, ElLoadingDirective as i } from "element-plus/es";
|
|
4
4
|
import { Fragment as a, computed as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, getCurrentInstance as d, normalizeStyle as f, onBeforeUnmount as p, onMounted as m, openBlock as h, ref as g, renderList as _, toDisplayString as v, vShow as y, withCtx as b, withDirectives as x, withModifiers as S } from "vue";
|
|
5
5
|
import "element-plus/es/components/loading/style/css";
|
package/dist/chunks/{component-HDSeaLegend-B2xekirw.mjs → component-HDSeaLegend-DEKws0Gd.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BxilaCJG.mjs";
|
|
2
2
|
import { createElementBlock as t, createElementVNode as n, createStaticVNode as r, defineComponent as i, openBlock as a } from "vue";
|
|
3
3
|
//#endregion
|
|
4
4
|
//#region src/components/HDSeaLegend/HDSeaLegend.vue?vue&type=script&setup=true&lang.ts
|
package/dist/chunks/{component-HdCameraList-CEOhupnQ.mjs → component-HdCameraList-BBszhKr0.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
3
|
-
import "./component-Forecast72h-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BxilaCJG.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DyGeXDp6.mjs";
|
|
3
|
+
import "./component-Forecast72h-D-A-aWZk.mjs";
|
|
4
4
|
import { Fragment as n, Teleport as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as ee, defineComponent as l, getCurrentInstance as te, onMounted as u, onUnmounted as d, openBlock as f, ref as p, renderList as m, toDisplayString as h, unref as g, vModelCheckbox as ne, vModelText as re, watch as ie, withCtx as ae, withDirectives as _, withKeys as oe, withModifiers as se } from "vue";
|
|
5
5
|
import "element-plus/es/components/select/style/css";
|
|
6
6
|
import "element-plus/es/components/option/style/css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BxilaCJG.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DyGeXDp6.mjs";
|
|
3
3
|
import { ElIcon as n } from "element-plus/es";
|
|
4
4
|
import { Fragment as r, Teleport as i, computed as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, getCurrentInstance as ee, normalizeClass as d, onMounted as f, onUnmounted as p, openBlock as m, ref as h, renderList as g, toDisplayString as _, unref as v, vModelText as y, watch as b, withCtx as x, withDirectives as S } from "vue";
|
|
5
5
|
import { ArrowLeft as C, ArrowRight as te, VideoPause as ne, VideoPlay as re } from "@element-plus/icons-vue";
|
package/dist/chunks/{component-HdHeatChart-DiG-hplN.mjs → component-HdHeatChart-DW4arHLw.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BxilaCJG.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DyGeXDp6.mjs";
|
|
3
3
|
import { ElLoadingDirective as n } from "element-plus/es";
|
|
4
4
|
import { computed as r, createElementBlock as i, createElementVNode as a, defineComponent as o, onBeforeUnmount as s, onMounted as c, openBlock as l, ref as u, toDisplayString as d, watch as f, withDirectives as p } from "vue";
|
|
5
5
|
import * as m from "echarts";
|
|
@@ -1,28 +1,23 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
3
|
-
import "./component-HdHeatChart-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BxilaCJG.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DyGeXDp6.mjs";
|
|
3
|
+
import "./component-HdHeatChart-DW4arHLw.mjs";
|
|
4
4
|
import { ElLoadingDirective as n } from "element-plus/es";
|
|
5
|
-
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, normalizeClass as f, normalizeStyle as p, onBeforeUnmount as m, onMounted as ee, openBlock as h, ref as g, renderList as _, toDisplayString as v,
|
|
5
|
+
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, normalizeClass as f, normalizeStyle as p, onBeforeUnmount as m, onMounted as ee, openBlock as h, ref as g, renderList as _, toDisplayString as v, vShow as te, withDirectives as ne, withModifiers as y } from "vue";
|
|
6
6
|
import * as b from "echarts";
|
|
7
7
|
import "element-plus/es/components/loading/style/css";
|
|
8
8
|
//#region src/components/HdHeatChartDialog/HdHeatChartDialog.vue?vue&type=script&setup=true&lang.ts
|
|
9
|
-
var re = { class: "HdHeatChartDialog-head-title" }, ie = { class: "HdHeatChartDialog-head-actions" }, ae = { class: "HdHeatChartDialog-info" }, oe = { class: "HdHeatChartDialog-info-daily" }, se = { class: "HdHeatChartDialog-info-dailyRow" }, ce = { class: "HdHeatChartDialog-info-dailyLabel" }, le = { class: "HdHeatChartDialog-info-dailyValue" }, ue = { class: "HdHeatChartDialog-info-dailyTime" }, de = { class: "HdHeatChartDialog-info-dailyTime" }, fe = { class: "HdHeatChartDialog-info-dailyValue" }, pe = { class: "HdHeatChartDialog-info-dailyRow" }, me = { class: "HdHeatChartDialog-info-dailyLabel" }, he = { class: "HdHeatChartDialog-info-dailyValue" }, ge = { class: "HdHeatChartDialog-info-dailyTime" }, _e = { class: "HdHeatChartDialog-info-dailyTime" }, ve = { class: "HdHeatChartDialog-info-dailyValue" }, ye = { class: "HdHeatChartDialog-summaryBox" },
|
|
9
|
+
var re = { class: "HdHeatChartDialog-head-title" }, ie = { class: "HdHeatChartDialog-head-actions" }, ae = { class: "HdHeatChartDialog-info" }, oe = { class: "HdHeatChartDialog-info-daily" }, se = { class: "HdHeatChartDialog-info-dailyRow" }, ce = { class: "HdHeatChartDialog-info-dailyLabel" }, le = { class: "HdHeatChartDialog-info-dailyValue" }, ue = { class: "HdHeatChartDialog-info-dailyTime" }, de = { class: "HdHeatChartDialog-info-dailyTime" }, fe = { class: "HdHeatChartDialog-info-dailyValue" }, pe = { class: "HdHeatChartDialog-info-dailyRow" }, me = { class: "HdHeatChartDialog-info-dailyLabel" }, he = { class: "HdHeatChartDialog-info-dailyValue" }, ge = { class: "HdHeatChartDialog-info-dailyTime" }, _e = { class: "HdHeatChartDialog-info-dailyTime" }, ve = { class: "HdHeatChartDialog-info-dailyValue" }, ye = { class: "HdHeatChartDialog-summaryBox" }, x = { class: "HdHeatChartDialog-summaryHead" }, S = { class: "HdHeatChartDialog-summaryBody" }, C = { class: "HdHeatChartDialog-summaryRow" }, w = { class: "HdHeatChartDialog-summaryValue" }, T = { class: "HdHeatChartDialog-summaryTime" }, E = { class: "HdHeatChartDialog-summaryRow" }, D = { class: "HdHeatChartDialog-summaryValue" }, O = { class: "HdHeatChartDialog-summaryTime" }, k = { class: "HdHeatChartDialog-summaryRow" }, A = { class: "HdHeatChartDialog-summaryValue" }, j = { class: "HdHeatChartDialog-summaryRow" }, M = { class: "HdHeatChartDialog-summaryValue" }, N = { class: "HdHeatChartDialog-summaryTime" }, P = { class: "HdHeatChartDialog-chartWrap" }, be = { class: "HdHeatChartDialog-levels" }, xe = { class: "HdHeatChartDialog-levels-label" }, F = /* @__PURE__ */ e(/* @__PURE__ */ u({
|
|
10
10
|
__name: "HdHeatChartDialog",
|
|
11
11
|
props: {
|
|
12
|
-
mock: {
|
|
13
|
-
type: Boolean,
|
|
14
|
-
default: !1
|
|
15
|
-
},
|
|
16
12
|
baseHttp: { default: "" },
|
|
17
13
|
appKey: { default: "" },
|
|
18
14
|
appSalt: { default: "" },
|
|
19
15
|
ids: { default: () => ({}) },
|
|
20
|
-
refreshInterval: { default: 1e3 * 60 * 10 }
|
|
21
|
-
mockData: { default: () => ({}) }
|
|
16
|
+
refreshInterval: { default: 1e3 * 60 * 10 }
|
|
22
17
|
},
|
|
23
18
|
emits: ["close"],
|
|
24
19
|
setup(e, { emit: u }) {
|
|
25
|
-
let
|
|
20
|
+
let F = d()?.appContext.config.globalProperties.$bus, I = e, Se = u, L = g(!1), R = g(""), z = g(!1), Ce = g(null), B = g(null), V = null, H = g({
|
|
26
21
|
title: "网格72小时逐三小时温度图",
|
|
27
22
|
initTime: "20时",
|
|
28
23
|
maxTemp: {
|
|
@@ -37,20 +32,20 @@ var re = { class: "HdHeatChartDialog-head-title" }, ie = { class: "HdHeatChartDi
|
|
|
37
32
|
lowTemps: [],
|
|
38
33
|
list: [],
|
|
39
34
|
summaryTip: "请做好供热准备工作!"
|
|
40
|
-
}),
|
|
35
|
+
}), U = g(!1), W = g(!1), G = g({
|
|
41
36
|
x: 0,
|
|
42
37
|
y: 0
|
|
43
|
-
}),
|
|
38
|
+
}), K = g({
|
|
44
39
|
x: 0,
|
|
45
40
|
y: 80
|
|
46
|
-
}),
|
|
47
|
-
transform: `translate(calc(-50% + ${
|
|
48
|
-
transition:
|
|
49
|
-
})),
|
|
50
|
-
let e =
|
|
51
|
-
return `${
|
|
52
|
-
}),
|
|
53
|
-
let e =
|
|
41
|
+
}), we = a(() => ({
|
|
42
|
+
transform: `translate(calc(-50% + ${K.value.x}px), ${K.value.y}px)`,
|
|
43
|
+
transition: W.value ? "none" : "transform 0.1s"
|
|
44
|
+
})), Te = a(() => {
|
|
45
|
+
let e = H.value.initTime ? `(${H.value.initTime})` : "";
|
|
46
|
+
return `${H.value.title || "网格72小时逐三小时温度图"}${e}`;
|
|
47
|
+
}), q = a(() => H.value.list || []), J = a(() => {
|
|
48
|
+
let e = q.value;
|
|
54
49
|
if (!e.length) return null;
|
|
55
50
|
let t = e.map((e) => e.temp), n = Math.max(...t), r = Math.min(...t), i = e.find((e) => e.temp === n) || e[0], a = e.find((e) => e.temp === r) || e[0], o = Number((t.reduce((e, t) => e + t, 0) / t.length).toFixed(1)), s = Number((n - r).toFixed(1));
|
|
56
51
|
return {
|
|
@@ -62,13 +57,13 @@ var re = { class: "HdHeatChartDialog-head-title" }, ie = { class: "HdHeatChartDi
|
|
|
62
57
|
value: r.toFixed(1),
|
|
63
58
|
time: a.time
|
|
64
59
|
},
|
|
65
|
-
avgTemp:
|
|
66
|
-
tempDiff:
|
|
67
|
-
tip:
|
|
60
|
+
avgTemp: H.value.avgTemp?.toFixed(1) ?? o.toFixed(1),
|
|
61
|
+
tempDiff: H.value.tempDiff?.toFixed(1) ?? s.toFixed(1),
|
|
62
|
+
tip: H.value.summaryTip || "请做好供热准备工作!"
|
|
68
63
|
};
|
|
69
|
-
}),
|
|
64
|
+
}), Ee = a(() => {
|
|
70
65
|
let e = /* @__PURE__ */ new Map();
|
|
71
|
-
return
|
|
66
|
+
return q.value.forEach((t) => {
|
|
72
67
|
let n = t.time.split(" ")[0], r = e.get(n);
|
|
73
68
|
r ? (t.temp > r.max.temp && (r.max = t), t.temp < r.min.temp && (r.min = t)) : e.set(n, {
|
|
74
69
|
date: n,
|
|
@@ -76,19 +71,19 @@ var re = { class: "HdHeatChartDialog-head-title" }, ie = { class: "HdHeatChartDi
|
|
|
76
71
|
min: t
|
|
77
72
|
});
|
|
78
73
|
}), Array.from(e.values());
|
|
79
|
-
}),
|
|
74
|
+
}), De = a(() => J.value ? {
|
|
80
75
|
date: "72小时",
|
|
81
76
|
max: {
|
|
82
|
-
time:
|
|
83
|
-
temp: Number(
|
|
77
|
+
time: J.value.maxTemp.time,
|
|
78
|
+
temp: Number(J.value.maxTemp.value),
|
|
84
79
|
label: "72h最高温"
|
|
85
80
|
},
|
|
86
81
|
min: {
|
|
87
|
-
time:
|
|
88
|
-
temp: Number(
|
|
82
|
+
time: J.value.minTemp.time,
|
|
83
|
+
temp: Number(J.value.minTemp.value),
|
|
89
84
|
label: "72h最低温"
|
|
90
85
|
}
|
|
91
|
-
} : null),
|
|
86
|
+
} : null), Oe = a(() => [De.value, ...Ee.value].filter((e) => e !== null)), ke = [
|
|
92
87
|
{
|
|
93
88
|
label: ">10",
|
|
94
89
|
color: "#FF7D00"
|
|
@@ -109,12 +104,12 @@ var re = { class: "HdHeatChartDialog-head-title" }, ie = { class: "HdHeatChartDi
|
|
|
109
104
|
label: "-20-5",
|
|
110
105
|
color: "#165DFF"
|
|
111
106
|
}
|
|
112
|
-
],
|
|
113
|
-
|
|
114
|
-
},
|
|
115
|
-
let t =
|
|
107
|
+
], Ae = () => {
|
|
108
|
+
L.value = !1, Se("close", "HdHeatChartDialog");
|
|
109
|
+
}, je = (e) => {
|
|
110
|
+
let t = I.ids[e] || I.ids.data;
|
|
116
111
|
return t?.id ? t : null;
|
|
117
|
-
},
|
|
112
|
+
}, Y = (e) => {
|
|
118
113
|
if (!e) return null;
|
|
119
114
|
let t = null;
|
|
120
115
|
if (t = 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, typeof t == "string") try {
|
|
@@ -123,156 +118,7 @@ var re = { class: "HdHeatChartDialog-head-title" }, ie = { class: "HdHeatChartDi
|
|
|
123
118
|
console.warn("HdHeatChartDialog output 不是 JSON 字符串", t);
|
|
124
119
|
}
|
|
125
120
|
return t;
|
|
126
|
-
},
|
|
127
|
-
title: "网格72小时逐三小时温度图",
|
|
128
|
-
initTime: "20时",
|
|
129
|
-
maxTemp: {
|
|
130
|
-
value: 28.1,
|
|
131
|
-
time: "08-25 14时"
|
|
132
|
-
},
|
|
133
|
-
minTemp: {
|
|
134
|
-
value: 21.6,
|
|
135
|
-
time: "08-28 02时"
|
|
136
|
-
},
|
|
137
|
-
highTemps: [
|
|
138
|
-
{
|
|
139
|
-
value: 28.1,
|
|
140
|
-
time: "08-25 14时"
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
value: 27.9,
|
|
144
|
-
time: "08-26 20时"
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
value: 27,
|
|
148
|
-
time: "08-27 02时"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
value: 23.1,
|
|
152
|
-
time: "08-28 08时"
|
|
153
|
-
}
|
|
154
|
-
],
|
|
155
|
-
lowTemps: [
|
|
156
|
-
{
|
|
157
|
-
value: 26.9,
|
|
158
|
-
time: "08-25 08时"
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
value: 26.6,
|
|
162
|
-
time: "08-26 05时"
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
value: 22.9,
|
|
166
|
-
time: "08-27 23时"
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
value: 21.6,
|
|
170
|
-
time: "08-28 02时"
|
|
171
|
-
}
|
|
172
|
-
],
|
|
173
|
-
list: F.mockData?.list?.length ? F.mockData.list : [
|
|
174
|
-
{
|
|
175
|
-
time: "08-25 20时",
|
|
176
|
-
temp: 26.5
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
time: "08-25 23时",
|
|
180
|
-
temp: 26.2
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
time: "08-26 02时",
|
|
184
|
-
temp: 25.8
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
time: "08-26 05时",
|
|
188
|
-
temp: 26.6
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
time: "08-26 08时",
|
|
192
|
-
temp: 26.9
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
time: "08-26 11时",
|
|
196
|
-
temp: 27.2
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
time: "08-26 14时",
|
|
200
|
-
temp: 28.1
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
time: "08-26 17时",
|
|
204
|
-
temp: 27.8
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
time: "08-26 20时",
|
|
208
|
-
temp: 27.9
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
time: "08-26 23时",
|
|
212
|
-
temp: 27.4
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
time: "08-27 02时",
|
|
216
|
-
temp: 27
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
time: "08-27 05时",
|
|
220
|
-
temp: 26.8
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
time: "08-27 08时",
|
|
224
|
-
temp: 26.5
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
time: "08-27 11时",
|
|
228
|
-
temp: 26.3
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
time: "08-27 14时",
|
|
232
|
-
temp: 26.1
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
time: "08-27 17时",
|
|
236
|
-
temp: 25.6
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
time: "08-27 20时",
|
|
240
|
-
temp: 24.8
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
time: "08-27 23时",
|
|
244
|
-
temp: 22.9
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
time: "08-28 02时",
|
|
248
|
-
temp: 21.6
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
time: "08-28 05时",
|
|
252
|
-
temp: 22.1
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
time: "08-28 08时",
|
|
256
|
-
temp: 23.1
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
time: "08-28 11时",
|
|
260
|
-
temp: 24.5
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
time: "08-28 14时",
|
|
264
|
-
temp: 25.2
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
time: "08-28 17时",
|
|
268
|
-
temp: 25
|
|
269
|
-
},
|
|
270
|
-
{
|
|
271
|
-
time: "08-28 20时",
|
|
272
|
-
temp: 24.6
|
|
273
|
-
}
|
|
274
|
-
]
|
|
275
|
-
}), Pe = (e) => {
|
|
121
|
+
}, Me = (e) => {
|
|
276
122
|
let t = e || {}, n = (e) => Array.isArray(e) ? e.map((e) => ({
|
|
277
123
|
time: e.time || e.time_label || e.obs_time || "",
|
|
278
124
|
temp: Number(e.temp) || 0
|
|
@@ -328,32 +174,32 @@ var re = { class: "HdHeatChartDialog-head-title" }, ie = { class: "HdHeatChartDi
|
|
|
328
174
|
tempDiff: Number(t.tempDiff ?? t.temp_diff) || void 0,
|
|
329
175
|
list: o
|
|
330
176
|
};
|
|
331
|
-
},
|
|
332
|
-
let e =
|
|
177
|
+
}, Ne = async () => {
|
|
178
|
+
let e = je("data");
|
|
333
179
|
if (!e) {
|
|
334
180
|
console.warn("HdHeatChartDialog 缺少工作流配置");
|
|
335
181
|
return;
|
|
336
182
|
}
|
|
337
183
|
try {
|
|
338
|
-
let n =
|
|
184
|
+
let n = Y(await t({
|
|
339
185
|
id: e.id,
|
|
340
|
-
baseHttp:
|
|
186
|
+
baseHttp: I.baseHttp,
|
|
341
187
|
reqType: e.reqType,
|
|
342
|
-
variables: { serviceTypeID:
|
|
188
|
+
variables: { serviceTypeID: R.value },
|
|
343
189
|
isFormData: e.isFormData,
|
|
344
|
-
appKey:
|
|
345
|
-
appSalt:
|
|
190
|
+
appKey: I.appKey,
|
|
191
|
+
appSalt: I.appSalt
|
|
346
192
|
}));
|
|
347
|
-
n && (
|
|
193
|
+
n && (H.value = Me(n));
|
|
348
194
|
} catch (e) {
|
|
349
195
|
console.error("HdHeatChartDialog 数据加载失败", e);
|
|
350
196
|
}
|
|
351
|
-
},
|
|
352
|
-
|
|
353
|
-
},
|
|
354
|
-
if (!
|
|
355
|
-
|
|
356
|
-
let e =
|
|
197
|
+
}, X = async () => {
|
|
198
|
+
z.value = !0, await Ne(), z.value = !1, Pe();
|
|
199
|
+
}, Pe = () => {
|
|
200
|
+
if (!B.value || !q.value.length) return;
|
|
201
|
+
V && V.dispose(), V = b.init(B.value);
|
|
202
|
+
let e = q.value.map((e) => e.time), t = q.value.map((e) => e.temp), n = {
|
|
357
203
|
backgroundColor: "transparent",
|
|
358
204
|
grid: {
|
|
359
205
|
top: 36,
|
|
@@ -470,44 +316,36 @@ var re = { class: "HdHeatChartDialog-head-title" }, ie = { class: "HdHeatChartDi
|
|
|
470
316
|
}]) }
|
|
471
317
|
}]
|
|
472
318
|
};
|
|
473
|
-
|
|
474
|
-
},
|
|
319
|
+
V.setOption(n);
|
|
320
|
+
}, Fe = (e) => {
|
|
475
321
|
let t = e.target;
|
|
476
|
-
t.classList.contains("HdHeatChartDialog-head-close") || t.classList.contains("HdHeatChartDialog-head-btn") || (
|
|
322
|
+
t.classList.contains("HdHeatChartDialog-head-close") || t.classList.contains("HdHeatChartDialog-head-btn") || (W.value = !0, G.value = {
|
|
323
|
+
x: e.clientX - K.value.x,
|
|
324
|
+
y: e.clientY - K.value.y
|
|
325
|
+
}, document.addEventListener("mousemove", Z), document.addEventListener("mouseup", Q));
|
|
326
|
+
}, Z = (e) => {
|
|
327
|
+
W.value && (K.value = {
|
|
477
328
|
x: e.clientX - G.value.x,
|
|
478
329
|
y: e.clientY - G.value.y
|
|
479
|
-
}, document.addEventListener("mousemove", X), document.addEventListener("mouseup", Z));
|
|
480
|
-
}, X = (e) => {
|
|
481
|
-
U.value && (G.value = {
|
|
482
|
-
x: e.clientX - W.value.x,
|
|
483
|
-
y: e.clientY - W.value.y
|
|
484
330
|
});
|
|
485
|
-
}, Z = () => {
|
|
486
|
-
U.value = !1, document.removeEventListener("mousemove", X), document.removeEventListener("mouseup", Z);
|
|
487
331
|
}, Q = () => {
|
|
488
|
-
|
|
489
|
-
}, Re = () => {
|
|
490
|
-
$(), !(F.refreshInterval <= 0) && (B = setInterval(() => {
|
|
491
|
-
Y();
|
|
492
|
-
}, F.refreshInterval));
|
|
332
|
+
W.value = !1, document.removeEventListener("mousemove", Z), document.removeEventListener("mouseup", Q);
|
|
493
333
|
}, $ = () => {
|
|
494
|
-
|
|
334
|
+
V?.resize();
|
|
495
335
|
};
|
|
496
|
-
return
|
|
497
|
-
F
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
e.componentName === "HdCameraList" && e.serviceTypeID && (I.value = e.serviceTypeID, Y());
|
|
501
|
-
}), Y(), Re(), window.addEventListener("resize", Q);
|
|
336
|
+
return ee(() => {
|
|
337
|
+
F?.on("toComponent", (e) => {
|
|
338
|
+
console.log(e, "HdHeatChartDialog的payload1"), e.componentName == "HdHeatChartDialog" && (console.log(e, "HdHeatChartDialog的payload2"), R.value = e.serviceTypeID || 42, L.value = !0, console.log(L.value, "showVisible.value"), X());
|
|
339
|
+
}), X(), window.addEventListener("resize", $);
|
|
502
340
|
}), m(() => {
|
|
503
|
-
|
|
341
|
+
window.removeEventListener("resize", $), document.removeEventListener("mousemove", Z), document.removeEventListener("mouseup", Q), V &&= (V.dispose(), null);
|
|
504
342
|
}), (e, t) => {
|
|
505
343
|
let a = n;
|
|
506
344
|
return h(), o(i, { to: "body" }, [ne((h(), c("div", {
|
|
507
345
|
ref_key: "wrapRef",
|
|
508
|
-
ref:
|
|
346
|
+
ref: Ce,
|
|
509
347
|
class: "HdHeatChartDialog",
|
|
510
|
-
style: p(
|
|
348
|
+
style: p(we.value),
|
|
511
349
|
"element-loading-background": "rgba(0, 0, 0, 0.5)"
|
|
512
350
|
}, [
|
|
513
351
|
t[13] ||= l("span", { class: "HdHeatChartDialog-corner HdHeatChartDialog-corner--tl" }, null, -1),
|
|
@@ -516,15 +354,15 @@ var re = { class: "HdHeatChartDialog-head-title" }, ie = { class: "HdHeatChartDi
|
|
|
516
354
|
t[16] ||= l("span", { class: "HdHeatChartDialog-corner HdHeatChartDialog-corner--br" }, null, -1),
|
|
517
355
|
l("div", {
|
|
518
356
|
class: "HdHeatChartDialog-head",
|
|
519
|
-
onMousedown:
|
|
520
|
-
}, [l("div", re, v(
|
|
357
|
+
onMousedown: Fe
|
|
358
|
+
}, [l("div", re, v(Te.value), 1), l("div", ie, [l("div", {
|
|
521
359
|
class: "HdHeatChartDialog-head-btn",
|
|
522
|
-
onClick: t[0] ||= y((e) =>
|
|
360
|
+
onClick: t[0] ||= y((e) => U.value = !0, ["stop"])
|
|
523
361
|
}, "总结"), l("div", {
|
|
524
362
|
class: "HdHeatChartDialog-head-close",
|
|
525
|
-
onClick: y(
|
|
363
|
+
onClick: y(Ae, ["stop"])
|
|
526
364
|
}, [...t[3] ||= [l("span", null, "✕", -1)]])])], 32),
|
|
527
|
-
l("div", ae, [l("div", oe, [(h(!0), c(r, null, _(
|
|
365
|
+
l("div", ae, [l("div", oe, [(h(!0), c(r, null, _(Oe.value, (e, n) => (h(), c("div", {
|
|
528
366
|
key: `col-${n}`,
|
|
529
367
|
class: f(["HdHeatChartDialog-info-dailyCol", { "HdHeatChartDialog-info-dailyCol--overall": e.date === "72小时" }])
|
|
530
368
|
}, [l("div", se, [t[4] ||= l("img", {
|
|
@@ -544,47 +382,47 @@ var re = { class: "HdHeatChartDialog-head-title" }, ie = { class: "HdHeatChartDi
|
|
|
544
382
|
l("span", he, v(e.min.temp) + " ℃", 1),
|
|
545
383
|
l("span", ge, v(e.min.time), 1)
|
|
546
384
|
], 64)) : (h(), c(r, { key: 1 }, [l("span", _e, v(e.min.time), 1), l("span", ve, v(e.min.temp) + " ℃", 1)], 64))])], 2))), 128))])]),
|
|
547
|
-
|
|
385
|
+
U.value && J.value ? (h(), c("div", {
|
|
548
386
|
key: 0,
|
|
549
387
|
class: "HdHeatChartDialog-summary",
|
|
550
|
-
onClick: t[2] ||= y((e) =>
|
|
551
|
-
}, [l("div", ye, [l("div",
|
|
388
|
+
onClick: t[2] ||= y((e) => U.value = !1, ["self"])
|
|
389
|
+
}, [l("div", ye, [l("div", x, [t[6] ||= l("span", null, "未来72小时气温总结", -1), l("span", {
|
|
552
390
|
class: "HdHeatChartDialog-summaryClose",
|
|
553
|
-
onClick: t[1] ||= (e) =>
|
|
554
|
-
}, "✕")]), l("div",
|
|
555
|
-
l("div",
|
|
391
|
+
onClick: t[1] ||= (e) => U.value = !1
|
|
392
|
+
}, "✕")]), l("div", S, [
|
|
393
|
+
l("div", C, [
|
|
556
394
|
t[7] ||= l("span", { class: "HdHeatChartDialog-summaryIcon HdHeatChartDialog-summaryIcon--up" }, "▲", -1),
|
|
557
395
|
t[8] ||= l("span", { class: "HdHeatChartDialog-summaryLabel" }, "72小时最高温:", -1),
|
|
558
|
-
l("span",
|
|
559
|
-
l("span",
|
|
396
|
+
l("span", w, v(J.value.maxTemp.value) + " ℃", 1),
|
|
397
|
+
l("span", T, ", 发生时间" + v(J.value.maxTemp.time), 1)
|
|
560
398
|
]),
|
|
561
|
-
l("div",
|
|
399
|
+
l("div", E, [
|
|
562
400
|
t[9] ||= l("span", { class: "HdHeatChartDialog-summaryIcon HdHeatChartDialog-summaryIcon--down" }, "▼", -1),
|
|
563
401
|
t[10] ||= l("span", { class: "HdHeatChartDialog-summaryLabel" }, "72小时最低温:", -1),
|
|
564
|
-
l("span",
|
|
565
|
-
l("span",
|
|
402
|
+
l("span", D, v(J.value.minTemp.value) + " ℃", 1),
|
|
403
|
+
l("span", O, ", 发生时间" + v(J.value.minTemp.time), 1)
|
|
566
404
|
]),
|
|
567
|
-
l("div",
|
|
568
|
-
l("div",
|
|
405
|
+
l("div", k, [t[11] ||= l("span", { class: "HdHeatChartDialog-summaryLabel" }, "72小时平均温:", -1), l("span", A, v(J.value.avgTemp) + "℃", 1)]),
|
|
406
|
+
l("div", j, [
|
|
569
407
|
t[12] ||= l("span", { class: "HdHeatChartDialog-summaryLabel" }, "温差:", -1),
|
|
570
|
-
l("span",
|
|
571
|
-
l("span",
|
|
408
|
+
l("span", M, v(J.value.tempDiff) + " ℃", 1),
|
|
409
|
+
l("span", N, ", " + v(J.value.tip), 1)
|
|
572
410
|
])
|
|
573
411
|
])])])) : s("", !0),
|
|
574
|
-
l("div",
|
|
412
|
+
l("div", P, [l("div", {
|
|
575
413
|
ref_key: "chartRef",
|
|
576
|
-
ref:
|
|
414
|
+
ref: B,
|
|
577
415
|
class: "HdHeatChartDialog-chart"
|
|
578
|
-
}, null, 512), l("div",
|
|
416
|
+
}, null, 512), l("div", be, [(h(), c(r, null, _(ke, (e) => l("div", {
|
|
579
417
|
key: e.label,
|
|
580
418
|
class: "HdHeatChartDialog-levels-item"
|
|
581
419
|
}, [l("span", {
|
|
582
420
|
class: "HdHeatChartDialog-levels-block",
|
|
583
421
|
style: p({ background: e.color })
|
|
584
|
-
}, null, 4), l("span",
|
|
585
|
-
], 4)), [[
|
|
422
|
+
}, null, 4), l("span", xe, v(e.label), 1)])), 64))])])
|
|
423
|
+
], 4)), [[te, L.value], [a, z.value]])]);
|
|
586
424
|
};
|
|
587
425
|
}
|
|
588
|
-
}), [["__scopeId", "data-v-
|
|
426
|
+
}), [["__scopeId", "data-v-266af37d"]]);
|
|
589
427
|
//#endregion
|
|
590
|
-
export {
|
|
428
|
+
export { F as t };
|
package/dist/chunks/{component-HdHeatService-UxyMUQp4.mjs → component-HdHeatService-BPT0iubG.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BxilaCJG.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DyGeXDp6.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, createTextVNode as c, defineComponent as l, getCurrentInstance as ee, nextTick as u, normalizeStyle as d, onMounted as te, onUnmounted as ne, openBlock as f, ref as p, renderList as m, toDisplayString as h, watch as g, withDirectives as re } from "vue";
|
|
5
5
|
import * as _ from "echarts";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import {
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BxilaCJG.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-DyGeXDp6.mjs";
|
|
3
3
|
import { ElConfigProvider as n, ElDatePicker as r, ElLoadingDirective as i, ElTable as ee, ElTableColumn as te } from "element-plus/es";
|
|
4
4
|
import { Fragment as a, Teleport as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, getCurrentInstance as h, normalizeClass as g, onMounted as _, openBlock as v, ref as y, renderList as ne, toDisplayString as b, unref as re, withCtx as x, withDirectives as ie, withModifiers as ae } from "vue";
|
|
5
5
|
import "element-plus/dist/index.css";
|