nxd-plugin 1.8.26 → 1.8.28
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/YCServiceSummary-CSklmCPP.mjs +2 -0
- package/dist/chunks/{component-AiChat-B4TFE3zE.mjs → component-AiChat-COULZNRK.mjs} +7 -5
- package/dist/chunks/{component-AqiMonitor-DUYptVaD.mjs → component-AqiMonitor-C9khnF2x.mjs} +1 -1
- package/dist/chunks/{component-ChartCumulativePre-Cq640rSZ.mjs → component-ChartCumulativePre-CmcRqyrN.mjs} +2 -2
- package/dist/chunks/{component-ChartServiceMaterial-CErhwqxP.mjs → component-ChartServiceMaterial-FwkbU2Z-.mjs} +2 -2
- package/dist/chunks/{component-Duty-DbXk18Bv.mjs → component-Duty-DhQkYGMU.mjs} +2 -2
- package/dist/chunks/{component-EarlyWarningStatistic-C9qxnY7H.mjs → component-EarlyWarningStatistic-DUjk3de9.mjs} +2 -2
- package/dist/chunks/{component-EarlyWarningStatistic2-J8YH_gad.mjs → component-EarlyWarningStatistic2-kHvwn4zP.mjs} +2 -2
- package/dist/chunks/{component-Forecast72h-BIjHpvOB.mjs → component-Forecast72h-cgr5tls3.mjs} +1 -1
- package/dist/chunks/{component-GeologyLiveAlarm-Dd8vj5oc.mjs → component-GeologyLiveAlarm-BIDfv4JR.mjs} +2 -2
- package/dist/chunks/{component-GridForecastMsg-DKePezqT.mjs → component-GridForecastMsg-D8dHHVHX.mjs} +1 -1
- package/dist/chunks/{component-HDSeaLegend-B6Y_ExXl.mjs → component-HDSeaLegend-DkPk1gQ1.mjs} +2 -2
- package/dist/chunks/{component-HdCameraList-DCj26p7y.mjs → component-HdCameraList-NlgDGDxS.mjs} +2 -2
- package/dist/chunks/{component-HdFarmStation-yTK9kw5K.mjs → component-HdFarmStation-CUXisRVE.mjs} +2 -2
- package/dist/chunks/{component-HdFarmStationDialog-CZAGhZ09.mjs → component-HdFarmStationDialog-BtPMLdBf.mjs} +1 -1
- package/dist/chunks/{component-HdForecastProducts-Bxavnbn_.mjs → component-HdForecastProducts-C40qTOYa.mjs} +1 -1
- package/dist/chunks/{component-HdHeatChart-CV_X4lUL.mjs → component-HdHeatChart-Bw3VlWeE.mjs} +1 -1
- package/dist/chunks/{component-HdHeatChartDialog-DFIBGFqt.mjs → component-HdHeatChartDialog-C0FfI8Zv.mjs} +2 -2
- package/dist/chunks/{component-HdHeatService-C078t2Lb.mjs → component-HdHeatService-CIee1NwQ.mjs} +1 -1
- package/dist/chunks/{component-HdInsectDetailList-BK8f8Mnv.mjs → component-HdInsectDetailList-C_T57sID.mjs} +1 -1
- package/dist/chunks/{component-HdInsectList-DIeZFohU.mjs → component-HdInsectList-Bt48xM1M.mjs} +1 -1
- package/dist/chunks/{component-HdMajorActivity-BVV0LmCT.mjs → component-HdMajorActivity-nIv4HBSm.mjs} +33 -33
- package/dist/chunks/{component-HdObservation-C-VaYyH2.mjs → component-HdObservation-CJi_RXM_.mjs} +3 -3
- package/dist/chunks/{component-HdPreSituation-B9AlfiGm.mjs → component-HdPreSituation-D5rfQ4Tv.mjs} +3 -3
- package/dist/chunks/{component-HdQxServiceEffects-DoPAIo3K.mjs → component-HdQxServiceEffects-CzgyHOgp.mjs} +1 -1
- package/dist/chunks/{component-HdRadarList-Rd_r5Jyf.mjs → component-HdRadarList-C51u7j2s.mjs} +3 -3
- package/dist/chunks/{component-HdRadarTime-C9M0dU-8.mjs → component-HdRadarTime-CJ--ljM9.mjs} +1 -1
- package/dist/chunks/{component-HdRadarTimeLine-B6OBf-Pg.mjs → component-HdRadarTimeLine-jQxaaH8X.mjs} +1 -1
- package/dist/chunks/{component-HdRisk-U40g5Xj3.mjs → component-HdRisk-C0WY-wCs.mjs} +2 -2
- package/dist/chunks/{component-HdSeaCase-BmNDbHbK.mjs → component-HdSeaCase-agNgpzcT.mjs} +1 -1
- package/dist/chunks/{component-HdServiceMarterial-oPQAQBPf.mjs → component-HdServiceMarterial-DYQVcfuq.mjs} +2 -2
- package/dist/chunks/{component-HdServiceRequirements-Cn2yQAFr.mjs → component-HdServiceRequirements-DGn7h63L.mjs} +2 -2
- package/dist/chunks/{component-HdSoil-DW2r2PrO.mjs → component-HdSoil-BZ4yph45.mjs} +2 -2
- package/dist/chunks/{component-HdSoilDetailList-weEBkeWx.mjs → component-HdSoilDetailList-CxEzu-xk.mjs} +1 -1
- package/dist/chunks/{component-HdStationTem-D9mqc9XD.mjs → component-HdStationTem-Cyk1fdpJ.mjs} +3 -3
- package/dist/chunks/{component-HdSuggestion-2rU0ATuE.mjs → component-HdSuggestion-CBvCk-c5.mjs} +2 -2
- package/dist/chunks/{component-HdThreeWeatherTrend-CwAb4t7D.mjs → component-HdThreeWeatherTrend-CrxdQnj5.mjs} +3 -3
- package/dist/chunks/{component-HdWaveForcast-CtKZz_oX.mjs → component-HdWaveForcast-D_Y_AoL1.mjs} +2 -2
- package/dist/chunks/{component-HighQuality-DvkmQKTO.mjs → component-HighQuality-B6JxEYfF.mjs} +1 -1
- package/dist/chunks/{component-HighWayEarlyWarningRed-Dmg5HVlm.mjs → component-HighWayEarlyWarningRed-DKqRexUr.mjs} +2 -2
- package/dist/chunks/{component-HighWayFreeze-DVkYDn2y.mjs → component-HighWayFreeze-X9Lw4CtK.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarm-DXpnMrfu.mjs → component-HighwayLiveAlarm-BBXb3nQ-.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarmNew-CkTM9E69.mjs → component-HighwayLiveAlarmNew-DBZgrmS8.mjs} +3 -3
- package/dist/chunks/{component-HighwayStations-dZXng1Pp.mjs → component-HighwayStations-k3ZCYTAH.mjs} +2 -2
- package/dist/chunks/{component-HighwayWeatherForecast-BOIJfq4A.mjs → component-HighwayWeatherForecast-UCOCLt-l.mjs} +5 -5
- package/dist/chunks/{component-IframeWeb-AY4Q0ia0.mjs → component-IframeWeb-DVfyMcAT.mjs} +1 -1
- package/dist/chunks/{component-ImageGeneration-DAfTyLyu.mjs → component-ImageGeneration-QHD-5aqR.mjs} +2 -2
- package/dist/chunks/{component-IntroducePic-DiUfku2j.mjs → component-IntroducePic-DYicnxvR.mjs} +1 -1
- package/dist/chunks/{component-LithiumBatteryMiningArea-BobKwz-s.mjs → component-LithiumBatteryMiningArea-Cy9Rjgx5.mjs} +2 -2
- package/dist/chunks/{component-MapPopup-Ch1uebfw.mjs → component-MapPopup-DRakngil.mjs} +1 -1
- package/dist/chunks/{component-MaterialPreview-BEHh4GhA.mjs → component-MaterialPreview-C2AS-_sC.mjs} +1 -1
- package/dist/chunks/{component-PieLegend-Ba1nxWHs.mjs → component-PieLegend-DoIRy55w.mjs} +1 -1
- package/dist/chunks/{component-PrecipitationRanking-CqS0mbBa.mjs → component-PrecipitationRanking-cy6YEcr-.mjs} +3 -3
- package/dist/chunks/{component-RadarChart-LMmMA6A7.mjs → component-RadarChart-BR1qSBxo.mjs} +2 -2
- package/dist/chunks/{component-RadarLegend-l9w9vr_f.mjs → component-RadarLegend-BOwHlnqR.mjs} +1 -1
- package/dist/chunks/{component-RadarShortTerm-DizH0quo.mjs → component-RadarShortTerm-tP7CSL0g.mjs} +4 -4
- package/dist/chunks/{component-RadarTime-BWDaw-iw.mjs → component-RadarTime-Dv46BtEz.mjs} +2 -2
- package/dist/chunks/{component-RenderMarkdown-Clw2xqOC.mjs → component-RenderMarkdown-CVp2KsJr.mjs} +2 -2
- package/dist/chunks/{component-ReservoirLiveAlarm-R3RefHIi.mjs → component-ReservoirLiveAlarm-D6SaqJel.mjs} +3 -3
- package/dist/chunks/{component-ServiceMaterial-Da0ILm9y.mjs → component-ServiceMaterial-B-meX-St.mjs} +2 -2
- package/dist/chunks/{component-ServiceMaterialsBtn-B_6-YIc5.mjs → component-ServiceMaterialsBtn-DYzPuzq_.mjs} +2 -2
- package/dist/chunks/{component-StationDialog-K1wrh7kx.mjs → component-StationDialog-NQdthKaR.mjs} +2 -2
- package/dist/chunks/{component-StationList-Dq-63LLt.mjs → component-StationList-rA77RHJb.mjs} +3 -3
- package/dist/chunks/{component-TimeBasedForecast-YzCCWp9R.mjs → component-TimeBasedForecast-CTLJVn2P.mjs} +4 -4
- package/dist/chunks/{component-Typhoon-BX0ATGhX.mjs → component-Typhoon-46xEbA06.mjs} +2 -2
- package/dist/chunks/{component-WarningLine-DnjWVWan.mjs → component-WarningLine-BzedbVnZ.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-hmEQJo1P.mjs → component-WarningSignal-CSF12lq7.mjs} +3 -3
- package/dist/chunks/{component-WeatherForecast-fjqJA4vE.mjs → component-WeatherForecast-BTzDg7Mi.mjs} +4 -4
- package/dist/chunks/{component-YCDataMonitor-DAlpbqC8.mjs → component-YCDataMonitor-sg_93erW.mjs} +1 -1
- package/dist/chunks/{component-YCDataService-ZZ9R5J61.mjs → component-YCDataService-oOkpc1PC.mjs} +3 -3
- package/dist/chunks/{component-YCHighWaySummary-NIrrN5ax.mjs → component-YCHighWaySummary-CvoowBjy.mjs} +2 -2
- package/dist/chunks/{component-YCHome-C7P3z9b4.mjs → component-YCHome-DcmieyM7.mjs} +3 -3
- package/dist/chunks/{component-YCHomeLegend-Bz8x145l.mjs → component-YCHomeLegend-0aeWXs2n.mjs} +2 -2
- package/dist/chunks/{component-YCLoginNew-DwcT8Oy-.mjs → component-YCLoginNew-BEoGLgtQ.mjs} +2 -2
- package/dist/chunks/{component-YCServiceSummary-_oIWF2bg.mjs → component-YCServiceSummary-LZ-2GeV8.mjs} +55 -54
- package/dist/components/HdMajorActivity/HdMajorActivity.vue.d.ts +1 -0
- package/dist/nxd-plugin.mjs +73 -73
- package/dist/styles/component-HdMajorActivity.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-ocAo3i11.mjs +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import { i as t, o as n } from "./component-AiChat-
|
|
3
|
-
import "./component-Forecast72h-
|
|
4
|
-
import { n as r } from "./component-HdFarmStationDialog-
|
|
2
|
+
import { i as t, o as n } from "./component-AiChat-COULZNRK.mjs";
|
|
3
|
+
import "./component-Forecast72h-cgr5tls3.mjs";
|
|
4
|
+
import { n as r } from "./component-HdFarmStationDialog-BtPMLdBf.mjs";
|
|
5
5
|
import { ElConfigProvider as i, ElDatePicker as a, ElIcon as o, ElLoadingDirective as s, ElTable as c, ElTableColumn as l } from "element-plus/es";
|
|
6
6
|
import { Fragment as u, computed as d, createBlock as ee, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createTextVNode as te, createVNode as h, defineComponent as g, getCurrentInstance as _, nextTick as v, normalizeClass as y, onBeforeUnmount as b, onMounted as ne, openBlock as x, ref as S, renderList as C, toDisplayString as w, unref as T, withCtx as E, withDirectives as re, withModifiers as ie } from "vue";
|
|
7
7
|
import { Download as ae, Refresh as oe } from "@element-plus/icons-vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import { i as e, o as t } from "./component-AiChat-
|
|
1
|
+
import "./component-AqiMonitor-C9khnF2x.mjs";
|
|
2
|
+
import { i as e, o as t } from "./component-AiChat-COULZNRK.mjs";
|
|
3
3
|
import { ElLoadingDirective as n } from "element-plus/es";
|
|
4
4
|
import { Fragment as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, defineComponent as s, getCurrentInstance as c, onMounted as l, openBlock as u, ref as d, renderList as f, toDisplayString as p, vModelCheckbox as m, withDirectives as h } from "vue";
|
|
5
5
|
//#region src/components/RadarChart/RadarChart.vue?vue&type=script&setup=true&lang.ts
|
package/dist/chunks/{component-RadarLegend-l9w9vr_f.mjs → component-RadarLegend-BOwHlnqR.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as e } from "./component-AiChat-
|
|
1
|
+
import { i as e } from "./component-AiChat-COULZNRK.mjs";
|
|
2
2
|
import { Fragment as t, createElementBlock as n, createElementVNode as r, defineComponent as i, getCurrentInstance as a, normalizeClass as o, normalizeStyle as s, onMounted as c, openBlock as l, ref as u, renderList as d, toDisplayString as f, vShow as p, withDirectives as m } from "vue";
|
|
3
3
|
//#region src/components/RadarLegend/RadarLegend.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var h = { class: "RadarLegend-colorList" }, g = { class: "valueText" }, _ = /* @__PURE__ */ e(/* @__PURE__ */ i({
|
package/dist/chunks/{component-RadarShortTerm-DizH0quo.mjs → component-RadarShortTerm-tP7CSL0g.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import { i as e, o as t } from "./component-AiChat-
|
|
3
|
-
import { n } from "./component-HighWayEarlyWarningRed-
|
|
4
|
-
import { t as r } from "./component-RadarLegend-
|
|
1
|
+
import "./component-AqiMonitor-C9khnF2x.mjs";
|
|
2
|
+
import { i as e, o as t } from "./component-AiChat-COULZNRK.mjs";
|
|
3
|
+
import { n } from "./component-HighWayEarlyWarningRed-DKqRexUr.mjs";
|
|
4
|
+
import { t as r } from "./component-RadarLegend-BOwHlnqR.mjs";
|
|
5
5
|
import { ElCheckbox as i, ElIcon as a, ElLoadingDirective as o } from "element-plus/es";
|
|
6
6
|
import { Fragment as s, computed as c, createBlock as l, createCommentVNode as ee, createElementBlock as u, createElementVNode as d, createTextVNode as te, createVNode as f, defineComponent as p, nextTick as m, normalizeClass as h, normalizeStyle as g, onBeforeUnmount as ne, onMounted as re, openBlock as _, ref as v, renderList as y, toDisplayString as b, unref as x, vShow as S, watch as ie, withCtx as C, withDirectives as w } from "vue";
|
|
7
7
|
import { ArrowRight as T, VideoPause as ae, VideoPlay as oe } from "@element-plus/icons-vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import { i as e, o as t } from "./component-AiChat-
|
|
1
|
+
import "./component-AqiMonitor-C9khnF2x.mjs";
|
|
2
|
+
import { i as e, o as t } from "./component-AiChat-COULZNRK.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, normalizeStyle as d, onMounted as f, onUnmounted as ee, openBlock as p, ref as m, renderList as h, toDisplayString as g, vShow as _, watch as te, withDirectives as v, withModifiers as y } from "vue";
|
|
5
5
|
//#region src/components/RadarTime/RadarTime.vue?vue&type=script&setup=true&lang.ts
|
package/dist/chunks/{component-RenderMarkdown-Clw2xqOC.mjs → component-RenderMarkdown-CVp2KsJr.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import { i as e, o as t } from "./component-AiChat-
|
|
1
|
+
import "./component-AqiMonitor-C9khnF2x.mjs";
|
|
2
|
+
import { i as e, o as t } from "./component-AiChat-COULZNRK.mjs";
|
|
3
3
|
import { createCommentVNode as n, createElementBlock as r, createElementVNode as i, defineComponent as a, onBeforeUnmount as o, onMounted as s, openBlock as c, ref as l, toDisplayString as u } from "vue";
|
|
4
4
|
//#region src/components/RenderMarkdown/RenderMarkdown.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var d = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import { i as e, o as t } from "./component-AiChat-
|
|
3
|
-
import { n } from "./component-GeologyLiveAlarm-
|
|
1
|
+
import "./component-AqiMonitor-C9khnF2x.mjs";
|
|
2
|
+
import { i as e, o as t } from "./component-AiChat-COULZNRK.mjs";
|
|
3
|
+
import { n } from "./component-GeologyLiveAlarm-BIDfv4JR.mjs";
|
|
4
4
|
import { ElIcon as r, ElLoadingDirective as i, ElRadio as a, ElRadioGroup as o } from "element-plus/es";
|
|
5
5
|
import { Fragment as s, computed as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, mergeProps as ee, nextTick as h, normalizeClass as g, normalizeStyle as te, onBeforeUnmount as ne, onMounted as re, 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";
|
|
6
6
|
import { ArrowRight as T } from "@element-plus/icons-vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import { i as e, o as t } from "./component-AiChat-
|
|
1
|
+
import "./component-AqiMonitor-C9khnF2x.mjs";
|
|
2
|
+
import { i as e, o as t } from "./component-AiChat-COULZNRK.mjs";
|
|
3
3
|
import { Fragment as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, defineComponent as o, getCurrentInstance as s, onMounted as c, openBlock as l, ref as u, renderList as d, toDisplayString as f, withModifiers as p } from "vue";
|
|
4
4
|
//#region src/components/ServiceMaterial/ServiceMaterial.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var m = { class: "ServiceMaterial" }, h = { class: "ServiceMaterial__head" }, g = { class: "ServiceMaterial__head-top" }, _ = { class: "ServiceMaterial__body" }, v = { class: "ServiceMaterial__list" }, y = { class: "ServiceMaterial__list-container" }, b = { class: "ServiceMaterial__list-content" }, x = { class: "ServiceMaterial__list-col ServiceMaterial__list-col--name" }, S = ["title"], C = { class: "ServiceMaterial__list-col ServiceMaterial__list-col--time" }, w = { class: "ServiceMaterial__list-col ServiceMaterial__list-col--action" }, T = ["onClick"], E = ["onClick"], D = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import { i as e } from "./component-AiChat-
|
|
1
|
+
import "./component-AqiMonitor-C9khnF2x.mjs";
|
|
2
|
+
import { i as e } from "./component-AiChat-COULZNRK.mjs";
|
|
3
3
|
import { ElButton as t, ElDialog as n } from "element-plus/es";
|
|
4
4
|
import { Fragment as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, createVNode as s, defineComponent as c, isRef as l, onBeforeUnmount as u, onMounted as d, openBlock as f, ref as p, unref as m, withCtx as h } from "vue";
|
|
5
5
|
import "element-plus/es/components/dialog/style/css";
|
package/dist/chunks/{component-StationDialog-K1wrh7kx.mjs → component-StationDialog-NQdthKaR.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import { i as t, o as n } from "./component-AiChat-
|
|
3
|
-
import { i as r, n as i } from "./component-HdFarmStationDialog-
|
|
2
|
+
import { i as t, o as n } from "./component-AiChat-COULZNRK.mjs";
|
|
3
|
+
import { i as r, n as i } from "./component-HdFarmStationDialog-BtPMLdBf.mjs";
|
|
4
4
|
import { ElConfigProvider as a, ElDatePicker as ee, ElIcon as te, ElLoadingDirective as ne, ElTable as re, ElTableColumn as ie } from "element-plus/es";
|
|
5
5
|
import { Fragment as o, Teleport as ae, createBlock as oe, createCommentVNode as se, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, nextTick as p, normalizeClass as m, normalizeStyle as ce, onBeforeUnmount as h, onMounted as g, openBlock as _, ref as v, renderList as y, toDisplayString as b, unref as x, vShow as le, watch as ue, withCtx as S, withDirectives as de } from "vue";
|
|
6
6
|
import { Close as fe, Download as pe, Histogram as me } from "@element-plus/icons-vue";
|
package/dist/chunks/{component-StationList-Dq-63LLt.mjs → component-StationList-rA77RHJb.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import { i as t, o as n } from "./component-AiChat-
|
|
3
|
-
import "./component-Forecast72h-
|
|
4
|
-
import { i as r, n as i } from "./component-HdFarmStationDialog-
|
|
2
|
+
import { i as t, o as n } from "./component-AiChat-COULZNRK.mjs";
|
|
3
|
+
import "./component-Forecast72h-cgr5tls3.mjs";
|
|
4
|
+
import { i as r, n as i } from "./component-HdFarmStationDialog-BtPMLdBf.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";
|
|
7
7
|
import { Download as E, RefreshRight as D } from "@element-plus/icons-vue";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import { i as e, o as t } from "./component-AiChat-
|
|
3
|
-
import { A as n, C as r, D as i, E as ee, F as a, I as o, M as s, N as c, O as l, P as u, S as d, T as f, _ as p, a as m, b as te, c as ne, d as re, f as ie, g as ae, h as oe, i as se, j as ce, k as le, l as ue, m as h, o as g, p as _, s as de, u as fe, v as pe, w as me, x as he, y as ge } from "./component-Forecast72h-
|
|
4
|
-
import { n as v } from "./component-LithiumBatteryMiningArea-
|
|
1
|
+
import "./component-AqiMonitor-C9khnF2x.mjs";
|
|
2
|
+
import { i as e, o as t } from "./component-AiChat-COULZNRK.mjs";
|
|
3
|
+
import { A as n, C as r, D as i, E as ee, F as a, I as o, M as s, N as c, O as l, P as u, S as d, T as f, _ as p, a as m, b as te, c as ne, d as re, f as ie, g as ae, h as oe, i as se, j as ce, k as le, l as ue, m as h, o as g, p as _, s as de, u as fe, v as pe, w as me, x as he, y as ge } from "./component-Forecast72h-cgr5tls3.mjs";
|
|
4
|
+
import { n as v } from "./component-LithiumBatteryMiningArea-Cy9Rjgx5.mjs";
|
|
5
5
|
import { ElLoadingDirective as y, ElOption as b, ElSelect as x } from "element-plus/es";
|
|
6
6
|
import { Fragment as S, createElementBlock as C, createElementVNode as w, createVNode as T, defineComponent as E, getCurrentInstance as D, nextTick as O, normalizeStyle as k, onBeforeUnmount as A, onMounted as j, openBlock as M, ref as N, renderList as P, toDisplayString as F, watch as I, withCtx as L, withDirectives as _e } from "vue";
|
|
7
7
|
import * as ve from "echarts";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import { a as e, i as t } from "./component-AiChat-
|
|
1
|
+
import "./component-AqiMonitor-C9khnF2x.mjs";
|
|
2
|
+
import { a as e, i as t } from "./component-AiChat-COULZNRK.mjs";
|
|
3
3
|
import { ElLoadingDirective as n } from "element-plus/es";
|
|
4
4
|
import { Fragment as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createStaticVNode as s, createTextVNode as c, defineComponent as l, getCurrentInstance as u, normalizeClass as d, normalizeStyle as f, onBeforeUnmount as ee, onMounted as te, openBlock as p, reactive as m, ref as h, renderList as g, toDisplayString as _, unref as v, vModelCheckbox as y, vShow as b, withDirectives as x } from "vue";
|
|
5
5
|
import "element-plus/es/components/loading/style/css";
|
package/dist/chunks/{component-WarningLine-DnjWVWan.mjs → component-WarningLine-BzedbVnZ.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as e } from "./component-AiChat-
|
|
2
|
-
import { $ as t, A as n, B as r, C as ee, D as te, E as ne, F as re, G as ie, H as ae, I as oe, J as se, K as ce, L as le, M as ue, N as de, O as fe, P as pe, Q as me, R as he, S as ge, T as _e, U as ve, V as ye, W as be, X as xe, Y as Se, Z as Ce, _ as i, a, at as o, b as s, c, ct as l, d as u, dt as d, et as f, f as p, ft as m, g as h, h as g, i as _, it as v, j as y, k as b, l as x, lt as S, m as C, nt as w, o as T, ot as E, p as D, q as O, r as k, rt as A, s as we, st as Te, tt as Ee, u as De, ut as Oe, v as ke, w as Ae, x as je, y as Me, z as j } from "./component-HighWayEarlyWarningRed-
|
|
1
|
+
import { o as e } from "./component-AiChat-COULZNRK.mjs";
|
|
2
|
+
import { $ as t, A as n, B as r, C as ee, D as te, E as ne, F as re, G as ie, H as ae, I as oe, J as se, K as ce, L as le, M as ue, N as de, O as fe, P as pe, Q as me, R as he, S as ge, T as _e, U as ve, V as ye, W as be, X as xe, Y as Se, Z as Ce, _ as i, a, at as o, b as s, c, ct as l, d as u, dt as d, et as f, f as p, ft as m, g as h, h as g, i as _, it as v, j as y, k as b, l as x, lt as S, m as C, nt as w, o as T, ot as E, p as D, q as O, r as k, rt as A, s as we, st as Te, tt as Ee, u as De, ut as Oe, v as ke, w as Ae, x as je, y as Me, z as j } from "./component-HighWayEarlyWarningRed-DKqRexUr.mjs";
|
|
3
3
|
import { Fragment as M, Transition as N, computed as P, createCommentVNode as F, createElementBlock as I, createElementVNode as L, createVNode as Ne, defineComponent as R, getCurrentInstance as Pe, normalizeStyle as Fe, onMounted as Ie, onUnmounted as Le, openBlock as z, ref as B, renderList as Re, toDisplayString as V, watch as ze, withCtx as Be } from "vue";
|
|
4
4
|
//#region src/components/WarningLine/WarningLine.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var Ve = { class: "WarningLine__content" }, He = { class: "WarningLine__scroll-container" }, Ue = ["src"], We = { class: "WarningLine__text" }, Ge = {
|
package/dist/chunks/{component-WarningSignal-hmEQJo1P.mjs → component-WarningSignal-CSF12lq7.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import { i as e, o as t } from "./component-AiChat-
|
|
3
|
-
import { $ as n, A as r, B as i, C as a, D as o, E as s, F as c, G as l, H as u, I as d, J as f, K as p, L as m, M as h, N as ee, O as te, P as ne, Q as re, R as ie, S as ae, T as oe, U as se, V as ce, W as le, X as ue, Y as de, Z as fe, _ as pe, a as me, at as he, b as ge, c as _e, ct as ve, d as ye, dt as be, et as xe, f as Se, ft as Ce, g as we, h as Te, i as Ee, it as g, j as _, k as v, l as y, lt as b, m as x, n as S, nt as C, o as w, ot as T, p as E, q as D, r as De, rt as Oe, s as ke, st as Ae, tt as je, u as Me, ut as Ne, v as Pe, w as Fe, x as Ie, y as Le, z as Re } from "./component-HighWayEarlyWarningRed-
|
|
1
|
+
import "./component-AqiMonitor-C9khnF2x.mjs";
|
|
2
|
+
import { i as e, o as t } from "./component-AiChat-COULZNRK.mjs";
|
|
3
|
+
import { $ as n, A as r, B as i, C as a, D as o, E as s, F as c, G as l, H as u, I as d, J as f, K as p, L as m, M as h, N as ee, O as te, P as ne, Q as re, R as ie, S as ae, T as oe, U as se, V as ce, W as le, X as ue, Y as de, Z as fe, _ as pe, a as me, at as he, b as ge, c as _e, ct as ve, d as ye, dt as be, et as xe, f as Se, ft as Ce, g as we, h as Te, i as Ee, it as g, j as _, k as v, l as y, lt as b, m as x, n as S, nt as C, o as w, ot as T, p as E, q as D, r as De, rt as Oe, s as ke, st as Ae, tt as je, u as Me, ut as Ne, v as Pe, w as Fe, x as Ie, y as Le, z as Re } from "./component-HighWayEarlyWarningRed-DKqRexUr.mjs";
|
|
4
4
|
import { ElLoadingDirective as O } from "element-plus/es";
|
|
5
5
|
import { Fragment as k, computed as A, createCommentVNode as j, createElementBlock as M, createElementVNode as N, createStaticVNode as ze, createVNode as Be, defineComponent as P, getCurrentInstance as Ve, normalizeStyle as F, onBeforeUnmount as I, onMounted as He, openBlock as L, ref as R, renderList as Ue, toDisplayString as z, unref as B, vShow as We, watch as V, withDirectives as H, withModifiers as U } from "vue";
|
|
6
6
|
import "element-plus/es/components/loading/style/css";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import { i as e, o as t } from "./component-AiChat-
|
|
3
|
-
import { A as n, C as r, D as i, E as a, F as o, I as s, M as c, N as l, O as u, P as ee, S as te, T as ne, _ as d, a as f, b as p, c as m, d as h, f as g, g as _, h as v, i as re, j as ie, k as ae, l as oe, m as se, o as ce, p as le, s as y, u as b, v as x, w as S, x as C, y as w } from "./component-Forecast72h-
|
|
4
|
-
import { n as T } from "./component-LithiumBatteryMiningArea-
|
|
1
|
+
import "./component-AqiMonitor-C9khnF2x.mjs";
|
|
2
|
+
import { i as e, o as t } from "./component-AiChat-COULZNRK.mjs";
|
|
3
|
+
import { A as n, C as r, D as i, E as a, F as o, I as s, M as c, N as l, O as u, P as ee, S as te, T as ne, _ as d, a as f, b as p, c as m, d as h, f as g, g as _, h as v, i as re, j as ie, k as ae, l as oe, m as se, o as ce, p as le, s as y, u as b, v as x, w as S, x as C, y as w } from "./component-Forecast72h-cgr5tls3.mjs";
|
|
4
|
+
import { n as T } from "./component-LithiumBatteryMiningArea-Cy9Rjgx5.mjs";
|
|
5
5
|
import { ElLoadingDirective as E } from "element-plus/es";
|
|
6
6
|
import { Fragment as D, createCommentVNode as O, createElementBlock as k, createElementVNode as A, defineComponent as j, getCurrentInstance as M, normalizeClass as N, onMounted as P, openBlock as F, ref as I, renderList as L, toDisplayString as R, vShow as z, withDirectives as B } from "vue";
|
|
7
7
|
import "element-plus/es/components/loading/style/css";
|
package/dist/chunks/{component-YCDataMonitor-DAlpbqC8.mjs → component-YCDataMonitor-sg_93erW.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as e, o as t } from "./component-AiChat-
|
|
1
|
+
import { i as e, o as t } from "./component-AiChat-COULZNRK.mjs";
|
|
2
2
|
import { ElConfigProvider as n, ElDatePicker as r, ElInput as i, ElLoadingDirective as a } from "element-plus/es";
|
|
3
3
|
import { Fragment as o, Teleport as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineComponent as h, normalizeClass as g, onBeforeUnmount as _, onMounted as v, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as ee, withCtx as te, withDirectives as C } from "vue";
|
|
4
4
|
import { ElMessage as w } from "element-plus";
|
package/dist/chunks/{component-YCDataService-ZZ9R5J61.mjs → component-YCDataService-oOkpc1PC.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as e, o as t } from "./component-AiChat-
|
|
2
|
-
import { a as n } from "./component-HdFarmStationDialog-
|
|
3
|
-
import { t as r } from "./component-YCDataMonitor-
|
|
1
|
+
import { i as e, o as t } from "./component-AiChat-COULZNRK.mjs";
|
|
2
|
+
import { a as n } from "./component-HdFarmStationDialog-BtPMLdBf.mjs";
|
|
3
|
+
import { t as r } from "./component-YCDataMonitor-sg_93erW.mjs";
|
|
4
4
|
import { ElConfigProvider as i, ElDatePicker as a, ElInput as o, ElLoadingDirective as s } from "element-plus/es";
|
|
5
5
|
import { Fragment as c, computed as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineComponent as h, normalizeClass as g, onBeforeUnmount as _, onMounted as v, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as C, vShow as w, withCtx as T, withDirectives as E } from "vue";
|
|
6
6
|
import "element-plus/es/components/loading/style/css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import { i as e, o as t } from "./component-AiChat-
|
|
1
|
+
import "./component-AqiMonitor-C9khnF2x.mjs";
|
|
2
|
+
import { i as e, o as t } from "./component-AiChat-COULZNRK.mjs";
|
|
3
3
|
import { createElementBlock as n, createElementVNode as r, createTextVNode as i, defineComponent as a, onBeforeUnmount as o, onMounted as s, openBlock as c, ref as l, toDisplayString as u } from "vue";
|
|
4
4
|
//#region src/components/YCHighWaySummary/YCHighWaySummary.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var d = { class: "YCHighWaySummary" }, f = { class: "YCHighWaySummary__body" }, p = { class: "YCHighWaySummary__section" }, m = { class: "YCHighWaySummary__section" }, h = /* @__PURE__ */ e(/* @__PURE__ */ a({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as e, o as t, r as n } from "./component-AiChat-
|
|
2
|
-
import "./component-Forecast72h-
|
|
3
|
-
import { n as r } from "./component-LithiumBatteryMiningArea-
|
|
1
|
+
import { i as e, o as t, r as n } from "./component-AiChat-COULZNRK.mjs";
|
|
2
|
+
import "./component-Forecast72h-cgr5tls3.mjs";
|
|
3
|
+
import { n as r } from "./component-LithiumBatteryMiningArea-Cy9Rjgx5.mjs";
|
|
4
4
|
import { ElButton as i, ElDialog as ee, ElForm as te, ElFormItem as ne, ElIcon as re, ElInput as ie } from "element-plus/es";
|
|
5
5
|
import { Fragment as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createStaticVNode as u, createTextVNode as d, createVNode as f, normalizeClass as p, normalizeStyle as ae, onBeforeUnmount as m, onMounted as h, openBlock as g, reactive as _, ref as v, renderList as y, toDisplayString as b, unref as x, withCtx as S, withKeys as oe, withModifiers as se } from "vue";
|
|
6
6
|
import { ArrowLeft as ce, ArrowRight as le, Lock as ue, User as de } from "@element-plus/icons-vue";
|
package/dist/chunks/{component-YCHomeLegend-Bz8x145l.mjs → component-YCHomeLegend-0aeWXs2n.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./component-AqiMonitor-
|
|
2
|
-
import { i as e } from "./component-AiChat-
|
|
1
|
+
import "./component-AqiMonitor-C9khnF2x.mjs";
|
|
2
|
+
import { i as e } from "./component-AiChat-COULZNRK.mjs";
|
|
3
3
|
import { createElementBlock as t, createElementVNode as n, createStaticVNode as r, onMounted as i, openBlock as a } from "vue";
|
|
4
4
|
//#endregion
|
|
5
5
|
//#region src/components/YCHomeLegend/YCHomeLegend.vue
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as e, l as t, o as n, s as r } from "./component-AiChat-
|
|
2
|
-
import { n as i } from "./component-LithiumBatteryMiningArea-
|
|
1
|
+
import { i as e, l as t, o as n, s as r } from "./component-AiChat-COULZNRK.mjs";
|
|
2
|
+
import { n as i } from "./component-LithiumBatteryMiningArea-Cy9Rjgx5.mjs";
|
|
3
3
|
import { ElButton as ee, ElForm as a, ElFormItem as o, ElIcon as s, ElInput as te } from "element-plus/es";
|
|
4
4
|
import { Fragment as ne, createBlock as c, createElementBlock as l, createElementVNode as u, createTextVNode as re, createVNode as d, defineComponent as f, onBeforeUnmount as p, onMounted as ie, openBlock as m, reactive as h, ref as g, renderList as _, toDisplayString as v, unref as y, withCtx as b, withKeys as ae } from "vue";
|
|
5
5
|
import { Lock as x, Message as oe, Platform as se, User as S } from "@element-plus/icons-vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as e, n as t, o as n } from "./component-AiChat-
|
|
1
|
+
import { i as e, n as t, o as n } from "./component-AiChat-COULZNRK.mjs";
|
|
2
2
|
import { ElLoadingDirective as r } from "element-plus/es";
|
|
3
3
|
import { Fragment as i, computed as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createStaticVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, mergeProps as p, nextTick as m, normalizeClass as h, onBeforeUnmount as g, onMounted as _, openBlock as v, ref as y, renderList as b, toDisplayString as x, vModelText as S, watch as C, withDirectives as w } from "vue";
|
|
4
4
|
import * as T from "echarts";
|
|
@@ -13,7 +13,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
13
13
|
}, j = ["innerHTML"], M = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: "YCAIChatPanel-subMenu"
|
|
16
|
-
}, N = ["onClick"],
|
|
16
|
+
}, N = ["onClick"], P = ["src"], ee = { class: "YCAIChatPanel-footer" }, te = { class: "YCAIChatPanel-mainMenu" }, F = ["onClick"], ne = { class: "YCAIChatPanel-inputBar" }, re = ["placeholder"], ie = ["disabled"], ae = 2e3, I = 300 * 1e3, oe = "正在思考...", se = "做材料", L = /* @__PURE__ */ e(/* @__PURE__ */ f({
|
|
17
17
|
__name: "YCAIChatPanel",
|
|
18
18
|
props: [
|
|
19
19
|
"appKey",
|
|
@@ -102,7 +102,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
102
102
|
id: e.id
|
|
103
103
|
}))
|
|
104
104
|
};
|
|
105
|
-
}).filter((e) => e.label && e.label !==
|
|
105
|
+
}).filter((e) => e.label && e.label !== se);
|
|
106
106
|
} catch (e) {
|
|
107
107
|
console.error("[YCAIChatPanel] 获取菜单失败:", e);
|
|
108
108
|
}
|
|
@@ -121,7 +121,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
121
121
|
status: "end"
|
|
122
122
|
}), H.value.push({
|
|
123
123
|
role: "ai",
|
|
124
|
-
content:
|
|
124
|
+
content: oe,
|
|
125
125
|
status: "thinking"
|
|
126
126
|
}), p.value = "", m(() => {
|
|
127
127
|
$(), Q();
|
|
@@ -167,12 +167,12 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
167
167
|
await J(a, t, n, i);
|
|
168
168
|
return;
|
|
169
169
|
}
|
|
170
|
-
V = setTimeout(() => J(a, t, n, i),
|
|
170
|
+
V = setTimeout(() => J(a, t, n, i), ae);
|
|
171
171
|
} catch (e) {
|
|
172
172
|
console.error("[YCAIChatPanel] mobileBot 对话失败:", e), Y("请求失败,请稍后重试", "error"), C.value = !1;
|
|
173
173
|
}
|
|
174
174
|
}, J = async (e, t, n, r) => {
|
|
175
|
-
if (Date.now() - r >
|
|
175
|
+
if (Date.now() - r > I) {
|
|
176
176
|
Y("查询超时,请稍后重试", "error"), C.value = !1, Z();
|
|
177
177
|
return;
|
|
178
178
|
}
|
|
@@ -181,7 +181,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
181
181
|
if (i?.errorCode !== void 0 && i?.errorCode !== 0 && i?.errorCode !== 200) throw Error(i?.message || "查询结果失败");
|
|
182
182
|
let a = i?.data || {}, o = a.status, s = a.markdown;
|
|
183
183
|
if (o === "running") {
|
|
184
|
-
V = setTimeout(() => J(e, t, n, r),
|
|
184
|
+
V = setTimeout(() => J(e, t, n, r), ae);
|
|
185
185
|
return;
|
|
186
186
|
}
|
|
187
187
|
if (o === "fail") {
|
|
@@ -238,12 +238,12 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
238
238
|
class: "YCAIChatPanel-subMenu-arrow",
|
|
239
239
|
src: ue.value,
|
|
240
240
|
alt: ""
|
|
241
|
-
}, null, 8,
|
|
242
|
-
c("div",
|
|
241
|
+
}, null, 8, P)], 8, N))), 128))])) : o("", !0),
|
|
242
|
+
c("div", ee, [c("div", te, [(v(!0), s(i, null, b(U.value, (e) => (v(), s("button", {
|
|
243
243
|
key: e.key,
|
|
244
244
|
class: h(["YCAIChatPanel-mainMenu-btn", { "is-active": T.value === e.key }]),
|
|
245
245
|
onClick: (t) => K(e.key)
|
|
246
|
-
}, x(e.label), 11,
|
|
246
|
+
}, x(e.label), 11, F))), 128))]), c("div", ne, [w(c("textarea", {
|
|
247
247
|
ref_key: "textareaRef",
|
|
248
248
|
ref: d,
|
|
249
249
|
"onUpdate:modelValue": t[0] ||= (e) => p.value = e,
|
|
@@ -252,7 +252,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
252
252
|
rows: "1",
|
|
253
253
|
onInput: $,
|
|
254
254
|
onKeydown: ve
|
|
255
|
-
}, null, 40,
|
|
255
|
+
}, null, 40, re), [[S, p.value]]), c("button", {
|
|
256
256
|
class: "YCAIChatPanel-send",
|
|
257
257
|
disabled: !ce.value,
|
|
258
258
|
onClick: q,
|
|
@@ -262,7 +262,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
262
262
|
width: "16",
|
|
263
263
|
height: "16",
|
|
264
264
|
fill: "currentColor"
|
|
265
|
-
}, [c("path", { d: "M2.01 21L23 12 2.01 3 2 10l15 2-15 2z" })], -1)]], 8,
|
|
265
|
+
}, [c("path", { d: "M2.01 21L23 12 2.01 3 2 10l15 2-15 2z" })], -1)]], 8, ie)])])
|
|
266
266
|
]));
|
|
267
267
|
}
|
|
268
268
|
}), [["__scopeId", "data-v-c958b0ae"]]), R = ["element-loading-background"], z = "#ff4d4f", B = "#52c41a", V = /* @__PURE__ */ e(/* @__PURE__ */ f({
|
|
@@ -1220,15 +1220,15 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
1220
1220
|
"showEditBtn"
|
|
1221
1221
|
],
|
|
1222
1222
|
setup(e) {
|
|
1223
|
-
let t = e, r = y([]), l = y(0), f = a(() => r.value[l.value]?.title || ""), g = a(() => r.value[l.value]?.warnInfo || ""), S = y(!1), w = a(() => t.showEditBtn != null && t.showEditBtn !== !1), T = y([]), E = y("交通气象服务材料"), D = y(""), O = y(
|
|
1223
|
+
let t = e, r = y([]), l = y(0), f = a(() => r.value[l.value]?.title || ""), g = a(() => r.value[l.value]?.warnInfo || ""), S = y(!1), w = a(() => t.showEditBtn != null && t.showEditBtn !== !1), T = y([]), E = y("交通气象服务材料"), D = y(""), O = y(""), k = y(!1), A = y(!1), j = y(""), M = y(null), N = null, P = a(() => D.value.split("/").pop() || `${E.value}.docx`), ee = (e) => e && (e.split("/").pop() || "").replace(/\.[^.]+$/, "") || "交通气象服务材料", te = (e) => !e || typeof e != "object" ? [] : Object.entries(e).map(([e, t]) => ({
|
|
1224
1224
|
label: e.includes(":") ? e : `${e}:`,
|
|
1225
1225
|
value: String(t)
|
|
1226
|
-
})),
|
|
1226
|
+
})), F = () => {
|
|
1227
1227
|
let e = r.value[l.value];
|
|
1228
|
-
e && (T.value = e.imgUrl ? String(e.imgUrl).split(",").map((e) => e.trim()).filter(Boolean) : [], E.value = ee(e.workUrl), D.value = e.workUrl || "");
|
|
1228
|
+
e && (T.value = e.imgUrl ? String(e.imgUrl).split(",").map((e) => e.trim()).filter(Boolean) : [], E.value = ee(e.workUrl), D.value = e.workUrl || "", O.value = e.workflowId || "");
|
|
1229
1229
|
};
|
|
1230
1230
|
C(l, () => {
|
|
1231
|
-
|
|
1231
|
+
F();
|
|
1232
1232
|
});
|
|
1233
1233
|
let ne = async () => {
|
|
1234
1234
|
let e = t.ids?.baseData;
|
|
@@ -1255,8 +1255,9 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
1255
1255
|
rows: te(e.数据),
|
|
1256
1256
|
warnInfo: e.预警信息 || "",
|
|
1257
1257
|
workUrl: e.workUrl || "",
|
|
1258
|
-
imgUrl: e.imgUrl || ""
|
|
1259
|
-
|
|
1258
|
+
imgUrl: e.imgUrl || "",
|
|
1259
|
+
workflowId: e.workflowId || ""
|
|
1260
|
+
})), l.value = 0, F();
|
|
1260
1261
|
} catch (e) {
|
|
1261
1262
|
console.error("[YCServiceSummary] baseData 加载失败", e);
|
|
1262
1263
|
}
|
|
@@ -1308,30 +1309,30 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
1308
1309
|
setTimeout(r, 100);
|
|
1309
1310
|
};
|
|
1310
1311
|
r();
|
|
1311
|
-
}),
|
|
1312
|
-
let e =
|
|
1312
|
+
}), I = async () => {
|
|
1313
|
+
let e = M.value;
|
|
1313
1314
|
if (e) {
|
|
1314
|
-
|
|
1315
|
+
A.value = !0, j.value = "";
|
|
1315
1316
|
try {
|
|
1316
1317
|
await ae();
|
|
1317
1318
|
let n = window.DocsAPI;
|
|
1318
1319
|
if (!n?.DocEditor) {
|
|
1319
|
-
|
|
1320
|
+
j.value = "OnlyOffice API 不可用,请检查服务地址和代理";
|
|
1320
1321
|
return;
|
|
1321
1322
|
}
|
|
1322
1323
|
let r = encodeURI(re(D.value));
|
|
1323
1324
|
if (!r) {
|
|
1324
|
-
|
|
1325
|
+
j.value = "文件地址为空";
|
|
1325
1326
|
return;
|
|
1326
1327
|
}
|
|
1327
|
-
let i = (
|
|
1328
|
-
if (
|
|
1328
|
+
let i = (P.value.split(".").pop() || "docx").toLowerCase(), a = `yc-onlyoffice-editor-${Date.now()}`;
|
|
1329
|
+
if (N) {
|
|
1329
1330
|
try {
|
|
1330
|
-
|
|
1331
|
+
N.destroyEditor();
|
|
1331
1332
|
} catch (e) {
|
|
1332
1333
|
console.warn("[YCServiceSummary] 销毁旧 OnlyOffice 编辑器失败:", e);
|
|
1333
1334
|
}
|
|
1334
|
-
|
|
1335
|
+
N = null;
|
|
1335
1336
|
}
|
|
1336
1337
|
e.innerHTML = "";
|
|
1337
1338
|
let o = document.createElement("div");
|
|
@@ -1342,10 +1343,10 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
1342
1343
|
height: "100%",
|
|
1343
1344
|
documentType: ie(i),
|
|
1344
1345
|
document: {
|
|
1345
|
-
title:
|
|
1346
|
+
title: P.value || "文档",
|
|
1346
1347
|
url: r,
|
|
1347
1348
|
fileType: i,
|
|
1348
|
-
key:
|
|
1349
|
+
key: `${O.value}_${Date.now()}_${Math.random().toString(36).slice(2)}`,
|
|
1349
1350
|
permissions: {
|
|
1350
1351
|
edit: !0,
|
|
1351
1352
|
download: !0,
|
|
@@ -1404,13 +1405,13 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
1404
1405
|
},
|
|
1405
1406
|
events: {
|
|
1406
1407
|
onReady: () => {
|
|
1407
|
-
|
|
1408
|
+
A.value = !1;
|
|
1408
1409
|
},
|
|
1409
1410
|
onAppReady: () => {
|
|
1410
|
-
|
|
1411
|
+
A.value = !1;
|
|
1411
1412
|
},
|
|
1412
1413
|
onError: (e) => {
|
|
1413
|
-
|
|
1414
|
+
A.value = !1, j.value = `文档加载失败:${e?.description || e?.data?.description || e?.message || JSON.stringify(e)}`, console.error("[YCServiceSummary] OnlyOffice onError:", e);
|
|
1414
1415
|
},
|
|
1415
1416
|
onWarning: (e) => {
|
|
1416
1417
|
console.warn("[YCServiceSummary] OnlyOffice onWarning:", e);
|
|
@@ -1418,35 +1419,35 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
1418
1419
|
}
|
|
1419
1420
|
};
|
|
1420
1421
|
try {
|
|
1421
|
-
|
|
1422
|
+
N = new n.DocEditor(a, s);
|
|
1422
1423
|
} catch (e) {
|
|
1423
|
-
console.error("[YCServiceSummary] new DocEditor 抛出异常:", e),
|
|
1424
|
+
console.error("[YCServiceSummary] new DocEditor 抛出异常:", e), j.value = "OnlyOffice 编辑器创建失败";
|
|
1424
1425
|
}
|
|
1425
1426
|
} catch (e) {
|
|
1426
|
-
console.error("[YCServiceSummary] 初始化 OnlyOffice 失败:", e),
|
|
1427
|
+
console.error("[YCServiceSummary] 初始化 OnlyOffice 失败:", e), j.value = `打开文档失败:${e instanceof Error ? e.message : String(e)}`;
|
|
1427
1428
|
} finally {
|
|
1428
|
-
|
|
1429
|
+
j.value && (A.value = !1);
|
|
1429
1430
|
}
|
|
1430
1431
|
}
|
|
1431
1432
|
}, oe = () => {
|
|
1432
|
-
|
|
1433
|
+
k.value = !0, m(() => I());
|
|
1433
1434
|
}, se = () => {
|
|
1434
|
-
if (
|
|
1435
|
+
if (N) {
|
|
1435
1436
|
try {
|
|
1436
|
-
|
|
1437
|
+
N.destroyEditor();
|
|
1437
1438
|
} catch (e) {
|
|
1438
1439
|
console.warn("[YCServiceSummary] 销毁 OnlyOffice 编辑器失败:", e);
|
|
1439
1440
|
}
|
|
1440
|
-
|
|
1441
|
+
N = null;
|
|
1441
1442
|
}
|
|
1442
|
-
|
|
1443
|
-
},
|
|
1443
|
+
M.value && (M.value.innerHTML = ""), k.value = !1, A.value = !1, j.value = "";
|
|
1444
|
+
}, R = () => {
|
|
1444
1445
|
let e = re(D.value);
|
|
1445
1446
|
if (!e) return;
|
|
1446
1447
|
let t = document.createElement("a");
|
|
1447
|
-
t.href = encodeURI(e), t.download =
|
|
1448
|
-
},
|
|
1449
|
-
e === "edit" && oe(), e === "download" &&
|
|
1448
|
+
t.href = encodeURI(e), t.download = P.value, t.target = "_blank", t.click();
|
|
1449
|
+
}, z = (e) => {
|
|
1450
|
+
e === "edit" && oe(), e === "download" && R();
|
|
1450
1451
|
};
|
|
1451
1452
|
return (e, n) => (v(), s("div", { class: h(["YCServiceSummary", { "is-dark": S.value }]) }, [
|
|
1452
1453
|
c("div", we, [c("button", {
|
|
@@ -1489,7 +1490,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
1489
1490
|
c("div", Je, [c("div", Ye, [c("span", Xe, x(E.value), 1), c("div", Ze, [w.value ? (v(), s("button", {
|
|
1490
1491
|
key: 0,
|
|
1491
1492
|
class: "YCServiceSummary-material-btn YCServiceSummary-material-btn--edit",
|
|
1492
|
-
onClick: n[2] ||= (e) =>
|
|
1493
|
+
onClick: n[2] ||= (e) => z("edit")
|
|
1493
1494
|
}, [...n[18] ||= [c("svg", {
|
|
1494
1495
|
viewBox: "0 0 24 24",
|
|
1495
1496
|
width: "12",
|
|
@@ -1497,7 +1498,7 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
1497
1498
|
fill: "currentColor"
|
|
1498
1499
|
}, [c("path", { d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a.996.996 0 000-1.41l-2.34-2.34a.996.996 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z" })], -1), u(" 编辑 ", -1)]])) : o("", !0), c("button", {
|
|
1499
1500
|
class: "YCServiceSummary-material-btn YCServiceSummary-material-btn--download",
|
|
1500
|
-
onClick: n[3] ||= (e) =>
|
|
1501
|
+
onClick: n[3] ||= (e) => z("download")
|
|
1501
1502
|
}, [...n[19] ||= [c("svg", {
|
|
1502
1503
|
viewBox: "0 0 24 24",
|
|
1503
1504
|
width: "12",
|
|
@@ -1511,9 +1512,9 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
1511
1512
|
}, null, 8, $e))), 128))])])
|
|
1512
1513
|
]),
|
|
1513
1514
|
c("div", et, [d(L, p(t, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])]),
|
|
1514
|
-
|
|
1515
|
+
k.value ? (v(), s("div", tt, [c("div", nt, [c("div", rt, [c("span", it, x(P.value), 1), c("div", { class: "YCServiceSummary-editorDialog-actions" }, [c("button", {
|
|
1515
1516
|
class: "YCServiceSummary-editorDialog-btn",
|
|
1516
|
-
onClick:
|
|
1517
|
+
onClick: R
|
|
1517
1518
|
}, [...n[20] ||= [c("svg", {
|
|
1518
1519
|
viewBox: "0 0 24 24",
|
|
1519
1520
|
width: "12",
|
|
@@ -1531,17 +1532,17 @@ var D = { class: "YCAIChatPanel" }, O = {
|
|
|
1531
1532
|
}, [c("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" })], -1)]])])]), c("div", at, [
|
|
1532
1533
|
c("div", {
|
|
1533
1534
|
ref_key: "onlyofficeContainerRef",
|
|
1534
|
-
ref:
|
|
1535
|
+
ref: M,
|
|
1535
1536
|
class: "YCServiceSummary-editorDialog-container"
|
|
1536
1537
|
}, null, 512),
|
|
1537
|
-
|
|
1538
|
-
|
|
1538
|
+
A.value ? (v(), s("div", ot, [...n[22] ||= [c("span", { class: "YCServiceSummary-editorDialog-spinner" }, null, -1), c("span", null, "正在加载文档编辑器...", -1)]])) : o("", !0),
|
|
1539
|
+
j.value ? (v(), s("div", st, [c("span", ct, x(j.value), 1), c("button", {
|
|
1539
1540
|
class: "YCServiceSummary-editorDialog-retryBtn",
|
|
1540
|
-
onClick:
|
|
1541
|
+
onClick: I
|
|
1541
1542
|
}, "重试")])) : o("", !0)
|
|
1542
1543
|
])])])) : o("", !0)
|
|
1543
1544
|
], 2));
|
|
1544
1545
|
}
|
|
1545
|
-
}), [["__scopeId", "data-v-
|
|
1546
|
+
}), [["__scopeId", "data-v-423267aa"]]);
|
|
1546
1547
|
//#endregion
|
|
1547
1548
|
export { lt as t };
|