nxd-plugin 1.7.43 → 1.7.45

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.
Files changed (42) hide show
  1. package/dist/chunks/{component-AqiMonitor-TeQstcwX.mjs → component-AqiMonitor-n1rMcUkd.mjs} +322 -1911
  2. package/dist/chunks/{component-HighWayEarlyWarningRed-DUSkc5Gq.mjs → component-HighWayEarlyWarningRed-BnJyShce.mjs} +18 -16
  3. package/dist/chunks/component-HighWayFreeze-ByxdEM06.mjs +181 -0
  4. package/dist/chunks/{component-HighwayLiveAlarm-niFJdKW9.mjs → component-HighwayLiveAlarm-D_lIKhkC.mjs} +10150 -10668
  5. package/dist/chunks/{component-HighwayLiveAlarmNew-B-434mfg.mjs → component-HighwayLiveAlarmNew-DbEuUJW6.mjs} +243 -650
  6. package/dist/chunks/component-HighwayStations-Cmjb6MHu.mjs +218 -0
  7. package/dist/chunks/{component-HighwayWeatherForecast-81Gh4M5v.mjs → component-HighwayWeatherForecast-ByPDymqX.mjs} +159 -158
  8. package/dist/chunks/{component-ImageGeneration-DiYbqjwN.mjs → component-ImageGeneration-SPM2CN6K.mjs} +5071 -7620
  9. package/dist/chunks/{component-LithiumBatteryMiningArea-BD-Yp6C8.mjs → component-LithiumBatteryMiningArea-C1KfrHaF.mjs} +51 -48
  10. package/dist/chunks/{component-MapPopup-FAIPuiTd.mjs → component-MapPopup-B2f0tnVu.mjs} +1 -1
  11. package/dist/chunks/{component-PieLegend-DMyswbHi.mjs → component-PieLegend-w1YvpVaB.mjs} +1 -1
  12. package/dist/chunks/{component-RadarChart-BQiq16nx.mjs → component-RadarChart-Dnjp4cbb.mjs} +11 -11
  13. package/dist/chunks/{component-RadarLegend-CFR9njq7.mjs → component-RadarLegend-Coihcxje.mjs} +1 -1
  14. package/dist/chunks/{component-RadarShortTerm-BVj7Jx05.mjs → component-RadarShortTerm-BlI00kHC.mjs} +75 -75
  15. package/dist/chunks/{component-RadarTime-Xnv8piO_.mjs → component-RadarTime-BnWNJDq1.mjs} +14 -14
  16. package/dist/chunks/{component-ServiceMaterial-NQJP1tCA.mjs → component-ServiceMaterial-trvjXwHN.mjs} +1 -1
  17. package/dist/chunks/{component-ServiceMaterialsBtn-959d5IJI.mjs → component-ServiceMaterialsBtn-C1ud7xtc.mjs} +34 -556
  18. package/dist/chunks/{component-TimeBasedForecast-BZ9YrmMt.mjs → component-TimeBasedForecast-DR7FkXAn.mjs} +69 -68
  19. package/dist/chunks/{component-WarningLine-DzD4jX2_.mjs → component-WarningLine-CWqiXdhZ.mjs} +2 -2
  20. package/dist/chunks/{component-WarningSignal-DfRZj6R5.mjs → component-WarningSignal-CtyCcjNo.mjs} +75 -74
  21. package/dist/chunks/component-WeatherForecast-DTGpJVhm.mjs +209 -0
  22. package/dist/chunks/component-YCHome-DeLwwN9F.mjs +426 -0
  23. package/dist/chunks/{component-YCLogin-D0BOD7Uj.mjs → component-YCLogin-DtjB2mai.mjs} +12 -9
  24. package/dist/chunks/{component-YCLoginNew-BIC_obt4.mjs → component-YCLoginNew-DDPai-9U.mjs} +35 -32
  25. package/dist/nxd-plugin.mjs +26 -26
  26. package/dist/styles/component-HighWayEarlyWarningRed.css +1 -1
  27. package/dist/styles/component-HighWayFreeze.css +1 -1
  28. package/dist/styles/component-HighwayLiveAlarm.css +1 -1
  29. package/dist/styles/component-HighwayLiveAlarmNew.css +1 -1
  30. package/dist/styles/component-HighwayStations.css +1 -1
  31. package/dist/styles/component-ImageGeneration.css +1 -1
  32. package/dist/styles/component-RadarShortTerm.css +1 -1
  33. package/dist/styles/component-ServiceMaterialsBtn.css +1 -1
  34. package/dist/styles/component-YCHome.css +1 -1
  35. package/dist/styles/component-YCLogin.css +1 -1
  36. package/dist/styles/component-YCLoginNew.css +1 -1
  37. package/package.json +1 -1
  38. package/dist/chunks/component-HighWayFreeze-BmXHovFq.mjs +0 -4489
  39. package/dist/chunks/component-HighwayStations-Ds0mS1Tc.mjs +0 -32157
  40. package/dist/chunks/component-WeatherForecast-ChQEdik7.mjs +0 -209
  41. package/dist/chunks/component-YCHome-CY61OonH.mjs +0 -1430
  42. package/dist/components/HighwayStations/default.json.d.ts +0 -31945
@@ -1,209 +0,0 @@
1
- import "./rolldown-runtime-Dd0fQ6-X.mjs";
2
- import { a as e, n as t, r as n } from "./component-AqiMonitor-TeQstcwX.mjs";
3
- import { A as r, C as i, D as a, E as ee, M as o, N as s, O as c, P as te, S as ne, T as re, _ as ie, a as l, b as u, c as d, d as f, f as p, g as m, h, i as g, j as _, k as v, l as y, m as b, n as x, o as S, p as C, r as w, s as T, u as E, v as D, w as O, x as k, y as A } from "./component-HighwayWeatherForecast-81Gh4M5v.mjs";
4
- import { n as j } from "./component-LithiumBatteryMiningArea-BD-Yp6C8.mjs";
5
- import { Fragment as M, createElementBlock as N, createElementVNode as P, defineComponent as F, getCurrentInstance as I, onMounted as L, openBlock as R, ref as z, renderList as B, toDisplayString as V, withDirectives as H } from "vue";
6
- //#region src/components/WeatherForecast/WeatherForecast.vue?vue&type=script&setup=true&lang.ts
7
- var U = {
8
- class: "WeatherForecast",
9
- "element-loading-background": "rgba(0, 0, 0, 0.4)"
10
- }, W = { class: "WeatherForecast__head" }, G = { class: "WeatherForecast__head-top" }, K = { class: "WeatherForecast__body" }, q = { class: "WeatherForecast__wrap" }, J = ["src", "alt"], Y = /* @__PURE__ */ t(/* @__PURE__ */ F({
11
- __name: "WeatherForecast",
12
- props: {
13
- appKey: {
14
- type: String,
15
- default: ""
16
- },
17
- appSalt: {
18
- type: String,
19
- default: ""
20
- },
21
- baseHttp: {
22
- type: String,
23
- default: ""
24
- },
25
- ids: {
26
- type: Object,
27
- default: () => ({})
28
- },
29
- title: {
30
- type: String,
31
- default: "天气预报"
32
- }
33
- },
34
- emits: ["close"],
35
- setup(t, { emit: F }) {
36
- let Y = I()?.appContext.config.globalProperties.$bus, X = t, ae = F, Z = z(!1), Q = z([]), $ = z({});
37
- z([
38
- {
39
- name: "阿克苏市",
40
- value: "aksu",
41
- longitude: "80.2651",
42
- latitude: "41.1707"
43
- },
44
- {
45
- name: "库车市",
46
- value: "kuche",
47
- longitude: "82.9989",
48
- latitude: "41.7160"
49
- },
50
- {
51
- name: "拜城县",
52
- value: "baicheng",
53
- longitude: "81.8670",
54
- latitude: "41.7860"
55
- },
56
- {
57
- name: "新和县",
58
- value: "xinhe",
59
- longitude: "82.6100",
60
- latitude: "41.5490"
61
- },
62
- {
63
- name: "沙雅县",
64
- value: "shaya",
65
- longitude: "82.7800",
66
- latitude: "41.2200"
67
- },
68
- {
69
- name: "温宿县",
70
- value: "wensu",
71
- longitude: "80.3000",
72
- latitude: "41.1600"
73
- },
74
- {
75
- name: "乌什县",
76
- value: "wushi",
77
- longitude: "79.2300",
78
- latitude: "41.2100"
79
- },
80
- {
81
- name: "柯坪县",
82
- value: "keping",
83
- longitude: "79.0200",
84
- latitude: "40.5000"
85
- }
86
- ]), z(null);
87
- let oe = z(!1);
88
- L(() => {
89
- Y?.on("toComponent", (e) => {
90
- e.componentName === "WeatherForecast" && ($.value = e.data, se());
91
- });
92
- }), document.addEventListener("click", (e) => {
93
- e.target.closest(".WeatherForecast__area-select") || (oe.value = !1);
94
- });
95
- let se = async () => {
96
- await le();
97
- }, ce = () => {
98
- ae("close", "WeatherForecast");
99
- }, le = async () => {
100
- Z.value = !0;
101
- let e = {
102
- lon: $.value.longitude,
103
- lat: $.value.latitude,
104
- hours: 168
105
- }, t = await n({
106
- appKey: X.appKey,
107
- appSalt: X.appSalt,
108
- id: X.ids.data.id,
109
- variables: { str: j.encode(JSON.stringify(e)) },
110
- baseHttp: X.baseHttp,
111
- reqType: X.ids.data.reqType,
112
- isFormData: X.ids.data.isFormData
113
- });
114
- Z.value = !1;
115
- let M = t.data?.result?.output;
116
- if (!M) {
117
- console.warn("天气预报接口返回为空", t), Q.value = [];
118
- return;
119
- }
120
- let N = (typeof M == "string" ? JSON.parse(M) : M).ds;
121
- if (!Array.isArray(N) || N.length === 0) {
122
- Q.value = [];
123
- return;
124
- }
125
- let P = [
126
- "日",
127
- "一",
128
- "二",
129
- "三",
130
- "四",
131
- "五",
132
- "六"
133
- ];
134
- Q.value = N.map((e, t) => {
135
- let n = new Date(e.observation_time.replace(/\//g, "-"));
136
- n.setDate(n.getDate() + t);
137
- let j = `${n.getMonth() + 1}`.padStart(2, "0"), M = `${n.getDate()}`.padStart(2, "0");
138
- return {
139
- ...e,
140
- _date: `${j}-${M}`,
141
- _week: `周${P[n.getDay()]}`,
142
- _icon: new URL((/* @__PURE__ */ Object.assign({
143
- "../../assets/img/weatherIcon/0.gif": te,
144
- "../../assets/img/weatherIcon/1.gif": s,
145
- "../../assets/img/weatherIcon/10.gif": o,
146
- "../../assets/img/weatherIcon/11.gif": _,
147
- "../../assets/img/weatherIcon/12.gif": r,
148
- "../../assets/img/weatherIcon/13.gif": v,
149
- "../../assets/img/weatherIcon/14.gif": c,
150
- "../../assets/img/weatherIcon/15.gif": a,
151
- "../../assets/img/weatherIcon/16.gif": ee,
152
- "../../assets/img/weatherIcon/17.gif": re,
153
- "../../assets/img/weatherIcon/18.gif": O,
154
- "../../assets/img/weatherIcon/19.gif": i,
155
- "../../assets/img/weatherIcon/2.gif": ne,
156
- "../../assets/img/weatherIcon/20.gif": k,
157
- "../../assets/img/weatherIcon/21.gif": u,
158
- "../../assets/img/weatherIcon/22.gif": A,
159
- "../../assets/img/weatherIcon/23.gif": D,
160
- "../../assets/img/weatherIcon/24.gif": ie,
161
- "../../assets/img/weatherIcon/25.gif": m,
162
- "../../assets/img/weatherIcon/26.gif": h,
163
- "../../assets/img/weatherIcon/27.gif": b,
164
- "../../assets/img/weatherIcon/28.gif": C,
165
- "../../assets/img/weatherIcon/29.gif": p,
166
- "../../assets/img/weatherIcon/3.gif": f,
167
- "../../assets/img/weatherIcon/30.gif": E,
168
- "../../assets/img/weatherIcon/31.gif": y,
169
- "../../assets/img/weatherIcon/4.gif": d,
170
- "../../assets/img/weatherIcon/5.gif": T,
171
- "../../assets/img/weatherIcon/53.gif": S,
172
- "../../assets/img/weatherIcon/6.gif": l,
173
- "../../assets/img/weatherIcon/7.gif": g,
174
- "../../assets/img/weatherIcon/8.gif": w,
175
- "../../assets/img/weatherIcon/9.gif": x
176
- }))[`../../assets/img/weatherIcon/${e.weatherPhenomenon}.gif`], import.meta.url).href
177
- };
178
- });
179
- };
180
- return (n, r) => {
181
- let i = e;
182
- return H((R(), N("div", U, [P("div", W, [P("div", G, [P("div", null, V(t.title), 1), P("div", {
183
- class: "closeBtn",
184
- onClick: ce,
185
- title: "关闭"
186
- })]), r[0] ||= P("img", {
187
- class: "WeatherForecast__head-line",
188
- 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",
189
- alt: ""
190
- }, null, -1)]), P("div", K, [P("div", q, [(R(!0), N(M, null, B(Q.value, (e) => (R(), N("div", {
191
- class: "WeatherForecast__item",
192
- key: `${e.observation_time}-${e.hour}`
193
- }, [
194
- P("div", null, V(e._date), 1),
195
- P("div", null, V(e._week), 1),
196
- P("img", {
197
- src: e._icon,
198
- alt: e.weather
199
- }, null, 8, J),
200
- P("div", null, V(e.weather), 1),
201
- P("div", null, V(e.temp_low) + "~" + V(e.temp_high) + "℃", 1),
202
- P("div", null, V(e.wind_directinfo), 1),
203
- P("div", null, V(e.wind_speedinfo === null || Number(e.wind_speedinfo) < 3 ? "<3级" : `${e.wind_speedinfo}级`), 1)
204
- ]))), 128))])])])), [[i, Z.value]]);
205
- };
206
- }
207
- }), [["__scopeId", "data-v-a730bcd5"]]);
208
- //#endregion
209
- export { Y as t };