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.
- package/dist/CoordinateSystem-BMkAxlii.js +6 -0
- package/dist/CoordinateSystem-DWnjjFwb.cjs +1 -0
- package/dist/EChartComponentBase-BQOhWkz2.js +114 -0
- package/dist/EChartComponentBase-BaQpBzVC.cjs +1 -0
- package/dist/LegendVisualProvider-BDw4_0K3.cjs +1 -0
- package/dist/LegendVisualProvider-BP9kA8co.js +44 -0
- package/dist/MarkerView-BG_nYESR.cjs +1 -0
- package/dist/MarkerView-CtWJi5UZ.js +192 -0
- package/dist/RoamController--cgD3aNm.cjs +1 -0
- package/dist/RoamController-DmBIwcAZ.js +124 -0
- package/dist/UniverSheet-KlvmL1Yw.cjs +1 -0
- package/dist/UniverSheet-MSHzUXq0.js +180 -0
- package/dist/VisualMapping-D-MA7S0X.js +260 -0
- package/dist/VisualMapping-MilpZvD_.cjs +1 -0
- package/dist/accelerationChart-B1HPMmd2.js +577 -0
- package/dist/accelerationChart-DZj2V2vD.cjs +6 -0
- package/dist/actionItem-BYCPoQK7.cjs +1 -0
- package/dist/actionItem-Bb2xiYlY.js +686 -0
- package/dist/alarmLevelChart-Bb0mAbwQ.cjs +2 -0
- package/dist/alarmLevelChart-CCioESvL.js +182 -0
- package/dist/alertTable-CQwr8YYt.js +301 -0
- package/dist/alertTable-oaX5eJC0.cjs +1 -0
- package/dist/annualRainfallChart-C21jEMBe.js +185 -0
- package/dist/annualRainfallChart-pO8q6aUJ.cjs +1 -0
- package/dist/api-C0GhBpqd.js +125 -0
- package/dist/api-P_s372dW.cjs +1 -0
- package/dist/aqi-DlY2r7OA.cjs +3 -0
- package/dist/aqi-iLwQH4rc.js +145 -0
- package/dist/aqiIndass-BaIVBfdC.cjs +3 -0
- package/dist/aqiIndass-DBeVSBdy.js +301 -0
- package/dist/arrayCard-DNNUEPvW.js +93 -0
- package/dist/arrayCard-OlVAAsZq.cjs +1 -0
- package/dist/audio-CAP4D-J2.js +301 -0
- package/dist/audio-CThzVIDU.cjs +1 -0
- package/dist/axisAlignTicks-BqVUa467.js +481 -0
- package/dist/axisAlignTicks-CDNWKJRo.cjs +1 -0
- package/dist/bar-BjR566__.cjs +2 -0
- package/dist/bar-D8C06GO4.js +232 -0
- package/dist/bmp-Cjizh2x6.js +226 -0
- package/dist/bmp-DsmTzyce.cjs +1 -0
- package/dist/box-DqewT3MF.js +352 -0
- package/dist/box-qgu_67OD.cjs +1 -0
- package/dist/chartConfigPanel-BiQArCoQ.cjs +1 -0
- package/dist/chartConfigPanel-DwAUq3pf.js +408 -0
- package/dist/circleBar-CO89T7kj.cjs +4 -0
- package/dist/circleBar-DGHDWQih.js +196 -0
- package/dist/clock-32hGccm4.cjs +1 -0
- package/dist/clock-CT8YXEU3.js +274 -0
- package/dist/clt-5bP_g1O-.cjs +1 -0
- package/dist/clt-FfIEfGtn.js +293 -0
- package/dist/cmc-B2nQFZIS.js +269 -0
- package/dist/cmc-dbuLkE8o.cjs +1 -0
- package/dist/cmp-QQlYcnqo.js +378 -0
- package/dist/cmp-l3U9fIrz.cjs +6 -0
- package/dist/composite-CbsUYl-u.js +136 -0
- package/dist/composite-Cf24lSyN.cjs +1 -0
- package/dist/composite-DjhrBgG1.js +323 -0
- package/dist/composite-DlY2_x6P.cjs +3 -0
- package/dist/config-BLSroAzs.cjs +1 -0
- package/dist/config-Cc2W4vke.js +9 -0
- package/dist/controlList-BdF8xNAi.js +879 -0
- package/dist/controlList-De6PXdOc.cjs +1 -0
- package/dist/controlRecordList-CKpAr1ON.js +421 -0
- package/dist/controlRecordList-u5a7chIX.cjs +1 -0
- package/dist/crd-BVAf41oX.js +113 -0
- package/dist/crd-BoaXQhFQ.cjs +1 -0
- package/dist/createSeriesData-Cz83cqoZ.cjs +1 -0
- package/dist/createSeriesData-E53TTCAt.js +116 -0
- package/dist/createSeriesDataSimply-Bsly4zZA.js +14 -0
- package/dist/createSeriesDataSimply-CjfZL_jf.cjs +1 -0
- package/dist/ctrBtn-C9kQiqY1.cjs +1 -0
- package/dist/ctrBtn-ZPRYWE66.js +215 -0
- package/dist/ctrSet-C87dxLfQ.js +247 -0
- package/dist/ctrSet-CNCrnLSs.cjs +1 -0
- package/dist/ctrSwitch-CVEtbdfb.cjs +1 -0
- package/dist/ctrSwitch-CkC_Axtp.js +207 -0
- package/dist/cursorHelper-DE0KU4_J.js +29 -0
- package/dist/cursorHelper-DsTR8jVF.cjs +1 -0
- package/dist/customGraphicKeyframeAnimation-BJ_z0kB3.js +330 -0
- package/dist/customGraphicKeyframeAnimation-CEIvOjMs.cjs +1 -0
- package/dist/dataManagement-CjlNfeYq.js +672 -0
- package/dist/dataManagement-n711sd1g.cjs +1 -0
- package/dist/dataReport-BsVjW3p7.cjs +4 -0
- package/dist/dataReport-ByjswEqq.js +787 -0
- package/dist/dataSample-BXwc06Sb.js +114 -0
- package/dist/dataSample-D4ycwmll.cjs +1 -0
- package/dist/dataTable-DX500R1i.js +217 -0
- package/dist/dataTable-K7j4fhnq.cjs +1 -0
- package/dist/datetime-DVbJtALf.js +113 -0
- package/dist/datetime-DYXWKrXI.cjs +1 -0
- package/dist/deepClusterSlipSurface-B7nkEM9A.cjs +1 -0
- package/dist/deepClusterSlipSurface-CQUE05cK.js +372 -0
- package/dist/deepDataMatrix-DHZA0IAm.cjs +1 -0
- package/dist/deepDataMatrix-ai5rB6ET.js +238 -0
- package/dist/deepDisplacement3D-BFqKqSYg.cjs +4289 -0
- package/dist/deepDisplacement3D-BsUzvbQb.js +26052 -0
- package/dist/deepDisplacementChart-2JZNrhrw.cjs +5 -0
- package/dist/deepDisplacementChart-BCIuCMdK.js +585 -0
- package/dist/deepDisplacementChart-Ba67v6um.cjs +6 -0
- package/dist/deepDisplacementChart-igl4rW1K.js +340 -0
- package/dist/deepDisplacementView-BedWJsx7.js +231 -0
- package/dist/deepDisplacementView-wQxyKzB-.cjs +8 -0
- package/dist/deepNodeTemperatureChart-DLeb9jKp.js +347 -0
- package/dist/deepNodeTemperatureChart-albL8hKa.cjs +1 -0
- package/dist/deepTangentAngleChart-C6xOiITk.js +420 -0
- package/dist/deepTangentAngleChart-DukevXaM.cjs +1 -0
- package/dist/deepTemperatureField-B-y94GPV.js +398 -0
- package/dist/deepTemperatureField-De4xKoHw.cjs +1 -0
- package/dist/deepTrendChart-DCkV2HNv.js +345 -0
- package/dist/deepTrendChart-MmuYSXtu.cjs +1 -0
- package/dist/deviceOnlineStatus-B5cCjhNA.cjs +2 -0
- package/dist/deviceOnlineStatus-CFuCTx7_.js +178 -0
- package/dist/deviceStatus-B2ibBDSi.js +194 -0
- package/dist/deviceStatus-DsEtKiGo.cjs +1 -0
- package/dist/displacementDataTable-BDqG1IvI.js +256 -0
- package/dist/displacementDataTable-oLnUdafv.cjs +1 -0
- package/dist/displacementTrajectoryChart-CBhPwZhe.cjs +22 -0
- package/dist/displacementTrajectoryChart-Crf55oKi.js +597 -0
- package/dist/displacementTrendChart-10n_lC9j.js +364 -0
- package/dist/displacementTrendChart-CWihCuIJ.cjs +5 -0
- package/dist/dxf-D8zHpz5g.js +2768 -0
- package/dist/dxf-DDh_DcQy.cjs +1 -0
- package/dist/dzc-DLCdTCwW.js +144 -0
- package/dist/dzc-uNTDJqpi.cjs +2 -0
- package/dist/echarts-BB8O2KSA.cjs +21 -0
- package/dist/echarts-BVht3HHb.js +13787 -0
- package/dist/ele-aqi-icon-BMm9WgFH.cjs +1 -0
- package/dist/ele-aqi-icon-DsYfU5th.js +5 -0
- package/dist/ele-bar-icon-C-GiCs2a.js +5 -0
- package/dist/ele-bar-icon-V94clxg_.cjs +1 -0
- package/dist/ele-bmp-icon-BBI0-SX7.cjs +1 -0
- package/dist/ele-bmp-icon-Pdolk1J5.js +5 -0
- package/dist/ele-circleBar-icon-DNBUxt0A.js +5 -0
- package/dist/ele-circleBar-icon-Da0-L9sa.cjs +1 -0
- package/dist/ele-clt-icon-BEVOS7Tq.cjs +1 -0
- package/dist/ele-clt-icon-DuU4Q401.js +5 -0
- package/dist/ele-cmp-icon-CEP91RUe.js +5 -0
- package/dist/ele-cmp-icon-yUlU6c_Q.cjs +1 -0
- package/dist/ele-crd-icon-BXxB7P3T.js +5 -0
- package/dist/ele-crd-icon-BvNgAPKW.cjs +1 -0
- package/dist/ele-ctrSet-icon-BtKGrCid.js +5 -0
- package/dist/ele-ctrSet-icon-DCsPO0tL.cjs +1 -0
- package/dist/ele-dateTime-icon-BEGFlwID.js +5 -0
- package/dist/ele-dateTime-icon-BgZ2_KWW.cjs +1 -0
- package/dist/ele-dzc-icon-D6eVpaHp.js +5 -0
- package/dist/ele-dzc-icon-h5wOUHF0.cjs +1 -0
- package/dist/ele-evn-icon-DUQMS-9T.cjs +1 -0
- package/dist/ele-evn-icon-MWzAujnD.js +5 -0
- package/dist/ele-gag-icon-CB5dJeYF.js +5 -0
- package/dist/ele-gag-icon-Ce1hl9NI.cjs +1 -0
- package/dist/ele-glbModel-icon-ByACDCrv.cjs +1 -0
- package/dist/ele-glbModel-icon-l_SMi3ik.js +5 -0
- package/dist/ele-grd-icon-DR52zwGR.js +5 -0
- package/dist/ele-grd-icon-ZUb-megQ.cjs +1 -0
- package/dist/ele-gridview-icon-D3GcssP6.cjs +1 -0
- package/dist/ele-gridview-icon-cSd1oIDi.js +5 -0
- package/dist/ele-lin-icon-Dax-ZiWV.js +5 -0
- package/dist/ele-lin-icon-Dke_1AmT.cjs +1 -0
- package/dist/ele-lst-icon-CKpeRKmk.js +5 -0
- package/dist/ele-lst-icon-CrxnHZ-A.cjs +1 -0
- package/dist/ele-mxa-icon-CJWttkCK.js +5 -0
- package/dist/ele-mxa-icon-fgN0MLnh.cjs +1 -0
- package/dist/ele-rtn-icon-BrsJIU8J.cjs +1 -0
- package/dist/ele-rtn-icon-CqCKSHIw.js +5 -0
- package/dist/ele-textbox-icon-ClGaLi5p.js +5 -0
- package/dist/ele-textbox-icon-g_5kV8t6.cjs +1 -0
- package/dist/ele-vdo-icon-Bgp9gaT6.cjs +1 -0
- package/dist/ele-vdo-icon-DcWebTR5.js +5 -0
- package/dist/ele-vlu-icon-Bg6EHZdJ.js +5 -0
- package/dist/ele-vlu-icon-Dv-R7Xuc.cjs +1 -0
- package/dist/element-resize-detector-Bo5uDQAu.cjs +6 -0
- package/dist/element-resize-detector-DJcsrJ8s.js +1547 -0
- package/dist/evn-DuL5oVRl.cjs +1 -0
- package/dist/evn-YwCALVXj.js +116 -0
- package/dist/evolutionChart-4noZSdLX.js +406 -0
- package/dist/evolutionChart-AeL67MAt.cjs +1 -0
- package/dist/fileViewer-DiH3PM0r.js +415 -0
- package/dist/fileViewer-bsrjlJkC.cjs +1 -0
- package/dist/filterBar-CWEguwYc.js +394 -0
- package/dist/filterBar-Ct1BFhrS.cjs +1 -0
- package/dist/fireCombustionCurve-DYPC4zKJ.js +405 -0
- package/dist/fireCombustionCurve-DyiQn-WA.cjs +1 -0
- package/dist/fireFilterBar-Bdm2ljuO.cjs +1 -0
- package/dist/fireFilterBar-DGHPNTwF.js +221 -0
- package/dist/gag-HiNaL81R.cjs +1 -0
- package/dist/gag-kvkKzJuO.js +125 -0
- package/dist/glbModel-CUz6CyVF.js +2724 -0
- package/dist/glbModel-DtBI72ap.cjs +5 -0
- package/dist/gnssFilterBar-BQgY5x1W.cjs +1 -0
- package/dist/gnssFilterBar-TBtirXIB.js +310 -0
- package/dist/gnssHistoryTable-D1ZLJOgh.cjs +3 -0
- package/dist/gnssHistoryTable-U8O7nyO7.js +398 -0
- package/dist/gnssMapView-42zmAd9q.cjs +7 -0
- package/dist/gnssMapView-CaBfWeT1.js +699 -0
- package/dist/gnssTimeSeriesChart-BrXYvuh6.js +421 -0
- package/dist/gnssTimeSeriesChart-CV2w_Aik.cjs +1 -0
- package/dist/gnssXYTrajectory-BmzSYjQ_.cjs +5 -0
- package/dist/gnssXYTrajectory-D2DoYnze.js +304 -0
- package/dist/grd-B0GUjLm9.js +339 -0
- package/dist/grd-DW8cSFVR.cjs +1 -0
- package/dist/grdIndass-BeBXVsos.cjs +1 -0
- package/dist/grdIndass-DduUKZJm.js +216 -0
- package/dist/grg-CeX0pirQ.js +194 -0
- package/dist/grg-fnpcXtju.cjs +1 -0
- package/dist/gridview-BPwWXza9.js +183 -0
- package/dist/gridview-DpABhCIw.cjs +1 -0
- package/dist/groupCard-De1E15mW.js +132 -0
- package/dist/groupCard-WNE6gAAl.cjs +1 -0
- package/dist/headerBar-CZ3qcLHo.js +210 -0
- package/dist/headerBar-Qi1EXrr6.cjs +1 -0
- package/dist/{history-DigzRtjC.js → history-BkZhlpdY.js} +5 -3
- package/dist/history-DAmBl4_5.cjs +1 -0
- package/dist/index-ButoLLAe.js +8655 -0
- package/dist/index-Mh5Dw2sd.cjs +585 -0
- package/dist/index-kShjySl9.js +5313 -0
- package/dist/index-mAPVa0s4.cjs +11 -0
- package/dist/insarDeformChart-BGr2xe7w.cjs +1 -0
- package/dist/insarDeformChart-CnuSL1d9.js +216 -0
- package/dist/insarImageViewer-DRgGdQmN.cjs +1 -0
- package/dist/insarImageViewer-EmVThmVQ.js +268 -0
- package/dist/install-8XfFtnlL.js +853 -0
- package/dist/install-9_V0b6vf.js +497 -0
- package/dist/install-B0x4IqQr.js +1258 -0
- package/dist/install-B1IEhhn3.cjs +1 -0
- package/dist/install-B2TChEcT.js +895 -0
- package/dist/install-B65ZIqAx.cjs +1 -0
- package/dist/install-BBrAry2m.js +8 -0
- package/dist/install-BRjgycz_.cjs +1 -0
- package/dist/install-BUu5ESB7.js +447 -0
- package/dist/install-BamnGDPb.cjs +1 -0
- package/dist/install-BifpoHNI.js +1817 -0
- package/dist/install-BvOpNm0Y.cjs +1 -0
- package/dist/install-ByPD0oOh.cjs +1 -0
- package/dist/install-BzdOSCzO.js +785 -0
- package/dist/install-C8buXQPI.cjs +1 -0
- package/dist/install-C9Cdzkc6.js +265 -0
- package/dist/install-CBde4hAM.js +112 -0
- package/dist/install-CIT6k8Ga.cjs +1 -0
- package/dist/install-CYwVETsi.cjs +1 -0
- package/dist/install-C_3uGWLu.js +2328 -0
- package/dist/install-Ch5d8i37.cjs +1 -0
- package/dist/install-CltTFs4e.cjs +3 -0
- package/dist/install-Csxa7Kv7.cjs +18 -0
- package/dist/install-Cx1i_m0k.js +1168 -0
- package/dist/install-D1QM80AD.js +227 -0
- package/dist/install-D7znHb-b.js +604 -0
- package/dist/install-DHY9y86B.cjs +3 -0
- package/dist/install-DIlB2q7w.cjs +1 -0
- package/dist/install-DV5cEgNV.cjs +1 -0
- package/dist/install-DWm3j_D3.js +38 -0
- package/dist/install-FDYiy_gL.js +250 -0
- package/dist/install-LtoYukZU.cjs +1 -0
- package/dist/install-MS3ZY7fF.js +685 -0
- package/dist/install-hfre7yvV.js +727 -0
- package/dist/install-kGXY_57n.cjs +1 -0
- package/dist/install-nDY6w-GK.cjs +1 -0
- package/dist/install-oGjJ0_bF.js +588 -0
- package/dist/install-z6wShIZI.cjs +1 -0
- package/dist/installCanvasRenderer-CLT2hquJ.js +4260 -0
- package/dist/installCanvasRenderer-CyhM1Qpl.cjs +3 -0
- package/dist/installMarkArea-Cdg4iciO.js +206 -0
- package/dist/installMarkArea-CjyaJPLE.cjs +1 -0
- package/dist/installMarkLine-BgE0YACE.js +533 -0
- package/dist/installMarkLine-Bv53Iw9G.cjs +1 -0
- package/dist/installSimple-BWTCwMdY.js +586 -0
- package/dist/installSimple-c87Ufc4_.cjs +1 -0
- package/dist/kds-CpIQFgeY.js +1203 -0
- package/dist/kds-DTYWOq4K.cjs +3 -0
- package/dist/labelHelper-Cd8oB-sZ.js +26 -0
- package/dist/labelHelper-npJGYQ1j.cjs +1 -0
- package/dist/layerTabs-BATcBkTA.cjs +1 -0
- package/dist/layerTabs-uze6K91A.js +139 -0
- package/dist/lin-Ba6fHkYf.cjs +2 -0
- package/dist/lin-DU_EuPRg.js +239 -0
- package/dist/linIndass-XHKElG7L.js +273 -0
- package/dist/linIndass-urYe5inp.cjs +2 -0
- package/dist/lst-C7aee1cU.js +147 -0
- package/dist/lst-CpmoEQDY.cjs +1 -0
- package/dist/manualEntry-CJPiO5nh.cjs +1 -0
- package/dist/manualEntry-D9m_WPw3.js +662 -0
- package/dist/mapBackground-6g_71Fwa.js +6658 -0
- package/dist/mapBackground-CF_TqNBy.cjs +17 -0
- package/dist/mappingList-CR55Tq4t.cjs +1 -0
- package/dist/mappingList-luT5YE0d.js +917 -0
- package/dist/markdownViewer-CnguoUr8.js +261 -0
- package/dist/markdownViewer-D1hDk2Y7.cjs +3 -0
- package/dist/mix-control-modal-BDHAB4Tw.cjs +1 -0
- package/dist/mix-control-modal-CHiX3hQs.js +147 -0
- package/dist/mixDataPermission-BTA1jNd1.cjs +1 -0
- package/dist/mixDataPermission-BaqV0Z6N.js +760 -0
- package/dist/mixGrid-3BqQCvg8.cjs +1 -0
- package/dist/mixGrid-C0eEvwPy.js +180 -0
- package/dist/mixMap-7upgYwWk.js +258 -0
- package/dist/mixMap-Bw-We4Cm.cjs +1 -0
- package/dist/mixModel-BqE_Kd4c.js +245 -0
- package/dist/mixModel-CgV4XptM.cjs +3 -0
- package/dist/mixPie-9LfMCTQV.cjs +2 -0
- package/dist/mixPie-B-HeglUn.js +168 -0
- package/dist/mixdashboards.cjs +1 -1
- package/dist/mixdashboards.css +1 -1
- package/dist/mixdashboards.js +7 -7
- package/dist/mjpegCamera-Cfw3rzT5.js +158 -0
- package/dist/mjpegCamera-nxKfhobY.cjs +1 -0
- package/dist/monitorAlert-Bg5vzzyG.js +225 -0
- package/dist/monitorAlert-Bt0baNh4.cjs +1 -0
- package/dist/monitorData-BvAMeOrp.js +319 -0
- package/dist/monitorData-CzPVIk_4.cjs +1 -0
- package/dist/monitorSpeedChart-0bDuU3Kj.js +603 -0
- package/dist/monitorSpeedChart-C52QjA5K.cjs +16 -0
- package/dist/mxa-BW80xKCc.js +143 -0
- package/dist/mxa-eLAgZPMC.cjs +2 -0
- package/dist/no-image-icon-CPA7RKkF.cjs +1 -0
- package/dist/no-image-icon-n2ZlEjxS.js +1864 -0
- package/dist/objectList-Cf9GMyXN.js +1809 -0
- package/dist/objectList-CpqQxG8L.cjs +1 -0
- package/dist/params-3W3p8QeC.cjs +1 -0
- package/dist/params-DfgBemk0.js +75 -0
- package/dist/photo-BODEtaYh.cjs +1 -0
- package/dist/photo-BfLkWAo8.js +256 -0
- package/dist/pie-BDLg-Rls.js +199 -0
- package/dist/pie-DxoBrm0D.cjs +2 -0
- package/dist/points-DcRmizmA.cjs +1 -0
- package/dist/points-DkG9FRF9.js +277 -0
- package/dist/pressBtn-CXG1eSWC.js +242 -0
- package/dist/pressBtn-t0g4vk7s.cjs +1 -0
- package/dist/progressBar-BXaFKSCq.js +130 -0
- package/dist/progressBar-CJEWkZ42.cjs +1 -0
- package/dist/progressCircle-DpOI5D5z.js +168 -0
- package/dist/progressCircle-uQ7vaMKM.cjs +1 -0
- package/dist/qrcode-CX8aymYZ.js +814 -0
- package/dist/qrcode-DHCRfp0M.cjs +1 -0
- package/dist/raceBar-Cv0-0ogd.cjs +4 -0
- package/dist/raceBar-DFaH342G.js +197 -0
- package/dist/rad-CFswUTwi.cjs +1 -0
- package/dist/rad-NS2G_nMg.js +143 -0
- package/dist/rainfallFilterBar-BI45QvJm.cjs +1 -0
- package/dist/rainfallFilterBar-D_Ye_NeB.js +221 -0
- package/dist/rainfallTimeCurve-BHWqX47Q.js +443 -0
- package/dist/rainfallTimeCurve-Ke1JvSWq.cjs +1 -0
- package/dist/rangeLin-D6VZ2U3C.cjs +3 -0
- package/dist/rangeLin-GMYEgLeP.js +278 -0
- package/dist/request-BD0x5Hkt.js +75 -0
- package/dist/request-Bn100qAJ.cjs +1 -0
- package/dist/retainer1-D2XmjXYH.cjs +1 -0
- package/dist/retainer1-h-Whr2c9.js +290 -0
- package/dist/retainer2-ByQdiRjq.js +504 -0
- package/dist/retainer2-cF-trL2g.cjs +1 -0
- package/dist/riskRegionTable-CQxAkG7k.js +170 -0
- package/dist/riskRegionTable-cKnxra4_.cjs +1 -0
- package/dist/sankey-Bk1IcVJQ.js +171 -0
- package/dist/sankey-MRirEgU0.cjs +1 -0
- package/dist/sausage-DRCw7Qmr.cjs +1 -0
- package/dist/sausage-xU3hOdxD.js +30 -0
- package/dist/scd-BDRpzmsa.js +2577 -0
- package/dist/scd-J-mN3eI5.cjs +1 -0
- package/dist/sectorHelper-BFEnYqut.cjs +1 -0
- package/dist/sectorHelper-DIlWFMnU.js +18 -0
- package/dist/sideMenu-BgTMtnMq.js +225 -0
- package/dist/sideMenu-l8X2E00H.cjs +1 -0
- package/dist/slopeStability-BPf7m0fJ.cjs +1 -0
- package/dist/slopeStability-C5RqZ1im.js +331 -0
- package/dist/speedCurve-C3pK-zZy.js +394 -0
- package/dist/speedCurve-CluwNAZl.cjs +1 -0
- package/dist/staticLine-C6tGGXcN.cjs +1 -0
- package/dist/staticLine-DXWOLj15.js +362 -0
- package/dist/store-BJW2NQkK.cjs +5 -0
- package/dist/store-DzDtVfSX.js +1673 -0
- package/dist/swiper-DGqDoUkX.cjs +1 -0
- package/dist/swiper-IMlGje3t.js +128 -0
- package/dist/terminalConfigList-D6xDHsnb.cjs +1 -0
- package/dist/terminalConfigList-SAyXi-BK.js +1017 -0
- package/dist/terminalList-CjSHshiR.js +1211 -0
- package/dist/terminalList-ml2C18MY.cjs +1 -0
- package/dist/textbox-AQtCe25j.cjs +1 -0
- package/dist/textbox-BLV-SY8e.js +172 -0
- package/dist/three.module-DNVo041Q.cjs +3824 -0
- package/dist/three.module-DcOQNgKS.js +16561 -0
- package/dist/timeQueryBar-BeMu_DYr.js +155 -0
- package/dist/timeQueryBar-BuKakMy8.cjs +1 -0
- package/dist/timeSeries-DP5iZKVM.js +587 -0
- package/dist/timeSeries-DfGgFWiF.cjs +4 -0
- package/dist/timeSeriesCurve-B0Mw6eNK.cjs +1 -0
- package/dist/timeSeriesCurve-BSgtPqYw.js +463 -0
- package/dist/titleStyle-BT5GlpAb.js +49 -0
- package/dist/titleStyle-NSnz6cUg.cjs +1 -0
- package/dist/toggleBtn-Dh64vVWo.cjs +1 -0
- package/dist/toggleBtn-O2Y75Uen.js +249 -0
- package/dist/trajectoryConfigPanel--C1h3tK6.js +635 -0
- package/dist/trajectoryConfigPanel-P_Qa4omj.cjs +1 -0
- package/dist/trajectoryScatter-BbpbgNb8.cjs +1 -0
- package/dist/trajectoryScatter-VLrmImlq.js +525 -0
- package/dist/universalConfigPanel-C0lDSzOB.cjs +1 -0
- package/dist/universalConfigPanel-DBg76b4F.js +477 -0
- package/dist/universalTable-Bzq9VqzA.cjs +2 -0
- package/dist/universalTable-DGK02ywi.js +410 -0
- package/dist/universalTransition-Bv7ibBUh.js +988 -0
- package/dist/universalTransition-CIN_u2Cu.cjs +1 -0
- package/dist/video-CyRoSQf1.cjs +1 -0
- package/dist/video-DCzzaEmV.js +310 -0
- package/dist/videoMonitor-BjD-ZFS0.cjs +1 -0
- package/dist/videoMonitor-ByaQeIWR.js +241 -0
- package/dist/vlu-CYZjYHaV.cjs +1 -0
- package/dist/vlu-h-9twmCr.js +100 -0
- package/dist/vue-i18n-5Nahpzrm.js +2732 -0
- package/dist/vue-i18n-BvHMBi_b.cjs +5 -0
- package/dist/weather-B7B5E1EJ.cjs +1 -0
- package/dist/weather-C_aC0XJ1.js +94 -0
- package/dist/windLin-B7V4NUV8.js +1226 -0
- package/dist/windLin-DPNzX7JN.cjs +1 -0
- package/package.json +17 -10
- package/dist/history-fvcbbxGa.cjs +0 -1
- package/dist/index-B-aA7889.js +0 -154003
- package/dist/index-CdJ-j9Gj.cjs +0 -8893
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./installSimple-c87Ufc4_.cjs"),s=require("./installCanvasRenderer-CyhM1Qpl.cjs");function l(i){s.use(e.install),s.use(s.install$2)}exports.install=l;
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
import { _ as q, eD as O, h as b, S as D, T as ee, s as te, C as ae, x as J, m as ne, L as re, eE as ie, l as K, a3 as G, Z as w, D as oe, ak as H, p as se, t as fe, Q as ve, b as ue, eF as le, U as pe, I as M, r as he, cL as ce, B as me, a4 as de, dg as ge, G as ye, eC as Ce, g as B, f as Te } from "./echarts-BVht3HHb.js";
|
|
2
|
+
import { i as _e, e as Ne, s as xe, b as $, u as Ae, d as W, f as be, a as Ie } from "./customGraphicKeyframeAnimation-BJ_z0kB3.js";
|
|
3
|
+
function Se(a, t) {
|
|
4
|
+
var e = a.existing;
|
|
5
|
+
if (t.id = a.keyInfo.id, !t.type && e && (t.type = e.type), t.parentId == null) {
|
|
6
|
+
var r = t.parentOption;
|
|
7
|
+
r ? t.parentId = r.id : e && (t.parentId = e.parentId);
|
|
8
|
+
}
|
|
9
|
+
t.parentOption = null;
|
|
10
|
+
}
|
|
11
|
+
function Y(a, t) {
|
|
12
|
+
var e;
|
|
13
|
+
return b(t, function(r) {
|
|
14
|
+
a[r] != null && a[r] !== "auto" && (e = !0);
|
|
15
|
+
}), e;
|
|
16
|
+
}
|
|
17
|
+
function De(a, t, e) {
|
|
18
|
+
var r = J({}, e), n = a[t], i = e.$action || "merge";
|
|
19
|
+
if (i === "merge")
|
|
20
|
+
if (n) {
|
|
21
|
+
if (process.env.NODE_ENV !== "production") {
|
|
22
|
+
var f = e.type;
|
|
23
|
+
D(!f || n.type === f, 'Please set $action: "replace" to change `type`');
|
|
24
|
+
}
|
|
25
|
+
ne(n, r, !0), re(n, r, {
|
|
26
|
+
ignoreSize: !0
|
|
27
|
+
}), ie(e, n), L(e, n), L(e, n, "shape"), L(e, n, "style"), L(e, n, "extra"), e.clipPath = n.clipPath;
|
|
28
|
+
} else
|
|
29
|
+
a[t] = r;
|
|
30
|
+
else i === "replace" ? a[t] = r : i === "remove" && n && (a[t] = null);
|
|
31
|
+
}
|
|
32
|
+
var X = ["transition", "enterFrom", "leaveTo"], Ee = X.concat(["enterAnimation", "updateAnimation", "leaveAnimation"]);
|
|
33
|
+
function L(a, t, e) {
|
|
34
|
+
if (e && (!a[e] && t[e] && (a[e] = {}), a = a[e], t = t[e]), !(!a || !t))
|
|
35
|
+
for (var r = e ? X : Ee, n = 0; n < r.length; n++) {
|
|
36
|
+
var i = r[n];
|
|
37
|
+
a[i] == null && t[i] != null && (a[i] = t[i]);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
function Ue(a, t) {
|
|
41
|
+
if (a && (a.hv = t.hv = [
|
|
42
|
+
// Rigid body, don't care about `width`.
|
|
43
|
+
Y(t, ["left", "right"]),
|
|
44
|
+
// Rigid body, don't care about `height`.
|
|
45
|
+
Y(t, ["top", "bottom"])
|
|
46
|
+
], a.type === "group")) {
|
|
47
|
+
var e = a, r = t;
|
|
48
|
+
e.width == null && (e.width = r.width = 0), e.height == null && (e.height = r.height = 0);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
var Ge = (
|
|
52
|
+
/** @class */
|
|
53
|
+
(function(a) {
|
|
54
|
+
q(t, a);
|
|
55
|
+
function t() {
|
|
56
|
+
var e = a !== null && a.apply(this, arguments) || this;
|
|
57
|
+
return e.type = t.type, e.preventAutoZ = !0, e;
|
|
58
|
+
}
|
|
59
|
+
return t.prototype.mergeOption = function(e, r) {
|
|
60
|
+
var n = this.option.elements;
|
|
61
|
+
this.option.elements = null, a.prototype.mergeOption.call(this, e, r), this.option.elements = n;
|
|
62
|
+
}, t.prototype.optionUpdated = function(e, r) {
|
|
63
|
+
var n = this.option, i = (r ? n : e).elements, f = n.elements = r ? [] : n.elements, _ = [];
|
|
64
|
+
this._flatten(i, _, null);
|
|
65
|
+
var o = O(f, _, "normalMerge"), d = this._elOptionsToUpdate = [];
|
|
66
|
+
b(o, function(s, h) {
|
|
67
|
+
var v = s.newOption;
|
|
68
|
+
process.env.NODE_ENV !== "production" && D(ee(v) || s.existing, "Empty graphic option definition"), v && (d.push(v), Se(s, v), De(f, h, v), Ue(f[h], v));
|
|
69
|
+
}, this), n.elements = te(f, function(s) {
|
|
70
|
+
return s && delete s.$action, s != null;
|
|
71
|
+
});
|
|
72
|
+
}, t.prototype._flatten = function(e, r, n) {
|
|
73
|
+
b(e, function(i) {
|
|
74
|
+
if (i) {
|
|
75
|
+
n && (i.parentOption = n), r.push(i);
|
|
76
|
+
var f = i.children;
|
|
77
|
+
f && f.length && this._flatten(f, r, i), delete i.children;
|
|
78
|
+
}
|
|
79
|
+
}, this);
|
|
80
|
+
}, t.prototype.useElOptionsToUpdate = function() {
|
|
81
|
+
var e = this._elOptionsToUpdate;
|
|
82
|
+
return this._elOptionsToUpdate = null, e;
|
|
83
|
+
}, t.type = "graphic", t.defaultOption = {
|
|
84
|
+
elements: []
|
|
85
|
+
// parentId: null
|
|
86
|
+
}, t;
|
|
87
|
+
})(ae)
|
|
88
|
+
), P = {
|
|
89
|
+
// Reserved but not supported in graphic component.
|
|
90
|
+
path: null,
|
|
91
|
+
compoundPath: null,
|
|
92
|
+
// Supported in graphic component.
|
|
93
|
+
group: ye,
|
|
94
|
+
image: ge,
|
|
95
|
+
text: w
|
|
96
|
+
}, c = pe(), Le = (
|
|
97
|
+
/** @class */
|
|
98
|
+
(function(a) {
|
|
99
|
+
q(t, a);
|
|
100
|
+
function t() {
|
|
101
|
+
var e = a !== null && a.apply(this, arguments) || this;
|
|
102
|
+
return e.type = t.type, e;
|
|
103
|
+
}
|
|
104
|
+
return t.prototype.init = function() {
|
|
105
|
+
this._elMap = K();
|
|
106
|
+
}, t.prototype.render = function(e, r, n) {
|
|
107
|
+
e !== this._lastGraphicModel && this._clear(), this._lastGraphicModel = e, this._updateElements(e), this._relocate(e, n);
|
|
108
|
+
}, t.prototype._updateElements = function(e) {
|
|
109
|
+
var r = e.useElOptionsToUpdate();
|
|
110
|
+
if (r) {
|
|
111
|
+
var n = this._elMap, i = this.group, f = e.get("z"), _ = e.get("zlevel");
|
|
112
|
+
b(r, function(o) {
|
|
113
|
+
var d = G(o.id, null), s = d != null ? n.get(d) : null, h = G(o.parentId, null), v = h != null ? n.get(h) : i, u = o.type, p = o.style;
|
|
114
|
+
u === "text" && p && o.hv && o.hv[1] && (p.textVerticalAlign = p.textBaseline = p.verticalAlign = p.align = null);
|
|
115
|
+
var g = o.textContent, T = o.textConfig;
|
|
116
|
+
if (p && _e(p, u, !!T, !!g)) {
|
|
117
|
+
var y = Ne(p, u, !0);
|
|
118
|
+
!T && y.textConfig && (T = o.textConfig = y.textConfig), !g && y.textContent && (g = y.textContent);
|
|
119
|
+
}
|
|
120
|
+
var E = Ve(o);
|
|
121
|
+
process.env.NODE_ENV !== "production" && s && D(v === s.parent, "Changing parent is not supported.");
|
|
122
|
+
var x = o.$action || "merge", I = x === "merge", A = x === "replace";
|
|
123
|
+
if (I) {
|
|
124
|
+
var C = !s, m = s;
|
|
125
|
+
C ? m = Q(d, v, o.type, n) : (m && (c(m).isNew = !1), xe(m)), m && ($(m, E, e, {
|
|
126
|
+
isInit: C
|
|
127
|
+
}), j(m, o, f, _));
|
|
128
|
+
} else if (A) {
|
|
129
|
+
V(s, o, n, e);
|
|
130
|
+
var N = Q(d, v, o.type, n);
|
|
131
|
+
N && ($(N, E, e, {
|
|
132
|
+
isInit: !0
|
|
133
|
+
}), j(N, o, f, _));
|
|
134
|
+
} else x === "remove" && (Ae(s, o), V(s, o, n, e));
|
|
135
|
+
var l = n.get(d);
|
|
136
|
+
if (l && g)
|
|
137
|
+
if (I) {
|
|
138
|
+
var F = l.getTextContent();
|
|
139
|
+
F ? F.attr(g) : l.setTextContent(new w(g));
|
|
140
|
+
} else A && l.setTextContent(new w(g));
|
|
141
|
+
if (l) {
|
|
142
|
+
var U = o.clipPath;
|
|
143
|
+
if (U) {
|
|
144
|
+
var z = U.type, S = void 0, C = !1;
|
|
145
|
+
if (I) {
|
|
146
|
+
var R = l.getClipPath();
|
|
147
|
+
C = !R || c(R).type !== z, S = C ? Z(z) : R;
|
|
148
|
+
} else A && (C = !0, S = Z(z));
|
|
149
|
+
l.setClipPath(S), $(S, U, e, {
|
|
150
|
+
isInit: C
|
|
151
|
+
}), W(S, U.keyframeAnimation, e);
|
|
152
|
+
}
|
|
153
|
+
var k = c(l);
|
|
154
|
+
l.setTextConfig(T), k.option = o, ze(l, e, o), oe({
|
|
155
|
+
el: l,
|
|
156
|
+
componentModel: e,
|
|
157
|
+
itemName: l.name,
|
|
158
|
+
itemTooltipOption: o.tooltip
|
|
159
|
+
}), W(l, o.keyframeAnimation, e);
|
|
160
|
+
}
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
}, t.prototype._relocate = function(e, r) {
|
|
164
|
+
for (var n = e.option.elements, i = this.group, f = this._elMap, _ = r.getWidth(), o = r.getHeight(), d = ["x", "y"], s = 0; s < n.length; s++) {
|
|
165
|
+
var h = n[s], v = G(h.id, null), u = v != null ? f.get(v) : null;
|
|
166
|
+
if (!(!u || !u.isGroup)) {
|
|
167
|
+
var p = u.parent, g = p === i, T = c(u), y = c(p);
|
|
168
|
+
T.width = H(T.option.width, g ? _ : y.width) || 0, T.height = H(T.option.height, g ? o : y.height) || 0;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
for (var s = n.length - 1; s >= 0; s--) {
|
|
172
|
+
var h = n[s], v = G(h.id, null), u = v != null ? f.get(v) : null;
|
|
173
|
+
if (u) {
|
|
174
|
+
var p = u.parent, y = c(p), E = p === i ? {
|
|
175
|
+
width: _,
|
|
176
|
+
height: o
|
|
177
|
+
} : {
|
|
178
|
+
width: y.width,
|
|
179
|
+
height: y.height
|
|
180
|
+
}, x = {}, I = se(u, h, E, null, {
|
|
181
|
+
hv: h.hv,
|
|
182
|
+
boundingMode: h.bounding
|
|
183
|
+
}, x);
|
|
184
|
+
if (!c(u).isNew && I) {
|
|
185
|
+
for (var A = h.transition, C = {}, m = 0; m < d.length; m++) {
|
|
186
|
+
var N = d[m], l = x[N];
|
|
187
|
+
A && (be(A) || fe(A, N) >= 0) ? C[N] = l : u[N] = l;
|
|
188
|
+
}
|
|
189
|
+
ve(u, C, e, 0);
|
|
190
|
+
} else
|
|
191
|
+
u.attr(x);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}, t.prototype._clear = function() {
|
|
195
|
+
var e = this, r = this._elMap;
|
|
196
|
+
r.each(function(n) {
|
|
197
|
+
V(n, c(n).option, r, e._lastGraphicModel);
|
|
198
|
+
}), this._elMap = K();
|
|
199
|
+
}, t.prototype.dispose = function() {
|
|
200
|
+
this._clear();
|
|
201
|
+
}, t.type = "graphic", t;
|
|
202
|
+
})(ue)
|
|
203
|
+
);
|
|
204
|
+
function Z(a) {
|
|
205
|
+
process.env.NODE_ENV !== "production" && D(a, "graphic type MUST be set");
|
|
206
|
+
var t = M(P, a) ? P[a] : Ce(a);
|
|
207
|
+
process.env.NODE_ENV !== "production" && D(t, "graphic type " + a + " can not be found");
|
|
208
|
+
var e = new t({});
|
|
209
|
+
return c(e).type = a, e;
|
|
210
|
+
}
|
|
211
|
+
function Q(a, t, e, r) {
|
|
212
|
+
var n = Z(e);
|
|
213
|
+
return t.add(n), r.set(a, n), c(n).id = a, c(n).isNew = !0, n;
|
|
214
|
+
}
|
|
215
|
+
function V(a, t, e, r) {
|
|
216
|
+
var n = a && a.parent;
|
|
217
|
+
n && (a.type === "group" && a.traverse(function(i) {
|
|
218
|
+
V(i, t, e, r);
|
|
219
|
+
}), Ie(a, t, r), e.removeKey(c(a).id));
|
|
220
|
+
}
|
|
221
|
+
function j(a, t, e, r) {
|
|
222
|
+
a.isGroup || b([
|
|
223
|
+
["cursor", ce.prototype.cursor],
|
|
224
|
+
// We should not support configure z and zlevel in the element level.
|
|
225
|
+
// But seems we didn't limit it previously. So here still use it to avoid breaking.
|
|
226
|
+
["zlevel", r || 0],
|
|
227
|
+
["z", e || 0],
|
|
228
|
+
// z2 must not be null/undefined, otherwise sort error may occur.
|
|
229
|
+
["z2", 0]
|
|
230
|
+
], function(n) {
|
|
231
|
+
var i = n[0];
|
|
232
|
+
M(t, i) ? a[i] = he(t[i], n[1]) : a[i] == null && (a[i] = n[1]);
|
|
233
|
+
}), b(de(t), function(n) {
|
|
234
|
+
if (n.indexOf("on") === 0) {
|
|
235
|
+
var i = t[n];
|
|
236
|
+
a[n] = me(i) ? i : null;
|
|
237
|
+
}
|
|
238
|
+
}), M(t, "draggable") && (a.draggable = t.draggable), t.name != null && (a.name = t.name), t.id != null && (a.id = t.id);
|
|
239
|
+
}
|
|
240
|
+
function Ve(a) {
|
|
241
|
+
return a = J({}, a), b(["id", "parentId", "$action", "hv", "bounding", "textContent", "clipPath"].concat(le), function(t) {
|
|
242
|
+
delete a[t];
|
|
243
|
+
}), a;
|
|
244
|
+
}
|
|
245
|
+
function ze(a, t, e) {
|
|
246
|
+
var r = B(a).eventData;
|
|
247
|
+
!a.silent && !a.ignore && !r && (r = B(a).eventData = {
|
|
248
|
+
componentType: "graphic",
|
|
249
|
+
componentIndex: t.componentIndex,
|
|
250
|
+
name: a.name
|
|
251
|
+
}), r && (r.info = e.info);
|
|
252
|
+
}
|
|
253
|
+
function we(a) {
|
|
254
|
+
a.registerComponentModel(Ge), a.registerComponentView(Le), a.registerPreprocessor(function(t) {
|
|
255
|
+
var e = t.graphic;
|
|
256
|
+
Te(e) ? !e[0] || !e[0].elements ? t.graphic = [{
|
|
257
|
+
elements: e
|
|
258
|
+
}] : t.graphic = [t.graphic[0]] : e && !e.elements && (t.graphic = [{
|
|
259
|
+
elements: [e]
|
|
260
|
+
}]);
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
export {
|
|
264
|
+
we as i
|
|
265
|
+
};
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { _ as C, C as A, r as B, Z as w, c as S, w as R, g as k, a as E, R as V, b as O } from "./echarts-BVht3HHb.js";
|
|
2
|
+
var D = (
|
|
3
|
+
/** @class */
|
|
4
|
+
(function(n) {
|
|
5
|
+
C(e, n);
|
|
6
|
+
function e() {
|
|
7
|
+
var t = n !== null && n.apply(this, arguments) || this;
|
|
8
|
+
return t.type = e.type, t.layoutMode = {
|
|
9
|
+
type: "box",
|
|
10
|
+
ignoreSize: !0
|
|
11
|
+
}, t;
|
|
12
|
+
}
|
|
13
|
+
return e.type = "title", e.defaultOption = {
|
|
14
|
+
// zlevel: 0,
|
|
15
|
+
z: 6,
|
|
16
|
+
show: !0,
|
|
17
|
+
text: "",
|
|
18
|
+
target: "blank",
|
|
19
|
+
subtext: "",
|
|
20
|
+
subtarget: "blank",
|
|
21
|
+
left: 0,
|
|
22
|
+
top: 0,
|
|
23
|
+
backgroundColor: "rgba(0,0,0,0)",
|
|
24
|
+
borderColor: "#ccc",
|
|
25
|
+
borderWidth: 0,
|
|
26
|
+
padding: 5,
|
|
27
|
+
itemGap: 10,
|
|
28
|
+
textStyle: {
|
|
29
|
+
fontSize: 18,
|
|
30
|
+
fontWeight: "bold",
|
|
31
|
+
color: "#464646"
|
|
32
|
+
},
|
|
33
|
+
subtextStyle: {
|
|
34
|
+
fontSize: 12,
|
|
35
|
+
color: "#6E7079"
|
|
36
|
+
}
|
|
37
|
+
}, e;
|
|
38
|
+
})(A)
|
|
39
|
+
), I = (
|
|
40
|
+
/** @class */
|
|
41
|
+
(function(n) {
|
|
42
|
+
C(e, n);
|
|
43
|
+
function e() {
|
|
44
|
+
var t = n !== null && n.apply(this, arguments) || this;
|
|
45
|
+
return t.type = e.type, t;
|
|
46
|
+
}
|
|
47
|
+
return e.prototype.render = function(t, W, p) {
|
|
48
|
+
if (this.group.removeAll(), !!t.get("show")) {
|
|
49
|
+
var a = this.group, d = t.getModel("textStyle"), v = t.getModel("subtextStyle"), g = t.get("textAlign"), i = B(t.get("textBaseline"), t.get("textVerticalAlign")), l = new w({
|
|
50
|
+
style: S(d, {
|
|
51
|
+
text: t.get("text"),
|
|
52
|
+
fill: d.getTextColor()
|
|
53
|
+
}, {
|
|
54
|
+
disableBox: !0
|
|
55
|
+
}),
|
|
56
|
+
z2: 10
|
|
57
|
+
}), T = l.getBoundingRect(), f = t.get("subtext"), u = new w({
|
|
58
|
+
style: S(v, {
|
|
59
|
+
text: f,
|
|
60
|
+
fill: v.getTextColor(),
|
|
61
|
+
y: T.height + t.get("itemGap"),
|
|
62
|
+
verticalAlign: "top"
|
|
63
|
+
}, {
|
|
64
|
+
disableBox: !0
|
|
65
|
+
}),
|
|
66
|
+
z2: 10
|
|
67
|
+
}), c = t.get("link"), h = t.get("sublink"), x = t.get("triggerEvent", !0);
|
|
68
|
+
l.silent = !c && !x, u.silent = !h && !x, c && l.on("click", function() {
|
|
69
|
+
R(c, "_" + t.get("target"));
|
|
70
|
+
}), h && u.on("click", function() {
|
|
71
|
+
R(h, "_" + t.get("subtarget"));
|
|
72
|
+
}), k(l).eventData = k(u).eventData = x ? {
|
|
73
|
+
componentType: "title",
|
|
74
|
+
componentIndex: t.componentIndex
|
|
75
|
+
} : null, a.add(l), f && a.add(u);
|
|
76
|
+
var o = a.getBoundingRect(), y = t.getBoxLayoutParams();
|
|
77
|
+
y.width = o.width, y.height = o.height;
|
|
78
|
+
var r = E(y, {
|
|
79
|
+
width: p.getWidth(),
|
|
80
|
+
height: p.getHeight()
|
|
81
|
+
}, t.get("padding"));
|
|
82
|
+
g || (g = t.get("left") || t.get("right"), g === "middle" && (g = "center"), g === "right" ? r.x += r.width : g === "center" && (r.x += r.width / 2)), i || (i = t.get("top") || t.get("bottom"), i === "center" && (i = "middle"), i === "bottom" ? r.y += r.height : i === "middle" && (r.y += r.height / 2), i = i || "top"), a.x = r.x, a.y = r.y, a.markRedraw();
|
|
83
|
+
var b = {
|
|
84
|
+
align: g,
|
|
85
|
+
verticalAlign: i
|
|
86
|
+
};
|
|
87
|
+
l.setStyle(b), u.setStyle(b), o = a.getBoundingRect();
|
|
88
|
+
var s = r.margin, m = t.getItemStyle(["color", "opacity"]);
|
|
89
|
+
m.fill = t.get("backgroundColor");
|
|
90
|
+
var z = new V({
|
|
91
|
+
shape: {
|
|
92
|
+
x: o.x - s[3],
|
|
93
|
+
y: o.y - s[0],
|
|
94
|
+
width: o.width + s[1] + s[3],
|
|
95
|
+
height: o.height + s[0] + s[2],
|
|
96
|
+
r: t.get("borderRadius")
|
|
97
|
+
},
|
|
98
|
+
style: m,
|
|
99
|
+
subPixelOptimize: !0,
|
|
100
|
+
silent: !0
|
|
101
|
+
});
|
|
102
|
+
a.add(z);
|
|
103
|
+
}
|
|
104
|
+
}, e.type = "title", e;
|
|
105
|
+
})(O)
|
|
106
|
+
);
|
|
107
|
+
function G(n) {
|
|
108
|
+
n.registerComponentModel(D), n.registerComponentView(I);
|
|
109
|
+
}
|
|
110
|
+
export {
|
|
111
|
+
G as i
|
|
112
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const E=require("./installCanvasRenderer-CyhM1Qpl.cjs"),l=require("./echarts-BB8O2KSA.cjs"),S=require("./VisualMapping-MilpZvD_.cjs");function j(p,a,t,e,i,r){p=p||0;var n=t[1]-t[0];if(i!=null&&(i=w(i,[0,n])),r!=null&&(r=Math.max(r,i!=null?i:0)),e==="all"){var o=Math.abs(a[1]-a[0]);o=w(o,[0,n]),i=r=w(o,[i,r]),e=0}a[0]=w(a[0],t),a[1]=w(a[1],t);var u=D(a,e);a[e]+=p;var h=i||0,c=t.slice();u.sign<0?c[0]+=h:c[1]-=h,a[e]=w(a[e],c);var s;return s=D(a,e),i!=null&&(s.sign!==u.sign||s.span<i)&&(a[1-e]=a[e]+u.sign*i),s=D(a,e),r!=null&&s.span>r&&(a[1-e]=a[e]+s.sign*r),a}function D(p,a){var t=p[a]-p[1-a];return{span:Math.abs(t),sign:t>0?-1:t<0?1:a?-1:1}}function w(p,a){return Math.min(a[1]!=null?a[1]:1/0,Math.max(a[0]!=null?a[0]:-1/0,p))}var G=l.each;function F(p){if(p){for(var a in p)if(p.hasOwnProperty(a))return!0}}function H(p,a,t){var e={};return G(a,function(r){var n=e[r]=i();G(p[r],function(o,u){if(S.VisualMapping.isValidType(u)){var h={type:u,visual:o};t&&t(h,r),n[u]=new S.VisualMapping(h),u==="opacity"&&(h=l.clone(h),h.type="colorAlpha",n.__hidden.__alphaForOpacity=new S.VisualMapping(h))}})}),e;function i(){var r=function(){};r.prototype.__hidden=r.prototype;var n=new r;return n}}function tt(p,a,t){var e;l.each(t,function(i){a.hasOwnProperty(i)&&F(a[i])&&(e=!0)}),e&&l.each(t,function(i){a.hasOwnProperty(i)&&F(a[i])?p[i]=l.clone(a[i]):delete p[i]})}function st(p,a,t,e,i,r){var n={};l.each(p,function(s){var v=S.VisualMapping.prepareVisualTypes(a[s]);n[s]=v});var o;function u(s){return l.getItemVisualFromData(t,o,s)}function h(s,v){l.setItemVisualFromData(t,o,s,v)}t.each(c);function c(s,v){o=s;var f=t.getRawDataItem(o);if(!(f&&f.visualMap===!1))for(var d=e.call(i,s),g=a[d],y=n[d],m=0,_=y.length;m<_;m++){var M=y[m];g[M]&&g[M].applyVisual(s,u,h)}}}function lt(p,a,t,e){var i={};return l.each(p,function(r){var n=S.VisualMapping.prepareVisualTypes(a[r]);i[r]=n}),{progress:function(n,o){var u;e!=null&&(u=o.getDimensionIndex(e));function h(I){return l.getItemVisualFromData(o,s,I)}function c(I,x){l.setItemVisualFromData(o,s,I,x)}for(var s,v=o.getStore();(s=n.next())!=null;){var f=o.getRawDataItem(s);if(!(f&&f.visualMap===!1))for(var d=e!=null?v.get(u,s):s,g=t(d),y=a[g],m=i[g],_=0,M=m.length;_<M;_++){var V=m[_];y[V]&&y[V].applyVisual(d,h,c)}}}}}var et={get:function(p,a,t){var e=l.clone((ut[p]||{})[a]);return t&&l.isArray(e)?e[e.length-1]:e}},ut={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},B=S.VisualMapping.mapVisual,pt=S.VisualMapping.eachVisual,ct=l.isArray,N=l.each,ht=l.asc,vt=l.linearMap,R=(function(p){l.__extends(a,p);function a(){var t=p!==null&&p.apply(this,arguments)||this;return t.type=a.type,t.stateList=["inRange","outOfRange"],t.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],t.layoutMode={type:"box",ignoreSize:!0},t.dataBound=[-1/0,1/0],t.targetVisuals={},t.controllerVisuals={},t}return a.prototype.init=function(t,e,i){this.mergeDefaultAndTheme(t,i)},a.prototype.optionUpdated=function(t,e){var i=this.option;!e&&tt(i,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},a.prototype.resetVisual=function(t){var e=this.stateList;t=l.bind(t,this),this.controllerVisuals=H(this.option.controller,e,t),this.targetVisuals=H(this.option.target,e,t)},a.prototype.getItemSymbol=function(){return null},a.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return t==null||t==="all"?this.ecModel.eachSeries(function(i,r){e.push(r)}):e=l.normalizeToArray(t),e},a.prototype.eachTargetSeries=function(t,e){l.each(this.getTargetSeriesIndices(),function(i){var r=this.ecModel.getSeriesByIndex(i);r&&t.call(e,r)},this)},a.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries(function(i){i===t&&(e=!0)}),e},a.prototype.formatValueText=function(t,e,i){var r=this.option,n=r.precision,o=this.dataBound,u=r.formatter,h;i=i||["<",">"],l.isArray(t)&&(t=t.slice(),h=!0);var c=e?t:h?[s(t[0]),s(t[1])]:s(t);if(l.isString(u))return u.replace("{value}",h?c[0]:c).replace("{value2}",h?c[1]:c);if(l.isFunction(u))return h?u(t[0],t[1]):u(t);if(h)return t[0]===o[0]?i[0]+" "+c[1]:t[1]===o[1]?i[1]+" "+c[0]:c[0]+" - "+c[1];return c;function s(v){return v===o[0]?"min":v===o[1]?"max":(+v).toFixed(Math.min(n,20))}},a.prototype.resetExtent=function(){var t=this.option,e=ht([t.min,t.max]);this._dataExtent=e},a.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(e!=null)return t.getDimensionIndex(e);for(var i=t.dimensions,r=i.length-1;r>=0;r--){var n=i[r],o=t.getDimensionInfo(n);if(!o.isCalculationCoord)return o.storeDimIndex}},a.prototype.getExtent=function(){return this._dataExtent.slice()},a.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,i={inRange:e.inRange,outOfRange:e.outOfRange},r=e.target||(e.target={}),n=e.controller||(e.controller={});l.merge(r,i),l.merge(n,i);var o=this.isCategory();u.call(this,r),u.call(this,n),h.call(this,r,"inRange","outOfRange"),c.call(this,n);function u(s){ct(e.color)&&!s.inRange&&(s.inRange={color:e.color.slice().reverse()}),s.inRange=s.inRange||{color:t.get("gradientColor")}}function h(s,v,f){var d=s[v],g=s[f];d&&!g&&(g=s[f]={},N(d,function(y,m){if(S.VisualMapping.isValidType(m)){var _=et.get(m,"inactive",o);_!=null&&(g[m]=_,m==="color"&&!g.hasOwnProperty("opacity")&&!g.hasOwnProperty("colorAlpha")&&(g.opacity=[0,0]))}}))}function c(s){var v=(s.inRange||{}).symbol||(s.outOfRange||{}).symbol,f=(s.inRange||{}).symbolSize||(s.outOfRange||{}).symbolSize,d=this.get("inactiveColor"),g=this.getItemSymbol(),y=g||"roundRect";N(this.stateList,function(m){var _=this.itemSize,M=s[m];M||(M=s[m]={color:o?d:[d]}),M.symbol==null&&(M.symbol=v&&l.clone(v)||(o?y:[y])),M.symbolSize==null&&(M.symbolSize=f&&l.clone(f)||(o?_[0]:[_[0],_[0]])),M.symbol=B(M.symbol,function(x){return x==="none"?y:x});var V=M.symbolSize;if(V!=null){var I=-1/0;pt(V,function(x){x>I&&(I=x)}),M.symbolSize=B(V,function(x){return vt(x,[0,I],[0,_[0]],!0)})}},this)}},a.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},a.prototype.isCategory=function(){return!!this.option.categories},a.prototype.setSelected=function(t){},a.prototype.getSelected=function(){return null},a.prototype.getValueState=function(t){return null},a.prototype.getVisualMeta=function(t){return null},a.type="visualMap",a.dependencies=["series"],a.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},a})(l.ComponentModel),$=[20,140],ft=(function(p){l.__extends(a,p);function a(){var t=p!==null&&p.apply(this,arguments)||this;return t.type=a.type,t}return a.prototype.optionUpdated=function(t,e){p.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(i){i.mappingMethod="linear",i.dataExtent=this.getExtent()}),this._resetRange()},a.prototype.resetItemSize=function(){p.prototype.resetItemSize.apply(this,arguments);var t=this.itemSize;(t[0]==null||isNaN(t[0]))&&(t[0]=$[0]),(t[1]==null||isNaN(t[1]))&&(t[1]=$[1])},a.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):l.isArray(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},a.prototype.completeVisualOption=function(){p.prototype.completeVisualOption.apply(this,arguments),l.each(this.stateList,function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)},this)},a.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},a.prototype.getSelected=function(){var t=this.getExtent(),e=l.asc((this.get("range")||[]).slice());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},a.prototype.getValueState=function(t){var e=this.option.range,i=this.getExtent();return(e[0]<=i[0]||e[0]<=t)&&(e[1]>=i[1]||t<=e[1])?"inRange":"outOfRange"},a.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries(function(i){var r=[],n=i.getData();n.each(this.getDataDimensionIndex(n),function(o,u){t[0]<=o&&o<=t[1]&&r.push(u)},this),e.push({seriesId:i.id,dataIndex:r})},this),e},a.prototype.getVisualMeta=function(t){var e=K(this,"outOfRange",this.getExtent()),i=K(this,"inRange",this.option.range.slice()),r=[];function n(f,d){r.push({value:f,color:t(f,d)})}for(var o=0,u=0,h=i.length,c=e.length;u<c&&(!i.length||e[u]<=i[0]);u++)e[u]<i[o]&&n(e[u],"outOfRange");for(var s=1;o<h;o++,s=0)s&&r.length&&n(i[o],"outOfRange"),n(i[o],"inRange");for(var s=1;u<c;u++)(!i.length||i[i.length-1]<e[u])&&(s&&(r.length&&n(r[r.length-1].value,"outOfRange"),s=0),n(e[u],"outOfRange"));var v=r.length;return{stops:r,outerColors:[v?r[0].color:"transparent",v?r[v-1].color:"transparent"]}},a.type="visualMap.continuous",a.defaultOption=l.inheritDefaultOption(R.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,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",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),a})(R);function K(p,a,t){if(t[0]===t[1])return t.slice();for(var e=200,i=(t[1]-t[0])/e,r=t[0],n=[],o=0;o<=e&&r<t[1];o++)n.push(r),r+=i;return n.push(t[1]),n}var it=(function(p){l.__extends(a,p);function a(){var t=p!==null&&p.apply(this,arguments)||this;return t.type=a.type,t.autoPositionValues={left:1,right:1,top:1,bottom:1},t}return a.prototype.init=function(t,e){this.ecModel=t,this.api=e},a.prototype.render=function(t,e,i,r){if(this.visualMapModel=t,t.get("show")===!1){this.group.removeAll();return}this.doRender(t,e,i,r)},a.prototype.renderBackground=function(t){var e=this.visualMapModel,i=l.normalizeCssArray(e.get("padding")||0),r=t.getBoundingRect();t.add(new l.Rect({z2:-1,silent:!0,shape:{x:r.x-i[3],y:r.y-i[0],width:r.width+i[3]+i[1],height:r.height+i[0]+i[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},a.prototype.getControllerVisual=function(t,e,i){i=i||{};var r=i.forceState,n=this.visualMapModel,o={};if(e==="color"){var u=n.get("contentColor");o.color=u}function h(f){return o[f]}function c(f,d){o[f]=d}var s=n.controllerVisuals[r||n.getValueState(t)],v=S.VisualMapping.prepareVisualTypes(s);return l.each(v,function(f){var d=s[f];i.convertOpacityToAlpha&&f==="opacity"&&(f="colorAlpha",d=s.__alphaForOpacity),S.VisualMapping.dependsOn(f,e)&&d&&d.applyVisual(t,h,c)}),o[e]},a.prototype.positionGroup=function(t){var e=this.visualMapModel,i=this.api;l.positionElement(t,e.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})},a.prototype.doRender=function(t,e,i,r){},a.type="visualMap",a})(l.ComponentView),W=[["left","right","width"],["top","bottom","height"]];function at(p,a,t){var e=p.option,i=e.align;if(i!=null&&i!=="auto")return i;for(var r={width:a.getWidth(),height:a.getHeight()},n=e.orient==="horizontal"?1:0,o=W[n],u=[0,null,10],h={},c=0;c<3;c++)h[W[1-n][c]]=u[c],h[o[c]]=c===2?t[0]:e[o[c]];var s=[["x","width",3],["y","height",0]][n],v=l.getLayoutRect(h,r,e.padding);return o[(v.margin[s[2]]||0)+v[s[0]]+v[s[1]]*.5<r[s[1]]*.5?0:1]}function T(p,a){return l.each(p||[],function(t){t.dataIndex!=null&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(a?a.componentIndex:"")}),p}var b=l.linearMap,dt=l.each,Z=Math.min,C=Math.max,gt=12,yt=6,mt=(function(p){l.__extends(a,p);function a(){var t=p!==null&&p.apply(this,arguments)||this;return t.type=a.type,t._shapes={},t._dataInterval=[],t._handleEnds=[],t._hoverLinkDataIndices=[],t}return a.prototype.init=function(t,e){p.prototype.init.call(this,t,e),this._hoverLinkFromSeriesMouseOver=l.bind(this._hoverLinkFromSeriesMouseOver,this),this._hideIndicator=l.bind(this._hideIndicator,this)},a.prototype.doRender=function(t,e,i,r){(!r||r.type!=="selectDataRange"||r.from!==this.uid)&&this._buildView()},a.prototype._buildView=function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var i=t.get("text");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)},a.prototype._renderEndsText=function(t,e,i){if(e){var r=e[1-i];r=r!=null?r+"":"";var n=this.visualMapModel,o=n.get("textGap"),u=n.itemSize,h=this._shapes.mainGroup,c=this._applyTransform([u[0]/2,i===0?-o:u[1]+o],h),s=this._applyTransform(i===0?"bottom":"top",h),v=this._orient,f=this.visualMapModel.textStyleModel;this.group.add(new l.ZRText({style:l.createTextStyle(f,{x:c[0],y:c[1],verticalAlign:v==="horizontal"?"middle":s,align:v==="horizontal"?s:"center",text:r})}))}},a.prototype._renderBar=function(t){var e=this.visualMapModel,i=this._shapes,r=e.itemSize,n=this._orient,o=this._useHandle,u=at(e,this.api,r),h=i.mainGroup=this._createBarGroup(u),c=new l.Group;h.add(c),c.add(i.outOfRange=U()),c.add(i.inRange=U(null,o?Y(this._orient):null,l.bind(this._dragHandle,this,"all",!1),l.bind(this._dragHandle,this,"all",!0))),c.setClipPath(new l.Rect({shape:{x:0,y:0,width:r[0],height:r[1],r:3}}));var s=e.textStyleModel.getTextRect("国"),v=C(s.width,s.height);o&&(i.handleThumbs=[],i.handleLabels=[],i.handleLabelPoints=[],this._createHandle(e,h,0,r,v,n),this._createHandle(e,h,1,r,v,n)),this._createIndicator(e,h,r,v,n),t.add(h)},a.prototype._createHandle=function(t,e,i,r,n,o){var u=l.bind(this._dragHandle,this,i,!1),h=l.bind(this._dragHandle,this,i,!0),c=l.parsePercent$1(t.get("handleSize"),r[0]),s=l.createSymbol(t.get("handleIcon"),-c/2,-c/2,c,c,null,!0),v=Y(this._orient);s.attr({cursor:v,draggable:!0,drift:u,ondragend:h,onmousemove:function(m){l.stop(m.event)}}),s.x=r[0]/2,s.useStyle(t.getModel("handleStyle").getItemStyle()),s.setStyle({strokeNoScale:!0,strokeFirst:!0}),s.style.lineWidth*=2,s.ensureState("emphasis").style=t.getModel(["emphasis","handleStyle"]).getItemStyle(),l.setAsHighDownDispatcher(s,!0),e.add(s);var f=this.visualMapModel.textStyleModel,d=new l.ZRText({cursor:v,draggable:!0,drift:u,onmousemove:function(m){l.stop(m.event)},ondragend:h,style:l.createTextStyle(f,{x:0,y:0,text:""})});d.ensureState("blur").style={opacity:.1},d.stateTransition={duration:200},this.group.add(d);var g=[c,0],y=this._shapes;y.handleThumbs[i]=s,y.handleLabelPoints[i]=g,y.handleLabels[i]=d},a.prototype._createIndicator=function(t,e,i,r,n){var o=l.parsePercent$1(t.get("indicatorSize"),i[0]),u=l.createSymbol(t.get("indicatorIcon"),-o/2,-o/2,o,o,null,!0);u.attr({cursor:"move",invisible:!0,silent:!0,x:i[0]/2});var h=t.getModel("indicatorStyle").getItemStyle();if(u instanceof l.ZRImage){var c=u.style;u.useStyle(l.extend({image:c.image,x:c.x,y:c.y,width:c.width,height:c.height},h))}else u.useStyle(h);e.add(u);var s=this.visualMapModel.textStyleModel,v=new l.ZRText({silent:!0,invisible:!0,style:l.createTextStyle(s,{x:0,y:0,text:""})});this.group.add(v);var f=[(n==="horizontal"?r/2:yt)+i[0]/2,0],d=this._shapes;d.indicator=u,d.indicatorLabel=v,d.indicatorLabelPoint=f,this._firstShowIndicator=!0},a.prototype._dragHandle=function(t,e,i,r){if(this._useHandle){if(this._dragging=!e,!e){var n=this._applyTransform([i,r],this._shapes.mainGroup,!0);this._updateInterval(t,n[1]),this._hideIndicator(),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?!this._hovering&&this._clearHoverLinkToSeries():X(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},a.prototype._resetInterval=function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),i=t.getExtent(),r=[0,t.itemSize[1]];this._handleEnds=[b(e[0],i,r,!0),b(e[1],i,r,!0)]},a.prototype._updateInterval=function(t,e){e=e||0;var i=this.visualMapModel,r=this._handleEnds,n=[0,i.itemSize[1]];j(e,r,n,t,0);var o=i.getExtent();this._dataInterval=[b(r[0],n,o,!0),b(r[1],n,o,!0)]},a.prototype._updateView=function(t){var e=this.visualMapModel,i=e.getExtent(),r=this._shapes,n=[0,e.itemSize[1]],o=t?n:this._handleEnds,u=this._createBarVisual(this._dataInterval,i,o,"inRange"),h=this._createBarVisual(i,i,n,"outOfRange");r.inRange.setStyle({fill:u.barColor}).setShape("points",u.barPoints),r.outOfRange.setStyle({fill:h.barColor}).setShape("points",h.barPoints),this._updateHandle(o,u)},a.prototype._createBarVisual=function(t,e,i,r){var n={forceState:r,convertOpacityToAlpha:!0},o=this._makeColorGradient(t,n),u=[this.getControllerVisual(t[0],"symbolSize",n),this.getControllerVisual(t[1],"symbolSize",n)],h=this._createBarPoints(i,u);return{barColor:new l.LinearGradient(0,0,0,1,o),barPoints:h,handlesColor:[o[0].color,o[o.length-1].color]}},a.prototype._makeColorGradient=function(t,e){var i=100,r=[],n=(t[1]-t[0])/i;r.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var o=1;o<i;o++){var u=t[0]+n*o;if(u>t[1])break;r.push({color:this.getControllerVisual(u,"color",e),offset:o/i})}return r.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),r},a.prototype._createBarPoints=function(t,e){var i=this.visualMapModel.itemSize;return[[i[0]-e[0],t[0]],[i[0],t[0]],[i[0],t[1]],[i[0]-e[1],t[1]]]},a.prototype._createBarGroup=function(t){var e=this._orient,i=this.visualMapModel.get("inverse");return new l.Group(e==="horizontal"&&!i?{scaleX:t==="bottom"?1:-1,rotation:Math.PI/2}:e==="horizontal"&&i?{scaleX:t==="bottom"?-1:1,rotation:-Math.PI/2}:e==="vertical"&&!i?{scaleX:t==="left"?1:-1,scaleY:-1}:{scaleX:t==="left"?1:-1})},a.prototype._updateHandle=function(t,e){if(this._useHandle){var i=this._shapes,r=this.visualMapModel,n=i.handleThumbs,o=i.handleLabels,u=r.itemSize,h=r.getExtent(),c=this._applyTransform("left",i.mainGroup);dt([0,1],function(s){var v=n[s];v.setStyle("fill",e.handlesColor[s]),v.y=t[s];var f=b(t[s],[0,u[1]],h,!0),d=this.getControllerVisual(f,"symbolSize");v.scaleX=v.scaleY=d/u[0],v.x=u[0]-d/2;var g=l.applyTransform$1(i.handleLabelPoints[s],l.getTransform(v,this.group));if(this._orient==="horizontal"){var y=c==="left"||c==="top"?(u[0]-d)/2:(u[0]-d)/-2;g[1]+=y}o[s].setStyle({x:g[0],y:g[1],text:r.formatValueText(this._dataInterval[s]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",i.mainGroup):"center"})},this)}},a.prototype._showIndicator=function(t,e,i,r){var n=this.visualMapModel,o=n.getExtent(),u=n.itemSize,h=[0,u[1]],c=this._shapes,s=c.indicator;if(s){s.attr("invisible",!1);var v={convertOpacityToAlpha:!0},f=this.getControllerVisual(t,"color",v),d=this.getControllerVisual(t,"symbolSize"),g=b(t,o,h,!0),y=u[0]-d/2,m={x:s.x,y:s.y};s.y=g,s.x=y;var _=l.applyTransform$1(c.indicatorLabelPoint,l.getTransform(s,this.group)),M=c.indicatorLabel;M.attr("invisible",!1);var V=this._applyTransform("left",c.mainGroup),I=this._orient,x=I==="horizontal";M.setStyle({text:(i||"")+n.formatValueText(e),verticalAlign:x?V:"middle",align:x?"center":V});var k={x:y,y:g,style:{fill:f}},A={style:{x:_[0],y:_[1]}};if(n.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var P={duration:100,easing:"cubicInOut",additive:!0};s.x=m.x,s.y=m.y,s.animateTo(k,P),M.animateTo(A,P)}else s.attr(k),M.attr(A);this._firstShowIndicator=!1;var O=this._shapes.handleLabels;if(O)for(var z=0;z<O.length;z++)this.api.enterBlur(O[z])}},a.prototype._enableHoverLinkToSeries=function(){var t=this;this._shapes.mainGroup.on("mousemove",function(e){if(t._hovering=!0,!t._dragging){var i=t.visualMapModel.itemSize,r=t._applyTransform([e.offsetX,e.offsetY],t._shapes.mainGroup,!0,!0);r[1]=Z(C(0,r[1]),i[1]),t._doHoverLinkToSeries(r[1],0<=r[0]&&r[0]<=i[0])}}).on("mouseout",function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()})},a.prototype._enableHoverLinkFromSeries=function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},a.prototype._doHoverLinkToSeries=function(t,e){var i=this.visualMapModel,r=i.itemSize;if(i.option.hoverLink){var n=[0,r[1]],o=i.getExtent();t=Z(C(n[0],t),n[1]);var u=Mt(i,o,n),h=[t-u,t+u],c=b(t,n,o,!0),s=[b(h[0],n,o,!0),b(h[1],n,o,!0)];h[0]<n[0]&&(s[0]=-1/0),h[1]>n[1]&&(s[1]=1/0),e&&(s[0]===-1/0?this._showIndicator(c,s[1],"< ",u):s[1]===1/0?this._showIndicator(c,s[0],"> ",u):this._showIndicator(c,c,"≈ ",u));var v=this._hoverLinkDataIndices,f=[];(e||X(i))&&(f=this._hoverLinkDataIndices=i.findTargetDataIndices(s));var d=l.compressBatches(v,f);this._dispatchHighDown("downplay",T(d[0],i)),this._dispatchHighDown("highlight",T(d[1],i))}},a.prototype._hoverLinkFromSeriesMouseOver=function(t){var e;if(l.findEventDispatcher(t.target,function(u){var h=l.getECData(u);if(h.dataIndex!=null)return e=h,!0},!0),!!e){var i=this.ecModel.getSeriesByIndex(e.seriesIndex),r=this.visualMapModel;if(r.isTargetSeries(i)){var n=i.getData(e.dataType),o=n.getStore().get(r.getDataDimensionIndex(n),e.dataIndex);isNaN(o)||this._showIndicator(o,o)}}},a.prototype._hideIndicator=function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0);var e=this._shapes.handleLabels;if(e)for(var i=0;i<e.length;i++)this.api.leaveBlur(e[i])},a.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",T(t,this.visualMapModel)),t.length=0},a.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},a.prototype._applyTransform=function(t,e,i,r){var n=l.getTransform(e,r?null:this.group);return l.isArray(t)?l.applyTransform$1(t,n,i):l.transformDirection(t,n,i)},a.prototype._dispatchHighDown=function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},a.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},a.type="visualMap.continuous",a})(it);function U(p,a,t,e){return new l.Polygon({shape:{points:p},draggable:!!t,cursor:a,drift:t,onmousemove:function(i){l.stop(i.event)},ondragend:e})}function Mt(p,a,t){var e=gt/2,i=p.get("hoverLinkDataSize");return i&&(e=b(i,a,t,!0)/2),e}function X(p){var a=p.get("hoverLinkOnHandle");return!!(a==null?p.get("realtime"):a)}function Y(p){return p==="vertical"?"ns-resize":"ew-resize"}var _t={type:"selectDataRange",event:"dataRangeSelected",update:"update"},St=function(p,a){a.eachComponent({mainType:"visualMap",query:p},function(t){t.setSelected(p.selected)})},xt=[{createOnAllSeries:!0,reset:function(p,a){var t=[];return a.eachComponent("visualMap",function(e){var i=p.pipelineContext;!e.isTargetSeries(p)||i&&i.large||t.push(lt(e.stateList,e.targetVisuals,l.bind(e.getValueState,e),e.getDataDimensionIndex(p.getData())))}),t}},{createOnAllSeries:!0,reset:function(p,a){var t=p.getData(),e=[];a.eachComponent("visualMap",function(i){if(i.isTargetSeries(p)){var r=i.getVisualMeta(l.bind(bt,null,p,i))||{stops:[],outerColors:[]},n=i.getDataDimensionIndex(t);n>=0&&(r.dimension=n,e.push(r))}}),p.getData().setVisual("visualMeta",e)}}];function bt(p,a,t,e){for(var i=a.targetVisuals[e],r=S.VisualMapping.prepareVisualTypes(i),n={color:l.getVisualFromData(p.getData(),"color")},o=0,u=r.length;o<u;o++){var h=r[o],c=i[h==="opacity"?"__alphaForOpacity":h];c&&c.applyVisual(t,s,v)}return n.color;function s(f){return n[f]}function v(f,d){n[f]=d}}var q=l.each;function Vt(p){var a=p&&p.visualMap;l.isArray(a)||(a=a?[a]:[]),q(a,function(t){if(t){L(t,"splitList")&&!L(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&l.isArray(e)&&q(e,function(i){l.isObject(i)&&(L(i,"start")&&!L(i,"min")&&(i.min=i.start),L(i,"end")&&!L(i,"max")&&(i.max=i.end))})}})}function L(p,a){return p&&p.hasOwnProperty&&p.hasOwnProperty(a)}var J=!1;function rt(p){J||(J=!0,p.registerSubTypeDefaulter("visualMap",function(a){return!a.categories&&(!(a.pieces?a.pieces.length>0:a.splitNumber>0)||a.calculable)?"continuous":"piecewise"}),p.registerAction(_t,St),l.each(xt,function(a){p.registerVisual(p.PRIORITY.VISUAL.COMPONENT,a)}),p.registerPreprocessor(Vt))}function nt(p){p.registerComponentModel(ft),p.registerComponentView(mt),rt(p)}var It=(function(p){l.__extends(a,p);function a(){var t=p!==null&&p.apply(this,arguments)||this;return t.type=a.type,t._pieceList=[],t}return a.prototype.optionUpdated=function(t,e){p.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],wt[this._mode].call(this,this._pieceList),this._resetSelected(t,e);var r=this.option.categories;this.resetVisual(function(n,o){i==="categories"?(n.mappingMethod="category",n.categories=l.clone(r)):(n.dataExtent=this.getExtent(),n.mappingMethod="piecewise",n.pieceList=l.map(this._pieceList,function(u){return u=l.clone(u),o!=="inRange"&&(u.visual=null),u}))})},a.prototype.completeVisualOption=function(){var t=this.option,e={},i=S.VisualMapping.listVisualTypes(),r=this.isCategory();l.each(t.pieces,function(o){l.each(i,function(u){o.hasOwnProperty(u)&&(e[u]=1)})}),l.each(e,function(o,u){var h=!1;l.each(this.stateList,function(c){h=h||n(t,c,u)||n(t.target,c,u)},this),!h&&l.each(this.stateList,function(c){(t[c]||(t[c]={}))[u]=et.get(u,c==="inRange"?"active":"inactive",r)})},this);function n(o,u,h){return o&&o[u]&&o[u].hasOwnProperty(h)}p.prototype.completeVisualOption.apply(this,arguments)},a.prototype._resetSelected=function(t,e){var i=this.option,r=this._pieceList,n=(e?i:t).selected||{};if(i.selected=n,l.each(r,function(u,h){var c=this.getSelectedMapKey(u);n.hasOwnProperty(c)||(n[c]=!0)},this),i.selectedMode==="single"){var o=!1;l.each(r,function(u,h){var c=this.getSelectedMapKey(u);n[c]&&(o?n[c]=!1:o=!0)},this)}},a.prototype.getItemSymbol=function(){return this.get("itemSymbol")},a.prototype.getSelectedMapKey=function(t){return this._mode==="categories"?t.value+"":t.index+""},a.prototype.getPieceList=function(){return this._pieceList},a.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},a.prototype.setSelected=function(t){this.option.selected=l.clone(t)},a.prototype.getValueState=function(t){var e=S.VisualMapping.findPieceIndex(t,this._pieceList);return e!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},a.prototype.findTargetDataIndices=function(t){var e=[],i=this._pieceList;return this.eachTargetSeries(function(r){var n=[],o=r.getData();o.each(this.getDataDimensionIndex(o),function(u,h){var c=S.VisualMapping.findPieceIndex(u,i);c===t&&n.push(h)},this),e.push({seriesId:r.id,dataIndex:n})},this),e},a.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(t.value!=null)e=t.value;else{var i=t.interval||[];e=i[0]===-1/0&&i[1]===1/0?0:(i[0]+i[1])/2}return e},a.prototype.getVisualMeta=function(t){if(this.isCategory())return;var e=[],i=["",""],r=this;function n(c,s){var v=r.getRepresentValue({interval:c});s||(s=r.getValueState(v));var f=t(v,s);c[0]===-1/0?i[0]=f:c[1]===1/0?i[1]=f:e.push({value:c[0],color:f},{value:c[1],color:f})}var o=this._pieceList.slice();if(!o.length)o.push({interval:[-1/0,1/0]});else{var u=o[0].interval[0];u!==-1/0&&o.unshift({interval:[-1/0,u]}),u=o[o.length-1].interval[1],u!==1/0&&o.push({interval:[u,1/0]})}var h=-1/0;return l.each(o,function(c){var s=c.interval;s&&(s[0]>h&&n([h,s[0]],"outOfRange"),n(s.slice()),h=s[1])},this),{stops:e,outerColors:i}},a.type="visualMap.piecewise",a.defaultOption=l.inheritDefaultOption(R.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),a})(R),wt={splitNumber:function(p){var a=this.option,t=Math.min(a.precision,20),e=this.getExtent(),i=a.splitNumber;i=Math.max(parseInt(i,10),1),a.splitNumber=i;for(var r=(e[1]-e[0])/i;+r.toFixed(t)!==r&&t<5;)t++;a.precision=t,r=+r.toFixed(t),a.minOpen&&p.push({interval:[-1/0,e[0]],close:[0,0]});for(var n=0,o=e[0];n<i;o+=r,n++){var u=n===i-1?e[1]:o+r;p.push({interval:[o,u],close:[1,1]})}a.maxOpen&&p.push({interval:[e[1],1/0],close:[0,0]}),l.reformIntervals(p),l.each(p,function(h,c){h.index=c,h.text=this.formatValueText(h.interval)},this)},categories:function(p){var a=this.option;l.each(a.categories,function(t){p.push({text:this.formatValueText(t,!0),value:t})},this),Q(a,p)},pieces:function(p){var a=this.option;l.each(a.pieces,function(t,e){l.isObject(t)||(t={value:t});var i={text:"",index:e};if(t.label!=null&&(i.text=t.label),t.hasOwnProperty("value")){var r=i.value=t.value;i.interval=[r,r],i.close=[1,1]}else{for(var n=i.interval=[],o=i.close=[0,0],u=[1,0,1],h=[-1/0,1/0],c=[],s=0;s<2;s++){for(var v=[["gte","gt","min"],["lte","lt","max"]][s],f=0;f<3&&n[s]==null;f++)n[s]=t[v[f]],o[s]=u[f],c[s]=f===2;n[s]==null&&(n[s]=h[s])}c[0]&&n[1]===1/0&&(o[0]=0),c[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])}i.visual=S.VisualMapping.retrieveVisuals(t),p.push(i)},this),Q(a,p),l.reformIntervals(p),l.each(p,function(t){var e=t.close,i=[["<","≤"][e[1]],[">","≥"][e[0]]];t.text=t.text||this.formatValueText(t.value!=null?t.value:t.interval,!1,i)},this)}};function Q(p,a){var t=p.inverse;(p.orient==="vertical"?!t:t)&&a.reverse()}var Lt=(function(p){l.__extends(a,p);function a(){var t=p!==null&&p.apply(this,arguments)||this;return t.type=a.type,t}return a.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,i=e.get("textGap"),r=e.textStyleModel,n=r.getFont(),o=r.getTextColor(),u=this._getItemAlign(),h=e.itemSize,c=this._getViewData(),s=c.endsText,v=l.retrieve(e.get("showLabel",!0),!s),f=!e.get("selectedMode");s&&this._renderEndsText(t,s[0],h,v,u),l.each(c.viewPieceList,function(d){var g=d.piece,y=new l.Group;y.onclick=l.bind(this._onItemClick,this,g),this._enableHoverLink(y,d.indexInModelPieceList);var m=e.getRepresentValue(g);if(this._createItemSymbol(y,m,[0,0,h[0],h[1]],f),v){var _=this.visualMapModel.getValueState(m);y.add(new l.ZRText({style:{x:u==="right"?-i:h[0]+i,y:h[1]/2,text:g.text,verticalAlign:"middle",align:u,font:n,fill:o,opacity:_==="outOfRange"?.5:1},silent:f}))}t.add(y)},this),s&&this._renderEndsText(t,s[1],h,v,u),l.box(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},a.prototype._enableHoverLink=function(t,e){var i=this;t.on("mouseover",function(){return r("highlight")}).on("mouseout",function(){return r("downplay")});var r=function(n){var o=i.visualMapModel;o.option.hoverLink&&i.api.dispatchAction({type:n,batch:T(o.findTargetDataIndices(e),o)})}},a.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if(e.orient==="vertical")return at(t,this.api,t.itemSize);var i=e.align;return(!i||i==="auto")&&(i="left"),i},a.prototype._renderEndsText=function(t,e,i,r,n){if(e){var o=new l.Group,u=this.visualMapModel.textStyleModel;o.add(new l.ZRText({style:l.createTextStyle(u,{x:r?n==="right"?i[0]:0:i[0]/2,y:i[1]/2,verticalAlign:"middle",align:r?n:"center",text:e})})),t.add(o)}},a.prototype._getViewData=function(){var t=this.visualMapModel,e=l.map(t.getPieceList(),function(o,u){return{piece:o,indexInModelPieceList:u}}),i=t.get("text"),r=t.get("orient"),n=t.get("inverse");return(r==="horizontal"?n:!n)?e.reverse():i&&(i=i.slice().reverse()),{viewPieceList:e,endsText:i}},a.prototype._createItemSymbol=function(t,e,i,r){var n=l.createSymbol(this.getControllerVisual(e,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(e,"color"));n.silent=r,t.add(n)},a.prototype._onItemClick=function(t){var e=this.visualMapModel,i=e.option,r=i.selectedMode;if(r){var n=l.clone(i.selected),o=e.getSelectedMapKey(t);r==="single"||r===!0?(n[o]=!0,l.each(n,function(u,h){n[h]=h===o})):n[o]=!n[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:n})}},a.type="visualMap.piecewise",a})(it);function ot(p){p.registerComponentModel(It),p.registerComponentView(Lt),rt(p)}function Tt(p){E.use(nt),E.use(ot)}exports.applyVisual=st;exports.createVisualMappings=H;exports.install=Tt;exports.install$1=nt;exports.install$2=ot;exports.replaceVisualOption=tt;exports.sliderMove=j;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const d=require("./echarts-BB8O2KSA.cjs"),vt=require("./createSeriesData-Cz83cqoZ.cjs"),Q=require("./points-DcRmizmA.cjs"),J=require("./installCanvasRenderer-CyhM1Qpl.cjs"),X=require("./dataSample-D4ycwmll.cjs"),ht=require("./CoordinateSystem-DWnjjFwb.cjs"),x=require("./labelHelper-npJGYQ1j.cjs");var ft=(function(o){d.__extends(e,o);function e(){var t=o!==null&&o.apply(this,arguments)||this;return t.type=e.type,t.hasSymbolVisual=!0,t}return e.prototype.getInitialData=function(t){if(process.env.NODE_ENV!=="production"){var a=t.coordinateSystem;if(a!=="polar"&&a!=="cartesian2d")throw new Error("Line not support coordinateSystem besides cartesian and polar")}return vt.createSeriesData(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var a=new d.Group,l=d.createSymbol("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);a.add(l),l.setStyle(t.lineStyle);var n=this.getData().getVisual("symbol"),r=this.getData().getVisual("symbolRotate"),s=n==="none"?"circle":n,u=t.itemHeight*.8,i=d.createSymbol(s,(t.itemWidth-u)/2,(t.itemHeight-u)/2,u,u,t.itemStyle.fill);a.add(i),i.setStyle(t.itemStyle);var v=t.iconRotate==="inherit"?r:t.iconRotate||0;return i.rotation=v*Math.PI/180,i.setOrigin([t.itemWidth/2,t.itemHeight/2]),s.indexOf("empty")>-1&&(i.style.stroke=i.style.fill,i.style.fill="#fff",i.style.lineWidth=2),a},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e})(d.SeriesModel);function it(o,e,t){var a=o.getBaseAxis(),l=o.getOtherAxis(a),n=ct(l,t),r=a.dim,s=l.dim,u=e.mapDimension(s),i=e.mapDimension(r),v=s==="x"||s==="radius"?1:0,h=d.map(o.dimensions,function(g){return e.mapDimension(g)}),p=!1,f=e.getCalculationInfo("stackResultDimension");return J.isDimensionStacked(e,h[0])&&(p=!0,h[0]=f),J.isDimensionStacked(e,h[1])&&(p=!0,h[1]=f),{dataDimsForPoint:h,valueStart:n,valueAxisDim:s,baseAxisDim:r,stacked:!!p,valueDim:u,baseDim:i,baseDataOffset:v,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function ct(o,e){var t=0,a=o.scale.getExtent();return e==="start"?t=a[0]:e==="end"?t=a[1]:d.isNumber(e)&&!isNaN(e)?t=e:a[0]>0?t=a[0]:a[1]<0&&(t=a[1]),t}function ot(o,e,t,a){var l=NaN;o.stacked&&(l=t.get(t.getCalculationInfo("stackedOverDimension"),a)),isNaN(l)&&(l=o.valueStart);var n=o.baseDataOffset,r=[];return r[n]=t.get(o.baseDim,a),r[1-n]=l,e.dataToPoint(r)}function pt(o,e){var t=[];return e.diff(o).add(function(a){t.push({cmd:"+",idx:a})}).update(function(a,l){t.push({cmd:"=",idx:l,idx1:a})}).remove(function(a){t.push({cmd:"-",idx:a})}).execute(),t}function gt(o,e,t,a,l,n,r,s){for(var u=pt(o,e),i=[],v=[],h=[],p=[],f=[],g=[],c=[],P=it(l,e,r),y=o.getLayout("points")||[],m=e.getLayout("points")||[],b=0;b<u.length;b++){var k=u[b],D=!0,_=void 0,S=void 0;switch(k.cmd){case"=":_=k.idx*2,S=k.idx1*2;var N=y[_],E=y[_+1],w=m[S],A=m[S+1];(isNaN(N)||isNaN(E))&&(N=w,E=A),i.push(N,E),v.push(w,A),h.push(t[_],t[_+1]),p.push(a[S],a[S+1]),c.push(e.getRawIndex(k.idx1));break;case"+":var L=k.idx,C=P.dataDimsForPoint,H=l.dataToPoint([e.get(C[0],L),e.get(C[1],L)]);S=L*2,i.push(H[0],H[1]),v.push(m[S],m[S+1]);var V=ot(P,l,e,L);h.push(V[0],V[1]),p.push(a[S],a[S+1]),c.push(e.getRawIndex(L));break;case"-":D=!1}D&&(f.push(k),g.push(g.length))}g.sort(function(F,$){return c[F]-c[$]});for(var O=i.length,q=J.createFloat32Array(O),T=J.createFloat32Array(O),I=J.createFloat32Array(O),M=J.createFloat32Array(O),z=[],b=0;b<g.length;b++){var j=g[b],G=b*2,R=j*2;q[G]=i[R],q[G+1]=i[R+1],T[G]=v[R],T[G+1]=v[R+1],I[G]=h[R],I[G+1]=h[R+1],M[G]=p[R],M[G+1]=p[R+1],z[b]=f[j]}return{current:q,next:T,stackedOnCurrent:I,stackedOnNext:M,status:z}}var W=Math.min,B=Math.max;function Z(o,e){return isNaN(o)||isNaN(e)}function Y(o,e,t,a,l,n,r,s,u){for(var i,v,h,p,f,g,c=t,P=0;P<a;P++){var y=e[c*2],m=e[c*2+1];if(c>=l||c<0)break;if(Z(y,m)){if(u){c+=n;continue}break}if(c===t)o[n>0?"moveTo":"lineTo"](y,m),h=y,p=m;else{var b=y-i,k=m-v;if(b*b+k*k<.5){c+=n;continue}if(r>0){for(var D=c+n,_=e[D*2],S=e[D*2+1];_===y&&S===m&&P<a;)P++,D+=n,c+=n,_=e[D*2],S=e[D*2+1],y=e[c*2],m=e[c*2+1],b=y-i,k=m-v;var N=P+1;if(u)for(;Z(_,S)&&N<a;)N++,D+=n,_=e[D*2],S=e[D*2+1];var E=.5,w=0,A=0,L=void 0,C=void 0;if(N>=a||Z(_,S))f=y,g=m;else{w=_-i,A=S-v;var H=y-i,V=_-y,O=m-v,q=S-m,T=void 0,I=void 0;if(s==="x"){T=Math.abs(H),I=Math.abs(V);var M=w>0?1:-1;f=y-M*T*r,g=m,L=y+M*I*r,C=m}else if(s==="y"){T=Math.abs(O),I=Math.abs(q);var z=A>0?1:-1;f=y,g=m-z*T*r,L=y,C=m+z*I*r}else T=Math.sqrt(H*H+O*O),I=Math.sqrt(V*V+q*q),E=I/(I+T),f=y-w*r*(1-E),g=m-A*r*(1-E),L=y+w*r*E,C=m+A*r*E,L=W(L,B(_,y)),C=W(C,B(S,m)),L=B(L,W(_,y)),C=B(C,W(S,m)),w=L-y,A=C-m,f=y-w*T/I,g=m-A*T/I,f=W(f,B(i,y)),g=W(g,B(v,m)),f=B(f,W(i,y)),g=B(g,W(v,m)),w=y-f,A=m-g,L=y+w*I/T,C=m+A*I/T}o.bezierCurveTo(h,p,f,g,y,m),h=L,p=C}else o.lineTo(y,m)}i=y,v=m,c+=n}return P}var lt=(function(){function o(){this.smooth=0,this.smoothConstraint=!0}return o})(),mt=(function(o){d.__extends(e,o);function e(t){var a=o.call(this,t)||this;return a.type="ec-polyline",a}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new lt},e.prototype.buildPath=function(t,a){var l=a.points,n=0,r=l.length/2;if(a.connectNulls){for(;r>0&&Z(l[r*2-2],l[r*2-1]);r--);for(;n<r&&Z(l[n*2],l[n*2+1]);n++);}for(;n<r;)n+=Y(t,l,n,r,r,1,a.smooth,a.smoothMonotone,a.connectNulls)+1},e.prototype.getPointOn=function(t,a){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var l=this.path,n=l.data,r=d.PathProxy.CMD,s,u,i=a==="x",v=[],h=0;h<n.length;){var p=n[h++],f=void 0,g=void 0,c=void 0,P=void 0,y=void 0,m=void 0,b=void 0;switch(p){case r.M:s=n[h++],u=n[h++];break;case r.L:if(f=n[h++],g=n[h++],b=i?(t-s)/(f-s):(t-u)/(g-u),b<=1&&b>=0){var k=i?(g-u)*b+u:(f-s)*b+s;return i?[t,k]:[k,t]}s=f,u=g;break;case r.C:f=n[h++],g=n[h++],c=n[h++],P=n[h++],y=n[h++],m=n[h++];var D=i?d.cubicRootAt(s,f,c,y,t,v):d.cubicRootAt(u,g,P,m,t,v);if(D>0)for(var _=0;_<D;_++){var S=v[_];if(S<=1&&S>=0){var k=i?d.cubicAt(u,g,P,m,S):d.cubicAt(s,f,c,y,S);return i?[t,k]:[k,t]}}s=y,u=m;break}}},e})(d.Path),yt=(function(o){d.__extends(e,o);function e(){return o!==null&&o.apply(this,arguments)||this}return e})(lt),st=(function(o){d.__extends(e,o);function e(t){var a=o.call(this,t)||this;return a.type="ec-polygon",a}return e.prototype.getDefaultShape=function(){return new yt},e.prototype.buildPath=function(t,a){var l=a.points,n=a.stackedOnPoints,r=0,s=l.length/2,u=a.smoothMonotone;if(a.connectNulls){for(;s>0&&Z(l[s*2-2],l[s*2-1]);s--);for(;r<s&&Z(l[r*2],l[r*2+1]);r++);}for(;r<s;){var i=Y(t,l,r,s,s,1,a.smooth,u,a.connectNulls);Y(t,n,r+i-1,i,s,-1,a.stackedOnSmooth,u,a.connectNulls),r+=i+1,t.closePath()}},e})(d.Path);function tt(o,e){if(o.length===e.length){for(var t=0;t<o.length;t++)if(o[t]!==e[t])return;return!0}}function et(o){for(var e=1/0,t=1/0,a=-1/0,l=-1/0,n=0;n<o.length;){var r=o[n++],s=o[n++];isNaN(r)||(e=Math.min(r,e),a=Math.max(r,a)),isNaN(s)||(t=Math.min(s,t),l=Math.max(s,l))}return[[e,t],[a,l]]}function at(o,e){var t=et(o),a=t[0],l=t[1],n=et(e),r=n[0],s=n[1];return Math.max(Math.abs(a[0]-r[0]),Math.abs(a[1]-r[1]),Math.abs(l[0]-s[0]),Math.abs(l[1]-s[1]))}function rt(o){return d.isNumber(o)?o:o?.5:0}function dt(o,e,t){if(!t.valueDim)return[];for(var a=e.count(),l=J.createFloat32Array(a*2),n=0;n<a;n++){var r=ot(t,o,e,n);l[n*2]=r[0],l[n*2+1]=r[1]}return l}function U(o,e,t,a,l){var n=t.getBaseAxis(),r=n.dim==="x"||n.dim==="radius"?0:1,s=[],u=0,i=[],v=[],h=[],p=[];if(l){for(u=0;u<o.length;u+=2){var f=e||o;!isNaN(f[u])&&!isNaN(f[u+1])&&p.push(o[u],o[u+1])}o=p}for(u=0;u<o.length-2;u+=2)switch(h[0]=o[u+2],h[1]=o[u+3],v[0]=o[u],v[1]=o[u+1],s.push(v[0],v[1]),a){case"end":i[r]=h[r],i[1-r]=v[1-r],s.push(i[0],i[1]);break;case"middle":var g=(v[r]+h[r])/2,c=[];i[r]=c[r]=g,i[1-r]=v[1-r],c[1-r]=h[1-r],s.push(i[0],i[1]),s.push(c[0],c[1]);break;default:i[r]=v[r],i[1-r]=h[1-r],s.push(i[0],i[1])}return s.push(o[u++],o[u++]),s}function bt(o,e){var t=[],a=o.length,l,n;function r(v,h,p){var f=v.coord,g=(p-f)/(h.coord-f),c=d.lerp(g,[v.color,h.color]);return{coord:p,color:c}}for(var s=0;s<a;s++){var u=o[s],i=u.coord;if(i<0)l=u;else if(i>e){n?t.push(r(n,u,e)):l&&t.push(r(l,u,0),r(l,u,e));break}else l&&(t.push(r(l,u,0)),l=null),t.push(u),n=u}return t}function St(o,e,t){var a=o.getVisual("visualMeta");if(!(!a||!a.length||!o.count())){if(e.type!=="cartesian2d"){process.env.NODE_ENV!=="production"&&console.warn("Visual map on line style is only supported on cartesian2d.");return}for(var l,n,r=a.length-1;r>=0;r--){var s=o.getDimensionInfo(a[r].dimension);if(l=s&&s.coordDim,l==="x"||l==="y"){n=a[r];break}}if(!n){process.env.NODE_ENV!=="production"&&console.warn("Visual map on line style only support x or y dimension.");return}var u=e.getAxis(l),i=d.map(n.stops,function(b){return{coord:u.toGlobalCoord(u.dataToCoord(b.value)),color:b.color}}),v=i.length,h=n.outerColors.slice();v&&i[0].coord>i[v-1].coord&&(i.reverse(),h.reverse());var p=bt(i,l==="x"?t.getWidth():t.getHeight()),f=p.length;if(!f&&v)return i[0].coord<0?h[1]?h[1]:i[v-1].color:h[0]?h[0]:i[0].color;var g=10,c=p[0].coord-g,P=p[f-1].coord+g,y=P-c;if(y<.001)return"transparent";d.each(p,function(b){b.offset=(b.coord-c)/y}),p.push({offset:f?p[f-1].offset:.5,color:h[1]||"transparent"}),p.unshift({offset:f?p[0].offset:.5,color:h[0]||"transparent"});var m=new d.LinearGradient(0,0,0,0,p,!0);return m[l]=c,m[l+"2"]=P,m}}function _t(o,e,t){var a=o.get("showAllSymbol"),l=a==="auto";if(!(a&&!l)){var n=t.getAxesByScale("ordinal")[0];if(n&&!(l&&Dt(n,e))){var r=e.mapDimension(n.dim),s={};return d.each(n.getViewLabels(),function(u){var i=n.scale.getRawOrdinalNumber(u.tickValue);s[i]=1}),function(u){return!s.hasOwnProperty(e.get(r,u))}}}}function Dt(o,e){var t=o.getExtent(),a=Math.abs(t[1]-t[0])/o.scale.count();isNaN(a)&&(a=0);for(var l=e.count(),n=Math.max(1,Math.round(l/5)),r=0;r<l;r+=n)if(Q.Symbol.getSymbolSize(e,r)[o.isHorizontal()?1:0]*1.5>a)return!1;return!0}function Pt(o,e){return isNaN(o)||isNaN(e)}function kt(o){for(var e=o.length/2;e>0&&Pt(o[e*2-2],o[e*2-1]);e--);return e-1}function nt(o,e){return[o[e*2],o[e*2+1]]}function Lt(o,e,t){for(var a=o.length/2,l=t==="x"?0:1,n,r,s=0,u=-1,i=0;i<a;i++)if(r=o[i*2+l],!(isNaN(r)||isNaN(o[i*2+1-l]))){if(i===0){n=r;continue}if(n<=e&&r>=e||n>=e&&r<=e){u=i;break}s=i,n=r}return{range:[s,u],t:(e-n)/(r-n)}}function ut(o){if(o.get(["endLabel","show"]))return!0;for(var e=0;e<d.SPECIAL_STATES.length;e++)if(o.get([d.SPECIAL_STATES[e],"endLabel","show"]))return!0;return!1}function K(o,e,t,a){if(ht.isCoordinateSystemType(e,"cartesian2d")){var l=a.getModel("endLabel"),n=l.get("valueAnimation"),r=a.getData(),s={lastFrameIndex:0},u=ut(a)?function(f,g){o._endLabelOnDuring(f,g,r,s,n,l,e)}:null,i=e.getBaseAxis().isHorizontal(),v=X.createGridClipPath(e,t,a,function(){var f=o._endLabel;f&&t&&s.originalX!=null&&f.attr({x:s.originalX,y:s.originalY})},u);if(!a.get("clip",!0)){var h=v.shape,p=Math.max(h.width,h.height);i?(h.y-=p,h.height+=p*2):(h.x-=p,h.width+=p*2)}return u&&u(1,v),v}else return process.env.NODE_ENV!=="production"&&a.get(["endLabel","show"])&&console.warn("endLabel is not supported for lines in polar systems."),X.createPolarClipPath(e,t,a)}function wt(o,e){var t=e.getBaseAxis(),a=t.isHorizontal(),l=t.inverse,n=a?l?"right":"left":"center",r=a?"middle":l?"top":"bottom";return{normal:{align:o.get("align")||n,verticalAlign:o.get("verticalAlign")||r}}}var At=(function(o){d.__extends(e,o);function e(){return o!==null&&o.apply(this,arguments)||this}return e.prototype.init=function(){var t=new d.Group,a=new Q.SymbolDraw;this.group.add(a.group),this._symbolDraw=a,this._lineGroup=t,this._changePolyState=d.bind(this._changePolyState,this)},e.prototype.render=function(t,a,l){var n=t.coordinateSystem,r=this.group,s=t.getData(),u=t.getModel("lineStyle"),i=t.getModel("areaStyle"),v=s.getLayout("points")||[],h=n.type==="polar",p=this._coordSys,f=this._symbolDraw,g=this._polyline,c=this._polygon,P=this._lineGroup,y=!a.ssr&&t.get("animation"),m=!i.isEmpty(),b=i.get("origin"),k=it(n,s,b),D=m&&dt(n,s,k),_=t.get("showSymbol"),S=t.get("connectNulls"),N=_&&!h&&_t(t,s,n),E=this._data;E&&E.eachItemGraphicEl(function(F,$){F.__temp&&(r.remove(F),E.setItemGraphicEl($,null))}),_||f.remove(),r.add(P);var w=h?!1:t.get("step"),A;n&&n.getArea&&t.get("clip",!0)&&(A=n.getArea(),A.width!=null?(A.x-=.1,A.y-=.1,A.width+=.2,A.height+=.2):A.r0&&(A.r0-=.5,A.r+=.5)),this._clipShapeForSymbol=A;var L=St(s,n,l)||s.getVisual("style")[s.getVisual("drawType")];if(!(g&&p.type===n.type&&w===this._step))_&&f.updateData(s,{isIgnore:N,clipShape:A,disableAnimation:!0,getSymbolPoint:function(F){return[v[F*2],v[F*2+1]]}}),y&&this._initSymbolLabelAnimation(s,n,A),w&&(D&&(D=U(D,v,n,w,S)),v=U(v,null,n,w,S)),g=this._newPolyline(v),m?c=this._newPolygon(v,D):c&&(P.remove(c),c=this._polygon=null),h||this._initOrUpdateEndLabel(t,n,d.convertToColorString(L)),P.setClipPath(K(this,n,!0,t));else{m&&!c?c=this._newPolygon(v,D):c&&!m&&(P.remove(c),c=this._polygon=null),h||this._initOrUpdateEndLabel(t,n,d.convertToColorString(L));var C=P.getClipPath();if(C){var H=K(this,n,!1,t);d.initProps(C,{shape:H.shape},t)}else P.setClipPath(K(this,n,!0,t));_&&f.updateData(s,{isIgnore:N,clipShape:A,disableAnimation:!0,getSymbolPoint:function(F){return[v[F*2],v[F*2+1]]}}),(!tt(this._stackedOnPoints,D)||!tt(this._points,v))&&(y?this._doUpdateAnimation(s,D,n,l,w,b,S):(w&&(D&&(D=U(D,v,n,w,S)),v=U(v,null,n,w,S)),g.setShape({points:v}),c&&c.setShape({points:v,stackedOnPoints:D})))}var V=t.getModel("emphasis"),O=V.get("focus"),q=V.get("blurScope"),T=V.get("disabled");if(g.useStyle(d.defaults(u.getLineStyle(),{fill:"none",stroke:L,lineJoin:"bevel"})),d.setStatesStylesFromModel(g,t,"lineStyle"),g.style.lineWidth>0&&t.get(["emphasis","lineStyle","width"])==="bolder"){var I=g.getState("emphasis").style;I.lineWidth=+g.style.lineWidth+1}d.getECData(g).seriesIndex=t.seriesIndex,d.toggleHoverEmphasis(g,O,q,T);var M=rt(t.get("smooth")),z=t.get("smoothMonotone");if(g.setShape({smooth:M,smoothMonotone:z,connectNulls:S}),c){var j=s.getCalculationInfo("stackedOnSeries"),G=0;c.useStyle(d.defaults(i.getAreaStyle(),{fill:L,opacity:.7,lineJoin:"bevel",decal:s.getVisual("style").decal})),j&&(G=rt(j.get("smooth"))),c.setShape({smooth:M,stackedOnSmooth:G,smoothMonotone:z,connectNulls:S}),d.setStatesStylesFromModel(c,t,"areaStyle"),d.getECData(c).seriesIndex=t.seriesIndex,d.toggleHoverEmphasis(c,O,q,T)}var R=this._changePolyState;s.eachItemGraphicEl(function(F){F&&(F.onHoverStateChange=R)}),this._polyline.onHoverStateChange=R,this._data=s,this._coordSys=n,this._stackedOnPoints=D,this._points=v,this._step=w,this._valueOrigin=b,t.get("triggerLineEvent")&&(this.packEventData(t,g),c&&this.packEventData(t,c))},e.prototype.packEventData=function(t,a){d.getECData(a).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,a,l,n){var r=t.getData(),s=d.queryDataIndex(r,n);if(this._changePolyState("emphasis"),!(s instanceof Array)&&s!=null&&s>=0){var u=r.getLayout("points"),i=r.getItemGraphicEl(s);if(!i){var v=u[s*2],h=u[s*2+1];if(isNaN(v)||isNaN(h)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(v,h))return;var p=t.get("zlevel")||0,f=t.get("z")||0;i=new Q.Symbol(r,s),i.x=v,i.y=h,i.setZ(p,f);var g=i.getSymbolPath().getTextContent();g&&(g.zlevel=p,g.z=f,g.z2=this._polyline.z2+1),i.__temp=!0,r.setItemGraphicEl(s,i),i.stopSymbolAnimation(!0),this.group.add(i)}i.highlight()}else d.ChartView.prototype.highlight.call(this,t,a,l,n)},e.prototype.downplay=function(t,a,l,n){var r=t.getData(),s=d.queryDataIndex(r,n);if(this._changePolyState("normal"),s!=null&&s>=0){var u=r.getItemGraphicEl(s);u&&(u.__temp?(r.setItemGraphicEl(s,null),this.group.remove(u)):u.downplay())}else d.ChartView.prototype.downplay.call(this,t,a,l,n)},e.prototype._changePolyState=function(t){var a=this._polygon;d.setStatesFlag(this._polyline,t),a&&d.setStatesFlag(a,t)},e.prototype._newPolyline=function(t){var a=this._polyline;return a&&this._lineGroup.remove(a),a=new mt({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(a),this._polyline=a,a},e.prototype._newPolygon=function(t,a){var l=this._polygon;return l&&this._lineGroup.remove(l),l=new st({shape:{points:t,stackedOnPoints:a},segmentIgnoreThreshold:2}),this._lineGroup.add(l),this._polygon=l,l},e.prototype._initSymbolLabelAnimation=function(t,a,l){var n,r,s=a.getBaseAxis(),u=s.inverse;a.type==="cartesian2d"?(n=s.isHorizontal(),r=!1):a.type==="polar"&&(n=s.dim==="angle",r=!0);var i=t.hostModel,v=i.get("animationDuration");d.isFunction(v)&&(v=v(null));var h=i.get("animationDelay")||0,p=d.isFunction(h)?h(null):h;t.eachItemGraphicEl(function(f,g){var c=f;if(c){var P=[f.x,f.y],y=void 0,m=void 0,b=void 0;if(l)if(r){var k=l,D=a.pointToCoord(P);n?(y=k.startAngle,m=k.endAngle,b=-D[1]/180*Math.PI):(y=k.r0,m=k.r,b=D[0])}else{var _=l;n?(y=_.x,m=_.x+_.width,b=f.x):(y=_.y+_.height,m=_.y,b=f.y)}var S=m===y?0:(b-y)/(m-y);u&&(S=1-S);var N=d.isFunction(h)?h(g):v*S+p,E=c.getSymbolPath(),w=E.getTextContent();c.attr({scaleX:0,scaleY:0}),c.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:N}),w&&w.animateFrom({style:{opacity:0}},{duration:300,delay:N}),E.disableLabelAnimation=!0}})},e.prototype._initOrUpdateEndLabel=function(t,a,l){var n=t.getModel("endLabel");if(ut(t)){var r=t.getData(),s=this._polyline,u=r.getLayout("points");if(!u){s.removeTextContent(),this._endLabel=null;return}var i=this._endLabel;i||(i=this._endLabel=new d.ZRText({z2:200}),i.ignoreClip=!0,s.setTextContent(this._endLabel),s.disableLabelAnimation=!0);var v=kt(u);v>=0&&(d.setLabelStyle(s,d.getLabelStatesModels(t,"endLabel"),{inheritColor:l,labelFetcher:t,labelDataIndex:v,defaultText:function(h,p,f){return f!=null?x.getDefaultInterpolatedLabel(r,f):x.getDefaultLabel(r,h)},enableTextSetter:!0},wt(n,a)),s.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,a,l,n,r,s,u){var i=this._endLabel,v=this._polyline;if(i){t<1&&n.originalX==null&&(n.originalX=i.x,n.originalY=i.y);var h=l.getLayout("points"),p=l.hostModel,f=p.get("connectNulls"),g=s.get("precision"),c=s.get("distance")||0,P=u.getBaseAxis(),y=P.isHorizontal(),m=P.inverse,b=a.shape,k=m?y?b.x:b.y+b.height:y?b.x+b.width:b.y,D=(y?c:0)*(m?-1:1),_=(y?0:-c)*(m?-1:1),S=y?"x":"y",N=Lt(h,k,S),E=N.range,w=E[1]-E[0],A=void 0;if(w>=1){if(w>1&&!f){var L=nt(h,E[0]);i.attr({x:L[0]+D,y:L[1]+_}),r&&(A=p.getRawValue(E[0]))}else{var L=v.getPointOn(k,S);L&&i.attr({x:L[0]+D,y:L[1]+_});var C=p.getRawValue(E[0]),H=p.getRawValue(E[1]);r&&(A=d.interpolateRawValues(l,g,C,H,N.t))}n.lastFrameIndex=E[0]}else{var V=t===1||n.lastFrameIndex>0?E[0]:0,L=nt(h,V);r&&(A=p.getRawValue(V)),i.attr({x:L[0]+D,y:L[1]+_})}if(r){var O=d.labelInner(i);typeof O.setLabelText=="function"&&O.setLabelText(A)}}},e.prototype._doUpdateAnimation=function(t,a,l,n,r,s,u){var i=this._polyline,v=this._polygon,h=t.hostModel,p=gt(this._data,t,this._stackedOnPoints,a,this._coordSys,l,this._valueOrigin),f=p.current,g=p.stackedOnCurrent,c=p.next,P=p.stackedOnNext;if(r&&(g=U(p.stackedOnCurrent,p.current,l,r,u),f=U(p.current,null,l,r,u),P=U(p.stackedOnNext,p.next,l,r,u),c=U(p.next,null,l,r,u)),at(f,c)>3e3||v&&at(g,P)>3e3){i.stopAnimation(),i.setShape({points:c}),v&&(v.stopAnimation(),v.setShape({points:c,stackedOnPoints:P}));return}i.shape.__points=p.current,i.shape.points=f;var y={shape:{points:c}};p.current!==f&&(y.shape.__points=p.next),i.stopAnimation(),d.updateProps(i,y,h),v&&(v.setShape({points:f,stackedOnPoints:g}),v.stopAnimation(),d.updateProps(v,{shape:{stackedOnPoints:P}},h),i.shape.points!==v.shape.points&&(v.shape.points=i.shape.points));for(var m=[],b=p.status,k=0;k<b.length;k++){var D=b[k].cmd;if(D==="="){var _=t.getItemGraphicEl(b[k].idx1);_&&m.push({el:_,ptIdx:k})}}i.animators&&i.animators.length&&i.animators[0].during(function(){v&&v.dirtyShape();for(var S=i.shape.__points,N=0;N<m.length;N++){var E=m[N].el,w=m[N].ptIdx*2;E.x=S[w],E.y=S[w+1],E.markRedraw()}})},e.prototype.remove=function(t){var a=this.group,l=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),l&&l.eachItemGraphicEl(function(n,r){n.__temp&&(a.remove(n),l.setItemGraphicEl(r,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},e.type="line",e})(d.ChartView);function Et(o){o.registerChartView(At),o.registerSeriesModel(ft),o.registerLayout(Q.pointsLayout("line",!0)),o.registerVisual({seriesType:"line",reset:function(e){var t=e.getData(),a=e.getModel("lineStyle").getLineStyle();a&&!a.stroke&&(a.stroke=t.getVisual("style").fill),t.setVisual("legendLineStyle",a)}}),o.registerProcessor(o.PRIORITY.PROCESSOR.STATISTIC,X.dataSample("line"))}exports.ECPolygon=st;exports.install=Et;
|