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,199 @@
|
|
|
1
|
+
var V = Object.defineProperty, E = Object.defineProperties;
|
|
2
|
+
var $ = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var v = Object.getOwnPropertySymbols;
|
|
4
|
+
var z = Object.prototype.hasOwnProperty, B = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var y = (a, s, r) => s in a ? V(a, s, { enumerable: !0, configurable: !0, writable: !0, value: r }) : a[s] = r, h = (a, s) => {
|
|
6
|
+
for (var r in s || (s = {}))
|
|
7
|
+
z.call(s, r) && y(a, r, s[r]);
|
|
8
|
+
if (v)
|
|
9
|
+
for (var r of v(s))
|
|
10
|
+
B.call(s, r) && y(a, r, s[r]);
|
|
11
|
+
return a;
|
|
12
|
+
}, u = (a, s) => E(a, $(s));
|
|
13
|
+
import { defineComponent as M, computed as A, openBlock as j, createElementBlock as I, normalizeStyle as b, unref as m, createElementVNode as g, toDisplayString as N, renderSlot as R } from "vue";
|
|
14
|
+
import { C as F } from "./element-resize-detector-DJcsrJ8s.js";
|
|
15
|
+
import { u as T, _ as D } from "./index-kShjySl9.js";
|
|
16
|
+
import { E as Z } from "./EChartComponentBase-BQOhWkz2.js";
|
|
17
|
+
import { g as P } from "./titleStyle-BT5GlpAb.js";
|
|
18
|
+
import { i as U } from "./install-CBde4hAM.js";
|
|
19
|
+
import { i as H } from "./install-hfre7yvV.js";
|
|
20
|
+
import { u as G, i as K, a as X } from "./installCanvasRenderer-CLT2hquJ.js";
|
|
21
|
+
import { i as q } from "./install-BzdOSCzO.js";
|
|
22
|
+
const J = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='17px'%20viewBox='0%200%2017%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e饼状图%3c/title%3e%3cg%20id='页面-2'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='轮廓化'%20transform='translate(-101.000000,%20-888.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M109.65,888.3%20C114.068274,888.3%20117.65,891.881726%20117.65,896.3%20C117.65,896.655494%20117.361815,896.943678%20117.006322,896.943678%20L117.006322,896.943678%20L110.42435,896.943678%20C110.35217,896.943678%20110.293678,897.00217%20110.293678,897.07435%20L110.293678,897.07435%20L110.293678,903.656322%20C110.293678,904.011815%20110.005494,904.3%20109.65,904.3%20C105.231726,904.3%20101.65,900.718274%20101.65,896.3%20C101.65,891.881726%20105.231726,888.3%20109.65,888.3%20Z%20M116.619147,897.979371%20C116.974641,897.979371%20117.262825,898.267555%20117.262825,898.623049%20L117.262825,898.623049%20L117.262825,903.269147%20C117.262825,903.624641%20116.974641,903.912825%20116.619147,903.912825%20L116.619147,903.912825%20L111.973049,903.912825%20C111.617555,903.912825%20111.329371,903.624641%20111.329371,903.269147%20L111.329371,903.269147%20L111.329371,898.623049%20C111.329371,898.267555%20111.617555,897.979371%20111.973049,897.979371%20L111.973049,897.979371%20Z%20M109.65,889.587356%20C105.942713,889.587356%20102.937356,892.592713%20102.937356,896.3%20C102.937356,899.78485%20105.59289,902.649474%20108.990767,902.980683%20L108.990767,902.980683%20L109.006322,902.981379%20L109.006322,897.07435%20C109.006322,896.334692%20109.572602,895.72732%20110.295278,895.662117%20L110.295278,895.662117%20L110.42435,895.656322%20L116.331379,895.656322%20L116.305497,895.420134%20C115.883945,892.200222%20113.180401,889.698255%20109.871576,889.590944%20L109.871576,889.590944%20Z%20M115.974598,899.266437%20L112.616437,899.266437%20L112.616437,902.624598%20L115.974598,902.624598%20L115.974598,899.266437%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Q = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='17px'%20viewBox='0%200%2017%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e饼状图%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='显示板图标-轮廓化备份'%20transform='translate(-101.000000,%20-888.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M109.65,888.3%20C114.068274,888.3%20117.65,891.881726%20117.65,896.3%20C117.65,896.655494%20117.361815,896.943678%20117.006322,896.943678%20L117.006322,896.943678%20L110.42435,896.943678%20C110.35217,896.943678%20110.293678,897.00217%20110.293678,897.07435%20L110.293678,897.07435%20L110.293678,903.656322%20C110.293678,904.011815%20110.005494,904.3%20109.65,904.3%20C105.231726,904.3%20101.65,900.718274%20101.65,896.3%20C101.65,891.881726%20105.231726,888.3%20109.65,888.3%20Z%20M116.619147,897.979371%20C116.974641,897.979371%20117.262825,898.267555%20117.262825,898.623049%20L117.262825,898.623049%20L117.262825,903.269147%20C117.262825,903.624641%20116.974641,903.912825%20116.619147,903.912825%20L116.619147,903.912825%20L111.973049,903.912825%20C111.617555,903.912825%20111.329371,903.624641%20111.329371,903.269147%20L111.329371,903.269147%20L111.329371,898.623049%20C111.329371,898.267555%20111.617555,897.979371%20111.973049,897.979371%20L111.973049,897.979371%20Z%20M109.65,889.587356%20C105.942713,889.587356%20102.937356,892.592713%20102.937356,896.3%20C102.937356,899.78485%20105.59289,902.649474%20108.990767,902.980683%20L108.990767,902.980683%20L109.006322,902.981379%20L109.006322,897.07435%20C109.006322,896.334692%20109.572602,895.72732%20110.295278,895.662117%20L110.295278,895.662117%20L110.42435,895.656322%20L116.331379,895.656322%20L116.305497,895.420134%20C115.883945,892.200222%20113.180401,889.698255%20109.871576,889.590944%20L109.871576,889.590944%20Z%20M115.974598,899.266437%20L112.616437,899.266437%20L112.616437,902.624598%20L115.974598,902.624598%20L115.974598,899.266437%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", W = { class: "mix-body" }, Y = ["id"], ee = {
|
|
23
|
+
DEFAULT_ICON: J,
|
|
24
|
+
ACTIVE_ICON: Q,
|
|
25
|
+
NAME_CN: "饼状图",
|
|
26
|
+
NAME_EN: "Pie",
|
|
27
|
+
ORDER: 1
|
|
28
|
+
}, te = {
|
|
29
|
+
titleColor: "#111",
|
|
30
|
+
textColor: "#111",
|
|
31
|
+
bgColor: "#fff",
|
|
32
|
+
radiusSize: 8,
|
|
33
|
+
textSize: 12,
|
|
34
|
+
type: {
|
|
35
|
+
value: "pie",
|
|
36
|
+
type: "radio",
|
|
37
|
+
option: [
|
|
38
|
+
{ value: "pie", label: "component.options.pie_type_pie" },
|
|
39
|
+
{ value: "circle", label: "component.options.pie_type_circle" }
|
|
40
|
+
],
|
|
41
|
+
label: "component.options.pie_type"
|
|
42
|
+
},
|
|
43
|
+
radius: { value: 50, type: "number", label: "component.options.pie_radius", dependent: "type", repel: "circle" },
|
|
44
|
+
inside: { value: 40, type: "number", label: "component.options.pie_inside", dependent: "type", repel: "pie" },
|
|
45
|
+
outside: { value: 75, type: "number", label: "component.options.pie_outside", dependent: "type", repel: "pie" },
|
|
46
|
+
isHideTitle: !1,
|
|
47
|
+
showLabel: !1,
|
|
48
|
+
showLegend: !0,
|
|
49
|
+
orient: {
|
|
50
|
+
value: "horizontal",
|
|
51
|
+
type: "radio",
|
|
52
|
+
option: [
|
|
53
|
+
{ value: "horizontal", label: "component.options.orient_horizontal" },
|
|
54
|
+
{ value: "vertical", label: "component.options.orient_vertical" }
|
|
55
|
+
],
|
|
56
|
+
label: "component.options.orient",
|
|
57
|
+
dependent: "showLegend"
|
|
58
|
+
},
|
|
59
|
+
showValue: !0,
|
|
60
|
+
showRate: !1,
|
|
61
|
+
wrap: !1,
|
|
62
|
+
wrapByte: { value: 5, type: "number", label: "component.options.pie_wrapByte", dependent: "wrap" }
|
|
63
|
+
}, oe = [
|
|
64
|
+
{ name: "参数一", fv: "", object_id: "", color: "#4162ff" },
|
|
65
|
+
{ name: "参数二", fv: "", object_id: "", color: "#3bbc6a" },
|
|
66
|
+
{ name: "参数三", fv: "", object_id: "", color: "#e24359" }
|
|
67
|
+
], ie = ["name", "fv", "object_id", "color"], ne = ["mosaic", "statistics", "calculate"], se = {
|
|
68
|
+
useAlias: !1,
|
|
69
|
+
multiObject: !1,
|
|
70
|
+
source: "mosaic"
|
|
71
|
+
}, le = { DEFAULT: ee, OPTIONS: te, DATA: oe, PARAMS: ie, SOURCE: ne, COMMON: se }, ae = /* @__PURE__ */ M(u(h({}, le), {
|
|
72
|
+
__name: "pie",
|
|
73
|
+
props: {
|
|
74
|
+
conf: { type: Object, default: () => ({ data: [] }) },
|
|
75
|
+
uid: { type: String, default: "" },
|
|
76
|
+
mode: { type: String, default: "edit" },
|
|
77
|
+
theme: { type: String, default: "light" }
|
|
78
|
+
},
|
|
79
|
+
setup(a) {
|
|
80
|
+
G([U, H, K, X, q]);
|
|
81
|
+
const s = a, r = T(), x = {
|
|
82
|
+
horizontal: { orient: "horizontal", bottom: "5%", left: "center" },
|
|
83
|
+
vertical: { orient: "vertical", right: "5%", top: "5%" }
|
|
84
|
+
};
|
|
85
|
+
class _ extends Z {
|
|
86
|
+
initChart() {
|
|
87
|
+
var e, o;
|
|
88
|
+
super.initChart(), this.props.mode === "preview" && ((e = this.chartObj) == null || e.off("click"), (o = this.chartObj) == null || o.on("click", (t) => {
|
|
89
|
+
var i, n, c, p, d, C;
|
|
90
|
+
const l = t == null ? void 0 : t.name;
|
|
91
|
+
if (typeof l == "string" && l) {
|
|
92
|
+
const k = ((n = (i = this.props.conf) == null ? void 0 : i.options) == null ? void 0 : n.linkChannel) === "custom" ? (p = (c = this.props.conf) == null ? void 0 : c.options) == null ? void 0 : p.customChannel : (C = (d = this.props.conf) == null ? void 0 : d.options) == null ? void 0 : C.linkChannel;
|
|
93
|
+
r.publish(k || "pie", "pie", {
|
|
94
|
+
objectId: "",
|
|
95
|
+
deviceId: "",
|
|
96
|
+
type: "select",
|
|
97
|
+
fieldKey: l,
|
|
98
|
+
fv: h({ key: l }, t),
|
|
99
|
+
source: "pie"
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
}));
|
|
103
|
+
}
|
|
104
|
+
extractStyles() {
|
|
105
|
+
return u(h({}, super.extractStyles()), {
|
|
106
|
+
type: this.getOptionValue("type", "pie"),
|
|
107
|
+
radius: this.getOptionValue("radius", 50),
|
|
108
|
+
inside: this.getOptionValue("inside", 40),
|
|
109
|
+
outside: this.getOptionValue("outside", 75),
|
|
110
|
+
showLabel: this.getOptionValue("showLabel", !1),
|
|
111
|
+
showLegend: this.getOptionValue("showLegend", !0),
|
|
112
|
+
orient: this.getOptionValue("orient", "horizontal"),
|
|
113
|
+
showValue: this.getOptionValue("showValue", !0),
|
|
114
|
+
showRate: this.getOptionValue("showRate", !1),
|
|
115
|
+
wrap: this.getOptionValue("wrap", !1),
|
|
116
|
+
wrapByte: this.getOptionValue("wrapByte", 5)
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
getChartOption() {
|
|
120
|
+
const e = this.Style.value, { data: o, name: t } = this.props.conf, l = o.map((i, n) => i.color || F[n]);
|
|
121
|
+
return {
|
|
122
|
+
title: { show: !1, text: t || "", x: "center" },
|
|
123
|
+
color: l,
|
|
124
|
+
tooltip: { trigger: "item", formatter: "{a} <br/>{b} : {c} ({d}%)" },
|
|
125
|
+
legend: u(h({
|
|
126
|
+
show: e.showLegend
|
|
127
|
+
}, x[e.orient]), {
|
|
128
|
+
data: o.map((i) => i.name),
|
|
129
|
+
textStyle: { color: e.textColor }
|
|
130
|
+
}),
|
|
131
|
+
series: this.formatSeries()
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
formatSeries() {
|
|
135
|
+
const e = this.Style.value, { data: o, name: t } = this.props.conf, l = o.map((n) => ({ value: 0, name: n.name })), i = e.type === "pie" ? `${e.radius}%` : [`${e.inside}%`, `${e.outside}%`];
|
|
136
|
+
return [{
|
|
137
|
+
name: t,
|
|
138
|
+
type: "pie",
|
|
139
|
+
radius: i,
|
|
140
|
+
center: ["50%", "40%"],
|
|
141
|
+
data: l,
|
|
142
|
+
emphasis: { shadowBlur: 10, shadowOffsetX: 0, shadowColor: "rgba(0, 0, 0, 0.5)" },
|
|
143
|
+
label: {
|
|
144
|
+
color: e.textColor,
|
|
145
|
+
lineHeight: 16,
|
|
146
|
+
fontSize: e.textSize,
|
|
147
|
+
formatter: (n) => this.formatLabel(n)
|
|
148
|
+
}
|
|
149
|
+
}];
|
|
150
|
+
}
|
|
151
|
+
formatLabel(e) {
|
|
152
|
+
const o = this.Style.value;
|
|
153
|
+
let t = e.name;
|
|
154
|
+
return o.showValue && o.showRate ? t = `${e.name}: ${e.value}(${e.percent}%)` : o.showValue ? t = `${e.name}: ${e.value}` : o.showRate && (t = `${e.name}${e.percent}%`), this.insertBreaks(t);
|
|
155
|
+
}
|
|
156
|
+
insertBreaks(e) {
|
|
157
|
+
const o = this.Style.value;
|
|
158
|
+
if (!o.wrap) return e;
|
|
159
|
+
const t = o.wrapByte || 5;
|
|
160
|
+
let l = "", i = 0, n = 0;
|
|
161
|
+
for (const c of e)
|
|
162
|
+
c.charCodeAt(0) >= 19968 && c.charCodeAt(0) <= 40959 ? (n++, i += 2) : i += 1, l += c, (n >= t || i >= t * 2) && (l += `
|
|
163
|
+
`, n = 0, i = 0);
|
|
164
|
+
return l;
|
|
165
|
+
}
|
|
166
|
+
setSocketData(e) {
|
|
167
|
+
if (!e || !this.chartObj) return;
|
|
168
|
+
const { data: o } = this.props.conf, t = this.chartObj.getOption();
|
|
169
|
+
o.forEach((l, i) => {
|
|
170
|
+
var c, p, d;
|
|
171
|
+
const n = this.extractDataValue(e, l.fv);
|
|
172
|
+
(d = (p = (c = t.series) == null ? void 0 : c[0]) == null ? void 0 : p.data) != null && d[i] && (t.series[0].data[i].value = n != null ? n : 0);
|
|
173
|
+
}), this.updateChart(t);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
const f = new _(s, "pie");
|
|
177
|
+
f.setupLifecycle();
|
|
178
|
+
const L = f.getStyle(), O = f.getEchartId(), S = A(() => P(s.conf.options));
|
|
179
|
+
return (w, e) => (j(), I("div", {
|
|
180
|
+
class: "mix-component",
|
|
181
|
+
style: b({ background: m(L).bgColor, borderRadius: `${m(L).radiusSize}px` })
|
|
182
|
+
}, [
|
|
183
|
+
g("div", {
|
|
184
|
+
class: "mix-title",
|
|
185
|
+
style: b(S.value)
|
|
186
|
+
}, N(a.conf.caption || a.conf.name), 5),
|
|
187
|
+
g("div", W, [
|
|
188
|
+
g("div", {
|
|
189
|
+
class: "w-full h-full",
|
|
190
|
+
id: m(O)
|
|
191
|
+
}, null, 8, Y)
|
|
192
|
+
]),
|
|
193
|
+
R(w.$slots, "default", {}, void 0, !0)
|
|
194
|
+
], 4));
|
|
195
|
+
}
|
|
196
|
+
})), we = /* @__PURE__ */ D(ae, [["__scopeId", "data-v-d2224a67"]]);
|
|
197
|
+
export {
|
|
198
|
+
we as default
|
|
199
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var V=Object.defineProperty,E=Object.defineProperties;var z=Object.getOwnPropertyDescriptors;var v=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var y=(r,s,c)=>s in r?V(r,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):r[s]=c,h=(r,s)=>{for(var c in s||(s={}))$.call(s,c)&&y(r,c,s[c]);if(v)for(var c of v(s))B.call(s,c)&&y(r,c,s[c]);return r},f=(r,s)=>E(r,z(s));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),M=require("./element-resize-detector-Bo5uDQAu.cjs"),b=require("./index-Mh5Dw2sd.cjs"),N=require("./EChartComponentBase-BaQpBzVC.cjs"),R=require("./titleStyle-NSnz6cUg.cjs"),j=require("./install-DV5cEgNV.cjs"),A=require("./install-CltTFs4e.cjs"),g=require("./installCanvasRenderer-CyhM1Qpl.cjs"),I=require("./install-nDY6w-GK.cjs"),T="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='17px'%20viewBox='0%200%2017%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e饼状图%3c/title%3e%3cg%20id='页面-2'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='轮廓化'%20transform='translate(-101.000000,%20-888.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M109.65,888.3%20C114.068274,888.3%20117.65,891.881726%20117.65,896.3%20C117.65,896.655494%20117.361815,896.943678%20117.006322,896.943678%20L117.006322,896.943678%20L110.42435,896.943678%20C110.35217,896.943678%20110.293678,897.00217%20110.293678,897.07435%20L110.293678,897.07435%20L110.293678,903.656322%20C110.293678,904.011815%20110.005494,904.3%20109.65,904.3%20C105.231726,904.3%20101.65,900.718274%20101.65,896.3%20C101.65,891.881726%20105.231726,888.3%20109.65,888.3%20Z%20M116.619147,897.979371%20C116.974641,897.979371%20117.262825,898.267555%20117.262825,898.623049%20L117.262825,898.623049%20L117.262825,903.269147%20C117.262825,903.624641%20116.974641,903.912825%20116.619147,903.912825%20L116.619147,903.912825%20L111.973049,903.912825%20C111.617555,903.912825%20111.329371,903.624641%20111.329371,903.269147%20L111.329371,903.269147%20L111.329371,898.623049%20C111.329371,898.267555%20111.617555,897.979371%20111.973049,897.979371%20L111.973049,897.979371%20Z%20M109.65,889.587356%20C105.942713,889.587356%20102.937356,892.592713%20102.937356,896.3%20C102.937356,899.78485%20105.59289,902.649474%20108.990767,902.980683%20L108.990767,902.980683%20L109.006322,902.981379%20L109.006322,897.07435%20C109.006322,896.334692%20109.572602,895.72732%20110.295278,895.662117%20L110.295278,895.662117%20L110.42435,895.656322%20L116.331379,895.656322%20L116.305497,895.420134%20C115.883945,892.200222%20113.180401,889.698255%20109.871576,889.590944%20L109.871576,889.590944%20Z%20M115.974598,899.266437%20L112.616437,899.266437%20L112.616437,902.624598%20L115.974598,902.624598%20L115.974598,899.266437%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",F="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='17px'%20height='17px'%20viewBox='0%200%2017%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e饼状图%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='显示板图标-轮廓化备份'%20transform='translate(-101.000000,%20-888.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M109.65,888.3%20C114.068274,888.3%20117.65,891.881726%20117.65,896.3%20C117.65,896.655494%20117.361815,896.943678%20117.006322,896.943678%20L117.006322,896.943678%20L110.42435,896.943678%20C110.35217,896.943678%20110.293678,897.00217%20110.293678,897.07435%20L110.293678,897.07435%20L110.293678,903.656322%20C110.293678,904.011815%20110.005494,904.3%20109.65,904.3%20C105.231726,904.3%20101.65,900.718274%20101.65,896.3%20C101.65,891.881726%20105.231726,888.3%20109.65,888.3%20Z%20M116.619147,897.979371%20C116.974641,897.979371%20117.262825,898.267555%20117.262825,898.623049%20L117.262825,898.623049%20L117.262825,903.269147%20C117.262825,903.624641%20116.974641,903.912825%20116.619147,903.912825%20L116.619147,903.912825%20L111.973049,903.912825%20C111.617555,903.912825%20111.329371,903.624641%20111.329371,903.269147%20L111.329371,903.269147%20L111.329371,898.623049%20C111.329371,898.267555%20111.617555,897.979371%20111.973049,897.979371%20L111.973049,897.979371%20Z%20M109.65,889.587356%20C105.942713,889.587356%20102.937356,892.592713%20102.937356,896.3%20C102.937356,899.78485%20105.59289,902.649474%20108.990767,902.980683%20L108.990767,902.980683%20L109.006322,902.981379%20L109.006322,897.07435%20C109.006322,896.334692%20109.572602,895.72732%20110.295278,895.662117%20L110.295278,895.662117%20L110.42435,895.656322%20L116.331379,895.656322%20L116.305497,895.420134%20C115.883945,892.200222%20113.180401,889.698255%20109.871576,889.590944%20L109.871576,889.590944%20Z%20M115.974598,899.266437%20L112.616437,899.266437%20L112.616437,902.624598%20L115.974598,902.624598%20L115.974598,899.266437%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",q={class:"mix-body"},D=["id"],Z={DEFAULT_ICON:T,ACTIVE_ICON:F,NAME_CN:"饼状图",NAME_EN:"Pie",ORDER:1},P={titleColor:"#111",textColor:"#111",bgColor:"#fff",radiusSize:8,textSize:12,type:{value:"pie",type:"radio",option:[{value:"pie",label:"component.options.pie_type_pie"},{value:"circle",label:"component.options.pie_type_circle"}],label:"component.options.pie_type"},radius:{value:50,type:"number",label:"component.options.pie_radius",dependent:"type",repel:"circle"},inside:{value:40,type:"number",label:"component.options.pie_inside",dependent:"type",repel:"pie"},outside:{value:75,type:"number",label:"component.options.pie_outside",dependent:"type",repel:"pie"},isHideTitle:!1,showLabel:!1,showLegend:!0,orient:{value:"horizontal",type:"radio",option:[{value:"horizontal",label:"component.options.orient_horizontal"},{value:"vertical",label:"component.options.orient_vertical"}],label:"component.options.orient",dependent:"showLegend"},showValue:!0,showRate:!1,wrap:!1,wrapByte:{value:5,type:"number",label:"component.options.pie_wrapByte",dependent:"wrap"}},U=[{name:"参数一",fv:"",object_id:"",color:"#4162ff"},{name:"参数二",fv:"",object_id:"",color:"#3bbc6a"},{name:"参数三",fv:"",object_id:"",color:"#e24359"}],H=["name","fv","object_id","color"],G=["mosaic","statistics","calculate"],K={useAlias:!1,multiObject:!1,source:"mosaic"},X={DEFAULT:Z,OPTIONS:P,DATA:U,PARAMS:H,SOURCE:G,COMMON:K},J=a.defineComponent(f(h({},X),{__name:"pie",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(r){g.use([j.install,A.install,g.install,g.install$1,I.install]);const s=r,c=b.useLinkStore(),S={horizontal:{orient:"horizontal",bottom:"5%",left:"center"},vertical:{orient:"vertical",right:"5%",top:"5%"}};class x extends N.EChartComponentBase{initChart(){var e,o;super.initChart(),this.props.mode==="preview"&&((e=this.chartObj)==null||e.off("click"),(o=this.chartObj)==null||o.on("click",t=>{var i,n,p,u,d,w;const l=t==null?void 0:t.name;if(typeof l=="string"&&l){const k=((n=(i=this.props.conf)==null?void 0:i.options)==null?void 0:n.linkChannel)==="custom"?(u=(p=this.props.conf)==null?void 0:p.options)==null?void 0:u.customChannel:(w=(d=this.props.conf)==null?void 0:d.options)==null?void 0:w.linkChannel;c.publish(k||"pie","pie",{objectId:"",deviceId:"",type:"select",fieldKey:l,fv:h({key:l},t),source:"pie"})}}))}extractStyles(){return f(h({},super.extractStyles()),{type:this.getOptionValue("type","pie"),radius:this.getOptionValue("radius",50),inside:this.getOptionValue("inside",40),outside:this.getOptionValue("outside",75),showLabel:this.getOptionValue("showLabel",!1),showLegend:this.getOptionValue("showLegend",!0),orient:this.getOptionValue("orient","horizontal"),showValue:this.getOptionValue("showValue",!0),showRate:this.getOptionValue("showRate",!1),wrap:this.getOptionValue("wrap",!1),wrapByte:this.getOptionValue("wrapByte",5)})}getChartOption(){const e=this.Style.value,{data:o,name:t}=this.props.conf,l=o.map((i,n)=>i.color||M.COLORS[n]);return{title:{show:!1,text:t||"",x:"center"},color:l,tooltip:{trigger:"item",formatter:"{a} <br/>{b} : {c} ({d}%)"},legend:f(h({show:e.showLegend},S[e.orient]),{data:o.map(i=>i.name),textStyle:{color:e.textColor}}),series:this.formatSeries()}}formatSeries(){const e=this.Style.value,{data:o,name:t}=this.props.conf,l=o.map(n=>({value:0,name:n.name})),i=e.type==="pie"?`${e.radius}%`:[`${e.inside}%`,`${e.outside}%`];return[{name:t,type:"pie",radius:i,center:["50%","40%"],data:l,emphasis:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"},label:{color:e.textColor,lineHeight:16,fontSize:e.textSize,formatter:n=>this.formatLabel(n)}}]}formatLabel(e){const o=this.Style.value;let t=e.name;return o.showValue&&o.showRate?t=`${e.name}: ${e.value}(${e.percent}%)`:o.showValue?t=`${e.name}: ${e.value}`:o.showRate&&(t=`${e.name}${e.percent}%`),this.insertBreaks(t)}insertBreaks(e){const o=this.Style.value;if(!o.wrap)return e;const t=o.wrapByte||5;let l="",i=0,n=0;for(const p of e)p.charCodeAt(0)>=19968&&p.charCodeAt(0)<=40959?(n++,i+=2):i+=1,l+=p,(n>=t||i>=t*2)&&(l+=`
|
|
2
|
+
`,n=0,i=0);return l}setSocketData(e){if(!e||!this.chartObj)return;const{data:o}=this.props.conf,t=this.chartObj.getOption();o.forEach((l,i)=>{var p,u,d;const n=this.extractDataValue(e,l.fv);(d=(u=(p=t.series)==null?void 0:p[0])==null?void 0:u.data)!=null&&d[i]&&(t.series[0].data[i].value=n!=null?n:0)}),this.updateChart(t)}}const m=new x(s,"pie");m.setupLifecycle();const L=m.getStyle(),O=m.getEchartId(),_=a.computed(()=>R.generateTitleStyle(s.conf.options));return(C,e)=>(a.openBlock(),a.createElementBlock("div",{class:"mix-component",style:a.normalizeStyle({background:a.unref(L).bgColor,borderRadius:`${a.unref(L).radiusSize}px`})},[a.createElementVNode("div",{class:"mix-title",style:a.normalizeStyle(_.value)},a.toDisplayString(r.conf.caption||r.conf.name),5),a.createElementVNode("div",q,[a.createElementVNode("div",{class:"w-full h-full",id:a.unref(O)},null,8,D)]),a.renderSlot(C.$slots,"default",{},void 0,!0)],4))}})),Q=b._export_sfc(J,[["__scopeId","data-v-d2224a67"]]);exports.default=Q;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const o=require("./echarts-BB8O2KSA.cjs"),V=require("./labelHelper-npJGYQ1j.cjs"),C=require("./installCanvasRenderer-CyhM1Qpl.cjs");var R=(function(m){o.__extends(t,m);function t(e,l,a,i){var n=m.call(this)||this;return n.updateData(e,l,a,i),n}return t.prototype._createSymbol=function(e,l,a,i,n){this.removeAll();var r=o.createSymbol(e,-1,-1,2,2,null,n);r.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),r.drift=w,this._symbolType=e,this.add(r)},t.prototype.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(null,e)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){o.enterEmphasis(this.childAt(0))},t.prototype.downplay=function(){o.leaveEmphasis(this.childAt(0))},t.prototype.setZ=function(e,l){var a=this.childAt(0);a.zlevel=e,a.z=l},t.prototype.setDraggable=function(e,l){var a=this.childAt(0);a.draggable=e,a.cursor=!l&&e?"move":a.cursor},t.prototype.updateData=function(e,l,a,i){this.silent=!1;var n=e.getItemVisual(l,"symbol")||"circle",r=e.hostModel,y=t.getSymbolSize(e,l),f=n!==this._symbolType,h=i&&i.disableAnimation;if(f){var c=e.getItemVisual(l,"symbolKeepAspect");this._createSymbol(n,e,l,y,c)}else{var u=this.childAt(0);u.silent=!1;var s={scaleX:y[0]/2,scaleY:y[1]/2};h?u.attr(s):o.updateProps(u,s,r,l),o.saveOldStyle(u)}if(this._updateCommon(e,l,y,a,i),f){var u=this.childAt(0);if(!h){var s={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:u.style.opacity}};u.scaleX=u.scaleY=0,u.style.opacity=0,o.initProps(u,s,r,l)}}h&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(e,l,a,i,n){var r=this.childAt(0),y=e.hostModel,f,h,c,u,s,g,I,v,b;if(i&&(f=i.emphasisItemStyle,h=i.blurItemStyle,c=i.selectItemStyle,u=i.focus,s=i.blurScope,I=i.labelStatesModels,v=i.hoverScale,b=i.cursorStyle,g=i.emphasisDisabled),!i||e.hasItemOption){var d=i&&i.itemModel?i.itemModel:e.getItemModel(l),p=d.getModel("emphasis");f=p.getModel("itemStyle").getItemStyle(),c=d.getModel(["select","itemStyle"]).getItemStyle(),h=d.getModel(["blur","itemStyle"]).getItemStyle(),u=p.get("focus"),s=p.get("blurScope"),g=p.get("disabled"),I=o.getLabelStatesModels(d),v=p.getShallow("scale"),b=d.getShallow("cursor")}var D=e.getItemVisual(l,"symbolRotate");r.attr("rotation",(D||0)*Math.PI/180||0);var S=o.normalizeSymbolOffset(e.getItemVisual(l,"symbolOffset"),a);S&&(r.x=S[0],r.y=S[1]),b&&r.attr("cursor",b);var _=e.getItemVisual(l,"style"),L=_.fill;if(r instanceof o.ZRImage){var A=r.style;r.useStyle(o.extend({image:A.image,x:A.x,y:A.y,width:A.width,height:A.height},_))}else r.__isEmptyBrush?r.useStyle(o.extend({},_)):r.useStyle(_),r.style.decal=null,r.setColor(L,n&&n.symbolInnerColor),r.style.strokeNoScale=!0;var M=e.getItemVisual(l,"liftZ"),z=this._z2;M!=null?z==null&&(this._z2=r.z2,r.z2+=M):z!=null&&(r.z2=z,this._z2=null);var X=n&&n.useNameLabel;o.setLabelStyle(r,I,{labelFetcher:y,labelDataIndex:l,defaultText:N,inheritColor:L,defaultOpacity:_.opacity});function N(T){return X?e.getName(T):V.getDefaultLabel(e,T)}this._sizeX=a[0]/2,this._sizeY=a[1]/2;var P=r.ensureState("emphasis");P.style=f,r.ensureState("select").style=c,r.ensureState("blur").style=h;var O=v==null||v===!0?Math.max(1.1,3/this._sizeY):isFinite(v)&&v>0?+v:1;P.scaleX=this._sizeX*O,P.scaleY=this._sizeY*O,this.setSymbolScale(1),o.toggleHoverEmphasis(this,u,s,g)},t.prototype.setSymbolScale=function(e){this.scaleX=this.scaleY=e},t.prototype.fadeOut=function(e,l,a){var i=this.childAt(0),n=o.getECData(this).dataIndex,r=a&&a.animation;if(this.silent=i.silent=!0,a&&a.fadeLabel){var y=i.getTextContent();y&&o.removeElement(y,{style:{opacity:0}},l,{dataIndex:n,removeOpt:r,cb:function(){i.removeTextContent()}})}else i.removeTextContent();o.removeElement(i,{style:{opacity:0},scaleX:0,scaleY:0},l,{dataIndex:n,cb:e,removeOpt:r})},t.getSymbolSize=function(e,l){return o.normalizeSymbolSize(e.getItemVisual(l,"symbolSize"))},t})(o.Group);function w(m,t){this.parent.drift(m,t)}function E(m,t,e,l){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(l.isIgnore&&l.isIgnore(e))&&!(l.clipShape&&!l.clipShape.contain(t[0],t[1]))&&m.getItemVisual(e,"symbol")!=="none"}function Y(m){return m!=null&&!o.isObject(m)&&(m={isIgnore:m}),m||{}}function G(m){var t=m.hostModel,e=t.getModel("emphasis");return{emphasisItemStyle:e.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:e.get("focus"),blurScope:e.get("blurScope"),emphasisDisabled:e.get("disabled"),hoverScale:e.get("scale"),labelStatesModels:o.getLabelStatesModels(t),cursorStyle:t.get("cursor")}}var k=(function(){function m(t){this.group=new o.Group,this._SymbolCtor=t||R}return m.prototype.updateData=function(t,e){this._progressiveEls=null,e=Y(e);var l=this.group,a=t.hostModel,i=this._data,n=this._SymbolCtor,r=e.disableAnimation,y=G(t),f={disableAnimation:r},h=e.getSymbolPoint||function(c){return t.getItemLayout(c)};i||l.removeAll(),t.diff(i).add(function(c){var u=h(c);if(E(t,u,c,e)){var s=new n(t,c,y,f);s.setPosition(u),t.setItemGraphicEl(c,s),l.add(s)}}).update(function(c,u){var s=i.getItemGraphicEl(u),g=h(c);if(!E(t,g,c,e)){l.remove(s);return}var I=t.getItemVisual(c,"symbol")||"circle",v=s&&s.getSymbolType&&s.getSymbolType();if(!s||v&&v!==I)l.remove(s),s=new n(t,c,y,f),s.setPosition(g);else{s.updateData(t,c,y,f);var b={x:g[0],y:g[1]};r?s.attr(b):o.updateProps(s,b,a)}l.add(s),t.setItemGraphicEl(c,s)}).remove(function(c){var u=i.getItemGraphicEl(c);u&&u.fadeOut(function(){l.remove(u)},a)}).execute(),this._getSymbolPoint=h,this._data=t},m.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl(function(l,a){var i=t._getSymbolPoint(a);l.setPosition(i),l.markRedraw()})},m.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=G(t),this._data=null,this.group.removeAll()},m.prototype.incrementalUpdate=function(t,e,l){this._progressiveEls=[],l=Y(l);function a(y){y.isGroup||(y.incremental=!0,y.ensureState("emphasis").hoverLayer=!0)}for(var i=t.start;i<t.end;i++){var n=e.getItemLayout(i);if(E(e,n,i,l)){var r=new this._SymbolCtor(e,i,this._seriesScope);r.traverse(a),r.setPosition(n),this.group.add(r),e.setItemGraphicEl(i,r),this._progressiveEls.push(r)}}},m.prototype.eachRendered=function(t){o.traverseElements(this._progressiveEls||this.group,t)},m.prototype.remove=function(t){var e=this.group,l=this._data;l&&t?l.eachItemGraphicEl(function(a){a.fadeOut(function(){e.remove(a)},l.hostModel)}):e.removeAll()},m})();function U(m,t){return{seriesType:m,plan:o.createRenderPlanner(),reset:function(e){var l=e.getData(),a=e.coordinateSystem,i=e.pipelineContext,n=t||i.large;if(a){var r=o.map(a.dimensions,function(s){return l.mapDimension(s)}).slice(0,2),y=r.length,f=l.getCalculationInfo("stackResultDimension");C.isDimensionStacked(l,r[0])&&(r[0]=f),C.isDimensionStacked(l,r[1])&&(r[1]=f);var h=l.getStore(),c=l.getDimensionIndex(r[0]),u=l.getDimensionIndex(r[1]);return y&&{progress:function(s,g){for(var I=s.end-s.start,v=n&&C.createFloat32Array(I*y),b=[],d=[],p=s.start,D=0;p<s.end;p++){var S=void 0;if(y===1){var _=h.get(c,p);S=a.dataToPoint(_,null,d)}else b[0]=h.get(c,p),b[1]=h.get(u,p),S=a.dataToPoint(b,null,d);n?(v[D++]=S[0],v[D++]=S[1]):g.setItemLayout(p,S.slice())}n&&g.setLayout("points",v)}}}}}}exports.Symbol=R;exports.SymbolDraw=k;exports.pointsLayout=U;
|
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
import { _ as U, H as Z, ee as F, ef as H, Q as N, c2 as j, c1 as Q, c6 as R, be as B, dg as K, x as L, z as $, c8 as q, g as x, cA as M, ec as J, G as V, c0 as W, T as ee, o as te, aj as ae } from "./echarts-BVht3HHb.js";
|
|
2
|
+
import { g as se } from "./labelHelper-Cd8oB-sZ.js";
|
|
3
|
+
import { L as Y, Q as le } from "./installCanvasRenderer-CLT2hquJ.js";
|
|
4
|
+
var ie = (
|
|
5
|
+
/** @class */
|
|
6
|
+
(function(m) {
|
|
7
|
+
U(t, m);
|
|
8
|
+
function t(e, a, i, l) {
|
|
9
|
+
var o = m.call(this) || this;
|
|
10
|
+
return o.updateData(e, a, i, l), o;
|
|
11
|
+
}
|
|
12
|
+
return t.prototype._createSymbol = function(e, a, i, l, o) {
|
|
13
|
+
this.removeAll();
|
|
14
|
+
var s = Z(e, -1, -1, 2, 2, null, o);
|
|
15
|
+
s.attr({
|
|
16
|
+
z2: 100,
|
|
17
|
+
culling: !0,
|
|
18
|
+
scaleX: l[0] / 2,
|
|
19
|
+
scaleY: l[1] / 2
|
|
20
|
+
}), s.drift = re, this._symbolType = e, this.add(s);
|
|
21
|
+
}, t.prototype.stopSymbolAnimation = function(e) {
|
|
22
|
+
this.childAt(0).stopAnimation(null, e);
|
|
23
|
+
}, t.prototype.getSymbolType = function() {
|
|
24
|
+
return this._symbolType;
|
|
25
|
+
}, t.prototype.getSymbolPath = function() {
|
|
26
|
+
return this.childAt(0);
|
|
27
|
+
}, t.prototype.highlight = function() {
|
|
28
|
+
F(this.childAt(0));
|
|
29
|
+
}, t.prototype.downplay = function() {
|
|
30
|
+
H(this.childAt(0));
|
|
31
|
+
}, t.prototype.setZ = function(e, a) {
|
|
32
|
+
var i = this.childAt(0);
|
|
33
|
+
i.zlevel = e, i.z = a;
|
|
34
|
+
}, t.prototype.setDraggable = function(e, a) {
|
|
35
|
+
var i = this.childAt(0);
|
|
36
|
+
i.draggable = e, i.cursor = !a && e ? "move" : i.cursor;
|
|
37
|
+
}, t.prototype.updateData = function(e, a, i, l) {
|
|
38
|
+
this.silent = !1;
|
|
39
|
+
var o = e.getItemVisual(a, "symbol") || "circle", s = e.hostModel, c = t.getSymbolSize(e, a), v = o !== this._symbolType, y = l && l.disableAnimation;
|
|
40
|
+
if (v) {
|
|
41
|
+
var u = e.getItemVisual(a, "symbolKeepAspect");
|
|
42
|
+
this._createSymbol(o, e, a, c, u);
|
|
43
|
+
} else {
|
|
44
|
+
var n = this.childAt(0);
|
|
45
|
+
n.silent = !1;
|
|
46
|
+
var r = {
|
|
47
|
+
scaleX: c[0] / 2,
|
|
48
|
+
scaleY: c[1] / 2
|
|
49
|
+
};
|
|
50
|
+
y ? n.attr(r) : N(n, r, s, a), j(n);
|
|
51
|
+
}
|
|
52
|
+
if (this._updateCommon(e, a, c, i, l), v) {
|
|
53
|
+
var n = this.childAt(0);
|
|
54
|
+
if (!y) {
|
|
55
|
+
var r = {
|
|
56
|
+
scaleX: this._sizeX,
|
|
57
|
+
scaleY: this._sizeY,
|
|
58
|
+
style: {
|
|
59
|
+
// Always fadeIn. Because it has fadeOut animation when symbol is removed..
|
|
60
|
+
opacity: n.style.opacity
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
n.scaleX = n.scaleY = 0, n.style.opacity = 0, Q(n, r, s, a);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
y && this.childAt(0).stopAnimation("leave");
|
|
67
|
+
}, t.prototype._updateCommon = function(e, a, i, l, o) {
|
|
68
|
+
var s = this.childAt(0), c = e.hostModel, v, y, u, n, r, p, d, h, g;
|
|
69
|
+
if (l && (v = l.emphasisItemStyle, y = l.blurItemStyle, u = l.selectItemStyle, n = l.focus, r = l.blurScope, d = l.labelStatesModels, h = l.hoverScale, g = l.cursorStyle, p = l.emphasisDisabled), !l || e.hasItemOption) {
|
|
70
|
+
var S = l && l.itemModel ? l.itemModel : e.getItemModel(a), f = S.getModel("emphasis");
|
|
71
|
+
v = f.getModel("itemStyle").getItemStyle(), u = S.getModel(["select", "itemStyle"]).getItemStyle(), y = S.getModel(["blur", "itemStyle"]).getItemStyle(), n = f.get("focus"), r = f.get("blurScope"), p = f.get("disabled"), d = R(S), h = f.getShallow("scale"), g = S.getShallow("cursor");
|
|
72
|
+
}
|
|
73
|
+
var A = e.getItemVisual(a, "symbolRotate");
|
|
74
|
+
s.attr("rotation", (A || 0) * Math.PI / 180 || 0);
|
|
75
|
+
var b = B(e.getItemVisual(a, "symbolOffset"), i);
|
|
76
|
+
b && (s.x = b[0], s.y = b[1]), g && s.attr("cursor", g);
|
|
77
|
+
var I = e.getItemVisual(a, "style"), T = I.fill;
|
|
78
|
+
if (s instanceof K) {
|
|
79
|
+
var _ = s.style;
|
|
80
|
+
s.useStyle(L({
|
|
81
|
+
// TODO other properties like x, y ?
|
|
82
|
+
image: _.image,
|
|
83
|
+
x: _.x,
|
|
84
|
+
y: _.y,
|
|
85
|
+
width: _.width,
|
|
86
|
+
height: _.height
|
|
87
|
+
}, I));
|
|
88
|
+
} else
|
|
89
|
+
s.__isEmptyBrush ? s.useStyle(L({}, I)) : s.useStyle(I), s.style.decal = null, s.setColor(T, o && o.symbolInnerColor), s.style.strokeNoScale = !0;
|
|
90
|
+
var C = e.getItemVisual(a, "liftZ"), z = this._z2;
|
|
91
|
+
C != null ? z == null && (this._z2 = s.z2, s.z2 += C) : z != null && (s.z2 = z, this._z2 = null);
|
|
92
|
+
var w = o && o.useNameLabel;
|
|
93
|
+
$(s, d, {
|
|
94
|
+
labelFetcher: c,
|
|
95
|
+
labelDataIndex: a,
|
|
96
|
+
defaultText: k,
|
|
97
|
+
inheritColor: T,
|
|
98
|
+
defaultOpacity: I.opacity
|
|
99
|
+
});
|
|
100
|
+
function k(O) {
|
|
101
|
+
return w ? e.getName(O) : se(e, O);
|
|
102
|
+
}
|
|
103
|
+
this._sizeX = i[0] / 2, this._sizeY = i[1] / 2;
|
|
104
|
+
var D = s.ensureState("emphasis");
|
|
105
|
+
D.style = v, s.ensureState("select").style = u, s.ensureState("blur").style = y;
|
|
106
|
+
var E = h == null || h === !0 ? Math.max(1.1, 3 / this._sizeY) : isFinite(h) && h > 0 ? +h : 1;
|
|
107
|
+
D.scaleX = this._sizeX * E, D.scaleY = this._sizeY * E, this.setSymbolScale(1), q(this, n, r, p);
|
|
108
|
+
}, t.prototype.setSymbolScale = function(e) {
|
|
109
|
+
this.scaleX = this.scaleY = e;
|
|
110
|
+
}, t.prototype.fadeOut = function(e, a, i) {
|
|
111
|
+
var l = this.childAt(0), o = x(this).dataIndex, s = i && i.animation;
|
|
112
|
+
if (this.silent = l.silent = !0, i && i.fadeLabel) {
|
|
113
|
+
var c = l.getTextContent();
|
|
114
|
+
c && M(c, {
|
|
115
|
+
style: {
|
|
116
|
+
opacity: 0
|
|
117
|
+
}
|
|
118
|
+
}, a, {
|
|
119
|
+
dataIndex: o,
|
|
120
|
+
removeOpt: s,
|
|
121
|
+
cb: function() {
|
|
122
|
+
l.removeTextContent();
|
|
123
|
+
}
|
|
124
|
+
});
|
|
125
|
+
} else
|
|
126
|
+
l.removeTextContent();
|
|
127
|
+
M(l, {
|
|
128
|
+
style: {
|
|
129
|
+
opacity: 0
|
|
130
|
+
},
|
|
131
|
+
scaleX: 0,
|
|
132
|
+
scaleY: 0
|
|
133
|
+
}, a, {
|
|
134
|
+
dataIndex: o,
|
|
135
|
+
cb: e,
|
|
136
|
+
removeOpt: s
|
|
137
|
+
});
|
|
138
|
+
}, t.getSymbolSize = function(e, a) {
|
|
139
|
+
return J(e.getItemVisual(a, "symbolSize"));
|
|
140
|
+
}, t;
|
|
141
|
+
})(V)
|
|
142
|
+
);
|
|
143
|
+
function re(m, t) {
|
|
144
|
+
this.parent.drift(m, t);
|
|
145
|
+
}
|
|
146
|
+
function P(m, t, e, a) {
|
|
147
|
+
return t && !isNaN(t[0]) && !isNaN(t[1]) && !(a.isIgnore && a.isIgnore(e)) && !(a.clipShape && !a.clipShape.contain(t[0], t[1])) && m.getItemVisual(e, "symbol") !== "none";
|
|
148
|
+
}
|
|
149
|
+
function G(m) {
|
|
150
|
+
return m != null && !ee(m) && (m = {
|
|
151
|
+
isIgnore: m
|
|
152
|
+
}), m || {};
|
|
153
|
+
}
|
|
154
|
+
function X(m) {
|
|
155
|
+
var t = m.hostModel, e = t.getModel("emphasis");
|
|
156
|
+
return {
|
|
157
|
+
emphasisItemStyle: e.getModel("itemStyle").getItemStyle(),
|
|
158
|
+
blurItemStyle: t.getModel(["blur", "itemStyle"]).getItemStyle(),
|
|
159
|
+
selectItemStyle: t.getModel(["select", "itemStyle"]).getItemStyle(),
|
|
160
|
+
focus: e.get("focus"),
|
|
161
|
+
blurScope: e.get("blurScope"),
|
|
162
|
+
emphasisDisabled: e.get("disabled"),
|
|
163
|
+
hoverScale: e.get("scale"),
|
|
164
|
+
labelStatesModels: R(t),
|
|
165
|
+
cursorStyle: t.get("cursor")
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
var ue = (
|
|
169
|
+
/** @class */
|
|
170
|
+
(function() {
|
|
171
|
+
function m(t) {
|
|
172
|
+
this.group = new V(), this._SymbolCtor = t || ie;
|
|
173
|
+
}
|
|
174
|
+
return m.prototype.updateData = function(t, e) {
|
|
175
|
+
this._progressiveEls = null, e = G(e);
|
|
176
|
+
var a = this.group, i = t.hostModel, l = this._data, o = this._SymbolCtor, s = e.disableAnimation, c = X(t), v = {
|
|
177
|
+
disableAnimation: s
|
|
178
|
+
}, y = e.getSymbolPoint || function(u) {
|
|
179
|
+
return t.getItemLayout(u);
|
|
180
|
+
};
|
|
181
|
+
l || a.removeAll(), t.diff(l).add(function(u) {
|
|
182
|
+
var n = y(u);
|
|
183
|
+
if (P(t, n, u, e)) {
|
|
184
|
+
var r = new o(t, u, c, v);
|
|
185
|
+
r.setPosition(n), t.setItemGraphicEl(u, r), a.add(r);
|
|
186
|
+
}
|
|
187
|
+
}).update(function(u, n) {
|
|
188
|
+
var r = l.getItemGraphicEl(n), p = y(u);
|
|
189
|
+
if (!P(t, p, u, e)) {
|
|
190
|
+
a.remove(r);
|
|
191
|
+
return;
|
|
192
|
+
}
|
|
193
|
+
var d = t.getItemVisual(u, "symbol") || "circle", h = r && r.getSymbolType && r.getSymbolType();
|
|
194
|
+
if (!r || h && h !== d)
|
|
195
|
+
a.remove(r), r = new o(t, u, c, v), r.setPosition(p);
|
|
196
|
+
else {
|
|
197
|
+
r.updateData(t, u, c, v);
|
|
198
|
+
var g = {
|
|
199
|
+
x: p[0],
|
|
200
|
+
y: p[1]
|
|
201
|
+
};
|
|
202
|
+
s ? r.attr(g) : N(r, g, i);
|
|
203
|
+
}
|
|
204
|
+
a.add(r), t.setItemGraphicEl(u, r);
|
|
205
|
+
}).remove(function(u) {
|
|
206
|
+
var n = l.getItemGraphicEl(u);
|
|
207
|
+
n && n.fadeOut(function() {
|
|
208
|
+
a.remove(n);
|
|
209
|
+
}, i);
|
|
210
|
+
}).execute(), this._getSymbolPoint = y, this._data = t;
|
|
211
|
+
}, m.prototype.updateLayout = function() {
|
|
212
|
+
var t = this, e = this._data;
|
|
213
|
+
e && e.eachItemGraphicEl(function(a, i) {
|
|
214
|
+
var l = t._getSymbolPoint(i);
|
|
215
|
+
a.setPosition(l), a.markRedraw();
|
|
216
|
+
});
|
|
217
|
+
}, m.prototype.incrementalPrepareUpdate = function(t) {
|
|
218
|
+
this._seriesScope = X(t), this._data = null, this.group.removeAll();
|
|
219
|
+
}, m.prototype.incrementalUpdate = function(t, e, a) {
|
|
220
|
+
this._progressiveEls = [], a = G(a);
|
|
221
|
+
function i(c) {
|
|
222
|
+
c.isGroup || (c.incremental = !0, c.ensureState("emphasis").hoverLayer = !0);
|
|
223
|
+
}
|
|
224
|
+
for (var l = t.start; l < t.end; l++) {
|
|
225
|
+
var o = e.getItemLayout(l);
|
|
226
|
+
if (P(e, o, l, a)) {
|
|
227
|
+
var s = new this._SymbolCtor(e, l, this._seriesScope);
|
|
228
|
+
s.traverse(i), s.setPosition(o), this.group.add(s), e.setItemGraphicEl(l, s), this._progressiveEls.push(s);
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}, m.prototype.eachRendered = function(t) {
|
|
232
|
+
W(this._progressiveEls || this.group, t);
|
|
233
|
+
}, m.prototype.remove = function(t) {
|
|
234
|
+
var e = this.group, a = this._data;
|
|
235
|
+
a && t ? a.eachItemGraphicEl(function(i) {
|
|
236
|
+
i.fadeOut(function() {
|
|
237
|
+
e.remove(i);
|
|
238
|
+
}, a.hostModel);
|
|
239
|
+
}) : e.removeAll();
|
|
240
|
+
}, m;
|
|
241
|
+
})()
|
|
242
|
+
);
|
|
243
|
+
function ce(m, t) {
|
|
244
|
+
return {
|
|
245
|
+
seriesType: m,
|
|
246
|
+
plan: ae(),
|
|
247
|
+
reset: function(e) {
|
|
248
|
+
var a = e.getData(), i = e.coordinateSystem, l = e.pipelineContext, o = t || l.large;
|
|
249
|
+
if (i) {
|
|
250
|
+
var s = te(i.dimensions, function(r) {
|
|
251
|
+
return a.mapDimension(r);
|
|
252
|
+
}).slice(0, 2), c = s.length, v = a.getCalculationInfo("stackResultDimension");
|
|
253
|
+
Y(a, s[0]) && (s[0] = v), Y(a, s[1]) && (s[1] = v);
|
|
254
|
+
var y = a.getStore(), u = a.getDimensionIndex(s[0]), n = a.getDimensionIndex(s[1]);
|
|
255
|
+
return c && {
|
|
256
|
+
progress: function(r, p) {
|
|
257
|
+
for (var d = r.end - r.start, h = o && le(d * c), g = [], S = [], f = r.start, A = 0; f < r.end; f++) {
|
|
258
|
+
var b = void 0;
|
|
259
|
+
if (c === 1) {
|
|
260
|
+
var I = y.get(u, f);
|
|
261
|
+
b = i.dataToPoint(I, null, S);
|
|
262
|
+
} else
|
|
263
|
+
g[0] = y.get(u, f), g[1] = y.get(n, f), b = i.dataToPoint(g, null, S);
|
|
264
|
+
o ? (h[A++] = b[0], h[A++] = b[1]) : p.setItemLayout(f, b.slice());
|
|
265
|
+
}
|
|
266
|
+
o && p.setLayout("points", h);
|
|
267
|
+
}
|
|
268
|
+
};
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
};
|
|
272
|
+
}
|
|
273
|
+
export {
|
|
274
|
+
ie as S,
|
|
275
|
+
ue as a,
|
|
276
|
+
ce as p
|
|
277
|
+
};
|