nxd-plugin 1.7.93 → 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.
@@ -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, defineComponent as i, onBeforeUnmount as a, onMounted as o, openBlock as s, ref as c, toDisplayString as l } from "vue";
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 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({
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: i }) {
26
- let g = i, _ = e, v = c(""), y = c(""), b = c(null);
27
- o(() => {
28
- x(), b.value = setInterval(() => {
29
- x();
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
- }), a(() => {
32
- b.value &&= (clearInterval(b.value), null);
31
+ }), o(() => {
32
+ y.value &&= (clearInterval(y.value), null);
33
33
  });
34
- let x = async () => {
35
- v.value = (await t({
36
- appKey: _.appKey,
37
- appSalt: _.appSalt,
38
- id: _.ids.realtime.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: _.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,
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: _.baseHttp,
49
- reqType: _.ids.forecast.reqType,
50
- isFormData: _.ids.forecast.isFormData
48
+ baseHttp: g.baseHttp,
49
+ reqType: g.ids.forecast.reqType,
50
+ isFormData: g.ids.forecast.isFormData
51
51
  })).data?.result?.forecastData || "";
52
- }, S = () => {
53
- g("close", "YCHighWaySummary");
52
+ }, x = () => {
53
+ h("close", "YCHighWaySummary");
54
54
  };
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", {
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: S,
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", 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)])])]));
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-aca6a2f3"]]);
65
+ }), [["__scopeId", "data-v-41c6bbf5"]]);
66
66
  //#endregion
67
- export { g as t };
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-D1ydhcSV.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-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}
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}