nxd-plugin 1.7.91 → 1.7.92

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,59 @@
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, defineComponent as i, onBeforeUnmount as a, onMounted as o, openBlock as s, ref as c, toDisplayString as l } from "vue";
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({
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: i }) {
26
+ let f = i, p = e, m = c(""), h = c(null);
27
+ o(() => {
28
+ g(), h.value = setInterval(() => {
29
+ g();
30
+ }, 1e3 * 60 * 10);
31
+ }), a(() => {
32
+ h.value &&= (clearInterval(h.value), null);
33
+ });
34
+ let g = async () => {
35
+ m.value = (await t({
36
+ appKey: p.appKey,
37
+ appSalt: p.appSalt,
38
+ id: p.ids.data.id,
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");
46
+ };
47
+ 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
+ class: "closeBtn",
49
+ onClick: _,
50
+ title: "关闭"
51
+ })]), t[1] ||= r("img", {
52
+ class: "YCHighWaySummary__head-line",
53
+ 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
+ alt: ""
55
+ }, null, -1)]), r("div", d, l(m.value), 1)]));
56
+ }
57
+ }), [["__scopeId", "data-v-62aee9d9"]]);
58
+ //#endregion
59
+ export { f as t };
@@ -0,0 +1,24 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ appKey: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ appSalt: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ baseHttp: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ ids: {
15
+ type: ObjectConstructor;
16
+ default: () => {};
17
+ };
18
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, any, string, import('vue').PublicProps, any, {
19
+ baseHttp: string;
20
+ appKey: string;
21
+ appSalt: string;
22
+ ids: Record<string, any>;
23
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
24
+ export default _default;
package/dist/index.d.ts CHANGED
@@ -57,7 +57,8 @@ import { default as HdCameraList } from './components/HdCameraList/HdCameraList.
57
57
  import { default as HdRadarList } from './components/HdRadarList/HdRadarList.vue';
58
58
  import { default as Typhoon } from './components/Typhoon/Typhoon.vue';
59
59
  import { default as HDSeaLegend } from './components/HDSeaLegend/HDSeaLegend.vue';
60
+ import { default as YCHighWaySummary } from './components/YCHighWaySummary/YCHighWaySummary.vue';
60
61
  import { Plugin } from 'vue';
61
- export { HighwayLiveAlarm, HighwayLiveAlarmNew, HighwayStations, HighWayEarlyWarningRed, HighwayWeatherForecast, ServiceMaterialsBtn, YCHome, YCLoginNew, HighWayFreeze, RadarShortTerm, LithiumBatteryMiningArea, TimeBasedForecast, WeatherForecast, ImageGeneration, WarningSignal, RadarChart, AqiMonitor, MapPopup, RadarTime, ServiceMaterial, WarningLine, RadarLegend, PieLegend, GeologyLiveAlarm, MaterialPreview, ReservoirLiveAlarm, IframeWeb, Duty, RenderMarkdown, EarlyWarningStatistic, EarlyWarningStatistic2, YCDataService, ChartCumulativePre, ChartServiceMaterial, YCHomeLegend, IntroducePic, HighQuality, AiChat, StationDialog, StationList, PrecipitationRanking, Forecast72h, HdRadarTime, HdStationTem, HdObservation, HdPreSituation, HdSeaCase, HdQxServiceEffects, HdHeatService, HdServiceRequirements, HdSuggestion, HdForecastProducts, HdThreeWeatherTrend, HdWaveForcast, HdServiceMarterial, HdCameraList, HdRadarList, Typhoon, HDSeaLegend };
62
+ export { HighwayLiveAlarm, HighwayLiveAlarmNew, HighwayStations, HighWayEarlyWarningRed, HighwayWeatherForecast, ServiceMaterialsBtn, YCHome, YCLoginNew, HighWayFreeze, RadarShortTerm, LithiumBatteryMiningArea, TimeBasedForecast, WeatherForecast, ImageGeneration, WarningSignal, RadarChart, AqiMonitor, MapPopup, RadarTime, ServiceMaterial, WarningLine, RadarLegend, PieLegend, GeologyLiveAlarm, MaterialPreview, ReservoirLiveAlarm, IframeWeb, Duty, RenderMarkdown, EarlyWarningStatistic, EarlyWarningStatistic2, YCDataService, ChartCumulativePre, ChartServiceMaterial, YCHomeLegend, IntroducePic, HighQuality, AiChat, StationDialog, StationList, PrecipitationRanking, Forecast72h, HdRadarTime, HdStationTem, HdObservation, HdPreSituation, HdSeaCase, HdQxServiceEffects, HdHeatService, HdServiceRequirements, HdSuggestion, HdForecastProducts, HdThreeWeatherTrend, HdWaveForcast, HdServiceMarterial, HdCameraList, HdRadarList, Typhoon, HDSeaLegend, YCHighWaySummary };
62
63
  declare const plugin: Plugin;
63
64
  export default plugin;
@@ -56,9 +56,10 @@ 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
60
  //#region src/index.ts
60
61
  var $ = { install($) {
61
- $.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);
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);
62
63
  } };
63
64
  //#endregion
64
- export { t as AiChat, e as AqiMonitor, M as ChartCumulativePre, N as ChartServiceMaterial, O as Duty, k as EarlyWarningStatistic, A as EarlyWarningStatistic2, o as Forecast72h, te as GeologyLiveAlarm, ae as HDSeaLegend, re as HdCameraList, Y as HdForecastProducts, K as HdHeatService, L as HdObservation, U as HdPreSituation, G as HdQxServiceEffects, ie as HdRadarList, V as HdRadarTime, W as HdSeaCase, Z as HdServiceMarterial, q as HdServiceRequirements, H as HdStationTem, J as HdSuggestion, a as HdThreeWeatherTrend, X as HdWaveForcast, I as HighQuality, i as HighWayEarlyWarningRed, f as HighWayFreeze, ee as HighwayLiveAlarm, n as HighwayLiveAlarmNew, r as HighwayStations, s as HighwayWeatherForecast, D as IframeWeb, _ as ImageGeneration, F as IntroducePic, u as LithiumBatteryMiningArea, b as MapPopup, T as MaterialPreview, w as PieLegend, B as PrecipitationRanking, y as RadarChart, p as RadarLegend, m as RadarShortTerm, x as RadarTime, ne as RenderMarkdown, E as ReservoirLiveAlarm, S as ServiceMaterial, c as ServiceMaterialsBtn, R as StationDialog, z as StationList, h as TimeBasedForecast, Q as Typhoon, C as WarningLine, v as WarningSignal, g as WeatherForecast, j as YCDataService, l as YCHome, P as YCHomeLegend, d as YCLoginNew, $ as default };
65
+ export { t as AiChat, e as AqiMonitor, M as ChartCumulativePre, N as ChartServiceMaterial, O as Duty, k as EarlyWarningStatistic, A as EarlyWarningStatistic2, o as Forecast72h, te as GeologyLiveAlarm, ae as HDSeaLegend, re as HdCameraList, Y as HdForecastProducts, K as HdHeatService, L as HdObservation, U as HdPreSituation, G as HdQxServiceEffects, ie as HdRadarList, V as HdRadarTime, W as HdSeaCase, Z as HdServiceMarterial, q as HdServiceRequirements, H as HdStationTem, J as HdSuggestion, a as HdThreeWeatherTrend, X as HdWaveForcast, I as HighQuality, i as HighWayEarlyWarningRed, f as HighWayFreeze, ee as HighwayLiveAlarm, n as HighwayLiveAlarmNew, r as HighwayStations, s as HighwayWeatherForecast, D as IframeWeb, _ as ImageGeneration, F as IntroducePic, u as LithiumBatteryMiningArea, b as MapPopup, T as MaterialPreview, w as PieLegend, B as PrecipitationRanking, y as RadarChart, p as RadarLegend, m as RadarShortTerm, x as RadarTime, ne as RenderMarkdown, E as ReservoirLiveAlarm, S as ServiceMaterial, c as ServiceMaterialsBtn, R as StationDialog, z as StationList, h as TimeBasedForecast, Q as Typhoon, C as WarningLine, v as WarningSignal, g as WeatherForecast, j as YCDataService, oe as YCHighWaySummary, l as YCHome, P as YCHomeLegend, d as YCLoginNew, $ as default };
@@ -0,0 +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}