mixdashboards 1.1.19 → 1.1.21

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 (359) hide show
  1. package/dist/{AgActionsRenderer-PlZa78ff.js → AgActionsRenderer-3HKXKUJY.js} +1 -1
  2. package/dist/{AgActionsRenderer-Dlr21zZJ.cjs → AgActionsRenderer-DnPvuT_-.cjs} +1 -1
  3. package/dist/{AgGridTable-oXfzJc2L.js → AgGridTable-BQ8M3fDj.js} +1 -1
  4. package/dist/{AgGridTable-CE6GaYj4.cjs → AgGridTable-BQvI6jpO.cjs} +1 -1
  5. package/dist/{BaseComponent-DdC8fmD6.cjs → BaseComponent-DKuQG62G.cjs} +1 -1
  6. package/dist/{BaseComponent-Bv3RJ3vA.js → BaseComponent-Dn65PXTp.js} +3 -3
  7. package/dist/{EChartComponentBase-DzP0_KR9.cjs → EChartComponentBase-8GSbyY5P.cjs} +1 -1
  8. package/dist/{EChartComponentBase-B5seB4Mc.js → EChartComponentBase-skupRYzl.js} +2 -2
  9. package/dist/{EmergencyPlanPanel-tVOIWw2Q.js → EmergencyPlanPanel-C4OsnsPP.js} +1 -1
  10. package/dist/{EmergencyPlanPanel-9KW6SFeg.cjs → EmergencyPlanPanel-DLvOrE5U.cjs} +1 -1
  11. package/dist/{HistoryPlanDialog-CDFm2aaq.cjs → HistoryPlanDialog--99rPq54.cjs} +1 -1
  12. package/dist/{HistoryPlanDialog-BJ8jXVxW.js → HistoryPlanDialog-DI0H_vgZ.js} +1 -1
  13. package/dist/{MixiotAppDetailPage-CGxGF4b4.cjs → MixiotAppDetailPage-4mYR4gHm.cjs} +1 -1
  14. package/dist/{MixiotAppDetailPage-BY0b1cSQ.js → MixiotAppDetailPage-C_NrtqJU.js} +1 -1
  15. package/dist/{MonitoringMap-BhE-240t.cjs → MonitoringMap-CstXoU8n.cjs} +1 -1
  16. package/dist/{MonitoringMap-Caf2Shxs.js → MonitoringMap-Gxy8ldt1.js} +2 -2
  17. package/dist/{UniverSheet-DK1fnNou.js → UniverSheet-DGNOHAEJ.js} +2 -2
  18. package/dist/{UniverSheet-CoBlKEHm.cjs → UniverSheet-phDDfwXk.cjs} +1 -1
  19. package/dist/{accelerationChart-CpzAy4XN.cjs → accelerationChart-B_y_8Y4q.cjs} +1 -1
  20. package/dist/{accelerationChart-CP1QTBXX.js → accelerationChart-C4JTCc65.js} +19 -19
  21. package/dist/{actionItem-CcDYnjv-.cjs → actionItem-Bdw3MAAf.cjs} +1 -1
  22. package/dist/{actionItem-C2CUz21T.js → actionItem-CGOgCPJR.js} +2 -2
  23. package/dist/{alarmLevelChart-D1el5vNk.js → alarmLevelChart-BQF-4a0s.js} +2 -2
  24. package/dist/{alarmLevelChart-bS2UEWev.cjs → alarmLevelChart-CY4GqDio.cjs} +1 -1
  25. package/dist/{alertTable-BdKLNkVJ.cjs → alertTable-D3riLPwz.cjs} +1 -1
  26. package/dist/{alertTable-21qWBMNt.js → alertTable-DgiRdm5f.js} +2 -2
  27. package/dist/{aliasObjectSelectorDemo-CpNohSP3.js → aliasObjectSelectorDemo-C7gQUdGu.js} +5 -5
  28. package/dist/{aliasObjectSelectorDemo-C7NLq1SO.cjs → aliasObjectSelectorDemo-DXFCCnvj.cjs} +1 -1
  29. package/dist/{annualRainfallChart-DDGrKSyV.js → annualRainfallChart-C1yG42iq.js} +2 -2
  30. package/dist/{annualRainfallChart-BvvLnmDL.cjs → annualRainfallChart-D3oUahrK.cjs} +1 -1
  31. package/dist/{aqi-B51UwYP8.cjs → aqi-B3g_go92.cjs} +1 -1
  32. package/dist/{aqi-SrcWK-ox.js → aqi-DLqM9gGc.js} +4 -4
  33. package/dist/{aqiIndass-DY6U7dbZ.js → aqiIndass-DDtB5_wf.js} +17 -17
  34. package/dist/{aqiIndass-BVxD6QC4.cjs → aqiIndass-DRYU-FAs.cjs} +1 -1
  35. package/dist/{areaDeformCurve-CWgMj6Ld.cjs → areaDeformCurve-CnvUJY_x.cjs} +1 -1
  36. package/dist/{areaDeformCurve-D3BuGscE.js → areaDeformCurve-DaLtFoJT.js} +2 -2
  37. package/dist/{arrayCard-9QeKfHnv.cjs → arrayCard-9p0Bkc_e.cjs} +1 -1
  38. package/dist/{arrayCard-qgDnMdcU.js → arrayCard-FYb8TmUw.js} +2 -2
  39. package/dist/{audio-CbbNeFwR.js → audio-BBXpJP54.js} +2 -2
  40. package/dist/{audio-lrTBdjeY.cjs → audio-DGxXcB0a.cjs} +1 -1
  41. package/dist/{bar-CJN8j8gU.js → bar-D26zndUl.js} +8 -8
  42. package/dist/{bar-BfPMVpDX.cjs → bar-btY9Pwkk.cjs} +1 -1
  43. package/dist/{basicShapeToolbox-eUxdwSiA.cjs → basicShapeToolbox-XR_NHK87.cjs} +1 -1
  44. package/dist/{basicShapeToolbox-DqSW0K9M.js → basicShapeToolbox-Y6mXTA8o.js} +7 -7
  45. package/dist/{bmp-pGXNGQ6L.js → bmp-C7tYeLi0.js} +2 -2
  46. package/dist/{bmp-BhCJePGA.cjs → bmp-DlSoc3Rw.cjs} +1 -1
  47. package/dist/{box-BAgrzKXC.js → box-DroQaZjH.js} +16 -16
  48. package/dist/{box-Be6Hpox4.cjs → box-DyIX9weX.cjs} +1 -1
  49. package/dist/{chartConfigPanel-BvMXZB2L.js → chartConfigPanel-D4dbsVKj.js} +1 -1
  50. package/dist/{chartConfigPanel-CGWijgZ-.cjs → chartConfigPanel-DvTKL5EZ.cjs} +1 -1
  51. package/dist/{circleBar-CGlveIpB.js → circleBar-DCnx8wNj.js} +2 -2
  52. package/dist/{circleBar-COsnnOW8.cjs → circleBar-DulXgWd8.cjs} +1 -1
  53. package/dist/{clock-CVO43_uj.js → clock-B1X6vX22.js} +2 -2
  54. package/dist/{clock-DgyRJ55m.cjs → clock-CeM6LdAl.cjs} +1 -1
  55. package/dist/{clt-Bfh4zPhb.cjs → clt-CcpO8rrD.cjs} +1 -1
  56. package/dist/{clt-d8tEBDXa.js → clt-IAzRVgiu.js} +15 -15
  57. package/dist/{cmc-B7O-zg2t.cjs → cmc-B4xRwSti.cjs} +1 -1
  58. package/dist/{cmc-By56qP2c.js → cmc-Swd4NfxE.js} +10 -10
  59. package/dist/{cmp-xri5dKb9.js → cmp--gCtei5x.js} +2 -2
  60. package/dist/{cmp-D73tbgfL.cjs → cmp-B9Aip3T2.cjs} +1 -1
  61. package/dist/{conclusionCard-EsUi-cs0.cjs → conclusionCard-CRif9GmS.cjs} +1 -1
  62. package/dist/{conclusionCard-Dk1KoNii.js → conclusionCard-DQ0HTHsg.js} +2 -2
  63. package/dist/{controlList-DlFba9SA.js → controlList-4TidO_XJ.js} +4 -4
  64. package/dist/{controlList-jIvwSzAZ.cjs → controlList-CwLNEkAi.cjs} +1 -1
  65. package/dist/{controlRecordList-Bmtp681m.cjs → controlRecordList-CuvV65TE.cjs} +1 -1
  66. package/dist/{controlRecordList-BJjkRs8d.js → controlRecordList-dPW6e4FN.js} +3 -3
  67. package/dist/{controlRecordListAPP-C_oMTkva.js → controlRecordListAPP-CObVdW3l.js} +2 -2
  68. package/dist/{controlRecordListAPP-C02TdcvH.cjs → controlRecordListAPP-DCzTOeXr.cjs} +1 -1
  69. package/dist/{crd-BS6MSmcS.cjs → crd-AH_sGivo.cjs} +1 -1
  70. package/dist/{crd-BYLbCcrj.js → crd-CEWC005o.js} +20 -20
  71. package/dist/{ctrBtn-V4qjGGtx.js → ctrBtn-8xev-mny.js} +3 -3
  72. package/dist/{ctrBtn-DhvhVrCW.cjs → ctrBtn-nYp9T0n0.cjs} +1 -1
  73. package/dist/{ctrSet-CHZZJIF7.js → ctrSet-3Q4eJSfK.js} +11 -11
  74. package/dist/{ctrSet-CQHpxMxP.cjs → ctrSet-z_9ztVyG.cjs} +1 -1
  75. package/dist/{ctrSwitch-ChvtxV9I.js → ctrSwitch-BhqYXTMZ.js} +7 -7
  76. package/dist/{ctrSwitch-D5n8S2_r.cjs → ctrSwitch-DacpvyBJ.cjs} +1 -1
  77. package/dist/{dataManagement-C3z0jdVy.js → dataManagement-BiPhJbF1.js} +2 -2
  78. package/dist/{dataManagement-DzESXejv.cjs → dataManagement-DP1Chfo2.cjs} +1 -1
  79. package/dist/{dataReport-D7WV4er3.js → dataReport-CQaL-d_q.js} +2 -2
  80. package/dist/{dataReport-D1myyCz7.cjs → dataReport-C_8TF5Dz.cjs} +1 -1
  81. package/dist/{dataTable-DkCWvmYS.js → dataTable-Bbx5XgV-.js} +1 -1
  82. package/dist/{dataTable-DOQRfWJN.cjs → dataTable-D6-325qb.cjs} +1 -1
  83. package/dist/{datetime-BfA0Yxsf.js → datetime-CmXZdgkW.js} +2 -2
  84. package/dist/{datetime-Dgr1l4mG.cjs → datetime-DBrUO7wD.cjs} +1 -1
  85. package/dist/{deepClusterSlipSurface-BTNdbcD0.cjs → deepClusterSlipSurface-Ch8i2ql5.cjs} +1 -1
  86. package/dist/{deepClusterSlipSurface-BotjleWU.js → deepClusterSlipSurface-D7o7mgg7.js} +27 -27
  87. package/dist/{deepDataMatrix-CqsdmOoD.js → deepDataMatrix-D9GCg496.js} +23 -23
  88. package/dist/{deepDataMatrix-B1glL8v7.cjs → deepDataMatrix-DoM8KUHn.cjs} +1 -1
  89. package/dist/{deepDisplacement3D-DNwOT442.cjs → deepDisplacement3D-C8ZRCP-R.cjs} +1 -1
  90. package/dist/{deepDisplacement3D-DLdpPEbS.js → deepDisplacement3D-Cjx11pre.js} +2 -2
  91. package/dist/{deepDisplacementChart-DjaHZ1pw.js → deepDisplacementChart-BHe83IoB.js} +23 -23
  92. package/dist/{deepDisplacementChart-CfGD5BrP.cjs → deepDisplacementChart-BlcS3DVl.cjs} +1 -1
  93. package/dist/{deepDisplacementChart-jJJQQFY6.js → deepDisplacementChart-HuWab3pz.js} +27 -27
  94. package/dist/{deepDisplacementChart-lDFewdsF.cjs → deepDisplacementChart-r3GIC8hq.cjs} +1 -1
  95. package/dist/{deepDisplacementView-B4Go1Hq0.js → deepDisplacementView-B4RBH8Ie.js} +1 -1
  96. package/dist/{deepDisplacementView-BH0UfjV6.cjs → deepDisplacementView-BHZQ4s3K.cjs} +1 -1
  97. package/dist/{deepNodeTemperatureChart-DUszGqXz.cjs → deepNodeTemperatureChart-BswYkP9V.cjs} +1 -1
  98. package/dist/{deepNodeTemperatureChart-9JmmT_3j.js → deepNodeTemperatureChart-D9maVN-M.js} +28 -28
  99. package/dist/{deepTangentAngleChart-rQ8QfuGN.js → deepTangentAngleChart-DIWKa8r3.js} +18 -18
  100. package/dist/{deepTangentAngleChart-C2CwkfSV.cjs → deepTangentAngleChart-DQxOv4Vz.cjs} +1 -1
  101. package/dist/{deepTemperatureField-C-ilAUbT.cjs → deepTemperatureField-2GBzigs_.cjs} +1 -1
  102. package/dist/{deepTemperatureField-CubuMfdf.js → deepTemperatureField-DlLLcuFb.js} +23 -23
  103. package/dist/{deepTrendChart-CLQFmRr2.cjs → deepTrendChart-CbYdfjcX.cjs} +1 -1
  104. package/dist/{deepTrendChart-Bo7kcMpS.js → deepTrendChart-CdX41nqe.js} +40 -40
  105. package/dist/{deviceOnlineStatus-DBulFfoC.cjs → deviceOnlineStatus-BMfNv4fX.cjs} +1 -1
  106. package/dist/{deviceOnlineStatus-CtIL7VFP.js → deviceOnlineStatus-BdOeLbLy.js} +2 -2
  107. package/dist/{deviceStatus-BDVPjgyN.js → deviceStatus-B8Ijgoyf.js} +15 -15
  108. package/dist/{deviceStatus-CF7z3bfZ.cjs → deviceStatus-CbYBmGvy.cjs} +1 -1
  109. package/dist/{displacementDataTable-B9HARhGm.cjs → displacementDataTable-BI8cE-vY.cjs} +1 -1
  110. package/dist/{displacementDataTable-GkggvGaZ.js → displacementDataTable-Cqi5Ql6a.js} +17 -17
  111. package/dist/{displacementTrajectoryChart-C_6Yq97U.js → displacementTrajectoryChart-D1UPR4dt.js} +30 -30
  112. package/dist/{displacementTrajectoryChart-CEui7uVX.cjs → displacementTrajectoryChart-DJM_B-gL.cjs} +1 -1
  113. package/dist/{displacementTrendChart-BStbvtyS.cjs → displacementTrendChart-C4jvpdRY.cjs} +1 -1
  114. package/dist/{displacementTrendChart-C40yhGCg.js → displacementTrendChart-Dii90QjN.js} +18 -18
  115. package/dist/{dxf-BoF0vKri.js → dxf-DAAwQlgQ.js} +2 -2
  116. package/dist/{dxf-CVjZUhtn.cjs → dxf-DsJIwOOJ.cjs} +1 -1
  117. package/dist/{dzc-B4ZvwN_l.js → dzc-BjOYTnIF.js} +5 -5
  118. package/dist/{dzc-Bc9cF-kF.cjs → dzc-CpML7WAZ.cjs} +1 -1
  119. package/dist/{emergencyPlan-DVoHbsNX.cjs → emergencyPlan-DWpGIszu.cjs} +1 -1
  120. package/dist/{emergencyPlan-Bae0pJIK.js → emergencyPlan-DeL1roPL.js} +3 -3
  121. package/dist/{evn-DwzNdVCs.js → evn-CUajXlYc.js} +2 -2
  122. package/dist/{evn-CwVRqTsX.cjs → evn-D0ROeiQD.cjs} +1 -1
  123. package/dist/{evolutionChart-xgWP4gp9.js → evolutionChart-B-2W9qVE.js} +3 -3
  124. package/dist/{evolutionChart-DcYx4Pka.cjs → evolutionChart-D23ALmPJ.cjs} +1 -1
  125. package/dist/{fileViewer-BD81tOyy.js → fileViewer-D6-jyRWy.js} +9 -9
  126. package/dist/{fileViewer-I2uylpjR.cjs → fileViewer-DHDmo6px.cjs} +1 -1
  127. package/dist/{filterBar-Dri4QUIb.cjs → filterBar-Bx0qkR7L.cjs} +1 -1
  128. package/dist/{filterBar-1JX2PNo7.js → filterBar-Cw-wbtF1.js} +2 -2
  129. package/dist/{fireCombustionCurve-B7fBz7l4.cjs → fireCombustionCurve-Dj2o6qcy.cjs} +1 -1
  130. package/dist/{fireCombustionCurve-Bh4mHmWN.js → fireCombustionCurve-wPPE55j_.js} +3 -3
  131. package/dist/{fireFilterBar-C_6JQb5k.js → fireFilterBar-COgdZt2b.js} +2 -2
  132. package/dist/{fireFilterBar-B916WbkV.cjs → fireFilterBar-t-aUk0FZ.cjs} +1 -1
  133. package/dist/{fireHistoryTable-DYbmSsbK.cjs → fireHistoryTable-BgzroLVi.cjs} +1 -1
  134. package/dist/{fireHistoryTable-DG0VPFRM.js → fireHistoryTable-Em_cwZSy.js} +2 -2
  135. package/dist/{gag-BBSJFndH.cjs → gag-C5gOltT8.cjs} +1 -1
  136. package/dist/{gag-BMrGqaQL.js → gag-Dd-osrR9.js} +2 -2
  137. package/dist/{gasStationList-yiSPtQ7o.cjs → gasStationList-CKe02Teb.cjs} +1 -1
  138. package/dist/{gasStationList-CgeVIXbG.js → gasStationList-CepcJ9BG.js} +3 -3
  139. package/dist/{geo3dViewer-DQfOfbvI.cjs → geo3dViewer-CSq4-kE-.cjs} +1 -1
  140. package/dist/{geo3dViewer-C9_rSsKP.js → geo3dViewer-yHqVv2BH.js} +3 -3
  141. package/dist/{glbModel-Dhw1Gtbr.cjs → glbModel-CBM7-1vZ.cjs} +1 -1
  142. package/dist/{glbModel-NldHnOVl.js → glbModel-DFDIJi5z.js} +2 -2
  143. package/dist/{globalObjectSelector-KnFppL_e.js → globalObjectSelector-BoBf_njv.js} +43 -43
  144. package/dist/{globalObjectSelector-BCPaufx_.cjs → globalObjectSelector-BvK0QxXk.cjs} +1 -1
  145. package/dist/{gnssFilterBar-CV4Toj67.cjs → gnssFilterBar-BabiLlIC.cjs} +1 -1
  146. package/dist/{gnssFilterBar-BwKMyUrQ.js → gnssFilterBar-C4Ozsjee.js} +2 -2
  147. package/dist/{gnssHistoryTable-CPf2oH22.cjs → gnssHistoryTable-CEtxui4z.cjs} +1 -1
  148. package/dist/{gnssHistoryTable-C6Wkw7OW.js → gnssHistoryTable-DWICO-OK.js} +2 -2
  149. package/dist/{gnssMapView-CutaT360.cjs → gnssMapView-C5IzKoTF.cjs} +2 -2
  150. package/dist/{gnssMapView-C-eK2r5B.js → gnssMapView-CgLO6fng.js} +4 -4
  151. package/dist/{gnssSectionProfile--g5C-EWx.js → gnssSectionProfile-BFU5_iQa.js} +2 -2
  152. package/dist/{gnssSectionProfile-EuFzJtuh.cjs → gnssSectionProfile-BcS3AU5H.cjs} +1 -1
  153. package/dist/{gnssTimeSeriesChart-NC4tfx2H.cjs → gnssTimeSeriesChart-2AOe01nY.cjs} +1 -1
  154. package/dist/{gnssTimeSeriesChart-CqmMTpuf.js → gnssTimeSeriesChart-Cyc9JVmX.js} +2 -2
  155. package/dist/{gnssXYTrajectory-_O0KOUM2.cjs → gnssXYTrajectory-B3HDdORI.cjs} +1 -1
  156. package/dist/{gnssXYTrajectory-Zpj3HyXr.js → gnssXYTrajectory-DAjqaaOt.js} +2 -2
  157. package/dist/{grd-BaPKVJ4W.js → grd-BdraSTc0.js} +18 -18
  158. package/dist/{grd-TbRuDGQr.cjs → grd-jisN3fY_.cjs} +1 -1
  159. package/dist/{grdIndass-3DrX62Jn.js → grdIndass-BuEWpm2p.js} +5 -5
  160. package/dist/{grdIndass-CKi2RLyZ.cjs → grdIndass-BxJWHgbc.cjs} +1 -1
  161. package/dist/{grg-Cgxf4HNj.js → grg-BiUyteXn.js} +13 -13
  162. package/dist/{grg-CFBuQnL1.cjs → grg-DHDNZzvS.cjs} +1 -1
  163. package/dist/{gridview-BhxlYHGR.cjs → gridview-C2eGcIgv.cjs} +1 -1
  164. package/dist/{gridview-BTGTAbxK.js → gridview-DsDgxIu-.js} +2 -2
  165. package/dist/{groundwaterFilterBar-BVxaSfzM.js → groundwaterFilterBar-CwNVHLoq.js} +2 -2
  166. package/dist/{groundwaterFilterBar-4SAnrU9X.cjs → groundwaterFilterBar-Dwoyvzll.cjs} +1 -1
  167. package/dist/{groundwaterProfileChart-DRv-gvDc.js → groundwaterProfileChart-pYkKSQRV.js} +3 -3
  168. package/dist/{groundwaterProfileChart-DnJvez9z.cjs → groundwaterProfileChart-xVZS96Bs.cjs} +2 -2
  169. package/dist/{groundwaterTimeCurve-8phEW2ri.cjs → groundwaterTimeCurve-CCP0yOcn.cjs} +1 -1
  170. package/dist/{groundwaterTimeCurve-BzBDRU4_.js → groundwaterTimeCurve-CRic1FkR.js} +3 -3
  171. package/dist/{groupCard-DhMy1k9J.cjs → groupCard-9mvfU5Qi.cjs} +1 -1
  172. package/dist/{groupCard-BPkVSNiL.js → groupCard-DyiQzmSU.js} +2 -2
  173. package/dist/{headerBar-BgTO4jul.cjs → headerBar-BnZZrxdl.cjs} +1 -1
  174. package/dist/{headerBar-DB-bjoAe.js → headerBar-CT2WWLFX.js} +2 -2
  175. package/dist/{history-D5cJ-xVg.js → history-CY_TCu9h.js} +18 -18
  176. package/dist/{history-DBDrYQmw.cjs → history-Dm7563t_.cjs} +1 -1
  177. package/dist/{index-C_ms8XdY.js → index-CPTJIw32.js} +1746 -1711
  178. package/dist/{index-DFbNT6Tf.cjs → index-DoEyCVDU.cjs} +10 -10
  179. package/dist/{insarDeformChart-DFF2bMqu.js → insarDeformChart-Bf6Q1Kll.js} +2 -2
  180. package/dist/{insarDeformChart-D_iGk8_3.cjs → insarDeformChart-D7r5dP7T.cjs} +1 -1
  181. package/dist/{insarImageViewer-BKewD3Uo.cjs → insarImageViewer-Cj6ywbUG.cjs} +1 -1
  182. package/dist/{insarImageViewer-B7UgA76F.js → insarImageViewer-CupmlYkz.js} +2 -2
  183. package/dist/{kds-CukCJwVJ.cjs → kds-BXJfeT1L.cjs} +1 -1
  184. package/dist/{kds-CacS9fZ_.js → kds-vKrvUAFM.js} +58 -58
  185. package/dist/{kpiCard-DV13L2GU.js → kpiCard-DxJnC2K1.js} +2 -2
  186. package/dist/{kpiCard-Cnm06jxN.cjs → kpiCard-SXeIckZe.cjs} +1 -1
  187. package/dist/{landslideMap-OIYysiUs.cjs → landslideMap-Byzuh2uI.cjs} +1 -1
  188. package/dist/{landslideMap-BPWu1Ajk.js → landslideMap-g1sW7hGk.js} +3 -3
  189. package/dist/{landslideWarning-K5mjIcfY.cjs → landslideWarning-DBYw20My.cjs} +1 -1
  190. package/dist/{landslideWarning-BjlYD19b.js → landslideWarning-K2gltHjy.js} +19 -19
  191. package/dist/{layerTabs-DTSAS0n2.js → layerTabs-DhKwbCdm.js} +2 -2
  192. package/dist/{layerTabs-D7fMZ0rB.cjs → layerTabs-pQHCSR8d.cjs} +1 -1
  193. package/dist/{leaflet-src-CzptRGB3.cjs → leaflet-src-BNvMLv27.cjs} +1 -1
  194. package/dist/{leaflet-src-BfJff719.js → leaflet-src-CLsvhZ1a.js} +1 -1
  195. package/dist/{lerc-CF_nGsay.cjs → lerc-7GSCiwa9.cjs} +1 -1
  196. package/dist/{lerc-CFhWDnG0.js → lerc-CqUbnv8h.js} +2 -2
  197. package/dist/{lin-CkatVtoy.js → lin-Bq35ycag.js} +6 -6
  198. package/dist/{lin-D0heXXjR.cjs → lin-D0itRkyl.cjs} +1 -1
  199. package/dist/{linIndass-DCv39q33.cjs → linIndass-DWiz2vOV.cjs} +1 -1
  200. package/dist/{linIndass-By83Npy7.js → linIndass-DYq4eFAR.js} +23 -23
  201. package/dist/{lst-BnazAvWe.cjs → lst-DdajeugL.cjs} +1 -1
  202. package/dist/{lst-DwAjJP5h.js → lst-qvTez4v1.js} +2 -2
  203. package/dist/{manualEntry-D3rJV8Lp.js → manualEntry-D33u42uH.js} +2 -2
  204. package/dist/{manualEntry-DuTfyZYG.cjs → manualEntry-s4RAoEru.cjs} +1 -1
  205. package/dist/{mapBackground-CJ6ix48H.js → mapBackground-DM72oEn2.js} +3 -3
  206. package/dist/{mapBackground-Cmhuw3k0.cjs → mapBackground-YtkaIPHY.cjs} +1 -1
  207. package/dist/{mappingList-5Rz-rwrk.cjs → mappingList-Ch1HZwNc.cjs} +1 -1
  208. package/dist/{mappingList-CGrZiJZB.js → mappingList-Dy_UeCUf.js} +4 -4
  209. package/dist/{markdownViewer-Dno96jfr.cjs → markdownViewer-DUjEXMVH.cjs} +1 -1
  210. package/dist/{markdownViewer-7WA9BEdg.js → markdownViewer-ZlwNlmLZ.js} +6 -6
  211. package/dist/{mix-control-modal-DgoayPIU.cjs → mix-control-modal-B3FrB7Jt.cjs} +1 -1
  212. package/dist/{mix-control-modal-Byfb7C-0.js → mix-control-modal-tXOouBPe.js} +8 -8
  213. package/dist/{mixGrid-Bhl9sZNP.cjs → mixGrid-BU9U3aHI.cjs} +1 -1
  214. package/dist/{mixGrid-kCUUwHZr.js → mixGrid-CogLsRzO.js} +2 -2
  215. package/dist/mixdashboards.cjs +1 -1
  216. package/dist/mixdashboards.css +1 -1
  217. package/dist/mixdashboards.js +4 -4
  218. package/dist/{mjpegCamera-B1eioIqH.cjs → mjpegCamera-g6FXbrP3.cjs} +1 -1
  219. package/dist/{mjpegCamera-Dpfu2Xu6.js → mjpegCamera-xUmmLzM-.js} +2 -2
  220. package/dist/{monitorAlert-Dyxl86qu.cjs → monitorAlert-DZd5lJOJ.cjs} +1 -1
  221. package/dist/{monitorAlert-9zu3QFtA.js → monitorAlert-DhE_HvpR.js} +21 -21
  222. package/dist/{monitorData-CNI-qmu9.js → monitorData-BnEkcdiN.js} +8 -8
  223. package/dist/{monitorData-BcilR5l6.cjs → monitorData-CpWVhINV.cjs} +1 -1
  224. package/dist/{monitorSpeedChart-DRfPueFf.js → monitorSpeedChart-CeW-Kk03.js} +1 -1
  225. package/dist/{monitorSpeedChart-CF67tIu3.cjs → monitorSpeedChart-DwsoytUF.cjs} +1 -1
  226. package/dist/{mxa-Bh2bYtVW.cjs → mxa-0DZWI1xK.cjs} +1 -1
  227. package/dist/{mxa-CuLqVCIj.js → mxa-C58deh1I.js} +4 -4
  228. package/dist/{myValue-B50MoOtL.js → myValue-B4ADQTTG.js} +2 -2
  229. package/dist/{myValue-DMJxfT2O.cjs → myValue-DQLm9XLI.cjs} +1 -1
  230. package/dist/{myValueList-BZzwxNxa.cjs → myValueList-DZA9_HEh.cjs} +1 -1
  231. package/dist/{myValueList-B_3_3_pi.js → myValueList-baXd51uR.js} +2 -2
  232. package/dist/{objectList-TMPUnr7O.js → objectList-5m0NKALq.js} +4 -4
  233. package/dist/{objectList-BGh1VKcK.cjs → objectList-BHmAruDg.cjs} +1 -1
  234. package/dist/{objectListAPP-Bc-piPZb.js → objectListAPP-COZlfKyw.js} +3 -3
  235. package/dist/{objectListAPP-30bQNnu8.cjs → objectListAPP-Cs7Wu_86.cjs} +1 -1
  236. package/dist/{percentBar-BprMUT7A.js → percentBar-BV6nG2iK.js} +15 -15
  237. package/dist/{percentBar-D4xt6lAd.cjs → percentBar-CPfJrspp.cjs} +1 -1
  238. package/dist/{photo-zl-fLPWx.cjs → photo-C4739K_A.cjs} +1 -1
  239. package/dist/{photo-DsEC_PV_.js → photo-DK4Z23e3.js} +15 -15
  240. package/dist/{pie-CUxR3v01.js → pie-Lx2zjyZY.js} +2 -2
  241. package/dist/{pie-DWhlbF_v.cjs → pie-kb79hzax.cjs} +1 -1
  242. package/dist/{placeholder-BZFA8p97.cjs → placeholder-CAWJju9d.cjs} +1 -1
  243. package/dist/{placeholder-DqKmmoWY.js → placeholder-Cv_i5j6V.js} +1 -1
  244. package/dist/{pressBtn-DIUaklZ-.cjs → pressBtn-DPp2yGFb.cjs} +1 -1
  245. package/dist/{pressBtn-B2XC73jR.js → pressBtn-DwN7ExMn.js} +7 -7
  246. package/dist/{processTable-DkOH9QSb.js → processTable-DRzy2-fX.js} +2 -2
  247. package/dist/{processTable-BTx3mQeL.cjs → processTable-kGjdZ2SC.cjs} +1 -1
  248. package/dist/{progressBar-xgdal-aW.cjs → progressBar-89gQ5oSf.cjs} +1 -1
  249. package/dist/{progressBar-BLodNQVU.js → progressBar-D5GyaH8h.js} +2 -2
  250. package/dist/{progressCircle-CFUGOwCj.js → progressCircle-C0qoN2X2.js} +2 -2
  251. package/dist/{progressCircle-cTY4gz07.cjs → progressCircle-D6jGTviS.cjs} +1 -1
  252. package/dist/{qrcode-2Hjwjwae.js → qrcode-B7wIdO7u.js} +2 -2
  253. package/dist/{qrcode-DQhhuhb6.cjs → qrcode-DutO28qr.cjs} +1 -1
  254. package/dist/{raceBar-CyXnZF-3.js → raceBar-JrtM5isa.js} +5 -5
  255. package/dist/{raceBar-DcF016MT.cjs → raceBar-Kb4Ok0_0.cjs} +1 -1
  256. package/dist/{rad-B14cTKz2.cjs → rad-BKh0I2W8.cjs} +1 -1
  257. package/dist/{rad-DTJntmoq.js → rad-NhNcdAlO.js} +2 -2
  258. package/dist/{radarMapViewer-TsQZJeIK.js → radarMapViewer-BrGy_wsI.js} +2 -2
  259. package/dist/{radarMapViewer-BUB-m2dW.cjs → radarMapViewer-a-NY9MyR.cjs} +1 -1
  260. package/dist/{rainfallFilterBar-KdmV5zS5.js → rainfallFilterBar-CiVPGG1P.js} +2 -2
  261. package/dist/{rainfallFilterBar-B8up2RIh.cjs → rainfallFilterBar-DlJryHw0.cjs} +1 -1
  262. package/dist/{rainfallTimeCurve-Doj6yOAF.js → rainfallTimeCurve-BwrlePpg.js} +3 -3
  263. package/dist/{rainfallTimeCurve-CiXa2eZ3.cjs → rainfallTimeCurve-cYcKHYUj.cjs} +1 -1
  264. package/dist/{rangeLin-Dpq9Tvnx.cjs → rangeLin-B24wJK2h.cjs} +1 -1
  265. package/dist/{rangeLin-D1CqDmua.js → rangeLin-CPKLO87X.js} +18 -18
  266. package/dist/{realtimeEvolutionMap-DPXP3VM4.cjs → realtimeEvolutionMap-CHQ7-WE1.cjs} +1 -1
  267. package/dist/{realtimeEvolutionMap-Dl7vcNX_.js → realtimeEvolutionMap-ZFozACoZ.js} +2 -2
  268. package/dist/{regionBar-BwpGCKZj.js → regionBar-Cz4GtJuo.js} +2 -2
  269. package/dist/{regionBar-lxLnSNLC.cjs → regionBar-Dgv2JYSM.cjs} +1 -1
  270. package/dist/{request-DTE7aSW-.cjs → request-Dm2cf1Aw.cjs} +1 -1
  271. package/dist/{request-CbeEcJTO.js → request-aXSa-Jdv.js} +24 -24
  272. package/dist/{retainer1-D67S-YCN.js → retainer1-B4KyW6bw.js} +3 -3
  273. package/dist/{retainer1-C9AaH4tJ.cjs → retainer1-B6byWkE5.cjs} +1 -1
  274. package/dist/{retainer2-D8XYk-l4.cjs → retainer2-B06eGTYw.cjs} +1 -1
  275. package/dist/{retainer2-Cbdmf703.js → retainer2-X6vRW_D5.js} +3 -3
  276. package/dist/{retainerRecordList-CQjYV-M3.cjs → retainerRecordList-C8wYAf_v.cjs} +1 -1
  277. package/dist/{retainerRecordList-BpK_6Dnu.js → retainerRecordList-DDZSYpCF.js} +4 -4
  278. package/dist/{retainerRecordListAPP-BFGsCYj8.js → retainerRecordListAPP-B2Lp-jHM.js} +3 -3
  279. package/dist/{retainerRecordListAPP-CN59kp5A.cjs → retainerRecordListAPP-BHu691JS.cjs} +1 -1
  280. package/dist/{ringTopN-BeX_3N1q.cjs → ringTopN-BpJZOE13.cjs} +1 -1
  281. package/dist/{ringTopN-5r3Oe5jp.js → ringTopN-DX7OzPp7.js} +2 -2
  282. package/dist/{riskRegionTable-NiRJaNeQ.js → riskRegionTable-D7blgvMi.js} +2 -2
  283. package/dist/{riskRegionTable-DoSf3hpC.cjs → riskRegionTable-DziKMS_2.cjs} +1 -1
  284. package/dist/{sankey-ByGbWPFb.js → sankey-CmgfktZj.js} +14 -14
  285. package/dist/{sankey-Bnpk9cLQ.cjs → sankey-DjC4IYit.cjs} +1 -1
  286. package/dist/{scd-CnENqnZz.cjs → scd-QV9whYOR.cjs} +1 -1
  287. package/dist/{scd-Cfds38KL.js → scd-zUFKqN8p.js} +2 -2
  288. package/dist/{sideMenu-BPaBkvIX.js → sideMenu-CI23QNpx.js} +2 -2
  289. package/dist/{sideMenu-CXIHqey7.cjs → sideMenu-POQpSa8C.cjs} +1 -1
  290. package/dist/{slopeStability-Dl-cz8Fw.cjs → slopeStability-Da70drIy.cjs} +1 -1
  291. package/dist/{slopeStability-C9Hla3Dk.js → slopeStability-E55huDws.js} +24 -24
  292. package/dist/{speedCurve-kxsxCadk.js → speedCurve-BhhUH79z.js} +2 -2
  293. package/dist/{speedCurve-E6CSZYlW.cjs → speedCurve-DSX1UJeW.cjs} +1 -1
  294. package/dist/{stackedBar-Bh3u04a1.cjs → stackedBar-B0kr6QB7.cjs} +1 -1
  295. package/dist/{stackedBar-agXLBb7l.js → stackedBar-bgd2Ls04.js} +2 -2
  296. package/dist/stationList-BSPTM0iI.cjs +1 -0
  297. package/dist/{stationList-BUGSaLOZ.js → stationList-D7k3Lot6.js} +243 -239
  298. package/dist/{stressFilterBar-DP_KLGts.cjs → stressFilterBar-B3gk67B_.cjs} +1 -1
  299. package/dist/{stressFilterBar-HdY7po9C.js → stressFilterBar-Beupo7Zb.js} +2 -2
  300. package/dist/{stressTimeCurve-B6s5FgJE.cjs → stressTimeCurve-CbhFLXzA.cjs} +1 -1
  301. package/dist/{stressTimeCurve-ItQcQKdH.js → stressTimeCurve-DGBhkdbV.js} +3 -3
  302. package/dist/{swiper-D6TV4ZCd.js → swiper-BEau8Ehu.js} +2 -2
  303. package/dist/{swiper-Buxmd32g.cjs → swiper-UlVDFht8.cjs} +1 -1
  304. package/dist/{tablemanCreate-wybANxe3.cjs → tablemanCreate-CF_D5gYW.cjs} +1 -1
  305. package/dist/{tablemanCreate-CZgA3PsQ.js → tablemanCreate-WnNbHft8.js} +3 -3
  306. package/dist/{tablemanDetail-BRTZJyW5.cjs → tablemanDetail-_SNevfWv.cjs} +1 -1
  307. package/dist/{tablemanDetail-DfWhFk1K.js → tablemanDetail-yz3zQnFP.js} +36 -36
  308. package/dist/{tablemanList-BO_NeJgz.cjs → tablemanList-CDJWp9Pu.cjs} +1 -1
  309. package/dist/{tablemanList-BaOBHZ0V.js → tablemanList-CzcVRDtI.js} +4 -4
  310. package/dist/{tablemanTableList-Dbq82Z-h.js → tablemanTableList-Bm2fU0EX.js} +4 -4
  311. package/dist/{tablemanTableList-sMrfmiA9.cjs → tablemanTableList-DX76_Wzv.cjs} +1 -1
  312. package/dist/{tablemanUpdate-VmkxfpIh.cjs → tablemanUpdate-wdF6NUSW.cjs} +1 -1
  313. package/dist/{tablemanUpdate-KALCUbVd.js → tablemanUpdate-zmDu6tfj.js} +3 -3
  314. package/dist/{terminalConfigList-DjFLDQih.js → terminalConfigList-CCTkfKIn.js} +4 -4
  315. package/dist/{terminalConfigList-BVI2GPl0.cjs → terminalConfigList-Dpktm7uo.cjs} +1 -1
  316. package/dist/{terminalList-DQeF169Z.js → terminalList-DTG1Cd-P.js} +4 -4
  317. package/dist/{terminalList-DuW8drr5.cjs → terminalList-DlnAYr5c.cjs} +1 -1
  318. package/dist/{terminalListAPP-Brlll6Fx.js → terminalListAPP-BXX0YEmN.js} +3 -3
  319. package/dist/{terminalListAPP-D1ZHyTf5.cjs → terminalListAPP-DcG5Iu89.cjs} +1 -1
  320. package/dist/{textbox-DDpkVlaw.cjs → textbox-C5DmbaFz.cjs} +1 -1
  321. package/dist/{textbox-mnxb35mH.js → textbox-DyFcEXBF.js} +2 -2
  322. package/dist/{timeQueryBar-EKkIhz9m.js → timeQueryBar-BbWq3QkA.js} +1 -1
  323. package/dist/{timeQueryBar-BQD19vDp.cjs → timeQueryBar-OqKVqlTl.cjs} +1 -1
  324. package/dist/{timeSeries-CDjeGZKo.cjs → timeSeries-BDp-gfRT.cjs} +1 -1
  325. package/dist/{timeSeries-Bk2N1A6L.js → timeSeries-D_-6XcY8.js} +13 -13
  326. package/dist/{timeSeriesCurve-BRrpaqU8.js → timeSeriesCurve-DgSGvMqB.js} +3 -3
  327. package/dist/{timeSeriesCurve-CA5W-Oir.cjs → timeSeriesCurve-KPYndFEq.cjs} +1 -1
  328. package/dist/{toggleBtn-WYU3IUc8.js → toggleBtn-D0JJAMZR.js} +2 -2
  329. package/dist/{toggleBtn-CGYR01jI.cjs → toggleBtn-DtS2UoB4.cjs} +1 -1
  330. package/dist/{trajectoryConfigPanel-y4bXsrXJ.cjs → trajectoryConfigPanel-Bth1LMLN.cjs} +1 -1
  331. package/dist/{trajectoryConfigPanel-BdTmJQzP.js → trajectoryConfigPanel-DxBIMfEx.js} +1 -1
  332. package/dist/{trajectoryScatter-Clb_fUfI.js → trajectoryScatter-DqgFAVSz.js} +42 -42
  333. package/dist/{trajectoryScatter-CQik1fcT.cjs → trajectoryScatter-GkbJne40.cjs} +1 -1
  334. package/dist/{universalConfigPanel-B5k_qOEq.js → universalConfigPanel-BjyXE23U.js} +1 -1
  335. package/dist/{universalConfigPanel-Dfbc5SvD.cjs → universalConfigPanel-C4Teu_Op.cjs} +1 -1
  336. package/dist/{universalTable-DoiFrrZH.js → universalTable-BVwrJKq8.js} +2 -2
  337. package/dist/{universalTable-CcQq8qmA.cjs → universalTable-D_rkyBG2.cjs} +1 -1
  338. package/dist/{useMixiotPanelPopperClass-BAb3JPdj.js → useMixiotPanelPopperClass-C6Y6iPSp.js} +3 -3
  339. package/dist/{useMixiotPanelPopperClass-B0l54_PF.cjs → useMixiotPanelPopperClass-DmA-0R1V.cjs} +1 -1
  340. package/dist/{useTablemanApi-D4G6rvXH.cjs → useTablemanApi-Big2Hfsi.cjs} +1 -1
  341. package/dist/{useTablemanApi-BXR_OKzO.js → useTablemanApi-CJh5jpVJ.js} +1 -1
  342. package/dist/{useTablemanFormPanel-JcWza2YJ.js → useTablemanFormPanel-CvrN_jY3.js} +2 -2
  343. package/dist/{useTablemanFormPanel-DTcITWwz.cjs → useTablemanFormPanel-prjUDI9m.cjs} +1 -1
  344. package/dist/{useTablemanListActions-COZ3zBoW.cjs → useTablemanListActions-B9SrCZRt.cjs} +1 -1
  345. package/dist/{useTablemanListActions-BUFJCLAW.js → useTablemanListActions-DVQL1pwu.js} +5 -5
  346. package/dist/{video-DylR59_l.cjs → video-CdMEjVoF.cjs} +1 -1
  347. package/dist/{video-CtiQVOnv.js → video-DDHDy4Eq.js} +2 -2
  348. package/dist/{videoMonitor-tBmgk3mm.cjs → videoMonitor-BZcjaMPX.cjs} +1 -1
  349. package/dist/{videoMonitor-8rqFRzST.js → videoMonitor-JQ4tj-qi.js} +11 -11
  350. package/dist/{vlu-B93iwAL3.cjs → vlu-39EqfkCs.cjs} +1 -1
  351. package/dist/{vlu-Bvbgox5l.js → vlu-Bmqrgnj8.js} +2 -2
  352. package/dist/{warningOverview-Drd9VneD.js → warningOverview-Ctab9k92.js} +3 -3
  353. package/dist/{warningOverview-igfNPVvg.cjs → warningOverview-DOsI-iKt.cjs} +1 -1
  354. package/dist/{weather-BVB786-I.cjs → weather-BfV-w4FG.cjs} +1 -1
  355. package/dist/{weather-Db_sZvLk.js → weather-BwTT4bPM.js} +2 -2
  356. package/dist/{windLin-D09MKfNK.cjs → windLin-Dfz6aBio.cjs} +1 -1
  357. package/dist/{windLin-M0ehkFjJ.js → windLin-DgZctBal.js} +2 -2
  358. package/package.json +1 -1
  359. package/dist/stationList-CnwkdvHq.cjs +0 -1
@@ -1,12 +1,12 @@
1
1
  var de = Object.defineProperty, he = Object.defineProperties;
2
2
  var fe = Object.getOwnPropertyDescriptors;
3
- var J = Object.getOwnPropertySymbols, ve = Object.getPrototypeOf, ye = Object.prototype.hasOwnProperty, ge = Object.prototype.propertyIsEnumerable, be = Reflect.get;
4
- var K = (_, v, g) => v in _ ? de(_, v, { enumerable: !0, configurable: !0, writable: !0, value: g }) : _[v] = g, k = (_, v) => {
3
+ var K = Object.getOwnPropertySymbols, ve = Object.getPrototypeOf, ye = Object.prototype.hasOwnProperty, ge = Object.prototype.propertyIsEnumerable, be = Reflect.get;
4
+ var Q = (_, v, g) => v in _ ? de(_, v, { enumerable: !0, configurable: !0, writable: !0, value: g }) : _[v] = g, k = (_, v) => {
5
5
  for (var g in v || (v = {}))
6
- ye.call(v, g) && K(_, g, v[g]);
7
- if (J)
8
- for (var g of J(v))
9
- ge.call(v, g) && K(_, g, v[g]);
6
+ ye.call(v, g) && Q(_, g, v[g]);
7
+ if (K)
8
+ for (var g of K(v))
9
+ ge.call(v, g) && Q(_, g, v[g]);
10
10
  return _;
11
11
  }, P = (_, v) => he(_, fe(v));
12
12
  var ee = (_, v, g) => be(ve(_), g, v);
@@ -32,22 +32,22 @@ import "element-plus/es/components/button/style/css";
32
32
  import "element-plus/es/components/icon/style/css";
33
33
  import "element-plus/es/components/select/style/css";
34
34
  import "element-plus/es/components/option/style/css";
35
- import { defineComponent as _e, inject as Ee, ref as A, computed as Oe, watch as W, nextTick as q, onMounted as je, onUnmounted as we, openBlock as Y, createElementBlock as ae, normalizeStyle as ne, createElementVNode as N, toDisplayString as Ne, unref as $, createVNode as H, withCtx as Q, Fragment as Ae, renderList as ke, createBlock as Me, createTextVNode as Ve, renderSlot as Le } from "vue";
35
+ import { defineComponent as _e, inject as Ee, ref as A, computed as Oe, watch as W, nextTick as q, onMounted as je, onUnmounted as we, openBlock as Z, createElementBlock as ae, normalizeStyle as ne, createElementVNode as N, toDisplayString as Ne, unref as $, createVNode as H, withCtx as J, Fragment as Ae, renderList as ke, createBlock as Me, createTextVNode as Ve, renderSlot as Le } from "vue";
36
36
  import { Download as Te } from "@element-plus/icons-vue";
37
37
  import "html2canvas";
38
- import { Q as Ie, I as ze, Y as Re, d as B, _ as Fe } from "./index-C_ms8XdY.js";
38
+ import { R as Ie, J as ze, Z as Re, d as B, _ as Fe } from "./index-CPTJIw32.js";
39
39
  import "element-plus";
40
- import { E as Ue } from "./EChartComponentBase-B5seB4Mc.js";
41
- import { formatRequest as Pe } from "./request-CbeEcJTO.js";
40
+ import { E as Ue } from "./EChartComponentBase-skupRYzl.js";
41
+ import { formatRequest as Pe } from "./request-aXSa-Jdv.js";
42
42
  import { A as $e, D as He } from "./ele-lin-icon-Dax-ZiWV.js";
43
- const Be = { class: "panel-header" }, Ge = { class: "header-left" }, We = { class: "header-title" }, qe = { class: "chart-area" }, Ye = { class: "toolbar" }, Qe = ["id"], Xe = {
43
+ const Be = { class: "panel-header" }, Ge = { class: "header-left" }, We = { class: "header-title" }, qe = { class: "chart-area" }, Ze = { class: "toolbar" }, Je = ["id"], Xe = {
44
44
  DEFAULT_ICON: He,
45
45
  ACTIVE_ICON: $e,
46
46
  NAME_CN: "深部位移图表",
47
47
  NAME_EN: "Deep Displacement Chart",
48
48
  ORDER: 1,
49
49
  PLATFORM: ["pc", "screen"]
50
- }, Ze = {
50
+ }, Ye = {
51
51
  title: { value: "深部位移图表", type: "string", label: "component.deepDisplacementChart.title" },
52
52
  dispType: {
53
53
  value: "cumulative",
@@ -85,7 +85,7 @@ const Be = { class: "panel-header" }, Ge = { class: "header-left" }, We = { clas
85
85
  label: "component.customChannel",
86
86
  showWhen: { linkChannel: "custom" }
87
87
  }
88
- }, Je = [
88
+ }, Ke = [
89
89
  {
90
90
  name: "X位移",
91
91
  fvPrefix: "x",
@@ -116,7 +116,7 @@ const Be = { class: "panel-header" }, Ge = { class: "header-left" }, We = { clas
116
116
  color: "#7ed321",
117
117
  object_id: ""
118
118
  }
119
- ], Ke = ["name", "fv", "fvPrefix", "separator", "minDepth", "maxDepth", "step", "color", "object_id"], et = ["mosaic", "statistics", "calculate", "statisticsRealtime", "calculateRealtime"], tt = { useAlias: !1, multiObject: !0, source: "mosaic" }, at = { DEFAULT: Xe, OPTIONS: Ze, DATA: Je, PARAMS: Ke, SOURCE: et, COMMON: tt }, nt = /* @__PURE__ */ _e(P(k({}, at), {
119
+ ], Qe = ["name", "fv", "fvPrefix", "separator", "minDepth", "maxDepth", "step", "color", "object_id"], et = ["mosaic", "statistics", "calculate", "statisticsRealtime", "calculateRealtime"], tt = { useAlias: !1, multiObject: !0, source: "mosaic" }, at = { DEFAULT: Xe, OPTIONS: Ye, DATA: Ke, PARAMS: Qe, SOURCE: et, COMMON: tt }, nt = /* @__PURE__ */ _e(P(k({}, at), {
120
120
  __name: "deepDisplacementChart",
121
121
  props: {
122
122
  conf: { type: Object, default: () => ({ data: [] }) },
@@ -211,8 +211,8 @@ const Be = { class: "panel-header" }, Ge = { class: "header-left" }, We = { clas
211
211
  return S.forEach((x, D) => {
212
212
  const w = x && typeof x == "object" ? k({}, x) : {};
213
213
  r.forEach((R) => {
214
- var X, Z;
215
- const F = (X = m[R]) == null ? void 0 : X[D], U = (Z = t[R]) == null ? void 0 : Z.fv;
214
+ var X, Y;
215
+ const F = (X = m[R]) == null ? void 0 : X[D], U = (Y = t[R]) == null ? void 0 : Y.fv;
216
216
  U && F && typeof F == "object" && Object.prototype.hasOwnProperty.call(F, U) && (w[U] = F[U]);
217
217
  }), E.push(w);
218
218
  }), E;
@@ -572,7 +572,7 @@ const Be = { class: "panel-header" }, Ge = { class: "header-left" }, We = { clas
572
572
  C.cleanup();
573
573
  }), (c, e) => {
574
574
  const t = xe, l = De, s = Se, a = Ce;
575
- return Y(), ae("div", {
575
+ return Z(), ae("div", {
576
576
  class: "deep-displacement-chart-wrapper",
577
577
  style: ne(ce.value)
578
578
  }, [
@@ -583,7 +583,7 @@ const Be = { class: "panel-header" }, Ge = { class: "header-left" }, We = { clas
583
583
  ])
584
584
  ]),
585
585
  N("div", qe, [
586
- N("div", Ye, [
586
+ N("div", Ze, [
587
587
  H(l, {
588
588
  modelValue: b.value,
589
589
  "onUpdate:modelValue": e[0] || (e[0] = (i) => b.value = i),
@@ -592,8 +592,8 @@ const Be = { class: "panel-header" }, Ge = { class: "header-left" }, We = { clas
592
592
  class: "time-select",
593
593
  onChange: ie
594
594
  }, {
595
- default: Q(() => [
596
- (Y(!0), ae(Ae, null, ke(y.value, (i) => (Y(), Me(t, {
595
+ default: J(() => [
596
+ (Z(!0), ae(Ae, null, ke(y.value, (i) => (Z(), Me(t, {
597
597
  key: i,
598
598
  label: i,
599
599
  value: i
@@ -606,9 +606,9 @@ const Be = { class: "panel-header" }, Ge = { class: "header-left" }, We = { clas
606
606
  class: "export-btn",
607
607
  onClick: oe
608
608
  }, {
609
- default: Q(() => [
609
+ default: J(() => [
610
610
  H(s, null, {
611
- default: Q(() => [
611
+ default: J(() => [
612
612
  H($(Te))
613
613
  ]),
614
614
  _: 1
@@ -623,7 +623,7 @@ const Be = { class: "panel-header" }, Ge = { class: "header-left" }, We = { clas
623
623
  class: "chart-container",
624
624
  style: ne({ cursor: $(j).jumpUrl ? "pointer" : "default" }),
625
625
  onClick: pe
626
- }, null, 12, Qe)
626
+ }, null, 12, Je)
627
627
  ]),
628
628
  Le(c.$slots, "default", {}, void 0, !0)
629
629
  ], 4);
@@ -1,4 +1,4 @@
1
- "use strict";var ie=Object.defineProperty,oe=Object.defineProperties;var re=Object.getOwnPropertyDescriptors;var G=Object.getOwnPropertySymbols,ce=Object.getPrototypeOf,ue=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,de=Reflect.get;var W=(_,y,b)=>y in _?ie(_,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):_[y]=b,A=(_,y)=>{for(var b in y||(y={}))ue.call(y,b)&&W(_,b,y[b]);if(G)for(var b of G(y))pe.call(y,b)&&W(_,b,y[b]);return _},U=(_,y)=>oe(_,re(y));var X=(_,y,b)=>de(ce(_),b,y);var Y=(_,y,b)=>new Promise((S,j)=>{var B=g=>{try{x(b.next(g))}catch(N){j(N)}},V=g=>{try{x(b.throw(g))}catch(N){j(N)}},x=g=>g.done?S(g.value):Promise.resolve(g.value).then(B,V);x((b=b.apply(_,y)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=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/icon/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");const l=require("vue"),he=require("@element-plus/icons-vue");require("html2canvas");const k=require("./index-DFbNT6Tf.cjs");require("element-plus");const me=require("./EChartComponentBase-DzP0_KR9.cjs"),fe=require("./request-DTE7aSW-.cjs"),Z=require("./ele-lin-icon-Dke_1AmT.cjs"),ve={class:"panel-header"},ye={class:"header-left"},ge={class:"header-title"},be={class:"chart-area"},xe={class:"toolbar"},De=["id"],Ce={DEFAULT_ICON:Z.DEFAULT_ICON,ACTIVE_ICON:Z.ACTIVE_ICON,NAME_CN:"深部位移图表",NAME_EN:"Deep Displacement Chart",ORDER:1,PLATFORM:["pc","screen"]},Se={title:{value:"深部位移图表",type:"string",label:"component.deepDisplacementChart.title"},dispType:{value:"cumulative",type:"select",label:"component.deepDisplacementChart.dispType",options:[{label:"component.deepDisplacementChart.dispTypeOptions.cumulative",value:"cumulative"},{label:"component.deepDisplacementChart.dispTypeOptions.relative",value:"relative"}]},bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},xAxisName:{value:"位移量(mm)",type:"string",label:"component.deepDisplacementChart.xAxisName"},yAxisLeftName:{value:"深度(m)",type:"string",label:"component.deepDisplacementChart.yAxisLeftName"},yAxisRightName:{value:"高程(m)",type:"string",label:"component.deepDisplacementChart.yAxisRightName"},baseElevation:{value:688,type:"number",label:"基准高程(m)"},jumpUrl:{value:"",type:"string",label:"component.deepDisplacementChart.jumpUrl"},linkChannel:{value:"deepDisplacement",type:"select",label:"component.linkChannel",options:[{label:"component.linkChannelOptions.deepDisplacement",value:"deepDisplacement"},{label:"component.linkChannelOptions.gnss",value:"gnss"},{label:"component.linkChannelOptions.slope",value:"slope"},{label:"component.linkChannelOptions.device",value:"device"},{label:"component.linkChannelOptions.alarm",value:"alarm"},{label:"component.linkChannelOptions.custom",value:"custom"}]},customChannel:{value:"",type:"string",label:"component.customChannel",showWhen:{linkChannel:"custom"}}},Ee=[{name:"X位移",fvPrefix:"x",separator:"_",minDepth:0,maxDepth:200,step:1,color:"#4a90d9",object_id:""},{name:"Y位移",fvPrefix:"y",separator:"_",minDepth:0,maxDepth:200,step:1,color:"#f5a623",object_id:""},{name:"Z位移",fvPrefix:"z",separator:"_",minDepth:0,maxDepth:200,step:1,color:"#7ed321",object_id:""}],_e=["name","fv","fvPrefix","separator","minDepth","maxDepth","step","color","object_id"],Oe=["mosaic","statistics","calculate","statisticsRealtime","calculateRealtime"],Ne={useAlias:!1,multiObject:!0,source:"mosaic"},je={DEFAULT:Ce,OPTIONS:Se,DATA:Ee,PARAMS:_e,SOURCE:Oe,COMMON:Ne},we=l.defineComponent(U(A({},je),{__name:"deepDisplacementChart",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(_){const y=_;class b extends me.EChartComponentBase{constructor(){super(...arguments),this.currentObjectId="",this.chartData=new Map,this.timeSeriesData=new Map,this.latestValues=new Map}getRecordValue(e,t){return e&&Object.prototype.hasOwnProperty.call(e,t)?e[t]:e!=null&&e.event?this.extractDataValue(e,t):e==null?void 0:e[t]}getDepthValue(e){const t=Number(e);return Number.isFinite(t)?t:null}extractStyles(){var a,o,p,m,f,h,n,d,r,c,v;const{options:e}=this.props.conf,t=((a=e==null?void 0:e.linkChannel)==null?void 0:a.value)||"deepDisplacement",i=((o=e==null?void 0:e.customChannel)==null?void 0:o.value)||"",s=t==="custom"&&i?i:t;return{title:((p=e==null?void 0:e.title)==null?void 0:p.value)||"深部位移图表",dispType:((m=e==null?void 0:e.dispType)==null?void 0:m.value)||"cumulative",bgColor:((f=e==null?void 0:e.bgColor)==null?void 0:f.value)||"#ffffff",textColor:((h=e==null?void 0:e.textColor)==null?void 0:h.value)||"#333333",xAxisName:((n=e==null?void 0:e.xAxisName)==null?void 0:n.value)||"位移量(mm)",yAxisLeftName:((d=e==null?void 0:e.yAxisLeftName)==null?void 0:d.value)||"深度(m)",yAxisRightName:((r=e==null?void 0:e.yAxisRightName)==null?void 0:r.value)||"高程(m)",baseElevation:((c=e==null?void 0:e.baseElevation)==null?void 0:c.value)||688,jumpUrl:((v=e==null?void 0:e.jumpUrl)==null?void 0:v.value)||"",linkChannel:s}}getDefaultData(){return[{name:"合位移",fv:"disp_130",depth:-130,color:"#4a90d9",object_id:""},{name:"合位移",fv:"disp_140",depth:-140,color:"#4a90d9",object_id:""}]}initHistory(){return Y(this,null,function*(){const e=this.props.conf;if(!e)return[];e.options||(e.options={});const t=e.options.points,i=Object.prototype.hasOwnProperty.call(e.options,"points");(!t||Number(t)<24)&&(e.options.points=24);try{return yield X(b.prototype,this,"initHistory").call(this)}finally{i?e.options.points=t:delete e.options.points}})}setHistoryData(e){var o,p,m;const{data:t,common:i}=this.props.conf;if(!t||t.length===0)return;const s=(i==null?void 0:i.source)||"mosaic";["statistics","calculate"].includes(s)&&(e=k.formatStatisticsResult(e,t));const a=k.handleNullData(e,this.props,"history");if(a){console.log("[DeepDisplacementChart] history raw sample:",((p=(o=a.history)==null?void 0:o[0])==null?void 0:p[0])||((m=a.history)==null?void 0:m[0])||a.history);try{if(this.chartData.clear(),this.timeSeriesData.clear(),g.value=[],N.value=[],!a.history||!Array.isArray(a.history))return;const f=[...new Set(t.map(r=>{var c;return String((c=r.object_id)!=null?c:"")}))],h=Array.isArray(a.history)?a.history:[],n=r=>{const c=t.map((C,D)=>D).filter(C=>{var D,w;return String((w=(D=t[C])==null?void 0:D.object_id)!=null?w:"")===r});if(!c.length)return[];const v=c[0],E=Array.isArray(h[v])?h[v]:[],O=[];return E.forEach((C,D)=>{const w=C&&typeof C=="object"?A({},C):{};c.forEach(R=>{var $,H;const q=($=h[R])==null?void 0:$[D],F=(H=t[R])==null?void 0:H.fv;F&&q&&typeof q=="object"&&Object.prototype.hasOwnProperty.call(q,F)&&(w[F]=q[F])}),O.push(w)}),O},d=f.map(r=>n(r));if(this.processMultiObjectHistory(d,t,f),T(),!x.value&&g.value.length&&(x.value=g.value[g.value.length-1]),console.log("[DeepDisplacementChart] 选中时间:",x.value),console.log("[DeepDisplacementChart] timeSeriesData 中的时间点:",Array.from(this.timeSeriesData.keys())),x.value&&this.timeSeriesData.has(x.value)){const r=this.timeSeriesData.get(x.value);console.log("[DeepDisplacementChart] 选中时间的数据,线:",Array.from((r==null?void 0:r.keys())||[])),this.chartData=new Map(r||new Map)}console.log("[DeepDisplacementChart] 最终 chartData 中的线:",Array.from(this.chartData.keys())),I.value++}catch(f){console.error("[DeepDisplacementChart] 解析历史数据失败:",f)}}}processHistoryRecords(e,t){e.forEach(i=>{var o;const s=(o=i==null?void 0:i.time)!=null?o:i==null?void 0:i.datetime;if(!s)return;const a=new Map;if(t.forEach(p=>{const m=p.fv,f=p.depth,h=p.name||"未命名",n=this.getRecordValue(i,m),d=Number(n);if(n!=null&&Number.isFinite(f)){const c=(this.extractStyles().baseElevation||688)+f;a.has(h)||a.set(h,[]),a.get(h).push({depth:f,elevation:c,value:Number.isFinite(d)?d:0})}}),a.size>0){const p=new Map;a.forEach((m,f)=>{m.sort((h,n)=>n.depth-h.depth),p.set(f,m)}),this.timeSeriesData.set(String(s),p),L(s)}})}processMultiObjectHistory(e,t,i){const s=e[0]||[];s.length&&s.forEach((a,o)=>{var f;const p=(f=a==null?void 0:a.time)!=null?f:a==null?void 0:a.datetime;if(!p)return;const m=new Map;if(t.forEach(h=>{const n=h.fv,d=h.depth,r=h.name||"未命名",c=h.object_id,v=i.indexOf(c);if(v===-1||!e[v])return;const E=e[v];if(!E[o])return;const O=E[o],C=this.getRecordValue(O,n),D=Number(C);if(C!=null&&Number.isFinite(d)){const R=(this.extractStyles().baseElevation||688)+d;m.has(r)||m.set(r,[]),m.get(r).push({depth:d,elevation:R,value:D})}}),m.size>0){const h=new Map;m.forEach((n,d)=>{n.sort((r,c)=>c.depth-r.depth),h.set(d,n)}),this.timeSeriesData.set(String(p),h),L(p)}})}setSocketData(e){var i,s;if(!e)return;const{data:t}=this.props.conf;if(!(!t||t.length===0))try{const a=(s=(i=e==null?void 0:e.time)!=null?i:e==null?void 0:e.datetime)!=null?s:Date.now(),o=new Map;console.log("[DeepDisplacementChart] realtime raw:",e),t.forEach(m=>{const f=m.fv,h=this.getDepthValue(m.depth),n=m.name||"未命名",d=this.extractDataValue(e,f);console.log("[DeepDisplacementChart] realtime fv:",f,"rawValue:",d),d!=null&&Number.isFinite(Number(d))&&this.latestValues.set(f,Number(d));const r=this.latestValues.get(f);if(r!==void 0&&h!==null){const v=(this.extractStyles().baseElevation||688)+h;o.has(n)||o.set(n,[]),o.get(n).push({depth:h,elevation:v,value:r})}});const p=new Map;o.forEach((m,f)=>{m.sort((h,n)=>n.depth-h.depth),p.set(f,m)}),p.size>0&&(console.log("[DeepDisplacementChart] realtime series keys:",Array.from(p.keys())),console.log("[DeepDisplacementChart] realtime series data:",Array.from(p.entries())),this.timeSeriesData.set(String(a),p),L(a),this.chartData=p,I.value++)}catch(a){console.error("[DeepDisplacementChart] 解析实时数据失败:",a)}}setCurrentObjectId(e){this.currentObjectId=e}getCurrentObjectId(){return this.currentObjectId}getChartOption(){var r;const e=this.extractStyles(),t=((r=this.props.conf)==null?void 0:r.data)||[],i=x.value;i&&this.timeSeriesData.has(i)&&(this.chartData=new Map(this.timeSeriesData.get(i)||new Map));const s=[];let a=[],o=[];this.chartData.forEach((c,v)=>{if(c.length===0)return;c.forEach(D=>{D.depth!==void 0&&a.push(D.depth),D.elevation!==void 0&&o.push(D.elevation)});const E=[...c].sort((D,w)=>(w.depth||0)-(D.depth||0)),O=t.find(D=>D.name===v),C=(O==null?void 0:O.color)||"#4a90d9";s.push({name:v,type:"line",data:E.map(D=>[D.value||0,D.depth||0]),smooth:!0,symbol:"circle",symbolSize:6,lineStyle:{color:C,width:2},itemStyle:{color:C,borderColor:"#fff",borderWidth:2},yAxisIndex:0})}),s.length===0&&this.getMockData().forEach(v=>{s.push({name:v.name,type:"line",data:v.data,smooth:!0,symbol:"circle",symbolSize:6,lineStyle:{color:v.color,width:2},itemStyle:{color:v.color,borderColor:"#fff",borderWidth:2},yAxisIndex:0}),v.data.forEach(E=>a.push(E[1]))});const p=a.length>0?Math.min(...a):-80,m=a.length>0?Math.max(...a):0,f=o.length>0?Math.min(...o):810,h=o.length>0?Math.max(...o):890,n=h||890,d=c=>n+c;return{grid:{left:80,right:80,top:36,bottom:88},tooltip:{trigger:"axis",backgroundColor:"rgba(255,255,255,0.95)",borderColor:"#e5e5e5",textStyle:{color:"#333",fontSize:12},formatter:c=>{if(!c||c.length===0)return"";const v=c[0].data[1],E=d(v);let O=`<div style="padding:8px;max-width:300px;">
1
+ "use strict";var ie=Object.defineProperty,oe=Object.defineProperties;var re=Object.getOwnPropertyDescriptors;var G=Object.getOwnPropertySymbols,ce=Object.getPrototypeOf,ue=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,de=Reflect.get;var W=(_,y,b)=>y in _?ie(_,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):_[y]=b,A=(_,y)=>{for(var b in y||(y={}))ue.call(y,b)&&W(_,b,y[b]);if(G)for(var b of G(y))pe.call(y,b)&&W(_,b,y[b]);return _},U=(_,y)=>oe(_,re(y));var X=(_,y,b)=>de(ce(_),b,y);var Y=(_,y,b)=>new Promise((S,j)=>{var B=g=>{try{x(b.next(g))}catch(N){j(N)}},V=g=>{try{x(b.throw(g))}catch(N){j(N)}},x=g=>g.done?S(g.value):Promise.resolve(g.value).then(B,V);x((b=b.apply(_,y)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=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/icon/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");const l=require("vue"),he=require("@element-plus/icons-vue");require("html2canvas");const k=require("./index-DoEyCVDU.cjs");require("element-plus");const me=require("./EChartComponentBase-8GSbyY5P.cjs"),fe=require("./request-Dm2cf1Aw.cjs"),Z=require("./ele-lin-icon-Dke_1AmT.cjs"),ve={class:"panel-header"},ye={class:"header-left"},ge={class:"header-title"},be={class:"chart-area"},xe={class:"toolbar"},De=["id"],Ce={DEFAULT_ICON:Z.DEFAULT_ICON,ACTIVE_ICON:Z.ACTIVE_ICON,NAME_CN:"深部位移图表",NAME_EN:"Deep Displacement Chart",ORDER:1,PLATFORM:["pc","screen"]},Se={title:{value:"深部位移图表",type:"string",label:"component.deepDisplacementChart.title"},dispType:{value:"cumulative",type:"select",label:"component.deepDisplacementChart.dispType",options:[{label:"component.deepDisplacementChart.dispTypeOptions.cumulative",value:"cumulative"},{label:"component.deepDisplacementChart.dispTypeOptions.relative",value:"relative"}]},bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},xAxisName:{value:"位移量(mm)",type:"string",label:"component.deepDisplacementChart.xAxisName"},yAxisLeftName:{value:"深度(m)",type:"string",label:"component.deepDisplacementChart.yAxisLeftName"},yAxisRightName:{value:"高程(m)",type:"string",label:"component.deepDisplacementChart.yAxisRightName"},baseElevation:{value:688,type:"number",label:"基准高程(m)"},jumpUrl:{value:"",type:"string",label:"component.deepDisplacementChart.jumpUrl"},linkChannel:{value:"deepDisplacement",type:"select",label:"component.linkChannel",options:[{label:"component.linkChannelOptions.deepDisplacement",value:"deepDisplacement"},{label:"component.linkChannelOptions.gnss",value:"gnss"},{label:"component.linkChannelOptions.slope",value:"slope"},{label:"component.linkChannelOptions.device",value:"device"},{label:"component.linkChannelOptions.alarm",value:"alarm"},{label:"component.linkChannelOptions.custom",value:"custom"}]},customChannel:{value:"",type:"string",label:"component.customChannel",showWhen:{linkChannel:"custom"}}},Ee=[{name:"X位移",fvPrefix:"x",separator:"_",minDepth:0,maxDepth:200,step:1,color:"#4a90d9",object_id:""},{name:"Y位移",fvPrefix:"y",separator:"_",minDepth:0,maxDepth:200,step:1,color:"#f5a623",object_id:""},{name:"Z位移",fvPrefix:"z",separator:"_",minDepth:0,maxDepth:200,step:1,color:"#7ed321",object_id:""}],_e=["name","fv","fvPrefix","separator","minDepth","maxDepth","step","color","object_id"],Oe=["mosaic","statistics","calculate","statisticsRealtime","calculateRealtime"],Ne={useAlias:!1,multiObject:!0,source:"mosaic"},je={DEFAULT:Ce,OPTIONS:Se,DATA:Ee,PARAMS:_e,SOURCE:Oe,COMMON:Ne},we=l.defineComponent(U(A({},je),{__name:"deepDisplacementChart",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(_){const y=_;class b extends me.EChartComponentBase{constructor(){super(...arguments),this.currentObjectId="",this.chartData=new Map,this.timeSeriesData=new Map,this.latestValues=new Map}getRecordValue(e,t){return e&&Object.prototype.hasOwnProperty.call(e,t)?e[t]:e!=null&&e.event?this.extractDataValue(e,t):e==null?void 0:e[t]}getDepthValue(e){const t=Number(e);return Number.isFinite(t)?t:null}extractStyles(){var a,o,p,m,f,h,n,d,r,c,v;const{options:e}=this.props.conf,t=((a=e==null?void 0:e.linkChannel)==null?void 0:a.value)||"deepDisplacement",i=((o=e==null?void 0:e.customChannel)==null?void 0:o.value)||"",s=t==="custom"&&i?i:t;return{title:((p=e==null?void 0:e.title)==null?void 0:p.value)||"深部位移图表",dispType:((m=e==null?void 0:e.dispType)==null?void 0:m.value)||"cumulative",bgColor:((f=e==null?void 0:e.bgColor)==null?void 0:f.value)||"#ffffff",textColor:((h=e==null?void 0:e.textColor)==null?void 0:h.value)||"#333333",xAxisName:((n=e==null?void 0:e.xAxisName)==null?void 0:n.value)||"位移量(mm)",yAxisLeftName:((d=e==null?void 0:e.yAxisLeftName)==null?void 0:d.value)||"深度(m)",yAxisRightName:((r=e==null?void 0:e.yAxisRightName)==null?void 0:r.value)||"高程(m)",baseElevation:((c=e==null?void 0:e.baseElevation)==null?void 0:c.value)||688,jumpUrl:((v=e==null?void 0:e.jumpUrl)==null?void 0:v.value)||"",linkChannel:s}}getDefaultData(){return[{name:"合位移",fv:"disp_130",depth:-130,color:"#4a90d9",object_id:""},{name:"合位移",fv:"disp_140",depth:-140,color:"#4a90d9",object_id:""}]}initHistory(){return Y(this,null,function*(){const e=this.props.conf;if(!e)return[];e.options||(e.options={});const t=e.options.points,i=Object.prototype.hasOwnProperty.call(e.options,"points");(!t||Number(t)<24)&&(e.options.points=24);try{return yield X(b.prototype,this,"initHistory").call(this)}finally{i?e.options.points=t:delete e.options.points}})}setHistoryData(e){var o,p,m;const{data:t,common:i}=this.props.conf;if(!t||t.length===0)return;const s=(i==null?void 0:i.source)||"mosaic";["statistics","calculate"].includes(s)&&(e=k.formatStatisticsResult(e,t));const a=k.handleNullData(e,this.props,"history");if(a){console.log("[DeepDisplacementChart] history raw sample:",((p=(o=a.history)==null?void 0:o[0])==null?void 0:p[0])||((m=a.history)==null?void 0:m[0])||a.history);try{if(this.chartData.clear(),this.timeSeriesData.clear(),g.value=[],N.value=[],!a.history||!Array.isArray(a.history))return;const f=[...new Set(t.map(r=>{var c;return String((c=r.object_id)!=null?c:"")}))],h=Array.isArray(a.history)?a.history:[],n=r=>{const c=t.map((C,D)=>D).filter(C=>{var D,w;return String((w=(D=t[C])==null?void 0:D.object_id)!=null?w:"")===r});if(!c.length)return[];const v=c[0],E=Array.isArray(h[v])?h[v]:[],O=[];return E.forEach((C,D)=>{const w=C&&typeof C=="object"?A({},C):{};c.forEach(R=>{var $,H;const q=($=h[R])==null?void 0:$[D],F=(H=t[R])==null?void 0:H.fv;F&&q&&typeof q=="object"&&Object.prototype.hasOwnProperty.call(q,F)&&(w[F]=q[F])}),O.push(w)}),O},d=f.map(r=>n(r));if(this.processMultiObjectHistory(d,t,f),T(),!x.value&&g.value.length&&(x.value=g.value[g.value.length-1]),console.log("[DeepDisplacementChart] 选中时间:",x.value),console.log("[DeepDisplacementChart] timeSeriesData 中的时间点:",Array.from(this.timeSeriesData.keys())),x.value&&this.timeSeriesData.has(x.value)){const r=this.timeSeriesData.get(x.value);console.log("[DeepDisplacementChart] 选中时间的数据,线:",Array.from((r==null?void 0:r.keys())||[])),this.chartData=new Map(r||new Map)}console.log("[DeepDisplacementChart] 最终 chartData 中的线:",Array.from(this.chartData.keys())),I.value++}catch(f){console.error("[DeepDisplacementChart] 解析历史数据失败:",f)}}}processHistoryRecords(e,t){e.forEach(i=>{var o;const s=(o=i==null?void 0:i.time)!=null?o:i==null?void 0:i.datetime;if(!s)return;const a=new Map;if(t.forEach(p=>{const m=p.fv,f=p.depth,h=p.name||"未命名",n=this.getRecordValue(i,m),d=Number(n);if(n!=null&&Number.isFinite(f)){const c=(this.extractStyles().baseElevation||688)+f;a.has(h)||a.set(h,[]),a.get(h).push({depth:f,elevation:c,value:Number.isFinite(d)?d:0})}}),a.size>0){const p=new Map;a.forEach((m,f)=>{m.sort((h,n)=>n.depth-h.depth),p.set(f,m)}),this.timeSeriesData.set(String(s),p),L(s)}})}processMultiObjectHistory(e,t,i){const s=e[0]||[];s.length&&s.forEach((a,o)=>{var f;const p=(f=a==null?void 0:a.time)!=null?f:a==null?void 0:a.datetime;if(!p)return;const m=new Map;if(t.forEach(h=>{const n=h.fv,d=h.depth,r=h.name||"未命名",c=h.object_id,v=i.indexOf(c);if(v===-1||!e[v])return;const E=e[v];if(!E[o])return;const O=E[o],C=this.getRecordValue(O,n),D=Number(C);if(C!=null&&Number.isFinite(d)){const R=(this.extractStyles().baseElevation||688)+d;m.has(r)||m.set(r,[]),m.get(r).push({depth:d,elevation:R,value:D})}}),m.size>0){const h=new Map;m.forEach((n,d)=>{n.sort((r,c)=>c.depth-r.depth),h.set(d,n)}),this.timeSeriesData.set(String(p),h),L(p)}})}setSocketData(e){var i,s;if(!e)return;const{data:t}=this.props.conf;if(!(!t||t.length===0))try{const a=(s=(i=e==null?void 0:e.time)!=null?i:e==null?void 0:e.datetime)!=null?s:Date.now(),o=new Map;console.log("[DeepDisplacementChart] realtime raw:",e),t.forEach(m=>{const f=m.fv,h=this.getDepthValue(m.depth),n=m.name||"未命名",d=this.extractDataValue(e,f);console.log("[DeepDisplacementChart] realtime fv:",f,"rawValue:",d),d!=null&&Number.isFinite(Number(d))&&this.latestValues.set(f,Number(d));const r=this.latestValues.get(f);if(r!==void 0&&h!==null){const v=(this.extractStyles().baseElevation||688)+h;o.has(n)||o.set(n,[]),o.get(n).push({depth:h,elevation:v,value:r})}});const p=new Map;o.forEach((m,f)=>{m.sort((h,n)=>n.depth-h.depth),p.set(f,m)}),p.size>0&&(console.log("[DeepDisplacementChart] realtime series keys:",Array.from(p.keys())),console.log("[DeepDisplacementChart] realtime series data:",Array.from(p.entries())),this.timeSeriesData.set(String(a),p),L(a),this.chartData=p,I.value++)}catch(a){console.error("[DeepDisplacementChart] 解析实时数据失败:",a)}}setCurrentObjectId(e){this.currentObjectId=e}getCurrentObjectId(){return this.currentObjectId}getChartOption(){var r;const e=this.extractStyles(),t=((r=this.props.conf)==null?void 0:r.data)||[],i=x.value;i&&this.timeSeriesData.has(i)&&(this.chartData=new Map(this.timeSeriesData.get(i)||new Map));const s=[];let a=[],o=[];this.chartData.forEach((c,v)=>{if(c.length===0)return;c.forEach(D=>{D.depth!==void 0&&a.push(D.depth),D.elevation!==void 0&&o.push(D.elevation)});const E=[...c].sort((D,w)=>(w.depth||0)-(D.depth||0)),O=t.find(D=>D.name===v),C=(O==null?void 0:O.color)||"#4a90d9";s.push({name:v,type:"line",data:E.map(D=>[D.value||0,D.depth||0]),smooth:!0,symbol:"circle",symbolSize:6,lineStyle:{color:C,width:2},itemStyle:{color:C,borderColor:"#fff",borderWidth:2},yAxisIndex:0})}),s.length===0&&this.getMockData().forEach(v=>{s.push({name:v.name,type:"line",data:v.data,smooth:!0,symbol:"circle",symbolSize:6,lineStyle:{color:v.color,width:2},itemStyle:{color:v.color,borderColor:"#fff",borderWidth:2},yAxisIndex:0}),v.data.forEach(E=>a.push(E[1]))});const p=a.length>0?Math.min(...a):-80,m=a.length>0?Math.max(...a):0,f=o.length>0?Math.min(...o):810,h=o.length>0?Math.max(...o):890,n=h||890,d=c=>n+c;return{grid:{left:80,right:80,top:36,bottom:88},tooltip:{trigger:"axis",backgroundColor:"rgba(255,255,255,0.95)",borderColor:"#e5e5e5",textStyle:{color:"#333",fontSize:12},formatter:c=>{if(!c||c.length===0)return"";const v=c[0].data[1],E=d(v);let O=`<div style="padding:8px;max-width:300px;">
2
2
  <div style="font-weight:600;margin-bottom:6px;">深度: ${v}m</div>
3
3
  <div style="color:#666;margin-bottom:6px;">高程: ${E.toFixed(2)}m</div>`;return c.forEach(C=>{O+=`<div style="display:flex;align-items:center;margin:2px 0;">
4
4
  <span style="display:inline-block;width:8px;height:8px;border-radius:50%;background:${C.color};margin-right:6px;"></span>
@@ -26,10 +26,10 @@ var X = (r, l, o) => new Promise((L, u) => {
26
26
  }, b = (D) => D.done ? L(D.value) : Promise.resolve(D.value).then(j, d);
27
27
  b((o = o.apply(r, l)).next());
28
28
  });
29
- import { defineComponent as ct, useCssVars as rt, unref as P, ref as Q, computed as W, watch as q, nextTick as B, onMounted as dt, onBeforeUnmount as pt, openBlock as ft, createElementBlock as ht, createElementVNode as z, toDisplayString as K, renderSlot as ut } from "vue";
29
+ import { defineComponent as ct, useCssVars as rt, unref as P, ref as J, computed as W, watch as q, nextTick as B, onMounted as dt, onBeforeUnmount as pt, openBlock as ft, createElementBlock as ht, createElementVNode as z, toDisplayString as K, renderSlot as ut } from "vue";
30
30
  import "html2canvas";
31
- import { B as mt } from "./BaseComponent-Bv3RJ3vA.js";
32
- import { n as gt, Q as vt, I as yt, _ as xt } from "./index-C_ms8XdY.js";
31
+ import { B as mt } from "./BaseComponent-Dn65PXTp.js";
32
+ import { o as gt, R as vt, J as yt, _ as xt } from "./index-CPTJIw32.js";
33
33
  import "./index-eIsZnzkc.js";
34
34
  import { A as Dt, D as _t } from "./ele-mxa-icon-CJWttkCK.js";
35
35
  import { i as bt } from "./echarts-Bp7QN4X6.js";
@@ -63,7 +63,7 @@ const Ct = { class: "deep-displacement-chart" }, St = { class: "chart-header" },
63
63
  color: "#4a90d9"
64
64
  // 曲线颜色
65
65
  }
66
- ], It = ["configPanelId", "name", "object_id", "points_fv", "fv", "depth_fv", "color"], Ot = ["mosaic", "statistics", "calculate", "statisticsRealtime", "calculateRealtime"], Lt = { useAlias: !1, multiObject: !1, source: "mosaic" }, Tt = { DEFAULT: wt, OPTIONS: At, DATA: kt, PARAMS: It, SOURCE: Ot, COMMON: Lt }, Rt = /* @__PURE__ */ ct(Z(V({}, Tt), {
66
+ ], Ot = ["configPanelId", "name", "object_id", "points_fv", "fv", "depth_fv", "color"], It = ["mosaic", "statistics", "calculate", "statisticsRealtime", "calculateRealtime"], Lt = { useAlias: !1, multiObject: !1, source: "mosaic" }, Rt = { DEFAULT: wt, OPTIONS: At, DATA: kt, PARAMS: Ot, SOURCE: It, COMMON: Lt }, Tt = /* @__PURE__ */ ct(Z(V({}, Rt), {
67
67
  __name: "deepDisplacementChart",
68
68
  props: {
69
69
  conf: { type: Object, default: () => ({ data: [] }) },
@@ -73,14 +73,14 @@ const Ct = { class: "deep-displacement-chart" }, St = { class: "chart-header" },
73
73
  },
74
74
  setup(r) {
75
75
  rt((e) => ({
76
- v93f7bd4a: P(I).bgColor,
77
- v4701439a: P(I).textColor
76
+ v93f7bd4a: P(O).bgColor,
77
+ v4701439a: P(O).textColor
78
78
  }));
79
- const l = gt(), o = r, L = Q({
79
+ const l = gt(), o = r, L = J({
80
80
  selectedTimes: [],
81
81
  startDate: "",
82
82
  endDate: ""
83
- }), u = Q(/* @__PURE__ */ new Map()), j = `dispChart_${Date.now()}_${Math.random().toString(36).slice(2, 8)}`;
83
+ }), u = J(/* @__PURE__ */ new Map()), j = `dispChart_${Date.now()}_${Math.random().toString(36).slice(2, 8)}`;
84
84
  let d = null, b = null;
85
85
  const D = [
86
86
  "#4a90d9",
@@ -123,7 +123,7 @@ const Ct = { class: "deep-displacement-chart" }, St = { class: "chart-header" },
123
123
  const t = ((v = this.props.conf) == null ? void 0 : v.data) || this.getDefaultData(), a = ["2026-01-15", "2026-01-14", "2026-01-13", "2026-01-12", "2026-01-11"], n = /* @__PURE__ */ new Map();
124
124
  return t.forEach((p, m) => {
125
125
  const k = /* @__PURE__ */ new Map();
126
- a.forEach((O, f) => {
126
+ a.forEach((I, f) => {
127
127
  const s = [], y = (a.length - 1 - f) * 5;
128
128
  for (let c = 0; c <= 30; c++) {
129
129
  const C = -122 - c, i = (10 + y + m * 3) * (1 + c * 0.03);
@@ -132,7 +132,7 @@ const Ct = { class: "deep-displacement-chart" }, St = { class: "chart-header" },
132
132
  value: i + Math.sin(c * 0.2 + m) * 2
133
133
  });
134
134
  }
135
- k.set(O, s);
135
+ k.set(I, s);
136
136
  }), n.set(p.name, k);
137
137
  }), n;
138
138
  }
@@ -143,7 +143,7 @@ const Ct = { class: "deep-displacement-chart" }, St = { class: "chart-header" },
143
143
  });
144
144
  }
145
145
  setHistoryData(t) {
146
- var k, O;
146
+ var k, I;
147
147
  const { data: a, common: n } = this.props.conf;
148
148
  if (!a || a.length === 0 || !a.some((f) => f.object_id && f.fv)) return;
149
149
  const p = (n == null ? void 0 : n.source) || "mosaic";
@@ -155,15 +155,15 @@ const Ct = { class: "deep-displacement-chart" }, St = { class: "chart-header" },
155
155
  const f = a.find((i) => i.object_id);
156
156
  if (!f) return;
157
157
  const s = a.indexOf(f), y = ((k = m.history) == null ? void 0 : k[s]) || [], c = f.points_fv || "points";
158
- y.length > 0 && Array.isArray((O = y[0]) == null ? void 0 : O[c]) ? a.forEach((i) => {
158
+ y.length > 0 && Array.isArray((I = y[0]) == null ? void 0 : I[c]) ? a.forEach((i) => {
159
159
  if (!i.object_id || !i.fv) return;
160
160
  const w = /* @__PURE__ */ new Map(), S = /* @__PURE__ */ new Map();
161
161
  y.forEach((x) => {
162
162
  const E = (x.time || x.datetime || "").split(" ")[0];
163
163
  S.has(E) || S.set(E, []), (x[c] || []).forEach((h) => {
164
- var _, R, $;
164
+ var _, T, $;
165
165
  S.get(E).push({
166
- depth: (R = (_ = h[i.depth_fv]) != null ? _ : h.depth) != null ? R : 0,
166
+ depth: (T = (_ = h[i.depth_fv]) != null ? _ : h.depth) != null ? T : 0,
167
167
  value: ($ = h[i.fv]) != null ? $ : 0
168
168
  });
169
169
  });
@@ -178,10 +178,10 @@ const Ct = { class: "deep-displacement-chart" }, St = { class: "chart-header" },
178
178
  if (!i.object_id || !i.fv) return;
179
179
  const S = ((E = m.history) == null ? void 0 : E[w]) || [], x = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map();
180
180
  S.forEach((M) => {
181
- var R, $;
181
+ var T, $;
182
182
  const _ = (M.time || M.datetime || "").split(" ")[0];
183
183
  g.has(_) || g.set(_, []), g.get(_).push({
184
- depth: (R = M[i.depth_fv]) != null ? R : 0,
184
+ depth: (T = M[i.depth_fv]) != null ? T : 0,
185
185
  value: ($ = M[i.fv]) != null ? $ : 0
186
186
  });
187
187
  }), g.forEach((M, h) => {
@@ -198,18 +198,18 @@ const Ct = { class: "deep-displacement-chart" }, St = { class: "chart-header" },
198
198
  t && console.log("[DeepDisplacementChart] 收到实时数据:", t);
199
199
  }
200
200
  }
201
- const T = new A(o, "deepDisplacementChart");
202
- (!o.conf.data || o.conf.data.length === 0) && (o.conf.data = T.getDefaultData()), T.setupLifecycle();
203
- const I = T.getStyle(), J = W(() => {
201
+ const R = new A(o, "deepDisplacementChart");
202
+ (!o.conf.data || o.conf.data.length === 0) && (o.conf.data = R.getDefaultData()), R.setupLifecycle();
203
+ const O = R.getStyle(), Q = W(() => {
204
204
  const e = L.value.selectedTimes || [];
205
205
  if (e.length === 0) return "";
206
206
  const t = [...e].sort(), a = t[0], n = t[t.length - 1];
207
207
  return `${a} ~ ${n} [${e.length}天]`;
208
208
  }), U = () => {
209
209
  var f;
210
- const e = I.value, t = L.value, a = ((f = o.conf) == null ? void 0 : f.data) || T.getDefaultData();
210
+ const e = O.value, t = L.value, a = ((f = o.conf) == null ? void 0 : f.data) || R.getDefaultData();
211
211
  let n = t.selectedTimes || [];
212
- if (u.value.size === 0 && T.getMockData().forEach((y, c) => u.value.set(c, y)), n.length === 0 && u.value.size > 0) {
212
+ if (u.value.size === 0 && R.getMockData().forEach((y, c) => u.value.set(c, y)), n.length === 0 && u.value.size > 0) {
213
213
  const s = u.value.values().next().value;
214
214
  s && (n = Array.from(s.keys()));
215
215
  }
@@ -237,7 +237,7 @@ const Ct = { class: "deep-displacement-chart" }, St = { class: "chart-header" },
237
237
  });
238
238
  });
239
239
  }), p.length === 0 && (p = [-122, -152]);
240
- const k = Math.min(...p), O = Math.max(...p);
240
+ const k = Math.min(...p), I = Math.max(...p);
241
241
  return {
242
242
  grid: { left: 60, right: 140, top: 30, bottom: 60 },
243
243
  tooltip: {
@@ -285,7 +285,7 @@ const Ct = { class: "deep-displacement-chart" }, St = { class: "chart-header" },
285
285
  nameGap: 40,
286
286
  nameTextStyle: { color: e.textColor, fontSize: 12 },
287
287
  min: k - 1,
288
- max: O + 1,
288
+ max: I + 1,
289
289
  inverse: !1,
290
290
  axisLine: { lineStyle: { color: "#ddd" } },
291
291
  axisLabel: { color: e.textColor, fontSize: 10 },
@@ -308,7 +308,7 @@ const Ct = { class: "deep-displacement-chart" }, St = { class: "chart-header" },
308
308
  const tt = () => {
309
309
  if (d) {
310
310
  const e = d.getDataURL({ type: "png", pixelRatio: 2, backgroundColor: "#fff" }), t = document.createElement("a");
311
- t.download = `${I.value.title}-深部位移曲线图.png`, t.href = e, t.click();
311
+ t.download = `${O.value.title}-深部位移曲线图.png`, t.href = e, t.click();
312
312
  }
313
313
  };
314
314
  return dt(() => {
@@ -325,8 +325,8 @@ const Ct = { class: "deep-displacement-chart" }, St = { class: "chart-header" },
325
325
  B(N);
326
326
  }, { deep: !0 }), (e, t) => (ft(), ht("div", Ct, [
327
327
  z("div", St, [
328
- z("div", Et, K(P(I).title) + "(深度" + K(P(I).depth) + "米)", 1),
329
- z("div", Mt, K(J.value), 1)
328
+ z("div", Et, K(P(O).title) + "(深度" + K(P(O).depth) + "米)", 1),
329
+ z("div", Mt, K(Q.value), 1)
330
330
  ]),
331
331
  z("div", {
332
332
  id: j,
@@ -335,7 +335,7 @@ const Ct = { class: "deep-displacement-chart" }, St = { class: "chart-header" },
335
335
  ut(e.$slots, "default", {}, void 0, !0)
336
336
  ]));
337
337
  }
338
- })), Ft = /* @__PURE__ */ xt(Rt, [["__scopeId", "data-v-778404d4"]]);
338
+ })), Ft = /* @__PURE__ */ xt(Tt, [["__scopeId", "data-v-778404d4"]]);
339
339
  export {
340
340
  Ft as default
341
341
  };
@@ -1,4 +1,4 @@
1
- "use strict";var J=Object.defineProperty,Q=Object.defineProperties;var Y=Object.getOwnPropertyDescriptors;var V=Object.getOwnPropertySymbols,ee=Object.getPrototypeOf,te=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,ae=Reflect.get;var q=(d,i,a)=>i in d?J(d,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):d[i]=a,U=(d,i)=>{for(var a in i||(i={}))te.call(i,a)&&q(d,a,i[a]);if(V)for(var a of V(i))oe.call(i,a)&&q(d,a,i[a]);return d},F=(d,i)=>Q(d,Y(i));var K=(d,i,a)=>ae(ee(d),a,i);var G=(d,i,a)=>new Promise((L,m)=>{var j=C=>{try{b(a.next(C))}catch(k){m(k)}},p=C=>{try{b(a.throw(C))}catch(k){m(k)}},b=C=>C.done?L(C.value):Promise.resolve(C.value).then(j,p);b((a=a.apply(d,i)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue");require("html2canvas");const ne=require("./BaseComponent-DdC8fmD6.cjs"),z=require("./index-DFbNT6Tf.cjs");require("./index-CJgyJTvc.cjs");const Z=require("./ele-mxa-icon-fgN0MLnh.cjs"),se=require("./echarts-BB8O2KSA.cjs"),le={class:"deep-displacement-chart"},ie={class:"chart-header"},ce={class:"chart-title"},re={class:"chart-subtitle"},de={DEFAULT_ICON:Z.DEFAULT_ICON,ACTIVE_ICON:Z.ACTIVE_ICON,NAME_CN:"深部位移曲线图",NAME_EN:"Deep Displacement Chart",ORDER:13,PLATFORM:["pc","screen"]},pe={title:{value:"ZK10-深部位移01",type:"string",label:"component.deepDisplacement.title"},depth:{value:152,type:"number",label:"component.deepDisplacement.depth",min:1,max:500},bgColor:{value:"#ffffff",type:"color",label:"component.options.bgColor"},textColor:{value:"#333333",type:"color",label:"component.options.textColor"},points:{value:30,type:"number",label:"component.options.points",min:5,max:100}},fe=[{configPanelId:"",name:"ZK10-X位移",object_id:"",points_fv:"points",fv:"disp_x",depth_fv:"depth",color:"#4a90d9"}],he=["configPanelId","name","object_id","points_fv","fv","depth_fv","color"],ue=["mosaic","statistics","calculate","statisticsRealtime","calculateRealtime"],me={useAlias:!1,multiObject:!1,source:"mosaic"},ge={DEFAULT:de,OPTIONS:pe,DATA:fe,PARAMS:he,SOURCE:ue,COMMON:me},ve=o.defineComponent(F(U({},ge),{__name:"deepDisplacementChart",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(d){o.useCssVars(t=>({v93f7bd4a:o.unref(O).bgColor,v4701439a:o.unref(O).textColor}));const i=z.useLinkStore(),a=d,L=o.ref({selectedTimes:[],startDate:"",endDate:""}),m=o.ref(new Map),j=`dispChart_${Date.now()}_${Math.random().toString(36).slice(2,8)}`;let p=null,b=null;const C=["#4a90d9","#67c23a","#e6a23c","#f56c6c","#909399","#00bcd4","#9c27b0","#ff9800","#795548","#607d8b"];class k extends ne.BaseComponent{extractStyles(){var n,s,y,f,g;const{options:e}=this.props.conf;return{title:((n=e==null?void 0:e.title)==null?void 0:n.value)||"ZK10-深部位移01",depth:((s=e==null?void 0:e.depth)==null?void 0:s.value)||152,bgColor:((y=e==null?void 0:e.bgColor)==null?void 0:y.value)||"#ffffff",textColor:((f=e==null?void 0:e.textColor)==null?void 0:f.value)||"#333333",points:((g=e==null?void 0:e.points)==null?void 0:g.value)||30}}getDefaultData(){return[{configPanelId:"",name:"ZK10-X位移",object_id:"",points_fv:"points",fv:"disp_x",depth_fv:"depth",color:"#4a90d9"}]}getMockData(){var y;const e=((y=this.props.conf)==null?void 0:y.data)||this.getDefaultData(),n=["2026-01-15","2026-01-14","2026-01-13","2026-01-12","2026-01-11"],s=new Map;return e.forEach((f,g)=>{const I=new Map;n.forEach((T,h)=>{const l=[],x=(n.length-1-h)*5;for(let r=0;r<=30;r++){const S=-122-r,c=(10+x+g*3)*(1+r*.03);l.push({depth:S,value:c+Math.sin(r*.2+g)*2})}I.set(T,l)}),s.set(f.name,I)}),s}onPreview(){return G(this,null,function*(){const{data:e}=this.props.conf;e.some(s=>s.object_id&&s.fv)?(console.log("[DeepDisplacementChart] 检测到数据绑定,订阅真实数据"),yield K(k.prototype,this,"onPreview").call(this)):(console.log("[DeepDisplacementChart] 未配置数据源,使用模拟数据"),this.getMockData().forEach((y,f)=>m.value.set(f,y)),P())})}setHistoryData(e){var I,T;const{data:n,common:s}=this.props.conf;if(!n||n.length===0||!n.some(h=>h.object_id&&h.fv))return;const f=(s==null?void 0:s.source)||"mosaic";["statistics","calculate"].includes(f)&&(e=z.formatStatisticsResult(e,n));const g=z.handleNullData(e,this.props,"history");if(g){try{m.value.clear();const h=n.find(c=>c.object_id);if(!h)return;const l=n.indexOf(h),x=((I=g.history)==null?void 0:I[l])||[],r=h.points_fv||"points";x.length>0&&Array.isArray((T=x[0])==null?void 0:T[r])?n.forEach(c=>{if(!c.object_id||!c.fv)return;const A=new Map,E=new Map;x.forEach(D=>{const M=(D.time||D.datetime||"").split(" ")[0];E.has(M)||E.set(M,[]),(D[r]||[]).forEach(u=>{var _,R,$;E.get(M).push({depth:(R=(_=u[c.depth_fv])!=null?_:u.depth)!=null?R:0,value:($=u[c.fv])!=null?$:0})})}),E.forEach((D,v)=>{const M=new Map;D.forEach(u=>M.set(u.depth,u.value));const w=Array.from(M.entries()).map(([u,_])=>({depth:u,value:_})).sort((u,_)=>_.depth-u.depth);A.set(v,w)}),m.value.set(c.name,A)}):n.forEach((c,A)=>{var M;if(!c.object_id||!c.fv)return;const E=((M=g.history)==null?void 0:M[A])||[],D=new Map,v=new Map;E.forEach(w=>{var R,$;const _=(w.time||w.datetime||"").split(" ")[0];v.has(_)||v.set(_,[]),v.get(_).push({depth:(R=w[c.depth_fv])!=null?R:0,value:($=w[c.fv])!=null?$:0})}),v.forEach((w,u)=>{D.set(u,w)}),m.value.set(c.name,D)})}catch(h){console.error("[Chart] 解析历史数据失败:",h)}P()}}setSocketData(e){e&&console.log("[DeepDisplacementChart] 收到实时数据:",e)}}const N=new k(a,"deepDisplacementChart");(!a.conf.data||a.conf.data.length===0)&&(a.conf.data=N.getDefaultData()),N.setupLifecycle();const O=N.getStyle(),H=o.computed(()=>{const t=L.value.selectedTimes||[];if(t.length===0)return"";const e=[...t].sort(),n=e[0],s=e[e.length-1];return`${n} ~ ${s} [${t.length}天]`}),B=()=>{var h;const t=O.value,e=L.value,n=((h=a.conf)==null?void 0:h.data)||N.getDefaultData();let s=e.selectedTimes||[];if(m.value.size===0&&N.getMockData().forEach((x,r)=>m.value.set(r,x)),s.length===0&&m.value.size>0){const l=m.value.values().next().value;l&&(s=Array.from(l.keys()))}s=[...s].sort().reverse();const y=[];let f=[],g=0;n.forEach(l=>{const x=m.value.get(l.name);if(!x)return;const r=l.color||C[g%C.length];g++,s.forEach((S,c)=>{const A=x.get(S)||[];if(A.length===0)return;A.forEach(v=>f.push(v.depth));const E=1-c*.15,D=r;y.push({name:`${l.name} (${S})`,type:"line",data:A.map(v=>[v.value,v.depth]),smooth:!0,symbol:"circle",symbolSize:4,lineStyle:{color:D,width:2,opacity:E},itemStyle:{color:D,opacity:E}})})}),f.length===0&&(f=[-122,-152]);const I=Math.min(...f),T=Math.max(...f);return{grid:{left:60,right:140,top:30,bottom:60},tooltip:{trigger:"axis",backgroundColor:"rgba(255,255,255,0.95)",borderColor:"#e5e5e5",textStyle:{color:"#333",fontSize:12},formatter:l=>{if(!l||l.length===0)return"";let r=`<div style="padding:8px;max-width:280px;">
1
+ "use strict";var J=Object.defineProperty,Q=Object.defineProperties;var Y=Object.getOwnPropertyDescriptors;var V=Object.getOwnPropertySymbols,ee=Object.getPrototypeOf,te=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,ae=Reflect.get;var q=(d,i,a)=>i in d?J(d,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):d[i]=a,U=(d,i)=>{for(var a in i||(i={}))te.call(i,a)&&q(d,a,i[a]);if(V)for(var a of V(i))oe.call(i,a)&&q(d,a,i[a]);return d},F=(d,i)=>Q(d,Y(i));var K=(d,i,a)=>ae(ee(d),a,i);var G=(d,i,a)=>new Promise((L,m)=>{var j=C=>{try{b(a.next(C))}catch(k){m(k)}},p=C=>{try{b(a.throw(C))}catch(k){m(k)}},b=C=>C.done?L(C.value):Promise.resolve(C.value).then(j,p);b((a=a.apply(d,i)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue");require("html2canvas");const ne=require("./BaseComponent-DKuQG62G.cjs"),z=require("./index-DoEyCVDU.cjs");require("./index-CJgyJTvc.cjs");const Z=require("./ele-mxa-icon-fgN0MLnh.cjs"),se=require("./echarts-BB8O2KSA.cjs"),le={class:"deep-displacement-chart"},ie={class:"chart-header"},ce={class:"chart-title"},re={class:"chart-subtitle"},de={DEFAULT_ICON:Z.DEFAULT_ICON,ACTIVE_ICON:Z.ACTIVE_ICON,NAME_CN:"深部位移曲线图",NAME_EN:"Deep Displacement Chart",ORDER:13,PLATFORM:["pc","screen"]},pe={title:{value:"ZK10-深部位移01",type:"string",label:"component.deepDisplacement.title"},depth:{value:152,type:"number",label:"component.deepDisplacement.depth",min:1,max:500},bgColor:{value:"#ffffff",type:"color",label:"component.options.bgColor"},textColor:{value:"#333333",type:"color",label:"component.options.textColor"},points:{value:30,type:"number",label:"component.options.points",min:5,max:100}},fe=[{configPanelId:"",name:"ZK10-X位移",object_id:"",points_fv:"points",fv:"disp_x",depth_fv:"depth",color:"#4a90d9"}],he=["configPanelId","name","object_id","points_fv","fv","depth_fv","color"],ue=["mosaic","statistics","calculate","statisticsRealtime","calculateRealtime"],me={useAlias:!1,multiObject:!1,source:"mosaic"},ge={DEFAULT:de,OPTIONS:pe,DATA:fe,PARAMS:he,SOURCE:ue,COMMON:me},ve=o.defineComponent(F(U({},ge),{__name:"deepDisplacementChart",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(d){o.useCssVars(t=>({v93f7bd4a:o.unref(O).bgColor,v4701439a:o.unref(O).textColor}));const i=z.useLinkStore(),a=d,L=o.ref({selectedTimes:[],startDate:"",endDate:""}),m=o.ref(new Map),j=`dispChart_${Date.now()}_${Math.random().toString(36).slice(2,8)}`;let p=null,b=null;const C=["#4a90d9","#67c23a","#e6a23c","#f56c6c","#909399","#00bcd4","#9c27b0","#ff9800","#795548","#607d8b"];class k extends ne.BaseComponent{extractStyles(){var n,s,y,f,g;const{options:e}=this.props.conf;return{title:((n=e==null?void 0:e.title)==null?void 0:n.value)||"ZK10-深部位移01",depth:((s=e==null?void 0:e.depth)==null?void 0:s.value)||152,bgColor:((y=e==null?void 0:e.bgColor)==null?void 0:y.value)||"#ffffff",textColor:((f=e==null?void 0:e.textColor)==null?void 0:f.value)||"#333333",points:((g=e==null?void 0:e.points)==null?void 0:g.value)||30}}getDefaultData(){return[{configPanelId:"",name:"ZK10-X位移",object_id:"",points_fv:"points",fv:"disp_x",depth_fv:"depth",color:"#4a90d9"}]}getMockData(){var y;const e=((y=this.props.conf)==null?void 0:y.data)||this.getDefaultData(),n=["2026-01-15","2026-01-14","2026-01-13","2026-01-12","2026-01-11"],s=new Map;return e.forEach((f,g)=>{const I=new Map;n.forEach((T,h)=>{const l=[],x=(n.length-1-h)*5;for(let r=0;r<=30;r++){const S=-122-r,c=(10+x+g*3)*(1+r*.03);l.push({depth:S,value:c+Math.sin(r*.2+g)*2})}I.set(T,l)}),s.set(f.name,I)}),s}onPreview(){return G(this,null,function*(){const{data:e}=this.props.conf;e.some(s=>s.object_id&&s.fv)?(console.log("[DeepDisplacementChart] 检测到数据绑定,订阅真实数据"),yield K(k.prototype,this,"onPreview").call(this)):(console.log("[DeepDisplacementChart] 未配置数据源,使用模拟数据"),this.getMockData().forEach((y,f)=>m.value.set(f,y)),P())})}setHistoryData(e){var I,T;const{data:n,common:s}=this.props.conf;if(!n||n.length===0||!n.some(h=>h.object_id&&h.fv))return;const f=(s==null?void 0:s.source)||"mosaic";["statistics","calculate"].includes(f)&&(e=z.formatStatisticsResult(e,n));const g=z.handleNullData(e,this.props,"history");if(g){try{m.value.clear();const h=n.find(c=>c.object_id);if(!h)return;const l=n.indexOf(h),x=((I=g.history)==null?void 0:I[l])||[],r=h.points_fv||"points";x.length>0&&Array.isArray((T=x[0])==null?void 0:T[r])?n.forEach(c=>{if(!c.object_id||!c.fv)return;const A=new Map,E=new Map;x.forEach(D=>{const M=(D.time||D.datetime||"").split(" ")[0];E.has(M)||E.set(M,[]),(D[r]||[]).forEach(u=>{var _,R,$;E.get(M).push({depth:(R=(_=u[c.depth_fv])!=null?_:u.depth)!=null?R:0,value:($=u[c.fv])!=null?$:0})})}),E.forEach((D,v)=>{const M=new Map;D.forEach(u=>M.set(u.depth,u.value));const w=Array.from(M.entries()).map(([u,_])=>({depth:u,value:_})).sort((u,_)=>_.depth-u.depth);A.set(v,w)}),m.value.set(c.name,A)}):n.forEach((c,A)=>{var M;if(!c.object_id||!c.fv)return;const E=((M=g.history)==null?void 0:M[A])||[],D=new Map,v=new Map;E.forEach(w=>{var R,$;const _=(w.time||w.datetime||"").split(" ")[0];v.has(_)||v.set(_,[]),v.get(_).push({depth:(R=w[c.depth_fv])!=null?R:0,value:($=w[c.fv])!=null?$:0})}),v.forEach((w,u)=>{D.set(u,w)}),m.value.set(c.name,D)})}catch(h){console.error("[Chart] 解析历史数据失败:",h)}P()}}setSocketData(e){e&&console.log("[DeepDisplacementChart] 收到实时数据:",e)}}const N=new k(a,"deepDisplacementChart");(!a.conf.data||a.conf.data.length===0)&&(a.conf.data=N.getDefaultData()),N.setupLifecycle();const O=N.getStyle(),H=o.computed(()=>{const t=L.value.selectedTimes||[];if(t.length===0)return"";const e=[...t].sort(),n=e[0],s=e[e.length-1];return`${n} ~ ${s} [${t.length}天]`}),B=()=>{var h;const t=O.value,e=L.value,n=((h=a.conf)==null?void 0:h.data)||N.getDefaultData();let s=e.selectedTimes||[];if(m.value.size===0&&N.getMockData().forEach((x,r)=>m.value.set(r,x)),s.length===0&&m.value.size>0){const l=m.value.values().next().value;l&&(s=Array.from(l.keys()))}s=[...s].sort().reverse();const y=[];let f=[],g=0;n.forEach(l=>{const x=m.value.get(l.name);if(!x)return;const r=l.color||C[g%C.length];g++,s.forEach((S,c)=>{const A=x.get(S)||[];if(A.length===0)return;A.forEach(v=>f.push(v.depth));const E=1-c*.15,D=r;y.push({name:`${l.name} (${S})`,type:"line",data:A.map(v=>[v.value,v.depth]),smooth:!0,symbol:"circle",symbolSize:4,lineStyle:{color:D,width:2,opacity:E},itemStyle:{color:D,opacity:E}})})}),f.length===0&&(f=[-122,-152]);const I=Math.min(...f),T=Math.max(...f);return{grid:{left:60,right:140,top:30,bottom:60},tooltip:{trigger:"axis",backgroundColor:"rgba(255,255,255,0.95)",borderColor:"#e5e5e5",textStyle:{color:"#333",fontSize:12},formatter:l=>{if(!l||l.length===0)return"";let r=`<div style="padding:8px;max-width:280px;">
2
2
  <div style="font-weight:600;margin-bottom:6px;">深度: ${l[0].data[1]}m</div>`;return l.forEach(S=>{r+=`<div style="display:flex;align-items:center;margin:2px 0;">
3
3
  <span style="display:inline-block;width:8px;height:8px;border-radius:50%;background:${S.color};margin-right:6px;"></span>
4
4
  <span style="flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;">${S.seriesName}: ${S.data[0].toFixed(3)} mm</span>
@@ -16,7 +16,7 @@ import "element-plus/es/components/select/style/css";
16
16
  import "element-plus/es/components/option/style/css";
17
17
  import "element-plus/es/components/button/style/css";
18
18
  import { defineComponent as le, useCssVars as ae, ref as w, computed as I, watch as A, nextTick as j, onMounted as ne, onBeforeUnmount as ie, openBlock as V, createElementBlock as E, createElementVNode as s, toDisplayString as h, createVNode as L, withCtx as B, createTextVNode as se, Fragment as re, renderList as de, createCommentVNode as ce, renderSlot as me } from "vue";
19
- import { n as pe, d as ue, _ as fe } from "./index-C_ms8XdY.js";
19
+ import { o as pe, d as ue, _ as fe } from "./index-CPTJIw32.js";
20
20
  import "./index-eIsZnzkc.js";
21
21
  import { A as ve, D as xe } from "./ele-gridview-icon-cSd1oIDi.js";
22
22
  import { i as ge } from "./echarts-Bp7QN4X6.js";
@@ -1,4 +1,4 @@
1
- "use strict";var Y=Object.defineProperty,j=Object.defineProperties;var F=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var X=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable;var O=(d,i,s)=>i in d?Y(d,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):d[i]=s,P=(d,i)=>{for(var s in i||(i={}))X.call(i,s)&&O(d,s,i[s]);if(L)for(var s of L(i))Z.call(i,s)&&O(d,s,i[s]);return d},q=(d,i)=>j(d,F(i));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");require("element-plus/es/components/button/style/css");const e=require("vue"),V=require("./index-DFbNT6Tf.cjs");require("./index-CJgyJTvc.cjs");const T=require("./ele-gridview-icon-D3GcssP6.cjs"),H=require("./echarts-BB8O2KSA.cjs"),W={class:"deep-displacement-view"},G={class:"view-toolbar"},J={class:"time-display"},K={class:"view-header"},Q={class:"view-title"},ee={class:"view-time"},te={class:"chart-container"},oe={key:0,class:"no-data"},le={DEFAULT_ICON:T.DEFAULT_ICON,ACTIVE_ICON:T.ACTIVE_ICON,NAME_CN:"深部位移三视图",NAME_EN:"Deep Displacement View",ORDER:12,PLATFORM:["pc","screen"]},ae={title:{value:"深部位移三视图",type:"string",label:"component.deepDisplacement.title"},bgColor:{value:"#ffffff",type:"color",label:"component.options.bgColor"},textColor:{value:"#333333",type:"color",label:"component.options.textColor"},lineColor:{value:"#4a90d9",type:"color",label:"component.deepDisplacement.lineColor"},gridColor:{value:"#e5e5e5",type:"color",label:"component.deepDisplacement.gridColor"},pointColor:{value:"#4a90d9",type:"color",label:"component.deepDisplacement.pointColor"}},ne=[{configPanelId:""}],ie=["configPanelId"],re=[],se={useAlias:!1,multiObject:!1,source:""},ce={DEFAULT:le,OPTIONS:ae,DATA:ne,PARAMS:ie,SOURCE:re,COMMON:se},de=e.defineComponent(q(P({},ce),{__name:"deepDisplacementView",props:{conf:{type:Object,default:()=>({})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(d){e.useCssVars(t=>({v5fe08aba:u.value.bgColor,bbec750a:u.value.textColor,v74d3ff14:u.value.lineColor}));const i=V.useLinkStore(),s=d,R=[{label:"俯视图",value:"top"},{label:"主视图",value:"front"},{label:"侧视图",value:"side"}],M={top:"俯视图",front:"主视图",side:"侧视图"},f=e.ref("top"),b=e.ref(""),z=e.computed(()=>V.dayjs().format("YYYY-MM-DD HH:mm:ss")),N=`deepDisplacementView_${Date.now()}_${Math.random().toString(36).slice(2,11)}`,v=e.ref([]),_=e.computed(()=>v.value&&v.value.length>0);let c=null,g=null;const u=e.computed(()=>{var l,a,m,r,p,x,y;const{options:t,data:o}=s.conf||{};return{title:((l=t==null?void 0:t.title)==null?void 0:l.value)||"深部位移三视图",configPanelId:((a=o==null?void 0:o[0])==null?void 0:a.configPanelId)||"",bgColor:((m=t==null?void 0:t.bgColor)==null?void 0:m.value)||"#ffffff",textColor:((r=t==null?void 0:t.textColor)==null?void 0:r.value)||"#333333",lineColor:((p=t==null?void 0:t.lineColor)==null?void 0:p.value)||"#4a90d9",gridColor:((x=t==null?void 0:t.gridColor)==null?void 0:x.value)||"#e5e5e5",pointColor:((y=t==null?void 0:t.pointColor)==null?void 0:y.value)||"#4a90d9"}}),B=t=>{const o=v.value;if(!o||o.length===0)return{};const l=u.value;let a=[],m=[],r="",p="";t==="front"?(a=o.map(n=>n.x),m=o.map(n=>n.depth),r="X (mm)",p="Z (mm)"):t==="side"?(a=o.map(n=>n.y),m=o.map(n=>n.depth),r="Y (mm)",p="Z (mm)"):(a=o.map(n=>n.x),m=o.map(n=>n.y),r="X (mm)",p="Y (mm)");const x=Math.min(...a),y=Math.max(...a),C=Math.min(...m),I=Math.max(...m),A=Math.max(Math.abs(x),Math.abs(y),15e3),k=t==="top"?Math.max(Math.abs(C),Math.abs(I),15e3):Math.abs(C-I)*1.1;return{grid:{left:60,right:50,top:20,bottom:60},tooltip:{trigger:"item",backgroundColor:"rgba(255, 255, 255, 0.95)",borderColor:"#e5e5e5",textStyle:{color:"#333",fontSize:12},formatter:n=>{const S=n.dataIndex,h=o[S];return`<div style="padding: 8px;">
1
+ "use strict";var Y=Object.defineProperty,j=Object.defineProperties;var F=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var X=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable;var O=(d,i,s)=>i in d?Y(d,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):d[i]=s,P=(d,i)=>{for(var s in i||(i={}))X.call(i,s)&&O(d,s,i[s]);if(L)for(var s of L(i))Z.call(i,s)&&O(d,s,i[s]);return d},q=(d,i)=>j(d,F(i));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");require("element-plus/es/components/button/style/css");const e=require("vue"),V=require("./index-DoEyCVDU.cjs");require("./index-CJgyJTvc.cjs");const T=require("./ele-gridview-icon-D3GcssP6.cjs"),H=require("./echarts-BB8O2KSA.cjs"),W={class:"deep-displacement-view"},G={class:"view-toolbar"},J={class:"time-display"},K={class:"view-header"},Q={class:"view-title"},ee={class:"view-time"},te={class:"chart-container"},oe={key:0,class:"no-data"},le={DEFAULT_ICON:T.DEFAULT_ICON,ACTIVE_ICON:T.ACTIVE_ICON,NAME_CN:"深部位移三视图",NAME_EN:"Deep Displacement View",ORDER:12,PLATFORM:["pc","screen"]},ae={title:{value:"深部位移三视图",type:"string",label:"component.deepDisplacement.title"},bgColor:{value:"#ffffff",type:"color",label:"component.options.bgColor"},textColor:{value:"#333333",type:"color",label:"component.options.textColor"},lineColor:{value:"#4a90d9",type:"color",label:"component.deepDisplacement.lineColor"},gridColor:{value:"#e5e5e5",type:"color",label:"component.deepDisplacement.gridColor"},pointColor:{value:"#4a90d9",type:"color",label:"component.deepDisplacement.pointColor"}},ne=[{configPanelId:""}],ie=["configPanelId"],re=[],se={useAlias:!1,multiObject:!1,source:""},ce={DEFAULT:le,OPTIONS:ae,DATA:ne,PARAMS:ie,SOURCE:re,COMMON:se},de=e.defineComponent(q(P({},ce),{__name:"deepDisplacementView",props:{conf:{type:Object,default:()=>({})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(d){e.useCssVars(t=>({v5fe08aba:u.value.bgColor,bbec750a:u.value.textColor,v74d3ff14:u.value.lineColor}));const i=V.useLinkStore(),s=d,R=[{label:"俯视图",value:"top"},{label:"主视图",value:"front"},{label:"侧视图",value:"side"}],M={top:"俯视图",front:"主视图",side:"侧视图"},f=e.ref("top"),b=e.ref(""),z=e.computed(()=>V.dayjs().format("YYYY-MM-DD HH:mm:ss")),N=`deepDisplacementView_${Date.now()}_${Math.random().toString(36).slice(2,11)}`,v=e.ref([]),_=e.computed(()=>v.value&&v.value.length>0);let c=null,g=null;const u=e.computed(()=>{var l,a,m,r,p,x,y;const{options:t,data:o}=s.conf||{};return{title:((l=t==null?void 0:t.title)==null?void 0:l.value)||"深部位移三视图",configPanelId:((a=o==null?void 0:o[0])==null?void 0:a.configPanelId)||"",bgColor:((m=t==null?void 0:t.bgColor)==null?void 0:m.value)||"#ffffff",textColor:((r=t==null?void 0:t.textColor)==null?void 0:r.value)||"#333333",lineColor:((p=t==null?void 0:t.lineColor)==null?void 0:p.value)||"#4a90d9",gridColor:((x=t==null?void 0:t.gridColor)==null?void 0:x.value)||"#e5e5e5",pointColor:((y=t==null?void 0:t.pointColor)==null?void 0:y.value)||"#4a90d9"}}),B=t=>{const o=v.value;if(!o||o.length===0)return{};const l=u.value;let a=[],m=[],r="",p="";t==="front"?(a=o.map(n=>n.x),m=o.map(n=>n.depth),r="X (mm)",p="Z (mm)"):t==="side"?(a=o.map(n=>n.y),m=o.map(n=>n.depth),r="Y (mm)",p="Z (mm)"):(a=o.map(n=>n.x),m=o.map(n=>n.y),r="X (mm)",p="Y (mm)");const x=Math.min(...a),y=Math.max(...a),C=Math.min(...m),I=Math.max(...m),A=Math.max(Math.abs(x),Math.abs(y),15e3),k=t==="top"?Math.max(Math.abs(C),Math.abs(I),15e3):Math.abs(C-I)*1.1;return{grid:{left:60,right:50,top:20,bottom:60},tooltip:{trigger:"item",backgroundColor:"rgba(255, 255, 255, 0.95)",borderColor:"#e5e5e5",textStyle:{color:"#333",fontSize:12},formatter:n=>{const S=n.dataIndex,h=o[S];return`<div style="padding: 8px;">
2
2
  <div style="font-weight: 600; margin-bottom: 6px;">深度: ${h.depth}m</div>
3
3
  <div style="color: #666; line-height: 1.8;">
4
4
  <div>高程: ${h.elevation}m</div>
@@ -1 +1 @@
1
- "use strict";var oe=Object.defineProperty,se=Object.defineProperties;var ae=Object.getOwnPropertyDescriptors;var P=Object.getOwnPropertySymbols;var ie=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable;var U=(p,i,f)=>i in p?oe(p,i,{enumerable:!0,configurable:!0,writable:!0,value:f}):p[i]=f,G=(p,i)=>{for(var f in i||(i={}))ie.call(i,f)&&U(p,f,i[f]);if(P)for(var f of P(i))re.call(i,f)&&U(p,f,i[f]);return p},K=(p,i)=>se(p,ae(i));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=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/icon/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");const o=require("vue"),ce=require("@element-plus/icons-vue"),V=require("./index-DFbNT6Tf.cjs");require("element-plus");const ue=require("./EChartComponentBase-DzP0_KR9.cjs"),he=require("./titleStyle-NSnz6cUg.cjs"),W=require("./ele-lin-icon-Dke_1AmT.cjs"),R=require("./installCanvasRenderer-CyhM1Qpl.cjs"),de=require("./install-C8buXQPI.cjs"),pe=require("./install-CltTFs4e.cjs"),fe=require("./install-CYwVETsi.cjs"),me={class:"mix-body"},ge={class:"toolbar"},ve=["id"],Ce={DEFAULT_ICON:W.DEFAULT_ICON,ACTIVE_ICON:W.ACTIVE_ICON,NAME_CN:"节点温度图",NAME_EN:"DeepNodeTemperatureChart",ORDER:19,PLATFORM:["pc","screen"]},Se={titleColor:"#111",textColor:"#111",bgColor:"#fff",radiusSize:8,textSize:12,isHideTitle:!1,top:40,bottom:35,left:50,right:30,xName:{value:"时间",type:"string",label:"X轴名称"},yName:{value:"温度(℃)",type:"string",label:"Y轴名称"},linkChannel:{value:"deepDisplacement",type:"select",label:"component.linkChannel",options:[{label:"component.linkChannelOptions.deepDisplacement",value:"deepDisplacement"},{label:"component.linkChannelOptions.gnss",value:"gnss"},{label:"component.linkChannelOptions.slope",value:"slope"},{label:"component.linkChannelOptions.device",value:"device"},{label:"component.linkChannelOptions.alarm",value:"alarm"},{label:"component.linkChannelOptions.custom",value:"custom"}]},customChannel:{value:"",type:"string",label:"component.customChannel",showWhen:{linkChannel:"custom"}}},X=[{name:"-130m",fv:"temp_130",depth:-130,color:"#5470c6",object_id:""},{name:"-140m",fv:"temp_140",depth:-140,color:"#91cc75",object_id:""}],be=["name","fv","depth","color","object_id"],Ne=["mosaic","statistics","calculate","statisticsRealtime","calculateRealtime"],Oe={useAlias:!1,multiObject:!0,source:"mosaic"},ke={DEFAULT:Ce,OPTIONS:Se,DATA:X,PARAMS:be,SOURCE:Ne,COMMON:Oe},ye=o.defineComponent(K(G({},ke),{__name:"deepNodeTemperatureChart",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(p){R.use([de.install,R.install,pe.install,R.install$1,fe.install]);const i=p,f=V.useLinkStore(),d=o.ref(""),x=o.ref([]),k=o.ref(new Map);class Y extends ue.EChartComponentBase{extractStyles(){const n=this.getOptionValue("linkChannel","deepDisplacement"),t=this.getOptionValue("customChannel",""),l=n==="custom"&&t?t:n;return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#111"),radiusSize:this.getOptionValue("radiusSize",8),textSize:this.getOptionValue("textSize",12),isHideTitle:this.getOptionValue("isHideTitle",!1),top:this.getOptionValue("top",40),bottom:this.getOptionValue("bottom",35),left:this.getOptionValue("left",50),right:this.getOptionValue("right",30),xName:this.getOptionValue("xName","时间"),yName:this.getOptionValue("yName","温度(℃)"),linkChannel:l}}init(){var n;this.Style.value=this.extractStyles(),this.applyTheme(),(n=this.props.conf.data)!=null&&n.length||(this.props.conf.data=X),o.nextTick(()=>this.initChart())}setHistoryData(n){M(n)}setSocketData(n){n&&M(n)}onLinkEvent(n){F(n)}getChartOption(){var t;const n=((t=i.conf)==null?void 0:t.data)||[];return{grid:{top:this.Style.value.top,bottom:this.Style.value.bottom,left:this.Style.value.left,right:this.Style.value.right,containLabel:!0},legend:{top:8,textStyle:{color:this.Style.value.textColor}},tooltip:{trigger:"axis"},xAxis:{type:"category",name:this.Style.value.xName,data:L.value,axisLabel:{color:this.Style.value.textColor,fontSize:this.Style.value.textSize}},yAxis:{type:"value",name:this.Style.value.yName,axisLabel:{color:this.Style.value.textColor,fontSize:this.Style.value.textSize},splitLine:{lineStyle:{color:"#f0f0f0"}}},series:n.map((l,a)=>({name:(l==null?void 0:l.name)||`节点${a+1}`,type:"line",smooth:!0,data:Z(l==null?void 0:l.depth),lineStyle:{color:(l==null?void 0:l.color)||D[a%D.length],width:2},itemStyle:{color:(l==null?void 0:l.color)||D[a%D.length]}}))}}}const C=new Y(i,"deepNodeTemperatureChart"),J=C.getEchartId();C.setupLifecycle();const T=C.getStyle(),Q=o.computed(()=>he.generateTitleStyle(i.conf.options)),S=o.ref([]),D=["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272"],L=o.computed(()=>{if(d.value&&k.value.has(d.value)){const n=k.value.get(d.value)||[],t=new Set;return n.forEach(l=>t.add(l.t)),Array.from(t)}const e=new Set;return S.value.forEach(n=>e.add(n.t)),Array.from(e)}),Z=e=>{const n=Number(e),t=new Map;return(d.value&&k.value.has(d.value)?k.value.get(d.value)||[]:S.value).forEach(a=>{Math.abs(a.depth-n)<.1&&t.set(a.t,a.temp)}),L.value.map(a=>{var s;return(s=t.get(a))!=null?s:null})},N=()=>{o.nextTick(()=>{const e=C.getChartInstance();e&&e.setOption(C.getChartOption(),!0)})},ee=()=>N(),te=()=>{const e=C.getChartInstance();if(!e)return;const n=e.getDataURL({type:"png",pixelRatio:2,backgroundColor:"#fff"}),t=document.createElement("a");t.href=n,t.download=`node-temperature-${d.value||Date.now()}.png`,t.click()},z=()=>{var l,a,s;const e=((l=i.conf)==null?void 0:l.options)||{},n=((a=e==null?void 0:e.linkChannel)==null?void 0:a.value)||T.value.linkChannel||"deepDisplacement",t=((s=e==null?void 0:e.customChannel)==null?void 0:s.value)||"";return n==="custom"&&t?t:n},ne=e=>{var a,s,u;const n=((a=i.conf)==null?void 0:a.data)||[],t=[];if(Array.isArray(e==null?void 0:e.data))return e.data.forEach((c,b)=>{var r,O;const v=String((O=(r=c==null?void 0:c.time)!=null?r:c==null?void 0:c.datetime)!=null?O:b);n.forEach(E=>{const A=E.fv,m=E.depth,h=Number(c==null?void 0:c[A]);Number.isFinite(m)&&Number.isFinite(h)&&t.push({t:v,depth:m,temp:h})})}),t;const l=String((u=(s=e==null?void 0:e.time)!=null?s:e==null?void 0:e.datetime)!=null?u:Date.now());return n.forEach(c=>{const b=c.fv,v=c.depth,r=Number(e==null?void 0:e[b]);Number.isFinite(v)&&Number.isFinite(r)&&t.push({t:l,depth:v,temp:r})}),t},F=e=>{var c,b,v;if(i.mode==="edit"||!e||!e.payload)return;const n=z();if((c=e.topic)!=null&&c.channel&&n&&e.topic.channel!==n||!f.shouldHandle(e,"deepNodeTemperatureChart"))return;const t=e.payload;if((t==null?void 0:t.type)==="filter"){const r=t.timeRange||t.dateRange||t.timeRangeValue;if((b=t.selectedTimes)!=null&&b.length){d.value=String(t.selectedTimes[t.selectedTimes.length-1]),N();return}if(Array.isArray(r)&&r.length){d.value=String(r[r.length-1]),N();return}if(r!=null&&r.endDate||r!=null&&r.end){d.value=String(r.endDate||r.end),N();return}return}const l=i.conf,a=(l==null?void 0:l.data)||[],s=(l==null?void 0:l.common)||{};if(a.length>0&&!(s!=null&&s.multiObject)){const r=V.getObjectId(s,s==null?void 0:s.useAlias,i.uid)||((v=a[0])==null?void 0:v.object_id),O=(t==null?void 0:t.objectId)||(t==null?void 0:t.object_id);if(r&&O&&String(r)!==String(O))return}const u=ne(t);u.length&&(S.value=u.length<20?[...S.value.slice(-500),...u]:u,N())},M=e=>{var c,b,v,r,O,E,A;const n=i.conf,t=(n==null?void 0:n.data)||[],l=(n==null?void 0:n.common)||{},a=(l==null?void 0:l.source)||"mosaic";let s=e;["statistics","calculate"].includes(a)&&(s=V.formatStatisticsResult(s,t));const u=[];if((c=s==null?void 0:s.history)!=null&&c.length){const m=new Map;s.history.forEach((h,q)=>{var _,B;const g=(h==null?void 0:h[0])||h||{},I=String((B=(_=g==null?void 0:g.time)!=null?_:g==null?void 0:g.datetime)!=null?B:q),y=I.split(" ")[0];t.forEach($=>{const le=$.fv,j=$.depth,H=Number(g==null?void 0:g[le]);Number.isFinite(j)&&Number.isFinite(H)&&(m.has(y)||m.set(y,[]),m.get(y).push({t:I,depth:j,temp:H}))})}),x.value=Array.from(m.keys()).sort().reverse(),k.value=m,x.value.length>0&&!d.value&&(d.value=x.value[0]),S.value=m.get(d.value)||[]}else{const m=l!=null&&l.multiObject?"":V.getObjectId(l,l==null?void 0:l.useAlias,i.uid),h=m&&((v=(b=s==null?void 0:s[m])==null?void 0:b[a])==null?void 0:v.data)||((r=s==null?void 0:s[a])==null?void 0:r.data)||(s==null?void 0:s.data)||s,q=String((E=(O=h==null?void 0:h.time)!=null?O:h==null?void 0:h.datetime)!=null?E:Date.now());t.forEach(g=>{const I=g.fv,y=g.depth,_=Number(h==null?void 0:h[I]);Number.isFinite(y)&&Number.isFinite(_)&&u.push({t:q,depth:y,temp:_})}),S.value=[...S.value.slice(-500),...u]}!u.length&&!((A=s==null?void 0:s.history)!=null&&A.length)||N()};return o.watch(()=>f.channels[z()],e=>{e&&F(e)},{deep:!0}),o.watchEffect(()=>{i.conf.socketData&&C.setSocketData(i.conf.socketData)}),o.watch(()=>{var e;return(e=i.conf)==null?void 0:e.options},()=>{C.getStyle().value=C.extractStyles(),N()},{deep:!0}),o.onMounted(()=>{if(i.mode==="edit"&&!S.value.length){const e=[-1,-10,-20,-30],n=["2026-03-05","2026-03-04","2026-03-03"];n.forEach(t=>{const l=[];for(let a=0;a<24;a++){const s=`${t} ${String(a).padStart(2,"0")}:00:00`;e.forEach((u,c)=>{l.push({t:s,depth:u,temp:Number((18+c*1.5+Math.sin(a/4+c)*2).toFixed(2))})})}k.value.set(t,l)}),x.value=n,d.value=n[0],S.value=k.value.get(n[0])||[]}N()}),(e,n)=>{const t=w.ElOption,l=w.ElSelect,a=w.ElIcon,s=w.ElButton;return o.openBlock(),o.createElementBlock("div",{class:"mix-component",style:o.normalizeStyle({background:o.unref(T).bgColor,borderRadius:`${o.unref(T).radiusSize}px`})},[o.unref(T).isHideTitle?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",{key:0,class:"mix-title",style:o.normalizeStyle(Q.value)},o.toDisplayString(p.conf.caption||p.conf.name),5)),o.createElementVNode("div",me,[o.createElementVNode("div",ge,[o.createVNode(l,{modelValue:d.value,"onUpdate:modelValue":n[0]||(n[0]=u=>d.value=u),placeholder:"选择时间",size:"small",class:"time-select",onChange:ee},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(x.value,u=>(o.openBlock(),o.createBlock(t,{key:u,label:u,value:u},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),o.createVNode(s,{size:"small",class:"export-btn",onClick:te},{default:o.withCtx(()=>[o.createVNode(a,null,{default:o.withCtx(()=>[o.createVNode(o.unref(ce.Download))]),_:1}),n[1]||(n[1]=o.createTextVNode(" 导出图 ",-1))]),_:1})]),o.createElementVNode("div",{class:"echart-container",id:o.unref(J)},null,8,ve)]),o.renderSlot(e.$slots,"default",{},void 0,!0)],4)}}})),xe=V._export_sfc(ye,[["__scopeId","data-v-69009f4e"]]);exports.default=xe;
1
+ "use strict";var oe=Object.defineProperty,se=Object.defineProperties;var ae=Object.getOwnPropertyDescriptors;var P=Object.getOwnPropertySymbols;var ie=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable;var U=(p,i,f)=>i in p?oe(p,i,{enumerable:!0,configurable:!0,writable:!0,value:f}):p[i]=f,G=(p,i)=>{for(var f in i||(i={}))ie.call(i,f)&&U(p,f,i[f]);if(P)for(var f of P(i))re.call(i,f)&&U(p,f,i[f]);return p},K=(p,i)=>se(p,ae(i));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=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/icon/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");const o=require("vue"),ce=require("@element-plus/icons-vue"),V=require("./index-DoEyCVDU.cjs");require("element-plus");const ue=require("./EChartComponentBase-8GSbyY5P.cjs"),he=require("./titleStyle-NSnz6cUg.cjs"),W=require("./ele-lin-icon-Dke_1AmT.cjs"),R=require("./installCanvasRenderer-CyhM1Qpl.cjs"),de=require("./install-C8buXQPI.cjs"),pe=require("./install-CltTFs4e.cjs"),fe=require("./install-CYwVETsi.cjs"),me={class:"mix-body"},ge={class:"toolbar"},ve=["id"],Ce={DEFAULT_ICON:W.DEFAULT_ICON,ACTIVE_ICON:W.ACTIVE_ICON,NAME_CN:"节点温度图",NAME_EN:"DeepNodeTemperatureChart",ORDER:19,PLATFORM:["pc","screen"]},Se={titleColor:"#111",textColor:"#111",bgColor:"#fff",radiusSize:8,textSize:12,isHideTitle:!1,top:40,bottom:35,left:50,right:30,xName:{value:"时间",type:"string",label:"X轴名称"},yName:{value:"温度(℃)",type:"string",label:"Y轴名称"},linkChannel:{value:"deepDisplacement",type:"select",label:"component.linkChannel",options:[{label:"component.linkChannelOptions.deepDisplacement",value:"deepDisplacement"},{label:"component.linkChannelOptions.gnss",value:"gnss"},{label:"component.linkChannelOptions.slope",value:"slope"},{label:"component.linkChannelOptions.device",value:"device"},{label:"component.linkChannelOptions.alarm",value:"alarm"},{label:"component.linkChannelOptions.custom",value:"custom"}]},customChannel:{value:"",type:"string",label:"component.customChannel",showWhen:{linkChannel:"custom"}}},X=[{name:"-130m",fv:"temp_130",depth:-130,color:"#5470c6",object_id:""},{name:"-140m",fv:"temp_140",depth:-140,color:"#91cc75",object_id:""}],be=["name","fv","depth","color","object_id"],Ne=["mosaic","statistics","calculate","statisticsRealtime","calculateRealtime"],Oe={useAlias:!1,multiObject:!0,source:"mosaic"},ke={DEFAULT:Ce,OPTIONS:Se,DATA:X,PARAMS:be,SOURCE:Ne,COMMON:Oe},ye=o.defineComponent(K(G({},ke),{__name:"deepNodeTemperatureChart",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(p){R.use([de.install,R.install,pe.install,R.install$1,fe.install]);const i=p,f=V.useLinkStore(),d=o.ref(""),x=o.ref([]),k=o.ref(new Map);class Y extends ue.EChartComponentBase{extractStyles(){const n=this.getOptionValue("linkChannel","deepDisplacement"),t=this.getOptionValue("customChannel",""),l=n==="custom"&&t?t:n;return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#111"),radiusSize:this.getOptionValue("radiusSize",8),textSize:this.getOptionValue("textSize",12),isHideTitle:this.getOptionValue("isHideTitle",!1),top:this.getOptionValue("top",40),bottom:this.getOptionValue("bottom",35),left:this.getOptionValue("left",50),right:this.getOptionValue("right",30),xName:this.getOptionValue("xName","时间"),yName:this.getOptionValue("yName","温度(℃)"),linkChannel:l}}init(){var n;this.Style.value=this.extractStyles(),this.applyTheme(),(n=this.props.conf.data)!=null&&n.length||(this.props.conf.data=X),o.nextTick(()=>this.initChart())}setHistoryData(n){M(n)}setSocketData(n){n&&M(n)}onLinkEvent(n){F(n)}getChartOption(){var t;const n=((t=i.conf)==null?void 0:t.data)||[];return{grid:{top:this.Style.value.top,bottom:this.Style.value.bottom,left:this.Style.value.left,right:this.Style.value.right,containLabel:!0},legend:{top:8,textStyle:{color:this.Style.value.textColor}},tooltip:{trigger:"axis"},xAxis:{type:"category",name:this.Style.value.xName,data:L.value,axisLabel:{color:this.Style.value.textColor,fontSize:this.Style.value.textSize}},yAxis:{type:"value",name:this.Style.value.yName,axisLabel:{color:this.Style.value.textColor,fontSize:this.Style.value.textSize},splitLine:{lineStyle:{color:"#f0f0f0"}}},series:n.map((l,a)=>({name:(l==null?void 0:l.name)||`节点${a+1}`,type:"line",smooth:!0,data:Z(l==null?void 0:l.depth),lineStyle:{color:(l==null?void 0:l.color)||D[a%D.length],width:2},itemStyle:{color:(l==null?void 0:l.color)||D[a%D.length]}}))}}}const C=new Y(i,"deepNodeTemperatureChart"),J=C.getEchartId();C.setupLifecycle();const T=C.getStyle(),Q=o.computed(()=>he.generateTitleStyle(i.conf.options)),S=o.ref([]),D=["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272"],L=o.computed(()=>{if(d.value&&k.value.has(d.value)){const n=k.value.get(d.value)||[],t=new Set;return n.forEach(l=>t.add(l.t)),Array.from(t)}const e=new Set;return S.value.forEach(n=>e.add(n.t)),Array.from(e)}),Z=e=>{const n=Number(e),t=new Map;return(d.value&&k.value.has(d.value)?k.value.get(d.value)||[]:S.value).forEach(a=>{Math.abs(a.depth-n)<.1&&t.set(a.t,a.temp)}),L.value.map(a=>{var s;return(s=t.get(a))!=null?s:null})},N=()=>{o.nextTick(()=>{const e=C.getChartInstance();e&&e.setOption(C.getChartOption(),!0)})},ee=()=>N(),te=()=>{const e=C.getChartInstance();if(!e)return;const n=e.getDataURL({type:"png",pixelRatio:2,backgroundColor:"#fff"}),t=document.createElement("a");t.href=n,t.download=`node-temperature-${d.value||Date.now()}.png`,t.click()},z=()=>{var l,a,s;const e=((l=i.conf)==null?void 0:l.options)||{},n=((a=e==null?void 0:e.linkChannel)==null?void 0:a.value)||T.value.linkChannel||"deepDisplacement",t=((s=e==null?void 0:e.customChannel)==null?void 0:s.value)||"";return n==="custom"&&t?t:n},ne=e=>{var a,s,u;const n=((a=i.conf)==null?void 0:a.data)||[],t=[];if(Array.isArray(e==null?void 0:e.data))return e.data.forEach((c,b)=>{var r,O;const v=String((O=(r=c==null?void 0:c.time)!=null?r:c==null?void 0:c.datetime)!=null?O:b);n.forEach(E=>{const A=E.fv,m=E.depth,h=Number(c==null?void 0:c[A]);Number.isFinite(m)&&Number.isFinite(h)&&t.push({t:v,depth:m,temp:h})})}),t;const l=String((u=(s=e==null?void 0:e.time)!=null?s:e==null?void 0:e.datetime)!=null?u:Date.now());return n.forEach(c=>{const b=c.fv,v=c.depth,r=Number(e==null?void 0:e[b]);Number.isFinite(v)&&Number.isFinite(r)&&t.push({t:l,depth:v,temp:r})}),t},F=e=>{var c,b,v;if(i.mode==="edit"||!e||!e.payload)return;const n=z();if((c=e.topic)!=null&&c.channel&&n&&e.topic.channel!==n||!f.shouldHandle(e,"deepNodeTemperatureChart"))return;const t=e.payload;if((t==null?void 0:t.type)==="filter"){const r=t.timeRange||t.dateRange||t.timeRangeValue;if((b=t.selectedTimes)!=null&&b.length){d.value=String(t.selectedTimes[t.selectedTimes.length-1]),N();return}if(Array.isArray(r)&&r.length){d.value=String(r[r.length-1]),N();return}if(r!=null&&r.endDate||r!=null&&r.end){d.value=String(r.endDate||r.end),N();return}return}const l=i.conf,a=(l==null?void 0:l.data)||[],s=(l==null?void 0:l.common)||{};if(a.length>0&&!(s!=null&&s.multiObject)){const r=V.getObjectId(s,s==null?void 0:s.useAlias,i.uid)||((v=a[0])==null?void 0:v.object_id),O=(t==null?void 0:t.objectId)||(t==null?void 0:t.object_id);if(r&&O&&String(r)!==String(O))return}const u=ne(t);u.length&&(S.value=u.length<20?[...S.value.slice(-500),...u]:u,N())},M=e=>{var c,b,v,r,O,E,A;const n=i.conf,t=(n==null?void 0:n.data)||[],l=(n==null?void 0:n.common)||{},a=(l==null?void 0:l.source)||"mosaic";let s=e;["statistics","calculate"].includes(a)&&(s=V.formatStatisticsResult(s,t));const u=[];if((c=s==null?void 0:s.history)!=null&&c.length){const m=new Map;s.history.forEach((h,q)=>{var _,B;const g=(h==null?void 0:h[0])||h||{},I=String((B=(_=g==null?void 0:g.time)!=null?_:g==null?void 0:g.datetime)!=null?B:q),y=I.split(" ")[0];t.forEach($=>{const le=$.fv,j=$.depth,H=Number(g==null?void 0:g[le]);Number.isFinite(j)&&Number.isFinite(H)&&(m.has(y)||m.set(y,[]),m.get(y).push({t:I,depth:j,temp:H}))})}),x.value=Array.from(m.keys()).sort().reverse(),k.value=m,x.value.length>0&&!d.value&&(d.value=x.value[0]),S.value=m.get(d.value)||[]}else{const m=l!=null&&l.multiObject?"":V.getObjectId(l,l==null?void 0:l.useAlias,i.uid),h=m&&((v=(b=s==null?void 0:s[m])==null?void 0:b[a])==null?void 0:v.data)||((r=s==null?void 0:s[a])==null?void 0:r.data)||(s==null?void 0:s.data)||s,q=String((E=(O=h==null?void 0:h.time)!=null?O:h==null?void 0:h.datetime)!=null?E:Date.now());t.forEach(g=>{const I=g.fv,y=g.depth,_=Number(h==null?void 0:h[I]);Number.isFinite(y)&&Number.isFinite(_)&&u.push({t:q,depth:y,temp:_})}),S.value=[...S.value.slice(-500),...u]}!u.length&&!((A=s==null?void 0:s.history)!=null&&A.length)||N()};return o.watch(()=>f.channels[z()],e=>{e&&F(e)},{deep:!0}),o.watchEffect(()=>{i.conf.socketData&&C.setSocketData(i.conf.socketData)}),o.watch(()=>{var e;return(e=i.conf)==null?void 0:e.options},()=>{C.getStyle().value=C.extractStyles(),N()},{deep:!0}),o.onMounted(()=>{if(i.mode==="edit"&&!S.value.length){const e=[-1,-10,-20,-30],n=["2026-03-05","2026-03-04","2026-03-03"];n.forEach(t=>{const l=[];for(let a=0;a<24;a++){const s=`${t} ${String(a).padStart(2,"0")}:00:00`;e.forEach((u,c)=>{l.push({t:s,depth:u,temp:Number((18+c*1.5+Math.sin(a/4+c)*2).toFixed(2))})})}k.value.set(t,l)}),x.value=n,d.value=n[0],S.value=k.value.get(n[0])||[]}N()}),(e,n)=>{const t=w.ElOption,l=w.ElSelect,a=w.ElIcon,s=w.ElButton;return o.openBlock(),o.createElementBlock("div",{class:"mix-component",style:o.normalizeStyle({background:o.unref(T).bgColor,borderRadius:`${o.unref(T).radiusSize}px`})},[o.unref(T).isHideTitle?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",{key:0,class:"mix-title",style:o.normalizeStyle(Q.value)},o.toDisplayString(p.conf.caption||p.conf.name),5)),o.createElementVNode("div",me,[o.createElementVNode("div",ge,[o.createVNode(l,{modelValue:d.value,"onUpdate:modelValue":n[0]||(n[0]=u=>d.value=u),placeholder:"选择时间",size:"small",class:"time-select",onChange:ee},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(x.value,u=>(o.openBlock(),o.createBlock(t,{key:u,label:u,value:u},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),o.createVNode(s,{size:"small",class:"export-btn",onClick:te},{default:o.withCtx(()=>[o.createVNode(a,null,{default:o.withCtx(()=>[o.createVNode(o.unref(ce.Download))]),_:1}),n[1]||(n[1]=o.createTextVNode(" 导出图 ",-1))]),_:1})]),o.createElementVNode("div",{class:"echart-container",id:o.unref(J)},null,8,ve)]),o.renderSlot(e.$slots,"default",{},void 0,!0)],4)}}})),xe=V._export_sfc(ye,[["__scopeId","data-v-69009f4e"]]);exports.default=xe;