nxd-plugin 1.7.82 → 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 (100) hide show
  1. package/dist/chunks/{component-AiChat-BU0rzEqA.mjs → component-AiChat-BXNBLM1G.mjs} +382 -342
  2. package/dist/chunks/{component-AqiMonitor-B0X5SmQB.mjs → component-AqiMonitor-C_V1Nuf_.mjs} +1 -1
  3. package/dist/chunks/{component-ChartCumulativePre-D50ZlxtD.mjs → component-ChartCumulativePre-Bo28Bgaa.mjs} +2 -2
  4. package/dist/chunks/{component-ChartServiceMaterial-D35UWUD8.mjs → component-ChartServiceMaterial-DELVCsKj.mjs} +2 -2
  5. package/dist/chunks/{component-Duty-CuVSfL6B.mjs → component-Duty-dyZZ4vHt.mjs} +2 -2
  6. package/dist/chunks/{component-EarlyWarningStatistic-DBLY754e.mjs → component-EarlyWarningStatistic-CBJfrRsV.mjs} +2 -2
  7. package/dist/chunks/component-Forecast72h-BkVZSGhE.mjs +427 -0
  8. package/dist/chunks/{component-GeologyLiveAlarm-BGqrl_n2.mjs → component-GeologyLiveAlarm-B9jBWXf0.mjs} +2 -2
  9. package/dist/chunks/component-HdForecastProducts-D4x_Y0OB.mjs +211 -0
  10. package/dist/chunks/component-HdHeatService-Bf9XH3DP.mjs +412 -0
  11. package/dist/chunks/component-HdObservation-CM6HUrQ3.mjs +606 -0
  12. package/dist/chunks/component-HdPreSituation-CJ8-wiRO.mjs +639 -0
  13. package/dist/chunks/component-HdRadarTime-C4ZArOUM.mjs +461 -0
  14. package/dist/chunks/component-HdSeaCase-3-YFxSuM.mjs +219 -0
  15. package/dist/chunks/component-HdServiceMarterial-pSFQUH2x.mjs +316 -0
  16. package/dist/chunks/component-HdServiceRequirements-BjuiyyC5.mjs +142 -0
  17. package/dist/chunks/component-HdStationTem-Dit7Y8lu.mjs +573 -0
  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-B-DNdjF7.mjs → component-HighQuality-1iqLOQAF.mjs} +3 -3
  22. package/dist/chunks/{component-HighWayEarlyWarningRed-DM_NXOxS.mjs → component-HighWayEarlyWarningRed-DlgG9rTx.mjs} +907 -759
  23. package/dist/chunks/{component-HighWayFreeze-Dldul9ds.mjs → component-HighWayFreeze-CCp1Rxpz.mjs} +2 -2
  24. package/dist/chunks/{component-HighwayLiveAlarm-7T0XNRUb.mjs → component-HighwayLiveAlarm-D7PKi5rG.mjs} +2 -2
  25. package/dist/chunks/{component-HighwayLiveAlarmNew-ClsfDywn.mjs → component-HighwayLiveAlarmNew-rH59lsj8.mjs} +3 -3
  26. package/dist/chunks/{component-HighwayStations-u3R83AXH.mjs → component-HighwayStations-DGt6Gsr9.mjs} +2 -2
  27. package/dist/chunks/{component-HighwayWeatherForecast-CHJuEi1V.mjs → component-HighwayWeatherForecast-BQrNGF7m.mjs} +73 -130
  28. package/dist/chunks/{component-IframeWeb-B_RCXBBe.mjs → component-IframeWeb-vLIWvbJY.mjs} +1 -1
  29. package/dist/chunks/{component-ImageGeneration-5zGtULQL.mjs → component-ImageGeneration-BtM7MHcE.mjs} +1 -1
  30. package/dist/chunks/{component-IntroducePic-DPf4yYOb.mjs → component-IntroducePic-D3FSEuKX.mjs} +1 -1
  31. package/dist/chunks/{component-LithiumBatteryMiningArea-D7EdisGO.mjs → component-LithiumBatteryMiningArea-B5aUe7T0.mjs} +2 -2
  32. package/dist/chunks/{component-MapPopup-pePSM1pe.mjs → component-MapPopup-UmWWAPBE.mjs} +1 -1
  33. package/dist/chunks/{component-MaterialPreview-CvHyZKau.mjs → component-MaterialPreview-1Hyl4bjM.mjs} +2 -2
  34. package/dist/chunks/{component-PieLegend-C_KQgtb2.mjs → component-PieLegend-C0Acehix.mjs} +1 -1
  35. package/dist/chunks/component-PrecipitationRanking-C63n87WI.mjs +658 -0
  36. package/dist/chunks/{component-RadarChart-Dkkpc2ex.mjs → component-RadarChart-BXfMyPPi.mjs} +2 -2
  37. package/dist/chunks/{component-RadarLegend-Bmyx7Z82.mjs → component-RadarLegend-B2ajP_0M.mjs} +1 -1
  38. package/dist/chunks/{component-RadarShortTerm-DNpfS5yC.mjs → component-RadarShortTerm-BeGEjbHr.mjs} +4 -4
  39. package/dist/chunks/{component-RadarTime-CBk6AMiD.mjs → component-RadarTime-DGRztCiR.mjs} +2 -2
  40. package/dist/chunks/{component-RenderMarkdown-DFiXNere.mjs → component-RenderMarkdown-Dv-UVGrS.mjs} +2 -2
  41. package/dist/chunks/{component-ReservoirLiveAlarm-DCzzEJ4U.mjs → component-ReservoirLiveAlarm-CRgl_ztt.mjs} +3 -3
  42. package/dist/chunks/{component-ServiceMaterial-CXBQpfHK.mjs → component-ServiceMaterial-BTWYke8W.mjs} +2 -2
  43. package/dist/chunks/{component-ServiceMaterialsBtn-CPZzLZl_.mjs → component-ServiceMaterialsBtn-CTWGd-Is.mjs} +1 -1
  44. package/dist/chunks/component-StationDialog-Ck8zd52d.mjs +956 -0
  45. package/dist/chunks/component-StationList-BvoVJwAU.mjs +337 -0
  46. package/dist/chunks/{component-TimeBasedForecast-WVO8WY-h.mjs → component-TimeBasedForecast-BaPiit4s.mjs} +36 -36
  47. package/dist/chunks/{component-WarningLine-BCPm8Eve.mjs → component-WarningLine-CcFfVzar.mjs} +2 -2
  48. package/dist/chunks/{component-WarningSignal-C2RJ8N64.mjs → component-WarningSignal-C0CnTLVH.mjs} +3 -3
  49. package/dist/chunks/component-WeatherForecast-DWdNramU.mjs +229 -0
  50. package/dist/chunks/{component-YCDataMonitor-Dx7ASmGD.mjs → component-YCDataMonitor-DPMFqIFB.mjs} +108 -110
  51. package/dist/chunks/{component-YCDataService-mj2SUWBC.mjs → component-YCDataService-CD042ss7.mjs} +4 -4
  52. package/dist/chunks/{component-YCHome-CUcEZHuo.mjs → component-YCHome-DjpIzt-5.mjs} +4 -4
  53. package/dist/chunks/{component-YCHomeLegend-DK6WU8YQ.mjs → component-YCHomeLegend-B-nlePS2.mjs} +1 -1
  54. package/dist/chunks/{component-YCLoginNew-D2RInKrk.mjs → component-YCLoginNew-Bx2LoLJz.mjs} +3 -3
  55. package/dist/components/AiChat/AiChat.vue.d.ts +0 -2
  56. package/dist/components/Forecast72h/Forecast72h.vue.d.ts +50 -0
  57. package/dist/components/HdForecastProducts/HdForecastProducts.vue.d.ts +49 -0
  58. package/dist/components/HdHeatService/HdHeatService.vue.d.ts +56 -0
  59. package/dist/components/HdObservation/HdObservation.vue.d.ts +43 -0
  60. package/dist/components/HdPreSituation/HdPreSituation.vue.d.ts +61 -0
  61. package/dist/components/HdQxServiceEffects/HdQxServiceEffects.vue.d.ts +59 -0
  62. package/dist/components/HdRadarTime/HdRadarTime.vue.d.ts +71 -0
  63. package/dist/components/HdSeaCase/HdSeaCase.vue.d.ts +46 -0
  64. package/dist/components/HdServiceMarterial/HdServiceMarterial.vue.d.ts +54 -0
  65. package/dist/components/HdServiceRequirements/HdServiceRequirements.vue.d.ts +51 -0
  66. package/dist/components/HdStationTem/HdStationTem.vue.d.ts +69 -0
  67. package/dist/components/HdSuggestion/HdSuggestion.vue.d.ts +49 -0
  68. package/dist/components/HdThreeWeatherTrend/HdThreeWeatherTrend.vue.d.ts +71 -0
  69. package/dist/components/HdWaveForcast/HdWaveForcast.vue.d.ts +70 -0
  70. package/dist/components/HighWayEarlyWarningRed/Call.vue.d.ts +18 -0
  71. package/dist/components/HighWayEarlyWarningRed/HighWayEarlyWarningRed.vue.d.ts +5 -0
  72. package/dist/components/PrecipitationRanking/PrecipitationRanking.vue.d.ts +62 -0
  73. package/dist/components/StationDialog/StationDialog.vue.d.ts +90 -0
  74. package/dist/components/StationList/StationList.vue.d.ts +64 -0
  75. package/dist/components/WeatherForecast/WeatherForecast.vue.d.ts +9 -0
  76. package/dist/index.d.ts +18 -1
  77. package/dist/nxd-plugin.mjs +56 -40
  78. package/dist/styles/component-Forecast72h.css +1 -0
  79. package/dist/styles/component-HdForecastProducts.css +1 -0
  80. package/dist/styles/component-HdHeatService.css +1 -0
  81. package/dist/styles/component-HdObservation.css +1 -0
  82. package/dist/styles/component-HdPreSituation.css +1 -0
  83. package/dist/styles/component-HdRadarTime.css +1 -0
  84. package/dist/styles/component-HdSeaCase.css +1 -0
  85. package/dist/styles/component-HdServiceMarterial.css +1 -0
  86. package/dist/styles/component-HdServiceRequirements.css +1 -0
  87. package/dist/styles/component-HdStationTem.css +1 -0
  88. package/dist/styles/component-HdSuggestion.css +1 -0
  89. package/dist/styles/component-HdThreeWeatherTrend.css +1 -0
  90. package/dist/styles/component-HdWaveForcast.css +1 -0
  91. package/dist/styles/component-HighQuality.css +1 -1
  92. package/dist/styles/component-HighWayEarlyWarningRed.css +1 -1
  93. package/dist/styles/component-PrecipitationRanking.css +1 -0
  94. package/dist/styles/component-StationDialog.css +1 -0
  95. package/dist/styles/component-StationList.css +1 -0
  96. package/dist/styles/component-WeatherForecast.css +1 -1
  97. package/dist/styles/component-YCDataMonitor.css +1 -1
  98. package/dist/styles/component-YCLoginNew.css +1 -1
  99. package/package.json +2 -1
  100. package/dist/chunks/component-WeatherForecast-CaLYtE37.mjs +0 -210
@@ -0,0 +1,161 @@
1
+ import { n as e } from "./component-AqiMonitor-C_V1Nuf_.mjs";
2
+ import { i as t } from "./component-AiChat-BXNBLM1G.mjs";
3
+ import "./component-Forecast72h-BkVZSGhE.mjs";
4
+ import { ElIcon as n } from "element-plus/es";
5
+ import { Fragment as r, computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineComponent as l, getCurrentInstance as u, onMounted as d, openBlock as f, ref as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
6
+ import { ArrowLeft as _, ArrowRight as v } from "@element-plus/icons-vue";
7
+ //#region src/components/HdSuggestion/HdSuggestion.vue?vue&type=script&setup=true&lang.ts
8
+ var y = { class: "HdSuggestion" }, b = { class: "HdSuggestion-header" }, x = { class: "HdSuggestion-headerContent" }, S = { class: "HdSuggestion-title" }, C = {
9
+ key: 0,
10
+ class: "HdSuggestion-dataTime"
11
+ }, w = { class: "HdSuggestion-body" }, T = ["disabled"], E = { class: "HdSuggestion-card" }, D = { class: "HdSuggestion-imageWrap" }, O = ["src"], k = {
12
+ key: 1,
13
+ class: "HdSuggestion-imagePlaceholder"
14
+ }, A = { class: "HdSuggestion-info" }, j = { class: "HdSuggestion-cardTitle" }, M = { class: "HdSuggestion-cardContent" }, N = ["disabled"], P = {
15
+ key: 1,
16
+ class: "HdSuggestion-empty"
17
+ }, F = {
18
+ class: "HdSuggestion-arrow",
19
+ disabled: ""
20
+ }, I = {
21
+ class: "HdSuggestion-arrow",
22
+ disabled: ""
23
+ }, L = /* @__PURE__ */ e(/* @__PURE__ */ l({
24
+ __name: "HdSuggestion",
25
+ props: {
26
+ mock: {
27
+ type: Boolean,
28
+ default: !0
29
+ },
30
+ showClose: {
31
+ type: Boolean,
32
+ default: !0
33
+ },
34
+ baseHttp: { default: "" },
35
+ appKey: { default: "" },
36
+ appSalt: { default: "" },
37
+ ids: { default: () => ({}) },
38
+ title: { default: "" },
39
+ dataTime: { default: "" },
40
+ list: { default: () => [] },
41
+ mockData: { default: () => ({
42
+ title: "农事建议",
43
+ dataTime: "",
44
+ list: [{
45
+ image: "http://58.59.29.51:11014/farmPorts/9E06026PAJ76623.png",
46
+ title: "小麦黑节病",
47
+ content: "主要为害茎节,病部呈深褐色,可扩展至节间,发病严重时,茎节变黑腐烂,病部以上枯死。叶片发病,呈初生水渍状条斑,随后扩展为黄褐色纵条斑。"
48
+ }, {
49
+ image: "http://58.59.29.51:11014/farmPorts/9E06026PAJ76623.png",
50
+ title: "春季麦田管理",
51
+ content: "春季气温回升,小麦进入返青拔节期,应加强田间管理,适时追肥浇水,注意防范倒春寒对小麦生长的影响。"
52
+ }]
53
+ }) }
54
+ },
55
+ emits: ["close", "change"],
56
+ setup(e, { emit: l }) {
57
+ let L = u()?.appContext.config.globalProperties.$bus, R = e, z = l, B = p(0), V = p({
58
+ title: "",
59
+ dataTime: "",
60
+ list: []
61
+ }), H = i(() => R.title || V.value.title || "农事建议"), U = i(() => R.dataTime || V.value.dataTime || ""), W = i(() => R.list.length ? R.list : V.value.list), G = i(() => W.value[B.value] || {
62
+ image: "",
63
+ title: "",
64
+ content: ""
65
+ }), K = () => {
66
+ B.value > 0 && (B.value--, z("change", B.value, G.value));
67
+ }, q = () => {
68
+ B.value < W.value.length - 1 && (B.value++, z("change", B.value, G.value));
69
+ }, J = () => {
70
+ z("close", "HdSuggestion");
71
+ }, Y = (e) => e ? e.data === void 0 ? e.result === void 0 ? e : e.result : e.data?.result?.output === void 0 ? e.data?.result === void 0 ? e.data : e.data.result : e.data.result.output : null, X = () => {
72
+ let e = R.mockData || {};
73
+ V.value = {
74
+ title: e.title || "",
75
+ dataTime: e.dataTime || "",
76
+ list: e.list || []
77
+ };
78
+ }, Z = async () => {
79
+ let e = R.ids.data;
80
+ if (!e?.id) {
81
+ console.warn("HdSuggestion 缺少数据工作流配置");
82
+ return;
83
+ }
84
+ try {
85
+ let n = Y(await t({
86
+ id: e.id,
87
+ baseHttp: R.baseHttp,
88
+ reqType: e.reqType,
89
+ variables: {},
90
+ isFormData: e.isFormData,
91
+ appKey: R.appKey,
92
+ appSalt: R.appSalt
93
+ }));
94
+ n && (V.value = {
95
+ title: n.title || "",
96
+ dataTime: n.dataTime || "",
97
+ list: n.list || []
98
+ });
99
+ } catch (e) {
100
+ console.error("HdSuggestion 数据加载失败", e);
101
+ }
102
+ }, Q = async () => {
103
+ R.mock ? X() : await Z(), B.value = 0;
104
+ };
105
+ return d(() => {
106
+ L?.on("toComponent", (e) => {
107
+ e.componentName === "HdSuggestion" && Q();
108
+ }), Q();
109
+ }), (t, i) => {
110
+ let l = n;
111
+ return f(), o("div", y, [
112
+ e.showClose ? (f(), o("button", {
113
+ key: 0,
114
+ class: "HdSuggestion-close",
115
+ onClick: J
116
+ }, [...i[0] ||= [s("span", null, "✕", -1)]])) : a("", !0),
117
+ s("div", b, [s("div", x, [s("h3", S, m(H.value), 1), U.value ? (f(), o("span", C, "(数据时间:" + m(U.value) + ")", 1)) : a("", !0)]), i[1] ||= s("img", {
118
+ class: "HdSuggestion-headerLine",
119
+ 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",
120
+ alt: ""
121
+ }, null, -1)]),
122
+ s("div", w, [W.value.length > 0 ? (f(), o(r, { key: 0 }, [
123
+ s("button", {
124
+ class: "HdSuggestion-arrow HdSuggestion-arrow--left",
125
+ disabled: B.value === 0,
126
+ onClick: K
127
+ }, [c(l, null, {
128
+ default: g(() => [c(h(_))]),
129
+ _: 1
130
+ })], 8, T),
131
+ s("div", E, [s("div", D, [G.value.image ? (f(), o("img", {
132
+ key: 0,
133
+ class: "HdSuggestion-image",
134
+ src: G.value.image,
135
+ alt: ""
136
+ }, null, 8, O)) : (f(), o("div", k, "暂无图片"))]), s("div", A, [s("h4", j, m(G.value.title), 1), s("p", M, m(G.value.content), 1)])]),
137
+ s("button", {
138
+ class: "HdSuggestion-arrow HdSuggestion-arrow--right",
139
+ disabled: B.value === W.value.length - 1,
140
+ onClick: q
141
+ }, [c(l, null, {
142
+ default: g(() => [c(h(v))]),
143
+ _: 1
144
+ })], 8, N)
145
+ ], 64)) : (f(), o("div", P, [
146
+ s("button", F, [c(l, null, {
147
+ default: g(() => [c(h(_))]),
148
+ _: 1
149
+ })]),
150
+ i[2] ||= s("span", { class: "HdSuggestion-emptyText" }, "暂无农事建议", -1),
151
+ s("button", I, [c(l, null, {
152
+ default: g(() => [c(h(v))]),
153
+ _: 1
154
+ })])
155
+ ]))])
156
+ ]);
157
+ };
158
+ }
159
+ }), [["__scopeId", "data-v-1ecefa59"]]);
160
+ //#endregion
161
+ export { L as t };