nxd-plugin 1.2.2 → 1.2.4
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-HighWayEarlyWarningRed-CWoyTkXq.mjs → component-HighWayEarlyWarningRed-y3S7s_i8.mjs} +9 -30
- package/dist/chunks/component-HighWayFreeze-DANmqIr8.mjs +4683 -0
- package/dist/chunks/{component-HighwayLiveAlarm-CBJIbGXM.mjs → component-HighwayLiveAlarm-DaWh8nr1.mjs} +10938 -15467
- package/dist/chunks/component-HighwayLiveAlarmNew-CWQK4TkP.mjs +32795 -0
- package/dist/chunks/{component-HighwayStations-Dx5-m_Rf.mjs → component-HighwayStations-CoQ0Cp0B.mjs} +21 -20
- package/dist/chunks/{component-HighwayWeatherForecast-BpRaa5mE.mjs → component-HighwayWeatherForecast-DSUKt0VP.mjs} +3 -3
- package/dist/chunks/{component-ServiceMaterialsBtn-BE8Evx0c.mjs → component-ServiceMaterialsBtn-a9d7BRVj.mjs} +339 -338
- package/dist/chunks/component-YCHome-CcodiUed.mjs +2295 -0
- package/dist/chunks/{component-YCLogin-BDIhOHgK.mjs → component-YCLogin-1lDBJJ_j.mjs} +8 -8
- package/dist/chunks/component-YCLoginNew-BoWncAq1.mjs +137 -0
- package/dist/components/HighWayEarlyWarningRed/default.json.d.ts +9 -30
- package/dist/components/HighwayLiveAlarmNew/default.json.d.ts +31945 -0
- package/dist/nxd-plugin.mjs +13 -10
- package/dist/src/components/HighWayFreeze/HighWayFreeze.vue.d.ts +6 -0
- package/dist/src/components/HighwayLiveAlarmNew/HighwayLiveAlarmNew.vue.d.ts +98 -0
- package/dist/src/components/YCLoginNew/YCLoginNew.vue.d.ts +4 -0
- package/dist/src/index.d.ts +4 -1
- package/dist/styles/component-HighWayEarlyWarningRed.css +1 -1
- package/dist/styles/component-HighWayFreeze.css +1 -0
- package/dist/styles/component-HighwayLiveAlarm.css +1 -1
- package/dist/styles/component-HighwayLiveAlarmNew.css +1 -0
- package/dist/styles/component-YCLogin.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -0
- package/package.json +1 -1
- package/readme.md +27 -3
- package/dist/chunks/component-YCHome-BRESOkRl.mjs +0 -2294
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { a as
|
|
2
|
+
import { n as e, r as t } from "./component-HighWayFreeze-DANmqIr8.mjs";
|
|
3
|
+
import { a as n, n as r, r as i } from "./component-HighWayEarlyWarningRed-y3S7s_i8.mjs";
|
|
4
|
+
import { i as a, r as o } from "./component-HighwayLiveAlarm-DaWh8nr1.mjs";
|
|
4
5
|
import { Fragment as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, isRef as h, normalizeClass as g, onBeforeUnmount as _, onMounted as v, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as C, withCtx as w, withDirectives as T } from "vue";
|
|
5
6
|
var E = {
|
|
6
7
|
msg: "success",
|
|
@@ -31947,7 +31948,7 @@ var E = {
|
|
|
31947
31948
|
}, D = {
|
|
31948
31949
|
class: "HighwayStations",
|
|
31949
31950
|
"element-loading-background": "rgba(0, 0, 0, 0.4)"
|
|
31950
|
-
}, O = { class: "HighwayStations-road" }, k = { class: "table-container" }, A = { class: "data-table" }, j = { key: 0 }, M = /* @__PURE__ */
|
|
31951
|
+
}, O = { class: "HighwayStations-road" }, k = { class: "table-container" }, A = { class: "data-table" }, j = { key: 0 }, M = /* @__PURE__ */ r(/* @__PURE__ */ m({
|
|
31951
31952
|
__name: "HighwayStations",
|
|
31952
31953
|
props: {
|
|
31953
31954
|
tokenInterface: {
|
|
@@ -31983,8 +31984,8 @@ var E = {
|
|
|
31983
31984
|
default: !1
|
|
31984
31985
|
}
|
|
31985
31986
|
},
|
|
31986
|
-
setup(
|
|
31987
|
-
let M = m, N =
|
|
31987
|
+
setup(r, { emit: m }) {
|
|
31988
|
+
let M = m, N = r, P = b(""), F = b([]), I = b("降水"), L = b([]), R = b(!1), z = null;
|
|
31988
31989
|
v(() => {
|
|
31989
31990
|
B(), z = setInterval(() => {
|
|
31990
31991
|
B();
|
|
@@ -31993,7 +31994,7 @@ var E = {
|
|
|
31993
31994
|
clearInterval(z);
|
|
31994
31995
|
});
|
|
31995
31996
|
let B = async () => {
|
|
31996
|
-
R.value = !0, N.dataInterface ? F.value = (await
|
|
31997
|
+
R.value = !0, N.dataInterface ? F.value = (await i({
|
|
31997
31998
|
url: N.dataInterface,
|
|
31998
31999
|
method: N.dataInterfaceType,
|
|
31999
32000
|
params: N.dataInterfaceParams,
|
|
@@ -32058,20 +32059,20 @@ var E = {
|
|
|
32058
32059
|
removeMarker: "station_highway"
|
|
32059
32060
|
});
|
|
32060
32061
|
};
|
|
32061
|
-
return (
|
|
32062
|
-
let m =
|
|
32062
|
+
return (r, i) => {
|
|
32063
|
+
let m = e, _ = t, v = o, b = a, E = n;
|
|
32063
32064
|
return T((y(), u("div", D, [
|
|
32064
|
-
d("div", { class: "HighwayStations-head" }, [d("div", { class: "HighwayStations-head-top" }, [
|
|
32065
|
+
d("div", { class: "HighwayStations-head" }, [d("div", { class: "HighwayStations-head-top" }, [i[2] ||= d("div", null, "沿线自动站数据", -1), d("div", {
|
|
32065
32066
|
class: "closeBtn",
|
|
32066
32067
|
onClick: V
|
|
32067
|
-
})]),
|
|
32068
|
+
})]), i[3] ||= d("img", {
|
|
32068
32069
|
class: "HighwayStations-head-line",
|
|
32069
32070
|
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",
|
|
32070
32071
|
alt: ""
|
|
32071
32072
|
}, null, -1)]),
|
|
32072
|
-
d("div", O, [
|
|
32073
|
+
d("div", O, [i[4] ||= f(" 路线选择: ", -1), p(_, {
|
|
32073
32074
|
modelValue: C(P),
|
|
32074
|
-
"onUpdate:modelValue":
|
|
32075
|
+
"onUpdate:modelValue": i[0] ||= (e) => h(P) ? P.value = e : P = e,
|
|
32075
32076
|
placeholder: "请选择路线",
|
|
32076
32077
|
teleported: !1,
|
|
32077
32078
|
class: "dark-select",
|
|
@@ -32084,10 +32085,10 @@ var E = {
|
|
|
32084
32085
|
}, null, 8, ["label", "value"]))), 128))]),
|
|
32085
32086
|
_: 1
|
|
32086
32087
|
}, 8, ["modelValue"])]),
|
|
32087
|
-
|
|
32088
|
+
i[11] ||= d("div", null, "显示设置:", -1),
|
|
32088
32089
|
p(b, {
|
|
32089
32090
|
modelValue: C(I),
|
|
32090
|
-
"onUpdate:modelValue":
|
|
32091
|
+
"onUpdate:modelValue": i[1] ||= (e) => h(I) ? I.value = e : I = e,
|
|
32091
32092
|
onChange: U
|
|
32092
32093
|
}, {
|
|
32093
32094
|
default: w(() => [
|
|
@@ -32098,7 +32099,7 @@ var E = {
|
|
|
32098
32099
|
"margin-right": "20px"
|
|
32099
32100
|
}
|
|
32100
32101
|
}, {
|
|
32101
|
-
default: w(() => [...
|
|
32102
|
+
default: w(() => [...i[5] ||= [f("降水(mm)", -1)]]),
|
|
32102
32103
|
_: 1
|
|
32103
32104
|
}),
|
|
32104
32105
|
p(v, {
|
|
@@ -32108,7 +32109,7 @@ var E = {
|
|
|
32108
32109
|
"margin-right": "20px"
|
|
32109
32110
|
}
|
|
32110
32111
|
}, {
|
|
32111
|
-
default: w(() => [...
|
|
32112
|
+
default: w(() => [...i[6] ||= [f("温度(℃)", -1)]]),
|
|
32112
32113
|
_: 1
|
|
32113
32114
|
}),
|
|
32114
32115
|
p(v, {
|
|
@@ -32118,20 +32119,20 @@ var E = {
|
|
|
32118
32119
|
"margin-right": "20px"
|
|
32119
32120
|
}
|
|
32120
32121
|
}, {
|
|
32121
|
-
default: w(() => [...
|
|
32122
|
+
default: w(() => [...i[7] ||= [f("能见度(kkm)", -1)]]),
|
|
32122
32123
|
_: 1
|
|
32123
32124
|
}),
|
|
32124
32125
|
p(v, {
|
|
32125
32126
|
value: "大风",
|
|
32126
32127
|
style: { color: "#ccc" }
|
|
32127
32128
|
}, {
|
|
32128
|
-
default: w(() => [...
|
|
32129
|
+
default: w(() => [...i[8] ||= [f("大风(m/s)", -1)]]),
|
|
32129
32130
|
_: 1
|
|
32130
32131
|
})
|
|
32131
32132
|
]),
|
|
32132
32133
|
_: 1
|
|
32133
32134
|
}, 8, ["modelValue"]),
|
|
32134
|
-
d("div", k, [d("table", A, [
|
|
32135
|
+
d("div", k, [d("table", A, [i[10] ||= d("thead", null, [d("tr", null, [
|
|
32135
32136
|
d("th", null, "站名"),
|
|
32136
32137
|
d("th", null, "降水"),
|
|
32137
32138
|
d("th", null, "温度"),
|
|
@@ -32143,7 +32144,7 @@ var E = {
|
|
|
32143
32144
|
d("td", { class: g({ active: C(I) === "温度" }) }, S(e.temperature !== null && e.temperature !== 999999 ? e.temperature : "--"), 3),
|
|
32144
32145
|
d("td", { class: g({ active: C(I) === "能见度" }) }, S(e.visibility !== null && e.visibility !== 999999 ? e.visibility / 1e3 : "--"), 3),
|
|
32145
32146
|
d("td", { class: g({ active: C(I) === "大风" }) }, S(e.wind_speed !== null && e.wind_speed !== 999999 ? e.wind_speed : "--"), 3)
|
|
32146
|
-
]))), 128)), C(L).length ? l("", !0) : (y(), u("tr", j, [...
|
|
32147
|
+
]))), 128)), C(L).length ? l("", !0) : (y(), u("tr", j, [...i[9] ||= [d("td", {
|
|
32147
32148
|
colspan: "5",
|
|
32148
32149
|
class: "empty-state"
|
|
32149
32150
|
}, "暂无数据", -1)]]))])])])
|