nxd-plugin 1.7.92 → 1.7.94

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.
@@ -0,0 +1,67 @@
1
+ import { n as e } from "./component-AqiMonitor-DWhSDKFM.mjs";
2
+ import { r as t } from "./component-AiChat-B2YoRfzz.mjs";
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
+ //#region src/components/YCHighWaySummary/YCHighWaySummary.vue?vue&type=script&setup=true&lang.ts
5
+ var d = { class: "YCHighWaySummary" }, f = { class: "YCHighWaySummary__body" }, p = { class: "YCHighWaySummary__section" }, m = { class: "YCHighWaySummary__section" }, h = /* @__PURE__ */ e(/* @__PURE__ */ a({
6
+ __name: "YCHighWaySummary",
7
+ props: {
8
+ appKey: {
9
+ type: String,
10
+ default: ""
11
+ },
12
+ appSalt: {
13
+ type: String,
14
+ default: ""
15
+ },
16
+ baseHttp: {
17
+ type: String,
18
+ default: ""
19
+ },
20
+ ids: {
21
+ type: Object,
22
+ default: () => ({})
23
+ }
24
+ },
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
+ }, 1e3 * 60 * 10);
31
+ }), o(() => {
32
+ y.value &&= (clearInterval(y.value), null);
33
+ });
34
+ let b = async () => {
35
+ _.value = (await t({
36
+ appKey: g.appKey,
37
+ appSalt: g.appSalt,
38
+ id: g.ids.realtime.id,
39
+ variables: {},
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
+ variables: {},
48
+ baseHttp: g.baseHttp,
49
+ reqType: g.ids.forecast.reqType,
50
+ isFormData: g.ids.forecast.isFormData
51
+ })).data?.result?.forecastData || "";
52
+ }, x = () => {
53
+ h("close", "YCHighWaySummary");
54
+ };
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
+ class: "closeBtn",
57
+ onClick: x,
58
+ title: "关闭"
59
+ })]), t[1] ||= r("img", {
60
+ class: "YCHighWaySummary__head-line",
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
+ alt: ""
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
+ }
65
+ }), [["__scopeId", "data-v-41c6bbf5"]]);
66
+ //#endregion
67
+ export { h as t };
@@ -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-BPT0yTIZ.mjs";
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-62aee9d9]{color:#fff;box-sizing:border-box;background:#002140e6;border:1px solid #0bc4e9;width:360px;min-height:100px;padding:10px;position:relative}.YCHighWaySummary .YCHighWaySummary__head[data-v-62aee9d9]{width:100%;position:relative}.YCHighWaySummary .YCHighWaySummary__head .YCHighWaySummary__head-top[data-v-62aee9d9]{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-62aee9d9]{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-62aee9d9]:before,.YCHighWaySummary .YCHighWaySummary__head .YCHighWaySummary__head-top .closeBtn[data-v-62aee9d9]: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-62aee9d9]:before{transform:translate(-50%,-50%)rotate(45deg)}.YCHighWaySummary .YCHighWaySummary__head .YCHighWaySummary__head-top .closeBtn[data-v-62aee9d9]:after{transform:translate(-50%,-50%)rotate(-45deg)}.YCHighWaySummary .YCHighWaySummary__head .YCHighWaySummary__head-top .closeBtn[data-v-62aee9d9]: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-62aee9d9]:hover:before,.YCHighWaySummary .YCHighWaySummary__head .YCHighWaySummary__head-top .closeBtn[data-v-62aee9d9]:hover:after{opacity:1}.YCHighWaySummary .YCHighWaySummary__head .YCHighWaySummary__head-top .closeBtn[data-v-62aee9d9]:active{transform:scale(.96)}.YCHighWaySummary .YCHighWaySummary__head .YCHighWaySummary__head-line[data-v-62aee9d9]{width:100%;height:10px}
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}