nxd-plugin 1.8.36 → 1.8.37

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 (85) hide show
  1. package/dist/chunks/YCServiceSummary-tHEqhFHj.mjs +2 -0
  2. package/dist/chunks/{component-Agent-D29NaL88.mjs → component-Agent-DqXO06Ql.mjs} +27605 -1519
  3. package/dist/chunks/{component-AiChat-Bzf6wZyI.mjs → component-AiChat-C8NFYtVc.mjs} +155 -151
  4. package/dist/chunks/{component-AqiMonitor-gS8g8KDE.mjs → component-AqiMonitor-WvrknfI9.mjs} +9 -9
  5. package/dist/chunks/{component-ChartCumulativePre-CvyKwsPW.mjs → component-ChartCumulativePre-B9Prk8Sx.mjs} +7 -7
  6. package/dist/chunks/{component-ChartServiceMaterial-KRWvovRh.mjs → component-ChartServiceMaterial-dSZ_Pec0.mjs} +6 -6
  7. package/dist/chunks/{component-Duty-i4nBQusH.mjs → component-Duty-CcPTE385.mjs} +6 -6
  8. package/dist/chunks/{component-EarlyWarningStatistic-CXrIkKI_.mjs → component-EarlyWarningStatistic-Ug-1jfiU.mjs} +6 -6
  9. package/dist/chunks/{component-EarlyWarningStatistic2-D-zuoouJ.mjs → component-EarlyWarningStatistic2-BnZqgK4P.mjs} +15 -15
  10. package/dist/chunks/{component-Forecast72h-C2m-Ne5P.mjs → component-Forecast72h-5DGIhVUd.mjs} +16 -16
  11. package/dist/chunks/{component-GeologyLiveAlarm-C3Ssmndq.mjs → component-GeologyLiveAlarm-Bg710d1g.mjs} +7 -7
  12. package/dist/chunks/{component-GridForecastMsg-LDtXqNeM.mjs → component-GridForecastMsg-D0jzurbN.mjs} +8 -8
  13. package/dist/chunks/{component-HDSeaLegend-BmNyQHuI.mjs → component-HDSeaLegend-D5FWHvmR.mjs} +2 -2
  14. package/dist/chunks/component-HdCameraList-4ArboSf0.mjs +916 -0
  15. package/dist/chunks/{component-HdFarmStation-BTOmaaWt.mjs → component-HdFarmStation-D9qZ2csY.mjs} +11 -11
  16. package/dist/chunks/{component-HdFarmStationDialog-CkH1eGWm.mjs → component-HdFarmStationDialog-DHGlfkae.mjs} +33 -33
  17. package/dist/chunks/{component-HdForecastProducts-BcKsIy_n.mjs → component-HdForecastProducts-qj9Yzh7D.mjs} +10 -10
  18. package/dist/chunks/{component-HdHeatChart-B-h_hgJp.mjs → component-HdHeatChart-Br63YpFN.mjs} +65 -63
  19. package/dist/chunks/{component-HdHeatChartDialog-BIsVNy9X.mjs → component-HdHeatChartDialog-DOkB8heB.mjs} +11 -11
  20. package/dist/chunks/{component-HdHeatService-CHzEmx91.mjs → component-HdHeatService-BeUpAmBA.mjs} +34 -34
  21. package/dist/chunks/{component-HdInsectDetailList-BQTfYfMc.mjs → component-HdInsectDetailList-C9tAtciq.mjs} +16 -16
  22. package/dist/chunks/{component-HdInsectList-D4Iarp80.mjs → component-HdInsectList-pU1-mQ-C.mjs} +18 -18
  23. package/dist/chunks/{component-HdMajorActivity-hlL1pGqv.mjs → component-HdMajorActivity-DSPYsbdQ.mjs} +23 -23
  24. package/dist/chunks/{component-HdObservation-woG4mrUI.mjs → component-HdObservation-osOGizJv.mjs} +10 -10
  25. package/dist/chunks/{component-HdPreSituation-CdWpaMIg.mjs → component-HdPreSituation-Ca_d4L11.mjs} +9 -9
  26. package/dist/chunks/{component-HdQxServiceEffects-yzTTrD3Y.mjs → component-HdQxServiceEffects-CtlLJVdx.mjs} +10 -10
  27. package/dist/chunks/{component-HdRadarList-D_N_guo4.mjs → component-HdRadarList-CgWMdwBo.mjs} +3 -3
  28. package/dist/chunks/{component-HdRadarTime-DybdASv9.mjs → component-HdRadarTime-Bp7D80GJ.mjs} +12 -12
  29. package/dist/chunks/{component-HdRadarTimeLine-DHT424Im.mjs → component-HdRadarTimeLine-DfOce6fK.mjs} +13 -13
  30. package/dist/chunks/{component-HdRisk-DcNOlbLx.mjs → component-HdRisk-Bd3if-1-.mjs} +11 -11
  31. package/dist/chunks/{component-HdSeaCase-ChC0ymj7.mjs → component-HdSeaCase-CbY3FsOy.mjs} +26 -26
  32. package/dist/chunks/{component-HdServiceMarterial-BuRNsOe2.mjs → component-HdServiceMarterial-B7FEviHO.mjs} +17 -17
  33. package/dist/chunks/{component-HdServiceRequirements-CGS2T6WP.mjs → component-HdServiceRequirements-DKJ8uQja.mjs} +13 -13
  34. package/dist/chunks/{component-HdSoil-JM7eY_Eh.mjs → component-HdSoil-ztBxJspH.mjs} +11 -11
  35. package/dist/chunks/{component-HdSoilDetailList-CGJatowZ.mjs → component-HdSoilDetailList-1gMQt-uL.mjs} +12 -12
  36. package/dist/chunks/{component-HdStationTem-BnGd0Kr8.mjs → component-HdStationTem-DfJ0I_2S.mjs} +17 -17
  37. package/dist/chunks/{component-HdSuggestion-Bu3p88AM.mjs → component-HdSuggestion-FXvLu_OD.mjs} +13 -13
  38. package/dist/chunks/{component-HdThreeWeatherTrend-gBmaKPJO.mjs → component-HdThreeWeatherTrend-DGLSVUb8.mjs} +18 -18
  39. package/dist/chunks/{component-HdWaveForcast-DAomA302.mjs → component-HdWaveForcast-dTEB0h8d.mjs} +11 -11
  40. package/dist/chunks/{component-HighQuality-B5w1Oj8P.mjs → component-HighQuality-DZGJXvJC.mjs} +16 -16
  41. package/dist/chunks/{component-HighWayEarlyWarningRed-D6__uUfN.mjs → component-HighWayEarlyWarningRed-F0q1FCTw.mjs} +16 -16
  42. package/dist/chunks/{component-HighWayFreeze-xhldTKjj.mjs → component-HighWayFreeze-d4Xwkwf1.mjs} +8 -8
  43. package/dist/chunks/{component-HighwayLiveAlarm-DcerA_u-.mjs → component-HighwayLiveAlarm-ChAdlgNB.mjs} +6 -6
  44. package/dist/chunks/{component-HighwayLiveAlarmNew-BLJnYWBS.mjs → component-HighwayLiveAlarmNew-B-KnOey_.mjs} +11 -11
  45. package/dist/chunks/{component-HighwayStations-CmK4R6Wm.mjs → component-HighwayStations-CknEywO_.mjs} +6 -6
  46. package/dist/chunks/{component-HighwayWeatherForecast-BctSpjXK.mjs → component-HighwayWeatherForecast-B4szOq2G.mjs} +9 -9
  47. package/dist/chunks/{component-IframeWeb-BLQFQ6jc.mjs → component-IframeWeb-iDh9lrPn.mjs} +1 -1
  48. package/dist/chunks/{component-ImageGeneration-DQ4OGc0D.mjs → component-ImageGeneration-CsIZ2Kz2.mjs} +2 -2
  49. package/dist/chunks/{component-IntroducePic-BP8vtQK5.mjs → component-IntroducePic-BggfUWvz.mjs} +13 -13
  50. package/dist/chunks/{component-LithiumBatteryMiningArea-BZtZ2YBw.mjs → component-LithiumBatteryMiningArea-RpuBju1r.mjs} +12 -12
  51. package/dist/chunks/{component-MapPopup-BZG6kZ9L.mjs → component-MapPopup-LFWUnUl3.mjs} +1 -1
  52. package/dist/chunks/{component-MaterialPreview-lC-1xPcu.mjs → component-MaterialPreview-DvNKoDNy.mjs} +5 -5
  53. package/dist/chunks/{component-PieLegend-wogLQDom.mjs → component-PieLegend-B2Nor3pz.mjs} +1 -1
  54. package/dist/chunks/{component-PrecipitationRanking-D8H4DZ6-.mjs → component-PrecipitationRanking-ClwjH24B.mjs} +27 -27
  55. package/dist/chunks/{component-RadarChart-DSM9HZzL.mjs → component-RadarChart-BMoy8MXR.mjs} +10 -10
  56. package/dist/chunks/{component-RadarLegend-C-9IG-GR.mjs → component-RadarLegend-rXlAb8lF.mjs} +1 -1
  57. package/dist/chunks/{component-RadarShortTerm-lgnAptGu.mjs → component-RadarShortTerm-4RS7HYWc.mjs} +13 -13
  58. package/dist/chunks/{component-RadarTime-CjVaenhV.mjs → component-RadarTime-W1ZVEA9e.mjs} +18 -18
  59. package/dist/chunks/{component-RenderMarkdown-f42yP-ij.mjs → component-RenderMarkdown-DO4bEFoj.mjs} +6 -6
  60. package/dist/chunks/{component-ReservoirLiveAlarm-Ctun5rt_.mjs → component-ReservoirLiveAlarm-ZD1RSFHm.mjs} +8 -8
  61. package/dist/chunks/{component-ServiceMaterial-QPWaL8VY.mjs → component-ServiceMaterial-DrxeAmRt.mjs} +9 -9
  62. package/dist/chunks/{component-ServiceMaterialsBtn-BM4fjaAw.mjs → component-ServiceMaterialsBtn-CZFRzpDr.mjs} +2 -2
  63. package/dist/chunks/{component-StationDialog-DUx5DNpl.mjs → component-StationDialog-NhNr3lY1.mjs} +9 -9
  64. package/dist/chunks/{component-StationList-CDlf1xJh.mjs → component-StationList-CSU1nUgF.mjs} +9 -9
  65. package/dist/chunks/{component-TimeBasedForecast-DOoea8hY.mjs → component-TimeBasedForecast-BObdyMNh.mjs} +10 -10
  66. package/dist/chunks/{component-Typhoon-Cl4n7nf1.mjs → component-Typhoon-AxGQ8VuM.mjs} +16 -16
  67. package/dist/chunks/{component-WarningLine-BM_UKefj.mjs → component-WarningLine-Biz0NEC8.mjs} +2 -2
  68. package/dist/chunks/{component-WarningSignal-BB09ahTi.mjs → component-WarningSignal-D5ux6LCy.mjs} +17 -17
  69. package/dist/chunks/{component-WeatherForecast-d92kvD06.mjs → component-WeatherForecast-DnvELAB8.mjs} +16 -16
  70. package/dist/chunks/{component-YCDataMonitor-D1jl2sEw.mjs → component-YCDataMonitor-Dumu7_mw.mjs} +16 -16
  71. package/dist/chunks/{component-YCDataService-DG60--e8.mjs → component-YCDataService-CibX3y21.mjs} +10 -10
  72. package/dist/chunks/{component-YCHighWaySummary-CRzdB9gf.mjs → component-YCHighWaySummary-B4rfNY9B.mjs} +7 -7
  73. package/dist/chunks/{component-YCHome-BQrWRywc.mjs → component-YCHome-BgH2uOoL.mjs} +36 -36
  74. package/dist/chunks/{component-YCHomeLegend-D8PCLUMe.mjs → component-YCHomeLegend-BpForfu4.mjs} +2 -2
  75. package/dist/chunks/{component-YCLoginNew-Dcm8obmh.mjs → component-YCLoginNew-BsQr4jFy.mjs} +17 -17
  76. package/dist/chunks/{component-YCServiceSummary-5xh4q3d6.mjs → component-YCServiceSummary-CnnEfTaE.mjs} +162 -162
  77. package/dist/components/Agent/Agent.vue.d.ts +1 -0
  78. package/dist/nxd-plugin.mjs +73 -73
  79. package/dist/styles/component-Agent.css +1 -1
  80. package/dist/styles/component-AiChat.css +1 -1
  81. package/dist/styles/component-HdHeatChart.css +1 -1
  82. package/dist/styles/component-YCLoginNew.css +1 -1
  83. package/package.json +1 -1
  84. package/dist/chunks/YCServiceSummary-CPxUo9rG.mjs +0 -2
  85. package/dist/chunks/component-HdCameraList-C5U48T7e.mjs +0 -26871
@@ -1,4 +1,4 @@
1
- import { f as e, l as t, n } from "./component-Agent-D29NaL88.mjs";
1
+ import { d as e, i as t, m as n } from "./component-Agent-DqXO06Ql.mjs";
2
2
  import { ElLoadingDirective as r } from "element-plus/es";
3
3
  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
4
  import * as T from "echarts";
@@ -13,7 +13,7 @@ var D = { class: "YCAIChatPanel" }, O = {
13
13
  }, j = ["innerHTML"], M = {
14
14
  key: 0,
15
15
  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__ */ t(/* @__PURE__ */ f({
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
17
  __name: "YCAIChatPanel",
18
18
  props: [
19
19
  "appKey",
@@ -26,8 +26,8 @@ var D = { class: "YCAIChatPanel" }, O = {
26
26
  "ids",
27
27
  "theme"
28
28
  ],
29
- setup(t) {
30
- let r = t, u = [
29
+ setup(e) {
30
+ let r = e, u = [
31
31
  "查数据",
32
32
  "查知识",
33
33
  "查材料"
@@ -65,21 +65,21 @@ var D = { class: "YCAIChatPanel" }, O = {
65
65
  console.error("[YCAIChatPanel] 登录失败:", e);
66
66
  }
67
67
  }, 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 t = r.ids?.subMenu;
69
- if (!t?.id) {
68
+ let e = r.ids?.subMenu;
69
+ if (!e?.id) {
70
70
  console.warn("[YCAIChatPanel] 未配置 subMenu 工作流 id");
71
71
  return;
72
72
  }
73
73
  try {
74
- let n = await e({
74
+ let t = await n({
75
75
  appKey: r.appKey,
76
76
  appSalt: r.appSalt,
77
- id: t.id,
77
+ id: e.id,
78
78
  variables: { newParam: "subMenu" },
79
79
  baseHttp: r.baseHttp.replace(/\/$/, ""),
80
- reqType: t.reqType || "post",
81
- isFormData: t.isFormData ?? !1
82
- }), i = n?.data?.result ?? n?.data;
80
+ reqType: e.reqType || "post",
81
+ isFormData: e.isFormData ?? !1
82
+ }), i = t?.data?.result ?? t?.data;
83
83
  if (typeof i == "string") try {
84
84
  i = JSON.parse(i);
85
85
  } catch {
@@ -112,7 +112,7 @@ var D = { class: "YCAIChatPanel" }, O = {
112
112
  R.value = e, p.value = e.content || "", m(() => {
113
113
  $(), d.value?.focus();
114
114
  });
115
- }, he = (e) => n(e || "").replace(/>\n+</g, "><"), q = async () => {
115
+ }, he = (e) => t(e || "").replace(/>\n+</g, "><"), q = async () => {
116
116
  let e = p.value.trim(), t = T.value || L.value;
117
117
  if (!(!e || !t || C.value)) {
118
118
  T.value = t, L.value = t, C.value = !0, H.value.push({
@@ -132,13 +132,13 @@ var D = { class: "YCAIChatPanel" }, O = {
132
132
  console.error("[YCAIChatPanel] 发送失败:", e), Y("请求失败,请稍后重试", "error"), C.value = !1;
133
133
  }
134
134
  }
135
- }, ge = async (t, n) => {
135
+ }, ge = async (e, t) => {
136
136
  try {
137
- let i = await e({
137
+ let i = await n({
138
138
  appKey: r.appKey,
139
139
  appSalt: r.appSalt,
140
- id: n,
141
- variables: { newParam: t },
140
+ id: t,
141
+ variables: { newParam: e },
142
142
  baseHttp: r.baseHttp.replace(/\/$/, ""),
143
143
  reqType: "post",
144
144
  isFormData: !1
@@ -265,7 +265,7 @@ var D = { class: "YCAIChatPanel" }, O = {
265
265
  }, [c("path", { d: "M2.01 21L23 12 2.01 3 2 10l15 2-15 2z" })], -1)]], 8, ie)])])
266
266
  ]));
267
267
  }
268
- }), [["__scopeId", "data-v-c958b0ae"]]), R = ["element-loading-background"], z = "#ff4d4f", B = "#52c41a", V = /* @__PURE__ */ t(/* @__PURE__ */ f({
268
+ }), [["__scopeId", "data-v-c958b0ae"]]), R = ["element-loading-background"], z = "#ff4d4f", B = "#52c41a", V = /* @__PURE__ */ e(/* @__PURE__ */ f({
269
269
  __name: "YCServiceSummaryRefineAnalysis",
270
270
  props: [
271
271
  "appKey",
@@ -278,8 +278,8 @@ var D = { class: "YCAIChatPanel" }, O = {
278
278
  "ids",
279
279
  "theme"
280
280
  ],
281
- setup(t) {
282
- 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 = () => {
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 = () => {
283
283
  let e = o.value;
284
284
  return e && getComputedStyle(e).getPropertyValue("--yc-chart-label").trim() || "#333";
285
285
  };
@@ -289,21 +289,21 @@ var D = { class: "YCAIChatPanel" }, O = {
289
289
  window.removeEventListener("resize", O), l && l.dispose();
290
290
  });
291
291
  let p = async () => {
292
- let t = n.ids?.road;
293
- if (!t?.id) {
292
+ let e = t.ids?.road;
293
+ if (!e?.id) {
294
294
  console.warn("[YCServiceSummaryRefineAnalysis] ids.road 未配置");
295
295
  return;
296
296
  }
297
297
  u.value = !0;
298
298
  try {
299
- let r = (await e({
300
- appKey: n.appKey,
301
- appSalt: n.appSalt,
302
- id: t.id,
299
+ let r = (await n({
300
+ appKey: t.appKey,
301
+ appSalt: t.appSalt,
302
+ id: e.id,
303
303
  variables: {},
304
- baseHttp: n.baseHttp,
305
- reqType: t.reqType,
306
- isFormData: t.isFormData
304
+ baseHttp: t.baseHttp,
305
+ reqType: e.reqType,
306
+ isFormData: e.isFormData
307
307
  }))?.data?.result?.ds;
308
308
  if (typeof r == "string") try {
309
309
  r = JSON.parse(r);
@@ -368,7 +368,7 @@ var D = { class: "YCAIChatPanel" }, O = {
368
368
  }]
369
369
  });
370
370
  };
371
- C(() => n.theme, async () => {
371
+ C(() => t.theme, async () => {
372
372
  await m(), D();
373
373
  });
374
374
  let O = () => {
@@ -387,7 +387,7 @@ var D = { class: "YCAIChatPanel" }, O = {
387
387
  }, null, 512)], 8, R)), [[n, u.value]]);
388
388
  };
389
389
  }
390
- }), [["__scopeId", "data-v-118dfe5e"]]), H = ["element-loading-background"], U = "#ff4d4f", W = "#52c41a", ce = /* @__PURE__ */ t(/* @__PURE__ */ f({
390
+ }), [["__scopeId", "data-v-118dfe5e"]]), H = ["element-loading-background"], U = "#ff4d4f", W = "#52c41a", ce = /* @__PURE__ */ e(/* @__PURE__ */ f({
391
391
  __name: "YCServiceSummaryTrafficAnalysis",
392
392
  props: [
393
393
  "appKey",
@@ -400,8 +400,8 @@ var D = { class: "YCAIChatPanel" }, O = {
400
400
  "ids",
401
401
  "theme"
402
402
  ],
403
- setup(t) {
404
- 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 = () => {
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 = () => {
405
405
  let e = o.value;
406
406
  return e && getComputedStyle(e).getPropertyValue("--yc-chart-label").trim() || "#333";
407
407
  };
@@ -411,21 +411,21 @@ var D = { class: "YCAIChatPanel" }, O = {
411
411
  window.removeEventListener("resize", S), l && l.dispose();
412
412
  });
413
413
  let p = async () => {
414
- let t = n.ids?.shortTerm;
415
- if (!t?.id) {
414
+ let e = t.ids?.shortTerm;
415
+ if (!e?.id) {
416
416
  console.warn("[YCServiceSummaryTrafficAnalysis] ids.shortTerm 未配置");
417
417
  return;
418
418
  }
419
419
  u.value = !0;
420
420
  try {
421
- let r = (await e({
422
- appKey: n.appKey,
423
- appSalt: n.appSalt,
424
- id: t.id,
421
+ let r = (await n({
422
+ appKey: t.appKey,
423
+ appSalt: t.appSalt,
424
+ id: e.id,
425
425
  variables: {},
426
- baseHttp: n.baseHttp,
427
- reqType: t.reqType,
428
- isFormData: t.isFormData
426
+ baseHttp: t.baseHttp,
427
+ reqType: e.reqType,
428
+ isFormData: e.isFormData
429
429
  }))?.data?.result?.ds;
430
430
  if (typeof r == "string") try {
431
431
  r = JSON.parse(r);
@@ -486,7 +486,7 @@ var D = { class: "YCAIChatPanel" }, O = {
486
486
  }]
487
487
  });
488
488
  };
489
- C(() => n.theme, async () => {
489
+ C(() => t.theme, async () => {
490
490
  await m(), x();
491
491
  });
492
492
  let S = () => {
@@ -505,7 +505,7 @@ var D = { class: "YCAIChatPanel" }, O = {
505
505
  }, null, 512)], 8, H)), [[n, u.value]]);
506
506
  };
507
507
  }
508
- }), [["__scopeId", "data-v-ec9e589d"]]), le = ["element-loading-background"], ue = "#ff4d4f", de = "#52c41a", fe = /* @__PURE__ */ t(/* @__PURE__ */ f({
508
+ }), [["__scopeId", "data-v-ec9e589d"]]), le = ["element-loading-background"], ue = "#ff4d4f", de = "#52c41a", fe = /* @__PURE__ */ e(/* @__PURE__ */ f({
509
509
  __name: "YCServiceSummaryGeologyRefineAnalysis",
510
510
  props: [
511
511
  "appKey",
@@ -518,8 +518,8 @@ var D = { class: "YCAIChatPanel" }, O = {
518
518
  "ids",
519
519
  "theme"
520
520
  ],
521
- setup(t) {
522
- 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 = () => {
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 = () => {
523
523
  let e = o.value;
524
524
  return e && getComputedStyle(e).getPropertyValue("--yc-chart-label").trim() || "#333";
525
525
  };
@@ -529,21 +529,21 @@ var D = { class: "YCAIChatPanel" }, O = {
529
529
  window.removeEventListener("resize", x), l && l.dispose();
530
530
  });
531
531
  let p = async () => {
532
- let t = n.ids?.data;
533
- if (!t?.id) {
532
+ let e = t.ids?.data;
533
+ if (!e?.id) {
534
534
  console.warn("[YCServiceSummaryGeologyRefineAnalysis] ids.data 未配置");
535
535
  return;
536
536
  }
537
537
  u.value = !0;
538
538
  try {
539
- let r = (await e({
540
- appKey: n.appKey,
541
- appSalt: n.appSalt,
542
- id: t.id,
539
+ let r = (await n({
540
+ appKey: t.appKey,
541
+ appSalt: t.appSalt,
542
+ id: e.id,
543
543
  variables: {},
544
- baseHttp: n.baseHttp,
545
- reqType: t.reqType,
546
- isFormData: t.isFormData
544
+ baseHttp: t.baseHttp,
545
+ reqType: e.reqType,
546
+ isFormData: e.isFormData
547
547
  }))?.data?.result?.ds;
548
548
  if (typeof r == "string") try {
549
549
  r = JSON.parse(r);
@@ -597,7 +597,7 @@ var D = { class: "YCAIChatPanel" }, O = {
597
597
  }]
598
598
  });
599
599
  };
600
- C(() => n.theme, async () => {
600
+ C(() => t.theme, async () => {
601
601
  await m(), b();
602
602
  });
603
603
  let x = () => {
@@ -616,7 +616,7 @@ var D = { class: "YCAIChatPanel" }, O = {
616
616
  }, null, 512)], 8, le)), [[n, u.value]]);
617
617
  };
618
618
  }
619
- }), [["__scopeId", "data-v-faed9df7"]]), G = ["element-loading-background"], pe = "#ff4d4f", K = "#52c41a", me = /* @__PURE__ */ t(/* @__PURE__ */ f({
619
+ }), [["__scopeId", "data-v-faed9df7"]]), G = ["element-loading-background"], pe = "#ff4d4f", K = "#52c41a", me = /* @__PURE__ */ e(/* @__PURE__ */ f({
620
620
  __name: "YCServiceSummaryGeologyTrafficAnalysis",
621
621
  props: [
622
622
  "appKey",
@@ -629,8 +629,8 @@ var D = { class: "YCAIChatPanel" }, O = {
629
629
  "ids",
630
630
  "theme"
631
631
  ],
632
- setup(t) {
633
- 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 = () => {
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 = () => {
634
634
  let e = o.value;
635
635
  return e && getComputedStyle(e).getPropertyValue("--yc-chart-label").trim() || "#333";
636
636
  };
@@ -640,21 +640,21 @@ var D = { class: "YCAIChatPanel" }, O = {
640
640
  window.removeEventListener("resize", S), l && l.dispose();
641
641
  });
642
642
  let p = async () => {
643
- let t = n.ids?.geologyShortTerm;
644
- if (!t?.id) {
643
+ let e = t.ids?.geologyShortTerm;
644
+ if (!e?.id) {
645
645
  console.warn("[YCServiceSummaryGeologyTrafficAnalysis] ids.geologyShortTerm 未配置");
646
646
  return;
647
647
  }
648
648
  u.value = !0;
649
649
  try {
650
- let r = (await e({
651
- appKey: n.appKey,
652
- appSalt: n.appSalt,
653
- id: t.id,
650
+ let r = (await n({
651
+ appKey: t.appKey,
652
+ appSalt: t.appSalt,
653
+ id: e.id,
654
654
  variables: {},
655
- baseHttp: n.baseHttp,
656
- reqType: t.reqType,
657
- isFormData: t.isFormData
655
+ baseHttp: t.baseHttp,
656
+ reqType: e.reqType,
657
+ isFormData: e.isFormData
658
658
  }))?.data?.result?.ds;
659
659
  if (typeof r == "string") try {
660
660
  r = JSON.parse(r);
@@ -715,7 +715,7 @@ var D = { class: "YCAIChatPanel" }, O = {
715
715
  }]
716
716
  });
717
717
  };
718
- C(() => n.theme, async () => {
718
+ C(() => t.theme, async () => {
719
719
  await m(), x();
720
720
  });
721
721
  let S = () => {
@@ -734,7 +734,7 @@ var D = { class: "YCAIChatPanel" }, O = {
734
734
  }, null, 512)], 8, G)), [[n, u.value]]);
735
735
  };
736
736
  }
737
- }), [["__scopeId", "data-v-32323a02"]]), he = ["element-loading-background"], q = "#ff4d4f", ge = "#52c41a", _e = /* @__PURE__ */ t(/* @__PURE__ */ f({
737
+ }), [["__scopeId", "data-v-32323a02"]]), he = ["element-loading-background"], q = "#ff4d4f", ge = "#52c41a", _e = /* @__PURE__ */ e(/* @__PURE__ */ f({
738
738
  __name: "YCServiceSummaryReservoirRefineAnalysis",
739
739
  props: [
740
740
  "appKey",
@@ -747,8 +747,8 @@ var D = { class: "YCAIChatPanel" }, O = {
747
747
  "ids",
748
748
  "theme"
749
749
  ],
750
- setup(t) {
751
- 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 = () => {
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 = () => {
752
752
  let e = o.value;
753
753
  return e && getComputedStyle(e).getPropertyValue("--yc-chart-label").trim() || "#333";
754
754
  };
@@ -758,21 +758,21 @@ var D = { class: "YCAIChatPanel" }, O = {
758
758
  window.removeEventListener("resize", x), l && l.dispose();
759
759
  });
760
760
  let p = async () => {
761
- let t = n.ids?.reservoirData;
762
- if (!t?.id) {
761
+ let e = t.ids?.reservoirData;
762
+ if (!e?.id) {
763
763
  console.warn("[YCServiceSummaryReservoirRefineAnalysis] ids.reservoirData 未配置");
764
764
  return;
765
765
  }
766
766
  u.value = !0;
767
767
  try {
768
- let r = (await e({
769
- appKey: n.appKey,
770
- appSalt: n.appSalt,
771
- id: t.id,
768
+ let r = (await n({
769
+ appKey: t.appKey,
770
+ appSalt: t.appSalt,
771
+ id: e.id,
772
772
  variables: {},
773
- baseHttp: n.baseHttp,
774
- reqType: t.reqType,
775
- isFormData: t.isFormData
773
+ baseHttp: t.baseHttp,
774
+ reqType: e.reqType,
775
+ isFormData: e.isFormData
776
776
  }))?.data?.result?.ds;
777
777
  if (typeof r == "string") try {
778
778
  r = JSON.parse(r);
@@ -826,7 +826,7 @@ var D = { class: "YCAIChatPanel" }, O = {
826
826
  }]
827
827
  });
828
828
  };
829
- C(() => n.theme, async () => {
829
+ C(() => t.theme, async () => {
830
830
  await m(), b();
831
831
  });
832
832
  let x = () => {
@@ -845,7 +845,7 @@ var D = { class: "YCAIChatPanel" }, O = {
845
845
  }, null, 512)], 8, he)), [[n, u.value]]);
846
846
  };
847
847
  }
848
- }), [["__scopeId", "data-v-8d675142"]]), J = ["element-loading-background"], Y = "#ff4d4f", X = "#52c41a", Z = /* @__PURE__ */ t(/* @__PURE__ */ f({
848
+ }), [["__scopeId", "data-v-8d675142"]]), J = ["element-loading-background"], Y = "#ff4d4f", X = "#52c41a", Z = /* @__PURE__ */ e(/* @__PURE__ */ f({
849
849
  __name: "YCServiceSummaryReservoirTrafficAnalysis",
850
850
  props: [
851
851
  "appKey",
@@ -858,8 +858,8 @@ var D = { class: "YCAIChatPanel" }, O = {
858
858
  "ids",
859
859
  "theme"
860
860
  ],
861
- setup(t) {
862
- 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 = () => {
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 = () => {
863
863
  let e = o.value;
864
864
  return e && getComputedStyle(e).getPropertyValue("--yc-chart-label").trim() || "#333";
865
865
  };
@@ -869,21 +869,21 @@ var D = { class: "YCAIChatPanel" }, O = {
869
869
  window.removeEventListener("resize", S), l && l.dispose();
870
870
  });
871
871
  let p = async () => {
872
- let t = n.ids?.reservoirShortTerm;
873
- if (!t?.id) {
872
+ let e = t.ids?.reservoirShortTerm;
873
+ if (!e?.id) {
874
874
  console.warn("[YCServiceSummaryReservoirTrafficAnalysis] ids.reservoirShortTerm 未配置");
875
875
  return;
876
876
  }
877
877
  u.value = !0;
878
878
  try {
879
- let r = (await e({
880
- appKey: n.appKey,
881
- appSalt: n.appSalt,
882
- id: t.id,
879
+ let r = (await n({
880
+ appKey: t.appKey,
881
+ appSalt: t.appSalt,
882
+ id: e.id,
883
883
  variables: {},
884
- baseHttp: n.baseHttp,
885
- reqType: t.reqType,
886
- isFormData: t.isFormData
884
+ baseHttp: t.baseHttp,
885
+ reqType: e.reqType,
886
+ isFormData: e.isFormData
887
887
  }))?.data?.result?.ds;
888
888
  if (typeof r == "string") try {
889
889
  r = JSON.parse(r);
@@ -944,7 +944,7 @@ var D = { class: "YCAIChatPanel" }, O = {
944
944
  }]
945
945
  });
946
946
  };
947
- C(() => n.theme, async () => {
947
+ C(() => t.theme, async () => {
948
948
  await m(), x();
949
949
  });
950
950
  let S = () => {
@@ -963,7 +963,7 @@ var D = { class: "YCAIChatPanel" }, O = {
963
963
  }, null, 512)], 8, J)), [[n, u.value]]);
964
964
  };
965
965
  }
966
- }), [["__scopeId", "data-v-56bb4ef3"]]), Q = ["element-loading-background"], $ = "#ff4d4f", ve = "#52c41a", ye = /* @__PURE__ */ t(/* @__PURE__ */ f({
966
+ }), [["__scopeId", "data-v-56bb4ef3"]]), Q = ["element-loading-background"], $ = "#ff4d4f", ve = "#52c41a", ye = /* @__PURE__ */ e(/* @__PURE__ */ f({
967
967
  __name: "YCServiceSummaryMiningAreaRefineAnalysis",
968
968
  props: [
969
969
  "appKey",
@@ -976,8 +976,8 @@ var D = { class: "YCAIChatPanel" }, O = {
976
976
  "ids",
977
977
  "theme"
978
978
  ],
979
- setup(t) {
980
- 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 = () => {
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 = () => {
981
981
  let e = o.value;
982
982
  return e && getComputedStyle(e).getPropertyValue("--yc-chart-label").trim() || "#333";
983
983
  };
@@ -990,21 +990,21 @@ var D = { class: "YCAIChatPanel" }, O = {
990
990
  let n = (Array.isArray(e) ? e : []).find((e) => e?.category === t);
991
991
  return Array.isArray(n?.area) ? n.area : [];
992
992
  }, h = async () => {
993
- let t = n.ids?.miningAreaCharts;
994
- if (!t?.id) {
993
+ let e = t.ids?.miningAreaCharts;
994
+ if (!e?.id) {
995
995
  console.warn("[YCServiceSummaryMiningAreaRefineAnalysis] ids.miningAreaCharts 未配置");
996
996
  return;
997
997
  }
998
998
  u.value = !0;
999
999
  try {
1000
- let r = await e({
1001
- appKey: n.appKey,
1002
- appSalt: n.appSalt,
1003
- id: t.id,
1000
+ let r = await n({
1001
+ appKey: t.appKey,
1002
+ appSalt: t.appSalt,
1003
+ id: e.id,
1004
1004
  variables: {},
1005
- baseHttp: n.baseHttp,
1006
- reqType: t.reqType,
1007
- isFormData: t.isFormData
1005
+ baseHttp: t.baseHttp,
1006
+ reqType: e.reqType,
1007
+ isFormData: e.isFormData
1008
1008
  }), a = r?.data?.result?.output ?? r?.data?.result?.ds;
1009
1009
  if (typeof a == "string") try {
1010
1010
  a = JSON.parse(a);
@@ -1055,7 +1055,7 @@ var D = { class: "YCAIChatPanel" }, O = {
1055
1055
  }]
1056
1056
  });
1057
1057
  };
1058
- C(() => n.theme, async () => {
1058
+ C(() => t.theme, async () => {
1059
1059
  await m(), b();
1060
1060
  });
1061
1061
  let x = () => {
@@ -1074,7 +1074,7 @@ var D = { class: "YCAIChatPanel" }, O = {
1074
1074
  }, null, 512)], 8, Q)), [[n, u.value]]);
1075
1075
  };
1076
1076
  }
1077
- }), [["__scopeId", "data-v-42e03332"]]), be = ["element-loading-background"], xe = "#ff4d4f", Se = "#52c41a", Ce = /* @__PURE__ */ t(/* @__PURE__ */ f({
1077
+ }), [["__scopeId", "data-v-42e03332"]]), be = ["element-loading-background"], xe = "#ff4d4f", Se = "#52c41a", Ce = /* @__PURE__ */ e(/* @__PURE__ */ f({
1078
1078
  __name: "YCServiceSummaryMiningAreaTrafficAnalysis",
1079
1079
  props: [
1080
1080
  "appKey",
@@ -1087,8 +1087,8 @@ var D = { class: "YCAIChatPanel" }, O = {
1087
1087
  "ids",
1088
1088
  "theme"
1089
1089
  ],
1090
- setup(t) {
1091
- 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 = () => {
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 = () => {
1092
1092
  let e = o.value;
1093
1093
  return e && getComputedStyle(e).getPropertyValue("--yc-chart-label").trim() || "#333";
1094
1094
  };
@@ -1101,21 +1101,21 @@ var D = { class: "YCAIChatPanel" }, O = {
1101
1101
  let n = (Array.isArray(e) ? e : []).find((e) => e?.category === t);
1102
1102
  return Array.isArray(n?.area) ? n.area : [];
1103
1103
  }, h = async () => {
1104
- let t = n.ids?.miningAreaCharts;
1105
- if (!t?.id) {
1104
+ let e = t.ids?.miningAreaCharts;
1105
+ if (!e?.id) {
1106
1106
  console.warn("[YCServiceSummaryMiningAreaTrafficAnalysis] ids.miningAreaCharts 未配置");
1107
1107
  return;
1108
1108
  }
1109
1109
  u.value = !0;
1110
1110
  try {
1111
- let r = await e({
1112
- appKey: n.appKey,
1113
- appSalt: n.appSalt,
1114
- id: t.id,
1111
+ let r = await n({
1112
+ appKey: t.appKey,
1113
+ appSalt: t.appSalt,
1114
+ id: e.id,
1115
1115
  variables: {},
1116
- baseHttp: n.baseHttp,
1117
- reqType: t.reqType,
1118
- isFormData: t.isFormData
1116
+ baseHttp: t.baseHttp,
1117
+ reqType: e.reqType,
1118
+ isFormData: e.isFormData
1119
1119
  }), a = r?.data?.result?.output ?? r?.data?.result?.ds;
1120
1120
  if (typeof a == "string") try {
1121
1121
  a = JSON.parse(a);
@@ -1166,7 +1166,7 @@ var D = { class: "YCAIChatPanel" }, O = {
1166
1166
  }]
1167
1167
  });
1168
1168
  };
1169
- C(() => n.theme, async () => {
1169
+ C(() => t.theme, async () => {
1170
1170
  await m(), b();
1171
1171
  });
1172
1172
  let x = () => {
@@ -1206,7 +1206,7 @@ var D = { class: "YCAIChatPanel" }, O = {
1206
1206
  }, st = {
1207
1207
  key: 1,
1208
1208
  class: "YCServiceSummary-editorDialog-error"
1209
- }, ct = { class: "YCServiceSummary-editorDialog-errorText" }, lt = /* @__PURE__ */ t(/* @__PURE__ */ f({
1209
+ }, ct = { class: "YCServiceSummary-editorDialog-errorText" }, lt = /* @__PURE__ */ e(/* @__PURE__ */ f({
1210
1210
  __name: "YCServiceSummary",
1211
1211
  props: [
1212
1212
  "appKey",
@@ -1219,8 +1219,8 @@ var D = { class: "YCAIChatPanel" }, O = {
1219
1219
  "ids",
1220
1220
  "showEditBtn"
1221
1221
  ],
1222
- setup(t) {
1223
- 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]) => ({
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]) => ({
1224
1224
  label: e.includes(":") ? e : `${e}:`,
1225
1225
  value: String(t)
1226
1226
  })), F = () => {
@@ -1231,20 +1231,20 @@ var D = { class: "YCAIChatPanel" }, O = {
1231
1231
  F();
1232
1232
  });
1233
1233
  let ne = async () => {
1234
- let t = n.ids?.baseData;
1235
- if (!t?.id) {
1234
+ let e = t.ids?.baseData;
1235
+ if (!e?.id) {
1236
1236
  console.warn("[YCServiceSummary] ids.baseData 未配置");
1237
1237
  return;
1238
1238
  }
1239
1239
  try {
1240
- let i = (await e({
1241
- appKey: n.appKey,
1242
- appSalt: n.appSalt,
1243
- id: t.id,
1240
+ let i = (await n({
1241
+ appKey: t.appKey,
1242
+ appSalt: t.appSalt,
1243
+ id: e.id,
1244
1244
  variables: {},
1245
- baseHttp: n.baseHttp,
1246
- reqType: t.reqType,
1247
- isFormData: t.isFormData
1245
+ baseHttp: t.baseHttp,
1246
+ reqType: e.reqType,
1247
+ isFormData: e.isFormData
1248
1248
  }))?.data?.result?.output;
1249
1249
  if (!Array.isArray(i) || i.length === 0) {
1250
1250
  console.warn("[YCServiceSummary] baseData 返回为空");
@@ -1265,7 +1265,7 @@ var D = { class: "YCAIChatPanel" }, O = {
1265
1265
  _(() => {
1266
1266
  ne();
1267
1267
  });
1268
- let re = (e) => e ? /^(https?:)?\/\//i.test(e) || e.startsWith("data:") || !n.baseHttp ? e : n.baseHttp.replace(/\/$/, "") + (e.startsWith("/") ? e : `/${e}`) : "", ie = (e) => {
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
1269
  let t = (e || "docx").toLowerCase();
1270
1270
  return [
1271
1271
  "xls",
@@ -1315,8 +1315,8 @@ var D = { class: "YCAIChatPanel" }, O = {
1315
1315
  A.value = !0, j.value = "";
1316
1316
  try {
1317
1317
  await ae();
1318
- let t = window.DocsAPI;
1319
- if (!t?.DocEditor) {
1318
+ let n = window.DocsAPI;
1319
+ if (!n?.DocEditor) {
1320
1320
  j.value = "OnlyOffice API 不可用,请检查服务地址和代理";
1321
1321
  return;
1322
1322
  }
@@ -1362,12 +1362,12 @@ var D = { class: "YCAIChatPanel" }, O = {
1362
1362
  }
1363
1363
  },
1364
1364
  editorConfig: {
1365
- callbackUrl: n.onlyofficeCallbackUrl,
1365
+ callbackUrl: t.onlyofficeCallbackUrl,
1366
1366
  mode: "edit",
1367
1367
  lang: "zh-CN",
1368
1368
  user: {
1369
- id: n.username || "user1",
1370
- name: n.username || "User"
1369
+ id: t.username || "user1",
1370
+ name: t.username || "User"
1371
1371
  },
1372
1372
  customization: {
1373
1373
  forcesave: !0,
@@ -1420,7 +1420,7 @@ var D = { class: "YCAIChatPanel" }, O = {
1420
1420
  };
1421
1421
  console.warn("key", s.document.key);
1422
1422
  try {
1423
- N = new t.DocEditor(a, s);
1423
+ N = new n.DocEditor(a, s);
1424
1424
  } catch (e) {
1425
1425
  console.error("[YCServiceSummary] new DocEditor 抛出异常:", e), j.value = "OnlyOffice 编辑器创建失败";
1426
1426
  }
@@ -1450,57 +1450,57 @@ var D = { class: "YCAIChatPanel" }, O = {
1450
1450
  }, z = (e) => {
1451
1451
  e === "edit" && oe(), e === "download" && R();
1452
1452
  };
1453
- return (e, t) => (v(), s("div", { class: h(["YCServiceSummary", { "is-dark": S.value }]) }, [
1453
+ return (e, n) => (v(), s("div", { class: h(["YCServiceSummary", { "is-dark": S.value }]) }, [
1454
1454
  c("div", we, [c("button", {
1455
1455
  class: h(["YCServiceSummary-themeBtn", { "is-active": !S.value }]),
1456
- onClick: t[0] ||= (e) => S.value = !1,
1456
+ onClick: n[0] ||= (e) => S.value = !1,
1457
1457
  title: "浅色"
1458
- }, [...t[4] ||= [c("svg", {
1458
+ }, [...n[4] ||= [c("svg", {
1459
1459
  viewBox: "0 0 24 24",
1460
1460
  width: "12",
1461
1461
  height: "12",
1462
1462
  fill: "currentColor"
1463
1463
  }, [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
1464
  class: h(["YCServiceSummary-themeBtn", { "is-active": S.value }]),
1465
- onClick: t[1] ||= (e) => S.value = !0,
1465
+ onClick: n[1] ||= (e) => S.value = !0,
1466
1466
  title: "深色"
1467
- }, [...t[5] ||= [c("svg", {
1467
+ }, [...n[5] ||= [c("svg", {
1468
1468
  viewBox: "0 0 24 24",
1469
1469
  width: "12",
1470
1470
  height: "12",
1471
1471
  fill: "currentColor"
1472
1472
  }, [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
1473
  c("div", Te, [
1474
- 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", {
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
1475
  key: e.title,
1476
- class: h(["YCServiceSummary-statCard", { "is-active": l.value === n }]),
1477
- onClick: (e) => l.value = n
1478
- }, [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", {
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", {
1479
1479
  key: e.label,
1480
1480
  class: "row"
1481
1481
  }, [c("span", null, x(e.label), 1), c("span", je, x(e.value), 1)]))), 128))])], 10, Oe))), 128))])]),
1482
1482
  c("div", Me, [
1483
- c("div", Ne, [c("div", Pe, [t[8] ||= c("span", { class: "icon" }, null, -1), u(" " + x(f.value) + " AI 分析 ", 1)])]),
1484
- t[17] ||= c("div", { class: "YCServiceSummary-aiPanel-warningTitle" }, "预警信号", -1),
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),
1485
1485
  c("div", Fe, x(g.value), 1),
1486
- 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),
1487
- 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),
1488
- 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),
1489
- 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)
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)
1490
1490
  ]),
1491
1491
  c("div", Je, [c("div", Ye, [c("span", Xe, x(E.value), 1), c("div", Ze, [w.value ? (v(), s("button", {
1492
1492
  key: 0,
1493
1493
  class: "YCServiceSummary-material-btn YCServiceSummary-material-btn--edit",
1494
- onClick: t[2] ||= (e) => z("edit")
1495
- }, [...t[18] ||= [c("svg", {
1494
+ onClick: n[2] ||= (e) => z("edit")
1495
+ }, [...n[18] ||= [c("svg", {
1496
1496
  viewBox: "0 0 24 24",
1497
1497
  width: "12",
1498
1498
  height: "12",
1499
1499
  fill: "currentColor"
1500
1500
  }, [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
1501
  class: "YCServiceSummary-material-btn YCServiceSummary-material-btn--download",
1502
- onClick: t[3] ||= (e) => z("download")
1503
- }, [...t[19] ||= [c("svg", {
1502
+ onClick: n[3] ||= (e) => z("download")
1503
+ }, [...n[19] ||= [c("svg", {
1504
1504
  viewBox: "0 0 24 24",
1505
1505
  width: "12",
1506
1506
  height: "12",
@@ -1512,11 +1512,11 @@ var D = { class: "YCAIChatPanel" }, O = {
1512
1512
  alt: E.value
1513
1513
  }, null, 8, $e))), 128))])])
1514
1514
  ]),
1515
- c("div", et, [d(L, p(n, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])]),
1515
+ c("div", et, [d(L, p(t, { theme: S.value ? "dark" : "light" }), null, 16, ["theme"])]),
1516
1516
  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
1517
  class: "YCServiceSummary-editorDialog-btn",
1518
1518
  onClick: R
1519
- }, [...t[20] ||= [c("svg", {
1519
+ }, [...n[20] ||= [c("svg", {
1520
1520
  viewBox: "0 0 24 24",
1521
1521
  width: "12",
1522
1522
  height: "12",
@@ -1525,7 +1525,7 @@ var D = { class: "YCAIChatPanel" }, O = {
1525
1525
  class: "YCServiceSummary-editorDialog-close",
1526
1526
  title: "关闭",
1527
1527
  onClick: se
1528
- }, [...t[21] ||= [c("svg", {
1528
+ }, [...n[21] ||= [c("svg", {
1529
1529
  viewBox: "0 0 24 24",
1530
1530
  width: "14",
1531
1531
  height: "14",
@@ -1536,7 +1536,7 @@ var D = { class: "YCAIChatPanel" }, O = {
1536
1536
  ref: M,
1537
1537
  class: "YCServiceSummary-editorDialog-container"
1538
1538
  }, null, 512),
1539
- A.value ? (v(), s("div", ot, [...t[22] ||= [c("span", { class: "YCServiceSummary-editorDialog-spinner" }, null, -1), c("span", null, "正在加载文档编辑器...", -1)]])) : o("", !0),
1539
+ A.value ? (v(), s("div", ot, [...n[22] ||= [c("span", { class: "YCServiceSummary-editorDialog-spinner" }, null, -1), c("span", null, "正在加载文档编辑器...", -1)]])) : o("", !0),
1540
1540
  j.value ? (v(), s("div", st, [c("span", ct, x(j.value), 1), c("button", {
1541
1541
  class: "YCServiceSummary-editorDialog-retryBtn",
1542
1542
  onClick: I