nxd-plugin 1.7.83 → 1.7.84

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 (83) hide show
  1. package/dist/chunks/{component-AiChat-C1xBPkS5.mjs → component-AiChat-BXNBLM1G.mjs} +92 -93
  2. package/dist/chunks/{component-AqiMonitor-DoAVs1Jf.mjs → component-AqiMonitor-C_V1Nuf_.mjs} +1 -1
  3. package/dist/chunks/{component-ChartCumulativePre-BOIMPYxl.mjs → component-ChartCumulativePre-Bo28Bgaa.mjs} +2 -2
  4. package/dist/chunks/{component-ChartServiceMaterial-CmR3bmG_.mjs → component-ChartServiceMaterial-DELVCsKj.mjs} +2 -2
  5. package/dist/chunks/{component-Duty-gmt7ZcSc.mjs → component-Duty-dyZZ4vHt.mjs} +2 -2
  6. package/dist/chunks/{component-EarlyWarningStatistic-BWYWrz65.mjs → component-EarlyWarningStatistic-CBJfrRsV.mjs} +2 -2
  7. package/dist/chunks/{component-Forecast72h-BZ1kB2TJ.mjs → component-Forecast72h-BkVZSGhE.mjs} +2 -2
  8. package/dist/chunks/{component-GeologyLiveAlarm-CNpQPmGs.mjs → component-GeologyLiveAlarm-B9jBWXf0.mjs} +2 -2
  9. package/dist/chunks/component-HdForecastProducts-D4x_Y0OB.mjs +211 -0
  10. package/dist/chunks/{component-HdHeatService-ok6q8UuG.mjs → component-HdHeatService-Bf9XH3DP.mjs} +2 -2
  11. package/dist/chunks/{component-HdObservation-BmQdGJV6.mjs → component-HdObservation-CM6HUrQ3.mjs} +51 -45
  12. package/dist/chunks/{component-HdPreSituation-LBpO58bE.mjs → component-HdPreSituation-CJ8-wiRO.mjs} +168 -133
  13. package/dist/chunks/{component-HdRadarTime-D7hOn_ph.mjs → component-HdRadarTime-C4ZArOUM.mjs} +2 -2
  14. package/dist/chunks/{component-HdSeaCase-DYPQ7CdN.mjs → component-HdSeaCase-3-YFxSuM.mjs} +2 -2
  15. package/dist/chunks/component-HdServiceMarterial-pSFQUH2x.mjs +316 -0
  16. package/dist/chunks/{component-HdServiceRequirements-DcXrcIIV.mjs → component-HdServiceRequirements-BjuiyyC5.mjs} +38 -39
  17. package/dist/chunks/{component-HdStationTem-US6IRwbQ.mjs → component-HdStationTem-Dit7Y8lu.mjs} +100 -100
  18. package/dist/chunks/component-HdSuggestion-B_abfzRO.mjs +161 -0
  19. package/dist/chunks/component-HdThreeWeatherTrend-B2qzvOzb.mjs +372 -0
  20. package/dist/chunks/component-HdWaveForcast-D8UZrHzF.mjs +269 -0
  21. package/dist/chunks/{component-HighQuality-B0OgPi3T.mjs → component-HighQuality-1iqLOQAF.mjs} +2 -2
  22. package/dist/chunks/{component-HighWayEarlyWarningRed-BTl2WWZ-.mjs → component-HighWayEarlyWarningRed-DlgG9rTx.mjs} +3 -3
  23. package/dist/chunks/{component-HighWayFreeze-B1aMHQWU.mjs → component-HighWayFreeze-CCp1Rxpz.mjs} +2 -2
  24. package/dist/chunks/{component-HighwayLiveAlarm-8u45ZdnN.mjs → component-HighwayLiveAlarm-D7PKi5rG.mjs} +2 -2
  25. package/dist/chunks/{component-HighwayLiveAlarmNew-DK827eVk.mjs → component-HighwayLiveAlarmNew-rH59lsj8.mjs} +3 -3
  26. package/dist/chunks/{component-HighwayStations-BzrbWP50.mjs → component-HighwayStations-DGt6Gsr9.mjs} +2 -2
  27. package/dist/chunks/{component-HighwayWeatherForecast-DER5XGc3.mjs → component-HighwayWeatherForecast-BQrNGF7m.mjs} +73 -130
  28. package/dist/chunks/{component-IframeWeb-DuBssYPk.mjs → component-IframeWeb-vLIWvbJY.mjs} +1 -1
  29. package/dist/chunks/{component-ImageGeneration-3G3j7utC.mjs → component-ImageGeneration-BtM7MHcE.mjs} +1 -1
  30. package/dist/chunks/{component-IntroducePic-L8VH8Yq8.mjs → component-IntroducePic-D3FSEuKX.mjs} +1 -1
  31. package/dist/chunks/{component-LithiumBatteryMiningArea-DSFTVepN.mjs → component-LithiumBatteryMiningArea-B5aUe7T0.mjs} +2 -2
  32. package/dist/chunks/{component-MapPopup-BNc18syw.mjs → component-MapPopup-UmWWAPBE.mjs} +1 -1
  33. package/dist/chunks/{component-MaterialPreview-DhLUbjcT.mjs → component-MaterialPreview-1Hyl4bjM.mjs} +2 -2
  34. package/dist/chunks/{component-PieLegend-Haojhtet.mjs → component-PieLegend-C0Acehix.mjs} +1 -1
  35. package/dist/chunks/component-PrecipitationRanking-C63n87WI.mjs +658 -0
  36. package/dist/chunks/{component-RadarChart-BYMbkI3K.mjs → component-RadarChart-BXfMyPPi.mjs} +2 -2
  37. package/dist/chunks/{component-RadarLegend-CiGsla7a.mjs → component-RadarLegend-B2ajP_0M.mjs} +1 -1
  38. package/dist/chunks/{component-RadarShortTerm-yPc2UWpz.mjs → component-RadarShortTerm-BeGEjbHr.mjs} +4 -4
  39. package/dist/chunks/{component-RadarTime-CkqIaTJh.mjs → component-RadarTime-DGRztCiR.mjs} +2 -2
  40. package/dist/chunks/{component-RenderMarkdown-D590sXEf.mjs → component-RenderMarkdown-Dv-UVGrS.mjs} +2 -2
  41. package/dist/chunks/{component-ReservoirLiveAlarm-DTtKdDQS.mjs → component-ReservoirLiveAlarm-CRgl_ztt.mjs} +3 -3
  42. package/dist/chunks/{component-ServiceMaterial-BKbVQbKm.mjs → component-ServiceMaterial-BTWYke8W.mjs} +2 -2
  43. package/dist/chunks/{component-ServiceMaterialsBtn-CskK-Qiz.mjs → component-ServiceMaterialsBtn-CTWGd-Is.mjs} +1 -1
  44. package/dist/chunks/{component-StationDialog-Bn7Fbk24.mjs → component-StationDialog-Ck8zd52d.mjs} +216 -157
  45. package/dist/chunks/{component-StationList-DRABlFdc.mjs → component-StationList-BvoVJwAU.mjs} +105 -91
  46. package/dist/chunks/{component-TimeBasedForecast-D1fJ4rGJ.mjs → component-TimeBasedForecast-BaPiit4s.mjs} +36 -36
  47. package/dist/chunks/{component-WarningLine-jN8sg45u.mjs → component-WarningLine-CcFfVzar.mjs} +2 -2
  48. package/dist/chunks/{component-WarningSignal-BkIKqyJB.mjs → component-WarningSignal-C0CnTLVH.mjs} +3 -3
  49. package/dist/chunks/component-WeatherForecast-DWdNramU.mjs +229 -0
  50. package/dist/chunks/{component-YCDataMonitor-vVlnkSzT.mjs → component-YCDataMonitor-DPMFqIFB.mjs} +108 -110
  51. package/dist/chunks/{component-YCDataService-okkY1-iU.mjs → component-YCDataService-CD042ss7.mjs} +4 -4
  52. package/dist/chunks/{component-YCHome-BfpbxDIg.mjs → component-YCHome-DjpIzt-5.mjs} +4 -4
  53. package/dist/chunks/{component-YCHomeLegend-CuT-BwNJ.mjs → component-YCHomeLegend-B-nlePS2.mjs} +1 -1
  54. package/dist/chunks/{component-YCLoginNew-KZoyW1EV.mjs → component-YCLoginNew-Bx2LoLJz.mjs} +3 -3
  55. package/dist/components/HdForecastProducts/HdForecastProducts.vue.d.ts +49 -0
  56. package/dist/components/HdPreSituation/HdPreSituation.vue.d.ts +0 -1
  57. package/dist/components/HdServiceMarterial/HdServiceMarterial.vue.d.ts +54 -0
  58. package/dist/components/HdSuggestion/HdSuggestion.vue.d.ts +49 -0
  59. package/dist/components/HdThreeWeatherTrend/HdThreeWeatherTrend.vue.d.ts +71 -0
  60. package/dist/components/HdWaveForcast/HdWaveForcast.vue.d.ts +70 -0
  61. package/dist/components/PrecipitationRanking/PrecipitationRanking.vue.d.ts +5 -0
  62. package/dist/components/WeatherForecast/WeatherForecast.vue.d.ts +9 -0
  63. package/dist/index.d.ts +6 -1
  64. package/dist/nxd-plugin.mjs +56 -51
  65. package/dist/styles/component-HdForecastProducts.css +1 -0
  66. package/dist/styles/component-HdObservation.css +1 -1
  67. package/dist/styles/component-HdPreSituation.css +1 -1
  68. package/dist/styles/component-HdServiceMarterial.css +1 -0
  69. package/dist/styles/component-HdServiceRequirements.css +1 -1
  70. package/dist/styles/component-HdStationTem.css +1 -1
  71. package/dist/styles/component-HdSuggestion.css +1 -0
  72. package/dist/styles/component-HdThreeWeatherTrend.css +1 -0
  73. package/dist/styles/component-HdWaveForcast.css +1 -0
  74. package/dist/styles/component-HighWayEarlyWarningRed.css +1 -1
  75. package/dist/styles/component-PrecipitationRanking.css +1 -1
  76. package/dist/styles/component-StationDialog.css +1 -1
  77. package/dist/styles/component-StationList.css +1 -1
  78. package/dist/styles/component-WeatherForecast.css +1 -1
  79. package/dist/styles/component-YCDataMonitor.css +1 -1
  80. package/dist/styles/component-YCLoginNew.css +1 -1
  81. package/package.json +1 -1
  82. package/dist/chunks/component-PrecipitationRanking-BanKrD3J.mjs +0 -608
  83. package/dist/chunks/component-WeatherForecast-CYsbJhYt.mjs +0 -225
@@ -1,225 +0,0 @@
1
- import { n as e } from "./component-AqiMonitor-DoAVs1Jf.mjs";
2
- import { i as t } from "./component-AiChat-C1xBPkS5.mjs";
3
- import { A as n, C as r, D as i, E as a, F as o, M as s, N as c, O as l, P as ee, S as te, T as u, _ as d, a as f, b as p, c as m, d as h, f as g, g as ne, h as re, i as ie, j as ae, k as oe, l as se, m as ce, o as le, p as _, r as v, s as y, u as b, v as x, w as S, x as C, y as w } from "./component-HighwayWeatherForecast-DER5XGc3.mjs";
4
- import { n as T } from "./component-LithiumBatteryMiningArea-DSFTVepN.mjs";
5
- import { ElLoadingDirective as E } from "element-plus/es";
6
- import { Fragment as D, createCommentVNode as O, createElementBlock as k, createElementVNode as A, defineComponent as j, getCurrentInstance as M, normalizeClass as N, onMounted as P, openBlock as F, ref as I, renderList as L, toDisplayString as R, vShow as z, withDirectives as B } from "vue";
7
- //#region src/components/WeatherForecast/WeatherForecast.vue?vue&type=script&setup=true&lang.ts
8
- var V = {
9
- class: "WeatherForecast",
10
- "element-loading-background": "rgba(0, 0, 0, 0.4)"
11
- }, H = { class: "WeatherForecast__head" }, U = { class: "WeatherForecast__head-top" }, W = { class: "WeatherForecast__body" }, ue = {
12
- key: 0,
13
- class: "WeatherForecast__area-select"
14
- }, de = { style: {
15
- display: "flex",
16
- "align-items": "center"
17
- } }, fe = { class: "WeatherForecast__dropdown-wrapper" }, pe = { class: "WeatherForecast__area-panel" }, me = ["onClick"], he = { class: "WeatherForecast__wrap" }, ge = ["src", "alt"], G = /* @__PURE__ */ e(/* @__PURE__ */ j({
18
- __name: "WeatherForecast",
19
- props: {
20
- appKey: {
21
- type: String,
22
- default: ""
23
- },
24
- appSalt: {
25
- type: String,
26
- default: ""
27
- },
28
- baseHttp: {
29
- type: String,
30
- default: ""
31
- },
32
- ids: {
33
- type: Object,
34
- default: () => ({})
35
- },
36
- title: {
37
- type: String,
38
- default: "天气预报"
39
- }
40
- },
41
- emits: ["close"],
42
- setup(e, { emit: j }) {
43
- let G = M()?.appContext.config.globalProperties.$bus, K = e, _e = j, q = I(!1), J = I([]), Y = I({}), X = I([
44
- {
45
- name: "黄岛区",
46
- value: "aksu",
47
- longitude: "80.2651",
48
- latitude: "41.1707"
49
- },
50
- {
51
- name: "黄岛区2",
52
- value: "kuche",
53
- longitude: "82.9989",
54
- latitude: "41.7160"
55
- },
56
- {
57
- name: "黄岛区3",
58
- value: "baicheng",
59
- longitude: "81.8670",
60
- latitude: "41.7860"
61
- },
62
- {
63
- name: "黄岛区4",
64
- value: "xinhe",
65
- longitude: "82.6100",
66
- latitude: "41.5490"
67
- },
68
- {
69
- name: "黄岛区5",
70
- value: "shaya",
71
- longitude: "82.7800",
72
- latitude: "41.2200"
73
- },
74
- {
75
- name: "黄岛区6",
76
- value: "wensu",
77
- longitude: "80.3000",
78
- latitude: "41.1600"
79
- },
80
- {
81
- name: "黄岛区7",
82
- value: "wushi",
83
- longitude: "79.2300",
84
- latitude: "41.2100"
85
- },
86
- {
87
- name: "黄岛区8",
88
- value: "keping",
89
- longitude: "79.0200",
90
- latitude: "40.5000"
91
- }
92
- ]), Z = I({}), Q = I(!1);
93
- P(() => {
94
- G?.on("toComponent", (e) => {
95
- e.componentName === "WeatherForecast" && (Y.value = e.data, ve());
96
- });
97
- }), document.addEventListener("click", (e) => {
98
- e.target.closest(".WeatherForecast__area-select") || (Q.value = !1);
99
- });
100
- let ve = async () => {
101
- await xe();
102
- }, ye = () => {
103
- _e("close", "WeatherForecast");
104
- }, be = () => {
105
- Q.value = !Q.value;
106
- }, $ = async (e) => {
107
- Q.value = !1, Z.value?.value !== e.value && (Z.value = e);
108
- }, xe = async () => {
109
- q.value = !0;
110
- let e = {
111
- lon: Y.value.longitude,
112
- lat: Y.value.latitude,
113
- hours: 168
114
- }, E = await t({
115
- appKey: K.appKey,
116
- appSalt: K.appSalt,
117
- id: K.ids.data.id,
118
- variables: { str: T.encode(JSON.stringify(e)) },
119
- baseHttp: K.baseHttp,
120
- reqType: K.ids.data.reqType,
121
- isFormData: K.ids.data.isFormData
122
- });
123
- q.value = !1;
124
- let D = E.data?.result?.output;
125
- if (!D) {
126
- console.warn("天气预报接口返回为空", E), J.value = [];
127
- return;
128
- }
129
- let O = (typeof D == "string" ? JSON.parse(D) : D).ds;
130
- if (!Array.isArray(O) || O.length === 0) {
131
- J.value = [];
132
- return;
133
- }
134
- let k = [
135
- "日",
136
- "一",
137
- "二",
138
- "三",
139
- "四",
140
- "五",
141
- "六"
142
- ];
143
- J.value = O.map((e, t) => {
144
- let T = new Date(e.observation_time.replace(/\//g, "-"));
145
- T.setDate(T.getDate() + t);
146
- let E = `${T.getMonth() + 1}`.padStart(2, "0"), D = `${T.getDate()}`.padStart(2, "0");
147
- return {
148
- ...e,
149
- _date: `${E}-${D}`,
150
- _week: `周${k[T.getDay()]}`,
151
- _icon: new URL((/* @__PURE__ */ Object.assign({
152
- "../../assets/img/weatherIcon/0.gif": o,
153
- "../../assets/img/weatherIcon/1.gif": ee,
154
- "../../assets/img/weatherIcon/10.gif": c,
155
- "../../assets/img/weatherIcon/11.gif": s,
156
- "../../assets/img/weatherIcon/12.gif": ae,
157
- "../../assets/img/weatherIcon/13.gif": n,
158
- "../../assets/img/weatherIcon/14.gif": oe,
159
- "../../assets/img/weatherIcon/15.gif": l,
160
- "../../assets/img/weatherIcon/16.gif": i,
161
- "../../assets/img/weatherIcon/17.gif": a,
162
- "../../assets/img/weatherIcon/18.gif": u,
163
- "../../assets/img/weatherIcon/19.gif": S,
164
- "../../assets/img/weatherIcon/2.gif": r,
165
- "../../assets/img/weatherIcon/20.gif": te,
166
- "../../assets/img/weatherIcon/21.gif": C,
167
- "../../assets/img/weatherIcon/22.gif": p,
168
- "../../assets/img/weatherIcon/23.gif": w,
169
- "../../assets/img/weatherIcon/24.gif": x,
170
- "../../assets/img/weatherIcon/25.gif": d,
171
- "../../assets/img/weatherIcon/26.gif": ne,
172
- "../../assets/img/weatherIcon/27.gif": re,
173
- "../../assets/img/weatherIcon/28.gif": ce,
174
- "../../assets/img/weatherIcon/29.gif": _,
175
- "../../assets/img/weatherIcon/3.gif": g,
176
- "../../assets/img/weatherIcon/30.gif": h,
177
- "../../assets/img/weatherIcon/31.gif": b,
178
- "../../assets/img/weatherIcon/4.gif": se,
179
- "../../assets/img/weatherIcon/5.gif": m,
180
- "../../assets/img/weatherIcon/53.gif": y,
181
- "../../assets/img/weatherIcon/6.gif": le,
182
- "../../assets/img/weatherIcon/7.gif": f,
183
- "../../assets/img/weatherIcon/8.gif": ie,
184
- "../../assets/img/weatherIcon/9.gif": v
185
- }))[`../../assets/img/weatherIcon/${e.weatherPhenomenon}.gif`], import.meta.url).href
186
- };
187
- });
188
- };
189
- return (t, n) => {
190
- let r = E;
191
- return B((F(), k("div", V, [A("div", H, [A("div", U, [A("div", null, R(e.title), 1), A("div", {
192
- class: "closeBtn",
193
- onClick: ye,
194
- title: "关闭"
195
- })]), n[0] ||= A("img", {
196
- class: "WeatherForecast__head-line",
197
- 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",
198
- alt: ""
199
- }, null, -1)]), A("div", W, [X.value.length > 0 ? (F(), k("div", ue, [A("div", de, [n[1] ||= A("label", { style: { "font-size": "12px" } }, "区域选择:", -1), A("div", fe, [A("div", {
200
- class: "WeatherForecast__area-trigger",
201
- onClick: be
202
- }, [A("span", null, R(Z.value?.name || "选择区域"), 1), A("span", { class: N(["WeatherForecast__arrow", { "is-open": Q.value }]) }, "▼", 2)]), B(A("div", pe, [(F(!0), k(D, null, L(X.value, (e, t) => (F(), k("div", {
203
- key: t,
204
- class: N(["WeatherForecast__area-item", { "is-selected": Z.value?.value === e.value }]),
205
- onClick: (t) => $(e)
206
- }, R(e.name), 11, me))), 128))], 512), [[z, Q.value]])])])])) : O("", !0), A("div", he, [(F(!0), k(D, null, L(J.value, (e) => (F(), k("div", {
207
- class: "WeatherForecast__item",
208
- key: `${e.observation_time}-${e.hour}`
209
- }, [
210
- A("div", null, R(e._date), 1),
211
- A("div", null, R(e._week), 1),
212
- A("img", {
213
- src: e._icon,
214
- alt: e.weather
215
- }, null, 8, ge),
216
- A("div", null, R(e.weather), 1),
217
- A("div", null, R(e.temp_low) + "~" + R(e.temp_high) + "℃", 1),
218
- A("div", null, R(e.wind_directinfo), 1),
219
- A("div", null, R(e.wind_speedinfo === null || Number(e.wind_speedinfo) < 3 ? "<3级" : `${e.wind_speedinfo}级`), 1)
220
- ]))), 128))])])])), [[r, q.value]]);
221
- };
222
- }
223
- }), [["__scopeId", "data-v-08acfdb8"]]);
224
- //#endregion
225
- export { G as t };