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,504 @@
|
|
|
1
|
+
var re = Object.defineProperty, le = Object.defineProperties;
|
|
2
|
+
var ce = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var U = Object.getOwnPropertySymbols;
|
|
4
|
+
var de = Object.prototype.hasOwnProperty, fe = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var X = (y, l, c) => l in y ? re(y, l, { enumerable: !0, configurable: !0, writable: !0, value: c }) : y[l] = c, R = (y, l) => {
|
|
6
|
+
for (var c in l || (l = {}))
|
|
7
|
+
de.call(l, c) && X(y, c, l[c]);
|
|
8
|
+
if (U)
|
|
9
|
+
for (var c of U(l))
|
|
10
|
+
fe.call(l, c) && X(y, c, l[c]);
|
|
11
|
+
return y;
|
|
12
|
+
}, I = (y, l) => le(y, ce(l));
|
|
13
|
+
var q = (y, l, c) => new Promise((v, b) => {
|
|
14
|
+
var H = (w) => {
|
|
15
|
+
try {
|
|
16
|
+
L(c.next(w));
|
|
17
|
+
} catch (D) {
|
|
18
|
+
b(D);
|
|
19
|
+
}
|
|
20
|
+
}, j = (w) => {
|
|
21
|
+
try {
|
|
22
|
+
L(c.throw(w));
|
|
23
|
+
} catch (D) {
|
|
24
|
+
b(D);
|
|
25
|
+
}
|
|
26
|
+
}, L = (w) => w.done ? v(w.value) : Promise.resolve(w.value).then(H, j);
|
|
27
|
+
L((c = c.apply(y, l)).next());
|
|
28
|
+
});
|
|
29
|
+
import { defineComponent as he, ref as ue, reactive as me, computed as pe, onMounted as ge, onUnmounted as ye, watch as J, watchEffect as ve, openBlock as be, createElementBlock as we, normalizeStyle as K, unref as E, createElementVNode as W, toDisplayString as De, renderSlot as Se } from "vue";
|
|
30
|
+
import { B as xe } from "./element-resize-detector-DJcsrJ8s.js";
|
|
31
|
+
import { d as O, _ as _e } from "./index-kShjySl9.js";
|
|
32
|
+
import { g as Le } from "./titleStyle-BT5GlpAb.js";
|
|
33
|
+
import "./index-ButoLLAe.js";
|
|
34
|
+
import { A as Me, D as Oe } from "./ele-rtn-icon-CqCKSHIw.js";
|
|
35
|
+
import { i as He } from "./echarts-BVht3HHb.js";
|
|
36
|
+
const Te = { class: "mix-body" }, Ye = {
|
|
37
|
+
DEFAULT_ICON: Oe,
|
|
38
|
+
ACTIVE_ICON: Me,
|
|
39
|
+
NAME_CN: "历程管理",
|
|
40
|
+
NAME_EN: "Retainer2",
|
|
41
|
+
ORDER: 2
|
|
42
|
+
}, Ce = {
|
|
43
|
+
titleColor: "#111",
|
|
44
|
+
radiusSize: 8,
|
|
45
|
+
bgColor: "#fff",
|
|
46
|
+
textColor: "#111",
|
|
47
|
+
barWidth: 30,
|
|
48
|
+
barGap: 0,
|
|
49
|
+
timeWindow: 5,
|
|
50
|
+
isHideTitle: !0
|
|
51
|
+
}, Q = [
|
|
52
|
+
{ name: "历程1", object_id: "", retainer: "", retainer_code: "", color: "#ee6666", showLine: !1, fv: "", lineStyle: "solid", lineWidth: 2 }
|
|
53
|
+
], Ee = [
|
|
54
|
+
"name",
|
|
55
|
+
"object_id",
|
|
56
|
+
"retainer",
|
|
57
|
+
"retainer_code",
|
|
58
|
+
"color",
|
|
59
|
+
"showLine",
|
|
60
|
+
{ key: "fv", dependent: "showLine" },
|
|
61
|
+
{ key: "lineStyle", dependent: "showLine" },
|
|
62
|
+
{ key: "lineWidth", dependent: "showLine" }
|
|
63
|
+
], je = ["mosaic"], Ae = {
|
|
64
|
+
useAlias: !1,
|
|
65
|
+
multiObject: !0,
|
|
66
|
+
showBothModes: !0,
|
|
67
|
+
// 显示单对象和多对象两个版本
|
|
68
|
+
source: "mosaic"
|
|
69
|
+
}, Re = { DEFAULT: Ye, OPTIONS: Ce, DATA: Q, PARAMS: Ee, SOURCE: je, COMMON: Ae }, Ie = /* @__PURE__ */ he(I(R({}, Re), {
|
|
70
|
+
__name: "retainer2",
|
|
71
|
+
props: {
|
|
72
|
+
conf: { type: Object, default: () => ({ data: [] }) },
|
|
73
|
+
uid: { type: String, default: "" },
|
|
74
|
+
mode: { type: String, default: "edit" },
|
|
75
|
+
theme: { type: String, default: "light" }
|
|
76
|
+
},
|
|
77
|
+
setup(y) {
|
|
78
|
+
const l = y, c = ue(null);
|
|
79
|
+
let v = null;
|
|
80
|
+
const b = me([]), H = (m) => b[m];
|
|
81
|
+
class j extends xe {
|
|
82
|
+
constructor() {
|
|
83
|
+
super(...arguments), this.subscribed = !1;
|
|
84
|
+
}
|
|
85
|
+
// 添加订阅标志
|
|
86
|
+
extractStyles() {
|
|
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
|
+
barWidth: this.getOptionValue("barWidth", 30),
|
|
93
|
+
barGap: this.getOptionValue("barGap", 0),
|
|
94
|
+
timeWindow: this.getOptionValue("timeWindow", 5),
|
|
95
|
+
isHideTitle: this.getOptionValue("isHideTitle", !0)
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
init() {
|
|
99
|
+
var e;
|
|
100
|
+
this.Style.value = this.extractStyles(), this.applyTheme(), (e = this.props.conf.data) != null && e.length || (this.props.conf.data = Q), this.props.mode === "edit" && L();
|
|
101
|
+
}
|
|
102
|
+
/** 获取预览助手(覆盖基类方法) */
|
|
103
|
+
getPreviewHelper() {
|
|
104
|
+
return {
|
|
105
|
+
preview: () => q(this, null, function* () {
|
|
106
|
+
try {
|
|
107
|
+
const i = yield new (yield import("./history-BkZhlpdY.js")).default().getHistoryData(this.props, this.componentType);
|
|
108
|
+
this.setHistoryData(i);
|
|
109
|
+
} catch (e) {
|
|
110
|
+
console.error("[Retainer2] 获取历史数据失败:", e);
|
|
111
|
+
}
|
|
112
|
+
}),
|
|
113
|
+
unregister: () => {
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
/** 预览模式初始化(覆盖基类方法) */
|
|
118
|
+
onPreview() {
|
|
119
|
+
var n;
|
|
120
|
+
if (this.subscribed)
|
|
121
|
+
return;
|
|
122
|
+
const { conf: e } = this.props, { data: i, common: t } = e;
|
|
123
|
+
if (t.multiObject && Array.isArray(i)) {
|
|
124
|
+
const o = /* @__PURE__ */ new Set();
|
|
125
|
+
i.forEach((s) => {
|
|
126
|
+
const r = this.resolveObjectId(s);
|
|
127
|
+
!r || o.has(r) || (o.add(r), this.subscribeRetainer(r), s.showLine && s.fv && this.subscribeFv(r));
|
|
128
|
+
});
|
|
129
|
+
} else {
|
|
130
|
+
const o = this.resolveObjectId();
|
|
131
|
+
this.subscribeRetainer(o), (n = i == null ? void 0 : i[0]) != null && n.fv && this.subscribeFv(o);
|
|
132
|
+
}
|
|
133
|
+
this.subscribed = !0;
|
|
134
|
+
}
|
|
135
|
+
/** 处理实时数据(覆盖基类方法) */
|
|
136
|
+
setSocketData(e) {
|
|
137
|
+
if (e)
|
|
138
|
+
switch (e.event) {
|
|
139
|
+
case "retainer_open":
|
|
140
|
+
this.handleRetainerOpen(e);
|
|
141
|
+
break;
|
|
142
|
+
case "retainer_close":
|
|
143
|
+
this.handleRetainerClose(e);
|
|
144
|
+
break;
|
|
145
|
+
case "retainer_event":
|
|
146
|
+
this.handleRetainerEvent(e);
|
|
147
|
+
break;
|
|
148
|
+
case "recv_fv":
|
|
149
|
+
this.handleFvData(e);
|
|
150
|
+
break;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
handleRetainerOpen(e) {
|
|
154
|
+
const { conf: i } = this.props, { data: t, common: n } = i, o = e.object_id, s = t.findIndex(
|
|
155
|
+
(a) => this.resolveObjectId(n != null && n.multiObject ? a : void 0) === o
|
|
156
|
+
);
|
|
157
|
+
if (s === -1) return;
|
|
158
|
+
let r = H(s);
|
|
159
|
+
if (!r) {
|
|
160
|
+
const a = t[s];
|
|
161
|
+
r = {
|
|
162
|
+
name: a.name || `历程${s + 1}`,
|
|
163
|
+
color: a.color || "#409eff",
|
|
164
|
+
objectId: o,
|
|
165
|
+
fv: a.fv || "",
|
|
166
|
+
periods: [],
|
|
167
|
+
lineData: [],
|
|
168
|
+
showLine: a.showLine || !1,
|
|
169
|
+
lineStyle: a.lineStyle || "solid",
|
|
170
|
+
lineWidth: a.lineWidth || 2
|
|
171
|
+
}, b.push(r);
|
|
172
|
+
}
|
|
173
|
+
e.opened_at && r.periods.push({
|
|
174
|
+
start: e.opened_at,
|
|
175
|
+
end: null
|
|
176
|
+
// 进行中
|
|
177
|
+
}), _();
|
|
178
|
+
}
|
|
179
|
+
/** 处理历程结束事件 */
|
|
180
|
+
handleRetainerClose(e) {
|
|
181
|
+
const { conf: i } = this.props, { data: t, common: n } = i, o = e.object_id, s = t.findIndex(
|
|
182
|
+
(d) => this.resolveObjectId(n != null && n.multiObject ? d : void 0) === o
|
|
183
|
+
);
|
|
184
|
+
if (s === -1) return;
|
|
185
|
+
const r = H(s);
|
|
186
|
+
if (!r) return;
|
|
187
|
+
const a = r.periods[r.periods.length - 1];
|
|
188
|
+
a && !a.end && (a.end = e.close_at || (/* @__PURE__ */ new Date()).toISOString()), _();
|
|
189
|
+
}
|
|
190
|
+
/** 处理历程转发事件 */
|
|
191
|
+
handleRetainerEvent(e) {
|
|
192
|
+
}
|
|
193
|
+
/** 处理 FV 数据 */
|
|
194
|
+
handleFvData(e) {
|
|
195
|
+
var d;
|
|
196
|
+
const { conf: i } = this.props, { data: t, common: n } = i, o = e.object_id, s = t.findIndex(
|
|
197
|
+
(f) => this.resolveObjectId(n != null && n.multiObject ? f : void 0) === o
|
|
198
|
+
);
|
|
199
|
+
if (s === -1) return;
|
|
200
|
+
const a = t[s].fv;
|
|
201
|
+
if (a)
|
|
202
|
+
try {
|
|
203
|
+
const f = (d = e.data) == null ? void 0 : d[a];
|
|
204
|
+
if (f !== void 0) {
|
|
205
|
+
const g = H(s);
|
|
206
|
+
if (g && g.showLine) {
|
|
207
|
+
const h = e.datetime || (/* @__PURE__ */ new Date()).toISOString();
|
|
208
|
+
g.lineData.push({ time: h, value: f }), g.lineData.sort(
|
|
209
|
+
(x, M) => new Date(x.time).getTime() - new Date(M.time).getTime()
|
|
210
|
+
), _();
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
} catch (f) {
|
|
214
|
+
console.error("[Retainer2] 处理 FV 数据失败:", f);
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
setHistoryData(e) {
|
|
218
|
+
const { conf: i } = this.props, { data: t, common: n } = i;
|
|
219
|
+
b.length = 0, t.forEach((o, s) => {
|
|
220
|
+
var f;
|
|
221
|
+
const r = this.resolveObjectId(n != null && n.multiObject ? o : void 0), a = o.fv || "", d = {
|
|
222
|
+
name: o.name || `历程${s + 1}`,
|
|
223
|
+
color: o.color || "#409eff",
|
|
224
|
+
objectId: r,
|
|
225
|
+
fv: a,
|
|
226
|
+
periods: [],
|
|
227
|
+
lineData: [],
|
|
228
|
+
showLine: o.showLine || !1,
|
|
229
|
+
lineStyle: o.lineStyle || "solid",
|
|
230
|
+
lineWidth: o.lineWidth || 2
|
|
231
|
+
};
|
|
232
|
+
try {
|
|
233
|
+
(((f = e == null ? void 0 : e.history) == null ? void 0 : f[s]) || []).forEach((h) => {
|
|
234
|
+
h && h.start_time && (d.periods.push({
|
|
235
|
+
start: h.start_time,
|
|
236
|
+
end: h.end_time || null
|
|
237
|
+
}), o.showLine && a && h.mosaic && Array.isArray(h.mosaic) && h.mosaic.forEach((x) => {
|
|
238
|
+
const M = x[a];
|
|
239
|
+
M !== void 0 && x.time && d.lineData.push({
|
|
240
|
+
time: x.time,
|
|
241
|
+
value: M
|
|
242
|
+
});
|
|
243
|
+
}));
|
|
244
|
+
}), d.lineData.sort((h, x) => new Date(h.time).getTime() - new Date(x.time).getTime());
|
|
245
|
+
} catch (g) {
|
|
246
|
+
}
|
|
247
|
+
b.push(d);
|
|
248
|
+
}), _();
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
const L = () => {
|
|
252
|
+
const { data: m } = l.conf;
|
|
253
|
+
b.length = 0;
|
|
254
|
+
const e = O();
|
|
255
|
+
m.forEach((i, t) => {
|
|
256
|
+
const n = `edit_object_${t}`, o = [
|
|
257
|
+
{
|
|
258
|
+
start: e.subtract(6 + t, "hour").format("YYYY-MM-DD HH:mm:ss"),
|
|
259
|
+
end: e.subtract(4 + t, "hour").format("YYYY-MM-DD HH:mm:ss")
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
start: e.subtract(2 + t * 0.5, "hour").format("YYYY-MM-DD HH:mm:ss"),
|
|
263
|
+
end: e.subtract(t * 0.3, "hour").format("YYYY-MM-DD HH:mm:ss")
|
|
264
|
+
}
|
|
265
|
+
], s = [];
|
|
266
|
+
i.showLine && o.forEach((r) => {
|
|
267
|
+
const a = O(r.start), f = O(r.end).diff(a, "minute"), g = Math.max(5, Math.floor(f / 10));
|
|
268
|
+
for (let h = 0; h <= g; h++) {
|
|
269
|
+
const x = a.add(f / g * h, "minute");
|
|
270
|
+
s.push({
|
|
271
|
+
time: x.format("YYYY-MM-DD HH:mm:ss"),
|
|
272
|
+
value: 150 + Math.sin(h * 0.8 + t * 2) * 50 + t * 30
|
|
273
|
+
});
|
|
274
|
+
}
|
|
275
|
+
}), b.push({
|
|
276
|
+
name: i.name || `历程${t + 1}`,
|
|
277
|
+
color: i.color || ["#ee6666", "#91cc75", "#fac858"][t % 3],
|
|
278
|
+
objectId: n,
|
|
279
|
+
fv: i.fv || "",
|
|
280
|
+
periods: o,
|
|
281
|
+
lineData: s,
|
|
282
|
+
showLine: i.showLine || !1,
|
|
283
|
+
lineStyle: i.lineStyle || "solid",
|
|
284
|
+
lineWidth: i.lineWidth || 2
|
|
285
|
+
});
|
|
286
|
+
});
|
|
287
|
+
}, w = new j(l, "retainer2");
|
|
288
|
+
w.setupLifecycle();
|
|
289
|
+
const D = w.getStyle(), k = l.conf, Z = pe(() => Le(l.conf.options)), V = () => b.filter((m) => m.showLine && m.lineData.length > 0), ee = () => {
|
|
290
|
+
const m = [], e = V();
|
|
291
|
+
let i = 1;
|
|
292
|
+
return e.forEach((t) => {
|
|
293
|
+
t.periods.forEach((n, o) => {
|
|
294
|
+
const s = new Date(n.start).getTime(), r = n.end ? new Date(n.end).getTime() : Date.now(), a = t.lineData.filter((d) => {
|
|
295
|
+
const f = new Date(d.time).getTime();
|
|
296
|
+
return f >= s && f <= r;
|
|
297
|
+
}).map((d) => [new Date(d.time).getTime(), d.value]);
|
|
298
|
+
a.length > 0 && m.push({
|
|
299
|
+
name: o === 0 ? `${t.name}-曲线` : `${t.name}-曲线-${o + 1}`,
|
|
300
|
+
type: "line",
|
|
301
|
+
yAxisIndex: i,
|
|
302
|
+
smooth: !0,
|
|
303
|
+
symbol: "circle",
|
|
304
|
+
symbolSize: 4,
|
|
305
|
+
lineStyle: {
|
|
306
|
+
color: t.color,
|
|
307
|
+
width: t.lineWidth,
|
|
308
|
+
type: t.lineStyle
|
|
309
|
+
},
|
|
310
|
+
itemStyle: {
|
|
311
|
+
color: t.color
|
|
312
|
+
},
|
|
313
|
+
data: a
|
|
314
|
+
});
|
|
315
|
+
}), i++;
|
|
316
|
+
}), m;
|
|
317
|
+
}, te = (m) => {
|
|
318
|
+
const e = V(), i = e.length, t = [
|
|
319
|
+
{
|
|
320
|
+
type: "value",
|
|
321
|
+
min: 0,
|
|
322
|
+
max: m,
|
|
323
|
+
axisLine: { show: !1 },
|
|
324
|
+
axisTick: { show: !1 },
|
|
325
|
+
axisLabel: { show: !1 },
|
|
326
|
+
splitLine: { show: !1 }
|
|
327
|
+
}
|
|
328
|
+
];
|
|
329
|
+
return e.forEach((n, o) => {
|
|
330
|
+
const s = n.lineData.map((h) => h.value), r = Math.max(...s), a = Math.min(...s), d = Math.ceil(r * 1.1), f = Math.floor(a * 0.9), g = o * 50;
|
|
331
|
+
t.push({
|
|
332
|
+
type: "value",
|
|
333
|
+
position: "right",
|
|
334
|
+
offset: g,
|
|
335
|
+
min: f,
|
|
336
|
+
max: d,
|
|
337
|
+
axisLine: { show: !0, lineStyle: { color: n.color } },
|
|
338
|
+
axisTick: { show: !0, lineStyle: { color: n.color } },
|
|
339
|
+
axisLabel: {
|
|
340
|
+
color: n.color,
|
|
341
|
+
fontSize: 10
|
|
342
|
+
},
|
|
343
|
+
splitLine: { show: !1 }
|
|
344
|
+
});
|
|
345
|
+
}), { yAxes: t, lineCount: i };
|
|
346
|
+
}, z = () => {
|
|
347
|
+
c.value && (v = He(c.value), _());
|
|
348
|
+
}, _ = () => {
|
|
349
|
+
var B;
|
|
350
|
+
if (!v) return;
|
|
351
|
+
const m = b.length || 1, e = ((B = c.value) == null ? void 0 : B.clientHeight) || 300, i = 30, t = 10, n = e - i - t, o = D.value.barWidth || 30, s = D.value.barGap || 0, r = o + s, a = m * r;
|
|
352
|
+
let d = o, f = s, g = r;
|
|
353
|
+
if (a > n) {
|
|
354
|
+
const u = n / a;
|
|
355
|
+
d = Math.max(o * u, 10), f = s * u, g = d + f;
|
|
356
|
+
}
|
|
357
|
+
const h = [];
|
|
358
|
+
let x = !1;
|
|
359
|
+
b.forEach((u, p) => {
|
|
360
|
+
u.periods.forEach((S) => {
|
|
361
|
+
const Y = new Date(S.start).getTime(), C = S.end ? new Date(S.end).getTime() : Date.now();
|
|
362
|
+
S.end || (x = !0), h.push({
|
|
363
|
+
name: u.name,
|
|
364
|
+
value: [Y, C, p],
|
|
365
|
+
itemStyle: {
|
|
366
|
+
color: S.end ? u.color + "80" : u.color
|
|
367
|
+
// 已结束的用半透明
|
|
368
|
+
}
|
|
369
|
+
});
|
|
370
|
+
});
|
|
371
|
+
});
|
|
372
|
+
const { yAxes: M, lineCount: N } = te(m), oe = N > 0 ? 20 + N * 50 : 20, ne = {
|
|
373
|
+
tooltip: {
|
|
374
|
+
trigger: "axis",
|
|
375
|
+
formatter: (u) => {
|
|
376
|
+
if (Array.isArray(u)) {
|
|
377
|
+
const p = u.find((S) => S.seriesType === "line");
|
|
378
|
+
if (p) {
|
|
379
|
+
const S = O(p.value[0]).format("YYYY-MM-DD HH:mm:ss");
|
|
380
|
+
return `${p.seriesName}<br/>时间: ${S}<br/>数值: ${p.value[1]}`;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
return "";
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
grid: {
|
|
387
|
+
left: 40,
|
|
388
|
+
right: oe,
|
|
389
|
+
top: t,
|
|
390
|
+
bottom: i,
|
|
391
|
+
containLabel: !1
|
|
392
|
+
},
|
|
393
|
+
xAxis: I(R({
|
|
394
|
+
type: "time",
|
|
395
|
+
position: "bottom"
|
|
396
|
+
}, x ? {
|
|
397
|
+
min: Date.now() - D.value.timeWindow * 60 * 1e3,
|
|
398
|
+
max: Date.now()
|
|
399
|
+
} : {}), {
|
|
400
|
+
axisLine: { show: !0, lineStyle: { color: D.value.titleColor } },
|
|
401
|
+
axisTick: { show: !0, lineStyle: { color: D.value.titleColor } },
|
|
402
|
+
axisLabel: {
|
|
403
|
+
formatter: "{HH}:{mm}",
|
|
404
|
+
color: D.value.textColor,
|
|
405
|
+
fontSize: 11,
|
|
406
|
+
margin: 8
|
|
407
|
+
},
|
|
408
|
+
splitLine: { show: !1 }
|
|
409
|
+
}),
|
|
410
|
+
yAxis: M,
|
|
411
|
+
series: [
|
|
412
|
+
{
|
|
413
|
+
name: "甘特图",
|
|
414
|
+
type: "custom",
|
|
415
|
+
yAxisIndex: 0,
|
|
416
|
+
renderItem: (u, p) => {
|
|
417
|
+
var G;
|
|
418
|
+
const S = p.value(0), Y = p.value(1), C = p.value(2), A = p.coord([S, 0])[0], ie = p.coord([Y, 0])[0], P = u.coordSys.y + u.coordSys.height - (C + 1) * g + f, se = P + d / 2, F = Math.max(ie - A, 2), ae = ((G = b[C]) == null ? void 0 : G.name) || "";
|
|
419
|
+
return {
|
|
420
|
+
type: "group",
|
|
421
|
+
children: [
|
|
422
|
+
{
|
|
423
|
+
type: "rect",
|
|
424
|
+
shape: {
|
|
425
|
+
x: A,
|
|
426
|
+
y: P,
|
|
427
|
+
width: F,
|
|
428
|
+
height: d,
|
|
429
|
+
r: 2
|
|
430
|
+
},
|
|
431
|
+
style: p.style()
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
type: "text",
|
|
435
|
+
style: {
|
|
436
|
+
x: A + F / 2,
|
|
437
|
+
y: se,
|
|
438
|
+
text: ae,
|
|
439
|
+
fill: "#fff",
|
|
440
|
+
fontSize: 11,
|
|
441
|
+
textAlign: "center",
|
|
442
|
+
textVerticalAlign: "middle"
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
]
|
|
446
|
+
};
|
|
447
|
+
},
|
|
448
|
+
encode: {
|
|
449
|
+
x: [0, 1],
|
|
450
|
+
y: 2,
|
|
451
|
+
tooltip: [0, 1]
|
|
452
|
+
},
|
|
453
|
+
tooltip: {
|
|
454
|
+
formatter: (u) => {
|
|
455
|
+
const p = O(u.value[0]).format("YYYY-MM-DD HH:mm:ss"), S = O(u.value[1]).format("YYYY-MM-DD HH:mm:ss"), Y = u.value[1] >= Date.now() - 1e3;
|
|
456
|
+
return `${u.name}<br/>开始: ${p}<br/>结束: ${Y ? "进行中" : S}`;
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
data: h
|
|
460
|
+
},
|
|
461
|
+
...ee()
|
|
462
|
+
]
|
|
463
|
+
};
|
|
464
|
+
v.setOption(ne, !0);
|
|
465
|
+
}, $ = () => {
|
|
466
|
+
v == null || v.resize();
|
|
467
|
+
};
|
|
468
|
+
let T = null;
|
|
469
|
+
return ge(() => {
|
|
470
|
+
T = new ResizeObserver(() => {
|
|
471
|
+
v ? v.resize() : c.value && z();
|
|
472
|
+
}), c.value && T.observe(c.value), setTimeout(() => {
|
|
473
|
+
z();
|
|
474
|
+
}, 100), window.addEventListener("resize", $);
|
|
475
|
+
}), ye(() => {
|
|
476
|
+
window.removeEventListener("resize", $), T == null || T.disconnect(), v == null || v.dispose();
|
|
477
|
+
}), J(() => l.conf.data, () => {
|
|
478
|
+
l.mode === "edit" && L(), _();
|
|
479
|
+
}, { deep: !0 }), J(() => l.conf.options, () => {
|
|
480
|
+
D.value = w.extractStyles(), _();
|
|
481
|
+
}, { deep: !0 }), ve(() => {
|
|
482
|
+
l.conf.historyData && w.setHistoryData(l.conf.historyData), l.conf.socketData && w.setSocketData(l.conf.socketData);
|
|
483
|
+
}), (m, e) => (be(), we("div", {
|
|
484
|
+
class: "mix-component",
|
|
485
|
+
style: K({ background: E(D).bgColor, borderRadius: E(D).radiusSize + "px" })
|
|
486
|
+
}, [
|
|
487
|
+
W("div", {
|
|
488
|
+
class: "mix-title",
|
|
489
|
+
style: K(Z.value)
|
|
490
|
+
}, De(E(k).caption || E(k).name), 5),
|
|
491
|
+
W("div", Te, [
|
|
492
|
+
W("div", {
|
|
493
|
+
class: "timeline-chart",
|
|
494
|
+
ref_key: "chartRef",
|
|
495
|
+
ref: c
|
|
496
|
+
}, null, 512)
|
|
497
|
+
]),
|
|
498
|
+
Se(m.$slots, "default", {}, void 0, !0)
|
|
499
|
+
], 4));
|
|
500
|
+
}
|
|
501
|
+
})), Ge = /* @__PURE__ */ _e(Ie, [["__scopeId", "data-v-8258f73d"]]);
|
|
502
|
+
export {
|
|
503
|
+
Ge as default
|
|
504
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var se=Object.defineProperty,ae=Object.defineProperties;var re=Object.getOwnPropertyDescriptors;var $=Object.getOwnPropertySymbols;var ce=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable;var G=(v,c,l)=>c in v?se(v,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):v[c]=l,I=(v,c)=>{for(var l in c||(c={}))ce.call(c,l)&&G(v,l,c[l]);if($)for(var l of $(c))le.call(c,l)&&G(v,l,c[l]);return v},R=(v,c)=>ae(v,re(c));var U=(v,c,l)=>new Promise((b,w)=>{var H=D=>{try{M(l.next(D))}catch(S){w(S)}},E=D=>{try{M(l.throw(D))}catch(S){w(S)}},M=D=>D.done?b(D.value):Promise.resolve(D.value).then(H,E);M((l=l.apply(v,c)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("vue"),de=require("./element-resize-detector-Bo5uDQAu.cjs"),L=require("./index-Mh5Dw2sd.cjs"),fe=require("./titleStyle-NSnz6cUg.cjs");require("./index-mAPVa0s4.cjs");const X=require("./ele-rtn-icon-BrsJIU8J.cjs"),he=require("./echarts-BB8O2KSA.cjs"),ue={class:"mix-body"},me={DEFAULT_ICON:X.DEFAULT_ICON,ACTIVE_ICON:X.ACTIVE_ICON,NAME_CN:"历程管理",NAME_EN:"Retainer2",ORDER:2},pe={titleColor:"#111",radiusSize:8,bgColor:"#fff",textColor:"#111",barWidth:30,barGap:0,timeWindow:5,isHideTitle:!0},J=[{name:"历程1",object_id:"",retainer:"",retainer_code:"",color:"#ee6666",showLine:!1,fv:"",lineStyle:"solid",lineWidth:2}],ye=["name","object_id","retainer","retainer_code","color","showLine",{key:"fv",dependent:"showLine"},{key:"lineStyle",dependent:"showLine"},{key:"lineWidth",dependent:"showLine"}],ge=["mosaic"],ve={useAlias:!1,multiObject:!0,showBothModes:!0,source:"mosaic"},be={DEFAULT:me,OPTIONS:pe,DATA:J,PARAMS:ye,SOURCE:ge,COMMON:ve},we=f.defineComponent(R(I({},be),{__name:"retainer2",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(v){const c=v,l=f.ref(null);let b=null;const w=f.reactive([]),H=p=>w[p];class E extends de.BaseComponent{constructor(){super(...arguments),this.subscribed=!1}extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#111"),radiusSize:this.getOptionValue("radiusSize",8),barWidth:this.getOptionValue("barWidth",30),barGap:this.getOptionValue("barGap",0),timeWindow:this.getOptionValue("timeWindow",5),isHideTitle:this.getOptionValue("isHideTitle",!0)}}init(){var e;this.Style.value=this.extractStyles(),this.applyTheme(),(e=this.props.conf.data)!=null&&e.length||(this.props.conf.data=J),this.props.mode==="edit"&&M()}getPreviewHelper(){return{preview:()=>U(this,null,function*(){try{const i=yield new(yield Promise.resolve().then(()=>require("./history-DAmBl4_5.cjs"))).default().getHistoryData(this.props,this.componentType);this.setHistoryData(i)}catch(e){console.error("[Retainer2] 获取历史数据失败:",e)}}),unregister:()=>{}}}onPreview(){var n;if(this.subscribed)return;const{conf:e}=this.props,{data:i,common:t}=e;if(t.multiObject&&Array.isArray(i)){const o=new Set;i.forEach(s=>{const r=this.resolveObjectId(s);!r||o.has(r)||(o.add(r),this.subscribeRetainer(r),s.showLine&&s.fv&&this.subscribeFv(r))})}else{const o=this.resolveObjectId();this.subscribeRetainer(o),(n=i==null?void 0:i[0])!=null&&n.fv&&this.subscribeFv(o)}this.subscribed=!0}setSocketData(e){if(e)switch(e.event){case"retainer_open":this.handleRetainerOpen(e);break;case"retainer_close":this.handleRetainerClose(e);break;case"retainer_event":this.handleRetainerEvent(e);break;case"recv_fv":this.handleFvData(e);break}}handleRetainerOpen(e){const{conf:i}=this.props,{data:t,common:n}=i,o=e.object_id,s=t.findIndex(a=>this.resolveObjectId(n!=null&&n.multiObject?a:void 0)===o);if(s===-1)return;let r=H(s);if(!r){const a=t[s];r={name:a.name||`历程${s+1}`,color:a.color||"#409eff",objectId:o,fv:a.fv||"",periods:[],lineData:[],showLine:a.showLine||!1,lineStyle:a.lineStyle||"solid",lineWidth:a.lineWidth||2},w.push(r)}e.opened_at&&r.periods.push({start:e.opened_at,end:null}),O()}handleRetainerClose(e){const{conf:i}=this.props,{data:t,common:n}=i,o=e.object_id,s=t.findIndex(d=>this.resolveObjectId(n!=null&&n.multiObject?d:void 0)===o);if(s===-1)return;const r=H(s);if(!r)return;const a=r.periods[r.periods.length-1];a&&!a.end&&(a.end=e.close_at||new Date().toISOString()),O()}handleRetainerEvent(e){}handleFvData(e){var d;const{conf:i}=this.props,{data:t,common:n}=i,o=e.object_id,s=t.findIndex(h=>this.resolveObjectId(n!=null&&n.multiObject?h:void 0)===o);if(s===-1)return;const a=t[s].fv;if(a)try{const h=(d=e.data)==null?void 0:d[a];if(h!==void 0){const g=H(s);if(g&&g.showLine){const u=e.datetime||new Date().toISOString();g.lineData.push({time:u,value:h}),g.lineData.sort((_,T)=>new Date(_.time).getTime()-new Date(T.time).getTime()),O()}}}catch(h){console.error("[Retainer2] 处理 FV 数据失败:",h)}}setHistoryData(e){const{conf:i}=this.props,{data:t,common:n}=i;w.length=0,t.forEach((o,s)=>{var h;const r=this.resolveObjectId(n!=null&&n.multiObject?o:void 0),a=o.fv||"",d={name:o.name||`历程${s+1}`,color:o.color||"#409eff",objectId:r,fv:a,periods:[],lineData:[],showLine:o.showLine||!1,lineStyle:o.lineStyle||"solid",lineWidth:o.lineWidth||2};try{(((h=e==null?void 0:e.history)==null?void 0:h[s])||[]).forEach(u=>{u&&u.start_time&&(d.periods.push({start:u.start_time,end:u.end_time||null}),o.showLine&&a&&u.mosaic&&Array.isArray(u.mosaic)&&u.mosaic.forEach(_=>{const T=_[a];T!==void 0&&_.time&&d.lineData.push({time:_.time,value:T})}))}),d.lineData.sort((u,_)=>new Date(u.time).getTime()-new Date(_.time).getTime())}catch(g){}w.push(d)}),O()}}const M=()=>{const{data:p}=c.conf;w.length=0;const e=L.dayjs();p.forEach((i,t)=>{const n=`edit_object_${t}`,o=[{start:e.subtract(6+t,"hour").format("YYYY-MM-DD HH:mm:ss"),end:e.subtract(4+t,"hour").format("YYYY-MM-DD HH:mm:ss")},{start:e.subtract(2+t*.5,"hour").format("YYYY-MM-DD HH:mm:ss"),end:e.subtract(t*.3,"hour").format("YYYY-MM-DD HH:mm:ss")}],s=[];i.showLine&&o.forEach(r=>{const a=L.dayjs(r.start),h=L.dayjs(r.end).diff(a,"minute"),g=Math.max(5,Math.floor(h/10));for(let u=0;u<=g;u++){const _=a.add(h/g*u,"minute");s.push({time:_.format("YYYY-MM-DD HH:mm:ss"),value:150+Math.sin(u*.8+t*2)*50+t*30})}}),w.push({name:i.name||`历程${t+1}`,color:i.color||["#ee6666","#91cc75","#fac858"][t%3],objectId:n,fv:i.fv||"",periods:o,lineData:s,showLine:i.showLine||!1,lineStyle:i.lineStyle||"solid",lineWidth:i.lineWidth||2})})},D=new E(c,"retainer2");D.setupLifecycle();const S=D.getStyle(),W=c.conf,K=f.computed(()=>fe.generateTitleStyle(c.conf.options)),V=()=>w.filter(p=>p.showLine&&p.lineData.length>0),Q=()=>{const p=[],e=V();let i=1;return e.forEach(t=>{t.periods.forEach((n,o)=>{const s=new Date(n.start).getTime(),r=n.end?new Date(n.end).getTime():Date.now(),a=t.lineData.filter(d=>{const h=new Date(d.time).getTime();return h>=s&&h<=r}).map(d=>[new Date(d.time).getTime(),d.value]);a.length>0&&p.push({name:o===0?`${t.name}-曲线`:`${t.name}-曲线-${o+1}`,type:"line",yAxisIndex:i,smooth:!0,symbol:"circle",symbolSize:4,lineStyle:{color:t.color,width:t.lineWidth,type:t.lineStyle},itemStyle:{color:t.color},data:a})}),i++}),p},Z=p=>{const e=V(),i=e.length,t=[{type:"value",min:0,max:p,axisLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!1},splitLine:{show:!1}}];return e.forEach((n,o)=>{const s=n.lineData.map(u=>u.value),r=Math.max(...s),a=Math.min(...s),d=Math.ceil(r*1.1),h=Math.floor(a*.9),g=o*50;t.push({type:"value",position:"right",offset:g,min:h,max:d,axisLine:{show:!0,lineStyle:{color:n.color}},axisTick:{show:!0,lineStyle:{color:n.color}},axisLabel:{color:n.color,fontSize:10},splitLine:{show:!1}})}),{yAxes:t,lineCount:i}},k=()=>{l.value&&(b=he.init(l.value),O())},O=()=>{var P;if(!b)return;const p=w.length||1,e=((P=l.value)==null?void 0:P.clientHeight)||300,i=30,t=10,n=e-i-t,o=S.value.barWidth||30,s=S.value.barGap||0,r=o+s,a=p*r;let d=o,h=s,g=r;if(a>n){const m=n/a;d=Math.max(o*m,10),h=s*m,g=d+h}const u=[];let _=!1;w.forEach((m,y)=>{m.periods.forEach(x=>{const C=new Date(x.start).getTime(),Y=x.end?new Date(x.end).getTime():Date.now();x.end||(_=!0),u.push({name:m.name,value:[C,Y,y],itemStyle:{color:x.end?m.color+"80":m.color}})})});const{yAxes:T,lineCount:N}=Z(p),ee=N>0?20+N*50:20,te={tooltip:{trigger:"axis",formatter:m=>{if(Array.isArray(m)){const y=m.find(x=>x.seriesType==="line");if(y){const x=L.dayjs(y.value[0]).format("YYYY-MM-DD HH:mm:ss");return`${y.seriesName}<br/>时间: ${x}<br/>数值: ${y.value[1]}`}}return""}},grid:{left:40,right:ee,top:t,bottom:i,containLabel:!1},xAxis:R(I({type:"time",position:"bottom"},_?{min:Date.now()-S.value.timeWindow*60*1e3,max:Date.now()}:{}),{axisLine:{show:!0,lineStyle:{color:S.value.titleColor}},axisTick:{show:!0,lineStyle:{color:S.value.titleColor}},axisLabel:{formatter:"{HH}:{mm}",color:S.value.textColor,fontSize:11,margin:8},splitLine:{show:!1}}),yAxis:T,series:[{name:"甘特图",type:"custom",yAxisIndex:0,renderItem:(m,y)=>{var F;const x=y.value(0),C=y.value(1),Y=y.value(2),A=y.coord([x,0])[0],oe=y.coord([C,0])[0],q=m.coordSys.y+m.coordSys.height-(Y+1)*g+h,ne=q+d/2,B=Math.max(oe-A,2),ie=((F=w[Y])==null?void 0:F.name)||"";return{type:"group",children:[{type:"rect",shape:{x:A,y:q,width:B,height:d,r:2},style:y.style()},{type:"text",style:{x:A+B/2,y:ne,text:ie,fill:"#fff",fontSize:11,textAlign:"center",textVerticalAlign:"middle"}}]}},encode:{x:[0,1],y:2,tooltip:[0,1]},tooltip:{formatter:m=>{const y=L.dayjs(m.value[0]).format("YYYY-MM-DD HH:mm:ss"),x=L.dayjs(m.value[1]).format("YYYY-MM-DD HH:mm:ss"),C=m.value[1]>=Date.now()-1e3;return`${m.name}<br/>开始: ${y}<br/>结束: ${C?"进行中":x}`}},data:u},...Q()]};b.setOption(te,!0)},z=()=>{b==null||b.resize()};let j=null;return f.onMounted(()=>{j=new ResizeObserver(()=>{b?b.resize():l.value&&k()}),l.value&&j.observe(l.value),setTimeout(()=>{k()},100),window.addEventListener("resize",z)}),f.onUnmounted(()=>{window.removeEventListener("resize",z),j==null||j.disconnect(),b==null||b.dispose()}),f.watch(()=>c.conf.data,()=>{c.mode==="edit"&&M(),O()},{deep:!0}),f.watch(()=>c.conf.options,()=>{S.value=D.extractStyles(),O()},{deep:!0}),f.watchEffect(()=>{c.conf.historyData&&D.setHistoryData(c.conf.historyData),c.conf.socketData&&D.setSocketData(c.conf.socketData)}),(p,e)=>(f.openBlock(),f.createElementBlock("div",{class:"mix-component",style:f.normalizeStyle({background:f.unref(S).bgColor,borderRadius:f.unref(S).radiusSize+"px"})},[f.createElementVNode("div",{class:"mix-title",style:f.normalizeStyle(K.value)},f.toDisplayString(f.unref(W).caption||f.unref(W).name),5),f.createElementVNode("div",ue,[f.createElementVNode("div",{class:"timeline-chart",ref_key:"chartRef",ref:l},null,512)]),f.renderSlot(p.$slots,"default",{},void 0,!0)],4))}})),De=L._export_sfc(we,[["__scopeId","data-v-8258f73d"]]);exports.default=De;
|