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,232 @@
1
+ var z = Object.defineProperty, I = Object.defineProperties;
2
+ var T = Object.getOwnPropertyDescriptors;
3
+ var D = Object.getOwnPropertySymbols;
4
+ var w = Object.prototype.hasOwnProperty, R = Object.prototype.propertyIsEnumerable;
5
+ var E = (r, o, l) => o in r ? z(r, o, { enumerable: !0, configurable: !0, writable: !0, value: l }) : r[o] = l, g = (r, o) => {
6
+ for (var l in o || (o = {}))
7
+ w.call(o, l) && E(r, l, o[l]);
8
+ if (D)
9
+ for (var l of D(o))
10
+ R.call(o, l) && E(r, l, o[l]);
11
+ return r;
12
+ }, y = (r, o) => I(r, T(o));
13
+ import { defineComponent as $, onMounted as j, onUnmounted as V, computed as B, openBlock as M, createElementBlock as W, normalizeStyle as U, unref as S, createElementVNode as C, toDisplayString as X, renderSlot as P } from "vue";
14
+ import { g as F, C as G, a as H, b as K, c as q } from "./element-resize-detector-DJcsrJ8s.js";
15
+ import { u as J, _ as Q } from "./index-kShjySl9.js";
16
+ import { E as Y } from "./EChartComponentBase-BQOhWkz2.js";
17
+ import { g as Z } from "./titleStyle-BT5GlpAb.js";
18
+ import { u as tt } from "./store-DzDtVfSX.js";
19
+ import { A as et, D as ot } from "./ele-bar-icon-C-GiCs2a.js";
20
+ import { i as at } from "./install-CBde4hAM.js";
21
+ import { i as st } from "./install-hfre7yvV.js";
22
+ import { u as it, i as nt, a as lt } from "./installCanvasRenderer-CLT2hquJ.js";
23
+ import { i as rt } from "./install-BBrAry2m.js";
24
+ import { i as ct } from "./install-MS3ZY7fF.js";
25
+ const dt = { class: "mix-body" }, pt = ["id"], ut = {
26
+ DEFAULT_ICON: ot,
27
+ ACTIVE_ICON: et,
28
+ NAME_CN: "基础柱状图",
29
+ NAME_EN: "Bar Chart",
30
+ ORDER: 1
31
+ }, ft = {
32
+ titleColor: "#111",
33
+ // color
34
+ textColor: "#111",
35
+ // color
36
+ bgColor: "#fff",
37
+ // color
38
+ top: 30,
39
+ // number
40
+ bottom: 40,
41
+ left: 40,
42
+ right: 20,
43
+ radiusSize: 8,
44
+ textSize: 12,
45
+ barWidth: 30,
46
+ points: 10,
47
+ isHideTitle: !1,
48
+ // checkbox
49
+ showLabel: !1
50
+ }, mt = [
51
+ { name: "参数一", fv: "", object_id: "", color: "#4162ff" }
52
+ ], ht = ["name", "fv", "object_id", "color"], xt = ["mosaic", "statistics", "calculate"], St = {
53
+ source: "mosaic",
54
+ useAlias: !1,
55
+ multiObject: !1,
56
+ null: { type: "0", value: "" }
57
+ }, gt = {
58
+ DEFAULT: ut,
59
+ OPTIONS: ft,
60
+ DATA: mt,
61
+ PARAMS: ht,
62
+ SOURCE: xt,
63
+ COMMON: St
64
+ }, bt = /* @__PURE__ */ $(y(g({}, gt), {
65
+ __name: "bar",
66
+ props: {
67
+ conf: { type: Object, default: () => ({ data: [] }) },
68
+ uid: { type: String, default: "" },
69
+ mode: { type: String, default: "edit" },
70
+ theme: { type: String, default: "light" }
71
+ },
72
+ setup(r) {
73
+ it([at, st, nt, rt, lt, ct]);
74
+ const o = r, l = J();
75
+ class L extends Y {
76
+ // 提取样式(扩展父类)
77
+ extractStyles() {
78
+ return y(g({}, super.extractStyles()), {
79
+ barWidth: this.getOptionValue("barWidth", 30),
80
+ showLabel: this.getOptionValue("showLabel", !1)
81
+ });
82
+ }
83
+ // 获取 ECharts option
84
+ getChartOption() {
85
+ const t = this.Style.value, a = this.props.conf;
86
+ return {
87
+ tooltip: {
88
+ trigger: "axis",
89
+ axisPointer: { type: "shadow" },
90
+ textStyle: { align: "left", fontSize: t.textSize }
91
+ },
92
+ grid: {
93
+ top: t.top,
94
+ bottom: t.bottom,
95
+ left: t.left,
96
+ right: t.right,
97
+ containLabel: !1
98
+ },
99
+ legend: {
100
+ show: !0,
101
+ data: a.data.map((s) => s.name),
102
+ right: 20,
103
+ top: 0,
104
+ textStyle: { color: t.textColor, fontSize: t.textSize }
105
+ },
106
+ xAxis: [{
107
+ type: "category",
108
+ data: this.getXAxisData(),
109
+ axisTick: { alignWithLabel: !0 },
110
+ axisLine: { lineStyle: { color: t.textColor } },
111
+ axisLabel: {
112
+ formatter: (s) => {
113
+ if (!/^\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}$/.test(s)) return s;
114
+ const [n, e] = s.split(" ");
115
+ return `${n}
116
+ ${e}`;
117
+ },
118
+ color: t.textColor,
119
+ fontSize: t.textSize
120
+ }
121
+ }],
122
+ yAxis: [{
123
+ type: "value",
124
+ nameGap: 10,
125
+ nameTextStyle: { align: "right" },
126
+ splitLine: { lineStyle: { type: "dashed", color: "#e5e5e5" } },
127
+ axisLabel: { color: t.textColor, fontSize: t.textSize },
128
+ axisLine: { lineStyle: { color: t.textColor } },
129
+ splitNumber: 4
130
+ }],
131
+ series: this.formatSeries()
132
+ };
133
+ }
134
+ // 获取 X 轴数据
135
+ getXAxisData() {
136
+ var n, e;
137
+ const { data: t, common: a } = this.props.conf, s = (a == null ? void 0 : a.source) || "mosaic";
138
+ return ["statistics", "calculate"].includes(s) && !((e = (n = t[0]) == null ? void 0 : n.periodUnit) != null && e.includes("near")) ? F(t[0].periodUnit) : this.getTimeAxis();
139
+ }
140
+ // 格式化 Series
141
+ formatSeries() {
142
+ const t = this.props.conf, a = this.Style.value;
143
+ return t.data.map((s, n) => {
144
+ const e = s.color || G[n];
145
+ return {
146
+ type: "bar",
147
+ data: H({ num: a.points, max: 200, min: 0, mode: this.props.mode, hasDataSource: this.hasData() }),
148
+ name: s.name,
149
+ itemStyle: { color: e },
150
+ label: { show: a.showLabel, position: "top", color: e },
151
+ barWidth: a.barWidth + "%"
152
+ };
153
+ });
154
+ }
155
+ // 设置实时数据
156
+ setSocketData(t) {
157
+ var x;
158
+ if (!this.hasData() || !this.chartObj || !t) return;
159
+ const { data: a, common: s } = this.props.conf, n = s.source || "mosaic", e = this.chartObj.getOption();
160
+ console.log("[bar] setSocketData called", {
161
+ SOURCE: n,
162
+ res: t,
163
+ data: a,
164
+ periodUnit: (x = a[0]) == null ? void 0 : x.periodUnit
165
+ }), a.forEach((i, d) => {
166
+ let c, p;
167
+ if (["statistics", "calculate"].includes(n) && i.periodUnit && !i.periodUnit.includes("near")) {
168
+ console.log("[bar] 固定周期模式", { item: i, periodUnit: i.periodUnit }), c = this.extractDataValue(t, i.fv);
169
+ const v = i.periodUnit.split("-");
170
+ p = K(t.start_time, v[v.length - 1]);
171
+ const b = e.xAxis[0].data.indexOf(p);
172
+ console.log("[bar] 固定周期数据", { value: c, time: p, index: b, xAxisData: e.xAxis[0].data }), b >= 0 && (e.series[d].data[b] = c);
173
+ } else ["statistics", "calculate"].includes(n) && i.periodUnit && i.periodUnit.includes("near") ? (console.log("[bar] 最近周期模式"), c = this.extractDataValue(t, i.fv), p = t.start_time, p != null && (d === 0 && e.xAxis[0].data.push(p), e.series[d].data.push(c))) : (console.log("[bar] 追加模式(马赛克或默认)"), c = this.extractDataValue(t, i.fv), p = ["statistics", "calculate"].includes(n) ? t.start_time : t.datetime, p != null && (d === 0 && e.xAxis[0].data.push(p), e.series[d].data.push(c)));
174
+ });
175
+ const m = q(
176
+ e.xAxis[0].data,
177
+ e.series.map((i) => i.data)
178
+ ), h = Number(this.Style.value.points) || 10;
179
+ e.xAxis[0].data = m.times.slice(-h), e.series.forEach((i, d) => {
180
+ var c;
181
+ i.data = ((c = m.data[d]) == null ? void 0 : c.slice(-h)) || [];
182
+ }), this.updateChart(e);
183
+ }
184
+ }
185
+ const u = new L(o, "bar");
186
+ u.setupLifecycle();
187
+ const _ = tt();
188
+ j(() => {
189
+ var f;
190
+ if (_.registerInstance(o.uid, u), o.mode === "preview") {
191
+ const t = ((f = u.getChartInstance) == null ? void 0 : f.call(u)) || u.chartObj;
192
+ t == null || t.off("click"), t == null || t.on("click", (a) => {
193
+ var n, e, m, h, x, i;
194
+ const s = a == null ? void 0 : a.seriesName;
195
+ if (typeof s == "string" && s) {
196
+ const d = ((e = (n = o.conf) == null ? void 0 : n.options) == null ? void 0 : e.linkChannel) === "custom" ? (h = (m = o.conf) == null ? void 0 : m.options) == null ? void 0 : h.customChannel : (i = (x = o.conf) == null ? void 0 : x.options) == null ? void 0 : i.linkChannel;
197
+ l.publish(d || "bar", "bar", {
198
+ objectId: "",
199
+ deviceId: "",
200
+ type: "select",
201
+ fieldKey: s,
202
+ fv: g({ key: s }, a),
203
+ source: "bar"
204
+ });
205
+ }
206
+ });
207
+ }
208
+ }), V(() => {
209
+ _.unregisterInstance(o.uid);
210
+ });
211
+ const A = u.getStyle(), k = u.getEchartId(), O = o.conf, N = B(() => Z(o.conf.options));
212
+ return (f, t) => (M(), W("div", {
213
+ class: "mix-component",
214
+ style: U({ background: S(A).bgColor, borderRadius: `${S(A).radiusSize}px` })
215
+ }, [
216
+ C("div", {
217
+ class: "mix-title",
218
+ style: U(N.value)
219
+ }, X(S(O).caption || S(O).name), 5),
220
+ C("div", dt, [
221
+ C("div", {
222
+ class: "w-full h-full",
223
+ id: S(k)
224
+ }, null, 8, pt)
225
+ ]),
226
+ P(f.$slots, "default", {}, void 0, !0)
227
+ ], 4));
228
+ }
229
+ })), It = /* @__PURE__ */ Q(bt, [["__scopeId", "data-v-0fc03873"]]);
230
+ export {
231
+ It as default
232
+ };
@@ -0,0 +1,226 @@
1
+ var J = Object.defineProperty, Q = Object.defineProperties;
2
+ var X = Object.getOwnPropertyDescriptors;
3
+ var V = Object.getOwnPropertySymbols;
4
+ var Y = Object.prototype.hasOwnProperty, ee = Object.prototype.propertyIsEnumerable;
5
+ var T = (a, n, s) => n in a ? J(a, n, { enumerable: !0, configurable: !0, writable: !0, value: s }) : a[n] = s, L = (a, n) => {
6
+ for (var s in n || (n = {}))
7
+ Y.call(n, s) && T(a, s, n[s]);
8
+ if (V)
9
+ for (var s of V(n))
10
+ ee.call(n, s) && T(a, s, n[s]);
11
+ return a;
12
+ }, j = (a, n) => Q(a, X(n));
13
+ var D = (a, n, s) => new Promise((g, m) => {
14
+ var k = (c) => {
15
+ try {
16
+ v(s.next(c));
17
+ } catch (C) {
18
+ m(C);
19
+ }
20
+ }, O = (c) => {
21
+ try {
22
+ v(s.throw(c));
23
+ } catch (C) {
24
+ m(C);
25
+ }
26
+ }, v = (c) => c.done ? g(c.value) : Promise.resolve(c.value).then(k, O);
27
+ v((s = s.apply(a, n)).next());
28
+ });
29
+ import { ElIcon as te } from "element-plus/es";
30
+ import "element-plus/es/components/base/style/css";
31
+ import "element-plus/es/components/icon/style/css";
32
+ import { defineComponent as oe, getCurrentInstance as se, computed as R, reactive as ne, ref as w, openBlock as f, createElementBlock as y, normalizeStyle as $, unref as b, createElementVNode as i, toDisplayString as p, createVNode as N, withCtx as A, Fragment as ae, renderList as le, createBlock as ie, createCommentVNode as P, withModifiers as re, renderSlot as ce } from "vue";
33
+ import { B as de } from "./element-resize-detector-DJcsrJ8s.js";
34
+ import { _ as ue } from "./index-kShjySl9.js";
35
+ import { g as pe } from "./titleStyle-BT5GlpAb.js";
36
+ import { n as me, B as fe, M as ge, a as ve, w as _e } from "./no-image-icon-n2ZlEjxS.js";
37
+ import { Close as he } from "@element-plus/icons-vue";
38
+ import { a as F } from "./api-C0GhBpqd.js";
39
+ import { A as ye, D as be } from "./ele-bmp-icon-Pdolk1J5.js";
40
+ const ke = { class: "mix-body" }, Ce = { key: 0 }, Se = { class: "w-[80px] h-[80px]" }, xe = ["src"], Me = { class: "bdmap-base-info" }, we = { class: "flex" }, Ne = { class: "name" }, Oe = { class: "value" }, ze = { class: "flex" }, $e = { class: "name" }, Ae = { class: "value" }, Be = { class: "flex" }, Ee = { class: "name" }, Ie = { class: "value" }, Ve = {
41
+ key: 1,
42
+ class: "w-[100%] h-[100%] p-[12px] text-[13px] text-[#999]"
43
+ }, Te = {
44
+ DEFAULT_ICON: be,
45
+ ACTIVE_ICON: ye,
46
+ NAME_CN: "百度地图",
47
+ NAME_EN: "Baidu Map",
48
+ ORDER: 2
49
+ }, Le = {
50
+ titleColor: "#111",
51
+ bgColor: "#fff",
52
+ radiusSize: 8,
53
+ isHideTitle: !1,
54
+ lng: 113.933782,
55
+ lat: 22.582649,
56
+ zoom: 10
57
+ }, je = {
58
+ baiduMapAk: ""
59
+ // 百度地图AK,用户自行申请
60
+ }, De = { DEFAULT: Te, OPTIONS: Le, COMMON: je }, Re = /* @__PURE__ */ oe(j(L({}, De), {
61
+ __name: "bmp",
62
+ props: {
63
+ conf: { type: Object, default: () => ({ data: [] }) },
64
+ uid: { type: String, default: "" },
65
+ mode: { type: String, default: "edit" },
66
+ theme: { type: String, default: "light" }
67
+ },
68
+ setup(a) {
69
+ const { proxy: n } = se(), s = "bmp_" + Math.random().toString(16).substring(4, 12);
70
+ let g = null, m = null;
71
+ const k = a;
72
+ class O extends de {
73
+ extractStyles() {
74
+ return {
75
+ bgColor: this.getOptionValue("bgColor", "#73bff9"),
76
+ titleColor: this.getOptionValue("titleColor", "#111"),
77
+ radiusSize: this.getOptionValue("radiusSize", 4),
78
+ zoom: this.getOptionValue("zoom", 10),
79
+ lng: this.getOptionValue("lng", 113.933782),
80
+ lat: this.getOptionValue("lat", 22.582649),
81
+ isHideTitle: this.getOptionValue("isHideTitle", !1)
82
+ };
83
+ }
84
+ init() {
85
+ var u;
86
+ this.Style.value = this.extractStyles(), this.applyTheme(), l.zoom = this.Style.value.zoom, l.center.lat = this.Style.value.lat, l.center.lng = this.Style.value.lng;
87
+ const e = ((u = this.props.conf) == null ? void 0 : u.common) || {};
88
+ if (l.ak = e.baiduMapAk || "", m && g) {
89
+ const o = new m.Point(this.Style.value.lng, this.Style.value.lat);
90
+ g.centerAndZoom(o, this.Style.value.zoom);
91
+ }
92
+ }
93
+ }
94
+ const v = new O(k, "bmp");
95
+ v.setupLifecycle();
96
+ const c = v.getStyle(), C = R(() => pe(k.conf.options)), l = ne({ zoom: 10, ak: "", center: { lat: 22.582649, lng: 113.933782 } }), _ = w([]), d = w({}), B = w(0), E = w(0), S = w(!1), H = ({ BMap: t, map: e }) => {
97
+ g = e, m = t, k.mode === "preview" && Z();
98
+ }, Z = () => D(null, null, function* () {
99
+ const { result: t } = yield F.post("get_object_list"), e = /^(\-|\+)?(((\d|[1-9]\d|1[0-7]\d|0{1,3})\.\d{0,6})|(\d|[1-9]\d|1[0-7]\d|0{1,3})|180\.0{0,6}|180)$/, u = /^(\-|\+)?([0-8]?\d{1}\.\d{0,6}|90\.0{0,6}|[0-8]?\d{1}|90)$/;
100
+ _.value = [];
101
+ let o = !1;
102
+ t.data.forEach((r) => {
103
+ let x = "";
104
+ if (r.gis || r.gis.split(", ").length > 1) {
105
+ const h = r.gis.split(", ");
106
+ if (e.test(h[1]) && u.test(h[0]) && Number(h[1]) && Number(h[0])) {
107
+ const I = _e(Number(h[1]), Number(h[0]));
108
+ x = I[1] + "," + I[0];
109
+ } else x = r.custom_gis;
110
+ } else x = r.custom_gis;
111
+ const M = x.split(",");
112
+ M.length >= 2 && !o && (l.center.lng = Number(M[1]), l.center.lat = Number(M[0]), o = !0), x.length > 1 && _.value.push({
113
+ center: { lng: M[1], lat: M[0] },
114
+ image: r.image,
115
+ address: r.address || r.province + r.city,
116
+ name: r.name,
117
+ uid: r.uid,
118
+ desc: r.description
119
+ });
120
+ }), !o && _.value[0] && (l.center = _.value[0].center);
121
+ const z = new m.Point(l.center.lng, l.center.lat);
122
+ g.centerAndZoom(z, c.value.zoom);
123
+ }), q = (t, e) => {
124
+ B.value = t.pixel.y + 10 + "px", E.value = t.pixel.x + 10 + "px", d.value = e, e.address || K(e), S.value = !0;
125
+ }, U = (t) => console.log(t), W = R(() => d.value.image ? n.config.file_url + "/" + d.value.image : me), K = (t) => {
126
+ const e = `${t.center.lat},${t.center.lng}`, u = { ak: l.ak, location: e, coordtype: "bd09ll", output: "json", extensions_poi: 1 };
127
+ F.getLocation("/bdMapAddress", u).then((o) => {
128
+ o.status === 0 && (d.value.address = o.result.formatted_address_poi || o.result.formatted_address);
129
+ });
130
+ }, G = (t) => {
131
+ if (t) {
132
+ let e = location.href;
133
+ e.indexOf("?object_id=") > -1 && (e = e.split("?object_id=")[0]), location.href = e + "?object_id=" + t, location.reload();
134
+ }
135
+ };
136
+ return (t, e) => {
137
+ const u = te;
138
+ return f(), y("div", {
139
+ class: "mix-component",
140
+ style: $({ background: b(c).bgColor, borderRadius: `${b(c).radiusSize}px` })
141
+ }, [
142
+ i("div", {
143
+ class: "mix-title",
144
+ style: $(C.value)
145
+ }, p(a.conf.caption || a.conf.name), 5),
146
+ i("div", ke, [
147
+ l.ak ? (f(), y("div", {
148
+ key: 0,
149
+ class: "map-wrap",
150
+ id: s
151
+ }, [
152
+ N(b(fe), {
153
+ class: "bm-view relative",
154
+ center: l.center,
155
+ "map-click": !1,
156
+ zoom: l.zoom,
157
+ ak: l.ak,
158
+ v: "3.0",
159
+ type: "API",
160
+ onMovestart: e[2] || (e[2] = (o) => S.value = !1),
161
+ onZoomstart: e[3] || (e[3] = (o) => S.value = !1),
162
+ onClick: e[4] || (e[4] = (o) => U("close")),
163
+ "scroll-wheel-zoom": !0,
164
+ onReady: H
165
+ }, {
166
+ default: A(() => [
167
+ _.value.length ? (f(), y("div", Ce, [
168
+ N(b(ge), null, {
169
+ default: A(() => [
170
+ (f(!0), y(ae, null, le(_.value, (o) => (f(), ie(b(ve), {
171
+ onClick: (z) => q(z, o),
172
+ key: o.uid,
173
+ position: o.center
174
+ }, null, 8, ["onClick", "position"]))), 128))
175
+ ]),
176
+ _: 1
177
+ })
178
+ ])) : P("", !0),
179
+ S.value ? (f(), y("div", {
180
+ key: 1,
181
+ class: "index-bdmap-equipment",
182
+ style: $({ top: B.value, left: E.value }),
183
+ onClick: e[1] || (e[1] = (o) => G(d.value))
184
+ }, [
185
+ i("div", Se, [
186
+ i("img", {
187
+ src: W.value,
188
+ class: "w-[100%] h-[100%]"
189
+ }, null, 8, xe)
190
+ ]),
191
+ i("div", Me, [
192
+ i("div", we, [
193
+ i("span", Ne, p(t.$t("component.map.deviceNumber")) + ":", 1),
194
+ i("span", Oe, p(d.value.uid), 1)
195
+ ]),
196
+ i("div", ze, [
197
+ i("span", $e, p(t.$t("component.map.deviceName")) + ":", 1),
198
+ i("span", Ae, p(d.value.name), 1)
199
+ ]),
200
+ i("div", Be, [
201
+ i("span", Ee, p(t.$t("component.map.address")) + ":", 1),
202
+ i("span", Ie, p(d.value.address), 1)
203
+ ])
204
+ ]),
205
+ N(u, { class: "close-icon" }, {
206
+ default: A(() => [
207
+ N(b(he), {
208
+ onClick: e[0] || (e[0] = re((o) => S.value = !1, ["stop"]))
209
+ })
210
+ ]),
211
+ _: 1
212
+ })
213
+ ], 4)) : P("", !0)
214
+ ]),
215
+ _: 1
216
+ }, 8, ["center", "zoom", "ak"])
217
+ ])) : (f(), y("div", Ve, p(t.$t("component.map.apiKeyRequired")), 1))
218
+ ]),
219
+ ce(t.$slots, "default", {}, void 0, !0)
220
+ ], 4);
221
+ };
222
+ }
223
+ })), Ye = /* @__PURE__ */ ue(Re, [["__scopeId", "data-v-7c9a461b"]]);
224
+ export {
225
+ Ye as default
226
+ };
@@ -0,0 +1 @@
1
+ "use strict";var P=Object.defineProperty,F=Object.defineProperties;var H=Object.getOwnPropertyDescriptors;var B=Object.getOwnPropertySymbols;var U=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable;var O=(a,l,s)=>l in a?P(a,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):a[l]=s,w=(a,l)=>{for(var s in l||(l={}))U.call(l,s)&&O(a,s,l[s]);if(B)for(var s of B(l))Z.call(l,s)&&O(a,s,l[s]);return a},z=(a,l)=>F(a,H(l));var M=(a,l,s)=>new Promise((m,p)=>{var y=c=>{try{g(s.next(c))}catch(_){p(_)}},S=c=>{try{g(s.throw(c))}catch(_){p(_)}},g=c=>c.done?m(c.value):Promise.resolve(c.value).then(y,S);g((s=s.apply(a,l)).next())});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/icon/style/css");const e=require("vue"),K=require("./element-resize-detector-Bo5uDQAu.cjs"),G=require("./index-Mh5Dw2sd.cjs"),J=require("./titleStyle-NSnz6cUg.cjs"),N=require("./no-image-icon-CPA7RKkF.cjs"),Q=require("@element-plus/icons-vue"),I=require("./api-P_s372dW.cjs"),$=require("./ele-bmp-icon-BBI0-SX7.cjs"),X={class:"mix-body"},Y={key:0},ee={class:"w-[80px] h-[80px]"},te=["src"],oe={class:"bdmap-base-info"},ne={class:"flex"},se={class:"name"},le={class:"value"},ae={class:"flex"},ie={class:"name"},re={class:"value"},ce={class:"flex"},de={class:"name"},ue={class:"value"},pe={key:1,class:"w-[100%] h-[100%] p-[12px] text-[13px] text-[#999]"},me={DEFAULT_ICON:$.DEFAULT_ICON,ACTIVE_ICON:$.ACTIVE_ICON,NAME_CN:"百度地图",NAME_EN:"Baidu Map",ORDER:2},ge={titleColor:"#111",bgColor:"#fff",radiusSize:8,isHideTitle:!1,lng:113.933782,lat:22.582649,zoom:10},fe={baiduMapAk:""},ve={DEFAULT:me,OPTIONS:ge,COMMON:fe},ye=e.defineComponent(z(w({},ve),{__name:"bmp",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(a){const{proxy:l}=e.getCurrentInstance(),s="bmp_"+Math.random().toString(16).substring(4,12);let m=null,p=null;const y=a;class S extends K.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#73bff9"),titleColor:this.getOptionValue("titleColor","#111"),radiusSize:this.getOptionValue("radiusSize",4),zoom:this.getOptionValue("zoom",10),lng:this.getOptionValue("lng",113.933782),lat:this.getOptionValue("lat",22.582649),isHideTitle:this.getOptionValue("isHideTitle",!1)}}init(){var u;this.Style.value=this.extractStyles(),this.applyTheme(),i.zoom=this.Style.value.zoom,i.center.lat=this.Style.value.lat,i.center.lng=this.Style.value.lng;const t=((u=this.props.conf)==null?void 0:u.common)||{};if(i.ak=t.baiduMapAk||"",p&&m){const n=new p.Point(this.Style.value.lng,this.Style.value.lat);m.centerAndZoom(n,this.Style.value.zoom)}}}const g=new S(y,"bmp");g.setupLifecycle();const c=g.getStyle(),_=e.computed(()=>J.generateTitleStyle(y.conf.options)),i=e.reactive({zoom:10,ak:"",center:{lat:22.582649,lng:113.933782}}),f=e.ref([]),d=e.ref({}),E=e.ref(0),V=e.ref(0),h=e.ref(!1),A=({BMap:o,map:t})=>{m=t,p=o,y.mode==="preview"&&D()},D=()=>M(null,null,function*(){const{result:o}=yield I.api.post("get_object_list"),t=/^(\-|\+)?(((\d|[1-9]\d|1[0-7]\d|0{1,3})\.\d{0,6})|(\d|[1-9]\d|1[0-7]\d|0{1,3})|180\.0{0,6}|180)$/,u=/^(\-|\+)?([0-8]?\d{1}\.\d{0,6}|90\.0{0,6}|[0-8]?\d{1}|90)$/;f.value=[];let n=!1;o.data.forEach(r=>{let k="";if(r.gis||r.gis.split(", ").length>1){const v=r.gis.split(", ");if(t.test(v[1])&&u.test(v[0])&&Number(v[1])&&Number(v[0])){const x=N.wgs84tobd09(Number(v[1]),Number(v[0]));k=x[1]+","+x[0]}else k=r.custom_gis}else k=r.custom_gis;const b=k.split(",");b.length>=2&&!n&&(i.center.lng=Number(b[1]),i.center.lat=Number(b[0]),n=!0),k.length>1&&f.value.push({center:{lng:b[1],lat:b[0]},image:r.image,address:r.address||r.province+r.city,name:r.name,uid:r.uid,desc:r.description})}),!n&&f.value[0]&&(i.center=f.value[0].center);const C=new p.Point(i.center.lng,i.center.lat);m.centerAndZoom(C,c.value.zoom)}),q=(o,t)=>{E.value=o.pixel.y+10+"px",V.value=o.pixel.x+10+"px",d.value=t,t.address||j(t),h.value=!0},T=o=>console.log(o),L=e.computed(()=>d.value.image?l.config.file_url+"/"+d.value.image:N.nullImage),j=o=>{const t=`${o.center.lat},${o.center.lng}`,u={ak:i.ak,location:t,coordtype:"bd09ll",output:"json",extensions_poi:1};I.api.getLocation("/bdMapAddress",u).then(n=>{n.status===0&&(d.value.address=n.result.formatted_address_poi||n.result.formatted_address)})},R=o=>{if(o){let t=location.href;t.indexOf("?object_id=")>-1&&(t=t.split("?object_id=")[0]),location.href=t+"?object_id="+o,location.reload()}};return(o,t)=>{const u=W.ElIcon;return e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(c).bgColor,borderRadius:`${e.unref(c).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(_.value)},e.toDisplayString(a.conf.caption||a.conf.name),5),e.createElementVNode("div",X,[i.ak?(e.openBlock(),e.createElementBlock("div",{key:0,class:"map-wrap",id:s},[e.createVNode(e.unref(N.BaiduMap),{class:"bm-view relative",center:i.center,"map-click":!1,zoom:i.zoom,ak:i.ak,v:"3.0",type:"API",onMovestart:t[2]||(t[2]=n=>h.value=!1),onZoomstart:t[3]||(t[3]=n=>h.value=!1),onClick:t[4]||(t[4]=n=>T("close")),"scroll-wheel-zoom":!0,onReady:A},{default:e.withCtx(()=>[f.value.length?(e.openBlock(),e.createElementBlock("div",Y,[e.createVNode(e.unref(N.MarkerClusterer),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value,n=>(e.openBlock(),e.createBlock(e.unref(N.BmMarker),{onClick:C=>q(C,n),key:n.uid,position:n.center},null,8,["onClick","position"]))),128))]),_:1})])):e.createCommentVNode("",!0),h.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:"index-bdmap-equipment",style:e.normalizeStyle({top:E.value,left:V.value}),onClick:t[1]||(t[1]=n=>R(d.value))},[e.createElementVNode("div",ee,[e.createElementVNode("img",{src:L.value,class:"w-[100%] h-[100%]"},null,8,te)]),e.createElementVNode("div",oe,[e.createElementVNode("div",ne,[e.createElementVNode("span",se,e.toDisplayString(o.$t("component.map.deviceNumber"))+":",1),e.createElementVNode("span",le,e.toDisplayString(d.value.uid),1)]),e.createElementVNode("div",ae,[e.createElementVNode("span",ie,e.toDisplayString(o.$t("component.map.deviceName"))+":",1),e.createElementVNode("span",re,e.toDisplayString(d.value.name),1)]),e.createElementVNode("div",ce,[e.createElementVNode("span",de,e.toDisplayString(o.$t("component.map.address"))+":",1),e.createElementVNode("span",ue,e.toDisplayString(d.value.address),1)])]),e.createVNode(u,{class:"close-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(Q.Close),{onClick:t[0]||(t[0]=e.withModifiers(n=>h.value=!1,["stop"]))})]),_:1})],4)):e.createCommentVNode("",!0)]),_:1},8,["center","zoom","ak"])])):(e.openBlock(),e.createElementBlock("div",pe,e.toDisplayString(o.$t("component.map.apiKeyRequired")),1))]),e.renderSlot(o.$slots,"default",{},void 0,!0)],4)}}})),_e=G._export_sfc(ye,[["__scopeId","data-v-7c9a461b"]]);exports.default=_e;