mixdashboards 1.0.73 → 1.0.74

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 (417) hide show
  1. package/dist/BaseComponent-CaCkjmmb.cjs +1 -0
  2. package/dist/{BaseComponent-CBagahPU.js → BaseComponent-NnwLq7Cf.js} +148 -122
  3. package/dist/{EChartComponentBase-cFfawl6h.js → EChartComponentBase-C3gcATBZ.js} +3 -3
  4. package/dist/{EChartComponentBase-dLE5F7Tt.cjs → EChartComponentBase-D7_ZiE7P.cjs} +1 -1
  5. package/dist/{EmergencyPlanPanel--jTGG89o.js → EmergencyPlanPanel-0EfbQlQm.js} +1 -1
  6. package/dist/{EmergencyPlanPanel-BJb-Bbxh.cjs → EmergencyPlanPanel-XDtQc5aN.cjs} +1 -1
  7. package/dist/{HistoryPlanDialog-C-QPdV4V.cjs → HistoryPlanDialog-fbBtPeVt.cjs} +1 -1
  8. package/dist/{HistoryPlanDialog-DerClU2U.js → HistoryPlanDialog-ihGqWXNI.js} +1 -1
  9. package/dist/{MarkerView-CtWJi5UZ.js → MarkerView-DDN8S7xE.js} +7 -7
  10. package/dist/{MonitoringMap-CNaGsq83.js → MonitoringMap-DysFrw3B.js} +2 -2
  11. package/dist/{MonitoringMap-B6RMbiIS.cjs → MonitoringMap-UT2OL3ca.cjs} +1 -1
  12. package/dist/{RoamController-DmBIwcAZ.js → RoamController-1rzpYesL.js} +1 -1
  13. package/dist/{UniverSheet-KI09RqKm.js → UniverSheet-CMWL98B8.js} +2 -2
  14. package/dist/{UniverSheet-CM-vvc23.cjs → UniverSheet-DeZ-y5mH.cjs} +1 -1
  15. package/dist/{VisualMapping-D-MA7S0X.js → VisualMapping-GwxHIgr-.js} +1 -1
  16. package/dist/{accelerationChart-HBCb2bRW.cjs → accelerationChart-BGjzOc4I.cjs} +1 -1
  17. package/dist/{accelerationChart-D7KNk5fI.js → accelerationChart-JNRxAqU5.js} +23 -23
  18. package/dist/{actionItem-Bx4mW0jP.cjs → actionItem-DDlL4pxR.cjs} +1 -1
  19. package/dist/{actionItem-BmNYzAXu.js → actionItem-DnrNafUu.js} +2 -2
  20. package/dist/{alarmLevelChart-Cvnw4z1w.cjs → alarmLevelChart-B4TglthF.cjs} +1 -1
  21. package/dist/{alarmLevelChart-DdSw2s7W.js → alarmLevelChart-D4ZPyGyd.js} +2 -2
  22. package/dist/{alertTable-CC3c8DFb.js → alertTable-IwL3PIbe.js} +2 -2
  23. package/dist/{alertTable-hH6HA9pY.cjs → alertTable-WmivR3n_.cjs} +1 -1
  24. package/dist/{aliasObjectSelectorDemo-yDiavTpG.js → aliasObjectSelectorDemo-DCcqetww.js} +9 -9
  25. package/dist/{aliasObjectSelectorDemo-C7E_fnCf.cjs → aliasObjectSelectorDemo-zcElLG44.cjs} +1 -1
  26. package/dist/{annualRainfallChart-B9ar8vo8.js → annualRainfallChart-CNqrXKJZ.js} +3 -3
  27. package/dist/{annualRainfallChart-C6JLSPIf.cjs → annualRainfallChart-DspMrDxt.cjs} +1 -1
  28. package/dist/{aqi-DEiCVIVa.cjs → aqi-B1bcKY5p.cjs} +1 -1
  29. package/dist/{aqi-BNc5QCM3.js → aqi-CdGE9-CD.js} +10 -10
  30. package/dist/{aqiIndass-Bowic_Pc.cjs → aqiIndass-BZpPo1tj.cjs} +1 -1
  31. package/dist/{aqiIndass-CAGV8_Uf.js → aqiIndass-CuKfMaYn.js} +30 -30
  32. package/dist/{areaDeformCurve-CSpR060t.js → areaDeformCurve-Chn4CE8w.js} +4 -4
  33. package/dist/{areaDeformCurve-CVy23kV2.cjs → areaDeformCurve-bNNNS8Cb.cjs} +1 -1
  34. package/dist/{arrayCard-NqoQKcE9.cjs → arrayCard-BYZWRop3.cjs} +1 -1
  35. package/dist/{arrayCard-PPDb7U6X.js → arrayCard-CVVWnZDk.js} +2 -2
  36. package/dist/{audio-Bw-GaYe1.cjs → audio-BeYg08W5.cjs} +1 -1
  37. package/dist/{audio-BJPFIQIr.js → audio-YTfr7Lqf.js} +2 -2
  38. package/dist/{axisAlignTicks-BqVUa467.js → axisAlignTicks-Chqgi59U.js} +2 -2
  39. package/dist/bar-1K14ZPKy.cjs +2 -0
  40. package/dist/bar-YhAAV2al.js +309 -0
  41. package/dist/bmp-Uj7Bu61U.js +2080 -0
  42. package/dist/bmp-vWIH5Cu7.cjs +1 -0
  43. package/dist/{box-DIHVOqrV.js → box-C8RIfuID.js} +2 -2
  44. package/dist/{box-CKuGsh2k.cjs → box-Cdzw27uU.cjs} +1 -1
  45. package/dist/{chartConfigPanel-BVdVXbs6.cjs → chartConfigPanel-D3voTkdQ.cjs} +1 -1
  46. package/dist/{chartConfigPanel-D1rO6SGh.js → chartConfigPanel-DLa3heKy.js} +1 -1
  47. package/dist/{circleBar-CBLcp4Xi.js → circleBar-DUSP-iMF.js} +15 -15
  48. package/dist/{circleBar-BzXqA-Cz.cjs → circleBar-Dc_qd4gk.cjs} +1 -1
  49. package/dist/{clock-DmWyBpo-.cjs → clock-0USfNfTc.cjs} +1 -1
  50. package/dist/{clock-4AMfFDGC.js → clock-Dk1zjBcJ.js} +2 -2
  51. package/dist/clt-BCHpLoab.cjs +1 -0
  52. package/dist/clt-Ba9Ov5WY.js +296 -0
  53. package/dist/cmc-CdDCboSm.cjs +1 -0
  54. package/dist/{cmc-Cjb5w3om.js → cmc-CsVB4uz3.js} +71 -63
  55. package/dist/cmp-BPM8lMqg.cjs +6 -0
  56. package/dist/{cmp-COJzlQPa.js → cmp-D4ZO7mz7.js} +54 -55
  57. package/dist/{conclusionCard-C-TT6znN.cjs → conclusionCard-BVHHtpxH.cjs} +1 -1
  58. package/dist/{conclusionCard-BQUlLFde.js → conclusionCard-BYR-fH4f.js} +2 -2
  59. package/dist/{controlList-5D5UIDQL.js → controlList-DYV1wgUY.js} +2 -2
  60. package/dist/{controlList-CIwzKylK.cjs → controlList-DsEyes9v.cjs} +1 -1
  61. package/dist/{controlRecordList-Cp5mmEQ1.js → controlRecordList-CBGpB41d.js} +2 -2
  62. package/dist/{controlRecordList-uEQ3ohmB.cjs → controlRecordList-j0pBrQiU.cjs} +1 -1
  63. package/dist/{controlRecordListAPP-B5d4x_xH.cjs → controlRecordListAPP-BktJCkFK.cjs} +1 -1
  64. package/dist/{controlRecordListAPP-p_skbQVD.js → controlRecordListAPP-CSt8rFZX.js} +2 -2
  65. package/dist/{crd-Dfl2XKAx.cjs → crd-C8IqmHc6.cjs} +1 -1
  66. package/dist/{crd-8gRWMf2Y.js → crd-Di7EfiY1.js} +2 -2
  67. package/dist/{createSeriesData-E53TTCAt.js → createSeriesData-BUgbWEWK.js} +2 -2
  68. package/dist/{createSeriesDataSimply-Bsly4zZA.js → createSeriesDataSimply-C7bzYYow.js} +2 -2
  69. package/dist/{ctrBtn-BzmFxucy.js → ctrBtn-BzMHJHA9.js} +94 -89
  70. package/dist/ctrBtn-Cj-AqUKM.cjs +1 -0
  71. package/dist/ctrSet-CnDBng-I.cjs +1 -0
  72. package/dist/ctrSet-DMkuRDFI.js +234 -0
  73. package/dist/ctrSwitch-BRfl35Aw.cjs +1 -0
  74. package/dist/{ctrSwitch-6nMHbIE7.js → ctrSwitch-FJgD05b0.js} +94 -88
  75. package/dist/{cursorHelper-DE0KU4_J.js → cursorHelper-BFbblC6t.js} +1 -1
  76. package/dist/{customGraphicKeyframeAnimation-BJ_z0kB3.js → customGraphicKeyframeAnimation-veqkTlqy.js} +17 -17
  77. package/dist/{dataManagement-BZiSmktM.js → dataManagement-CQoqc9Rh.js} +2 -2
  78. package/dist/{dataManagement-sQpuBaDz.cjs → dataManagement-CXbeNggN.cjs} +1 -1
  79. package/dist/{dataReport-D9Q9c43B.cjs → dataReport-BkIDOCdC.cjs} +1 -1
  80. package/dist/{dataReport-CbJzXeCE.js → dataReport-l2SE8HZx.js} +2 -2
  81. package/dist/{dataSample-BXwc06Sb.js → dataSample-Czrba8EC.js} +1 -1
  82. package/dist/{dataTable-BJ4SVFbu.cjs → dataTable-BdttKfHG.cjs} +1 -1
  83. package/dist/{dataTable-BuBB0b-A.js → dataTable-jf6qXfJJ.js} +1 -1
  84. package/dist/{datetime-B66VgJL1.cjs → datetime-BH9orUUf.cjs} +1 -1
  85. package/dist/{datetime-DO03QrXz.js → datetime-eht4XkmD.js} +2 -2
  86. package/dist/{deepClusterSlipSurface-BqT55vkY.cjs → deepClusterSlipSurface-CF_MN7sO.cjs} +1 -1
  87. package/dist/{deepClusterSlipSurface-DpSAXgFf.js → deepClusterSlipSurface-D2d52L50.js} +6 -6
  88. package/dist/{deepDataMatrix-CPrIOv5r.js → deepDataMatrix-DY1WmgGR.js} +7 -7
  89. package/dist/{deepDataMatrix-DZZaTMbD.cjs → deepDataMatrix-DqbCqz8d.cjs} +1 -1
  90. package/dist/{deepDisplacement3D-JlMej7-5.js → deepDisplacement3D-CuVVhd0X.js} +20 -21
  91. package/dist/{deepDisplacement3D-Cd9nwwPt.cjs → deepDisplacement3D-D3-KOmef.cjs} +60 -60
  92. package/dist/{deepDisplacementChart-CEaj2bUV.cjs → deepDisplacementChart-BwBojI9h.cjs} +1 -1
  93. package/dist/{deepDisplacementChart-CjlGpeHj.js → deepDisplacementChart-C_3eHTmR.js} +25 -25
  94. package/dist/{deepDisplacementChart-BiDt60xI.js → deepDisplacementChart-DFosjAQL.js} +4 -4
  95. package/dist/{deepDisplacementChart-CALM3gna.cjs → deepDisplacementChart-DzikjpBz.cjs} +1 -1
  96. package/dist/{deepDisplacementView-BpUw-b-i.js → deepDisplacementView-BNQaheci.js} +3 -3
  97. package/dist/{deepDisplacementView-CoSNzN1q.cjs → deepDisplacementView-gJdi6U9B.cjs} +1 -1
  98. package/dist/{deepNodeTemperatureChart-DfZq7kLx.js → deepNodeTemperatureChart-C5d-tyOA.js} +22 -22
  99. package/dist/{deepNodeTemperatureChart-DPN0rYir.cjs → deepNodeTemperatureChart-oMknBT7e.cjs} +1 -1
  100. package/dist/{deepTangentAngleChart-Ca01hah9.js → deepTangentAngleChart-C35d0nBR.js} +18 -18
  101. package/dist/{deepTangentAngleChart-Dg9PJspK.cjs → deepTangentAngleChart-C7b7sEab.cjs} +1 -1
  102. package/dist/{deepTemperatureField-BqDB97SW.cjs → deepTemperatureField-BnWHpVPm.cjs} +1 -1
  103. package/dist/{deepTemperatureField-CYBTjhEp.js → deepTemperatureField-DbGy0vHS.js} +25 -25
  104. package/dist/{deepTrendChart-B5BAHTeY.cjs → deepTrendChart-D676owsq.cjs} +1 -1
  105. package/dist/{deepTrendChart-DBjxV7_A.js → deepTrendChart-DdCYjiWZ.js} +18 -18
  106. package/dist/{deviceOnlineStatus-1eoHCl_-.js → deviceOnlineStatus-BH-2-UBD.js} +2 -2
  107. package/dist/{deviceOnlineStatus-DHzaAzCp.cjs → deviceOnlineStatus-DSuaeFZj.cjs} +1 -1
  108. package/dist/{deviceStatus-90rQa1uj.js → deviceStatus-CxjbfqGK.js} +15 -15
  109. package/dist/{deviceStatus-4BMy4qBD.cjs → deviceStatus-ySE9suGE.cjs} +1 -1
  110. package/dist/{displacementDataTable-BArwj-xp.js → displacementDataTable-CAYYafN7.js} +17 -17
  111. package/dist/{displacementDataTable-BLWjiaRQ.cjs → displacementDataTable-DwutxypE.cjs} +1 -1
  112. package/dist/{displacementTrajectoryChart-CxOPJVlD.js → displacementTrajectoryChart-ClUAsle_.js} +14 -14
  113. package/dist/{displacementTrajectoryChart-DfJMOCFJ.cjs → displacementTrajectoryChart-zya-qu9n.cjs} +1 -1
  114. package/dist/{displacementTrendChart-Cuxa5iTp.cjs → displacementTrendChart-DZj52qRD.cjs} +1 -1
  115. package/dist/{displacementTrendChart-4E6cDsX8.js → displacementTrendChart-xqe9LMp8.js} +17 -17
  116. package/dist/{dxf-BgklkksV.cjs → dxf-Cmr9xmL0.cjs} +1 -1
  117. package/dist/{dxf-BogwbJID.js → dxf-tZgpovsn.js} +2 -2
  118. package/dist/{dzc-CApfzriC.cjs → dzc-BwCEpLKp.cjs} +1 -1
  119. package/dist/{dzc-D7tTBLaA.js → dzc-C0VMyvsH.js} +9 -9
  120. package/dist/{echarts-BVht3HHb.js → echarts-Bp7QN4X6.js} +90 -90
  121. package/dist/{emergencyPlan-BuFz4XFc.cjs → emergencyPlan-CQtYRB5n.cjs} +1 -1
  122. package/dist/{emergencyPlan-CjbuX-N5.js → emergencyPlan-j1icRflR.js} +3 -3
  123. package/dist/{evn-DTPm72ZM.js → evn-B2F6pbqY.js} +2 -2
  124. package/dist/{evn-BcSenXF3.cjs → evn-B6WNZ0pv.cjs} +1 -1
  125. package/dist/{evolutionChart-D1dVKWOt.js → evolutionChart-C1rPjVsB.js} +5 -5
  126. package/dist/{evolutionChart-CrwR8i40.cjs → evolutionChart-q9UtSs9r.cjs} +1 -1
  127. package/dist/{fileViewer-BNHwlZRa.js → fileViewer-Bj4FYg5G.js} +13 -13
  128. package/dist/{fileViewer-BUuST3Rp.cjs → fileViewer-ZO55zvWU.cjs} +1 -1
  129. package/dist/{filterBar-CRJinh5K.js → filterBar-CIYpcc9y.js} +2 -2
  130. package/dist/{filterBar-BJzjPFFg.cjs → filterBar-D7js_Q7g.cjs} +1 -1
  131. package/dist/{fireCombustionCurve-BGdJ1ybj.cjs → fireCombustionCurve-CiVXjt9E.cjs} +1 -1
  132. package/dist/{fireCombustionCurve-BZ6qJ1kq.js → fireCombustionCurve-DEHjb7Lp.js} +3 -3
  133. package/dist/{fireFilterBar-KvvbsCsZ.js → fireFilterBar-BzgnlY5d.js} +2 -2
  134. package/dist/{fireFilterBar-DZejT0oL.cjs → fireFilterBar-CkQU9Yaf.cjs} +1 -1
  135. package/dist/{fireHistoryTable-80ygqnOG.js → fireHistoryTable-BoAArvjx.js} +2 -2
  136. package/dist/{fireHistoryTable-CMSGKb3w.cjs → fireHistoryTable-JCY4nLos.cjs} +1 -1
  137. package/dist/gag-CrUeBa30.cjs +1 -0
  138. package/dist/gag-DCGVulGC.js +168 -0
  139. package/dist/{gasStationList-DjJtXnqL.cjs → gasStationList-CN2y3zri.cjs} +1 -1
  140. package/dist/{gasStationList-DM-laJsi.js → gasStationList-CifrfkH0.js} +3 -3
  141. package/dist/{geo3dViewer-CL_89mQf.cjs → geo3dViewer-BSAjBg2m.cjs} +1 -1
  142. package/dist/{geo3dViewer-FhmMIvMJ.js → geo3dViewer-Du775tJ7.js} +3 -3
  143. package/dist/{glbModel-B0nWYYJQ.js → glbModel-2uTNL367.js} +2 -2
  144. package/dist/{glbModel-DakMJal6.cjs → glbModel-Cm1M6hko.cjs} +1 -1
  145. package/dist/{globalObjectSelector-Gv4srHhp.js → globalObjectSelector-CEpO2o2w.js} +1 -1
  146. package/dist/{globalObjectSelector-jNzZxdnL.cjs → globalObjectSelector-W_YToM6x.cjs} +1 -1
  147. package/dist/{gnssFilterBar-kEIW7Tjs.cjs → gnssFilterBar-BSHEfiyz.cjs} +1 -1
  148. package/dist/{gnssFilterBar-C4rpyNw3.js → gnssFilterBar-DZYOL5nC.js} +2 -2
  149. package/dist/{gnssHistoryTable-DRKlP8-b.cjs → gnssHistoryTable-Ct98Vz6i.cjs} +1 -1
  150. package/dist/{gnssHistoryTable-CyMwQJ7_.js → gnssHistoryTable-naChmXHT.js} +2 -2
  151. package/dist/{gnssMapView-DpExCi0x.cjs → gnssMapView-CCW4_-Sn.cjs} +2 -2
  152. package/dist/{gnssMapView-EVufCGrW.js → gnssMapView-DouWOPLF.js} +6 -6
  153. package/dist/{gnssSectionProfile-CaJwF9wp.js → gnssSectionProfile-Be-THvQP.js} +4 -4
  154. package/dist/{gnssSectionProfile-DdcOMdNC.cjs → gnssSectionProfile-hzXQ4KzJ.cjs} +1 -1
  155. package/dist/{gnssTimeSeriesChart-y11Y8k2-.cjs → gnssTimeSeriesChart-CbMxKxjG.cjs} +1 -1
  156. package/dist/{gnssTimeSeriesChart-iffDvMNx.js → gnssTimeSeriesChart-DoMBz4zf.js} +2 -2
  157. package/dist/{gnssXYTrajectory-DGBGGDwi.cjs → gnssXYTrajectory-BNwqQna4.cjs} +1 -1
  158. package/dist/{gnssXYTrajectory-C_1fuLWn.js → gnssXYTrajectory-Bg2B89Vw.js} +2 -2
  159. package/dist/{grd-C4hCrpvH.cjs → grd-C-x23C0E.cjs} +1 -1
  160. package/dist/{grd-FfuMQJb7.js → grd-XTVPofQw.js} +17 -17
  161. package/dist/{grdIndass-BTbZmPLZ.js → grdIndass-CYawTr5K.js} +2 -2
  162. package/dist/{grdIndass-CyuRKD5H.cjs → grdIndass-h7STZwba.cjs} +1 -1
  163. package/dist/{grg-CcnI5kRY.js → grg-BZPHOdr_.js} +16 -16
  164. package/dist/{grg-Cuxa17d6.cjs → grg-DMRsgNoC.cjs} +1 -1
  165. package/dist/{gridview-CKjBuTRq.cjs → gridview-BAqXV-TI.cjs} +1 -1
  166. package/dist/{gridview-ffVc5Wvg.js → gridview-C_Lqcw3n.js} +2 -2
  167. package/dist/{groundwaterFilterBar-DaPR-kbl.js → groundwaterFilterBar-Dq216QFO.js} +2 -2
  168. package/dist/{groundwaterFilterBar-D3l7GLVY.cjs → groundwaterFilterBar-RcVBt_vt.cjs} +1 -1
  169. package/dist/{groundwaterProfileChart-DoSx7WWp.js → groundwaterProfileChart-7LN3wfLM.js} +3 -3
  170. package/dist/{groundwaterProfileChart-BxJKIPXF.cjs → groundwaterProfileChart-D31MpfdN.cjs} +2 -2
  171. package/dist/{groundwaterTimeCurve-Bp5MxM9k.cjs → groundwaterTimeCurve-C65gdinn.cjs} +1 -1
  172. package/dist/{groundwaterTimeCurve-D-SdVYeq.js → groundwaterTimeCurve-CJgvt43Z.js} +3 -3
  173. package/dist/{groupCard-COMEkzIb.js → groupCard-BpjcijZW.js} +2 -2
  174. package/dist/{groupCard-BzUQ8xY0.cjs → groupCard-DNOawK4_.cjs} +1 -1
  175. package/dist/{headerBar-ouXO8bzC.js → headerBar-Bnv8ylmr.js} +2 -2
  176. package/dist/{headerBar-iFe0YQKE.cjs → headerBar-CNWKR951.cjs} +1 -1
  177. package/dist/{history-BZ869y2d.js → history-DdkBOj8L.js} +24 -24
  178. package/dist/{history-MxYUUwkm.cjs → history-xZTq1lUB.cjs} +1 -1
  179. package/dist/index-BzWbqJIl.cjs +612 -0
  180. package/dist/index-CJgyJTvc.cjs +11 -0
  181. package/dist/{index-DwPJu6XM.js → index-D5BukPPY.js} +1805 -1642
  182. package/dist/{index-ButoLLAe.js → index-eIsZnzkc.js} +2753 -2122
  183. package/dist/{insarDeformChart-5BhCUq8L.js → insarDeformChart-BKgJHbFe.js} +2 -2
  184. package/dist/{insarDeformChart-Ca3AMsBk.cjs → insarDeformChart-DIvxdDkN.cjs} +1 -1
  185. package/dist/{insarImageViewer-DWPsoHz6.cjs → insarImageViewer-Bray3mKg.cjs} +1 -1
  186. package/dist/{insarImageViewer-DHNxmLpa.js → insarImageViewer-qI5GBqkU.js} +2 -2
  187. package/dist/{install-FDYiy_gL.js → install-B_v5XJLG.js} +5 -5
  188. package/dist/{install-9_V0b6vf.js → install-BfNaEf5I.js} +24 -24
  189. package/dist/{install-B0x4IqQr.js → install-By9bYCXw.js} +11 -11
  190. package/dist/{install-hfre7yvV.js → install-CEl1AYgZ.js} +2 -2
  191. package/dist/{install-BzdOSCzO.js → install-CIdzgJ44.js} +109 -109
  192. package/dist/{install-oGjJ0_bF.js → install-CJ_UX-RT.js} +44 -44
  193. package/dist/{install-BifpoHNI.js → install-CY89Nrxl.js} +5 -5
  194. package/dist/{install-BUu5ESB7.js → install-Cmw0VV-B.js} +72 -72
  195. package/dist/{install-MS3ZY7fF.js → install-CqrIgcb1.js} +7 -7
  196. package/dist/{install-D1QM80AD.js → install-DNDCMXB3.js} +2 -2
  197. package/dist/install-DbAuuRVv.js +8 -0
  198. package/dist/{install-CBde4hAM.js → install-DdM8j5Ll.js} +1 -1
  199. package/dist/{install-B2TChEcT.js → install-DwcX1eNi.js} +4 -4
  200. package/dist/{install-C_3uGWLu.js → install-FXyLnlJE.js} +9 -9
  201. package/dist/{install-C9Cdzkc6.js → install-UooD2LwU.js} +29 -29
  202. package/dist/{install-Cx1i_m0k.js → install-ZJfH__Vo.js} +11 -11
  203. package/dist/{install-8XfFtnlL.js → install-uPZUxWT9.js} +19 -19
  204. package/dist/{installCanvasRenderer-CLT2hquJ.js → installCanvasRenderer-oDYkyVFy.js} +4 -4
  205. package/dist/{installMarkArea-Cdg4iciO.js → installMarkArea-DaDitBR7.js} +15 -15
  206. package/dist/{installMarkLine-BgE0YACE.js → installMarkLine-CHCnywAM.js} +10 -10
  207. package/dist/{installSimple-BWTCwMdY.js → installSimple-CB2Y4Ri7.js} +3 -3
  208. package/dist/{kds-Dpf_3WWj.cjs → kds-BibvGW1n.cjs} +1 -1
  209. package/dist/{kds-BYZC4pIM.js → kds-C1Chb0fa.js} +30 -30
  210. package/dist/{kpiCard-CStPtl-c.js → kpiCard-KuMZjN55.js} +2 -2
  211. package/dist/{kpiCard-OLJgA48-.cjs → kpiCard-tnfcEXOn.cjs} +1 -1
  212. package/dist/{labelHelper-Cd8oB-sZ.js → labelHelper-DccEpjmd.js} +1 -1
  213. package/dist/{landslideMap-BUq0x7rd.js → landslideMap-B4vzymkZ.js} +15 -15
  214. package/dist/{landslideMap-JTdoQjW-.cjs → landslideMap-DlMSDibx.cjs} +1 -1
  215. package/dist/{landslideWarning-VAn9XGUj.js → landslideWarning-BYlaEzUr.js} +5 -5
  216. package/dist/{landslideWarning-ZA5LCsIr.cjs → landslideWarning-DtOMb7U_.cjs} +1 -1
  217. package/dist/{layerTabs-CAJ6f-2W.js → layerTabs-BG0gTvo8.js} +2 -2
  218. package/dist/{layerTabs-CdhowHB1.cjs → layerTabs-DQm_b2aH.cjs} +1 -1
  219. package/dist/{leaflet-src-DNO2-OsP.js → leaflet-src-DVXepwmU.js} +1 -1
  220. package/dist/{leaflet-src-CxFQ_Cn7.cjs → leaflet-src-qPfpknMO.cjs} +1 -1
  221. package/dist/{lerc-qU4WKXeS.cjs → lerc-CITZZDb7.cjs} +1 -1
  222. package/dist/{lerc-bF2jqjoV.js → lerc-Z6kWrF7V.js} +2 -2
  223. package/dist/{lin-BHI2KgyW.cjs → lin-CW8Q8u-z.cjs} +1 -1
  224. package/dist/{lin-DbQw7wZw.js → lin-zJYjIE2f.js} +11 -11
  225. package/dist/{linIndass-Cd9Hjzs_.js → linIndass-27mWriLs.js} +16 -16
  226. package/dist/{linIndass-CIrObeZT.cjs → linIndass-CQaikC7I.cjs} +1 -1
  227. package/dist/{lst-C3C2m1v_.js → lst-BqXNkXrQ.js} +2 -2
  228. package/dist/{lst-BRsEe-Hq.cjs → lst-Cu-ohx2m.cjs} +1 -1
  229. package/dist/{manualEntry-B8TDMcDg.js → manualEntry-BPEmSok7.js} +2 -2
  230. package/dist/{manualEntry-C3_WtYz8.cjs → manualEntry-zj6TEXL7.cjs} +1 -1
  231. package/dist/{mapBackground-BrVIQUcT.js → mapBackground-BhcSOZ_h.js} +3 -3
  232. package/dist/{mapBackground-Du7R_ICY.cjs → mapBackground-CRI873EC.cjs} +1 -1
  233. package/dist/{mappingList-BpJUawmv.js → mappingList-CvG8EIIC.js} +2 -2
  234. package/dist/{mappingList-C5OZ8oUx.cjs → mappingList-DGgPl4t4.cjs} +1 -1
  235. package/dist/{markdownViewer-CoRrvdY7.js → markdownViewer-D9JqGyeI.js} +6 -6
  236. package/dist/{markdownViewer-D96bwxEt.cjs → markdownViewer-DvbUv7kn.cjs} +1 -1
  237. package/dist/mix-control-modal-DaRWnX3S.js +160 -0
  238. package/dist/mix-control-modal-DpAs-GHi.cjs +1 -0
  239. package/dist/{mixGrid-Hj0OJjkg.cjs → mixGrid-CHne1dXO.cjs} +1 -1
  240. package/dist/{mixGrid-CtJWul6c.js → mixGrid-FBiMFT4V.js} +4 -4
  241. package/dist/mixdashboards.cjs +1 -1
  242. package/dist/mixdashboards.css +1 -1
  243. package/dist/mixdashboards.js +1 -1
  244. package/dist/mixiotObjectListApi-BwIQvSS-.js +67 -0
  245. package/dist/mixiotObjectListApi-ClirV2tM.cjs +1 -0
  246. package/dist/{mjpegCamera-Dc4IsJA6.js → mjpegCamera-D2quqZNc.js} +2 -2
  247. package/dist/{mjpegCamera-BY7pmbDc.cjs → mjpegCamera-D32gJ5oN.cjs} +1 -1
  248. package/dist/{monitorAlert-DVNvJyTy.cjs → monitorAlert-CxC81qAu.cjs} +1 -1
  249. package/dist/{monitorAlert-F8QFOchR.js → monitorAlert-D4qszzHh.js} +12 -12
  250. package/dist/{monitorData-AkPbhJ9q.cjs → monitorData-CVkL2ukF.cjs} +1 -1
  251. package/dist/{monitorData-BzqNIdrW.js → monitorData-DnWDsgTT.js} +13 -13
  252. package/dist/{monitorSpeedChart-348U37LW.js → monitorSpeedChart-CHpQsrDt.js} +3 -3
  253. package/dist/{monitorSpeedChart-DVH1xihw.cjs → monitorSpeedChart-CKxwWE0i.cjs} +1 -1
  254. package/dist/{mxa-CkJjCHA-.js → mxa-Cbnwonqc.js} +7 -7
  255. package/dist/{mxa-DShU528J.cjs → mxa-UU7rQDd8.cjs} +1 -1
  256. package/dist/{myValue-CEfp19i2.js → myValue-DBxx1jtk.js} +2 -2
  257. package/dist/{myValue-BCeycpdO.cjs → myValue-DzARZpdg.cjs} +1 -1
  258. package/dist/{myValueList-CAPOW8TK.cjs → myValueList-BVbeDsWn.cjs} +1 -1
  259. package/dist/{myValueList-y3GR4AX2.js → myValueList-BbtPVr5y.js} +2 -2
  260. package/dist/{objectList-D16yLbzD.js → objectList-Cpu0yqsK.js} +4 -4
  261. package/dist/{objectList-4rYQk5uq.cjs → objectList-D5E8PU66.cjs} +1 -1
  262. package/dist/objectListAPP-CYxy9UjL.js +2247 -0
  263. package/dist/objectListAPP-Cr4uoJuN.cjs +1 -0
  264. package/dist/{photo-D67wLRkY.cjs → photo-BRMACjXO.cjs} +1 -1
  265. package/dist/{photo-BV6rkbWO.js → photo-DPOhq559.js} +2 -2
  266. package/dist/{pie-BeRwVkTk.cjs → pie-B7HO9F24.cjs} +1 -1
  267. package/dist/{pie-bNKhq6ak.js → pie-CUqy6VGE.js} +10 -10
  268. package/dist/{placeholder-zByzfWaH.cjs → placeholder-D-BpaT59.cjs} +1 -1
  269. package/dist/{placeholder-_iK4rVyU.js → placeholder-DsyLsZM5.js} +1 -1
  270. package/dist/{points-DkG9FRF9.js → points-Cddz0rX-.js} +15 -15
  271. package/dist/{pressBtn-BjqYIPC-.cjs → pressBtn-DZz7PZ7o.cjs} +1 -1
  272. package/dist/{pressBtn-B-rZPXK2.js → pressBtn-IefW25bT.js} +138 -108
  273. package/dist/{processTable-s_y8uups.js → processTable-Bm2HnUrZ.js} +2 -2
  274. package/dist/{processTable-ByPlSKRJ.cjs → processTable-kVFr2ntb.cjs} +1 -1
  275. package/dist/{progressBar-CRdA7oJT.cjs → progressBar-00yP_jc2.cjs} +1 -1
  276. package/dist/{progressBar-DskxZk1P.js → progressBar-C7RKpdcE.js} +37 -29
  277. package/dist/{progressCircle-BE_Am-AP.js → progressCircle-BBkwMkI0.js} +47 -39
  278. package/dist/{progressCircle-CHe-12Hb.cjs → progressCircle-CzqibMlZ.cjs} +1 -1
  279. package/dist/{qrcode-D8cFyUpL.cjs → qrcode-4NUAsx0h.cjs} +1 -1
  280. package/dist/{qrcode-Dgth6KwU.js → qrcode-DaHlY7Vv.js} +2 -2
  281. package/dist/raceBar-BVsHg94d.cjs +2 -0
  282. package/dist/{raceBar-DV-3KFg2.js → raceBar-WhOgwnlP.js} +116 -120
  283. package/dist/{rad-BhsfF0XI.js → rad-BlEn2Yx1.js} +6 -6
  284. package/dist/{rad-BerkC70H.cjs → rad-sMtJPs8L.cjs} +1 -1
  285. package/dist/{radarMapViewer-C2dde8EN.js → radarMapViewer-C1_FFYFi.js} +2 -2
  286. package/dist/{radarMapViewer-HWzvBTzT.cjs → radarMapViewer-CzhHFpRX.cjs} +1 -1
  287. package/dist/{rainfallFilterBar-CiT1mvYh.js → rainfallFilterBar-Bt2TbXV6.js} +2 -2
  288. package/dist/{rainfallFilterBar-kuAQO0M-.cjs → rainfallFilterBar-F7DU_nqK.cjs} +1 -1
  289. package/dist/{rainfallTimeCurve-BlOnCq2M.js → rainfallTimeCurve-C5tBf1lx.js} +3 -3
  290. package/dist/{rainfallTimeCurve-7uHaSkuE.cjs → rainfallTimeCurve-DaXSW7dI.cjs} +1 -1
  291. package/dist/{rangeLin-BvKd8kEv.js → rangeLin-Bral8Ev4.js} +16 -16
  292. package/dist/{rangeLin-BQeWFL_E.cjs → rangeLin-Cr4NRYc9.cjs} +1 -1
  293. package/dist/{realtimeEvolutionMap-BUnD3JjE.cjs → realtimeEvolutionMap-CCisvZz8.cjs} +1 -1
  294. package/dist/{realtimeEvolutionMap-DZ6yniwl.js → realtimeEvolutionMap-xJwuPatp.js} +2 -2
  295. package/dist/{regionBar-mMaN5NEc.cjs → regionBar-C8myvRfQ.cjs} +1 -1
  296. package/dist/{regionBar-vp5D52Jd.js → regionBar-D1iKcs2-.js} +2 -2
  297. package/dist/{request-CMbwWTDF.js → request-C-rUicMg.js} +5 -5
  298. package/dist/{request-DegEaaCG.cjs → request-Cxljxwu9.cjs} +1 -1
  299. package/dist/{retainer1-Xvdlh-B_.js → retainer1-BvzeaTtU.js} +84 -76
  300. package/dist/retainer1-CC6TO-vq.cjs +1 -0
  301. package/dist/{retainer2-D3a-c_BA.js → retainer2-BeakFCgo.js} +101 -93
  302. package/dist/retainer2-CmdgkB1y.cjs +1 -0
  303. package/dist/{retainerRecordList-BJbPsJ4D.js → retainerRecordList-C7lDliOb.js} +2 -2
  304. package/dist/{retainerRecordList-Rqnoz6_6.cjs → retainerRecordList-C9xVt3Yk.cjs} +1 -1
  305. package/dist/retainerRecordListAPP-BRmG7UnF.cjs +1 -0
  306. package/dist/{retainerRecordListAPP-CNntGyA-.js → retainerRecordListAPP-Cjip5JHS.js} +44 -42
  307. package/dist/{ringTopN-BFKlXqGX.js → ringTopN-BaKY-79s.js} +5 -5
  308. package/dist/{ringTopN-CsouIsk1.cjs → ringTopN-Wfvu1-jE.cjs} +1 -1
  309. package/dist/{riskRegionTable-DttMvHe5.cjs → riskRegionTable-C7ee9wQX.cjs} +1 -1
  310. package/dist/{riskRegionTable-B6k4uM0_.js → riskRegionTable-ovBbwMl2.js} +2 -2
  311. package/dist/{sankey-CAuBQaYh.cjs → sankey-BmWOGLSZ.cjs} +1 -1
  312. package/dist/{sankey-DEQK7uU6.js → sankey-K5BLueeX.js} +7 -7
  313. package/dist/{sausage-xU3hOdxD.js → sausage-DTfIyvVP.js} +1 -1
  314. package/dist/{scd-qaap6hGW.cjs → scd-CCNgUI2Q.cjs} +1 -1
  315. package/dist/{scd-D5TicpCZ.js → scd-CMVoKjwE.js} +2 -2
  316. package/dist/{sectorHelper-DIlWFMnU.js → sectorHelper-Ba-1dnRr.js} +1 -1
  317. package/dist/{sideMenu-D-73DoYb.cjs → sideMenu-BbiMVHw1.cjs} +1 -1
  318. package/dist/{sideMenu-ByyrOOYh.js → sideMenu-L_dYXVgD.js} +2 -2
  319. package/dist/{slopeStability-CTN6Kpva.cjs → slopeStability-BWVxuRRV.cjs} +1 -1
  320. package/dist/{slopeStability-BtgMH3oW.js → slopeStability-WUcwG1vB.js} +22 -22
  321. package/dist/{speedCurve-C5NoQCjK.cjs → speedCurve-QTXe81e1.cjs} +1 -1
  322. package/dist/{speedCurve-CInn7NAC.js → speedCurve-uwPuIJp0.js} +4 -4
  323. package/dist/{stressFilterBar-D_QqOHna.js → stressFilterBar-CnFNp7BR.js} +2 -2
  324. package/dist/{stressFilterBar-Cpfbmllu.cjs → stressFilterBar-DcqWlqsx.cjs} +1 -1
  325. package/dist/{stressTimeCurve-Bp6Cevk1.cjs → stressTimeCurve-C-qycuZ2.cjs} +1 -1
  326. package/dist/{stressTimeCurve-1HXHUj-F.js → stressTimeCurve-C3r3LUBt.js} +3 -3
  327. package/dist/{swiper-D_y4Fj_D.js → swiper-JShIvM0E.js} +2 -2
  328. package/dist/{swiper-B8YZ2VQ2.cjs → swiper-wWrsPbDA.cjs} +1 -1
  329. package/dist/{terminalConfigList-CHbA4y-S.js → terminalConfigList-DVhEvcTB.js} +2 -2
  330. package/dist/{terminalConfigList-B39cEptG.cjs → terminalConfigList-nQqB1W5s.cjs} +1 -1
  331. package/dist/terminalList-BkMuHXZw.cjs +1 -0
  332. package/dist/{terminalList-oJFrGVtT.js → terminalList-wAz6t4Ib.js} +77 -77
  333. package/dist/terminalListAPP-CePxWgcL.cjs +1 -0
  334. package/dist/terminalListAPP-DuLN2OVq.js +1935 -0
  335. package/dist/{textbox-DPoyxB4u.cjs → textbox-BBi-Lg1Z.cjs} +1 -1
  336. package/dist/{textbox-D8nmoGjG.js → textbox-DxXuhIyj.js} +2 -2
  337. package/dist/{timeQueryBar-uUGotoTx.cjs → timeQueryBar-BCTeL04F.cjs} +1 -1
  338. package/dist/{timeQueryBar-DyC0iHq9.js → timeQueryBar-DtngkLJX.js} +1 -1
  339. package/dist/{timeSeries-U91gMDDQ.js → timeSeries-CrdyAYs2.js} +3 -3
  340. package/dist/{timeSeries-BhlqgEOq.cjs → timeSeries-DJZnExBA.cjs} +1 -1
  341. package/dist/{timeSeriesCurve-DOhIS88N.js → timeSeriesCurve-8_exdGlQ.js} +3 -3
  342. package/dist/{timeSeriesCurve-CiRMnZRD.cjs → timeSeriesCurve-8_n0JJyf.cjs} +1 -1
  343. package/dist/{toggleBtn-CuWwHFjD.cjs → toggleBtn-B6dJ5cAt.cjs} +1 -1
  344. package/dist/{toggleBtn-DE35dkxx.js → toggleBtn-DExYfMvi.js} +7 -7
  345. package/dist/{trajectoryConfigPanel-DAbF8oE9.cjs → trajectoryConfigPanel-B2fwoe-I.cjs} +1 -1
  346. package/dist/{trajectoryConfigPanel-Ye7NY6rd.js → trajectoryConfigPanel-Ce1SoMtw.js} +1 -1
  347. package/dist/{trajectoryScatter-Dg99HzM3.cjs → trajectoryScatter-CVLEXMPO.cjs} +1 -1
  348. package/dist/{trajectoryScatter-DL7HUNJI.js → trajectoryScatter-h32teAQ0.js} +6 -6
  349. package/dist/{universalConfigPanel-CkyIDl_x.js → universalConfigPanel-CxbrIc2Z.js} +1 -1
  350. package/dist/{universalConfigPanel-1svBCvD9.cjs → universalConfigPanel-cRzJmx3l.cjs} +1 -1
  351. package/dist/{universalTable--dpnyNO2.js → universalTable-BssAi-QH.js} +2 -2
  352. package/dist/{universalTable-D8w7FQbl.cjs → universalTable-V604pFVr.cjs} +1 -1
  353. package/dist/{universalTransition-Bv7ibBUh.js → universalTransition-tYQs2a4D.js} +2 -2
  354. package/dist/{video-RGIZoUn6.cjs → video-B8JeGpBc.cjs} +1 -1
  355. package/dist/{video-BmMSRRa_.js → video-BjmIbrRS.js} +2 -2
  356. package/dist/{videoMonitor-Bo5T0MT_.cjs → videoMonitor-B6FzkJlS.cjs} +1 -1
  357. package/dist/{videoMonitor-uf6tt2E6.js → videoMonitor-CVkFwlZq.js} +4 -4
  358. package/dist/{vlu-D8l5zE_P.js → vlu-CHHDngO6.js} +2 -2
  359. package/dist/{vlu-DEo_h1qN.cjs → vlu-Dv1vt9r0.cjs} +1 -1
  360. package/dist/{warningOverview-A5AA_vCc.cjs → warningOverview-4M-WX3Ob.cjs} +1 -1
  361. package/dist/{warningOverview-CA0PikjV.js → warningOverview-DDOm2wwB.js} +3 -3
  362. package/dist/{weather-D20MGzuJ.cjs → weather-BGrOQFPM.cjs} +1 -1
  363. package/dist/{weather-DuseqeNF.js → weather-CETxcsJS.js} +2 -2
  364. package/dist/{windLin-D8AUL_dV.js → windLin-B3YXltBn.js} +10 -10
  365. package/dist/{windLin-BU6Q87dE.cjs → windLin-B6uEtUnB.cjs} +1 -1
  366. package/package.json +1 -1
  367. package/dist/BaseComponent-Chnv4fBT.cjs +0 -1
  368. package/dist/bar-C38h_mUA.js +0 -246
  369. package/dist/bar-Cru6WosS.cjs +0 -2
  370. package/dist/bmp-BXaEkkpa.cjs +0 -1
  371. package/dist/bmp-BnSOaFEr.js +0 -226
  372. package/dist/clt-CmPPtp9c.cjs +0 -1
  373. package/dist/clt-D5i_8-pq.js +0 -293
  374. package/dist/cmc-8jH3DGv9.cjs +0 -1
  375. package/dist/cmp-CpmGtNal.cjs +0 -6
  376. package/dist/composite-CbsUYl-u.js +0 -136
  377. package/dist/composite-Cf24lSyN.cjs +0 -1
  378. package/dist/composite-CsFgfxih.js +0 -323
  379. package/dist/composite-DLmzZNIj.cjs +0 -3
  380. package/dist/ctrBtn-OOgL9esv.cjs +0 -1
  381. package/dist/ctrSet-Btg2T9w6.js +0 -247
  382. package/dist/ctrSet-CifyJt05.cjs +0 -1
  383. package/dist/ctrSwitch-C8mwxLPe.cjs +0 -1
  384. package/dist/ele-cmp-icon-CEP91RUe.js +0 -5
  385. package/dist/ele-cmp-icon-yUlU6c_Q.cjs +0 -1
  386. package/dist/gag-1bvAZ5m6.cjs +0 -1
  387. package/dist/gag-D2obj7AF.js +0 -160
  388. package/dist/index-DVqMfQVc.cjs +0 -612
  389. package/dist/index-mAPVa0s4.cjs +0 -11
  390. package/dist/install-BBrAry2m.js +0 -8
  391. package/dist/install-BRjgycz_.cjs +0 -1
  392. package/dist/install-BamnGDPb.cjs +0 -1
  393. package/dist/install-D7znHb-b.js +0 -604
  394. package/dist/install-DWm3j_D3.js +0 -38
  395. package/dist/mix-control-modal-DwxwW65v.cjs +0 -1
  396. package/dist/mix-control-modal-Qg_mzyT_.js +0 -145
  397. package/dist/mixMap-CJzmC0IR.cjs +0 -1
  398. package/dist/mixMap-E36SDnEa.js +0 -258
  399. package/dist/mixModel-BMRxhvWn.cjs +0 -3
  400. package/dist/mixModel-_McJ6OuH.js +0 -251
  401. package/dist/mixPie-CMOkAe9p.js +0 -168
  402. package/dist/mixPie-MAKXeYVp.cjs +0 -2
  403. package/dist/mixiotObjectListApi-BaeBL318.js +0 -82
  404. package/dist/mixiotObjectListApi-D9OyHNQ3.cjs +0 -1
  405. package/dist/no-image-icon-CPA7RKkF.cjs +0 -1
  406. package/dist/no-image-icon-n2ZlEjxS.js +0 -1864
  407. package/dist/objectListAPP-DCwTyqFp.js +0 -1864
  408. package/dist/objectListAPP-Db5beOAM.cjs +0 -1
  409. package/dist/raceBar-CeybrpCB.cjs +0 -4
  410. package/dist/retainer1-CF2Tr7Zt.cjs +0 -1
  411. package/dist/retainer2-BQVUhgcH.cjs +0 -1
  412. package/dist/retainerRecordListAPP-B4IDQK3C.cjs +0 -1
  413. package/dist/staticLine-BC-zj5yZ.cjs +0 -1
  414. package/dist/staticLine-CLqN4lpU.js +0 -362
  415. package/dist/terminalList-Vf-Dbybr.cjs +0 -1
  416. package/dist/terminalListAPP-CdBG8krw.cjs +0 -1
  417. package/dist/terminalListAPP-DWArp2D4.js +0 -1366
@@ -27,8 +27,8 @@ var Vt = (V, z, j) => new Promise((q, ne) => {
27
27
  R((j = j.apply(V, z)).next());
28
28
  });
29
29
  import { defineComponent as oi, ref as $t, watch as jn, computed as gt, onBeforeUnmount as ai, openBlock as se, createElementBlock as le, normalizeStyle as U, unref as Fe, createElementVNode as te, toDisplayString as ye, createCommentVNode as si, Fragment as Bt, renderList as Fn, normalizeClass as Je, createTextVNode as li, renderSlot as ci, nextTick as ui } from "vue";
30
- import { B as pi } from "./BaseComponent-CBagahPU.js";
31
- import { j as fi, r as di, _ as hi } from "./index-DwPJu6XM.js";
30
+ import { B as pi } from "./BaseComponent-NnwLq7Cf.js";
31
+ import { k as fi, r as di, _ as hi } from "./index-D5BukPPY.js";
32
32
  import { g as vi } from "./titleStyle-BT5GlpAb.js";
33
33
  import { e as gi, b as mi } from "./materialFileUrl-CubtnHeq.js";
34
34
  var Qe = { exports: {} }, yi = Qe.exports, Vn;
@@ -1,4 +1,4 @@
1
- import { f as u, o as i, aP as s } from "./echarts-BVht3HHb.js";
1
+ import { f as u, o as i, aP as s } from "./echarts-Bp7QN4X6.js";
2
2
  function d(e, a, n) {
3
3
  var r = e.get("borderRadius");
4
4
  if (r == null)
@@ -1 +1 @@
1
- "use strict";var V=Object.defineProperty,O=Object.defineProperties;var A=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var D=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable;var I=(u,l,s)=>l in u?V(u,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):u[l]=s,h=(u,l)=>{for(var s in l||(l={}))D.call(l,s)&&I(u,s,l[s]);if(N)for(var s of N(l))z.call(l,s)&&I(u,s,l[s]);return u},C=(u,l)=>O(u,A(l));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),g=require("element-plus");require("html2canvas");const F=require("./BaseComponent-Chnv4fBT.cjs"),L=require("./index-DVqMfQVc.cjs"),T=require("./ele-lst-icon-CrxnHZ-A.cjs"),U={class:"side-menu-wrapper"},q={class:"menu-header"},R={class:"header-title"},G={class:"menu-list"},W={key:0,class:"menu-group"},J=["onClick"],K={class:"menu-text"},H=["onClick"],Q={class:"menu-text"},X={key:0,class:"active-indicator"},Y=["onClick"],Z={class:"menu-text"},ee={key:0,class:"active-indicator"},te={DEFAULT_ICON:T.DEFAULT_ICON,ACTIVE_ICON:T.ACTIVE_ICON,NAME_CN:"右侧菜单栏",NAME_EN:"Side Menu",ORDER:14,PLATFORM:["pc","screen"]},ne={title:{value:"功能菜单",type:"string",label:"component.sideMenu.title"},fontSize:{value:14,type:"number",label:"component.sideMenu.fontSize",min:12,max:24},bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},borderColor:{value:"#1e90ff",type:"color",label:"component.sideMenu.borderColor"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},accentColor:{value:"#409eff",type:"color",label:"component.sideMenu.accentColor"},hoverColor:{value:"rgba(0, 212, 255, 0.15)",type:"color",label:"component.sideMenu.hoverColor"},activeColor:{value:"rgba(0, 212, 255, 0.25)",type:"color",label:"component.sideMenu.activeColor"},glowEffect:{value:!0,type:"checkbox",label:"component.sideMenu.glowEffect"}},oe=[{name:"数据总览",parentId:"",actionType:"sheet",jumpParam:"0"},{name:"实时监测",parentId:"",actionType:"sheet",jumpParam:"1"},{name:"预警管理",parentId:"",actionType:"",jumpParam:""},{name:"预警列表",parentId:"预警管理",actionType:"sheet",jumpParam:"2"},{name:"预警统计",parentId:"预警管理",actionType:"sheet",jumpParam:"3"},{name:"设备管理",parentId:"",actionType:"jump",jumpParam:""},{name:"系统设置",parentId:"",actionType:"jump",jumpParam:""}],ae=["name","parentId","actionType","jumpParam"],re=["mosaic"],le={useAlias:!1,multiObject:!1,source:"mosaic"},ce={DEFAULT:te,OPTIONS:ne,DATA:oe,PARAMS:ae,SOURCE:re,COMMON:le},se=e.defineComponent(C(h({},ce),{__name:"sideMenu",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(u){e.useCssVars(r=>({v0d7a12a4:e.unref(c).bgColor,v110b9f27:e.unref(c).borderColor,bfd3dd6e:e.unref(c).accentColor,v4c585d9a:e.unref(c).glowEffect?`0 0 8px ${e.unref(c).accentColor}`:"none",v4b5e2ac6:e.unref(c).textColor,v041a46ee:e.unref(c).glowEffect?`0 0 10px ${e.unref(c).accentColor}40`:"none",v47a91e12:e.unref(c).hoverColor,b48166e6:e.unref(c).activeColor,v0f2ea44d:e.unref(c).fontSize+"px",v5f9448f5:e.unref(c).glowEffect?`0 0 6px ${e.unref(c).accentColor}`:"none"}));const l=e.inject("switchSheet",()=>{}),s=e.inject("getSheets",()=>[]),M=e.inject("getCurrentSheet",()=>0),p=u;class P extends F.BaseComponent{extractStyles(){var o,n,a,i,f,E,_,k,j,S;const{options:t}=this.props.conf;return{title:((o=t==null?void 0:t.title)==null?void 0:o.value)||"功能菜单",fontSize:((n=t==null?void 0:t.fontSize)==null?void 0:n.value)||14,bgColor:((a=t==null?void 0:t.bgColor)==null?void 0:a.value)||"#ffffff",borderColor:((i=t==null?void 0:t.borderColor)==null?void 0:i.value)||"#1e90ff",textColor:((f=t==null?void 0:t.textColor)==null?void 0:f.value)||"#333333",accentColor:((E=t==null?void 0:t.accentColor)==null?void 0:E.value)||"#409eff",hoverColor:((_=t==null?void 0:t.hoverColor)==null?void 0:_.value)||"rgba(0, 212, 255, 0.15)",activeColor:((k=t==null?void 0:t.activeColor)==null?void 0:k.value)||"rgba(0, 212, 255, 0.25)",glowEffect:(S=(j=t==null?void 0:t.glowEffect)==null?void 0:j.value)!=null?S:!0}}getDefaultData(){return[{name:"数据总览",parentId:"",actionType:"sheet",jumpParam:"0"},{name:"实时监测",parentId:"",actionType:"sheet",jumpParam:"1"},{name:"预警管理",parentId:"",actionType:"",jumpParam:""},{name:"预警列表",parentId:"预警管理",actionType:"sheet",jumpParam:"2"},{name:"预警统计",parentId:"预警管理",actionType:"sheet",jumpParam:"3"},{name:"设备管理",parentId:"",actionType:"jump",jumpParam:""},{name:"系统设置",parentId:"",actionType:"jump",jumpParam:""}]}}const v=new P(p,"sideMenu");(!p.conf.data||p.conf.data.length===0)&&(p.conf.data=v.getDefaultData()),v.setupLifecycle();const c=v.getStyle(),d=e.ref("0"),m=e.ref([]),y=e.computed(()=>{var n;const r=((n=p.conf)==null?void 0:n.data)||[],t=[],o={};return r.forEach(a=>{a.parentId?(o[a.parentId]||(o[a.parentId]=[]),o[a.parentId].push(a)):t.push(C(h({},a),{children:[]}))}),t.forEach(a=>{o[a.name]&&(a.children=o[a.name])}),t}),B=r=>{const t=m.value.indexOf(r);t>-1?m.value.splice(t,1):m.value.push(r)},w=r=>{const{jumpParam:t}=r;if(!t){g.ElMessage.warning("未设置跳转参数");return}if(t.startsWith("http://")||t.startsWith("https://"))window.open(t,"_self");else{const n=location.href,a=n.substring(0,n.indexOf("#")+1);window.open(`${a}/show/${t}`,"_self")}},x=r=>{const{jumpParam:t}=r,o=s();if(o.length<=1){g.ElMessage.warning("当前只有一个页面");return}let n;!t||t===""?n=0:isNaN(Number(t))?n=o.findIndex(a=>a.name===t||a.id===t):n=Number(t),n>=0&&n<o.length?l(n):g.ElMessage.error("未找到目标页面")},b=(r,t)=>{if(d.value=r,p.mode==="edit"){console.log("编辑模式 - 点击菜单:",t);return}switch(t.actionType||"sheet"){case"jump":w(t);break;case"sheet":x(t);break;default:console.log("自定义动作:",t)}},$=()=>{const r=M(),t=y.value;for(let o=0;o<t.length;o++){const n=t[o];if(n.actionType==="sheet"&&(n.jumpParam?Number(n.jumpParam):0)===r){d.value=String(o);return}if(n.children&&n.children.length>0)for(let a=0;a<n.children.length;a++){const i=n.children[a];if(i.actionType==="sheet"&&(i.jumpParam?Number(i.jumpParam):0)===r){d.value=`${o}-${a}`,m.value.includes(o)||m.value.push(o);return}}}};return e.onMounted(()=>{$()}),(r,t)=>(e.openBlock(),e.createElementBlock("div",U,[e.createElementVNode("div",q,[t[0]||(t[0]=e.createElementVNode("div",{class:"header-decoration"},null,-1)),e.createElementVNode("span",R,e.toDisplayString(e.unref(c).title),1)]),e.createElementVNode("div",G,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,(o,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:n},[o.children&&o.children.length>0?(e.openBlock(),e.createElementBlock("div",W,[e.createElementVNode("div",{class:e.normalizeClass(["menu-item parent-item",{expanded:m.value.includes(Number(n))}]),onClick:a=>B(Number(n))},[e.createElementVNode("span",K,e.toDisplayString(o.name),1),(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass(["expand-icon",{rotated:m.value.includes(Number(n))}]),viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[...t[1]||(t[1]=[e.createElementVNode("polyline",{points:"6 9 12 15 18 9"},null,-1)])],2))],10,J),e.createElementVNode("div",{class:e.normalizeClass(["sub-menu",{expanded:m.value.includes(Number(n))}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.children,(a,i)=>(e.openBlock(),e.createElementBlock("div",{key:`${n}-${i}`,class:e.normalizeClass(["menu-item sub-item",{active:d.value===`${n}-${i}`}]),onClick:f=>b(`${n}-${i}`,a)},[e.createElementVNode("span",Q,e.toDisplayString(a.name),1),d.value===`${n}-${i}`?(e.openBlock(),e.createElementBlock("div",X)):e.createCommentVNode("",!0)],10,H))),128))],2)])):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["menu-item",{active:d.value===String(n)}]),onClick:a=>b(String(n),o)},[e.createElementVNode("span",Z,e.toDisplayString(o.name),1),d.value===String(n)?(e.openBlock(),e.createElementBlock("div",ee)):e.createCommentVNode("",!0)],10,Y))],64))),128))]),t[2]||(t[2]=e.createElementVNode("div",{class:"menu-footer"},[e.createElementVNode("div",{class:"footer-line"})],-1)),e.renderSlot(r.$slots,"default",{},void 0,!0)]))}})),ue=L._export_sfc(se,[["__scopeId","data-v-6ec35300"]]);exports.default=ue;
1
+ "use strict";var V=Object.defineProperty,O=Object.defineProperties;var A=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var D=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable;var I=(u,l,s)=>l in u?V(u,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):u[l]=s,h=(u,l)=>{for(var s in l||(l={}))D.call(l,s)&&I(u,s,l[s]);if(N)for(var s of N(l))z.call(l,s)&&I(u,s,l[s]);return u},C=(u,l)=>O(u,A(l));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),g=require("element-plus");require("html2canvas");const F=require("./BaseComponent-CaCkjmmb.cjs"),L=require("./index-BzWbqJIl.cjs"),T=require("./ele-lst-icon-CrxnHZ-A.cjs"),U={class:"side-menu-wrapper"},q={class:"menu-header"},R={class:"header-title"},G={class:"menu-list"},W={key:0,class:"menu-group"},J=["onClick"],K={class:"menu-text"},H=["onClick"],Q={class:"menu-text"},X={key:0,class:"active-indicator"},Y=["onClick"],Z={class:"menu-text"},ee={key:0,class:"active-indicator"},te={DEFAULT_ICON:T.DEFAULT_ICON,ACTIVE_ICON:T.ACTIVE_ICON,NAME_CN:"右侧菜单栏",NAME_EN:"Side Menu",ORDER:14,PLATFORM:["pc","screen"]},ne={title:{value:"功能菜单",type:"string",label:"component.sideMenu.title"},fontSize:{value:14,type:"number",label:"component.sideMenu.fontSize",min:12,max:24},bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},borderColor:{value:"#1e90ff",type:"color",label:"component.sideMenu.borderColor"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},accentColor:{value:"#409eff",type:"color",label:"component.sideMenu.accentColor"},hoverColor:{value:"rgba(0, 212, 255, 0.15)",type:"color",label:"component.sideMenu.hoverColor"},activeColor:{value:"rgba(0, 212, 255, 0.25)",type:"color",label:"component.sideMenu.activeColor"},glowEffect:{value:!0,type:"checkbox",label:"component.sideMenu.glowEffect"}},oe=[{name:"数据总览",parentId:"",actionType:"sheet",jumpParam:"0"},{name:"实时监测",parentId:"",actionType:"sheet",jumpParam:"1"},{name:"预警管理",parentId:"",actionType:"",jumpParam:""},{name:"预警列表",parentId:"预警管理",actionType:"sheet",jumpParam:"2"},{name:"预警统计",parentId:"预警管理",actionType:"sheet",jumpParam:"3"},{name:"设备管理",parentId:"",actionType:"jump",jumpParam:""},{name:"系统设置",parentId:"",actionType:"jump",jumpParam:""}],ae=["name","parentId","actionType","jumpParam"],re=["mosaic"],le={useAlias:!1,multiObject:!1,source:"mosaic"},ce={DEFAULT:te,OPTIONS:ne,DATA:oe,PARAMS:ae,SOURCE:re,COMMON:le},se=e.defineComponent(C(h({},ce),{__name:"sideMenu",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(u){e.useCssVars(r=>({v0d7a12a4:e.unref(c).bgColor,v110b9f27:e.unref(c).borderColor,bfd3dd6e:e.unref(c).accentColor,v4c585d9a:e.unref(c).glowEffect?`0 0 8px ${e.unref(c).accentColor}`:"none",v4b5e2ac6:e.unref(c).textColor,v041a46ee:e.unref(c).glowEffect?`0 0 10px ${e.unref(c).accentColor}40`:"none",v47a91e12:e.unref(c).hoverColor,b48166e6:e.unref(c).activeColor,v0f2ea44d:e.unref(c).fontSize+"px",v5f9448f5:e.unref(c).glowEffect?`0 0 6px ${e.unref(c).accentColor}`:"none"}));const l=e.inject("switchSheet",()=>{}),s=e.inject("getSheets",()=>[]),M=e.inject("getCurrentSheet",()=>0),p=u;class P extends F.BaseComponent{extractStyles(){var o,n,a,i,f,E,_,k,j,S;const{options:t}=this.props.conf;return{title:((o=t==null?void 0:t.title)==null?void 0:o.value)||"功能菜单",fontSize:((n=t==null?void 0:t.fontSize)==null?void 0:n.value)||14,bgColor:((a=t==null?void 0:t.bgColor)==null?void 0:a.value)||"#ffffff",borderColor:((i=t==null?void 0:t.borderColor)==null?void 0:i.value)||"#1e90ff",textColor:((f=t==null?void 0:t.textColor)==null?void 0:f.value)||"#333333",accentColor:((E=t==null?void 0:t.accentColor)==null?void 0:E.value)||"#409eff",hoverColor:((_=t==null?void 0:t.hoverColor)==null?void 0:_.value)||"rgba(0, 212, 255, 0.15)",activeColor:((k=t==null?void 0:t.activeColor)==null?void 0:k.value)||"rgba(0, 212, 255, 0.25)",glowEffect:(S=(j=t==null?void 0:t.glowEffect)==null?void 0:j.value)!=null?S:!0}}getDefaultData(){return[{name:"数据总览",parentId:"",actionType:"sheet",jumpParam:"0"},{name:"实时监测",parentId:"",actionType:"sheet",jumpParam:"1"},{name:"预警管理",parentId:"",actionType:"",jumpParam:""},{name:"预警列表",parentId:"预警管理",actionType:"sheet",jumpParam:"2"},{name:"预警统计",parentId:"预警管理",actionType:"sheet",jumpParam:"3"},{name:"设备管理",parentId:"",actionType:"jump",jumpParam:""},{name:"系统设置",parentId:"",actionType:"jump",jumpParam:""}]}}const v=new P(p,"sideMenu");(!p.conf.data||p.conf.data.length===0)&&(p.conf.data=v.getDefaultData()),v.setupLifecycle();const c=v.getStyle(),d=e.ref("0"),m=e.ref([]),y=e.computed(()=>{var n;const r=((n=p.conf)==null?void 0:n.data)||[],t=[],o={};return r.forEach(a=>{a.parentId?(o[a.parentId]||(o[a.parentId]=[]),o[a.parentId].push(a)):t.push(C(h({},a),{children:[]}))}),t.forEach(a=>{o[a.name]&&(a.children=o[a.name])}),t}),B=r=>{const t=m.value.indexOf(r);t>-1?m.value.splice(t,1):m.value.push(r)},w=r=>{const{jumpParam:t}=r;if(!t){g.ElMessage.warning("未设置跳转参数");return}if(t.startsWith("http://")||t.startsWith("https://"))window.open(t,"_self");else{const n=location.href,a=n.substring(0,n.indexOf("#")+1);window.open(`${a}/show/${t}`,"_self")}},x=r=>{const{jumpParam:t}=r,o=s();if(o.length<=1){g.ElMessage.warning("当前只有一个页面");return}let n;!t||t===""?n=0:isNaN(Number(t))?n=o.findIndex(a=>a.name===t||a.id===t):n=Number(t),n>=0&&n<o.length?l(n):g.ElMessage.error("未找到目标页面")},b=(r,t)=>{if(d.value=r,p.mode==="edit"){console.log("编辑模式 - 点击菜单:",t);return}switch(t.actionType||"sheet"){case"jump":w(t);break;case"sheet":x(t);break;default:console.log("自定义动作:",t)}},$=()=>{const r=M(),t=y.value;for(let o=0;o<t.length;o++){const n=t[o];if(n.actionType==="sheet"&&(n.jumpParam?Number(n.jumpParam):0)===r){d.value=String(o);return}if(n.children&&n.children.length>0)for(let a=0;a<n.children.length;a++){const i=n.children[a];if(i.actionType==="sheet"&&(i.jumpParam?Number(i.jumpParam):0)===r){d.value=`${o}-${a}`,m.value.includes(o)||m.value.push(o);return}}}};return e.onMounted(()=>{$()}),(r,t)=>(e.openBlock(),e.createElementBlock("div",U,[e.createElementVNode("div",q,[t[0]||(t[0]=e.createElementVNode("div",{class:"header-decoration"},null,-1)),e.createElementVNode("span",R,e.toDisplayString(e.unref(c).title),1)]),e.createElementVNode("div",G,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,(o,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:n},[o.children&&o.children.length>0?(e.openBlock(),e.createElementBlock("div",W,[e.createElementVNode("div",{class:e.normalizeClass(["menu-item parent-item",{expanded:m.value.includes(Number(n))}]),onClick:a=>B(Number(n))},[e.createElementVNode("span",K,e.toDisplayString(o.name),1),(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass(["expand-icon",{rotated:m.value.includes(Number(n))}]),viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[...t[1]||(t[1]=[e.createElementVNode("polyline",{points:"6 9 12 15 18 9"},null,-1)])],2))],10,J),e.createElementVNode("div",{class:e.normalizeClass(["sub-menu",{expanded:m.value.includes(Number(n))}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.children,(a,i)=>(e.openBlock(),e.createElementBlock("div",{key:`${n}-${i}`,class:e.normalizeClass(["menu-item sub-item",{active:d.value===`${n}-${i}`}]),onClick:f=>b(`${n}-${i}`,a)},[e.createElementVNode("span",Q,e.toDisplayString(a.name),1),d.value===`${n}-${i}`?(e.openBlock(),e.createElementBlock("div",X)):e.createCommentVNode("",!0)],10,H))),128))],2)])):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["menu-item",{active:d.value===String(n)}]),onClick:a=>b(String(n),o)},[e.createElementVNode("span",Z,e.toDisplayString(o.name),1),d.value===String(n)?(e.openBlock(),e.createElementBlock("div",ee)):e.createCommentVNode("",!0)],10,Y))],64))),128))]),t[2]||(t[2]=e.createElementVNode("div",{class:"menu-footer"},[e.createElementVNode("div",{class:"footer-line"})],-1)),e.renderSlot(r.$slots,"default",{},void 0,!0)]))}})),ue=L._export_sfc(se,[["__scopeId","data-v-6ec35300"]]);exports.default=ue;
@@ -13,8 +13,8 @@ var A = (i, r, c) => r in i ? G(i, r, { enumerable: !0, configurable: !0, writab
13
13
  import { defineComponent as H, useCssVars as Q, unref as s, inject as S, ref as O, computed as X, onMounted as Y, openBlock as m, createElementBlock as p, createElementVNode as u, toDisplayString as y, Fragment as I, renderList as D, normalizeClass as C, createCommentVNode as z, renderSlot as Z } from "vue";
14
14
  import { ElMessage as T } from "element-plus";
15
15
  import "html2canvas";
16
- import { B as ee } from "./BaseComponent-CBagahPU.js";
17
- import { _ as te } from "./index-DwPJu6XM.js";
16
+ import { B as ee } from "./BaseComponent-NnwLq7Cf.js";
17
+ import { _ as te } from "./index-D5BukPPY.js";
18
18
  import { A as ne, D as ae } from "./ele-lst-icon-CKpeRKmk.js";
19
19
  const oe = { class: "side-menu-wrapper" }, re = { class: "menu-header" }, le = { class: "header-title" }, se = { class: "menu-list" }, ce = {
20
20
  key: 0,
@@ -1 +1 @@
1
- "use strict";var P=Object.defineProperty,R=Object.defineProperties;var z=Object.getOwnPropertyDescriptors;var B=Object.getOwnPropertySymbols;var F=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable;var w=(u,l,f)=>l in u?P(u,l,{enumerable:!0,configurable:!0,writable:!0,value:f}):u[l]=f,O=(u,l)=>{for(var f in l||(l={}))F.call(l,f)&&w(u,f,l[f]);if(B)for(var f of B(l))U.call(l,f)&&w(u,f,l[f]);return u},I=(u,l)=>R(u,z(l));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("html2canvas");const S=require("./index-DVqMfQVc.cjs");require("element-plus");const q=require("./EChartComponentBase-dLE5F7Tt.cjs");require("./index-mAPVa0s4.cjs");const T=require("./ele-bar-icon-V94clxg_.cjs"),W=require("./echarts-BB8O2KSA.cjs"),H={class:"slope-stability-wrapper"},K={class:"panel-header"},Q={class:"header-left"},G={class:"header-title"},J={class:"search-bar"},X=["placeholder"],Y={class:"date-picker-row"},Z={class:"date-picker-item"},ee={class:"date-picker-item"},te={class:"chart-area"},le=["id"],ae={class:"action-buttons"},oe=["onClick"],ne={class:"detail-title"},re={class:"detail-modal-body"},se={class:"detail-summary"},ce={class:"detail-list"},ie={class:"detail-list-body"},de={key:0,class:"no-data"},ue={DEFAULT_ICON:T.DEFAULT_ICON,ACTIVE_ICON:T.ACTIVE_ICON,NAME_CN:"边坡稳定性分区",NAME_EN:"Slope Stability",ORDER:7,PLATFORM:["pc","screen"]},fe={title:{value:"边坡稳定性分区",type:"string",label:"component.slopeStability.title"},realtimeBtnText:{value:"实时更新",type:"string",label:"component.slopeStability.realtimeBtnText"},searchPlaceholder:{value:"搜索区域、编号...",type:"string",label:"component.slopeStability.searchPlaceholder"},bgColor:{value:"#1a2a3a",type:"color",label:"setting.bgColor"},borderColor:{value:"#2a4a6a",type:"color",label:"component.slopeStability.borderColor"},textColor:{value:"#ffffff",type:"color",label:"setting.textColor"},accentColor:{value:"#00d4ff",type:"color",label:"component.slopeStability.accentColor"},glowEffect:{value:!0,type:"checkbox",label:"component.slopeStability.glowEffect"},glowIntensity:{value:10,type:"number",label:"component.slopeStability.glowIntensity",min:0,max:30,step:1}},pe=[{name:"稳定",fv:"stable_percent",object_id:"",value:62.5,color:"#2ecc71"},{name:"基本稳定",fv:"basic_stable_percent",object_id:"",value:28.3,color:"#f39c12"},{name:"欠稳定",fv:"unstable_percent",object_id:"",value:9.2,color:"#e74c3c"}],me=["name","fv","object_id","color"],ve=["mosaic","statistics","calculate","statisticsRealtime","calculateRealtime"],be={useAlias:!1,multiObject:!1,source:"mosaic"},he={DEFAULT:ue,OPTIONS:fe,DATA:pe,PARAMS:me,SOURCE:ve,COMMON:be},ye=e.defineComponent(I(O({},he),{__name:"slopeStability",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(u){e.useCssVars(a=>({v651fb250:e.unref(s).bgColor,fa048c6e:e.unref(s).borderColor,v32fa85e8:e.unref(s).textColor,v12082beb:e.unref(s).accentColor,v795e6932:e.unref(s).glowEffect?`drop-shadow(0 0 ${e.unref(s).glowIntensity}px ${e.unref(s).accentColor})`:"none",c4139b70:e.unref(s).glowEffect?`0 0 ${e.unref(s).glowIntensity}px ${e.unref(s).accentColor}`:"none",v5372ff44:e.unref(s).glowEffect?`0 0 ${e.unref(s).glowIntensity}px ${e.unref(s).accentColor}40`:"none"}));const l=u;class f extends q.EChartComponentBase{extractStyles(){var i,m,n,d,c,o,r,p,v,g,x;const{options:t}=this.props.conf;return{title:((i=t==null?void 0:t.title)==null?void 0:i.value)||"边坡稳定性分区",realtimeBtnText:((m=t==null?void 0:t.realtimeBtnText)==null?void 0:m.value)||"实时更新",searchPlaceholder:((n=t==null?void 0:t.searchPlaceholder)==null?void 0:n.value)||"搜索区域、编号...",bgColor:((d=t==null?void 0:t.bgColor)==null?void 0:d.value)||"#1a2a3a",borderColor:((c=t==null?void 0:t.borderColor)==null?void 0:c.value)||"#2a4a6a",textColor:((o=t==null?void 0:t.textColor)==null?void 0:o.value)||"#ffffff",accentColor:((r=t==null?void 0:t.accentColor)==null?void 0:r.value)||"#00d4ff",glowEffect:(v=(p=t==null?void 0:t.glowEffect)==null?void 0:p.value)!=null?v:!0,glowIntensity:(x=(g=t==null?void 0:t.glowIntensity)==null?void 0:g.value)!=null?x:10}}getDefaultData(){return[{name:"稳定",fv:"stable_percent",object_id:"",value:62.5,color:"#2ecc71"},{name:"基本稳定",fv:"basic_stable_percent",object_id:"",value:28.3,color:"#f39c12"},{name:"欠稳定",fv:"unstable_percent",object_id:"",value:9.2,color:"#e74c3c"}]}getChartOption(){var d;let t=(d=this.props.conf)==null?void 0:d.data;(!t||t.length===0)&&(t=this.getDefaultData());const i=t.map(c=>c.name),m=t.map(c=>{var o;return(o=c.value)!=null?o:0}),n=t.map(c=>c.color||"#4162ff");return{grid:{left:50,right:20,top:30,bottom:30},xAxis:{type:"category",data:i,axisLine:{lineStyle:{color:"#2a4a6a"}},axisLabel:{color:"#ffffff",fontSize:12}},yAxis:{type:"value",max:100,axisLine:{show:!1},splitLine:{lineStyle:{color:"#2a4a6a",type:"dashed"}},axisLabel:{color:"#ffffff",fontSize:12,formatter:"{value}%"}},series:[{type:"bar",data:m.map((c,o)=>({value:c,itemStyle:{color:n[o]}})),barWidth:"40%",label:{show:!0,position:"top",color:"#ffffff",fontSize:14,fontWeight:"bold",formatter:"{c}%"}}]}}setHistoryData(t){const{data:i,common:m}=this.props.conf,n=m.source||"mosaic";if(!i.some(o=>o.object_id&&o.fv))return;["statistics","calculate"].includes(n)&&(t=S.formatStatisticsResult(t,i));let c=S.handleNullData(t,this.props,"history");i.forEach((o,r)=>{var p,v;if(!(!o.object_id||!o.fv))try{const g=(v=(p=c.history[r])==null?void 0:p[0])==null?void 0:v[o.fv];g!=null&&(o.value=g)}catch(g){}}),this.updateChartData()}setSocketData(t){if(!t)return;const{data:i}=this.props.conf;i.some(n=>n.object_id&&n.fv)&&(i.forEach(n=>{if(!n.object_id||!n.fv)return;const d=this.extractDataValue(t,n.fv);d!=null&&(n.value=d)}),this.updateChartData())}updateChartData(){this.chartObj&&this.chartObj.setOption(this.getChartOption())}}const b=new f(l,"slopeStability");(!l.conf.data||l.conf.data.length===0)&&(l.conf.data=b.getDefaultData()),b.setupLifecycle();const s=b.getStyle(),_=b.getEchartId(),E=e.ref(""),N=e.ref(""),V=e.ref(""),h=e.ref(null),C=e.ref(!1),y=e.computed(()=>{var a,t;return h.value===null?null:((t=(a=l.conf)==null?void 0:a.data)==null?void 0:t[h.value])||null}),D=e.computed(()=>{if(h.value===null)return[];const t=h.value*2+1;return[{id:`BP-${String(t).padStart(3,"0")}`,time:"2025-12-16 10:30"},{id:`BP-${String(t+1).padStart(3,"0")}`,time:"2025-12-16 10:25"},{id:`BP-${String(t+10).padStart(3,"0")}`,time:"2025-12-16 10:20"}]}),M=a=>({background:`${a}30`,color:a,border:`1px solid ${a}`}),j=()=>console.log("实时更新"),A=()=>console.log("搜索:",E.value),L=()=>{E.value=""},$=a=>{h.value=a,C.value=!0},k=()=>{C.value=!1,h.value=null};return e.onMounted(()=>{e.nextTick(()=>{const a=document.getElementById(_);if(a){const t=W.init(a);t.setOption(b.getChartOption()),b.chartObj=t}})}),e.watch(()=>{var a;return(a=l.conf)==null?void 0:a.data},()=>{e.nextTick(()=>b.updateChartData())},{deep:!0}),(a,t)=>{var i,m,n,d,c,o;return e.openBlock(),e.createElementBlock("div",H,[e.createElementVNode("div",K,[e.createElementVNode("div",Q,[t[3]||(t[3]=e.createStaticVNode('<svg class="header-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" data-v-817dd801><path d="M3 3v18h18" data-v-817dd801></path><path d="M18 17V9" data-v-817dd801></path><path d="M13 17V5" data-v-817dd801></path><path d="M8 17v-3" data-v-817dd801></path></svg>',1)),e.createElementVNode("span",G,e.toDisplayString(e.unref(s).title),1)]),e.createElementVNode("button",{class:"realtime-btn",onClick:j},e.toDisplayString(e.unref(s).realtimeBtnText),1)]),e.createElementVNode("div",J,[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":t[0]||(t[0]=r=>E.value=r),type:"text",class:"search-input",placeholder:e.unref(s).searchPlaceholder},null,8,X),[[e.vModelText,E.value]]),e.createElementVNode("button",{class:"search-btn",onClick:A},[...t[4]||(t[4]=[e.createElementVNode("span",null,"Q",-1)])]),e.createElementVNode("button",{class:"clear-btn",onClick:L},[...t[5]||(t[5]=[e.createElementVNode("span",null,"×",-1)])])]),e.createElementVNode("div",Y,[e.createElementVNode("div",Z,[t[6]||(t[6]=e.createElementVNode("label",null,"开始日期",-1)),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":t[1]||(t[1]=r=>N.value=r),type:"date",class:"date-input"},null,512),[[e.vModelText,N.value]])]),e.createElementVNode("div",ee,[t[7]||(t[7]=e.createElementVNode("label",null,"结束日期",-1)),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":t[2]||(t[2]=r=>V.value=r),type:"date",class:"date-input"},null,512),[[e.vModelText,V.value]])])]),e.createElementVNode("div",te,[t[8]||(t[8]=e.createElementVNode("div",{class:"chart-title"},"边坡稳定性分析",-1)),e.createElementVNode("div",{id:e.unref(_),class:"chart-container"},null,8,le)]),e.createElementVNode("div",ae,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.conf.data,(r,p)=>(e.openBlock(),e.createElementBlock("button",{key:p,class:e.normalizeClass(["action-btn",{active:h.value===p}]),style:e.normalizeStyle(M(r.color)),onClick:v=>$(p)},e.toDisplayString(r.name),15,oe))),128))]),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[C.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"detail-modal",onClick:e.withModifiers(k,["self"])},[e.createElementVNode("div",{class:"detail-modal-content",style:e.normalizeStyle({borderColor:(i=y.value)==null?void 0:i.color})},[e.createElementVNode("div",{class:"detail-modal-header",style:e.normalizeStyle({background:(m=y.value)==null?void 0:m.color})},[e.createElementVNode("span",ne,e.toDisplayString((n=y.value)==null?void 0:n.name)+" - 详细数据",1),e.createElementVNode("button",{class:"detail-close-btn",onClick:k},"×")],4),e.createElementVNode("div",re,[e.createElementVNode("div",se,[e.createElementVNode("div",{class:"summary-value",style:e.normalizeStyle({color:(d=y.value)==null?void 0:d.color})},e.toDisplayString((o=(c=y.value)==null?void 0:c.value)!=null?o:0)+"% ",5),t[9]||(t[9]=e.createElementVNode("div",{class:"summary-label"},"当前占比",-1))]),e.createElementVNode("div",ce,[t[10]||(t[10]=e.createElementVNode("div",{class:"detail-list-header"},[e.createElementVNode("span",null,"区域编号"),e.createElementVNode("span",null,"状态"),e.createElementVNode("span",null,"更新时间")],-1)),e.createElementVNode("div",ie,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(D.value,r=>{var p,v;return e.openBlock(),e.createElementBlock("div",{key:r.id,class:"detail-list-item"},[e.createElementVNode("span",null,e.toDisplayString(r.id),1),e.createElementVNode("span",{class:"status-tag",style:e.normalizeStyle({background:(p=y.value)==null?void 0:p.color})},e.toDisplayString((v=y.value)==null?void 0:v.name),5),e.createElementVNode("span",null,e.toDisplayString(r.time),1)])}),128)),D.value.length===0?(e.openBlock(),e.createElementBlock("div",de," 暂无数据 ")):e.createCommentVNode("",!0)])])])],4)])):e.createCommentVNode("",!0)])),e.renderSlot(a.$slots,"default",{},void 0,!0)])}}})),ge=S._export_sfc(ye,[["__scopeId","data-v-817dd801"]]);exports.default=ge;
1
+ "use strict";var P=Object.defineProperty,R=Object.defineProperties;var z=Object.getOwnPropertyDescriptors;var B=Object.getOwnPropertySymbols;var F=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable;var w=(u,l,f)=>l in u?P(u,l,{enumerable:!0,configurable:!0,writable:!0,value:f}):u[l]=f,O=(u,l)=>{for(var f in l||(l={}))F.call(l,f)&&w(u,f,l[f]);if(B)for(var f of B(l))U.call(l,f)&&w(u,f,l[f]);return u},I=(u,l)=>R(u,z(l));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("html2canvas");const S=require("./index-BzWbqJIl.cjs");require("element-plus");const q=require("./EChartComponentBase-D7_ZiE7P.cjs");require("./index-CJgyJTvc.cjs");const T=require("./ele-bar-icon-V94clxg_.cjs"),W=require("./echarts-BB8O2KSA.cjs"),H={class:"slope-stability-wrapper"},K={class:"panel-header"},Q={class:"header-left"},G={class:"header-title"},J={class:"search-bar"},X=["placeholder"],Y={class:"date-picker-row"},Z={class:"date-picker-item"},ee={class:"date-picker-item"},te={class:"chart-area"},le=["id"],ae={class:"action-buttons"},oe=["onClick"],ne={class:"detail-title"},re={class:"detail-modal-body"},se={class:"detail-summary"},ce={class:"detail-list"},ie={class:"detail-list-body"},de={key:0,class:"no-data"},ue={DEFAULT_ICON:T.DEFAULT_ICON,ACTIVE_ICON:T.ACTIVE_ICON,NAME_CN:"边坡稳定性分区",NAME_EN:"Slope Stability",ORDER:7,PLATFORM:["pc","screen"]},fe={title:{value:"边坡稳定性分区",type:"string",label:"component.slopeStability.title"},realtimeBtnText:{value:"实时更新",type:"string",label:"component.slopeStability.realtimeBtnText"},searchPlaceholder:{value:"搜索区域、编号...",type:"string",label:"component.slopeStability.searchPlaceholder"},bgColor:{value:"#1a2a3a",type:"color",label:"setting.bgColor"},borderColor:{value:"#2a4a6a",type:"color",label:"component.slopeStability.borderColor"},textColor:{value:"#ffffff",type:"color",label:"setting.textColor"},accentColor:{value:"#00d4ff",type:"color",label:"component.slopeStability.accentColor"},glowEffect:{value:!0,type:"checkbox",label:"component.slopeStability.glowEffect"},glowIntensity:{value:10,type:"number",label:"component.slopeStability.glowIntensity",min:0,max:30,step:1}},pe=[{name:"稳定",fv:"stable_percent",object_id:"",value:62.5,color:"#2ecc71"},{name:"基本稳定",fv:"basic_stable_percent",object_id:"",value:28.3,color:"#f39c12"},{name:"欠稳定",fv:"unstable_percent",object_id:"",value:9.2,color:"#e74c3c"}],me=["name","fv","object_id","color"],ve=["mosaic","statistics","calculate","statisticsRealtime","calculateRealtime"],be={useAlias:!1,multiObject:!1,source:"mosaic"},he={DEFAULT:ue,OPTIONS:fe,DATA:pe,PARAMS:me,SOURCE:ve,COMMON:be},ye=e.defineComponent(I(O({},he),{__name:"slopeStability",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(u){e.useCssVars(a=>({v651fb250:e.unref(s).bgColor,fa048c6e:e.unref(s).borderColor,v32fa85e8:e.unref(s).textColor,v12082beb:e.unref(s).accentColor,v795e6932:e.unref(s).glowEffect?`drop-shadow(0 0 ${e.unref(s).glowIntensity}px ${e.unref(s).accentColor})`:"none",c4139b70:e.unref(s).glowEffect?`0 0 ${e.unref(s).glowIntensity}px ${e.unref(s).accentColor}`:"none",v5372ff44:e.unref(s).glowEffect?`0 0 ${e.unref(s).glowIntensity}px ${e.unref(s).accentColor}40`:"none"}));const l=u;class f extends q.EChartComponentBase{extractStyles(){var i,m,n,d,c,o,r,p,v,g,x;const{options:t}=this.props.conf;return{title:((i=t==null?void 0:t.title)==null?void 0:i.value)||"边坡稳定性分区",realtimeBtnText:((m=t==null?void 0:t.realtimeBtnText)==null?void 0:m.value)||"实时更新",searchPlaceholder:((n=t==null?void 0:t.searchPlaceholder)==null?void 0:n.value)||"搜索区域、编号...",bgColor:((d=t==null?void 0:t.bgColor)==null?void 0:d.value)||"#1a2a3a",borderColor:((c=t==null?void 0:t.borderColor)==null?void 0:c.value)||"#2a4a6a",textColor:((o=t==null?void 0:t.textColor)==null?void 0:o.value)||"#ffffff",accentColor:((r=t==null?void 0:t.accentColor)==null?void 0:r.value)||"#00d4ff",glowEffect:(v=(p=t==null?void 0:t.glowEffect)==null?void 0:p.value)!=null?v:!0,glowIntensity:(x=(g=t==null?void 0:t.glowIntensity)==null?void 0:g.value)!=null?x:10}}getDefaultData(){return[{name:"稳定",fv:"stable_percent",object_id:"",value:62.5,color:"#2ecc71"},{name:"基本稳定",fv:"basic_stable_percent",object_id:"",value:28.3,color:"#f39c12"},{name:"欠稳定",fv:"unstable_percent",object_id:"",value:9.2,color:"#e74c3c"}]}getChartOption(){var d;let t=(d=this.props.conf)==null?void 0:d.data;(!t||t.length===0)&&(t=this.getDefaultData());const i=t.map(c=>c.name),m=t.map(c=>{var o;return(o=c.value)!=null?o:0}),n=t.map(c=>c.color||"#4162ff");return{grid:{left:50,right:20,top:30,bottom:30},xAxis:{type:"category",data:i,axisLine:{lineStyle:{color:"#2a4a6a"}},axisLabel:{color:"#ffffff",fontSize:12}},yAxis:{type:"value",max:100,axisLine:{show:!1},splitLine:{lineStyle:{color:"#2a4a6a",type:"dashed"}},axisLabel:{color:"#ffffff",fontSize:12,formatter:"{value}%"}},series:[{type:"bar",data:m.map((c,o)=>({value:c,itemStyle:{color:n[o]}})),barWidth:"40%",label:{show:!0,position:"top",color:"#ffffff",fontSize:14,fontWeight:"bold",formatter:"{c}%"}}]}}setHistoryData(t){const{data:i,common:m}=this.props.conf,n=m.source||"mosaic";if(!i.some(o=>o.object_id&&o.fv))return;["statistics","calculate"].includes(n)&&(t=S.formatStatisticsResult(t,i));let c=S.handleNullData(t,this.props,"history");i.forEach((o,r)=>{var p,v;if(!(!o.object_id||!o.fv))try{const g=(v=(p=c.history[r])==null?void 0:p[0])==null?void 0:v[o.fv];g!=null&&(o.value=g)}catch(g){}}),this.updateChartData()}setSocketData(t){if(!t)return;const{data:i}=this.props.conf;i.some(n=>n.object_id&&n.fv)&&(i.forEach(n=>{if(!n.object_id||!n.fv)return;const d=this.extractDataValue(t,n.fv);d!=null&&(n.value=d)}),this.updateChartData())}updateChartData(){this.chartObj&&this.chartObj.setOption(this.getChartOption())}}const b=new f(l,"slopeStability");(!l.conf.data||l.conf.data.length===0)&&(l.conf.data=b.getDefaultData()),b.setupLifecycle();const s=b.getStyle(),_=b.getEchartId(),E=e.ref(""),N=e.ref(""),V=e.ref(""),h=e.ref(null),C=e.ref(!1),y=e.computed(()=>{var a,t;return h.value===null?null:((t=(a=l.conf)==null?void 0:a.data)==null?void 0:t[h.value])||null}),D=e.computed(()=>{if(h.value===null)return[];const t=h.value*2+1;return[{id:`BP-${String(t).padStart(3,"0")}`,time:"2025-12-16 10:30"},{id:`BP-${String(t+1).padStart(3,"0")}`,time:"2025-12-16 10:25"},{id:`BP-${String(t+10).padStart(3,"0")}`,time:"2025-12-16 10:20"}]}),M=a=>({background:`${a}30`,color:a,border:`1px solid ${a}`}),j=()=>console.log("实时更新"),A=()=>console.log("搜索:",E.value),L=()=>{E.value=""},$=a=>{h.value=a,C.value=!0},k=()=>{C.value=!1,h.value=null};return e.onMounted(()=>{e.nextTick(()=>{const a=document.getElementById(_);if(a){const t=W.init(a);t.setOption(b.getChartOption()),b.chartObj=t}})}),e.watch(()=>{var a;return(a=l.conf)==null?void 0:a.data},()=>{e.nextTick(()=>b.updateChartData())},{deep:!0}),(a,t)=>{var i,m,n,d,c,o;return e.openBlock(),e.createElementBlock("div",H,[e.createElementVNode("div",K,[e.createElementVNode("div",Q,[t[3]||(t[3]=e.createStaticVNode('<svg class="header-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" data-v-817dd801><path d="M3 3v18h18" data-v-817dd801></path><path d="M18 17V9" data-v-817dd801></path><path d="M13 17V5" data-v-817dd801></path><path d="M8 17v-3" data-v-817dd801></path></svg>',1)),e.createElementVNode("span",G,e.toDisplayString(e.unref(s).title),1)]),e.createElementVNode("button",{class:"realtime-btn",onClick:j},e.toDisplayString(e.unref(s).realtimeBtnText),1)]),e.createElementVNode("div",J,[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":t[0]||(t[0]=r=>E.value=r),type:"text",class:"search-input",placeholder:e.unref(s).searchPlaceholder},null,8,X),[[e.vModelText,E.value]]),e.createElementVNode("button",{class:"search-btn",onClick:A},[...t[4]||(t[4]=[e.createElementVNode("span",null,"Q",-1)])]),e.createElementVNode("button",{class:"clear-btn",onClick:L},[...t[5]||(t[5]=[e.createElementVNode("span",null,"×",-1)])])]),e.createElementVNode("div",Y,[e.createElementVNode("div",Z,[t[6]||(t[6]=e.createElementVNode("label",null,"开始日期",-1)),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":t[1]||(t[1]=r=>N.value=r),type:"date",class:"date-input"},null,512),[[e.vModelText,N.value]])]),e.createElementVNode("div",ee,[t[7]||(t[7]=e.createElementVNode("label",null,"结束日期",-1)),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":t[2]||(t[2]=r=>V.value=r),type:"date",class:"date-input"},null,512),[[e.vModelText,V.value]])])]),e.createElementVNode("div",te,[t[8]||(t[8]=e.createElementVNode("div",{class:"chart-title"},"边坡稳定性分析",-1)),e.createElementVNode("div",{id:e.unref(_),class:"chart-container"},null,8,le)]),e.createElementVNode("div",ae,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.conf.data,(r,p)=>(e.openBlock(),e.createElementBlock("button",{key:p,class:e.normalizeClass(["action-btn",{active:h.value===p}]),style:e.normalizeStyle(M(r.color)),onClick:v=>$(p)},e.toDisplayString(r.name),15,oe))),128))]),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[C.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"detail-modal",onClick:e.withModifiers(k,["self"])},[e.createElementVNode("div",{class:"detail-modal-content",style:e.normalizeStyle({borderColor:(i=y.value)==null?void 0:i.color})},[e.createElementVNode("div",{class:"detail-modal-header",style:e.normalizeStyle({background:(m=y.value)==null?void 0:m.color})},[e.createElementVNode("span",ne,e.toDisplayString((n=y.value)==null?void 0:n.name)+" - 详细数据",1),e.createElementVNode("button",{class:"detail-close-btn",onClick:k},"×")],4),e.createElementVNode("div",re,[e.createElementVNode("div",se,[e.createElementVNode("div",{class:"summary-value",style:e.normalizeStyle({color:(d=y.value)==null?void 0:d.color})},e.toDisplayString((o=(c=y.value)==null?void 0:c.value)!=null?o:0)+"% ",5),t[9]||(t[9]=e.createElementVNode("div",{class:"summary-label"},"当前占比",-1))]),e.createElementVNode("div",ce,[t[10]||(t[10]=e.createElementVNode("div",{class:"detail-list-header"},[e.createElementVNode("span",null,"区域编号"),e.createElementVNode("span",null,"状态"),e.createElementVNode("span",null,"更新时间")],-1)),e.createElementVNode("div",ie,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(D.value,r=>{var p,v;return e.openBlock(),e.createElementBlock("div",{key:r.id,class:"detail-list-item"},[e.createElementVNode("span",null,e.toDisplayString(r.id),1),e.createElementVNode("span",{class:"status-tag",style:e.normalizeStyle({background:(p=y.value)==null?void 0:p.color})},e.toDisplayString((v=y.value)==null?void 0:v.name),5),e.createElementVNode("span",null,e.toDisplayString(r.time),1)])}),128)),D.value.length===0?(e.openBlock(),e.createElementBlock("div",de," 暂无数据 ")):e.createCommentVNode("",!0)])])])],4)])):e.createCommentVNode("",!0)])),e.renderSlot(a.$slots,"default",{},void 0,!0)])}}})),ge=S._export_sfc(ye,[["__scopeId","data-v-817dd801"]]);exports.default=ge;
@@ -1,34 +1,34 @@
1
1
  var J = Object.defineProperty, X = Object.defineProperties;
2
2
  var Y = Object.getOwnPropertyDescriptors;
3
- var L = Object.getOwnPropertySymbols;
3
+ var N = Object.getOwnPropertySymbols;
4
4
  var Z = Object.prototype.hasOwnProperty, tt = Object.prototype.propertyIsEnumerable;
5
- var N = (f, a, p) => a in f ? J(f, a, { enumerable: !0, configurable: !0, writable: !0, value: p }) : f[a] = p, V = (f, a) => {
5
+ var V = (f, a, p) => a in f ? J(f, a, { enumerable: !0, configurable: !0, writable: !0, value: p }) : f[a] = p, L = (f, a) => {
6
6
  for (var p in a || (a = {}))
7
- Z.call(a, p) && N(f, p, a[p]);
8
- if (L)
9
- for (var p of L(a))
10
- tt.call(a, p) && N(f, p, a[p]);
7
+ Z.call(a, p) && V(f, p, a[p]);
8
+ if (N)
9
+ for (var p of N(a))
10
+ tt.call(a, p) && V(f, p, a[p]);
11
11
  return f;
12
12
  }, P = (f, a) => X(f, Y(a));
13
13
  import { defineComponent as et, useCssVars as at, unref as i, ref as D, computed as R, onMounted as lt, nextTick as U, watch as ot, openBlock as m, createElementBlock as x, createElementVNode as e, createStaticVNode as st, toDisplayString as y, withDirectives as O, vModelText as B, Fragment as F, renderList as z, normalizeStyle as w, normalizeClass as nt, createBlock as it, Teleport as rt, withModifiers as ct, createCommentVNode as W, renderSlot as dt } from "vue";
14
14
  import "html2canvas";
15
- import { L as ut, E as ft, _ as pt } from "./index-DwPJu6XM.js";
15
+ import { O as ut, I as ft, _ as pt } from "./index-D5BukPPY.js";
16
16
  import "element-plus";
17
- import { E as vt } from "./EChartComponentBase-cFfawl6h.js";
18
- import "./index-ButoLLAe.js";
17
+ import { E as vt } from "./EChartComponentBase-C3gcATBZ.js";
18
+ import "./index-eIsZnzkc.js";
19
19
  import { A as bt, D as ht } from "./ele-bar-icon-C-GiCs2a.js";
20
- import { i as mt } from "./echarts-BVht3HHb.js";
21
- const yt = { class: "slope-stability-wrapper" }, gt = { class: "panel-header" }, Ct = { class: "header-left" }, _t = { class: "header-title" }, St = { class: "search-bar" }, xt = ["placeholder"], Dt = { class: "date-picker-row" }, wt = { class: "date-picker-item" }, kt = { class: "date-picker-item" }, Et = { class: "chart-area" }, Ot = ["id"], Bt = { class: "action-buttons" }, jt = ["onClick"], It = { class: "detail-title" }, Mt = { class: "detail-modal-body" }, At = { class: "detail-summary" }, Tt = { class: "detail-list" }, $t = { class: "detail-list-body" }, Lt = {
20
+ import { i as mt } from "./echarts-Bp7QN4X6.js";
21
+ const yt = { class: "slope-stability-wrapper" }, gt = { class: "panel-header" }, Ct = { class: "header-left" }, _t = { class: "header-title" }, St = { class: "search-bar" }, xt = ["placeholder"], Dt = { class: "date-picker-row" }, wt = { class: "date-picker-item" }, kt = { class: "date-picker-item" }, Et = { class: "chart-area" }, Ot = ["id"], Bt = { class: "action-buttons" }, It = ["onClick"], jt = { class: "detail-title" }, Mt = { class: "detail-modal-body" }, At = { class: "detail-summary" }, Tt = { class: "detail-list" }, $t = { class: "detail-list-body" }, Nt = {
22
22
  key: 0,
23
23
  class: "no-data"
24
- }, Nt = {
24
+ }, Vt = {
25
25
  DEFAULT_ICON: ht,
26
26
  ACTIVE_ICON: bt,
27
27
  NAME_CN: "边坡稳定性分区",
28
28
  NAME_EN: "Slope Stability",
29
29
  ORDER: 7,
30
30
  PLATFORM: ["pc", "screen"]
31
- }, Vt = {
31
+ }, Lt = {
32
32
  title: { value: "边坡稳定性分区", type: "string", label: "component.slopeStability.title" },
33
33
  realtimeBtnText: { value: "实时更新", type: "string", label: "component.slopeStability.realtimeBtnText" },
34
34
  searchPlaceholder: { value: "搜索区域、编号...", type: "string", label: "component.slopeStability.searchPlaceholder" },
@@ -42,7 +42,7 @@ const yt = { class: "slope-stability-wrapper" }, gt = { class: "panel-header" },
42
42
  { name: "稳定", fv: "stable_percent", object_id: "", value: 62.5, color: "#2ecc71" },
43
43
  { name: "基本稳定", fv: "basic_stable_percent", object_id: "", value: 28.3, color: "#f39c12" },
44
44
  { name: "欠稳定", fv: "unstable_percent", object_id: "", value: 9.2, color: "#e74c3c" }
45
- ], Rt = ["name", "fv", "object_id", "color"], Ut = ["mosaic", "statistics", "calculate", "statisticsRealtime", "calculateRealtime"], Ft = { useAlias: !1, multiObject: !1, source: "mosaic" }, zt = { DEFAULT: Nt, OPTIONS: Vt, DATA: Pt, PARAMS: Rt, SOURCE: Ut, COMMON: Ft }, Wt = /* @__PURE__ */ et(P(V({}, zt), {
45
+ ], Rt = ["name", "fv", "object_id", "color"], Ut = ["mosaic", "statistics", "calculate", "statisticsRealtime", "calculateRealtime"], Ft = { useAlias: !1, multiObject: !1, source: "mosaic" }, zt = { DEFAULT: Vt, OPTIONS: Lt, DATA: Pt, PARAMS: Rt, SOURCE: Ut, COMMON: Ft }, Wt = /* @__PURE__ */ et(P(L({}, zt), {
46
46
  __name: "slopeStability",
47
47
  props: {
48
48
  conf: { type: Object, default: () => ({ data: [] }) },
@@ -159,7 +159,7 @@ const yt = { class: "slope-stability-wrapper" }, gt = { class: "panel-header" },
159
159
  }
160
160
  const g = new p(a, "slopeStability");
161
161
  (!a.conf.data || a.conf.data.length === 0) && (a.conf.data = g.getDefaultData()), g.setupLifecycle();
162
- const r = g.getStyle(), j = g.getEchartId(), k = D(""), I = D(""), M = D(""), C = D(null), E = D(!1), _ = R(() => {
162
+ const r = g.getStyle(), I = g.getEchartId(), k = D(""), j = D(""), M = D(""), C = D(null), E = D(!1), _ = R(() => {
163
163
  var l, t;
164
164
  return C.value === null ? null : ((t = (l = a.conf) == null ? void 0 : l.data) == null ? void 0 : t[C.value]) || null;
165
165
  }), A = R(() => {
@@ -183,7 +183,7 @@ const yt = { class: "slope-stability-wrapper" }, gt = { class: "panel-header" },
183
183
  };
184
184
  return lt(() => {
185
185
  U(() => {
186
- const l = document.getElementById(j);
186
+ const l = document.getElementById(I);
187
187
  if (l) {
188
188
  const t = mt(l);
189
189
  t.setOption(g.getChartOption()), g.chartObj = t;
@@ -233,11 +233,11 @@ const yt = { class: "slope-stability-wrapper" }, gt = { class: "panel-header" },
233
233
  e("div", wt, [
234
234
  t[6] || (t[6] = e("label", null, "开始日期", -1)),
235
235
  O(e("input", {
236
- "onUpdate:modelValue": t[1] || (t[1] = (n) => I.value = n),
236
+ "onUpdate:modelValue": t[1] || (t[1] = (n) => j.value = n),
237
237
  type: "date",
238
238
  class: "date-input"
239
239
  }, null, 512), [
240
- [B, I.value]
240
+ [B, j.value]
241
241
  ])
242
242
  ]),
243
243
  e("div", kt, [
@@ -254,7 +254,7 @@ const yt = { class: "slope-stability-wrapper" }, gt = { class: "panel-header" },
254
254
  e("div", Et, [
255
255
  t[8] || (t[8] = e("div", { class: "chart-title" }, "边坡稳定性分析", -1)),
256
256
  e("div", {
257
- id: i(j),
257
+ id: i(I),
258
258
  class: "chart-container"
259
259
  }, null, 8, Ot)
260
260
  ]),
@@ -264,7 +264,7 @@ const yt = { class: "slope-stability-wrapper" }, gt = { class: "panel-header" },
264
264
  class: nt(["action-btn", { active: C.value === v }]),
265
265
  style: w(H(n.color)),
266
266
  onClick: (h) => G(v)
267
- }, y(n.name), 15, jt))), 128))
267
+ }, y(n.name), 15, It))), 128))
268
268
  ]),
269
269
  (m(), it(rt, { to: "body" }, [
270
270
  E.value ? (m(), x("div", {
@@ -280,7 +280,7 @@ const yt = { class: "slope-stability-wrapper" }, gt = { class: "panel-header" },
280
280
  class: "detail-modal-header",
281
281
  style: w({ background: (b = _.value) == null ? void 0 : b.color })
282
282
  }, [
283
- e("span", It, y((s = _.value) == null ? void 0 : s.name) + " - 详细数据", 1),
283
+ e("span", jt, y((s = _.value) == null ? void 0 : s.name) + " - 详细数据", 1),
284
284
  e("button", {
285
285
  class: "detail-close-btn",
286
286
  onClick: T
@@ -315,7 +315,7 @@ const yt = { class: "slope-stability-wrapper" }, gt = { class: "panel-header" },
315
315
  e("span", null, y(n.time), 1)
316
316
  ]);
317
317
  }), 128)),
318
- A.value.length === 0 ? (m(), x("div", Lt, " 暂无数据 ")) : W("", !0)
318
+ A.value.length === 0 ? (m(), x("div", Nt, " 暂无数据 ")) : W("", !0)
319
319
  ])
320
320
  ])
321
321
  ])
@@ -1 +1 @@
1
- "use strict";var le=Object.defineProperty,ie=Object.defineProperties;var ce=Object.getOwnPropertyDescriptors;var K=Object.getOwnPropertySymbols,de=Object.getPrototypeOf,ue=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,me=Reflect.get;var J=(v,s,f)=>s in v?le(v,s,{enumerable:!0,configurable:!0,writable:!0,value:f}):v[s]=f,Q=(v,s)=>{for(var f in s||(s={}))ue.call(s,f)&&J(v,f,s[f]);if(K)for(var f of K(s))fe.call(s,f)&&J(v,f,s[f]);return v},X=(v,s)=>ie(v,ce(s));var Z=(v,s,f)=>me(de(v),f,s);var q=(v,s,f)=>new Promise((h,D)=>{var G=p=>{try{w(f.next(p))}catch(I){D(I)}},L=p=>{try{w(f.throw(p))}catch(I){D(I)}},w=p=>p.done?h(p.value):Promise.resolve(p.value).then(G,L);w((f=f.apply(v,s)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue");require("html2canvas");const Y=require("./index-DVqMfQVc.cjs");require("element-plus");const pe=require("./EChartComponentBase-dLE5F7Tt.cjs");require("./index-mAPVa0s4.cjs");const ee=require("./ele-lin-icon-Dke_1AmT.cjs"),V=require("./echarts-BB8O2KSA.cjs"),ve={class:"panel-header"},he={class:"header-left"},ge={class:"header-title"},ye={class:"header-right"},be={class:"chart-area"},Ce={class:"y-axis-label"},Se=["id"],xe={DEFAULT_ICON:ee.DEFAULT_ICON,ACTIVE_ICON:ee.ACTIVE_ICON,NAME_CN:"监测点速度曲线",NAME_EN:"Speed Curve",ORDER:1,PLATFORM:["pc","screen"]},_e={title:{value:"监测点速度曲线 (24h)",type:"string",label:"component.speedCurve.title"},yAxisLabel:{value:"速度(mm/h)",type:"string",label:"component.speedCurve.yAxisLabel"},bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},lineColor:{value:"#ff6b6b",type:"color",label:"component.speedCurve.lineColor"},gradientStart:{value:"rgba(255, 107, 107, 0.3)",type:"color",label:"component.speedCurve.gradientStart"},gradientEnd:{value:"rgba(255, 107, 107, 0.05)",type:"color",label:"component.speedCurve.gradientEnd"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},jumpUrl:{value:"",type:"string",label:"component.speedCurve.jumpUrl"},linkChannel:{value:"gnss",type:"select",label:"联动频道",options:[{label:"GNSS监测",value:"gnss"},{label:"边坡监测",value:"slope"},{label:"设备联动",value:"device"},{label:"告警联动",value:"alarm"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},De=[{name:"GNSS55",fv:"speed",fvDeviceName:"deviceId",object_id:""}],Ae=["name","fv","fvDeviceName","object_id"],Ne=["mosaic","statistics","statisticsRealtime"],Oe={useAlias:!1,multiObject:!1,source:"mosaic"},je={DEFAULT:xe,OPTIONS:_e,DATA:De,PARAMS:Ae,SOURCE:Ne,COMMON:Oe},Le=o.defineComponent(X(Q({},je),{__name:"speedCurve",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(v){const s=v;class f extends pe.EChartComponentBase{constructor(){super(...arguments),this.currentObjectId=""}extractStyles(){var i,c,b,n,u,g,x,C,y,S;const{options:e}=this.props.conf,t=((i=e==null?void 0:e.linkChannel)==null?void 0:i.value)||"gnss",a=((c=e==null?void 0:e.customChannel)==null?void 0:c.value)||"",l=t==="custom"&&a?a:t;return{title:((b=e==null?void 0:e.title)==null?void 0:b.value)||"监测点速度曲线 (24h)",yAxisLabel:((n=e==null?void 0:e.yAxisLabel)==null?void 0:n.value)||"速度(mm/h)",bgColor:((u=e==null?void 0:e.bgColor)==null?void 0:u.value)||"#ffffff",lineColor:((g=e==null?void 0:e.lineColor)==null?void 0:g.value)||"#ff6b6b",gradientStart:((x=e==null?void 0:e.gradientStart)==null?void 0:x.value)||"rgba(255, 107, 107, 0.3)",gradientEnd:((C=e==null?void 0:e.gradientEnd)==null?void 0:C.value)||"rgba(255, 107, 107, 0.05)",textColor:((y=e==null?void 0:e.textColor)==null?void 0:y.value)||"#333333",jumpUrl:((S=e==null?void 0:e.jumpUrl)==null?void 0:S.value)||"",linkChannel:l}}getChartOption(){const e=this.Style.value,t=this.props.mode==="preview",a=t?[]:Array.from({length:24},(i,c)=>`${c}h`),l=t?[]:[1.5,3.2,5.1,6.5,6.6,7.2,7.8,8.4,8.9,9.2,9.5,9.8,10.2,10.5,10.3,10,9.8,9.6,9.5,9.6,9.7,9.8,9.85,9.85];return{grid:{top:40,right:20,bottom:30,left:50},xAxis:{type:"category",data:a,axisLine:{lineStyle:{color:"#e0e0e0"}},axisLabel:{color:e.textColor,fontSize:12},axisTick:{show:!1}},yAxis:{type:"value",axisLine:{show:!1},axisLabel:{color:e.textColor,fontSize:12},splitLine:{lineStyle:{color:"#f0f0f0",type:"dashed"}}},series:[{type:"line",data:l,smooth:!0,symbol:"circle",symbolSize:6,lineStyle:{color:e.lineColor,width:2},itemStyle:{color:e.lineColor,borderColor:"#fff",borderWidth:2},areaStyle:{color:new V.LinearGradient(0,0,0,1,[{offset:0,color:e.gradientStart},{offset:1,color:e.gradientEnd}])}}],tooltip:{trigger:"axis",backgroundColor:"rgba(255,255,255,0.95)",borderColor:"#eee",textStyle:{color:"#333"},formatter:i=>{const c=i[0];return`${c.name}<br/>速度: <strong>${c.value} mm/h</strong>`}}}}initHistory(){return q(this,null,function*(){const e=this.props.conf;if(!e)return[];e.options||(e.options={});const t=e.options.points,a=Object.prototype.hasOwnProperty.call(e.options,"points");(!t||Number(t)<24)&&(e.options.points=24);try{return yield Z(f.prototype,this,"initHistory").call(this)}finally{a?e.options.points=t:delete e.options.points}})}setHistoryData(e){var y,S,m,_,A,M;if(!this.hasData()||!this.chartObj||!e)return;const t=super.setHistoryData(e);if(!(t!=null&&t.length))return;const a=t[0];if(!((y=a==null?void 0:a.time)!=null&&y.length))return;const l=d=>{if(d==null||d===""||d==="-")return null;const N=Number(d);return Number.isFinite(N)?N:null},i=a.time.map((d,N)=>{var k;return{t:String(d!=null?d:""),v:l((k=a.data)==null?void 0:k[N])}});i.sort((d,N)=>new Date(d.t).getTime()-new Date(N.t).getTime());const c=i.slice(-24),b=c.map(d=>this.formatTimeLabel(d.t)),n=c.map(d=>d.v);for(let d=n.length-1;d>=0;d--)if(n[d]!=null){E.value=n[d];break}const u=this.chartObj.getOption();if(!u.xAxis||!u.series)return;const g=H.value,x=R(g);u.xAxis[0].data=b,u.series[0]&&(u.series[0].data=n,u.series[0].lineStyle={color:g,width:2},u.series[0].itemStyle={color:g,borderColor:"#fff",borderWidth:2},u.series[0].areaStyle={color:new V.LinearGradient(0,0,0,1,[{offset:0,color:x.start},{offset:1,color:x.end}])}),this.updateChart(u);const C=((m=(S=this.props.conf)==null?void 0:S.common)==null?void 0:m.object_id)||((M=(A=(_=this.props.conf)==null?void 0:_.data)==null?void 0:A[0])==null?void 0:M.object_id)||"";C&&this.setCurrentObjectId(String(C))}setSocketData(e){var b,n,u,g,x,C;if(!this.chartObj||!e)return;const t=((u=(n=(b=this.props.conf)==null?void 0:b.data)==null?void 0:n[0])==null?void 0:u.fv)||"speed",a=((C=(x=(g=this.props.conf)==null?void 0:g.data)==null?void 0:x[0])==null?void 0:C.fvDeviceName)||"",i=this.getSource()==="mosaic"?e.datetime:e.start_time,c=this.extractDataValue(e,t);if(a){const y=this.extractDataValue(e,a);y!=null&&(I.value=String(y))}if(c!=null&&i){const y=parseFloat(String(c));isNaN(y)||(E.value=y);const S=this.formatTimeLabel(i),m=this.chartObj.getOption();m.xAxis[0].data.push(S),m.series[0].data.push(c),m.xAxis[0].data.length>24&&(m.xAxis[0].data.shift(),m.series[0].data.shift());const _=H.value,A=R(_);m.series[0].lineStyle={color:_,width:2},m.series[0].itemStyle={color:_,borderColor:"#fff",borderWidth:2},m.series[0].areaStyle={color:new V.LinearGradient(0,0,0,1,[{offset:0,color:A.start},{offset:1,color:A.end}])},this.chartObj.setOption(m)}}formatTimeLabel(e){try{const t=e.split(".");return t.length>0?t[0]:e}catch(t){return e}}setCurrentObjectId(e){this.currentObjectId=e}getCurrentObjectId(){return this.currentObjectId}onLinkEvent(e){se(e)}}const h=new f(s,"speedCurve");h.setupLifecycle();const D=h.getStyle(),G=h.getEchartId(),L=o.reactive({dateRange:[Y.dayjs().subtract(1,"day").format("YYYY/MM/DD HH:mm"),Y.dayjs().format("YYYY/MM/DD HH:mm")]}),w=o.ref(0),p=o.ref(null),I=o.ref(""),E=o.ref(null),U=o.ref(null),P=r=>{const e=U.value;if(!e||e.length===0)return{alertText:"正常",alertColor:"#52c41a"};const t=Math.abs(r);for(const l of e)if(t>=l.minValue&&t<l.maxValue)return{alertText:l.name,alertColor:l.color};const a=e[e.length-1];return{alertText:a.name,alertColor:a.color}},W=[{name:"GNSS55",speed:9.85,data:[1.5,3.2,5.1,6.5,6.6,7.2,7.8,8.4,8.9,9.2,9.5,9.8,10.2,10.5,10.3,10,9.8,9.6,9.5,9.6,9.7,9.8,9.85,9.85]},{name:"GNSS110",speed:8.1,data:[2,2.5,3,3.8,4.5,5.2,5.8,6.3,6.8,7.2,7.5,7.8,8,8.1,8.1,8,7.9,7.8,7.9,8,8.05,8.08,8.1,8.1]},{name:"GNSS33",speed:5.85,data:[1,1.5,2,2.8,3.2,3.8,4.2,4.6,5,5.3,5.5,5.7,5.8,5.85,5.85,5.8,5.7,5.6,5.5,5.6,5.7,5.8,5.85,5.85]},{name:"GNSS143",speed:5.85,data:[.8,1.2,1.8,2.5,3,3.5,4,4.5,5,5.4,5.6,5.8,5.85,5.85,5.8,5.75,5.7,5.65,5.7,5.75,5.8,5.82,5.85,5.85]},{name:"GNSS66",speed:4.58,data:[.5,.8,1.2,1.8,2.2,2.6,3,3.4,3.7,4,4.2,4.4,4.5,4.55,4.58,4.58,4.55,4.5,4.45,4.48,4.52,4.55,4.58,4.58]}];o.computed(()=>W[w.value]||W[0]);const te=()=>{var t;return{deviceNameField:((((t=s.conf)==null?void 0:t.data)||[])[0]||{}).fvDeviceName||"deviceId"}},z=o.computed(()=>{var t;const{deviceNameField:r}=te();if(I.value)return I.value;if(p.value&&p.value[r])return p.value[r];const e=(t=s.conf)==null?void 0:t.data;if(e&&e.length>w.value){const a=e[w.value];if(a!=null&&a.object_id&&(a!=null&&a.name))return a.name}return"--"}),H=o.computed(()=>{var r;return(r=p.value)!=null&&r.alertColor?p.value.alertColor:E.value!==null?P(E.value).alertColor:"#999999"}),ae=o.computed(()=>{var r;return(r=p.value)!=null&&r.alertText?p.value.alertText:E.value!==null?P(E.value).alertText:"--"}),re=o.computed(()=>({backgroundColor:D.value.bgColor,color:D.value.textColor})),oe=()=>{var t,a,l,i;if(s.mode==="edit")return;const r=h.getCurrentObjectId()||((l=(a=(t=s.conf)==null?void 0:t.data)==null?void 0:a[0])==null?void 0:l.object_id)||"";r&&h.publish({type:"filter",objectId:r,point:z.value,area:((i=p.value)==null?void 0:i.area)||"",dateRange:[...L.dateRange]});const e=D.value.jumpUrl;e&&window.open(e,"_blank")},F=()=>{var e,t;return((t=(((e=s.conf)==null?void 0:e.data)||[])[0])==null?void 0:t.fv)||""},ne=r=>q(null,null,function*(){var b;if(!r||s.mode!=="preview")return;const e=h.getCurrentObjectId();if(e===r)return;console.log(`[speedCurve] 切换订阅: ${e} → ${r}`),h.setCurrentObjectId(r);const t=(b=h.session)==null?void 0:b.value,a=s.conf.id;t!=null&&t.componentRequests&&a&&t.componentRequests.delete(a);const{data:l,common:i}=s.conf;Array.isArray(l)&&l.forEach(n=>{n.object_id=r}),i!=null&&i.multiObject||i&&(i.object_id=r);try{const n=F()||"speed",u=Y.dayjs(L.dateRange[0],"YYYY/MM/DD HH:mm").format("YYYY-MM-DD HH:mm:ss"),g=Y.dayjs(L.dateRange[1],"YYYY/MM/DD HH:mm").format("YYYY-MM-DD HH:mm:ss"),x=Y.dayjs(L.dateRange[1],"YYYY/MM/DD HH:mm").diff(Y.dayjs(L.dateRange[0],"YYYY/MM/DD HH:mm"),"second"),C=Math.max(60,Math.floor(x/24)),y=[{block_mapping:"influxdbproxy",action:"get_mosaic_list_with_time_span",start_time:u,end_time:g,time_span:C,time_swing:C,keys:[n],object_id:r}],S=yield new Promise(A=>{Y.api.platform(M=>{A(M.result)},{block_mapping:"mixtools",action:"get_tools_mosaic_list",condition:y})}),m=Array.isArray(S)?S:[S],_=m[0]&&typeof m[0]=="object"&&Array.isArray(m[0].data)?m[0].data:Array.isArray(m[0])?m[0]:[];if(Array.isArray(_)&&_.length>0){const A=[..._].sort((O,j)=>{const T=O.time||O.datetime||"",$=j.time||j.datetime||"";return new Date(T).getTime()-new Date($).getTime()}),M=[],d=[];A.forEach(O=>{const j=O.time||O.datetime,T=O[n];if(j&&T!=null){const $=parseFloat(T);isNaN($)||(M.push(j.split(".")[0]),d.push($))}});const N=M.slice(-24),k=d.slice(-24);if(N.length>0){E.value=k[k.length-1];const O=h.getChartInstance();if(O){const j=H.value,T=R(j);O.setOption({xAxis:[{data:N}],series:[{data:k,lineStyle:{color:j},itemStyle:{color:j,borderColor:"#fff",borderWidth:2},areaStyle:{color:new V.LinearGradient(0,0,0,1,[{offset:0,color:T.start},{offset:1,color:T.end}])}}]})}}}console.log(`[speedCurve] 历史数据加载完成,时间范围: ${u} ~ ${g}`)}catch(n){console.warn("[speedCurve] 历史数据获取失败:",n)}t&&t.registerComponent({id:a,request:null,onUpdate:(n,u)=>{n==="realtime"&&h.setSocketData(u)}});const c=h.getSource();h.subscribeBySource(c,r)}),se=r=>{var b;console.log("[speedCurve] 收到联动事件:",r);const{payload:e}=r,{objectId:t,deviceId:a}=e;e.dateRange&&(L.dateRange=e.dateRange),p.value=e,e.alertLevels&&Array.isArray(e.alertLevels)&&(U.value=e.alertLevels);const l=F()||"speed";if(e[l]!==void 0){const n=parseFloat(String(e[l]));isNaN(n)||(E.value=n)}const i=((b=s.conf)==null?void 0:b.data)||[];let c=null;if(t&&(c=i.find(n=>String(n.object_id)===String(t))),!c&&a&&(c=i.find(n=>n.deviceId===a||n.name===a)),c&&e){const n=c.fv||"speed",u=e[n];console.log(`[speedCurve] 匹配 object_id=${t}, 使用字段 ${n}=${u}`);const g=i.indexOf(c);g!==-1&&(w.value=g),B(e)}else e&&B(e);t&&ne(t)},R=r=>{const e=r.replace("#",""),t=parseInt(e.substring(0,2),16),a=parseInt(e.substring(2,4),16),l=parseInt(e.substring(4,6),16);return{start:`rgba(${t}, ${a}, ${l}, 0.3)`,end:`rgba(${t}, ${a}, ${l}, 0.05)`}},B=r=>{const e=h.getChartInstance();if(!e)return;const t=H.value,a=R(t),l=F()||"speed";r.data&&Array.isArray(r.data)?e.setOption({series:[{data:r.data,lineStyle:{color:t},itemStyle:{color:t,borderColor:"#fff",borderWidth:2},areaStyle:{color:new V.LinearGradient(0,0,0,1,[{offset:0,color:a.start},{offset:1,color:a.end}])}}]}):r[l]!==void 0?(console.log(`[speedCurve] 使用字段 ${l} 的值:`,r[l]),e.setOption({series:[{lineStyle:{color:t},itemStyle:{color:t,borderColor:"#fff",borderWidth:2},areaStyle:{color:new V.LinearGradient(0,0,0,1,[{offset:0,color:a.start},{offset:1,color:a.end}])}}]})):e.setOption({series:[{lineStyle:{color:t},itemStyle:{color:t,borderColor:"#fff",borderWidth:2},areaStyle:{color:new V.LinearGradient(0,0,0,1,[{offset:0,color:a.start},{offset:1,color:a.end}])}}]})};return(r,e)=>(o.openBlock(),o.createElementBlock("div",{class:"speed-curve-wrapper",style:o.normalizeStyle(re.value)},[o.createElementVNode("div",ve,[o.createElementVNode("div",he,[e[0]||(e[0]=o.createElementVNode("div",{class:"header-indicator"},null,-1)),o.createElementVNode("span",ge,o.toDisplayString(o.unref(D).title),1)]),o.createElementVNode("div",ye,[o.createElementVNode("span",{class:"device-name",style:o.normalizeStyle({color:H.value})},o.toDisplayString(z.value)+" - "+o.toDisplayString(ae.value),5)])]),o.createElementVNode("div",be,[o.createElementVNode("div",Ce,o.toDisplayString(o.unref(D).yAxisLabel),1),o.createElementVNode("div",{id:o.unref(G),class:"chart-container",style:o.normalizeStyle({cursor:o.unref(D).jumpUrl?"pointer":"default"}),onClick:oe},null,12,Se)]),o.renderSlot(r.$slots,"default",{},void 0,!0)],4))}})),we=Y._export_sfc(Le,[["__scopeId","data-v-1a8b5d28"]]);exports.default=we;
1
+ "use strict";var le=Object.defineProperty,ie=Object.defineProperties;var ce=Object.getOwnPropertyDescriptors;var K=Object.getOwnPropertySymbols,de=Object.getPrototypeOf,ue=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,me=Reflect.get;var J=(v,s,f)=>s in v?le(v,s,{enumerable:!0,configurable:!0,writable:!0,value:f}):v[s]=f,Q=(v,s)=>{for(var f in s||(s={}))ue.call(s,f)&&J(v,f,s[f]);if(K)for(var f of K(s))fe.call(s,f)&&J(v,f,s[f]);return v},X=(v,s)=>ie(v,ce(s));var Z=(v,s,f)=>me(de(v),f,s);var q=(v,s,f)=>new Promise((h,D)=>{var G=p=>{try{w(f.next(p))}catch(I){D(I)}},L=p=>{try{w(f.throw(p))}catch(I){D(I)}},w=p=>p.done?h(p.value):Promise.resolve(p.value).then(G,L);w((f=f.apply(v,s)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue");require("html2canvas");const Y=require("./index-BzWbqJIl.cjs");require("element-plus");const pe=require("./EChartComponentBase-D7_ZiE7P.cjs");require("./index-CJgyJTvc.cjs");const ee=require("./ele-lin-icon-Dke_1AmT.cjs"),V=require("./echarts-BB8O2KSA.cjs"),ve={class:"panel-header"},he={class:"header-left"},ge={class:"header-title"},ye={class:"header-right"},be={class:"chart-area"},Ce={class:"y-axis-label"},Se=["id"],xe={DEFAULT_ICON:ee.DEFAULT_ICON,ACTIVE_ICON:ee.ACTIVE_ICON,NAME_CN:"监测点速度曲线",NAME_EN:"Speed Curve",ORDER:1,PLATFORM:["pc","screen"]},_e={title:{value:"监测点速度曲线 (24h)",type:"string",label:"component.speedCurve.title"},yAxisLabel:{value:"速度(mm/h)",type:"string",label:"component.speedCurve.yAxisLabel"},bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},lineColor:{value:"#ff6b6b",type:"color",label:"component.speedCurve.lineColor"},gradientStart:{value:"rgba(255, 107, 107, 0.3)",type:"color",label:"component.speedCurve.gradientStart"},gradientEnd:{value:"rgba(255, 107, 107, 0.05)",type:"color",label:"component.speedCurve.gradientEnd"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},jumpUrl:{value:"",type:"string",label:"component.speedCurve.jumpUrl"},linkChannel:{value:"gnss",type:"select",label:"联动频道",options:[{label:"GNSS监测",value:"gnss"},{label:"边坡监测",value:"slope"},{label:"设备联动",value:"device"},{label:"告警联动",value:"alarm"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},De=[{name:"GNSS55",fv:"speed",fvDeviceName:"deviceId",object_id:""}],Ae=["name","fv","fvDeviceName","object_id"],Ne=["mosaic","statistics","statisticsRealtime"],Oe={useAlias:!1,multiObject:!1,source:"mosaic"},je={DEFAULT:xe,OPTIONS:_e,DATA:De,PARAMS:Ae,SOURCE:Ne,COMMON:Oe},Le=o.defineComponent(X(Q({},je),{__name:"speedCurve",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(v){const s=v;class f extends pe.EChartComponentBase{constructor(){super(...arguments),this.currentObjectId=""}extractStyles(){var i,c,b,n,u,g,x,C,y,S;const{options:e}=this.props.conf,t=((i=e==null?void 0:e.linkChannel)==null?void 0:i.value)||"gnss",a=((c=e==null?void 0:e.customChannel)==null?void 0:c.value)||"",l=t==="custom"&&a?a:t;return{title:((b=e==null?void 0:e.title)==null?void 0:b.value)||"监测点速度曲线 (24h)",yAxisLabel:((n=e==null?void 0:e.yAxisLabel)==null?void 0:n.value)||"速度(mm/h)",bgColor:((u=e==null?void 0:e.bgColor)==null?void 0:u.value)||"#ffffff",lineColor:((g=e==null?void 0:e.lineColor)==null?void 0:g.value)||"#ff6b6b",gradientStart:((x=e==null?void 0:e.gradientStart)==null?void 0:x.value)||"rgba(255, 107, 107, 0.3)",gradientEnd:((C=e==null?void 0:e.gradientEnd)==null?void 0:C.value)||"rgba(255, 107, 107, 0.05)",textColor:((y=e==null?void 0:e.textColor)==null?void 0:y.value)||"#333333",jumpUrl:((S=e==null?void 0:e.jumpUrl)==null?void 0:S.value)||"",linkChannel:l}}getChartOption(){const e=this.Style.value,t=this.props.mode==="preview",a=t?[]:Array.from({length:24},(i,c)=>`${c}h`),l=t?[]:[1.5,3.2,5.1,6.5,6.6,7.2,7.8,8.4,8.9,9.2,9.5,9.8,10.2,10.5,10.3,10,9.8,9.6,9.5,9.6,9.7,9.8,9.85,9.85];return{grid:{top:40,right:20,bottom:30,left:50},xAxis:{type:"category",data:a,axisLine:{lineStyle:{color:"#e0e0e0"}},axisLabel:{color:e.textColor,fontSize:12},axisTick:{show:!1}},yAxis:{type:"value",axisLine:{show:!1},axisLabel:{color:e.textColor,fontSize:12},splitLine:{lineStyle:{color:"#f0f0f0",type:"dashed"}}},series:[{type:"line",data:l,smooth:!0,symbol:"circle",symbolSize:6,lineStyle:{color:e.lineColor,width:2},itemStyle:{color:e.lineColor,borderColor:"#fff",borderWidth:2},areaStyle:{color:new V.LinearGradient(0,0,0,1,[{offset:0,color:e.gradientStart},{offset:1,color:e.gradientEnd}])}}],tooltip:{trigger:"axis",backgroundColor:"rgba(255,255,255,0.95)",borderColor:"#eee",textStyle:{color:"#333"},formatter:i=>{const c=i[0];return`${c.name}<br/>速度: <strong>${c.value} mm/h</strong>`}}}}initHistory(){return q(this,null,function*(){const e=this.props.conf;if(!e)return[];e.options||(e.options={});const t=e.options.points,a=Object.prototype.hasOwnProperty.call(e.options,"points");(!t||Number(t)<24)&&(e.options.points=24);try{return yield Z(f.prototype,this,"initHistory").call(this)}finally{a?e.options.points=t:delete e.options.points}})}setHistoryData(e){var y,S,m,_,A,M;if(!this.hasData()||!this.chartObj||!e)return;const t=super.setHistoryData(e);if(!(t!=null&&t.length))return;const a=t[0];if(!((y=a==null?void 0:a.time)!=null&&y.length))return;const l=d=>{if(d==null||d===""||d==="-")return null;const N=Number(d);return Number.isFinite(N)?N:null},i=a.time.map((d,N)=>{var k;return{t:String(d!=null?d:""),v:l((k=a.data)==null?void 0:k[N])}});i.sort((d,N)=>new Date(d.t).getTime()-new Date(N.t).getTime());const c=i.slice(-24),b=c.map(d=>this.formatTimeLabel(d.t)),n=c.map(d=>d.v);for(let d=n.length-1;d>=0;d--)if(n[d]!=null){E.value=n[d];break}const u=this.chartObj.getOption();if(!u.xAxis||!u.series)return;const g=H.value,x=R(g);u.xAxis[0].data=b,u.series[0]&&(u.series[0].data=n,u.series[0].lineStyle={color:g,width:2},u.series[0].itemStyle={color:g,borderColor:"#fff",borderWidth:2},u.series[0].areaStyle={color:new V.LinearGradient(0,0,0,1,[{offset:0,color:x.start},{offset:1,color:x.end}])}),this.updateChart(u);const C=((m=(S=this.props.conf)==null?void 0:S.common)==null?void 0:m.object_id)||((M=(A=(_=this.props.conf)==null?void 0:_.data)==null?void 0:A[0])==null?void 0:M.object_id)||"";C&&this.setCurrentObjectId(String(C))}setSocketData(e){var b,n,u,g,x,C;if(!this.chartObj||!e)return;const t=((u=(n=(b=this.props.conf)==null?void 0:b.data)==null?void 0:n[0])==null?void 0:u.fv)||"speed",a=((C=(x=(g=this.props.conf)==null?void 0:g.data)==null?void 0:x[0])==null?void 0:C.fvDeviceName)||"",i=this.getSource()==="mosaic"?e.datetime:e.start_time,c=this.extractDataValue(e,t);if(a){const y=this.extractDataValue(e,a);y!=null&&(I.value=String(y))}if(c!=null&&i){const y=parseFloat(String(c));isNaN(y)||(E.value=y);const S=this.formatTimeLabel(i),m=this.chartObj.getOption();m.xAxis[0].data.push(S),m.series[0].data.push(c),m.xAxis[0].data.length>24&&(m.xAxis[0].data.shift(),m.series[0].data.shift());const _=H.value,A=R(_);m.series[0].lineStyle={color:_,width:2},m.series[0].itemStyle={color:_,borderColor:"#fff",borderWidth:2},m.series[0].areaStyle={color:new V.LinearGradient(0,0,0,1,[{offset:0,color:A.start},{offset:1,color:A.end}])},this.chartObj.setOption(m)}}formatTimeLabel(e){try{const t=e.split(".");return t.length>0?t[0]:e}catch(t){return e}}setCurrentObjectId(e){this.currentObjectId=e}getCurrentObjectId(){return this.currentObjectId}onLinkEvent(e){se(e)}}const h=new f(s,"speedCurve");h.setupLifecycle();const D=h.getStyle(),G=h.getEchartId(),L=o.reactive({dateRange:[Y.dayjs().subtract(1,"day").format("YYYY/MM/DD HH:mm"),Y.dayjs().format("YYYY/MM/DD HH:mm")]}),w=o.ref(0),p=o.ref(null),I=o.ref(""),E=o.ref(null),U=o.ref(null),P=r=>{const e=U.value;if(!e||e.length===0)return{alertText:"正常",alertColor:"#52c41a"};const t=Math.abs(r);for(const l of e)if(t>=l.minValue&&t<l.maxValue)return{alertText:l.name,alertColor:l.color};const a=e[e.length-1];return{alertText:a.name,alertColor:a.color}},W=[{name:"GNSS55",speed:9.85,data:[1.5,3.2,5.1,6.5,6.6,7.2,7.8,8.4,8.9,9.2,9.5,9.8,10.2,10.5,10.3,10,9.8,9.6,9.5,9.6,9.7,9.8,9.85,9.85]},{name:"GNSS110",speed:8.1,data:[2,2.5,3,3.8,4.5,5.2,5.8,6.3,6.8,7.2,7.5,7.8,8,8.1,8.1,8,7.9,7.8,7.9,8,8.05,8.08,8.1,8.1]},{name:"GNSS33",speed:5.85,data:[1,1.5,2,2.8,3.2,3.8,4.2,4.6,5,5.3,5.5,5.7,5.8,5.85,5.85,5.8,5.7,5.6,5.5,5.6,5.7,5.8,5.85,5.85]},{name:"GNSS143",speed:5.85,data:[.8,1.2,1.8,2.5,3,3.5,4,4.5,5,5.4,5.6,5.8,5.85,5.85,5.8,5.75,5.7,5.65,5.7,5.75,5.8,5.82,5.85,5.85]},{name:"GNSS66",speed:4.58,data:[.5,.8,1.2,1.8,2.2,2.6,3,3.4,3.7,4,4.2,4.4,4.5,4.55,4.58,4.58,4.55,4.5,4.45,4.48,4.52,4.55,4.58,4.58]}];o.computed(()=>W[w.value]||W[0]);const te=()=>{var t;return{deviceNameField:((((t=s.conf)==null?void 0:t.data)||[])[0]||{}).fvDeviceName||"deviceId"}},z=o.computed(()=>{var t;const{deviceNameField:r}=te();if(I.value)return I.value;if(p.value&&p.value[r])return p.value[r];const e=(t=s.conf)==null?void 0:t.data;if(e&&e.length>w.value){const a=e[w.value];if(a!=null&&a.object_id&&(a!=null&&a.name))return a.name}return"--"}),H=o.computed(()=>{var r;return(r=p.value)!=null&&r.alertColor?p.value.alertColor:E.value!==null?P(E.value).alertColor:"#999999"}),ae=o.computed(()=>{var r;return(r=p.value)!=null&&r.alertText?p.value.alertText:E.value!==null?P(E.value).alertText:"--"}),re=o.computed(()=>({backgroundColor:D.value.bgColor,color:D.value.textColor})),oe=()=>{var t,a,l,i;if(s.mode==="edit")return;const r=h.getCurrentObjectId()||((l=(a=(t=s.conf)==null?void 0:t.data)==null?void 0:a[0])==null?void 0:l.object_id)||"";r&&h.publish({type:"filter",objectId:r,point:z.value,area:((i=p.value)==null?void 0:i.area)||"",dateRange:[...L.dateRange]});const e=D.value.jumpUrl;e&&window.open(e,"_blank")},F=()=>{var e,t;return((t=(((e=s.conf)==null?void 0:e.data)||[])[0])==null?void 0:t.fv)||""},ne=r=>q(null,null,function*(){var b;if(!r||s.mode!=="preview")return;const e=h.getCurrentObjectId();if(e===r)return;console.log(`[speedCurve] 切换订阅: ${e} → ${r}`),h.setCurrentObjectId(r);const t=(b=h.session)==null?void 0:b.value,a=s.conf.id;t!=null&&t.componentRequests&&a&&t.componentRequests.delete(a);const{data:l,common:i}=s.conf;Array.isArray(l)&&l.forEach(n=>{n.object_id=r}),i!=null&&i.multiObject||i&&(i.object_id=r);try{const n=F()||"speed",u=Y.dayjs(L.dateRange[0],"YYYY/MM/DD HH:mm").format("YYYY-MM-DD HH:mm:ss"),g=Y.dayjs(L.dateRange[1],"YYYY/MM/DD HH:mm").format("YYYY-MM-DD HH:mm:ss"),x=Y.dayjs(L.dateRange[1],"YYYY/MM/DD HH:mm").diff(Y.dayjs(L.dateRange[0],"YYYY/MM/DD HH:mm"),"second"),C=Math.max(60,Math.floor(x/24)),y=[{block_mapping:"influxdbproxy",action:"get_mosaic_list_with_time_span",start_time:u,end_time:g,time_span:C,time_swing:C,keys:[n],object_id:r}],S=yield new Promise(A=>{Y.api.platform(M=>{A(M.result)},{block_mapping:"mixtools",action:"get_tools_mosaic_list",condition:y})}),m=Array.isArray(S)?S:[S],_=m[0]&&typeof m[0]=="object"&&Array.isArray(m[0].data)?m[0].data:Array.isArray(m[0])?m[0]:[];if(Array.isArray(_)&&_.length>0){const A=[..._].sort((O,j)=>{const T=O.time||O.datetime||"",$=j.time||j.datetime||"";return new Date(T).getTime()-new Date($).getTime()}),M=[],d=[];A.forEach(O=>{const j=O.time||O.datetime,T=O[n];if(j&&T!=null){const $=parseFloat(T);isNaN($)||(M.push(j.split(".")[0]),d.push($))}});const N=M.slice(-24),k=d.slice(-24);if(N.length>0){E.value=k[k.length-1];const O=h.getChartInstance();if(O){const j=H.value,T=R(j);O.setOption({xAxis:[{data:N}],series:[{data:k,lineStyle:{color:j},itemStyle:{color:j,borderColor:"#fff",borderWidth:2},areaStyle:{color:new V.LinearGradient(0,0,0,1,[{offset:0,color:T.start},{offset:1,color:T.end}])}}]})}}}console.log(`[speedCurve] 历史数据加载完成,时间范围: ${u} ~ ${g}`)}catch(n){console.warn("[speedCurve] 历史数据获取失败:",n)}t&&t.registerComponent({id:a,request:null,onUpdate:(n,u)=>{n==="realtime"&&h.setSocketData(u)}});const c=h.getSource();h.subscribeBySource(c,r)}),se=r=>{var b;console.log("[speedCurve] 收到联动事件:",r);const{payload:e}=r,{objectId:t,deviceId:a}=e;e.dateRange&&(L.dateRange=e.dateRange),p.value=e,e.alertLevels&&Array.isArray(e.alertLevels)&&(U.value=e.alertLevels);const l=F()||"speed";if(e[l]!==void 0){const n=parseFloat(String(e[l]));isNaN(n)||(E.value=n)}const i=((b=s.conf)==null?void 0:b.data)||[];let c=null;if(t&&(c=i.find(n=>String(n.object_id)===String(t))),!c&&a&&(c=i.find(n=>n.deviceId===a||n.name===a)),c&&e){const n=c.fv||"speed",u=e[n];console.log(`[speedCurve] 匹配 object_id=${t}, 使用字段 ${n}=${u}`);const g=i.indexOf(c);g!==-1&&(w.value=g),B(e)}else e&&B(e);t&&ne(t)},R=r=>{const e=r.replace("#",""),t=parseInt(e.substring(0,2),16),a=parseInt(e.substring(2,4),16),l=parseInt(e.substring(4,6),16);return{start:`rgba(${t}, ${a}, ${l}, 0.3)`,end:`rgba(${t}, ${a}, ${l}, 0.05)`}},B=r=>{const e=h.getChartInstance();if(!e)return;const t=H.value,a=R(t),l=F()||"speed";r.data&&Array.isArray(r.data)?e.setOption({series:[{data:r.data,lineStyle:{color:t},itemStyle:{color:t,borderColor:"#fff",borderWidth:2},areaStyle:{color:new V.LinearGradient(0,0,0,1,[{offset:0,color:a.start},{offset:1,color:a.end}])}}]}):r[l]!==void 0?(console.log(`[speedCurve] 使用字段 ${l} 的值:`,r[l]),e.setOption({series:[{lineStyle:{color:t},itemStyle:{color:t,borderColor:"#fff",borderWidth:2},areaStyle:{color:new V.LinearGradient(0,0,0,1,[{offset:0,color:a.start},{offset:1,color:a.end}])}}]})):e.setOption({series:[{lineStyle:{color:t},itemStyle:{color:t,borderColor:"#fff",borderWidth:2},areaStyle:{color:new V.LinearGradient(0,0,0,1,[{offset:0,color:a.start},{offset:1,color:a.end}])}}]})};return(r,e)=>(o.openBlock(),o.createElementBlock("div",{class:"speed-curve-wrapper",style:o.normalizeStyle(re.value)},[o.createElementVNode("div",ve,[o.createElementVNode("div",he,[e[0]||(e[0]=o.createElementVNode("div",{class:"header-indicator"},null,-1)),o.createElementVNode("span",ge,o.toDisplayString(o.unref(D).title),1)]),o.createElementVNode("div",ye,[o.createElementVNode("span",{class:"device-name",style:o.normalizeStyle({color:H.value})},o.toDisplayString(z.value)+" - "+o.toDisplayString(ae.value),5)])]),o.createElementVNode("div",be,[o.createElementVNode("div",Ce,o.toDisplayString(o.unref(D).yAxisLabel),1),o.createElementVNode("div",{id:o.unref(G),class:"chart-container",style:o.normalizeStyle({cursor:o.unref(D).jumpUrl?"pointer":"default"}),onClick:oe},null,12,Se)]),o.renderSlot(r.$slots,"default",{},void 0,!0)],4))}})),we=Y._export_sfc(Le,[["__scopeId","data-v-1a8b5d28"]]);exports.default=we;
@@ -28,12 +28,12 @@ var B = (p, s, u) => new Promise((v, _) => {
28
28
  });
29
29
  import { defineComponent as be, reactive as ye, ref as $, computed as V, openBlock as Ce, createElementBlock as Se, normalizeStyle as z, createElementVNode as j, toDisplayString as G, unref as W, renderSlot as xe } from "vue";
30
30
  import "html2canvas";
31
- import { d as H, a as _e, _ as De } from "./index-DwPJu6XM.js";
31
+ import { d as H, a as _e, _ as De } from "./index-D5BukPPY.js";
32
32
  import "element-plus";
33
- import { E as Ae } from "./EChartComponentBase-cFfawl6h.js";
34
- import "./index-ButoLLAe.js";
33
+ import { E as Ae } from "./EChartComponentBase-C3gcATBZ.js";
34
+ import "./index-eIsZnzkc.js";
35
35
  import { A as Oe, D as Ne } from "./ele-lin-icon-Dax-ZiWV.js";
36
- import { cn as k } from "./echarts-BVht3HHb.js";
36
+ import { cn as k } from "./echarts-Bp7QN4X6.js";
37
37
  const je = { class: "panel-header" }, we = { class: "header-left" }, Ye = { class: "header-title" }, Le = { class: "header-right" }, Me = { class: "chart-area" }, Ie = { class: "y-axis-label" }, Te = ["id"], ke = {
38
38
  DEFAULT_ICON: Ne,
39
39
  ACTIVE_ICON: Oe,
@@ -17,8 +17,8 @@ import "element-plus/es/components/date-picker/style/css";
17
17
  import "element-plus/es/components/select/style/css";
18
18
  import "element-plus/es/components/option/style/css";
19
19
  import { defineComponent as ee, computed as b, reactive as le, openBlock as c, createElementBlock as g, normalizeStyle as te, createElementVNode as r, createVNode as p, withCtx as _, Fragment as T, renderList as h, createBlock as Y, normalizeClass as oe, toDisplayString as ne, createTextVNode as ae, renderSlot as se } from "vue";
20
- import { B as re } from "./BaseComponent-CBagahPU.js";
21
- import { d as D, _ as ie } from "./index-DwPJu6XM.js";
20
+ import { B as re } from "./BaseComponent-NnwLq7Cf.js";
21
+ import { d as D, _ as ie } from "./index-D5BukPPY.js";
22
22
  import { A as ue, D as ce } from "./ele-vlu-icon-Bg6EHZdJ.js";
23
23
  const me = { class: "filter-bar" }, pe = { class: "filter-item" }, de = { class: "filter-item" }, fe = { class: "filter-item" }, be = { class: "filter-item" }, ge = { class: "time-range-btns" }, ve = ["onClick"], ye = { class: "filter-item" }, Ce = {
24
24
  DEFAULT_ICON: ce,
@@ -1 +1 @@
1
- "use strict";var F=Object.defineProperty,z=Object.defineProperties;var H=Object.getOwnPropertyDescriptors;var S=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var B=(i,s,r)=>s in i?F(i,s,{enumerable:!0,configurable:!0,writable:!0,value:r}):i[s]=r,R=(i,s)=>{for(var r in s||(s={}))L.call(s,r)&&B(i,r,s[r]);if(S)for(var r of S(s))q.call(s,r)&&B(i,r,s[r]);return i},Y=(i,s)=>z(i,H(s));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/date-picker/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");const t=require("vue"),U=require("./BaseComponent-Chnv4fBT.cjs"),v=require("./index-DVqMfQVc.cjs"),w=require("./ele-vlu-icon-Dv-R7Xuc.cjs"),P={class:"filter-bar"},$={class:"filter-item"},Q={class:"filter-item"},W={class:"filter-item"},G={class:"filter-item"},J={class:"time-range-btns"},K=["onClick"],X={class:"filter-item"},Z={DEFAULT_ICON:w.DEFAULT_ICON,ACTIVE_ICON:w.ACTIVE_ICON,NAME_CN:"应力监测筛选栏",NAME_EN:"Stress Filter Bar",ORDER:1,PLATFORM:["pc","screen"]},ee={bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},labelColor:{value:"#1c3d90",type:"color",label:"标签文字颜色"},fontSize:{value:"13",type:"select",label:"字体大小",options:[{label:"小 (12px)",value:"12"},{label:"标准 (13px)",value:"13"},{label:"大 (14px)",value:"14"},{label:"特大 (16px)",value:"16"}]},btnColor:{value:"#409eff",type:"color",label:"按钮主色"},defaultTimeRange:{value:"1d",type:"select",label:"默认时间范围",options:[{label:"一天内",value:"1d"},{label:"一周内",value:"1w"},{label:"一个月内",value:"1m"}]},linkChannel:{value:"stress",type:"select",label:"component.linkChannel",options:[{label:"地下应力监测",value:"stress"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"component.customChannel",showWhen:{linkChannel:"custom"}}},te=[{name:"土压力计1",object_id:"",region:"北帮",sensorType:"土压力计"},{name:"土压力计2",object_id:"",region:"北帮",sensorType:"土压力计"},{name:"土压力计3",object_id:"",region:"南帮",sensorType:"土压力计"},{name:"土压力计4",object_id:"",region:"北帮",sensorType:"土压力计"},{name:"锚索测力计1",object_id:"",region:"东帮",sensorType:"锚索测力计"}],le=["name","object_id","region","sensorType"],oe=["mosaic"],ne={useAlias:!1,multiObject:!0,source:"mosaic"},ae=50,se={DEFAULT:Z,OPTIONS:ee,DATA:te,PARAMS:le,SOURCE:oe,ITEMS:ae,COMMON:ne},re=t.defineComponent(Y(R({},se),{__name:"stressFilterBar",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(i){const s=i;class r extends U.BaseComponent{extractStyles(){var f,g,n,C,V,k,h,N;const e=(f=this.props.conf)==null?void 0:f.options,a=((g=e==null?void 0:e.linkChannel)==null?void 0:g.value)||"stress",u=((n=e==null?void 0:e.customChannel)==null?void 0:n.value)||"";return{bgColor:((C=e==null?void 0:e.bgColor)==null?void 0:C.value)||"#ffffff",labelColor:((V=e==null?void 0:e.labelColor)==null?void 0:V.value)||"#1c3d90",fontSize:(((k=e==null?void 0:e.fontSize)==null?void 0:k.value)||"13")+"px",btnColor:((h=e==null?void 0:e.btnColor)==null?void 0:h.value)||"#409eff",defaultTimeRange:((N=e==null?void 0:e.defaultTimeRange)==null?void 0:N.value)||"1d",linkChannel:a==="custom"&&u?u:a}}}const y=new r(s,"stressFilterBar");y.setupLifecycle();const d=y.getStyle(),m=t.computed(()=>{var e;const l=(e=s.conf)==null?void 0:e.data;return!l||!Array.isArray(l)?[]:l.filter(a=>a.name)}),M=t.computed(()=>{const l=new Set;return m.value.forEach(e=>{e.region&&l.add(e.region)}),Array.from(l)}),_=t.computed(()=>{const l=new Set;let e=m.value;return o.region&&(e=e.filter(a=>a.region===o.region)),e.forEach(a=>{a.sensorType&&l.add(a.sensorType)}),Array.from(l)}),T=t.computed(()=>{let l=m.value;return o.region&&(l=l.filter(e=>e.region===o.region)),o.sensorType&&(l=l.filter(e=>e.sensorType===o.sensorType)),l.map(e=>({label:e.name,value:e.name}))}),D=[{label:"一天内",value:"1d"},{label:"一周内",value:"1w"},{label:"一个月内",value:"1m"}],c=m.value[0],p=d.value.defaultTimeRange||"1d",o=t.reactive({region:(c==null?void 0:c.region)||"",sensorType:(c==null?void 0:c.sensorType)||"",points:c?[c.name]:[],timeRange:p,dateRange:[v.dayjs().subtract(p==="1m"?1:p==="1w"?7:1,p==="1m"?"month":"day").format("YYYY/MM/DD HH:mm"),v.dayjs().format("YYYY/MM/DD HH:mm")]}),j=()=>{const l=_.value;o.sensorType=l.length>0?l[0]:"",E()},E=()=>{const l=T.value;o.points=l.length>0?[l[0].value]:[]},x=l=>{o.timeRange=l;const e=v.dayjs(),a=l==="1d"?e.subtract(1,"day"):l==="1w"?e.subtract(1,"week"):e.subtract(1,"month");o.dateRange=[a.format("YYYY/MM/DD HH:mm"),e.format("YYYY/MM/DD HH:mm")]},A=()=>{o.timeRange=""},O=()=>{if(s.mode==="edit"||o.points.length===0)return;const l=m.value.filter(a=>o.points.includes(a.name)),e=[...new Set(l.map(a=>a.object_id).filter(Boolean))];if(e.length===0){console.warn("[应力筛选栏] 所选监测点未配置 object_id,无法发送联动");return}y.publish({type:"filter",region:o.region,sensorType:o.sensorType,selectedMonitors:o.points,objectId:e[0]||"",objectIds:e,sensors:l.map(a=>({name:a.name,objectId:a.object_id})),timeRange:o.timeRange,dateRange:[...o.dateRange]})},I=t.computed(()=>({backgroundColor:d.value.bgColor,"--label-color":d.value.labelColor,"--btn-color":d.value.btnColor,"--font-size":d.value.fontSize}));return(l,e)=>{const a=b.ElOption,u=b.ElSelect,f=b.ElDatePicker,g=b.ElButton;return t.openBlock(),t.createElementBlock("div",{class:"stress-filter-bar-wrap",style:t.normalizeStyle(I.value)},[t.createElementVNode("div",P,[t.createElementVNode("div",$,[e[4]||(e[4]=t.createElementVNode("span",{class:"filter-label"},"区域位置:",-1)),t.createVNode(u,{modelValue:o.region,"onUpdate:modelValue":e[0]||(e[0]=n=>o.region=n),placeholder:"全部区域",size:"small",style:{width:"120px"},onChange:j},{default:t.withCtx(()=>[t.createVNode(a,{label:"全部区域",value:""}),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(M.value,n=>(t.openBlock(),t.createBlock(a,{key:n,label:n,value:n},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),t.createElementVNode("div",Q,[e[5]||(e[5]=t.createElementVNode("span",{class:"filter-label"},"监测类型:",-1)),t.createVNode(u,{modelValue:o.sensorType,"onUpdate:modelValue":e[1]||(e[1]=n=>o.sensorType=n),placeholder:"全部类型",size:"small",style:{width:"130px"},onChange:E},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_.value,n=>(t.openBlock(),t.createBlock(a,{key:n,label:n,value:n},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),t.createElementVNode("div",W,[e[6]||(e[6]=t.createElementVNode("span",{class:"filter-label"},"监测点:",-1)),t.createVNode(u,{modelValue:o.points,"onUpdate:modelValue":e[2]||(e[2]=n=>o.points=n),placeholder:"请选择",size:"small",style:{width:"180px"},multiple:"","collapse-tags":"","collapse-tags-tooltip":""},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(T.value,n=>(t.openBlock(),t.createBlock(a,{key:n.value,label:n.label,value:n.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),t.createElementVNode("div",G,[e[7]||(e[7]=t.createElementVNode("span",{class:"filter-label"},"时间范围:",-1)),t.createElementVNode("div",J,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(D,n=>t.createElementVNode("button",{key:n.value,class:t.normalizeClass(["range-btn",{active:o.timeRange===n.value}]),onClick:C=>x(n.value)},t.toDisplayString(n.label),11,K)),64))])]),t.createElementVNode("div",X,[t.createVNode(f,{modelValue:o.dateRange,"onUpdate:modelValue":e[3]||(e[3]=n=>o.dateRange=n),type:"datetimerange",size:"small",format:"YYYY/MM/DD HH:mm","value-format":"YYYY/MM/DD HH:mm","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",style:{width:"340px"},onChange:A},null,8,["modelValue"])]),t.createVNode(g,{type:"primary",size:"small",onClick:O},{default:t.withCtx(()=>[...e[8]||(e[8]=[t.createTextVNode("查询",-1)])]),_:1})]),t.renderSlot(l.$slots,"default",{},void 0,!0)],4)}}})),ie=v._export_sfc(re,[["__scopeId","data-v-68de9858"]]);exports.default=ie;
1
+ "use strict";var F=Object.defineProperty,z=Object.defineProperties;var H=Object.getOwnPropertyDescriptors;var S=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var B=(i,s,r)=>s in i?F(i,s,{enumerable:!0,configurable:!0,writable:!0,value:r}):i[s]=r,R=(i,s)=>{for(var r in s||(s={}))L.call(s,r)&&B(i,r,s[r]);if(S)for(var r of S(s))q.call(s,r)&&B(i,r,s[r]);return i},Y=(i,s)=>z(i,H(s));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/date-picker/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");const t=require("vue"),U=require("./BaseComponent-CaCkjmmb.cjs"),v=require("./index-BzWbqJIl.cjs"),w=require("./ele-vlu-icon-Dv-R7Xuc.cjs"),P={class:"filter-bar"},$={class:"filter-item"},Q={class:"filter-item"},W={class:"filter-item"},G={class:"filter-item"},J={class:"time-range-btns"},K=["onClick"],X={class:"filter-item"},Z={DEFAULT_ICON:w.DEFAULT_ICON,ACTIVE_ICON:w.ACTIVE_ICON,NAME_CN:"应力监测筛选栏",NAME_EN:"Stress Filter Bar",ORDER:1,PLATFORM:["pc","screen"]},ee={bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},labelColor:{value:"#1c3d90",type:"color",label:"标签文字颜色"},fontSize:{value:"13",type:"select",label:"字体大小",options:[{label:"小 (12px)",value:"12"},{label:"标准 (13px)",value:"13"},{label:"大 (14px)",value:"14"},{label:"特大 (16px)",value:"16"}]},btnColor:{value:"#409eff",type:"color",label:"按钮主色"},defaultTimeRange:{value:"1d",type:"select",label:"默认时间范围",options:[{label:"一天内",value:"1d"},{label:"一周内",value:"1w"},{label:"一个月内",value:"1m"}]},linkChannel:{value:"stress",type:"select",label:"component.linkChannel",options:[{label:"地下应力监测",value:"stress"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"component.customChannel",showWhen:{linkChannel:"custom"}}},te=[{name:"土压力计1",object_id:"",region:"北帮",sensorType:"土压力计"},{name:"土压力计2",object_id:"",region:"北帮",sensorType:"土压力计"},{name:"土压力计3",object_id:"",region:"南帮",sensorType:"土压力计"},{name:"土压力计4",object_id:"",region:"北帮",sensorType:"土压力计"},{name:"锚索测力计1",object_id:"",region:"东帮",sensorType:"锚索测力计"}],le=["name","object_id","region","sensorType"],oe=["mosaic"],ne={useAlias:!1,multiObject:!0,source:"mosaic"},ae=50,se={DEFAULT:Z,OPTIONS:ee,DATA:te,PARAMS:le,SOURCE:oe,ITEMS:ae,COMMON:ne},re=t.defineComponent(Y(R({},se),{__name:"stressFilterBar",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(i){const s=i;class r extends U.BaseComponent{extractStyles(){var f,g,n,C,V,k,h,N;const e=(f=this.props.conf)==null?void 0:f.options,a=((g=e==null?void 0:e.linkChannel)==null?void 0:g.value)||"stress",u=((n=e==null?void 0:e.customChannel)==null?void 0:n.value)||"";return{bgColor:((C=e==null?void 0:e.bgColor)==null?void 0:C.value)||"#ffffff",labelColor:((V=e==null?void 0:e.labelColor)==null?void 0:V.value)||"#1c3d90",fontSize:(((k=e==null?void 0:e.fontSize)==null?void 0:k.value)||"13")+"px",btnColor:((h=e==null?void 0:e.btnColor)==null?void 0:h.value)||"#409eff",defaultTimeRange:((N=e==null?void 0:e.defaultTimeRange)==null?void 0:N.value)||"1d",linkChannel:a==="custom"&&u?u:a}}}const y=new r(s,"stressFilterBar");y.setupLifecycle();const d=y.getStyle(),m=t.computed(()=>{var e;const l=(e=s.conf)==null?void 0:e.data;return!l||!Array.isArray(l)?[]:l.filter(a=>a.name)}),M=t.computed(()=>{const l=new Set;return m.value.forEach(e=>{e.region&&l.add(e.region)}),Array.from(l)}),_=t.computed(()=>{const l=new Set;let e=m.value;return o.region&&(e=e.filter(a=>a.region===o.region)),e.forEach(a=>{a.sensorType&&l.add(a.sensorType)}),Array.from(l)}),T=t.computed(()=>{let l=m.value;return o.region&&(l=l.filter(e=>e.region===o.region)),o.sensorType&&(l=l.filter(e=>e.sensorType===o.sensorType)),l.map(e=>({label:e.name,value:e.name}))}),D=[{label:"一天内",value:"1d"},{label:"一周内",value:"1w"},{label:"一个月内",value:"1m"}],c=m.value[0],p=d.value.defaultTimeRange||"1d",o=t.reactive({region:(c==null?void 0:c.region)||"",sensorType:(c==null?void 0:c.sensorType)||"",points:c?[c.name]:[],timeRange:p,dateRange:[v.dayjs().subtract(p==="1m"?1:p==="1w"?7:1,p==="1m"?"month":"day").format("YYYY/MM/DD HH:mm"),v.dayjs().format("YYYY/MM/DD HH:mm")]}),j=()=>{const l=_.value;o.sensorType=l.length>0?l[0]:"",E()},E=()=>{const l=T.value;o.points=l.length>0?[l[0].value]:[]},x=l=>{o.timeRange=l;const e=v.dayjs(),a=l==="1d"?e.subtract(1,"day"):l==="1w"?e.subtract(1,"week"):e.subtract(1,"month");o.dateRange=[a.format("YYYY/MM/DD HH:mm"),e.format("YYYY/MM/DD HH:mm")]},A=()=>{o.timeRange=""},O=()=>{if(s.mode==="edit"||o.points.length===0)return;const l=m.value.filter(a=>o.points.includes(a.name)),e=[...new Set(l.map(a=>a.object_id).filter(Boolean))];if(e.length===0){console.warn("[应力筛选栏] 所选监测点未配置 object_id,无法发送联动");return}y.publish({type:"filter",region:o.region,sensorType:o.sensorType,selectedMonitors:o.points,objectId:e[0]||"",objectIds:e,sensors:l.map(a=>({name:a.name,objectId:a.object_id})),timeRange:o.timeRange,dateRange:[...o.dateRange]})},I=t.computed(()=>({backgroundColor:d.value.bgColor,"--label-color":d.value.labelColor,"--btn-color":d.value.btnColor,"--font-size":d.value.fontSize}));return(l,e)=>{const a=b.ElOption,u=b.ElSelect,f=b.ElDatePicker,g=b.ElButton;return t.openBlock(),t.createElementBlock("div",{class:"stress-filter-bar-wrap",style:t.normalizeStyle(I.value)},[t.createElementVNode("div",P,[t.createElementVNode("div",$,[e[4]||(e[4]=t.createElementVNode("span",{class:"filter-label"},"区域位置:",-1)),t.createVNode(u,{modelValue:o.region,"onUpdate:modelValue":e[0]||(e[0]=n=>o.region=n),placeholder:"全部区域",size:"small",style:{width:"120px"},onChange:j},{default:t.withCtx(()=>[t.createVNode(a,{label:"全部区域",value:""}),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(M.value,n=>(t.openBlock(),t.createBlock(a,{key:n,label:n,value:n},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),t.createElementVNode("div",Q,[e[5]||(e[5]=t.createElementVNode("span",{class:"filter-label"},"监测类型:",-1)),t.createVNode(u,{modelValue:o.sensorType,"onUpdate:modelValue":e[1]||(e[1]=n=>o.sensorType=n),placeholder:"全部类型",size:"small",style:{width:"130px"},onChange:E},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_.value,n=>(t.openBlock(),t.createBlock(a,{key:n,label:n,value:n},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),t.createElementVNode("div",W,[e[6]||(e[6]=t.createElementVNode("span",{class:"filter-label"},"监测点:",-1)),t.createVNode(u,{modelValue:o.points,"onUpdate:modelValue":e[2]||(e[2]=n=>o.points=n),placeholder:"请选择",size:"small",style:{width:"180px"},multiple:"","collapse-tags":"","collapse-tags-tooltip":""},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(T.value,n=>(t.openBlock(),t.createBlock(a,{key:n.value,label:n.label,value:n.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),t.createElementVNode("div",G,[e[7]||(e[7]=t.createElementVNode("span",{class:"filter-label"},"时间范围:",-1)),t.createElementVNode("div",J,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(D,n=>t.createElementVNode("button",{key:n.value,class:t.normalizeClass(["range-btn",{active:o.timeRange===n.value}]),onClick:C=>x(n.value)},t.toDisplayString(n.label),11,K)),64))])]),t.createElementVNode("div",X,[t.createVNode(f,{modelValue:o.dateRange,"onUpdate:modelValue":e[3]||(e[3]=n=>o.dateRange=n),type:"datetimerange",size:"small",format:"YYYY/MM/DD HH:mm","value-format":"YYYY/MM/DD HH:mm","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",style:{width:"340px"},onChange:A},null,8,["modelValue"])]),t.createVNode(g,{type:"primary",size:"small",onClick:O},{default:t.withCtx(()=>[...e[8]||(e[8]=[t.createTextVNode("查询",-1)])]),_:1})]),t.renderSlot(l.$slots,"default",{},void 0,!0)],4)}}})),ie=v._export_sfc(re,[["__scopeId","data-v-68de9858"]]);exports.default=ie;
@@ -1 +1 @@
1
- "use strict";var pe=Object.defineProperty,he=Object.defineProperties;var ge=Object.getOwnPropertyDescriptors;var Z=Object.getOwnPropertySymbols,be=Object.getPrototypeOf,ye=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,_e=Reflect.get;var J=(v,a,s)=>a in v?pe(v,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):v[a]=s,Q=(v,a)=>{for(var s in a||(a={}))ye.call(a,s)&&J(v,s,a[s]);if(Z)for(var s of Z(a))Ce.call(a,s)&&J(v,s,a[s]);return v},X=(v,a)=>he(v,ge(a));var ee=(v,a,s)=>_e(be(v),s,a);var H=(v,a,s)=>new Promise((V,g)=>{var p=x=>{try{j(s.next(x))}catch(D){g(D)}},w=x=>{try{j(s.throw(x))}catch(D){g(D)}},j=x=>x.done?V(x.value):Promise.resolve(x.value).then(p,w);j((s=s.apply(v,a)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const $=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/popover/style/css");require("element-plus/es/components/checkbox-group/style/css");require("element-plus/es/components/checkbox/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/icon/style/css");const t=require("vue"),q=require("./index-DVqMfQVc.cjs");require("element-plus");const xe=require("./EChartComponentBase-dLE5F7Tt.cjs"),te=require("@element-plus/icons-vue"),oe=require("./ele-lin-icon-Dke_1AmT.cjs"),Se={class:"chart-panel"},Ee={class:"panel-header"},we={class:"header-left"},Ne={class:"panel-title"},ke={class:"header-right"},Ve={class:"indicator-selector-panel"},je={class:"indicator-select-all"},Ae={class:"legend-bar"},Ie={class:"legend-items"},Me=["onClick"],De={class:"legend-text"},Le=["id"],Oe={DEFAULT_ICON:oe.DEFAULT_ICON,ACTIVE_ICON:oe.ACTIVE_ICON,NAME_CN:"应力/压力时序曲线",NAME_EN:"Stress Time Curve",ORDER:2,PLATFORM:["pc","screen"]},Te={title:{value:"应力/压力 时序演变曲线",type:"string",label:"标题"},bgColor:{value:"#f5f7fa",type:"color",label:"setting.bgColor"},panelBgColor:{value:"#ffffff",type:"color",label:"面板背景色"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},titleColor:{value:"#1c3d90",type:"color",label:"标题颜色"},gridColor:{value:"#f0f0f0",type:"color",label:"网格线颜色"},lineWidth:{value:"2.5",type:"select",label:"曲线粗细",options:[{label:"细 (1px)",value:"1"},{label:"标准 (2.5px)",value:"2.5"},{label:"粗 (4px)",value:"4"}]},smoothLine:{value:"true",type:"select",label:"曲线平滑",options:[{label:"平滑",value:"true"},{label:"折线",value:"false"}]},yAxisLabel:{value:"kPa",type:"string",label:"Y轴标签"},linkChannel:{value:"stress",type:"select",label:"component.linkChannel",options:[{label:"地下应力监测",value:"stress"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"component.customChannel",showWhen:{linkChannel:"custom"}}},$e=[{name:"应力(kPa)",fv:"",object_id:"",color:"#5470c6",device:""}],qe=["name","fv","object_id","color","device"],Be=["mosaic","statistics","calculate"],Ye={useAlias:!1,multiObject:!1,hideMultiObject:!0,source:"mosaic"},Pe=50,Re={DEFAULT:Oe,OPTIONS:Te,DATA:$e,PARAMS:qe,SOURCE:Be,ITEMS:Pe,COMMON:Ye},Fe=t.defineComponent(X(Q({},Re),{__name:"stressTimeCurve",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(v){const a=v,s=new Map,V=new Map,g=t.ref(new Map),p=t.ref([]);let w=0,j=null;const x=t.computed(()=>{var n,e;return(e=(n=a.conf)==null?void 0:n.common)!=null&&e.object_id?!0:Y.value.some(l=>!!l.object_id)}),D=t.computed(()=>x.value||p.value.length>0);class B extends xe.EChartComponentBase{extractStyles(){var r,f,m,o,d,c,u,E,y,A,N,O;const e=(r=this.props.conf)==null?void 0:r.options,l=((f=e==null?void 0:e.linkChannel)==null?void 0:f.value)||"stress",i=((m=e==null?void 0:e.customChannel)==null?void 0:m.value)||"";return{bgColor:((o=e==null?void 0:e.bgColor)==null?void 0:o.value)||"#f5f7fa",panelBgColor:((d=e==null?void 0:e.panelBgColor)==null?void 0:d.value)||"#ffffff",textColor:((c=e==null?void 0:e.textColor)==null?void 0:c.value)||"#333333",titleColor:((u=e==null?void 0:e.titleColor)==null?void 0:u.value)||"#1c3d90",gridColor:((E=e==null?void 0:e.gridColor)==null?void 0:E.value)||"#f0f0f0",lineWidth:parseFloat(((y=e==null?void 0:e.lineWidth)==null?void 0:y.value)||"2.5"),smoothLine:(((A=e==null?void 0:e.smoothLine)==null?void 0:A.value)||"true")==="true",yAxisLabel:((N=e==null?void 0:e.yAxisLabel)==null?void 0:N.value)||"kPa",title:((O=e==null?void 0:e.title)==null?void 0:O.value)||"应力/压力 时序演变曲线",linkChannel:l==="custom"&&i?i:l}}getChartOption(){return R(this.Style.value)}needsHistoryData(){return!1}onPreview(){return H(this,null,function*(){var l,i,r,f,m;const e=((i=(l=this.props.conf)==null?void 0:l.common)==null?void 0:i.object_id)||((m=(f=(r=this.props.conf)==null?void 0:r.data)==null?void 0:f[0])==null?void 0:m.object_id)||"";if(e&&p.value.length===0){p.value=[e],yield F([e]);return}yield ee(B.prototype,this,"onPreview").call(this)})}setSocketData(e){var m;if(!e)return;const l=e.object_id||e.objectId||"";if(l&&p.value.length>0&&!p.value.includes(l))return;const i=e.datetime?e.datetime.split(".")[0]:q.dayjs().format("YYYY/MM/DD HH:mm"),r=((m=this.props.conf)==null?void 0:m.data)||[],f=p.value.length>1;r.forEach(o=>{if(o.device){const d=this.extractDataValue(e,o.device);if(d!=null&&String(d).trim()){const c=String(d).trim();f&&l?g.value.set(l,c):(V.set(o.name||o.fv,c),l&&g.value.set(l,c))}}}),r.forEach(o=>{if(!o.fv)return;const d=this.extractDataValue(e,o.fv);if(d==null)return;const c=f&&l?`${l}:${o.name||o.fv}`:o.name||o.fv,u=s.get(c);u?(u.times.push(i),u.values.push(parseFloat(d)),u.times.length>200&&(u.times.shift(),u.values.shift())):s.set(c,{times:[i],values:[parseFloat(d)]})}),this.chartObj&&this.chartObj.setOption(R(this.Style.value),!1)}onLinkEvent(e){de(e)}}const _=new B(a,"stressTimeCurve");_.setupLifecycle();const L=_.getStyle(),ne=_.getEchartId(),Y=t.computed(()=>{var n;return((n=a.conf)==null?void 0:n.data)||[]}),b=t.computed(()=>{const n=new Set;return Y.value.filter(e=>e.name&&!n.has(e.name)?(n.add(e.name),!0):!1)}),h=t.ref([]);t.watch(b,n=>{n.length>0&&h.value.length===0&&(h.value=n.map(e=>e.fv||e.name))},{immediate:!0});const U=t.computed({get:()=>b.value.length>0&&h.value.length===b.value.length,set:()=>{}}),le=t.computed(()=>{const n=h.value.length;return n>0&&n<b.value.length}),ae=t.computed(()=>{if(h.value.length===0)return"选择监测指标";if(h.value.length===b.value.length)return"全部指标已选";const e=b.value.filter(l=>h.value.includes(l.fv||l.name)).map(l=>l.name).join(", ");return e.length>14?e.substring(0,14)+"...":e}),se=n=>{h.value=n?b.value.map(e=>e.fv||e.name):[],I()},S=t.ref(new Set),re=t.computed(()=>{if(p.value.length>1){const e=[];for(const l of p.value){const i=g.value.get(l)||l.slice(-6);b.value.filter(r=>h.value.includes(r.fv||r.name)).forEach(r=>{e.push({name:`${i}-${r.name}`,color:r.color||"#5470c6",visible:!S.value.has(`${l}:${r.name}`)})})}return e}return b.value.filter(e=>h.value.includes(e.fv||e.name)).map(e=>{const l=V.get(e.name)||g.value.values().next().value||"";return{name:l?`${l}-${e.name}`:e.name,color:e.color||"#5470c6",visible:!S.value.has(e.name)}})}),ie=n=>{const e=n.name.includes("-")?n.name.split("-").slice(1).join("-"):n.name;S.value.has(e)?S.value.delete(e):S.value.add(e),S.value=new Set(S.value),I()},ce=t.computed(()=>({backgroundColor:L.value.bgColor,color:L.value.textColor,"--title-color":L.value.titleColor})),P=()=>{s.clear();const n=q.dayjs();Y.value.forEach((e,l)=>{const i=[],r=[],f=8.5+l*2,m=1.5;for(let o=0;o<100;o++)i.push(n.subtract((100-o)*15,"minute").format("YYYY/MM/DD HH:mm")),r.push(+(f+Math.sin(o/8)*m+(Math.random()-.5)*.3).toFixed(2));s.set(e.name,{times:i,values:r})})},R=n=>{if(a.mode!=="edit"&&(!D.value||s.size===0))return{xAxis:{type:"category",data:[]},yAxis:{type:"value"},series:[]};let e=[];for(const[,o]of s)o.times.length>e.length&&(e=o.times);!e.length&&a.mode==="edit"&&(e=Array.from({length:50},(o,d)=>q.dayjs().subtract((50-d)*15,"minute").format("YYYY/MM/DD HH:mm")));const l={},i=p.value.length>1,r=["#5470c6","#ee6666","#fac858","#91cc75","#73c0de","#3ba272","#fc8452","#9a60b4"];let f=0,m=[];if(i&&a.mode!=="edit")for(const o of p.value){const d=g.value.get(o)||o.slice(-6);b.value.filter(c=>h.value.includes(c.fv||c.name)).forEach(c=>{const u=`${o}:${c.name}`,E=`${d}-${c.name}`,y=c.color||r[f%r.length];l[E]=!S.value.has(u);const A=s.get(u);m.push({name:E,type:"line",smooth:n.smoothLine,showSymbol:!1,data:(A==null?void 0:A.values)||[],lineStyle:{color:y,width:n.lineWidth,type:"solid"},itemStyle:{color:y}}),f++})}else m=b.value.filter(o=>h.value.includes(o.fv||o.name)).map(o=>{const d=V.get(o.name)||g.value.values().next().value||"",c=d?`${d}-${o.name}`:o.name;l[c]=!S.value.has(o.name);const u=s.get(o.name);return{name:c,type:"line",smooth:n.smoothLine,showSymbol:!1,data:(u==null?void 0:u.values)||[],lineStyle:{color:o.color||"#5470c6",width:n.lineWidth,type:"solid"},itemStyle:{color:o.color||"#5470c6"}}});return{tooltip:{trigger:"axis",backgroundColor:"rgba(255,255,255,0.96)",borderColor:"#1c3d90",borderWidth:1,textStyle:{color:"#333",fontSize:12},axisPointer:{type:"cross"}},legend:{show:!1,selected:l},grid:{top:15,right:40,bottom:60,left:60},xAxis:{type:"category",data:e,axisLine:{lineStyle:{color:n.gridColor}},axisLabel:{color:n.textColor,fontSize:11,rotate:15,interval:"auto",formatter:o=>{var d;if(o&&o.length>6){const c=o.split(" ");return(((d=c[0])==null?void 0:d.split("/").slice(1).join("/"))||"")+(c[1]?" "+c[1]:"")}return o}},axisTick:{show:!1},boundaryGap:!1},yAxis:{type:"value",name:n.yAxisLabel,scale:!0,axisLine:{show:!1},axisLabel:{color:n.textColor,fontSize:11},splitLine:{lineStyle:{color:n.gridColor,type:"dashed"}}},dataZoom:[{type:"inside",xAxisIndex:0,filterMode:"none"},{type:"slider",height:18,bottom:8,borderColor:"transparent",backgroundColor:"#f0f0f0",fillerColor:"rgba(28, 61, 144, 0.2)",handleStyle:{color:"#1c3d90"},textStyle:{fontSize:10}}],series:m}},I=()=>{const n=_.getChartInstance();n&&n.setOption(R(L.value),!0)},ue=()=>{const n=_.getChartInstance();if(!n)return;const e=document.createElement("a");e.href=n.getDataURL({type:"png",pixelRatio:2,backgroundColor:"#fff"}),e.download=`应力压力时序曲线_${q.dayjs().format("YYYYMMDDHHmmss")}.png`,e.click()},de=n=>{const{payload:e}=n;if(!e)return;if(e.type==="filter"){e.dateRange&&Array.isArray(e.dateRange)&&e.dateRange.length===2&&(j={start_time:e.dateRange[0],end_time:e.dateRange[1]});const i=e.objectIds&&e.objectIds.length>0?e.objectIds:e.objectId?[e.objectId]:[];i.length>0&&(p.value=i,F(i)),(a.mode==="edit"||i.length===0)&&(P(),I());return}const l=e.objectId||e.object_id;l&&(p.value=[l],F([l]))},F=n=>H(null,null,function*(){var c;if(!n.length||a.mode!=="preview")return;const e=++w;s.clear(),g.value.clear(),V.clear();const l=(c=_.session)==null?void 0:c.value;if(!l)return;const i=a.conf.id;l.componentRequests&&l.componentRequests.delete(i),typeof l.unsubscribeComponent=="function"&&l.unsubscribeComponent(i);const{data:r,common:f}=a.conf,m=n.length>1;j&&(f.historyTimeRange=j),a.conf.options||(a.conf.options={});const o=a.conf.options.points,d=Object.prototype.hasOwnProperty.call(a.conf.options,"points");(!o||Number(o)<24)&&(a.conf.options.points=24);for(const u of n){if(w!==e)return;Array.isArray(r)&&r.forEach(y=>{y.object_id=u}),f.multiObject||(f.object_id=u);try{const y=yield Promise.resolve().then(()=>require("./history-MxYUUwkm.cjs")),N=yield new y.default().getHistoryData(a,"stressTimeCurve");if(w!==e)return;const O=(N==null?void 0:N.history)||(Array.isArray(N)?N:[]);O.length>0&&r.forEach((C,fe)=>{if(!C.fv)return;const W=O[fe];if(!Array.isArray(W))return;const me=[...W].sort((k,T)=>new Date(k.time||k.datetime||"").getTime()-new Date(T.time||T.datetime||"").getTime()),ve=m?`${u}:${C.name||C.fv}`:C.name||C.fv,z=[],G=[];me.forEach(k=>{const T=k.time||k.datetime,K=k[C.fv];if(T&&K!=null){const M=parseFloat(K);isNaN(M)||(z.push(T.split(".")[0]),G.push(M))}if(C.device&&k[C.device]){const M=String(k[C.device]);m||V.set(C.name||C.fv,M),g.value.set(u,M)}}),z.length>0&&s.set(ve,{times:z,values:G})})}catch(y){console.warn("[应力时序曲线] 历史数据获取失败:",y)}if(w!==e)return;const E=_.getSource();_.subscribeBySource(E,u)}d?a.conf.options.points=o:delete a.conf.options.points,w===e&&(I(),l.registerComponent({id:i,request:null,onUpdate:(u,E)=>{w===e&&u==="realtime"&&_.setSocketData(E)}}))});return t.onMounted(()=>{a.mode==="edit"&&P(),setTimeout(()=>{var n;return(n=_.getChartInstance())==null?void 0:n.resize()},200)}),t.watch(()=>a.conf,()=>{a.mode==="edit"&&(P(),I())},{deep:!0}),(n,e)=>{const l=$.ElIcon,i=$.ElButton,r=$.ElCheckbox,f=$.ElCheckboxGroup,m=$.ElPopover;return t.openBlock(),t.createElementBlock("div",{class:"stress-time-curve",style:t.normalizeStyle(ce.value)},[t.createElementVNode("div",Se,[t.createElementVNode("div",Ee,[t.createElementVNode("div",we,[e[2]||(e[2]=t.createElementVNode("span",{class:"indicator-dot"},null,-1)),t.createElementVNode("span",Ne,"📈 "+t.toDisplayString(t.unref(L).title),1)]),t.createElementVNode("div",ke,[t.createVNode(m,{placement:"bottom-start",width:220,trigger:"click"},{reference:t.withCtx(()=>[t.createVNode(i,{size:"small"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(ae.value)+" ",1),t.createVNode(l,{class:"el-icon--right"},{default:t.withCtx(()=>[t.createVNode(t.unref(te.ArrowDown))]),_:1})]),_:1})]),default:t.withCtx(()=>[t.createElementVNode("div",Ve,[t.createElementVNode("div",je,[t.createVNode(r,{modelValue:U.value,"onUpdate:modelValue":e[0]||(e[0]=o=>U.value=o),indeterminate:le.value,onChange:se},{default:t.withCtx(()=>[...e[3]||(e[3]=[t.createTextVNode(" 全部指标 ",-1)])]),_:1},8,["modelValue","indeterminate"])]),t.createVNode(f,{modelValue:h.value,"onUpdate:modelValue":e[1]||(e[1]=o=>h.value=o),onChange:I},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(b.value,o=>(t.openBlock(),t.createBlock(r,{key:o.fv,label:o.fv,class:"indicator-checkbox-item"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(o.name),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])])]),_:1}),t.createVNode(i,{size:"small",onClick:ue},{default:t.withCtx(()=>[t.createVNode(l,null,{default:t.withCtx(()=>[t.createVNode(t.unref(te.Download))]),_:1}),e[4]||(e[4]=t.createElementVNode("span",null,"导出图像",-1))]),_:1})])]),t.createElementVNode("div",Ae,[t.createElementVNode("div",Ie,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(re.value,o=>(t.openBlock(),t.createElementBlock("span",{key:o.name,class:t.normalizeClass(["legend-item",{disabled:!o.visible}]),onClick:d=>ie(o)},[t.createElementVNode("span",{class:"legend-line",style:t.normalizeStyle({borderTopColor:o.visible?o.color:"#ccc",borderTopStyle:"solid"})},null,4),t.createElementVNode("span",De,t.toDisplayString(o.name),1)],10,Me))),128))])]),t.createElementVNode("div",{id:t.unref(ne),class:"chart-container"},null,8,Le)]),t.renderSlot(n.$slots,"default",{},void 0,!0)],4)}}})),ze=q._export_sfc(Fe,[["__scopeId","data-v-4fb41cf2"]]);exports.default=ze;
1
+ "use strict";var pe=Object.defineProperty,he=Object.defineProperties;var ge=Object.getOwnPropertyDescriptors;var Z=Object.getOwnPropertySymbols,be=Object.getPrototypeOf,ye=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,_e=Reflect.get;var J=(v,a,s)=>a in v?pe(v,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):v[a]=s,Q=(v,a)=>{for(var s in a||(a={}))ye.call(a,s)&&J(v,s,a[s]);if(Z)for(var s of Z(a))Ce.call(a,s)&&J(v,s,a[s]);return v},X=(v,a)=>he(v,ge(a));var ee=(v,a,s)=>_e(be(v),s,a);var H=(v,a,s)=>new Promise((V,g)=>{var p=x=>{try{j(s.next(x))}catch(D){g(D)}},w=x=>{try{j(s.throw(x))}catch(D){g(D)}},j=x=>x.done?V(x.value):Promise.resolve(x.value).then(p,w);j((s=s.apply(v,a)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const $=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/popover/style/css");require("element-plus/es/components/checkbox-group/style/css");require("element-plus/es/components/checkbox/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/icon/style/css");const t=require("vue"),q=require("./index-BzWbqJIl.cjs");require("element-plus");const xe=require("./EChartComponentBase-D7_ZiE7P.cjs"),te=require("@element-plus/icons-vue"),oe=require("./ele-lin-icon-Dke_1AmT.cjs"),Se={class:"chart-panel"},Ee={class:"panel-header"},we={class:"header-left"},Ne={class:"panel-title"},ke={class:"header-right"},Ve={class:"indicator-selector-panel"},je={class:"indicator-select-all"},Ae={class:"legend-bar"},Ie={class:"legend-items"},Me=["onClick"],De={class:"legend-text"},Le=["id"],Oe={DEFAULT_ICON:oe.DEFAULT_ICON,ACTIVE_ICON:oe.ACTIVE_ICON,NAME_CN:"应力/压力时序曲线",NAME_EN:"Stress Time Curve",ORDER:2,PLATFORM:["pc","screen"]},Te={title:{value:"应力/压力 时序演变曲线",type:"string",label:"标题"},bgColor:{value:"#f5f7fa",type:"color",label:"setting.bgColor"},panelBgColor:{value:"#ffffff",type:"color",label:"面板背景色"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},titleColor:{value:"#1c3d90",type:"color",label:"标题颜色"},gridColor:{value:"#f0f0f0",type:"color",label:"网格线颜色"},lineWidth:{value:"2.5",type:"select",label:"曲线粗细",options:[{label:"细 (1px)",value:"1"},{label:"标准 (2.5px)",value:"2.5"},{label:"粗 (4px)",value:"4"}]},smoothLine:{value:"true",type:"select",label:"曲线平滑",options:[{label:"平滑",value:"true"},{label:"折线",value:"false"}]},yAxisLabel:{value:"kPa",type:"string",label:"Y轴标签"},linkChannel:{value:"stress",type:"select",label:"component.linkChannel",options:[{label:"地下应力监测",value:"stress"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"component.customChannel",showWhen:{linkChannel:"custom"}}},$e=[{name:"应力(kPa)",fv:"",object_id:"",color:"#5470c6",device:""}],qe=["name","fv","object_id","color","device"],Be=["mosaic","statistics","calculate"],Ye={useAlias:!1,multiObject:!1,hideMultiObject:!0,source:"mosaic"},Pe=50,Re={DEFAULT:Oe,OPTIONS:Te,DATA:$e,PARAMS:qe,SOURCE:Be,ITEMS:Pe,COMMON:Ye},Fe=t.defineComponent(X(Q({},Re),{__name:"stressTimeCurve",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(v){const a=v,s=new Map,V=new Map,g=t.ref(new Map),p=t.ref([]);let w=0,j=null;const x=t.computed(()=>{var n,e;return(e=(n=a.conf)==null?void 0:n.common)!=null&&e.object_id?!0:Y.value.some(l=>!!l.object_id)}),D=t.computed(()=>x.value||p.value.length>0);class B extends xe.EChartComponentBase{extractStyles(){var r,f,m,o,d,c,u,E,y,A,N,O;const e=(r=this.props.conf)==null?void 0:r.options,l=((f=e==null?void 0:e.linkChannel)==null?void 0:f.value)||"stress",i=((m=e==null?void 0:e.customChannel)==null?void 0:m.value)||"";return{bgColor:((o=e==null?void 0:e.bgColor)==null?void 0:o.value)||"#f5f7fa",panelBgColor:((d=e==null?void 0:e.panelBgColor)==null?void 0:d.value)||"#ffffff",textColor:((c=e==null?void 0:e.textColor)==null?void 0:c.value)||"#333333",titleColor:((u=e==null?void 0:e.titleColor)==null?void 0:u.value)||"#1c3d90",gridColor:((E=e==null?void 0:e.gridColor)==null?void 0:E.value)||"#f0f0f0",lineWidth:parseFloat(((y=e==null?void 0:e.lineWidth)==null?void 0:y.value)||"2.5"),smoothLine:(((A=e==null?void 0:e.smoothLine)==null?void 0:A.value)||"true")==="true",yAxisLabel:((N=e==null?void 0:e.yAxisLabel)==null?void 0:N.value)||"kPa",title:((O=e==null?void 0:e.title)==null?void 0:O.value)||"应力/压力 时序演变曲线",linkChannel:l==="custom"&&i?i:l}}getChartOption(){return R(this.Style.value)}needsHistoryData(){return!1}onPreview(){return H(this,null,function*(){var l,i,r,f,m;const e=((i=(l=this.props.conf)==null?void 0:l.common)==null?void 0:i.object_id)||((m=(f=(r=this.props.conf)==null?void 0:r.data)==null?void 0:f[0])==null?void 0:m.object_id)||"";if(e&&p.value.length===0){p.value=[e],yield F([e]);return}yield ee(B.prototype,this,"onPreview").call(this)})}setSocketData(e){var m;if(!e)return;const l=e.object_id||e.objectId||"";if(l&&p.value.length>0&&!p.value.includes(l))return;const i=e.datetime?e.datetime.split(".")[0]:q.dayjs().format("YYYY/MM/DD HH:mm"),r=((m=this.props.conf)==null?void 0:m.data)||[],f=p.value.length>1;r.forEach(o=>{if(o.device){const d=this.extractDataValue(e,o.device);if(d!=null&&String(d).trim()){const c=String(d).trim();f&&l?g.value.set(l,c):(V.set(o.name||o.fv,c),l&&g.value.set(l,c))}}}),r.forEach(o=>{if(!o.fv)return;const d=this.extractDataValue(e,o.fv);if(d==null)return;const c=f&&l?`${l}:${o.name||o.fv}`:o.name||o.fv,u=s.get(c);u?(u.times.push(i),u.values.push(parseFloat(d)),u.times.length>200&&(u.times.shift(),u.values.shift())):s.set(c,{times:[i],values:[parseFloat(d)]})}),this.chartObj&&this.chartObj.setOption(R(this.Style.value),!1)}onLinkEvent(e){de(e)}}const _=new B(a,"stressTimeCurve");_.setupLifecycle();const L=_.getStyle(),ne=_.getEchartId(),Y=t.computed(()=>{var n;return((n=a.conf)==null?void 0:n.data)||[]}),b=t.computed(()=>{const n=new Set;return Y.value.filter(e=>e.name&&!n.has(e.name)?(n.add(e.name),!0):!1)}),h=t.ref([]);t.watch(b,n=>{n.length>0&&h.value.length===0&&(h.value=n.map(e=>e.fv||e.name))},{immediate:!0});const U=t.computed({get:()=>b.value.length>0&&h.value.length===b.value.length,set:()=>{}}),le=t.computed(()=>{const n=h.value.length;return n>0&&n<b.value.length}),ae=t.computed(()=>{if(h.value.length===0)return"选择监测指标";if(h.value.length===b.value.length)return"全部指标已选";const e=b.value.filter(l=>h.value.includes(l.fv||l.name)).map(l=>l.name).join(", ");return e.length>14?e.substring(0,14)+"...":e}),se=n=>{h.value=n?b.value.map(e=>e.fv||e.name):[],I()},S=t.ref(new Set),re=t.computed(()=>{if(p.value.length>1){const e=[];for(const l of p.value){const i=g.value.get(l)||l.slice(-6);b.value.filter(r=>h.value.includes(r.fv||r.name)).forEach(r=>{e.push({name:`${i}-${r.name}`,color:r.color||"#5470c6",visible:!S.value.has(`${l}:${r.name}`)})})}return e}return b.value.filter(e=>h.value.includes(e.fv||e.name)).map(e=>{const l=V.get(e.name)||g.value.values().next().value||"";return{name:l?`${l}-${e.name}`:e.name,color:e.color||"#5470c6",visible:!S.value.has(e.name)}})}),ie=n=>{const e=n.name.includes("-")?n.name.split("-").slice(1).join("-"):n.name;S.value.has(e)?S.value.delete(e):S.value.add(e),S.value=new Set(S.value),I()},ce=t.computed(()=>({backgroundColor:L.value.bgColor,color:L.value.textColor,"--title-color":L.value.titleColor})),P=()=>{s.clear();const n=q.dayjs();Y.value.forEach((e,l)=>{const i=[],r=[],f=8.5+l*2,m=1.5;for(let o=0;o<100;o++)i.push(n.subtract((100-o)*15,"minute").format("YYYY/MM/DD HH:mm")),r.push(+(f+Math.sin(o/8)*m+(Math.random()-.5)*.3).toFixed(2));s.set(e.name,{times:i,values:r})})},R=n=>{if(a.mode!=="edit"&&(!D.value||s.size===0))return{xAxis:{type:"category",data:[]},yAxis:{type:"value"},series:[]};let e=[];for(const[,o]of s)o.times.length>e.length&&(e=o.times);!e.length&&a.mode==="edit"&&(e=Array.from({length:50},(o,d)=>q.dayjs().subtract((50-d)*15,"minute").format("YYYY/MM/DD HH:mm")));const l={},i=p.value.length>1,r=["#5470c6","#ee6666","#fac858","#91cc75","#73c0de","#3ba272","#fc8452","#9a60b4"];let f=0,m=[];if(i&&a.mode!=="edit")for(const o of p.value){const d=g.value.get(o)||o.slice(-6);b.value.filter(c=>h.value.includes(c.fv||c.name)).forEach(c=>{const u=`${o}:${c.name}`,E=`${d}-${c.name}`,y=c.color||r[f%r.length];l[E]=!S.value.has(u);const A=s.get(u);m.push({name:E,type:"line",smooth:n.smoothLine,showSymbol:!1,data:(A==null?void 0:A.values)||[],lineStyle:{color:y,width:n.lineWidth,type:"solid"},itemStyle:{color:y}}),f++})}else m=b.value.filter(o=>h.value.includes(o.fv||o.name)).map(o=>{const d=V.get(o.name)||g.value.values().next().value||"",c=d?`${d}-${o.name}`:o.name;l[c]=!S.value.has(o.name);const u=s.get(o.name);return{name:c,type:"line",smooth:n.smoothLine,showSymbol:!1,data:(u==null?void 0:u.values)||[],lineStyle:{color:o.color||"#5470c6",width:n.lineWidth,type:"solid"},itemStyle:{color:o.color||"#5470c6"}}});return{tooltip:{trigger:"axis",backgroundColor:"rgba(255,255,255,0.96)",borderColor:"#1c3d90",borderWidth:1,textStyle:{color:"#333",fontSize:12},axisPointer:{type:"cross"}},legend:{show:!1,selected:l},grid:{top:15,right:40,bottom:60,left:60},xAxis:{type:"category",data:e,axisLine:{lineStyle:{color:n.gridColor}},axisLabel:{color:n.textColor,fontSize:11,rotate:15,interval:"auto",formatter:o=>{var d;if(o&&o.length>6){const c=o.split(" ");return(((d=c[0])==null?void 0:d.split("/").slice(1).join("/"))||"")+(c[1]?" "+c[1]:"")}return o}},axisTick:{show:!1},boundaryGap:!1},yAxis:{type:"value",name:n.yAxisLabel,scale:!0,axisLine:{show:!1},axisLabel:{color:n.textColor,fontSize:11},splitLine:{lineStyle:{color:n.gridColor,type:"dashed"}}},dataZoom:[{type:"inside",xAxisIndex:0,filterMode:"none"},{type:"slider",height:18,bottom:8,borderColor:"transparent",backgroundColor:"#f0f0f0",fillerColor:"rgba(28, 61, 144, 0.2)",handleStyle:{color:"#1c3d90"},textStyle:{fontSize:10}}],series:m}},I=()=>{const n=_.getChartInstance();n&&n.setOption(R(L.value),!0)},ue=()=>{const n=_.getChartInstance();if(!n)return;const e=document.createElement("a");e.href=n.getDataURL({type:"png",pixelRatio:2,backgroundColor:"#fff"}),e.download=`应力压力时序曲线_${q.dayjs().format("YYYYMMDDHHmmss")}.png`,e.click()},de=n=>{const{payload:e}=n;if(!e)return;if(e.type==="filter"){e.dateRange&&Array.isArray(e.dateRange)&&e.dateRange.length===2&&(j={start_time:e.dateRange[0],end_time:e.dateRange[1]});const i=e.objectIds&&e.objectIds.length>0?e.objectIds:e.objectId?[e.objectId]:[];i.length>0&&(p.value=i,F(i)),(a.mode==="edit"||i.length===0)&&(P(),I());return}const l=e.objectId||e.object_id;l&&(p.value=[l],F([l]))},F=n=>H(null,null,function*(){var c;if(!n.length||a.mode!=="preview")return;const e=++w;s.clear(),g.value.clear(),V.clear();const l=(c=_.session)==null?void 0:c.value;if(!l)return;const i=a.conf.id;l.componentRequests&&l.componentRequests.delete(i),typeof l.unsubscribeComponent=="function"&&l.unsubscribeComponent(i);const{data:r,common:f}=a.conf,m=n.length>1;j&&(f.historyTimeRange=j),a.conf.options||(a.conf.options={});const o=a.conf.options.points,d=Object.prototype.hasOwnProperty.call(a.conf.options,"points");(!o||Number(o)<24)&&(a.conf.options.points=24);for(const u of n){if(w!==e)return;Array.isArray(r)&&r.forEach(y=>{y.object_id=u}),f.multiObject||(f.object_id=u);try{const y=yield Promise.resolve().then(()=>require("./history-xZTq1lUB.cjs")),N=yield new y.default().getHistoryData(a,"stressTimeCurve");if(w!==e)return;const O=(N==null?void 0:N.history)||(Array.isArray(N)?N:[]);O.length>0&&r.forEach((C,fe)=>{if(!C.fv)return;const W=O[fe];if(!Array.isArray(W))return;const me=[...W].sort((k,T)=>new Date(k.time||k.datetime||"").getTime()-new Date(T.time||T.datetime||"").getTime()),ve=m?`${u}:${C.name||C.fv}`:C.name||C.fv,z=[],G=[];me.forEach(k=>{const T=k.time||k.datetime,K=k[C.fv];if(T&&K!=null){const M=parseFloat(K);isNaN(M)||(z.push(T.split(".")[0]),G.push(M))}if(C.device&&k[C.device]){const M=String(k[C.device]);m||V.set(C.name||C.fv,M),g.value.set(u,M)}}),z.length>0&&s.set(ve,{times:z,values:G})})}catch(y){console.warn("[应力时序曲线] 历史数据获取失败:",y)}if(w!==e)return;const E=_.getSource();_.subscribeBySource(E,u)}d?a.conf.options.points=o:delete a.conf.options.points,w===e&&(I(),l.registerComponent({id:i,request:null,onUpdate:(u,E)=>{w===e&&u==="realtime"&&_.setSocketData(E)}}))});return t.onMounted(()=>{a.mode==="edit"&&P(),setTimeout(()=>{var n;return(n=_.getChartInstance())==null?void 0:n.resize()},200)}),t.watch(()=>a.conf,()=>{a.mode==="edit"&&(P(),I())},{deep:!0}),(n,e)=>{const l=$.ElIcon,i=$.ElButton,r=$.ElCheckbox,f=$.ElCheckboxGroup,m=$.ElPopover;return t.openBlock(),t.createElementBlock("div",{class:"stress-time-curve",style:t.normalizeStyle(ce.value)},[t.createElementVNode("div",Se,[t.createElementVNode("div",Ee,[t.createElementVNode("div",we,[e[2]||(e[2]=t.createElementVNode("span",{class:"indicator-dot"},null,-1)),t.createElementVNode("span",Ne,"📈 "+t.toDisplayString(t.unref(L).title),1)]),t.createElementVNode("div",ke,[t.createVNode(m,{placement:"bottom-start",width:220,trigger:"click"},{reference:t.withCtx(()=>[t.createVNode(i,{size:"small"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(ae.value)+" ",1),t.createVNode(l,{class:"el-icon--right"},{default:t.withCtx(()=>[t.createVNode(t.unref(te.ArrowDown))]),_:1})]),_:1})]),default:t.withCtx(()=>[t.createElementVNode("div",Ve,[t.createElementVNode("div",je,[t.createVNode(r,{modelValue:U.value,"onUpdate:modelValue":e[0]||(e[0]=o=>U.value=o),indeterminate:le.value,onChange:se},{default:t.withCtx(()=>[...e[3]||(e[3]=[t.createTextVNode(" 全部指标 ",-1)])]),_:1},8,["modelValue","indeterminate"])]),t.createVNode(f,{modelValue:h.value,"onUpdate:modelValue":e[1]||(e[1]=o=>h.value=o),onChange:I},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(b.value,o=>(t.openBlock(),t.createBlock(r,{key:o.fv,label:o.fv,class:"indicator-checkbox-item"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(o.name),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])])]),_:1}),t.createVNode(i,{size:"small",onClick:ue},{default:t.withCtx(()=>[t.createVNode(l,null,{default:t.withCtx(()=>[t.createVNode(t.unref(te.Download))]),_:1}),e[4]||(e[4]=t.createElementVNode("span",null,"导出图像",-1))]),_:1})])]),t.createElementVNode("div",Ae,[t.createElementVNode("div",Ie,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(re.value,o=>(t.openBlock(),t.createElementBlock("span",{key:o.name,class:t.normalizeClass(["legend-item",{disabled:!o.visible}]),onClick:d=>ie(o)},[t.createElementVNode("span",{class:"legend-line",style:t.normalizeStyle({borderTopColor:o.visible?o.color:"#ccc",borderTopStyle:"solid"})},null,4),t.createElementVNode("span",De,t.toDisplayString(o.name),1)],10,Me))),128))])]),t.createElementVNode("div",{id:t.unref(ne),class:"chart-container"},null,8,Le)]),t.renderSlot(n.$slots,"default",{},void 0,!0)],4)}}})),ze=q._export_sfc(Fe,[["__scopeId","data-v-4fb41cf2"]]);exports.default=ze;
@@ -34,9 +34,9 @@ import "element-plus/es/components/checkbox/style/css";
34
34
  import "element-plus/es/components/button/style/css";
35
35
  import "element-plus/es/components/icon/style/css";
36
36
  import { defineComponent as Ye, ref as F, computed as k, watch as ce, onMounted as Ve, openBlock as P, createElementBlock as H, normalizeStyle as ue, createElementVNode as h, toDisplayString as z, unref as B, createVNode as w, withCtx as A, createTextVNode as X, Fragment as de, renderList as fe, createBlock as Re, normalizeClass as Pe, renderSlot as Fe } from "vue";
37
- import { d as U, _ as He } from "./index-DwPJu6XM.js";
37
+ import { d as U, _ as He } from "./index-D5BukPPY.js";
38
38
  import "element-plus";
39
- import { E as ze } from "./EChartComponentBase-cFfawl6h.js";
39
+ import { E as ze } from "./EChartComponentBase-C3gcATBZ.js";
40
40
  import { ArrowDown as Be, Download as Ue } from "@element-plus/icons-vue";
41
41
  import { A as We, D as qe } from "./ele-lin-icon-Dax-ZiWV.js";
42
42
  const Ge = { class: "chart-panel" }, Ke = { class: "panel-header" }, Ze = { class: "header-left" }, Je = { class: "panel-title" }, Qe = { class: "header-right" }, Xe = { class: "indicator-selector-panel" }, et = { class: "indicator-select-all" }, tt = { class: "legend-bar" }, ot = { class: "legend-items" }, lt = ["onClick"], nt = { class: "legend-text" }, at = ["id"], st = {
@@ -366,7 +366,7 @@ const Ge = { class: "chart-panel" }, Ke = { class: "panel-header" }, Ze = { clas
366
366
  y.object_id = c;
367
367
  }), d.multiObject || (d.object_id = c);
368
368
  try {
369
- const y = yield import("./history-BZ869y2d.js"), E = yield new y.default().getHistoryData(n, "stressTimeCurve");
369
+ const y = yield import("./history-DdkBOj8L.js"), E = yield new y.default().getHistoryData(n, "stressTimeCurve");
370
370
  if (M !== e) return;
371
371
  const V = (E == null ? void 0 : E.history) || (Array.isArray(E) ? E : []);
372
372
  V.length > 0 && s.forEach((C, xe) => {
@@ -16,8 +16,8 @@ import "element-plus/es/components/carousel/style/css";
16
16
  import "element-plus/es/components/carousel-item/style/css";
17
17
  import { defineComponent as A, openBlock as n, createElementBlock as d, createElementVNode as N, normalizeStyle as O, unref as C, createVNode as I, withCtx as _, Fragment as T, renderList as B, createBlock as R, renderSlot as U } from "vue";
18
18
  import "html2canvas";
19
- import { B as D } from "./BaseComponent-CBagahPU.js";
20
- import { F as x, _ as P } from "./index-DwPJu6XM.js";
19
+ import { B as D } from "./BaseComponent-NnwLq7Cf.js";
20
+ import { F as x, _ as P } from "./index-D5BukPPY.js";
21
21
  const V = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='17px'%20viewBox='0%200%2018%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e轮播%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份'%20transform='translate(-1062.000000,%20-99.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M1072.93793,113.477011%20C1073.29342,113.477011%201073.58161,113.765196%201073.58161,114.12069%20C1073.58161,114.446559%201073.33945,114.71587%201073.02527,114.758492%20L1072.93793,114.764368%20L1069.9954,114.764368%20C1069.63991,114.764368%201069.35172,114.476183%201069.35172,114.12069%20C1069.35172,113.79482%201069.59388,113.52551%201069.90806,113.482888%20L1069.9954,113.477011%20L1072.93793,113.477011%20Z%20M1075.88046,113.477011%20C1076.23595,113.477011%201076.52414,113.765196%201076.52414,114.12069%20C1076.52414,114.446559%201076.28198,114.71587%201075.9678,114.758492%20L1075.88046,114.764368%20L1075.14483,114.764368%20C1074.78933,114.764368%201074.50115,114.476183%201074.50115,114.12069%20C1074.50115,113.79482%201074.7433,113.52551%201075.05748,113.482888%20L1075.14483,113.477011%20L1075.88046,113.477011%20Z%20M1064.84598,113.477011%20C1065.20147,113.477011%201065.48966,113.765196%201065.48966,114.12069%20C1065.48966,114.446559%201065.2475,114.71587%201064.93332,114.758492%20L1064.84598,114.764368%20L1064.11034,114.764368%20C1063.75485,114.764368%201063.46667,114.476183%201063.46667,114.12069%20C1063.46667,113.79482%201063.70882,113.52551%201064.023,113.482888%20L1064.11034,113.477011%20L1064.84598,113.477011%20Z%20M1078.82299,113.477011%20C1079.17848,113.477011%201079.46667,113.765196%201079.46667,114.12069%20C1079.46667,114.446559%201079.22451,114.71587%201078.91033,114.758492%20L1078.82299,114.764368%20L1078.08736,114.764368%20C1077.73186,114.764368%201077.44368,114.476183%201077.44368,114.12069%20C1077.44368,113.79482%201077.68583,113.52551%201078.00001,113.482888%20L1078.08736,113.477011%20L1078.82299,113.477011%20Z%20M1067.78851,113.477011%20C1068.144,113.477011%201068.43218,113.765196%201068.43218,114.12069%20C1068.43218,114.446559%201068.19003,114.71587%201067.87585,114.758492%20L1067.78851,114.764368%20L1067.05287,114.764368%20C1066.69738,114.764368%201066.4092,114.476183%201066.4092,114.12069%20C1066.4092,113.79482%201066.65135,113.52551%201066.96553,113.482888%20L1067.05287,113.477011%20L1067.78851,113.477011%20Z%20M1078.20996,100.235632%20C1078.90402,100.235632%201079.46667,100.798278%201079.46667,101.492337%20L1079.46667,101.492337%20L1079.46667,111.300766%20C1079.46667,111.994825%201078.90402,112.557471%201078.20996,112.557471%20L1078.20996,112.557471%20L1064.72337,112.557471%20C1064.02931,112.557471%201063.46667,111.994825%201063.46667,111.300766%20L1063.46667,111.300766%20L1063.46667,101.492337%20C1063.46667,100.798278%201064.02931,100.235632%201064.72337,100.235632%20L1064.72337,100.235632%20Z%20M1078.1787,101.522114%20L1064.75341,101.522114%20L1064.75341,111.26924%20L1078.1787,111.26924%20L1078.1787,101.522114%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", j = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='17px'%20viewBox='0%200%2018%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e轮播%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份-2'%20transform='translate(-1062.000000,%20-99.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M1072.93793,113.477011%20C1073.29342,113.477011%201073.58161,113.765196%201073.58161,114.12069%20C1073.58161,114.446559%201073.33945,114.71587%201073.02527,114.758492%20L1072.93793,114.764368%20L1069.9954,114.764368%20C1069.63991,114.764368%201069.35172,114.476183%201069.35172,114.12069%20C1069.35172,113.79482%201069.59388,113.52551%201069.90806,113.482888%20L1069.9954,113.477011%20L1072.93793,113.477011%20Z%20M1075.88046,113.477011%20C1076.23595,113.477011%201076.52414,113.765196%201076.52414,114.12069%20C1076.52414,114.446559%201076.28198,114.71587%201075.9678,114.758492%20L1075.88046,114.764368%20L1075.14483,114.764368%20C1074.78933,114.764368%201074.50115,114.476183%201074.50115,114.12069%20C1074.50115,113.79482%201074.7433,113.52551%201075.05748,113.482888%20L1075.14483,113.477011%20L1075.88046,113.477011%20Z%20M1064.84598,113.477011%20C1065.20147,113.477011%201065.48966,113.765196%201065.48966,114.12069%20C1065.48966,114.446559%201065.2475,114.71587%201064.93332,114.758492%20L1064.84598,114.764368%20L1064.11034,114.764368%20C1063.75485,114.764368%201063.46667,114.476183%201063.46667,114.12069%20C1063.46667,113.79482%201063.70882,113.52551%201064.023,113.482888%20L1064.11034,113.477011%20L1064.84598,113.477011%20Z%20M1078.82299,113.477011%20C1079.17848,113.477011%201079.46667,113.765196%201079.46667,114.12069%20C1079.46667,114.446559%201079.22451,114.71587%201078.91033,114.758492%20L1078.82299,114.764368%20L1078.08736,114.764368%20C1077.73186,114.764368%201077.44368,114.476183%201077.44368,114.12069%20C1077.44368,113.79482%201077.68583,113.52551%201078.00001,113.482888%20L1078.08736,113.477011%20L1078.82299,113.477011%20Z%20M1067.78851,113.477011%20C1068.144,113.477011%201068.43218,113.765196%201068.43218,114.12069%20C1068.43218,114.446559%201068.19003,114.71587%201067.87585,114.758492%20L1067.78851,114.764368%20L1067.05287,114.764368%20C1066.69738,114.764368%201066.4092,114.476183%201066.4092,114.12069%20C1066.4092,113.79482%201066.65135,113.52551%201066.96553,113.482888%20L1067.05287,113.477011%20L1067.78851,113.477011%20Z%20M1078.20996,100.235632%20C1078.90402,100.235632%201079.46667,100.798278%201079.46667,101.492337%20L1079.46667,101.492337%20L1079.46667,111.300766%20C1079.46667,111.994825%201078.90402,112.557471%201078.20996,112.557471%20L1078.20996,112.557471%20L1064.72337,112.557471%20C1064.02931,112.557471%201063.46667,111.994825%201063.46667,111.300766%20L1063.46667,111.300766%20L1063.46667,101.492337%20C1063.46667,100.798278%201064.02931,100.235632%201064.72337,100.235632%20L1064.72337,100.235632%20Z%20M1078.1787,101.522114%20L1064.75341,101.522114%20L1064.75341,111.26924%20L1078.1787,111.26924%20L1078.1787,101.522114%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", W = { class: "mix-component" }, $ = ["src", "height", "width"], q = ["src"], G = {
22
22
  DEFAULT_ICON: V,
23
23
  ACTIVE_ICON: j,