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,1168 @@
|
|
|
1
|
+
import { W as xe, X as _e, u as K } from "./installCanvasRenderer-CLT2hquJ.js";
|
|
2
|
+
import { l as E, S as X, t as ue, _ as Z, m as J, h as y, eI as Me, b9 as U, C as Se, b as we, P as Ae, cl as S, o as be, ck as Re, d5 as V, K as pe, bm as ce, U as De, E as q, O as _, bn as Ie, G as Q, J as Ee, a as Te, R as B, eJ as Ze, eK as Le, H as j, ak as ee, A as Ce, Z as Pe, c as Oe, eh as Ve, eg as ze, bp as te, B as We, j as Be, bl as ae, d3 as ke, cF as Ne, d2 as Ge } from "./echarts-BVht3HHb.js";
|
|
3
|
+
import { s as N } from "./install-B0x4IqQr.js";
|
|
4
|
+
import { R as Fe } from "./RoamController-DmBIwcAZ.js";
|
|
5
|
+
var re = ["x", "y", "radius", "angle", "single"], He = ["cartesian2d", "polar", "singleAxis"];
|
|
6
|
+
function Ye(s) {
|
|
7
|
+
var o = s.get("coordinateSystem");
|
|
8
|
+
return ue(He, o) >= 0;
|
|
9
|
+
}
|
|
10
|
+
function D(s) {
|
|
11
|
+
return process.env.NODE_ENV !== "production" && X(s), s + "Axis";
|
|
12
|
+
}
|
|
13
|
+
function Xe(s, o) {
|
|
14
|
+
var e = E(), t = [], i = E();
|
|
15
|
+
s.eachComponent({
|
|
16
|
+
mainType: "dataZoom",
|
|
17
|
+
query: o
|
|
18
|
+
}, function(d) {
|
|
19
|
+
i.get(d.uid) || n(d);
|
|
20
|
+
});
|
|
21
|
+
var r;
|
|
22
|
+
do
|
|
23
|
+
r = !1, s.eachComponent("dataZoom", a);
|
|
24
|
+
while (r);
|
|
25
|
+
function a(d) {
|
|
26
|
+
!i.get(d.uid) && l(d) && (n(d), r = !0);
|
|
27
|
+
}
|
|
28
|
+
function n(d) {
|
|
29
|
+
i.set(d.uid, !0), t.push(d), h(d);
|
|
30
|
+
}
|
|
31
|
+
function l(d) {
|
|
32
|
+
var u = !1;
|
|
33
|
+
return d.eachTargetAxis(function(v, p) {
|
|
34
|
+
var c = e.get(v);
|
|
35
|
+
c && c[p] && (u = !0);
|
|
36
|
+
}), u;
|
|
37
|
+
}
|
|
38
|
+
function h(d) {
|
|
39
|
+
d.eachTargetAxis(function(u, v) {
|
|
40
|
+
(e.get(u) || e.set(u, []))[v] = !0;
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
return t;
|
|
44
|
+
}
|
|
45
|
+
function fe(s) {
|
|
46
|
+
var o = s.ecModel, e = {
|
|
47
|
+
infoList: [],
|
|
48
|
+
infoMap: E()
|
|
49
|
+
};
|
|
50
|
+
return s.eachTargetAxis(function(t, i) {
|
|
51
|
+
var r = o.getComponent(D(t), i);
|
|
52
|
+
if (r) {
|
|
53
|
+
var a = r.getCoordSysModel();
|
|
54
|
+
if (a) {
|
|
55
|
+
var n = a.uid, l = e.infoMap.get(n);
|
|
56
|
+
l || (l = {
|
|
57
|
+
model: a,
|
|
58
|
+
axisModels: []
|
|
59
|
+
}, e.infoList.push(l), e.infoMap.set(n, l)), l.axisModels.push(r);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}), e;
|
|
63
|
+
}
|
|
64
|
+
var G = (
|
|
65
|
+
/** @class */
|
|
66
|
+
(function() {
|
|
67
|
+
function s() {
|
|
68
|
+
this.indexList = [], this.indexMap = [];
|
|
69
|
+
}
|
|
70
|
+
return s.prototype.add = function(o) {
|
|
71
|
+
this.indexMap[o] || (this.indexList.push(o), this.indexMap[o] = !0);
|
|
72
|
+
}, s;
|
|
73
|
+
})()
|
|
74
|
+
), k = (
|
|
75
|
+
/** @class */
|
|
76
|
+
(function(s) {
|
|
77
|
+
Z(o, s);
|
|
78
|
+
function o() {
|
|
79
|
+
var e = s !== null && s.apply(this, arguments) || this;
|
|
80
|
+
return e.type = o.type, e._autoThrottle = !0, e._noTarget = !0, e._rangePropMode = ["percent", "percent"], e;
|
|
81
|
+
}
|
|
82
|
+
return o.prototype.init = function(e, t, i) {
|
|
83
|
+
var r = ie(e);
|
|
84
|
+
this.settledOption = r, this.mergeDefaultAndTheme(e, i), this._doInit(r);
|
|
85
|
+
}, o.prototype.mergeOption = function(e) {
|
|
86
|
+
var t = ie(e);
|
|
87
|
+
J(this.option, e, !0), J(this.settledOption, t, !0), this._doInit(t);
|
|
88
|
+
}, o.prototype._doInit = function(e) {
|
|
89
|
+
var t = this.option;
|
|
90
|
+
this._setDefaultThrottle(e), this._updateRangeUse(e);
|
|
91
|
+
var i = this.settledOption;
|
|
92
|
+
y([["start", "startValue"], ["end", "endValue"]], function(r, a) {
|
|
93
|
+
this._rangePropMode[a] === "value" && (t[r[0]] = i[r[0]] = null);
|
|
94
|
+
}, this), this._resetTarget();
|
|
95
|
+
}, o.prototype._resetTarget = function() {
|
|
96
|
+
var e = this.get("orient", !0), t = this._targetAxisInfoMap = E(), i = this._fillSpecifiedTargetAxis(t);
|
|
97
|
+
i ? this._orient = e || this._makeAutoOrientByTargetAxis() : (this._orient = e || "horizontal", this._fillAutoTargetAxisByOrient(t, this._orient)), this._noTarget = !0, t.each(function(r) {
|
|
98
|
+
r.indexList.length && (this._noTarget = !1);
|
|
99
|
+
}, this);
|
|
100
|
+
}, o.prototype._fillSpecifiedTargetAxis = function(e) {
|
|
101
|
+
var t = !1;
|
|
102
|
+
return y(re, function(i) {
|
|
103
|
+
var r = this.getReferringComponents(D(i), Me);
|
|
104
|
+
if (r.specified) {
|
|
105
|
+
t = !0;
|
|
106
|
+
var a = new G();
|
|
107
|
+
y(r.models, function(n) {
|
|
108
|
+
a.add(n.componentIndex);
|
|
109
|
+
}), e.set(i, a);
|
|
110
|
+
}
|
|
111
|
+
}, this), t;
|
|
112
|
+
}, o.prototype._fillAutoTargetAxisByOrient = function(e, t) {
|
|
113
|
+
var i = this.ecModel, r = !0;
|
|
114
|
+
if (r) {
|
|
115
|
+
var a = t === "vertical" ? "y" : "x", n = i.findComponents({
|
|
116
|
+
mainType: a + "Axis"
|
|
117
|
+
});
|
|
118
|
+
l(n, a);
|
|
119
|
+
}
|
|
120
|
+
if (r) {
|
|
121
|
+
var n = i.findComponents({
|
|
122
|
+
mainType: "singleAxis",
|
|
123
|
+
filter: function(d) {
|
|
124
|
+
return d.get("orient", !0) === t;
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
l(n, "single");
|
|
128
|
+
}
|
|
129
|
+
function l(h, d) {
|
|
130
|
+
var u = h[0];
|
|
131
|
+
if (u) {
|
|
132
|
+
var v = new G();
|
|
133
|
+
if (v.add(u.componentIndex), e.set(d, v), r = !1, d === "x" || d === "y") {
|
|
134
|
+
var p = u.getReferringComponents("grid", U).models[0];
|
|
135
|
+
p && y(h, function(c) {
|
|
136
|
+
u.componentIndex !== c.componentIndex && p === c.getReferringComponents("grid", U).models[0] && v.add(c.componentIndex);
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
r && y(re, function(h) {
|
|
142
|
+
if (r) {
|
|
143
|
+
var d = i.findComponents({
|
|
144
|
+
mainType: D(h),
|
|
145
|
+
filter: function(v) {
|
|
146
|
+
return v.get("type", !0) === "category";
|
|
147
|
+
}
|
|
148
|
+
});
|
|
149
|
+
if (d[0]) {
|
|
150
|
+
var u = new G();
|
|
151
|
+
u.add(d[0].componentIndex), e.set(h, u), r = !1;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}, this);
|
|
155
|
+
}, o.prototype._makeAutoOrientByTargetAxis = function() {
|
|
156
|
+
var e;
|
|
157
|
+
return this.eachTargetAxis(function(t) {
|
|
158
|
+
!e && (e = t);
|
|
159
|
+
}, this), e === "y" ? "vertical" : "horizontal";
|
|
160
|
+
}, o.prototype._setDefaultThrottle = function(e) {
|
|
161
|
+
if (e.hasOwnProperty("throttle") && (this._autoThrottle = !1), this._autoThrottle) {
|
|
162
|
+
var t = this.ecModel.option;
|
|
163
|
+
this.option.throttle = t.animation && t.animationDurationUpdate > 0 ? 100 : 20;
|
|
164
|
+
}
|
|
165
|
+
}, o.prototype._updateRangeUse = function(e) {
|
|
166
|
+
var t = this._rangePropMode, i = this.get("rangeMode");
|
|
167
|
+
y([["start", "startValue"], ["end", "endValue"]], function(r, a) {
|
|
168
|
+
var n = e[r[0]] != null, l = e[r[1]] != null;
|
|
169
|
+
n && !l ? t[a] = "percent" : !n && l ? t[a] = "value" : i ? t[a] = i[a] : n && (t[a] = "percent");
|
|
170
|
+
});
|
|
171
|
+
}, o.prototype.noTarget = function() {
|
|
172
|
+
return this._noTarget;
|
|
173
|
+
}, o.prototype.getFirstTargetAxisModel = function() {
|
|
174
|
+
var e;
|
|
175
|
+
return this.eachTargetAxis(function(t, i) {
|
|
176
|
+
e == null && (e = this.ecModel.getComponent(D(t), i));
|
|
177
|
+
}, this), e;
|
|
178
|
+
}, o.prototype.eachTargetAxis = function(e, t) {
|
|
179
|
+
this._targetAxisInfoMap.each(function(i, r) {
|
|
180
|
+
y(i.indexList, function(a) {
|
|
181
|
+
e.call(t, r, a);
|
|
182
|
+
});
|
|
183
|
+
});
|
|
184
|
+
}, o.prototype.getAxisProxy = function(e, t) {
|
|
185
|
+
var i = this.getAxisModel(e, t);
|
|
186
|
+
if (i)
|
|
187
|
+
return i.__dzAxisProxy;
|
|
188
|
+
}, o.prototype.getAxisModel = function(e, t) {
|
|
189
|
+
process.env.NODE_ENV !== "production" && X(e && t != null);
|
|
190
|
+
var i = this._targetAxisInfoMap.get(e);
|
|
191
|
+
if (i && i.indexMap[t])
|
|
192
|
+
return this.ecModel.getComponent(D(e), t);
|
|
193
|
+
}, o.prototype.setRawRange = function(e) {
|
|
194
|
+
var t = this.option, i = this.settledOption;
|
|
195
|
+
y([["start", "startValue"], ["end", "endValue"]], function(r) {
|
|
196
|
+
(e[r[0]] != null || e[r[1]] != null) && (t[r[0]] = i[r[0]] = e[r[0]], t[r[1]] = i[r[1]] = e[r[1]]);
|
|
197
|
+
}, this), this._updateRangeUse(e);
|
|
198
|
+
}, o.prototype.setCalculatedRange = function(e) {
|
|
199
|
+
var t = this.option;
|
|
200
|
+
y(["start", "startValue", "end", "endValue"], function(i) {
|
|
201
|
+
t[i] = e[i];
|
|
202
|
+
});
|
|
203
|
+
}, o.prototype.getPercentRange = function() {
|
|
204
|
+
var e = this.findRepresentativeAxisProxy();
|
|
205
|
+
if (e)
|
|
206
|
+
return e.getDataPercentWindow();
|
|
207
|
+
}, o.prototype.getValueRange = function(e, t) {
|
|
208
|
+
if (e == null && t == null) {
|
|
209
|
+
var i = this.findRepresentativeAxisProxy();
|
|
210
|
+
if (i)
|
|
211
|
+
return i.getDataValueWindow();
|
|
212
|
+
} else
|
|
213
|
+
return this.getAxisProxy(e, t).getDataValueWindow();
|
|
214
|
+
}, o.prototype.findRepresentativeAxisProxy = function(e) {
|
|
215
|
+
if (e)
|
|
216
|
+
return e.__dzAxisProxy;
|
|
217
|
+
for (var t, i = this._targetAxisInfoMap.keys(), r = 0; r < i.length; r++)
|
|
218
|
+
for (var a = i[r], n = this._targetAxisInfoMap.get(a), l = 0; l < n.indexList.length; l++) {
|
|
219
|
+
var h = this.getAxisProxy(a, n.indexList[l]);
|
|
220
|
+
if (h.hostedBy(this))
|
|
221
|
+
return h;
|
|
222
|
+
t || (t = h);
|
|
223
|
+
}
|
|
224
|
+
return t;
|
|
225
|
+
}, o.prototype.getRangePropMode = function() {
|
|
226
|
+
return this._rangePropMode.slice();
|
|
227
|
+
}, o.prototype.getOrient = function() {
|
|
228
|
+
return process.env.NODE_ENV !== "production" && X(this._orient), this._orient;
|
|
229
|
+
}, o.type = "dataZoom", o.dependencies = ["xAxis", "yAxis", "radiusAxis", "angleAxis", "singleAxis", "series", "toolbox"], o.defaultOption = {
|
|
230
|
+
// zlevel: 0,
|
|
231
|
+
z: 4,
|
|
232
|
+
filterMode: "filter",
|
|
233
|
+
start: 0,
|
|
234
|
+
end: 100
|
|
235
|
+
}, o;
|
|
236
|
+
})(Se)
|
|
237
|
+
);
|
|
238
|
+
function ie(s) {
|
|
239
|
+
var o = {};
|
|
240
|
+
return y(["start", "end", "startValue", "endValue", "throttle"], function(e) {
|
|
241
|
+
s.hasOwnProperty(e) && (o[e] = s[e]);
|
|
242
|
+
}), o;
|
|
243
|
+
}
|
|
244
|
+
var ve = (
|
|
245
|
+
/** @class */
|
|
246
|
+
(function(s) {
|
|
247
|
+
Z(o, s);
|
|
248
|
+
function o() {
|
|
249
|
+
var e = s !== null && s.apply(this, arguments) || this;
|
|
250
|
+
return e.type = o.type, e;
|
|
251
|
+
}
|
|
252
|
+
return o.prototype.render = function(e, t, i, r) {
|
|
253
|
+
this.dataZoomModel = e, this.ecModel = t, this.api = i;
|
|
254
|
+
}, o.type = "dataZoom", o;
|
|
255
|
+
})(we)
|
|
256
|
+
), T = y, oe = V, Ue = (
|
|
257
|
+
/** @class */
|
|
258
|
+
(function() {
|
|
259
|
+
function s(o, e, t, i) {
|
|
260
|
+
this._dimName = o, this._axisIndex = e, this.ecModel = i, this._dataZoomModel = t;
|
|
261
|
+
}
|
|
262
|
+
return s.prototype.hostedBy = function(o) {
|
|
263
|
+
return this._dataZoomModel === o;
|
|
264
|
+
}, s.prototype.getDataValueWindow = function() {
|
|
265
|
+
return this._valueWindow.slice();
|
|
266
|
+
}, s.prototype.getDataPercentWindow = function() {
|
|
267
|
+
return this._percentWindow.slice();
|
|
268
|
+
}, s.prototype.getTargetSeriesModels = function() {
|
|
269
|
+
var o = [];
|
|
270
|
+
return this.ecModel.eachSeries(function(e) {
|
|
271
|
+
if (Ye(e)) {
|
|
272
|
+
var t = D(this._dimName), i = e.getReferringComponents(t, U).models[0];
|
|
273
|
+
i && this._axisIndex === i.componentIndex && o.push(e);
|
|
274
|
+
}
|
|
275
|
+
}, this), o;
|
|
276
|
+
}, s.prototype.getAxisModel = function() {
|
|
277
|
+
return this.ecModel.getComponent(this._dimName + "Axis", this._axisIndex);
|
|
278
|
+
}, s.prototype.getMinMaxSpan = function() {
|
|
279
|
+
return Ae(this._minMaxSpan);
|
|
280
|
+
}, s.prototype.calculateDataWindow = function(o) {
|
|
281
|
+
var e = this._dataExtent, t = this.getAxisModel(), i = t.axis.scale, r = this._dataZoomModel.getRangePropMode(), a = [0, 100], n = [], l = [], h;
|
|
282
|
+
T(["start", "end"], function(v, p) {
|
|
283
|
+
var c = o[v], f = o[v + "Value"];
|
|
284
|
+
r[p] === "percent" ? (c == null && (c = a[p]), f = i.parse(S(c, a, e))) : (h = !0, f = f == null ? e[p] : i.parse(f), c = S(f, e, a)), l[p] = f == null || isNaN(f) ? e[p] : f, n[p] = c == null || isNaN(c) ? a[p] : c;
|
|
285
|
+
}), oe(l), oe(n);
|
|
286
|
+
var d = this._minMaxSpan;
|
|
287
|
+
h ? u(l, n, e, a, !1) : u(n, l, a, e, !0);
|
|
288
|
+
function u(v, p, c, f, m) {
|
|
289
|
+
var x = m ? "Span" : "ValueSpan";
|
|
290
|
+
N(0, v, c, "all", d["min" + x], d["max" + x]);
|
|
291
|
+
for (var g = 0; g < 2; g++)
|
|
292
|
+
p[g] = S(v[g], c, f, !0), m && (p[g] = i.parse(p[g]));
|
|
293
|
+
}
|
|
294
|
+
return {
|
|
295
|
+
valueWindow: l,
|
|
296
|
+
percentWindow: n
|
|
297
|
+
};
|
|
298
|
+
}, s.prototype.reset = function(o) {
|
|
299
|
+
if (o === this._dataZoomModel) {
|
|
300
|
+
var e = this.getTargetSeriesModels();
|
|
301
|
+
this._dataExtent = $e(this, this._dimName, e), this._updateMinMaxSpan();
|
|
302
|
+
var t = this.calculateDataWindow(o.settledOption);
|
|
303
|
+
this._valueWindow = t.valueWindow, this._percentWindow = t.percentWindow, this._setAxisModel();
|
|
304
|
+
}
|
|
305
|
+
}, s.prototype.filterData = function(o, e) {
|
|
306
|
+
if (o !== this._dataZoomModel)
|
|
307
|
+
return;
|
|
308
|
+
var t = this._dimName, i = this.getTargetSeriesModels(), r = o.get("filterMode"), a = this._valueWindow;
|
|
309
|
+
if (r === "none")
|
|
310
|
+
return;
|
|
311
|
+
T(i, function(l) {
|
|
312
|
+
var h = l.getData(), d = h.mapDimensionsAll(t);
|
|
313
|
+
if (d.length) {
|
|
314
|
+
if (r === "weakFilter") {
|
|
315
|
+
var u = h.getStore(), v = be(d, function(p) {
|
|
316
|
+
return h.getDimensionIndex(p);
|
|
317
|
+
}, h);
|
|
318
|
+
h.filterSelf(function(p) {
|
|
319
|
+
for (var c, f, m, x = 0; x < d.length; x++) {
|
|
320
|
+
var g = u.get(v[x], p), R = !isNaN(g), w = g < a[0], M = g > a[1];
|
|
321
|
+
if (R && !w && !M)
|
|
322
|
+
return !0;
|
|
323
|
+
R && (m = !0), w && (c = !0), M && (f = !0);
|
|
324
|
+
}
|
|
325
|
+
return m && c && f;
|
|
326
|
+
});
|
|
327
|
+
} else
|
|
328
|
+
T(d, function(p) {
|
|
329
|
+
if (r === "empty")
|
|
330
|
+
l.setData(h = h.map(p, function(f) {
|
|
331
|
+
return n(f) ? f : NaN;
|
|
332
|
+
}));
|
|
333
|
+
else {
|
|
334
|
+
var c = {};
|
|
335
|
+
c[p] = a, h.selectRange(c);
|
|
336
|
+
}
|
|
337
|
+
});
|
|
338
|
+
T(d, function(p) {
|
|
339
|
+
h.setApproximateExtent(a, p);
|
|
340
|
+
});
|
|
341
|
+
}
|
|
342
|
+
});
|
|
343
|
+
function n(l) {
|
|
344
|
+
return l >= a[0] && l <= a[1];
|
|
345
|
+
}
|
|
346
|
+
}, s.prototype._updateMinMaxSpan = function() {
|
|
347
|
+
var o = this._minMaxSpan = {}, e = this._dataZoomModel, t = this._dataExtent;
|
|
348
|
+
T(["min", "max"], function(i) {
|
|
349
|
+
var r = e.get(i + "Span"), a = e.get(i + "ValueSpan");
|
|
350
|
+
a != null && (a = this.getAxisModel().axis.scale.parse(a)), a != null ? r = S(t[0] + a, t, [0, 100], !0) : r != null && (a = S(r, [0, 100], t, !0) - t[0]), o[i + "Span"] = r, o[i + "ValueSpan"] = a;
|
|
351
|
+
}, this);
|
|
352
|
+
}, s.prototype._setAxisModel = function() {
|
|
353
|
+
var o = this.getAxisModel(), e = this._percentWindow, t = this._valueWindow;
|
|
354
|
+
if (e) {
|
|
355
|
+
var i = Re(t, [0, 500]);
|
|
356
|
+
i = Math.min(i, 20);
|
|
357
|
+
var r = o.axis.scale.rawExtentInfo;
|
|
358
|
+
e[0] !== 0 && r.setDeterminedMinMax("min", +t[0].toFixed(i)), e[1] !== 100 && r.setDeterminedMinMax("max", +t[1].toFixed(i)), r.freeze();
|
|
359
|
+
}
|
|
360
|
+
}, s;
|
|
361
|
+
})()
|
|
362
|
+
);
|
|
363
|
+
function $e(s, o, e) {
|
|
364
|
+
var t = [1 / 0, -1 / 0];
|
|
365
|
+
T(e, function(a) {
|
|
366
|
+
xe(t, a.getData(), o);
|
|
367
|
+
});
|
|
368
|
+
var i = s.getAxisModel(), r = _e(i.axis.scale, i, t).calculate();
|
|
369
|
+
return [r.min, r.max];
|
|
370
|
+
}
|
|
371
|
+
var Ke = {
|
|
372
|
+
// `dataZoomProcessor` will only be performed in needed series. Consider if
|
|
373
|
+
// there is a line series and a pie series, it is better not to update the
|
|
374
|
+
// line series if only pie series is needed to be updated.
|
|
375
|
+
getTargetSeries: function(s) {
|
|
376
|
+
function o(i) {
|
|
377
|
+
s.eachComponent("dataZoom", function(r) {
|
|
378
|
+
r.eachTargetAxis(function(a, n) {
|
|
379
|
+
var l = s.getComponent(D(a), n);
|
|
380
|
+
i(a, n, l, r);
|
|
381
|
+
});
|
|
382
|
+
});
|
|
383
|
+
}
|
|
384
|
+
o(function(i, r, a, n) {
|
|
385
|
+
a.__dzAxisProxy = null;
|
|
386
|
+
});
|
|
387
|
+
var e = [];
|
|
388
|
+
o(function(i, r, a, n) {
|
|
389
|
+
a.__dzAxisProxy || (a.__dzAxisProxy = new Ue(i, r, n, s), e.push(a.__dzAxisProxy));
|
|
390
|
+
});
|
|
391
|
+
var t = E();
|
|
392
|
+
return y(e, function(i) {
|
|
393
|
+
y(i.getTargetSeriesModels(), function(r) {
|
|
394
|
+
t.set(r.uid, r);
|
|
395
|
+
});
|
|
396
|
+
}), t;
|
|
397
|
+
},
|
|
398
|
+
// Consider appendData, where filter should be performed. Because data process is
|
|
399
|
+
// in block mode currently, it is not need to worry about that the overallProgress
|
|
400
|
+
// execute every frame.
|
|
401
|
+
overallReset: function(s, o) {
|
|
402
|
+
s.eachComponent("dataZoom", function(e) {
|
|
403
|
+
e.eachTargetAxis(function(t, i) {
|
|
404
|
+
e.getAxisProxy(t, i).reset(e);
|
|
405
|
+
}), e.eachTargetAxis(function(t, i) {
|
|
406
|
+
e.getAxisProxy(t, i).filterData(e, o);
|
|
407
|
+
});
|
|
408
|
+
}), s.eachComponent("dataZoom", function(e) {
|
|
409
|
+
var t = e.findRepresentativeAxisProxy();
|
|
410
|
+
if (t) {
|
|
411
|
+
var i = t.getDataPercentWindow(), r = t.getDataValueWindow();
|
|
412
|
+
e.setCalculatedRange({
|
|
413
|
+
start: i[0],
|
|
414
|
+
end: i[1],
|
|
415
|
+
startValue: r[0],
|
|
416
|
+
endValue: r[1]
|
|
417
|
+
});
|
|
418
|
+
}
|
|
419
|
+
});
|
|
420
|
+
}
|
|
421
|
+
};
|
|
422
|
+
function Je(s) {
|
|
423
|
+
s.registerAction("dataZoom", function(o, e) {
|
|
424
|
+
var t = Xe(e, o);
|
|
425
|
+
y(t, function(i) {
|
|
426
|
+
i.setRawRange({
|
|
427
|
+
start: o.start,
|
|
428
|
+
end: o.end,
|
|
429
|
+
startValue: o.startValue,
|
|
430
|
+
endValue: o.endValue
|
|
431
|
+
});
|
|
432
|
+
});
|
|
433
|
+
});
|
|
434
|
+
}
|
|
435
|
+
var ne = !1;
|
|
436
|
+
function ge(s) {
|
|
437
|
+
ne || (ne = !0, s.registerProcessor(s.PRIORITY.PROCESSOR.FILTER, Ke), Je(s), s.registerSubTypeDefaulter("dataZoom", function() {
|
|
438
|
+
return "slider";
|
|
439
|
+
}));
|
|
440
|
+
}
|
|
441
|
+
var qe = (
|
|
442
|
+
/** @class */
|
|
443
|
+
(function(s) {
|
|
444
|
+
Z(o, s);
|
|
445
|
+
function o() {
|
|
446
|
+
var e = s !== null && s.apply(this, arguments) || this;
|
|
447
|
+
return e.type = o.type, e;
|
|
448
|
+
}
|
|
449
|
+
return o.type = "dataZoom.inside", o.defaultOption = pe(k.defaultOption, {
|
|
450
|
+
disabled: !1,
|
|
451
|
+
zoomLock: !1,
|
|
452
|
+
zoomOnMouseWheel: !0,
|
|
453
|
+
moveOnMouseMove: !0,
|
|
454
|
+
moveOnMouseWheel: !1,
|
|
455
|
+
preventDefaultMouseMove: !0
|
|
456
|
+
}), o;
|
|
457
|
+
})(k)
|
|
458
|
+
), $ = De();
|
|
459
|
+
function Qe(s, o, e) {
|
|
460
|
+
$(s).coordSysRecordMap.each(function(t) {
|
|
461
|
+
var i = t.dataZoomInfoMap.get(o.uid);
|
|
462
|
+
i && (i.getRange = e);
|
|
463
|
+
});
|
|
464
|
+
}
|
|
465
|
+
function je(s, o) {
|
|
466
|
+
for (var e = $(s).coordSysRecordMap, t = e.keys(), i = 0; i < t.length; i++) {
|
|
467
|
+
var r = t[i], a = e.get(r), n = a.dataZoomInfoMap;
|
|
468
|
+
if (n) {
|
|
469
|
+
var l = o.uid, h = n.get(l);
|
|
470
|
+
h && (n.removeKey(l), n.keys().length || me(e, a));
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
function me(s, o) {
|
|
475
|
+
if (o) {
|
|
476
|
+
s.removeKey(o.model.uid);
|
|
477
|
+
var e = o.controller;
|
|
478
|
+
e && e.dispose();
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
function et(s, o) {
|
|
482
|
+
var e = {
|
|
483
|
+
model: o,
|
|
484
|
+
containsPoint: q(at, o),
|
|
485
|
+
dispatchAction: q(tt, s),
|
|
486
|
+
dataZoomInfoMap: null,
|
|
487
|
+
controller: null
|
|
488
|
+
}, t = e.controller = new Fe(s.getZr());
|
|
489
|
+
return y(["pan", "zoom", "scrollMove"], function(i) {
|
|
490
|
+
t.on(i, function(r) {
|
|
491
|
+
var a = [];
|
|
492
|
+
e.dataZoomInfoMap.each(function(n) {
|
|
493
|
+
if (r.isAvailableBehavior(n.model.option)) {
|
|
494
|
+
var l = (n.getRange || {})[i], h = l && l(n.dzReferCoordSysInfo, e.model.mainType, e.controller, r);
|
|
495
|
+
!n.model.get("disabled", !0) && h && a.push({
|
|
496
|
+
dataZoomId: n.model.id,
|
|
497
|
+
start: h[0],
|
|
498
|
+
end: h[1]
|
|
499
|
+
});
|
|
500
|
+
}
|
|
501
|
+
}), a.length && e.dispatchAction(a);
|
|
502
|
+
});
|
|
503
|
+
}), e;
|
|
504
|
+
}
|
|
505
|
+
function tt(s, o) {
|
|
506
|
+
s.isDisposed() || s.dispatchAction({
|
|
507
|
+
type: "dataZoom",
|
|
508
|
+
animation: {
|
|
509
|
+
easing: "cubicOut",
|
|
510
|
+
duration: 100
|
|
511
|
+
},
|
|
512
|
+
batch: o
|
|
513
|
+
});
|
|
514
|
+
}
|
|
515
|
+
function at(s, o, e, t) {
|
|
516
|
+
return s.coordinateSystem.containPoint([e, t]);
|
|
517
|
+
}
|
|
518
|
+
function rt(s) {
|
|
519
|
+
var o, e = "type_", t = {
|
|
520
|
+
type_true: 2,
|
|
521
|
+
type_move: 1,
|
|
522
|
+
type_false: 0,
|
|
523
|
+
type_undefined: -1
|
|
524
|
+
}, i = !0;
|
|
525
|
+
return s.each(function(r) {
|
|
526
|
+
var a = r.model, n = a.get("disabled", !0) ? !1 : a.get("zoomLock", !0) ? "move" : !0;
|
|
527
|
+
t[e + n] > t[e + o] && (o = n), i = i && a.get("preventDefaultMouseMove", !0);
|
|
528
|
+
}), {
|
|
529
|
+
controlType: o,
|
|
530
|
+
opt: {
|
|
531
|
+
// RoamController will enable all of these functionalities,
|
|
532
|
+
// and the final behavior is determined by its event listener
|
|
533
|
+
// provided by each inside zoom.
|
|
534
|
+
zoomOnMouseWheel: !0,
|
|
535
|
+
moveOnMouseMove: !0,
|
|
536
|
+
moveOnMouseWheel: !0,
|
|
537
|
+
preventDefaultMouseMove: !!i
|
|
538
|
+
}
|
|
539
|
+
};
|
|
540
|
+
}
|
|
541
|
+
function it(s) {
|
|
542
|
+
s.registerProcessor(s.PRIORITY.PROCESSOR.FILTER, function(o, e) {
|
|
543
|
+
var t = $(e), i = t.coordSysRecordMap || (t.coordSysRecordMap = E());
|
|
544
|
+
i.each(function(r) {
|
|
545
|
+
r.dataZoomInfoMap = null;
|
|
546
|
+
}), o.eachComponent({
|
|
547
|
+
mainType: "dataZoom",
|
|
548
|
+
subType: "inside"
|
|
549
|
+
}, function(r) {
|
|
550
|
+
var a = fe(r);
|
|
551
|
+
y(a.infoList, function(n) {
|
|
552
|
+
var l = n.model.uid, h = i.get(l) || i.set(l, et(e, n.model)), d = h.dataZoomInfoMap || (h.dataZoomInfoMap = E());
|
|
553
|
+
d.set(r.uid, {
|
|
554
|
+
dzReferCoordSysInfo: n,
|
|
555
|
+
model: r,
|
|
556
|
+
getRange: null
|
|
557
|
+
});
|
|
558
|
+
});
|
|
559
|
+
}), i.each(function(r) {
|
|
560
|
+
var a = r.controller, n, l = r.dataZoomInfoMap;
|
|
561
|
+
if (l) {
|
|
562
|
+
var h = l.keys()[0];
|
|
563
|
+
h != null && (n = l.get(h));
|
|
564
|
+
}
|
|
565
|
+
if (!n) {
|
|
566
|
+
me(i, r);
|
|
567
|
+
return;
|
|
568
|
+
}
|
|
569
|
+
var d = rt(l);
|
|
570
|
+
a.enable(d.controlType, d.opt), a.setPointerChecker(r.containsPoint), ce(r, "dispatchAction", n.model.get("throttle", !0), "fixRate");
|
|
571
|
+
});
|
|
572
|
+
});
|
|
573
|
+
}
|
|
574
|
+
var ot = (
|
|
575
|
+
/** @class */
|
|
576
|
+
(function(s) {
|
|
577
|
+
Z(o, s);
|
|
578
|
+
function o() {
|
|
579
|
+
var e = s !== null && s.apply(this, arguments) || this;
|
|
580
|
+
return e.type = "dataZoom.inside", e;
|
|
581
|
+
}
|
|
582
|
+
return o.prototype.render = function(e, t, i) {
|
|
583
|
+
if (s.prototype.render.apply(this, arguments), e.noTarget()) {
|
|
584
|
+
this._clear();
|
|
585
|
+
return;
|
|
586
|
+
}
|
|
587
|
+
this.range = e.getPercentRange(), Qe(i, e, {
|
|
588
|
+
pan: _(F.pan, this),
|
|
589
|
+
zoom: _(F.zoom, this),
|
|
590
|
+
scrollMove: _(F.scrollMove, this)
|
|
591
|
+
});
|
|
592
|
+
}, o.prototype.dispose = function() {
|
|
593
|
+
this._clear(), s.prototype.dispose.apply(this, arguments);
|
|
594
|
+
}, o.prototype._clear = function() {
|
|
595
|
+
je(this.api, this.dataZoomModel), this.range = null;
|
|
596
|
+
}, o.type = "dataZoom.inside", o;
|
|
597
|
+
})(ve)
|
|
598
|
+
), F = {
|
|
599
|
+
zoom: function(s, o, e, t) {
|
|
600
|
+
var i = this.range, r = i.slice(), a = s.axisModels[0];
|
|
601
|
+
if (a) {
|
|
602
|
+
var n = H[o](null, [t.originX, t.originY], a, e, s), l = (n.signal > 0 ? n.pixelStart + n.pixelLength - n.pixel : n.pixel - n.pixelStart) / n.pixelLength * (r[1] - r[0]) + r[0], h = Math.max(1 / t.scale, 0);
|
|
603
|
+
r[0] = (r[0] - l) * h + l, r[1] = (r[1] - l) * h + l;
|
|
604
|
+
var d = this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();
|
|
605
|
+
if (N(0, r, [0, 100], 0, d.minSpan, d.maxSpan), this.range = r, i[0] !== r[0] || i[1] !== r[1])
|
|
606
|
+
return r;
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
pan: se(function(s, o, e, t, i, r) {
|
|
610
|
+
var a = H[t]([r.oldX, r.oldY], [r.newX, r.newY], o, i, e);
|
|
611
|
+
return a.signal * (s[1] - s[0]) * a.pixel / a.pixelLength;
|
|
612
|
+
}),
|
|
613
|
+
scrollMove: se(function(s, o, e, t, i, r) {
|
|
614
|
+
var a = H[t]([0, 0], [r.scrollDelta, r.scrollDelta], o, i, e);
|
|
615
|
+
return a.signal * (s[1] - s[0]) * r.scrollDelta;
|
|
616
|
+
})
|
|
617
|
+
};
|
|
618
|
+
function se(s) {
|
|
619
|
+
return function(o, e, t, i) {
|
|
620
|
+
var r = this.range, a = r.slice(), n = o.axisModels[0];
|
|
621
|
+
if (n) {
|
|
622
|
+
var l = s(a, n, o, e, t, i);
|
|
623
|
+
if (N(l, a, [0, 100], "all"), this.range = a, r[0] !== a[0] || r[1] !== a[1])
|
|
624
|
+
return a;
|
|
625
|
+
}
|
|
626
|
+
};
|
|
627
|
+
}
|
|
628
|
+
var H = {
|
|
629
|
+
grid: function(s, o, e, t, i) {
|
|
630
|
+
var r = e.axis, a = {}, n = i.model.coordinateSystem.getRect();
|
|
631
|
+
return s = s || [0, 0], r.dim === "x" ? (a.pixel = o[0] - s[0], a.pixelLength = n.width, a.pixelStart = n.x, a.signal = r.inverse ? 1 : -1) : (a.pixel = o[1] - s[1], a.pixelLength = n.height, a.pixelStart = n.y, a.signal = r.inverse ? -1 : 1), a;
|
|
632
|
+
},
|
|
633
|
+
polar: function(s, o, e, t, i) {
|
|
634
|
+
var r = e.axis, a = {}, n = i.model.coordinateSystem, l = n.getRadiusAxis().getExtent(), h = n.getAngleAxis().getExtent();
|
|
635
|
+
return s = s ? n.pointToCoord(s) : [0, 0], o = n.pointToCoord(o), e.mainType === "radiusAxis" ? (a.pixel = o[0] - s[0], a.pixelLength = l[1] - l[0], a.pixelStart = l[0], a.signal = r.inverse ? 1 : -1) : (a.pixel = o[1] - s[1], a.pixelLength = h[1] - h[0], a.pixelStart = h[0], a.signal = r.inverse ? -1 : 1), a;
|
|
636
|
+
},
|
|
637
|
+
singleAxis: function(s, o, e, t, i) {
|
|
638
|
+
var r = e.axis, a = i.model.coordinateSystem.getRect(), n = {};
|
|
639
|
+
return s = s || [0, 0], r.orient === "horizontal" ? (n.pixel = o[0] - s[0], n.pixelLength = a.width, n.pixelStart = a.x, n.signal = r.inverse ? 1 : -1) : (n.pixel = o[1] - s[1], n.pixelLength = a.height, n.pixelStart = a.y, n.signal = r.inverse ? -1 : 1), n;
|
|
640
|
+
}
|
|
641
|
+
};
|
|
642
|
+
function nt(s) {
|
|
643
|
+
ge(s), s.registerComponentModel(qe), s.registerComponentView(ot), it(s);
|
|
644
|
+
}
|
|
645
|
+
var st = (
|
|
646
|
+
/** @class */
|
|
647
|
+
(function(s) {
|
|
648
|
+
Z(o, s);
|
|
649
|
+
function o() {
|
|
650
|
+
var e = s !== null && s.apply(this, arguments) || this;
|
|
651
|
+
return e.type = o.type, e;
|
|
652
|
+
}
|
|
653
|
+
return o.type = "dataZoom.slider", o.layoutMode = "box", o.defaultOption = pe(k.defaultOption, {
|
|
654
|
+
show: !0,
|
|
655
|
+
// deault value can only be drived in view stage.
|
|
656
|
+
right: "ph",
|
|
657
|
+
top: "ph",
|
|
658
|
+
width: "ph",
|
|
659
|
+
height: "ph",
|
|
660
|
+
left: null,
|
|
661
|
+
bottom: null,
|
|
662
|
+
borderColor: "#d2dbee",
|
|
663
|
+
borderRadius: 3,
|
|
664
|
+
backgroundColor: "rgba(47,69,84,0)",
|
|
665
|
+
// dataBackgroundColor: '#ddd',
|
|
666
|
+
dataBackground: {
|
|
667
|
+
lineStyle: {
|
|
668
|
+
color: "#d2dbee",
|
|
669
|
+
width: 0.5
|
|
670
|
+
},
|
|
671
|
+
areaStyle: {
|
|
672
|
+
color: "#d2dbee",
|
|
673
|
+
opacity: 0.2
|
|
674
|
+
}
|
|
675
|
+
},
|
|
676
|
+
selectedDataBackground: {
|
|
677
|
+
lineStyle: {
|
|
678
|
+
color: "#8fb0f7",
|
|
679
|
+
width: 0.5
|
|
680
|
+
},
|
|
681
|
+
areaStyle: {
|
|
682
|
+
color: "#8fb0f7",
|
|
683
|
+
opacity: 0.2
|
|
684
|
+
}
|
|
685
|
+
},
|
|
686
|
+
// Color of selected window.
|
|
687
|
+
fillerColor: "rgba(135,175,274,0.2)",
|
|
688
|
+
handleIcon: "path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",
|
|
689
|
+
// Percent of the slider height
|
|
690
|
+
handleSize: "100%",
|
|
691
|
+
handleStyle: {
|
|
692
|
+
color: "#fff",
|
|
693
|
+
borderColor: "#ACB8D1"
|
|
694
|
+
},
|
|
695
|
+
moveHandleSize: 7,
|
|
696
|
+
moveHandleIcon: "path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",
|
|
697
|
+
moveHandleStyle: {
|
|
698
|
+
color: "#D2DBEE",
|
|
699
|
+
opacity: 0.7
|
|
700
|
+
},
|
|
701
|
+
showDetail: !0,
|
|
702
|
+
showDataShadow: "auto",
|
|
703
|
+
realtime: !0,
|
|
704
|
+
zoomLock: !1,
|
|
705
|
+
textStyle: {
|
|
706
|
+
color: "#6E7079"
|
|
707
|
+
},
|
|
708
|
+
brushSelect: !0,
|
|
709
|
+
brushStyle: {
|
|
710
|
+
color: "rgba(135,175,274,0.15)"
|
|
711
|
+
},
|
|
712
|
+
emphasis: {
|
|
713
|
+
handleLabel: {
|
|
714
|
+
show: !0
|
|
715
|
+
},
|
|
716
|
+
handleStyle: {
|
|
717
|
+
borderColor: "#8FB0F7"
|
|
718
|
+
},
|
|
719
|
+
moveHandleStyle: {
|
|
720
|
+
color: "#8FB0F7"
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
}), o;
|
|
724
|
+
})(k)
|
|
725
|
+
), P = B, le = 7, lt = 1, Y = 30, ht = 7, O = "horizontal", he = "vertical", dt = 5, ut = ["line", "bar", "candlestick", "scatter"], pt = {
|
|
726
|
+
easing: "cubicOut",
|
|
727
|
+
duration: 100,
|
|
728
|
+
delay: 0
|
|
729
|
+
}, ct = (
|
|
730
|
+
/** @class */
|
|
731
|
+
(function(s) {
|
|
732
|
+
Z(o, s);
|
|
733
|
+
function o() {
|
|
734
|
+
var e = s !== null && s.apply(this, arguments) || this;
|
|
735
|
+
return e.type = o.type, e._displayables = {}, e;
|
|
736
|
+
}
|
|
737
|
+
return o.prototype.init = function(e, t) {
|
|
738
|
+
this.api = t, this._onBrush = _(this._onBrush, this), this._onBrushEnd = _(this._onBrushEnd, this);
|
|
739
|
+
}, o.prototype.render = function(e, t, i, r) {
|
|
740
|
+
if (s.prototype.render.apply(this, arguments), ce(this, "_dispatchZoomAction", e.get("throttle"), "fixRate"), this._orient = e.getOrient(), e.get("show") === !1) {
|
|
741
|
+
this.group.removeAll();
|
|
742
|
+
return;
|
|
743
|
+
}
|
|
744
|
+
if (e.noTarget()) {
|
|
745
|
+
this._clear(), this.group.removeAll();
|
|
746
|
+
return;
|
|
747
|
+
}
|
|
748
|
+
(!r || r.type !== "dataZoom" || r.from !== this.uid) && this._buildView(), this._updateView();
|
|
749
|
+
}, o.prototype.dispose = function() {
|
|
750
|
+
this._clear(), s.prototype.dispose.apply(this, arguments);
|
|
751
|
+
}, o.prototype._clear = function() {
|
|
752
|
+
Ie(this, "_dispatchZoomAction");
|
|
753
|
+
var e = this.api.getZr();
|
|
754
|
+
e.off("mousemove", this._onBrush), e.off("mouseup", this._onBrushEnd);
|
|
755
|
+
}, o.prototype._buildView = function() {
|
|
756
|
+
var e = this.group;
|
|
757
|
+
e.removeAll(), this._brushing = !1, this._displayables.brushRect = null, this._resetLocation(), this._resetInterval();
|
|
758
|
+
var t = this._displayables.sliderGroup = new Q();
|
|
759
|
+
this._renderBackground(), this._renderHandle(), this._renderDataShadow(), e.add(t), this._positionGroup();
|
|
760
|
+
}, o.prototype._resetLocation = function() {
|
|
761
|
+
var e = this.dataZoomModel, t = this.api, i = e.get("brushSelect"), r = i ? ht : 0, a = this._findCoordRect(), n = {
|
|
762
|
+
width: t.getWidth(),
|
|
763
|
+
height: t.getHeight()
|
|
764
|
+
}, l = this._orient === O ? {
|
|
765
|
+
// Why using 'right', because right should be used in vertical,
|
|
766
|
+
// and it is better to be consistent for dealing with position param merge.
|
|
767
|
+
right: n.width - a.x - a.width,
|
|
768
|
+
top: n.height - Y - le - r,
|
|
769
|
+
width: a.width,
|
|
770
|
+
height: Y
|
|
771
|
+
} : {
|
|
772
|
+
right: le,
|
|
773
|
+
top: a.y,
|
|
774
|
+
width: Y,
|
|
775
|
+
height: a.height
|
|
776
|
+
}, h = Ee(e.option);
|
|
777
|
+
y(["right", "top", "width", "height"], function(u) {
|
|
778
|
+
h[u] === "ph" && (h[u] = l[u]);
|
|
779
|
+
});
|
|
780
|
+
var d = Te(h, n);
|
|
781
|
+
this._location = {
|
|
782
|
+
x: d.x,
|
|
783
|
+
y: d.y
|
|
784
|
+
}, this._size = [d.width, d.height], this._orient === he && this._size.reverse();
|
|
785
|
+
}, o.prototype._positionGroup = function() {
|
|
786
|
+
var e = this.group, t = this._location, i = this._orient, r = this.dataZoomModel.getFirstTargetAxisModel(), a = r && r.get("inverse"), n = this._displayables.sliderGroup, l = (this._dataShadowInfo || {}).otherAxisInverse;
|
|
787
|
+
n.attr(i === O && !a ? {
|
|
788
|
+
scaleY: l ? 1 : -1,
|
|
789
|
+
scaleX: 1
|
|
790
|
+
} : i === O && a ? {
|
|
791
|
+
scaleY: l ? 1 : -1,
|
|
792
|
+
scaleX: -1
|
|
793
|
+
} : i === he && !a ? {
|
|
794
|
+
scaleY: l ? -1 : 1,
|
|
795
|
+
scaleX: 1,
|
|
796
|
+
rotation: Math.PI / 2
|
|
797
|
+
} : {
|
|
798
|
+
scaleY: l ? -1 : 1,
|
|
799
|
+
scaleX: -1,
|
|
800
|
+
rotation: Math.PI / 2
|
|
801
|
+
});
|
|
802
|
+
var h = e.getBoundingRect([n]);
|
|
803
|
+
e.x = t.x - h.x, e.y = t.y - h.y, e.markRedraw();
|
|
804
|
+
}, o.prototype._getViewExtent = function() {
|
|
805
|
+
return [0, this._size[0]];
|
|
806
|
+
}, o.prototype._renderBackground = function() {
|
|
807
|
+
var e = this.dataZoomModel, t = this._size, i = this._displayables.sliderGroup, r = e.get("brushSelect");
|
|
808
|
+
i.add(new P({
|
|
809
|
+
silent: !0,
|
|
810
|
+
shape: {
|
|
811
|
+
x: 0,
|
|
812
|
+
y: 0,
|
|
813
|
+
width: t[0],
|
|
814
|
+
height: t[1]
|
|
815
|
+
},
|
|
816
|
+
style: {
|
|
817
|
+
fill: e.get("backgroundColor")
|
|
818
|
+
},
|
|
819
|
+
z2: -40
|
|
820
|
+
}));
|
|
821
|
+
var a = new P({
|
|
822
|
+
shape: {
|
|
823
|
+
x: 0,
|
|
824
|
+
y: 0,
|
|
825
|
+
width: t[0],
|
|
826
|
+
height: t[1]
|
|
827
|
+
},
|
|
828
|
+
style: {
|
|
829
|
+
fill: "transparent"
|
|
830
|
+
},
|
|
831
|
+
z2: 0,
|
|
832
|
+
onclick: _(this._onClickPanel, this)
|
|
833
|
+
}), n = this.api.getZr();
|
|
834
|
+
r ? (a.on("mousedown", this._onBrushStart, this), a.cursor = "crosshair", n.on("mousemove", this._onBrush), n.on("mouseup", this._onBrushEnd)) : (n.off("mousemove", this._onBrush), n.off("mouseup", this._onBrushEnd)), i.add(a);
|
|
835
|
+
}, o.prototype._renderDataShadow = function() {
|
|
836
|
+
var e = this._dataShadowInfo = this._prepareDataShadowInfo();
|
|
837
|
+
if (this._displayables.dataShadowSegs = [], !e)
|
|
838
|
+
return;
|
|
839
|
+
var t = this._size, i = this._shadowSize || [], r = e.series, a = r.getRawData(), n = r.getShadowDim && r.getShadowDim(), l = n && a.getDimensionInfo(n) ? r.getShadowDim() : e.otherDim;
|
|
840
|
+
if (l == null)
|
|
841
|
+
return;
|
|
842
|
+
var h = this._shadowPolygonPts, d = this._shadowPolylinePts;
|
|
843
|
+
if (a !== this._shadowData || l !== this._shadowDim || t[0] !== i[0] || t[1] !== i[1]) {
|
|
844
|
+
var u = a.getDataExtent(l), v = (u[1] - u[0]) * 0.3;
|
|
845
|
+
u = [u[0] - v, u[1] + v];
|
|
846
|
+
var p = [0, t[1]], c = [0, t[0]], f = [[t[0], 0], [0, 0]], m = [], x = c[1] / (a.count() - 1), g = 0, R = Math.round(a.count() / t[0]), w;
|
|
847
|
+
a.each([l], function(A, I) {
|
|
848
|
+
if (R > 0 && I % R) {
|
|
849
|
+
g += x;
|
|
850
|
+
return;
|
|
851
|
+
}
|
|
852
|
+
var b = A == null || isNaN(A) || A === "", W = b ? 0 : S(A, u, p, !0);
|
|
853
|
+
b && !w && I ? (f.push([f[f.length - 1][0], 0]), m.push([m[m.length - 1][0], 0])) : !b && w && (f.push([g, 0]), m.push([g, 0])), f.push([g, W]), m.push([g, W]), g += x, w = b;
|
|
854
|
+
}), h = this._shadowPolygonPts = f, d = this._shadowPolylinePts = m;
|
|
855
|
+
}
|
|
856
|
+
this._shadowData = a, this._shadowDim = l, this._shadowSize = [t[0], t[1]];
|
|
857
|
+
var M = this.dataZoomModel;
|
|
858
|
+
function z(A) {
|
|
859
|
+
var I = M.getModel(A ? "selectedDataBackground" : "dataBackground"), b = new Q(), W = new Ne({
|
|
860
|
+
shape: {
|
|
861
|
+
points: h
|
|
862
|
+
},
|
|
863
|
+
segmentIgnoreThreshold: 1,
|
|
864
|
+
style: I.getModel("areaStyle").getAreaStyle(),
|
|
865
|
+
silent: !0,
|
|
866
|
+
z2: -20
|
|
867
|
+
}), ye = new Ge({
|
|
868
|
+
shape: {
|
|
869
|
+
points: d
|
|
870
|
+
},
|
|
871
|
+
segmentIgnoreThreshold: 1,
|
|
872
|
+
style: I.getModel("lineStyle").getLineStyle(),
|
|
873
|
+
silent: !0,
|
|
874
|
+
z2: -19
|
|
875
|
+
});
|
|
876
|
+
return b.add(W), b.add(ye), b;
|
|
877
|
+
}
|
|
878
|
+
for (var L = 0; L < 3; L++) {
|
|
879
|
+
var C = z(L === 1);
|
|
880
|
+
this._displayables.sliderGroup.add(C), this._displayables.dataShadowSegs.push(C);
|
|
881
|
+
}
|
|
882
|
+
}, o.prototype._prepareDataShadowInfo = function() {
|
|
883
|
+
var e = this.dataZoomModel, t = e.get("showDataShadow");
|
|
884
|
+
if (t !== !1) {
|
|
885
|
+
var i, r = this.ecModel;
|
|
886
|
+
return e.eachTargetAxis(function(a, n) {
|
|
887
|
+
var l = e.getAxisProxy(a, n).getTargetSeriesModels();
|
|
888
|
+
y(l, function(h) {
|
|
889
|
+
if (!i && !(t !== !0 && ue(ut, h.get("type")) < 0)) {
|
|
890
|
+
var d = r.getComponent(D(a), n).axis, u = ft(a), v, p = h.coordinateSystem;
|
|
891
|
+
u != null && p.getOtherAxis && (v = p.getOtherAxis(d).inverse), u = h.getData().mapDimension(u), i = {
|
|
892
|
+
thisAxis: d,
|
|
893
|
+
series: h,
|
|
894
|
+
thisDim: a,
|
|
895
|
+
otherDim: u,
|
|
896
|
+
otherAxisInverse: v
|
|
897
|
+
};
|
|
898
|
+
}
|
|
899
|
+
}, this);
|
|
900
|
+
}, this), i;
|
|
901
|
+
}
|
|
902
|
+
}, o.prototype._renderHandle = function() {
|
|
903
|
+
var e = this.group, t = this._displayables, i = t.handles = [null, null], r = t.handleLabels = [null, null], a = this._displayables.sliderGroup, n = this._size, l = this.dataZoomModel, h = this.api, d = l.get("borderRadius") || 0, u = l.get("brushSelect"), v = t.filler = new P({
|
|
904
|
+
silent: u,
|
|
905
|
+
style: {
|
|
906
|
+
fill: l.get("fillerColor")
|
|
907
|
+
},
|
|
908
|
+
textConfig: {
|
|
909
|
+
position: "inside"
|
|
910
|
+
}
|
|
911
|
+
});
|
|
912
|
+
a.add(v), a.add(new P({
|
|
913
|
+
silent: !0,
|
|
914
|
+
subPixelOptimize: !0,
|
|
915
|
+
shape: {
|
|
916
|
+
x: 0,
|
|
917
|
+
y: 0,
|
|
918
|
+
width: n[0],
|
|
919
|
+
height: n[1],
|
|
920
|
+
r: d
|
|
921
|
+
},
|
|
922
|
+
style: {
|
|
923
|
+
// deprecated option
|
|
924
|
+
stroke: l.get("dataBackgroundColor") || l.get("borderColor"),
|
|
925
|
+
lineWidth: lt,
|
|
926
|
+
fill: "rgba(0,0,0,0)"
|
|
927
|
+
}
|
|
928
|
+
})), y([0, 1], function(R) {
|
|
929
|
+
var w = l.get("handleIcon");
|
|
930
|
+
!Ze[w] && w.indexOf("path://") < 0 && w.indexOf("image://") < 0 && (w = "path://" + w, process.env.NODE_ENV !== "production" && Le("handleIcon now needs 'path://' prefix when using a path string"));
|
|
931
|
+
var M = j(w, -1, 0, 2, 2, null, !0);
|
|
932
|
+
M.attr({
|
|
933
|
+
cursor: de(this._orient),
|
|
934
|
+
draggable: !0,
|
|
935
|
+
drift: _(this._onDragMove, this, R),
|
|
936
|
+
ondragend: _(this._onDragEnd, this),
|
|
937
|
+
onmouseover: _(this._showDataInfo, this, !0),
|
|
938
|
+
onmouseout: _(this._showDataInfo, this, !1),
|
|
939
|
+
z2: 5
|
|
940
|
+
});
|
|
941
|
+
var z = M.getBoundingRect(), L = l.get("handleSize");
|
|
942
|
+
this._handleHeight = ee(L, this._size[1]), this._handleWidth = z.width / z.height * this._handleHeight, M.setStyle(l.getModel("handleStyle").getItemStyle()), M.style.strokeNoScale = !0, M.rectHover = !0, M.ensureState("emphasis").style = l.getModel(["emphasis", "handleStyle"]).getItemStyle(), Ce(M);
|
|
943
|
+
var C = l.get("handleColor");
|
|
944
|
+
C != null && (M.style.fill = C), a.add(i[R] = M);
|
|
945
|
+
var A = l.getModel("textStyle"), I = l.get("handleLabel") || {}, b = I.show || !1;
|
|
946
|
+
e.add(r[R] = new Pe({
|
|
947
|
+
silent: !0,
|
|
948
|
+
invisible: !b,
|
|
949
|
+
style: Oe(A, {
|
|
950
|
+
x: 0,
|
|
951
|
+
y: 0,
|
|
952
|
+
text: "",
|
|
953
|
+
verticalAlign: "middle",
|
|
954
|
+
align: "center",
|
|
955
|
+
fill: A.getTextColor(),
|
|
956
|
+
font: A.getFont()
|
|
957
|
+
}),
|
|
958
|
+
z2: 10
|
|
959
|
+
}));
|
|
960
|
+
}, this);
|
|
961
|
+
var p = v;
|
|
962
|
+
if (u) {
|
|
963
|
+
var c = ee(l.get("moveHandleSize"), n[1]), f = t.moveHandle = new B({
|
|
964
|
+
style: l.getModel("moveHandleStyle").getItemStyle(),
|
|
965
|
+
silent: !0,
|
|
966
|
+
shape: {
|
|
967
|
+
r: [0, 0, 2, 2],
|
|
968
|
+
y: n[1] - 0.5,
|
|
969
|
+
height: c
|
|
970
|
+
}
|
|
971
|
+
}), m = c * 0.8, x = t.moveHandleIcon = j(l.get("moveHandleIcon"), -m / 2, -m / 2, m, m, "#fff", !0);
|
|
972
|
+
x.silent = !0, x.y = n[1] + c / 2 - 0.5, f.ensureState("emphasis").style = l.getModel(["emphasis", "moveHandleStyle"]).getItemStyle();
|
|
973
|
+
var g = Math.min(n[1] / 2, Math.max(c, 10));
|
|
974
|
+
p = t.moveZone = new B({
|
|
975
|
+
invisible: !0,
|
|
976
|
+
shape: {
|
|
977
|
+
y: n[1] - g,
|
|
978
|
+
height: c + g
|
|
979
|
+
}
|
|
980
|
+
}), p.on("mouseover", function() {
|
|
981
|
+
h.enterEmphasis(f);
|
|
982
|
+
}).on("mouseout", function() {
|
|
983
|
+
h.leaveEmphasis(f);
|
|
984
|
+
}), a.add(f), a.add(x), a.add(p);
|
|
985
|
+
}
|
|
986
|
+
p.attr({
|
|
987
|
+
draggable: !0,
|
|
988
|
+
cursor: de(this._orient),
|
|
989
|
+
drift: _(this._onDragMove, this, "all"),
|
|
990
|
+
ondragstart: _(this._showDataInfo, this, !0),
|
|
991
|
+
ondragend: _(this._onDragEnd, this),
|
|
992
|
+
onmouseover: _(this._showDataInfo, this, !0),
|
|
993
|
+
onmouseout: _(this._showDataInfo, this, !1)
|
|
994
|
+
});
|
|
995
|
+
}, o.prototype._resetInterval = function() {
|
|
996
|
+
var e = this._range = this.dataZoomModel.getPercentRange(), t = this._getViewExtent();
|
|
997
|
+
this._handleEnds = [S(e[0], [0, 100], t, !0), S(e[1], [0, 100], t, !0)];
|
|
998
|
+
}, o.prototype._updateInterval = function(e, t) {
|
|
999
|
+
var i = this.dataZoomModel, r = this._handleEnds, a = this._getViewExtent(), n = i.findRepresentativeAxisProxy().getMinMaxSpan(), l = [0, 100];
|
|
1000
|
+
N(t, r, a, i.get("zoomLock") ? "all" : e, n.minSpan != null ? S(n.minSpan, l, a, !0) : null, n.maxSpan != null ? S(n.maxSpan, l, a, !0) : null);
|
|
1001
|
+
var h = this._range, d = this._range = V([S(r[0], a, l, !0), S(r[1], a, l, !0)]);
|
|
1002
|
+
return !h || h[0] !== d[0] || h[1] !== d[1];
|
|
1003
|
+
}, o.prototype._updateView = function(e) {
|
|
1004
|
+
var t = this._displayables, i = this._handleEnds, r = V(i.slice()), a = this._size;
|
|
1005
|
+
y([0, 1], function(p) {
|
|
1006
|
+
var c = t.handles[p], f = this._handleHeight;
|
|
1007
|
+
c.attr({
|
|
1008
|
+
scaleX: f / 2,
|
|
1009
|
+
scaleY: f / 2,
|
|
1010
|
+
// This is a trick, by adding an extra tiny offset to let the default handle's end point align to the drag window.
|
|
1011
|
+
// NOTE: It may affect some custom shapes a bit. But we prefer to have better result by default.
|
|
1012
|
+
x: i[p] + (p ? -1 : 1),
|
|
1013
|
+
y: a[1] / 2 - f / 2
|
|
1014
|
+
});
|
|
1015
|
+
}, this), t.filler.setShape({
|
|
1016
|
+
x: r[0],
|
|
1017
|
+
y: 0,
|
|
1018
|
+
width: r[1] - r[0],
|
|
1019
|
+
height: a[1]
|
|
1020
|
+
});
|
|
1021
|
+
var n = {
|
|
1022
|
+
x: r[0],
|
|
1023
|
+
width: r[1] - r[0]
|
|
1024
|
+
};
|
|
1025
|
+
t.moveHandle && (t.moveHandle.setShape(n), t.moveZone.setShape(n), t.moveZone.getBoundingRect(), t.moveHandleIcon && t.moveHandleIcon.attr("x", n.x + n.width / 2));
|
|
1026
|
+
for (var l = t.dataShadowSegs, h = [0, r[0], r[1], a[0]], d = 0; d < l.length; d++) {
|
|
1027
|
+
var u = l[d], v = u.getClipPath();
|
|
1028
|
+
v || (v = new B(), u.setClipPath(v)), v.setShape({
|
|
1029
|
+
x: h[d],
|
|
1030
|
+
y: 0,
|
|
1031
|
+
width: h[d + 1] - h[d],
|
|
1032
|
+
height: a[1]
|
|
1033
|
+
});
|
|
1034
|
+
}
|
|
1035
|
+
this._updateDataInfo(e);
|
|
1036
|
+
}, o.prototype._updateDataInfo = function(e) {
|
|
1037
|
+
var t = this.dataZoomModel, i = this._displayables, r = i.handleLabels, a = this._orient, n = ["", ""];
|
|
1038
|
+
if (t.get("showDetail")) {
|
|
1039
|
+
var l = t.findRepresentativeAxisProxy();
|
|
1040
|
+
if (l) {
|
|
1041
|
+
var h = l.getAxisModel().axis, d = this._range, u = e ? l.calculateDataWindow({
|
|
1042
|
+
start: d[0],
|
|
1043
|
+
end: d[1]
|
|
1044
|
+
}).valueWindow : l.getDataValueWindow();
|
|
1045
|
+
n = [this._formatLabel(u[0], h), this._formatLabel(u[1], h)];
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
var v = V(this._handleEnds.slice());
|
|
1049
|
+
p.call(this, 0), p.call(this, 1);
|
|
1050
|
+
function p(c) {
|
|
1051
|
+
var f = Ve(i.handles[c].parent, this.group), m = ze(c === 0 ? "right" : "left", f), x = this._handleWidth / 2 + dt, g = te([v[c] + (c === 0 ? -x : x), this._size[1] / 2], f);
|
|
1052
|
+
r[c].setStyle({
|
|
1053
|
+
x: g[0],
|
|
1054
|
+
y: g[1],
|
|
1055
|
+
verticalAlign: a === O ? "middle" : m,
|
|
1056
|
+
align: a === O ? m : "center",
|
|
1057
|
+
text: n[c]
|
|
1058
|
+
});
|
|
1059
|
+
}
|
|
1060
|
+
}, o.prototype._formatLabel = function(e, t) {
|
|
1061
|
+
var i = this.dataZoomModel, r = i.get("labelFormatter"), a = i.get("labelPrecision");
|
|
1062
|
+
(a == null || a === "auto") && (a = t.getPixelPrecision());
|
|
1063
|
+
var n = e == null || isNaN(e) ? "" : t.type === "category" || t.type === "time" ? t.scale.getLabel({
|
|
1064
|
+
value: Math.round(e)
|
|
1065
|
+
}) : e.toFixed(Math.min(a, 20));
|
|
1066
|
+
return We(r) ? r(e, n) : Be(r) ? r.replace("{value}", n) : n;
|
|
1067
|
+
}, o.prototype._showDataInfo = function(e) {
|
|
1068
|
+
var t = this.dataZoomModel.get("handleLabel") || {}, i = t.show || !1, r = this.dataZoomModel.getModel(["emphasis", "handleLabel"]), a = r.get("show") || !1, n = e || this._dragging ? a : i, l = this._displayables, h = l.handleLabels;
|
|
1069
|
+
h[0].attr("invisible", !n), h[1].attr("invisible", !n), l.moveHandle && this.api[n ? "enterEmphasis" : "leaveEmphasis"](l.moveHandle, 1);
|
|
1070
|
+
}, o.prototype._onDragMove = function(e, t, i, r) {
|
|
1071
|
+
this._dragging = !0, ae(r.event);
|
|
1072
|
+
var a = this._displayables.sliderGroup.getLocalTransform(), n = te([t, i], a, !0), l = this._updateInterval(e, n[0]), h = this.dataZoomModel.get("realtime");
|
|
1073
|
+
this._updateView(!h), l && h && this._dispatchZoomAction(!0);
|
|
1074
|
+
}, o.prototype._onDragEnd = function() {
|
|
1075
|
+
this._dragging = !1, this._showDataInfo(!1);
|
|
1076
|
+
var e = this.dataZoomModel.get("realtime");
|
|
1077
|
+
!e && this._dispatchZoomAction(!1);
|
|
1078
|
+
}, o.prototype._onClickPanel = function(e) {
|
|
1079
|
+
var t = this._size, i = this._displayables.sliderGroup.transformCoordToLocal(e.offsetX, e.offsetY);
|
|
1080
|
+
if (!(i[0] < 0 || i[0] > t[0] || i[1] < 0 || i[1] > t[1])) {
|
|
1081
|
+
var r = this._handleEnds, a = (r[0] + r[1]) / 2, n = this._updateInterval("all", i[0] - a);
|
|
1082
|
+
this._updateView(), n && this._dispatchZoomAction(!1);
|
|
1083
|
+
}
|
|
1084
|
+
}, o.prototype._onBrushStart = function(e) {
|
|
1085
|
+
var t = e.offsetX, i = e.offsetY;
|
|
1086
|
+
this._brushStart = new ke(t, i), this._brushing = !0, this._brushStartTime = +/* @__PURE__ */ new Date();
|
|
1087
|
+
}, o.prototype._onBrushEnd = function(e) {
|
|
1088
|
+
if (this._brushing) {
|
|
1089
|
+
var t = this._displayables.brushRect;
|
|
1090
|
+
if (this._brushing = !1, !!t) {
|
|
1091
|
+
t.attr("ignore", !0);
|
|
1092
|
+
var i = t.shape, r = +/* @__PURE__ */ new Date();
|
|
1093
|
+
if (!(r - this._brushStartTime < 200 && Math.abs(i.width) < 5)) {
|
|
1094
|
+
var a = this._getViewExtent(), n = [0, 100];
|
|
1095
|
+
this._range = V([S(i.x, a, n, !0), S(i.x + i.width, a, n, !0)]), this._handleEnds = [i.x, i.x + i.width], this._updateView(), this._dispatchZoomAction(!1);
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
}
|
|
1099
|
+
}, o.prototype._onBrush = function(e) {
|
|
1100
|
+
this._brushing && (ae(e.event), this._updateBrushRect(e.offsetX, e.offsetY));
|
|
1101
|
+
}, o.prototype._updateBrushRect = function(e, t) {
|
|
1102
|
+
var i = this._displayables, r = this.dataZoomModel, a = i.brushRect;
|
|
1103
|
+
a || (a = i.brushRect = new P({
|
|
1104
|
+
silent: !0,
|
|
1105
|
+
style: r.getModel("brushStyle").getItemStyle()
|
|
1106
|
+
}), i.sliderGroup.add(a)), a.attr("ignore", !1);
|
|
1107
|
+
var n = this._brushStart, l = this._displayables.sliderGroup, h = l.transformCoordToLocal(e, t), d = l.transformCoordToLocal(n.x, n.y), u = this._size;
|
|
1108
|
+
h[0] = Math.max(Math.min(u[0], h[0]), 0), a.setShape({
|
|
1109
|
+
x: d[0],
|
|
1110
|
+
y: 0,
|
|
1111
|
+
width: h[0] - d[0],
|
|
1112
|
+
height: u[1]
|
|
1113
|
+
});
|
|
1114
|
+
}, o.prototype._dispatchZoomAction = function(e) {
|
|
1115
|
+
var t = this._range;
|
|
1116
|
+
this.api.dispatchAction({
|
|
1117
|
+
type: "dataZoom",
|
|
1118
|
+
from: this.uid,
|
|
1119
|
+
dataZoomId: this.dataZoomModel.id,
|
|
1120
|
+
animation: e ? pt : null,
|
|
1121
|
+
start: t[0],
|
|
1122
|
+
end: t[1]
|
|
1123
|
+
});
|
|
1124
|
+
}, o.prototype._findCoordRect = function() {
|
|
1125
|
+
var e, t = fe(this.dataZoomModel).infoList;
|
|
1126
|
+
if (!e && t.length) {
|
|
1127
|
+
var i = t[0].model.coordinateSystem;
|
|
1128
|
+
e = i.getRect && i.getRect();
|
|
1129
|
+
}
|
|
1130
|
+
if (!e) {
|
|
1131
|
+
var r = this.api.getWidth(), a = this.api.getHeight();
|
|
1132
|
+
e = {
|
|
1133
|
+
x: r * 0.2,
|
|
1134
|
+
y: a * 0.2,
|
|
1135
|
+
width: r * 0.6,
|
|
1136
|
+
height: a * 0.6
|
|
1137
|
+
};
|
|
1138
|
+
}
|
|
1139
|
+
return e;
|
|
1140
|
+
}, o.type = "dataZoom.slider", o;
|
|
1141
|
+
})(ve)
|
|
1142
|
+
);
|
|
1143
|
+
function ft(s) {
|
|
1144
|
+
var o = {
|
|
1145
|
+
x: "y",
|
|
1146
|
+
y: "x",
|
|
1147
|
+
radius: "angle",
|
|
1148
|
+
angle: "radius"
|
|
1149
|
+
};
|
|
1150
|
+
return o[s];
|
|
1151
|
+
}
|
|
1152
|
+
function de(s) {
|
|
1153
|
+
return s === "vertical" ? "ns-resize" : "ew-resize";
|
|
1154
|
+
}
|
|
1155
|
+
function vt(s) {
|
|
1156
|
+
s.registerComponentModel(st), s.registerComponentView(ct), ge(s);
|
|
1157
|
+
}
|
|
1158
|
+
function _t(s) {
|
|
1159
|
+
K(nt), K(vt);
|
|
1160
|
+
}
|
|
1161
|
+
export {
|
|
1162
|
+
k as D,
|
|
1163
|
+
nt as a,
|
|
1164
|
+
vt as b,
|
|
1165
|
+
ve as c,
|
|
1166
|
+
ge as d,
|
|
1167
|
+
_t as i
|
|
1168
|
+
};
|