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,895 @@
|
|
|
1
|
+
import { h as p, E as U, S as mt, x as Et, U as Dt, o as St, a4 as wt, q as et, cc as ct, l as j, b8 as at, a3 as Mt, ch as bt, t as kt, _ as Z, g as rt, c6 as nt, z as it, ba as Vt, c9 as ot, c8 as ut, R as ht, aS as Tt, ee as Gt, ef as At, ca as _t, j as st, cn as Rt, c1 as Bt, M as Ct, bD as lt, aT as zt, s as Pt, a as jt, dh as Ft } from "./echarts-BVht3HHb.js";
|
|
2
|
+
import { p as Ot, S as dt } from "./installCanvasRenderer-CLT2hquJ.js";
|
|
3
|
+
import { c as Xt } from "./createSeriesData-E53TTCAt.js";
|
|
4
|
+
import { V as Yt } from "./VisualMapping-D-MA7S0X.js";
|
|
5
|
+
var E = Dt();
|
|
6
|
+
function Ht(a) {
|
|
7
|
+
var e = a.mainData, t = a.datas;
|
|
8
|
+
t || (t = {
|
|
9
|
+
main: e
|
|
10
|
+
}, a.datasAttr = {
|
|
11
|
+
main: "data"
|
|
12
|
+
}), a.datas = a.mainData = null, vt(e, t, a), p(t, function(r) {
|
|
13
|
+
p(e.TRANSFERABLE_METHODS, function(n) {
|
|
14
|
+
r.wrapMethod(n, U(Nt, a));
|
|
15
|
+
});
|
|
16
|
+
}), e.wrapMethod("cloneShallow", U(Wt, a)), p(e.CHANGABLE_METHODS, function(r) {
|
|
17
|
+
e.wrapMethod(r, U(qt, a));
|
|
18
|
+
}), mt(t[e.dataType] === e);
|
|
19
|
+
}
|
|
20
|
+
function Nt(a, e) {
|
|
21
|
+
if (Jt(this)) {
|
|
22
|
+
var t = Et({}, E(this).datas);
|
|
23
|
+
t[this.dataType] = e, vt(e, t, a);
|
|
24
|
+
} else
|
|
25
|
+
$(e, this.dataType, E(this).mainData, a);
|
|
26
|
+
return e;
|
|
27
|
+
}
|
|
28
|
+
function qt(a, e) {
|
|
29
|
+
return a.struct && a.struct.update(), e;
|
|
30
|
+
}
|
|
31
|
+
function Wt(a, e) {
|
|
32
|
+
return p(E(e).datas, function(t, r) {
|
|
33
|
+
t !== e && $(t.cloneShallow(), r, e, a);
|
|
34
|
+
}), e;
|
|
35
|
+
}
|
|
36
|
+
function Kt(a) {
|
|
37
|
+
var e = E(this).mainData;
|
|
38
|
+
return a == null || e == null ? e : E(e).datas[a];
|
|
39
|
+
}
|
|
40
|
+
function Ut() {
|
|
41
|
+
var a = E(this).mainData;
|
|
42
|
+
return a == null ? [{
|
|
43
|
+
data: a
|
|
44
|
+
}] : St(wt(E(a).datas), function(e) {
|
|
45
|
+
return {
|
|
46
|
+
type: e,
|
|
47
|
+
data: E(a).datas[e]
|
|
48
|
+
};
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
function Jt(a) {
|
|
52
|
+
return E(a).mainData === a;
|
|
53
|
+
}
|
|
54
|
+
function vt(a, e, t) {
|
|
55
|
+
E(a).datas = {}, p(e, function(r, n) {
|
|
56
|
+
$(r, n, a, t);
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
function $(a, e, t, r) {
|
|
60
|
+
E(t).datas[e] = a, E(a).mainData = t, a.dataType = e, r.struct && (a[r.structAttr] = r.struct, r.struct[r.datasAttr[e]] = a), a.getLinkedData = Kt, a.getLinkedDataAll = Ut;
|
|
61
|
+
}
|
|
62
|
+
function R(a) {
|
|
63
|
+
return "_EC_" + a;
|
|
64
|
+
}
|
|
65
|
+
var Zt = (
|
|
66
|
+
/** @class */
|
|
67
|
+
(function() {
|
|
68
|
+
function a(e) {
|
|
69
|
+
this.type = "graph", this.nodes = [], this.edges = [], this._nodesMap = {}, this._edgesMap = {}, this._directed = e || !1;
|
|
70
|
+
}
|
|
71
|
+
return a.prototype.isDirected = function() {
|
|
72
|
+
return this._directed;
|
|
73
|
+
}, a.prototype.addNode = function(e, t) {
|
|
74
|
+
e = e == null ? "" + t : "" + e;
|
|
75
|
+
var r = this._nodesMap;
|
|
76
|
+
if (r[R(e)]) {
|
|
77
|
+
process.env.NODE_ENV !== "production" && console.error("Graph nodes have duplicate name or id");
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
var n = new V(e, t);
|
|
81
|
+
return n.hostGraph = this, this.nodes.push(n), r[R(e)] = n, n;
|
|
82
|
+
}, a.prototype.getNodeByIndex = function(e) {
|
|
83
|
+
var t = this.data.getRawIndex(e);
|
|
84
|
+
return this.nodes[t];
|
|
85
|
+
}, a.prototype.getNodeById = function(e) {
|
|
86
|
+
return this._nodesMap[R(e)];
|
|
87
|
+
}, a.prototype.addEdge = function(e, t, r) {
|
|
88
|
+
var n = this._nodesMap, i = this._edgesMap;
|
|
89
|
+
if (et(e) && (e = this.nodes[e]), et(t) && (t = this.nodes[t]), e instanceof V || (e = n[R(e)]), t instanceof V || (t = n[R(t)]), !(!e || !t)) {
|
|
90
|
+
var u = e.id + "-" + t.id, o = new ft(e, t, r);
|
|
91
|
+
return o.hostGraph = this, this._directed && (e.outEdges.push(o), t.inEdges.push(o)), e.edges.push(o), e !== t && t.edges.push(o), this.edges.push(o), i[u] = o, o;
|
|
92
|
+
}
|
|
93
|
+
}, a.prototype.getEdgeByIndex = function(e) {
|
|
94
|
+
var t = this.edgeData.getRawIndex(e);
|
|
95
|
+
return this.edges[t];
|
|
96
|
+
}, a.prototype.getEdge = function(e, t) {
|
|
97
|
+
e instanceof V && (e = e.id), t instanceof V && (t = t.id);
|
|
98
|
+
var r = this._edgesMap;
|
|
99
|
+
return this._directed ? r[e + "-" + t] : r[e + "-" + t] || r[t + "-" + e];
|
|
100
|
+
}, a.prototype.eachNode = function(e, t) {
|
|
101
|
+
for (var r = this.nodes, n = r.length, i = 0; i < n; i++)
|
|
102
|
+
r[i].dataIndex >= 0 && e.call(t, r[i], i);
|
|
103
|
+
}, a.prototype.eachEdge = function(e, t) {
|
|
104
|
+
for (var r = this.edges, n = r.length, i = 0; i < n; i++)
|
|
105
|
+
r[i].dataIndex >= 0 && r[i].node1.dataIndex >= 0 && r[i].node2.dataIndex >= 0 && e.call(t, r[i], i);
|
|
106
|
+
}, a.prototype.breadthFirstTraverse = function(e, t, r, n) {
|
|
107
|
+
if (t instanceof V || (t = this._nodesMap[R(t)]), !!t) {
|
|
108
|
+
for (var i = r === "out" ? "outEdges" : r === "in" ? "inEdges" : "edges", u = 0; u < this.nodes.length; u++)
|
|
109
|
+
this.nodes[u].__visited = !1;
|
|
110
|
+
if (!e.call(n, t, null))
|
|
111
|
+
for (var o = [t]; o.length; )
|
|
112
|
+
for (var s = o.shift(), l = s[i], u = 0; u < l.length; u++) {
|
|
113
|
+
var d = l[u], v = d.node1 === s ? d.node2 : d.node1;
|
|
114
|
+
if (!v.__visited) {
|
|
115
|
+
if (e.call(n, v, s))
|
|
116
|
+
return;
|
|
117
|
+
o.push(v), v.__visited = !0;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}, a.prototype.update = function() {
|
|
122
|
+
for (var e = this.data, t = this.edgeData, r = this.nodes, n = this.edges, i = 0, u = r.length; i < u; i++)
|
|
123
|
+
r[i].dataIndex = -1;
|
|
124
|
+
for (var i = 0, u = e.count(); i < u; i++)
|
|
125
|
+
r[e.getRawIndex(i)].dataIndex = i;
|
|
126
|
+
t.filterSelf(function(o) {
|
|
127
|
+
var s = n[t.getRawIndex(o)];
|
|
128
|
+
return s.node1.dataIndex >= 0 && s.node2.dataIndex >= 0;
|
|
129
|
+
});
|
|
130
|
+
for (var i = 0, u = n.length; i < u; i++)
|
|
131
|
+
n[i].dataIndex = -1;
|
|
132
|
+
for (var i = 0, u = t.count(); i < u; i++)
|
|
133
|
+
n[t.getRawIndex(i)].dataIndex = i;
|
|
134
|
+
}, a.prototype.clone = function() {
|
|
135
|
+
for (var e = new a(this._directed), t = this.nodes, r = this.edges, n = 0; n < t.length; n++)
|
|
136
|
+
e.addNode(t[n].id, t[n].dataIndex);
|
|
137
|
+
for (var n = 0; n < r.length; n++) {
|
|
138
|
+
var i = r[n];
|
|
139
|
+
e.addEdge(i.node1.id, i.node2.id, i.dataIndex);
|
|
140
|
+
}
|
|
141
|
+
return e;
|
|
142
|
+
}, a;
|
|
143
|
+
})()
|
|
144
|
+
), V = (
|
|
145
|
+
/** @class */
|
|
146
|
+
(function() {
|
|
147
|
+
function a(e, t) {
|
|
148
|
+
this.inEdges = [], this.outEdges = [], this.edges = [], this.dataIndex = -1, this.id = e == null ? "" : e, this.dataIndex = t == null ? -1 : t;
|
|
149
|
+
}
|
|
150
|
+
return a.prototype.degree = function() {
|
|
151
|
+
return this.edges.length;
|
|
152
|
+
}, a.prototype.inDegree = function() {
|
|
153
|
+
return this.inEdges.length;
|
|
154
|
+
}, a.prototype.outDegree = function() {
|
|
155
|
+
return this.outEdges.length;
|
|
156
|
+
}, a.prototype.getModel = function(e) {
|
|
157
|
+
if (!(this.dataIndex < 0)) {
|
|
158
|
+
var t = this.hostGraph, r = t.data.getItemModel(this.dataIndex);
|
|
159
|
+
return r.getModel(e);
|
|
160
|
+
}
|
|
161
|
+
}, a.prototype.getAdjacentDataIndices = function() {
|
|
162
|
+
for (var e = {
|
|
163
|
+
edge: [],
|
|
164
|
+
node: []
|
|
165
|
+
}, t = 0; t < this.edges.length; t++) {
|
|
166
|
+
var r = this.edges[t];
|
|
167
|
+
r.dataIndex < 0 || (e.edge.push(r.dataIndex), e.node.push(r.node1.dataIndex, r.node2.dataIndex));
|
|
168
|
+
}
|
|
169
|
+
return e;
|
|
170
|
+
}, a.prototype.getTrajectoryDataIndices = function() {
|
|
171
|
+
for (var e = j(), t = j(), r = 0; r < this.edges.length; r++) {
|
|
172
|
+
var n = this.edges[r];
|
|
173
|
+
if (!(n.dataIndex < 0)) {
|
|
174
|
+
e.set(n.dataIndex, !0);
|
|
175
|
+
for (var i = [n.node1], u = [n.node2], o = 0; o < i.length; ) {
|
|
176
|
+
var s = i[o];
|
|
177
|
+
o++, t.set(s.dataIndex, !0);
|
|
178
|
+
for (var l = 0; l < s.inEdges.length; l++)
|
|
179
|
+
e.set(s.inEdges[l].dataIndex, !0), i.push(s.inEdges[l].node1);
|
|
180
|
+
}
|
|
181
|
+
for (o = 0; o < u.length; ) {
|
|
182
|
+
var d = u[o];
|
|
183
|
+
o++, t.set(d.dataIndex, !0);
|
|
184
|
+
for (var l = 0; l < d.outEdges.length; l++)
|
|
185
|
+
e.set(d.outEdges[l].dataIndex, !0), u.push(d.outEdges[l].node2);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
return {
|
|
190
|
+
edge: e.keys(),
|
|
191
|
+
node: t.keys()
|
|
192
|
+
};
|
|
193
|
+
}, a;
|
|
194
|
+
})()
|
|
195
|
+
), ft = (
|
|
196
|
+
/** @class */
|
|
197
|
+
(function() {
|
|
198
|
+
function a(e, t, r) {
|
|
199
|
+
this.dataIndex = -1, this.node1 = e, this.node2 = t, this.dataIndex = r == null ? -1 : r;
|
|
200
|
+
}
|
|
201
|
+
return a.prototype.getModel = function(e) {
|
|
202
|
+
if (!(this.dataIndex < 0)) {
|
|
203
|
+
var t = this.hostGraph, r = t.edgeData.getItemModel(this.dataIndex);
|
|
204
|
+
return r.getModel(e);
|
|
205
|
+
}
|
|
206
|
+
}, a.prototype.getAdjacentDataIndices = function() {
|
|
207
|
+
return {
|
|
208
|
+
edge: [this.dataIndex],
|
|
209
|
+
node: [this.node1.dataIndex, this.node2.dataIndex]
|
|
210
|
+
};
|
|
211
|
+
}, a.prototype.getTrajectoryDataIndices = function() {
|
|
212
|
+
var e = j(), t = j();
|
|
213
|
+
e.set(this.dataIndex, !0);
|
|
214
|
+
for (var r = [this.node1], n = [this.node2], i = 0; i < r.length; ) {
|
|
215
|
+
var u = r[i];
|
|
216
|
+
i++, t.set(u.dataIndex, !0);
|
|
217
|
+
for (var o = 0; o < u.inEdges.length; o++)
|
|
218
|
+
e.set(u.inEdges[o].dataIndex, !0), r.push(u.inEdges[o].node1);
|
|
219
|
+
}
|
|
220
|
+
for (i = 0; i < n.length; ) {
|
|
221
|
+
var s = n[i];
|
|
222
|
+
i++, t.set(s.dataIndex, !0);
|
|
223
|
+
for (var o = 0; o < s.outEdges.length; o++)
|
|
224
|
+
e.set(s.outEdges[o].dataIndex, !0), n.push(s.outEdges[o].node2);
|
|
225
|
+
}
|
|
226
|
+
return {
|
|
227
|
+
edge: e.keys(),
|
|
228
|
+
node: t.keys()
|
|
229
|
+
};
|
|
230
|
+
}, a;
|
|
231
|
+
})()
|
|
232
|
+
);
|
|
233
|
+
function yt(a, e) {
|
|
234
|
+
return {
|
|
235
|
+
/**
|
|
236
|
+
* @param Default 'value'. can be 'a', 'b', 'c', 'd', 'e'.
|
|
237
|
+
*/
|
|
238
|
+
getValue: function(t) {
|
|
239
|
+
var r = this[a][e];
|
|
240
|
+
return r.getStore().get(r.getDimensionIndex(t || "value"), this.dataIndex);
|
|
241
|
+
},
|
|
242
|
+
// TODO: TYPE stricter type.
|
|
243
|
+
setVisual: function(t, r) {
|
|
244
|
+
this.dataIndex >= 0 && this[a][e].setItemVisual(this.dataIndex, t, r);
|
|
245
|
+
},
|
|
246
|
+
getVisual: function(t) {
|
|
247
|
+
return this[a][e].getItemVisual(this.dataIndex, t);
|
|
248
|
+
},
|
|
249
|
+
setLayout: function(t, r) {
|
|
250
|
+
this.dataIndex >= 0 && this[a][e].setItemLayout(this.dataIndex, t, r);
|
|
251
|
+
},
|
|
252
|
+
getLayout: function() {
|
|
253
|
+
return this[a][e].getItemLayout(this.dataIndex);
|
|
254
|
+
},
|
|
255
|
+
getGraphicEl: function() {
|
|
256
|
+
return this[a][e].getItemGraphicEl(this.dataIndex);
|
|
257
|
+
},
|
|
258
|
+
getRawIndex: function() {
|
|
259
|
+
return this[a][e].getRawIndex(this.dataIndex);
|
|
260
|
+
}
|
|
261
|
+
};
|
|
262
|
+
}
|
|
263
|
+
ct(V, yt("hostGraph", "data"));
|
|
264
|
+
ct(ft, yt("hostGraph", "edgeData"));
|
|
265
|
+
function $t(a, e, t, r, n) {
|
|
266
|
+
for (var i = new Zt(r), u = 0; u < a.length; u++)
|
|
267
|
+
i.addNode(at(
|
|
268
|
+
// Id, name, dataIndex
|
|
269
|
+
a[u].id,
|
|
270
|
+
a[u].name,
|
|
271
|
+
u
|
|
272
|
+
), u);
|
|
273
|
+
for (var o = [], s = [], l = 0, u = 0; u < e.length; u++) {
|
|
274
|
+
var d = e[u], v = d.source, y = d.target;
|
|
275
|
+
i.addEdge(v, y, l) && (s.push(d), o.push(at(Mt(d.id, null), v + " > " + y)), l++);
|
|
276
|
+
}
|
|
277
|
+
var h = t.get("coordinateSystem"), g;
|
|
278
|
+
if (h === "cartesian2d" || h === "polar")
|
|
279
|
+
g = Xt(a, t);
|
|
280
|
+
else {
|
|
281
|
+
var c = bt.get(h), f = c ? c.dimensions || [] : [];
|
|
282
|
+
kt(f, "value") < 0 && f.concat(["value"]);
|
|
283
|
+
var x = Ot(a, {
|
|
284
|
+
coordDimensions: f,
|
|
285
|
+
encodeDefine: t.getEncode()
|
|
286
|
+
}).dimensions;
|
|
287
|
+
g = new dt(x, t), g.initData(a);
|
|
288
|
+
}
|
|
289
|
+
var I = new dt(["value"], t);
|
|
290
|
+
return I.initData(s, o), n && n(g, I), Ht({
|
|
291
|
+
mainData: g,
|
|
292
|
+
struct: i,
|
|
293
|
+
structAttr: "graph",
|
|
294
|
+
datas: {
|
|
295
|
+
node: g,
|
|
296
|
+
edge: I
|
|
297
|
+
},
|
|
298
|
+
datasAttr: {
|
|
299
|
+
node: "data",
|
|
300
|
+
edge: "edgeData"
|
|
301
|
+
}
|
|
302
|
+
}), i.update(), i;
|
|
303
|
+
}
|
|
304
|
+
var Qt = (
|
|
305
|
+
/** @class */
|
|
306
|
+
/* @__PURE__ */ (function() {
|
|
307
|
+
function a() {
|
|
308
|
+
this.x1 = 0, this.y1 = 0, this.x2 = 0, this.y2 = 0, this.cpx1 = 0, this.cpy1 = 0, this.cpx2 = 0, this.cpy2 = 0, this.extent = 0;
|
|
309
|
+
}
|
|
310
|
+
return a;
|
|
311
|
+
})()
|
|
312
|
+
), te = (
|
|
313
|
+
/** @class */
|
|
314
|
+
(function(a) {
|
|
315
|
+
Z(e, a);
|
|
316
|
+
function e(t) {
|
|
317
|
+
return a.call(this, t) || this;
|
|
318
|
+
}
|
|
319
|
+
return e.prototype.getDefaultShape = function() {
|
|
320
|
+
return new Qt();
|
|
321
|
+
}, e.prototype.buildPath = function(t, r) {
|
|
322
|
+
var n = r.extent;
|
|
323
|
+
t.moveTo(r.x1, r.y1), t.bezierCurveTo(r.cpx1, r.cpy1, r.cpx2, r.cpy2, r.x2, r.y2), r.orient === "vertical" ? (t.lineTo(r.x2 + n, r.y2), t.bezierCurveTo(r.cpx2 + n, r.cpy2, r.cpx1 + n, r.cpy1, r.x1 + n, r.y1)) : (t.lineTo(r.x2, r.y2 + n), t.bezierCurveTo(r.cpx2, r.cpy2 + n, r.cpx1, r.cpy1 + n, r.x1, r.y1 + n)), t.closePath();
|
|
324
|
+
}, e.prototype.highlight = function() {
|
|
325
|
+
Gt(this);
|
|
326
|
+
}, e.prototype.downplay = function() {
|
|
327
|
+
At(this);
|
|
328
|
+
}, e;
|
|
329
|
+
})(_t)
|
|
330
|
+
), ee = (
|
|
331
|
+
/** @class */
|
|
332
|
+
(function(a) {
|
|
333
|
+
Z(e, a);
|
|
334
|
+
function e() {
|
|
335
|
+
var t = a !== null && a.apply(this, arguments) || this;
|
|
336
|
+
return t.type = e.type, t._focusAdjacencyDisabled = !1, t;
|
|
337
|
+
}
|
|
338
|
+
return e.prototype.render = function(t, r, n) {
|
|
339
|
+
var i = this, u = t.getGraph(), o = this.group, s = t.layoutInfo, l = s.width, d = s.height, v = t.getData(), y = t.getData("edge"), h = t.get("orient");
|
|
340
|
+
this._model = t, o.removeAll(), o.x = s.x, o.y = s.y, u.eachEdge(function(g) {
|
|
341
|
+
var c = new te(), f = rt(c);
|
|
342
|
+
f.dataIndex = g.dataIndex, f.seriesIndex = t.seriesIndex, f.dataType = "edge";
|
|
343
|
+
var x = g.getModel(), I = x.getModel("lineStyle"), L = I.get("curveness"), D = g.node1.getLayout(), m = g.node1.getModel(), S = m.get("localX"), w = m.get("localY"), M = g.node2.getLayout(), Q = g.node2.getModel(), C = Q.get("localX"), z = Q.get("localY"), B = g.getLayout(), T, G, A, _, O, X, Y, H;
|
|
344
|
+
c.shape.extent = Math.max(1, B.dy), c.shape.orient = h, h === "vertical" ? (T = (S != null ? S * l : D.x) + B.sy, G = (w != null ? w * d : D.y) + D.dy, A = (C != null ? C * l : M.x) + B.ty, _ = z != null ? z * d : M.y, O = T, X = G * (1 - L) + _ * L, Y = A, H = G * L + _ * (1 - L)) : (T = (S != null ? S * l : D.x) + D.dx, G = (w != null ? w * d : D.y) + B.sy, A = C != null ? C * l : M.x, _ = (z != null ? z * d : M.y) + B.ty, O = T * (1 - L) + A * L, X = G, Y = T * L + A * (1 - L), H = _), c.setShape({
|
|
345
|
+
x1: T,
|
|
346
|
+
y1: G,
|
|
347
|
+
x2: A,
|
|
348
|
+
y2: _,
|
|
349
|
+
cpx1: O,
|
|
350
|
+
cpy1: X,
|
|
351
|
+
cpx2: Y,
|
|
352
|
+
cpy2: H
|
|
353
|
+
}), c.useStyle(I.getItemStyle()), gt(c.style, h, g);
|
|
354
|
+
var tt = "" + x.get("value"), N = nt(x, "edgeLabel");
|
|
355
|
+
it(c, N, {
|
|
356
|
+
labelFetcher: {
|
|
357
|
+
getFormattedLabel: function(K, P, De, xt, It, Lt) {
|
|
358
|
+
return t.getFormattedLabel(
|
|
359
|
+
K,
|
|
360
|
+
P,
|
|
361
|
+
"edge",
|
|
362
|
+
xt,
|
|
363
|
+
// ensure edgeLabel formatter is provided
|
|
364
|
+
// to prevent the inheritance from `label.formatter` of the series
|
|
365
|
+
Vt(It, N.normal && N.normal.get("formatter"), tt),
|
|
366
|
+
Lt
|
|
367
|
+
);
|
|
368
|
+
}
|
|
369
|
+
},
|
|
370
|
+
labelDataIndex: g.dataIndex,
|
|
371
|
+
defaultText: tt
|
|
372
|
+
}), c.setTextConfig({
|
|
373
|
+
position: "inside"
|
|
374
|
+
});
|
|
375
|
+
var q = x.getModel("emphasis");
|
|
376
|
+
ot(c, x, "lineStyle", function(K) {
|
|
377
|
+
var P = K.getItemStyle();
|
|
378
|
+
return gt(P, h, g), P;
|
|
379
|
+
}), o.add(c), y.setItemGraphicEl(g.dataIndex, c);
|
|
380
|
+
var W = q.get("focus");
|
|
381
|
+
ut(c, W === "adjacency" ? g.getAdjacentDataIndices() : W === "trajectory" ? g.getTrajectoryDataIndices() : W, q.get("blurScope"), q.get("disabled"));
|
|
382
|
+
}), u.eachNode(function(g) {
|
|
383
|
+
var c = g.getLayout(), f = g.getModel(), x = f.get("localX"), I = f.get("localY"), L = f.getModel("emphasis"), D = f.get(["itemStyle", "borderRadius"]) || 0, m = new ht({
|
|
384
|
+
shape: {
|
|
385
|
+
x: x != null ? x * l : c.x,
|
|
386
|
+
y: I != null ? I * d : c.y,
|
|
387
|
+
width: c.dx,
|
|
388
|
+
height: c.dy,
|
|
389
|
+
r: D
|
|
390
|
+
},
|
|
391
|
+
style: f.getModel("itemStyle").getItemStyle(),
|
|
392
|
+
z2: 10
|
|
393
|
+
});
|
|
394
|
+
it(m, nt(f), {
|
|
395
|
+
labelFetcher: {
|
|
396
|
+
getFormattedLabel: function(w, M) {
|
|
397
|
+
return t.getFormattedLabel(w, M, "node");
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
labelDataIndex: g.dataIndex,
|
|
401
|
+
defaultText: g.id
|
|
402
|
+
}), m.disableLabelAnimation = !0, m.setStyle("fill", g.getVisual("color")), m.setStyle("decal", g.getVisual("style").decal), ot(m, f), o.add(m), v.setItemGraphicEl(g.dataIndex, m), rt(m).dataType = "node";
|
|
403
|
+
var S = L.get("focus");
|
|
404
|
+
ut(m, S === "adjacency" ? g.getAdjacentDataIndices() : S === "trajectory" ? g.getTrajectoryDataIndices() : S, L.get("blurScope"), L.get("disabled"));
|
|
405
|
+
}), v.eachItemGraphicEl(function(g, c) {
|
|
406
|
+
var f = v.getItemModel(c);
|
|
407
|
+
f.get("draggable") && (g.drift = function(x, I) {
|
|
408
|
+
i._focusAdjacencyDisabled = !0, this.shape.x += x, this.shape.y += I, this.dirty(), n.dispatchAction({
|
|
409
|
+
type: "dragNode",
|
|
410
|
+
seriesId: t.id,
|
|
411
|
+
dataIndex: v.getRawIndex(c),
|
|
412
|
+
localX: this.shape.x / l,
|
|
413
|
+
localY: this.shape.y / d
|
|
414
|
+
});
|
|
415
|
+
}, g.ondragend = function() {
|
|
416
|
+
i._focusAdjacencyDisabled = !1;
|
|
417
|
+
}, g.draggable = !0, g.cursor = "move");
|
|
418
|
+
}), !this._data && t.isAnimationEnabled() && o.setClipPath(ae(o.getBoundingRect(), t, function() {
|
|
419
|
+
o.removeClipPath();
|
|
420
|
+
})), this._data = t.getData();
|
|
421
|
+
}, e.prototype.dispose = function() {
|
|
422
|
+
}, e.type = "sankey", e;
|
|
423
|
+
})(Tt)
|
|
424
|
+
);
|
|
425
|
+
function gt(a, e, t) {
|
|
426
|
+
switch (a.fill) {
|
|
427
|
+
case "source":
|
|
428
|
+
a.fill = t.node1.getVisual("color"), a.decal = t.node1.getVisual("style").decal;
|
|
429
|
+
break;
|
|
430
|
+
case "target":
|
|
431
|
+
a.fill = t.node2.getVisual("color"), a.decal = t.node2.getVisual("style").decal;
|
|
432
|
+
break;
|
|
433
|
+
case "gradient":
|
|
434
|
+
var r = t.node1.getVisual("color"), n = t.node2.getVisual("color");
|
|
435
|
+
st(r) && st(n) && (a.fill = new Rt(0, 0, +(e === "horizontal"), +(e === "vertical"), [{
|
|
436
|
+
color: r,
|
|
437
|
+
offset: 0
|
|
438
|
+
}, {
|
|
439
|
+
color: n,
|
|
440
|
+
offset: 1
|
|
441
|
+
}]));
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
function ae(a, e, t) {
|
|
445
|
+
var r = new ht({
|
|
446
|
+
shape: {
|
|
447
|
+
x: a.x - 10,
|
|
448
|
+
y: a.y - 10,
|
|
449
|
+
width: 0,
|
|
450
|
+
height: a.height + 20
|
|
451
|
+
}
|
|
452
|
+
});
|
|
453
|
+
return Bt(r, {
|
|
454
|
+
shape: {
|
|
455
|
+
width: a.width + 20
|
|
456
|
+
}
|
|
457
|
+
}, e, t), r;
|
|
458
|
+
}
|
|
459
|
+
var re = (
|
|
460
|
+
/** @class */
|
|
461
|
+
(function(a) {
|
|
462
|
+
Z(e, a);
|
|
463
|
+
function e() {
|
|
464
|
+
var t = a !== null && a.apply(this, arguments) || this;
|
|
465
|
+
return t.type = e.type, t;
|
|
466
|
+
}
|
|
467
|
+
return e.prototype.getInitialData = function(t, r) {
|
|
468
|
+
var n = t.edges || t.links || [], i = t.data || t.nodes || [], u = t.levels || [];
|
|
469
|
+
this.levelModels = [];
|
|
470
|
+
for (var o = this.levelModels, s = 0; s < u.length; s++)
|
|
471
|
+
if (u[s].depth != null && u[s].depth >= 0)
|
|
472
|
+
o[u[s].depth] = new Ct(u[s], this, r);
|
|
473
|
+
else if (process.env.NODE_ENV !== "production")
|
|
474
|
+
throw new Error("levels[i].depth is mandatory and should be natural number");
|
|
475
|
+
var l = $t(i, n, this, !0, d);
|
|
476
|
+
return l.data;
|
|
477
|
+
function d(v, y) {
|
|
478
|
+
v.wrapMethod("getItemModel", function(h, g) {
|
|
479
|
+
var c = h.parentModel, f = c.getData().getItemLayout(g);
|
|
480
|
+
if (f) {
|
|
481
|
+
var x = f.depth, I = c.levelModels[x];
|
|
482
|
+
I && (h.parentModel = I);
|
|
483
|
+
}
|
|
484
|
+
return h;
|
|
485
|
+
}), y.wrapMethod("getItemModel", function(h, g) {
|
|
486
|
+
var c = h.parentModel, f = c.getGraph().getEdgeByIndex(g), x = f.node1.getLayout();
|
|
487
|
+
if (x) {
|
|
488
|
+
var I = x.depth, L = c.levelModels[I];
|
|
489
|
+
L && (h.parentModel = L);
|
|
490
|
+
}
|
|
491
|
+
return h;
|
|
492
|
+
});
|
|
493
|
+
}
|
|
494
|
+
}, e.prototype.setNodePosition = function(t, r) {
|
|
495
|
+
var n = this.option.data || this.option.nodes, i = n[t];
|
|
496
|
+
i.localX = r[0], i.localY = r[1];
|
|
497
|
+
}, e.prototype.getGraph = function() {
|
|
498
|
+
return this.getData().graph;
|
|
499
|
+
}, e.prototype.getEdgeData = function() {
|
|
500
|
+
return this.getGraph().edgeData;
|
|
501
|
+
}, e.prototype.formatTooltip = function(t, r, n) {
|
|
502
|
+
function i(h) {
|
|
503
|
+
return isNaN(h) || h == null;
|
|
504
|
+
}
|
|
505
|
+
if (n === "edge") {
|
|
506
|
+
var u = this.getDataParams(t, n), o = u.data, s = u.value, l = o.source + " -- " + o.target;
|
|
507
|
+
return lt("nameValue", {
|
|
508
|
+
name: l,
|
|
509
|
+
value: s,
|
|
510
|
+
noValue: i(s)
|
|
511
|
+
});
|
|
512
|
+
} else {
|
|
513
|
+
var d = this.getGraph().getNodeByIndex(t), v = d.getLayout().value, y = this.getDataParams(t, n).data.name;
|
|
514
|
+
return lt("nameValue", {
|
|
515
|
+
name: y != null ? y + "" : null,
|
|
516
|
+
value: v,
|
|
517
|
+
noValue: i(v)
|
|
518
|
+
});
|
|
519
|
+
}
|
|
520
|
+
}, e.prototype.optionUpdated = function() {
|
|
521
|
+
}, e.prototype.getDataParams = function(t, r) {
|
|
522
|
+
var n = a.prototype.getDataParams.call(this, t, r);
|
|
523
|
+
if (n.value == null && r === "node") {
|
|
524
|
+
var i = this.getGraph().getNodeByIndex(t), u = i.getLayout().value;
|
|
525
|
+
n.value = u;
|
|
526
|
+
}
|
|
527
|
+
return n;
|
|
528
|
+
}, e.type = "series.sankey", e.defaultOption = {
|
|
529
|
+
// zlevel: 0,
|
|
530
|
+
z: 2,
|
|
531
|
+
coordinateSystem: "view",
|
|
532
|
+
left: "5%",
|
|
533
|
+
top: "5%",
|
|
534
|
+
right: "20%",
|
|
535
|
+
bottom: "5%",
|
|
536
|
+
orient: "horizontal",
|
|
537
|
+
nodeWidth: 20,
|
|
538
|
+
nodeGap: 8,
|
|
539
|
+
draggable: !0,
|
|
540
|
+
layoutIterations: 32,
|
|
541
|
+
label: {
|
|
542
|
+
show: !0,
|
|
543
|
+
position: "right",
|
|
544
|
+
fontSize: 12
|
|
545
|
+
},
|
|
546
|
+
edgeLabel: {
|
|
547
|
+
show: !1,
|
|
548
|
+
fontSize: 12
|
|
549
|
+
},
|
|
550
|
+
levels: [],
|
|
551
|
+
nodeAlign: "justify",
|
|
552
|
+
lineStyle: {
|
|
553
|
+
color: "#314656",
|
|
554
|
+
opacity: 0.2,
|
|
555
|
+
curveness: 0.5
|
|
556
|
+
},
|
|
557
|
+
emphasis: {
|
|
558
|
+
label: {
|
|
559
|
+
show: !0
|
|
560
|
+
},
|
|
561
|
+
lineStyle: {
|
|
562
|
+
opacity: 0.5
|
|
563
|
+
}
|
|
564
|
+
},
|
|
565
|
+
select: {
|
|
566
|
+
itemStyle: {
|
|
567
|
+
borderColor: "#212121"
|
|
568
|
+
}
|
|
569
|
+
},
|
|
570
|
+
animationEasing: "linear",
|
|
571
|
+
animationDuration: 1e3
|
|
572
|
+
}, e;
|
|
573
|
+
})(zt)
|
|
574
|
+
);
|
|
575
|
+
function ne(a, e) {
|
|
576
|
+
a.eachSeriesByType("sankey", function(t) {
|
|
577
|
+
var r = t.get("nodeWidth"), n = t.get("nodeGap"), i = ie(t, e);
|
|
578
|
+
t.layoutInfo = i;
|
|
579
|
+
var u = i.width, o = i.height, s = t.getGraph(), l = s.nodes, d = s.edges;
|
|
580
|
+
ue(l);
|
|
581
|
+
var v = Pt(l, function(c) {
|
|
582
|
+
return c.getLayout().value === 0;
|
|
583
|
+
}), y = v.length !== 0 ? 0 : t.get("layoutIterations"), h = t.get("orient"), g = t.get("nodeAlign");
|
|
584
|
+
oe(l, d, r, n, u, o, y, h, g);
|
|
585
|
+
});
|
|
586
|
+
}
|
|
587
|
+
function ie(a, e) {
|
|
588
|
+
return jt(a.getBoxLayoutParams(), {
|
|
589
|
+
width: e.getWidth(),
|
|
590
|
+
height: e.getHeight()
|
|
591
|
+
});
|
|
592
|
+
}
|
|
593
|
+
function oe(a, e, t, r, n, i, u, o, s) {
|
|
594
|
+
se(a, e, t, n, i, o, s), ce(a, e, i, n, r, u, o), me(a, o);
|
|
595
|
+
}
|
|
596
|
+
function ue(a) {
|
|
597
|
+
p(a, function(e) {
|
|
598
|
+
var t = b(e.outEdges, F), r = b(e.inEdges, F), n = e.getValue() || 0, i = Math.max(t, r, n);
|
|
599
|
+
e.setLayout({
|
|
600
|
+
value: i
|
|
601
|
+
}, !0);
|
|
602
|
+
});
|
|
603
|
+
}
|
|
604
|
+
function se(a, e, t, r, n, i, u) {
|
|
605
|
+
for (var o = [], s = [], l = [], d = [], v = 0, y = 0; y < e.length; y++)
|
|
606
|
+
o[y] = 1;
|
|
607
|
+
for (var y = 0; y < a.length; y++)
|
|
608
|
+
s[y] = a[y].inEdges.length, s[y] === 0 && l.push(a[y]);
|
|
609
|
+
for (var h = -1; l.length; ) {
|
|
610
|
+
for (var g = 0; g < l.length; g++) {
|
|
611
|
+
var c = l[g], f = c.hostGraph.data.getRawDataItem(c.dataIndex), x = f.depth != null && f.depth >= 0;
|
|
612
|
+
x && f.depth > h && (h = f.depth), c.setLayout({
|
|
613
|
+
depth: x ? f.depth : v
|
|
614
|
+
}, !0), i === "vertical" ? c.setLayout({
|
|
615
|
+
dy: t
|
|
616
|
+
}, !0) : c.setLayout({
|
|
617
|
+
dx: t
|
|
618
|
+
}, !0);
|
|
619
|
+
for (var I = 0; I < c.outEdges.length; I++) {
|
|
620
|
+
var L = c.outEdges[I], D = e.indexOf(L);
|
|
621
|
+
o[D] = 0;
|
|
622
|
+
var m = L.node2, S = a.indexOf(m);
|
|
623
|
+
--s[S] === 0 && d.indexOf(m) < 0 && d.push(m);
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
++v, l = d, d = [];
|
|
627
|
+
}
|
|
628
|
+
for (var y = 0; y < o.length; y++)
|
|
629
|
+
if (o[y] === 1)
|
|
630
|
+
throw new Error("Sankey is a DAG, the original data has cycle!");
|
|
631
|
+
var w = h > v - 1 ? h : v - 1;
|
|
632
|
+
u && u !== "left" && le(a, u, i, w);
|
|
633
|
+
var M = i === "vertical" ? (n - t) / w : (r - t) / w;
|
|
634
|
+
ge(a, M, i);
|
|
635
|
+
}
|
|
636
|
+
function pt(a) {
|
|
637
|
+
var e = a.hostGraph.data.getRawDataItem(a.dataIndex);
|
|
638
|
+
return e.depth != null && e.depth >= 0;
|
|
639
|
+
}
|
|
640
|
+
function le(a, e, t, r) {
|
|
641
|
+
if (e === "right") {
|
|
642
|
+
for (var n = [], i = a, u = 0; i.length; ) {
|
|
643
|
+
for (var o = 0; o < i.length; o++) {
|
|
644
|
+
var s = i[o];
|
|
645
|
+
s.setLayout({
|
|
646
|
+
skNodeHeight: u
|
|
647
|
+
}, !0);
|
|
648
|
+
for (var l = 0; l < s.inEdges.length; l++) {
|
|
649
|
+
var d = s.inEdges[l];
|
|
650
|
+
n.indexOf(d.node1) < 0 && n.push(d.node1);
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
i = n, n = [], ++u;
|
|
654
|
+
}
|
|
655
|
+
p(a, function(v) {
|
|
656
|
+
pt(v) || v.setLayout({
|
|
657
|
+
depth: Math.max(0, r - v.getLayout().skNodeHeight)
|
|
658
|
+
}, !0);
|
|
659
|
+
});
|
|
660
|
+
} else e === "justify" && de(a, r);
|
|
661
|
+
}
|
|
662
|
+
function de(a, e) {
|
|
663
|
+
p(a, function(t) {
|
|
664
|
+
!pt(t) && !t.outEdges.length && t.setLayout({
|
|
665
|
+
depth: e
|
|
666
|
+
}, !0);
|
|
667
|
+
});
|
|
668
|
+
}
|
|
669
|
+
function ge(a, e, t) {
|
|
670
|
+
p(a, function(r) {
|
|
671
|
+
var n = r.getLayout().depth * e;
|
|
672
|
+
t === "vertical" ? r.setLayout({
|
|
673
|
+
y: n
|
|
674
|
+
}, !0) : r.setLayout({
|
|
675
|
+
x: n
|
|
676
|
+
}, !0);
|
|
677
|
+
});
|
|
678
|
+
}
|
|
679
|
+
function ce(a, e, t, r, n, i, u) {
|
|
680
|
+
var o = he(a, u);
|
|
681
|
+
ve(o, e, t, r, n, u), J(o, n, t, r, u);
|
|
682
|
+
for (var s = 1; i > 0; i--)
|
|
683
|
+
s *= 0.99, fe(o, s, u), J(o, n, t, r, u), Le(o, s, u), J(o, n, t, r, u);
|
|
684
|
+
}
|
|
685
|
+
function he(a, e) {
|
|
686
|
+
var t = [], r = e === "vertical" ? "y" : "x", n = Ft(a, function(i) {
|
|
687
|
+
return i.getLayout()[r];
|
|
688
|
+
});
|
|
689
|
+
return n.keys.sort(function(i, u) {
|
|
690
|
+
return i - u;
|
|
691
|
+
}), p(n.keys, function(i) {
|
|
692
|
+
t.push(n.buckets.get(i));
|
|
693
|
+
}), t;
|
|
694
|
+
}
|
|
695
|
+
function ve(a, e, t, r, n, i) {
|
|
696
|
+
var u = 1 / 0;
|
|
697
|
+
p(a, function(o) {
|
|
698
|
+
var s = o.length, l = 0;
|
|
699
|
+
p(o, function(v) {
|
|
700
|
+
l += v.getLayout().value;
|
|
701
|
+
});
|
|
702
|
+
var d = i === "vertical" ? (r - (s - 1) * n) / l : (t - (s - 1) * n) / l;
|
|
703
|
+
d < u && (u = d);
|
|
704
|
+
}), p(a, function(o) {
|
|
705
|
+
p(o, function(s, l) {
|
|
706
|
+
var d = s.getLayout().value * u;
|
|
707
|
+
i === "vertical" ? (s.setLayout({
|
|
708
|
+
x: l
|
|
709
|
+
}, !0), s.setLayout({
|
|
710
|
+
dx: d
|
|
711
|
+
}, !0)) : (s.setLayout({
|
|
712
|
+
y: l
|
|
713
|
+
}, !0), s.setLayout({
|
|
714
|
+
dy: d
|
|
715
|
+
}, !0));
|
|
716
|
+
});
|
|
717
|
+
}), p(e, function(o) {
|
|
718
|
+
var s = +o.getValue() * u;
|
|
719
|
+
o.setLayout({
|
|
720
|
+
dy: s
|
|
721
|
+
}, !0);
|
|
722
|
+
});
|
|
723
|
+
}
|
|
724
|
+
function J(a, e, t, r, n) {
|
|
725
|
+
var i = n === "vertical" ? "x" : "y";
|
|
726
|
+
p(a, function(u) {
|
|
727
|
+
u.sort(function(c, f) {
|
|
728
|
+
return c.getLayout()[i] - f.getLayout()[i];
|
|
729
|
+
});
|
|
730
|
+
for (var o, s, l, d = 0, v = u.length, y = n === "vertical" ? "dx" : "dy", h = 0; h < v; h++)
|
|
731
|
+
s = u[h], l = d - s.getLayout()[i], l > 0 && (o = s.getLayout()[i] + l, n === "vertical" ? s.setLayout({
|
|
732
|
+
x: o
|
|
733
|
+
}, !0) : s.setLayout({
|
|
734
|
+
y: o
|
|
735
|
+
}, !0)), d = s.getLayout()[i] + s.getLayout()[y] + e;
|
|
736
|
+
var g = n === "vertical" ? r : t;
|
|
737
|
+
if (l = d - e - g, l > 0) {
|
|
738
|
+
o = s.getLayout()[i] - l, n === "vertical" ? s.setLayout({
|
|
739
|
+
x: o
|
|
740
|
+
}, !0) : s.setLayout({
|
|
741
|
+
y: o
|
|
742
|
+
}, !0), d = o;
|
|
743
|
+
for (var h = v - 2; h >= 0; --h)
|
|
744
|
+
s = u[h], l = s.getLayout()[i] + s.getLayout()[y] + e - d, l > 0 && (o = s.getLayout()[i] - l, n === "vertical" ? s.setLayout({
|
|
745
|
+
x: o
|
|
746
|
+
}, !0) : s.setLayout({
|
|
747
|
+
y: o
|
|
748
|
+
}, !0)), d = s.getLayout()[i];
|
|
749
|
+
}
|
|
750
|
+
});
|
|
751
|
+
}
|
|
752
|
+
function fe(a, e, t) {
|
|
753
|
+
p(a.slice().reverse(), function(r) {
|
|
754
|
+
p(r, function(n) {
|
|
755
|
+
if (n.outEdges.length) {
|
|
756
|
+
var i = b(n.outEdges, ye, t) / b(n.outEdges, F);
|
|
757
|
+
if (isNaN(i)) {
|
|
758
|
+
var u = n.outEdges.length;
|
|
759
|
+
i = u ? b(n.outEdges, pe, t) / u : 0;
|
|
760
|
+
}
|
|
761
|
+
if (t === "vertical") {
|
|
762
|
+
var o = n.getLayout().x + (i - k(n, t)) * e;
|
|
763
|
+
n.setLayout({
|
|
764
|
+
x: o
|
|
765
|
+
}, !0);
|
|
766
|
+
} else {
|
|
767
|
+
var s = n.getLayout().y + (i - k(n, t)) * e;
|
|
768
|
+
n.setLayout({
|
|
769
|
+
y: s
|
|
770
|
+
}, !0);
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
});
|
|
774
|
+
});
|
|
775
|
+
}
|
|
776
|
+
function ye(a, e) {
|
|
777
|
+
return k(a.node2, e) * a.getValue();
|
|
778
|
+
}
|
|
779
|
+
function pe(a, e) {
|
|
780
|
+
return k(a.node2, e);
|
|
781
|
+
}
|
|
782
|
+
function xe(a, e) {
|
|
783
|
+
return k(a.node1, e) * a.getValue();
|
|
784
|
+
}
|
|
785
|
+
function Ie(a, e) {
|
|
786
|
+
return k(a.node1, e);
|
|
787
|
+
}
|
|
788
|
+
function k(a, e) {
|
|
789
|
+
return e === "vertical" ? a.getLayout().x + a.getLayout().dx / 2 : a.getLayout().y + a.getLayout().dy / 2;
|
|
790
|
+
}
|
|
791
|
+
function F(a) {
|
|
792
|
+
return a.getValue();
|
|
793
|
+
}
|
|
794
|
+
function b(a, e, t) {
|
|
795
|
+
for (var r = 0, n = a.length, i = -1; ++i < n; ) {
|
|
796
|
+
var u = +e(a[i], t);
|
|
797
|
+
isNaN(u) || (r += u);
|
|
798
|
+
}
|
|
799
|
+
return r;
|
|
800
|
+
}
|
|
801
|
+
function Le(a, e, t) {
|
|
802
|
+
p(a, function(r) {
|
|
803
|
+
p(r, function(n) {
|
|
804
|
+
if (n.inEdges.length) {
|
|
805
|
+
var i = b(n.inEdges, xe, t) / b(n.inEdges, F);
|
|
806
|
+
if (isNaN(i)) {
|
|
807
|
+
var u = n.inEdges.length;
|
|
808
|
+
i = u ? b(n.inEdges, Ie, t) / u : 0;
|
|
809
|
+
}
|
|
810
|
+
if (t === "vertical") {
|
|
811
|
+
var o = n.getLayout().x + (i - k(n, t)) * e;
|
|
812
|
+
n.setLayout({
|
|
813
|
+
x: o
|
|
814
|
+
}, !0);
|
|
815
|
+
} else {
|
|
816
|
+
var s = n.getLayout().y + (i - k(n, t)) * e;
|
|
817
|
+
n.setLayout({
|
|
818
|
+
y: s
|
|
819
|
+
}, !0);
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
});
|
|
823
|
+
});
|
|
824
|
+
}
|
|
825
|
+
function me(a, e) {
|
|
826
|
+
var t = e === "vertical" ? "x" : "y";
|
|
827
|
+
p(a, function(r) {
|
|
828
|
+
r.outEdges.sort(function(n, i) {
|
|
829
|
+
return n.node2.getLayout()[t] - i.node2.getLayout()[t];
|
|
830
|
+
}), r.inEdges.sort(function(n, i) {
|
|
831
|
+
return n.node1.getLayout()[t] - i.node1.getLayout()[t];
|
|
832
|
+
});
|
|
833
|
+
}), p(a, function(r) {
|
|
834
|
+
var n = 0, i = 0;
|
|
835
|
+
p(r.outEdges, function(u) {
|
|
836
|
+
u.setLayout({
|
|
837
|
+
sy: n
|
|
838
|
+
}, !0), n += u.getLayout().dy;
|
|
839
|
+
}), p(r.inEdges, function(u) {
|
|
840
|
+
u.setLayout({
|
|
841
|
+
ty: i
|
|
842
|
+
}, !0), i += u.getLayout().dy;
|
|
843
|
+
});
|
|
844
|
+
});
|
|
845
|
+
}
|
|
846
|
+
function Ee(a) {
|
|
847
|
+
a.eachSeriesByType("sankey", function(e) {
|
|
848
|
+
var t = e.getGraph(), r = t.nodes, n = t.edges;
|
|
849
|
+
if (r.length) {
|
|
850
|
+
var i = 1 / 0, u = -1 / 0;
|
|
851
|
+
p(r, function(o) {
|
|
852
|
+
var s = o.getLayout().value;
|
|
853
|
+
s < i && (i = s), s > u && (u = s);
|
|
854
|
+
}), p(r, function(o) {
|
|
855
|
+
var s = new Yt({
|
|
856
|
+
type: "color",
|
|
857
|
+
mappingMethod: "linear",
|
|
858
|
+
dataExtent: [i, u],
|
|
859
|
+
visual: e.get("color")
|
|
860
|
+
}), l = s.mapValueToVisual(o.getLayout().value), d = o.getModel().get(["itemStyle", "color"]);
|
|
861
|
+
d != null ? (o.setVisual("color", d), o.setVisual("style", {
|
|
862
|
+
fill: d
|
|
863
|
+
})) : (o.setVisual("color", l), o.setVisual("style", {
|
|
864
|
+
fill: l
|
|
865
|
+
}));
|
|
866
|
+
});
|
|
867
|
+
}
|
|
868
|
+
n.length && p(n, function(o) {
|
|
869
|
+
var s = o.getModel().get("lineStyle");
|
|
870
|
+
o.setVisual("style", s);
|
|
871
|
+
});
|
|
872
|
+
});
|
|
873
|
+
}
|
|
874
|
+
function ke(a) {
|
|
875
|
+
a.registerChartView(ee), a.registerSeriesModel(re), a.registerLayout(ne), a.registerVisual(Ee), a.registerAction({
|
|
876
|
+
type: "dragNode",
|
|
877
|
+
event: "dragnode",
|
|
878
|
+
// here can only use 'update' now, other value is not support in echarts.
|
|
879
|
+
update: "update"
|
|
880
|
+
}, function(e, t) {
|
|
881
|
+
t.eachComponent({
|
|
882
|
+
mainType: "series",
|
|
883
|
+
subType: "sankey",
|
|
884
|
+
query: e
|
|
885
|
+
}, function(r) {
|
|
886
|
+
r.setNodePosition(e.dataIndex, [e.localX, e.localY]);
|
|
887
|
+
});
|
|
888
|
+
});
|
|
889
|
+
}
|
|
890
|
+
export {
|
|
891
|
+
Zt as G,
|
|
892
|
+
$t as c,
|
|
893
|
+
ke as i,
|
|
894
|
+
Ht as l
|
|
895
|
+
};
|