nxd-plugin 1.7.97 → 1.7.98

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 (118) hide show
  1. package/dist/chunks/{component-AiChat-CMbG8e28.mjs → component-AiChat-B2YoRfzz.mjs} +1 -1
  2. package/dist/chunks/{component-AqiMonitor-CVb99opd.mjs → component-AqiMonitor-DWhSDKFM.mjs} +1 -1
  3. package/dist/chunks/{component-ChartCumulativePre-DbbqXqZE.mjs → component-ChartCumulativePre-CYVahvTN.mjs} +2 -2
  4. package/dist/chunks/{component-ChartServiceMaterial-hU5a_G6w.mjs → component-ChartServiceMaterial-CbiB7503.mjs} +2 -2
  5. package/dist/chunks/{component-Duty-BCW6ohuO.mjs → component-Duty-CxH58EY9.mjs} +2 -2
  6. package/dist/chunks/{component-EarlyWarningStatistic-DSp82HGZ.mjs → component-EarlyWarningStatistic-BsgcJent.mjs} +2 -2
  7. package/dist/chunks/{component-EarlyWarningStatistic2-DmHCmtaq.mjs → component-EarlyWarningStatistic2-CEnr2SX2.mjs} +2 -2
  8. package/dist/chunks/component-Forecast72h-6g0PcT0B.mjs +539 -0
  9. package/dist/chunks/{component-GeologyLiveAlarm-0P99V7KX.mjs → component-GeologyLiveAlarm-CzEt43gy.mjs} +2 -2
  10. package/dist/chunks/{component-HDSeaLegend-BSGtGcnh.mjs → component-HDSeaLegend-B2xekirw.mjs} +1 -1
  11. package/dist/chunks/component-HdCameraList-CEOhupnQ.mjs +393 -0
  12. package/dist/chunks/{component-HdForecastProducts-_2ttNo-z.mjs → component-HdForecastProducts-DaeNeMiI.mjs} +2 -2
  13. package/dist/chunks/component-HdHeatChart-DiG-hplN.mjs +372 -0
  14. package/dist/chunks/component-HdHeatChartDialog-C1tPPcVw.mjs +590 -0
  15. package/dist/chunks/component-HdHeatService-D4WfN9td.mjs +482 -0
  16. package/dist/chunks/component-HdInsectDetailList-BiVgf4Nc.mjs +266 -0
  17. package/dist/chunks/component-HdInsectList-CToVsJiF.mjs +328 -0
  18. package/dist/chunks/{component-HdObservation-DV1mfQsB.mjs → component-HdObservation-BV5jDCZt.mjs} +44 -45
  19. package/dist/chunks/{component-HdPreSituation-DY6gsT_y.mjs → component-HdPreSituation-DY4j43V7.mjs} +6 -6
  20. package/dist/chunks/component-HdQxServiceEffects-DM-KlAru.mjs +262 -0
  21. package/dist/chunks/{component-HdRadarList-BQ1MH8GG.mjs → component-HdRadarList-BdXRt42m.mjs} +3 -3
  22. package/dist/chunks/{component-HdRadarTime-D7ySMzpg.mjs → component-HdRadarTime-OAbsHPlS.mjs} +2 -2
  23. package/dist/chunks/component-HdRisk-CEMlJ4At.mjs +236 -0
  24. package/dist/chunks/component-HdSeaCase-CeZO7ZaP.mjs +341 -0
  25. package/dist/chunks/{component-HdServiceMarterial-BgIt-ELd.mjs → component-HdServiceMarterial-nCfTCfyI.mjs} +77 -77
  26. package/dist/chunks/{component-HdServiceRequirements-B83V-lQN.mjs → component-HdServiceRequirements-BJcVMUuk.mjs} +44 -44
  27. package/dist/chunks/component-HdSoil-tr6IWswf.mjs +350 -0
  28. package/dist/chunks/component-HdSoilDetailList-DG-TzCl0.mjs +402 -0
  29. package/dist/chunks/{component-HdStationTem-DdMSzVEC.mjs → component-HdStationTem-DrPBR7fV.mjs} +77 -78
  30. package/dist/chunks/{component-HdSuggestion-CrvAGw81.mjs → component-HdSuggestion-DQO0InyO.mjs} +3 -3
  31. package/dist/chunks/component-HdThreeWeatherTrend-CElSAKJs.mjs +333 -0
  32. package/dist/chunks/component-HdWaveForcast-D3Hm8Dg3.mjs +241 -0
  33. package/dist/chunks/{component-HighQuality-Bsqgp8R-.mjs → component-HighQuality-sN-CJX4X.mjs} +4 -4
  34. package/dist/chunks/{component-HighWayEarlyWarningRed-D0uKUK3B.mjs → component-HighWayEarlyWarningRed-D5iSGN5l.mjs} +2 -2
  35. package/dist/chunks/{component-HighWayFreeze-sGJddgnr.mjs → component-HighWayFreeze-B9v5Z9Yd.mjs} +2 -2
  36. package/dist/chunks/{component-HighwayLiveAlarm-Wm2rCVBb.mjs → component-HighwayLiveAlarm-DjcOZUJv.mjs} +2 -2
  37. package/dist/chunks/{component-HighwayLiveAlarmNew-YjS0FM1d.mjs → component-HighwayLiveAlarmNew-C35RKvL1.mjs} +3 -3
  38. package/dist/chunks/{component-HighwayStations-DRfDmHmK.mjs → component-HighwayStations-U_rU4hJi.mjs} +2 -2
  39. package/dist/chunks/{component-HighwayWeatherForecast-Cp50--Dj.mjs → component-HighwayWeatherForecast-BD547juJ.mjs} +4 -4
  40. package/dist/chunks/{component-IframeWeb-HpaTePnW.mjs → component-IframeWeb-DMn6K9zk.mjs} +1 -1
  41. package/dist/chunks/{component-ImageGeneration-zj2WbvzB.mjs → component-ImageGeneration-BFSnXOdZ.mjs} +2 -2
  42. package/dist/chunks/{component-IntroducePic-BxDMkIyJ.mjs → component-IntroducePic-BmvED_mB.mjs} +2 -2
  43. package/dist/chunks/{component-LithiumBatteryMiningArea-BC05EqiO.mjs → component-LithiumBatteryMiningArea-BM_8uVPy.mjs} +2 -2
  44. package/dist/chunks/{component-MapPopup-DYsV0ICP.mjs → component-MapPopup-CRQjbIZT.mjs} +1 -1
  45. package/dist/chunks/{component-MaterialPreview-DJhj0Gh9.mjs → component-MaterialPreview-Dmg4LG8h.mjs} +2 -2
  46. package/dist/chunks/{component-PieLegend-BsDM9oA_.mjs → component-PieLegend-B90e9FMW.mjs} +1 -1
  47. package/dist/chunks/{component-PrecipitationRanking-B7gEEuCe.mjs → component-PrecipitationRanking-1knx18YC.mjs} +4 -4
  48. package/dist/chunks/{component-RadarChart-V_2K97Yw.mjs → component-RadarChart-DrQnSK2_.mjs} +2 -2
  49. package/dist/chunks/{component-RadarLegend-DwjhHZ-N.mjs → component-RadarLegend-UaQXwEdl.mjs} +1 -1
  50. package/dist/chunks/{component-RadarShortTerm-aF13_Zcy.mjs → component-RadarShortTerm-B6DiXwjj.mjs} +4 -4
  51. package/dist/chunks/{component-RadarTime-ZN7o47Mu.mjs → component-RadarTime-CrWj-oVD.mjs} +2 -2
  52. package/dist/chunks/{component-RenderMarkdown-BX-kHqL2.mjs → component-RenderMarkdown-CSoLEsFv.mjs} +2 -2
  53. package/dist/chunks/{component-ReservoirLiveAlarm-WVVwwKYZ.mjs → component-ReservoirLiveAlarm-CJUDC3QW.mjs} +3 -3
  54. package/dist/chunks/{component-ServiceMaterial-9imbipjj.mjs → component-ServiceMaterial-DR7imvMZ.mjs} +2 -2
  55. package/dist/chunks/{component-ServiceMaterialsBtn-693xq1p7.mjs → component-ServiceMaterialsBtn-BWxBKKWn.mjs} +1 -1
  56. package/dist/chunks/{component-StationDialog-C859f8A-.mjs → component-StationDialog-2KObsuJ8.mjs} +4 -4
  57. package/dist/chunks/{component-StationList-BQHnyqox.mjs → component-StationList-BszBJ914.mjs} +5 -5
  58. package/dist/chunks/{component-TimeBasedForecast-DH-OHwXc.mjs → component-TimeBasedForecast-B2ewC_QX.mjs} +4 -4
  59. package/dist/chunks/{component-Typhoon-C6jT8EFX.mjs → component-Typhoon-BQQCoEbU.mjs} +2 -2
  60. package/dist/chunks/{component-WarningLine-D3aVWmUZ.mjs → component-WarningLine-9Y5OJRig.mjs} +2 -2
  61. package/dist/chunks/{component-WarningSignal-CEe242B5.mjs → component-WarningSignal-uXiAUGTl.mjs} +3 -3
  62. package/dist/chunks/{component-WeatherForecast-BfqfB6UO.mjs → component-WeatherForecast-BIeLjzMw.mjs} +4 -4
  63. package/dist/chunks/{component-YCDataMonitor-DROgvkZ-.mjs → component-YCDataMonitor-D8jFTVaA.mjs} +2 -2
  64. package/dist/chunks/{component-YCDataService-BM5kQwax.mjs → component-YCDataService--R26h5UL.mjs} +4 -4
  65. package/dist/chunks/{component-YCHighWaySummary-Bh0IXiDd.mjs → component-YCHighWaySummary-CeYp4g4j.mjs} +2 -2
  66. package/dist/chunks/{component-YCHome-DwYK1Re4.mjs → component-YCHome-DQSDzxCG.mjs} +4 -4
  67. package/dist/chunks/{component-YCHomeLegend-BadxwkzL.mjs → component-YCHomeLegend-DiFftuY3.mjs} +1 -1
  68. package/dist/chunks/{component-YCLoginNew-D5u2lDWS.mjs → component-YCLoginNew-CFJSyKfV.mjs} +3 -3
  69. package/dist/components/Forecast72h/Forecast72h.vue.d.ts +2 -23
  70. package/dist/components/HdCameraList/HdCameraList.vue.d.ts +6 -0
  71. package/dist/components/HdHeatChart/HdHeatChart.vue.d.ts +44 -0
  72. package/dist/components/HdHeatChart/mockData.d.ts +12 -0
  73. package/dist/components/HdHeatChartDialog/HdHeatChartDialog.vue.d.ts +52 -0
  74. package/dist/components/HdHeatChartDialog/mockData.d.ts +23 -0
  75. package/dist/components/HdHeatService/HdHeatService.vue.d.ts +8 -20
  76. package/dist/components/HdInsectDetailList/HdInsectDetailList.vue.d.ts +22 -0
  77. package/dist/components/HdInsectList/HdInsectList.vue.d.ts +57 -0
  78. package/dist/components/HdRisk/HdRisk.vue.d.ts +61 -0
  79. package/dist/components/HdSeaCase/HdSeaCase.vue.d.ts +7 -4
  80. package/dist/components/HdSoil/HdSoil.vue.d.ts +55 -0
  81. package/dist/components/HdSoilDetailList/HdSoilDetailList.vue.d.ts +30 -0
  82. package/dist/components/HdThreeWeatherTrend/HdThreeWeatherTrend.vue.d.ts +2 -20
  83. package/dist/components/HdWaveForcast/HdWaveForcast.vue.d.ts +4 -20
  84. package/dist/index.d.ts +8 -1
  85. package/dist/nxd-plugin.mjs +69 -61
  86. package/dist/styles/component-Forecast72h.css +1 -1
  87. package/dist/styles/component-HDSeaLegend.css +1 -1
  88. package/dist/styles/component-HdCameraList.css +1 -1
  89. package/dist/styles/component-HdForecastProducts.css +1 -1
  90. package/dist/styles/component-HdHeatChart.css +1 -0
  91. package/dist/styles/component-HdHeatChartDialog.css +1 -0
  92. package/dist/styles/component-HdHeatService.css +1 -1
  93. package/dist/styles/component-HdInsectDetailList.css +1 -0
  94. package/dist/styles/component-HdInsectList.css +1 -0
  95. package/dist/styles/component-HdObservation.css +1 -1
  96. package/dist/styles/component-HdPreSituation.css +1 -1
  97. package/dist/styles/component-HdQxServiceEffects.css +1 -0
  98. package/dist/styles/component-HdRadarList.css +1 -1
  99. package/dist/styles/component-HdRisk.css +1 -0
  100. package/dist/styles/component-HdSeaCase.css +1 -1
  101. package/dist/styles/component-HdServiceMarterial.css +1 -1
  102. package/dist/styles/component-HdServiceRequirements.css +1 -1
  103. package/dist/styles/component-HdSoil.css +1 -0
  104. package/dist/styles/component-HdSoilDetailList.css +1 -0
  105. package/dist/styles/component-HdStationTem.css +1 -1
  106. package/dist/styles/component-HdSuggestion.css +1 -1
  107. package/dist/styles/component-HdThreeWeatherTrend.css +1 -1
  108. package/dist/styles/component-HdWaveForcast.css +1 -1
  109. package/dist/styles/component-HighQuality.css +1 -1
  110. package/dist/styles/component-StationList.css +1 -1
  111. package/dist/styles/component-YCLoginNew.css +1 -1
  112. package/package.json +1 -1
  113. package/dist/chunks/component-Forecast72h-hi7bHW_J.mjs +0 -543
  114. package/dist/chunks/component-HdCameraList-Cz1OYJEN.mjs +0 -332
  115. package/dist/chunks/component-HdHeatService-BKK-w3Xc.mjs +0 -412
  116. package/dist/chunks/component-HdSeaCase-wnGV704s.mjs +0 -219
  117. package/dist/chunks/component-HdThreeWeatherTrend-Deliswz6.mjs +0 -394
  118. package/dist/chunks/component-HdWaveForcast-CL4Ghg7T.mjs +0 -271
@@ -1,6 +1,6 @@
1
- import { n as e } from "./component-AqiMonitor-CVb99opd.mjs";
2
- import { r as t } from "./component-AiChat-CMbG8e28.mjs";
3
- import "./component-Forecast72h-hi7bHW_J.mjs";
1
+ import { n as e } from "./component-AqiMonitor-DWhSDKFM.mjs";
2
+ import { r as t } from "./component-AiChat-B2YoRfzz.mjs";
3
+ import "./component-Forecast72h-6g0PcT0B.mjs";
4
4
  import { ElIcon as n, ElInput as r, ElLoadingDirective as i, ElOption as a, ElSelect as o, ElTable as s, ElTableColumn as ee } from "element-plus/es";
5
5
  import { Fragment as c, Teleport as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as h, defineComponent as g, getCurrentInstance 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, withKeys as E, withModifiers as te } from "vue";
6
6
  import { Search as ne } from "@element-plus/icons-vue";
@@ -18,7 +18,7 @@ var re = {
18
18
  }, ie = { class: "HdServiceMarterial-header" }, ae = { class: "HdServiceMarterial-headerContent" }, oe = { class: "HdServiceMarterial-title" }, se = {
19
19
  key: 0,
20
20
  class: "HdServiceMarterial-dataTime"
21
- }, ce = { class: "HdServiceMarterial-toolbar" }, le = { class: "HdServiceMarterial-tableWrap" }, ue = { class: "HdServiceMarterial-name" }, de = { class: "HdServiceMarterial-actions" }, fe = ["onClick"], D = ["onClick"], pe = { class: "HdServiceMarterial-preview" }, O = { class: "HdServiceMarterial-previewHead" }, k = { class: "HdServiceMarterial-previewHeadTitle" }, A = { class: "HdServiceMarterial-previewBody" }, j = ["src"], M = /* @__PURE__ */ e(/* @__PURE__ */ g({
21
+ }, ce = { class: "HdServiceMarterial-toolbar" }, le = { class: "HdServiceMarterial-tableWrap" }, ue = { class: "HdServiceMarterial-name" }, de = { class: "HdServiceMarterial-actions" }, fe = ["onClick"], D = ["onClick"], pe = { class: "HdServiceMarterial-preview" }, me = { class: "HdServiceMarterial-previewHead" }, O = { class: "HdServiceMarterial-previewHeadTitle" }, k = { class: "HdServiceMarterial-previewBody" }, A = ["src"], j = /* @__PURE__ */ e(/* @__PURE__ */ g({
22
22
  __name: "HdServiceMarterial",
23
23
  props: {
24
24
  baseHttp: { default: "" },
@@ -31,112 +31,112 @@ var re = {
31
31
  },
32
32
  emits: ["close", "change"],
33
33
  setup(e, { emit: g }) {
34
- let M = _()?.appContext.config.globalProperties.$bus, N = e, P = g, F = b([]), I = b(!1), L = (/* @__PURE__ */ new Date()).getFullYear(), R = Array.from({ length: 20 }, (e, t) => L - t), z = b(""), B = b(L), V = b(""), H = b([]), U = b(!1), W = b(""), G = b([]), K = b({
34
+ let j = _()?.appContext.config.globalProperties.$bus, M = e, N = g, P = b([]), F = b(!1), I = (/* @__PURE__ */ new Date()).getFullYear(), L = Array.from({ length: 20 }, (e, t) => I - t), R = b(""), z = b(I), B = b(""), V = b([]), H = b(!1), U = b(""), W = b([]), G = b({
35
35
  title: "",
36
36
  dataTime: ""
37
- }), me = u(() => N.title || K.value.title || "服务材料"), q = u(() => N.dataTime || K.value.dataTime || ""), J = () => {
38
- $();
39
- }, Y = () => {
40
- $();
41
- }, he = (e) => /^https?:\/\//i.test(e), X = (e) => {
37
+ }), he = u(() => M.title || G.value.title || "服务材料"), K = u(() => M.dataTime || G.value.dataTime || ""), q = () => {
38
+ Q();
39
+ }, J = () => {
40
+ Q();
41
+ }, ge = (e) => /^https?:\/\//i.test(e), Y = (e) => {
42
42
  if (!e) return "";
43
- if (he(e)) return e;
44
- let t = N.imgBaseUrl || "";
43
+ if (ge(e)) return e;
44
+ let t = M.imgBaseUrl || "";
45
45
  return `${t}${t && !t.endsWith("/") && !e.startsWith("/") ? "/" : ""}${e}`;
46
- }, ge = (e) => e.http_png ? (Array.isArray(e.http_png) ? e.http_png : String(e.http_png).split(",")).map((e) => e.trim()).filter(Boolean).map(X) : [], _e = (e) => {
47
- W.value = e.title, G.value = ge(e), U.value = !0;
48
- }, Z = () => {
49
- U.value = !1, G.value = [], W.value = "";
50
- }, ve = (e) => {
51
- let t = X(e.http_url || e.downloadUrl || e.url);
46
+ }, _e = (e) => e.http_png ? (Array.isArray(e.http_png) ? e.http_png : String(e.http_png).split(",")).map((e) => e.trim()).filter(Boolean).map(Y) : [], ve = (e) => {
47
+ U.value = e.title, W.value = _e(e), H.value = !0;
48
+ }, X = () => {
49
+ H.value = !1, W.value = [], U.value = "";
50
+ }, ye = (e) => {
51
+ let t = Y(e.http_url || e.downloadUrl || e.url);
52
52
  t ? window.open(t, "_blank") : console.warn("HdServiceMarterial 缺少下载地址", e);
53
- }, ye = () => {
54
- P("close", "HdServiceMarterial");
55
- }, Q = (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, $ = async () => {
56
- I.value = !0;
57
- let e = N.ids.data;
53
+ }, be = () => {
54
+ N("close", "HdServiceMarterial");
55
+ }, Z = (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, Q = async () => {
56
+ F.value = !0;
57
+ let e = M.ids.data;
58
58
  if (!e?.id) {
59
- console.warn("HdServiceMarterial 缺少搜索工作流配置"), I.value = !1;
59
+ console.warn("HdServiceMarterial 缺少搜索工作流配置"), F.value = !1;
60
60
  return;
61
61
  }
62
62
  let n = "";
63
- F.value.length && (n = F.value.find((e) => e.id === V.value)?.category_name || "");
63
+ P.value.length && (n = P.value.find((e) => e.id === B.value)?.category_name || "");
64
64
  try {
65
- let r = Q(await t({
65
+ let r = Z(await t({
66
66
  id: e.id,
67
- baseHttp: N.baseHttp,
67
+ baseHttp: M.baseHttp,
68
68
  reqType: e.reqType,
69
69
  variables: {
70
- title: z.value,
71
- year: B.value,
70
+ title: R.value,
71
+ year: z.value,
72
72
  materialType: n
73
73
  },
74
74
  isFormData: e.isFormData,
75
- appKey: N.appKey,
76
- appSalt: N.appSalt
75
+ appKey: M.appKey,
76
+ appSalt: M.appSalt
77
77
  }));
78
- r && (H.value = r || []);
78
+ r && (V.value = r || []);
79
79
  } catch (e) {
80
80
  console.error("HdServiceMarterial 搜索失败", e);
81
81
  } finally {
82
- I.value = !1;
82
+ F.value = !1;
83
83
  }
84
- }, be = async () => {
85
- await $();
86
84
  }, xe = async () => {
87
- await Se(), await be();
85
+ await Q();
86
+ }, $ = async () => {
87
+ await Se(), await xe();
88
88
  }, Se = async () => {
89
- I.value = !0;
90
- let e = N.ids.type;
89
+ F.value = !0;
90
+ let e = M.ids.type;
91
91
  if (!e?.id) {
92
- console.warn("HdServiceMarterial 缺少搜索工作流配置"), I.value = !1;
92
+ console.warn("HdServiceMarterial 缺少搜索工作流配置"), F.value = !1;
93
93
  return;
94
94
  }
95
95
  try {
96
- let n = Q(await t({
96
+ let n = Z(await t({
97
97
  id: e.id,
98
- baseHttp: N.baseHttp,
98
+ baseHttp: M.baseHttp,
99
99
  reqType: e.reqType,
100
100
  variables: {},
101
101
  isFormData: e.isFormData,
102
- appKey: N.appKey,
103
- appSalt: N.appSalt
102
+ appKey: M.appKey,
103
+ appSalt: M.appSalt
104
104
  }));
105
- console.log("HdServiceMarterial 加载服务材料类型成功", n), n && (F.value = n || [], console.log("HdServiceMarterial 服务材料类型列表", F.value), V.value = F.value[0]?.id || "");
105
+ console.log("HdServiceMarterial 加载服务材料类型成功", n), n && (P.value = n || [], console.log("HdServiceMarterial 服务材料类型列表", P.value), B.value = P.value[0]?.id || "");
106
106
  } catch (e) {
107
107
  console.error("HdServiceMarterial 加载服务材料类型失败", e);
108
108
  } finally {
109
- I.value = !1;
109
+ F.value = !1;
110
110
  }
111
111
  };
112
112
  return v(() => {
113
- M?.on("toComponent", (e) => {
114
- e.componentName === "HdServiceMarterial" && xe();
115
- });
113
+ j?.on("toComponent", (e) => {
114
+ e.componentName === "HdServiceMarterial" && $();
115
+ }), $();
116
116
  }), (e, t) => {
117
- let u = n, g = r, _ = a, v = o, b = ee, M = s, N = i;
117
+ let u = n, g = r, _ = a, v = o, b = ee, j = s, M = i;
118
118
  return T((y(), p("div", re, [
119
119
  m("button", {
120
120
  class: "HdServiceMarterial-close",
121
- onClick: ye
121
+ onClick: be
122
122
  }, [...t[3] ||= [m("span", null, "✕", -1)]]),
123
- m("div", ie, [m("div", ae, [m("h3", oe, S(me.value), 1), q.value ? (y(), p("span", se, "(数据时间:" + S(q.value) + ")", 1)) : f("", !0)]), t[4] ||= m("img", {
123
+ m("div", ie, [m("div", ae, [m("h3", oe, S(he.value), 1), K.value ? (y(), p("span", se, "(数据时间:" + S(K.value) + ")", 1)) : f("", !0)]), t[4] ||= m("img", {
124
124
  class: "HdServiceMarterial-headerLine",
125
125
  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",
126
126
  alt: ""
127
127
  }, null, -1)]),
128
128
  m("div", ce, [
129
129
  h(g, {
130
- modelValue: z.value,
131
- "onUpdate:modelValue": t[0] ||= (e) => z.value = e,
130
+ modelValue: R.value,
131
+ "onUpdate:modelValue": t[0] ||= (e) => R.value = e,
132
132
  class: "HdServiceMarterial-search",
133
133
  placeholder: "请输入材料名称",
134
134
  size: "small",
135
- onKeyup: E(J, ["enter"])
135
+ onKeyup: E(q, ["enter"])
136
136
  }, {
137
137
  suffix: w(() => [h(u, {
138
138
  class: "HdServiceMarterial-searchIcon",
139
- onClick: J
139
+ onClick: q
140
140
  }, {
141
141
  default: w(() => [h(C(ne))]),
142
142
  _: 1
@@ -144,16 +144,16 @@ var re = {
144
144
  _: 1
145
145
  }, 8, ["modelValue"]),
146
146
  h(v, {
147
- modelValue: B.value,
148
- "onUpdate:modelValue": t[1] ||= (e) => B.value = e,
147
+ modelValue: z.value,
148
+ "onUpdate:modelValue": t[1] ||= (e) => z.value = e,
149
149
  class: "HdServiceMarterial-year",
150
150
  "popper-class": "HdServiceMarterial-selectPopper",
151
151
  placeholder: "年份",
152
152
  size: "small",
153
153
  teleport: !1,
154
- onChange: Y
154
+ onChange: J
155
155
  }, {
156
- default: w(() => [(y(!0), p(c, null, x(C(R), (e) => (y(), d(_, {
156
+ default: w(() => [(y(!0), p(c, null, x(C(L), (e) => (y(), d(_, {
157
157
  key: e,
158
158
  label: `${e}年`,
159
159
  value: e
@@ -161,16 +161,16 @@ var re = {
161
161
  _: 1
162
162
  }, 8, ["modelValue"]),
163
163
  h(v, {
164
- modelValue: V.value,
165
- "onUpdate:modelValue": t[2] ||= (e) => V.value = e,
164
+ modelValue: B.value,
165
+ "onUpdate:modelValue": t[2] ||= (e) => B.value = e,
166
166
  class: "HdServiceMarterial-type",
167
167
  "popper-class": "HdServiceMarterial-selectPopper",
168
168
  placeholder: "服务类型",
169
169
  size: "small",
170
170
  teleport: !1,
171
- onChange: Y
171
+ onChange: J
172
172
  }, {
173
- default: w(() => [(y(!0), p(c, null, x(F.value, (e) => (y(), d(_, {
173
+ default: w(() => [(y(!0), p(c, null, x(P.value, (e) => (y(), d(_, {
174
174
  key: e.id,
175
175
  label: e.category_name,
176
176
  value: e.id
@@ -178,8 +178,8 @@ var re = {
178
178
  _: 1
179
179
  }, 8, ["modelValue"])
180
180
  ]),
181
- m("div", le, [h(M, {
182
- data: H.value,
181
+ m("div", le, [h(j, {
182
+ data: V.value,
183
183
  class: "HdServiceMarterial-table",
184
184
  height: "100%",
185
185
  size: "small",
@@ -210,36 +210,36 @@ var re = {
210
210
  }, {
211
211
  default: w(({ row: e }) => [m("div", de, [m("span", {
212
212
  class: "HdServiceMarterial-link HdServiceMarterial-previewLink",
213
- onClick: (t) => _e(e)
213
+ onClick: (t) => ve(e)
214
214
  }, "预览", 8, fe), m("span", {
215
215
  class: "HdServiceMarterial-link HdServiceMarterial-downloadLink",
216
- onClick: (t) => ve(e)
216
+ onClick: (t) => ye(e)
217
217
  }, "下载", 8, D)])]),
218
218
  _: 1
219
219
  })
220
220
  ]),
221
221
  _: 1
222
222
  }, 8, ["data"])]),
223
- (y(), d(l, { to: "body" }, [U.value ? (y(), p("div", {
223
+ (y(), d(l, { to: "body" }, [H.value ? (y(), p("div", {
224
224
  key: 0,
225
225
  class: "HdServiceMarterial-mask",
226
- onClick: te(Z, ["self"])
227
- }, [m("div", pe, [m("div", O, [
226
+ onClick: te(X, ["self"])
227
+ }, [m("div", pe, [m("div", me, [
228
228
  t[6] ||= m("i", { class: "HdServiceMarterial-previewHeadBar" }, null, -1),
229
- m("span", k, S(W.value), 1),
229
+ m("span", O, S(U.value), 1),
230
230
  m("button", {
231
231
  class: "HdServiceMarterial-previewClose",
232
- onClick: Z
232
+ onClick: X
233
233
  }, [...t[5] ||= [m("span", null, "✕", -1)]])
234
- ]), m("div", A, [(y(!0), p(c, null, x(G.value, (e, t) => (y(), p("img", {
234
+ ]), m("div", k, [(y(!0), p(c, null, x(W.value, (e, t) => (y(), p("img", {
235
235
  key: t,
236
236
  class: "HdServiceMarterial-previewImage",
237
237
  src: e,
238
238
  alt: ""
239
- }, null, 8, j))), 128))])])])) : f("", !0)]))
240
- ])), [[N, I.value]]);
239
+ }, null, 8, A))), 128))])])])) : f("", !0)]))
240
+ ])), [[M, F.value]]);
241
241
  };
242
242
  }
243
- }), [["__scopeId", "data-v-623c9d1e"]]);
243
+ }), [["__scopeId", "data-v-8ff5c020"]]);
244
244
  //#endregion
245
- export { M as t };
245
+ export { j as t };
@@ -1,15 +1,15 @@
1
- import { n as e } from "./component-AqiMonitor-CVb99opd.mjs";
2
- import { r as t } from "./component-AiChat-CMbG8e28.mjs";
3
- import "./component-Forecast72h-hi7bHW_J.mjs";
1
+ import { n as e } from "./component-AqiMonitor-DWhSDKFM.mjs";
2
+ import { r as t } from "./component-AiChat-B2YoRfzz.mjs";
3
+ import "./component-Forecast72h-6g0PcT0B.mjs";
4
4
  import { Fragment as n, Teleport as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, defineComponent as l, getCurrentInstance as u, onMounted as d, openBlock as f, ref as p, renderList as m, toDisplayString as h, withModifiers as g } from "vue";
5
5
  //#region src/components/HdServiceRequirements/HdServiceRequirements.vue?vue&type=script&setup=true&lang.ts
6
- var _ = { class: "HdServiceRequirements" }, v = { class: "HdServiceRequirements-header" }, ee = { class: "HdServiceRequirements-headerContent" }, y = { class: "HdServiceRequirements-title" }, b = {
6
+ var _ = { class: "HdServiceRequirements" }, v = { class: "HdServiceRequirements-header" }, y = { class: "HdServiceRequirements-headerContent" }, b = { class: "HdServiceRequirements-title" }, x = {
7
7
  key: 0,
8
8
  class: "HdServiceRequirements-dataTime"
9
- }, x = { class: "HdServiceRequirements-body" }, S = {
9
+ }, S = { class: "HdServiceRequirements-body" }, C = {
10
10
  key: 0,
11
11
  class: "HdServiceRequirements-mask"
12
- }, C = { class: "HdServiceRequirements-popup" }, te = { class: "HdServiceRequirements-popupHead" }, w = { class: "HdServiceRequirements-popupHeadTitle" }, T = { class: "HdServiceRequirements-popupBody" }, E = { class: "HdServiceRequirements-itemMain" }, D = { class: "HdServiceRequirements-itemTitle" }, O = { class: "HdServiceRequirements-itemContent" }, k = { class: "HdServiceRequirements-itemText" }, A = {
12
+ }, w = { class: "HdServiceRequirements-popup" }, ee = { class: "HdServiceRequirements-popupHead" }, te = { class: "HdServiceRequirements-popupHeadTitle" }, T = { class: "HdServiceRequirements-popupBody" }, E = { class: "HdServiceRequirements-itemMain" }, D = { class: "HdServiceRequirements-itemTitle" }, O = { class: "HdServiceRequirements-itemContent" }, k = { class: "HdServiceRequirements-itemText" }, A = {
13
13
  key: 0,
14
14
  class: "HdServiceRequirements-imageMask"
15
15
  }, j = { class: "HdServiceRequirements-imageMain" }, M = ["src"], N = {
@@ -70,26 +70,26 @@ var _ = { class: "HdServiceRequirements" }, v = { class: "HdServiceRequirements-
70
70
  dataTime: "",
71
71
  serviceType: "",
72
72
  list: []
73
- }), V = i(() => F.title || B.value.title || F.serviceType), H = i(() => F.dataTime || B.value.dataTime || ""), U = i(() => (F.serviceType || B.value.serviceType || "") + "服务需求"), W = i(() => [...F.list.length ? F.list : B.value.list].sort((e, t) => (e.sort ?? 0) - (t.sort ?? 0))), G = i(() => {
73
+ }), ne = i(() => F.title || B.value.title || F.serviceType), V = i(() => F.dataTime || B.value.dataTime || ""), H = i(() => (F.serviceType || B.value.serviceType || "") + "服务需求"), U = i(() => [...F.list.length ? F.list : B.value.list].sort((e, t) => (e.sort ?? 0) - (t.sort ?? 0))), W = i(() => {
74
74
  let e = [];
75
- return W.value.forEach((t) => {
75
+ return U.value.forEach((t) => {
76
76
  t.imgs && t.imgs.length && e.push(...t.imgs);
77
77
  }), e;
78
- }), K = i(() => G.value[z.value] || ""), q = () => {
78
+ }), G = i(() => W.value[z.value] || ""), K = () => {
79
79
  L.value = !0;
80
- }, J = () => {
80
+ }, q = () => {
81
81
  L.value = !1;
82
- }, Y = () => {
82
+ }, J = () => {
83
83
  z.value = 0, R.value = !0;
84
- }, X = () => {
84
+ }, Y = () => {
85
85
  R.value = !1;
86
+ }, X = () => {
87
+ W.value.length && (z.value = (z.value - 1 + W.value.length) % W.value.length);
86
88
  }, Z = () => {
87
- G.value.length && (z.value = (z.value - 1 + G.value.length) % G.value.length);
88
- }, Q = () => {
89
- G.value.length && (z.value = (z.value + 1) % G.value.length);
90
- }, ne = () => {
89
+ W.value.length && (z.value = (z.value + 1) % W.value.length);
90
+ }, re = () => {
91
91
  I("close", "HdServiceRequirements");
92
- }, re = (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, ie = () => {
92
+ }, ie = (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, ae = () => {
93
93
  let e = F.mockData || {};
94
94
  B.value = {
95
95
  title: e.title || "",
@@ -97,14 +97,14 @@ var _ = { class: "HdServiceRequirements" }, v = { class: "HdServiceRequirements-
97
97
  serviceType: e.serviceType || "",
98
98
  list: e.list || []
99
99
  };
100
- }, ae = async () => {
100
+ }, oe = async () => {
101
101
  let e = F.ids.data;
102
102
  if (!e?.id) {
103
103
  console.warn("HdServiceRequirements 缺少数据工作流配置");
104
104
  return;
105
105
  }
106
106
  try {
107
- let n = re(await t({
107
+ let n = ie(await t({
108
108
  id: e.id,
109
109
  baseHttp: F.baseHttp,
110
110
  reqType: e.reqType,
@@ -122,7 +122,7 @@ var _ = { class: "HdServiceRequirements" }, v = { class: "HdServiceRequirements-
122
122
  list: e.map((e) => ({
123
123
  title: e.service_title || e.title || "",
124
124
  content: e.service_content || e.content || "",
125
- imgs: oe(e.file_url || e.imgs || ""),
125
+ imgs: se(e.file_url || e.imgs || ""),
126
126
  sort: Number(e.sort) || 0
127
127
  }))
128
128
  };
@@ -130,46 +130,46 @@ var _ = { class: "HdServiceRequirements" }, v = { class: "HdServiceRequirements-
130
130
  } catch (e) {
131
131
  console.error("HdServiceRequirements 数据加载失败", e);
132
132
  }
133
- }, oe = (e) => Array.isArray(e) ? e.map((e) => $(String(e))).filter(Boolean) : !e || typeof e != "string" ? [] : e.split(",").map((e) => e.trim()).filter((e) => e).map((e) => $(e)).filter(Boolean), $ = (e) => {
133
+ }, se = (e) => Array.isArray(e) ? e.map((e) => Q(String(e))).filter(Boolean) : !e || typeof e != "string" ? [] : e.split(",").map((e) => e.trim()).filter((e) => e).map((e) => Q(e)).filter(Boolean), Q = (e) => {
134
134
  if (!e) return "";
135
135
  if (/^https?:\/\//i.test(e) || e.startsWith("data:")) return e;
136
136
  let t = F.imgBaseUrl || "";
137
137
  return `${t}${t && !t.endsWith("/") && !e.startsWith("/") ? "/" : ""}${e}`;
138
- }, se = async () => {
139
- F.mock ? ie() : await ae();
138
+ }, $ = async () => {
139
+ F.mock ? ae() : await oe();
140
140
  };
141
141
  return d(() => {
142
142
  P?.on("toComponent", (e) => {
143
- e.componentName === "HdServiceRequirements" && se();
144
- });
143
+ e.componentName === "HdServiceRequirements" && $();
144
+ }), $();
145
145
  }), (t, i) => (f(), s("div", _, [
146
146
  e.showClose ? (f(), s("button", {
147
147
  key: 0,
148
148
  class: "HdServiceRequirements-close",
149
- onClick: ne
149
+ onClick: re
150
150
  }, [...i[1] ||= [c("span", null, "✕", -1)]])) : o("", !0),
151
- c("div", v, [c("div", ee, [c("h3", y, h(V.value), 1), H.value ? (f(), s("span", b, "(数据时间:" + h(H.value) + ")", 1)) : o("", !0)]), i[2] ||= c("img", {
151
+ c("div", v, [c("div", y, [c("h3", b, h(ne.value), 1), V.value ? (f(), s("span", x, "(数据时间:" + h(V.value) + ")", 1)) : o("", !0)]), i[2] ||= c("img", {
152
152
  class: "HdServiceRequirements-headerLine",
153
153
  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",
154
154
  alt: ""
155
155
  }, null, -1)]),
156
- c("div", x, [c("button", {
156
+ c("div", S, [c("button", {
157
157
  class: "HdServiceRequirements-btn",
158
- onClick: g(q, ["stop"])
158
+ onClick: g(K, ["stop"])
159
159
  }, [...i[3] ||= [c("span", null, "服务需求", -1)]])]),
160
- (f(), a(r, { to: "body" }, [L.value ? (f(), s("div", S, [c("div", C, [c("div", te, [
160
+ (f(), a(r, { to: "body" }, [L.value ? (f(), s("div", C, [c("div", w, [c("div", ee, [
161
161
  i[6] ||= c("i", { class: "HdServiceRequirements-popupHeadBar" }, null, -1),
162
- c("span", w, h(U.value), 1),
163
- G.value.length ? (f(), s("button", {
162
+ c("span", te, h(H.value), 1),
163
+ W.value.length ? (f(), s("button", {
164
164
  key: 0,
165
165
  class: "HdServiceRequirements-previewBtn",
166
- onClick: Y
166
+ onClick: J
167
167
  }, [...i[4] ||= [c("span", null, "预览图片", -1)]])) : o("", !0),
168
168
  c("button", {
169
169
  class: "HdServiceRequirements-popupClose",
170
- onClick: J
170
+ onClick: q
171
171
  }, [...i[5] ||= [c("span", null, "✕", -1)]])
172
- ]), c("div", T, [(f(!0), s(n, null, m(W.value, (e, t) => (f(), s("div", {
172
+ ]), c("div", T, [(f(!0), s(n, null, m(U.value, (e, t) => (f(), s("div", {
173
173
  key: t,
174
174
  class: "HdServiceRequirements-item"
175
175
  }, [i[7] ||= c("div", { class: "HdServiceRequirements-timeline" }, [c("div", { class: "HdServiceRequirements-timelineDot" }, [c("i")]), c("div", { class: "HdServiceRequirements-timelineLine" })], -1), c("div", E, [c("div", D, h(e.title), 1), c("div", O, [c("div", k, h(e.content), 1)])])]))), 128))])])])) : o("", !0)])),
@@ -179,12 +179,12 @@ var _ = { class: "HdServiceRequirements" }, v = { class: "HdServiceRequirements-
179
179
  }, [
180
180
  c("button", {
181
181
  class: "HdServiceRequirements-imageClose",
182
- onClick: X
182
+ onClick: Y
183
183
  }, [...i[8] ||= [c("span", null, "✕", -1)]]),
184
- G.value.length > 1 ? (f(), s("button", {
184
+ W.value.length > 1 ? (f(), s("button", {
185
185
  key: 0,
186
186
  class: "HdServiceRequirements-imageArrow HdServiceRequirements-imageArrow--prev",
187
- onClick: Z
187
+ onClick: X
188
188
  }, [...i[9] ||= [c("svg", {
189
189
  viewBox: "0 0 24 24",
190
190
  width: "24",
@@ -195,15 +195,15 @@ var _ = { class: "HdServiceRequirements" }, v = { class: "HdServiceRequirements-
195
195
  "stroke-linecap": "round",
196
196
  "stroke-linejoin": "round"
197
197
  }, [c("polyline", { points: "15 18 9 12 15 6" })], -1)]])) : o("", !0),
198
- c("div", j, [K.value ? (f(), s("img", {
198
+ c("div", j, [G.value ? (f(), s("img", {
199
199
  key: 0,
200
- src: K.value,
200
+ src: G.value,
201
201
  alt: "preview"
202
202
  }, null, 8, M)) : o("", !0)]),
203
- G.value.length > 1 ? (f(), s("button", {
203
+ W.value.length > 1 ? (f(), s("button", {
204
204
  key: 1,
205
205
  class: "HdServiceRequirements-imageArrow HdServiceRequirements-imageArrow--next",
206
- onClick: Q
206
+ onClick: Z
207
207
  }, [...i[10] ||= [c("svg", {
208
208
  viewBox: "0 0 24 24",
209
209
  width: "24",
@@ -214,10 +214,10 @@ var _ = { class: "HdServiceRequirements" }, v = { class: "HdServiceRequirements-
214
214
  "stroke-linecap": "round",
215
215
  "stroke-linejoin": "round"
216
216
  }, [c("polyline", { points: "9 18 15 12 9 6" })], -1)]])) : o("", !0),
217
- G.value.length > 1 ? (f(), s("div", N, h(z.value + 1) + " / " + h(G.value.length), 1)) : o("", !0)
217
+ W.value.length > 1 ? (f(), s("div", N, h(z.value + 1) + " / " + h(W.value.length), 1)) : o("", !0)
218
218
  ])])) : o("", !0)]))
219
219
  ]));
220
220
  }
221
- }), [["__scopeId", "data-v-1de066c1"]]);
221
+ }), [["__scopeId", "data-v-802c02dc"]]);
222
222
  //#endregion
223
223
  export { P as t };