nxd-plugin 1.7.93 → 1.7.95
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-ImageGeneration-Bn1LfQ7G.mjs → component-ImageGeneration-B7L3rXzG.mjs} +1 -1
- package/dist/chunks/{component-YCHighWaySummary-D1ydhcSV.mjs → component-YCHighWaySummary-DTUkP8s6.mjs} +31 -31
- package/dist/nxd-plugin.mjs +2 -2
- package/dist/styles/component-YCHighWaySummary.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/package.json +1 -1
|
@@ -18566,7 +18566,7 @@ var Ev = class {
|
|
|
18566
18566
|
});
|
|
18567
18567
|
});
|
|
18568
18568
|
}, re = (t) => {
|
|
18569
|
-
t.polygonArr.map((t, n) => {
|
|
18569
|
+
(Array.isArray(t) ? t : t.polygonArr || []).map((t, n) => {
|
|
18570
18570
|
let r = [];
|
|
18571
18571
|
t.polygonJson.map((e, t) => {
|
|
18572
18572
|
e.lat && e.lng ? r.push([e.lng, e.lat]) : r.push(e);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as e } from "./component-AqiMonitor-DWhSDKFM.mjs";
|
|
2
2
|
import { r as t } from "./component-AiChat-B2YoRfzz.mjs";
|
|
3
|
-
import { createElementBlock as n, createElementVNode as r,
|
|
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
|
-
var
|
|
5
|
+
var d = { class: "YCHighWaySummary" }, f = { class: "YCHighWaySummary__body" }, p = { class: "YCHighWaySummary__section" }, m = { class: "YCHighWaySummary__section" }, h = /* @__PURE__ */ e(/* @__PURE__ */ a({
|
|
6
6
|
__name: "YCHighWaySummary",
|
|
7
7
|
props: {
|
|
8
8
|
appKey: {
|
|
@@ -22,46 +22,46 @@ var u = { class: "YCHighWaySummary" }, d = { class: "YCHighWaySummary__body" },
|
|
|
22
22
|
default: () => ({})
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
|
-
setup(e, { emit:
|
|
26
|
-
let
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
setup(e, { emit: a }) {
|
|
26
|
+
let h = a, g = e, _ = l(""), v = l(""), y = l(null);
|
|
27
|
+
s(() => {
|
|
28
|
+
b(), y.value = setInterval(() => {
|
|
29
|
+
b();
|
|
30
30
|
}, 1e3 * 60 * 10);
|
|
31
|
-
}),
|
|
32
|
-
|
|
31
|
+
}), o(() => {
|
|
32
|
+
y.value &&= (clearInterval(y.value), null);
|
|
33
33
|
});
|
|
34
|
-
let
|
|
35
|
-
|
|
36
|
-
appKey:
|
|
37
|
-
appSalt:
|
|
38
|
-
id:
|
|
34
|
+
let b = async () => {
|
|
35
|
+
_.value = (await t({
|
|
36
|
+
appKey: g.appKey,
|
|
37
|
+
appSalt: g.appSalt,
|
|
38
|
+
id: g.ids.realtime.id,
|
|
39
39
|
variables: {},
|
|
40
|
-
baseHttp:
|
|
41
|
-
reqType:
|
|
42
|
-
isFormData:
|
|
43
|
-
})).data?.result?.analyzeData || "",
|
|
44
|
-
appKey:
|
|
45
|
-
appSalt:
|
|
46
|
-
id:
|
|
40
|
+
baseHttp: g.baseHttp,
|
|
41
|
+
reqType: g.ids.realtime.reqType,
|
|
42
|
+
isFormData: g.ids.realtime.isFormData
|
|
43
|
+
})).data?.result?.analyzeData || "", v.value = (await t({
|
|
44
|
+
appKey: g.appKey,
|
|
45
|
+
appSalt: g.appSalt,
|
|
46
|
+
id: g.ids.forecast.id,
|
|
47
47
|
variables: {},
|
|
48
|
-
baseHttp:
|
|
49
|
-
reqType:
|
|
50
|
-
isFormData:
|
|
48
|
+
baseHttp: g.baseHttp,
|
|
49
|
+
reqType: g.ids.forecast.reqType,
|
|
50
|
+
isFormData: g.ids.forecast.isFormData
|
|
51
51
|
})).data?.result?.forecastData || "";
|
|
52
|
-
},
|
|
53
|
-
|
|
52
|
+
}, x = () => {
|
|
53
|
+
h("close", "YCHighWaySummary");
|
|
54
54
|
};
|
|
55
|
-
return (e, t) => (
|
|
55
|
+
return (e, t) => (c(), n("div", d, [r("div", { class: "YCHighWaySummary__head" }, [r("div", { class: "YCHighWaySummary__head-top" }, [t[0] ||= r("div", null, "高速阈值告警", -1), r("div", {
|
|
56
56
|
class: "closeBtn",
|
|
57
|
-
onClick:
|
|
57
|
+
onClick: x,
|
|
58
58
|
title: "关闭"
|
|
59
59
|
})]), t[1] ||= r("img", {
|
|
60
60
|
class: "YCHighWaySummary__head-line",
|
|
61
61
|
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",
|
|
62
62
|
alt: ""
|
|
63
|
-
}, null, -1)]), r("div",
|
|
63
|
+
}, null, -1)]), r("div", f, [r("div", p, [t[2] ||= r("span", { class: "YCHighWaySummary__section-label" }, "实况:", -1), i(u(_.value), 1)]), r("div", m, [t[3] ||= r("span", { class: "YCHighWaySummary__section-label" }, "预报:", -1), i(u(v.value), 1)])])]));
|
|
64
64
|
}
|
|
65
|
-
}), [["__scopeId", "data-v-
|
|
65
|
+
}), [["__scopeId", "data-v-41c6bbf5"]]);
|
|
66
66
|
//#endregion
|
|
67
|
-
export {
|
|
67
|
+
export { h as t };
|
package/dist/nxd-plugin.mjs
CHANGED
|
@@ -17,7 +17,7 @@ import { t as p } from "./chunks/component-RadarLegend-UaQXwEdl.mjs";
|
|
|
17
17
|
import { t as m } from "./chunks/component-RadarShortTerm-B6DiXwjj.mjs";
|
|
18
18
|
import { t as h } from "./chunks/component-TimeBasedForecast-eRf8bDpe.mjs";
|
|
19
19
|
import { t as g } from "./chunks/component-WeatherForecast-COWkCiqA.mjs";
|
|
20
|
-
import { t as _ } from "./chunks/component-ImageGeneration-
|
|
20
|
+
import { t as _ } from "./chunks/component-ImageGeneration-B7L3rXzG.mjs";
|
|
21
21
|
import { t as v } from "./chunks/component-WarningSignal-uXiAUGTl.mjs";
|
|
22
22
|
import { t as y } from "./chunks/component-RadarChart-DrQnSK2_.mjs";
|
|
23
23
|
import { t as b } from "./chunks/component-MapPopup-CRQjbIZT.mjs";
|
|
@@ -56,7 +56,7 @@ import { t as re } from "./chunks/component-HdCameraList-6Tb6qgq8.mjs";
|
|
|
56
56
|
import { t as ie } from "./chunks/component-HdRadarList-RWcGRnE_.mjs";
|
|
57
57
|
import { t as Q } from "./chunks/component-Typhoon-4mrFcOKL.mjs";
|
|
58
58
|
import { t as ae } from "./chunks/component-HDSeaLegend-txEg91l0.mjs";
|
|
59
|
-
import { t as oe } from "./chunks/component-YCHighWaySummary-
|
|
59
|
+
import { t as oe } from "./chunks/component-YCHighWaySummary-DTUkP8s6.mjs";
|
|
60
60
|
//#region src/index.ts
|
|
61
61
|
var $ = { install($) {
|
|
62
62
|
$.component("HighwayLiveAlarm", ee), $.component("HighwayLiveAlarmNew", n), $.component("HighwayStations", r), $.component("HighWayEarlyWarningRed", i), $.component("HighwayWeatherForecast", s), $.component("ServiceMaterialsBtn", c), $.component("YCHome", l), $.component("YCLoginNew", d), $.component("HighWayFreeze", f), $.component("RadarShortTerm", m), $.component("LithiumBatteryMiningArea", u), $.component("TimeBasedForecast", h), $.component("Typhoon", Q), $.component("WeatherForecast", g), $.component("ImageGeneration", _), $.component("WarningSignal", v), $.component("RadarChart", y), $.component("AqiMonitor", e), $.component("MapPopup", b), $.component("RadarTime", x), $.component("ServiceMaterial", S), $.component("WarningLine", C), $.component("RadarLegend", p), $.component("PieLegend", w), $.component("GeologyLiveAlarm", te), $.component("MaterialPreview", T), $.component("ReservoirLiveAlarm", E), $.component("IframeWeb", D), $.component("Duty", O), $.component("RenderMarkdown", ne), $.component("EarlyWarningStatistic", k), $.component("EarlyWarningStatistic2", A), $.component("YCDataService", j), $.component("ChartCumulativePre", M), $.component("ChartServiceMaterial", N), $.component("YCHomeLegend", P), $.component("IntroducePic", F), $.component("HighQuality", I), $.component("AiChat", t), $.component("StationDialog", R), $.component("StationList", z), $.component("PrecipitationRanking", B), $.component("Forecast72h", o), $.component("HdRadarTime", V), $.component("HdStationTem", H), $.component("HdObservation", L), $.component("HdPreSituation", U), $.component("HdSeaCase", W), $.component("HdQxServiceEffects", G), $.component("HdHeatService", K), $.component("HdServiceRequirements", q), $.component("HdSuggestion", J), $.component("HdForecastProducts", Y), $.component("HdThreeWeatherTrend", a), $.component("HdWaveForcast", X), $.component("HdServiceMarterial", Z), $.component("HdCameraList", re), $.component("HdRadarList", ie), $.component("Typhoon", Q), $.component("HDSeaLegend", ae), $.component("YCHighWaySummary", oe);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.YCHighWaySummary[data-v-
|
|
1
|
+
.YCHighWaySummary[data-v-41c6bbf5]{color:#fff;box-sizing:border-box;background:#002140e6;border:1px solid #0bc4e9;flex-direction:column;width:360px;min-height:100px;max-height:500px;padding:10px;display:flex;position:relative}.YCHighWaySummary .YCHighWaySummary__head[data-v-41c6bbf5]{flex-shrink:0;width:100%;position:relative}.YCHighWaySummary .YCHighWaySummary__head .YCHighWaySummary__head-top[data-v-41c6bbf5]{color:#fff;justify-content:space-between;align-items:center;width:100%;height:20px;margin-bottom:6px;font-size:16px;font-weight:700;display:flex}.YCHighWaySummary .YCHighWaySummary__head .YCHighWaySummary__head-top .closeBtn[data-v-41c6bbf5]{cursor:pointer;background:#b4c4d247;border:1px solid #b0d2e65c;border-radius:50%;width:16px;height:16px;transition:background-color .28s cubic-bezier(.22,1,.36,1),border-color .28s cubic-bezier(.22,1,.36,1),box-shadow .28s cubic-bezier(.22,1,.36,1),transform .22s cubic-bezier(.22,1,.36,1);position:relative;transform:scale(1);box-shadow:inset 0 1px 1px #ffffff1f}.YCHighWaySummary .YCHighWaySummary__head .YCHighWaySummary__head-top .closeBtn[data-v-41c6bbf5]:before,.YCHighWaySummary .YCHighWaySummary__head .YCHighWaySummary__head-top .closeBtn[data-v-41c6bbf5]:after{content:"";transform-origin:50%;opacity:0;background:#7a1b18;border-radius:1px;width:9px;height:1.8px;transition:opacity .2s;position:absolute;top:50%;left:50%}.YCHighWaySummary .YCHighWaySummary__head .YCHighWaySummary__head-top .closeBtn[data-v-41c6bbf5]:before{transform:translate(-50%,-50%)rotate(45deg)}.YCHighWaySummary .YCHighWaySummary__head .YCHighWaySummary__head-top .closeBtn[data-v-41c6bbf5]:after{transform:translate(-50%,-50%)rotate(-45deg)}.YCHighWaySummary .YCHighWaySummary__head .YCHighWaySummary__head-top .closeBtn[data-v-41c6bbf5]:hover{background:#ff5f57;border-color:#e0443e;transform:scale(1.14);box-shadow:inset 0 1px 1px #ffffff59,0 0 0 1px #0003}.YCHighWaySummary .YCHighWaySummary__head .YCHighWaySummary__head-top .closeBtn[data-v-41c6bbf5]:hover:before,.YCHighWaySummary .YCHighWaySummary__head .YCHighWaySummary__head-top .closeBtn[data-v-41c6bbf5]:hover:after{opacity:1}.YCHighWaySummary .YCHighWaySummary__head .YCHighWaySummary__head-top .closeBtn[data-v-41c6bbf5]:active{transform:scale(.96)}.YCHighWaySummary .YCHighWaySummary__head .YCHighWaySummary__head-line[data-v-41c6bbf5]{width:100%;height:10px}.YCHighWaySummary .YCHighWaySummary__body[data-v-41c6bbf5]{flex:1;min-height:0;margin-top:12px;overflow-y:auto}.YCHighWaySummary .YCHighWaySummary__body[data-v-41c6bbf5]::-webkit-scrollbar{width:6px}.YCHighWaySummary .YCHighWaySummary__body[data-v-41c6bbf5]::-webkit-scrollbar-thumb{background:#61d2c080;border-radius:3px}.YCHighWaySummary .YCHighWaySummary__body[data-v-41c6bbf5]::-webkit-scrollbar-track{background:0 0}.YCHighWaySummary .YCHighWaySummary__section[data-v-41c6bbf5]{color:#cfe9e4;word-break:break-all;font-size:14px;line-height:1.6}.YCHighWaySummary .YCHighWaySummary__section .YCHighWaySummary__section-label[data-v-41c6bbf5]{color:#61d2c0;font-weight:700}.YCHighWaySummary .YCHighWaySummary__section+.YCHighWaySummary__section[data-v-41c6bbf5]{border-top:1px solid #61d2c040;margin-top:10px;padding-top:10px}
|