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,1258 @@
1
+ import { u as Z } from "./installCanvasRenderer-CLT2hquJ.js";
2
+ import { P as L, h as g, eL as vt, eM as ft, f as R, _ as z, O as V, aa as It, j as wt, B as Lt, m as Y, C as Rt, d5 as dt, cl as gt, K as yt, n as Tt, R as mt, p as Ot, b as zt, a as Ct, Z as C, c as D, G as k, aP as q, H as K, bl as W, cI as Dt, dg as Ht, x as kt, cn as Pt, bp as G, eh as B, eN as At, bC as Et, g as Gt, eg as Bt, cF as Ft, ds as Nt, T as Mt, o as _t, eO as J, b8 as Kt, e as Wt } from "./echarts-BVht3HHb.js";
3
+ import { V as S } from "./VisualMapping-D-MA7S0X.js";
4
+ function $t(u, a, t, e, i, r) {
5
+ u = u || 0;
6
+ var n = t[1] - t[0];
7
+ if (i != null && (i = T(i, [0, n])), r != null && (r = Math.max(r, i != null ? i : 0)), e === "all") {
8
+ var o = Math.abs(a[1] - a[0]);
9
+ o = T(o, [0, n]), i = r = T(o, [i, r]), e = 0;
10
+ }
11
+ a[0] = T(a[0], t), a[1] = T(a[1], t);
12
+ var l = F(a, e);
13
+ a[e] += u;
14
+ var h = i || 0, p = t.slice();
15
+ l.sign < 0 ? p[0] += h : p[1] -= h, a[e] = T(a[e], p);
16
+ var s;
17
+ return s = F(a, e), i != null && (s.sign !== l.sign || s.span < i) && (a[1 - e] = a[e] + l.sign * i), s = F(a, e), r != null && s.span > r && (a[1 - e] = a[e] + s.sign * r), a;
18
+ }
19
+ function F(u, a) {
20
+ var t = u[a] - u[1 - a];
21
+ return {
22
+ span: Math.abs(t),
23
+ sign: t > 0 ? -1 : t < 0 ? 1 : a ? -1 : 1
24
+ };
25
+ }
26
+ function T(u, a) {
27
+ return Math.min(a[1] != null ? a[1] : 1 / 0, Math.max(a[0] != null ? a[0] : -1 / 0, u));
28
+ }
29
+ var Q = g;
30
+ function j(u) {
31
+ if (u) {
32
+ for (var a in u)
33
+ if (u.hasOwnProperty(a))
34
+ return !0;
35
+ }
36
+ }
37
+ function tt(u, a, t) {
38
+ var e = {};
39
+ return Q(a, function(r) {
40
+ var n = e[r] = i();
41
+ Q(u[r], function(o, l) {
42
+ if (S.isValidType(l)) {
43
+ var h = {
44
+ type: l,
45
+ visual: o
46
+ };
47
+ t && t(h, r), n[l] = new S(h), l === "opacity" && (h = L(h), h.type = "colorAlpha", n.__hidden.__alphaForOpacity = new S(h));
48
+ }
49
+ });
50
+ }), e;
51
+ function i() {
52
+ var r = function() {
53
+ };
54
+ r.prototype.__hidden = r.prototype;
55
+ var n = new r();
56
+ return n;
57
+ }
58
+ }
59
+ function Ut(u, a, t) {
60
+ var e;
61
+ g(t, function(i) {
62
+ a.hasOwnProperty(i) && j(a[i]) && (e = !0);
63
+ }), e && g(t, function(i) {
64
+ a.hasOwnProperty(i) && j(a[i]) ? u[i] = L(a[i]) : delete u[i];
65
+ });
66
+ }
67
+ function me(u, a, t, e, i, r) {
68
+ var n = {};
69
+ g(u, function(s) {
70
+ var c = S.prepareVisualTypes(a[s]);
71
+ n[s] = c;
72
+ });
73
+ var o;
74
+ function l(s) {
75
+ return vt(t, o, s);
76
+ }
77
+ function h(s, c) {
78
+ ft(t, o, s, c);
79
+ }
80
+ t.each(p);
81
+ function p(s, c) {
82
+ o = s;
83
+ var v = t.getRawDataItem(o);
84
+ if (!(v && v.visualMap === !1))
85
+ for (var f = e.call(i, s), d = a[f], y = n[f], m = 0, _ = y.length; m < _; m++) {
86
+ var M = y[m];
87
+ d[M] && d[M].applyVisual(s, l, h);
88
+ }
89
+ }
90
+ }
91
+ function Xt(u, a, t, e) {
92
+ var i = {};
93
+ return g(u, function(r) {
94
+ var n = S.prepareVisualTypes(a[r]);
95
+ i[r] = n;
96
+ }), {
97
+ progress: function(n, o) {
98
+ var l;
99
+ e != null && (l = o.getDimensionIndex(e));
100
+ function h(w) {
101
+ return vt(o, s, w);
102
+ }
103
+ function p(w, x) {
104
+ ft(o, s, w, x);
105
+ }
106
+ for (var s, c = o.getStore(); (s = n.next()) != null; ) {
107
+ var v = o.getRawDataItem(s);
108
+ if (!(v && v.visualMap === !1))
109
+ for (var f = e != null ? c.get(l, s) : s, d = t(f), y = a[d], m = i[d], _ = 0, M = m.length; _ < M; _++) {
110
+ var I = m[_];
111
+ y[I] && y[I].applyVisual(f, h, p);
112
+ }
113
+ }
114
+ }
115
+ };
116
+ }
117
+ var St = {
118
+ /**
119
+ * @public
120
+ */
121
+ get: function(u, a, t) {
122
+ var e = L((Zt[u] || {})[a]);
123
+ return t && R(e) ? e[e.length - 1] : e;
124
+ }
125
+ }, Zt = {
126
+ color: {
127
+ active: ["#006edd", "#e0ffff"],
128
+ inactive: ["rgba(0,0,0,0)"]
129
+ },
130
+ colorHue: {
131
+ active: [0, 360],
132
+ inactive: [0, 0]
133
+ },
134
+ colorSaturation: {
135
+ active: [0.3, 1],
136
+ inactive: [0, 0]
137
+ },
138
+ colorLightness: {
139
+ active: [0.9, 0.5],
140
+ inactive: [0, 0]
141
+ },
142
+ colorAlpha: {
143
+ active: [0.3, 1],
144
+ inactive: [0, 0]
145
+ },
146
+ opacity: {
147
+ active: [0.3, 1],
148
+ inactive: [0, 0]
149
+ },
150
+ symbol: {
151
+ active: ["circle", "roundRect", "diamond"],
152
+ inactive: ["none"]
153
+ },
154
+ symbolSize: {
155
+ active: [10, 50],
156
+ inactive: [0, 0]
157
+ }
158
+ }, et = S.mapVisual, Yt = S.eachVisual, qt = R, it = g, Jt = dt, Qt = gt, P = (
159
+ /** @class */
160
+ (function(u) {
161
+ z(a, u);
162
+ function a() {
163
+ var t = u !== null && u.apply(this, arguments) || this;
164
+ return t.type = a.type, t.stateList = ["inRange", "outOfRange"], t.replacableOptionKeys = ["inRange", "outOfRange", "target", "controller", "color"], t.layoutMode = {
165
+ type: "box",
166
+ ignoreSize: !0
167
+ }, t.dataBound = [-1 / 0, 1 / 0], t.targetVisuals = {}, t.controllerVisuals = {}, t;
168
+ }
169
+ return a.prototype.init = function(t, e, i) {
170
+ this.mergeDefaultAndTheme(t, i);
171
+ }, a.prototype.optionUpdated = function(t, e) {
172
+ var i = this.option;
173
+ !e && Ut(i, t, this.replacableOptionKeys), this.textStyleModel = this.getModel("textStyle"), this.resetItemSize(), this.completeVisualOption();
174
+ }, a.prototype.resetVisual = function(t) {
175
+ var e = this.stateList;
176
+ t = V(t, this), this.controllerVisuals = tt(this.option.controller, e, t), this.targetVisuals = tt(this.option.target, e, t);
177
+ }, a.prototype.getItemSymbol = function() {
178
+ return null;
179
+ }, a.prototype.getTargetSeriesIndices = function() {
180
+ var t = this.option.seriesIndex, e = [];
181
+ return t == null || t === "all" ? this.ecModel.eachSeries(function(i, r) {
182
+ e.push(r);
183
+ }) : e = It(t), e;
184
+ }, a.prototype.eachTargetSeries = function(t, e) {
185
+ g(this.getTargetSeriesIndices(), function(i) {
186
+ var r = this.ecModel.getSeriesByIndex(i);
187
+ r && t.call(e, r);
188
+ }, this);
189
+ }, a.prototype.isTargetSeries = function(t) {
190
+ var e = !1;
191
+ return this.eachTargetSeries(function(i) {
192
+ i === t && (e = !0);
193
+ }), e;
194
+ }, a.prototype.formatValueText = function(t, e, i) {
195
+ var r = this.option, n = r.precision, o = this.dataBound, l = r.formatter, h;
196
+ i = i || ["<", ">"], R(t) && (t = t.slice(), h = !0);
197
+ var p = e ? t : h ? [s(t[0]), s(t[1])] : s(t);
198
+ if (wt(l))
199
+ return l.replace("{value}", h ? p[0] : p).replace("{value2}", h ? p[1] : p);
200
+ if (Lt(l))
201
+ return h ? l(t[0], t[1]) : l(t);
202
+ if (h)
203
+ return t[0] === o[0] ? i[0] + " " + p[1] : t[1] === o[1] ? i[1] + " " + p[0] : p[0] + " - " + p[1];
204
+ return p;
205
+ function s(c) {
206
+ return c === o[0] ? "min" : c === o[1] ? "max" : (+c).toFixed(Math.min(n, 20));
207
+ }
208
+ }, a.prototype.resetExtent = function() {
209
+ var t = this.option, e = Jt([t.min, t.max]);
210
+ this._dataExtent = e;
211
+ }, a.prototype.getDataDimensionIndex = function(t) {
212
+ var e = this.option.dimension;
213
+ if (e != null)
214
+ return t.getDimensionIndex(e);
215
+ for (var i = t.dimensions, r = i.length - 1; r >= 0; r--) {
216
+ var n = i[r], o = t.getDimensionInfo(n);
217
+ if (!o.isCalculationCoord)
218
+ return o.storeDimIndex;
219
+ }
220
+ }, a.prototype.getExtent = function() {
221
+ return this._dataExtent.slice();
222
+ }, a.prototype.completeVisualOption = function() {
223
+ var t = this.ecModel, e = this.option, i = {
224
+ inRange: e.inRange,
225
+ outOfRange: e.outOfRange
226
+ }, r = e.target || (e.target = {}), n = e.controller || (e.controller = {});
227
+ Y(r, i), Y(n, i);
228
+ var o = this.isCategory();
229
+ l.call(this, r), l.call(this, n), h.call(this, r, "inRange", "outOfRange"), p.call(this, n);
230
+ function l(s) {
231
+ qt(e.color) && !s.inRange && (s.inRange = {
232
+ color: e.color.slice().reverse()
233
+ }), s.inRange = s.inRange || {
234
+ color: t.get("gradientColor")
235
+ };
236
+ }
237
+ function h(s, c, v) {
238
+ var f = s[c], d = s[v];
239
+ f && !d && (d = s[v] = {}, it(f, function(y, m) {
240
+ if (S.isValidType(m)) {
241
+ var _ = St.get(m, "inactive", o);
242
+ _ != null && (d[m] = _, m === "color" && !d.hasOwnProperty("opacity") && !d.hasOwnProperty("colorAlpha") && (d.opacity = [0, 0]));
243
+ }
244
+ }));
245
+ }
246
+ function p(s) {
247
+ var c = (s.inRange || {}).symbol || (s.outOfRange || {}).symbol, v = (s.inRange || {}).symbolSize || (s.outOfRange || {}).symbolSize, f = this.get("inactiveColor"), d = this.getItemSymbol(), y = d || "roundRect";
248
+ it(this.stateList, function(m) {
249
+ var _ = this.itemSize, M = s[m];
250
+ M || (M = s[m] = {
251
+ color: o ? f : [f]
252
+ }), M.symbol == null && (M.symbol = c && L(c) || (o ? y : [y])), M.symbolSize == null && (M.symbolSize = v && L(v) || (o ? _[0] : [_[0], _[0]])), M.symbol = et(M.symbol, function(x) {
253
+ return x === "none" ? y : x;
254
+ });
255
+ var I = M.symbolSize;
256
+ if (I != null) {
257
+ var w = -1 / 0;
258
+ Yt(I, function(x) {
259
+ x > w && (w = x);
260
+ }), M.symbolSize = et(I, function(x) {
261
+ return Qt(x, [0, w], [0, _[0]], !0);
262
+ });
263
+ }
264
+ }, this);
265
+ }
266
+ }, a.prototype.resetItemSize = function() {
267
+ this.itemSize = [parseFloat(this.get("itemWidth")), parseFloat(this.get("itemHeight"))];
268
+ }, a.prototype.isCategory = function() {
269
+ return !!this.option.categories;
270
+ }, a.prototype.setSelected = function(t) {
271
+ }, a.prototype.getSelected = function() {
272
+ return null;
273
+ }, a.prototype.getValueState = function(t) {
274
+ return null;
275
+ }, a.prototype.getVisualMeta = function(t) {
276
+ return null;
277
+ }, a.type = "visualMap", a.dependencies = ["series"], a.defaultOption = {
278
+ show: !0,
279
+ // zlevel: 0,
280
+ z: 4,
281
+ seriesIndex: "all",
282
+ min: 0,
283
+ max: 200,
284
+ left: 0,
285
+ right: null,
286
+ top: null,
287
+ bottom: 0,
288
+ itemWidth: null,
289
+ itemHeight: null,
290
+ inverse: !1,
291
+ orient: "vertical",
292
+ backgroundColor: "rgba(0,0,0,0)",
293
+ borderColor: "#ccc",
294
+ contentColor: "#5793f3",
295
+ inactiveColor: "#aaa",
296
+ borderWidth: 0,
297
+ padding: 5,
298
+ // 接受数组分别设定上右下左边距,同css
299
+ textGap: 10,
300
+ precision: 0,
301
+ textStyle: {
302
+ color: "#333"
303
+ // 值域文字颜色
304
+ }
305
+ }, a;
306
+ })(Rt)
307
+ ), at = [20, 140], jt = (
308
+ /** @class */
309
+ (function(u) {
310
+ z(a, u);
311
+ function a() {
312
+ var t = u !== null && u.apply(this, arguments) || this;
313
+ return t.type = a.type, t;
314
+ }
315
+ return a.prototype.optionUpdated = function(t, e) {
316
+ u.prototype.optionUpdated.apply(this, arguments), this.resetExtent(), this.resetVisual(function(i) {
317
+ i.mappingMethod = "linear", i.dataExtent = this.getExtent();
318
+ }), this._resetRange();
319
+ }, a.prototype.resetItemSize = function() {
320
+ u.prototype.resetItemSize.apply(this, arguments);
321
+ var t = this.itemSize;
322
+ (t[0] == null || isNaN(t[0])) && (t[0] = at[0]), (t[1] == null || isNaN(t[1])) && (t[1] = at[1]);
323
+ }, a.prototype._resetRange = function() {
324
+ var t = this.getExtent(), e = this.option.range;
325
+ !e || e.auto ? (t.auto = 1, this.option.range = t) : R(e) && (e[0] > e[1] && e.reverse(), e[0] = Math.max(e[0], t[0]), e[1] = Math.min(e[1], t[1]));
326
+ }, a.prototype.completeVisualOption = function() {
327
+ u.prototype.completeVisualOption.apply(this, arguments), g(this.stateList, function(t) {
328
+ var e = this.option.controller[t].symbolSize;
329
+ e && e[0] !== e[1] && (e[0] = e[1] / 3);
330
+ }, this);
331
+ }, a.prototype.setSelected = function(t) {
332
+ this.option.range = t.slice(), this._resetRange();
333
+ }, a.prototype.getSelected = function() {
334
+ var t = this.getExtent(), e = dt((this.get("range") || []).slice());
335
+ return e[0] > t[1] && (e[0] = t[1]), e[1] > t[1] && (e[1] = t[1]), e[0] < t[0] && (e[0] = t[0]), e[1] < t[0] && (e[1] = t[0]), e;
336
+ }, a.prototype.getValueState = function(t) {
337
+ var e = this.option.range, i = this.getExtent();
338
+ return (e[0] <= i[0] || e[0] <= t) && (e[1] >= i[1] || t <= e[1]) ? "inRange" : "outOfRange";
339
+ }, a.prototype.findTargetDataIndices = function(t) {
340
+ var e = [];
341
+ return this.eachTargetSeries(function(i) {
342
+ var r = [], n = i.getData();
343
+ n.each(this.getDataDimensionIndex(n), function(o, l) {
344
+ t[0] <= o && o <= t[1] && r.push(l);
345
+ }, this), e.push({
346
+ seriesId: i.id,
347
+ dataIndex: r
348
+ });
349
+ }, this), e;
350
+ }, a.prototype.getVisualMeta = function(t) {
351
+ var e = rt(this, "outOfRange", this.getExtent()), i = rt(this, "inRange", this.option.range.slice()), r = [];
352
+ function n(v, f) {
353
+ r.push({
354
+ value: v,
355
+ color: t(v, f)
356
+ });
357
+ }
358
+ for (var o = 0, l = 0, h = i.length, p = e.length; l < p && (!i.length || e[l] <= i[0]); l++)
359
+ e[l] < i[o] && n(e[l], "outOfRange");
360
+ for (var s = 1; o < h; o++, s = 0)
361
+ s && r.length && n(i[o], "outOfRange"), n(i[o], "inRange");
362
+ for (var s = 1; l < p; l++)
363
+ (!i.length || i[i.length - 1] < e[l]) && (s && (r.length && n(r[r.length - 1].value, "outOfRange"), s = 0), n(e[l], "outOfRange"));
364
+ var c = r.length;
365
+ return {
366
+ stops: r,
367
+ outerColors: [c ? r[0].color : "transparent", c ? r[c - 1].color : "transparent"]
368
+ };
369
+ }, a.type = "visualMap.continuous", a.defaultOption = yt(P.defaultOption, {
370
+ align: "auto",
371
+ calculable: !1,
372
+ hoverLink: !0,
373
+ realtime: !0,
374
+ handleIcon: "path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",
375
+ handleSize: "120%",
376
+ handleStyle: {
377
+ borderColor: "#fff",
378
+ borderWidth: 1
379
+ },
380
+ indicatorIcon: "circle",
381
+ indicatorSize: "50%",
382
+ indicatorStyle: {
383
+ borderColor: "#fff",
384
+ borderWidth: 2,
385
+ shadowBlur: 2,
386
+ shadowOffsetX: 1,
387
+ shadowOffsetY: 1,
388
+ shadowColor: "rgba(0,0,0,0.2)"
389
+ }
390
+ // emphasis: {
391
+ // handleStyle: {
392
+ // shadowBlur: 3,
393
+ // shadowOffsetX: 1,
394
+ // shadowOffsetY: 1,
395
+ // shadowColor: 'rgba(0,0,0,0.2)'
396
+ // }
397
+ // }
398
+ }), a;
399
+ })(P)
400
+ );
401
+ function rt(u, a, t) {
402
+ if (t[0] === t[1])
403
+ return t.slice();
404
+ for (var e = 200, i = (t[1] - t[0]) / e, r = t[0], n = [], o = 0; o <= e && r < t[1]; o++)
405
+ n.push(r), r += i;
406
+ return n.push(t[1]), n;
407
+ }
408
+ var xt = (
409
+ /** @class */
410
+ (function(u) {
411
+ z(a, u);
412
+ function a() {
413
+ var t = u !== null && u.apply(this, arguments) || this;
414
+ return t.type = a.type, t.autoPositionValues = {
415
+ left: 1,
416
+ right: 1,
417
+ top: 1,
418
+ bottom: 1
419
+ }, t;
420
+ }
421
+ return a.prototype.init = function(t, e) {
422
+ this.ecModel = t, this.api = e;
423
+ }, a.prototype.render = function(t, e, i, r) {
424
+ if (this.visualMapModel = t, t.get("show") === !1) {
425
+ this.group.removeAll();
426
+ return;
427
+ }
428
+ this.doRender(t, e, i, r);
429
+ }, a.prototype.renderBackground = function(t) {
430
+ var e = this.visualMapModel, i = Tt(e.get("padding") || 0), r = t.getBoundingRect();
431
+ t.add(new mt({
432
+ z2: -1,
433
+ silent: !0,
434
+ shape: {
435
+ x: r.x - i[3],
436
+ y: r.y - i[0],
437
+ width: r.width + i[3] + i[1],
438
+ height: r.height + i[0] + i[2]
439
+ },
440
+ style: {
441
+ fill: e.get("backgroundColor"),
442
+ stroke: e.get("borderColor"),
443
+ lineWidth: e.get("borderWidth")
444
+ }
445
+ }));
446
+ }, a.prototype.getControllerVisual = function(t, e, i) {
447
+ i = i || {};
448
+ var r = i.forceState, n = this.visualMapModel, o = {};
449
+ if (e === "color") {
450
+ var l = n.get("contentColor");
451
+ o.color = l;
452
+ }
453
+ function h(v) {
454
+ return o[v];
455
+ }
456
+ function p(v, f) {
457
+ o[v] = f;
458
+ }
459
+ var s = n.controllerVisuals[r || n.getValueState(t)], c = S.prepareVisualTypes(s);
460
+ return g(c, function(v) {
461
+ var f = s[v];
462
+ i.convertOpacityToAlpha && v === "opacity" && (v = "colorAlpha", f = s.__alphaForOpacity), S.dependsOn(v, e) && f && f.applyVisual(t, h, p);
463
+ }), o[e];
464
+ }, a.prototype.positionGroup = function(t) {
465
+ var e = this.visualMapModel, i = this.api;
466
+ Ot(t, e.getBoxLayoutParams(), {
467
+ width: i.getWidth(),
468
+ height: i.getHeight()
469
+ });
470
+ }, a.prototype.doRender = function(t, e, i, r) {
471
+ }, a.type = "visualMap", a;
472
+ })(zt)
473
+ ), nt = [["left", "right", "width"], ["top", "bottom", "height"]];
474
+ function bt(u, a, t) {
475
+ var e = u.option, i = e.align;
476
+ if (i != null && i !== "auto")
477
+ return i;
478
+ for (var r = {
479
+ width: a.getWidth(),
480
+ height: a.getHeight()
481
+ }, n = e.orient === "horizontal" ? 1 : 0, o = nt[n], l = [0, null, 10], h = {}, p = 0; p < 3; p++)
482
+ h[nt[1 - n][p]] = l[p], h[o[p]] = p === 2 ? t[0] : e[o[p]];
483
+ var s = [["x", "width", 3], ["y", "height", 0]][n], c = Ct(h, r, e.padding);
484
+ return o[(c.margin[s[2]] || 0) + c[s[0]] + c[s[1]] * 0.5 < r[s[1]] * 0.5 ? 0 : 1];
485
+ }
486
+ function H(u, a) {
487
+ return g(u || [], function(t) {
488
+ t.dataIndex != null && (t.dataIndexInside = t.dataIndex, t.dataIndex = null), t.highlightKey = "visualMap" + (a ? a.componentIndex : "");
489
+ }), u;
490
+ }
491
+ var b = gt, te = g, ot = Math.min, N = Math.max, ee = 12, ie = 6, ae = (
492
+ /** @class */
493
+ (function(u) {
494
+ z(a, u);
495
+ function a() {
496
+ var t = u !== null && u.apply(this, arguments) || this;
497
+ return t.type = a.type, t._shapes = {}, t._dataInterval = [], t._handleEnds = [], t._hoverLinkDataIndices = [], t;
498
+ }
499
+ return a.prototype.init = function(t, e) {
500
+ u.prototype.init.call(this, t, e), this._hoverLinkFromSeriesMouseOver = V(this._hoverLinkFromSeriesMouseOver, this), this._hideIndicator = V(this._hideIndicator, this);
501
+ }, a.prototype.doRender = function(t, e, i, r) {
502
+ (!r || r.type !== "selectDataRange" || r.from !== this.uid) && this._buildView();
503
+ }, a.prototype._buildView = function() {
504
+ this.group.removeAll();
505
+ var t = this.visualMapModel, e = this.group;
506
+ this._orient = t.get("orient"), this._useHandle = t.get("calculable"), this._resetInterval(), this._renderBar(e);
507
+ var i = t.get("text");
508
+ this._renderEndsText(e, i, 0), this._renderEndsText(e, i, 1), this._updateView(!0), this.renderBackground(e), this._updateView(), this._enableHoverLinkToSeries(), this._enableHoverLinkFromSeries(), this.positionGroup(e);
509
+ }, a.prototype._renderEndsText = function(t, e, i) {
510
+ if (e) {
511
+ var r = e[1 - i];
512
+ r = r != null ? r + "" : "";
513
+ var n = this.visualMapModel, o = n.get("textGap"), l = n.itemSize, h = this._shapes.mainGroup, p = this._applyTransform([l[0] / 2, i === 0 ? -o : l[1] + o], h), s = this._applyTransform(i === 0 ? "bottom" : "top", h), c = this._orient, v = this.visualMapModel.textStyleModel;
514
+ this.group.add(new C({
515
+ style: D(v, {
516
+ x: p[0],
517
+ y: p[1],
518
+ verticalAlign: c === "horizontal" ? "middle" : s,
519
+ align: c === "horizontal" ? s : "center",
520
+ text: r
521
+ })
522
+ }));
523
+ }
524
+ }, a.prototype._renderBar = function(t) {
525
+ var e = this.visualMapModel, i = this._shapes, r = e.itemSize, n = this._orient, o = this._useHandle, l = bt(e, this.api, r), h = i.mainGroup = this._createBarGroup(l), p = new k();
526
+ h.add(p), p.add(i.outOfRange = st()), p.add(i.inRange = st(null, o ? ut(this._orient) : null, V(this._dragHandle, this, "all", !1), V(this._dragHandle, this, "all", !0))), p.setClipPath(new mt({
527
+ shape: {
528
+ x: 0,
529
+ y: 0,
530
+ width: r[0],
531
+ height: r[1],
532
+ r: 3
533
+ }
534
+ }));
535
+ var s = e.textStyleModel.getTextRect("国"), c = N(s.width, s.height);
536
+ o && (i.handleThumbs = [], i.handleLabels = [], i.handleLabelPoints = [], this._createHandle(e, h, 0, r, c, n), this._createHandle(e, h, 1, r, c, n)), this._createIndicator(e, h, r, c, n), t.add(h);
537
+ }, a.prototype._createHandle = function(t, e, i, r, n, o) {
538
+ var l = V(this._dragHandle, this, i, !1), h = V(this._dragHandle, this, i, !0), p = q(t.get("handleSize"), r[0]), s = K(t.get("handleIcon"), -p / 2, -p / 2, p, p, null, !0), c = ut(this._orient);
539
+ s.attr({
540
+ cursor: c,
541
+ draggable: !0,
542
+ drift: l,
543
+ ondragend: h,
544
+ onmousemove: function(m) {
545
+ W(m.event);
546
+ }
547
+ }), s.x = r[0] / 2, s.useStyle(t.getModel("handleStyle").getItemStyle()), s.setStyle({
548
+ strokeNoScale: !0,
549
+ strokeFirst: !0
550
+ }), s.style.lineWidth *= 2, s.ensureState("emphasis").style = t.getModel(["emphasis", "handleStyle"]).getItemStyle(), Dt(s, !0), e.add(s);
551
+ var v = this.visualMapModel.textStyleModel, f = new C({
552
+ cursor: c,
553
+ draggable: !0,
554
+ drift: l,
555
+ onmousemove: function(m) {
556
+ W(m.event);
557
+ },
558
+ ondragend: h,
559
+ style: D(v, {
560
+ x: 0,
561
+ y: 0,
562
+ text: ""
563
+ })
564
+ });
565
+ f.ensureState("blur").style = {
566
+ opacity: 0.1
567
+ }, f.stateTransition = {
568
+ duration: 200
569
+ }, this.group.add(f);
570
+ var d = [p, 0], y = this._shapes;
571
+ y.handleThumbs[i] = s, y.handleLabelPoints[i] = d, y.handleLabels[i] = f;
572
+ }, a.prototype._createIndicator = function(t, e, i, r, n) {
573
+ var o = q(t.get("indicatorSize"), i[0]), l = K(t.get("indicatorIcon"), -o / 2, -o / 2, o, o, null, !0);
574
+ l.attr({
575
+ cursor: "move",
576
+ invisible: !0,
577
+ silent: !0,
578
+ x: i[0] / 2
579
+ });
580
+ var h = t.getModel("indicatorStyle").getItemStyle();
581
+ if (l instanceof Ht) {
582
+ var p = l.style;
583
+ l.useStyle(kt({
584
+ // TODO other properties like x, y ?
585
+ image: p.image,
586
+ x: p.x,
587
+ y: p.y,
588
+ width: p.width,
589
+ height: p.height
590
+ }, h));
591
+ } else
592
+ l.useStyle(h);
593
+ e.add(l);
594
+ var s = this.visualMapModel.textStyleModel, c = new C({
595
+ silent: !0,
596
+ invisible: !0,
597
+ style: D(s, {
598
+ x: 0,
599
+ y: 0,
600
+ text: ""
601
+ })
602
+ });
603
+ this.group.add(c);
604
+ var v = [(n === "horizontal" ? r / 2 : ie) + i[0] / 2, 0], f = this._shapes;
605
+ f.indicator = l, f.indicatorLabel = c, f.indicatorLabelPoint = v, this._firstShowIndicator = !0;
606
+ }, a.prototype._dragHandle = function(t, e, i, r) {
607
+ if (this._useHandle) {
608
+ if (this._dragging = !e, !e) {
609
+ var n = this._applyTransform([i, r], this._shapes.mainGroup, !0);
610
+ this._updateInterval(t, n[1]), this._hideIndicator(), this._updateView();
611
+ }
612
+ e === !this.visualMapModel.get("realtime") && this.api.dispatchAction({
613
+ type: "selectDataRange",
614
+ from: this.uid,
615
+ visualMapId: this.visualMapModel.id,
616
+ selected: this._dataInterval.slice()
617
+ }), e ? !this._hovering && this._clearHoverLinkToSeries() : lt(this.visualMapModel) && this._doHoverLinkToSeries(this._handleEnds[t], !1);
618
+ }
619
+ }, a.prototype._resetInterval = function() {
620
+ var t = this.visualMapModel, e = this._dataInterval = t.getSelected(), i = t.getExtent(), r = [0, t.itemSize[1]];
621
+ this._handleEnds = [b(e[0], i, r, !0), b(e[1], i, r, !0)];
622
+ }, a.prototype._updateInterval = function(t, e) {
623
+ e = e || 0;
624
+ var i = this.visualMapModel, r = this._handleEnds, n = [0, i.itemSize[1]];
625
+ $t(
626
+ e,
627
+ r,
628
+ n,
629
+ t,
630
+ // cross is forbidden
631
+ 0
632
+ );
633
+ var o = i.getExtent();
634
+ this._dataInterval = [b(r[0], n, o, !0), b(r[1], n, o, !0)];
635
+ }, a.prototype._updateView = function(t) {
636
+ var e = this.visualMapModel, i = e.getExtent(), r = this._shapes, n = [0, e.itemSize[1]], o = t ? n : this._handleEnds, l = this._createBarVisual(this._dataInterval, i, o, "inRange"), h = this._createBarVisual(i, i, n, "outOfRange");
637
+ r.inRange.setStyle({
638
+ fill: l.barColor
639
+ // opacity: visualInRange.opacity
640
+ }).setShape("points", l.barPoints), r.outOfRange.setStyle({
641
+ fill: h.barColor
642
+ // opacity: visualOutOfRange.opacity
643
+ }).setShape("points", h.barPoints), this._updateHandle(o, l);
644
+ }, a.prototype._createBarVisual = function(t, e, i, r) {
645
+ var n = {
646
+ forceState: r,
647
+ convertOpacityToAlpha: !0
648
+ }, o = this._makeColorGradient(t, n), l = [this.getControllerVisual(t[0], "symbolSize", n), this.getControllerVisual(t[1], "symbolSize", n)], h = this._createBarPoints(i, l);
649
+ return {
650
+ barColor: new Pt(0, 0, 0, 1, o),
651
+ barPoints: h,
652
+ handlesColor: [o[0].color, o[o.length - 1].color]
653
+ };
654
+ }, a.prototype._makeColorGradient = function(t, e) {
655
+ var i = 100, r = [], n = (t[1] - t[0]) / i;
656
+ r.push({
657
+ color: this.getControllerVisual(t[0], "color", e),
658
+ offset: 0
659
+ });
660
+ for (var o = 1; o < i; o++) {
661
+ var l = t[0] + n * o;
662
+ if (l > t[1])
663
+ break;
664
+ r.push({
665
+ color: this.getControllerVisual(l, "color", e),
666
+ offset: o / i
667
+ });
668
+ }
669
+ return r.push({
670
+ color: this.getControllerVisual(t[1], "color", e),
671
+ offset: 1
672
+ }), r;
673
+ }, a.prototype._createBarPoints = function(t, e) {
674
+ var i = this.visualMapModel.itemSize;
675
+ return [[i[0] - e[0], t[0]], [i[0], t[0]], [i[0], t[1]], [i[0] - e[1], t[1]]];
676
+ }, a.prototype._createBarGroup = function(t) {
677
+ var e = this._orient, i = this.visualMapModel.get("inverse");
678
+ return new k(e === "horizontal" && !i ? {
679
+ scaleX: t === "bottom" ? 1 : -1,
680
+ rotation: Math.PI / 2
681
+ } : e === "horizontal" && i ? {
682
+ scaleX: t === "bottom" ? -1 : 1,
683
+ rotation: -Math.PI / 2
684
+ } : e === "vertical" && !i ? {
685
+ scaleX: t === "left" ? 1 : -1,
686
+ scaleY: -1
687
+ } : {
688
+ scaleX: t === "left" ? 1 : -1
689
+ });
690
+ }, a.prototype._updateHandle = function(t, e) {
691
+ if (this._useHandle) {
692
+ var i = this._shapes, r = this.visualMapModel, n = i.handleThumbs, o = i.handleLabels, l = r.itemSize, h = r.getExtent(), p = this._applyTransform("left", i.mainGroup);
693
+ te([0, 1], function(s) {
694
+ var c = n[s];
695
+ c.setStyle("fill", e.handlesColor[s]), c.y = t[s];
696
+ var v = b(t[s], [0, l[1]], h, !0), f = this.getControllerVisual(v, "symbolSize");
697
+ c.scaleX = c.scaleY = f / l[0], c.x = l[0] - f / 2;
698
+ var d = G(i.handleLabelPoints[s], B(c, this.group));
699
+ if (this._orient === "horizontal") {
700
+ var y = p === "left" || p === "top" ? (l[0] - f) / 2 : (l[0] - f) / -2;
701
+ d[1] += y;
702
+ }
703
+ o[s].setStyle({
704
+ x: d[0],
705
+ y: d[1],
706
+ text: r.formatValueText(this._dataInterval[s]),
707
+ verticalAlign: "middle",
708
+ align: this._orient === "vertical" ? this._applyTransform("left", i.mainGroup) : "center"
709
+ });
710
+ }, this);
711
+ }
712
+ }, a.prototype._showIndicator = function(t, e, i, r) {
713
+ var n = this.visualMapModel, o = n.getExtent(), l = n.itemSize, h = [0, l[1]], p = this._shapes, s = p.indicator;
714
+ if (s) {
715
+ s.attr("invisible", !1);
716
+ var c = {
717
+ convertOpacityToAlpha: !0
718
+ }, v = this.getControllerVisual(t, "color", c), f = this.getControllerVisual(t, "symbolSize"), d = b(t, o, h, !0), y = l[0] - f / 2, m = {
719
+ x: s.x,
720
+ y: s.y
721
+ };
722
+ s.y = d, s.x = y;
723
+ var _ = G(p.indicatorLabelPoint, B(s, this.group)), M = p.indicatorLabel;
724
+ M.attr("invisible", !1);
725
+ var I = this._applyTransform("left", p.mainGroup), w = this._orient, x = w === "horizontal";
726
+ M.setStyle({
727
+ text: (i || "") + n.formatValueText(e),
728
+ verticalAlign: x ? I : "middle",
729
+ align: x ? "center" : I
730
+ });
731
+ var $ = {
732
+ x: y,
733
+ y: d,
734
+ style: {
735
+ fill: v
736
+ }
737
+ }, U = {
738
+ style: {
739
+ x: _[0],
740
+ y: _[1]
741
+ }
742
+ };
743
+ if (n.ecModel.isAnimationEnabled() && !this._firstShowIndicator) {
744
+ var X = {
745
+ duration: 100,
746
+ easing: "cubicInOut",
747
+ additive: !0
748
+ };
749
+ s.x = m.x, s.y = m.y, s.animateTo($, X), M.animateTo(U, X);
750
+ } else
751
+ s.attr($), M.attr(U);
752
+ this._firstShowIndicator = !1;
753
+ var A = this._shapes.handleLabels;
754
+ if (A)
755
+ for (var E = 0; E < A.length; E++)
756
+ this.api.enterBlur(A[E]);
757
+ }
758
+ }, a.prototype._enableHoverLinkToSeries = function() {
759
+ var t = this;
760
+ this._shapes.mainGroup.on("mousemove", function(e) {
761
+ if (t._hovering = !0, !t._dragging) {
762
+ var i = t.visualMapModel.itemSize, r = t._applyTransform([e.offsetX, e.offsetY], t._shapes.mainGroup, !0, !0);
763
+ r[1] = ot(N(0, r[1]), i[1]), t._doHoverLinkToSeries(r[1], 0 <= r[0] && r[0] <= i[0]);
764
+ }
765
+ }).on("mouseout", function() {
766
+ t._hovering = !1, !t._dragging && t._clearHoverLinkToSeries();
767
+ });
768
+ }, a.prototype._enableHoverLinkFromSeries = function() {
769
+ var t = this.api.getZr();
770
+ this.visualMapModel.option.hoverLink ? (t.on("mouseover", this._hoverLinkFromSeriesMouseOver, this), t.on("mouseout", this._hideIndicator, this)) : this._clearHoverLinkFromSeries();
771
+ }, a.prototype._doHoverLinkToSeries = function(t, e) {
772
+ var i = this.visualMapModel, r = i.itemSize;
773
+ if (i.option.hoverLink) {
774
+ var n = [0, r[1]], o = i.getExtent();
775
+ t = ot(N(n[0], t), n[1]);
776
+ var l = re(i, o, n), h = [t - l, t + l], p = b(t, n, o, !0), s = [b(h[0], n, o, !0), b(h[1], n, o, !0)];
777
+ h[0] < n[0] && (s[0] = -1 / 0), h[1] > n[1] && (s[1] = 1 / 0), e && (s[0] === -1 / 0 ? this._showIndicator(p, s[1], "< ", l) : s[1] === 1 / 0 ? this._showIndicator(p, s[0], "> ", l) : this._showIndicator(p, p, "≈ ", l));
778
+ var c = this._hoverLinkDataIndices, v = [];
779
+ (e || lt(i)) && (v = this._hoverLinkDataIndices = i.findTargetDataIndices(s));
780
+ var f = At(c, v);
781
+ this._dispatchHighDown("downplay", H(f[0], i)), this._dispatchHighDown("highlight", H(f[1], i));
782
+ }
783
+ }, a.prototype._hoverLinkFromSeriesMouseOver = function(t) {
784
+ var e;
785
+ if (Et(t.target, function(l) {
786
+ var h = Gt(l);
787
+ if (h.dataIndex != null)
788
+ return e = h, !0;
789
+ }, !0), !!e) {
790
+ var i = this.ecModel.getSeriesByIndex(e.seriesIndex), r = this.visualMapModel;
791
+ if (r.isTargetSeries(i)) {
792
+ var n = i.getData(e.dataType), o = n.getStore().get(r.getDataDimensionIndex(n), e.dataIndex);
793
+ isNaN(o) || this._showIndicator(o, o);
794
+ }
795
+ }
796
+ }, a.prototype._hideIndicator = function() {
797
+ var t = this._shapes;
798
+ t.indicator && t.indicator.attr("invisible", !0), t.indicatorLabel && t.indicatorLabel.attr("invisible", !0);
799
+ var e = this._shapes.handleLabels;
800
+ if (e)
801
+ for (var i = 0; i < e.length; i++)
802
+ this.api.leaveBlur(e[i]);
803
+ }, a.prototype._clearHoverLinkToSeries = function() {
804
+ this._hideIndicator();
805
+ var t = this._hoverLinkDataIndices;
806
+ this._dispatchHighDown("downplay", H(t, this.visualMapModel)), t.length = 0;
807
+ }, a.prototype._clearHoverLinkFromSeries = function() {
808
+ this._hideIndicator();
809
+ var t = this.api.getZr();
810
+ t.off("mouseover", this._hoverLinkFromSeriesMouseOver), t.off("mouseout", this._hideIndicator);
811
+ }, a.prototype._applyTransform = function(t, e, i, r) {
812
+ var n = B(e, r ? null : this.group);
813
+ return R(t) ? G(t, n, i) : Bt(t, n, i);
814
+ }, a.prototype._dispatchHighDown = function(t, e) {
815
+ e && e.length && this.api.dispatchAction({
816
+ type: t,
817
+ batch: e
818
+ });
819
+ }, a.prototype.dispose = function() {
820
+ this._clearHoverLinkFromSeries(), this._clearHoverLinkToSeries();
821
+ }, a.type = "visualMap.continuous", a;
822
+ })(xt)
823
+ );
824
+ function st(u, a, t, e) {
825
+ return new Ft({
826
+ shape: {
827
+ points: u
828
+ },
829
+ draggable: !!t,
830
+ cursor: a,
831
+ drift: t,
832
+ onmousemove: function(i) {
833
+ W(i.event);
834
+ },
835
+ ondragend: e
836
+ });
837
+ }
838
+ function re(u, a, t) {
839
+ var e = ee / 2, i = u.get("hoverLinkDataSize");
840
+ return i && (e = b(i, a, t, !0) / 2), e;
841
+ }
842
+ function lt(u) {
843
+ var a = u.get("hoverLinkOnHandle");
844
+ return !!(a == null ? u.get("realtime") : a);
845
+ }
846
+ function ut(u) {
847
+ return u === "vertical" ? "ns-resize" : "ew-resize";
848
+ }
849
+ var ne = {
850
+ type: "selectDataRange",
851
+ event: "dataRangeSelected",
852
+ // FIXME use updateView appears wrong
853
+ update: "update"
854
+ }, oe = function(u, a) {
855
+ a.eachComponent({
856
+ mainType: "visualMap",
857
+ query: u
858
+ }, function(t) {
859
+ t.setSelected(u.selected);
860
+ });
861
+ }, se = [
862
+ {
863
+ createOnAllSeries: !0,
864
+ reset: function(u, a) {
865
+ var t = [];
866
+ return a.eachComponent("visualMap", function(e) {
867
+ var i = u.pipelineContext;
868
+ !e.isTargetSeries(u) || i && i.large || t.push(Xt(e.stateList, e.targetVisuals, V(e.getValueState, e), e.getDataDimensionIndex(u.getData())));
869
+ }), t;
870
+ }
871
+ },
872
+ // Only support color.
873
+ {
874
+ createOnAllSeries: !0,
875
+ reset: function(u, a) {
876
+ var t = u.getData(), e = [];
877
+ a.eachComponent("visualMap", function(i) {
878
+ if (i.isTargetSeries(u)) {
879
+ var r = i.getVisualMeta(V(le, null, u, i)) || {
880
+ stops: [],
881
+ outerColors: []
882
+ }, n = i.getDataDimensionIndex(t);
883
+ n >= 0 && (r.dimension = n, e.push(r));
884
+ }
885
+ }), u.getData().setVisual("visualMeta", e);
886
+ }
887
+ }
888
+ ];
889
+ function le(u, a, t, e) {
890
+ for (var i = a.targetVisuals[e], r = S.prepareVisualTypes(i), n = {
891
+ color: Nt(u.getData(), "color")
892
+ // default color.
893
+ }, o = 0, l = r.length; o < l; o++) {
894
+ var h = r[o], p = i[h === "opacity" ? "__alphaForOpacity" : h];
895
+ p && p.applyVisual(t, s, c);
896
+ }
897
+ return n.color;
898
+ function s(v) {
899
+ return n[v];
900
+ }
901
+ function c(v, f) {
902
+ n[v] = f;
903
+ }
904
+ }
905
+ var pt = g;
906
+ function ue(u) {
907
+ var a = u && u.visualMap;
908
+ R(a) || (a = a ? [a] : []), pt(a, function(t) {
909
+ if (t) {
910
+ O(t, "splitList") && !O(t, "pieces") && (t.pieces = t.splitList, delete t.splitList);
911
+ var e = t.pieces;
912
+ e && R(e) && pt(e, function(i) {
913
+ Mt(i) && (O(i, "start") && !O(i, "min") && (i.min = i.start), O(i, "end") && !O(i, "max") && (i.max = i.end));
914
+ });
915
+ }
916
+ });
917
+ }
918
+ function O(u, a) {
919
+ return u && u.hasOwnProperty && u.hasOwnProperty(a);
920
+ }
921
+ var ht = !1;
922
+ function Vt(u) {
923
+ ht || (ht = !0, u.registerSubTypeDefaulter("visualMap", function(a) {
924
+ return !a.categories && (!(a.pieces ? a.pieces.length > 0 : a.splitNumber > 0) || a.calculable) ? "continuous" : "piecewise";
925
+ }), u.registerAction(ne, oe), g(se, function(a) {
926
+ u.registerVisual(u.PRIORITY.VISUAL.COMPONENT, a);
927
+ }), u.registerPreprocessor(ue));
928
+ }
929
+ function pe(u) {
930
+ u.registerComponentModel(jt), u.registerComponentView(ae), Vt(u);
931
+ }
932
+ var he = (
933
+ /** @class */
934
+ (function(u) {
935
+ z(a, u);
936
+ function a() {
937
+ var t = u !== null && u.apply(this, arguments) || this;
938
+ return t.type = a.type, t._pieceList = [], t;
939
+ }
940
+ return a.prototype.optionUpdated = function(t, e) {
941
+ u.prototype.optionUpdated.apply(this, arguments), this.resetExtent();
942
+ var i = this._mode = this._determineMode();
943
+ this._pieceList = [], ce[this._mode].call(this, this._pieceList), this._resetSelected(t, e);
944
+ var r = this.option.categories;
945
+ this.resetVisual(function(n, o) {
946
+ i === "categories" ? (n.mappingMethod = "category", n.categories = L(r)) : (n.dataExtent = this.getExtent(), n.mappingMethod = "piecewise", n.pieceList = _t(this._pieceList, function(l) {
947
+ return l = L(l), o !== "inRange" && (l.visual = null), l;
948
+ }));
949
+ });
950
+ }, a.prototype.completeVisualOption = function() {
951
+ var t = this.option, e = {}, i = S.listVisualTypes(), r = this.isCategory();
952
+ g(t.pieces, function(o) {
953
+ g(i, function(l) {
954
+ o.hasOwnProperty(l) && (e[l] = 1);
955
+ });
956
+ }), g(e, function(o, l) {
957
+ var h = !1;
958
+ g(this.stateList, function(p) {
959
+ h = h || n(t, p, l) || n(t.target, p, l);
960
+ }, this), !h && g(this.stateList, function(p) {
961
+ (t[p] || (t[p] = {}))[l] = St.get(l, p === "inRange" ? "active" : "inactive", r);
962
+ });
963
+ }, this);
964
+ function n(o, l, h) {
965
+ return o && o[l] && o[l].hasOwnProperty(h);
966
+ }
967
+ u.prototype.completeVisualOption.apply(this, arguments);
968
+ }, a.prototype._resetSelected = function(t, e) {
969
+ var i = this.option, r = this._pieceList, n = (e ? i : t).selected || {};
970
+ if (i.selected = n, g(r, function(l, h) {
971
+ var p = this.getSelectedMapKey(l);
972
+ n.hasOwnProperty(p) || (n[p] = !0);
973
+ }, this), i.selectedMode === "single") {
974
+ var o = !1;
975
+ g(r, function(l, h) {
976
+ var p = this.getSelectedMapKey(l);
977
+ n[p] && (o ? n[p] = !1 : o = !0);
978
+ }, this);
979
+ }
980
+ }, a.prototype.getItemSymbol = function() {
981
+ return this.get("itemSymbol");
982
+ }, a.prototype.getSelectedMapKey = function(t) {
983
+ return this._mode === "categories" ? t.value + "" : t.index + "";
984
+ }, a.prototype.getPieceList = function() {
985
+ return this._pieceList;
986
+ }, a.prototype._determineMode = function() {
987
+ var t = this.option;
988
+ return t.pieces && t.pieces.length > 0 ? "pieces" : this.option.categories ? "categories" : "splitNumber";
989
+ }, a.prototype.setSelected = function(t) {
990
+ this.option.selected = L(t);
991
+ }, a.prototype.getValueState = function(t) {
992
+ var e = S.findPieceIndex(t, this._pieceList);
993
+ return e != null && this.option.selected[this.getSelectedMapKey(this._pieceList[e])] ? "inRange" : "outOfRange";
994
+ }, a.prototype.findTargetDataIndices = function(t) {
995
+ var e = [], i = this._pieceList;
996
+ return this.eachTargetSeries(function(r) {
997
+ var n = [], o = r.getData();
998
+ o.each(this.getDataDimensionIndex(o), function(l, h) {
999
+ var p = S.findPieceIndex(l, i);
1000
+ p === t && n.push(h);
1001
+ }, this), e.push({
1002
+ seriesId: r.id,
1003
+ dataIndex: n
1004
+ });
1005
+ }, this), e;
1006
+ }, a.prototype.getRepresentValue = function(t) {
1007
+ var e;
1008
+ if (this.isCategory())
1009
+ e = t.value;
1010
+ else if (t.value != null)
1011
+ e = t.value;
1012
+ else {
1013
+ var i = t.interval || [];
1014
+ e = i[0] === -1 / 0 && i[1] === 1 / 0 ? 0 : (i[0] + i[1]) / 2;
1015
+ }
1016
+ return e;
1017
+ }, a.prototype.getVisualMeta = function(t) {
1018
+ if (this.isCategory())
1019
+ return;
1020
+ var e = [], i = ["", ""], r = this;
1021
+ function n(p, s) {
1022
+ var c = r.getRepresentValue({
1023
+ interval: p
1024
+ });
1025
+ s || (s = r.getValueState(c));
1026
+ var v = t(c, s);
1027
+ p[0] === -1 / 0 ? i[0] = v : p[1] === 1 / 0 ? i[1] = v : e.push({
1028
+ value: p[0],
1029
+ color: v
1030
+ }, {
1031
+ value: p[1],
1032
+ color: v
1033
+ });
1034
+ }
1035
+ var o = this._pieceList.slice();
1036
+ if (!o.length)
1037
+ o.push({
1038
+ interval: [-1 / 0, 1 / 0]
1039
+ });
1040
+ else {
1041
+ var l = o[0].interval[0];
1042
+ l !== -1 / 0 && o.unshift({
1043
+ interval: [-1 / 0, l]
1044
+ }), l = o[o.length - 1].interval[1], l !== 1 / 0 && o.push({
1045
+ interval: [l, 1 / 0]
1046
+ });
1047
+ }
1048
+ var h = -1 / 0;
1049
+ return g(o, function(p) {
1050
+ var s = p.interval;
1051
+ s && (s[0] > h && n([h, s[0]], "outOfRange"), n(s.slice()), h = s[1]);
1052
+ }, this), {
1053
+ stops: e,
1054
+ outerColors: i
1055
+ };
1056
+ }, a.type = "visualMap.piecewise", a.defaultOption = yt(P.defaultOption, {
1057
+ selected: null,
1058
+ minOpen: !1,
1059
+ maxOpen: !1,
1060
+ align: "auto",
1061
+ itemWidth: 20,
1062
+ itemHeight: 14,
1063
+ itemSymbol: "roundRect",
1064
+ pieces: null,
1065
+ categories: null,
1066
+ splitNumber: 5,
1067
+ selectedMode: "multiple",
1068
+ itemGap: 10,
1069
+ hoverLink: !0
1070
+ // Enable hover highlight.
1071
+ }), a;
1072
+ })(P)
1073
+ ), ce = {
1074
+ splitNumber: function(u) {
1075
+ var a = this.option, t = Math.min(a.precision, 20), e = this.getExtent(), i = a.splitNumber;
1076
+ i = Math.max(parseInt(i, 10), 1), a.splitNumber = i;
1077
+ for (var r = (e[1] - e[0]) / i; +r.toFixed(t) !== r && t < 5; )
1078
+ t++;
1079
+ a.precision = t, r = +r.toFixed(t), a.minOpen && u.push({
1080
+ interval: [-1 / 0, e[0]],
1081
+ close: [0, 0]
1082
+ });
1083
+ for (var n = 0, o = e[0]; n < i; o += r, n++) {
1084
+ var l = n === i - 1 ? e[1] : o + r;
1085
+ u.push({
1086
+ interval: [o, l],
1087
+ close: [1, 1]
1088
+ });
1089
+ }
1090
+ a.maxOpen && u.push({
1091
+ interval: [e[1], 1 / 0],
1092
+ close: [0, 0]
1093
+ }), J(u), g(u, function(h, p) {
1094
+ h.index = p, h.text = this.formatValueText(h.interval);
1095
+ }, this);
1096
+ },
1097
+ categories: function(u) {
1098
+ var a = this.option;
1099
+ g(a.categories, function(t) {
1100
+ u.push({
1101
+ text: this.formatValueText(t, !0),
1102
+ value: t
1103
+ });
1104
+ }, this), ct(a, u);
1105
+ },
1106
+ pieces: function(u) {
1107
+ var a = this.option;
1108
+ g(a.pieces, function(t, e) {
1109
+ Mt(t) || (t = {
1110
+ value: t
1111
+ });
1112
+ var i = {
1113
+ text: "",
1114
+ index: e
1115
+ };
1116
+ if (t.label != null && (i.text = t.label), t.hasOwnProperty("value")) {
1117
+ var r = i.value = t.value;
1118
+ i.interval = [r, r], i.close = [1, 1];
1119
+ } else {
1120
+ for (var n = i.interval = [], o = i.close = [0, 0], l = [1, 0, 1], h = [-1 / 0, 1 / 0], p = [], s = 0; s < 2; s++) {
1121
+ for (var c = [["gte", "gt", "min"], ["lte", "lt", "max"]][s], v = 0; v < 3 && n[s] == null; v++)
1122
+ n[s] = t[c[v]], o[s] = l[v], p[s] = v === 2;
1123
+ n[s] == null && (n[s] = h[s]);
1124
+ }
1125
+ p[0] && n[1] === 1 / 0 && (o[0] = 0), p[1] && n[0] === -1 / 0 && (o[1] = 0), process.env.NODE_ENV !== "production" && n[0] > n[1] && console.warn("Piece " + e + "is illegal: " + n + " lower bound should not greater then uppper bound."), n[0] === n[1] && o[0] && o[1] && (i.value = n[0]);
1126
+ }
1127
+ i.visual = S.retrieveVisuals(t), u.push(i);
1128
+ }, this), ct(a, u), J(u), g(u, function(t) {
1129
+ var e = t.close, i = [["<", "≤"][e[1]], [">", "≥"][e[0]]];
1130
+ t.text = t.text || this.formatValueText(t.value != null ? t.value : t.interval, !1, i);
1131
+ }, this);
1132
+ }
1133
+ };
1134
+ function ct(u, a) {
1135
+ var t = u.inverse;
1136
+ (u.orient === "vertical" ? !t : t) && a.reverse();
1137
+ }
1138
+ var ve = (
1139
+ /** @class */
1140
+ (function(u) {
1141
+ z(a, u);
1142
+ function a() {
1143
+ var t = u !== null && u.apply(this, arguments) || this;
1144
+ return t.type = a.type, t;
1145
+ }
1146
+ return a.prototype.doRender = function() {
1147
+ var t = this.group;
1148
+ t.removeAll();
1149
+ var e = this.visualMapModel, i = e.get("textGap"), r = e.textStyleModel, n = r.getFont(), o = r.getTextColor(), l = this._getItemAlign(), h = e.itemSize, p = this._getViewData(), s = p.endsText, c = Kt(e.get("showLabel", !0), !s), v = !e.get("selectedMode");
1150
+ s && this._renderEndsText(t, s[0], h, c, l), g(p.viewPieceList, function(f) {
1151
+ var d = f.piece, y = new k();
1152
+ y.onclick = V(this._onItemClick, this, d), this._enableHoverLink(y, f.indexInModelPieceList);
1153
+ var m = e.getRepresentValue(d);
1154
+ if (this._createItemSymbol(y, m, [0, 0, h[0], h[1]], v), c) {
1155
+ var _ = this.visualMapModel.getValueState(m);
1156
+ y.add(new C({
1157
+ style: {
1158
+ x: l === "right" ? -i : h[0] + i,
1159
+ y: h[1] / 2,
1160
+ text: d.text,
1161
+ verticalAlign: "middle",
1162
+ align: l,
1163
+ font: n,
1164
+ fill: o,
1165
+ opacity: _ === "outOfRange" ? 0.5 : 1
1166
+ },
1167
+ silent: v
1168
+ }));
1169
+ }
1170
+ t.add(y);
1171
+ }, this), s && this._renderEndsText(t, s[1], h, c, l), Wt(e.get("orient"), t, e.get("itemGap")), this.renderBackground(t), this.positionGroup(t);
1172
+ }, a.prototype._enableHoverLink = function(t, e) {
1173
+ var i = this;
1174
+ t.on("mouseover", function() {
1175
+ return r("highlight");
1176
+ }).on("mouseout", function() {
1177
+ return r("downplay");
1178
+ });
1179
+ var r = function(n) {
1180
+ var o = i.visualMapModel;
1181
+ o.option.hoverLink && i.api.dispatchAction({
1182
+ type: n,
1183
+ batch: H(o.findTargetDataIndices(e), o)
1184
+ });
1185
+ };
1186
+ }, a.prototype._getItemAlign = function() {
1187
+ var t = this.visualMapModel, e = t.option;
1188
+ if (e.orient === "vertical")
1189
+ return bt(t, this.api, t.itemSize);
1190
+ var i = e.align;
1191
+ return (!i || i === "auto") && (i = "left"), i;
1192
+ }, a.prototype._renderEndsText = function(t, e, i, r, n) {
1193
+ if (e) {
1194
+ var o = new k(), l = this.visualMapModel.textStyleModel;
1195
+ o.add(new C({
1196
+ style: D(l, {
1197
+ x: r ? n === "right" ? i[0] : 0 : i[0] / 2,
1198
+ y: i[1] / 2,
1199
+ verticalAlign: "middle",
1200
+ align: r ? n : "center",
1201
+ text: e
1202
+ })
1203
+ })), t.add(o);
1204
+ }
1205
+ }, a.prototype._getViewData = function() {
1206
+ var t = this.visualMapModel, e = _t(t.getPieceList(), function(o, l) {
1207
+ return {
1208
+ piece: o,
1209
+ indexInModelPieceList: l
1210
+ };
1211
+ }), i = t.get("text"), r = t.get("orient"), n = t.get("inverse");
1212
+ return (r === "horizontal" ? n : !n) ? e.reverse() : i && (i = i.slice().reverse()), {
1213
+ viewPieceList: e,
1214
+ endsText: i
1215
+ };
1216
+ }, a.prototype._createItemSymbol = function(t, e, i, r) {
1217
+ var n = K(
1218
+ // symbol will be string
1219
+ this.getControllerVisual(e, "symbol"),
1220
+ i[0],
1221
+ i[1],
1222
+ i[2],
1223
+ i[3],
1224
+ // color will be string
1225
+ this.getControllerVisual(e, "color")
1226
+ );
1227
+ n.silent = r, t.add(n);
1228
+ }, a.prototype._onItemClick = function(t) {
1229
+ var e = this.visualMapModel, i = e.option, r = i.selectedMode;
1230
+ if (r) {
1231
+ var n = L(i.selected), o = e.getSelectedMapKey(t);
1232
+ r === "single" || r === !0 ? (n[o] = !0, g(n, function(l, h) {
1233
+ n[h] = h === o;
1234
+ })) : n[o] = !n[o], this.api.dispatchAction({
1235
+ type: "selectDataRange",
1236
+ from: this.uid,
1237
+ visualMapId: this.visualMapModel.id,
1238
+ selected: n
1239
+ });
1240
+ }
1241
+ }, a.type = "visualMap.piecewise", a;
1242
+ })(xt)
1243
+ );
1244
+ function fe(u) {
1245
+ u.registerComponentModel(he), u.registerComponentView(ve), Vt(u);
1246
+ }
1247
+ function Me(u) {
1248
+ Z(pe), Z(fe);
1249
+ }
1250
+ export {
1251
+ pe as a,
1252
+ fe as b,
1253
+ tt as c,
1254
+ me as d,
1255
+ Me as i,
1256
+ Ut as r,
1257
+ $t as s
1258
+ };