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,481 @@
|
|
|
1
|
+
import { s as R, o as M, bq as X, B as P, U as J, h as W, ck as K, cl as V, ag as k, u as Q, m as N, cm as F, ay as Y } from "./echarts-BVht3HHb.js";
|
|
2
|
+
import { s as w, t as D, v as $, I as ee, w as te, x as I, y as ae } from "./installCanvasRenderer-CLT2hquJ.js";
|
|
3
|
+
var be = (
|
|
4
|
+
/** @class */
|
|
5
|
+
(function() {
|
|
6
|
+
function e() {
|
|
7
|
+
}
|
|
8
|
+
return e.prototype.getNeedCrossZero = function() {
|
|
9
|
+
var t = this.option;
|
|
10
|
+
return !t.scale;
|
|
11
|
+
}, e.prototype.getCoordSysModel = function() {
|
|
12
|
+
}, e;
|
|
13
|
+
})()
|
|
14
|
+
), T = J();
|
|
15
|
+
function O(e, t) {
|
|
16
|
+
var r = M(t, function(a) {
|
|
17
|
+
return e.scale.parse(a);
|
|
18
|
+
});
|
|
19
|
+
return e.type === "time" && r.length > 0 && (r.sort(), r.unshift(r[0]), r.push(r[r.length - 1])), r;
|
|
20
|
+
}
|
|
21
|
+
function re(e) {
|
|
22
|
+
var t = e.getLabelModel().get("customValues");
|
|
23
|
+
if (t) {
|
|
24
|
+
var r = w(e), a = e.scale.getExtent(), i = O(e, t), n = R(i, function(l) {
|
|
25
|
+
return l >= a[0] && l <= a[1];
|
|
26
|
+
});
|
|
27
|
+
return {
|
|
28
|
+
labels: M(n, function(l) {
|
|
29
|
+
var u = {
|
|
30
|
+
value: l
|
|
31
|
+
};
|
|
32
|
+
return {
|
|
33
|
+
formattedLabel: r(u),
|
|
34
|
+
rawLabel: e.scale.getLabel(u),
|
|
35
|
+
tickValue: l
|
|
36
|
+
};
|
|
37
|
+
})
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
return e.type === "category" ? le(e) : oe(e);
|
|
41
|
+
}
|
|
42
|
+
function ne(e, t) {
|
|
43
|
+
var r = e.getTickModel().get("customValues");
|
|
44
|
+
if (r) {
|
|
45
|
+
var a = e.scale.getExtent(), i = O(e, r);
|
|
46
|
+
return {
|
|
47
|
+
ticks: R(i, function(n) {
|
|
48
|
+
return n >= a[0] && n <= a[1];
|
|
49
|
+
})
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
return e.type === "category" ? ie(e, t) : {
|
|
53
|
+
ticks: M(e.scale.getTicks(), function(n) {
|
|
54
|
+
return n.value;
|
|
55
|
+
})
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function le(e) {
|
|
59
|
+
var t = e.getLabelModel(), r = _(e, t);
|
|
60
|
+
return !t.get("show") || e.scale.isBlank() ? {
|
|
61
|
+
labels: [],
|
|
62
|
+
labelCategoryInterval: r.labelCategoryInterval
|
|
63
|
+
} : r;
|
|
64
|
+
}
|
|
65
|
+
function _(e, t) {
|
|
66
|
+
var r = G(e, "labels"), a = D(t), i = H(r, a);
|
|
67
|
+
if (i)
|
|
68
|
+
return i;
|
|
69
|
+
var n, l;
|
|
70
|
+
return P(a) ? n = q(e, a) : (l = a === "auto" ? se(e) : a, n = j(e, l)), Z(r, a, {
|
|
71
|
+
labels: n,
|
|
72
|
+
labelCategoryInterval: l
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
function ie(e, t) {
|
|
76
|
+
var r = G(e, "ticks"), a = D(t), i = H(r, a);
|
|
77
|
+
if (i)
|
|
78
|
+
return i;
|
|
79
|
+
var n, l;
|
|
80
|
+
if ((!t.get("show") || e.scale.isBlank()) && (n = []), P(a))
|
|
81
|
+
n = q(e, a, !0);
|
|
82
|
+
else if (a === "auto") {
|
|
83
|
+
var u = _(e, e.getLabelModel());
|
|
84
|
+
l = u.labelCategoryInterval, n = M(u.labels, function(c) {
|
|
85
|
+
return c.tickValue;
|
|
86
|
+
});
|
|
87
|
+
} else
|
|
88
|
+
l = a, n = j(e, l, !0);
|
|
89
|
+
return Z(r, a, {
|
|
90
|
+
ticks: n,
|
|
91
|
+
tickCategoryInterval: l
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
function oe(e) {
|
|
95
|
+
var t = e.scale.getTicks(), r = w(e);
|
|
96
|
+
return {
|
|
97
|
+
labels: M(t, function(a, i) {
|
|
98
|
+
return {
|
|
99
|
+
level: a.level,
|
|
100
|
+
formattedLabel: r(a, i),
|
|
101
|
+
rawLabel: e.scale.getLabel(a),
|
|
102
|
+
tickValue: a.value
|
|
103
|
+
};
|
|
104
|
+
})
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
function G(e, t) {
|
|
108
|
+
return T(e)[t] || (T(e)[t] = []);
|
|
109
|
+
}
|
|
110
|
+
function H(e, t) {
|
|
111
|
+
for (var r = 0; r < e.length; r++)
|
|
112
|
+
if (e[r].key === t)
|
|
113
|
+
return e[r].value;
|
|
114
|
+
}
|
|
115
|
+
function Z(e, t, r) {
|
|
116
|
+
return e.push({
|
|
117
|
+
key: t,
|
|
118
|
+
value: r
|
|
119
|
+
}), r;
|
|
120
|
+
}
|
|
121
|
+
function se(e) {
|
|
122
|
+
var t = T(e).autoInterval;
|
|
123
|
+
return t != null ? t : T(e).autoInterval = e.calculateCategoryInterval();
|
|
124
|
+
}
|
|
125
|
+
function ue(e) {
|
|
126
|
+
var t = ce(e), r = w(e), a = (t.axisRotate - t.labelRotate) / 180 * Math.PI, i = e.scale, n = i.getExtent(), l = i.count();
|
|
127
|
+
if (n[1] - n[0] < 1)
|
|
128
|
+
return 0;
|
|
129
|
+
var u = 1;
|
|
130
|
+
l > 40 && (u = Math.max(1, Math.floor(l / 40)));
|
|
131
|
+
for (var c = n[0], s = e.dataToCoord(c + 1) - e.dataToCoord(c), d = Math.abs(s * Math.cos(a)), m = Math.abs(s * Math.sin(a)), g = 0, h = 0; c <= n[1]; c += u) {
|
|
132
|
+
var o = 0, f = 0, v = X(r({
|
|
133
|
+
value: c
|
|
134
|
+
}), t.font, "center", "top");
|
|
135
|
+
o = v.width * 1.3, f = v.height * 1.3, g = Math.max(g, o, 7), h = Math.max(h, f, 7);
|
|
136
|
+
}
|
|
137
|
+
var p = g / d, x = h / m;
|
|
138
|
+
isNaN(p) && (p = 1 / 0), isNaN(x) && (x = 1 / 0);
|
|
139
|
+
var y = Math.max(0, Math.floor(Math.min(p, x))), b = T(e.model), L = e.getExtent(), E = b.lastAutoInterval, S = b.lastTickCount;
|
|
140
|
+
return E != null && S != null && Math.abs(E - y) <= 1 && Math.abs(S - l) <= 1 && E > y && b.axisExtent0 === L[0] && b.axisExtent1 === L[1] ? y = E : (b.lastTickCount = l, b.lastAutoInterval = y, b.axisExtent0 = L[0], b.axisExtent1 = L[1]), y;
|
|
141
|
+
}
|
|
142
|
+
function ce(e) {
|
|
143
|
+
var t = e.getLabelModel();
|
|
144
|
+
return {
|
|
145
|
+
axisRotate: e.getRotate ? e.getRotate() : e.isHorizontal && !e.isHorizontal() ? 90 : 0,
|
|
146
|
+
labelRotate: t.get("rotate") || 0,
|
|
147
|
+
font: t.getFont()
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
function j(e, t, r) {
|
|
151
|
+
var a = w(e), i = e.scale, n = i.getExtent(), l = e.getLabelModel(), u = [], c = Math.max((t || 0) + 1, 1), s = n[0], d = i.count();
|
|
152
|
+
s !== 0 && c > 1 && d / c > 2 && (s = Math.round(Math.ceil(s / c) * c));
|
|
153
|
+
var m = $(e), g = l.get("showMinLabel") || m, h = l.get("showMaxLabel") || m;
|
|
154
|
+
g && s !== n[0] && f(n[0]);
|
|
155
|
+
for (var o = s; o <= n[1]; o += c)
|
|
156
|
+
f(o);
|
|
157
|
+
h && o - c !== n[1] && f(n[1]);
|
|
158
|
+
function f(v) {
|
|
159
|
+
var p = {
|
|
160
|
+
value: v
|
|
161
|
+
};
|
|
162
|
+
u.push(r ? v : {
|
|
163
|
+
formattedLabel: a(p),
|
|
164
|
+
rawLabel: i.getLabel(p),
|
|
165
|
+
tickValue: v
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
return u;
|
|
169
|
+
}
|
|
170
|
+
function q(e, t, r) {
|
|
171
|
+
var a = e.scale, i = w(e), n = [];
|
|
172
|
+
return W(a.getTicks(), function(l) {
|
|
173
|
+
var u = a.getLabel(l), c = l.value;
|
|
174
|
+
t(l.value, u) && n.push(r ? c : {
|
|
175
|
+
formattedLabel: i(l),
|
|
176
|
+
rawLabel: u,
|
|
177
|
+
tickValue: c
|
|
178
|
+
});
|
|
179
|
+
}), n;
|
|
180
|
+
}
|
|
181
|
+
var B = [0, 1], pe = (
|
|
182
|
+
/** @class */
|
|
183
|
+
(function() {
|
|
184
|
+
function e(t, r, a) {
|
|
185
|
+
this.onBand = !1, this.inverse = !1, this.dim = t, this.scale = r, this._extent = a || [0, 0];
|
|
186
|
+
}
|
|
187
|
+
return e.prototype.contain = function(t) {
|
|
188
|
+
var r = this._extent, a = Math.min(r[0], r[1]), i = Math.max(r[0], r[1]);
|
|
189
|
+
return t >= a && t <= i;
|
|
190
|
+
}, e.prototype.containData = function(t) {
|
|
191
|
+
return this.scale.contain(t);
|
|
192
|
+
}, e.prototype.getExtent = function() {
|
|
193
|
+
return this._extent.slice();
|
|
194
|
+
}, e.prototype.getPixelPrecision = function(t) {
|
|
195
|
+
return K(t || this.scale.getExtent(), this._extent);
|
|
196
|
+
}, e.prototype.setExtent = function(t, r) {
|
|
197
|
+
var a = this._extent;
|
|
198
|
+
a[0] = t, a[1] = r;
|
|
199
|
+
}, e.prototype.dataToCoord = function(t, r) {
|
|
200
|
+
var a = this._extent, i = this.scale;
|
|
201
|
+
return t = i.normalize(t), this.onBand && i.type === "ordinal" && (a = a.slice(), z(a, i.count())), V(t, B, a, r);
|
|
202
|
+
}, e.prototype.coordToData = function(t, r) {
|
|
203
|
+
var a = this._extent, i = this.scale;
|
|
204
|
+
this.onBand && i.type === "ordinal" && (a = a.slice(), z(a, i.count()));
|
|
205
|
+
var n = V(t, a, B, r);
|
|
206
|
+
return this.scale.scale(n);
|
|
207
|
+
}, e.prototype.pointToData = function(t, r) {
|
|
208
|
+
}, e.prototype.getTicksCoords = function(t) {
|
|
209
|
+
t = t || {};
|
|
210
|
+
var r = t.tickModel || this.getTickModel(), a = ne(this, r), i = a.ticks, n = M(i, function(u) {
|
|
211
|
+
return {
|
|
212
|
+
coord: this.dataToCoord(this.scale.type === "ordinal" ? this.scale.getRawOrdinalNumber(u) : u),
|
|
213
|
+
tickValue: u
|
|
214
|
+
};
|
|
215
|
+
}, this), l = r.get("alignWithLabel");
|
|
216
|
+
return ve(this, n, l, t.clamp), n;
|
|
217
|
+
}, e.prototype.getMinorTicksCoords = function() {
|
|
218
|
+
if (this.scale.type === "ordinal")
|
|
219
|
+
return [];
|
|
220
|
+
var t = this.model.getModel("minorTick"), r = t.get("splitNumber");
|
|
221
|
+
r > 0 && r < 100 || (r = 5);
|
|
222
|
+
var a = this.scale.getMinorTicks(r), i = M(a, function(n) {
|
|
223
|
+
return M(n, function(l) {
|
|
224
|
+
return {
|
|
225
|
+
coord: this.dataToCoord(l),
|
|
226
|
+
tickValue: l
|
|
227
|
+
};
|
|
228
|
+
}, this);
|
|
229
|
+
}, this);
|
|
230
|
+
return i;
|
|
231
|
+
}, e.prototype.getViewLabels = function() {
|
|
232
|
+
return re(this).labels;
|
|
233
|
+
}, e.prototype.getLabelModel = function() {
|
|
234
|
+
return this.model.getModel("axisLabel");
|
|
235
|
+
}, e.prototype.getTickModel = function() {
|
|
236
|
+
return this.model.getModel("axisTick");
|
|
237
|
+
}, e.prototype.getBandWidth = function() {
|
|
238
|
+
var t = this._extent, r = this.scale.getExtent(), a = r[1] - r[0] + (this.onBand ? 1 : 0);
|
|
239
|
+
a === 0 && (a = 1);
|
|
240
|
+
var i = Math.abs(t[1] - t[0]);
|
|
241
|
+
return Math.abs(i) / a;
|
|
242
|
+
}, e.prototype.calculateCategoryInterval = function() {
|
|
243
|
+
return ue(this);
|
|
244
|
+
}, e;
|
|
245
|
+
})()
|
|
246
|
+
);
|
|
247
|
+
function z(e, t) {
|
|
248
|
+
var r = e[1] - e[0], a = t, i = r / a / 2;
|
|
249
|
+
e[0] += i, e[1] -= i;
|
|
250
|
+
}
|
|
251
|
+
function ve(e, t, r, a) {
|
|
252
|
+
var i = t.length;
|
|
253
|
+
if (!e.onBand || r || !i)
|
|
254
|
+
return;
|
|
255
|
+
var n = e.getExtent(), l, u;
|
|
256
|
+
if (i === 1)
|
|
257
|
+
t[0].coord = n[0], l = t[1] = {
|
|
258
|
+
coord: n[1],
|
|
259
|
+
tickValue: t[0].tickValue
|
|
260
|
+
};
|
|
261
|
+
else {
|
|
262
|
+
var c = t[i - 1].tickValue - t[0].tickValue, s = (t[i - 1].coord - t[0].coord) / c;
|
|
263
|
+
W(t, function(h) {
|
|
264
|
+
h.coord -= s / 2;
|
|
265
|
+
});
|
|
266
|
+
var d = e.scale.getExtent();
|
|
267
|
+
u = 1 + d[1] - t[i - 1].tickValue, l = {
|
|
268
|
+
coord: t[i - 1].coord + s * u,
|
|
269
|
+
tickValue: d[1] + 1
|
|
270
|
+
}, t.push(l);
|
|
271
|
+
}
|
|
272
|
+
var m = n[0] > n[1];
|
|
273
|
+
g(t[0].coord, n[0]) && (a ? t[0].coord = n[0] : t.shift()), a && g(n[0], t[0].coord) && t.unshift({
|
|
274
|
+
coord: n[0]
|
|
275
|
+
}), g(n[1], l.coord) && (a ? l.coord = n[1] : t.pop()), a && g(l.coord, n[1]) && t.push({
|
|
276
|
+
coord: n[1]
|
|
277
|
+
});
|
|
278
|
+
function g(h, o) {
|
|
279
|
+
return h = k(h), o = k(o), m ? h > o : h < o;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
var U = {
|
|
283
|
+
show: !0,
|
|
284
|
+
// zlevel: 0,
|
|
285
|
+
z: 0,
|
|
286
|
+
// Inverse the axis.
|
|
287
|
+
inverse: !1,
|
|
288
|
+
// Axis name displayed.
|
|
289
|
+
name: "",
|
|
290
|
+
// 'start' | 'middle' | 'end'
|
|
291
|
+
nameLocation: "end",
|
|
292
|
+
// By degree. By default auto rotate by nameLocation.
|
|
293
|
+
nameRotate: null,
|
|
294
|
+
nameTruncate: {
|
|
295
|
+
maxWidth: null,
|
|
296
|
+
ellipsis: "...",
|
|
297
|
+
placeholder: "."
|
|
298
|
+
},
|
|
299
|
+
// Use global text style by default.
|
|
300
|
+
nameTextStyle: {},
|
|
301
|
+
// The gap between axisName and axisLine.
|
|
302
|
+
nameGap: 15,
|
|
303
|
+
// Default `false` to support tooltip.
|
|
304
|
+
silent: !1,
|
|
305
|
+
// Default `false` to avoid legacy user event listener fail.
|
|
306
|
+
triggerEvent: !1,
|
|
307
|
+
tooltip: {
|
|
308
|
+
show: !1
|
|
309
|
+
},
|
|
310
|
+
axisPointer: {},
|
|
311
|
+
axisLine: {
|
|
312
|
+
show: !0,
|
|
313
|
+
onZero: !0,
|
|
314
|
+
onZeroAxisIndex: null,
|
|
315
|
+
lineStyle: {
|
|
316
|
+
color: "#6E7079",
|
|
317
|
+
width: 1,
|
|
318
|
+
type: "solid"
|
|
319
|
+
},
|
|
320
|
+
// The arrow at both ends the the axis.
|
|
321
|
+
symbol: ["none", "none"],
|
|
322
|
+
symbolSize: [10, 15]
|
|
323
|
+
},
|
|
324
|
+
axisTick: {
|
|
325
|
+
show: !0,
|
|
326
|
+
// Whether axisTick is inside the grid or outside the grid.
|
|
327
|
+
inside: !1,
|
|
328
|
+
// The length of axisTick.
|
|
329
|
+
length: 5,
|
|
330
|
+
lineStyle: {
|
|
331
|
+
width: 1
|
|
332
|
+
}
|
|
333
|
+
},
|
|
334
|
+
axisLabel: {
|
|
335
|
+
show: !0,
|
|
336
|
+
// Whether axisLabel is inside the grid or outside the grid.
|
|
337
|
+
inside: !1,
|
|
338
|
+
rotate: 0,
|
|
339
|
+
// true | false | null/undefined (auto)
|
|
340
|
+
showMinLabel: null,
|
|
341
|
+
// true | false | null/undefined (auto)
|
|
342
|
+
showMaxLabel: null,
|
|
343
|
+
margin: 8,
|
|
344
|
+
// formatter: null,
|
|
345
|
+
fontSize: 12
|
|
346
|
+
},
|
|
347
|
+
splitLine: {
|
|
348
|
+
show: !0,
|
|
349
|
+
showMinLine: !0,
|
|
350
|
+
showMaxLine: !0,
|
|
351
|
+
lineStyle: {
|
|
352
|
+
color: ["#E0E6F1"],
|
|
353
|
+
width: 1,
|
|
354
|
+
type: "solid"
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
splitArea: {
|
|
358
|
+
show: !1,
|
|
359
|
+
areaStyle: {
|
|
360
|
+
color: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
}, fe = N({
|
|
364
|
+
// The gap at both ends of the axis. For categoryAxis, boolean.
|
|
365
|
+
boundaryGap: !0,
|
|
366
|
+
// Set false to faster category collection.
|
|
367
|
+
deduplication: null,
|
|
368
|
+
// splitArea: {
|
|
369
|
+
// show: false
|
|
370
|
+
// },
|
|
371
|
+
splitLine: {
|
|
372
|
+
show: !1
|
|
373
|
+
},
|
|
374
|
+
axisTick: {
|
|
375
|
+
// If tick is align with label when boundaryGap is true
|
|
376
|
+
alignWithLabel: !1,
|
|
377
|
+
interval: "auto"
|
|
378
|
+
},
|
|
379
|
+
axisLabel: {
|
|
380
|
+
interval: "auto"
|
|
381
|
+
}
|
|
382
|
+
}, U), A = N({
|
|
383
|
+
boundaryGap: [0, 0],
|
|
384
|
+
axisLine: {
|
|
385
|
+
// Not shown when other axis is categoryAxis in cartesian
|
|
386
|
+
show: "auto"
|
|
387
|
+
},
|
|
388
|
+
axisTick: {
|
|
389
|
+
// Not shown when other axis is categoryAxis in cartesian
|
|
390
|
+
show: "auto"
|
|
391
|
+
},
|
|
392
|
+
// TODO
|
|
393
|
+
// min/max: [30, datamin, 60] or [20, datamin] or [datamin, 60]
|
|
394
|
+
splitNumber: 5,
|
|
395
|
+
minorTick: {
|
|
396
|
+
// Minor tick, not available for cateogry axis.
|
|
397
|
+
show: !1,
|
|
398
|
+
// Split number of minor ticks. The value should be in range of (0, 100)
|
|
399
|
+
splitNumber: 5,
|
|
400
|
+
// Length of minor tick
|
|
401
|
+
length: 3,
|
|
402
|
+
// Line style
|
|
403
|
+
lineStyle: {
|
|
404
|
+
// Default to be same with axisTick
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
minorSplitLine: {
|
|
408
|
+
show: !1,
|
|
409
|
+
lineStyle: {
|
|
410
|
+
color: "#F4F7FD",
|
|
411
|
+
width: 1
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
}, U), he = N({
|
|
415
|
+
splitNumber: 6,
|
|
416
|
+
axisLabel: {
|
|
417
|
+
// To eliminate labels that are not nice
|
|
418
|
+
showMinLabel: !1,
|
|
419
|
+
showMaxLabel: !1,
|
|
420
|
+
rich: {
|
|
421
|
+
primary: {
|
|
422
|
+
fontWeight: "bold"
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
splitLine: {
|
|
427
|
+
show: !1
|
|
428
|
+
}
|
|
429
|
+
}, A), ge = Q({
|
|
430
|
+
logBase: 10
|
|
431
|
+
}, A);
|
|
432
|
+
const ye = {
|
|
433
|
+
category: fe,
|
|
434
|
+
value: A,
|
|
435
|
+
time: he,
|
|
436
|
+
log: ge
|
|
437
|
+
};
|
|
438
|
+
var C = Math.log;
|
|
439
|
+
function Me(e, t, r) {
|
|
440
|
+
var a = ee.prototype, i = a.getTicks.call(r), n = a.getTicks.call(r, !0), l = i.length - 1, u = a.getInterval.call(r), c = te(e, t), s = c.extent, d = c.fixMin, m = c.fixMax;
|
|
441
|
+
if (e.type === "log") {
|
|
442
|
+
var g = C(e.base);
|
|
443
|
+
s = [C(s[0]) / g, C(s[1]) / g];
|
|
444
|
+
}
|
|
445
|
+
e.setExtent(s[0], s[1]), e.calcNiceExtent({
|
|
446
|
+
splitNumber: l,
|
|
447
|
+
fixMin: d,
|
|
448
|
+
fixMax: m
|
|
449
|
+
});
|
|
450
|
+
var h = a.getExtent.call(e);
|
|
451
|
+
d && (s[0] = h[0]), m && (s[1] = h[1]);
|
|
452
|
+
var o = a.getInterval.call(e), f = s[0], v = s[1];
|
|
453
|
+
if (d && m)
|
|
454
|
+
o = (v - f) / l;
|
|
455
|
+
else if (d)
|
|
456
|
+
for (v = s[0] + o * l; v < s[1] && isFinite(v) && isFinite(s[1]); )
|
|
457
|
+
o = I(o), v = s[0] + o * l;
|
|
458
|
+
else if (m)
|
|
459
|
+
for (f = s[1] - o * l; f > s[0] && isFinite(f) && isFinite(s[0]); )
|
|
460
|
+
o = I(o), f = s[1] - o * l;
|
|
461
|
+
else {
|
|
462
|
+
var p = e.getTicks().length - 1;
|
|
463
|
+
p > l && (o = I(o));
|
|
464
|
+
var x = o * l;
|
|
465
|
+
v = Math.ceil(s[1] / o) * o, f = k(v - x), f < 0 && s[0] >= 0 ? (f = 0, v = k(x)) : v > 0 && s[1] <= 0 && (v = 0, f = -k(x));
|
|
466
|
+
}
|
|
467
|
+
var y = (i[0].value - n[0].value) / u, b = (i[l].value - n[l].value) / u;
|
|
468
|
+
if (a.setExtent.call(e, f + o * y, v + o * b), a.setInterval.call(e, o), (y || b) && a.setNiceExtent.call(e, f + o, v - o), process.env.NODE_ENV !== "production") {
|
|
469
|
+
var L = a.getTicks.call(e);
|
|
470
|
+
L[1] && (!ae(o) || F(L[1].value) > F(o)) && Y(
|
|
471
|
+
// eslint-disable-next-line
|
|
472
|
+
"The ticks may be not readable when set min: " + t.get("min") + ", max: " + t.get("max") + " and alignTicks: true"
|
|
473
|
+
);
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
export {
|
|
477
|
+
be as A,
|
|
478
|
+
ye as a,
|
|
479
|
+
pe as b,
|
|
480
|
+
Me as c
|
|
481
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const s=require("./echarts-BB8O2KSA.cjs"),m=require("./installCanvasRenderer-CyhM1Qpl.cjs");var D=(function(){function e(){}return e.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},e.prototype.getCoordSysModel=function(){},e})(),T=s.makeInner();function A(e,t){var r=s.map(t,function(a){return e.scale.parse(a)});return e.type==="time"&&r.length>0&&(r.sort(),r.unshift(r[0]),r.push(r[r.length-1])),r}function O(e){var t=e.getLabelModel().get("customValues");if(t){var r=m.makeLabelFormatter(e),a=e.scale.getExtent(),i=A(e,t),n=s.filter(i,function(l){return l>=a[0]&&l<=a[1]});return{labels:s.map(n,function(l){var c={value:l};return{formattedLabel:r(c),rawLabel:e.scale.getLabel(c),tickValue:l}})}}return e.type==="category"?G(e):Z(e)}function _(e,t){var r=e.getTickModel().get("customValues");if(r){var a=e.scale.getExtent(),i=A(e,r);return{ticks:s.filter(i,function(n){return n>=a[0]&&n<=a[1]})}}return e.type==="category"?H(e,t):{ticks:s.map(e.scale.getTicks(),function(n){return n.value})}}function G(e){var t=e.getLabelModel(),r=F(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:r.labelCategoryInterval}:r}function F(e,t){var r=V(e,"labels"),a=m.getOptionCategoryInterval(t),i=B(r,a);if(i)return i;var n,l;return s.isFunction(a)?n=P(e,a):(l=a==="auto"?q(e):a,n=z(e,l)),R(r,a,{labels:n,labelCategoryInterval:l})}function H(e,t){var r=V(e,"ticks"),a=m.getOptionCategoryInterval(t),i=B(r,a);if(i)return i;var n,l;if((!t.get("show")||e.scale.isBlank())&&(n=[]),s.isFunction(a))n=P(e,a,!0);else if(a==="auto"){var c=F(e,e.getLabelModel());l=c.labelCategoryInterval,n=s.map(c.labels,function(v){return v.tickValue})}else l=a,n=z(e,l,!0);return R(r,a,{ticks:n,tickCategoryInterval:l})}function Z(e){var t=e.scale.getTicks(),r=m.makeLabelFormatter(e);return{labels:s.map(t,function(a,i){return{level:a.level,formattedLabel:r(a,i),rawLabel:e.scale.getLabel(a),tickValue:a.value}})}}function V(e,t){return T(e)[t]||(T(e)[t]=[])}function B(e,t){for(var r=0;r<e.length;r++)if(e[r].key===t)return e[r].value}function R(e,t,r){return e.push({key:t,value:r}),r}function q(e){var t=T(e).autoInterval;return t!=null?t:T(e).autoInterval=e.calculateCategoryInterval()}function j(e){var t=X(e),r=m.makeLabelFormatter(e),a=(t.axisRotate-t.labelRotate)/180*Math.PI,i=e.scale,n=i.getExtent(),l=i.count();if(n[1]-n[0]<1)return 0;var c=1;l>40&&(c=Math.max(1,Math.floor(l/40)));for(var v=n[0],u=e.dataToCoord(v+1)-e.dataToCoord(v),b=Math.abs(u*Math.cos(a)),p=Math.abs(u*Math.sin(a)),d=0,g=0;v<=n[1];v+=c){var o=0,h=0,f=s.getBoundingRect(r({value:v}),t.font,"center","top");o=f.width*1.3,h=f.height*1.3,d=Math.max(d,o,7),g=Math.max(g,h,7)}var M=d/b,L=g/p;isNaN(M)&&(M=1/0),isNaN(L)&&(L=1/0);var x=Math.max(0,Math.floor(Math.min(M,L))),y=T(e.model),k=e.getExtent(),w=y.lastAutoInterval,C=y.lastTickCount;return w!=null&&C!=null&&Math.abs(w-x)<=1&&Math.abs(C-l)<=1&&w>x&&y.axisExtent0===k[0]&&y.axisExtent1===k[1]?x=w:(y.lastTickCount=l,y.lastAutoInterval=x,y.axisExtent0=k[0],y.axisExtent1=k[1]),x}function X(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function z(e,t,r){var a=m.makeLabelFormatter(e),i=e.scale,n=i.getExtent(),l=e.getLabelModel(),c=[],v=Math.max((t||0)+1,1),u=n[0],b=i.count();u!==0&&v>1&&b/v>2&&(u=Math.round(Math.ceil(u/v)*v));var p=m.shouldShowAllLabels(e),d=l.get("showMinLabel")||p,g=l.get("showMaxLabel")||p;d&&u!==n[0]&&h(n[0]);for(var o=u;o<=n[1];o+=v)h(o);g&&o-v!==n[1]&&h(n[1]);function h(f){var M={value:f};c.push(r?f:{formattedLabel:a(M),rawLabel:i.getLabel(M),tickValue:f})}return c}function P(e,t,r){var a=e.scale,i=m.makeLabelFormatter(e),n=[];return s.each(a.getTicks(),function(l){var c=a.getLabel(l),v=l.value;t(l.value,c)&&n.push(r?v:{formattedLabel:i(l),rawLabel:c,tickValue:v})}),n}var N=[0,1],J=(function(){function e(t,r,a){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=r,this._extent=a||[0,0]}return e.prototype.contain=function(t){var r=this._extent,a=Math.min(r[0],r[1]),i=Math.max(r[0],r[1]);return t>=a&&t<=i},e.prototype.containData=function(t){return this.scale.contain(t)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(t){return s.getPixelPrecision(t||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(t,r){var a=this._extent;a[0]=t,a[1]=r},e.prototype.dataToCoord=function(t,r){var a=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&i.type==="ordinal"&&(a=a.slice(),S(a,i.count())),s.linearMap(t,N,a,r)},e.prototype.coordToData=function(t,r){var a=this._extent,i=this.scale;this.onBand&&i.type==="ordinal"&&(a=a.slice(),S(a,i.count()));var n=s.linearMap(t,a,N,r);return this.scale.scale(n)},e.prototype.pointToData=function(t,r){},e.prototype.getTicksCoords=function(t){t=t||{};var r=t.tickModel||this.getTickModel(),a=_(this,r),i=a.ticks,n=s.map(i,function(c){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(c):c),tickValue:c}},this),l=r.get("alignWithLabel");return K(this,n,l,t.clamp),n},e.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var t=this.model.getModel("minorTick"),r=t.get("splitNumber");r>0&&r<100||(r=5);var a=this.scale.getMinorTicks(r),i=s.map(a,function(n){return s.map(n,function(l){return{coord:this.dataToCoord(l),tickValue:l}},this)},this);return i},e.prototype.getViewLabels=function(){return O(this).labels},e.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},e.prototype.getTickModel=function(){return this.model.getModel("axisTick")},e.prototype.getBandWidth=function(){var t=this._extent,r=this.scale.getExtent(),a=r[1]-r[0]+(this.onBand?1:0);a===0&&(a=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/a},e.prototype.calculateCategoryInterval=function(){return j(this)},e})();function S(e,t){var r=e[1]-e[0],a=t,i=r/a/2;e[0]+=i,e[1]-=i}function K(e,t,r,a){var i=t.length;if(!e.onBand||r||!i)return;var n=e.getExtent(),l,c;if(i===1)t[0].coord=n[0],l=t[1]={coord:n[1],tickValue:t[0].tickValue};else{var v=t[i-1].tickValue-t[0].tickValue,u=(t[i-1].coord-t[0].coord)/v;s.each(t,function(g){g.coord-=u/2});var b=e.scale.getExtent();c=1+b[1]-t[i-1].tickValue,l={coord:t[i-1].coord+u*c,tickValue:b[1]+1},t.push(l)}var p=n[0]>n[1];d(t[0].coord,n[0])&&(a?t[0].coord=n[0]:t.shift()),a&&d(n[0],t[0].coord)&&t.unshift({coord:n[0]}),d(n[1],l.coord)&&(a?l.coord=n[1]:t.pop()),a&&d(l.coord,n[1])&&t.push({coord:n[1]});function d(g,o){return g=s.round(g),o=s.round(o),p?g>o:g<o}}var W={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},Q=s.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},W),I=s.merge({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},W),U=s.merge({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},I),Y=s.defaults({logBase:10},I);const $={category:Q,value:I,time:U,log:Y};var E=Math.log;function ee(e,t,r){var a=m.IntervalScale.prototype,i=a.getTicks.call(r),n=a.getTicks.call(r,!0),l=i.length-1,c=a.getInterval.call(r),v=m.getScaleExtent(e,t),u=v.extent,b=v.fixMin,p=v.fixMax;if(e.type==="log"){var d=E(e.base);u=[E(u[0])/d,E(u[1])/d]}e.setExtent(u[0],u[1]),e.calcNiceExtent({splitNumber:l,fixMin:b,fixMax:p});var g=a.getExtent.call(e);b&&(u[0]=g[0]),p&&(u[1]=g[1]);var o=a.getInterval.call(e),h=u[0],f=u[1];if(b&&p)o=(f-h)/l;else if(b)for(f=u[0]+o*l;f<u[1]&&isFinite(f)&&isFinite(u[1]);)o=m.increaseInterval(o),f=u[0]+o*l;else if(p)for(h=u[1]-o*l;h>u[0]&&isFinite(h)&&isFinite(u[0]);)o=m.increaseInterval(o),h=u[1]-o*l;else{var M=e.getTicks().length-1;M>l&&(o=m.increaseInterval(o));var L=o*l;f=Math.ceil(u[1]/o)*o,h=s.round(f-L),h<0&&u[0]>=0?(h=0,f=s.round(L)):f>0&&u[1]<=0&&(f=0,h=-s.round(L))}var x=(i[0].value-n[0].value)/c,y=(i[l].value-n[l].value)/c;if(a.setExtent.call(e,h+o*x,f+o*y),a.setInterval.call(e,o),(x||y)&&a.setNiceExtent.call(e,h+o,f-o),process.env.NODE_ENV!=="production"){var k=a.getTicks.call(e);k[1]&&(!m.isValueNice(o)||s.getPrecisionSafe(k[1].value)>s.getPrecisionSafe(o))&&s.warn("The ticks may be not readable when set min: "+t.get("min")+", max: "+t.get("max")+" and alignTicks: true")}}exports.Axis=J;exports.AxisModelCommonMixin=D;exports.alignScaleTicks=ee;exports.axisDefault=$;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var k=Object.defineProperty,q=Object.defineProperties;var R=Object.getOwnPropertyDescriptors;var D=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var U=(c,o,r)=>o in c?k(c,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[o]=r,g=(c,o)=>{for(var r in o||(o={}))$.call(o,r)&&U(c,r,o[r]);if(D)for(var r of D(o))w.call(o,r)&&U(c,r,o[r]);return c},C=(c,o)=>q(c,R(o));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),b=require("./element-resize-detector-Bo5uDQAu.cjs"),N=require("./index-Mh5Dw2sd.cjs"),V=require("./EChartComponentBase-BaQpBzVC.cjs"),j=require("./titleStyle-NSnz6cUg.cjs"),B=require("./store-BJW2NQkK.cjs"),L=require("./ele-bar-icon-V94clxg_.cjs"),M=require("./install-DV5cEgNV.cjs"),W=require("./install-CltTFs4e.cjs"),_=require("./installCanvasRenderer-CyhM1Qpl.cjs"),P=require("./install-C8buXQPI.cjs"),X=require("./install-Ch5d8i37.cjs"),F={class:"mix-body"},G=["id"],H={DEFAULT_ICON:L.DEFAULT_ICON,ACTIVE_ICON:L.ACTIVE_ICON,NAME_CN:"基础柱状图",NAME_EN:"Bar Chart",ORDER:1},K={titleColor:"#111",textColor:"#111",bgColor:"#fff",top:30,bottom:40,left:40,right:20,radiusSize:8,textSize:12,barWidth:30,points:10,isHideTitle:!1,showLabel:!1},J=[{name:"参数一",fv:"",object_id:"",color:"#4162ff"}],Q=["name","fv","object_id","color"],Y=["mosaic","statistics","calculate"],Z={source:"mosaic",useAlias:!1,multiObject:!1,null:{type:"0",value:""}},tt={DEFAULT:H,OPTIONS:K,DATA:J,PARAMS:Q,SOURCE:Y,COMMON:Z},et=s.defineComponent(C(g({},tt),{__name:"bar",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(c){_.use([M.install,W.install,_.install,P.install,_.install$1,X.install]);const o=c,r=N.useLinkStore();class I extends V.EChartComponentBase{extractStyles(){return C(g({},super.extractStyles()),{barWidth:this.getOptionValue("barWidth",30),showLabel:this.getOptionValue("showLabel",!1)})}getChartOption(){const t=this.Style.value,i=this.props.conf;return{tooltip:{trigger:"axis",axisPointer:{type:"shadow"},textStyle:{align:"left",fontSize:t.textSize}},grid:{top:t.top,bottom:t.bottom,left:t.left,right:t.right,containLabel:!1},legend:{show:!0,data:i.data.map(a=>a.name),right:20,top:0,textStyle:{color:t.textColor,fontSize:t.textSize}},xAxis:[{type:"category",data:this.getXAxisData(),axisTick:{alignWithLabel:!0},axisLine:{lineStyle:{color:t.textColor}},axisLabel:{formatter:a=>{if(!/^\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}$/.test(a))return a;const[l,e]=a.split(" ");return`${l}
|
|
2
|
+
${e}`},color:t.textColor,fontSize:t.textSize}}],yAxis:[{type:"value",nameGap:10,nameTextStyle:{align:"right"},splitLine:{lineStyle:{type:"dashed",color:"#e5e5e5"}},axisLabel:{color:t.textColor,fontSize:t.textSize},axisLine:{lineStyle:{color:t.textColor}},splitNumber:4}],series:this.formatSeries()}}getXAxisData(){var l,e;const{data:t,common:i}=this.props.conf,a=(i==null?void 0:i.source)||"mosaic";return["statistics","calculate"].includes(a)&&!((e=(l=t[0])==null?void 0:l.periodUnit)!=null&&e.includes("near"))?b.getBarXAxis(t[0].periodUnit):this.getTimeAxis()}formatSeries(){const t=this.props.conf,i=this.Style.value;return t.data.map((a,l)=>{const e=a.color||b.COLORS[l];return{type:"bar",data:b.getRandomArr({num:i.points,max:200,min:0,mode:this.props.mode,hasDataSource:this.hasData()}),name:a.name,itemStyle:{color:e},label:{show:i.showLabel,position:"top",color:e},barWidth:i.barWidth+"%"}})}setSocketData(t){var S;if(!this.hasData()||!this.chartObj||!t)return;const{data:i,common:a}=this.props.conf,l=a.source||"mosaic",e=this.chartObj.getOption();console.log("[bar] setSocketData called",{SOURCE:l,res:t,data:i,periodUnit:(S=i[0])==null?void 0:S.periodUnit}),i.forEach((n,u)=>{let d,p;if(["statistics","calculate"].includes(l)&&n.periodUnit&&!n.periodUnit.includes("near")){console.log("[bar] 固定周期模式",{item:n,periodUnit:n.periodUnit}),d=this.extractDataValue(t,n.fv);const E=n.periodUnit.split("-");p=b.getXAxisNearTime(t.start_time,E[E.length-1]);const y=e.xAxis[0].data.indexOf(p);console.log("[bar] 固定周期数据",{value:d,time:p,index:y,xAxisData:e.xAxis[0].data}),y>=0&&(e.series[u].data[y]=d)}else["statistics","calculate"].includes(l)&&n.periodUnit&&n.periodUnit.includes("near")?(console.log("[bar] 最近周期模式"),d=this.extractDataValue(t,n.fv),p=t.start_time,p!=null&&(u===0&&e.xAxis[0].data.push(p),e.series[u].data.push(d))):(console.log("[bar] 追加模式(马赛克或默认)"),d=this.extractDataValue(t,n.fv),p=["statistics","calculate"].includes(l)?t.start_time:t.datetime,p!=null&&(u===0&&e.xAxis[0].data.push(p),e.series[u].data.push(d)))});const m=b.addRealtimeData(e.xAxis[0].data,e.series.map(n=>n.data)),x=Number(this.Style.value.points)||10;e.xAxis[0].data=m.times.slice(-x),e.series.forEach((n,u)=>{var d;n.data=((d=m.data[u])==null?void 0:d.slice(-x))||[]}),this.updateChart(e)}}const f=new I(o,"bar");f.setupLifecycle();const A=B.useCounterStore();s.onMounted(()=>{var h;if(A.registerInstance(o.uid,f),o.mode==="preview"){const t=((h=f.getChartInstance)==null?void 0:h.call(f))||f.chartObj;t==null||t.off("click"),t==null||t.on("click",i=>{var l,e,m,x,S,n;const a=i==null?void 0:i.seriesName;if(typeof a=="string"&&a){const u=((e=(l=o.conf)==null?void 0:l.options)==null?void 0:e.linkChannel)==="custom"?(x=(m=o.conf)==null?void 0:m.options)==null?void 0:x.customChannel:(n=(S=o.conf)==null?void 0:S.options)==null?void 0:n.linkChannel;r.publish(u||"bar","bar",{objectId:"",deviceId:"",type:"select",fieldKey:a,fv:g({key:a},i),source:"bar"})}})}}),s.onUnmounted(()=>{A.unregisterInstance(o.uid)});const O=f.getStyle(),z=f.getEchartId(),v=o.conf,T=s.computed(()=>j.generateTitleStyle(o.conf.options));return(h,t)=>(s.openBlock(),s.createElementBlock("div",{class:"mix-component",style:s.normalizeStyle({background:s.unref(O).bgColor,borderRadius:`${s.unref(O).radiusSize}px`})},[s.createElementVNode("div",{class:"mix-title",style:s.normalizeStyle(T.value)},s.toDisplayString(s.unref(v).caption||s.unref(v).name),5),s.createElementVNode("div",F,[s.createElementVNode("div",{class:"w-full h-full",id:s.unref(z)},null,8,G)]),s.renderSlot(h.$slots,"default",{},void 0,!0)],4))}})),ot=N._export_sfc(et,[["__scopeId","data-v-0fc03873"]]);exports.default=ot;
|