nxd-plugin 1.7.97 → 1.7.98
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-CMbG8e28.mjs → component-AiChat-B2YoRfzz.mjs} +1 -1
- package/dist/chunks/{component-AqiMonitor-CVb99opd.mjs → component-AqiMonitor-DWhSDKFM.mjs} +1 -1
- package/dist/chunks/{component-ChartCumulativePre-DbbqXqZE.mjs → component-ChartCumulativePre-CYVahvTN.mjs} +2 -2
- package/dist/chunks/{component-ChartServiceMaterial-hU5a_G6w.mjs → component-ChartServiceMaterial-CbiB7503.mjs} +2 -2
- package/dist/chunks/{component-Duty-BCW6ohuO.mjs → component-Duty-CxH58EY9.mjs} +2 -2
- package/dist/chunks/{component-EarlyWarningStatistic-DSp82HGZ.mjs → component-EarlyWarningStatistic-BsgcJent.mjs} +2 -2
- package/dist/chunks/{component-EarlyWarningStatistic2-DmHCmtaq.mjs → component-EarlyWarningStatistic2-CEnr2SX2.mjs} +2 -2
- package/dist/chunks/component-Forecast72h-6g0PcT0B.mjs +539 -0
- package/dist/chunks/{component-GeologyLiveAlarm-0P99V7KX.mjs → component-GeologyLiveAlarm-CzEt43gy.mjs} +2 -2
- package/dist/chunks/{component-HDSeaLegend-BSGtGcnh.mjs → component-HDSeaLegend-B2xekirw.mjs} +1 -1
- package/dist/chunks/component-HdCameraList-CEOhupnQ.mjs +393 -0
- package/dist/chunks/{component-HdForecastProducts-_2ttNo-z.mjs → component-HdForecastProducts-DaeNeMiI.mjs} +2 -2
- package/dist/chunks/component-HdHeatChart-DiG-hplN.mjs +372 -0
- package/dist/chunks/component-HdHeatChartDialog-C1tPPcVw.mjs +590 -0
- package/dist/chunks/component-HdHeatService-D4WfN9td.mjs +482 -0
- package/dist/chunks/component-HdInsectDetailList-BiVgf4Nc.mjs +266 -0
- package/dist/chunks/component-HdInsectList-CToVsJiF.mjs +328 -0
- package/dist/chunks/{component-HdObservation-DV1mfQsB.mjs → component-HdObservation-BV5jDCZt.mjs} +44 -45
- package/dist/chunks/{component-HdPreSituation-DY6gsT_y.mjs → component-HdPreSituation-DY4j43V7.mjs} +6 -6
- package/dist/chunks/component-HdQxServiceEffects-DM-KlAru.mjs +262 -0
- package/dist/chunks/{component-HdRadarList-BQ1MH8GG.mjs → component-HdRadarList-BdXRt42m.mjs} +3 -3
- package/dist/chunks/{component-HdRadarTime-D7ySMzpg.mjs → component-HdRadarTime-OAbsHPlS.mjs} +2 -2
- package/dist/chunks/component-HdRisk-CEMlJ4At.mjs +236 -0
- package/dist/chunks/component-HdSeaCase-CeZO7ZaP.mjs +341 -0
- package/dist/chunks/{component-HdServiceMarterial-BgIt-ELd.mjs → component-HdServiceMarterial-nCfTCfyI.mjs} +77 -77
- package/dist/chunks/{component-HdServiceRequirements-B83V-lQN.mjs → component-HdServiceRequirements-BJcVMUuk.mjs} +44 -44
- package/dist/chunks/component-HdSoil-tr6IWswf.mjs +350 -0
- package/dist/chunks/component-HdSoilDetailList-DG-TzCl0.mjs +402 -0
- package/dist/chunks/{component-HdStationTem-DdMSzVEC.mjs → component-HdStationTem-DrPBR7fV.mjs} +77 -78
- package/dist/chunks/{component-HdSuggestion-CrvAGw81.mjs → component-HdSuggestion-DQO0InyO.mjs} +3 -3
- package/dist/chunks/component-HdThreeWeatherTrend-CElSAKJs.mjs +333 -0
- package/dist/chunks/component-HdWaveForcast-D3Hm8Dg3.mjs +241 -0
- package/dist/chunks/{component-HighQuality-Bsqgp8R-.mjs → component-HighQuality-sN-CJX4X.mjs} +4 -4
- package/dist/chunks/{component-HighWayEarlyWarningRed-D0uKUK3B.mjs → component-HighWayEarlyWarningRed-D5iSGN5l.mjs} +2 -2
- package/dist/chunks/{component-HighWayFreeze-sGJddgnr.mjs → component-HighWayFreeze-B9v5Z9Yd.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarm-Wm2rCVBb.mjs → component-HighwayLiveAlarm-DjcOZUJv.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarmNew-YjS0FM1d.mjs → component-HighwayLiveAlarmNew-C35RKvL1.mjs} +3 -3
- package/dist/chunks/{component-HighwayStations-DRfDmHmK.mjs → component-HighwayStations-U_rU4hJi.mjs} +2 -2
- package/dist/chunks/{component-HighwayWeatherForecast-Cp50--Dj.mjs → component-HighwayWeatherForecast-BD547juJ.mjs} +4 -4
- package/dist/chunks/{component-IframeWeb-HpaTePnW.mjs → component-IframeWeb-DMn6K9zk.mjs} +1 -1
- package/dist/chunks/{component-ImageGeneration-zj2WbvzB.mjs → component-ImageGeneration-BFSnXOdZ.mjs} +2 -2
- package/dist/chunks/{component-IntroducePic-BxDMkIyJ.mjs → component-IntroducePic-BmvED_mB.mjs} +2 -2
- package/dist/chunks/{component-LithiumBatteryMiningArea-BC05EqiO.mjs → component-LithiumBatteryMiningArea-BM_8uVPy.mjs} +2 -2
- package/dist/chunks/{component-MapPopup-DYsV0ICP.mjs → component-MapPopup-CRQjbIZT.mjs} +1 -1
- package/dist/chunks/{component-MaterialPreview-DJhj0Gh9.mjs → component-MaterialPreview-Dmg4LG8h.mjs} +2 -2
- package/dist/chunks/{component-PieLegend-BsDM9oA_.mjs → component-PieLegend-B90e9FMW.mjs} +1 -1
- package/dist/chunks/{component-PrecipitationRanking-B7gEEuCe.mjs → component-PrecipitationRanking-1knx18YC.mjs} +4 -4
- package/dist/chunks/{component-RadarChart-V_2K97Yw.mjs → component-RadarChart-DrQnSK2_.mjs} +2 -2
- package/dist/chunks/{component-RadarLegend-DwjhHZ-N.mjs → component-RadarLegend-UaQXwEdl.mjs} +1 -1
- package/dist/chunks/{component-RadarShortTerm-aF13_Zcy.mjs → component-RadarShortTerm-B6DiXwjj.mjs} +4 -4
- package/dist/chunks/{component-RadarTime-ZN7o47Mu.mjs → component-RadarTime-CrWj-oVD.mjs} +2 -2
- package/dist/chunks/{component-RenderMarkdown-BX-kHqL2.mjs → component-RenderMarkdown-CSoLEsFv.mjs} +2 -2
- package/dist/chunks/{component-ReservoirLiveAlarm-WVVwwKYZ.mjs → component-ReservoirLiveAlarm-CJUDC3QW.mjs} +3 -3
- package/dist/chunks/{component-ServiceMaterial-9imbipjj.mjs → component-ServiceMaterial-DR7imvMZ.mjs} +2 -2
- package/dist/chunks/{component-ServiceMaterialsBtn-693xq1p7.mjs → component-ServiceMaterialsBtn-BWxBKKWn.mjs} +1 -1
- package/dist/chunks/{component-StationDialog-C859f8A-.mjs → component-StationDialog-2KObsuJ8.mjs} +4 -4
- package/dist/chunks/{component-StationList-BQHnyqox.mjs → component-StationList-BszBJ914.mjs} +5 -5
- package/dist/chunks/{component-TimeBasedForecast-DH-OHwXc.mjs → component-TimeBasedForecast-B2ewC_QX.mjs} +4 -4
- package/dist/chunks/{component-Typhoon-C6jT8EFX.mjs → component-Typhoon-BQQCoEbU.mjs} +2 -2
- package/dist/chunks/{component-WarningLine-D3aVWmUZ.mjs → component-WarningLine-9Y5OJRig.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-CEe242B5.mjs → component-WarningSignal-uXiAUGTl.mjs} +3 -3
- package/dist/chunks/{component-WeatherForecast-BfqfB6UO.mjs → component-WeatherForecast-BIeLjzMw.mjs} +4 -4
- package/dist/chunks/{component-YCDataMonitor-DROgvkZ-.mjs → component-YCDataMonitor-D8jFTVaA.mjs} +2 -2
- package/dist/chunks/{component-YCDataService-BM5kQwax.mjs → component-YCDataService--R26h5UL.mjs} +4 -4
- package/dist/chunks/{component-YCHighWaySummary-Bh0IXiDd.mjs → component-YCHighWaySummary-CeYp4g4j.mjs} +2 -2
- package/dist/chunks/{component-YCHome-DwYK1Re4.mjs → component-YCHome-DQSDzxCG.mjs} +4 -4
- package/dist/chunks/{component-YCHomeLegend-BadxwkzL.mjs → component-YCHomeLegend-DiFftuY3.mjs} +1 -1
- package/dist/chunks/{component-YCLoginNew-D5u2lDWS.mjs → component-YCLoginNew-CFJSyKfV.mjs} +3 -3
- package/dist/components/Forecast72h/Forecast72h.vue.d.ts +2 -23
- package/dist/components/HdCameraList/HdCameraList.vue.d.ts +6 -0
- package/dist/components/HdHeatChart/HdHeatChart.vue.d.ts +44 -0
- package/dist/components/HdHeatChart/mockData.d.ts +12 -0
- package/dist/components/HdHeatChartDialog/HdHeatChartDialog.vue.d.ts +52 -0
- package/dist/components/HdHeatChartDialog/mockData.d.ts +23 -0
- package/dist/components/HdHeatService/HdHeatService.vue.d.ts +8 -20
- package/dist/components/HdInsectDetailList/HdInsectDetailList.vue.d.ts +22 -0
- package/dist/components/HdInsectList/HdInsectList.vue.d.ts +57 -0
- package/dist/components/HdRisk/HdRisk.vue.d.ts +61 -0
- package/dist/components/HdSeaCase/HdSeaCase.vue.d.ts +7 -4
- package/dist/components/HdSoil/HdSoil.vue.d.ts +55 -0
- package/dist/components/HdSoilDetailList/HdSoilDetailList.vue.d.ts +30 -0
- package/dist/components/HdThreeWeatherTrend/HdThreeWeatherTrend.vue.d.ts +2 -20
- package/dist/components/HdWaveForcast/HdWaveForcast.vue.d.ts +4 -20
- package/dist/index.d.ts +8 -1
- package/dist/nxd-plugin.mjs +69 -61
- package/dist/styles/component-Forecast72h.css +1 -1
- package/dist/styles/component-HDSeaLegend.css +1 -1
- package/dist/styles/component-HdCameraList.css +1 -1
- package/dist/styles/component-HdForecastProducts.css +1 -1
- package/dist/styles/component-HdHeatChart.css +1 -0
- package/dist/styles/component-HdHeatChartDialog.css +1 -0
- package/dist/styles/component-HdHeatService.css +1 -1
- package/dist/styles/component-HdInsectDetailList.css +1 -0
- package/dist/styles/component-HdInsectList.css +1 -0
- package/dist/styles/component-HdObservation.css +1 -1
- package/dist/styles/component-HdPreSituation.css +1 -1
- package/dist/styles/component-HdQxServiceEffects.css +1 -0
- package/dist/styles/component-HdRadarList.css +1 -1
- package/dist/styles/component-HdRisk.css +1 -0
- package/dist/styles/component-HdSeaCase.css +1 -1
- package/dist/styles/component-HdServiceMarterial.css +1 -1
- package/dist/styles/component-HdServiceRequirements.css +1 -1
- package/dist/styles/component-HdSoil.css +1 -0
- package/dist/styles/component-HdSoilDetailList.css +1 -0
- package/dist/styles/component-HdStationTem.css +1 -1
- package/dist/styles/component-HdSuggestion.css +1 -1
- package/dist/styles/component-HdThreeWeatherTrend.css +1 -1
- package/dist/styles/component-HdWaveForcast.css +1 -1
- package/dist/styles/component-HighQuality.css +1 -1
- package/dist/styles/component-StationList.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/package.json +1 -1
- package/dist/chunks/component-Forecast72h-hi7bHW_J.mjs +0 -543
- package/dist/chunks/component-HdCameraList-Cz1OYJEN.mjs +0 -332
- package/dist/chunks/component-HdHeatService-BKK-w3Xc.mjs +0 -412
- package/dist/chunks/component-HdSeaCase-wnGV704s.mjs +0 -219
- package/dist/chunks/component-HdThreeWeatherTrend-Deliswz6.mjs +0 -394
- package/dist/chunks/component-HdWaveForcast-CL4Ghg7T.mjs +0 -271
|
@@ -1,332 +0,0 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-CVb99opd.mjs";
|
|
2
|
-
import { r as t } from "./component-AiChat-CMbG8e28.mjs";
|
|
3
|
-
import "./component-Forecast72h-hi7bHW_J.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 l, defineComponent as u, getCurrentInstance as d, onMounted as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, unref as _, vModelText as ee, withCtx as v, withDirectives as y, withKeys as b, withModifiers as x } from "vue";
|
|
5
|
-
import "element-plus/es/components/select/style/css";
|
|
6
|
-
import "element-plus/es/components/option/style/css";
|
|
7
|
-
import { ElOption as te, ElSelect as ne } from "element-plus";
|
|
8
|
-
//#region src/components/HdCameraList/HdCameraList.vue?vue&type=script&setup=true&lang.ts
|
|
9
|
-
var re = { class: "HdCameraList" }, ie = { class: "HdCameraList-header" }, ae = { class: "HdCameraList-headerContent" }, oe = { class: "HdCameraList-title" }, se = { class: "HdCameraList-toolbar" }, S = { class: "HdCameraList-search" }, C = { class: "HdCameraList-count" }, w = { class: "HdCameraList-body" }, T = ["onClick"], E = { class: "HdCameraList-thumb" }, D = ["src"], O = {
|
|
10
|
-
key: 1,
|
|
11
|
-
class: "HdCameraList-thumbPlaceholder"
|
|
12
|
-
}, k = { class: "HdCameraList-info" }, A = ["title"], j = {
|
|
13
|
-
key: 0,
|
|
14
|
-
class: "HdCameraList-meta"
|
|
15
|
-
}, M = {
|
|
16
|
-
key: 0,
|
|
17
|
-
class: "HdCameraList-empty"
|
|
18
|
-
}, N = { class: "HdCameraList-player" }, P = { class: "HdCameraList-playerHead" }, F = { class: "HdCameraList-playerHeadTitle" }, I = { class: "HdCameraList-playerBody" }, L = ["src"], R = {
|
|
19
|
-
key: 1,
|
|
20
|
-
class: "HdCameraList-videoEmpty"
|
|
21
|
-
}, z = /* @__PURE__ */ e(/* @__PURE__ */ u({
|
|
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: ["close", "play"],
|
|
106
|
-
setup(e, { emit: u }) {
|
|
107
|
-
let z = d()?.appContext.config.globalProperties.$bus, B = e, V = u;
|
|
108
|
-
m([]);
|
|
109
|
-
let H = m({
|
|
110
|
-
title: "",
|
|
111
|
-
list: []
|
|
112
|
-
}), U = m("all"), W = m(""), G = m(""), K = m(!1), q = m(null), J = m(null), ce = i(() => B.title || H.value.title || "实景监控"), Y = i(() => B.list.length ? B.list : H.value.list), le = i(() => {
|
|
113
|
-
let e = /* @__PURE__ */ new Map();
|
|
114
|
-
return e.set("all", "全部"), Y.value.forEach((t) => {
|
|
115
|
-
t.location && !e.has(t.location) && e.set(t.location, t.location);
|
|
116
|
-
}), Array.from(e.entries()).map(([e, t]) => ({
|
|
117
|
-
value: e,
|
|
118
|
-
label: t
|
|
119
|
-
}));
|
|
120
|
-
}), X = i(() => {
|
|
121
|
-
let e = Y.value;
|
|
122
|
-
U.value !== "all" && (e = e.filter((e) => e.location === U.value));
|
|
123
|
-
let t = G.value.trim().toLowerCase();
|
|
124
|
-
return t && (e = e.filter((e) => e.name.toLowerCase().includes(t))), e;
|
|
125
|
-
}), Z = () => {
|
|
126
|
-
G.value = W.value;
|
|
127
|
-
}, ue = (e) => /^https?:\/\//i.test(e), de = (e) => {
|
|
128
|
-
if (!e) return "";
|
|
129
|
-
if (ue(e)) return e;
|
|
130
|
-
let t = B.baseHttp || "";
|
|
131
|
-
return `${t}${t && !t.endsWith("/") && !e.startsWith("/") ? "/" : ""}${e}`;
|
|
132
|
-
}, fe = (e) => {
|
|
133
|
-
q.value = e, K.value = !0, V("play", e);
|
|
134
|
-
}, Q = () => {
|
|
135
|
-
J.value && (J.value.pause(), J.value.src = ""), K.value = !1, q.value = null;
|
|
136
|
-
}, pe = () => {
|
|
137
|
-
V("close", "HdCameraList");
|
|
138
|
-
}, $ = () => {
|
|
139
|
-
let e = B.mockData || {};
|
|
140
|
-
H.value = {
|
|
141
|
-
title: e.title || "",
|
|
142
|
-
list: e.list || []
|
|
143
|
-
};
|
|
144
|
-
}, me = (e) => {
|
|
145
|
-
if (!e) return null;
|
|
146
|
-
let t = null;
|
|
147
|
-
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 {
|
|
148
|
-
t = JSON.parse(t);
|
|
149
|
-
} catch (e) {
|
|
150
|
-
console.warn("HdCameraList 接口返回非 JSON 字符串", e);
|
|
151
|
-
}
|
|
152
|
-
return t;
|
|
153
|
-
}, he = async () => {
|
|
154
|
-
let e = B.ids.data;
|
|
155
|
-
if (!e?.id) {
|
|
156
|
-
console.warn("HdCameraList 缺少数据工作流配置");
|
|
157
|
-
return;
|
|
158
|
-
}
|
|
159
|
-
try {
|
|
160
|
-
let n = me(await t({
|
|
161
|
-
id: e.id,
|
|
162
|
-
baseHttp: B.baseHttp,
|
|
163
|
-
reqType: e.reqType,
|
|
164
|
-
variables: { serviceTypeID: B.serviceTypeID },
|
|
165
|
-
isFormData: e.isFormData,
|
|
166
|
-
appKey: B.appKey,
|
|
167
|
-
appSalt: B.appSalt
|
|
168
|
-
}));
|
|
169
|
-
console.log(n, "output");
|
|
170
|
-
let r = ge(n);
|
|
171
|
-
H.value = {
|
|
172
|
-
title: n?.title || "",
|
|
173
|
-
list: r.map((e) => _e(e))
|
|
174
|
-
};
|
|
175
|
-
} catch (e) {
|
|
176
|
-
console.error("HdCameraList 加载失败", e);
|
|
177
|
-
}
|
|
178
|
-
}, ge = (e) => e ? Array.isArray(e) ? e : Array.isArray(e.list) ? e.list : Array.isArray(e.ds) ? e.ds : Array.isArray(e.data) ? e.data : [] : [], _e = (e) => {
|
|
179
|
-
let t = e.id ?? e.select_num ?? e.cameraId ?? e.camera_id ?? e.num ?? 0;
|
|
180
|
-
return {
|
|
181
|
-
id: t,
|
|
182
|
-
name: e.name ?? e.cameraName ?? e.camera_name ?? e.title ?? e.cameranum ?? `摄像头${t}`,
|
|
183
|
-
location: e.jobSiteName ?? e.location ?? e.areaName ?? e.area_name ?? e.region ?? e.address ?? "",
|
|
184
|
-
previewpic: e.previewpic ?? e.thumbnail ?? e.pic ?? e.image ?? "",
|
|
185
|
-
streamUrl: e.streamUrl ?? e.url ?? e.stream_url ?? e.videoUrl ?? e.video_url ?? e.rtmp ?? ""
|
|
186
|
-
};
|
|
187
|
-
}, ve = async () => {
|
|
188
|
-
B.mock ? $() : await he();
|
|
189
|
-
};
|
|
190
|
-
return f(() => {
|
|
191
|
-
z?.on("toComponent", (e) => {
|
|
192
|
-
e.componentName === "HdCameraList" && ve();
|
|
193
|
-
});
|
|
194
|
-
}), (e, t) => (p(), s("div", re, [
|
|
195
|
-
c("button", {
|
|
196
|
-
class: "HdCameraList-close",
|
|
197
|
-
onClick: pe
|
|
198
|
-
}, [...t[2] ||= [c("span", null, "✕", -1)]]),
|
|
199
|
-
c("div", ie, [c("div", ae, [c("h3", oe, g(ce.value), 1)]), t[3] ||= c("img", {
|
|
200
|
-
class: "HdCameraList-headerLine",
|
|
201
|
-
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",
|
|
202
|
-
alt: ""
|
|
203
|
-
}, null, -1)]),
|
|
204
|
-
c("div", se, [
|
|
205
|
-
l(_(ne), {
|
|
206
|
-
modelValue: U.value,
|
|
207
|
-
"onUpdate:modelValue": t[0] ||= (e) => U.value = e,
|
|
208
|
-
class: "HdCameraList-select",
|
|
209
|
-
size: "small",
|
|
210
|
-
"popper-class": "HdCameraList-selectPopper",
|
|
211
|
-
placeholder: "全部"
|
|
212
|
-
}, {
|
|
213
|
-
default: v(() => [(p(!0), s(n, null, h(le.value, (e) => (p(), a(_(te), {
|
|
214
|
-
key: e.value,
|
|
215
|
-
label: e.label,
|
|
216
|
-
value: e.value
|
|
217
|
-
}, null, 8, ["label", "value"]))), 128))]),
|
|
218
|
-
_: 1
|
|
219
|
-
}, 8, ["modelValue"]),
|
|
220
|
-
c("div", S, [y(c("input", {
|
|
221
|
-
"onUpdate:modelValue": t[1] ||= (e) => W.value = e,
|
|
222
|
-
type: "text",
|
|
223
|
-
class: "HdCameraList-searchInput",
|
|
224
|
-
placeholder: "搜索摄像头",
|
|
225
|
-
onKeyup: b(Z, ["enter"])
|
|
226
|
-
}, null, 544), [[ee, W.value]]), (p(), s("svg", {
|
|
227
|
-
class: "HdCameraList-searchIcon",
|
|
228
|
-
viewBox: "0 0 24 24",
|
|
229
|
-
width: "14",
|
|
230
|
-
height: "14",
|
|
231
|
-
onClick: Z
|
|
232
|
-
}, [...t[4] ||= [c("circle", {
|
|
233
|
-
cx: "11",
|
|
234
|
-
cy: "11",
|
|
235
|
-
r: "7",
|
|
236
|
-
fill: "none",
|
|
237
|
-
stroke: "currentColor",
|
|
238
|
-
"stroke-width": "1.5"
|
|
239
|
-
}, null, -1), c("path", {
|
|
240
|
-
d: "M16 16 L20 20",
|
|
241
|
-
fill: "none",
|
|
242
|
-
stroke: "currentColor",
|
|
243
|
-
"stroke-width": "1.5",
|
|
244
|
-
"stroke-linecap": "round"
|
|
245
|
-
}, null, -1)]]))]),
|
|
246
|
-
c("span", C, "共 " + g(X.value.length) + " 路", 1)
|
|
247
|
-
]),
|
|
248
|
-
c("div", w, [(p(!0), s(n, null, h(X.value, (e) => (p(), s("div", {
|
|
249
|
-
key: e.id,
|
|
250
|
-
class: "HdCameraList-item",
|
|
251
|
-
onClick: (t) => fe(e)
|
|
252
|
-
}, [
|
|
253
|
-
c("div", E, [e.previewpic ? (p(), s("img", {
|
|
254
|
-
key: 0,
|
|
255
|
-
src: e.previewpic,
|
|
256
|
-
alt: ""
|
|
257
|
-
}, null, 8, D)) : (p(), s("div", O, [...t[5] ||= [c("svg", {
|
|
258
|
-
viewBox: "0 0 24 24",
|
|
259
|
-
width: "20",
|
|
260
|
-
height: "20"
|
|
261
|
-
}, [
|
|
262
|
-
c("rect", {
|
|
263
|
-
x: "2",
|
|
264
|
-
y: "6",
|
|
265
|
-
width: "20",
|
|
266
|
-
height: "12",
|
|
267
|
-
rx: "2",
|
|
268
|
-
fill: "none",
|
|
269
|
-
stroke: "currentColor",
|
|
270
|
-
"stroke-width": "1.5"
|
|
271
|
-
}),
|
|
272
|
-
c("circle", {
|
|
273
|
-
cx: "12",
|
|
274
|
-
cy: "12",
|
|
275
|
-
r: "3",
|
|
276
|
-
fill: "none",
|
|
277
|
-
stroke: "currentColor",
|
|
278
|
-
"stroke-width": "1.5"
|
|
279
|
-
}),
|
|
280
|
-
c("circle", {
|
|
281
|
-
cx: "12",
|
|
282
|
-
cy: "12",
|
|
283
|
-
r: "1",
|
|
284
|
-
fill: "currentColor"
|
|
285
|
-
})
|
|
286
|
-
], -1)]]))]),
|
|
287
|
-
c("div", k, [c("div", {
|
|
288
|
-
class: "HdCameraList-name",
|
|
289
|
-
title: e.name
|
|
290
|
-
}, g(e.name), 9, A), e.location ? (p(), s("div", j, g(e.location), 1)) : o("", !0)]),
|
|
291
|
-
t[6] ||= c("div", { class: "HdCameraList-play" }, [c("svg", {
|
|
292
|
-
viewBox: "0 0 24 24",
|
|
293
|
-
width: "18",
|
|
294
|
-
height: "18"
|
|
295
|
-
}, [c("circle", {
|
|
296
|
-
cx: "12",
|
|
297
|
-
cy: "12",
|
|
298
|
-
r: "10",
|
|
299
|
-
fill: "none",
|
|
300
|
-
stroke: "currentColor",
|
|
301
|
-
"stroke-width": "1.5"
|
|
302
|
-
}), c("polygon", {
|
|
303
|
-
points: "10 8 16 12 10 16",
|
|
304
|
-
fill: "currentColor"
|
|
305
|
-
})])], -1)
|
|
306
|
-
], 8, T))), 128)), X.value.length ? o("", !0) : (p(), s("div", M, "暂无摄像头"))]),
|
|
307
|
-
(p(), a(r, { to: "body" }, [K.value ? (p(), s("div", {
|
|
308
|
-
key: 0,
|
|
309
|
-
class: "HdCameraList-mask",
|
|
310
|
-
onClick: x(Q, ["self"])
|
|
311
|
-
}, [c("div", N, [c("div", P, [
|
|
312
|
-
t[8] ||= c("i", { class: "HdCameraList-playerHeadBar" }, null, -1),
|
|
313
|
-
c("span", F, g(q.value?.name), 1),
|
|
314
|
-
c("button", {
|
|
315
|
-
class: "HdCameraList-playerClose",
|
|
316
|
-
onClick: Q
|
|
317
|
-
}, [...t[7] ||= [c("span", null, "✕", -1)]])
|
|
318
|
-
]), c("div", I, [q.value?.streamUrl ? (p(), s("video", {
|
|
319
|
-
key: 0,
|
|
320
|
-
ref_key: "videoRef",
|
|
321
|
-
ref: J,
|
|
322
|
-
class: "HdCameraList-video",
|
|
323
|
-
src: de(q.value.streamUrl),
|
|
324
|
-
controls: "",
|
|
325
|
-
autoplay: "",
|
|
326
|
-
playsinline: ""
|
|
327
|
-
}, null, 8, L)) : (p(), s("div", R, "暂无视频流地址"))])])])) : o("", !0)]))
|
|
328
|
-
]));
|
|
329
|
-
}
|
|
330
|
-
}), [["__scopeId", "data-v-ac038cef"]]);
|
|
331
|
-
//#endregion
|
|
332
|
-
export { z as t };
|