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,340 @@
|
|
|
1
|
+
var et = Object.defineProperty, ot = Object.defineProperties;
|
|
2
|
+
var at = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var G = Object.getOwnPropertySymbols, nt = Object.getPrototypeOf, st = Object.prototype.hasOwnProperty, lt = Object.prototype.propertyIsEnumerable, it = Reflect.get;
|
|
4
|
+
var F = (r, l, o) => l in r ? et(r, l, { enumerable: !0, configurable: !0, writable: !0, value: o }) : r[l] = o, V = (r, l) => {
|
|
5
|
+
for (var o in l || (l = {}))
|
|
6
|
+
st.call(l, o) && F(r, o, l[o]);
|
|
7
|
+
if (G)
|
|
8
|
+
for (var o of G(l))
|
|
9
|
+
lt.call(l, o) && F(r, o, l[o]);
|
|
10
|
+
return r;
|
|
11
|
+
}, Z = (r, l) => ot(r, at(l));
|
|
12
|
+
var H = (r, l, o) => it(nt(r), o, l);
|
|
13
|
+
var X = (r, l, o) => new Promise((L, u) => {
|
|
14
|
+
var R = (b) => {
|
|
15
|
+
try {
|
|
16
|
+
_(o.next(b));
|
|
17
|
+
} catch (A) {
|
|
18
|
+
u(A);
|
|
19
|
+
}
|
|
20
|
+
}, d = (b) => {
|
|
21
|
+
try {
|
|
22
|
+
_(o.throw(b));
|
|
23
|
+
} catch (A) {
|
|
24
|
+
u(A);
|
|
25
|
+
}
|
|
26
|
+
}, _ = (b) => b.done ? L(b.value) : Promise.resolve(b.value).then(R, d);
|
|
27
|
+
_((o = o.apply(r, l)).next());
|
|
28
|
+
});
|
|
29
|
+
import { defineComponent as ct, useCssVars as rt, unref as z, ref as W, computed as q, watch as J, nextTick as P, onMounted as dt, onBeforeUnmount as pt, openBlock as ft, createElementBlock as ht, createElementVNode as B, toDisplayString as K, renderSlot as ut } from "vue";
|
|
30
|
+
import "html2canvas";
|
|
31
|
+
import { B as mt, i as gt, j as vt } from "./element-resize-detector-DJcsrJ8s.js";
|
|
32
|
+
import { u as yt, _ as xt } from "./index-kShjySl9.js";
|
|
33
|
+
import "./index-ButoLLAe.js";
|
|
34
|
+
import { A as bt, D as Dt } from "./ele-mxa-icon-CJWttkCK.js";
|
|
35
|
+
import { i as _t } from "./echarts-BVht3HHb.js";
|
|
36
|
+
const Ct = { class: "deep-displacement-chart" }, St = { class: "chart-header" }, Et = { class: "chart-title" }, wt = { class: "chart-subtitle" }, Mt = {
|
|
37
|
+
DEFAULT_ICON: Dt,
|
|
38
|
+
ACTIVE_ICON: bt,
|
|
39
|
+
NAME_CN: "深部位移曲线图",
|
|
40
|
+
NAME_EN: "Deep Displacement Chart",
|
|
41
|
+
ORDER: 13
|
|
42
|
+
}, At = {
|
|
43
|
+
title: { value: "ZK10-深部位移01", type: "string", label: "component.deepDisplacement.title" },
|
|
44
|
+
depth: { value: 152, type: "number", label: "component.deepDisplacement.depth", min: 1, max: 500 },
|
|
45
|
+
bgColor: { value: "#ffffff", type: "color", label: "component.options.bgColor" },
|
|
46
|
+
textColor: { value: "#333333", type: "color", label: "component.options.textColor" },
|
|
47
|
+
points: { value: 30, type: "number", label: "component.options.points", min: 5, max: 100 }
|
|
48
|
+
}, kt = [
|
|
49
|
+
{
|
|
50
|
+
configPanelId: "",
|
|
51
|
+
// 配置面板uid
|
|
52
|
+
name: "ZK10-X位移",
|
|
53
|
+
// 曲线名称
|
|
54
|
+
object_id: "",
|
|
55
|
+
// 对象ID
|
|
56
|
+
points_fv: "points",
|
|
57
|
+
// points数组字段名(模式A)
|
|
58
|
+
fv: "disp_x",
|
|
59
|
+
// 位移值字段
|
|
60
|
+
depth_fv: "depth",
|
|
61
|
+
// 深度字段
|
|
62
|
+
color: "#4a90d9"
|
|
63
|
+
// 曲线颜色
|
|
64
|
+
}
|
|
65
|
+
], It = ["configPanelId", "name", "object_id", "points_fv", "fv", "depth_fv", "color"], Ot = ["mosaic", "statistics", "calculate", "statisticsRealtime", "calculateRealtime"], Lt = { useAlias: !1, multiObject: !1, source: "mosaic" }, Tt = { DEFAULT: Mt, OPTIONS: At, DATA: kt, PARAMS: It, SOURCE: Ot, COMMON: Lt }, $t = /* @__PURE__ */ ct(Z(V({}, Tt), {
|
|
66
|
+
__name: "deepDisplacementChart",
|
|
67
|
+
props: {
|
|
68
|
+
conf: { type: Object, default: () => ({ data: [] }) },
|
|
69
|
+
mode: { type: String, default: "edit" },
|
|
70
|
+
uid: { type: String, default: "" },
|
|
71
|
+
theme: { type: String, default: "light" }
|
|
72
|
+
},
|
|
73
|
+
setup(r) {
|
|
74
|
+
rt((e) => ({
|
|
75
|
+
v7db3a074: z(I).bgColor,
|
|
76
|
+
v764b7b0c: z(I).textColor
|
|
77
|
+
}));
|
|
78
|
+
const l = yt(), o = r, L = W({
|
|
79
|
+
selectedTimes: [],
|
|
80
|
+
startDate: "",
|
|
81
|
+
endDate: ""
|
|
82
|
+
}), u = W(/* @__PURE__ */ new Map()), R = `dispChart_${Date.now()}_${Math.random().toString(36).slice(2, 8)}`;
|
|
83
|
+
let d = null, _ = null;
|
|
84
|
+
const b = [
|
|
85
|
+
"#4a90d9",
|
|
86
|
+
"#67c23a",
|
|
87
|
+
"#e6a23c",
|
|
88
|
+
"#f56c6c",
|
|
89
|
+
"#909399",
|
|
90
|
+
"#00bcd4",
|
|
91
|
+
"#9c27b0",
|
|
92
|
+
"#ff9800",
|
|
93
|
+
"#795548",
|
|
94
|
+
"#607d8b"
|
|
95
|
+
];
|
|
96
|
+
class A extends mt {
|
|
97
|
+
extractStyles() {
|
|
98
|
+
var a, n, v, p, m;
|
|
99
|
+
const { options: t } = this.props.conf;
|
|
100
|
+
return {
|
|
101
|
+
title: ((a = t == null ? void 0 : t.title) == null ? void 0 : a.value) || "ZK10-深部位移01",
|
|
102
|
+
depth: ((n = t == null ? void 0 : t.depth) == null ? void 0 : n.value) || 152,
|
|
103
|
+
bgColor: ((v = t == null ? void 0 : t.bgColor) == null ? void 0 : v.value) || "#ffffff",
|
|
104
|
+
textColor: ((p = t == null ? void 0 : t.textColor) == null ? void 0 : p.value) || "#333333",
|
|
105
|
+
points: ((m = t == null ? void 0 : t.points) == null ? void 0 : m.value) || 30
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
getDefaultData() {
|
|
109
|
+
return [{
|
|
110
|
+
configPanelId: "",
|
|
111
|
+
name: "ZK10-X位移",
|
|
112
|
+
object_id: "",
|
|
113
|
+
points_fv: "points",
|
|
114
|
+
fv: "disp_x",
|
|
115
|
+
depth_fv: "depth",
|
|
116
|
+
color: "#4a90d9"
|
|
117
|
+
}];
|
|
118
|
+
}
|
|
119
|
+
// 模拟数据 - 为每条曲线生成多天数据
|
|
120
|
+
getMockData() {
|
|
121
|
+
var v;
|
|
122
|
+
const t = ((v = this.props.conf) == null ? void 0 : v.data) || this.getDefaultData(), a = ["2026-01-15", "2026-01-14", "2026-01-13", "2026-01-12", "2026-01-11"], n = /* @__PURE__ */ new Map();
|
|
123
|
+
return t.forEach((p, m) => {
|
|
124
|
+
const k = /* @__PURE__ */ new Map();
|
|
125
|
+
a.forEach((O, f) => {
|
|
126
|
+
const s = [], y = (a.length - 1 - f) * 5;
|
|
127
|
+
for (let c = 0; c <= 30; c++) {
|
|
128
|
+
const C = -122 - c, i = (10 + y + m * 3) * (1 + c * 0.03);
|
|
129
|
+
s.push({
|
|
130
|
+
depth: C,
|
|
131
|
+
value: i + Math.sin(c * 0.2 + m) * 2
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
k.set(O, s);
|
|
135
|
+
}), n.set(p.name, k);
|
|
136
|
+
}), n;
|
|
137
|
+
}
|
|
138
|
+
onPreview() {
|
|
139
|
+
return X(this, null, function* () {
|
|
140
|
+
const { data: t } = this.props.conf;
|
|
141
|
+
t.some((n) => n.object_id && n.fv) ? (console.log("[DeepDisplacementChart] 检测到数据绑定,订阅真实数据"), yield H(A.prototype, this, "onPreview").call(this)) : (console.log("[DeepDisplacementChart] 未配置数据源,使用模拟数据"), this.getMockData().forEach((v, p) => u.value.set(p, v)), N());
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
setHistoryData(t) {
|
|
145
|
+
var k, O;
|
|
146
|
+
const { data: a, common: n } = this.props.conf;
|
|
147
|
+
if (!a || a.length === 0 || !a.some((f) => f.object_id && f.fv)) return;
|
|
148
|
+
const p = (n == null ? void 0 : n.source) || "mosaic";
|
|
149
|
+
["statistics", "calculate"].includes(p) && (t = gt(t, a));
|
|
150
|
+
const m = vt(t, this.props, "history");
|
|
151
|
+
if (m) {
|
|
152
|
+
try {
|
|
153
|
+
u.value.clear();
|
|
154
|
+
const f = a.find((i) => i.object_id);
|
|
155
|
+
if (!f) return;
|
|
156
|
+
const s = a.indexOf(f), y = ((k = m.history) == null ? void 0 : k[s]) || [], c = f.points_fv || "points";
|
|
157
|
+
y.length > 0 && Array.isArray((O = y[0]) == null ? void 0 : O[c]) ? a.forEach((i) => {
|
|
158
|
+
if (!i.object_id || !i.fv) return;
|
|
159
|
+
const M = /* @__PURE__ */ new Map(), S = /* @__PURE__ */ new Map();
|
|
160
|
+
y.forEach((x) => {
|
|
161
|
+
const E = (x.time || x.datetime || "").split(" ")[0];
|
|
162
|
+
S.has(E) || S.set(E, []), (x[c] || []).forEach((h) => {
|
|
163
|
+
var D, $, j;
|
|
164
|
+
S.get(E).push({
|
|
165
|
+
depth: ($ = (D = h[i.depth_fv]) != null ? D : h.depth) != null ? $ : 0,
|
|
166
|
+
value: (j = h[i.fv]) != null ? j : 0
|
|
167
|
+
});
|
|
168
|
+
});
|
|
169
|
+
}), S.forEach((x, g) => {
|
|
170
|
+
const E = /* @__PURE__ */ new Map();
|
|
171
|
+
x.forEach((h) => E.set(h.depth, h.value));
|
|
172
|
+
const w = Array.from(E.entries()).map(([h, D]) => ({ depth: h, value: D })).sort((h, D) => D.depth - h.depth);
|
|
173
|
+
M.set(g, w);
|
|
174
|
+
}), u.value.set(i.name, M);
|
|
175
|
+
}) : a.forEach((i, M) => {
|
|
176
|
+
var E;
|
|
177
|
+
if (!i.object_id || !i.fv) return;
|
|
178
|
+
const S = ((E = m.history) == null ? void 0 : E[M]) || [], x = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map();
|
|
179
|
+
S.forEach((w) => {
|
|
180
|
+
var $, j;
|
|
181
|
+
const D = (w.time || w.datetime || "").split(" ")[0];
|
|
182
|
+
g.has(D) || g.set(D, []), g.get(D).push({
|
|
183
|
+
depth: ($ = w[i.depth_fv]) != null ? $ : 0,
|
|
184
|
+
value: (j = w[i.fv]) != null ? j : 0
|
|
185
|
+
});
|
|
186
|
+
}), g.forEach((w, h) => {
|
|
187
|
+
x.set(h, w);
|
|
188
|
+
}), u.value.set(i.name, x);
|
|
189
|
+
});
|
|
190
|
+
} catch (f) {
|
|
191
|
+
console.error("[Chart] 解析历史数据失败:", f);
|
|
192
|
+
}
|
|
193
|
+
N();
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
setSocketData(t) {
|
|
197
|
+
t && console.log("[DeepDisplacementChart] 收到实时数据:", t);
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
const T = new A(o, "deepDisplacementChart");
|
|
201
|
+
(!o.conf.data || o.conf.data.length === 0) && (o.conf.data = T.getDefaultData()), T.setupLifecycle();
|
|
202
|
+
const I = T.getStyle(), Q = q(() => {
|
|
203
|
+
const e = L.value.selectedTimes || [];
|
|
204
|
+
if (e.length === 0) return "";
|
|
205
|
+
const t = [...e].sort(), a = t[0], n = t[t.length - 1];
|
|
206
|
+
return `${a} ~ ${n} [${e.length}天]`;
|
|
207
|
+
}), U = () => {
|
|
208
|
+
var f;
|
|
209
|
+
const e = I.value, t = L.value, a = ((f = o.conf) == null ? void 0 : f.data) || T.getDefaultData();
|
|
210
|
+
let n = t.selectedTimes || [];
|
|
211
|
+
if (u.value.size === 0 && T.getMockData().forEach((y, c) => u.value.set(c, y)), n.length === 0 && u.value.size > 0) {
|
|
212
|
+
const s = u.value.values().next().value;
|
|
213
|
+
s && (n = Array.from(s.keys()));
|
|
214
|
+
}
|
|
215
|
+
n = [...n].sort().reverse();
|
|
216
|
+
const v = [];
|
|
217
|
+
let p = [], m = 0;
|
|
218
|
+
a.forEach((s) => {
|
|
219
|
+
const y = u.value.get(s.name);
|
|
220
|
+
if (!y) return;
|
|
221
|
+
const c = s.color || b[m % b.length];
|
|
222
|
+
m++, n.forEach((C, i) => {
|
|
223
|
+
const M = y.get(C) || [];
|
|
224
|
+
if (M.length === 0) return;
|
|
225
|
+
M.forEach((g) => p.push(g.depth));
|
|
226
|
+
const S = 1 - i * 0.15, x = c;
|
|
227
|
+
v.push({
|
|
228
|
+
name: `${s.name} (${C})`,
|
|
229
|
+
type: "line",
|
|
230
|
+
data: M.map((g) => [g.value, g.depth]),
|
|
231
|
+
smooth: !0,
|
|
232
|
+
symbol: "circle",
|
|
233
|
+
symbolSize: 4,
|
|
234
|
+
lineStyle: { color: x, width: 2, opacity: S },
|
|
235
|
+
itemStyle: { color: x, opacity: S }
|
|
236
|
+
});
|
|
237
|
+
});
|
|
238
|
+
}), p.length === 0 && (p = [-122, -152]);
|
|
239
|
+
const k = Math.min(...p), O = Math.max(...p);
|
|
240
|
+
return {
|
|
241
|
+
grid: { left: 60, right: 140, top: 30, bottom: 60 },
|
|
242
|
+
tooltip: {
|
|
243
|
+
trigger: "axis",
|
|
244
|
+
backgroundColor: "rgba(255,255,255,0.95)",
|
|
245
|
+
borderColor: "#e5e5e5",
|
|
246
|
+
textStyle: { color: "#333", fontSize: 12 },
|
|
247
|
+
formatter: (s) => {
|
|
248
|
+
if (!s || s.length === 0) return "";
|
|
249
|
+
let c = `<div style="padding:8px;max-width:280px;">
|
|
250
|
+
<div style="font-weight:600;margin-bottom:6px;">深度: ${s[0].data[1]}m</div>`;
|
|
251
|
+
return s.forEach((C) => {
|
|
252
|
+
c += `<div style="display:flex;align-items:center;margin:2px 0;">
|
|
253
|
+
<span style="display:inline-block;width:8px;height:8px;border-radius:50%;background:${C.color};margin-right:6px;"></span>
|
|
254
|
+
<span style="flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;">${C.seriesName}: ${C.data[0].toFixed(3)} mm</span>
|
|
255
|
+
</div>`;
|
|
256
|
+
}), c += "</div>", c;
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
legend: {
|
|
260
|
+
type: "scroll",
|
|
261
|
+
orient: "vertical",
|
|
262
|
+
right: 10,
|
|
263
|
+
bottom: 60,
|
|
264
|
+
itemWidth: 16,
|
|
265
|
+
itemHeight: 10,
|
|
266
|
+
itemGap: 6,
|
|
267
|
+
textStyle: { color: e.textColor, fontSize: 10 },
|
|
268
|
+
formatter: (s) => s.length > 15 ? s.slice(0, 15) + "..." : s
|
|
269
|
+
},
|
|
270
|
+
xAxis: {
|
|
271
|
+
type: "value",
|
|
272
|
+
name: "位移量 (mm)",
|
|
273
|
+
nameLocation: "middle",
|
|
274
|
+
nameGap: 30,
|
|
275
|
+
nameTextStyle: { color: e.textColor, fontSize: 12 },
|
|
276
|
+
axisLine: { lineStyle: { color: "#ddd" } },
|
|
277
|
+
axisLabel: { color: e.textColor, fontSize: 10 },
|
|
278
|
+
splitLine: { lineStyle: { color: "#f0f0f0", type: "dashed" } }
|
|
279
|
+
},
|
|
280
|
+
yAxis: {
|
|
281
|
+
type: "value",
|
|
282
|
+
name: "深度 (m)",
|
|
283
|
+
nameLocation: "middle",
|
|
284
|
+
nameGap: 40,
|
|
285
|
+
nameTextStyle: { color: e.textColor, fontSize: 12 },
|
|
286
|
+
min: k - 1,
|
|
287
|
+
max: O + 1,
|
|
288
|
+
inverse: !1,
|
|
289
|
+
axisLine: { lineStyle: { color: "#ddd" } },
|
|
290
|
+
axisLabel: { color: e.textColor, fontSize: 10 },
|
|
291
|
+
splitLine: { lineStyle: { color: "#f0f0f0", type: "dashed" } }
|
|
292
|
+
},
|
|
293
|
+
series: v
|
|
294
|
+
};
|
|
295
|
+
}, N = () => {
|
|
296
|
+
d && (d.clear(), d.setOption(U(), !0));
|
|
297
|
+
}, Y = q(() => {
|
|
298
|
+
var t, a;
|
|
299
|
+
return ((a = (((t = o.conf) == null ? void 0 : t.data) || [])[0]) == null ? void 0 : a.configPanelId) || "";
|
|
300
|
+
});
|
|
301
|
+
J(() => l.channels.deepDisplacement, (e) => {
|
|
302
|
+
var a;
|
|
303
|
+
if (!e || e.source === "deepDisplacementChart") return;
|
|
304
|
+
const t = Y.value;
|
|
305
|
+
t && e.objectId === t && (e.type === "config" ? (console.log("[Chart] 收到配置变化:", e.fv), L.value = e.fv, P(N)) : e.type === "export" && (console.log("[Chart] 收到导出请求:", e.fv), ((a = e.fv) == null ? void 0 : a.type) === "static" && tt()));
|
|
306
|
+
}, { deep: !0 });
|
|
307
|
+
const tt = () => {
|
|
308
|
+
if (d) {
|
|
309
|
+
const e = d.getDataURL({ type: "png", pixelRatio: 2, backgroundColor: "#fff" }), t = document.createElement("a");
|
|
310
|
+
t.download = `${I.value.title}-深部位移曲线图.png`, t.href = e, t.click();
|
|
311
|
+
}
|
|
312
|
+
};
|
|
313
|
+
return dt(() => {
|
|
314
|
+
P(() => {
|
|
315
|
+
const e = document.getElementById(R);
|
|
316
|
+
e && (d = _t(e), d.setOption(U()), _ = new ResizeObserver(() => d == null ? void 0 : d.resize()), _.observe(e.parentElement));
|
|
317
|
+
});
|
|
318
|
+
}), pt(() => {
|
|
319
|
+
_ == null || _.disconnect(), d == null || d.dispose();
|
|
320
|
+
}), J(() => {
|
|
321
|
+
var e;
|
|
322
|
+
return (e = o.conf) == null ? void 0 : e.data;
|
|
323
|
+
}, () => {
|
|
324
|
+
P(N);
|
|
325
|
+
}, { deep: !0 }), (e, t) => (ft(), ht("div", Ct, [
|
|
326
|
+
B("div", St, [
|
|
327
|
+
B("div", Et, K(z(I).title) + "(深度" + K(z(I).depth) + "米)", 1),
|
|
328
|
+
B("div", wt, K(Q.value), 1)
|
|
329
|
+
]),
|
|
330
|
+
B("div", {
|
|
331
|
+
id: R,
|
|
332
|
+
class: "chart-area"
|
|
333
|
+
}),
|
|
334
|
+
ut(e.$slots, "default", {}, void 0, !0)
|
|
335
|
+
]));
|
|
336
|
+
}
|
|
337
|
+
})), Gt = /* @__PURE__ */ xt($t, [["__scopeId", "data-v-d04a5a0b"]]);
|
|
338
|
+
export {
|
|
339
|
+
Gt as default
|
|
340
|
+
};
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
var W = Object.defineProperty, G = Object.defineProperties;
|
|
2
|
+
var J = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var $ = Object.getOwnPropertySymbols;
|
|
4
|
+
var K = Object.prototype.hasOwnProperty, Q = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var T = (c, n, r) => n in c ? W(c, n, { enumerable: !0, configurable: !0, writable: !0, value: r }) : c[n] = r, Y = (c, n) => {
|
|
6
|
+
for (var r in n || (n = {}))
|
|
7
|
+
K.call(n, r) && T(c, r, n[r]);
|
|
8
|
+
if ($)
|
|
9
|
+
for (var r of $(n))
|
|
10
|
+
Q.call(n, r) && T(c, r, n[r]);
|
|
11
|
+
return c;
|
|
12
|
+
}, U = (c, n) => G(c, J(n));
|
|
13
|
+
import { ElButton as ee, ElSelect as te, ElOption as oe } from "element-plus/es";
|
|
14
|
+
import "element-plus/es/components/base/style/css";
|
|
15
|
+
import "element-plus/es/components/select/style/css";
|
|
16
|
+
import "element-plus/es/components/option/style/css";
|
|
17
|
+
import "element-plus/es/components/button/style/css";
|
|
18
|
+
import { defineComponent as le, useCssVars as ae, ref as w, computed as I, watch as A, nextTick as j, onMounted as ne, onBeforeUnmount as ie, openBlock as V, createElementBlock as E, createElementVNode as s, toDisplayString as b, createVNode as L, withCtx as B, createTextVNode as se, Fragment as re, renderList as de, createCommentVNode as ce, renderSlot as me } from "vue";
|
|
19
|
+
import { u as pe, d as ue, _ as fe } from "./index-kShjySl9.js";
|
|
20
|
+
import "./index-ButoLLAe.js";
|
|
21
|
+
import { A as ve, D as xe } from "./ele-gridview-icon-cSd1oIDi.js";
|
|
22
|
+
import { i as ge } from "./echarts-BVht3HHb.js";
|
|
23
|
+
const ye = { class: "deep-displacement-view" }, Ce = { class: "view-toolbar" }, he = { class: "time-display" }, be = { class: "view-header" }, _e = { class: "view-title" }, De = { class: "view-time" }, Se = { class: "chart-container" }, Me = {
|
|
24
|
+
key: 0,
|
|
25
|
+
class: "no-data"
|
|
26
|
+
}, we = {
|
|
27
|
+
DEFAULT_ICON: xe,
|
|
28
|
+
ACTIVE_ICON: ve,
|
|
29
|
+
NAME_CN: "深部位移三视图",
|
|
30
|
+
NAME_EN: "Deep Displacement View",
|
|
31
|
+
ORDER: 12
|
|
32
|
+
}, Ie = {
|
|
33
|
+
title: { value: "深部位移三视图", type: "string", label: "component.deepDisplacement.title" },
|
|
34
|
+
bgColor: { value: "#ffffff", type: "color", label: "component.options.bgColor" },
|
|
35
|
+
textColor: { value: "#333333", type: "color", label: "component.options.textColor" },
|
|
36
|
+
lineColor: { value: "#4a90d9", type: "color", label: "component.deepDisplacement.lineColor" },
|
|
37
|
+
gridColor: { value: "#e5e5e5", type: "color", label: "component.deepDisplacement.gridColor" },
|
|
38
|
+
pointColor: { value: "#4a90d9", type: "color", label: "component.deepDisplacement.pointColor" }
|
|
39
|
+
}, Ae = [
|
|
40
|
+
{ configPanelId: "" }
|
|
41
|
+
], Ve = ["configPanelId"], Ee = [], Le = { useAlias: !1, multiObject: !1, source: "" }, Ne = { DEFAULT: we, OPTIONS: Ie, DATA: Ae, PARAMS: Ve, SOURCE: Ee, COMMON: Le }, Oe = /* @__PURE__ */ le(U(Y({}, Ne), {
|
|
42
|
+
__name: "deepDisplacementView",
|
|
43
|
+
props: {
|
|
44
|
+
conf: { type: Object, default: () => ({}) },
|
|
45
|
+
mode: { type: String, default: "edit" },
|
|
46
|
+
uid: { type: String, default: "" },
|
|
47
|
+
theme: { type: String, default: "light" }
|
|
48
|
+
},
|
|
49
|
+
setup(c) {
|
|
50
|
+
ae((e) => ({
|
|
51
|
+
v28f3e125: p.value.bgColor,
|
|
52
|
+
v527e537d: p.value.textColor,
|
|
53
|
+
v25488d16: p.value.lineColor
|
|
54
|
+
}));
|
|
55
|
+
const n = pe(), r = c, F = [
|
|
56
|
+
{ label: "俯视图", value: "top" },
|
|
57
|
+
{ label: "主视图", value: "front" },
|
|
58
|
+
{ label: "侧视图", value: "side" }
|
|
59
|
+
], N = { top: "俯视图", front: "主视图", side: "侧视图" }, f = w("top"), _ = w(""), X = I(() => ue().format("YYYY-MM-DD HH:mm:ss")), O = `deepDisplacementView_${Date.now()}_${Math.random().toString(36).slice(2, 11)}`, v = w([]), D = I(() => v.value && v.value.length > 0);
|
|
60
|
+
let d = null, x = null;
|
|
61
|
+
const p = I(() => {
|
|
62
|
+
var o, l, m, i, u, g, y;
|
|
63
|
+
const { options: e, data: t } = r.conf || {};
|
|
64
|
+
return {
|
|
65
|
+
title: ((o = e == null ? void 0 : e.title) == null ? void 0 : o.value) || "深部位移三视图",
|
|
66
|
+
configPanelId: ((l = t == null ? void 0 : t[0]) == null ? void 0 : l.configPanelId) || "",
|
|
67
|
+
bgColor: ((m = e == null ? void 0 : e.bgColor) == null ? void 0 : m.value) || "#ffffff",
|
|
68
|
+
textColor: ((i = e == null ? void 0 : e.textColor) == null ? void 0 : i.value) || "#333333",
|
|
69
|
+
lineColor: ((u = e == null ? void 0 : e.lineColor) == null ? void 0 : u.value) || "#4a90d9",
|
|
70
|
+
gridColor: ((g = e == null ? void 0 : e.gridColor) == null ? void 0 : g.value) || "#e5e5e5",
|
|
71
|
+
pointColor: ((y = e == null ? void 0 : e.pointColor) == null ? void 0 : y.value) || "#4a90d9"
|
|
72
|
+
};
|
|
73
|
+
}), Z = (e) => {
|
|
74
|
+
const t = v.value;
|
|
75
|
+
if (!t || t.length === 0) return {};
|
|
76
|
+
const o = p.value;
|
|
77
|
+
let l = [], m = [], i = "", u = "";
|
|
78
|
+
e === "front" ? (l = t.map((a) => a.x), m = t.map((a) => a.depth), i = "X (mm)", u = "Z (mm)") : e === "side" ? (l = t.map((a) => a.y), m = t.map((a) => a.depth), i = "Y (mm)", u = "Z (mm)") : (l = t.map((a) => a.x), m = t.map((a) => a.y), i = "X (mm)", u = "Y (mm)");
|
|
79
|
+
const g = Math.min(...l), y = Math.max(...l), C = Math.min(...m), P = Math.max(...m), z = Math.max(Math.abs(g), Math.abs(y), 15e3), R = e === "top" ? Math.max(Math.abs(C), Math.abs(P), 15e3) : Math.abs(C - P) * 1.1;
|
|
80
|
+
return {
|
|
81
|
+
grid: { left: 60, right: 50, top: 20, bottom: 60 },
|
|
82
|
+
tooltip: {
|
|
83
|
+
trigger: "item",
|
|
84
|
+
backgroundColor: "rgba(255, 255, 255, 0.95)",
|
|
85
|
+
borderColor: "#e5e5e5",
|
|
86
|
+
textStyle: { color: "#333", fontSize: 12 },
|
|
87
|
+
formatter: (a) => {
|
|
88
|
+
const M = a.dataIndex, h = t[M];
|
|
89
|
+
return `<div style="padding: 8px;">
|
|
90
|
+
<div style="font-weight: 600; margin-bottom: 6px;">深度: ${h.depth}m</div>
|
|
91
|
+
<div style="color: #666; line-height: 1.8;">
|
|
92
|
+
<div>高程: ${h.elevation}m</div>
|
|
93
|
+
<div>X: ${h.x}</div>
|
|
94
|
+
<div>Y: ${h.y}</div>
|
|
95
|
+
</div>
|
|
96
|
+
</div>`;
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
dataZoom: [
|
|
100
|
+
{ type: "inside", xAxisIndex: 0, filterMode: "none" },
|
|
101
|
+
{ type: "inside", yAxisIndex: 0, filterMode: "none" },
|
|
102
|
+
{ type: "slider", xAxisIndex: 0, bottom: 5, height: 15, showDetail: !0, filterMode: "none" },
|
|
103
|
+
{ type: "slider", yAxisIndex: 0, right: 5, width: 15, showDetail: !0, filterMode: "none" }
|
|
104
|
+
],
|
|
105
|
+
xAxis: {
|
|
106
|
+
type: "value",
|
|
107
|
+
name: i,
|
|
108
|
+
nameLocation: "end",
|
|
109
|
+
nameTextStyle: { color: o.textColor, fontSize: 11 },
|
|
110
|
+
min: -z,
|
|
111
|
+
max: z,
|
|
112
|
+
axisLine: { lineStyle: { color: o.gridColor } },
|
|
113
|
+
axisLabel: { color: o.textColor, fontSize: 10, formatter: (a) => a.toLocaleString() },
|
|
114
|
+
splitLine: { lineStyle: { color: o.gridColor, type: "dashed" } }
|
|
115
|
+
},
|
|
116
|
+
yAxis: {
|
|
117
|
+
type: "value",
|
|
118
|
+
name: u,
|
|
119
|
+
nameLocation: "end",
|
|
120
|
+
nameTextStyle: { color: o.textColor, fontSize: 11 },
|
|
121
|
+
min: e === "top" ? -R : C - Math.abs(C) * 0.1,
|
|
122
|
+
max: e === "top" ? R : 0,
|
|
123
|
+
axisLine: { lineStyle: { color: o.gridColor } },
|
|
124
|
+
axisLabel: { color: o.textColor, fontSize: 10, formatter: (a) => a.toLocaleString() },
|
|
125
|
+
splitLine: { lineStyle: { color: o.gridColor, type: "dashed" } }
|
|
126
|
+
},
|
|
127
|
+
series: [{
|
|
128
|
+
type: "line",
|
|
129
|
+
data: l.map((a, M) => [a, m[M]]),
|
|
130
|
+
smooth: !1,
|
|
131
|
+
symbol: "circle",
|
|
132
|
+
symbolSize: 6,
|
|
133
|
+
lineStyle: { color: o.lineColor, width: 2 },
|
|
134
|
+
itemStyle: { color: o.pointColor, borderColor: "#fff", borderWidth: 1 },
|
|
135
|
+
emphasis: { itemStyle: { borderWidth: 2, borderColor: o.lineColor } }
|
|
136
|
+
}]
|
|
137
|
+
};
|
|
138
|
+
}, S = () => {
|
|
139
|
+
d && D.value && (d.clear(), d.setOption(Z(f.value), !0));
|
|
140
|
+
}, q = () => {
|
|
141
|
+
S();
|
|
142
|
+
};
|
|
143
|
+
A(() => n.channels.deepDisplacement3D, (e) => {
|
|
144
|
+
if (!e || e.topic.source === "deepDisplacementView") return;
|
|
145
|
+
const t = p.value.configPanelId;
|
|
146
|
+
if (!t || e.payload.objectId !== t) return;
|
|
147
|
+
const o = e.payload;
|
|
148
|
+
if (o.type === "data") {
|
|
149
|
+
console.log("[View] 收到数据, payload:", o.fv);
|
|
150
|
+
const l = o.fv;
|
|
151
|
+
l != null && l.data && Array.isArray(l.data) && (v.value = [...l.data], l.time && (_.value = l.time), j(S));
|
|
152
|
+
}
|
|
153
|
+
}, { deep: !0 });
|
|
154
|
+
const k = () => {
|
|
155
|
+
const e = p.value.configPanelId;
|
|
156
|
+
e && n.publish("deepDisplacement3D", "deepDisplacementView", {
|
|
157
|
+
objectId: e,
|
|
158
|
+
type: "request",
|
|
159
|
+
fv: {}
|
|
160
|
+
});
|
|
161
|
+
}, H = () => {
|
|
162
|
+
if (d && D.value) {
|
|
163
|
+
const e = d.getDataURL({ type: "png", pixelRatio: 2, backgroundColor: "#fff" }), t = document.createElement("a");
|
|
164
|
+
t.download = `${p.value.title}-${N[f.value]}.png`, t.href = e, t.click();
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
return ne(() => {
|
|
168
|
+
j(() => {
|
|
169
|
+
const e = document.getElementById(O);
|
|
170
|
+
e && (d = ge(e), x = new ResizeObserver(() => d == null ? void 0 : d.resize()), x.observe(e.parentElement)), k();
|
|
171
|
+
});
|
|
172
|
+
}), ie(() => {
|
|
173
|
+
x == null || x.disconnect(), d == null || d.dispose();
|
|
174
|
+
}), A(() => p.value.configPanelId, k), A(v, S, { deep: !0 }), (e, t) => {
|
|
175
|
+
const o = ee, l = oe, m = te;
|
|
176
|
+
return V(), E("div", ye, [
|
|
177
|
+
s("div", Ce, [
|
|
178
|
+
s("span", he, b(_.value || "等待数据..."), 1),
|
|
179
|
+
L(o, {
|
|
180
|
+
size: "small",
|
|
181
|
+
onClick: H
|
|
182
|
+
}, {
|
|
183
|
+
default: B(() => [...t[1] || (t[1] = [
|
|
184
|
+
se("导出", -1)
|
|
185
|
+
])]),
|
|
186
|
+
_: 1
|
|
187
|
+
}),
|
|
188
|
+
L(m, {
|
|
189
|
+
modelValue: f.value,
|
|
190
|
+
"onUpdate:modelValue": t[0] || (t[0] = (i) => f.value = i),
|
|
191
|
+
size: "small",
|
|
192
|
+
class: "view-select",
|
|
193
|
+
onChange: q
|
|
194
|
+
}, {
|
|
195
|
+
default: B(() => [
|
|
196
|
+
(V(), E(re, null, de(F, (i) => L(l, {
|
|
197
|
+
key: i.value,
|
|
198
|
+
label: i.label,
|
|
199
|
+
value: i.value
|
|
200
|
+
}, null, 8, ["label", "value"])), 64))
|
|
201
|
+
]),
|
|
202
|
+
_: 1
|
|
203
|
+
}, 8, ["modelValue"])
|
|
204
|
+
]),
|
|
205
|
+
s("div", be, [
|
|
206
|
+
s("div", _e, b(p.value.title) + "-" + b(N[f.value]), 1),
|
|
207
|
+
s("div", De, b(_.value || X.value), 1),
|
|
208
|
+
t[2] || (t[2] = s("div", { class: "view-legend" }, [
|
|
209
|
+
s("span", { class: "legend-line" }),
|
|
210
|
+
s("span", null, "姿态")
|
|
211
|
+
], -1))
|
|
212
|
+
]),
|
|
213
|
+
s("div", Se, [
|
|
214
|
+
D.value ? ce("", !0) : (V(), E("div", Me, [...t[3] || (t[3] = [
|
|
215
|
+
s("div", { class: "no-data-icon" }, "📊", -1),
|
|
216
|
+
s("div", { class: "no-data-text" }, "请设置配置面板ID以获取数据", -1),
|
|
217
|
+
s("div", { class: "no-data-hint" }, '在数据面板中设置"configPanelId",填入3D组件的uid', -1)
|
|
218
|
+
])])),
|
|
219
|
+
s("div", {
|
|
220
|
+
id: O,
|
|
221
|
+
class: "view-chart"
|
|
222
|
+
})
|
|
223
|
+
]),
|
|
224
|
+
me(e.$slots, "default", {}, void 0, !0)
|
|
225
|
+
]);
|
|
226
|
+
};
|
|
227
|
+
}
|
|
228
|
+
})), Xe = /* @__PURE__ */ fe(Oe, [["__scopeId", "data-v-20558d51"]]);
|
|
229
|
+
export {
|
|
230
|
+
Xe as default
|
|
231
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";var Y=Object.defineProperty,j=Object.defineProperties;var F=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var X=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable;var O=(c,i,s)=>i in c?Y(c,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):c[i]=s,q=(c,i)=>{for(var s in i||(i={}))X.call(i,s)&&O(c,s,i[s]);if(L)for(var s of L(i))Z.call(i,s)&&O(c,s,i[s]);return c},P=(c,i)=>j(c,F(i));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");require("element-plus/es/components/button/style/css");const e=require("vue"),V=require("./index-Mh5Dw2sd.cjs");require("./index-mAPVa0s4.cjs");const T=require("./ele-gridview-icon-D3GcssP6.cjs"),H=require("./echarts-BB8O2KSA.cjs"),W={class:"deep-displacement-view"},G={class:"view-toolbar"},J={class:"time-display"},K={class:"view-header"},Q={class:"view-title"},ee={class:"view-time"},te={class:"chart-container"},oe={key:0,class:"no-data"},le={DEFAULT_ICON:T.DEFAULT_ICON,ACTIVE_ICON:T.ACTIVE_ICON,NAME_CN:"深部位移三视图",NAME_EN:"Deep Displacement View",ORDER:12},ne={title:{value:"深部位移三视图",type:"string",label:"component.deepDisplacement.title"},bgColor:{value:"#ffffff",type:"color",label:"component.options.bgColor"},textColor:{value:"#333333",type:"color",label:"component.options.textColor"},lineColor:{value:"#4a90d9",type:"color",label:"component.deepDisplacement.lineColor"},gridColor:{value:"#e5e5e5",type:"color",label:"component.deepDisplacement.gridColor"},pointColor:{value:"#4a90d9",type:"color",label:"component.deepDisplacement.pointColor"}},ae=[{configPanelId:""}],ie=["configPanelId"],re=[],se={useAlias:!1,multiObject:!1,source:""},de={DEFAULT:le,OPTIONS:ne,DATA:ae,PARAMS:ie,SOURCE:re,COMMON:se},ce=e.defineComponent(P(q({},de),{__name:"deepDisplacementView",props:{conf:{type:Object,default:()=>({})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(c){e.useCssVars(t=>({v28f3e125:u.value.bgColor,v527e537d:u.value.textColor,v25488d16:u.value.lineColor}));const i=V.useLinkStore(),s=c,z=[{label:"俯视图",value:"top"},{label:"主视图",value:"front"},{label:"侧视图",value:"side"}],N={top:"俯视图",front:"主视图",side:"侧视图"},f=e.ref("top"),b=e.ref(""),B=e.computed(()=>V.dayjs().format("YYYY-MM-DD HH:mm:ss")),M=`deepDisplacementView_${Date.now()}_${Math.random().toString(36).slice(2,11)}`,v=e.ref([]),_=e.computed(()=>v.value&&v.value.length>0);let d=null,g=null;const u=e.computed(()=>{var l,n,m,r,p,x,y;const{options:t,data:o}=s.conf||{};return{title:((l=t==null?void 0:t.title)==null?void 0:l.value)||"深部位移三视图",configPanelId:((n=o==null?void 0:o[0])==null?void 0:n.configPanelId)||"",bgColor:((m=t==null?void 0:t.bgColor)==null?void 0:m.value)||"#ffffff",textColor:((r=t==null?void 0:t.textColor)==null?void 0:r.value)||"#333333",lineColor:((p=t==null?void 0:t.lineColor)==null?void 0:p.value)||"#4a90d9",gridColor:((x=t==null?void 0:t.gridColor)==null?void 0:x.value)||"#e5e5e5",pointColor:((y=t==null?void 0:t.pointColor)==null?void 0:y.value)||"#4a90d9"}}),R=t=>{const o=v.value;if(!o||o.length===0)return{};const l=u.value;let n=[],m=[],r="",p="";t==="front"?(n=o.map(a=>a.x),m=o.map(a=>a.depth),r="X (mm)",p="Z (mm)"):t==="side"?(n=o.map(a=>a.y),m=o.map(a=>a.depth),r="Y (mm)",p="Z (mm)"):(n=o.map(a=>a.x),m=o.map(a=>a.y),r="X (mm)",p="Y (mm)");const x=Math.min(...n),y=Math.max(...n),C=Math.min(...m),I=Math.max(...m),A=Math.max(Math.abs(x),Math.abs(y),15e3),k=t==="top"?Math.max(Math.abs(C),Math.abs(I),15e3):Math.abs(C-I)*1.1;return{grid:{left:60,right:50,top:20,bottom:60},tooltip:{trigger:"item",backgroundColor:"rgba(255, 255, 255, 0.95)",borderColor:"#e5e5e5",textStyle:{color:"#333",fontSize:12},formatter:a=>{const S=a.dataIndex,h=o[S];return`<div style="padding: 8px;">
|
|
2
|
+
<div style="font-weight: 600; margin-bottom: 6px;">深度: ${h.depth}m</div>
|
|
3
|
+
<div style="color: #666; line-height: 1.8;">
|
|
4
|
+
<div>高程: ${h.elevation}m</div>
|
|
5
|
+
<div>X: ${h.x}</div>
|
|
6
|
+
<div>Y: ${h.y}</div>
|
|
7
|
+
</div>
|
|
8
|
+
</div>`}},dataZoom:[{type:"inside",xAxisIndex:0,filterMode:"none"},{type:"inside",yAxisIndex:0,filterMode:"none"},{type:"slider",xAxisIndex:0,bottom:5,height:15,showDetail:!0,filterMode:"none"},{type:"slider",yAxisIndex:0,right:5,width:15,showDetail:!0,filterMode:"none"}],xAxis:{type:"value",name:r,nameLocation:"end",nameTextStyle:{color:l.textColor,fontSize:11},min:-A,max:A,axisLine:{lineStyle:{color:l.gridColor}},axisLabel:{color:l.textColor,fontSize:10,formatter:a=>a.toLocaleString()},splitLine:{lineStyle:{color:l.gridColor,type:"dashed"}}},yAxis:{type:"value",name:p,nameLocation:"end",nameTextStyle:{color:l.textColor,fontSize:11},min:t==="top"?-k:C-Math.abs(C)*.1,max:t==="top"?k:0,axisLine:{lineStyle:{color:l.gridColor}},axisLabel:{color:l.textColor,fontSize:10,formatter:a=>a.toLocaleString()},splitLine:{lineStyle:{color:l.gridColor,type:"dashed"}}},series:[{type:"line",data:n.map((a,S)=>[a,m[S]]),smooth:!1,symbol:"circle",symbolSize:6,lineStyle:{color:l.lineColor,width:2},itemStyle:{color:l.pointColor,borderColor:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,borderColor:l.lineColor}}}]}},D=()=>{d&&_.value&&(d.clear(),d.setOption(R(f.value),!0))},$=()=>{D()};e.watch(()=>i.channels.deepDisplacement3D,t=>{if(!t||t.topic.source==="deepDisplacementView")return;const o=u.value.configPanelId;if(!o||t.payload.objectId!==o)return;const l=t.payload;if(l.type==="data"){console.log("[View] 收到数据, payload:",l.fv);const n=l.fv;n!=null&&n.data&&Array.isArray(n.data)&&(v.value=[...n.data],n.time&&(b.value=n.time),e.nextTick(D))}},{deep:!0});const w=()=>{const t=u.value.configPanelId;t&&i.publish("deepDisplacement3D","deepDisplacementView",{objectId:t,type:"request",fv:{}})},U=()=>{if(d&&_.value){const t=d.getDataURL({type:"png",pixelRatio:2,backgroundColor:"#fff"}),o=document.createElement("a");o.download=`${u.value.title}-${N[f.value]}.png`,o.href=t,o.click()}};return e.onMounted(()=>{e.nextTick(()=>{const t=document.getElementById(M);t&&(d=H.init(t),g=new ResizeObserver(()=>d==null?void 0:d.resize()),g.observe(t.parentElement)),w()})}),e.onBeforeUnmount(()=>{g==null||g.disconnect(),d==null||d.dispose()}),e.watch(()=>u.value.configPanelId,w),e.watch(v,D,{deep:!0}),(t,o)=>{const l=E.ElButton,n=E.ElOption,m=E.ElSelect;return e.openBlock(),e.createElementBlock("div",W,[e.createElementVNode("div",G,[e.createElementVNode("span",J,e.toDisplayString(b.value||"等待数据..."),1),e.createVNode(l,{size:"small",onClick:U},{default:e.withCtx(()=>[...o[1]||(o[1]=[e.createTextVNode("导出",-1)])]),_:1}),e.createVNode(m,{modelValue:f.value,"onUpdate:modelValue":o[0]||(o[0]=r=>f.value=r),size:"small",class:"view-select",onChange:$},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(z,r=>e.createVNode(n,{key:r.value,label:r.label,value:r.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),e.createElementVNode("div",K,[e.createElementVNode("div",Q,e.toDisplayString(u.value.title)+"-"+e.toDisplayString(N[f.value]),1),e.createElementVNode("div",ee,e.toDisplayString(b.value||B.value),1),o[2]||(o[2]=e.createElementVNode("div",{class:"view-legend"},[e.createElementVNode("span",{class:"legend-line"}),e.createElementVNode("span",null,"姿态")],-1))]),e.createElementVNode("div",te,[_.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",oe,[...o[3]||(o[3]=[e.createElementVNode("div",{class:"no-data-icon"},"📊",-1),e.createElementVNode("div",{class:"no-data-text"},"请设置配置面板ID以获取数据",-1),e.createElementVNode("div",{class:"no-data-hint"},'在数据面板中设置"configPanelId",填入3D组件的uid',-1)])])),e.createElementVNode("div",{id:M,class:"view-chart"})]),e.renderSlot(t.$slots,"default",{},void 0,!0)])}}})),me=V._export_sfc(ce,[["__scopeId","data-v-20558d51"]]);exports.default=me;
|