mixdashboards 1.0.32 → 1.0.39

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 (413) hide show
  1. package/dist/CoordinateSystem-BMkAxlii.js +6 -0
  2. package/dist/CoordinateSystem-DWnjjFwb.cjs +1 -0
  3. package/dist/EChartComponentBase-BQOhWkz2.js +114 -0
  4. package/dist/EChartComponentBase-BaQpBzVC.cjs +1 -0
  5. package/dist/LegendVisualProvider-BDw4_0K3.cjs +1 -0
  6. package/dist/LegendVisualProvider-BP9kA8co.js +44 -0
  7. package/dist/MarkerView-BG_nYESR.cjs +1 -0
  8. package/dist/MarkerView-CtWJi5UZ.js +192 -0
  9. package/dist/RoamController--cgD3aNm.cjs +1 -0
  10. package/dist/RoamController-DmBIwcAZ.js +124 -0
  11. package/dist/UniverSheet-KlvmL1Yw.cjs +1 -0
  12. package/dist/UniverSheet-MSHzUXq0.js +180 -0
  13. package/dist/VisualMapping-D-MA7S0X.js +260 -0
  14. package/dist/VisualMapping-MilpZvD_.cjs +1 -0
  15. package/dist/accelerationChart-B1HPMmd2.js +577 -0
  16. package/dist/accelerationChart-DZj2V2vD.cjs +6 -0
  17. package/dist/actionItem-BYCPoQK7.cjs +1 -0
  18. package/dist/actionItem-Bb2xiYlY.js +686 -0
  19. package/dist/alarmLevelChart-Bb0mAbwQ.cjs +2 -0
  20. package/dist/alarmLevelChart-CCioESvL.js +182 -0
  21. package/dist/alertTable-CQwr8YYt.js +301 -0
  22. package/dist/alertTable-oaX5eJC0.cjs +1 -0
  23. package/dist/annualRainfallChart-C21jEMBe.js +185 -0
  24. package/dist/annualRainfallChart-pO8q6aUJ.cjs +1 -0
  25. package/dist/api-C0GhBpqd.js +125 -0
  26. package/dist/api-P_s372dW.cjs +1 -0
  27. package/dist/aqi-DlY2r7OA.cjs +3 -0
  28. package/dist/aqi-iLwQH4rc.js +145 -0
  29. package/dist/aqiIndass-BaIVBfdC.cjs +3 -0
  30. package/dist/aqiIndass-DBeVSBdy.js +301 -0
  31. package/dist/arrayCard-DNNUEPvW.js +93 -0
  32. package/dist/arrayCard-OlVAAsZq.cjs +1 -0
  33. package/dist/audio-CAP4D-J2.js +301 -0
  34. package/dist/audio-CThzVIDU.cjs +1 -0
  35. package/dist/axisAlignTicks-BqVUa467.js +481 -0
  36. package/dist/axisAlignTicks-CDNWKJRo.cjs +1 -0
  37. package/dist/bar-BjR566__.cjs +2 -0
  38. package/dist/bar-D8C06GO4.js +232 -0
  39. package/dist/bmp-Cjizh2x6.js +226 -0
  40. package/dist/bmp-DsmTzyce.cjs +1 -0
  41. package/dist/box-DqewT3MF.js +352 -0
  42. package/dist/box-qgu_67OD.cjs +1 -0
  43. package/dist/chartConfigPanel-BiQArCoQ.cjs +1 -0
  44. package/dist/chartConfigPanel-DwAUq3pf.js +408 -0
  45. package/dist/circleBar-CO89T7kj.cjs +4 -0
  46. package/dist/circleBar-DGHDWQih.js +196 -0
  47. package/dist/clock-32hGccm4.cjs +1 -0
  48. package/dist/clock-CT8YXEU3.js +274 -0
  49. package/dist/clt-5bP_g1O-.cjs +1 -0
  50. package/dist/clt-FfIEfGtn.js +293 -0
  51. package/dist/cmc-B2nQFZIS.js +269 -0
  52. package/dist/cmc-dbuLkE8o.cjs +1 -0
  53. package/dist/cmp-QQlYcnqo.js +378 -0
  54. package/dist/cmp-l3U9fIrz.cjs +6 -0
  55. package/dist/composite-CbsUYl-u.js +136 -0
  56. package/dist/composite-Cf24lSyN.cjs +1 -0
  57. package/dist/composite-DjhrBgG1.js +323 -0
  58. package/dist/composite-DlY2_x6P.cjs +3 -0
  59. package/dist/config-BLSroAzs.cjs +1 -0
  60. package/dist/config-Cc2W4vke.js +9 -0
  61. package/dist/controlList-BdF8xNAi.js +879 -0
  62. package/dist/controlList-De6PXdOc.cjs +1 -0
  63. package/dist/controlRecordList-CKpAr1ON.js +421 -0
  64. package/dist/controlRecordList-u5a7chIX.cjs +1 -0
  65. package/dist/crd-BVAf41oX.js +113 -0
  66. package/dist/crd-BoaXQhFQ.cjs +1 -0
  67. package/dist/createSeriesData-Cz83cqoZ.cjs +1 -0
  68. package/dist/createSeriesData-E53TTCAt.js +116 -0
  69. package/dist/createSeriesDataSimply-Bsly4zZA.js +14 -0
  70. package/dist/createSeriesDataSimply-CjfZL_jf.cjs +1 -0
  71. package/dist/ctrBtn-C9kQiqY1.cjs +1 -0
  72. package/dist/ctrBtn-ZPRYWE66.js +215 -0
  73. package/dist/ctrSet-C87dxLfQ.js +247 -0
  74. package/dist/ctrSet-CNCrnLSs.cjs +1 -0
  75. package/dist/ctrSwitch-CVEtbdfb.cjs +1 -0
  76. package/dist/ctrSwitch-CkC_Axtp.js +207 -0
  77. package/dist/cursorHelper-DE0KU4_J.js +29 -0
  78. package/dist/cursorHelper-DsTR8jVF.cjs +1 -0
  79. package/dist/customGraphicKeyframeAnimation-BJ_z0kB3.js +330 -0
  80. package/dist/customGraphicKeyframeAnimation-CEIvOjMs.cjs +1 -0
  81. package/dist/dataManagement-CjlNfeYq.js +672 -0
  82. package/dist/dataManagement-n711sd1g.cjs +1 -0
  83. package/dist/dataReport-BsVjW3p7.cjs +4 -0
  84. package/dist/dataReport-ByjswEqq.js +787 -0
  85. package/dist/dataSample-BXwc06Sb.js +114 -0
  86. package/dist/dataSample-D4ycwmll.cjs +1 -0
  87. package/dist/dataTable-DX500R1i.js +217 -0
  88. package/dist/dataTable-K7j4fhnq.cjs +1 -0
  89. package/dist/datetime-DVbJtALf.js +113 -0
  90. package/dist/datetime-DYXWKrXI.cjs +1 -0
  91. package/dist/deepClusterSlipSurface-B7nkEM9A.cjs +1 -0
  92. package/dist/deepClusterSlipSurface-CQUE05cK.js +372 -0
  93. package/dist/deepDataMatrix-DHZA0IAm.cjs +1 -0
  94. package/dist/deepDataMatrix-ai5rB6ET.js +238 -0
  95. package/dist/deepDisplacement3D-BFqKqSYg.cjs +4289 -0
  96. package/dist/deepDisplacement3D-BsUzvbQb.js +26052 -0
  97. package/dist/deepDisplacementChart-2JZNrhrw.cjs +5 -0
  98. package/dist/deepDisplacementChart-BCIuCMdK.js +585 -0
  99. package/dist/deepDisplacementChart-Ba67v6um.cjs +6 -0
  100. package/dist/deepDisplacementChart-igl4rW1K.js +340 -0
  101. package/dist/deepDisplacementView-BedWJsx7.js +231 -0
  102. package/dist/deepDisplacementView-wQxyKzB-.cjs +8 -0
  103. package/dist/deepNodeTemperatureChart-DLeb9jKp.js +347 -0
  104. package/dist/deepNodeTemperatureChart-albL8hKa.cjs +1 -0
  105. package/dist/deepTangentAngleChart-C6xOiITk.js +420 -0
  106. package/dist/deepTangentAngleChart-DukevXaM.cjs +1 -0
  107. package/dist/deepTemperatureField-B-y94GPV.js +398 -0
  108. package/dist/deepTemperatureField-De4xKoHw.cjs +1 -0
  109. package/dist/deepTrendChart-DCkV2HNv.js +345 -0
  110. package/dist/deepTrendChart-MmuYSXtu.cjs +1 -0
  111. package/dist/deviceOnlineStatus-B5cCjhNA.cjs +2 -0
  112. package/dist/deviceOnlineStatus-CFuCTx7_.js +178 -0
  113. package/dist/deviceStatus-B2ibBDSi.js +194 -0
  114. package/dist/deviceStatus-DsEtKiGo.cjs +1 -0
  115. package/dist/displacementDataTable-BDqG1IvI.js +256 -0
  116. package/dist/displacementDataTable-oLnUdafv.cjs +1 -0
  117. package/dist/displacementTrajectoryChart-CBhPwZhe.cjs +22 -0
  118. package/dist/displacementTrajectoryChart-Crf55oKi.js +597 -0
  119. package/dist/displacementTrendChart-10n_lC9j.js +364 -0
  120. package/dist/displacementTrendChart-CWihCuIJ.cjs +5 -0
  121. package/dist/dxf-D8zHpz5g.js +2768 -0
  122. package/dist/dxf-DDh_DcQy.cjs +1 -0
  123. package/dist/dzc-DLCdTCwW.js +144 -0
  124. package/dist/dzc-uNTDJqpi.cjs +2 -0
  125. package/dist/echarts-BB8O2KSA.cjs +21 -0
  126. package/dist/echarts-BVht3HHb.js +13787 -0
  127. package/dist/ele-aqi-icon-BMm9WgFH.cjs +1 -0
  128. package/dist/ele-aqi-icon-DsYfU5th.js +5 -0
  129. package/dist/ele-bar-icon-C-GiCs2a.js +5 -0
  130. package/dist/ele-bar-icon-V94clxg_.cjs +1 -0
  131. package/dist/ele-bmp-icon-BBI0-SX7.cjs +1 -0
  132. package/dist/ele-bmp-icon-Pdolk1J5.js +5 -0
  133. package/dist/ele-circleBar-icon-DNBUxt0A.js +5 -0
  134. package/dist/ele-circleBar-icon-Da0-L9sa.cjs +1 -0
  135. package/dist/ele-clt-icon-BEVOS7Tq.cjs +1 -0
  136. package/dist/ele-clt-icon-DuU4Q401.js +5 -0
  137. package/dist/ele-cmp-icon-CEP91RUe.js +5 -0
  138. package/dist/ele-cmp-icon-yUlU6c_Q.cjs +1 -0
  139. package/dist/ele-crd-icon-BXxB7P3T.js +5 -0
  140. package/dist/ele-crd-icon-BvNgAPKW.cjs +1 -0
  141. package/dist/ele-ctrSet-icon-BtKGrCid.js +5 -0
  142. package/dist/ele-ctrSet-icon-DCsPO0tL.cjs +1 -0
  143. package/dist/ele-dateTime-icon-BEGFlwID.js +5 -0
  144. package/dist/ele-dateTime-icon-BgZ2_KWW.cjs +1 -0
  145. package/dist/ele-dzc-icon-D6eVpaHp.js +5 -0
  146. package/dist/ele-dzc-icon-h5wOUHF0.cjs +1 -0
  147. package/dist/ele-evn-icon-DUQMS-9T.cjs +1 -0
  148. package/dist/ele-evn-icon-MWzAujnD.js +5 -0
  149. package/dist/ele-gag-icon-CB5dJeYF.js +5 -0
  150. package/dist/ele-gag-icon-Ce1hl9NI.cjs +1 -0
  151. package/dist/ele-glbModel-icon-ByACDCrv.cjs +1 -0
  152. package/dist/ele-glbModel-icon-l_SMi3ik.js +5 -0
  153. package/dist/ele-grd-icon-DR52zwGR.js +5 -0
  154. package/dist/ele-grd-icon-ZUb-megQ.cjs +1 -0
  155. package/dist/ele-gridview-icon-D3GcssP6.cjs +1 -0
  156. package/dist/ele-gridview-icon-cSd1oIDi.js +5 -0
  157. package/dist/ele-lin-icon-Dax-ZiWV.js +5 -0
  158. package/dist/ele-lin-icon-Dke_1AmT.cjs +1 -0
  159. package/dist/ele-lst-icon-CKpeRKmk.js +5 -0
  160. package/dist/ele-lst-icon-CrxnHZ-A.cjs +1 -0
  161. package/dist/ele-mxa-icon-CJWttkCK.js +5 -0
  162. package/dist/ele-mxa-icon-fgN0MLnh.cjs +1 -0
  163. package/dist/ele-rtn-icon-BrsJIU8J.cjs +1 -0
  164. package/dist/ele-rtn-icon-CqCKSHIw.js +5 -0
  165. package/dist/ele-textbox-icon-ClGaLi5p.js +5 -0
  166. package/dist/ele-textbox-icon-g_5kV8t6.cjs +1 -0
  167. package/dist/ele-vdo-icon-Bgp9gaT6.cjs +1 -0
  168. package/dist/ele-vdo-icon-DcWebTR5.js +5 -0
  169. package/dist/ele-vlu-icon-Bg6EHZdJ.js +5 -0
  170. package/dist/ele-vlu-icon-Dv-R7Xuc.cjs +1 -0
  171. package/dist/element-resize-detector-Bo5uDQAu.cjs +6 -0
  172. package/dist/element-resize-detector-DJcsrJ8s.js +1547 -0
  173. package/dist/evn-DuL5oVRl.cjs +1 -0
  174. package/dist/evn-YwCALVXj.js +116 -0
  175. package/dist/evolutionChart-4noZSdLX.js +406 -0
  176. package/dist/evolutionChart-AeL67MAt.cjs +1 -0
  177. package/dist/fileViewer-DiH3PM0r.js +415 -0
  178. package/dist/fileViewer-bsrjlJkC.cjs +1 -0
  179. package/dist/filterBar-CWEguwYc.js +394 -0
  180. package/dist/filterBar-Ct1BFhrS.cjs +1 -0
  181. package/dist/fireCombustionCurve-DYPC4zKJ.js +405 -0
  182. package/dist/fireCombustionCurve-DyiQn-WA.cjs +1 -0
  183. package/dist/fireFilterBar-Bdm2ljuO.cjs +1 -0
  184. package/dist/fireFilterBar-DGHPNTwF.js +221 -0
  185. package/dist/gag-HiNaL81R.cjs +1 -0
  186. package/dist/gag-kvkKzJuO.js +125 -0
  187. package/dist/glbModel-CUz6CyVF.js +2724 -0
  188. package/dist/glbModel-DtBI72ap.cjs +5 -0
  189. package/dist/gnssFilterBar-BQgY5x1W.cjs +1 -0
  190. package/dist/gnssFilterBar-TBtirXIB.js +310 -0
  191. package/dist/gnssHistoryTable-D1ZLJOgh.cjs +3 -0
  192. package/dist/gnssHistoryTable-U8O7nyO7.js +398 -0
  193. package/dist/gnssMapView-42zmAd9q.cjs +7 -0
  194. package/dist/gnssMapView-CaBfWeT1.js +699 -0
  195. package/dist/gnssTimeSeriesChart-BrXYvuh6.js +421 -0
  196. package/dist/gnssTimeSeriesChart-CV2w_Aik.cjs +1 -0
  197. package/dist/gnssXYTrajectory-BmzSYjQ_.cjs +5 -0
  198. package/dist/gnssXYTrajectory-D2DoYnze.js +304 -0
  199. package/dist/grd-B0GUjLm9.js +339 -0
  200. package/dist/grd-DW8cSFVR.cjs +1 -0
  201. package/dist/grdIndass-BeBXVsos.cjs +1 -0
  202. package/dist/grdIndass-DduUKZJm.js +216 -0
  203. package/dist/grg-CeX0pirQ.js +194 -0
  204. package/dist/grg-fnpcXtju.cjs +1 -0
  205. package/dist/gridview-BPwWXza9.js +183 -0
  206. package/dist/gridview-DpABhCIw.cjs +1 -0
  207. package/dist/groupCard-De1E15mW.js +132 -0
  208. package/dist/groupCard-WNE6gAAl.cjs +1 -0
  209. package/dist/headerBar-CZ3qcLHo.js +210 -0
  210. package/dist/headerBar-Qi1EXrr6.cjs +1 -0
  211. package/dist/{history-DigzRtjC.js → history-BkZhlpdY.js} +5 -3
  212. package/dist/history-DAmBl4_5.cjs +1 -0
  213. package/dist/index-ButoLLAe.js +8655 -0
  214. package/dist/index-Mh5Dw2sd.cjs +585 -0
  215. package/dist/index-kShjySl9.js +5313 -0
  216. package/dist/index-mAPVa0s4.cjs +11 -0
  217. package/dist/insarDeformChart-BGr2xe7w.cjs +1 -0
  218. package/dist/insarDeformChart-CnuSL1d9.js +216 -0
  219. package/dist/insarImageViewer-DRgGdQmN.cjs +1 -0
  220. package/dist/insarImageViewer-EmVThmVQ.js +268 -0
  221. package/dist/install-8XfFtnlL.js +853 -0
  222. package/dist/install-9_V0b6vf.js +497 -0
  223. package/dist/install-B0x4IqQr.js +1258 -0
  224. package/dist/install-B1IEhhn3.cjs +1 -0
  225. package/dist/install-B2TChEcT.js +895 -0
  226. package/dist/install-B65ZIqAx.cjs +1 -0
  227. package/dist/install-BBrAry2m.js +8 -0
  228. package/dist/install-BRjgycz_.cjs +1 -0
  229. package/dist/install-BUu5ESB7.js +447 -0
  230. package/dist/install-BamnGDPb.cjs +1 -0
  231. package/dist/install-BifpoHNI.js +1817 -0
  232. package/dist/install-BvOpNm0Y.cjs +1 -0
  233. package/dist/install-ByPD0oOh.cjs +1 -0
  234. package/dist/install-BzdOSCzO.js +785 -0
  235. package/dist/install-C8buXQPI.cjs +1 -0
  236. package/dist/install-C9Cdzkc6.js +265 -0
  237. package/dist/install-CBde4hAM.js +112 -0
  238. package/dist/install-CIT6k8Ga.cjs +1 -0
  239. package/dist/install-CYwVETsi.cjs +1 -0
  240. package/dist/install-C_3uGWLu.js +2328 -0
  241. package/dist/install-Ch5d8i37.cjs +1 -0
  242. package/dist/install-CltTFs4e.cjs +3 -0
  243. package/dist/install-Csxa7Kv7.cjs +18 -0
  244. package/dist/install-Cx1i_m0k.js +1168 -0
  245. package/dist/install-D1QM80AD.js +227 -0
  246. package/dist/install-D7znHb-b.js +604 -0
  247. package/dist/install-DHY9y86B.cjs +3 -0
  248. package/dist/install-DIlB2q7w.cjs +1 -0
  249. package/dist/install-DV5cEgNV.cjs +1 -0
  250. package/dist/install-DWm3j_D3.js +38 -0
  251. package/dist/install-FDYiy_gL.js +250 -0
  252. package/dist/install-LtoYukZU.cjs +1 -0
  253. package/dist/install-MS3ZY7fF.js +685 -0
  254. package/dist/install-hfre7yvV.js +727 -0
  255. package/dist/install-kGXY_57n.cjs +1 -0
  256. package/dist/install-nDY6w-GK.cjs +1 -0
  257. package/dist/install-oGjJ0_bF.js +588 -0
  258. package/dist/install-z6wShIZI.cjs +1 -0
  259. package/dist/installCanvasRenderer-CLT2hquJ.js +4260 -0
  260. package/dist/installCanvasRenderer-CyhM1Qpl.cjs +3 -0
  261. package/dist/installMarkArea-Cdg4iciO.js +206 -0
  262. package/dist/installMarkArea-CjyaJPLE.cjs +1 -0
  263. package/dist/installMarkLine-BgE0YACE.js +533 -0
  264. package/dist/installMarkLine-Bv53Iw9G.cjs +1 -0
  265. package/dist/installSimple-BWTCwMdY.js +586 -0
  266. package/dist/installSimple-c87Ufc4_.cjs +1 -0
  267. package/dist/kds-CpIQFgeY.js +1203 -0
  268. package/dist/kds-DTYWOq4K.cjs +3 -0
  269. package/dist/labelHelper-Cd8oB-sZ.js +26 -0
  270. package/dist/labelHelper-npJGYQ1j.cjs +1 -0
  271. package/dist/layerTabs-BATcBkTA.cjs +1 -0
  272. package/dist/layerTabs-uze6K91A.js +139 -0
  273. package/dist/lin-Ba6fHkYf.cjs +2 -0
  274. package/dist/lin-DU_EuPRg.js +239 -0
  275. package/dist/linIndass-XHKElG7L.js +273 -0
  276. package/dist/linIndass-urYe5inp.cjs +2 -0
  277. package/dist/lst-C7aee1cU.js +147 -0
  278. package/dist/lst-CpmoEQDY.cjs +1 -0
  279. package/dist/manualEntry-CJPiO5nh.cjs +1 -0
  280. package/dist/manualEntry-D9m_WPw3.js +662 -0
  281. package/dist/mapBackground-6g_71Fwa.js +6658 -0
  282. package/dist/mapBackground-CF_TqNBy.cjs +17 -0
  283. package/dist/mappingList-CR55Tq4t.cjs +1 -0
  284. package/dist/mappingList-luT5YE0d.js +917 -0
  285. package/dist/markdownViewer-CnguoUr8.js +261 -0
  286. package/dist/markdownViewer-D1hDk2Y7.cjs +3 -0
  287. package/dist/mix-control-modal-BDHAB4Tw.cjs +1 -0
  288. package/dist/mix-control-modal-CHiX3hQs.js +147 -0
  289. package/dist/mixDataPermission-BTA1jNd1.cjs +1 -0
  290. package/dist/mixDataPermission-BaqV0Z6N.js +760 -0
  291. package/dist/mixGrid-3BqQCvg8.cjs +1 -0
  292. package/dist/mixGrid-C0eEvwPy.js +180 -0
  293. package/dist/mixMap-7upgYwWk.js +258 -0
  294. package/dist/mixMap-Bw-We4Cm.cjs +1 -0
  295. package/dist/mixModel-BqE_Kd4c.js +245 -0
  296. package/dist/mixModel-CgV4XptM.cjs +3 -0
  297. package/dist/mixPie-9LfMCTQV.cjs +2 -0
  298. package/dist/mixPie-B-HeglUn.js +168 -0
  299. package/dist/mixdashboards.cjs +1 -1
  300. package/dist/mixdashboards.css +1 -1
  301. package/dist/mixdashboards.js +7 -7
  302. package/dist/mjpegCamera-Cfw3rzT5.js +158 -0
  303. package/dist/mjpegCamera-nxKfhobY.cjs +1 -0
  304. package/dist/monitorAlert-Bg5vzzyG.js +225 -0
  305. package/dist/monitorAlert-Bt0baNh4.cjs +1 -0
  306. package/dist/monitorData-BvAMeOrp.js +319 -0
  307. package/dist/monitorData-CzPVIk_4.cjs +1 -0
  308. package/dist/monitorSpeedChart-0bDuU3Kj.js +603 -0
  309. package/dist/monitorSpeedChart-C52QjA5K.cjs +16 -0
  310. package/dist/mxa-BW80xKCc.js +143 -0
  311. package/dist/mxa-eLAgZPMC.cjs +2 -0
  312. package/dist/no-image-icon-CPA7RKkF.cjs +1 -0
  313. package/dist/no-image-icon-n2ZlEjxS.js +1864 -0
  314. package/dist/objectList-Cf9GMyXN.js +1809 -0
  315. package/dist/objectList-CpqQxG8L.cjs +1 -0
  316. package/dist/params-3W3p8QeC.cjs +1 -0
  317. package/dist/params-DfgBemk0.js +75 -0
  318. package/dist/photo-BODEtaYh.cjs +1 -0
  319. package/dist/photo-BfLkWAo8.js +256 -0
  320. package/dist/pie-BDLg-Rls.js +199 -0
  321. package/dist/pie-DxoBrm0D.cjs +2 -0
  322. package/dist/points-DcRmizmA.cjs +1 -0
  323. package/dist/points-DkG9FRF9.js +277 -0
  324. package/dist/pressBtn-CXG1eSWC.js +242 -0
  325. package/dist/pressBtn-t0g4vk7s.cjs +1 -0
  326. package/dist/progressBar-BXaFKSCq.js +130 -0
  327. package/dist/progressBar-CJEWkZ42.cjs +1 -0
  328. package/dist/progressCircle-DpOI5D5z.js +168 -0
  329. package/dist/progressCircle-uQ7vaMKM.cjs +1 -0
  330. package/dist/qrcode-CX8aymYZ.js +814 -0
  331. package/dist/qrcode-DHCRfp0M.cjs +1 -0
  332. package/dist/raceBar-Cv0-0ogd.cjs +4 -0
  333. package/dist/raceBar-DFaH342G.js +197 -0
  334. package/dist/rad-CFswUTwi.cjs +1 -0
  335. package/dist/rad-NS2G_nMg.js +143 -0
  336. package/dist/rainfallFilterBar-BI45QvJm.cjs +1 -0
  337. package/dist/rainfallFilterBar-D_Ye_NeB.js +221 -0
  338. package/dist/rainfallTimeCurve-BHWqX47Q.js +443 -0
  339. package/dist/rainfallTimeCurve-Ke1JvSWq.cjs +1 -0
  340. package/dist/rangeLin-D6VZ2U3C.cjs +3 -0
  341. package/dist/rangeLin-GMYEgLeP.js +278 -0
  342. package/dist/request-BD0x5Hkt.js +75 -0
  343. package/dist/request-Bn100qAJ.cjs +1 -0
  344. package/dist/retainer1-D2XmjXYH.cjs +1 -0
  345. package/dist/retainer1-h-Whr2c9.js +290 -0
  346. package/dist/retainer2-ByQdiRjq.js +504 -0
  347. package/dist/retainer2-cF-trL2g.cjs +1 -0
  348. package/dist/riskRegionTable-CQxAkG7k.js +170 -0
  349. package/dist/riskRegionTable-cKnxra4_.cjs +1 -0
  350. package/dist/sankey-Bk1IcVJQ.js +171 -0
  351. package/dist/sankey-MRirEgU0.cjs +1 -0
  352. package/dist/sausage-DRCw7Qmr.cjs +1 -0
  353. package/dist/sausage-xU3hOdxD.js +30 -0
  354. package/dist/scd-BDRpzmsa.js +2577 -0
  355. package/dist/scd-J-mN3eI5.cjs +1 -0
  356. package/dist/sectorHelper-BFEnYqut.cjs +1 -0
  357. package/dist/sectorHelper-DIlWFMnU.js +18 -0
  358. package/dist/sideMenu-BgTMtnMq.js +225 -0
  359. package/dist/sideMenu-l8X2E00H.cjs +1 -0
  360. package/dist/slopeStability-BPf7m0fJ.cjs +1 -0
  361. package/dist/slopeStability-C5RqZ1im.js +331 -0
  362. package/dist/speedCurve-C3pK-zZy.js +394 -0
  363. package/dist/speedCurve-CluwNAZl.cjs +1 -0
  364. package/dist/staticLine-C6tGGXcN.cjs +1 -0
  365. package/dist/staticLine-DXWOLj15.js +362 -0
  366. package/dist/store-BJW2NQkK.cjs +5 -0
  367. package/dist/store-DzDtVfSX.js +1673 -0
  368. package/dist/swiper-DGqDoUkX.cjs +1 -0
  369. package/dist/swiper-IMlGje3t.js +128 -0
  370. package/dist/terminalConfigList-D6xDHsnb.cjs +1 -0
  371. package/dist/terminalConfigList-SAyXi-BK.js +1017 -0
  372. package/dist/terminalList-CjSHshiR.js +1211 -0
  373. package/dist/terminalList-ml2C18MY.cjs +1 -0
  374. package/dist/textbox-AQtCe25j.cjs +1 -0
  375. package/dist/textbox-BLV-SY8e.js +172 -0
  376. package/dist/three.module-DNVo041Q.cjs +3824 -0
  377. package/dist/three.module-DcOQNgKS.js +16561 -0
  378. package/dist/timeQueryBar-BeMu_DYr.js +155 -0
  379. package/dist/timeQueryBar-BuKakMy8.cjs +1 -0
  380. package/dist/timeSeries-DP5iZKVM.js +587 -0
  381. package/dist/timeSeries-DfGgFWiF.cjs +4 -0
  382. package/dist/timeSeriesCurve-B0Mw6eNK.cjs +1 -0
  383. package/dist/timeSeriesCurve-BSgtPqYw.js +463 -0
  384. package/dist/titleStyle-BT5GlpAb.js +49 -0
  385. package/dist/titleStyle-NSnz6cUg.cjs +1 -0
  386. package/dist/toggleBtn-Dh64vVWo.cjs +1 -0
  387. package/dist/toggleBtn-O2Y75Uen.js +249 -0
  388. package/dist/trajectoryConfigPanel--C1h3tK6.js +635 -0
  389. package/dist/trajectoryConfigPanel-P_Qa4omj.cjs +1 -0
  390. package/dist/trajectoryScatter-BbpbgNb8.cjs +1 -0
  391. package/dist/trajectoryScatter-VLrmImlq.js +525 -0
  392. package/dist/universalConfigPanel-C0lDSzOB.cjs +1 -0
  393. package/dist/universalConfigPanel-DBg76b4F.js +477 -0
  394. package/dist/universalTable-Bzq9VqzA.cjs +2 -0
  395. package/dist/universalTable-DGK02ywi.js +410 -0
  396. package/dist/universalTransition-Bv7ibBUh.js +988 -0
  397. package/dist/universalTransition-CIN_u2Cu.cjs +1 -0
  398. package/dist/video-CyRoSQf1.cjs +1 -0
  399. package/dist/video-DCzzaEmV.js +310 -0
  400. package/dist/videoMonitor-BjD-ZFS0.cjs +1 -0
  401. package/dist/videoMonitor-ByaQeIWR.js +241 -0
  402. package/dist/vlu-CYZjYHaV.cjs +1 -0
  403. package/dist/vlu-h-9twmCr.js +100 -0
  404. package/dist/vue-i18n-5Nahpzrm.js +2732 -0
  405. package/dist/vue-i18n-BvHMBi_b.cjs +5 -0
  406. package/dist/weather-B7B5E1EJ.cjs +1 -0
  407. package/dist/weather-C_aC0XJ1.js +94 -0
  408. package/dist/windLin-B7V4NUV8.js +1226 -0
  409. package/dist/windLin-DPNzX7JN.cjs +1 -0
  410. package/package.json +17 -10
  411. package/dist/history-fvcbbxGa.cjs +0 -1
  412. package/dist/index-B-aA7889.js +0 -154003
  413. package/dist/index-CdJ-j9Gj.cjs +0 -8893
@@ -0,0 +1,345 @@
1
+ var n3 = Object.defineProperty, l3 = Object.defineProperties;
2
+ var i3 = Object.getOwnPropertyDescriptors;
3
+ var B = Object.getOwnPropertySymbols;
4
+ var o3 = Object.prototype.hasOwnProperty, s3 = Object.prototype.propertyIsEnumerable;
5
+ var H = (f, a, v) => a in f ? n3(f, a, { enumerable: !0, configurable: !0, writable: !0, value: v }) : f[a] = v, D = (f, a) => {
6
+ for (var v in a || (a = {}))
7
+ o3.call(a, v) && H(f, v, a[v]);
8
+ if (B)
9
+ for (var v of B(a))
10
+ s3.call(a, v) && H(f, v, a[v]);
11
+ return f;
12
+ }, E = (f, a) => l3(f, i3(a));
13
+ import { ElSelect as a3, ElOption as r3, ElButton as c3, ElIcon as u3 } from "element-plus/es";
14
+ import "element-plus/es/components/base/style/css";
15
+ import "element-plus/es/components/button/style/css";
16
+ import "element-plus/es/components/icon/style/css";
17
+ import "element-plus/es/components/select/style/css";
18
+ import "element-plus/es/components/option/style/css";
19
+ import { defineComponent as d3, ref as U, computed as N, watch as P, watchEffect as p3, onMounted as m3, openBlock as b, createElementBlock as A, normalizeStyle as G, unref as O, toDisplayString as h3, createCommentVNode as f3, createElementVNode as F, createVNode as V, withCtx as z, Fragment as v3, renderList as g3, createBlock as L3, createTextVNode as C3, renderSlot as S3, nextTick as W } from "vue";
20
+ import { Download as x3 } from "@element-plus/icons-vue";
21
+ import { d as X, i as y3 } from "./element-resize-detector-DJcsrJ8s.js";
22
+ import { u as _3, _ as k3 } from "./index-kShjySl9.js";
23
+ import { E as O3 } from "./EChartComponentBase-BQOhWkz2.js";
24
+ import { g as w3 } from "./titleStyle-BT5GlpAb.js";
25
+ import { i as b3 } from "./install-BBrAry2m.js";
26
+ import { u as V3, i as T3, a as D3 } from "./installCanvasRenderer-CLT2hquJ.js";
27
+ import { i as E3 } from "./install-hfre7yvV.js";
28
+ import { i as N3 } from "./install-8XfFtnlL.js";
29
+ const A3 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='16px'%20height='17px'%20viewBox='0%200%2016%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e趋势%3c/title%3e%3cg%20id='页面-2'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='轮廓化'%20transform='translate(-299.000000,%20-723.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M313.60741,723.132248%20C314.376525,723.132248%20315,723.755729%20315,724.524838%20L315,724.524838%20L315,737.73953%20C315,738.508647%20314.376527,739.13212%20313.60741,739.13212%20L313.60741,739.13212%20L300.392953,739.13212%20C299.623869,739.13212%20299.000384,738.508663%20299.000363,737.739585%20L299.000363,737.739585%20L299,724.524856%20C299,723.755744%20299.623475,723.132248%20300.39259,723.132248%20L300.39259,723.132248%20Z%20M302.67,728.130248%20L300.316,728.132248%20L300.317244,737.739549%20C300.317245,737.770894%20300.336313,737.797797%20300.363485,737.80929%20L300.392953,737.815239%20L302.67,737.814248%20L302.67,728.130248%20Z%20M313.682,728.120248%20L303.987,728.129248%20L303.987,737.814248%20L313.60741,737.815239%20C313.638778,737.815239%20313.665681,737.796179%20313.677171,737.769004%20L313.683119,737.73953%20L313.683,728.944248%20L313.682972,728.929735%20L313.682,728.120248%20Z%20M310.871101,729.12887%20L310.952715,729.198297%20L312.604552,730.850134%20C312.861689,731.107271%20312.861689,731.524172%20312.604552,731.781309%20C312.373129,732.012732%20312.012296,732.035875%20311.754991,731.850736%20L311.673377,731.781309%20L311.145,731.253248%20L311.145752,734.805978%20C311.145752,735.139321%20310.898043,735.414808%20310.576658,735.458408%20L310.487311,735.464419%20L307.124,735.464248%20L307.649042,735.98918%20C307.906179,736.246317%20307.906179,736.663219%20307.649042,736.920356%20C307.417619,737.151779%20307.056787,737.174921%20306.799482,736.989783%20L306.717867,736.920356%20L305.066031,735.268519%20L305.054021,735.255814%20C305.041374,735.242301%20305.029291,735.228255%20305.017807,735.213713%20L305.066031,735.268519%20C305.034539,735.237027%20305.006903,735.203139%20304.983125,735.167441%20C304.9807,735.16179%20304.977592,735.156913%20304.974547,735.151993%20C304.832434,734.927859%20304.840126,734.636431%20304.996604,734.418958%20L305.066031,734.337344%20L306.717867,732.685507%20C306.975004,732.428371%20307.391905,732.428371%20307.649042,732.685507%20C307.880466,732.916931%20307.903608,733.277763%20307.718469,733.535068%20L307.649042,733.616683%20L307.117,734.147248%20L309.828389,734.1469%20L309.828,731.252248%20L309.300879,731.781309%20C309.043742,732.038446%20308.626841,732.038446%20308.369704,731.781309%20C308.13828,731.549886%20308.115138,731.189053%20308.300277,730.931748%20L308.369704,730.850134%20L310.02154,729.198297%20C310.252963,728.966874%20310.613796,728.943732%20310.871101,729.12887%20Z%20M313.60741,724.449129%20L300.39259,724.449129%20C300.350778,724.449129%20300.316881,724.483027%20300.316881,724.524838%20L300.316881,724.524838%20L300.316,726.815248%20L313.682,726.803248%20L313.682972,725.258988%20L313.683,725.246248%20L313.683119,724.524838%20C313.683119,724.493474%20313.664056,724.46657%20313.636882,724.455078%20L313.60741,724.449129%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", F3 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='16px'%20height='17px'%20viewBox='0%200%2016%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e趋势%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='显示板图标-轮廓化备份'%20transform='translate(-299.000000,%20-723.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M313.60741,723.132248%20C314.376525,723.132248%20315,723.755729%20315,724.524838%20L315,724.524838%20L315,737.73953%20C315,738.508647%20314.376527,739.13212%20313.60741,739.13212%20L313.60741,739.13212%20L300.392953,739.13212%20C299.623869,739.13212%20299.000384,738.508663%20299.000363,737.739585%20L299.000363,737.739585%20L299,724.524856%20C299,723.755744%20299.623475,723.132248%20300.39259,723.132248%20L300.39259,723.132248%20Z%20M302.67,728.130248%20L300.316,728.132248%20L300.317244,737.739549%20C300.317245,737.770894%20300.336313,737.797797%20300.363485,737.80929%20L300.392953,737.815239%20L302.67,737.814248%20L302.67,728.130248%20Z%20M313.682,728.120248%20L303.987,728.129248%20L303.987,737.814248%20L313.60741,737.815239%20C313.638778,737.815239%20313.665681,737.796179%20313.677171,737.769004%20L313.683119,737.73953%20L313.683,728.944248%20L313.682972,728.929735%20L313.682,728.120248%20Z%20M310.871101,729.12887%20L310.952715,729.198297%20L312.604552,730.850134%20C312.861689,731.107271%20312.861689,731.524172%20312.604552,731.781309%20C312.373129,732.012732%20312.012296,732.035875%20311.754991,731.850736%20L311.673377,731.781309%20L311.145,731.253248%20L311.145752,734.805978%20C311.145752,735.139321%20310.898043,735.414808%20310.576658,735.458408%20L310.487311,735.464419%20L307.124,735.464248%20L307.649042,735.98918%20C307.906179,736.246317%20307.906179,736.663219%20307.649042,736.920356%20C307.417619,737.151779%20307.056787,737.174921%20306.799482,736.989783%20L306.717867,736.920356%20L305.066031,735.268519%20L305.054021,735.255814%20C305.041374,735.242301%20305.029291,735.228255%20305.017807,735.213713%20L305.066031,735.268519%20C305.034539,735.237027%20305.006903,735.203139%20304.983125,735.167441%20C304.9807,735.16179%20304.977592,735.156913%20304.974547,735.151993%20C304.832434,734.927859%20304.840126,734.636431%20304.996604,734.418958%20L305.066031,734.337344%20L306.717867,732.685507%20C306.975004,732.428371%20307.391905,732.428371%20307.649042,732.685507%20C307.880466,732.916931%20307.903608,733.277763%20307.718469,733.535068%20L307.649042,733.616683%20L307.117,734.147248%20L309.828389,734.1469%20L309.828,731.252248%20L309.300879,731.781309%20C309.043742,732.038446%20308.626841,732.038446%20308.369704,731.781309%20C308.13828,731.549886%20308.115138,731.189053%20308.300277,730.931748%20L308.369704,730.850134%20L310.02154,729.198297%20C310.252963,728.966874%20310.613796,728.943732%20310.871101,729.12887%20Z%20M313.60741,724.449129%20L300.39259,724.449129%20C300.350778,724.449129%20300.316881,724.483027%20300.316881,724.524838%20L300.316881,724.524838%20L300.316,726.815248%20L313.682,726.803248%20L313.682972,725.258988%20L313.683,725.246248%20L313.683119,724.524838%20C313.683119,724.493474%20313.664056,724.46657%20313.636882,724.455078%20L313.60741,724.449129%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", z3 = { class: "mix-body" }, I3 = { class: "toolbar" }, M3 = ["id"], $3 = {
30
+ DEFAULT_ICON: A3,
31
+ ACTIVE_ICON: F3,
32
+ NAME_CN: "深部趋势图",
33
+ NAME_EN: "DeepTrendChart",
34
+ ORDER: 21
35
+ }, R3 = {
36
+ titleColor: "#111",
37
+ textColor: "#111",
38
+ bgColor: "#fff",
39
+ radiusSize: 8,
40
+ textSize: 12,
41
+ isHideTitle: !1,
42
+ top: 56,
43
+ bottom: 52,
44
+ left: 64,
45
+ right: 36,
46
+ xName: { value: "位移量", type: "string", label: "X轴名称" },
47
+ yName: { value: "高程(m)", type: "string", label: "Y轴名称" },
48
+ // 联动频道配置
49
+ linkChannel: {
50
+ value: "deepDisplacement",
51
+ type: "select",
52
+ label: "component.linkChannel",
53
+ options: [
54
+ { label: "component.linkChannelOptions.deepDisplacement", value: "deepDisplacement" },
55
+ { label: "component.linkChannelOptions.gnss", value: "gnss" },
56
+ { label: "component.linkChannelOptions.slope", value: "slope" },
57
+ { label: "component.linkChannelOptions.device", value: "device" },
58
+ { label: "component.linkChannelOptions.alarm", value: "alarm" },
59
+ { label: "component.linkChannelOptions.custom", value: "custom" }
60
+ ]
61
+ },
62
+ customChannel: {
63
+ value: "",
64
+ type: "string",
65
+ label: "component.customChannel",
66
+ showWhen: { linkChannel: "custom" }
67
+ }
68
+ }, Y = [
69
+ { name: "累计位移", fv: "disp_130", depth: -130, color: "#5470c6", object_id: "" },
70
+ { name: "累计位移", fv: "disp_140", depth: -140, color: "#5470c6", object_id: "" }
71
+ ], Z3 = ["name", "fv", "depth", "color", "object_id"], B3 = ["mosaic", "statistics", "calculate", "statisticsRealtime", "calculateRealtime"], H3 = { useAlias: !1, multiObject: !0, source: "mosaic" }, U3 = { DEFAULT: $3, OPTIONS: R3, DATA: Y, PARAMS: Z3, SOURCE: B3, COMMON: H3 }, P3 = /* @__PURE__ */ d3(E(D({}, U3), {
72
+ __name: "deepTrendChart",
73
+ props: {
74
+ conf: { type: Object, default: () => ({ data: [] }) },
75
+ uid: { type: String, default: "" },
76
+ mode: { type: String, default: "edit" },
77
+ theme: { type: String, default: "light" }
78
+ },
79
+ setup(f) {
80
+ V3([b3, T3, E3, D3, N3]);
81
+ const a = f, v = _3(), c = U([]), m = U("");
82
+ class q extends O3 {
83
+ extractStyles() {
84
+ const n = this.getOptionValue("linkChannel", "deepDisplacement"), t = this.getOptionValue("customChannel", ""), o = n === "custom" && t ? t : n;
85
+ return {
86
+ bgColor: this.getOptionValue("bgColor", "#fff"),
87
+ titleColor: this.getOptionValue("titleColor", "#111"),
88
+ textColor: this.getOptionValue("textColor", "#111"),
89
+ radiusSize: this.getOptionValue("radiusSize", 8),
90
+ textSize: this.getOptionValue("textSize", 12),
91
+ isHideTitle: this.getOptionValue("isHideTitle", !1),
92
+ top: this.getOptionValue("top", 56),
93
+ bottom: this.getOptionValue("bottom", 52),
94
+ left: this.getOptionValue("left", 64),
95
+ right: this.getOptionValue("right", 36),
96
+ xName: this.getOptionValue("xName", "位移量"),
97
+ yName: this.getOptionValue("yName", "高程(m)"),
98
+ linkChannel: o
99
+ };
100
+ }
101
+ init() {
102
+ var n;
103
+ this.Style.value = this.extractStyles(), this.applyTheme(), (n = this.props.conf.data) != null && n.length || (this.props.conf.data = Y), W(() => this.initChart());
104
+ }
105
+ setHistoryData(n) {
106
+ R(n);
107
+ }
108
+ setSocketData(n) {
109
+ n && R(n);
110
+ }
111
+ onLinkEvent(n) {
112
+ $(n);
113
+ }
114
+ getChartOption() {
115
+ var o;
116
+ const n = j.value, t = ((o = a.conf) == null ? void 0 : o.data) || [];
117
+ return {
118
+ grid: {
119
+ top: this.Style.value.top,
120
+ bottom: this.Style.value.bottom,
121
+ left: this.Style.value.left,
122
+ right: this.Style.value.right,
123
+ containLabel: !0
124
+ },
125
+ legend: {
126
+ top: 4,
127
+ textStyle: { color: this.Style.value.textColor }
128
+ },
129
+ tooltip: {
130
+ trigger: "item",
131
+ formatter: (l) => {
132
+ var i, r, u, s;
133
+ return `位移量: ${(r = (i = l == null ? void 0 : l.value) == null ? void 0 : i[0]) != null ? r : "-"}<br/>高程: ${(s = (u = l == null ? void 0 : l.value) == null ? void 0 : u[1]) != null ? s : "-"}m`;
134
+ }
135
+ },
136
+ xAxis: {
137
+ type: "value",
138
+ name: this.Style.value.xName,
139
+ nameLocation: "middle",
140
+ nameGap: 28,
141
+ axisLabel: { color: this.Style.value.textColor, fontSize: this.Style.value.textSize },
142
+ splitLine: { lineStyle: { color: "#f0f0f0" } }
143
+ },
144
+ yAxis: {
145
+ type: "value",
146
+ name: this.Style.value.yName,
147
+ axisLabel: { color: this.Style.value.textColor, fontSize: this.Style.value.textSize },
148
+ splitLine: { lineStyle: { color: "#f0f0f0" } }
149
+ },
150
+ series: t.map((l, i) => {
151
+ const r = (l == null ? void 0 : l.fv) || `v${i}`, u = ((n == null ? void 0 : n.points) || []).map((s) => {
152
+ var g;
153
+ const p = Number(s == null ? void 0 : s[r]), h = Number((g = s == null ? void 0 : s.elevation) != null ? g : s == null ? void 0 : s.depth);
154
+ return !Number.isFinite(p) || !Number.isFinite(h) ? null : [p, h];
155
+ }).filter(Boolean).sort((s, p) => s[1] - p[1]);
156
+ return {
157
+ name: (l == null ? void 0 : l.name) || `序列${i + 1}`,
158
+ type: "line",
159
+ data: u,
160
+ showSymbol: !0,
161
+ symbolSize: 6,
162
+ lineStyle: { color: (l == null ? void 0 : l.color) || "#5470c6", width: 2 },
163
+ itemStyle: { color: (l == null ? void 0 : l.color) || "#5470c6" }
164
+ };
165
+ })
166
+ };
167
+ }
168
+ }
169
+ const C = new q(a, "deepTrendChart"), J = C.getEchartId();
170
+ C.setupLifecycle();
171
+ const w = C.getStyle(), K = N(() => w3(a.conf.options)), Q = N(() => c.value.map((e) => e.time)), j = N(() => {
172
+ const e = m.value;
173
+ return c.value.find((n) => n.time === e) || c.value[c.value.length - 1] || null;
174
+ }), L = () => {
175
+ W(() => {
176
+ const e = C.getChartInstance();
177
+ e && e.setOption(C.getChartOption(), !0);
178
+ });
179
+ }, e3 = () => L(), t3 = () => {
180
+ const e = C.getChartInstance();
181
+ if (!e) return;
182
+ const n = e.getDataURL({ type: "png", pixelRatio: 2, backgroundColor: "#fff" }), t = document.createElement("a");
183
+ t.href = n, t.download = `deep-trend-${m.value || Date.now()}.png`, t.click();
184
+ }, I = () => {
185
+ var o, l, i;
186
+ const e = ((o = a.conf) == null ? void 0 : o.options) || {}, n = ((l = e == null ? void 0 : e.linkChannel) == null ? void 0 : l.value) || w.value.linkChannel || "deepDisplacement", t = ((i = e == null ? void 0 : e.customChannel) == null ? void 0 : i.value) || "";
187
+ return n === "custom" && t ? t : n;
188
+ }, T = (e, n, t = "points") => {
189
+ const o = e == null ? void 0 : e[t];
190
+ if (Array.isArray(o) && o.length) return o;
191
+ const l = {};
192
+ let i = !1;
193
+ return n.forEach((r) => {
194
+ var h;
195
+ const u = r == null ? void 0 : r.fv;
196
+ if (!u) return;
197
+ const s = e == null ? void 0 : e[u];
198
+ s != null && (l[u] = s, i = !0);
199
+ const p = (h = e == null ? void 0 : e.elevation) != null ? h : e == null ? void 0 : e.depth;
200
+ p != null && (l.elevation = p, l.depth = p);
201
+ }), i ? [l] : [];
202
+ }, M = (e) => {
203
+ var i;
204
+ const n = ((i = a.conf) == null ? void 0 : i.data) || [], o = (n[0] || {}).points_fv || "points", l = [];
205
+ return e.forEach((r, u) => {
206
+ var g, S;
207
+ const s = (r == null ? void 0 : r[0]) || r || {}, p = String((S = (g = s == null ? void 0 : s.time) != null ? g : s == null ? void 0 : s.datetime) != null ? S : u), h = T(s, n, o);
208
+ h.length && l.push({ time: p, points: h });
209
+ }), l;
210
+ }, $ = (e) => {
211
+ var h, g, S, x, y, _, k;
212
+ if (a.mode === "edit" || !e || !e.payload) return;
213
+ const n = I();
214
+ if ((h = e.topic) != null && h.channel && n && e.topic.channel !== n || !v.shouldHandle(e, "deepTrendChart")) return;
215
+ const t = e.payload;
216
+ if ((t == null ? void 0 : t.type) === "filter") {
217
+ const d = t.timeRange || t.dateRange || t.timeRangeValue;
218
+ if ((g = t.selectedTimes) != null && g.length) {
219
+ m.value = String(t.selectedTimes[t.selectedTimes.length - 1]), L();
220
+ return;
221
+ }
222
+ if (Array.isArray(d) && d.length) {
223
+ m.value = String(d[d.length - 1]), L();
224
+ return;
225
+ }
226
+ if (d != null && d.endDate || d != null && d.end) {
227
+ m.value = String(d.endDate || d.end), L();
228
+ return;
229
+ }
230
+ return;
231
+ }
232
+ const o = a.conf, l = (o == null ? void 0 : o.data) || [], i = (o == null ? void 0 : o.common) || {};
233
+ if (l.length > 0 && !(i != null && i.multiObject)) {
234
+ const d = X(i, i == null ? void 0 : i.useAlias, a.uid) || ((S = l[0]) == null ? void 0 : S.object_id), Z = (t == null ? void 0 : t.objectId) || (t == null ? void 0 : t.object_id);
235
+ if (d && Z && String(d) !== String(Z)) return;
236
+ }
237
+ if (Array.isArray(t == null ? void 0 : t.history)) {
238
+ c.value = M(t.history), c.value.length && (m.value = c.value[c.value.length - 1].time), L();
239
+ return;
240
+ }
241
+ const u = (l[0] || {}).points_fv || "points", s = String((k = (_ = (x = t == null ? void 0 : t.time) != null ? x : t == null ? void 0 : t.datetime) != null ? _ : (y = e.topic) == null ? void 0 : y.time) != null ? k : Date.now()), p = T(t, l, u);
242
+ p.length && (c.value = [...c.value.slice(-49), { time: s, points: p }], m.value = s, L());
243
+ }, R = (e) => {
244
+ var S, x, y, _, k, d;
245
+ const n = a.conf, t = (n == null ? void 0 : n.data) || [], o = (n == null ? void 0 : n.common) || {}, l = (o == null ? void 0 : o.source) || "mosaic";
246
+ let i = e;
247
+ if (["statistics", "calculate"].includes(l) && (i = y3(i, t)), (S = i == null ? void 0 : i.history) != null && S.length) {
248
+ c.value = M(i.history), c.value.length && (m.value = c.value[c.value.length - 1].time), L();
249
+ return;
250
+ }
251
+ const r = o != null && o.multiObject ? "" : X(o, o == null ? void 0 : o.useAlias, a.uid), u = r && ((y = (x = i == null ? void 0 : i[r]) == null ? void 0 : x[l]) == null ? void 0 : y.data) || ((_ = i == null ? void 0 : i[l]) == null ? void 0 : _.data) || (i == null ? void 0 : i.data) || i, p = (t[0] || {}).points_fv || "points", h = String((d = (k = u == null ? void 0 : u.time) != null ? k : u == null ? void 0 : u.datetime) != null ? d : Date.now()), g = T(u, t, p);
252
+ g.length && (c.value = [...c.value.slice(-49), { time: h, points: g }], m.value = h, L());
253
+ };
254
+ return P(
255
+ () => v.channels[I()],
256
+ (e) => {
257
+ e && $(e);
258
+ },
259
+ { deep: !0 }
260
+ ), p3(() => {
261
+ a.conf.socketData && C.setSocketData(a.conf.socketData);
262
+ }), P(
263
+ () => {
264
+ var e;
265
+ return (e = a.conf) == null ? void 0 : e.options;
266
+ },
267
+ () => {
268
+ C.getStyle().value = C.extractStyles(), L();
269
+ },
270
+ { deep: !0 }
271
+ ), m3(() => {
272
+ if (a.mode === "edit" && !c.value.length) {
273
+ const e = [
274
+ { elevation: 1024.94, disp: 0, relative_disp: -1 },
275
+ { elevation: 994.94, disp: 3, relative_disp: 0 },
276
+ { elevation: 964.94, disp: 6, relative_disp: 1 },
277
+ { elevation: 934.94, disp: 9, relative_disp: 2 },
278
+ { elevation: 904.94, disp: 12, relative_disp: 3 }
279
+ ];
280
+ c.value = [
281
+ { time: "2026-01-20 15:29:59", points: e },
282
+ { time: "2026-01-20 16:29:59", points: e.map((n) => E(D({}, n), { disp: n.disp + 1 })) }
283
+ ], m.value = c.value[0].time;
284
+ }
285
+ !m.value && c.value.length && (m.value = c.value[c.value.length - 1].time), L();
286
+ }), (e, n) => {
287
+ const t = r3, o = a3, l = u3, i = c3;
288
+ return b(), A("div", {
289
+ class: "mix-component",
290
+ style: G({ background: O(w).bgColor, borderRadius: `${O(w).radiusSize}px` })
291
+ }, [
292
+ O(w).isHideTitle ? f3("", !0) : (b(), A("div", {
293
+ key: 0,
294
+ class: "mix-title",
295
+ style: G(K.value)
296
+ }, h3(f.conf.caption || f.conf.name), 5)),
297
+ F("div", z3, [
298
+ F("div", I3, [
299
+ V(o, {
300
+ modelValue: m.value,
301
+ "onUpdate:modelValue": n[0] || (n[0] = (r) => m.value = r),
302
+ placeholder: "选择时间",
303
+ size: "small",
304
+ class: "time-select",
305
+ onChange: e3
306
+ }, {
307
+ default: z(() => [
308
+ (b(!0), A(v3, null, g3(Q.value, (r) => (b(), L3(t, {
309
+ key: r,
310
+ label: r,
311
+ value: r
312
+ }, null, 8, ["label", "value"]))), 128))
313
+ ]),
314
+ _: 1
315
+ }, 8, ["modelValue"]),
316
+ V(i, {
317
+ size: "small",
318
+ class: "export-btn",
319
+ onClick: t3
320
+ }, {
321
+ default: z(() => [
322
+ V(l, null, {
323
+ default: z(() => [
324
+ V(O(x3))
325
+ ]),
326
+ _: 1
327
+ }),
328
+ n[1] || (n[1] = C3(" 导出图 ", -1))
329
+ ]),
330
+ _: 1
331
+ })
332
+ ]),
333
+ F("div", {
334
+ class: "echart-container",
335
+ id: O(J)
336
+ }, null, 8, M3)
337
+ ]),
338
+ S3(e.$slots, "default", {}, void 0, !0)
339
+ ], 4);
340
+ };
341
+ }
342
+ })), r0 = /* @__PURE__ */ k3(P3, [["__scopeId", "data-v-628a2d7c"]]);
343
+ export {
344
+ r0 as default
345
+ };
@@ -0,0 +1 @@
1
+ "use strict";var Y=Object.defineProperty,J=Object.defineProperties;var K=Object.getOwnPropertyDescriptors;var q=Object.getOwnPropertySymbols;var Q=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable;var B=(f,r,g)=>r in f?Y(f,r,{enumerable:!0,configurable:!0,writable:!0,value:g}):f[r]=g,N=(f,r)=>{for(var g in r||(r={}))Q.call(r,g)&&B(f,g,r[g]);if(q)for(var g of q(r))j.call(r,g)&&B(f,g,r[g]);return f},E=(f,r)=>J(f,K(r));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 l=require("vue"),e3=require("@element-plus/icons-vue"),T=require("./element-resize-detector-Bo5uDQAu.cjs"),R=require("./index-Mh5Dw2sd.cjs"),t3=require("./EChartComponentBase-BaQpBzVC.cjs"),n3=require("./titleStyle-NSnz6cUg.cjs"),l3=require("./install-C8buXQPI.cjs"),D=require("./installCanvasRenderer-CyhM1Qpl.cjs"),i3=require("./install-CltTFs4e.cjs"),o3=require("./install-CYwVETsi.cjs"),s3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='16px'%20height='17px'%20viewBox='0%200%2016%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e趋势%3c/title%3e%3cg%20id='页面-2'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='轮廓化'%20transform='translate(-299.000000,%20-723.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M313.60741,723.132248%20C314.376525,723.132248%20315,723.755729%20315,724.524838%20L315,724.524838%20L315,737.73953%20C315,738.508647%20314.376527,739.13212%20313.60741,739.13212%20L313.60741,739.13212%20L300.392953,739.13212%20C299.623869,739.13212%20299.000384,738.508663%20299.000363,737.739585%20L299.000363,737.739585%20L299,724.524856%20C299,723.755744%20299.623475,723.132248%20300.39259,723.132248%20L300.39259,723.132248%20Z%20M302.67,728.130248%20L300.316,728.132248%20L300.317244,737.739549%20C300.317245,737.770894%20300.336313,737.797797%20300.363485,737.80929%20L300.392953,737.815239%20L302.67,737.814248%20L302.67,728.130248%20Z%20M313.682,728.120248%20L303.987,728.129248%20L303.987,737.814248%20L313.60741,737.815239%20C313.638778,737.815239%20313.665681,737.796179%20313.677171,737.769004%20L313.683119,737.73953%20L313.683,728.944248%20L313.682972,728.929735%20L313.682,728.120248%20Z%20M310.871101,729.12887%20L310.952715,729.198297%20L312.604552,730.850134%20C312.861689,731.107271%20312.861689,731.524172%20312.604552,731.781309%20C312.373129,732.012732%20312.012296,732.035875%20311.754991,731.850736%20L311.673377,731.781309%20L311.145,731.253248%20L311.145752,734.805978%20C311.145752,735.139321%20310.898043,735.414808%20310.576658,735.458408%20L310.487311,735.464419%20L307.124,735.464248%20L307.649042,735.98918%20C307.906179,736.246317%20307.906179,736.663219%20307.649042,736.920356%20C307.417619,737.151779%20307.056787,737.174921%20306.799482,736.989783%20L306.717867,736.920356%20L305.066031,735.268519%20L305.054021,735.255814%20C305.041374,735.242301%20305.029291,735.228255%20305.017807,735.213713%20L305.066031,735.268519%20C305.034539,735.237027%20305.006903,735.203139%20304.983125,735.167441%20C304.9807,735.16179%20304.977592,735.156913%20304.974547,735.151993%20C304.832434,734.927859%20304.840126,734.636431%20304.996604,734.418958%20L305.066031,734.337344%20L306.717867,732.685507%20C306.975004,732.428371%20307.391905,732.428371%20307.649042,732.685507%20C307.880466,732.916931%20307.903608,733.277763%20307.718469,733.535068%20L307.649042,733.616683%20L307.117,734.147248%20L309.828389,734.1469%20L309.828,731.252248%20L309.300879,731.781309%20C309.043742,732.038446%20308.626841,732.038446%20308.369704,731.781309%20C308.13828,731.549886%20308.115138,731.189053%20308.300277,730.931748%20L308.369704,730.850134%20L310.02154,729.198297%20C310.252963,728.966874%20310.613796,728.943732%20310.871101,729.12887%20Z%20M313.60741,724.449129%20L300.39259,724.449129%20C300.350778,724.449129%20300.316881,724.483027%20300.316881,724.524838%20L300.316881,724.524838%20L300.316,726.815248%20L313.682,726.803248%20L313.682972,725.258988%20L313.683,725.246248%20L313.683119,724.524838%20C313.683119,724.493474%20313.664056,724.46657%20313.636882,724.455078%20L313.60741,724.449129%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",a3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='16px'%20height='17px'%20viewBox='0%200%2016%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e趋势%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='显示板图标-轮廓化备份'%20transform='translate(-299.000000,%20-723.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M313.60741,723.132248%20C314.376525,723.132248%20315,723.755729%20315,724.524838%20L315,724.524838%20L315,737.73953%20C315,738.508647%20314.376527,739.13212%20313.60741,739.13212%20L313.60741,739.13212%20L300.392953,739.13212%20C299.623869,739.13212%20299.000384,738.508663%20299.000363,737.739585%20L299.000363,737.739585%20L299,724.524856%20C299,723.755744%20299.623475,723.132248%20300.39259,723.132248%20L300.39259,723.132248%20Z%20M302.67,728.130248%20L300.316,728.132248%20L300.317244,737.739549%20C300.317245,737.770894%20300.336313,737.797797%20300.363485,737.80929%20L300.392953,737.815239%20L302.67,737.814248%20L302.67,728.130248%20Z%20M313.682,728.120248%20L303.987,728.129248%20L303.987,737.814248%20L313.60741,737.815239%20C313.638778,737.815239%20313.665681,737.796179%20313.677171,737.769004%20L313.683119,737.73953%20L313.683,728.944248%20L313.682972,728.929735%20L313.682,728.120248%20Z%20M310.871101,729.12887%20L310.952715,729.198297%20L312.604552,730.850134%20C312.861689,731.107271%20312.861689,731.524172%20312.604552,731.781309%20C312.373129,732.012732%20312.012296,732.035875%20311.754991,731.850736%20L311.673377,731.781309%20L311.145,731.253248%20L311.145752,734.805978%20C311.145752,735.139321%20310.898043,735.414808%20310.576658,735.458408%20L310.487311,735.464419%20L307.124,735.464248%20L307.649042,735.98918%20C307.906179,736.246317%20307.906179,736.663219%20307.649042,736.920356%20C307.417619,737.151779%20307.056787,737.174921%20306.799482,736.989783%20L306.717867,736.920356%20L305.066031,735.268519%20L305.054021,735.255814%20C305.041374,735.242301%20305.029291,735.228255%20305.017807,735.213713%20L305.066031,735.268519%20C305.034539,735.237027%20305.006903,735.203139%20304.983125,735.167441%20C304.9807,735.16179%20304.977592,735.156913%20304.974547,735.151993%20C304.832434,734.927859%20304.840126,734.636431%20304.996604,734.418958%20L305.066031,734.337344%20L306.717867,732.685507%20C306.975004,732.428371%20307.391905,732.428371%20307.649042,732.685507%20C307.880466,732.916931%20307.903608,733.277763%20307.718469,733.535068%20L307.649042,733.616683%20L307.117,734.147248%20L309.828389,734.1469%20L309.828,731.252248%20L309.300879,731.781309%20C309.043742,732.038446%20308.626841,732.038446%20308.369704,731.781309%20C308.13828,731.549886%20308.115138,731.189053%20308.300277,730.931748%20L308.369704,730.850134%20L310.02154,729.198297%20C310.252963,728.966874%20310.613796,728.943732%20310.871101,729.12887%20Z%20M313.60741,724.449129%20L300.39259,724.449129%20C300.350778,724.449129%20300.316881,724.483027%20300.316881,724.524838%20L300.316881,724.524838%20L300.316,726.815248%20L313.682,726.803248%20L313.682972,725.258988%20L313.683,725.246248%20L313.683119,724.524838%20C313.683119,724.493474%20313.664056,724.46657%20313.636882,724.455078%20L313.60741,724.449129%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",r3={class:"mix-body"},c3={class:"toolbar"},u3=["id"],d3={DEFAULT_ICON:s3,ACTIVE_ICON:a3,NAME_CN:"深部趋势图",NAME_EN:"DeepTrendChart",ORDER:21},h3={titleColor:"#111",textColor:"#111",bgColor:"#fff",radiusSize:8,textSize:12,isHideTitle:!1,top:56,bottom:52,left:64,right:36,xName:{value:"位移量",type:"string",label:"X轴名称"},yName:{value:"高程(m)",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"}}},$=[{name:"累计位移",fv:"disp_130",depth:-130,color:"#5470c6",object_id:""},{name:"累计位移",fv:"disp_140",depth:-140,color:"#5470c6",object_id:""}],p3=["name","fv","depth","color","object_id"],m3=["mosaic","statistics","calculate","statisticsRealtime","calculateRealtime"],v3={useAlias:!1,multiObject:!0,source:"mosaic"},f3={DEFAULT:d3,OPTIONS:h3,DATA:$,PARAMS:p3,SOURCE:m3,COMMON:v3},g3=l.defineComponent(E(N({},f3),{__name:"deepTrendChart",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(f){D.use([l3.install,D.install,i3.install,D.install$1,o3.install]);const r=f,g=R.useLinkStore(),u=l.ref([]),m=l.ref("");class Z extends t3.EChartComponentBase{extractStyles(){const n=this.getOptionValue("linkChannel","deepDisplacement"),t=this.getOptionValue("customChannel",""),s=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",56),bottom:this.getOptionValue("bottom",52),left:this.getOptionValue("left",64),right:this.getOptionValue("right",36),xName:this.getOptionValue("xName","位移量"),yName:this.getOptionValue("yName","高程(m)"),linkChannel:s}}init(){var n;this.Style.value=this.extractStyles(),this.applyTheme(),(n=this.props.conf.data)!=null&&n.length||(this.props.conf.data=$),l.nextTick(()=>this.initChart())}setHistoryData(n){I(n)}setSocketData(n){n&&I(n)}onLinkEvent(n){F(n)}getChartOption(){var s;const n=G.value,t=((s=r.conf)==null?void 0:s.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:4,textStyle:{color:this.Style.value.textColor}},tooltip:{trigger:"item",formatter:i=>{var o,c,d,a;return`位移量: ${(c=(o=i==null?void 0:i.value)==null?void 0:o[0])!=null?c:"-"}<br/>高程: ${(a=(d=i==null?void 0:i.value)==null?void 0:d[1])!=null?a:"-"}m`}},xAxis:{type:"value",name:this.Style.value.xName,nameLocation:"middle",nameGap:28,axisLabel:{color:this.Style.value.textColor,fontSize:this.Style.value.textSize},splitLine:{lineStyle:{color:"#f0f0f0"}}},yAxis:{type:"value",name:this.Style.value.yName,axisLabel:{color:this.Style.value.textColor,fontSize:this.Style.value.textSize},splitLine:{lineStyle:{color:"#f0f0f0"}}},series:t.map((i,o)=>{const c=(i==null?void 0:i.fv)||`v${o}`,d=((n==null?void 0:n.points)||[]).map(a=>{var C;const p=Number(a==null?void 0:a[c]),v=Number((C=a==null?void 0:a.elevation)!=null?C:a==null?void 0:a.depth);return!Number.isFinite(p)||!Number.isFinite(v)?null:[p,v]}).filter(Boolean).sort((a,p)=>a[1]-p[1]);return{name:(i==null?void 0:i.name)||`序列${o+1}`,type:"line",data:d,showSymbol:!0,symbolSize:6,lineStyle:{color:(i==null?void 0:i.color)||"#5470c6",width:2},itemStyle:{color:(i==null?void 0:i.color)||"#5470c6"}}})}}}const S=new Z(r,"deepTrendChart"),H=S.getEchartId();S.setupLifecycle();const V=S.getStyle(),U=l.computed(()=>n3.generateTitleStyle(r.conf.options)),P=l.computed(()=>u.value.map(e=>e.time)),G=l.computed(()=>{const e=m.value;return u.value.find(n=>n.time===e)||u.value[u.value.length-1]||null}),L=()=>{l.nextTick(()=>{const e=S.getChartInstance();e&&e.setOption(S.getChartOption(),!0)})},W=()=>L(),X=()=>{const e=S.getChartInstance();if(!e)return;const n=e.getDataURL({type:"png",pixelRatio:2,backgroundColor:"#fff"}),t=document.createElement("a");t.href=n,t.download=`deep-trend-${m.value||Date.now()}.png`,t.click()},A=()=>{var s,i,o;const e=((s=r.conf)==null?void 0:s.options)||{},n=((i=e==null?void 0:e.linkChannel)==null?void 0:i.value)||V.value.linkChannel||"deepDisplacement",t=((o=e==null?void 0:e.customChannel)==null?void 0:o.value)||"";return n==="custom"&&t?t:n},b=(e,n,t="points")=>{const s=e==null?void 0:e[t];if(Array.isArray(s)&&s.length)return s;const i={};let o=!1;return n.forEach(c=>{var v;const d=c==null?void 0:c.fv;if(!d)return;const a=e==null?void 0:e[d];a!=null&&(i[d]=a,o=!0);const p=(v=e==null?void 0:e.elevation)!=null?v:e==null?void 0:e.depth;p!=null&&(i.elevation=p,i.depth=p)}),o?[i]:[]},z=e=>{var o;const n=((o=r.conf)==null?void 0:o.data)||[],s=(n[0]||{}).points_fv||"points",i=[];return e.forEach((c,d)=>{var C,x;const a=(c==null?void 0:c[0])||c||{},p=String((x=(C=a==null?void 0:a.time)!=null?C:a==null?void 0:a.datetime)!=null?x:d),v=b(a,n,s);v.length&&i.push({time:p,points:v})}),i},F=e=>{var v,C,x,y,k,_,O;if(r.mode==="edit"||!e||!e.payload)return;const n=A();if((v=e.topic)!=null&&v.channel&&n&&e.topic.channel!==n||!g.shouldHandle(e,"deepTrendChart"))return;const t=e.payload;if((t==null?void 0:t.type)==="filter"){const h=t.timeRange||t.dateRange||t.timeRangeValue;if((C=t.selectedTimes)!=null&&C.length){m.value=String(t.selectedTimes[t.selectedTimes.length-1]),L();return}if(Array.isArray(h)&&h.length){m.value=String(h[h.length-1]),L();return}if(h!=null&&h.endDate||h!=null&&h.end){m.value=String(h.endDate||h.end),L();return}return}const s=r.conf,i=(s==null?void 0:s.data)||[],o=(s==null?void 0:s.common)||{};if(i.length>0&&!(o!=null&&o.multiObject)){const h=T.getObjectId(o,o==null?void 0:o.useAlias,r.uid)||((x=i[0])==null?void 0:x.object_id),M=(t==null?void 0:t.objectId)||(t==null?void 0:t.object_id);if(h&&M&&String(h)!==String(M))return}if(Array.isArray(t==null?void 0:t.history)){u.value=z(t.history),u.value.length&&(m.value=u.value[u.value.length-1].time),L();return}const d=(i[0]||{}).points_fv||"points",a=String((O=(_=(y=t==null?void 0:t.time)!=null?y:t==null?void 0:t.datetime)!=null?_:(k=e.topic)==null?void 0:k.time)!=null?O:Date.now()),p=b(t,i,d);p.length&&(u.value=[...u.value.slice(-49),{time:a,points:p}],m.value=a,L())},I=e=>{var x,y,k,_,O,h;const n=r.conf,t=(n==null?void 0:n.data)||[],s=(n==null?void 0:n.common)||{},i=(s==null?void 0:s.source)||"mosaic";let o=e;if(["statistics","calculate"].includes(i)&&(o=T.formatStatisticsResult(o,t)),(x=o==null?void 0:o.history)!=null&&x.length){u.value=z(o.history),u.value.length&&(m.value=u.value[u.value.length-1].time),L();return}const c=s!=null&&s.multiObject?"":T.getObjectId(s,s==null?void 0:s.useAlias,r.uid),d=c&&((k=(y=o==null?void 0:o[c])==null?void 0:y[i])==null?void 0:k.data)||((_=o==null?void 0:o[i])==null?void 0:_.data)||(o==null?void 0:o.data)||o,p=(t[0]||{}).points_fv||"points",v=String((h=(O=d==null?void 0:d.time)!=null?O:d==null?void 0:d.datetime)!=null?h:Date.now()),C=b(d,t,p);C.length&&(u.value=[...u.value.slice(-49),{time:v,points:C}],m.value=v,L())};return l.watch(()=>g.channels[A()],e=>{e&&F(e)},{deep:!0}),l.watchEffect(()=>{r.conf.socketData&&S.setSocketData(r.conf.socketData)}),l.watch(()=>{var e;return(e=r.conf)==null?void 0:e.options},()=>{S.getStyle().value=S.extractStyles(),L()},{deep:!0}),l.onMounted(()=>{if(r.mode==="edit"&&!u.value.length){const e=[{elevation:1024.94,disp:0,relative_disp:-1},{elevation:994.94,disp:3,relative_disp:0},{elevation:964.94,disp:6,relative_disp:1},{elevation:934.94,disp:9,relative_disp:2},{elevation:904.94,disp:12,relative_disp:3}];u.value=[{time:"2026-01-20 15:29:59",points:e},{time:"2026-01-20 16:29:59",points:e.map(n=>E(N({},n),{disp:n.disp+1}))}],m.value=u.value[0].time}!m.value&&u.value.length&&(m.value=u.value[u.value.length-1].time),L()}),(e,n)=>{const t=w.ElOption,s=w.ElSelect,i=w.ElIcon,o=w.ElButton;return l.openBlock(),l.createElementBlock("div",{class:"mix-component",style:l.normalizeStyle({background:l.unref(V).bgColor,borderRadius:`${l.unref(V).radiusSize}px`})},[l.unref(V).isHideTitle?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("div",{key:0,class:"mix-title",style:l.normalizeStyle(U.value)},l.toDisplayString(f.conf.caption||f.conf.name),5)),l.createElementVNode("div",r3,[l.createElementVNode("div",c3,[l.createVNode(s,{modelValue:m.value,"onUpdate:modelValue":n[0]||(n[0]=c=>m.value=c),placeholder:"选择时间",size:"small",class:"time-select",onChange:W},{default:l.withCtx(()=>[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(P.value,c=>(l.openBlock(),l.createBlock(t,{key:c,label:c,value:c},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),l.createVNode(o,{size:"small",class:"export-btn",onClick:X},{default:l.withCtx(()=>[l.createVNode(i,null,{default:l.withCtx(()=>[l.createVNode(l.unref(e3.Download))]),_:1}),n[1]||(n[1]=l.createTextVNode(" 导出图 ",-1))]),_:1})]),l.createElementVNode("div",{class:"echart-container",id:l.unref(H)},null,8,u3)]),l.renderSlot(e.$slots,"default",{},void 0,!0)],4)}}})),C3=R._export_sfc(g3,[["__scopeId","data-v-628a2d7c"]]);exports.default=C3;
@@ -0,0 +1,2 @@
1
+ "use strict";var T=Object.defineProperty,j=Object.defineProperties;var L=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var w=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var I=(i,n,o)=>n in i?T(i,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):i[n]=o,N=(i,n)=>{for(var o in n||(n={}))w.call(n,o)&&I(i,o,n[o]);if(x)for(var o of x(n))B.call(n,o)&&I(i,o,n[o]);return i},z=(i,n)=>j(i,L(n));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue");require("html2canvas");const V=require("./index-Mh5Dw2sd.cjs"),$=require("./EChartComponentBase-BaQpBzVC.cjs"),A=require("./ele-lin-icon-Dke_1AmT.cjs"),q={class:"panel-header"},R=["id"],U={DEFAULT_ICON:A.DEFAULT_ICON,ACTIVE_ICON:A.ACTIVE_ICON,NAME_CN:"设备在线状态",NAME_EN:"Device Online Status",ORDER:11},W={title:{value:"设备在线状态",type:"string",label:"标题"},bgColor:{value:"#f5f7fa",type:"color",label:"setting.bgColor"},panelBgColor:{value:"#ffffff",type:"color",label:"面板背景色"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},titleFontSize:{value:16,type:"number",label:"标题字体大小",min:12,max:24},onlineColor:{value:"#67C23A",type:"color",label:"在线颜色"},offlineColor:{value:"#C0C4CC",type:"color",label:"离线颜色"},centerFontSize:{value:32,type:"number",label:"中心数字大小",min:18,max:48},centerColor:{value:"#1a3a6b",type:"color",label:"中心数字颜色"},linkChannel:{value:"gnss",type:"select",label:"联动频道",options:[{label:"GNSS监测",value:"gnss"},{label:"边坡监测",value:"slope"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},H=[{name:"设备1",fv:"online_status",fvDeviceName:"",object_id:""}],P=["object_id","name","fv","fvDeviceName"],G=["mosaic"],J={useAlias:!1,multiObject:!0,source:"mosaic"},K=200,Q={DEFAULT:U,OPTIONS:W,DATA:H,PARAMS:P,SOURCE:G,COMMON:J,ITEMS:K},X=t.defineComponent(z(N({},Q),{__name:"deviceOnlineStatus",props:{conf:{type:Object,default:()=>({})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(i){const n=i,o=new Map;class k extends $.EChartComponentBase{extractStyles(){var a,f,c,p,b,S,h,g,y,O,_,E;const e=(a=this.props.conf)==null?void 0:a.options,r=((f=e==null?void 0:e.linkChannel)==null?void 0:f.value)||"gnss",s=((c=e==null?void 0:e.customChannel)==null?void 0:c.value)||"";return{title:((p=e==null?void 0:e.title)==null?void 0:p.value)||"设备在线状态",bgColor:((b=e==null?void 0:e.bgColor)==null?void 0:b.value)||"#f5f7fa",panelBgColor:((S=e==null?void 0:e.panelBgColor)==null?void 0:S.value)||"#ffffff",textColor:((h=e==null?void 0:e.textColor)==null?void 0:h.value)||"#333333",titleFontSize:((g=e==null?void 0:e.titleFontSize)==null?void 0:g.value)||16,onlineColor:((y=e==null?void 0:e.onlineColor)==null?void 0:y.value)||"#67C23A",offlineColor:((O=e==null?void 0:e.offlineColor)==null?void 0:O.value)||"#C0C4CC",centerFontSize:((_=e==null?void 0:e.centerFontSize)==null?void 0:_.value)||32,centerColor:((E=e==null?void 0:e.centerColor)==null?void 0:E.value)||"#1a3a6b",linkChannel:r==="custom"&&s?s:r}}getChartOption(){return v(this.Style.value)}setSocketData(e){var s;if(!e)return;(((s=this.props.conf)==null?void 0:s.data)||[]).forEach(a=>{if(!a.fv)return;const f=a.object_id||a.name||"";if(!f)return;const c=this.extractDataValue(e,a.fv);if(c!=null){const p=c===1||c===!0||c==="online"||c==="1"||c==="true";o.set(f,p)}}),this.chartObj&&this.chartObj.setOption(v(this.Style.value),!0)}onLinkEvent(e){}}const u=new k(n,"deviceOnlineStatus");u.setupLifecycle();const d=u.getStyle(),D=u.getEchartId(),C=t.computed(()=>{var l;return((l=n.conf)==null?void 0:l.data)||[]}),F=t.computed(()=>{if(C.value.length===0&&n.mode==="edit")return{online:23,offline:3,total:26};let e=0,r=0;return C.value.forEach(s=>{const a=s.object_id||s.name||"";o.get(a)===!1?r++:e++}),{online:e,offline:r,total:e+r}}),M=t.computed(()=>({backgroundColor:d.value.bgColor})),v=l=>{const{online:e,offline:r,total:s}=F.value;return{backgroundColor:"transparent",tooltip:{trigger:"item",formatter:"{b}: {c} ({d}%)"},legend:{bottom:10,itemWidth:10,itemHeight:10,itemGap:20,textStyle:{fontSize:13,color:l.textColor},formatter:a=>`${a} ${a==="在线"?e:r}`},series:[{type:"pie",radius:["50%","72%"],center:["50%","45%"],avoidLabelOverlap:!1,label:{show:!0,position:"center",formatter:()=>`{num|${s}}
2
+ {txt|设备总数}`,rich:{num:{fontSize:l.centerFontSize,fontWeight:"bold",color:l.centerColor,lineHeight:l.centerFontSize+10},txt:{fontSize:13,color:"#999",lineHeight:22}}},labelLine:{show:!1},itemStyle:{borderRadius:4,borderColor:"#fff",borderWidth:2},data:[{value:e,name:"在线",itemStyle:{color:l.onlineColor}},{value:r,name:"离线",itemStyle:{color:l.offlineColor}}]}]}},m=()=>{for(let e=0;e<23;e++)o.set(`dev-${e}`,!0);for(let e=23;e<26;e++)o.set(`dev-${e}`,!1);const l=u.getChartInstance();l&&l.setOption(v(d.value),!0)};return t.onMounted(()=>{u.init(),n.mode==="edit"&&m(),setTimeout(()=>{var l;return(l=u.getChartInstance())==null?void 0:l.resize()},200)}),t.onUnmounted(()=>{u.cleanup()}),t.watch(()=>n.conf,()=>{u.init(),n.mode==="edit"&&m()},{deep:!0}),(l,e)=>(t.openBlock(),t.createElementBlock("div",{class:"device-online-status",style:t.normalizeStyle(M.value)},[t.createElementVNode("div",q,[e[0]||(e[0]=t.createElementVNode("span",{class:"indicator-dot"},null,-1)),t.createElementVNode("span",{class:"panel-title",style:t.normalizeStyle({color:t.unref(d).textColor,fontSize:t.unref(d).titleFontSize+"px"})},t.toDisplayString(t.unref(d).title),5)]),t.createElementVNode("div",{id:t.unref(D),class:"chart-container"},null,8,R),t.renderSlot(l.$slots,"default",{},void 0,!0)],4))}})),Y=V._export_sfc(X,[["__scopeId","data-v-bcc8f44d"]]);exports.default=Y;
@@ -0,0 +1,178 @@
1
+ var T = Object.defineProperty, B = Object.defineProperties;
2
+ var L = Object.getOwnPropertyDescriptors;
3
+ var k = Object.getOwnPropertySymbols;
4
+ var $ = Object.prototype.hasOwnProperty, R = Object.prototype.propertyIsEnumerable;
5
+ var A = (a, t, o) => t in a ? T(a, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : a[t] = o, D = (a, t) => {
6
+ for (var o in t || (t = {}))
7
+ $.call(t, o) && A(a, o, t[o]);
8
+ if (k)
9
+ for (var o of k(t))
10
+ R.call(t, o) && A(a, o, t[o]);
11
+ return a;
12
+ }, I = (a, t) => B(a, L(t));
13
+ import { defineComponent as U, computed as C, onMounted as W, onUnmounted as H, watch as V, openBlock as G, createElementBlock as P, normalizeStyle as N, createElementVNode as d, unref as v, toDisplayString as q, renderSlot as J } from "vue";
14
+ import "html2canvas";
15
+ import { _ as K } from "./index-kShjySl9.js";
16
+ import { E as Q } from "./EChartComponentBase-BQOhWkz2.js";
17
+ import { A as X, D as Y } from "./ele-lin-icon-Dax-ZiWV.js";
18
+ const Z = { class: "panel-header" }, ee = ["id"], te = { DEFAULT_ICON: Y, ACTIVE_ICON: X, NAME_CN: "设备在线状态", NAME_EN: "Device Online Status", ORDER: 11 }, le = {
19
+ title: { value: "设备在线状态", type: "string", label: "标题" },
20
+ bgColor: { value: "#f5f7fa", type: "color", label: "setting.bgColor" },
21
+ panelBgColor: { value: "#ffffff", type: "color", label: "面板背景色" },
22
+ textColor: { value: "#333333", type: "color", label: "setting.textColor" },
23
+ titleFontSize: { value: 16, type: "number", label: "标题字体大小", min: 12, max: 24 },
24
+ onlineColor: { value: "#67C23A", type: "color", label: "在线颜色" },
25
+ offlineColor: { value: "#C0C4CC", type: "color", label: "离线颜色" },
26
+ centerFontSize: { value: 32, type: "number", label: "中心数字大小", min: 18, max: 48 },
27
+ centerColor: { value: "#1a3a6b", type: "color", label: "中心数字颜色" },
28
+ linkChannel: {
29
+ value: "gnss",
30
+ type: "select",
31
+ label: "联动频道",
32
+ options: [
33
+ { label: "GNSS监测", value: "gnss" },
34
+ { label: "边坡监测", value: "slope" },
35
+ { label: "自定义", value: "custom" }
36
+ ]
37
+ },
38
+ customChannel: { value: "", type: "string", label: "自定义频道名", showWhen: { linkChannel: "custom" } }
39
+ }, oe = [
40
+ { name: "设备1", fv: "online_status", fvDeviceName: "", object_id: "" }
41
+ ], ne = ["object_id", "name", "fv", "fvDeviceName"], ae = ["mosaic"], ie = { useAlias: !1, multiObject: !0, source: "mosaic" }, re = 200, se = { DEFAULT: te, OPTIONS: le, DATA: oe, PARAMS: ne, SOURCE: ae, COMMON: ie, ITEMS: re }, ce = /* @__PURE__ */ U(I(D({}, se), {
42
+ __name: "deviceOnlineStatus",
43
+ props: {
44
+ conf: { type: Object, default: () => ({}) },
45
+ mode: { type: String, default: "edit" },
46
+ uid: { type: String, default: "" },
47
+ theme: { type: String, default: "light" }
48
+ },
49
+ setup(a) {
50
+ const t = a, o = /* @__PURE__ */ new Map();
51
+ class F extends Q {
52
+ extractStyles() {
53
+ var n, u, s, p, S, g, y, _, O, x, E, z;
54
+ const e = (n = this.props.conf) == null ? void 0 : n.options, i = ((u = e == null ? void 0 : e.linkChannel) == null ? void 0 : u.value) || "gnss", r = ((s = e == null ? void 0 : e.customChannel) == null ? void 0 : s.value) || "";
55
+ return {
56
+ title: ((p = e == null ? void 0 : e.title) == null ? void 0 : p.value) || "设备在线状态",
57
+ bgColor: ((S = e == null ? void 0 : e.bgColor) == null ? void 0 : S.value) || "#f5f7fa",
58
+ panelBgColor: ((g = e == null ? void 0 : e.panelBgColor) == null ? void 0 : g.value) || "#ffffff",
59
+ textColor: ((y = e == null ? void 0 : e.textColor) == null ? void 0 : y.value) || "#333333",
60
+ titleFontSize: ((_ = e == null ? void 0 : e.titleFontSize) == null ? void 0 : _.value) || 16,
61
+ onlineColor: ((O = e == null ? void 0 : e.onlineColor) == null ? void 0 : O.value) || "#67C23A",
62
+ offlineColor: ((x = e == null ? void 0 : e.offlineColor) == null ? void 0 : x.value) || "#C0C4CC",
63
+ centerFontSize: ((E = e == null ? void 0 : e.centerFontSize) == null ? void 0 : E.value) || 32,
64
+ centerColor: ((z = e == null ? void 0 : e.centerColor) == null ? void 0 : z.value) || "#1a3a6b",
65
+ linkChannel: i === "custom" && r ? r : i
66
+ };
67
+ }
68
+ getChartOption() {
69
+ return m(this.Style.value);
70
+ }
71
+ setSocketData(e) {
72
+ var r;
73
+ if (!e) return;
74
+ (((r = this.props.conf) == null ? void 0 : r.data) || []).forEach((n) => {
75
+ if (!n.fv) return;
76
+ const u = n.object_id || n.name || "";
77
+ if (!u) return;
78
+ const s = this.extractDataValue(e, n.fv);
79
+ if (s != null) {
80
+ const p = s === 1 || s === !0 || s === "online" || s === "1" || s === "true";
81
+ o.set(u, p);
82
+ }
83
+ }), this.chartObj && this.chartObj.setOption(m(this.Style.value), !0);
84
+ }
85
+ onLinkEvent(e) {
86
+ }
87
+ }
88
+ const c = new F(t, "deviceOnlineStatus");
89
+ c.setupLifecycle();
90
+ const f = c.getStyle(), M = c.getEchartId(), b = C(() => {
91
+ var l;
92
+ return ((l = t.conf) == null ? void 0 : l.data) || [];
93
+ }), j = C(() => {
94
+ if (b.value.length === 0 && t.mode === "edit")
95
+ return { online: 23, offline: 3, total: 26 };
96
+ let e = 0, i = 0;
97
+ return b.value.forEach((r) => {
98
+ const n = r.object_id || r.name || "";
99
+ o.get(n) === !1 ? i++ : e++;
100
+ }), { online: e, offline: i, total: e + i };
101
+ }), w = C(() => ({
102
+ backgroundColor: f.value.bgColor
103
+ })), m = (l) => {
104
+ const { online: e, offline: i, total: r } = j.value;
105
+ return {
106
+ backgroundColor: "transparent",
107
+ tooltip: {
108
+ trigger: "item",
109
+ formatter: "{b}: {c} ({d}%)"
110
+ },
111
+ legend: {
112
+ bottom: 10,
113
+ itemWidth: 10,
114
+ itemHeight: 10,
115
+ itemGap: 20,
116
+ textStyle: { fontSize: 13, color: l.textColor },
117
+ formatter: (n) => `${n} ${n === "在线" ? e : i}`
118
+ },
119
+ series: [{
120
+ type: "pie",
121
+ radius: ["50%", "72%"],
122
+ center: ["50%", "45%"],
123
+ avoidLabelOverlap: !1,
124
+ label: {
125
+ show: !0,
126
+ position: "center",
127
+ formatter: () => `{num|${r}}
128
+ {txt|设备总数}`,
129
+ rich: {
130
+ num: { fontSize: l.centerFontSize, fontWeight: "bold", color: l.centerColor, lineHeight: l.centerFontSize + 10 },
131
+ txt: { fontSize: 13, color: "#999", lineHeight: 22 }
132
+ }
133
+ },
134
+ labelLine: { show: !1 },
135
+ itemStyle: { borderRadius: 4, borderColor: "#fff", borderWidth: 2 },
136
+ data: [
137
+ { value: e, name: "在线", itemStyle: { color: l.onlineColor } },
138
+ { value: i, name: "离线", itemStyle: { color: l.offlineColor } }
139
+ ]
140
+ }]
141
+ };
142
+ }, h = () => {
143
+ for (let e = 0; e < 23; e++) o.set(`dev-${e}`, !0);
144
+ for (let e = 23; e < 26; e++) o.set(`dev-${e}`, !1);
145
+ const l = c.getChartInstance();
146
+ l && l.setOption(m(f.value), !0);
147
+ };
148
+ return W(() => {
149
+ c.init(), t.mode === "edit" && h(), setTimeout(() => {
150
+ var l;
151
+ return (l = c.getChartInstance()) == null ? void 0 : l.resize();
152
+ }, 200);
153
+ }), H(() => {
154
+ c.cleanup();
155
+ }), V(() => t.conf, () => {
156
+ c.init(), t.mode === "edit" && h();
157
+ }, { deep: !0 }), (l, e) => (G(), P("div", {
158
+ class: "device-online-status",
159
+ style: N(w.value)
160
+ }, [
161
+ d("div", Z, [
162
+ e[0] || (e[0] = d("span", { class: "indicator-dot" }, null, -1)),
163
+ d("span", {
164
+ class: "panel-title",
165
+ style: N({ color: v(f).textColor, fontSize: v(f).titleFontSize + "px" })
166
+ }, q(v(f).title), 5)
167
+ ]),
168
+ d("div", {
169
+ id: v(M),
170
+ class: "chart-container"
171
+ }, null, 8, ee),
172
+ J(l.$slots, "default", {}, void 0, !0)
173
+ ], 4));
174
+ }
175
+ })), Ce = /* @__PURE__ */ K(ce, [["__scopeId", "data-v-bcc8f44d"]]);
176
+ export {
177
+ Ce as default
178
+ };