nxd-plugin 1.7.80 → 1.7.83

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 (82) hide show
  1. package/dist/chunks/{component-AiChat-CtsIvsGB.mjs → component-AiChat-C1xBPkS5.mjs} +312 -260
  2. package/dist/chunks/{component-AqiMonitor-D16SVL6m.mjs → component-AqiMonitor-DoAVs1Jf.mjs} +1 -1
  3. package/dist/chunks/{component-ChartCumulativePre-CXnKE427.mjs → component-ChartCumulativePre-BOIMPYxl.mjs} +2 -2
  4. package/dist/chunks/{component-ChartServiceMaterial-_cOa2zr2.mjs → component-ChartServiceMaterial-CmR3bmG_.mjs} +2 -2
  5. package/dist/chunks/{component-Duty-D0YruNKe.mjs → component-Duty-gmt7ZcSc.mjs} +2 -2
  6. package/dist/chunks/{component-EarlyWarningStatistic-CWzunUWV.mjs → component-EarlyWarningStatistic-BWYWrz65.mjs} +2 -2
  7. package/dist/chunks/component-Forecast72h-BZ1kB2TJ.mjs +427 -0
  8. package/dist/chunks/{component-GeologyLiveAlarm-CvwronHT.mjs → component-GeologyLiveAlarm-CNpQPmGs.mjs} +2 -2
  9. package/dist/chunks/component-HdHeatService-ok6q8UuG.mjs +412 -0
  10. package/dist/chunks/component-HdObservation-BmQdGJV6.mjs +600 -0
  11. package/dist/chunks/component-HdPreSituation-LBpO58bE.mjs +604 -0
  12. package/dist/chunks/component-HdRadarTime-D7hOn_ph.mjs +461 -0
  13. package/dist/chunks/component-HdSeaCase-DYPQ7CdN.mjs +219 -0
  14. package/dist/chunks/component-HdServiceRequirements-DcXrcIIV.mjs +143 -0
  15. package/dist/chunks/component-HdStationTem-US6IRwbQ.mjs +573 -0
  16. package/dist/chunks/{component-HighQuality-mh3fFFrU.mjs → component-HighQuality-B0OgPi3T.mjs} +3 -3
  17. package/dist/chunks/{component-HighWayEarlyWarningRed-bUwQzo1p.mjs → component-HighWayEarlyWarningRed-BTl2WWZ-.mjs} +907 -759
  18. package/dist/chunks/{component-HighWayFreeze-sv_B8HYz.mjs → component-HighWayFreeze-B1aMHQWU.mjs} +2 -2
  19. package/dist/chunks/{component-HighwayLiveAlarm-C5CT4pNH.mjs → component-HighwayLiveAlarm-8u45ZdnN.mjs} +2 -2
  20. package/dist/chunks/{component-HighwayLiveAlarmNew-DwM5R3uq.mjs → component-HighwayLiveAlarmNew-DK827eVk.mjs} +3 -3
  21. package/dist/chunks/{component-HighwayStations-DUpEnASL.mjs → component-HighwayStations-BzrbWP50.mjs} +2 -2
  22. package/dist/chunks/{component-HighwayWeatherForecast-DySnAsrW.mjs → component-HighwayWeatherForecast-DER5XGc3.mjs} +2 -2
  23. package/dist/chunks/{component-IframeWeb-ZChwSgDN.mjs → component-IframeWeb-DuBssYPk.mjs} +1 -1
  24. package/dist/chunks/{component-ImageGeneration-B17dWjVV.mjs → component-ImageGeneration-3G3j7utC.mjs} +1 -1
  25. package/dist/chunks/{component-IntroducePic-hpd3_zKO.mjs → component-IntroducePic-L8VH8Yq8.mjs} +1 -1
  26. package/dist/chunks/{component-LithiumBatteryMiningArea-BLx7FYWI.mjs → component-LithiumBatteryMiningArea-DSFTVepN.mjs} +2 -2
  27. package/dist/chunks/{component-MapPopup-BBY3WROQ.mjs → component-MapPopup-BNc18syw.mjs} +1 -1
  28. package/dist/chunks/{component-MaterialPreview-W3eNeSc0.mjs → component-MaterialPreview-DhLUbjcT.mjs} +2 -2
  29. package/dist/chunks/{component-PieLegend-YE4EI4RM.mjs → component-PieLegend-Haojhtet.mjs} +1 -1
  30. package/dist/chunks/component-PrecipitationRanking-BanKrD3J.mjs +608 -0
  31. package/dist/chunks/{component-RadarChart-BnaENnYS.mjs → component-RadarChart-BYMbkI3K.mjs} +2 -2
  32. package/dist/chunks/{component-RadarLegend-B_mzSJzM.mjs → component-RadarLegend-CiGsla7a.mjs} +1 -1
  33. package/dist/chunks/{component-RadarShortTerm-BGK_OnB2.mjs → component-RadarShortTerm-yPc2UWpz.mjs} +4 -4
  34. package/dist/chunks/{component-RadarTime-Bm7mOE3Z.mjs → component-RadarTime-CkqIaTJh.mjs} +2 -2
  35. package/dist/chunks/{component-RenderMarkdown-9GGS03jg.mjs → component-RenderMarkdown-D590sXEf.mjs} +2 -2
  36. package/dist/chunks/{component-ReservoirLiveAlarm-B9Sxhqyu.mjs → component-ReservoirLiveAlarm-DTtKdDQS.mjs} +3 -3
  37. package/dist/chunks/{component-ServiceMaterial-wVF-3Lpq.mjs → component-ServiceMaterial-BKbVQbKm.mjs} +2 -2
  38. package/dist/chunks/{component-ServiceMaterialsBtn-DXbl0E-k.mjs → component-ServiceMaterialsBtn-CskK-Qiz.mjs} +1 -1
  39. package/dist/chunks/component-StationDialog-Bn7Fbk24.mjs +897 -0
  40. package/dist/chunks/component-StationList-DRABlFdc.mjs +323 -0
  41. package/dist/chunks/{component-TimeBasedForecast-Cqb98MyV.mjs → component-TimeBasedForecast-D1fJ4rGJ.mjs} +4 -4
  42. package/dist/chunks/{component-WarningLine-DWxDqXz4.mjs → component-WarningLine-jN8sg45u.mjs} +2 -2
  43. package/dist/chunks/{component-WarningSignal-C6bMbzAR.mjs → component-WarningSignal-BkIKqyJB.mjs} +3 -3
  44. package/dist/chunks/component-WeatherForecast-CYsbJhYt.mjs +225 -0
  45. package/dist/chunks/{component-YCDataMonitor-CdjR4SD9.mjs → component-YCDataMonitor-vVlnkSzT.mjs} +2 -2
  46. package/dist/chunks/{component-YCDataService-BVgkmLN8.mjs → component-YCDataService-okkY1-iU.mjs} +4 -4
  47. package/dist/chunks/{component-YCHome-DoRcqj79.mjs → component-YCHome-BfpbxDIg.mjs} +4 -4
  48. package/dist/chunks/{component-YCHomeLegend-_Iq4kWV6.mjs → component-YCHomeLegend-CuT-BwNJ.mjs} +1 -1
  49. package/dist/chunks/{component-YCLoginNew-CA6LbHIs.mjs → component-YCLoginNew-KZoyW1EV.mjs} +3 -3
  50. package/dist/components/Forecast72h/Forecast72h.vue.d.ts +50 -0
  51. package/dist/components/HdHeatService/HdHeatService.vue.d.ts +56 -0
  52. package/dist/components/HdObservation/HdObservation.vue.d.ts +43 -0
  53. package/dist/components/HdPreSituation/HdPreSituation.vue.d.ts +62 -0
  54. package/dist/components/HdQxServiceEffects/HdQxServiceEffects.vue.d.ts +59 -0
  55. package/dist/components/HdRadarTime/HdRadarTime.vue.d.ts +71 -0
  56. package/dist/components/HdSeaCase/HdSeaCase.vue.d.ts +46 -0
  57. package/dist/components/HdServiceRequirements/HdServiceRequirements.vue.d.ts +51 -0
  58. package/dist/components/HdStationTem/HdStationTem.vue.d.ts +69 -0
  59. package/dist/components/HighWayEarlyWarningRed/Call.vue.d.ts +18 -0
  60. package/dist/components/HighWayEarlyWarningRed/HighWayEarlyWarningRed.vue.d.ts +5 -0
  61. package/dist/components/PrecipitationRanking/PrecipitationRanking.vue.d.ts +57 -0
  62. package/dist/components/StationDialog/StationDialog.vue.d.ts +90 -0
  63. package/dist/components/StationList/StationList.vue.d.ts +64 -0
  64. package/dist/index.d.ts +13 -1
  65. package/dist/nxd-plugin.mjs +51 -40
  66. package/dist/styles/component-Forecast72h.css +1 -0
  67. package/dist/styles/component-HdHeatService.css +1 -0
  68. package/dist/styles/component-HdObservation.css +1 -0
  69. package/dist/styles/component-HdPreSituation.css +1 -0
  70. package/dist/styles/component-HdRadarTime.css +1 -0
  71. package/dist/styles/component-HdSeaCase.css +1 -0
  72. package/dist/styles/component-HdServiceRequirements.css +1 -0
  73. package/dist/styles/component-HdStationTem.css +1 -0
  74. package/dist/styles/component-HighQuality.css +1 -1
  75. package/dist/styles/component-HighWayEarlyWarningRed.css +1 -1
  76. package/dist/styles/component-PrecipitationRanking.css +1 -0
  77. package/dist/styles/component-StationDialog.css +1 -0
  78. package/dist/styles/component-StationList.css +1 -0
  79. package/dist/styles/component-WeatherForecast.css +1 -1
  80. package/dist/styles/component-YCLoginNew.css +1 -1
  81. package/package.json +2 -1
  82. package/dist/chunks/component-WeatherForecast-EqHxKbyh.mjs +0 -210
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nxd-plugin",
3
- "version": "1.7.80",
3
+ "version": "1.7.83",
4
4
  "main": "dist/nxd-plugin.mjs",
5
5
  "module": "dist/nxd-plugin.mjs",
6
6
  "types": "dist/src/index.d.ts",
@@ -53,6 +53,7 @@
53
53
  "highlight.js": "^11.11.1",
54
54
  "js-base64": "^3.7.8",
55
55
  "js-cookie": "^3.0.5",
56
+ "js-export-excel": "^1.1.4",
56
57
  "marked": "^18.0.9",
57
58
  "moment": "^2.30.1",
58
59
  "ol": "^10.9.0",
@@ -1,210 +0,0 @@
1
- import { n as e } from "./component-AqiMonitor-D16SVL6m.mjs";
2
- import { i as t } from "./component-AiChat-CtsIvsGB.mjs";
3
- import { A as n, C as r, D as i, E as a, F as o, M as s, N as ee, O as c, P as l, S as u, T as d, _ as f, a as te, b as ne, c as re, d as ie, f as ae, g as p, h as m, i as h, j as g, k as _, l as v, m as y, o as b, p as x, r as S, s as C, u as w, v as T, w as E, x as D, y as O } from "./component-HighwayWeatherForecast-DySnAsrW.mjs";
4
- import { n as k } from "./component-LithiumBatteryMiningArea-BLx7FYWI.mjs";
5
- import { ElLoadingDirective as A } from "element-plus/es";
6
- import { Fragment as j, createElementBlock as M, createElementVNode as N, defineComponent as P, getCurrentInstance as F, onMounted as I, openBlock as L, ref as R, renderList as z, toDisplayString as B, withDirectives as V } from "vue";
7
- //#region src/components/WeatherForecast/WeatherForecast.vue?vue&type=script&setup=true&lang.ts
8
- var H = {
9
- class: "WeatherForecast",
10
- "element-loading-background": "rgba(0, 0, 0, 0.4)"
11
- }, U = { class: "WeatherForecast__head" }, W = { class: "WeatherForecast__head-top" }, G = { class: "WeatherForecast__body" }, K = { class: "WeatherForecast__wrap" }, q = ["src", "alt"], J = /* @__PURE__ */ e(/* @__PURE__ */ P({
12
- __name: "WeatherForecast",
13
- props: {
14
- appKey: {
15
- type: String,
16
- default: ""
17
- },
18
- appSalt: {
19
- type: String,
20
- default: ""
21
- },
22
- baseHttp: {
23
- type: String,
24
- default: ""
25
- },
26
- ids: {
27
- type: Object,
28
- default: () => ({})
29
- },
30
- title: {
31
- type: String,
32
- default: "天气预报"
33
- }
34
- },
35
- emits: ["close"],
36
- setup(e, { emit: P }) {
37
- let J = F()?.appContext.config.globalProperties.$bus, Y = e, oe = P, X = R(!1), Z = R([]), Q = R({});
38
- R([
39
- {
40
- name: "阿克苏市",
41
- value: "aksu",
42
- longitude: "80.2651",
43
- latitude: "41.1707"
44
- },
45
- {
46
- name: "库车市",
47
- value: "kuche",
48
- longitude: "82.9989",
49
- latitude: "41.7160"
50
- },
51
- {
52
- name: "拜城县",
53
- value: "baicheng",
54
- longitude: "81.8670",
55
- latitude: "41.7860"
56
- },
57
- {
58
- name: "新和县",
59
- value: "xinhe",
60
- longitude: "82.6100",
61
- latitude: "41.5490"
62
- },
63
- {
64
- name: "沙雅县",
65
- value: "shaya",
66
- longitude: "82.7800",
67
- latitude: "41.2200"
68
- },
69
- {
70
- name: "温宿县",
71
- value: "wensu",
72
- longitude: "80.3000",
73
- latitude: "41.1600"
74
- },
75
- {
76
- name: "乌什县",
77
- value: "wushi",
78
- longitude: "79.2300",
79
- latitude: "41.2100"
80
- },
81
- {
82
- name: "柯坪县",
83
- value: "keping",
84
- longitude: "79.0200",
85
- latitude: "40.5000"
86
- }
87
- ]), R(null);
88
- let $ = R(!1);
89
- I(() => {
90
- J?.on("toComponent", (e) => {
91
- e.componentName === "WeatherForecast" && (Q.value = e.data, se());
92
- });
93
- }), document.addEventListener("click", (e) => {
94
- e.target.closest(".WeatherForecast__area-select") || ($.value = !1);
95
- });
96
- let se = async () => {
97
- await le();
98
- }, ce = () => {
99
- oe("close", "WeatherForecast");
100
- }, le = async () => {
101
- X.value = !0;
102
- let e = {
103
- lon: Q.value.longitude,
104
- lat: Q.value.latitude,
105
- hours: 168
106
- }, A = await t({
107
- appKey: Y.appKey,
108
- appSalt: Y.appSalt,
109
- id: Y.ids.data.id,
110
- variables: { str: k.encode(JSON.stringify(e)) },
111
- baseHttp: Y.baseHttp,
112
- reqType: Y.ids.data.reqType,
113
- isFormData: Y.ids.data.isFormData
114
- });
115
- X.value = !1;
116
- let j = A.data?.result?.output;
117
- if (!j) {
118
- console.warn("天气预报接口返回为空", A), Z.value = [];
119
- return;
120
- }
121
- let M = (typeof j == "string" ? JSON.parse(j) : j).ds;
122
- if (!Array.isArray(M) || M.length === 0) {
123
- Z.value = [];
124
- return;
125
- }
126
- let N = [
127
- "日",
128
- "一",
129
- "二",
130
- "三",
131
- "四",
132
- "五",
133
- "六"
134
- ];
135
- Z.value = M.map((e, t) => {
136
- let k = new Date(e.observation_time.replace(/\//g, "-"));
137
- k.setDate(k.getDate() + t);
138
- let A = `${k.getMonth() + 1}`.padStart(2, "0"), j = `${k.getDate()}`.padStart(2, "0");
139
- return {
140
- ...e,
141
- _date: `${A}-${j}`,
142
- _week: `周${N[k.getDay()]}`,
143
- _icon: new URL((/* @__PURE__ */ Object.assign({
144
- "../../assets/img/weatherIcon/0.gif": o,
145
- "../../assets/img/weatherIcon/1.gif": l,
146
- "../../assets/img/weatherIcon/10.gif": ee,
147
- "../../assets/img/weatherIcon/11.gif": s,
148
- "../../assets/img/weatherIcon/12.gif": g,
149
- "../../assets/img/weatherIcon/13.gif": n,
150
- "../../assets/img/weatherIcon/14.gif": _,
151
- "../../assets/img/weatherIcon/15.gif": c,
152
- "../../assets/img/weatherIcon/16.gif": i,
153
- "../../assets/img/weatherIcon/17.gif": a,
154
- "../../assets/img/weatherIcon/18.gif": d,
155
- "../../assets/img/weatherIcon/19.gif": E,
156
- "../../assets/img/weatherIcon/2.gif": r,
157
- "../../assets/img/weatherIcon/20.gif": u,
158
- "../../assets/img/weatherIcon/21.gif": D,
159
- "../../assets/img/weatherIcon/22.gif": ne,
160
- "../../assets/img/weatherIcon/23.gif": O,
161
- "../../assets/img/weatherIcon/24.gif": T,
162
- "../../assets/img/weatherIcon/25.gif": f,
163
- "../../assets/img/weatherIcon/26.gif": p,
164
- "../../assets/img/weatherIcon/27.gif": m,
165
- "../../assets/img/weatherIcon/28.gif": y,
166
- "../../assets/img/weatherIcon/29.gif": x,
167
- "../../assets/img/weatherIcon/3.gif": ae,
168
- "../../assets/img/weatherIcon/30.gif": ie,
169
- "../../assets/img/weatherIcon/31.gif": w,
170
- "../../assets/img/weatherIcon/4.gif": v,
171
- "../../assets/img/weatherIcon/5.gif": re,
172
- "../../assets/img/weatherIcon/53.gif": C,
173
- "../../assets/img/weatherIcon/6.gif": b,
174
- "../../assets/img/weatherIcon/7.gif": te,
175
- "../../assets/img/weatherIcon/8.gif": h,
176
- "../../assets/img/weatherIcon/9.gif": S
177
- }))[`../../assets/img/weatherIcon/${e.weatherPhenomenon}.gif`], import.meta.url).href
178
- };
179
- });
180
- };
181
- return (t, n) => {
182
- let r = A;
183
- return V((L(), M("div", H, [N("div", U, [N("div", W, [N("div", null, B(e.title), 1), N("div", {
184
- class: "closeBtn",
185
- onClick: ce,
186
- title: "关闭"
187
- })]), n[0] ||= N("img", {
188
- class: "WeatherForecast__head-line",
189
- 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",
190
- alt: ""
191
- }, null, -1)]), N("div", G, [N("div", K, [(L(!0), M(j, null, z(Z.value, (e) => (L(), M("div", {
192
- class: "WeatherForecast__item",
193
- key: `${e.observation_time}-${e.hour}`
194
- }, [
195
- N("div", null, B(e._date), 1),
196
- N("div", null, B(e._week), 1),
197
- N("img", {
198
- src: e._icon,
199
- alt: e.weather
200
- }, null, 8, q),
201
- N("div", null, B(e.weather), 1),
202
- N("div", null, B(e.temp_low) + "~" + B(e.temp_high) + "℃", 1),
203
- N("div", null, B(e.wind_directinfo), 1),
204
- N("div", null, B(e.wind_speedinfo === null || Number(e.wind_speedinfo) < 3 ? "<3级" : `${e.wind_speedinfo}级`), 1)
205
- ]))), 128))])])])), [[r, X.value]]);
206
- };
207
- }
208
- }), [["__scopeId", "data-v-a730bcd5"]]);
209
- //#endregion
210
- export { J as t };