nxd-plugin 1.7.92 → 1.7.93

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.
@@ -2,7 +2,7 @@ import { n as e } from "./component-AqiMonitor-DWhSDKFM.mjs";
2
2
  import { r as t } from "./component-AiChat-B2YoRfzz.mjs";
3
3
  import { createElementBlock as n, createElementVNode as r, defineComponent as i, onBeforeUnmount as a, onMounted as o, openBlock as s, ref as c, toDisplayString as l } from "vue";
4
4
  //#region src/components/YCHighWaySummary/YCHighWaySummary.vue?vue&type=script&setup=true&lang.ts
5
- var u = { class: "YCHighWaySummary" }, d = { style: { "text-indent": "2em" } }, f = /* @__PURE__ */ e(/* @__PURE__ */ i({
5
+ var u = { class: "YCHighWaySummary" }, d = { class: "YCHighWaySummary__body" }, f = { class: "YCHighWaySummary__section" }, p = { class: "YCHighWaySummary__section-text" }, m = { class: "YCHighWaySummary__section" }, h = { class: "YCHighWaySummary__section-text" }, g = /* @__PURE__ */ e(/* @__PURE__ */ i({
6
6
  __name: "YCHighWaySummary",
7
7
  props: {
8
8
  appKey: {
@@ -23,37 +23,45 @@ var u = { class: "YCHighWaySummary" }, d = { style: { "text-indent": "2em" } },
23
23
  }
24
24
  },
25
25
  setup(e, { emit: i }) {
26
- let f = i, p = e, m = c(""), h = c(null);
26
+ let g = i, _ = e, v = c(""), y = c(""), b = c(null);
27
27
  o(() => {
28
- g(), h.value = setInterval(() => {
29
- g();
28
+ x(), b.value = setInterval(() => {
29
+ x();
30
30
  }, 1e3 * 60 * 10);
31
31
  }), a(() => {
32
- h.value &&= (clearInterval(h.value), null);
32
+ b.value &&= (clearInterval(b.value), null);
33
33
  });
34
- let g = async () => {
35
- m.value = (await t({
36
- appKey: p.appKey,
37
- appSalt: p.appSalt,
38
- id: p.ids.data.id,
34
+ let x = async () => {
35
+ v.value = (await t({
36
+ appKey: _.appKey,
37
+ appSalt: _.appSalt,
38
+ id: _.ids.realtime.id,
39
39
  variables: {},
40
- baseHttp: p.baseHttp,
41
- reqType: p.ids.data.reqType,
42
- isFormData: p.ids.data.isFormData
43
- })).data?.result?.analyzeData || "";
44
- }, _ = () => {
45
- f("close", "YCHighWaySummary");
40
+ baseHttp: _.baseHttp,
41
+ reqType: _.ids.realtime.reqType,
42
+ isFormData: _.ids.realtime.isFormData
43
+ })).data?.result?.analyzeData || "", y.value = (await t({
44
+ appKey: _.appKey,
45
+ appSalt: _.appSalt,
46
+ id: _.ids.forecast.id,
47
+ variables: {},
48
+ baseHttp: _.baseHttp,
49
+ reqType: _.ids.forecast.reqType,
50
+ isFormData: _.ids.forecast.isFormData
51
+ })).data?.result?.forecastData || "";
52
+ }, S = () => {
53
+ g("close", "YCHighWaySummary");
46
54
  };
47
55
  return (e, t) => (s(), n("div", u, [r("div", { class: "YCHighWaySummary__head" }, [r("div", { class: "YCHighWaySummary__head-top" }, [t[0] ||= r("div", null, "高速阈值告警", -1), r("div", {
48
56
  class: "closeBtn",
49
- onClick: _,
57
+ onClick: S,
50
58
  title: "关闭"
51
59
  })]), t[1] ||= r("img", {
52
60
  class: "YCHighWaySummary__head-line",
53
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",
54
62
  alt: ""
55
- }, null, -1)]), r("div", d, l(m.value), 1)]));
63
+ }, null, -1)]), r("div", d, [r("div", f, [t[2] ||= r("div", { class: "YCHighWaySummary__section-title" }, "实况", -1), r("div", p, l(v.value), 1)]), r("div", m, [t[3] ||= r("div", { class: "YCHighWaySummary__section-title" }, "预报", -1), r("div", h, l(y.value), 1)])])]));
56
64
  }
57
- }), [["__scopeId", "data-v-62aee9d9"]]);
65
+ }), [["__scopeId", "data-v-aca6a2f3"]]);
58
66
  //#endregion
59
- export { f as t };
67
+ export { g 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-D1ydhcSV.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-aca6a2f3]{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-aca6a2f3]{flex-shrink:0;width:100%;position:relative}.YCHighWaySummary .YCHighWaySummary__head .YCHighWaySummary__head-top[data-v-aca6a2f3]{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-aca6a2f3]{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-aca6a2f3]:before,.YCHighWaySummary .YCHighWaySummary__head .YCHighWaySummary__head-top .closeBtn[data-v-aca6a2f3]: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-aca6a2f3]:before{transform:translate(-50%,-50%)rotate(45deg)}.YCHighWaySummary .YCHighWaySummary__head .YCHighWaySummary__head-top .closeBtn[data-v-aca6a2f3]:after{transform:translate(-50%,-50%)rotate(-45deg)}.YCHighWaySummary .YCHighWaySummary__head .YCHighWaySummary__head-top .closeBtn[data-v-aca6a2f3]: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-aca6a2f3]:hover:before,.YCHighWaySummary .YCHighWaySummary__head .YCHighWaySummary__head-top .closeBtn[data-v-aca6a2f3]:hover:after{opacity:1}.YCHighWaySummary .YCHighWaySummary__head .YCHighWaySummary__head-top .closeBtn[data-v-aca6a2f3]:active{transform:scale(.96)}.YCHighWaySummary .YCHighWaySummary__head .YCHighWaySummary__head-line[data-v-aca6a2f3]{width:100%;height:10px}.YCHighWaySummary .YCHighWaySummary__body[data-v-aca6a2f3]{flex:1;min-height:0;margin-top:12px;overflow-y:auto}.YCHighWaySummary .YCHighWaySummary__body[data-v-aca6a2f3]::-webkit-scrollbar{width:6px}.YCHighWaySummary .YCHighWaySummary__body[data-v-aca6a2f3]::-webkit-scrollbar-thumb{background:#61d2c080;border-radius:3px}.YCHighWaySummary .YCHighWaySummary__body[data-v-aca6a2f3]::-webkit-scrollbar-track{background:0 0}.YCHighWaySummary .YCHighWaySummary__section[data-v-aca6a2f3]{border-left:2px solid #61d2c099;margin-top:14px;padding-left:10px;font-size:14px;line-height:1.6;position:relative}.YCHighWaySummary .YCHighWaySummary__section .YCHighWaySummary__section-title[data-v-aca6a2f3]{color:#06121f;background:#61d2c0;border-radius:2px;margin-bottom:6px;padding:1px 8px;font-weight:700;display:inline-block}.YCHighWaySummary .YCHighWaySummary__section .YCHighWaySummary__section-text[data-v-aca6a2f3]{text-indent:2em;color:#cfe9e4;word-break:break-all;margin-top:4px}.YCHighWaySummary .YCHighWaySummary__section+.YCHighWaySummary__section[data-v-aca6a2f3]{border-top:1px solid #61d2c033;padding-top:12px}