nxd-plugin 1.8.30 → 1.8.32

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/YCServiceSummary-DV3m13Hv.mjs +2 -0
  2. package/dist/chunks/component-Agent-Cm4CMOGO.mjs +383 -0
  3. package/dist/chunks/{component-AiChat-COULZNRK.mjs → component-AiChat-HpEVNeXU.mjs} +1082 -1105
  4. package/dist/chunks/{component-AqiMonitor-C9khnF2x.mjs → component-AqiMonitor-CQB7tv42.mjs} +10 -9
  5. package/dist/chunks/{component-ChartCumulativePre-CmcRqyrN.mjs → component-ChartCumulativePre-UGMGIaSD.mjs} +8 -7
  6. package/dist/chunks/{component-ChartServiceMaterial-FwkbU2Z-.mjs → component-ChartServiceMaterial-DYZnc6HE.mjs} +7 -6
  7. package/dist/chunks/{component-Duty-DhQkYGMU.mjs → component-Duty-CvJFScnU.mjs} +7 -6
  8. package/dist/chunks/{component-EarlyWarningStatistic-DUjk3de9.mjs → component-EarlyWarningStatistic-D2eRD1Y0.mjs} +7 -6
  9. package/dist/chunks/{component-EarlyWarningStatistic2-kHvwn4zP.mjs → component-EarlyWarningStatistic2-Duf6s5TU.mjs} +16 -15
  10. package/dist/chunks/{component-Forecast72h-yd9t3176.mjs → component-Forecast72h-D6kx3ogZ.mjs} +17 -16
  11. package/dist/chunks/{component-GeologyLiveAlarm-BIDfv4JR.mjs → component-GeologyLiveAlarm-D5rJ_DDm.mjs} +8 -7
  12. package/dist/chunks/{component-GridForecastMsg-D8dHHVHX.mjs → component-GridForecastMsg-DOx8B4aT.mjs} +9 -8
  13. package/dist/chunks/{component-HDSeaLegend-DkPk1gQ1.mjs → component-HDSeaLegend-DfaUIAY4.mjs} +2 -2
  14. package/dist/chunks/{component-HdCameraList-nPxzUdmB.mjs → component-HdCameraList-DFp_aEZB.mjs} +12 -11
  15. package/dist/chunks/{component-HdFarmStation-BDN_u87-.mjs → component-HdFarmStation-RMkcJKM_.mjs} +12 -11
  16. package/dist/chunks/{component-HdFarmStationDialog-CMKGe0YJ.mjs → component-HdFarmStationDialog-DXhVyrN-.mjs} +34 -33
  17. package/dist/chunks/{component-HdForecastProducts-C40qTOYa.mjs → component-HdForecastProducts-Cl7ciBRO.mjs} +11 -10
  18. package/dist/chunks/{component-HdHeatChart-Bw3VlWeE.mjs → component-HdHeatChart-EDjbIEIa.mjs} +13 -12
  19. package/dist/chunks/{component-HdHeatChartDialog-C0FfI8Zv.mjs → component-HdHeatChartDialog-CM5JN1_S.mjs} +12 -11
  20. package/dist/chunks/{component-HdHeatService-CIee1NwQ.mjs → component-HdHeatService-BcBoR9o7.mjs} +35 -34
  21. package/dist/chunks/{component-HdInsectDetailList-C_T57sID.mjs → component-HdInsectDetailList-BdEF2wR3.mjs} +17 -16
  22. package/dist/chunks/{component-HdInsectList-Bt48xM1M.mjs → component-HdInsectList-F_CWLwzX.mjs} +19 -18
  23. package/dist/chunks/{component-HdMajorActivity-CyAgx0og.mjs → component-HdMajorActivity-Cy2eP4St.mjs} +24 -23
  24. package/dist/chunks/{component-HdObservation-CY8TNPK8.mjs → component-HdObservation-CgjRJNKN.mjs} +11 -10
  25. package/dist/chunks/{component-HdPreSituation-CLXeQ_lX.mjs → component-HdPreSituation-DCBGp7j2.mjs} +10 -9
  26. package/dist/chunks/{component-HdQxServiceEffects-CzgyHOgp.mjs → component-HdQxServiceEffects-CbCofLaR.mjs} +11 -10
  27. package/dist/chunks/{component-HdRadarList--85ldZa2.mjs → component-HdRadarList-DP0CHxT-.mjs} +3 -3
  28. package/dist/chunks/{component-HdRadarTime-CJ--ljM9.mjs → component-HdRadarTime-KUc6alWx.mjs} +13 -12
  29. package/dist/chunks/{component-HdRadarTimeLine-jQxaaH8X.mjs → component-HdRadarTimeLine-B-gh24Ms.mjs} +14 -13
  30. package/dist/chunks/{component-HdRisk-HKXfRnuQ.mjs → component-HdRisk-BNMGDGIZ.mjs} +12 -11
  31. package/dist/chunks/{component-HdSeaCase-agNgpzcT.mjs → component-HdSeaCase-9zyw68M-.mjs} +27 -26
  32. package/dist/chunks/{component-HdServiceMarterial-DJA-s67d.mjs → component-HdServiceMarterial-QoHKI3Kn.mjs} +18 -17
  33. package/dist/chunks/{component-HdServiceRequirements-lXtnq5r2.mjs → component-HdServiceRequirements-BYe-G1Mh.mjs} +14 -13
  34. package/dist/chunks/{component-HdSoil-BtIq7NXx.mjs → component-HdSoil-B2WiCda3.mjs} +12 -11
  35. package/dist/chunks/{component-HdSoilDetailList-CxEzu-xk.mjs → component-HdSoilDetailList-Djriq1RD.mjs} +13 -12
  36. package/dist/chunks/{component-HdStationTem-CRfJb0wr.mjs → component-HdStationTem-Ct2beh9a.mjs} +18 -17
  37. package/dist/chunks/{component-HdSuggestion-2aFJRsau.mjs → component-HdSuggestion-SDIUMrXC.mjs} +14 -13
  38. package/dist/chunks/{component-HdThreeWeatherTrend-BWeGlUnt.mjs → component-HdThreeWeatherTrend-PcbYnx-q.mjs} +19 -18
  39. package/dist/chunks/{component-HdWaveForcast-DgcqZuG9.mjs → component-HdWaveForcast-Bw7vX1xw.mjs} +12 -11
  40. package/dist/chunks/{component-HighQuality-BNvi5OuR.mjs → component-HighQuality-ByrnjqiE.mjs} +17 -16
  41. package/dist/chunks/{component-HighWayEarlyWarningRed-DKqRexUr.mjs → component-HighWayEarlyWarningRed-BDgzUMlS.mjs} +17 -16
  42. package/dist/chunks/{component-HighWayFreeze-X9Lw4CtK.mjs → component-HighWayFreeze-szpetKFY.mjs} +9 -8
  43. package/dist/chunks/{component-HighwayLiveAlarm-BBXb3nQ-.mjs → component-HighwayLiveAlarm-CSdpFWFe.mjs} +7 -6
  44. package/dist/chunks/{component-HighwayLiveAlarmNew-DBZgrmS8.mjs → component-HighwayLiveAlarmNew-DbUPTPBH.mjs} +12 -11
  45. package/dist/chunks/{component-HighwayStations-k3ZCYTAH.mjs → component-HighwayStations-CNtSBBLD.mjs} +7 -6
  46. package/dist/chunks/{component-HighwayWeatherForecast-BAHrZUA9.mjs → component-HighwayWeatherForecast-oKik_1wG.mjs} +10 -9
  47. package/dist/chunks/{component-IframeWeb-DVfyMcAT.mjs → component-IframeWeb-KbZ-3_ry.mjs} +1 -1
  48. package/dist/chunks/{component-ImageGeneration-QHD-5aqR.mjs → component-ImageGeneration-CZ3MhHFM.mjs} +2 -2
  49. package/dist/chunks/{component-IntroducePic-DYicnxvR.mjs → component-IntroducePic-unQNI8nA.mjs} +14 -13
  50. package/dist/chunks/{component-LithiumBatteryMiningArea-Cy9Rjgx5.mjs → component-LithiumBatteryMiningArea-baQ8LJ6A.mjs} +13 -12
  51. package/dist/chunks/{component-MapPopup-DRakngil.mjs → component-MapPopup-DbxxWkcS.mjs} +1 -1
  52. package/dist/chunks/{component-MaterialPreview-C2AS-_sC.mjs → component-MaterialPreview-BopOLX9T.mjs} +6 -5
  53. package/dist/chunks/{component-PieLegend-DoIRy55w.mjs → component-PieLegend-CxXTe7ex.mjs} +1 -1
  54. package/dist/chunks/{component-PrecipitationRanking-Cp8wK9V7.mjs → component-PrecipitationRanking-BGDK_Sa9.mjs} +28 -27
  55. package/dist/chunks/{component-RadarChart-BR1qSBxo.mjs → component-RadarChart-BpISXowv.mjs} +11 -10
  56. package/dist/chunks/{component-RadarLegend-BOwHlnqR.mjs → component-RadarLegend-pRd2JniW.mjs} +1 -1
  57. package/dist/chunks/{component-RadarShortTerm-tP7CSL0g.mjs → component-RadarShortTerm-B69JfjsO.mjs} +14 -13
  58. package/dist/chunks/{component-RadarTime-Dv46BtEz.mjs → component-RadarTime-DAHQlSOH.mjs} +19 -18
  59. package/dist/chunks/{component-RenderMarkdown-CVp2KsJr.mjs → component-RenderMarkdown-D6YdNtD-.mjs} +7 -6
  60. package/dist/chunks/{component-ReservoirLiveAlarm-D6SaqJel.mjs → component-ReservoirLiveAlarm-B6lKQPpR.mjs} +9 -8
  61. package/dist/chunks/{component-ServiceMaterial-B-meX-St.mjs → component-ServiceMaterial-BrKn201l.mjs} +10 -9
  62. package/dist/chunks/{component-ServiceMaterialsBtn-DYzPuzq_.mjs → component-ServiceMaterialsBtn-BHd4-_Wn.mjs} +2 -2
  63. package/dist/chunks/{component-StationDialog-CnAIJZcL.mjs → component-StationDialog-BrhC-iYT.mjs} +10 -9
  64. package/dist/chunks/{component-StationList-DvHUcP8A.mjs → component-StationList-5XxBSNXb.mjs} +10 -9
  65. package/dist/chunks/{component-TimeBasedForecast-DP7ZYRQB.mjs → component-TimeBasedForecast-Cw3a4ZdW.mjs} +11 -10
  66. package/dist/chunks/{component-Typhoon-46xEbA06.mjs → component-Typhoon-D1YFBv4l.mjs} +3 -2
  67. package/dist/chunks/{component-WarningLine-BzedbVnZ.mjs → component-WarningLine-BtNfoWBe.mjs} +2 -2
  68. package/dist/chunks/{component-WarningSignal-CSF12lq7.mjs → component-WarningSignal-CXlDQXr1.mjs} +18 -17
  69. package/dist/chunks/{component-WeatherForecast-BhGvmaMS.mjs → component-WeatherForecast-Dw_jpaZR.mjs} +17 -16
  70. package/dist/chunks/{component-YCDataMonitor-sg_93erW.mjs → component-YCDataMonitor-cYVY91FD.mjs} +17 -16
  71. package/dist/chunks/{component-YCDataService-CwOGPL98.mjs → component-YCDataService-t-d9yqyl.mjs} +11 -10
  72. package/dist/chunks/{component-YCHighWaySummary-CvoowBjy.mjs → component-YCHighWaySummary-CjhQdaUL.mjs} +8 -7
  73. package/dist/chunks/{component-YCHome-DRIi7AIB.mjs → component-YCHome-BAIB6FD-.mjs} +63 -62
  74. package/dist/chunks/{component-YCHomeLegend-0aeWXs2n.mjs → component-YCHomeLegend-cK6bLLGC.mjs} +2 -2
  75. package/dist/chunks/{component-YCLoginNew-BEoGLgtQ.mjs → component-YCLoginNew-yMFBtscQ.mjs} +15 -14
  76. package/dist/chunks/{component-YCServiceSummary-Dab20ncm.mjs → component-YCServiceSummary-CBxoEh_S.mjs} +162 -161
  77. package/dist/components/Agent/Agent.vue.d.ts +12 -0
  78. package/dist/index.d.ts +2 -1
  79. package/dist/nxd-plugin.mjs +75 -75
  80. package/dist/styles/component-Agent.css +1 -0
  81. package/dist/styles/component-YCLoginNew.css +1 -1
  82. package/package.json +1 -1
  83. package/dist/chunks/YCServiceSummary-Dx2AlXiv.mjs +0 -2
@@ -1,4 +1,5 @@
1
- import { i as e, n as t, o as n } from "./component-AiChat-COULZNRK.mjs";
1
+ import { a as e, n as t } from "./component-AiChat-HpEVNeXU.mjs";
2
+ import { c as n } from "./component-Agent-Cm4CMOGO.mjs";
2
3
  import { ElLoadingDirective as r } from "element-plus/es";
3
4
  import { Fragment as i, computed as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createStaticVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, mergeProps as p, nextTick as m, normalizeClass as h, onBeforeUnmount as g, onMounted as _, openBlock as v, ref as y, renderList as b, toDisplayString as x, vModelText as S, watch as C, withDirectives as w } from "vue";
4
5
  import * as T from "echarts";
@@ -13,7 +14,7 @@ var D = { class: "YCAIChatPanel" }, O = {
13
14
  }, j = ["innerHTML"], M = {
14
15
  key: 0,
15
16
  class: "YCAIChatPanel-subMenu"
16
- }, N = ["onClick"], P = ["src"], ee = { class: "YCAIChatPanel-footer" }, te = { class: "YCAIChatPanel-mainMenu" }, F = ["onClick"], ne = { class: "YCAIChatPanel-inputBar" }, re = ["placeholder"], ie = ["disabled"], ae = 2e3, I = 300 * 1e3, oe = "正在思考...", se = "做材料", L = /* @__PURE__ */ e(/* @__PURE__ */ f({
17
+ }, N = ["onClick"], P = ["src"], ee = { class: "YCAIChatPanel-footer" }, te = { class: "YCAIChatPanel-mainMenu" }, F = ["onClick"], ne = { class: "YCAIChatPanel-inputBar" }, re = ["placeholder"], ie = ["disabled"], ae = 2e3, I = 300 * 1e3, oe = "正在思考...", se = "做材料", L = /* @__PURE__ */ n(/* @__PURE__ */ f({
17
18
  __name: "YCAIChatPanel",
18
19
  props: [
19
20
  "appKey",
@@ -26,8 +27,8 @@ var D = { class: "YCAIChatPanel" }, O = {
26
27
  "ids",
27
28
  "theme"
28
29
  ],
29
- setup(e) {
30
- let r = e, u = [
30
+ setup(n) {
31
+ let r = n, u = [
31
32
  "查数据",
32
33
  "查知识",
33
34
  "查材料"
@@ -65,21 +66,21 @@ var D = { class: "YCAIChatPanel" }, O = {
65
66
  console.error("[YCAIChatPanel] 登录失败:", e);
66
67
  }
67
68
  }, G = (e) => Array.isArray(e) ? e : !e || typeof e != "object" ? null : e.output ?? e.list ?? e.items ?? e.children ?? e.data ?? e.records ?? null, pe = async () => {
68
- let e = r.ids?.subMenu;
69
- if (!e?.id) {
69
+ let t = r.ids?.subMenu;
70
+ if (!t?.id) {
70
71
  console.warn("[YCAIChatPanel] 未配置 subMenu 工作流 id");
71
72
  return;
72
73
  }
73
74
  try {
74
- let t = await n({
75
+ let n = await e({
75
76
  appKey: r.appKey,
76
77
  appSalt: r.appSalt,
77
- id: e.id,
78
+ id: t.id,
78
79
  variables: { newParam: "subMenu" },
79
80
  baseHttp: r.baseHttp.replace(/\/$/, ""),
80
- reqType: e.reqType || "post",
81
- isFormData: e.isFormData ?? !1
82
- }), i = t?.data?.result ?? t?.data;
81
+ reqType: t.reqType || "post",
82
+ isFormData: t.isFormData ?? !1
83
+ }), i = n?.data?.result ?? n?.data;
83
84
  if (typeof i == "string") try {
84
85
  i = JSON.parse(i);
85
86
  } catch {
@@ -132,13 +133,13 @@ var D = { class: "YCAIChatPanel" }, O = {
132
133
  console.error("[YCAIChatPanel] 发送失败:", e), Y("请求失败,请稍后重试", "error"), C.value = !1;
133
134
  }
134
135
  }
135
- }, ge = async (e, t) => {
136
+ }, ge = async (t, n) => {
136
137
  try {
137
- let i = await n({
138
+ let i = await e({
138
139
  appKey: r.appKey,
139
140
  appSalt: r.appSalt,
140
- id: t,
141
- variables: { newParam: e },
141
+ id: n,
142
+ variables: { newParam: t },
142
143
  baseHttp: r.baseHttp.replace(/\/$/, ""),
143
144
  reqType: "post",
144
145
  isFormData: !1
@@ -265,7 +266,7 @@ var D = { class: "YCAIChatPanel" }, O = {
265
266
  }, [c("path", { d: "M2.01 21L23 12 2.01 3 2 10l15 2-15 2z" })], -1)]], 8, ie)])])
266
267
  ]));
267
268
  }
268
- }), [["__scopeId", "data-v-c958b0ae"]]), R = ["element-loading-background"], z = "#ff4d4f", B = "#52c41a", V = /* @__PURE__ */ e(/* @__PURE__ */ f({
269
+ }), [["__scopeId", "data-v-c958b0ae"]]), R = ["element-loading-background"], z = "#ff4d4f", B = "#52c41a", V = /* @__PURE__ */ n(/* @__PURE__ */ f({
269
270
  __name: "YCServiceSummaryRefineAnalysis",
270
271
  props: [
271
272
  "appKey",
@@ -278,8 +279,8 @@ var D = { class: "YCAIChatPanel" }, O = {
278
279
  "ids",
279
280
  "theme"
280
281
  ],
281
- setup(e) {
282
- let t = e, i = y([]), o = y(null), l = null, u = y(!1), d = a(() => t.theme === "dark" ? "rgba(8, 22, 30, 0.55)" : "rgba(255, 255, 255, 0.7)"), f = () => {
282
+ setup(t) {
283
+ let n = t, i = y([]), o = y(null), l = null, u = y(!1), d = a(() => n.theme === "dark" ? "rgba(8, 22, 30, 0.55)" : "rgba(255, 255, 255, 0.7)"), f = () => {
283
284
  let e = o.value;
284
285
  return e && getComputedStyle(e).getPropertyValue("--yc-chart-label").trim() || "#333";
285
286
  };
@@ -289,21 +290,21 @@ var D = { class: "YCAIChatPanel" }, O = {
289
290
  window.removeEventListener("resize", O), l && l.dispose();
290
291
  });
291
292
  let p = async () => {
292
- let e = t.ids?.road;
293
- if (!e?.id) {
293
+ let t = n.ids?.road;
294
+ if (!t?.id) {
294
295
  console.warn("[YCServiceSummaryRefineAnalysis] ids.road 未配置");
295
296
  return;
296
297
  }
297
298
  u.value = !0;
298
299
  try {
299
- let r = (await n({
300
- appKey: t.appKey,
301
- appSalt: t.appSalt,
302
- id: e.id,
300
+ let r = (await e({
301
+ appKey: n.appKey,
302
+ appSalt: n.appSalt,
303
+ id: t.id,
303
304
  variables: {},
304
- baseHttp: t.baseHttp,
305
- reqType: e.reqType,
306
- isFormData: e.isFormData
305
+ baseHttp: n.baseHttp,
306
+ reqType: t.reqType,
307
+ isFormData: t.isFormData
307
308
  }))?.data?.result?.ds;
308
309
  if (typeof r == "string") try {
309
310
  r = JSON.parse(r);
@@ -368,7 +369,7 @@ var D = { class: "YCAIChatPanel" }, O = {
368
369
  }]
369
370
  });
370
371
  };
371
- C(() => t.theme, async () => {
372
+ C(() => n.theme, async () => {
372
373
  await m(), D();
373
374
  });
374
375
  let O = () => {
@@ -387,7 +388,7 @@ var D = { class: "YCAIChatPanel" }, O = {
387
388
  }, null, 512)], 8, R)), [[n, u.value]]);
388
389
  };
389
390
  }
390
- }), [["__scopeId", "data-v-118dfe5e"]]), H = ["element-loading-background"], U = "#ff4d4f", W = "#52c41a", ce = /* @__PURE__ */ e(/* @__PURE__ */ f({
391
+ }), [["__scopeId", "data-v-118dfe5e"]]), H = ["element-loading-background"], U = "#ff4d4f", W = "#52c41a", ce = /* @__PURE__ */ n(/* @__PURE__ */ f({
391
392
  __name: "YCServiceSummaryTrafficAnalysis",
392
393
  props: [
393
394
  "appKey",
@@ -400,8 +401,8 @@ var D = { class: "YCAIChatPanel" }, O = {
400
401
  "ids",
401
402
  "theme"
402
403
  ],
403
- setup(e) {
404
- let t = e, i = y([]), o = y(null), l = null, u = y(!1), d = a(() => t.theme === "dark" ? "rgba(8, 22, 30, 0.55)" : "rgba(255, 255, 255, 0.7)"), f = () => {
404
+ setup(t) {
405
+ let n = t, i = y([]), o = y(null), l = null, u = y(!1), d = a(() => n.theme === "dark" ? "rgba(8, 22, 30, 0.55)" : "rgba(255, 255, 255, 0.7)"), f = () => {
405
406
  let e = o.value;
406
407
  return e && getComputedStyle(e).getPropertyValue("--yc-chart-label").trim() || "#333";
407
408
  };
@@ -411,21 +412,21 @@ var D = { class: "YCAIChatPanel" }, O = {
411
412
  window.removeEventListener("resize", S), l && l.dispose();
412
413
  });
413
414
  let p = async () => {
414
- let e = t.ids?.shortTerm;
415
- if (!e?.id) {
415
+ let t = n.ids?.shortTerm;
416
+ if (!t?.id) {
416
417
  console.warn("[YCServiceSummaryTrafficAnalysis] ids.shortTerm 未配置");
417
418
  return;
418
419
  }
419
420
  u.value = !0;
420
421
  try {
421
- let r = (await n({
422
- appKey: t.appKey,
423
- appSalt: t.appSalt,
424
- id: e.id,
422
+ let r = (await e({
423
+ appKey: n.appKey,
424
+ appSalt: n.appSalt,
425
+ id: t.id,
425
426
  variables: {},
426
- baseHttp: t.baseHttp,
427
- reqType: e.reqType,
428
- isFormData: e.isFormData
427
+ baseHttp: n.baseHttp,
428
+ reqType: t.reqType,
429
+ isFormData: t.isFormData
429
430
  }))?.data?.result?.ds;
430
431
  if (typeof r == "string") try {
431
432
  r = JSON.parse(r);
@@ -486,7 +487,7 @@ var D = { class: "YCAIChatPanel" }, O = {
486
487
  }]
487
488
  });
488
489
  };
489
- C(() => t.theme, async () => {
490
+ C(() => n.theme, async () => {
490
491
  await m(), x();
491
492
  });
492
493
  let S = () => {
@@ -505,7 +506,7 @@ var D = { class: "YCAIChatPanel" }, O = {
505
506
  }, null, 512)], 8, H)), [[n, u.value]]);
506
507
  };
507
508
  }
508
- }), [["__scopeId", "data-v-ec9e589d"]]), le = ["element-loading-background"], ue = "#ff4d4f", de = "#52c41a", fe = /* @__PURE__ */ e(/* @__PURE__ */ f({
509
+ }), [["__scopeId", "data-v-ec9e589d"]]), le = ["element-loading-background"], ue = "#ff4d4f", de = "#52c41a", fe = /* @__PURE__ */ n(/* @__PURE__ */ f({
509
510
  __name: "YCServiceSummaryGeologyRefineAnalysis",
510
511
  props: [
511
512
  "appKey",
@@ -518,8 +519,8 @@ var D = { class: "YCAIChatPanel" }, O = {
518
519
  "ids",
519
520
  "theme"
520
521
  ],
521
- setup(e) {
522
- let t = e, i = y([]), o = y(null), l = null, u = y(!1), d = a(() => t.theme === "dark" ? "rgba(8, 22, 30, 0.55)" : "rgba(255, 255, 255, 0.7)"), f = () => {
522
+ setup(t) {
523
+ let n = t, i = y([]), o = y(null), l = null, u = y(!1), d = a(() => n.theme === "dark" ? "rgba(8, 22, 30, 0.55)" : "rgba(255, 255, 255, 0.7)"), f = () => {
523
524
  let e = o.value;
524
525
  return e && getComputedStyle(e).getPropertyValue("--yc-chart-label").trim() || "#333";
525
526
  };
@@ -529,21 +530,21 @@ var D = { class: "YCAIChatPanel" }, O = {
529
530
  window.removeEventListener("resize", x), l && l.dispose();
530
531
  });
531
532
  let p = async () => {
532
- let e = t.ids?.data;
533
- if (!e?.id) {
533
+ let t = n.ids?.data;
534
+ if (!t?.id) {
534
535
  console.warn("[YCServiceSummaryGeologyRefineAnalysis] ids.data 未配置");
535
536
  return;
536
537
  }
537
538
  u.value = !0;
538
539
  try {
539
- let r = (await n({
540
- appKey: t.appKey,
541
- appSalt: t.appSalt,
542
- id: e.id,
540
+ let r = (await e({
541
+ appKey: n.appKey,
542
+ appSalt: n.appSalt,
543
+ id: t.id,
543
544
  variables: {},
544
- baseHttp: t.baseHttp,
545
- reqType: e.reqType,
546
- isFormData: e.isFormData
545
+ baseHttp: n.baseHttp,
546
+ reqType: t.reqType,
547
+ isFormData: t.isFormData
547
548
  }))?.data?.result?.ds;
548
549
  if (typeof r == "string") try {
549
550
  r = JSON.parse(r);
@@ -597,7 +598,7 @@ var D = { class: "YCAIChatPanel" }, O = {
597
598
  }]
598
599
  });
599
600
  };
600
- C(() => t.theme, async () => {
601
+ C(() => n.theme, async () => {
601
602
  await m(), b();
602
603
  });
603
604
  let x = () => {
@@ -616,7 +617,7 @@ var D = { class: "YCAIChatPanel" }, O = {
616
617
  }, null, 512)], 8, le)), [[n, u.value]]);
617
618
  };
618
619
  }
619
- }), [["__scopeId", "data-v-faed9df7"]]), G = ["element-loading-background"], pe = "#ff4d4f", K = "#52c41a", me = /* @__PURE__ */ e(/* @__PURE__ */ f({
620
+ }), [["__scopeId", "data-v-faed9df7"]]), G = ["element-loading-background"], pe = "#ff4d4f", K = "#52c41a", me = /* @__PURE__ */ n(/* @__PURE__ */ f({
620
621
  __name: "YCServiceSummaryGeologyTrafficAnalysis",
621
622
  props: [
622
623
  "appKey",
@@ -629,8 +630,8 @@ var D = { class: "YCAIChatPanel" }, O = {
629
630
  "ids",
630
631
  "theme"
631
632
  ],
632
- setup(e) {
633
- let t = e, i = y([]), o = y(null), l = null, u = y(!1), d = a(() => t.theme === "dark" ? "rgba(8, 22, 30, 0.55)" : "rgba(255, 255, 255, 0.7)"), f = () => {
633
+ setup(t) {
634
+ let n = t, i = y([]), o = y(null), l = null, u = y(!1), d = a(() => n.theme === "dark" ? "rgba(8, 22, 30, 0.55)" : "rgba(255, 255, 255, 0.7)"), f = () => {
634
635
  let e = o.value;
635
636
  return e && getComputedStyle(e).getPropertyValue("--yc-chart-label").trim() || "#333";
636
637
  };
@@ -640,21 +641,21 @@ var D = { class: "YCAIChatPanel" }, O = {
640
641
  window.removeEventListener("resize", S), l && l.dispose();
641
642
  });
642
643
  let p = async () => {
643
- let e = t.ids?.geologyShortTerm;
644
- if (!e?.id) {
644
+ let t = n.ids?.geologyShortTerm;
645
+ if (!t?.id) {
645
646
  console.warn("[YCServiceSummaryGeologyTrafficAnalysis] ids.geologyShortTerm 未配置");
646
647
  return;
647
648
  }
648
649
  u.value = !0;
649
650
  try {
650
- let r = (await n({
651
- appKey: t.appKey,
652
- appSalt: t.appSalt,
653
- id: e.id,
651
+ let r = (await e({
652
+ appKey: n.appKey,
653
+ appSalt: n.appSalt,
654
+ id: t.id,
654
655
  variables: {},
655
- baseHttp: t.baseHttp,
656
- reqType: e.reqType,
657
- isFormData: e.isFormData
656
+ baseHttp: n.baseHttp,
657
+ reqType: t.reqType,
658
+ isFormData: t.isFormData
658
659
  }))?.data?.result?.ds;
659
660
  if (typeof r == "string") try {
660
661
  r = JSON.parse(r);
@@ -715,7 +716,7 @@ var D = { class: "YCAIChatPanel" }, O = {
715
716
  }]
716
717
  });
717
718
  };
718
- C(() => t.theme, async () => {
719
+ C(() => n.theme, async () => {
719
720
  await m(), x();
720
721
  });
721
722
  let S = () => {
@@ -734,7 +735,7 @@ var D = { class: "YCAIChatPanel" }, O = {
734
735
  }, null, 512)], 8, G)), [[n, u.value]]);
735
736
  };
736
737
  }
737
- }), [["__scopeId", "data-v-32323a02"]]), he = ["element-loading-background"], q = "#ff4d4f", ge = "#52c41a", _e = /* @__PURE__ */ e(/* @__PURE__ */ f({
738
+ }), [["__scopeId", "data-v-32323a02"]]), he = ["element-loading-background"], q = "#ff4d4f", ge = "#52c41a", _e = /* @__PURE__ */ n(/* @__PURE__ */ f({
738
739
  __name: "YCServiceSummaryReservoirRefineAnalysis",
739
740
  props: [
740
741
  "appKey",
@@ -747,8 +748,8 @@ var D = { class: "YCAIChatPanel" }, O = {
747
748
  "ids",
748
749
  "theme"
749
750
  ],
750
- setup(e) {
751
- let t = e, i = y([]), o = y(null), l = null, u = y(!1), d = a(() => t.theme === "dark" ? "rgba(8, 22, 30, 0.55)" : "rgba(255, 255, 255, 0.7)"), f = () => {
751
+ setup(t) {
752
+ let n = t, i = y([]), o = y(null), l = null, u = y(!1), d = a(() => n.theme === "dark" ? "rgba(8, 22, 30, 0.55)" : "rgba(255, 255, 255, 0.7)"), f = () => {
752
753
  let e = o.value;
753
754
  return e && getComputedStyle(e).getPropertyValue("--yc-chart-label").trim() || "#333";
754
755
  };
@@ -758,21 +759,21 @@ var D = { class: "YCAIChatPanel" }, O = {
758
759
  window.removeEventListener("resize", x), l && l.dispose();
759
760
  });
760
761
  let p = async () => {
761
- let e = t.ids?.reservoirData;
762
- if (!e?.id) {
762
+ let t = n.ids?.reservoirData;
763
+ if (!t?.id) {
763
764
  console.warn("[YCServiceSummaryReservoirRefineAnalysis] ids.reservoirData 未配置");
764
765
  return;
765
766
  }
766
767
  u.value = !0;
767
768
  try {
768
- let r = (await n({
769
- appKey: t.appKey,
770
- appSalt: t.appSalt,
771
- id: e.id,
769
+ let r = (await e({
770
+ appKey: n.appKey,
771
+ appSalt: n.appSalt,
772
+ id: t.id,
772
773
  variables: {},
773
- baseHttp: t.baseHttp,
774
- reqType: e.reqType,
775
- isFormData: e.isFormData
774
+ baseHttp: n.baseHttp,
775
+ reqType: t.reqType,
776
+ isFormData: t.isFormData
776
777
  }))?.data?.result?.ds;
777
778
  if (typeof r == "string") try {
778
779
  r = JSON.parse(r);
@@ -826,7 +827,7 @@ var D = { class: "YCAIChatPanel" }, O = {
826
827
  }]
827
828
  });
828
829
  };
829
- C(() => t.theme, async () => {
830
+ C(() => n.theme, async () => {
830
831
  await m(), b();
831
832
  });
832
833
  let x = () => {
@@ -845,7 +846,7 @@ var D = { class: "YCAIChatPanel" }, O = {
845
846
  }, null, 512)], 8, he)), [[n, u.value]]);
846
847
  };
847
848
  }
848
- }), [["__scopeId", "data-v-8d675142"]]), J = ["element-loading-background"], Y = "#ff4d4f", X = "#52c41a", Z = /* @__PURE__ */ e(/* @__PURE__ */ f({
849
+ }), [["__scopeId", "data-v-8d675142"]]), J = ["element-loading-background"], Y = "#ff4d4f", X = "#52c41a", Z = /* @__PURE__ */ n(/* @__PURE__ */ f({
849
850
  __name: "YCServiceSummaryReservoirTrafficAnalysis",
850
851
  props: [
851
852
  "appKey",
@@ -858,8 +859,8 @@ var D = { class: "YCAIChatPanel" }, O = {
858
859
  "ids",
859
860
  "theme"
860
861
  ],
861
- setup(e) {
862
- let t = e, i = y([]), o = y(null), l = null, u = y(!1), d = a(() => t.theme === "dark" ? "rgba(8, 22, 30, 0.55)" : "rgba(255, 255, 255, 0.7)"), f = () => {
862
+ setup(t) {
863
+ let n = t, i = y([]), o = y(null), l = null, u = y(!1), d = a(() => n.theme === "dark" ? "rgba(8, 22, 30, 0.55)" : "rgba(255, 255, 255, 0.7)"), f = () => {
863
864
  let e = o.value;
864
865
  return e && getComputedStyle(e).getPropertyValue("--yc-chart-label").trim() || "#333";
865
866
  };
@@ -869,21 +870,21 @@ var D = { class: "YCAIChatPanel" }, O = {
869
870
  window.removeEventListener("resize", S), l && l.dispose();
870
871
  });
871
872
  let p = async () => {
872
- let e = t.ids?.reservoirShortTerm;
873
- if (!e?.id) {
873
+ let t = n.ids?.reservoirShortTerm;
874
+ if (!t?.id) {
874
875
  console.warn("[YCServiceSummaryReservoirTrafficAnalysis] ids.reservoirShortTerm 未配置");
875
876
  return;
876
877
  }
877
878
  u.value = !0;
878
879
  try {
879
- let r = (await n({
880
- appKey: t.appKey,
881
- appSalt: t.appSalt,
882
- id: e.id,
880
+ let r = (await e({
881
+ appKey: n.appKey,
882
+ appSalt: n.appSalt,
883
+ id: t.id,
883
884
  variables: {},
884
- baseHttp: t.baseHttp,
885
- reqType: e.reqType,
886
- isFormData: e.isFormData
885
+ baseHttp: n.baseHttp,
886
+ reqType: t.reqType,
887
+ isFormData: t.isFormData
887
888
  }))?.data?.result?.ds;
888
889
  if (typeof r == "string") try {
889
890
  r = JSON.parse(r);
@@ -944,7 +945,7 @@ var D = { class: "YCAIChatPanel" }, O = {
944
945
  }]
945
946
  });
946
947
  };
947
- C(() => t.theme, async () => {
948
+ C(() => n.theme, async () => {
948
949
  await m(), x();
949
950
  });
950
951
  let S = () => {
@@ -963,7 +964,7 @@ var D = { class: "YCAIChatPanel" }, O = {
963
964
  }, null, 512)], 8, J)), [[n, u.value]]);
964
965
  };
965
966
  }
966
- }), [["__scopeId", "data-v-56bb4ef3"]]), Q = ["element-loading-background"], $ = "#ff4d4f", ve = "#52c41a", ye = /* @__PURE__ */ e(/* @__PURE__ */ f({
967
+ }), [["__scopeId", "data-v-56bb4ef3"]]), Q = ["element-loading-background"], $ = "#ff4d4f", ve = "#52c41a", ye = /* @__PURE__ */ n(/* @__PURE__ */ f({
967
968
  __name: "YCServiceSummaryMiningAreaRefineAnalysis",
968
969
  props: [
969
970
  "appKey",
@@ -976,8 +977,8 @@ var D = { class: "YCAIChatPanel" }, O = {
976
977
  "ids",
977
978
  "theme"
978
979
  ],
979
- setup(e) {
980
- let t = e, i = y([]), o = y(null), l = null, u = y(!1), d = a(() => t.theme === "dark" ? "rgba(8, 22, 30, 0.55)" : "rgba(255, 255, 255, 0.7)"), f = () => {
980
+ setup(t) {
981
+ let n = t, i = y([]), o = y(null), l = null, u = y(!1), d = a(() => n.theme === "dark" ? "rgba(8, 22, 30, 0.55)" : "rgba(255, 255, 255, 0.7)"), f = () => {
981
982
  let e = o.value;
982
983
  return e && getComputedStyle(e).getPropertyValue("--yc-chart-label").trim() || "#333";
983
984
  };
@@ -990,21 +991,21 @@ var D = { class: "YCAIChatPanel" }, O = {
990
991
  let n = (Array.isArray(e) ? e : []).find((e) => e?.category === t);
991
992
  return Array.isArray(n?.area) ? n.area : [];
992
993
  }, h = async () => {
993
- let e = t.ids?.miningAreaCharts;
994
- if (!e?.id) {
994
+ let t = n.ids?.miningAreaCharts;
995
+ if (!t?.id) {
995
996
  console.warn("[YCServiceSummaryMiningAreaRefineAnalysis] ids.miningAreaCharts 未配置");
996
997
  return;
997
998
  }
998
999
  u.value = !0;
999
1000
  try {
1000
- let r = await n({
1001
- appKey: t.appKey,
1002
- appSalt: t.appSalt,
1003
- id: e.id,
1001
+ let r = await e({
1002
+ appKey: n.appKey,
1003
+ appSalt: n.appSalt,
1004
+ id: t.id,
1004
1005
  variables: {},
1005
- baseHttp: t.baseHttp,
1006
- reqType: e.reqType,
1007
- isFormData: e.isFormData
1006
+ baseHttp: n.baseHttp,
1007
+ reqType: t.reqType,
1008
+ isFormData: t.isFormData
1008
1009
  }), a = r?.data?.result?.output ?? r?.data?.result?.ds;
1009
1010
  if (typeof a == "string") try {
1010
1011
  a = JSON.parse(a);
@@ -1055,7 +1056,7 @@ var D = { class: "YCAIChatPanel" }, O = {
1055
1056
  }]
1056
1057
  });
1057
1058
  };
1058
- C(() => t.theme, async () => {
1059
+ C(() => n.theme, async () => {
1059
1060
  await m(), b();
1060
1061
  });
1061
1062
  let x = () => {
@@ -1074,7 +1075,7 @@ var D = { class: "YCAIChatPanel" }, O = {
1074
1075
  }, null, 512)], 8, Q)), [[n, u.value]]);
1075
1076
  };
1076
1077
  }
1077
- }), [["__scopeId", "data-v-42e03332"]]), be = ["element-loading-background"], xe = "#ff4d4f", Se = "#52c41a", Ce = /* @__PURE__ */ e(/* @__PURE__ */ f({
1078
+ }), [["__scopeId", "data-v-42e03332"]]), be = ["element-loading-background"], xe = "#ff4d4f", Se = "#52c41a", Ce = /* @__PURE__ */ n(/* @__PURE__ */ f({
1078
1079
  __name: "YCServiceSummaryMiningAreaTrafficAnalysis",
1079
1080
  props: [
1080
1081
  "appKey",
@@ -1087,8 +1088,8 @@ var D = { class: "YCAIChatPanel" }, O = {
1087
1088
  "ids",
1088
1089
  "theme"
1089
1090
  ],
1090
- setup(e) {
1091
- let t = e, i = y([]), o = y(null), l = null, u = y(!1), d = a(() => t.theme === "dark" ? "rgba(8, 22, 30, 0.55)" : "rgba(255, 255, 255, 0.7)"), f = () => {
1091
+ setup(t) {
1092
+ let n = t, i = y([]), o = y(null), l = null, u = y(!1), d = a(() => n.theme === "dark" ? "rgba(8, 22, 30, 0.55)" : "rgba(255, 255, 255, 0.7)"), f = () => {
1092
1093
  let e = o.value;
1093
1094
  return e && getComputedStyle(e).getPropertyValue("--yc-chart-label").trim() || "#333";
1094
1095
  };
@@ -1101,21 +1102,21 @@ var D = { class: "YCAIChatPanel" }, O = {
1101
1102
  let n = (Array.isArray(e) ? e : []).find((e) => e?.category === t);
1102
1103
  return Array.isArray(n?.area) ? n.area : [];
1103
1104
  }, h = async () => {
1104
- let e = t.ids?.miningAreaCharts;
1105
- if (!e?.id) {
1105
+ let t = n.ids?.miningAreaCharts;
1106
+ if (!t?.id) {
1106
1107
  console.warn("[YCServiceSummaryMiningAreaTrafficAnalysis] ids.miningAreaCharts 未配置");
1107
1108
  return;
1108
1109
  }
1109
1110
  u.value = !0;
1110
1111
  try {
1111
- let r = await n({
1112
- appKey: t.appKey,
1113
- appSalt: t.appSalt,
1114
- id: e.id,
1112
+ let r = await e({
1113
+ appKey: n.appKey,
1114
+ appSalt: n.appSalt,
1115
+ id: t.id,
1115
1116
  variables: {},
1116
- baseHttp: t.baseHttp,
1117
- reqType: e.reqType,
1118
- isFormData: e.isFormData
1117
+ baseHttp: n.baseHttp,
1118
+ reqType: t.reqType,
1119
+ isFormData: t.isFormData
1119
1120
  }), a = r?.data?.result?.output ?? r?.data?.result?.ds;
1120
1121
  if (typeof a == "string") try {
1121
1122
  a = JSON.parse(a);
@@ -1166,7 +1167,7 @@ var D = { class: "YCAIChatPanel" }, O = {
1166
1167
  }]
1167
1168
  });
1168
1169
  };
1169
- C(() => t.theme, async () => {
1170
+ C(() => n.theme, async () => {
1170
1171
  await m(), b();
1171
1172
  });
1172
1173
  let x = () => {
@@ -1206,7 +1207,7 @@ var D = { class: "YCAIChatPanel" }, O = {
1206
1207
  }, st = {
1207
1208
  key: 1,
1208
1209
  class: "YCServiceSummary-editorDialog-error"
1209
- }, ct = { class: "YCServiceSummary-editorDialog-errorText" }, lt = /* @__PURE__ */ e(/* @__PURE__ */ f({
1210
+ }, ct = { class: "YCServiceSummary-editorDialog-errorText" }, lt = /* @__PURE__ */ n(/* @__PURE__ */ f({
1210
1211
  __name: "YCServiceSummary",
1211
1212
  props: [
1212
1213
  "appKey",
@@ -1219,8 +1220,8 @@ var D = { class: "YCAIChatPanel" }, O = {
1219
1220
  "ids",
1220
1221
  "showEditBtn"
1221
1222
  ],
1222
- setup(e) {
1223
- let t = e, r = y([]), l = y(0), f = a(() => r.value[l.value]?.title || ""), g = a(() => r.value[l.value]?.warnInfo || ""), S = y(!1), w = a(() => t.showEditBtn != null && t.showEditBtn !== !1), T = y([]), E = y("交通气象服务材料"), D = y(""), O = y(""), k = y(!1), A = y(!1), j = y(""), M = y(null), N = null, P = a(() => D.value.split("/").pop() || `${E.value}.docx`), ee = (e) => e && (e.split("/").pop() || "").replace(/\.[^.]+$/, "") || "交通气象服务材料", te = (e) => !e || typeof e != "object" ? [] : Object.entries(e).map(([e, t]) => ({
1223
+ setup(t) {
1224
+ let n = t, r = y([]), l = y(0), f = a(() => r.value[l.value]?.title || ""), g = a(() => r.value[l.value]?.warnInfo || ""), S = y(!1), w = a(() => n.showEditBtn != null && n.showEditBtn !== !1), T = y([]), E = y("交通气象服务材料"), D = y(""), O = y(""), k = y(!1), A = y(!1), j = y(""), M = y(null), N = null, P = a(() => D.value.split("/").pop() || `${E.value}.docx`), ee = (e) => e && (e.split("/").pop() || "").replace(/\.[^.]+$/, "") || "交通气象服务材料", te = (e) => !e || typeof e != "object" ? [] : Object.entries(e).map(([e, t]) => ({
1224
1225
  label: e.includes(":") ? e : `${e}:`,
1225
1226
  value: String(t)
1226
1227
  })), F = () => {
@@ -1231,20 +1232,20 @@ var D = { class: "YCAIChatPanel" }, O = {
1231
1232
  F();
1232
1233
  });
1233
1234
  let ne = async () => {
1234
- let e = t.ids?.baseData;
1235
- if (!e?.id) {
1235
+ let t = n.ids?.baseData;
1236
+ if (!t?.id) {
1236
1237
  console.warn("[YCServiceSummary] ids.baseData 未配置");
1237
1238
  return;
1238
1239
  }
1239
1240
  try {
1240
- let i = (await n({
1241
- appKey: t.appKey,
1242
- appSalt: t.appSalt,
1243
- id: e.id,
1241
+ let i = (await e({
1242
+ appKey: n.appKey,
1243
+ appSalt: n.appSalt,
1244
+ id: t.id,
1244
1245
  variables: {},
1245
- baseHttp: t.baseHttp,
1246
- reqType: e.reqType,
1247
- isFormData: e.isFormData
1246
+ baseHttp: n.baseHttp,
1247
+ reqType: t.reqType,
1248
+ isFormData: t.isFormData
1248
1249
  }))?.data?.result?.output;
1249
1250
  if (!Array.isArray(i) || i.length === 0) {
1250
1251
  console.warn("[YCServiceSummary] baseData 返回为空");
@@ -1265,7 +1266,7 @@ var D = { class: "YCAIChatPanel" }, O = {
1265
1266
  _(() => {
1266
1267
  ne();
1267
1268
  });
1268
- let re = (e) => e ? /^(https?:)?\/\//i.test(e) || e.startsWith("data:") || !t.baseHttp ? e : t.baseHttp.replace(/\/$/, "") + (e.startsWith("/") ? e : `/${e}`) : "", ie = (e) => {
1269
+ let re = (e) => e ? /^(https?:)?\/\//i.test(e) || e.startsWith("data:") || !n.baseHttp ? e : n.baseHttp.replace(/\/$/, "") + (e.startsWith("/") ? e : `/${e}`) : "", ie = (e) => {
1269
1270
  let t = (e || "docx").toLowerCase();
1270
1271
  return [
1271
1272
  "xls",
@@ -1315,8 +1316,8 @@ var D = { class: "YCAIChatPanel" }, O = {
1315
1316
  A.value = !0, j.value = "";
1316
1317
  try {
1317
1318
  await ae();
1318
- let n = window.DocsAPI;
1319
- if (!n?.DocEditor) {
1319
+ let t = window.DocsAPI;
1320
+ if (!t?.DocEditor) {
1320
1321
  j.value = "OnlyOffice API 不可用,请检查服务地址和代理";
1321
1322
  return;
1322
1323
  }
@@ -1362,12 +1363,12 @@ var D = { class: "YCAIChatPanel" }, O = {
1362
1363
  }
1363
1364
  },
1364
1365
  editorConfig: {
1365
- callbackUrl: t.onlyofficeCallbackUrl,
1366
+ callbackUrl: n.onlyofficeCallbackUrl,
1366
1367
  mode: "edit",
1367
1368
  lang: "zh-CN",
1368
1369
  user: {
1369
- id: t.username || "user1",
1370
- name: t.username || "User"
1370
+ id: n.username || "user1",
1371
+ name: n.username || "User"
1371
1372
  },
1372
1373
  customization: {
1373
1374
  forcesave: !0,
@@ -1420,7 +1421,7 @@ var D = { class: "YCAIChatPanel" }, O = {
1420
1421
  };
1421
1422
  console.warn("key", s.document.key);
1422
1423
  try {
1423
- N = new n.DocEditor(a, s);
1424
+ N = new t.DocEditor(a, s);
1424
1425
  } catch (e) {
1425
1426
  console.error("[YCServiceSummary] new DocEditor 抛出异常:", e), j.value = "OnlyOffice 编辑器创建失败";
1426
1427
  }
@@ -1450,57 +1451,57 @@ var D = { class: "YCAIChatPanel" }, O = {
1450
1451
  }, z = (e) => {
1451
1452
  e === "edit" && oe(), e === "download" && R();
1452
1453
  };
1453
- return (e, n) => (v(), s("div", { class: h(["YCServiceSummary", { "is-dark": S.value }]) }, [
1454
+ return (e, t) => (v(), s("div", { class: h(["YCServiceSummary", { "is-dark": S.value }]) }, [
1454
1455
  c("div", we, [c("button", {
1455
1456
  class: h(["YCServiceSummary-themeBtn", { "is-active": !S.value }]),
1456
- onClick: n[0] ||= (e) => S.value = !1,
1457
+ onClick: t[0] ||= (e) => S.value = !1,
1457
1458
  title: "浅色"
1458
- }, [...n[4] ||= [c("svg", {
1459
+ }, [...t[4] ||= [c("svg", {
1459
1460
  viewBox: "0 0 24 24",
1460
1461
  width: "12",
1461
1462
  height: "12",
1462
1463
  fill: "currentColor"
1463
1464
  }, [c("path", { d: "M6.76 4.84l-1.8-1.79-1.41 1.41 1.79 1.79 1.42-1.41zM4 10.5H1v2h3v-2zm9-9.95h-2V3.5h2V.55zm7.45 3.91l-1.41-1.41-1.79 1.79 1.41 1.41 1.79-1.79zm-3.21 13.7l1.79 1.8 1.41-1.41-1.8-1.79-1.4 1.4zM20 10.5v2h3v-2h-3zm-8-5c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zm-1 16.95h2V22h-2v5.45zm-7.45-3.91l1.41 1.41 1.79-1.8-1.41-1.41-1.79 1.8z" })], -1), u(" 浅色 ", -1)]], 2), c("button", {
1464
1465
  class: h(["YCServiceSummary-themeBtn", { "is-active": S.value }]),
1465
- onClick: n[1] ||= (e) => S.value = !0,
1466
+ onClick: t[1] ||= (e) => S.value = !0,
1466
1467
  title: "深色"
1467
- }, [...n[5] ||= [c("svg", {
1468
+ }, [...t[5] ||= [c("svg", {
1468
1469
  viewBox: "0 0 24 24",
1469
1470
  width: "12",
1470
1471
  height: "12",
1471
1472
  fill: "currentColor"
1472
1473
  }, [c("path", { d: "M9 2c-1.05 0-2.05.16-3 .46 1.69 1.2 2.86 3.06 2.86 5.21 0 3.58-2.9 6.48-6.48 6.48-.63 0-1.25-.09-1.83-.26.52 2.64 2.28 4.85 4.59 5.93C7.21 21.22 9.46 22 12 22c5.52 0 10-4.48 10-10S17.52 2 12 2c-1 0-1.97.15-2.89.42C8.43 2.15 8.73 2 9 2z" })], -1), u(" 深色 ", -1)]], 2)]),
1473
1474
  c("div", Te, [
1474
- c("div", Ee, [n[7] ||= c("div", { class: "YCServiceSummary-statPanel-title" }, "宜春气象服务", -1), c("div", De, [(v(!0), s(i, null, b(r.value, (e, t) => (v(), s("div", {
1475
+ c("div", Ee, [t[7] ||= c("div", { class: "YCServiceSummary-statPanel-title" }, "宜春气象服务", -1), c("div", De, [(v(!0), s(i, null, b(r.value, (e, n) => (v(), s("div", {
1475
1476
  key: e.title,
1476
- class: h(["YCServiceSummary-statCard", { "is-active": l.value === t }]),
1477
- onClick: (e) => l.value = t
1478
- }, [c("div", ke, [n[6] ||= c("span", { class: "dot" }, null, -1), u(" " + x(e.title), 1)]), c("div", Ae, [(v(!0), s(i, null, b(e.rows, (e) => (v(), s("div", {
1477
+ class: h(["YCServiceSummary-statCard", { "is-active": l.value === n }]),
1478
+ onClick: (e) => l.value = n
1479
+ }, [c("div", ke, [t[6] ||= c("span", { class: "dot" }, null, -1), u(" " + x(e.title), 1)]), c("div", Ae, [(v(!0), s(i, null, b(e.rows, (e) => (v(), s("div", {
1479
1480
  key: e.label,
1480
1481
  class: "row"
1481
1482
  }, [c("span", null, x(e.label), 1), c("span", je, x(e.value), 1)]))), 128))])], 10, Oe))), 128))])]),
1482
1483
  c("div", Me, [
1483
- c("div", Ne, [c("div", Pe, [n[8] ||= c("span", { class: "icon" }, null, -1), u(" " + x(f.value) + " AI 分析 ", 1)])]),
1484
- n[17] ||= c("div", { class: "YCServiceSummary-aiPanel-warningTitle" }, "预警信号", -1),
1484
+ c("div", Ne, [c("div", Pe, [t[8] ||= c("span", { class: "icon" }, null, -1), u(" " + x(f.value) + " AI 分析 ", 1)])]),
1485
+ t[17] ||= c("div", { class: "YCServiceSummary-aiPanel-warningTitle" }, "预警信号", -1),
1485
1486
  c("div", Fe, x(g.value), 1),
1486
- f.value === "公路气象服务" ? (v(), s("div", Ie, [c("div", Le, [n[9] ||= c("div", { class: "YCServiceSummary-aiPanel-chartTitle" }, "高速公路实况状态", -1), d(V, p(t, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])]), c("div", Re, [n[10] ||= c("div", { class: "YCServiceSummary-aiPanel-chartTitle" }, "高速公路预报状态", -1), d(ce, p(t, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])])])) : o("", !0),
1487
- f.value === "地质灾害风险分析服务" ? (v(), s("div", ze, [c("div", Be, [n[11] ||= c("div", { class: "YCServiceSummary-aiPanel-chartTitle" }, "地质灾害实况报警", -1), d(fe, p(t, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])]), c("div", Ve, [n[12] ||= c("div", { class: "YCServiceSummary-aiPanel-chartTitle" }, "地质灾害预报报警", -1), d(me, p(t, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])])])) : o("", !0),
1488
- f.value === "水库灾害风险分析服务" ? (v(), s("div", He, [c("div", Ue, [n[13] ||= c("div", { class: "YCServiceSummary-aiPanel-chartTitle" }, "水库灾害实况报警", -1), d(_e, p(t, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])]), c("div", We, [n[14] ||= c("div", { class: "YCServiceSummary-aiPanel-chartTitle" }, "水库灾害预报报警", -1), d(Z, p(t, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])])])) : o("", !0),
1489
- f.value === "锂电矿区气象服务" ? (v(), s("div", Ge, [c("div", Ke, [n[15] ||= c("div", { class: "YCServiceSummary-aiPanel-chartTitle" }, "锂电矿区实况预警", -1), d(ye, p(t, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])]), c("div", qe, [n[16] ||= c("div", { class: "YCServiceSummary-aiPanel-chartTitle" }, "锂电矿区预报报警", -1), d(Ce, p(t, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])])])) : o("", !0)
1487
+ f.value === "公路气象服务" ? (v(), s("div", Ie, [c("div", Le, [t[9] ||= c("div", { class: "YCServiceSummary-aiPanel-chartTitle" }, "高速公路实况状态", -1), d(V, p(n, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])]), c("div", Re, [t[10] ||= c("div", { class: "YCServiceSummary-aiPanel-chartTitle" }, "高速公路预报状态", -1), d(ce, p(n, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])])])) : o("", !0),
1488
+ f.value === "地质灾害风险分析服务" ? (v(), s("div", ze, [c("div", Be, [t[11] ||= c("div", { class: "YCServiceSummary-aiPanel-chartTitle" }, "地质灾害实况报警", -1), d(fe, p(n, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])]), c("div", Ve, [t[12] ||= c("div", { class: "YCServiceSummary-aiPanel-chartTitle" }, "地质灾害预报报警", -1), d(me, p(n, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])])])) : o("", !0),
1489
+ f.value === "水库灾害风险分析服务" ? (v(), s("div", He, [c("div", Ue, [t[13] ||= c("div", { class: "YCServiceSummary-aiPanel-chartTitle" }, "水库灾害实况报警", -1), d(_e, p(n, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])]), c("div", We, [t[14] ||= c("div", { class: "YCServiceSummary-aiPanel-chartTitle" }, "水库灾害预报报警", -1), d(Z, p(n, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])])])) : o("", !0),
1490
+ f.value === "锂电矿区气象服务" ? (v(), s("div", Ge, [c("div", Ke, [t[15] ||= c("div", { class: "YCServiceSummary-aiPanel-chartTitle" }, "锂电矿区实况预警", -1), d(ye, p(n, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])]), c("div", qe, [t[16] ||= c("div", { class: "YCServiceSummary-aiPanel-chartTitle" }, "锂电矿区预报报警", -1), d(Ce, p(n, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])])])) : o("", !0)
1490
1491
  ]),
1491
1492
  c("div", Je, [c("div", Ye, [c("span", Xe, x(E.value), 1), c("div", Ze, [w.value ? (v(), s("button", {
1492
1493
  key: 0,
1493
1494
  class: "YCServiceSummary-material-btn YCServiceSummary-material-btn--edit",
1494
- onClick: n[2] ||= (e) => z("edit")
1495
- }, [...n[18] ||= [c("svg", {
1495
+ onClick: t[2] ||= (e) => z("edit")
1496
+ }, [...t[18] ||= [c("svg", {
1496
1497
  viewBox: "0 0 24 24",
1497
1498
  width: "12",
1498
1499
  height: "12",
1499
1500
  fill: "currentColor"
1500
1501
  }, [c("path", { d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a.996.996 0 000-1.41l-2.34-2.34a.996.996 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z" })], -1), u(" 编辑 ", -1)]])) : o("", !0), c("button", {
1501
1502
  class: "YCServiceSummary-material-btn YCServiceSummary-material-btn--download",
1502
- onClick: n[3] ||= (e) => z("download")
1503
- }, [...n[19] ||= [c("svg", {
1503
+ onClick: t[3] ||= (e) => z("download")
1504
+ }, [...t[19] ||= [c("svg", {
1504
1505
  viewBox: "0 0 24 24",
1505
1506
  width: "12",
1506
1507
  height: "12",
@@ -1512,11 +1513,11 @@ var D = { class: "YCAIChatPanel" }, O = {
1512
1513
  alt: E.value
1513
1514
  }, null, 8, $e))), 128))])])
1514
1515
  ]),
1515
- c("div", et, [d(L, p(t, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])]),
1516
+ c("div", et, [d(L, p(n, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])]),
1516
1517
  k.value ? (v(), s("div", tt, [c("div", nt, [c("div", rt, [c("span", it, x(P.value), 1), c("div", { class: "YCServiceSummary-editorDialog-actions" }, [c("button", {
1517
1518
  class: "YCServiceSummary-editorDialog-btn",
1518
1519
  onClick: R
1519
- }, [...n[20] ||= [c("svg", {
1520
+ }, [...t[20] ||= [c("svg", {
1520
1521
  viewBox: "0 0 24 24",
1521
1522
  width: "12",
1522
1523
  height: "12",
@@ -1525,7 +1526,7 @@ var D = { class: "YCAIChatPanel" }, O = {
1525
1526
  class: "YCServiceSummary-editorDialog-close",
1526
1527
  title: "关闭",
1527
1528
  onClick: se
1528
- }, [...n[21] ||= [c("svg", {
1529
+ }, [...t[21] ||= [c("svg", {
1529
1530
  viewBox: "0 0 24 24",
1530
1531
  width: "14",
1531
1532
  height: "14",
@@ -1536,7 +1537,7 @@ var D = { class: "YCAIChatPanel" }, O = {
1536
1537
  ref: M,
1537
1538
  class: "YCServiceSummary-editorDialog-container"
1538
1539
  }, null, 512),
1539
- A.value ? (v(), s("div", ot, [...n[22] ||= [c("span", { class: "YCServiceSummary-editorDialog-spinner" }, null, -1), c("span", null, "正在加载文档编辑器...", -1)]])) : o("", !0),
1540
+ A.value ? (v(), s("div", ot, [...t[22] ||= [c("span", { class: "YCServiceSummary-editorDialog-spinner" }, null, -1), c("span", null, "正在加载文档编辑器...", -1)]])) : o("", !0),
1540
1541
  j.value ? (v(), s("div", st, [c("span", ct, x(j.value), 1), c("button", {
1541
1542
  class: "YCServiceSummary-editorDialog-retryBtn",
1542
1543
  onClick: I