nxd-plugin 1.8.11 → 1.8.13
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-C9YIGJtD.mjs → component-AiChat-CvQdG_6E.mjs} +2273 -1865
- package/dist/chunks/{component-AqiMonitor-BP6T8k1V.mjs → component-AqiMonitor-BqYQZCGJ.mjs} +1 -1
- package/dist/chunks/{component-ChartCumulativePre-CGsJljth.mjs → component-ChartCumulativePre-CEjOjjVe.mjs} +2 -2
- package/dist/chunks/{component-ChartServiceMaterial-BvUxyw6V.mjs → component-ChartServiceMaterial-DT_koD7I.mjs} +2 -2
- package/dist/chunks/{component-Duty-n7XqEHA1.mjs → component-Duty-C_l_2YgU.mjs} +2 -2
- package/dist/chunks/{component-EarlyWarningStatistic-CxDaGBel.mjs → component-EarlyWarningStatistic-B718ggx5.mjs} +2 -2
- package/dist/chunks/{component-EarlyWarningStatistic2-BQkBnEXy.mjs → component-EarlyWarningStatistic2-DW7ACKD0.mjs} +2 -2
- package/dist/chunks/{component-Forecast72h-BDJHG1U4.mjs → component-Forecast72h-D1PxRnlY.mjs} +2 -2
- package/dist/chunks/{component-GeologyLiveAlarm-mWCZzB2_.mjs → component-GeologyLiveAlarm-Dt3gvQu7.mjs} +2 -2
- package/dist/chunks/{component-GridForecastMsg-DrV5Ym87.mjs → component-GridForecastMsg-CHEL34ai.mjs} +2 -2
- package/dist/chunks/{component-HDSeaLegend-CXyPIZhe.mjs → component-HDSeaLegend-Ct9_u6Uz.mjs} +1 -1
- package/dist/chunks/{component-HdCameraList-C1WDEHnc.mjs → component-HdCameraList-mIOV5Sx8.mjs} +3 -3
- package/dist/chunks/{component-HdForecastProducts-DoZujLgN.mjs → component-HdForecastProducts-BQQFXblS.mjs} +2 -2
- package/dist/chunks/{component-HdHeatChart-DaNH44bU.mjs → component-HdHeatChart-DF82rKDj.mjs} +2 -2
- package/dist/chunks/{component-HdHeatChartDialog-DT0Dgpp1.mjs → component-HdHeatChartDialog-zLkAhJKZ.mjs} +3 -3
- package/dist/chunks/{component-HdHeatService-CNxecEQg.mjs → component-HdHeatService-YxMQFO2f.mjs} +2 -2
- package/dist/chunks/{component-HdInsectDetailList-02xht4Q4.mjs → component-HdInsectDetailList-BzLsAguq.mjs} +5 -4
- package/dist/chunks/{component-HdInsectList-CeuQR-EH.mjs → component-HdInsectList-CgjMQwgf.mjs} +4 -3
- package/dist/chunks/{component-HdObservation-7au43xoo.mjs → component-HdObservation-Dfl4kID1.mjs} +3 -3
- package/dist/chunks/{component-HdPreSituation-BKvTx0Ta.mjs → component-HdPreSituation-CgNg-Kc8.mjs} +4 -4
- package/dist/chunks/{component-HdQxServiceEffects-DLKKXJMw.mjs → component-HdQxServiceEffects-CHgW29RU.mjs} +2 -2
- package/dist/chunks/{component-HdRadarList-qZVLihPI.mjs → component-HdRadarList-AOFTR7PZ.mjs} +3 -3
- package/dist/chunks/{component-HdRadarTime-DqvE1oI-.mjs → component-HdRadarTime-B4dTqaST.mjs} +4 -3
- package/dist/chunks/component-HdRadarTimeLine-BXiA-kKn.mjs +341 -0
- package/dist/chunks/{component-HdRisk-D5nG_MOd.mjs → component-HdRisk-CMxBl4gx.mjs} +3 -3
- package/dist/chunks/{component-HdSeaCase-BkWV5TsQ.mjs → component-HdSeaCase-BVO8qZS1.mjs} +2 -2
- package/dist/chunks/{component-HdServiceMarterial-DWfqV5Y0.mjs → component-HdServiceMarterial-B6FzKUEJ.mjs} +3 -3
- package/dist/chunks/{component-HdServiceRequirements-DZ-E2keO.mjs → component-HdServiceRequirements-Dn-vejD3.mjs} +3 -3
- package/dist/chunks/{component-HdSoil-B5ph-xYe.mjs → component-HdSoil-5II17hAx.mjs} +3 -3
- package/dist/chunks/{component-HdSoilDetailList-CIje5uOz.mjs → component-HdSoilDetailList-D1kTuM0C.mjs} +2 -2
- package/dist/chunks/{component-HdStationTem-Z1--_UN6.mjs → component-HdStationTem-BjFPXSJ4.mjs} +4 -4
- package/dist/chunks/{component-HdSuggestion-miMs9ZBK.mjs → component-HdSuggestion-BJyJdid5.mjs} +3 -3
- package/dist/chunks/{component-HdThreeWeatherTrend-BVCIJIdI.mjs → component-HdThreeWeatherTrend-6Bd400DM.mjs} +3 -3
- package/dist/chunks/{component-HdWaveForcast-DAg-ljVQ.mjs → component-HdWaveForcast-B2QjOMKx.mjs} +151 -146
- package/dist/chunks/{component-HighQuality-BLax6lhx.mjs → component-HighQuality-OHYdvG62.mjs} +2 -2
- package/dist/chunks/{component-HighWayEarlyWarningRed-dFyJ_oZY.mjs → component-HighWayEarlyWarningRed-C8wCMWEE.mjs} +2 -2
- package/dist/chunks/{component-HighWayFreeze-BQKOzzIZ.mjs → component-HighWayFreeze-CcOKUY_s.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarm-uj-wtwSV.mjs → component-HighwayLiveAlarm-KAi2ICoL.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarmNew-Dl1Dtno8.mjs → component-HighwayLiveAlarmNew-DcVenNFC.mjs} +3 -3
- package/dist/chunks/{component-HighwayStations-Bwq3p9Hl.mjs → component-HighwayStations-CVd-rgtd.mjs} +2 -2
- package/dist/chunks/{component-HighwayWeatherForecast-MPPTJVa8.mjs → component-HighwayWeatherForecast-DbpAW8TS.mjs} +4 -4
- package/dist/chunks/{component-IframeWeb-htkjamHj.mjs → component-IframeWeb-DXoQM6e9.mjs} +1 -1
- package/dist/chunks/{component-ImageGeneration-BCdAMsn0.mjs → component-ImageGeneration-hNjVBAUj.mjs} +1 -1
- package/dist/chunks/{component-IntroducePic-Bh___J4Q.mjs → component-IntroducePic-CeTWZep_.mjs} +2 -2
- package/dist/chunks/{component-LithiumBatteryMiningArea-CTrzQTHa.mjs → component-LithiumBatteryMiningArea-BqWHxwyB.mjs} +2 -2
- package/dist/chunks/{component-MapPopup-B9EyUjPV.mjs → component-MapPopup-CnzpYpdM.mjs} +1 -1
- package/dist/chunks/{component-MaterialPreview-vKaxviLX.mjs → component-MaterialPreview-DxYn_5v-.mjs} +2 -2
- package/dist/chunks/{component-PieLegend-C79AUOdc.mjs → component-PieLegend-DMSpS5SW.mjs} +1 -1
- package/dist/chunks/{component-PrecipitationRanking-Bnb43dxv.mjs → component-PrecipitationRanking-D2U4RT3B.mjs} +4 -4
- package/dist/chunks/{component-RadarChart-KS64O7IA.mjs → component-RadarChart-vnr0WAMi.mjs} +2 -2
- package/dist/chunks/{component-RadarLegend-B4zTEK18.mjs → component-RadarLegend-C8R9Kb_D.mjs} +1 -1
- package/dist/chunks/{component-RadarShortTerm-Dy6lZqe6.mjs → component-RadarShortTerm-DBAcaEMt.mjs} +4 -4
- package/dist/chunks/{component-RadarTime-CmiidoXW.mjs → component-RadarTime-m3Xzbr4L.mjs} +2 -2
- package/dist/chunks/{component-RenderMarkdown-tDeOPb4G.mjs → component-RenderMarkdown-weY2LqlS.mjs} +2 -2
- package/dist/chunks/{component-ReservoirLiveAlarm-C6EGLd5-.mjs → component-ReservoirLiveAlarm-BVp1Zku8.mjs} +3 -3
- package/dist/chunks/{component-ServiceMaterial-DRshYnH2.mjs → component-ServiceMaterial-DiBAiYrk.mjs} +2 -2
- package/dist/chunks/{component-ServiceMaterialsBtn-C_aEUZxl.mjs → component-ServiceMaterialsBtn-FlvQCNGy.mjs} +1 -1
- package/dist/chunks/{component-StationDialog-ylMxD1Br.mjs → component-StationDialog-COpCSKR0.mjs} +7 -6
- package/dist/chunks/{component-StationList-B1PxwySE.mjs → component-StationList-DSjCmEA2.mjs} +5 -5
- package/dist/chunks/{component-TimeBasedForecast-CoiXa9Jz.mjs → component-TimeBasedForecast-iC1SqX--.mjs} +4 -4
- package/dist/chunks/{component-Typhoon-DrTZbV_C.mjs → component-Typhoon-Bu0bZFDZ.mjs} +114 -111
- package/dist/chunks/{component-WarningLine-CPb-zwS6.mjs → component-WarningLine-pIuJdokw.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-DTaNV62i.mjs → component-WarningSignal-Dw2m4eRa.mjs} +3 -3
- package/dist/chunks/{component-WeatherForecast-ZNG9g8-d.mjs → component-WeatherForecast-B1y-yDlE.mjs} +4 -4
- package/dist/chunks/{component-YCDataMonitor-B600ToHJ.mjs → component-YCDataMonitor-Cd0QggfC.mjs} +2 -2
- package/dist/chunks/{component-YCDataService-DaVUpPAf.mjs → component-YCDataService-Cluc7cRM.mjs} +4 -4
- package/dist/chunks/{component-YCHighWaySummary-lt1sWMfQ.mjs → component-YCHighWaySummary-C51ppaIj.mjs} +2 -2
- package/dist/chunks/{component-YCHome-Ds9BP1jB.mjs → component-YCHome-BlGMoiRi.mjs} +4 -4
- package/dist/chunks/{component-YCHomeLegend-Djku2fdP.mjs → component-YCHomeLegend-B4Ikvyfg.mjs} +1 -1
- package/dist/chunks/{component-YCLoginNew-GsM7i9kF.mjs → component-YCLoginNew-DXfVXcwT.mjs} +3 -3
- package/dist/components/AiChat/AiChat.vue.d.ts +11 -0
- package/dist/components/AiChat/AiChatResponse.vue.d.ts +6 -2
- package/dist/components/HdRadarTimeLine/HdRadarTimeLine.vue.d.ts +46 -0
- package/dist/components/HdStationTem/HdStationTem.vue.d.ts +2 -2
- package/dist/index.d.ts +2 -1
- package/dist/nxd-plugin.mjs +71 -70
- package/dist/styles/component-AiChat.css +1 -1
- package/dist/styles/component-HdInsectDetailList.css +1 -1
- package/dist/styles/component-HdInsectList.css +1 -1
- package/dist/styles/component-HdRadarTime.css +1 -1
- package/dist/styles/component-HdRadarTimeLine.css +1 -0
- package/dist/styles/component-HdWaveForcast.css +1 -1
- package/dist/styles/component-StationDialog.css +1 -1
- package/dist/styles/component-Typhoon.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as e } from "./component-AiChat-
|
|
1
|
+
import { i as e } from "./component-AiChat-CvQdG_6E.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 { i as t } from "./component-AiChat-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BqYQZCGJ.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-CvQdG_6E.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 { i as t } from "./component-AiChat-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BqYQZCGJ.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-CvQdG_6E.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 { i as t } from "./component-AiChat-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BqYQZCGJ.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-CvQdG_6E.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 { i as t } from "./component-AiChat-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BqYQZCGJ.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-CvQdG_6E.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 { i as t } from "./component-AiChat-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BqYQZCGJ.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-CvQdG_6E.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-BDJHG1U4.mjs → component-Forecast72h-D1PxRnlY.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BqYQZCGJ.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-CvQdG_6E.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 { i as t } from "./component-AiChat-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BqYQZCGJ.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-CvQdG_6E.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 { i as t } from "./component-AiChat-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BqYQZCGJ.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-CvQdG_6E.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-CXyPIZhe.mjs → component-HDSeaLegend-Ct9_u6Uz.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BqYQZCGJ.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-C1WDEHnc.mjs → component-HdCameraList-mIOV5Sx8.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
3
|
-
import "./component-Forecast72h-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BqYQZCGJ.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-CvQdG_6E.mjs";
|
|
3
|
+
import "./component-Forecast72h-D1PxRnlY.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 { i as t } from "./component-AiChat-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BqYQZCGJ.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-CvQdG_6E.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-DaNH44bU.mjs → component-HdHeatChart-DF82rKDj.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BqYQZCGJ.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-CvQdG_6E.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,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
3
|
-
import "./component-HdHeatChart-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BqYQZCGJ.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-CvQdG_6E.mjs";
|
|
3
|
+
import "./component-HdHeatChart-DF82rKDj.mjs";
|
|
4
4
|
import { ElLoadingDirective as n } from "element-plus/es";
|
|
5
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";
|
package/dist/chunks/{component-HdHeatService-CNxecEQg.mjs → component-HdHeatService-YxMQFO2f.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BqYQZCGJ.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-CvQdG_6E.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 { i as t } from "./component-AiChat-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BqYQZCGJ.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-CvQdG_6E.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";
|
|
@@ -159,7 +159,8 @@ var se = {
|
|
|
159
159
|
size: "small",
|
|
160
160
|
border: !1,
|
|
161
161
|
"max-height": "60vh",
|
|
162
|
-
style: { width: "100%" }
|
|
162
|
+
style: { width: "100%" },
|
|
163
|
+
"empty-text": "暂无数据"
|
|
163
164
|
}, {
|
|
164
165
|
default: x(() => [
|
|
165
166
|
p(h, {
|
|
@@ -261,6 +262,6 @@ var se = {
|
|
|
261
262
|
], 64);
|
|
262
263
|
};
|
|
263
264
|
}
|
|
264
|
-
}), [["__scopeId", "data-v-
|
|
265
|
+
}), [["__scopeId", "data-v-d6ad5a16"]]);
|
|
265
266
|
//#endregion
|
|
266
267
|
export { I as t };
|
package/dist/chunks/{component-HdInsectList-CeuQR-EH.mjs → component-HdInsectList-CgjMQwgf.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BqYQZCGJ.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-CvQdG_6E.mjs";
|
|
3
3
|
import { ElLoadingDirective as n, ElTable as r, ElTableColumn as i } 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, onBeforeUnmount as _, onMounted as ee, openBlock as v, ref as y, renderList as b, toDisplayString as x, vModelCheckbox as te, watch as ne, withCtx as S, withDirectives as C } from "vue";
|
|
5
5
|
import "element-plus/dist/index.css";
|
|
@@ -234,6 +234,7 @@ var w = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALIAAACyCAYAAADmipVoAAAAA
|
|
|
234
234
|
border: !1,
|
|
235
235
|
"max-height": "60vh",
|
|
236
236
|
style: { width: "100%" },
|
|
237
|
+
"empty-text": "暂无数据",
|
|
237
238
|
"element-loading-background": "rgba(0,0,0,0.6)"
|
|
238
239
|
}, {
|
|
239
240
|
default: S(() => [
|
|
@@ -342,6 +343,6 @@ var w = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALIAAACyCAYAAADmipVoAAAAA
|
|
|
342
343
|
]);
|
|
343
344
|
};
|
|
344
345
|
}
|
|
345
|
-
}), [["__scopeId", "data-v-
|
|
346
|
+
}), [["__scopeId", "data-v-c89f7cfa"]]);
|
|
346
347
|
//#endregion
|
|
347
348
|
export { M as t };
|
package/dist/chunks/{component-HdObservation-7au43xoo.mjs → component-HdObservation-Dfl4kID1.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as e, t } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import { n } from "./component-AqiMonitor-
|
|
3
|
-
import { i as r } from "./component-AiChat-
|
|
4
|
-
import "./component-Forecast72h-
|
|
2
|
+
import { n } from "./component-AqiMonitor-BqYQZCGJ.mjs";
|
|
3
|
+
import { i as r } from "./component-AiChat-CvQdG_6E.mjs";
|
|
4
|
+
import "./component-Forecast72h-D1PxRnlY.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 u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createStaticVNode as ee, createVNode as m, defineComponent as h, getCurrentInstance as te, nextTick as ne, normalizeClass as re, normalizeStyle as ie, onBeforeUnmount as ae, onMounted as oe, openBlock as g, ref as _, renderList as v, toDisplayString as y, unref as se, withCtx as b, withDirectives as ce } from "vue";
|
|
7
7
|
import { Download as le } from "@element-plus/icons-vue";
|
package/dist/chunks/{component-HdPreSituation-BKvTx0Ta.mjs → component-HdPreSituation-CgNg-Kc8.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as e } from "./rolldown-runtime-Dd0fQ6-X.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-
|
|
2
|
+
import { n as t } from "./component-AqiMonitor-BqYQZCGJ.mjs";
|
|
3
|
+
import { i as n } from "./component-AiChat-CvQdG_6E.mjs";
|
|
4
|
+
import "./component-Forecast72h-D1PxRnlY.mjs";
|
|
5
|
+
import { n as r } from "./component-HdObservation-Dfl4kID1.mjs";
|
|
6
6
|
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";
|
|
7
7
|
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";
|
|
8
8
|
import { Download as ue, TrendCharts as de } from "@element-plus/icons-vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BqYQZCGJ.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-CvQdG_6E.mjs";
|
|
3
3
|
import { Fragment as n, computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, defineComponent as s, getCurrentInstance as c, nextTick as l, normalizeStyle as u, onMounted as d, onUnmounted as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, watch as _ } from "vue";
|
|
4
4
|
import * as v from "echarts";
|
|
5
5
|
//#region src/components/HdQxServiceEffects/HdQxServiceEffects.vue?vue&type=script&setup=true&lang.ts
|
package/dist/chunks/{component-HdRadarList-qZVLihPI.mjs → component-HdRadarList-AOFTR7PZ.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import "./component-Forecast72h-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BqYQZCGJ.mjs";
|
|
2
|
+
import "./component-Forecast72h-D1PxRnlY.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";
|
|
@@ -108,7 +108,7 @@ var x = { class: "HdRadarList" }, S = { class: "HdRadarList-header" }, C = { cla
|
|
|
108
108
|
return;
|
|
109
109
|
}
|
|
110
110
|
try {
|
|
111
|
-
let { default: t } = await import("./component-AiChat-
|
|
111
|
+
let { default: t } = await import("./component-AiChat-CvQdG_6E.mjs").then((e) => e.o), n = B(await t({
|
|
112
112
|
id: e.id,
|
|
113
113
|
baseHttp: A.baseHttp,
|
|
114
114
|
reqType: e.reqType,
|
package/dist/chunks/{component-HdRadarTime-DqvE1oI-.mjs → component-HdRadarTime-B4dTqaST.mjs}
RENAMED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BqYQZCGJ.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-CvQdG_6E.mjs";
|
|
3
3
|
import { ElCheckbox as n, ElConfigProvider as r, ElDatePicker as i, ElLoadingDirective as a, ElOption as o, ElSelect as s } from "element-plus/es";
|
|
4
4
|
import { Fragment as c, computed as l, createBlock as ee, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as te, createVNode as p, defineComponent as m, getCurrentInstance as h, nextTick as ne, normalizeClass as g, normalizeStyle as _, onBeforeUnmount as v, onMounted as y, openBlock as b, ref as x, renderList as S, toDisplayString as C, unref as re, vShow as ie, watch as w, withCtx as T, withDirectives as E, withModifiers as ae } from "vue";
|
|
5
|
+
import "element-plus/dist/index.css";
|
|
5
6
|
import oe from "element-plus/es/locale/lang/zh-cn.mjs";
|
|
6
7
|
//#region src/components/HdRadarTime/HdRadarTime.vue?vue&type=script&setup=true&lang.ts
|
|
7
8
|
var se = { class: "HdRadarTime-main" }, ce = { class: "HdRadarTime-controls" }, le = { class: "HdRadarTime-leftColumn" }, ue = { class: "HdRadarTime-queryTimeContainer" }, de = { class: "HdRadarTime-queryTime" }, fe = { class: "HdRadarTime-dropdownText" }, pe = { class: "HdRadarTime-dropdownPanel" }, me = { class: "HdRadarTime-dropdownList" }, he = {
|
|
@@ -487,6 +488,6 @@ var se = { class: "HdRadarTime-main" }, ce = { class: "HdRadarTime-controls" },
|
|
|
487
488
|
])])), [[x, U.value]]);
|
|
488
489
|
};
|
|
489
490
|
}
|
|
490
|
-
}), [["__scopeId", "data-v-
|
|
491
|
+
}), [["__scopeId", "data-v-4c61a4b8"]]);
|
|
491
492
|
//#endregion
|
|
492
493
|
export { D as t };
|
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BqYQZCGJ.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-CvQdG_6E.mjs";
|
|
3
|
+
import { ElConfigProvider as n, ElDatePicker as r, ElOption as i, ElSelect as ee } from "element-plus/es";
|
|
4
|
+
import { Fragment as a, computed as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, nextTick as p, normalizeClass as m, normalizeStyle as h, onBeforeUnmount as g, onMounted as te, openBlock as _, ref as v, renderList as y, toDisplayString as b, unref as ne, vShow as re, watch as x, withCtx as S, withDirectives as ie, withModifiers as ae } from "vue";
|
|
5
|
+
import "element-plus/es/components/select/style/css";
|
|
6
|
+
import "element-plus/es/components/option/style/css";
|
|
7
|
+
import "element-plus/es/components/date-picker/style/css";
|
|
8
|
+
import "element-plus/dist/index.css";
|
|
9
|
+
import oe from "element-plus/es/locale/lang/zh-cn.mjs";
|
|
10
|
+
//#region src/components/HdRadarTimeLine/HdRadarTimeLine.vue?vue&type=script&setup=true&lang.ts
|
|
11
|
+
var se = { class: "HdRadarTimeLine-main" }, ce = { class: "HdRadarTimeLine-controls" }, le = { class: "HdRadarTimeLine-leftColumn" }, ue = { class: "HdRadarTimeLine-queryTimeContainer" }, de = { class: "HdRadarTimeLine-queryTime" }, fe = { class: "HdRadarTimeLine-dropdownText" }, pe = { class: "HdRadarTimeLine-dropdownList" }, me = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "HdRadarTimeLine-dropdownItem HdRadarTimeLine-dropdownItem--empty"
|
|
14
|
+
}, he = ["onClick"], ge = {
|
|
15
|
+
key: 0,
|
|
16
|
+
class: "HdRadarTimeLine-legend"
|
|
17
|
+
}, _e = { class: "HdRadarTimeLine-legendBar" }, ve = { class: "HdRadarTimeLine-legendTicks" }, ye = { class: "HdRadarTimeLine-rightColumn" }, be = { class: "HdRadarTimeLine-speed" }, xe = { class: "HdRadarTimeLine-playWrap" }, Se = {
|
|
18
|
+
key: 0,
|
|
19
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
20
|
+
width: "16",
|
|
21
|
+
height: "16",
|
|
22
|
+
viewBox: "0 0 24 24",
|
|
23
|
+
fill: "#fff"
|
|
24
|
+
}, Ce = {
|
|
25
|
+
key: 1,
|
|
26
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
27
|
+
width: "16",
|
|
28
|
+
height: "16",
|
|
29
|
+
viewBox: "0 0 24 24",
|
|
30
|
+
fill: "#fff"
|
|
31
|
+
}, we = { class: "HdRadarTimeLine-ticks" }, Te = ["onClick"], Ee = 1e3, C = /* @__PURE__ */ e(/* @__PURE__ */ d({
|
|
32
|
+
__name: "HdRadarTimeLine",
|
|
33
|
+
props: {
|
|
34
|
+
mock: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
default: !1
|
|
37
|
+
},
|
|
38
|
+
baseHttp: { default: "" },
|
|
39
|
+
appKey: { default: "" },
|
|
40
|
+
appSalt: { default: "" },
|
|
41
|
+
imgBaseUrl: { default: "/imageProxy" },
|
|
42
|
+
ids: {},
|
|
43
|
+
initialTime: { default: "" },
|
|
44
|
+
initialSpeed: { default: 1 },
|
|
45
|
+
dropdownDirection: { default: "up" },
|
|
46
|
+
imageOpacity: { default: .8 },
|
|
47
|
+
imageZIndex: { default: 200 }
|
|
48
|
+
},
|
|
49
|
+
emits: [
|
|
50
|
+
"close",
|
|
51
|
+
"radarChange",
|
|
52
|
+
"addImage",
|
|
53
|
+
"clearImage"
|
|
54
|
+
],
|
|
55
|
+
setup(e, { emit: d }) {
|
|
56
|
+
let C = f()?.appContext.config.globalProperties.$bus, w = e, T = d, E = v(null), D = v(null), O = v(null), k = v(null), A = v(!1), j = v(w.initialTime || ""), M = v([]), N = v([]), P = v([]), F = v(""), I = v(0), L = v(!1), R = v(w.initialSpeed), z = v(!1), De = [
|
|
57
|
+
.5,
|
|
58
|
+
1,
|
|
59
|
+
1.5,
|
|
60
|
+
2,
|
|
61
|
+
3,
|
|
62
|
+
4
|
|
63
|
+
], B = null, V = !1, H = {
|
|
64
|
+
x: 0,
|
|
65
|
+
y: 0
|
|
66
|
+
}, Oe = o(() => P.value.find((e) => e.image_name === F.value)?.displayName || "选择dBZ区间"), U = o(() => M.value[I.value] || null), W = o(() => {
|
|
67
|
+
if (!M.value.length || M.value.length <= 1) return 0;
|
|
68
|
+
let e = I.value / (M.value.length - 1) * 98;
|
|
69
|
+
return Math.max(0, Math.min(98, e));
|
|
70
|
+
}), G = o(() => [...N.value].sort((e, t) => e.display_order - t.display_order)), ke = o(() => {
|
|
71
|
+
let e = G.value;
|
|
72
|
+
return e.length ? e.map((t, n) => ({
|
|
73
|
+
value: t.dbz_min,
|
|
74
|
+
position: n / (e.length - 1) * 100
|
|
75
|
+
})) : [];
|
|
76
|
+
}), Ae = (e) => {
|
|
77
|
+
if (!M.value.length || M.value.length <= 1) return 0;
|
|
78
|
+
let t = e / (M.value.length - 1) * 98;
|
|
79
|
+
return Math.max(0, Math.min(98, t));
|
|
80
|
+
}, je = () => {
|
|
81
|
+
A.value = !A.value;
|
|
82
|
+
}, K = () => {
|
|
83
|
+
A.value = !1;
|
|
84
|
+
}, Me = (e) => {
|
|
85
|
+
F.value = e, K(), Le();
|
|
86
|
+
}, Ne = (e) => {
|
|
87
|
+
I.value = e;
|
|
88
|
+
}, Pe = (e) => {
|
|
89
|
+
j.value = e || "", $();
|
|
90
|
+
}, Fe = () => {
|
|
91
|
+
J(), Y(), T("close", "HdRadarTimeLine");
|
|
92
|
+
}, Ie = () => {
|
|
93
|
+
L.value = !L.value;
|
|
94
|
+
}, q = () => {
|
|
95
|
+
J();
|
|
96
|
+
let e = Math.max(200, Ee / R.value);
|
|
97
|
+
B = setInterval(() => {
|
|
98
|
+
M.value.length && (I.value = I.value >= M.value.length - 1 ? 0 : I.value + 1);
|
|
99
|
+
}, e);
|
|
100
|
+
}, J = () => {
|
|
101
|
+
B &&= (clearInterval(B), null);
|
|
102
|
+
};
|
|
103
|
+
x(L, (e) => {
|
|
104
|
+
e ? q() : J();
|
|
105
|
+
}), x(R, () => {
|
|
106
|
+
L.value && q();
|
|
107
|
+
}), x(I, () => {
|
|
108
|
+
p(() => {
|
|
109
|
+
Re();
|
|
110
|
+
});
|
|
111
|
+
}), x(F, () => {
|
|
112
|
+
Le(), p(() => {
|
|
113
|
+
Re();
|
|
114
|
+
});
|
|
115
|
+
});
|
|
116
|
+
let Le = () => {
|
|
117
|
+
let e = F.value || "all";
|
|
118
|
+
M.value = M.value.map((t) => ({
|
|
119
|
+
...t,
|
|
120
|
+
imageUrl: Q(t, e)
|
|
121
|
+
}));
|
|
122
|
+
}, Re = () => {
|
|
123
|
+
let e = U.value;
|
|
124
|
+
e && (T("radarChange", {
|
|
125
|
+
time: e.time,
|
|
126
|
+
imageUrl: e.imageUrl,
|
|
127
|
+
dbz: F.value
|
|
128
|
+
}), ze(e));
|
|
129
|
+
}, ze = (e) => {
|
|
130
|
+
Y(), e.imageUrl && T("addImage", { imgArr: [{
|
|
131
|
+
imgUrl: e.imageUrl,
|
|
132
|
+
lngStart: Number(e.lon_min ?? e.lonStart ?? 0),
|
|
133
|
+
latStart: Number(e.lat_min ?? e.latStart ?? 0),
|
|
134
|
+
lngEnd: Number(e.lon_max ?? e.lonEnd ?? 0),
|
|
135
|
+
latEnd: Number(e.lat_max ?? e.latEnd ?? 0),
|
|
136
|
+
opacity: w.imageOpacity,
|
|
137
|
+
zIndex: w.imageZIndex,
|
|
138
|
+
otherData: { imgId: "HdRadarTimeLine" }
|
|
139
|
+
}] });
|
|
140
|
+
}, Y = () => {
|
|
141
|
+
T("clearImage", "HdRadarTimeLine");
|
|
142
|
+
}, Be = (e) => {
|
|
143
|
+
e.button === 0 && (V = !0, Ue(e), e.preventDefault());
|
|
144
|
+
}, Ve = (e) => {
|
|
145
|
+
V && Ue(e);
|
|
146
|
+
}, He = () => {
|
|
147
|
+
V = !1;
|
|
148
|
+
}, Ue = (e) => {
|
|
149
|
+
if (!k.value || !M.value.length) return;
|
|
150
|
+
let t = k.value.getBoundingClientRect(), n = e.clientX - t.left;
|
|
151
|
+
n = Math.max(0, Math.min(n, t.width));
|
|
152
|
+
let r = n / t.width, i = Math.round(r * (M.value.length - 1));
|
|
153
|
+
I.value = Math.max(0, Math.min(M.value.length - 1, i));
|
|
154
|
+
}, We = (e) => {
|
|
155
|
+
O.value && !O.value.contains(e.target) && K();
|
|
156
|
+
}, Ge = (e) => {
|
|
157
|
+
if (!E.value) return;
|
|
158
|
+
let t = E.value.getBoundingClientRect();
|
|
159
|
+
H.x = e.clientX - t.left, H.y = e.clientY - t.top, document.addEventListener("mousemove", Ke), document.addEventListener("mouseup", X), e.preventDefault();
|
|
160
|
+
}, Ke = (e) => {
|
|
161
|
+
E.value && (E.value.style.left = `${e.clientX - H.x}px`, E.value.style.top = `${e.clientY - H.y}px`, E.value.style.transform = "none");
|
|
162
|
+
}, X = () => {
|
|
163
|
+
document.removeEventListener("mousemove", Ke), document.removeEventListener("mouseup", X);
|
|
164
|
+
}, qe = (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, Je = (e) => {
|
|
165
|
+
let t = w.ids?.[e];
|
|
166
|
+
return t?.id ? t : null;
|
|
167
|
+
}, Z = async (e, n = {}) => {
|
|
168
|
+
let r = Je(e);
|
|
169
|
+
if (!r) return null;
|
|
170
|
+
try {
|
|
171
|
+
return qe(await t({
|
|
172
|
+
id: r.id,
|
|
173
|
+
baseHttp: w.baseHttp,
|
|
174
|
+
reqType: r.reqType,
|
|
175
|
+
variables: n,
|
|
176
|
+
isFormData: r.isFormData,
|
|
177
|
+
appKey: w.appKey,
|
|
178
|
+
appSalt: w.appSalt
|
|
179
|
+
}));
|
|
180
|
+
} catch (t) {
|
|
181
|
+
return console.error(`[HdRadarTimeLine] request ${e} failed:`, t), null;
|
|
182
|
+
}
|
|
183
|
+
}, Q = (e, t) => {
|
|
184
|
+
let n = e.image_paths;
|
|
185
|
+
if (typeof n == "string") try {
|
|
186
|
+
n = JSON.parse(n);
|
|
187
|
+
} catch {
|
|
188
|
+
n = {};
|
|
189
|
+
}
|
|
190
|
+
let r = n?.[t] || e.url || e.file_url || "";
|
|
191
|
+
return r ? r.startsWith("http") ? r : `${w.imgBaseUrl?.replace(/\/$/, "") || "/imageProxy"}${r.startsWith("/") ? "" : "/"}${r}` : "";
|
|
192
|
+
}, Ye = (e) => e ? e.substring(0, 19) : "", Xe = (e) => e ? e.substring(5, 16) : "", Ze = async () => {
|
|
193
|
+
let e = await Z("legend");
|
|
194
|
+
N.value = (Array.isArray(e) ? e : []).map((e) => ({
|
|
195
|
+
dbz_min: Number(e.dbz_min ?? e.min_dbz ?? 0),
|
|
196
|
+
color: e.color || "#000",
|
|
197
|
+
display_order: Number(e.display_order ?? e.order ?? 0),
|
|
198
|
+
...e
|
|
199
|
+
})).sort((e, t) => e.display_order - t.display_order);
|
|
200
|
+
}, Qe = async () => {
|
|
201
|
+
let e = await Z("select");
|
|
202
|
+
P.value = (Array.isArray(e) ? e : []).map((e) => {
|
|
203
|
+
let t = e.image_name || "";
|
|
204
|
+
return {
|
|
205
|
+
image_name: t,
|
|
206
|
+
min_dbz: Number(e.min_dbz ?? 0),
|
|
207
|
+
displayName: $e(t, e.min_dbz),
|
|
208
|
+
...e
|
|
209
|
+
};
|
|
210
|
+
}).sort((e, t) => e.min_dbz - t.min_dbz), P.value.length && !F.value && (F.value = P.value[0].image_name);
|
|
211
|
+
}, $e = (e, t) => !e || e === "all" ? "全部" : t == null ? e.toUpperCase() : `≥${t}dBZ`, $ = async () => {
|
|
212
|
+
z.value = !0;
|
|
213
|
+
try {
|
|
214
|
+
let e = await Z("data", { dataTimeBj: j.value });
|
|
215
|
+
M.value = (Array.isArray(e) ? e : []).map((e) => {
|
|
216
|
+
let t = e.obs_time_bj || e.collect_time || e.radar_time || e.time || "";
|
|
217
|
+
return {
|
|
218
|
+
...e,
|
|
219
|
+
time: t,
|
|
220
|
+
displayTime: Xe(t),
|
|
221
|
+
timeText: t.substring(11, 16),
|
|
222
|
+
imageUrl: Q(e, F.value || "all")
|
|
223
|
+
};
|
|
224
|
+
}).sort((e, t) => new Date(e.time).getTime() - new Date(t.time).getTime()), M.value.length ? I.value = M.value.length - 1 : I.value = 0;
|
|
225
|
+
} finally {
|
|
226
|
+
z.value = !1;
|
|
227
|
+
}
|
|
228
|
+
}, et = async () => {
|
|
229
|
+
await Promise.all([Ze(), Qe()]), j.value ||= Ye((/* @__PURE__ */ new Date()).toISOString().replace("T", " ").substring(0, 19)), await $();
|
|
230
|
+
};
|
|
231
|
+
return te(() => {
|
|
232
|
+
et(), document.addEventListener("click", We), D.value?.addEventListener("mousedown", Ge), C?.on("toComponent", (e) => {
|
|
233
|
+
e.componentName === "HdRadarTimeLine" && $();
|
|
234
|
+
});
|
|
235
|
+
}), g(() => {
|
|
236
|
+
J(), Y(), document.removeEventListener("click", We), D.value?.removeEventListener("mousedown", Ge);
|
|
237
|
+
}), (t, o) => {
|
|
238
|
+
let d = r, f = n, p = i, g = ee;
|
|
239
|
+
return _(), c("div", {
|
|
240
|
+
class: "HdRadarTimeLine",
|
|
241
|
+
ref_key: "popupRef",
|
|
242
|
+
ref: E
|
|
243
|
+
}, [l("div", {
|
|
244
|
+
class: "HdRadarTimeLine-header",
|
|
245
|
+
ref_key: "dragHandleRef",
|
|
246
|
+
ref: D
|
|
247
|
+
}, [l("button", {
|
|
248
|
+
class: "HdRadarTimeLine-close",
|
|
249
|
+
onClick: Fe,
|
|
250
|
+
title: "关闭"
|
|
251
|
+
}, [...o[2] ||= [l("span", null, "×", -1)]])], 512), l("div", se, [
|
|
252
|
+
l("div", ce, [l("div", le, [l("div", ue, [l("div", de, [u(f, { locale: ne(oe) }, {
|
|
253
|
+
default: S(() => [u(d, {
|
|
254
|
+
modelValue: j.value,
|
|
255
|
+
"onUpdate:modelValue": o[0] ||= (e) => j.value = e,
|
|
256
|
+
type: "datetime",
|
|
257
|
+
placeholder: "选择查询时间",
|
|
258
|
+
format: "YYYY-MM-DD HH:mm",
|
|
259
|
+
"value-format": "YYYY-MM-DD HH:mm:ss",
|
|
260
|
+
clearable: !1,
|
|
261
|
+
size: "small",
|
|
262
|
+
class: "HdRadarTimeLine-datePicker",
|
|
263
|
+
"popper-class": "HdRadarTimeLine-datePopper",
|
|
264
|
+
onChange: Pe
|
|
265
|
+
}, null, 8, ["modelValue"])]),
|
|
266
|
+
_: 1
|
|
267
|
+
}, 8, ["locale"])]), l("div", {
|
|
268
|
+
class: "HdRadarTimeLine-dropdown",
|
|
269
|
+
ref_key: "dbzDropdownRef",
|
|
270
|
+
ref: O
|
|
271
|
+
}, [l("div", {
|
|
272
|
+
class: "HdRadarTimeLine-dropdownTrigger",
|
|
273
|
+
onClick: je
|
|
274
|
+
}, [l("span", fe, b(Oe.value), 1), l("span", { class: m(["HdRadarTimeLine-dropdownArrow", {
|
|
275
|
+
"HdRadarTimeLine-dropdownArrow--open": A.value,
|
|
276
|
+
"HdRadarTimeLine-dropdownArrow--up": e.dropdownDirection === "up"
|
|
277
|
+
}]) }, "▼", 2)]), ie(l("div", { class: m(["HdRadarTimeLine-dropdownPanel", {
|
|
278
|
+
"HdRadarTimeLine-dropdownPanel--up": e.dropdownDirection === "up",
|
|
279
|
+
"HdRadarTimeLine-dropdownPanel--down": e.dropdownDirection === "down"
|
|
280
|
+
}]) }, [l("div", pe, [P.value.length === 0 ? (_(), c("div", me, " 暂无数据 ")) : (_(!0), c(a, { key: 1 }, y(P.value, (e, t) => (_(), c("div", {
|
|
281
|
+
key: t,
|
|
282
|
+
class: m(["HdRadarTimeLine-dropdownItem", { "HdRadarTimeLine-dropdownItem--active": F.value === e.image_name }]),
|
|
283
|
+
onClick: (t) => Me(e.image_name)
|
|
284
|
+
}, b(e.displayName), 11, he))), 128))])], 2), [[re, A.value]])], 512)]), N.value.length ? (_(), c("div", ge, [l("div", _e, [(_(!0), c(a, null, y(G.value, (e, t) => (_(), c("div", {
|
|
285
|
+
key: t,
|
|
286
|
+
class: "HdRadarTimeLine-legendBlock",
|
|
287
|
+
style: h({ backgroundColor: e.color })
|
|
288
|
+
}, null, 4))), 128))]), l("div", ve, [(_(!0), c(a, null, y(ke.value, (e, t) => (_(), c("span", {
|
|
289
|
+
key: t,
|
|
290
|
+
style: h({ left: e.position + "%" })
|
|
291
|
+
}, b(e.value), 5))), 128))])])) : s("", !0)]), l("div", ye, [l("div", be, [o[3] ||= l("span", { class: "HdRadarTimeLine-speedLabel" }, "播放间隔", -1), u(g, {
|
|
292
|
+
modelValue: R.value,
|
|
293
|
+
"onUpdate:modelValue": o[1] ||= (e) => R.value = e,
|
|
294
|
+
class: "HdRadarTimeLine-speedSelect",
|
|
295
|
+
"popper-class": "HdRadarTimeLine-speedPopper",
|
|
296
|
+
size: "small",
|
|
297
|
+
teleported: !1
|
|
298
|
+
}, {
|
|
299
|
+
default: S(() => [(_(), c(a, null, y(De, (e) => u(p, {
|
|
300
|
+
key: e,
|
|
301
|
+
label: `×${e}s`,
|
|
302
|
+
value: e
|
|
303
|
+
}, null, 8, ["label", "value"])), 64))]),
|
|
304
|
+
_: 1
|
|
305
|
+
}, 8, ["modelValue"])])])]),
|
|
306
|
+
l("div", xe, [l("button", {
|
|
307
|
+
class: m(["HdRadarTimeLine-playBtn", { "HdRadarTimeLine-playBtn--playing": L.value }]),
|
|
308
|
+
onClick: Ie
|
|
309
|
+
}, [L.value ? (_(), c("svg", Ce, [...o[5] ||= [l("path", { d: "M6 4h4v16H6V4zm8 0h4v16h-4V4z" }, null, -1)]])) : (_(), c("svg", Se, [...o[4] ||= [l("path", { d: "M8 5v14l11-7z" }, null, -1)]]))], 2)]),
|
|
310
|
+
l("div", {
|
|
311
|
+
class: "HdRadarTimeLine-track",
|
|
312
|
+
ref_key: "trackRef",
|
|
313
|
+
ref: k,
|
|
314
|
+
onMousedown: Be,
|
|
315
|
+
onMousemove: Ve,
|
|
316
|
+
onMouseup: He,
|
|
317
|
+
onMouseleave: He
|
|
318
|
+
}, [
|
|
319
|
+
o[7] ||= l("div", { class: "HdRadarTimeLine-trackBg" }, [l("span", { class: "HdRadarTimeLine-trackLabel" }, "实况")], -1),
|
|
320
|
+
l("div", we, [(_(!0), c(a, null, y(M.value, (e, t) => (_(), c("div", {
|
|
321
|
+
key: t,
|
|
322
|
+
class: m(["HdRadarTimeLine-tick", { "HdRadarTimeLine-tick--active": I.value === t }]),
|
|
323
|
+
style: h({ left: Ae(t) + "%" }),
|
|
324
|
+
onClick: ae((e) => Ne(t), ["stop"])
|
|
325
|
+
}, [...o[6] ||= [l("div", { class: "HdRadarTimeLine-tickDot" }, null, -1)]], 14, Te))), 128))]),
|
|
326
|
+
l("div", {
|
|
327
|
+
class: "HdRadarTimeLine-indicator",
|
|
328
|
+
style: h({ left: W.value + "%" })
|
|
329
|
+
}, null, 4),
|
|
330
|
+
U.value ? (_(), c("div", {
|
|
331
|
+
key: 0,
|
|
332
|
+
class: "HdRadarTimeLine-currentTime",
|
|
333
|
+
style: h({ left: W.value + "%" })
|
|
334
|
+
}, b(U.value.timeText), 5)) : s("", !0)
|
|
335
|
+
], 544)
|
|
336
|
+
])], 512);
|
|
337
|
+
};
|
|
338
|
+
}
|
|
339
|
+
}), [["__scopeId", "data-v-a4fde338"]]);
|
|
340
|
+
//#endregion
|
|
341
|
+
export { C as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
3
|
-
import "./component-Forecast72h-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BqYQZCGJ.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-CvQdG_6E.mjs";
|
|
3
|
+
import "./component-Forecast72h-D1PxRnlY.mjs";
|
|
4
4
|
import { ElLoadingDirective as n } from "element-plus/es";
|
|
5
5
|
import { Fragment as r, computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, defineComponent as c, getCurrentInstance as l, nextTick as u, normalizeClass as d, onMounted as f, onUnmounted as p, openBlock as m, ref as h, renderList as g, toDisplayString as _, vShow as v, watch as ee, withDirectives as y } from "vue";
|
|
6
6
|
//#region src/components/HdRisk/HdRisk.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BqYQZCGJ.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-CvQdG_6E.mjs";
|
|
3
3
|
import { ElOption as n, ElSelect as r } from "element-plus/es";
|
|
4
4
|
import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, normalizeClass as p, normalizeStyle as m, onMounted as h, openBlock as g, ref as _, renderList as v, toDisplayString as y, watch as b, withCtx as x } from "vue";
|
|
5
5
|
//#region src/components/HdSeaCase/HdSeaCase.vue?vue&type=script&setup=true&lang.ts
|