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,372 @@
|
|
|
1
|
+
var he = Object.defineProperty, fe = Object.defineProperties;
|
|
2
|
+
var de = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var J = Object.getOwnPropertySymbols;
|
|
4
|
+
var ve = Object.prototype.hasOwnProperty, ge = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Q = (h, s, f) => s in h ? he(h, s, { enumerable: !0, configurable: !0, writable: !0, value: f }) : h[s] = f, Y = (h, s) => {
|
|
6
|
+
for (var f in s || (s = {}))
|
|
7
|
+
ve.call(s, f) && Q(h, f, s[f]);
|
|
8
|
+
if (J)
|
|
9
|
+
for (var f of J(s))
|
|
10
|
+
ge.call(s, f) && Q(h, f, s[f]);
|
|
11
|
+
return h;
|
|
12
|
+
}, Z = (h, s) => fe(h, de(s));
|
|
13
|
+
import { ElSelect as Se, ElOption as Ce, ElButton as be, ElIcon as xe } from "element-plus/es";
|
|
14
|
+
import "element-plus/es/components/base/style/css";
|
|
15
|
+
import "element-plus/es/components/button/style/css";
|
|
16
|
+
import "element-plus/es/components/icon/style/css";
|
|
17
|
+
import "element-plus/es/components/select/style/css";
|
|
18
|
+
import "element-plus/es/components/option/style/css";
|
|
19
|
+
import { defineComponent as ye, ref as F, computed as R, watch as ee, watchEffect as Ne, onMounted as Oe, openBlock as w, createElementBlock as M, normalizeStyle as te, unref as E, toDisplayString as _e, createCommentVNode as ke, createElementVNode as $, createVNode as I, withCtx as H, Fragment as Ve, renderList as Ee, createBlock as De, createTextVNode as Ae, renderSlot as Fe, nextTick as ne } from "vue";
|
|
20
|
+
import { Download as Re } from "@element-plus/icons-vue";
|
|
21
|
+
import { d as ie, i as we } from "./element-resize-detector-DJcsrJ8s.js";
|
|
22
|
+
import { u as Ie, _ as Le } from "./index-kShjySl9.js";
|
|
23
|
+
import { E as Te } from "./EChartComponentBase-BQOhWkz2.js";
|
|
24
|
+
import { g as ze } from "./titleStyle-BT5GlpAb.js";
|
|
25
|
+
import { A as Me, D as $e } from "./ele-lin-icon-Dax-ZiWV.js";
|
|
26
|
+
import { i as He } from "./install-BBrAry2m.js";
|
|
27
|
+
import { u as Be, i as Ue, a as Pe } from "./installCanvasRenderer-CLT2hquJ.js";
|
|
28
|
+
import { i as Ge } from "./install-hfre7yvV.js";
|
|
29
|
+
import { i as Ke } from "./install-8XfFtnlL.js";
|
|
30
|
+
const We = { class: "mix-body" }, Xe = { class: "toolbar" }, je = ["id"], qe = {
|
|
31
|
+
DEFAULT_ICON: $e,
|
|
32
|
+
ACTIVE_ICON: Me,
|
|
33
|
+
NAME_CN: "聚类滑面关联",
|
|
34
|
+
NAME_EN: "DeepClusterSlipSurface",
|
|
35
|
+
ORDER: 18
|
|
36
|
+
}, Je = {
|
|
37
|
+
titleColor: "#111",
|
|
38
|
+
textColor: "#111",
|
|
39
|
+
bgColor: "#fff",
|
|
40
|
+
radiusSize: 8,
|
|
41
|
+
textSize: 12,
|
|
42
|
+
isHideTitle: !1,
|
|
43
|
+
top: 40,
|
|
44
|
+
bottom: 35,
|
|
45
|
+
left: 50,
|
|
46
|
+
right: 40,
|
|
47
|
+
xName: { value: "时间", type: "string", label: "X轴名称" },
|
|
48
|
+
yLeftName: { value: "累计位移(mm)", type: "string", label: "左轴名称" },
|
|
49
|
+
yRightName: { value: "滑面关联度", type: "string", label: "右轴名称" },
|
|
50
|
+
// 联动频道配置
|
|
51
|
+
linkChannel: {
|
|
52
|
+
value: "deepDisplacement",
|
|
53
|
+
type: "select",
|
|
54
|
+
label: "component.linkChannel",
|
|
55
|
+
options: [
|
|
56
|
+
{ label: "component.linkChannelOptions.deepDisplacement", value: "deepDisplacement" },
|
|
57
|
+
{ label: "component.linkChannelOptions.gnss", value: "gnss" },
|
|
58
|
+
{ label: "component.linkChannelOptions.slope", value: "slope" },
|
|
59
|
+
{ label: "component.linkChannelOptions.device", value: "device" },
|
|
60
|
+
{ label: "component.linkChannelOptions.alarm", value: "alarm" },
|
|
61
|
+
{ label: "component.linkChannelOptions.custom", value: "custom" }
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
customChannel: {
|
|
65
|
+
value: "",
|
|
66
|
+
type: "string",
|
|
67
|
+
label: "component.customChannel",
|
|
68
|
+
showWhen: { linkChannel: "custom" }
|
|
69
|
+
}
|
|
70
|
+
}, le = [
|
|
71
|
+
{ name: "累计位移", fv: "disp_130", depth: -130, color: "#5470c6", object_id: "" },
|
|
72
|
+
{ name: "滑面关联度", fv: "slip_130", depth: -130, color: "#f56c6c", object_id: "" }
|
|
73
|
+
], Qe = ["name", "fv", "depth", "color", "object_id"], Ye = ["mosaic", "statistics", "calculate", "statisticsRealtime", "calculateRealtime"], Ze = { useAlias: !1, multiObject: !0, source: "mosaic" }, et = { DEFAULT: qe, OPTIONS: Je, DATA: le, PARAMS: Qe, SOURCE: Ye, COMMON: Ze }, tt = /* @__PURE__ */ ye(Z(Y({}, et), {
|
|
74
|
+
__name: "deepClusterSlipSurface",
|
|
75
|
+
props: {
|
|
76
|
+
conf: { type: Object, default: () => ({ data: [] }) },
|
|
77
|
+
uid: { type: String, default: "" },
|
|
78
|
+
mode: { type: String, default: "edit" },
|
|
79
|
+
theme: { type: String, default: "light" }
|
|
80
|
+
},
|
|
81
|
+
setup(h) {
|
|
82
|
+
Be([He, Ue, Ge, Pe, Ke]);
|
|
83
|
+
const s = h, f = Ie(), a = F(""), O = F([]), v = F(/* @__PURE__ */ new Map());
|
|
84
|
+
class se extends Te {
|
|
85
|
+
extractStyles() {
|
|
86
|
+
const n = this.getOptionValue("linkChannel", "deepDisplacement"), e = this.getOptionValue("customChannel", ""), i = n === "custom" && e ? e : n;
|
|
87
|
+
return {
|
|
88
|
+
bgColor: this.getOptionValue("bgColor", "#fff"),
|
|
89
|
+
titleColor: this.getOptionValue("titleColor", "#111"),
|
|
90
|
+
textColor: this.getOptionValue("textColor", "#111"),
|
|
91
|
+
radiusSize: this.getOptionValue("radiusSize", 8),
|
|
92
|
+
textSize: this.getOptionValue("textSize", 12),
|
|
93
|
+
isHideTitle: this.getOptionValue("isHideTitle", !1),
|
|
94
|
+
top: this.getOptionValue("top", 40),
|
|
95
|
+
bottom: this.getOptionValue("bottom", 35),
|
|
96
|
+
left: this.getOptionValue("left", 50),
|
|
97
|
+
right: this.getOptionValue("right", 40),
|
|
98
|
+
xName: this.getOptionValue("xName", "时间"),
|
|
99
|
+
yLeftName: this.getOptionValue("yLeftName", "累计位移(mm)"),
|
|
100
|
+
yRightName: this.getOptionValue("yRightName", "滑面关联度"),
|
|
101
|
+
linkChannel: i
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
init() {
|
|
105
|
+
var n;
|
|
106
|
+
this.Style.value = this.extractStyles(), this.applyTheme(), (n = this.props.conf.data) != null && n.length || (this.props.conf.data = le), ne(() => this.initChart());
|
|
107
|
+
}
|
|
108
|
+
setHistoryData(n) {
|
|
109
|
+
P(n);
|
|
110
|
+
}
|
|
111
|
+
setSocketData(n) {
|
|
112
|
+
n && P(n);
|
|
113
|
+
}
|
|
114
|
+
onLinkEvent(n) {
|
|
115
|
+
U(n);
|
|
116
|
+
}
|
|
117
|
+
getChartOption() {
|
|
118
|
+
var c;
|
|
119
|
+
const n = ((c = s.conf) == null ? void 0 : c.data) || [], e = n[0] || {}, i = n[1] || {};
|
|
120
|
+
return {
|
|
121
|
+
grid: {
|
|
122
|
+
top: this.Style.value.top,
|
|
123
|
+
bottom: this.Style.value.bottom,
|
|
124
|
+
left: this.Style.value.left,
|
|
125
|
+
right: this.Style.value.right,
|
|
126
|
+
containLabel: !0
|
|
127
|
+
},
|
|
128
|
+
legend: {
|
|
129
|
+
top: 8,
|
|
130
|
+
textStyle: { color: this.Style.value.textColor }
|
|
131
|
+
},
|
|
132
|
+
tooltip: {
|
|
133
|
+
trigger: "axis"
|
|
134
|
+
},
|
|
135
|
+
xAxis: {
|
|
136
|
+
type: "category",
|
|
137
|
+
name: this.Style.value.xName,
|
|
138
|
+
data: L.value,
|
|
139
|
+
axisLabel: { color: this.Style.value.textColor, fontSize: this.Style.value.textSize }
|
|
140
|
+
},
|
|
141
|
+
yAxis: [
|
|
142
|
+
{
|
|
143
|
+
type: "value",
|
|
144
|
+
name: this.Style.value.yLeftName,
|
|
145
|
+
axisLabel: { color: this.Style.value.textColor, fontSize: this.Style.value.textSize },
|
|
146
|
+
splitLine: { lineStyle: { color: "#f0f0f0" } }
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
type: "value",
|
|
150
|
+
name: this.Style.value.yRightName,
|
|
151
|
+
min: 0,
|
|
152
|
+
max: 1,
|
|
153
|
+
axisLabel: { color: this.Style.value.textColor, fontSize: this.Style.value.textSize }
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
series: [
|
|
157
|
+
{
|
|
158
|
+
name: (e == null ? void 0 : e.name) || "累计位移",
|
|
159
|
+
type: "line",
|
|
160
|
+
smooth: !0,
|
|
161
|
+
data: ce.value,
|
|
162
|
+
lineStyle: { color: (e == null ? void 0 : e.color) || "#5470c6", width: 2 },
|
|
163
|
+
itemStyle: { color: (e == null ? void 0 : e.color) || "#5470c6" },
|
|
164
|
+
yAxisIndex: 0
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
name: (i == null ? void 0 : i.name) || "滑面关联度",
|
|
168
|
+
type: "line",
|
|
169
|
+
smooth: !0,
|
|
170
|
+
data: re.value,
|
|
171
|
+
lineStyle: { color: (i == null ? void 0 : i.color) || "#f56c6c", width: 2, type: "dashed" },
|
|
172
|
+
itemStyle: { color: (i == null ? void 0 : i.color) || "#f56c6c" },
|
|
173
|
+
areaStyle: { color: "rgba(245,108,108,0.12)" },
|
|
174
|
+
yAxisIndex: 1
|
|
175
|
+
}
|
|
176
|
+
]
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
const g = new se(s, "deepClusterSlipSurface"), oe = g.getEchartId();
|
|
181
|
+
g.setupLifecycle();
|
|
182
|
+
const D = g.getStyle(), ae = R(() => ze(s.conf.options)), d = F([]), L = R(() => {
|
|
183
|
+
const t = a.value && v.value.has(a.value) ? v.value.get(a.value) || [] : d.value, n = /* @__PURE__ */ new Set();
|
|
184
|
+
return t.forEach((e) => n.add(e.t)), Array.from(n);
|
|
185
|
+
}), ce = R(() => {
|
|
186
|
+
const t = a.value && v.value.has(a.value) ? v.value.get(a.value) || [] : d.value, n = /* @__PURE__ */ new Map();
|
|
187
|
+
return t.forEach((e) => {
|
|
188
|
+
Number.isFinite(e.disp) && n.set(e.t, Number(e.disp));
|
|
189
|
+
}), L.value.map((e) => {
|
|
190
|
+
var i;
|
|
191
|
+
return (i = n.get(e)) != null ? i : null;
|
|
192
|
+
});
|
|
193
|
+
}), re = R(() => {
|
|
194
|
+
const t = a.value && v.value.has(a.value) ? v.value.get(a.value) || [] : d.value, n = /* @__PURE__ */ new Map();
|
|
195
|
+
return t.forEach((e) => {
|
|
196
|
+
Number.isFinite(e.slip) && n.set(e.t, Number(e.slip));
|
|
197
|
+
}), L.value.map((e) => {
|
|
198
|
+
var i;
|
|
199
|
+
return (i = n.get(e)) != null ? i : null;
|
|
200
|
+
});
|
|
201
|
+
}), C = () => {
|
|
202
|
+
ne(() => {
|
|
203
|
+
const t = g.getChartInstance();
|
|
204
|
+
t && t.setOption(g.getChartOption(), !0);
|
|
205
|
+
});
|
|
206
|
+
}, ue = () => C(), me = () => {
|
|
207
|
+
const t = g.getChartInstance();
|
|
208
|
+
if (!t) return;
|
|
209
|
+
const n = t.getDataURL({ type: "png", pixelRatio: 2, backgroundColor: "#fff" }), e = document.createElement("a");
|
|
210
|
+
e.href = n, e.download = `cluster-slip-${a.value || Date.now()}.png`, e.click();
|
|
211
|
+
}, B = () => {
|
|
212
|
+
var i, c, l;
|
|
213
|
+
const t = ((i = s.conf) == null ? void 0 : i.options) || {}, n = ((c = t == null ? void 0 : t.linkChannel) == null ? void 0 : c.value) || D.value.linkChannel || "deepDisplacement", e = ((l = t == null ? void 0 : t.customChannel) == null ? void 0 : l.value) || "";
|
|
214
|
+
return n === "custom" && e ? e : n;
|
|
215
|
+
}, pe = (t) => {
|
|
216
|
+
var x, o, y;
|
|
217
|
+
const n = ((x = s.conf) == null ? void 0 : x.data) || [];
|
|
218
|
+
if (n.length < 2) return [];
|
|
219
|
+
const e = n[0] || {}, i = n[1] || {}, c = e.fv || "disp", l = i.fv || "slip_score";
|
|
220
|
+
if (Array.isArray(t == null ? void 0 : t.data))
|
|
221
|
+
return t.data.map((r, A) => {
|
|
222
|
+
var _, k;
|
|
223
|
+
return {
|
|
224
|
+
t: String((k = (_ = r == null ? void 0 : r.time) != null ? _ : r == null ? void 0 : r.datetime) != null ? k : A),
|
|
225
|
+
disp: Number(r == null ? void 0 : r[c]),
|
|
226
|
+
slip: Number(r == null ? void 0 : r[l])
|
|
227
|
+
};
|
|
228
|
+
}).filter((r) => Number.isFinite(r.disp) || Number.isFinite(r.slip));
|
|
229
|
+
const p = String((y = (o = t == null ? void 0 : t.time) != null ? o : t == null ? void 0 : t.datetime) != null ? y : Date.now()), N = Number(t == null ? void 0 : t[c]), b = Number(t == null ? void 0 : t[l]);
|
|
230
|
+
return Number.isFinite(N) || Number.isFinite(b) ? [{ t: p, disp: N, slip: b }] : [];
|
|
231
|
+
}, U = (t) => {
|
|
232
|
+
var N, b, x;
|
|
233
|
+
if (s.mode === "edit" || !t || !t.payload) return;
|
|
234
|
+
const n = B();
|
|
235
|
+
if ((N = t.topic) != null && N.channel && n && t.topic.channel !== n || !f.shouldHandle(t, "deepClusterSlipSurface")) return;
|
|
236
|
+
const e = t.payload;
|
|
237
|
+
if ((e == null ? void 0 : e.type) === "filter") {
|
|
238
|
+
const o = e.timeRange || e.dateRange || e.timeRangeValue;
|
|
239
|
+
if ((b = e.selectedTimes) != null && b.length) {
|
|
240
|
+
a.value = String(e.selectedTimes[e.selectedTimes.length - 1]), C();
|
|
241
|
+
return;
|
|
242
|
+
}
|
|
243
|
+
if (Array.isArray(o) && o.length) {
|
|
244
|
+
a.value = String(o[o.length - 1]), C();
|
|
245
|
+
return;
|
|
246
|
+
}
|
|
247
|
+
if (o != null && o.endDate || o != null && o.end) {
|
|
248
|
+
a.value = String(o.endDate || o.end), C();
|
|
249
|
+
return;
|
|
250
|
+
}
|
|
251
|
+
return;
|
|
252
|
+
}
|
|
253
|
+
const i = s.conf, c = (i == null ? void 0 : i.data) || [], l = (i == null ? void 0 : i.common) || {};
|
|
254
|
+
if (c.length > 0 && !(l != null && l.multiObject)) {
|
|
255
|
+
const o = ie(l, l == null ? void 0 : l.useAlias, s.uid) || ((x = c[0]) == null ? void 0 : x.object_id), y = (e == null ? void 0 : e.objectId) || (e == null ? void 0 : e.object_id);
|
|
256
|
+
if (o && y && String(o) !== String(y)) return;
|
|
257
|
+
}
|
|
258
|
+
const p = pe(e);
|
|
259
|
+
p.length && (d.value = p.length === 1 ? [...d.value.slice(-199), ...p] : p, C());
|
|
260
|
+
}, P = (t) => {
|
|
261
|
+
var y, r, A, _, k, G, K;
|
|
262
|
+
const n = s.conf, e = (n == null ? void 0 : n.data) || [], i = (n == null ? void 0 : n.common) || {}, c = (i == null ? void 0 : i.source) || "mosaic";
|
|
263
|
+
let l = t;
|
|
264
|
+
["statistics", "calculate"].includes(c) && (l = we(l, e));
|
|
265
|
+
const p = e[0] || {}, N = e[1] || {}, b = p.fv || "disp", x = N.fv || "slip_score", o = [];
|
|
266
|
+
if ((y = l == null ? void 0 : l.history) != null && y.length) {
|
|
267
|
+
const S = /* @__PURE__ */ new Map();
|
|
268
|
+
l.history.forEach((u, T) => {
|
|
269
|
+
var j, q;
|
|
270
|
+
const m = (u == null ? void 0 : u[0]) || u || {}, V = String((q = (j = m == null ? void 0 : m.time) != null ? j : m == null ? void 0 : m.datetime) != null ? q : T), z = V.split(" ")[0], W = Number(m == null ? void 0 : m[b]), X = Number(m == null ? void 0 : m[x]);
|
|
271
|
+
(Number.isFinite(W) || Number.isFinite(X)) && (S.has(z) || S.set(z, []), S.get(z).push({ t: V, disp: W, slip: X }));
|
|
272
|
+
}), O.value = Array.from(S.keys()).sort().reverse(), v.value = S, O.value.length > 0 && !a.value && (a.value = O.value[0]), d.value = S.get(a.value) || [];
|
|
273
|
+
} else {
|
|
274
|
+
const S = i != null && i.multiObject ? "" : ie(i, i == null ? void 0 : i.useAlias, s.uid), u = S && ((A = (r = l == null ? void 0 : l[S]) == null ? void 0 : r[c]) == null ? void 0 : A.data) || ((_ = l == null ? void 0 : l[c]) == null ? void 0 : _.data) || (l == null ? void 0 : l.data) || l, T = String((G = (k = u == null ? void 0 : u.time) != null ? k : u == null ? void 0 : u.datetime) != null ? G : Date.now()), m = Number(u == null ? void 0 : u[b]), V = Number(u == null ? void 0 : u[x]);
|
|
275
|
+
(Number.isFinite(m) || Number.isFinite(V)) && o.push({ t: T, disp: m, slip: V }), d.value = [...d.value.slice(-199), ...o];
|
|
276
|
+
}
|
|
277
|
+
!o.length && !((K = l == null ? void 0 : l.history) != null && K.length) || C();
|
|
278
|
+
};
|
|
279
|
+
return ee(
|
|
280
|
+
() => f.channels[B()],
|
|
281
|
+
(t) => {
|
|
282
|
+
t && U(t);
|
|
283
|
+
},
|
|
284
|
+
{ deep: !0 }
|
|
285
|
+
), Ne(() => {
|
|
286
|
+
s.conf.socketData && g.setSocketData(s.conf.socketData);
|
|
287
|
+
}), ee(
|
|
288
|
+
() => {
|
|
289
|
+
var t;
|
|
290
|
+
return (t = s.conf) == null ? void 0 : t.options;
|
|
291
|
+
},
|
|
292
|
+
() => {
|
|
293
|
+
g.getStyle().value = g.extractStyles(), C();
|
|
294
|
+
},
|
|
295
|
+
{ deep: !0 }
|
|
296
|
+
), Oe(() => {
|
|
297
|
+
if (s.mode === "edit" && !d.value.length) {
|
|
298
|
+
const t = ["2026-03-05", "2026-03-04", "2026-03-03"];
|
|
299
|
+
t.forEach((n) => {
|
|
300
|
+
const e = [];
|
|
301
|
+
for (let i = 0; i < 24; i++) {
|
|
302
|
+
const c = `${n} ${String(i).padStart(2, "0")}:00:00`;
|
|
303
|
+
e.push({
|
|
304
|
+
t: c,
|
|
305
|
+
disp: Number((i * 1.8 + Math.sin(i / 3) * 2).toFixed(2)),
|
|
306
|
+
slip: Number(Math.max(0, Math.min(1, 0.25 + i * 0.02 + Math.sin(i / 4) * 0.08)).toFixed(3))
|
|
307
|
+
});
|
|
308
|
+
}
|
|
309
|
+
v.value.set(n, e);
|
|
310
|
+
}), O.value = t, a.value = t[0], d.value = v.value.get(t[0]) || [];
|
|
311
|
+
}
|
|
312
|
+
C();
|
|
313
|
+
}), (t, n) => {
|
|
314
|
+
const e = Ce, i = Se, c = xe, l = be;
|
|
315
|
+
return w(), M("div", {
|
|
316
|
+
class: "mix-component",
|
|
317
|
+
style: te({ background: E(D).bgColor, borderRadius: `${E(D).radiusSize}px` })
|
|
318
|
+
}, [
|
|
319
|
+
E(D).isHideTitle ? ke("", !0) : (w(), M("div", {
|
|
320
|
+
key: 0,
|
|
321
|
+
class: "mix-title",
|
|
322
|
+
style: te(ae.value)
|
|
323
|
+
}, _e(h.conf.caption || h.conf.name), 5)),
|
|
324
|
+
$("div", We, [
|
|
325
|
+
$("div", Xe, [
|
|
326
|
+
I(i, {
|
|
327
|
+
modelValue: a.value,
|
|
328
|
+
"onUpdate:modelValue": n[0] || (n[0] = (p) => a.value = p),
|
|
329
|
+
placeholder: "选择时间",
|
|
330
|
+
size: "small",
|
|
331
|
+
class: "time-select",
|
|
332
|
+
onChange: ue
|
|
333
|
+
}, {
|
|
334
|
+
default: H(() => [
|
|
335
|
+
(w(!0), M(Ve, null, Ee(O.value, (p) => (w(), De(e, {
|
|
336
|
+
key: p,
|
|
337
|
+
label: p,
|
|
338
|
+
value: p
|
|
339
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
340
|
+
]),
|
|
341
|
+
_: 1
|
|
342
|
+
}, 8, ["modelValue"]),
|
|
343
|
+
I(l, {
|
|
344
|
+
size: "small",
|
|
345
|
+
class: "export-btn",
|
|
346
|
+
onClick: me
|
|
347
|
+
}, {
|
|
348
|
+
default: H(() => [
|
|
349
|
+
I(c, null, {
|
|
350
|
+
default: H(() => [
|
|
351
|
+
I(E(Re))
|
|
352
|
+
]),
|
|
353
|
+
_: 1
|
|
354
|
+
}),
|
|
355
|
+
n[1] || (n[1] = Ae(" 导出图 ", -1))
|
|
356
|
+
]),
|
|
357
|
+
_: 1
|
|
358
|
+
})
|
|
359
|
+
]),
|
|
360
|
+
$("div", {
|
|
361
|
+
class: "echart-container",
|
|
362
|
+
id: E(oe)
|
|
363
|
+
}, null, 8, je)
|
|
364
|
+
]),
|
|
365
|
+
Fe(t.$slots, "default", {}, void 0, !0)
|
|
366
|
+
], 4);
|
|
367
|
+
};
|
|
368
|
+
}
|
|
369
|
+
})), bt = /* @__PURE__ */ Le(tt, [["__scopeId", "data-v-215adf76"]]);
|
|
370
|
+
export {
|
|
371
|
+
bt as default
|
|
372
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var F=Object.defineProperty,$=Object.defineProperties;var q=Object.getOwnPropertyDescriptors;var j=Object.getOwnPropertySymbols;var H=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable;var B=(c,i,r)=>i in c?F(c,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[i]=r,A=(c,i)=>{for(var r in i||(i={}))H.call(i,r)&&B(c,r,i[r]);if(j)for(var r of j(i))U.call(i,r)&&B(c,r,i[r]);return c},R=(c,i)=>$(c,q(i));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("html2canvas");const y=require("./element-resize-detector-Bo5uDQAu.cjs"),P=require("./titleStyle-NSnz6cUg.cjs"),T=require("./index-Mh5Dw2sd.cjs"),I=require("./ele-gridview-icon-D3GcssP6.cjs"),G={class:"mix-body"},W={class:"table-wrap"},J={class:"matrix-table"},K={class:"time-col"},Q={key:0},X=["colspan"],Y={DEFAULT_ICON:I.DEFAULT_ICON,ACTIVE_ICON:I.ACTIVE_ICON,NAME_CN:"深部位移矩阵表",NAME_EN:"DeepDataMatrix",ORDER:20},Z={titleColor:"#111",textColor:"#111",bgColor:"#fff",radiusSize:8,textSize:12,isHideTitle:!1,maxRows:{value:50,type:"number",label:"最大显示行数"},decimal:{value:3,type:"number",label:"小数位数"},linkChannel:{value:"deepDisplacement",type:"select",label:"component.linkChannel",options:[{label:"component.linkChannelOptions.deepDisplacement",value:"deepDisplacement"},{label:"component.linkChannelOptions.gnss",value:"gnss"},{label:"component.linkChannelOptions.slope",value:"slope"},{label:"component.linkChannelOptions.device",value:"device"},{label:"component.linkChannelOptions.alarm",value:"alarm"},{label:"component.linkChannelOptions.custom",value:"custom"}]},customChannel:{value:"",type:"string",label:"component.customChannel",showWhen:{linkChannel:"custom"}}},w=[{name:"合位移",fv:"disp_130",depth:-130,color:"#5470c6",object_id:""},{name:"合位移",fv:"disp_140",depth:-140,color:"#5470c6",object_id:""}],ee=["name","fv","depth","color","object_id"],te=["mosaic","statistics","calculate","statisticsRealtime","calculateRealtime"],ne={useAlias:!1,multiObject:!0,source:"mosaic"},le={DEFAULT:Y,OPTIONS:Z,DATA:w,PARAMS:ee,SOURCE:te,COMMON:ne},ae=e.defineComponent(R(A({},le),{__name:"deepDataMatrix",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(c){const i=c,r=T.useLinkStore();class L extends y.BaseComponent{extractStyles(){const n=this.getOptionValue("linkChannel","deepDisplacement"),t=this.getOptionValue("customChannel",""),o=n==="custom"&&t?t:n;return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#111"),radiusSize:this.getOptionValue("radiusSize",8),textSize:this.getOptionValue("textSize",12),isHideTitle:this.getOptionValue("isHideTitle",!1),maxRows:this.getOptionValue("maxRows",50),decimal:this.getOptionValue("decimal",3),linkChannel:o}}init(){var n;this.Style.value=this.extractStyles(),this.applyTheme(),(n=this.props.conf.data)!=null&&n.length||(this.props.conf.data=w)}setHistoryData(n){V(n)}setSocketData(n){n&&V(n)}onLinkEvent(n){N(n)}}const v=new L(i,"deepDataMatrix");v.setupLifecycle();const g=v.getStyle(),z=e.computed(()=>P.generateTitleStyle(i.conf.options)),d=e.ref([]),O=e.computed(()=>{const a=new Set;return d.value.forEach(n=>{Object.keys(n.values).forEach(t=>a.add(Number(t)))}),Array.from(a).sort((n,t)=>n-t)}),x=e.computed(()=>{var n,t,o,s,l;const a=Math.max(1,Number((l=(s=(o=(t=(n=i.conf)==null?void 0:n.options)==null?void 0:t.maxRows)==null?void 0:o.value)!=null?s:g.value.maxRows)!=null?l:50));return d.value.slice(Math.max(0,d.value.length-a))}),_=a=>{var t,o,s,l,u;const n=Math.max(0,Number((u=(l=(s=(o=(t=i.conf)==null?void 0:t.options)==null?void 0:o.decimal)==null?void 0:s.value)!=null?l:g.value.decimal)!=null?u:3));return a.toFixed(n)},D=()=>{var o,s,l;const a=((o=i.conf)==null?void 0:o.options)||{},n=((s=a==null?void 0:a.linkChannel)==null?void 0:s.value)||g.value.linkChannel||"deepDisplacement",t=((l=a==null?void 0:a.customChannel)==null?void 0:l.value)||"";return n==="custom"&&t?t:n},C=a=>{var o;const n=((o=i.conf)==null?void 0:o.data)||[],t=[];return a.forEach((s,l)=>{var h,m;const u=String((m=(h=s==null?void 0:s.time)!=null?h:s==null?void 0:s.datetime)!=null?m:l),p={};n.forEach(f=>{const k=f.fv,b=Number(s==null?void 0:s[k]);if(Number.isFinite(b)){const E=-Math.abs(parseFloat(k));p[E]=_(b)}}),Object.keys(p).length&&t.push({time:u,values:p})}),t},N=a=>{var p,h;if(i.mode==="edit"||!a||!a.payload)return;const n=D();if((p=a.topic)!=null&&p.channel&&n&&a.topic.channel!==n||!r.shouldHandle(a,"deepDataMatrix"))return;const t=a.payload;if((t==null?void 0:t.type)==="filter")return;const o=i.conf,s=(o==null?void 0:o.data)||[],l=(o==null?void 0:o.common)||{};if(s.length>0&&!(l!=null&&l.multiObject)){const m=y.getObjectId(l,l==null?void 0:l.useAlias,i.uid)||((h=s[0])==null?void 0:h.object_id),f=(t==null?void 0:t.objectId)||(t==null?void 0:t.object_id);if(m&&f&&String(m)!==String(f))return}if(Array.isArray(t==null?void 0:t.data)){const m=C(t.data);m.length&&(d.value=m);return}const u=C([t]);u.length&&(d.value=[...d.value.slice(-199),...u])},V=a=>{var m,f,k,b;const n=i.conf,t=(n==null?void 0:n.data)||[],o=(n==null?void 0:n.common)||{},s=(o==null?void 0:o.source)||"mosaic";let l=a;if(["statistics","calculate"].includes(s)&&(l=y.formatStatisticsResult(l,t)),(m=l==null?void 0:l.history)!=null&&m.length){const E=l.history.map(S=>(S==null?void 0:S[0])||S||{}),M=C(E);M.length&&(d.value=M);return}const u=o!=null&&o.multiObject?"":y.getObjectId(o,o==null?void 0:o.useAlias,i.uid),p=u&&((k=(f=l==null?void 0:l[u])==null?void 0:f[s])==null?void 0:k.data)||((b=l==null?void 0:l[s])==null?void 0:b.data)||(l==null?void 0:l.data)||l,h=C([p]);h.length&&(d.value=[...d.value.slice(-199),...h])};return e.watch(()=>r.channels[D()],a=>{a&&N(a)},{deep:!0}),e.watchEffect(()=>{i.conf.socketData&&v.setSocketData(i.conf.socketData)}),e.watch(()=>{var a;return(a=i.conf)==null?void 0:a.options},()=>{v.getStyle().value=v.extractStyles()},{deep:!0}),e.onMounted(()=>{if(i.mode==="edit"&&!d.value.length){const a=[],n=[-78,-75,-72,-69,-66,-63];for(let t=0;t<8;t++){const o=`2026-03-05 ${String(t).padStart(2,"0")}:00:00`,s={};n.forEach((l,u)=>{const p=5+u*.8+t*.2+Math.sin(t+u)*.3;s[l]=_(p)}),a.push({time:o,values:s})}d.value=a}}),(a,n)=>(e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(g).bgColor,borderRadius:`${e.unref(g).radiusSize}px`})},[e.unref(g).isHideTitle?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"mix-title",style:e.normalizeStyle(z.value)},e.toDisplayString(c.conf.caption||c.conf.name),5)),e.createElementVNode("div",G,[e.createElementVNode("div",W,[e.createElementVNode("table",J,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[n[0]||(n[0]=e.createElementVNode("th",{class:"time-col"},"采集时间",-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(O.value,t=>(e.openBlock(),e.createElementBlock("th",{key:`head-${t}`},e.toDisplayString(t)+"米",1))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(x.value,(t,o)=>(e.openBlock(),e.createElementBlock("tr",{key:`row-${o}-${t.time}`},[e.createElementVNode("td",K,e.toDisplayString(t.time),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(O.value,s=>{var l;return e.openBlock(),e.createElementBlock("td",{key:`cell-${o}-${s}`},e.toDisplayString((l=t.values[s])!=null?l:"--"),1)}),128))]))),128)),x.value.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("tr",Q,[e.createElementVNode("td",{colspan:Math.max(2,O.value.length+1),class:"empty-cell"},"暂无数据",8,X)]))])])])]),e.renderSlot(a.$slots,"default",{},void 0,!0)],4))}})),oe=T._export_sfc(ae,[["__scopeId","data-v-a26bcc53"]]);exports.default=oe;
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
var J = Object.defineProperty, K = Object.defineProperties;
|
|
2
|
+
var Q = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var z = Object.getOwnPropertySymbols;
|
|
4
|
+
var X = Object.prototype.hasOwnProperty, Y = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var L = (i, o, c) => o in i ? J(i, o, { enumerable: !0, configurable: !0, writable: !0, value: c }) : i[o] = c, $ = (i, o) => {
|
|
6
|
+
for (var c in o || (o = {}))
|
|
7
|
+
X.call(o, c) && L(i, c, o[c]);
|
|
8
|
+
if (z)
|
|
9
|
+
for (var c of z(o))
|
|
10
|
+
Y.call(o, c) && L(i, c, o[c]);
|
|
11
|
+
return i;
|
|
12
|
+
}, F = (i, o) => K(i, Q(o));
|
|
13
|
+
import { defineComponent as Z, computed as M, ref as tt, watch as H, watchEffect as et, onMounted as nt, openBlock as p, createElementBlock as h, normalizeStyle as B, unref as E, toDisplayString as y, createCommentVNode as U, createElementVNode as f, Fragment as j, renderList as V, renderSlot as at } from "vue";
|
|
14
|
+
import "html2canvas";
|
|
15
|
+
import { B as st, d as P, i as lt } from "./element-resize-detector-DJcsrJ8s.js";
|
|
16
|
+
import { g as ot } from "./titleStyle-BT5GlpAb.js";
|
|
17
|
+
import { u as it, _ as ct } from "./index-kShjySl9.js";
|
|
18
|
+
import { A as ut, D as rt } from "./ele-gridview-icon-cSd1oIDi.js";
|
|
19
|
+
const dt = { class: "mix-body" }, mt = { class: "table-wrap" }, pt = { class: "matrix-table" }, ht = { class: "time-col" }, ft = { key: 0 }, vt = ["colspan"], gt = {
|
|
20
|
+
DEFAULT_ICON: rt,
|
|
21
|
+
ACTIVE_ICON: ut,
|
|
22
|
+
NAME_CN: "深部位移矩阵表",
|
|
23
|
+
NAME_EN: "DeepDataMatrix",
|
|
24
|
+
ORDER: 20
|
|
25
|
+
}, bt = {
|
|
26
|
+
titleColor: "#111",
|
|
27
|
+
textColor: "#111",
|
|
28
|
+
bgColor: "#fff",
|
|
29
|
+
radiusSize: 8,
|
|
30
|
+
textSize: 12,
|
|
31
|
+
isHideTitle: !1,
|
|
32
|
+
maxRows: { value: 50, type: "number", label: "最大显示行数" },
|
|
33
|
+
decimal: { value: 3, type: "number", label: "小数位数" },
|
|
34
|
+
// 联动频道配置
|
|
35
|
+
linkChannel: {
|
|
36
|
+
value: "deepDisplacement",
|
|
37
|
+
type: "select",
|
|
38
|
+
label: "component.linkChannel",
|
|
39
|
+
options: [
|
|
40
|
+
{ label: "component.linkChannelOptions.deepDisplacement", value: "deepDisplacement" },
|
|
41
|
+
{ label: "component.linkChannelOptions.gnss", value: "gnss" },
|
|
42
|
+
{ label: "component.linkChannelOptions.slope", value: "slope" },
|
|
43
|
+
{ label: "component.linkChannelOptions.device", value: "device" },
|
|
44
|
+
{ label: "component.linkChannelOptions.alarm", value: "alarm" },
|
|
45
|
+
{ label: "component.linkChannelOptions.custom", value: "custom" }
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
customChannel: {
|
|
49
|
+
value: "",
|
|
50
|
+
type: "string",
|
|
51
|
+
label: "component.customChannel",
|
|
52
|
+
showWhen: { linkChannel: "custom" }
|
|
53
|
+
}
|
|
54
|
+
}, W = [
|
|
55
|
+
{ name: "合位移", fv: "disp_130", depth: -130, color: "#5470c6", object_id: "" },
|
|
56
|
+
{ name: "合位移", fv: "disp_140", depth: -140, color: "#5470c6", object_id: "" }
|
|
57
|
+
], Ct = ["name", "fv", "depth", "color", "object_id"], St = ["mosaic", "statistics", "calculate", "statisticsRealtime", "calculateRealtime"], kt = { useAlias: !1, multiObject: !0, source: "mosaic" }, xt = { DEFAULT: gt, OPTIONS: bt, DATA: W, PARAMS: Ct, SOURCE: St, COMMON: kt }, Ot = /* @__PURE__ */ Z(F($({}, xt), {
|
|
58
|
+
__name: "deepDataMatrix",
|
|
59
|
+
props: {
|
|
60
|
+
conf: { type: Object, default: () => ({ data: [] }) },
|
|
61
|
+
uid: { type: String, default: "" },
|
|
62
|
+
mode: { type: String, default: "edit" },
|
|
63
|
+
theme: { type: String, default: "light" }
|
|
64
|
+
},
|
|
65
|
+
setup(i) {
|
|
66
|
+
const o = i, c = it();
|
|
67
|
+
class q extends st {
|
|
68
|
+
extractStyles() {
|
|
69
|
+
const e = this.getOptionValue("linkChannel", "deepDisplacement"), t = this.getOptionValue("customChannel", ""), s = e === "custom" && t ? t : e;
|
|
70
|
+
return {
|
|
71
|
+
bgColor: this.getOptionValue("bgColor", "#fff"),
|
|
72
|
+
titleColor: this.getOptionValue("titleColor", "#111"),
|
|
73
|
+
textColor: this.getOptionValue("textColor", "#111"),
|
|
74
|
+
radiusSize: this.getOptionValue("radiusSize", 8),
|
|
75
|
+
textSize: this.getOptionValue("textSize", 12),
|
|
76
|
+
isHideTitle: this.getOptionValue("isHideTitle", !1),
|
|
77
|
+
maxRows: this.getOptionValue("maxRows", 50),
|
|
78
|
+
decimal: this.getOptionValue("decimal", 3),
|
|
79
|
+
linkChannel: s
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
init() {
|
|
83
|
+
var e;
|
|
84
|
+
this.Style.value = this.extractStyles(), this.applyTheme(), (e = this.props.conf.data) != null && e.length || (this.props.conf.data = W);
|
|
85
|
+
}
|
|
86
|
+
setHistoryData(e) {
|
|
87
|
+
T(e);
|
|
88
|
+
}
|
|
89
|
+
setSocketData(e) {
|
|
90
|
+
e && T(e);
|
|
91
|
+
}
|
|
92
|
+
onLinkEvent(e) {
|
|
93
|
+
I(e);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
const C = new q(o, "deepDataMatrix");
|
|
97
|
+
C.setupLifecycle();
|
|
98
|
+
const b = C.getStyle(), G = M(() => ot(o.conf.options)), r = tt([]), _ = M(() => {
|
|
99
|
+
const a = /* @__PURE__ */ new Set();
|
|
100
|
+
return r.value.forEach((e) => {
|
|
101
|
+
Object.keys(e.values).forEach((t) => a.add(Number(t)));
|
|
102
|
+
}), Array.from(a).sort((e, t) => e - t);
|
|
103
|
+
}), A = M(() => {
|
|
104
|
+
var e, t, s, l, n;
|
|
105
|
+
const a = Math.max(1, Number((n = (l = (s = (t = (e = o.conf) == null ? void 0 : e.options) == null ? void 0 : t.maxRows) == null ? void 0 : s.value) != null ? l : b.value.maxRows) != null ? n : 50));
|
|
106
|
+
return r.value.slice(Math.max(0, r.value.length - a));
|
|
107
|
+
}), N = (a) => {
|
|
108
|
+
var t, s, l, n, u;
|
|
109
|
+
const e = Math.max(0, Number((u = (n = (l = (s = (t = o.conf) == null ? void 0 : t.options) == null ? void 0 : s.decimal) == null ? void 0 : l.value) != null ? n : b.value.decimal) != null ? u : 3));
|
|
110
|
+
return a.toFixed(e);
|
|
111
|
+
}, R = () => {
|
|
112
|
+
var s, l, n;
|
|
113
|
+
const a = ((s = o.conf) == null ? void 0 : s.options) || {}, e = ((l = a == null ? void 0 : a.linkChannel) == null ? void 0 : l.value) || b.value.linkChannel || "deepDisplacement", t = ((n = a == null ? void 0 : a.customChannel) == null ? void 0 : n.value) || "";
|
|
114
|
+
return e === "custom" && t ? t : e;
|
|
115
|
+
}, x = (a) => {
|
|
116
|
+
var s;
|
|
117
|
+
const e = ((s = o.conf) == null ? void 0 : s.data) || [], t = [];
|
|
118
|
+
return a.forEach((l, n) => {
|
|
119
|
+
var v, d;
|
|
120
|
+
const u = String((d = (v = l == null ? void 0 : l.time) != null ? v : l == null ? void 0 : l.datetime) != null ? d : n), m = {};
|
|
121
|
+
e.forEach((g) => {
|
|
122
|
+
const S = g.fv, k = Number(l == null ? void 0 : l[S]);
|
|
123
|
+
if (Number.isFinite(k)) {
|
|
124
|
+
const D = -Math.abs(parseFloat(S));
|
|
125
|
+
m[D] = N(k);
|
|
126
|
+
}
|
|
127
|
+
}), Object.keys(m).length && t.push({ time: u, values: m });
|
|
128
|
+
}), t;
|
|
129
|
+
}, I = (a) => {
|
|
130
|
+
var m, v;
|
|
131
|
+
if (o.mode === "edit" || !a || !a.payload) return;
|
|
132
|
+
const e = R();
|
|
133
|
+
if ((m = a.topic) != null && m.channel && e && a.topic.channel !== e || !c.shouldHandle(a, "deepDataMatrix")) return;
|
|
134
|
+
const t = a.payload;
|
|
135
|
+
if ((t == null ? void 0 : t.type) === "filter")
|
|
136
|
+
return;
|
|
137
|
+
const s = o.conf, l = (s == null ? void 0 : s.data) || [], n = (s == null ? void 0 : s.common) || {};
|
|
138
|
+
if (l.length > 0 && !(n != null && n.multiObject)) {
|
|
139
|
+
const d = P(n, n == null ? void 0 : n.useAlias, o.uid) || ((v = l[0]) == null ? void 0 : v.object_id), g = (t == null ? void 0 : t.objectId) || (t == null ? void 0 : t.object_id);
|
|
140
|
+
if (d && g && String(d) !== String(g)) return;
|
|
141
|
+
}
|
|
142
|
+
if (Array.isArray(t == null ? void 0 : t.data)) {
|
|
143
|
+
const d = x(t.data);
|
|
144
|
+
d.length && (r.value = d);
|
|
145
|
+
return;
|
|
146
|
+
}
|
|
147
|
+
const u = x([t]);
|
|
148
|
+
u.length && (r.value = [...r.value.slice(-199), ...u]);
|
|
149
|
+
}, T = (a) => {
|
|
150
|
+
var d, g, S, k;
|
|
151
|
+
const e = o.conf, t = (e == null ? void 0 : e.data) || [], s = (e == null ? void 0 : e.common) || {}, l = (s == null ? void 0 : s.source) || "mosaic";
|
|
152
|
+
let n = a;
|
|
153
|
+
if (["statistics", "calculate"].includes(l) && (n = lt(n, t)), (d = n == null ? void 0 : n.history) != null && d.length) {
|
|
154
|
+
const D = n.history.map((O) => (O == null ? void 0 : O[0]) || O || {}), w = x(D);
|
|
155
|
+
w.length && (r.value = w);
|
|
156
|
+
return;
|
|
157
|
+
}
|
|
158
|
+
const u = s != null && s.multiObject ? "" : P(s, s == null ? void 0 : s.useAlias, o.uid), m = u && ((S = (g = n == null ? void 0 : n[u]) == null ? void 0 : g[l]) == null ? void 0 : S.data) || ((k = n == null ? void 0 : n[l]) == null ? void 0 : k.data) || (n == null ? void 0 : n.data) || n, v = x([m]);
|
|
159
|
+
v.length && (r.value = [...r.value.slice(-199), ...v]);
|
|
160
|
+
};
|
|
161
|
+
return H(
|
|
162
|
+
() => c.channels[R()],
|
|
163
|
+
(a) => {
|
|
164
|
+
a && I(a);
|
|
165
|
+
},
|
|
166
|
+
{ deep: !0 }
|
|
167
|
+
), et(() => {
|
|
168
|
+
o.conf.socketData && C.setSocketData(o.conf.socketData);
|
|
169
|
+
}), H(
|
|
170
|
+
() => {
|
|
171
|
+
var a;
|
|
172
|
+
return (a = o.conf) == null ? void 0 : a.options;
|
|
173
|
+
},
|
|
174
|
+
() => {
|
|
175
|
+
C.getStyle().value = C.extractStyles();
|
|
176
|
+
},
|
|
177
|
+
{ deep: !0 }
|
|
178
|
+
), nt(() => {
|
|
179
|
+
if (o.mode === "edit" && !r.value.length) {
|
|
180
|
+
const a = [], e = [-78, -75, -72, -69, -66, -63];
|
|
181
|
+
for (let t = 0; t < 8; t++) {
|
|
182
|
+
const s = `2026-03-05 ${String(t).padStart(2, "0")}:00:00`, l = {};
|
|
183
|
+
e.forEach((n, u) => {
|
|
184
|
+
const m = 5 + u * 0.8 + t * 0.2 + Math.sin(t + u) * 0.3;
|
|
185
|
+
l[n] = N(m);
|
|
186
|
+
}), a.push({ time: s, values: l });
|
|
187
|
+
}
|
|
188
|
+
r.value = a;
|
|
189
|
+
}
|
|
190
|
+
}), (a, e) => (p(), h("div", {
|
|
191
|
+
class: "mix-component",
|
|
192
|
+
style: B({ background: E(b).bgColor, borderRadius: `${E(b).radiusSize}px` })
|
|
193
|
+
}, [
|
|
194
|
+
E(b).isHideTitle ? U("", !0) : (p(), h("div", {
|
|
195
|
+
key: 0,
|
|
196
|
+
class: "mix-title",
|
|
197
|
+
style: B(G.value)
|
|
198
|
+
}, y(i.conf.caption || i.conf.name), 5)),
|
|
199
|
+
f("div", dt, [
|
|
200
|
+
f("div", mt, [
|
|
201
|
+
f("table", pt, [
|
|
202
|
+
f("thead", null, [
|
|
203
|
+
f("tr", null, [
|
|
204
|
+
e[0] || (e[0] = f("th", { class: "time-col" }, "采集时间", -1)),
|
|
205
|
+
(p(!0), h(j, null, V(_.value, (t) => (p(), h("th", {
|
|
206
|
+
key: `head-${t}`
|
|
207
|
+
}, y(t) + "米", 1))), 128))
|
|
208
|
+
])
|
|
209
|
+
]),
|
|
210
|
+
f("tbody", null, [
|
|
211
|
+
(p(!0), h(j, null, V(A.value, (t, s) => (p(), h("tr", {
|
|
212
|
+
key: `row-${s}-${t.time}`
|
|
213
|
+
}, [
|
|
214
|
+
f("td", ht, y(t.time), 1),
|
|
215
|
+
(p(!0), h(j, null, V(_.value, (l) => {
|
|
216
|
+
var n;
|
|
217
|
+
return p(), h("td", {
|
|
218
|
+
key: `cell-${s}-${l}`
|
|
219
|
+
}, y((n = t.values[l]) != null ? n : "--"), 1);
|
|
220
|
+
}), 128))
|
|
221
|
+
]))), 128)),
|
|
222
|
+
A.value.length ? U("", !0) : (p(), h("tr", ft, [
|
|
223
|
+
f("td", {
|
|
224
|
+
colspan: Math.max(2, _.value.length + 1),
|
|
225
|
+
class: "empty-cell"
|
|
226
|
+
}, "暂无数据", 8, vt)
|
|
227
|
+
]))
|
|
228
|
+
])
|
|
229
|
+
])
|
|
230
|
+
])
|
|
231
|
+
]),
|
|
232
|
+
at(a.$slots, "default", {}, void 0, !0)
|
|
233
|
+
], 4));
|
|
234
|
+
}
|
|
235
|
+
})), At = /* @__PURE__ */ ct(Ot, [["__scopeId", "data-v-a26bcc53"]]);
|
|
236
|
+
export {
|
|
237
|
+
At as default
|
|
238
|
+
};
|