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,586 @@
|
|
|
1
|
+
import { _ as y, C as J, b9 as G, cc as Q, h as d, m as b, cd as tt, J as et, L as rt, o as it, s as nt, ce as at, aR as R, bb as B, a as ot, T as st, t as w, ba as lt, a4 as ut, l as ct, f as K, R as N, u as I, U as ft, G as ht, x as vt, cf as xt, bc as z, bd as V, b as pt } from "./echarts-BVht3HHb.js";
|
|
2
|
+
import { A as dt, a as gt, b as yt, c as mt } from "./axisAlignTicks-BqVUa467.js";
|
|
3
|
+
import { O as At, e as Ct, d as St, f as k, g as H, h as Lt, j as E, n as Z, k as _t, m as Mt, A as bt, o as wt } from "./installCanvasRenderer-CLT2hquJ.js";
|
|
4
|
+
var Tt = (
|
|
5
|
+
/** @class */
|
|
6
|
+
(function(i) {
|
|
7
|
+
y(e, i);
|
|
8
|
+
function e() {
|
|
9
|
+
return i !== null && i.apply(this, arguments) || this;
|
|
10
|
+
}
|
|
11
|
+
return e.type = "grid", e.dependencies = ["xAxis", "yAxis"], e.layoutMode = "box", e.defaultOption = {
|
|
12
|
+
show: !1,
|
|
13
|
+
// zlevel: 0,
|
|
14
|
+
z: 0,
|
|
15
|
+
left: "10%",
|
|
16
|
+
top: 60,
|
|
17
|
+
right: "10%",
|
|
18
|
+
bottom: 70,
|
|
19
|
+
// If grid size contain label
|
|
20
|
+
containLabel: !1,
|
|
21
|
+
// width: {totalWidth} - left - right,
|
|
22
|
+
// height: {totalHeight} - top - bottom,
|
|
23
|
+
backgroundColor: "rgba(0,0,0,0)",
|
|
24
|
+
borderWidth: 1,
|
|
25
|
+
borderColor: "#ccc"
|
|
26
|
+
}, e;
|
|
27
|
+
})(J)
|
|
28
|
+
), D = (
|
|
29
|
+
/** @class */
|
|
30
|
+
(function(i) {
|
|
31
|
+
y(e, i);
|
|
32
|
+
function e() {
|
|
33
|
+
return i !== null && i.apply(this, arguments) || this;
|
|
34
|
+
}
|
|
35
|
+
return e.prototype.getCoordSysModel = function() {
|
|
36
|
+
return this.getReferringComponents("grid", G).models[0];
|
|
37
|
+
}, e.type = "cartesian2dAxis", e;
|
|
38
|
+
})(J)
|
|
39
|
+
);
|
|
40
|
+
Q(D, dt);
|
|
41
|
+
var Gt = {
|
|
42
|
+
value: 1,
|
|
43
|
+
category: 1,
|
|
44
|
+
time: 1,
|
|
45
|
+
log: 1
|
|
46
|
+
};
|
|
47
|
+
function F(i, e, t, n) {
|
|
48
|
+
d(Gt, function(r, a) {
|
|
49
|
+
var o = b(b({}, gt[a], !0), n, !0), s = (
|
|
50
|
+
/** @class */
|
|
51
|
+
(function(f) {
|
|
52
|
+
y(l, f);
|
|
53
|
+
function l() {
|
|
54
|
+
var u = f !== null && f.apply(this, arguments) || this;
|
|
55
|
+
return u.type = e + "Axis." + a, u;
|
|
56
|
+
}
|
|
57
|
+
return l.prototype.mergeDefaultAndTheme = function(u, c) {
|
|
58
|
+
var x = tt(this), v = x ? et(u) : {}, h = c.getTheme();
|
|
59
|
+
b(u, h.get(a + "Axis")), b(u, this.getDefaultOption()), u.type = X(u), x && rt(u, v, x);
|
|
60
|
+
}, l.prototype.optionUpdated = function() {
|
|
61
|
+
var u = this.option;
|
|
62
|
+
u.type === "category" && (this.__ordinalMeta = At.createByAxisModel(this));
|
|
63
|
+
}, l.prototype.getCategories = function(u) {
|
|
64
|
+
var c = this.option;
|
|
65
|
+
if (c.type === "category")
|
|
66
|
+
return u ? c.data : this.__ordinalMeta.categories;
|
|
67
|
+
}, l.prototype.getOrdinalMeta = function() {
|
|
68
|
+
return this.__ordinalMeta;
|
|
69
|
+
}, l.type = e + "Axis." + a, l.defaultOption = o, l;
|
|
70
|
+
})(t)
|
|
71
|
+
);
|
|
72
|
+
i.registerComponentModel(s);
|
|
73
|
+
}), i.registerSubTypeDefaulter(e + "Axis", X);
|
|
74
|
+
}
|
|
75
|
+
function X(i) {
|
|
76
|
+
return i.type || (i.data ? "category" : "value");
|
|
77
|
+
}
|
|
78
|
+
var Et = (
|
|
79
|
+
/** @class */
|
|
80
|
+
(function() {
|
|
81
|
+
function i(e) {
|
|
82
|
+
this.type = "cartesian", this._dimList = [], this._axes = {}, this.name = e || "";
|
|
83
|
+
}
|
|
84
|
+
return i.prototype.getAxis = function(e) {
|
|
85
|
+
return this._axes[e];
|
|
86
|
+
}, i.prototype.getAxes = function() {
|
|
87
|
+
return it(this._dimList, function(e) {
|
|
88
|
+
return this._axes[e];
|
|
89
|
+
}, this);
|
|
90
|
+
}, i.prototype.getAxesByScale = function(e) {
|
|
91
|
+
return e = e.toLowerCase(), nt(this.getAxes(), function(t) {
|
|
92
|
+
return t.scale.type === e;
|
|
93
|
+
});
|
|
94
|
+
}, i.prototype.addAxis = function(e) {
|
|
95
|
+
var t = e.dim;
|
|
96
|
+
this._axes[t] = e, this._dimList.push(t);
|
|
97
|
+
}, i;
|
|
98
|
+
})()
|
|
99
|
+
), O = ["x", "y"];
|
|
100
|
+
function Y(i) {
|
|
101
|
+
return i.type === "interval" || i.type === "time";
|
|
102
|
+
}
|
|
103
|
+
var Dt = (
|
|
104
|
+
/** @class */
|
|
105
|
+
(function(i) {
|
|
106
|
+
y(e, i);
|
|
107
|
+
function e() {
|
|
108
|
+
var t = i !== null && i.apply(this, arguments) || this;
|
|
109
|
+
return t.type = "cartesian2d", t.dimensions = O, t;
|
|
110
|
+
}
|
|
111
|
+
return e.prototype.calcAffineTransform = function() {
|
|
112
|
+
this._transform = this._invTransform = null;
|
|
113
|
+
var t = this.getAxis("x").scale, n = this.getAxis("y").scale;
|
|
114
|
+
if (!(!Y(t) || !Y(n))) {
|
|
115
|
+
var r = t.getExtent(), a = n.getExtent(), o = this.dataToPoint([r[0], a[0]]), s = this.dataToPoint([r[1], a[1]]), f = r[1] - r[0], l = a[1] - a[0];
|
|
116
|
+
if (!(!f || !l)) {
|
|
117
|
+
var u = (s[0] - o[0]) / f, c = (s[1] - o[1]) / l, x = o[0] - r[0] * u, v = o[1] - a[0] * c, h = this._transform = [u, 0, 0, c, x, v];
|
|
118
|
+
this._invTransform = at([], h);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}, e.prototype.getBaseAxis = function() {
|
|
122
|
+
return this.getAxesByScale("ordinal")[0] || this.getAxesByScale("time")[0] || this.getAxis("x");
|
|
123
|
+
}, e.prototype.containPoint = function(t) {
|
|
124
|
+
var n = this.getAxis("x"), r = this.getAxis("y");
|
|
125
|
+
return n.contain(n.toLocalCoord(t[0])) && r.contain(r.toLocalCoord(t[1]));
|
|
126
|
+
}, e.prototype.containData = function(t) {
|
|
127
|
+
return this.getAxis("x").containData(t[0]) && this.getAxis("y").containData(t[1]);
|
|
128
|
+
}, e.prototype.containZone = function(t, n) {
|
|
129
|
+
var r = this.dataToPoint(t), a = this.dataToPoint(n), o = this.getArea(), s = new R(r[0], r[1], a[0] - r[0], a[1] - r[1]);
|
|
130
|
+
return o.intersect(s);
|
|
131
|
+
}, e.prototype.dataToPoint = function(t, n, r) {
|
|
132
|
+
r = r || [];
|
|
133
|
+
var a = t[0], o = t[1];
|
|
134
|
+
if (this._transform && a != null && isFinite(a) && o != null && isFinite(o))
|
|
135
|
+
return B(r, t, this._transform);
|
|
136
|
+
var s = this.getAxis("x"), f = this.getAxis("y");
|
|
137
|
+
return r[0] = s.toGlobalCoord(s.dataToCoord(a, n)), r[1] = f.toGlobalCoord(f.dataToCoord(o, n)), r;
|
|
138
|
+
}, e.prototype.clampData = function(t, n) {
|
|
139
|
+
var r = this.getAxis("x").scale, a = this.getAxis("y").scale, o = r.getExtent(), s = a.getExtent(), f = r.parse(t[0]), l = a.parse(t[1]);
|
|
140
|
+
return n = n || [], n[0] = Math.min(Math.max(Math.min(o[0], o[1]), f), Math.max(o[0], o[1])), n[1] = Math.min(Math.max(Math.min(s[0], s[1]), l), Math.max(s[0], s[1])), n;
|
|
141
|
+
}, e.prototype.pointToData = function(t, n) {
|
|
142
|
+
var r = [];
|
|
143
|
+
if (this._invTransform)
|
|
144
|
+
return B(r, t, this._invTransform);
|
|
145
|
+
var a = this.getAxis("x"), o = this.getAxis("y");
|
|
146
|
+
return r[0] = a.coordToData(a.toLocalCoord(t[0]), n), r[1] = o.coordToData(o.toLocalCoord(t[1]), n), r;
|
|
147
|
+
}, e.prototype.getOtherAxis = function(t) {
|
|
148
|
+
return this.getAxis(t.dim === "x" ? "y" : "x");
|
|
149
|
+
}, e.prototype.getArea = function(t) {
|
|
150
|
+
t = t || 0;
|
|
151
|
+
var n = this.getAxis("x").getGlobalExtent(), r = this.getAxis("y").getGlobalExtent(), a = Math.min(n[0], n[1]) - t, o = Math.min(r[0], r[1]) - t, s = Math.max(n[0], n[1]) - a + t, f = Math.max(r[0], r[1]) - o + t;
|
|
152
|
+
return new R(a, o, s, f);
|
|
153
|
+
}, e;
|
|
154
|
+
})(Et)
|
|
155
|
+
), Ot = (
|
|
156
|
+
/** @class */
|
|
157
|
+
(function(i) {
|
|
158
|
+
y(e, i);
|
|
159
|
+
function e(t, n, r, a, o) {
|
|
160
|
+
var s = i.call(this, t, n, r) || this;
|
|
161
|
+
return s.index = 0, s.type = a || "value", s.position = o || "bottom", s;
|
|
162
|
+
}
|
|
163
|
+
return e.prototype.isHorizontal = function() {
|
|
164
|
+
var t = this.position;
|
|
165
|
+
return t === "top" || t === "bottom";
|
|
166
|
+
}, e.prototype.getGlobalExtent = function(t) {
|
|
167
|
+
var n = this.getExtent();
|
|
168
|
+
return n[0] = this.toGlobalCoord(n[0]), n[1] = this.toGlobalCoord(n[1]), t && n[0] > n[1] && n.reverse(), n;
|
|
169
|
+
}, e.prototype.pointToData = function(t, n) {
|
|
170
|
+
return this.coordToData(this.toLocalCoord(t[this.dim === "x" ? 0 : 1]), n);
|
|
171
|
+
}, e.prototype.setCategorySortInfo = function(t) {
|
|
172
|
+
if (this.type !== "category")
|
|
173
|
+
return !1;
|
|
174
|
+
this.model.option.categorySortInfo = t, this.scale.setSortInfo(t);
|
|
175
|
+
}, e;
|
|
176
|
+
})(yt)
|
|
177
|
+
), Pt = (
|
|
178
|
+
/** @class */
|
|
179
|
+
(function() {
|
|
180
|
+
function i(e, t, n) {
|
|
181
|
+
this.type = "grid", this._coordsMap = {}, this._coordsList = [], this._axesMap = {}, this._axesList = [], this.axisPointerEnabled = !0, this.dimensions = O, this._initCartesian(e, t, n), this.model = e;
|
|
182
|
+
}
|
|
183
|
+
return i.prototype.getRect = function() {
|
|
184
|
+
return this._rect;
|
|
185
|
+
}, i.prototype.update = function(e, t) {
|
|
186
|
+
var n = this._axesMap;
|
|
187
|
+
this._updateScale(e, this.model);
|
|
188
|
+
function r(o) {
|
|
189
|
+
var s, f = ut(o), l = f.length;
|
|
190
|
+
if (l) {
|
|
191
|
+
for (var u = [], c = l - 1; c >= 0; c--) {
|
|
192
|
+
var x = +f[c], v = o[x], h = v.model, p = v.scale;
|
|
193
|
+
// Only value and log axis without interval support alignTicks.
|
|
194
|
+
E(p) && h.get("alignTicks") && h.get("interval") == null ? u.push(v) : (Z(p, h), E(p) && (s = v));
|
|
195
|
+
}
|
|
196
|
+
u.length && (s || (s = u.pop(), Z(s.scale, s.model)), d(u, function(g) {
|
|
197
|
+
mt(g.scale, g.model, s.scale);
|
|
198
|
+
}));
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
r(n.x), r(n.y);
|
|
202
|
+
var a = {};
|
|
203
|
+
d(n.x, function(o) {
|
|
204
|
+
W(n, "y", o, a);
|
|
205
|
+
}), d(n.y, function(o) {
|
|
206
|
+
W(n, "x", o, a);
|
|
207
|
+
}), this.resize(this.model, t);
|
|
208
|
+
}, i.prototype.resize = function(e, t, n) {
|
|
209
|
+
var r = e.getBoxLayoutParams(), a = !n && e.get("containLabel"), o = ot(r, {
|
|
210
|
+
width: t.getWidth(),
|
|
211
|
+
height: t.getHeight()
|
|
212
|
+
});
|
|
213
|
+
this._rect = o;
|
|
214
|
+
var s = this._axesList;
|
|
215
|
+
f(), a && (d(s, function(l) {
|
|
216
|
+
if (!l.model.get(["axisLabel", "inside"])) {
|
|
217
|
+
var u = Ct(l);
|
|
218
|
+
if (u) {
|
|
219
|
+
var c = l.isHorizontal() ? "height" : "width", x = l.model.get(["axisLabel", "margin"]);
|
|
220
|
+
o[c] -= u[c] + x, l.position === "top" ? o.y += u.height + x : l.position === "left" && (o.x += u.width + x);
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}), f()), d(this._coordsList, function(l) {
|
|
224
|
+
l.calcAffineTransform();
|
|
225
|
+
});
|
|
226
|
+
function f() {
|
|
227
|
+
d(s, function(l) {
|
|
228
|
+
var u = l.isHorizontal(), c = u ? [0, o.width] : [0, o.height], x = l.inverse ? 1 : 0;
|
|
229
|
+
l.setExtent(c[x], c[1 - x]), It(l, u ? o.x : o.y);
|
|
230
|
+
});
|
|
231
|
+
}
|
|
232
|
+
}, i.prototype.getAxis = function(e, t) {
|
|
233
|
+
var n = this._axesMap[e];
|
|
234
|
+
if (n != null)
|
|
235
|
+
return n[t || 0];
|
|
236
|
+
}, i.prototype.getAxes = function() {
|
|
237
|
+
return this._axesList.slice();
|
|
238
|
+
}, i.prototype.getCartesian = function(e, t) {
|
|
239
|
+
if (e != null && t != null) {
|
|
240
|
+
var n = "x" + e + "y" + t;
|
|
241
|
+
return this._coordsMap[n];
|
|
242
|
+
}
|
|
243
|
+
st(e) && (t = e.yAxisIndex, e = e.xAxisIndex);
|
|
244
|
+
for (var r = 0, a = this._coordsList; r < a.length; r++)
|
|
245
|
+
if (a[r].getAxis("x").index === e || a[r].getAxis("y").index === t)
|
|
246
|
+
return a[r];
|
|
247
|
+
}, i.prototype.getCartesians = function() {
|
|
248
|
+
return this._coordsList.slice();
|
|
249
|
+
}, i.prototype.convertToPixel = function(e, t, n) {
|
|
250
|
+
var r = this._findConvertTarget(t);
|
|
251
|
+
return r.cartesian ? r.cartesian.dataToPoint(n) : r.axis ? r.axis.toGlobalCoord(r.axis.dataToCoord(n)) : null;
|
|
252
|
+
}, i.prototype.convertFromPixel = function(e, t, n) {
|
|
253
|
+
var r = this._findConvertTarget(t);
|
|
254
|
+
return r.cartesian ? r.cartesian.pointToData(n) : r.axis ? r.axis.coordToData(r.axis.toLocalCoord(n)) : null;
|
|
255
|
+
}, i.prototype._findConvertTarget = function(e) {
|
|
256
|
+
var t = e.seriesModel, n = e.xAxisModel || t && t.getReferringComponents("xAxis", G).models[0], r = e.yAxisModel || t && t.getReferringComponents("yAxis", G).models[0], a = e.gridModel, o = this._coordsList, s, f;
|
|
257
|
+
if (t)
|
|
258
|
+
s = t.coordinateSystem, w(o, s) < 0 && (s = null);
|
|
259
|
+
else if (n && r)
|
|
260
|
+
s = this.getCartesian(n.componentIndex, r.componentIndex);
|
|
261
|
+
else if (n)
|
|
262
|
+
f = this.getAxis("x", n.componentIndex);
|
|
263
|
+
else if (r)
|
|
264
|
+
f = this.getAxis("y", r.componentIndex);
|
|
265
|
+
else if (a) {
|
|
266
|
+
var l = a.coordinateSystem;
|
|
267
|
+
l === this && (s = this._coordsList[0]);
|
|
268
|
+
}
|
|
269
|
+
return {
|
|
270
|
+
cartesian: s,
|
|
271
|
+
axis: f
|
|
272
|
+
};
|
|
273
|
+
}, i.prototype.containPoint = function(e) {
|
|
274
|
+
var t = this._coordsList[0];
|
|
275
|
+
if (t)
|
|
276
|
+
return t.containPoint(e);
|
|
277
|
+
}, i.prototype._initCartesian = function(e, t, n) {
|
|
278
|
+
var r = this, a = this, o = {
|
|
279
|
+
left: !1,
|
|
280
|
+
right: !1,
|
|
281
|
+
top: !1,
|
|
282
|
+
bottom: !1
|
|
283
|
+
}, s = {
|
|
284
|
+
x: {},
|
|
285
|
+
y: {}
|
|
286
|
+
}, f = {
|
|
287
|
+
x: 0,
|
|
288
|
+
y: 0
|
|
289
|
+
};
|
|
290
|
+
if (t.eachComponent("xAxis", l("x"), this), t.eachComponent("yAxis", l("y"), this), !f.x || !f.y) {
|
|
291
|
+
this._axesMap = {}, this._axesList = [];
|
|
292
|
+
return;
|
|
293
|
+
}
|
|
294
|
+
this._axesMap = s, d(s.x, function(u, c) {
|
|
295
|
+
d(s.y, function(x, v) {
|
|
296
|
+
var h = "x" + c + "y" + v, p = new Dt(h);
|
|
297
|
+
p.master = r, p.model = e, r._coordsMap[h] = p, r._coordsList.push(p), p.addAxis(u), p.addAxis(x);
|
|
298
|
+
});
|
|
299
|
+
});
|
|
300
|
+
function l(u) {
|
|
301
|
+
return function(c, x) {
|
|
302
|
+
if (T(c, e)) {
|
|
303
|
+
var v = c.get("position");
|
|
304
|
+
u === "x" ? v !== "top" && v !== "bottom" && (v = o.bottom ? "top" : "bottom") : v !== "left" && v !== "right" && (v = o.left ? "right" : "left"), o[v] = !0;
|
|
305
|
+
var h = new Ot(u, St(c), [0, 0], c.get("type"), v), p = h.type === "category";
|
|
306
|
+
h.onBand = p && c.get("boundaryGap"), h.inverse = c.get("inverse"), c.axis = h, h.model = c, h.grid = a, h.index = x, a._axesList.push(h), s[u][x] = h, f[u]++;
|
|
307
|
+
}
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
}, i.prototype._updateScale = function(e, t) {
|
|
311
|
+
d(this._axesList, function(r) {
|
|
312
|
+
if (r.scale.setExtent(1 / 0, -1 / 0), r.type === "category") {
|
|
313
|
+
var a = r.model.get("categorySortInfo");
|
|
314
|
+
r.scale.setSortInfo(a);
|
|
315
|
+
}
|
|
316
|
+
}), e.eachSeries(function(r) {
|
|
317
|
+
if (k(r)) {
|
|
318
|
+
var a = H(r), o = a.xAxisModel, s = a.yAxisModel;
|
|
319
|
+
if (!T(o, t) || !T(s, t))
|
|
320
|
+
return;
|
|
321
|
+
var f = this.getCartesian(o.componentIndex, s.componentIndex), l = r.getData(), u = f.getAxis("x"), c = f.getAxis("y");
|
|
322
|
+
n(l, u), n(l, c);
|
|
323
|
+
}
|
|
324
|
+
}, this);
|
|
325
|
+
function n(r, a) {
|
|
326
|
+
d(Lt(r, a.dim), function(o) {
|
|
327
|
+
a.scale.unionExtentFromData(r, o);
|
|
328
|
+
});
|
|
329
|
+
}
|
|
330
|
+
}, i.prototype.getTooltipAxes = function(e) {
|
|
331
|
+
var t = [], n = [];
|
|
332
|
+
return d(this.getCartesians(), function(r) {
|
|
333
|
+
var a = e != null && e !== "auto" ? r.getAxis(e) : r.getBaseAxis(), o = r.getOtherAxis(a);
|
|
334
|
+
w(t, a) < 0 && t.push(a), w(n, o) < 0 && n.push(o);
|
|
335
|
+
}), {
|
|
336
|
+
baseAxes: t,
|
|
337
|
+
otherAxes: n
|
|
338
|
+
};
|
|
339
|
+
}, i.create = function(e, t) {
|
|
340
|
+
var n = [];
|
|
341
|
+
return e.eachComponent("grid", function(r, a) {
|
|
342
|
+
var o = new i(r, e, t);
|
|
343
|
+
o.name = "grid_" + a, o.resize(r, t, !0), r.coordinateSystem = o, n.push(o);
|
|
344
|
+
}), e.eachSeries(function(r) {
|
|
345
|
+
if (k(r)) {
|
|
346
|
+
var a = H(r), o = a.xAxisModel, s = a.yAxisModel, f = o.getCoordSysModel();
|
|
347
|
+
if (process.env.NODE_ENV !== "production") {
|
|
348
|
+
if (!f)
|
|
349
|
+
throw new Error('Grid "' + lt(o.get("gridIndex"), o.get("gridId"), 0) + '" not found');
|
|
350
|
+
if (o.getCoordSysModel() !== s.getCoordSysModel())
|
|
351
|
+
throw new Error("xAxis and yAxis must use the same grid");
|
|
352
|
+
}
|
|
353
|
+
var l = f.coordinateSystem;
|
|
354
|
+
r.coordinateSystem = l.getCartesian(o.componentIndex, s.componentIndex);
|
|
355
|
+
}
|
|
356
|
+
}), n;
|
|
357
|
+
}, i.dimensions = O, i;
|
|
358
|
+
})()
|
|
359
|
+
);
|
|
360
|
+
function T(i, e) {
|
|
361
|
+
return i.getCoordSysModel() === e;
|
|
362
|
+
}
|
|
363
|
+
function W(i, e, t, n) {
|
|
364
|
+
t.getAxesOnZeroOf = function() {
|
|
365
|
+
return a ? [a] : [];
|
|
366
|
+
};
|
|
367
|
+
var r = i[e], a, o = t.model, s = o.get(["axisLine", "onZero"]), f = o.get(["axisLine", "onZeroAxisIndex"]);
|
|
368
|
+
if (!s)
|
|
369
|
+
return;
|
|
370
|
+
if (f != null)
|
|
371
|
+
j(r[f]) && (a = r[f]);
|
|
372
|
+
else
|
|
373
|
+
for (var l in r)
|
|
374
|
+
if (r.hasOwnProperty(l) && j(r[l]) && !n[u(r[l])]) {
|
|
375
|
+
a = r[l];
|
|
376
|
+
break;
|
|
377
|
+
}
|
|
378
|
+
a && (n[u(a)] = !0);
|
|
379
|
+
function u(c) {
|
|
380
|
+
return c.dim + "_" + c.index;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
function j(i) {
|
|
384
|
+
return i && i.type !== "category" && i.type !== "time" && _t(i);
|
|
385
|
+
}
|
|
386
|
+
function It(i, e) {
|
|
387
|
+
var t = i.getExtent(), n = t[0] + t[1];
|
|
388
|
+
i.toGlobalCoord = i.dim === "x" ? function(r) {
|
|
389
|
+
return r + e;
|
|
390
|
+
} : function(r) {
|
|
391
|
+
return n - r + e;
|
|
392
|
+
}, i.toLocalCoord = i.dim === "x" ? function(r) {
|
|
393
|
+
return r - e;
|
|
394
|
+
} : function(r) {
|
|
395
|
+
return n - r + e;
|
|
396
|
+
};
|
|
397
|
+
}
|
|
398
|
+
var P = ft();
|
|
399
|
+
function Rt(i, e, t, n) {
|
|
400
|
+
var r = t.axis;
|
|
401
|
+
if (!r.scale.isBlank()) {
|
|
402
|
+
var a = t.getModel("splitArea"), o = a.getModel("areaStyle"), s = o.get("color"), f = n.coordinateSystem.getRect(), l = r.getTicksCoords({
|
|
403
|
+
tickModel: a,
|
|
404
|
+
clamp: !0
|
|
405
|
+
});
|
|
406
|
+
if (l.length) {
|
|
407
|
+
var u = s.length, c = P(i).splitAreaColors, x = ct(), v = 0;
|
|
408
|
+
if (c)
|
|
409
|
+
for (var h = 0; h < l.length; h++) {
|
|
410
|
+
var p = c.get(l[h].tickValue);
|
|
411
|
+
if (p != null) {
|
|
412
|
+
v = (p + (u - 1) * h) % u;
|
|
413
|
+
break;
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
var g = r.toGlobalCoord(l[0].coord), m = o.getAreaStyle();
|
|
417
|
+
s = K(s) ? s : [s];
|
|
418
|
+
for (var h = 1; h < l.length; h++) {
|
|
419
|
+
var C = r.toGlobalCoord(l[h].coord), A = void 0, S = void 0, L = void 0, _ = void 0;
|
|
420
|
+
r.isHorizontal() ? (A = g, S = f.y, L = C - A, _ = f.height, g = A + L) : (A = f.x, S = g, L = f.width, _ = C - S, g = S + _);
|
|
421
|
+
var M = l[h - 1].tickValue;
|
|
422
|
+
M != null && x.set(M, v), e.add(new N({
|
|
423
|
+
anid: M != null ? "area_" + M : null,
|
|
424
|
+
shape: {
|
|
425
|
+
x: A,
|
|
426
|
+
y: S,
|
|
427
|
+
width: L,
|
|
428
|
+
height: _
|
|
429
|
+
},
|
|
430
|
+
style: I({
|
|
431
|
+
fill: s[v]
|
|
432
|
+
}, m),
|
|
433
|
+
autoBatch: !0,
|
|
434
|
+
silent: !0
|
|
435
|
+
})), v = (v + 1) % u;
|
|
436
|
+
}
|
|
437
|
+
P(i).splitAreaColors = x;
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
function Bt(i) {
|
|
442
|
+
P(i).splitAreaColors = null;
|
|
443
|
+
}
|
|
444
|
+
var zt = ["axisLine", "axisTickLabel", "axisName"], Vt = ["splitArea", "splitLine", "minorSplitLine"], $ = (
|
|
445
|
+
/** @class */
|
|
446
|
+
(function(i) {
|
|
447
|
+
y(e, i);
|
|
448
|
+
function e() {
|
|
449
|
+
var t = i !== null && i.apply(this, arguments) || this;
|
|
450
|
+
return t.type = e.type, t.axisPointerClass = "CartesianAxisPointer", t;
|
|
451
|
+
}
|
|
452
|
+
return e.prototype.render = function(t, n, r, a) {
|
|
453
|
+
this.group.removeAll();
|
|
454
|
+
var o = this._axisGroup;
|
|
455
|
+
if (this._axisGroup = new ht(), this.group.add(this._axisGroup), !!t.get("show")) {
|
|
456
|
+
var s = t.getCoordSysModel(), f = Mt(s, t), l = new bt(t, vt({
|
|
457
|
+
handleAutoShown: function(c) {
|
|
458
|
+
for (var x = s.coordinateSystem.getCartesians(), v = 0; v < x.length; v++)
|
|
459
|
+
if (E(x[v].getOtherAxis(t.axis).scale))
|
|
460
|
+
return !0;
|
|
461
|
+
return !1;
|
|
462
|
+
}
|
|
463
|
+
}, f));
|
|
464
|
+
d(zt, l.add, l), this._axisGroup.add(l.getGroup()), d(Vt, function(c) {
|
|
465
|
+
t.get([c, "show"]) && kt[c](this, this._axisGroup, t, s);
|
|
466
|
+
}, this);
|
|
467
|
+
var u = a && a.type === "changeAxisOrder" && a.isInitSort;
|
|
468
|
+
u || xt(o, this._axisGroup, t), i.prototype.render.call(this, t, n, r, a);
|
|
469
|
+
}
|
|
470
|
+
}, e.prototype.remove = function() {
|
|
471
|
+
Bt(this);
|
|
472
|
+
}, e.type = "cartesianAxis", e;
|
|
473
|
+
})(wt)
|
|
474
|
+
), kt = {
|
|
475
|
+
splitLine: function(i, e, t, n) {
|
|
476
|
+
var r = t.axis;
|
|
477
|
+
if (!r.scale.isBlank()) {
|
|
478
|
+
var a = t.getModel("splitLine"), o = a.getModel("lineStyle"), s = o.get("color"), f = a.get("showMinLine") !== !1, l = a.get("showMaxLine") !== !1;
|
|
479
|
+
s = K(s) ? s : [s];
|
|
480
|
+
for (var u = n.coordinateSystem.getRect(), c = r.isHorizontal(), x = 0, v = r.getTicksCoords({
|
|
481
|
+
tickModel: a
|
|
482
|
+
}), h = [], p = [], g = o.getLineStyle(), m = 0; m < v.length; m++) {
|
|
483
|
+
var C = r.toGlobalCoord(v[m].coord);
|
|
484
|
+
if (!(m === 0 && !f || m === v.length - 1 && !l)) {
|
|
485
|
+
var A = v[m].tickValue;
|
|
486
|
+
c ? (h[0] = C, h[1] = u.y, p[0] = C, p[1] = u.y + u.height) : (h[0] = u.x, h[1] = C, p[0] = u.x + u.width, p[1] = C);
|
|
487
|
+
var S = x++ % s.length, L = new z({
|
|
488
|
+
anid: A != null ? "line_" + A : null,
|
|
489
|
+
autoBatch: !0,
|
|
490
|
+
shape: {
|
|
491
|
+
x1: h[0],
|
|
492
|
+
y1: h[1],
|
|
493
|
+
x2: p[0],
|
|
494
|
+
y2: p[1]
|
|
495
|
+
},
|
|
496
|
+
style: I({
|
|
497
|
+
stroke: s[S]
|
|
498
|
+
}, g),
|
|
499
|
+
silent: !0
|
|
500
|
+
});
|
|
501
|
+
V(L.shape, g.lineWidth), e.add(L);
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
},
|
|
506
|
+
minorSplitLine: function(i, e, t, n) {
|
|
507
|
+
var r = t.axis, a = t.getModel("minorSplitLine"), o = a.getModel("lineStyle"), s = n.coordinateSystem.getRect(), f = r.isHorizontal(), l = r.getMinorTicksCoords();
|
|
508
|
+
if (l.length)
|
|
509
|
+
for (var u = [], c = [], x = o.getLineStyle(), v = 0; v < l.length; v++)
|
|
510
|
+
for (var h = 0; h < l[v].length; h++) {
|
|
511
|
+
var p = r.toGlobalCoord(l[v][h].coord);
|
|
512
|
+
f ? (u[0] = p, u[1] = s.y, c[0] = p, c[1] = s.y + s.height) : (u[0] = s.x, u[1] = p, c[0] = s.x + s.width, c[1] = p);
|
|
513
|
+
var g = new z({
|
|
514
|
+
anid: "minor_line_" + l[v][h].tickValue,
|
|
515
|
+
autoBatch: !0,
|
|
516
|
+
shape: {
|
|
517
|
+
x1: u[0],
|
|
518
|
+
y1: u[1],
|
|
519
|
+
x2: c[0],
|
|
520
|
+
y2: c[1]
|
|
521
|
+
},
|
|
522
|
+
style: x,
|
|
523
|
+
silent: !0
|
|
524
|
+
});
|
|
525
|
+
V(g.shape, x.lineWidth), e.add(g);
|
|
526
|
+
}
|
|
527
|
+
},
|
|
528
|
+
splitArea: function(i, e, t, n) {
|
|
529
|
+
Rt(i, e, t, n);
|
|
530
|
+
}
|
|
531
|
+
}, q = (
|
|
532
|
+
/** @class */
|
|
533
|
+
(function(i) {
|
|
534
|
+
y(e, i);
|
|
535
|
+
function e() {
|
|
536
|
+
var t = i !== null && i.apply(this, arguments) || this;
|
|
537
|
+
return t.type = e.type, t;
|
|
538
|
+
}
|
|
539
|
+
return e.type = "xAxis", e;
|
|
540
|
+
})($)
|
|
541
|
+
), Ht = (
|
|
542
|
+
/** @class */
|
|
543
|
+
(function(i) {
|
|
544
|
+
y(e, i);
|
|
545
|
+
function e() {
|
|
546
|
+
var t = i !== null && i.apply(this, arguments) || this;
|
|
547
|
+
return t.type = q.type, t;
|
|
548
|
+
}
|
|
549
|
+
return e.type = "yAxis", e;
|
|
550
|
+
})($)
|
|
551
|
+
), Zt = (
|
|
552
|
+
/** @class */
|
|
553
|
+
(function(i) {
|
|
554
|
+
y(e, i);
|
|
555
|
+
function e() {
|
|
556
|
+
var t = i !== null && i.apply(this, arguments) || this;
|
|
557
|
+
return t.type = "grid", t;
|
|
558
|
+
}
|
|
559
|
+
return e.prototype.render = function(t, n) {
|
|
560
|
+
this.group.removeAll(), t.get("show") && this.group.add(new N({
|
|
561
|
+
shape: t.coordinateSystem.getRect(),
|
|
562
|
+
style: I({
|
|
563
|
+
fill: t.get("backgroundColor")
|
|
564
|
+
}, t.getItemStyle()),
|
|
565
|
+
silent: !0,
|
|
566
|
+
z2: -1
|
|
567
|
+
}));
|
|
568
|
+
}, e.type = "grid", e;
|
|
569
|
+
})(pt)
|
|
570
|
+
), U = {
|
|
571
|
+
// gridIndex: 0,
|
|
572
|
+
// gridId: '',
|
|
573
|
+
offset: 0
|
|
574
|
+
};
|
|
575
|
+
function Wt(i) {
|
|
576
|
+
i.registerComponentView(Zt), i.registerComponentModel(Tt), i.registerCoordinateSystem("cartesian2d", Pt), F(i, "x", D, U), F(i, "y", D, U), i.registerComponentView(q), i.registerComponentView(Ht), i.registerPreprocessor(function(e) {
|
|
577
|
+
e.xAxis && e.yAxis && !e.grid && (e.grid = {});
|
|
578
|
+
});
|
|
579
|
+
}
|
|
580
|
+
export {
|
|
581
|
+
Et as C,
|
|
582
|
+
F as a,
|
|
583
|
+
Rt as b,
|
|
584
|
+
Wt as i,
|
|
585
|
+
Bt as r
|
|
586
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const l=require("./echarts-BB8O2KSA.cjs"),w=require("./axisAlignTicks-CDNWKJRo.cjs"),g=require("./installCanvasRenderer-CyhM1Qpl.cjs");var F=(function(i){l.__extends(e,i);function e(){return i!==null&&i.apply(this,arguments)||this}return e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e})(l.ComponentModel),b=(function(i){l.__extends(e,i);function e(){return i!==null&&i.apply(this,arguments)||this}return e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",l.SINGLE_REFERRING).models[0]},e.type="cartesian2dAxis",e})(l.ComponentModel);l.mixin(b,w.AxisModelCommonMixin);var X={value:1,category:1,time:1,log:1};function E(i,e,t,n){l.each(X,function(r,o){var a=l.merge(l.merge({},w.axisDefault[o],!0),n,!0),s=(function(f){l.__extends(c,f);function c(){var u=f!==null&&f.apply(this,arguments)||this;return u.type=e+"Axis."+o,u}return c.prototype.mergeDefaultAndTheme=function(u,h){var v=l.fetchLayoutMode(this),x=v?l.getLayoutParams(u):{},d=h.getTheme();l.merge(u,d.get(o+"Axis")),l.merge(u,this.getDefaultOption()),u.type=D(u),v&&l.mergeLayoutParam(u,x,v)},c.prototype.optionUpdated=function(){var u=this.option;u.type==="category"&&(this.__ordinalMeta=g.OrdinalMeta.createByAxisModel(this))},c.prototype.getCategories=function(u){var h=this.option;if(h.type==="category")return u?h.data:this.__ordinalMeta.categories},c.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},c.type=e+"Axis."+o,c.defaultOption=a,c})(t);i.registerComponentModel(s)}),i.registerSubTypeDefaulter(e+"Axis",D)}function D(i){return i.type||(i.data?"category":"value")}var z=(function(){function i(e){this.type="cartesian",this._dimList=[],this._axes={},this.name=e||""}return i.prototype.getAxis=function(e){return this._axes[e]},i.prototype.getAxes=function(){return l.map(this._dimList,function(e){return this._axes[e]},this)},i.prototype.getAxesByScale=function(e){return e=e.toLowerCase(),l.filter(this.getAxes(),function(t){return t.scale.type===e})},i.prototype.addAxis=function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)},i})(),G=["x","y"];function R(i){return i.type==="interval"||i.type==="time"}var Y=(function(i){l.__extends(e,i);function e(){var t=i!==null&&i.apply(this,arguments)||this;return t.type="cartesian2d",t.dimensions=G,t}return e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,n=this.getAxis("y").scale;if(!(!R(t)||!R(n))){var r=t.getExtent(),o=n.getExtent(),a=this.dataToPoint([r[0],o[0]]),s=this.dataToPoint([r[1],o[1]]),f=r[1]-r[0],c=o[1]-o[0];if(!(!f||!c)){var u=(s[0]-a[0])/f,h=(s[1]-a[1])/c,v=a[0]-r[0]*u,x=a[1]-o[0]*h,d=this._transform=[u,0,0,h,v,x];this._invTransform=l.invert([],d)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var n=this.getAxis("x"),r=this.getAxis("y");return n.contain(n.toLocalCoord(t[0]))&&r.contain(r.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,n){var r=this.dataToPoint(t),o=this.dataToPoint(n),a=this.getArea(),s=new l.BoundingRect(r[0],r[1],o[0]-r[0],o[1]-r[1]);return a.intersect(s)},e.prototype.dataToPoint=function(t,n,r){r=r||[];var o=t[0],a=t[1];if(this._transform&&o!=null&&isFinite(o)&&a!=null&&isFinite(a))return l.applyTransform(r,t,this._transform);var s=this.getAxis("x"),f=this.getAxis("y");return r[0]=s.toGlobalCoord(s.dataToCoord(o,n)),r[1]=f.toGlobalCoord(f.dataToCoord(a,n)),r},e.prototype.clampData=function(t,n){var r=this.getAxis("x").scale,o=this.getAxis("y").scale,a=r.getExtent(),s=o.getExtent(),f=r.parse(t[0]),c=o.parse(t[1]);return n=n||[],n[0]=Math.min(Math.max(Math.min(a[0],a[1]),f),Math.max(a[0],a[1])),n[1]=Math.min(Math.max(Math.min(s[0],s[1]),c),Math.max(s[0],s[1])),n},e.prototype.pointToData=function(t,n){var r=[];if(this._invTransform)return l.applyTransform(r,t,this._invTransform);var o=this.getAxis("x"),a=this.getAxis("y");return r[0]=o.coordToData(o.toLocalCoord(t[0]),n),r[1]=a.coordToData(a.toLocalCoord(t[1]),n),r},e.prototype.getOtherAxis=function(t){return this.getAxis(t.dim==="x"?"y":"x")},e.prototype.getArea=function(t){t=t||0;var n=this.getAxis("x").getGlobalExtent(),r=this.getAxis("y").getGlobalExtent(),o=Math.min(n[0],n[1])-t,a=Math.min(r[0],r[1])-t,s=Math.max(n[0],n[1])-o+t,f=Math.max(r[0],r[1])-a+t;return new l.BoundingRect(o,a,s,f)},e})(z),N=(function(i){l.__extends(e,i);function e(t,n,r,o,a){var s=i.call(this,t,n,r)||this;return s.index=0,s.type=o||"value",s.position=a||"bottom",s}return e.prototype.isHorizontal=function(){var t=this.position;return t==="top"||t==="bottom"},e.prototype.getGlobalExtent=function(t){var n=this.getExtent();return n[0]=this.toGlobalCoord(n[0]),n[1]=this.toGlobalCoord(n[1]),t&&n[0]>n[1]&&n.reverse(),n},e.prototype.pointToData=function(t,n){return this.coordToData(this.toLocalCoord(t[this.dim==="x"?0:1]),n)},e.prototype.setCategorySortInfo=function(t){if(this.type!=="category")return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e})(w.Axis),W=(function(){function i(e,t,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=G,this._initCartesian(e,t,n),this.model=e}return i.prototype.getRect=function(){return this._rect},i.prototype.update=function(e,t){var n=this._axesMap;this._updateScale(e,this.model);function r(a){var s,f=l.keys(a),c=f.length;if(c){for(var u=[],h=c-1;h>=0;h--){var v=+f[h],x=a[v],d=x.model,p=x.scale;g.isIntervalOrLogScale(p)&&d.get("alignTicks")&&d.get("interval")==null?u.push(x):(g.niceScaleExtent(p,d),g.isIntervalOrLogScale(p)&&(s=x))}u.length&&(s||(s=u.pop(),g.niceScaleExtent(s.scale,s.model)),l.each(u,function(y){w.alignScaleTicks(y.scale,y.model,s.scale)}))}}r(n.x),r(n.y);var o={};l.each(n.x,function(a){I(n,"y",a,o)}),l.each(n.y,function(a){I(n,"x",a,o)}),this.resize(this.model,t)},i.prototype.resize=function(e,t,n){var r=e.getBoxLayoutParams(),o=!n&&e.get("containLabel"),a=l.getLayoutRect(r,{width:t.getWidth(),height:t.getHeight()});this._rect=a;var s=this._axesList;f(),o&&(l.each(s,function(c){if(!c.model.get(["axisLabel","inside"])){var u=g.estimateLabelUnionRect(c);if(u){var h=c.isHorizontal()?"height":"width",v=c.model.get(["axisLabel","margin"]);a[h]-=u[h]+v,c.position==="top"?a.y+=u.height+v:c.position==="left"&&(a.x+=u.width+v)}}}),f()),l.each(this._coordsList,function(c){c.calcAffineTransform()});function f(){l.each(s,function(c){var u=c.isHorizontal(),h=u?[0,a.width]:[0,a.height],v=c.inverse?1:0;c.setExtent(h[v],h[1-v]),q(c,u?a.x:a.y)})}},i.prototype.getAxis=function(e,t){var n=this._axesMap[e];if(n!=null)return n[t||0]},i.prototype.getAxes=function(){return this._axesList.slice()},i.prototype.getCartesian=function(e,t){if(e!=null&&t!=null){var n="x"+e+"y"+t;return this._coordsMap[n]}l.isObject(e)&&(t=e.yAxisIndex,e=e.xAxisIndex);for(var r=0,o=this._coordsList;r<o.length;r++)if(o[r].getAxis("x").index===e||o[r].getAxis("y").index===t)return o[r]},i.prototype.getCartesians=function(){return this._coordsList.slice()},i.prototype.convertToPixel=function(e,t,n){var r=this._findConvertTarget(t);return r.cartesian?r.cartesian.dataToPoint(n):r.axis?r.axis.toGlobalCoord(r.axis.dataToCoord(n)):null},i.prototype.convertFromPixel=function(e,t,n){var r=this._findConvertTarget(t);return r.cartesian?r.cartesian.pointToData(n):r.axis?r.axis.coordToData(r.axis.toLocalCoord(n)):null},i.prototype._findConvertTarget=function(e){var t=e.seriesModel,n=e.xAxisModel||t&&t.getReferringComponents("xAxis",l.SINGLE_REFERRING).models[0],r=e.yAxisModel||t&&t.getReferringComponents("yAxis",l.SINGLE_REFERRING).models[0],o=e.gridModel,a=this._coordsList,s,f;if(t)s=t.coordinateSystem,l.indexOf(a,s)<0&&(s=null);else if(n&&r)s=this.getCartesian(n.componentIndex,r.componentIndex);else if(n)f=this.getAxis("x",n.componentIndex);else if(r)f=this.getAxis("y",r.componentIndex);else if(o){var c=o.coordinateSystem;c===this&&(s=this._coordsList[0])}return{cartesian:s,axis:f}},i.prototype.containPoint=function(e){var t=this._coordsList[0];if(t)return t.containPoint(e)},i.prototype._initCartesian=function(e,t,n){var r=this,o=this,a={left:!1,right:!1,top:!1,bottom:!1},s={x:{},y:{}},f={x:0,y:0};if(t.eachComponent("xAxis",c("x"),this),t.eachComponent("yAxis",c("y"),this),!f.x||!f.y){this._axesMap={},this._axesList=[];return}this._axesMap=s,l.each(s.x,function(u,h){l.each(s.y,function(v,x){var d="x"+h+"y"+x,p=new Y(d);p.master=r,p.model=e,r._coordsMap[d]=p,r._coordsList.push(p),p.addAxis(u),p.addAxis(v)})});function c(u){return function(h,v){if(T(h,e)){var x=h.get("position");u==="x"?x!=="top"&&x!=="bottom"&&(x=a.bottom?"top":"bottom"):x!=="left"&&x!=="right"&&(x=a.left?"right":"left"),a[x]=!0;var d=new N(u,g.createScaleByModel(h),[0,0],h.get("type"),x),p=d.type==="category";d.onBand=p&&h.get("boundaryGap"),d.inverse=h.get("inverse"),h.axis=d,d.model=h,d.grid=o,d.index=v,o._axesList.push(d),s[u][v]=d,f[u]++}}}},i.prototype._updateScale=function(e,t){l.each(this._axesList,function(r){if(r.scale.setExtent(1/0,-1/0),r.type==="category"){var o=r.model.get("categorySortInfo");r.scale.setSortInfo(o)}}),e.eachSeries(function(r){if(g.isCartesian2DSeries(r)){var o=g.findAxisModels(r),a=o.xAxisModel,s=o.yAxisModel;if(!T(a,t)||!T(s,t))return;var f=this.getCartesian(a.componentIndex,s.componentIndex),c=r.getData(),u=f.getAxis("x"),h=f.getAxis("y");n(c,u),n(c,h)}},this);function n(r,o){l.each(g.getDataDimensionsOnAxis(r,o.dim),function(a){o.scale.unionExtentFromData(r,a)})}},i.prototype.getTooltipAxes=function(e){var t=[],n=[];return l.each(this.getCartesians(),function(r){var o=e!=null&&e!=="auto"?r.getAxis(e):r.getBaseAxis(),a=r.getOtherAxis(o);l.indexOf(t,o)<0&&t.push(o),l.indexOf(n,a)<0&&n.push(a)}),{baseAxes:t,otherAxes:n}},i.create=function(e,t){var n=[];return e.eachComponent("grid",function(r,o){var a=new i(r,e,t);a.name="grid_"+o,a.resize(r,t,!0),r.coordinateSystem=a,n.push(a)}),e.eachSeries(function(r){if(g.isCartesian2DSeries(r)){var o=g.findAxisModels(r),a=o.xAxisModel,s=o.yAxisModel,f=a.getCoordSysModel();if(process.env.NODE_ENV!=="production"){if(!f)throw new Error('Grid "'+l.retrieve3(a.get("gridIndex"),a.get("gridId"),0)+'" not found');if(a.getCoordSysModel()!==s.getCoordSysModel())throw new Error("xAxis and yAxis must use the same grid")}var c=f.coordinateSystem;r.coordinateSystem=c.getCartesian(a.componentIndex,s.componentIndex)}}),n},i.dimensions=G,i})();function T(i,e){return i.getCoordSysModel()===e}function I(i,e,t,n){t.getAxesOnZeroOf=function(){return o?[o]:[]};var r=i[e],o,a=t.model,s=a.get(["axisLine","onZero"]),f=a.get(["axisLine","onZeroAxisIndex"]);if(!s)return;if(f!=null)P(r[f])&&(o=r[f]);else for(var c in r)if(r.hasOwnProperty(c)&&P(r[c])&&!n[u(r[c])]){o=r[c];break}o&&(n[u(o)]=!0);function u(h){return h.dim+"_"+h.index}}function P(i){return i&&i.type!=="category"&&i.type!=="time"&&g.ifAxisCrossZero(i)}function q(i,e){var t=i.getExtent(),n=t[0]+t[1];i.toGlobalCoord=i.dim==="x"?function(r){return r+e}:function(r){return n-r+e},i.toLocalCoord=i.dim==="x"?function(r){return r-e}:function(r){return n-r+e}}var O=l.makeInner();function V(i,e,t,n){var r=t.axis;if(!r.scale.isBlank()){var o=t.getModel("splitArea"),a=o.getModel("areaStyle"),s=a.get("color"),f=n.coordinateSystem.getRect(),c=r.getTicksCoords({tickModel:o,clamp:!0});if(c.length){var u=s.length,h=O(i).splitAreaColors,v=l.createHashMap(),x=0;if(h)for(var d=0;d<c.length;d++){var p=h.get(c[d].tickValue);if(p!=null){x=(p+(u-1)*d)%u;break}}var y=r.toGlobalCoord(c[0].coord),m=a.getAreaStyle();s=l.isArray(s)?s:[s];for(var d=1;d<c.length;d++){var C=r.toGlobalCoord(c[d].coord),A=void 0,S=void 0,_=void 0,L=void 0;r.isHorizontal()?(A=y,S=f.y,_=C-A,L=f.height,y=A+_):(A=f.x,S=y,_=f.width,L=C-S,y=S+L);var M=c[d-1].tickValue;M!=null&&v.set(M,x),e.add(new l.Rect({anid:M!=null?"area_"+M:null,shape:{x:A,y:S,width:_,height:L},style:l.defaults({fill:s[x]},m),autoBatch:!0,silent:!0})),x=(x+1)%u}O(i).splitAreaColors=v}}}function k(i){O(i).splitAreaColors=null}var j=["axisLine","axisTickLabel","axisName"],K=["splitArea","splitLine","minorSplitLine"],H=(function(i){l.__extends(e,i);function e(){var t=i!==null&&i.apply(this,arguments)||this;return t.type=e.type,t.axisPointerClass="CartesianAxisPointer",t}return e.prototype.render=function(t,n,r,o){this.group.removeAll();var a=this._axisGroup;if(this._axisGroup=new l.Group,this.group.add(this._axisGroup),!!t.get("show")){var s=t.getCoordSysModel(),f=g.layout$1(s,t),c=new g.AxisBuilder(t,l.extend({handleAutoShown:function(h){for(var v=s.coordinateSystem.getCartesians(),x=0;x<v.length;x++)if(g.isIntervalOrLogScale(v[x].getOtherAxis(t.axis).scale))return!0;return!1}},f));l.each(j,c.add,c),this._axisGroup.add(c.getGroup()),l.each(K,function(h){t.get([h,"show"])&&U[h](this,this._axisGroup,t,s)},this);var u=o&&o.type==="changeAxisOrder"&&o.isInitSort;u||l.groupTransition(a,this._axisGroup,t),i.prototype.render.call(this,t,n,r,o)}},e.prototype.remove=function(){k(this)},e.type="cartesianAxis",e})(g.AxisView),U={splitLine:function(i,e,t,n){var r=t.axis;if(!r.scale.isBlank()){var o=t.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color"),f=o.get("showMinLine")!==!1,c=o.get("showMaxLine")!==!1;s=l.isArray(s)?s:[s];for(var u=n.coordinateSystem.getRect(),h=r.isHorizontal(),v=0,x=r.getTicksCoords({tickModel:o}),d=[],p=[],y=a.getLineStyle(),m=0;m<x.length;m++){var C=r.toGlobalCoord(x[m].coord);if(!(m===0&&!f||m===x.length-1&&!c)){var A=x[m].tickValue;h?(d[0]=C,d[1]=u.y,p[0]=C,p[1]=u.y+u.height):(d[0]=u.x,d[1]=C,p[0]=u.x+u.width,p[1]=C);var S=v++%s.length,_=new l.Line({anid:A!=null?"line_"+A:null,autoBatch:!0,shape:{x1:d[0],y1:d[1],x2:p[0],y2:p[1]},style:l.defaults({stroke:s[S]},y),silent:!0});l.subPixelOptimizeLine(_.shape,y.lineWidth),e.add(_)}}}},minorSplitLine:function(i,e,t,n){var r=t.axis,o=t.getModel("minorSplitLine"),a=o.getModel("lineStyle"),s=n.coordinateSystem.getRect(),f=r.isHorizontal(),c=r.getMinorTicksCoords();if(c.length)for(var u=[],h=[],v=a.getLineStyle(),x=0;x<c.length;x++)for(var d=0;d<c[x].length;d++){var p=r.toGlobalCoord(c[x][d].coord);f?(u[0]=p,u[1]=s.y,h[0]=p,h[1]=s.y+s.height):(u[0]=s.x,u[1]=p,h[0]=s.x+s.width,h[1]=p);var y=new l.Line({anid:"minor_line_"+c[x][d].tickValue,autoBatch:!0,shape:{x1:u[0],y1:u[1],x2:h[0],y2:h[1]},style:v,silent:!0});l.subPixelOptimizeLine(y.shape,v.lineWidth),e.add(y)}},splitArea:function(i,e,t,n){V(i,e,t,n)}},Z=(function(i){l.__extends(e,i);function e(){var t=i!==null&&i.apply(this,arguments)||this;return t.type=e.type,t}return e.type="xAxis",e})(H),$=(function(i){l.__extends(e,i);function e(){var t=i!==null&&i.apply(this,arguments)||this;return t.type=Z.type,t}return e.type="yAxis",e})(H),J=(function(i){l.__extends(e,i);function e(){var t=i!==null&&i.apply(this,arguments)||this;return t.type="grid",t}return e.prototype.render=function(t,n){this.group.removeAll(),t.get("show")&&this.group.add(new l.Rect({shape:t.coordinateSystem.getRect(),style:l.defaults({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e})(l.ComponentView),B={offset:0};function Q(i){i.registerComponentView(J),i.registerComponentModel(F),i.registerCoordinateSystem("cartesian2d",W),E(i,"x",b,B),E(i,"y",b,B),i.registerComponentView(Z),i.registerComponentView($),i.registerPreprocessor(function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})})}exports.Cartesian=z;exports.axisModelCreator=E;exports.install=Q;exports.rectCoordAxisBuildSplitArea=V;exports.rectCoordAxisHandleRemove=k;
|