nxd-plugin 1.7.97 → 1.7.99

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.
Files changed (123) hide show
  1. package/dist/chunks/{component-AiChat-CMbG8e28.mjs → component-AiChat-B2YoRfzz.mjs} +1 -1
  2. package/dist/chunks/{component-AqiMonitor-CVb99opd.mjs → component-AqiMonitor-DWhSDKFM.mjs} +1 -1
  3. package/dist/chunks/{component-ChartCumulativePre-DbbqXqZE.mjs → component-ChartCumulativePre-CYVahvTN.mjs} +2 -2
  4. package/dist/chunks/{component-ChartServiceMaterial-hU5a_G6w.mjs → component-ChartServiceMaterial-CbiB7503.mjs} +2 -2
  5. package/dist/chunks/{component-Duty-BCW6ohuO.mjs → component-Duty-CxH58EY9.mjs} +2 -2
  6. package/dist/chunks/{component-EarlyWarningStatistic-DSp82HGZ.mjs → component-EarlyWarningStatistic-BsgcJent.mjs} +2 -2
  7. package/dist/chunks/{component-EarlyWarningStatistic2-DmHCmtaq.mjs → component-EarlyWarningStatistic2-CEnr2SX2.mjs} +2 -2
  8. package/dist/chunks/component-Forecast72h-6g0PcT0B.mjs +539 -0
  9. package/dist/chunks/{component-GeologyLiveAlarm-0P99V7KX.mjs → component-GeologyLiveAlarm-CzEt43gy.mjs} +2 -2
  10. package/dist/chunks/component-GridForecastMsg-B1CCDv2Y.mjs +203 -0
  11. package/dist/chunks/{component-HDSeaLegend-BSGtGcnh.mjs → component-HDSeaLegend-B2xekirw.mjs} +1 -1
  12. package/dist/chunks/component-HdCameraList-CEOhupnQ.mjs +393 -0
  13. package/dist/chunks/{component-HdForecastProducts-_2ttNo-z.mjs → component-HdForecastProducts-DaeNeMiI.mjs} +2 -2
  14. package/dist/chunks/component-HdHeatChart-DiG-hplN.mjs +372 -0
  15. package/dist/chunks/component-HdHeatChartDialog-C1tPPcVw.mjs +590 -0
  16. package/dist/chunks/component-HdHeatService-UxyMUQp4.mjs +480 -0
  17. package/dist/chunks/component-HdInsectDetailList-BiVgf4Nc.mjs +266 -0
  18. package/dist/chunks/component-HdInsectList-CToVsJiF.mjs +328 -0
  19. package/dist/chunks/{component-HdObservation-DV1mfQsB.mjs → component-HdObservation-BV5jDCZt.mjs} +44 -45
  20. package/dist/chunks/{component-HdPreSituation-DY6gsT_y.mjs → component-HdPreSituation-DY4j43V7.mjs} +6 -6
  21. package/dist/chunks/component-HdQxServiceEffects-DM-KlAru.mjs +262 -0
  22. package/dist/chunks/{component-HdRadarList-BQ1MH8GG.mjs → component-HdRadarList-BdXRt42m.mjs} +3 -3
  23. package/dist/chunks/{component-HdRadarTime-D7ySMzpg.mjs → component-HdRadarTime-OAbsHPlS.mjs} +2 -2
  24. package/dist/chunks/component-HdRisk-tQq0onmA.mjs +236 -0
  25. package/dist/chunks/component-HdSeaCase-DoWAhrNy.mjs +239 -0
  26. package/dist/chunks/{component-HdServiceMarterial-BgIt-ELd.mjs → component-HdServiceMarterial-nCfTCfyI.mjs} +77 -77
  27. package/dist/chunks/{component-HdServiceRequirements-B83V-lQN.mjs → component-HdServiceRequirements-S9zSof01.mjs} +45 -45
  28. package/dist/chunks/component-HdSoil-tr6IWswf.mjs +350 -0
  29. package/dist/chunks/component-HdSoilDetailList-DG-TzCl0.mjs +402 -0
  30. package/dist/chunks/{component-HdStationTem-DdMSzVEC.mjs → component-HdStationTem-DrPBR7fV.mjs} +77 -78
  31. package/dist/chunks/{component-HdSuggestion-CrvAGw81.mjs → component-HdSuggestion-DQO0InyO.mjs} +3 -3
  32. package/dist/chunks/component-HdThreeWeatherTrend-CElSAKJs.mjs +333 -0
  33. package/dist/chunks/component-HdWaveForcast-D3Hm8Dg3.mjs +241 -0
  34. package/dist/chunks/{component-HighQuality-Bsqgp8R-.mjs → component-HighQuality-C_W_iOrU.mjs} +7 -7
  35. package/dist/chunks/{component-HighWayEarlyWarningRed-D0uKUK3B.mjs → component-HighWayEarlyWarningRed-D5iSGN5l.mjs} +2 -2
  36. package/dist/chunks/{component-HighWayFreeze-sGJddgnr.mjs → component-HighWayFreeze-B9v5Z9Yd.mjs} +2 -2
  37. package/dist/chunks/{component-HighwayLiveAlarm-Wm2rCVBb.mjs → component-HighwayLiveAlarm-DjcOZUJv.mjs} +2 -2
  38. package/dist/chunks/{component-HighwayLiveAlarmNew-YjS0FM1d.mjs → component-HighwayLiveAlarmNew-C35RKvL1.mjs} +3 -3
  39. package/dist/chunks/{component-HighwayStations-DRfDmHmK.mjs → component-HighwayStations-U_rU4hJi.mjs} +2 -2
  40. package/dist/chunks/{component-HighwayWeatherForecast-Cp50--Dj.mjs → component-HighwayWeatherForecast-BD547juJ.mjs} +4 -4
  41. package/dist/chunks/{component-IframeWeb-HpaTePnW.mjs → component-IframeWeb-DMn6K9zk.mjs} +1 -1
  42. package/dist/chunks/{component-ImageGeneration-zj2WbvzB.mjs → component-ImageGeneration-BFSnXOdZ.mjs} +2 -2
  43. package/dist/chunks/{component-IntroducePic-BxDMkIyJ.mjs → component-IntroducePic-BmvED_mB.mjs} +2 -2
  44. package/dist/chunks/{component-LithiumBatteryMiningArea-BC05EqiO.mjs → component-LithiumBatteryMiningArea-BM_8uVPy.mjs} +2 -2
  45. package/dist/chunks/{component-MapPopup-DYsV0ICP.mjs → component-MapPopup-CRQjbIZT.mjs} +1 -1
  46. package/dist/chunks/{component-MaterialPreview-DJhj0Gh9.mjs → component-MaterialPreview-Dmg4LG8h.mjs} +2 -2
  47. package/dist/chunks/{component-PieLegend-BsDM9oA_.mjs → component-PieLegend-B90e9FMW.mjs} +1 -1
  48. package/dist/chunks/{component-PrecipitationRanking-B7gEEuCe.mjs → component-PrecipitationRanking-BamBChop.mjs} +9 -9
  49. package/dist/chunks/{component-RadarChart-V_2K97Yw.mjs → component-RadarChart-DrQnSK2_.mjs} +2 -2
  50. package/dist/chunks/{component-RadarLegend-DwjhHZ-N.mjs → component-RadarLegend-UaQXwEdl.mjs} +1 -1
  51. package/dist/chunks/{component-RadarShortTerm-aF13_Zcy.mjs → component-RadarShortTerm-B6DiXwjj.mjs} +4 -4
  52. package/dist/chunks/{component-RadarTime-ZN7o47Mu.mjs → component-RadarTime-CrWj-oVD.mjs} +2 -2
  53. package/dist/chunks/{component-RenderMarkdown-BX-kHqL2.mjs → component-RenderMarkdown-CSoLEsFv.mjs} +2 -2
  54. package/dist/chunks/{component-ReservoirLiveAlarm-WVVwwKYZ.mjs → component-ReservoirLiveAlarm-CJUDC3QW.mjs} +3 -3
  55. package/dist/chunks/{component-ServiceMaterial-9imbipjj.mjs → component-ServiceMaterial-DR7imvMZ.mjs} +2 -2
  56. package/dist/chunks/{component-ServiceMaterialsBtn-693xq1p7.mjs → component-ServiceMaterialsBtn-BWxBKKWn.mjs} +1 -1
  57. package/dist/chunks/{component-StationDialog-C859f8A-.mjs → component-StationDialog-2KObsuJ8.mjs} +4 -4
  58. package/dist/chunks/{component-StationList-BQHnyqox.mjs → component-StationList-CJ7XHlZl.mjs} +10 -14
  59. package/dist/chunks/{component-TimeBasedForecast-DH-OHwXc.mjs → component-TimeBasedForecast-B2ewC_QX.mjs} +4 -4
  60. package/dist/chunks/{component-Typhoon-C6jT8EFX.mjs → component-Typhoon-BQQCoEbU.mjs} +2 -2
  61. package/dist/chunks/{component-WarningLine-D3aVWmUZ.mjs → component-WarningLine-9Y5OJRig.mjs} +2 -2
  62. package/dist/chunks/{component-WarningSignal-CEe242B5.mjs → component-WarningSignal-uXiAUGTl.mjs} +3 -3
  63. package/dist/chunks/{component-WeatherForecast-BfqfB6UO.mjs → component-WeatherForecast-BIeLjzMw.mjs} +4 -4
  64. package/dist/chunks/{component-YCDataMonitor-DROgvkZ-.mjs → component-YCDataMonitor-D8jFTVaA.mjs} +2 -2
  65. package/dist/chunks/{component-YCDataService-BM5kQwax.mjs → component-YCDataService--R26h5UL.mjs} +4 -4
  66. package/dist/chunks/{component-YCHighWaySummary-Bh0IXiDd.mjs → component-YCHighWaySummary-CeYp4g4j.mjs} +2 -2
  67. package/dist/chunks/{component-YCHome-DwYK1Re4.mjs → component-YCHome-DQSDzxCG.mjs} +4 -4
  68. package/dist/chunks/{component-YCHomeLegend-BadxwkzL.mjs → component-YCHomeLegend-DiFftuY3.mjs} +1 -1
  69. package/dist/chunks/{component-YCLoginNew-D5u2lDWS.mjs → component-YCLoginNew-CFJSyKfV.mjs} +3 -3
  70. package/dist/components/Forecast72h/Forecast72h.vue.d.ts +2 -23
  71. package/dist/components/GridForecastMsg/GridForecastMsg.vue.d.ts +24 -0
  72. package/dist/components/HdCameraList/HdCameraList.vue.d.ts +6 -0
  73. package/dist/components/HdHeatChart/HdHeatChart.vue.d.ts +44 -0
  74. package/dist/components/HdHeatChart/mockData.d.ts +12 -0
  75. package/dist/components/HdHeatChartDialog/HdHeatChartDialog.vue.d.ts +52 -0
  76. package/dist/components/HdHeatChartDialog/mockData.d.ts +23 -0
  77. package/dist/components/HdHeatService/HdHeatService.vue.d.ts +8 -20
  78. package/dist/components/HdInsectDetailList/HdInsectDetailList.vue.d.ts +22 -0
  79. package/dist/components/HdInsectList/HdInsectList.vue.d.ts +57 -0
  80. package/dist/components/HdRisk/HdRisk.vue.d.ts +61 -0
  81. package/dist/components/HdSeaCase/HdSeaCase.vue.d.ts +4 -24
  82. package/dist/components/HdSoil/HdSoil.vue.d.ts +55 -0
  83. package/dist/components/HdSoilDetailList/HdSoilDetailList.vue.d.ts +30 -0
  84. package/dist/components/HdThreeWeatherTrend/HdThreeWeatherTrend.vue.d.ts +2 -20
  85. package/dist/components/HdWaveForcast/HdWaveForcast.vue.d.ts +4 -20
  86. package/dist/components/StationList/StationList.vue.d.ts +2 -2
  87. package/dist/index.d.ts +9 -1
  88. package/dist/nxd-plugin.mjs +70 -61
  89. package/dist/styles/component-Forecast72h.css +1 -1
  90. package/dist/styles/component-GridForecastMsg.css +1 -0
  91. package/dist/styles/component-HDSeaLegend.css +1 -1
  92. package/dist/styles/component-HdCameraList.css +1 -1
  93. package/dist/styles/component-HdForecastProducts.css +1 -1
  94. package/dist/styles/component-HdHeatChart.css +1 -0
  95. package/dist/styles/component-HdHeatChartDialog.css +1 -0
  96. package/dist/styles/component-HdHeatService.css +1 -1
  97. package/dist/styles/component-HdInsectDetailList.css +1 -0
  98. package/dist/styles/component-HdInsectList.css +1 -0
  99. package/dist/styles/component-HdObservation.css +1 -1
  100. package/dist/styles/component-HdPreSituation.css +1 -1
  101. package/dist/styles/component-HdQxServiceEffects.css +1 -0
  102. package/dist/styles/component-HdRadarList.css +1 -1
  103. package/dist/styles/component-HdRisk.css +1 -0
  104. package/dist/styles/component-HdSeaCase.css +1 -1
  105. package/dist/styles/component-HdServiceMarterial.css +1 -1
  106. package/dist/styles/component-HdServiceRequirements.css +1 -1
  107. package/dist/styles/component-HdSoil.css +1 -0
  108. package/dist/styles/component-HdSoilDetailList.css +1 -0
  109. package/dist/styles/component-HdStationTem.css +1 -1
  110. package/dist/styles/component-HdSuggestion.css +1 -1
  111. package/dist/styles/component-HdThreeWeatherTrend.css +1 -1
  112. package/dist/styles/component-HdWaveForcast.css +1 -1
  113. package/dist/styles/component-HighQuality.css +1 -1
  114. package/dist/styles/component-PrecipitationRanking.css +1 -1
  115. package/dist/styles/component-StationList.css +1 -1
  116. package/dist/styles/component-YCLoginNew.css +1 -1
  117. package/package.json +1 -1
  118. package/dist/chunks/component-Forecast72h-hi7bHW_J.mjs +0 -543
  119. package/dist/chunks/component-HdCameraList-Cz1OYJEN.mjs +0 -332
  120. package/dist/chunks/component-HdHeatService-BKK-w3Xc.mjs +0 -412
  121. package/dist/chunks/component-HdSeaCase-wnGV704s.mjs +0 -219
  122. package/dist/chunks/component-HdThreeWeatherTrend-Deliswz6.mjs +0 -394
  123. package/dist/chunks/component-HdWaveForcast-CL4Ghg7T.mjs +0 -271
@@ -1,5 +1,5 @@
1
- import { n as e } from "./component-AqiMonitor-CVb99opd.mjs";
2
- import { r as t } from "./component-AiChat-CMbG8e28.mjs";
1
+ import { n as e } from "./component-AqiMonitor-DWhSDKFM.mjs";
2
+ import { r as t } from "./component-AiChat-B2YoRfzz.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";
@@ -0,0 +1,203 @@
1
+ import { n as e } from "./component-AqiMonitor-DWhSDKFM.mjs";
2
+ import { r as t } from "./component-AiChat-B2YoRfzz.mjs";
3
+ import { ElCheckbox as n, ElInput as r, ElLoadingDirective as i } from "element-plus/es";
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
+ import "element-plus/es/components/loading/style/css";
6
+ import "element-plus/es/components/checkbox/style/css";
7
+ import { ElMessage as C } from "element-plus";
8
+ import "element-plus/es/components/message/style/css";
9
+ import "element-plus/es/components/input/style/css";
10
+ //#region src/components/GridForecastMsg/GridForecastMsg.vue?vue&type=script&setup=true&lang.ts
11
+ var w = { class: "GridForecastMsg-head" }, T = { class: "GridForecastMsg-body" }, E = { class: "GridForecastMsg-forecast" }, D = { class: "GridForecastMsg-forecast__list" }, O = { class: "GridForecastMsg-forecast__name" }, k = { class: "GridForecastMsg-forecast__value" }, A = { class: "GridForecastMsg-edit" }, j = { class: "GridForecastMsg-edit__checks" }, M = /* @__PURE__ */ e(/* @__PURE__ */ u({
12
+ __name: "GridForecastMsg",
13
+ props: {
14
+ appKey: {
15
+ type: String,
16
+ default: ""
17
+ },
18
+ appSalt: {
19
+ type: String,
20
+ default: ""
21
+ },
22
+ baseHttp: {
23
+ type: String,
24
+ default: ""
25
+ },
26
+ ids: {
27
+ type: Object,
28
+ default: () => ({})
29
+ }
30
+ },
31
+ setup(e, { emit: u }) {
32
+ let M = d()?.appContext.config.globalProperties.$bus, N = e, P = g(!1), F = g(!0), I = g(""), L = g(""), R = g(""), z = g(!0), B = g(!1), V = g({}), H = g([]), U = g(!1), W = g({
33
+ x: 0,
34
+ y: 0
35
+ }), G = g({
36
+ x: 0,
37
+ y: 0
38
+ }), K = o(() => ({
39
+ transform: `translate(${G.value.x}px, ${G.value.y}px)`,
40
+ transition: U.value ? "none" : "transform 0.1s"
41
+ }));
42
+ m(() => {
43
+ M?.on("toComponent", (e) => {
44
+ e.componentName === "GridForecastMsg" && (e.value = e, q());
45
+ });
46
+ });
47
+ let q = async () => {
48
+ F.value = !0, P.value = !0;
49
+ let e = {
50
+ appKey: N.appKey,
51
+ appSalt: N.appSalt,
52
+ id: N.ids.weather.id,
53
+ variables: { index: V.value.index },
54
+ baseHttp: N.baseHttp,
55
+ reqType: N.ids.weather.reqType,
56
+ isFormData: N.ids.weather.isFormData
57
+ }, n = null;
58
+ try {
59
+ n = await t(e);
60
+ } catch (e) {
61
+ console.error(e);
62
+ } finally {
63
+ P.value = !1;
64
+ }
65
+ H.value = n && n.data.result.output || [];
66
+ }, J = async () => {
67
+ if (!z.value && !B.value) {
68
+ C.warning("请至少选择一种发送方式(闪信或北斗报文)");
69
+ return;
70
+ }
71
+ if (!I.value.trim()) {
72
+ C.warning("请输入发布时间");
73
+ return;
74
+ }
75
+ if (!L.value.trim()) {
76
+ C.warning("请输入发布内容");
77
+ return;
78
+ }
79
+ if (!R.value.trim()) {
80
+ C.warning("请输入电话号码");
81
+ return;
82
+ }
83
+ P.value = !0;
84
+ let e = {
85
+ appKey: N.appKey,
86
+ appSalt: N.appSalt,
87
+ id: N.ids.send.id,
88
+ variables: {
89
+ serviceTypeID: "46",
90
+ mobiles: R.value,
91
+ flashMessage: `【青岛市黄岛区气象局】来电提醒:${I.value}发布${L.value}`
92
+ },
93
+ baseHttp: N.baseHttp,
94
+ reqType: N.ids.send.reqType,
95
+ isFormData: N.ids.send.isFormData
96
+ }, n = null;
97
+ try {
98
+ n = await t(e);
99
+ } catch (e) {
100
+ console.error(e);
101
+ } finally {
102
+ P.value = !1;
103
+ }
104
+ n && n.data.result.output.msg === "发送成功" ? C.success("发送成功") : C.error("发送失败");
105
+ }, Y = (e) => {
106
+ e.target.classList.contains("GridForecastMsg-head__close") || (U.value = !0, W.value = {
107
+ x: e.clientX - G.value.x,
108
+ y: e.clientY - G.value.y
109
+ }, document.addEventListener("mousemove", X), document.addEventListener("mouseup", Z));
110
+ }, X = (e) => {
111
+ U.value && (G.value = {
112
+ x: e.clientX - W.value.x,
113
+ y: e.clientY - W.value.y
114
+ });
115
+ }, Z = () => {
116
+ U.value = !1, document.removeEventListener("mousemove", X), document.removeEventListener("mouseup", Z);
117
+ };
118
+ p(() => {
119
+ document.removeEventListener("mousemove", X), document.removeEventListener("mouseup", Z);
120
+ });
121
+ let Q = () => {
122
+ F.value = !1;
123
+ };
124
+ return (e, t) => {
125
+ let o = n, u = r, d = i;
126
+ return x((h(), s("div", {
127
+ class: "GridForecastMsg",
128
+ style: f(K.value),
129
+ "element-loading-background": "rgba(0, 0, 0, 0.4)"
130
+ }, [
131
+ t[15] ||= c("span", { class: "GridForecastMsg__corner GridForecastMsg__corner--tl" }, null, -1),
132
+ t[16] ||= c("span", { class: "GridForecastMsg__corner GridForecastMsg__corner--tr" }, null, -1),
133
+ t[17] ||= c("span", { class: "GridForecastMsg__corner GridForecastMsg__corner--bl" }, null, -1),
134
+ t[18] ||= c("span", { class: "GridForecastMsg__corner GridForecastMsg__corner--br" }, null, -1),
135
+ c("div", w, [c("div", {
136
+ class: "GridForecastMsg-head__top",
137
+ onMousedown: Y
138
+ }, [t[5] ||= c("div", { class: "GridForecastMsg-head__title" }, "网格预报", -1), c("div", {
139
+ class: "GridForecastMsg-head__close",
140
+ onClick: S(Q, ["stop"]),
141
+ title: "关闭"
142
+ }, "X")], 32), t[6] ||= c("div", { class: "GridForecastMsg-head__line" }, null, -1)]),
143
+ c("div", T, [
144
+ c("div", E, [t[7] ||= c("div", { class: "GridForecastMsg-forecast__title" }, "三天预报", -1), c("div", D, [(h(!0), s(a, null, _(H.value, (e) => (h(), s("div", {
145
+ class: "GridForecastMsg-forecast__item",
146
+ key: e.id
147
+ }, [c("div", O, v(e.hour) + "小时预报", 1), c("div", k, " 阵风" + v(e.windSpeedMinGrade == e.windSpeedMaxGrade ? e.windSpeedMinGrade : e.windSpeedMinGrade + "-" + e.windSpeedMaxGrade) + "级 ", 1)]))), 128))])]),
148
+ c("div", A, [
149
+ t[10] ||= c("div", { class: "GridForecastMsg-edit__title" }, "编辑信息", -1),
150
+ c("div", j, [l(o, {
151
+ modelValue: z.value,
152
+ "onUpdate:modelValue": t[0] ||= (e) => z.value = e
153
+ }, {
154
+ default: b(() => [...t[8] ||= [c("span", { class: "GridForecastMsg-edit__check-label" }, "闪信", -1)]]),
155
+ _: 1
156
+ }, 8, ["modelValue"]), l(o, {
157
+ modelValue: B.value,
158
+ "onUpdate:modelValue": t[1] ||= (e) => B.value = e
159
+ }, {
160
+ default: b(() => [...t[9] ||= [c("span", { class: "GridForecastMsg-edit__check-label" }, "北斗报文", -1)]]),
161
+ _: 1
162
+ }, 8, ["modelValue"])]),
163
+ t[11] ||= c("div", { class: "GridForecastMsg-edit__prefix" }, "【青岛市黄岛区气象局】来电提醒:", -1),
164
+ l(u, {
165
+ modelValue: I.value,
166
+ "onUpdate:modelValue": t[2] ||= (e) => I.value = e,
167
+ type: "textarea",
168
+ placeholder: "请输入发布时间",
169
+ rows: "1",
170
+ maxlength: "9",
171
+ "show-word-limit": ""
172
+ }, null, 8, ["modelValue"]),
173
+ t[12] ||= c("div", { class: "GridForecastMsg-edit__label" }, "发布", -1),
174
+ l(u, {
175
+ modelValue: L.value,
176
+ "onUpdate:modelValue": t[3] ||= (e) => L.value = e,
177
+ type: "textarea",
178
+ placeholder: "请输入发布内容",
179
+ rows: "1",
180
+ maxlength: "40",
181
+ "show-word-limit": ""
182
+ }, null, 8, ["modelValue"]),
183
+ t[13] ||= c("div", { class: "GridForecastMsg-edit__label" }, "电话号码", -1),
184
+ l(u, {
185
+ modelValue: R.value,
186
+ "onUpdate:modelValue": t[4] ||= (e) => R.value = e,
187
+ type: "textarea",
188
+ placeholder: "请输入电话号码",
189
+ rows: "1"
190
+ }, null, 8, ["modelValue"]),
191
+ t[14] ||= c("div", { class: "GridForecastMsg-edit__hint" }, "多个号码以英文逗号(,)间隔,如123,123,123", -1)
192
+ ]),
193
+ c("button", {
194
+ class: "GridForecastMsg-submit",
195
+ onClick: J
196
+ }, "发送")
197
+ ])
198
+ ], 4)), [[y, F.value], [d, P.value]]);
199
+ };
200
+ }
201
+ }), [["__scopeId", "data-v-14f101b1"]]);
202
+ //#endregion
203
+ export { M as t };
@@ -1,4 +1,4 @@
1
- import { n as e } from "./component-AqiMonitor-CVb99opd.mjs";
1
+ import { n as e } from "./component-AqiMonitor-DWhSDKFM.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
@@ -0,0 +1,393 @@
1
+ import { n as e } from "./component-AqiMonitor-DWhSDKFM.mjs";
2
+ import { r as t } from "./component-AiChat-B2YoRfzz.mjs";
3
+ import "./component-Forecast72h-6g0PcT0B.mjs";
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
+ import "element-plus/es/components/select/style/css";
6
+ import "element-plus/es/components/option/style/css";
7
+ import { ElOption as ce, ElSelect as le } from "element-plus";
8
+ //#region src/assets/img/hd/camera.png
9
+ var ue = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFYAAABQCAYAAACDD4LqAAAAAXNSR0IArs4c6QAAEd1JREFUeF7tmwtUVEeax+v2bZqn4IBrK6PGM74Sk2GzLhp0kzlZY0A0aGZgUFRYMZF1s4obR8IOjpIdTTySSRQTbQJHPQhmUAKJQVRGTUw86iQuro6vUbPKrpFR6FaaFujXvXdOdai2urrqProh4zi553C6+z6rfvWv//dV1YUD32/9QoDrl7t+f1PQ12D7+n54E0l/Te3VFyD64h5amT3wkIOBouZaNefIQVUCqHRca4P12fmBVpx1HW1/oM+gQWOBfOAAB1JpNfDwc8jzWc8k4cj9fuABawWrBBUdp4FV+ywcGu076zjqxg+EetVWFhZaDioJVOm3Gl9FgJQ+4b202Eaf+ajcjYIBS4OH7/P7npqaGlJTU5MdERExg+O4QYIgXLdYLDXx8fGHCDgQFA6U9R2H+kDZg1qwLJ+E+0mA1H27du0alJmZWafX6/+RbGmn03nw+PHjK6dOnfr/vUBJkLTfNNgPjHrVgA0EKoLr+YyNjdXdunWrLiQkZBqr+0iS1HP37t2S1NTUd7/66isXRbFIxaxPEupf1B60gqWpE/mvrle9CKr3t9lsXhYXF7dWjbm53e6L586dWzlhwoTf98IVMRUjqOQ+BJXlx9/5CE4JLCu644BZQD37T548+WRSUlITAMDgDdvO40C4tw7wUasAZ3iaxluy2WxVJSUlv163bt1dAAACiQOlAX9g7CEYsKQyEWD46fnLzc2NLC8vP6LX68d46Yl3gNuSCCThhkfguvAcwA/YAIAuzg+wKIrmGzduFI8cOXJPL1wSMAsuGfxY3iu3X00HY54jB1ZOrYpQIVir1bopOjp6Pv50oSMTiPaPfAukG+SBqwvPpmZ1drv92P79+19LT0//GgOsBjIta/hOvFcLWFr391MpAICHUC9fvjx77NixFThBsbsCCJ2vsFvZ8BPAR28FnH6c3zmSJ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0xqZ5K6ly8mU28s0WPNnHgxqCSXufljbSkl2SUVIsgiEXwFhRn1QS2e1JkGrAynkyeT0Jg4zutHQMNQJrpYA2GKB6qxxYpa5I5p+s5J3WxZWg4sdZAU2poWjvAZCeS0ulWG994xZDBkpmfchuR4OKq0Uur8VBkIBoBSBbnPzNAsvqEbjnseDS3s/CfTTol+FYilUCqyYNoimV1W3k/IqWOdDUivaR96LBJX0XnUOL/mRDoXrJWoAWsCRslu+yFEuLniyg+H5WSkYGLVb3ZIHF4bLOYUGl1YVqByxVaEnDUBAju6hchcnWJ0HT4MkBpQUw3BtpGUO/QcVBKHmtWotgmTlNoUr75LxULl3DG40ESsJmHVfqZcygRbMCErQSbNogIBCwSnmhnFJpgFkNpgYiLa1S3f3xyiv5mBJcUslauj/Nx2iBgYSnRq0sqyHBqc1PVQUsObAse8AByn1neR3Z6morRN5PC1TWM2kNKqdKzVBpENXuI3NM/DpaQZT8VE3apQWy2jKQymb1OEVPZRWO5WNy0VlNlFaTVpEQ1NiB5opS/lNPTokBqVTJCnD1BfKdpQI1kAMBpuUaJWBKx1U/S0vElQsi+DGlbsjys0AqxfJcrffSer4iYKXuTCu4mn1q4MoFDMWC99EJfQ4UlUsJLO08mpXQ6hmoh8ldpzUr6LNgpLUhteaI/V2xflOQVjDBnq8VrFq1yqUxrDI/NFDJiK/U7YNtRLnrHyqoLLDfJeCHDqhWeMF4K6nUhxamVp9kdWEl2H8TAAOF05+++lDfW0l1D3Xl+7Ny34PtJ7rfg+0nsH8GiA7cyQF17jMAAAAASUVORK5CYII=", de = { class: "HdCameraList" }, fe = { class: "HdCameraList-header" }, pe = { class: "HdCameraList-headerContent" }, me = { class: "HdCameraList-title" }, he = { class: "HdCameraList-markerCheck" }, ge = { class: "HdCameraList-toolbar" }, _e = { class: "HdCameraList-search" }, ve = { class: "HdCameraList-count" }, ye = { class: "HdCameraList-body" }, v = ["onClick"], y = { class: "HdCameraList-thumb" }, b = ["src"], x = {
10
+ key: 1,
11
+ class: "HdCameraList-thumbPlaceholder"
12
+ }, S = { class: "HdCameraList-info" }, C = ["title"], w = {
13
+ key: 0,
14
+ class: "HdCameraList-meta"
15
+ }, T = {
16
+ key: 0,
17
+ class: "HdCameraList-empty"
18
+ }, E = { class: "HdCameraList-player" }, D = { class: "HdCameraList-playerHead" }, O = { class: "HdCameraList-playerHeadTitle" }, k = { class: "HdCameraList-playerBody" }, A = ["src"], j = ["src"], M = {
19
+ key: 2,
20
+ class: "HdCameraList-videoEmpty"
21
+ }, N = /* @__PURE__ */ e(/* @__PURE__ */ l({
22
+ __name: "HdCameraList",
23
+ props: {
24
+ mock: {
25
+ type: Boolean,
26
+ default: !1
27
+ },
28
+ serviceTypeID: { default: "" },
29
+ baseHttp: { default: "" },
30
+ appKey: { default: "" },
31
+ appSalt: { default: "" },
32
+ ids: { default: () => ({}) },
33
+ title: { default: "" },
34
+ list: { default: () => [] },
35
+ mockData: { default: () => ({
36
+ title: "实景监控",
37
+ list: [
38
+ {
39
+ id: 1,
40
+ name: "薛家岛渔港-枪机",
41
+ location: "薛家岛渔港",
42
+ thumbnail: "",
43
+ previewpic: "http://58.59.29.51:11014/fishingPorts/7f33619ffc6d46e082c4850e57cc4b3c.png",
44
+ streamUrl: ""
45
+ },
46
+ {
47
+ id: 2,
48
+ name: "董家口渔港-枪机",
49
+ location: "董家口渔港",
50
+ thumbnail: "",
51
+ previewpic: "http://58.59.29.51:11014/fishingPorts/7f33619ffc6d46e082c4850e57cc4b3c.png",
52
+ streamUrl: ""
53
+ },
54
+ {
55
+ id: 3,
56
+ name: "顾家岛渔港-球机",
57
+ location: "顾家岛渔港",
58
+ thumbnail: "",
59
+ previewpic: "http://58.59.29.51:11014/fishingPorts/7f33619ffc6d46e082c4850e57cc4b3c.png",
60
+ streamUrl: ""
61
+ },
62
+ {
63
+ id: 4,
64
+ name: "大湾渔港-枪机",
65
+ location: "大湾渔港",
66
+ thumbnail: "",
67
+ previewpic: "http://58.59.29.51:11014/fishingPorts/7f33619ffc6d46e082c4850e57cc4b3c.png",
68
+ streamUrl: ""
69
+ },
70
+ {
71
+ id: 5,
72
+ name: "东古镇营-球机",
73
+ location: "东古镇营",
74
+ thumbnail: "",
75
+ previewpic: "http://58.59.29.51:11014/fishingPorts/7f33619ffc6d46e082c4850e57cc4b3c.png",
76
+ streamUrl: ""
77
+ },
78
+ {
79
+ id: 6,
80
+ name: "贡口渔港-枪机",
81
+ location: "贡口渔港",
82
+ thumbnail: "",
83
+ previewpic: "http://58.59.29.51:11014/fishingPorts/7f33619ffc6d46e082c4850e57cc4b3c.png",
84
+ streamUrl: ""
85
+ },
86
+ {
87
+ id: 7,
88
+ name: "胡岛渔港-球机",
89
+ location: "胡岛渔港",
90
+ thumbnail: "",
91
+ previewpic: "http://58.59.29.51:11014/fishingPorts/7f33619ffc6d46e082c4850e57cc4b3c.png",
92
+ streamUrl: ""
93
+ },
94
+ {
95
+ id: 8,
96
+ name: "岭山前-枪机",
97
+ location: "岭山前",
98
+ thumbnail: "",
99
+ previewpic: "http://58.59.29.51:11014/fishingPorts/7f33619ffc6d46e082c4850e57cc4b3c.png",
100
+ streamUrl: ""
101
+ }
102
+ ]
103
+ }) }
104
+ },
105
+ emits: [
106
+ "close",
107
+ "play",
108
+ "addMarker",
109
+ "clearMarker"
110
+ ],
111
+ setup(e, { emit: l }) {
112
+ let N = te()?.appContext.config.globalProperties.$bus, P = e, F = l;
113
+ p([]);
114
+ let I = p({
115
+ title: "",
116
+ list: []
117
+ }), L = p("all"), R = p(""), z = p(""), B = p(!1), V = p(null), H = p(null), U = p(!0), be = i(() => P.title || I.value.title || "实景监控"), W = i(() => P.list.length ? P.list : I.value.list), xe = i(() => {
118
+ let e = /* @__PURE__ */ new Map();
119
+ return e.set("all", "全部"), W.value.forEach((t) => {
120
+ t.location && !e.has(t.location) && e.set(t.location, t.location);
121
+ }), Array.from(e.entries()).map(([e, t]) => ({
122
+ value: e,
123
+ label: t
124
+ }));
125
+ }), G = i(() => {
126
+ let e = W.value;
127
+ L.value !== "all" && (e = e.filter((e) => e.location === L.value));
128
+ let t = z.value.trim().toLowerCase();
129
+ return t && (e = e.filter((e) => e.name.toLowerCase().includes(t))), e;
130
+ }), K = () => {
131
+ z.value = R.value;
132
+ }, Se = (e) => /^https?:\/\//i.test(e), Ce = (e) => {
133
+ if (!e) return "";
134
+ if (Se(e)) return e;
135
+ let t = P.baseHttp || "";
136
+ return `${t}${t && !t.endsWith("/") && !e.startsWith("/") ? "/" : ""}${e}`;
137
+ }, q = (e) => {
138
+ V.value = e, B.value = !0, F("play", e);
139
+ }, J = () => {
140
+ H.value && (H.value.pause(), H.value.src = ""), B.value = !1, V.value = null;
141
+ }, we = () => {
142
+ X(), F("close", "HdCameraList");
143
+ }, Y = (e) => {
144
+ if (e?.methods !== "triggerMarker") return;
145
+ let t = e?.data?.ds;
146
+ t?.otherData?.markId === "hdCamera" && t?.data && q(t.data);
147
+ }, X = () => {
148
+ F("clearMarker", "hdCamera");
149
+ }, Z = () => {
150
+ let e = W.value.filter((e) => e.lat && e.lon);
151
+ if (!e.length) {
152
+ console.warn("HdCameraList 没有有效经纬度数据,跳过绘制");
153
+ return;
154
+ }
155
+ let t = {
156
+ clickOpen: !0,
157
+ spotObject: [{
158
+ offsetX: -12,
159
+ offsetY: -12,
160
+ spotArrone: []
161
+ }],
162
+ drawArrObj: [],
163
+ onlyLayerID: "hdCamera"
164
+ };
165
+ e.forEach((e) => {
166
+ let n = `
167
+ <div class="hd-camera-marker" style="position:relative;display:inline-block;width:24px;height:24px;">
168
+ <img src="${ue}" alt="摄像头" style="width:24px;height:24px;display:block;" />
169
+ <!-- <div class="hd-camera-marker-content" style="position:absolute;top:0;left:100%;margin-left:4px;white-space:nowrap;">
170
+ <div class="hd-camera-marker-title" style="color:black;font-weight:bold;font-size:12px;line-height:1.4;text-shadow:0 1px white, 1px 0 white, -1px 0 white, 0 -1px white;">${e.name}</div>
171
+ </div> -->
172
+ </div>
173
+ `;
174
+ t.spotObject[0].spotArrone.push({
175
+ lng: Number(e.lon),
176
+ lat: Number(e.lat),
177
+ htmlString: n,
178
+ data: e,
179
+ otherData: { markId: "hdCamera" }
180
+ });
181
+ }), F("addMarker", {
182
+ mapMarker: t,
183
+ removeMarker: "hdCamera"
184
+ });
185
+ }, Q = () => {
186
+ let e = P.mockData || {};
187
+ I.value = {
188
+ title: e.title || "",
189
+ list: e.list || []
190
+ };
191
+ }, Te = (e) => {
192
+ if (!e) return null;
193
+ let t = null;
194
+ if (t = e.data === void 0 ? e.result === void 0 ? e : e.result : e.data?.result?.output === void 0 ? e.data?.result === void 0 ? e.data : e.data.result : e.data.result.output, typeof t == "string") try {
195
+ t = JSON.parse(t);
196
+ } catch (e) {
197
+ console.warn("HdCameraList 接口返回非 JSON 字符串", e);
198
+ }
199
+ return t;
200
+ }, Ee = async () => {
201
+ let e = P.ids.data;
202
+ if (!e?.id) {
203
+ console.warn("HdCameraList 缺少数据工作流配置");
204
+ return;
205
+ }
206
+ try {
207
+ let n = Te(await t({
208
+ id: e.id,
209
+ baseHttp: P.baseHttp,
210
+ reqType: e.reqType,
211
+ variables: { serviceTypeID: P.serviceTypeID },
212
+ isFormData: e.isFormData,
213
+ appKey: P.appKey,
214
+ appSalt: P.appSalt
215
+ }));
216
+ console.log(n, "output");
217
+ let r = De(n);
218
+ I.value = {
219
+ title: n?.title || "",
220
+ list: r.map((e) => Oe(e))
221
+ };
222
+ } catch (e) {
223
+ console.error("HdCameraList 加载失败", e);
224
+ }
225
+ }, De = (e) => e ? Array.isArray(e) ? e : Array.isArray(e.list) ? e.list : Array.isArray(e.ds) ? e.ds : Array.isArray(e.data) ? e.data : [] : [], Oe = (e) => {
226
+ let t = e.id ?? e.select_num ?? e.cameraId ?? e.camera_id ?? e.num ?? 0;
227
+ return {
228
+ id: t,
229
+ name: e.name ?? e.cameraName ?? e.camera_name ?? e.title ?? e.cameranum ?? `摄像头${t}`,
230
+ location: e.jobSiteName ?? e.location ?? e.areaName ?? e.area_name ?? e.region ?? e.address ?? "",
231
+ previewpic: e.previewpic ?? e.thumbnail ?? e.pic ?? e.image ?? "",
232
+ streamUrl: e.streamUrl ?? e.url ?? e.stream_url ?? e.videoUrl ?? e.video_url ?? e.rtmp ?? "",
233
+ lat: e.lat === void 0 ? void 0 : Number(e.lat),
234
+ lon: e.lon === void 0 ? void 0 : Number(e.lon)
235
+ };
236
+ }, $ = async () => {
237
+ P.mock ? Q() : await Ee(), U.value && Z();
238
+ };
239
+ return ie(U, (e) => {
240
+ e ? Z() : X();
241
+ }), u(() => {
242
+ N?.on("toComponent", (e) => {
243
+ e.componentName === "HdCameraList" && $();
244
+ }), N?.on("mapOut", Y), $();
245
+ }), d(() => {
246
+ N?.off("mapOut", Y), X();
247
+ }), (e, t) => (f(), s("div", de, [
248
+ c("button", {
249
+ class: "HdCameraList-close",
250
+ onClick: we
251
+ }, [...t[3] ||= [c("span", null, "✕", -1)]]),
252
+ c("div", fe, [c("div", pe, [c("h3", me, h(be.value), 1), c("label", he, [_(c("input", {
253
+ "onUpdate:modelValue": t[0] ||= (e) => U.value = e,
254
+ type: "checkbox"
255
+ }, null, 512), [[ne, U.value]]), t[4] ||= c("span", null, "地图标记", -1)])]), t[5] ||= c("img", {
256
+ class: "HdCameraList-headerLine",
257
+ src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbsAAAASBAMAAAAwI22/AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAwUExURQAAAAem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/5bu5GYAAAAPdFJOUwAFwAwc2M8ULQYDn/hGXGnV2UoAAAGZSURBVEjH7ZM/S8NAGId/JYGmmeLspptThurk0CHWRXGo0Nk/S50y6CYSHMRF7Efo4uQXEIpbwUnM6OhnEIeChXjv5ZLLXdLtLCX68vDCe0eGJ7/3AJN1VcL+UImB/SruVJwYTqSAW5V3LLyaPR1c+IIdH12OPZiLcyTAjccZEdccZ0Nn4bXpC3KpCuFu5tkdziX3FJxBSBZZdFk9HempCduMk4xSitJTpOgJSSIPrx10YAUB0tYOwrQ1g12k7ZyODIYXZmQpppLV26rtbDFOXVhua2Fn7WTWwUEyAe5Zc2hiLWTTC3jjk8Hw+jrSM9/Z8raKOAtZVmyr9jbpee4lU9hvSUStw6YvOpqwiXlK9d8IL0Oq5tuqvc3KLMs7q9uyCC0y22aKvDVp4u2SjnJ1c+Wecg7h9gV4CFV8NHpEaw7yF2wVGcIa6OBx/Ax3PI6pRWx6Am98alBbpSODNVTxgAbQUpF3KeVv0s80xMUow8N//YVaqWEV9BJDdby2PBUZ1/te0uU0YzeLa623jjrrvaLOep/+str9ACyAtv25BhHcAAAAAElFTkSuQmCC",
258
+ alt: ""
259
+ }, null, -1)]),
260
+ c("div", ge, [
261
+ ee(g(le), {
262
+ modelValue: L.value,
263
+ "onUpdate:modelValue": t[1] ||= (e) => L.value = e,
264
+ class: "HdCameraList-select",
265
+ size: "small",
266
+ "popper-class": "HdCameraList-selectPopper",
267
+ placeholder: "全部"
268
+ }, {
269
+ default: ae(() => [(f(!0), s(n, null, m(xe.value, (e) => (f(), a(g(ce), {
270
+ key: e.value,
271
+ label: e.label,
272
+ value: e.value
273
+ }, null, 8, ["label", "value"]))), 128))]),
274
+ _: 1
275
+ }, 8, ["modelValue"]),
276
+ c("div", _e, [_(c("input", {
277
+ "onUpdate:modelValue": t[2] ||= (e) => R.value = e,
278
+ type: "text",
279
+ class: "HdCameraList-searchInput",
280
+ placeholder: "搜索摄像头",
281
+ onKeyup: oe(K, ["enter"])
282
+ }, null, 544), [[re, R.value]]), (f(), s("svg", {
283
+ class: "HdCameraList-searchIcon",
284
+ viewBox: "0 0 24 24",
285
+ width: "14",
286
+ height: "14",
287
+ onClick: K
288
+ }, [...t[6] ||= [c("circle", {
289
+ cx: "11",
290
+ cy: "11",
291
+ r: "7",
292
+ fill: "none",
293
+ stroke: "currentColor",
294
+ "stroke-width": "1.5"
295
+ }, null, -1), c("path", {
296
+ d: "M16 16 L20 20",
297
+ fill: "none",
298
+ stroke: "currentColor",
299
+ "stroke-width": "1.5",
300
+ "stroke-linecap": "round"
301
+ }, null, -1)]]))]),
302
+ c("span", ve, "共 " + h(G.value.length) + " 路", 1)
303
+ ]),
304
+ c("div", ye, [(f(!0), s(n, null, m(G.value, (e) => (f(), s("div", {
305
+ key: e.id,
306
+ class: "HdCameraList-item",
307
+ onClick: (t) => q(e)
308
+ }, [
309
+ c("div", y, [e.previewpic ? (f(), s("img", {
310
+ key: 0,
311
+ src: e.previewpic,
312
+ alt: ""
313
+ }, null, 8, b)) : (f(), s("div", x, [...t[7] ||= [c("svg", {
314
+ viewBox: "0 0 24 24",
315
+ width: "20",
316
+ height: "20"
317
+ }, [
318
+ c("rect", {
319
+ x: "2",
320
+ y: "6",
321
+ width: "20",
322
+ height: "12",
323
+ rx: "2",
324
+ fill: "none",
325
+ stroke: "currentColor",
326
+ "stroke-width": "1.5"
327
+ }),
328
+ c("circle", {
329
+ cx: "12",
330
+ cy: "12",
331
+ r: "3",
332
+ fill: "none",
333
+ stroke: "currentColor",
334
+ "stroke-width": "1.5"
335
+ }),
336
+ c("circle", {
337
+ cx: "12",
338
+ cy: "12",
339
+ r: "1",
340
+ fill: "currentColor"
341
+ })
342
+ ], -1)]]))]),
343
+ c("div", S, [c("div", {
344
+ class: "HdCameraList-name",
345
+ title: e.name
346
+ }, h(e.name), 9, C), e.location ? (f(), s("div", w, h(e.location), 1)) : o("", !0)]),
347
+ t[8] ||= c("div", { class: "HdCameraList-play" }, [c("svg", {
348
+ viewBox: "0 0 24 24",
349
+ width: "18",
350
+ height: "18"
351
+ }, [c("circle", {
352
+ cx: "12",
353
+ cy: "12",
354
+ r: "10",
355
+ fill: "none",
356
+ stroke: "currentColor",
357
+ "stroke-width": "1.5"
358
+ }), c("polygon", {
359
+ points: "10 8 16 12 10 16",
360
+ fill: "currentColor"
361
+ })])], -1)
362
+ ], 8, v))), 128)), G.value.length ? o("", !0) : (f(), s("div", T, "暂无摄像头"))]),
363
+ (f(), a(r, { to: "body" }, [B.value ? (f(), s("div", {
364
+ key: 0,
365
+ class: "HdCameraList-mask",
366
+ onClick: se(J, ["self"])
367
+ }, [c("div", E, [c("div", D, [
368
+ t[10] ||= c("i", { class: "HdCameraList-playerHeadBar" }, null, -1),
369
+ c("span", O, h(V.value?.name), 1),
370
+ c("button", {
371
+ class: "HdCameraList-playerClose",
372
+ onClick: J
373
+ }, [...t[9] ||= [c("span", null, "✕", -1)]])
374
+ ]), c("div", k, [V.value?.streamUrl ? (f(), s("video", {
375
+ key: 0,
376
+ ref_key: "videoRef",
377
+ ref: H,
378
+ class: "HdCameraList-video",
379
+ src: Ce(V.value.streamUrl),
380
+ controls: "",
381
+ autoplay: "",
382
+ playsinline: ""
383
+ }, null, 8, A)) : V.value?.previewpic ? (f(), s("img", {
384
+ key: 1,
385
+ class: "HdCameraList-videoPoster",
386
+ src: V.value.previewpic,
387
+ alt: ""
388
+ }, null, 8, j)) : (f(), s("div", M, "暂无视频流地址"))])])])) : o("", !0)]))
389
+ ]));
390
+ }
391
+ }), [["__scopeId", "data-v-e38eba85"]]);
392
+ //#endregion
393
+ export { N as t };
@@ -1,5 +1,5 @@
1
- import { n as e } from "./component-AqiMonitor-CVb99opd.mjs";
2
- import { r as t } from "./component-AiChat-CMbG8e28.mjs";
1
+ import { n as e } from "./component-AqiMonitor-DWhSDKFM.mjs";
2
+ import { r as t } from "./component-AiChat-B2YoRfzz.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";