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,405 @@
|
|
|
1
|
+
var se = Object.defineProperty, re = Object.defineProperties;
|
|
2
|
+
var ie = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var B = Object.getOwnPropertySymbols;
|
|
4
|
+
var ce = Object.prototype.hasOwnProperty, ue = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var H = (p, s, i) => s in p ? se(p, s, { enumerable: !0, configurable: !0, writable: !0, value: i }) : p[s] = i, R = (p, s) => {
|
|
6
|
+
for (var i in s || (s = {}))
|
|
7
|
+
ce.call(s, i) && H(p, i, s[i]);
|
|
8
|
+
if (B)
|
|
9
|
+
for (var i of B(s))
|
|
10
|
+
ue.call(s, i) && H(p, i, s[i]);
|
|
11
|
+
return p;
|
|
12
|
+
}, U = (p, s) => re(p, ie(s));
|
|
13
|
+
import { ElPopover as de, ElCheckbox as fe, ElCheckboxGroup as me, ElButton as pe, ElIcon as ve } from "element-plus/es";
|
|
14
|
+
import "element-plus/es/components/base/style/css";
|
|
15
|
+
import "element-plus/es/components/popover/style/css";
|
|
16
|
+
import "element-plus/es/components/checkbox-group/style/css";
|
|
17
|
+
import "element-plus/es/components/checkbox/style/css";
|
|
18
|
+
import "element-plus/es/components/button/style/css";
|
|
19
|
+
import "element-plus/es/components/icon/style/css";
|
|
20
|
+
import { defineComponent as he, computed as h, ref as y, watch as $, onMounted as ge, onUnmounted as be, openBlock as x, createElementBlock as j, normalizeStyle as P, createElementVNode as u, createVNode as g, withCtx as b, createTextVNode as L, Fragment as q, renderList as G, createBlock as Ce, toDisplayString as Y, unref as N, normalizeClass as _e, renderSlot as ye } from "vue";
|
|
21
|
+
import { d as I, _ as xe } from "./index-kShjySl9.js";
|
|
22
|
+
import { E as Se } from "./EChartComponentBase-BQOhWkz2.js";
|
|
23
|
+
import { ArrowDown as ke, Download as je } from "@element-plus/icons-vue";
|
|
24
|
+
import { A as Ie, D as De } from "./ele-lin-icon-Dax-ZiWV.js";
|
|
25
|
+
const Ee = { class: "chart-panel" }, Ae = { class: "panel-header" }, we = { class: "header-right" }, Me = { class: "indicator-selector-panel" }, Oe = { class: "indicator-select-all" }, Fe = { class: "legend-bar" }, Le = { class: "legend-items" }, Ye = ["onClick"], Ne = { class: "legend-text" }, Ve = ["id"], Te = {
|
|
26
|
+
DEFAULT_ICON: De,
|
|
27
|
+
ACTIVE_ICON: Ie,
|
|
28
|
+
NAME_CN: "煤自燃关键指标时序曲线",
|
|
29
|
+
NAME_EN: "Fire Combustion Curve",
|
|
30
|
+
ORDER: 2
|
|
31
|
+
}, ze = {
|
|
32
|
+
bgColor: { value: "#f5f7fa", type: "color", label: "setting.bgColor" },
|
|
33
|
+
panelBgColor: { value: "#ffffff", type: "color", label: "面板背景色" },
|
|
34
|
+
textColor: { value: "#333333", type: "color", label: "setting.textColor" },
|
|
35
|
+
gridColor: { value: "#f0f0f0", type: "color", label: "网格线颜色" },
|
|
36
|
+
linkChannel: {
|
|
37
|
+
value: "fire",
|
|
38
|
+
type: "select",
|
|
39
|
+
label: "component.linkChannel",
|
|
40
|
+
options: [
|
|
41
|
+
{ label: "煤自燃监测", value: "fire" },
|
|
42
|
+
{ label: "自定义", value: "custom" }
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
customChannel: {
|
|
46
|
+
value: "",
|
|
47
|
+
type: "string",
|
|
48
|
+
label: "component.customChannel",
|
|
49
|
+
showWhen: { linkChannel: "custom" }
|
|
50
|
+
}
|
|
51
|
+
}, Be = [
|
|
52
|
+
{ name: "温度(℃)", fv: "", object_id: "", color: "#ee6666", deviceFv: "" },
|
|
53
|
+
{ name: "一氧化碳浓度(ppm)", fv: "", object_id: "", color: "#fac858", deviceFv: "" },
|
|
54
|
+
{ name: "氧气浓度(%)", fv: "", object_id: "", color: "#5470c6", deviceFv: "" }
|
|
55
|
+
], He = ["name", "fv", "object_id", "color", "deviceFv"], Re = ["mosaic", "statistics", "calculate"], Ue = {
|
|
56
|
+
useAlias: !1,
|
|
57
|
+
multiObject: !1,
|
|
58
|
+
hideMultiObject: !0,
|
|
59
|
+
source: "mosaic"
|
|
60
|
+
}, $e = 20, Pe = { DEFAULT: Te, OPTIONS: ze, DATA: Be, PARAMS: He, SOURCE: Re, ITEMS: $e, COMMON: Ue }, qe = /* @__PURE__ */ he(U(R({}, Pe), {
|
|
61
|
+
__name: "fireCombustionCurve",
|
|
62
|
+
props: {
|
|
63
|
+
conf: { type: Object, default: () => ({ data: [] }) },
|
|
64
|
+
uid: { type: String, default: "" },
|
|
65
|
+
mode: { type: String, default: "edit" },
|
|
66
|
+
theme: { type: String, default: "light" }
|
|
67
|
+
},
|
|
68
|
+
setup(p) {
|
|
69
|
+
const s = p, i = /* @__PURE__ */ new Map(), D = /* @__PURE__ */ new Map();
|
|
70
|
+
class W extends Se {
|
|
71
|
+
extractStyles() {
|
|
72
|
+
var o, l, r, a, f, _, z;
|
|
73
|
+
const e = (o = this.props.conf) == null ? void 0 : o.options, n = ((l = e == null ? void 0 : e.linkChannel) == null ? void 0 : l.value) || "fire", c = ((r = e == null ? void 0 : e.customChannel) == null ? void 0 : r.value) || "";
|
|
74
|
+
return {
|
|
75
|
+
bgColor: ((a = e == null ? void 0 : e.bgColor) == null ? void 0 : a.value) || "#f5f7fa",
|
|
76
|
+
panelBgColor: ((f = e == null ? void 0 : e.panelBgColor) == null ? void 0 : f.value) || "#ffffff",
|
|
77
|
+
textColor: ((_ = e == null ? void 0 : e.textColor) == null ? void 0 : _.value) || "#333333",
|
|
78
|
+
gridColor: ((z = e == null ? void 0 : e.gridColor) == null ? void 0 : z.value) || "#f0f0f0",
|
|
79
|
+
linkChannel: n === "custom" && c ? c : n
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
getChartOption() {
|
|
83
|
+
return F(this.Style.value);
|
|
84
|
+
}
|
|
85
|
+
setSocketData(e) {
|
|
86
|
+
var o;
|
|
87
|
+
if (!e) return;
|
|
88
|
+
const n = e.datetime ? e.datetime.split(".")[0] : I().format("YYYY/MM/DD HH:mm"), c = ((o = this.props.conf) == null ? void 0 : o.data) || [];
|
|
89
|
+
c.forEach((l) => {
|
|
90
|
+
if (l.deviceFv) {
|
|
91
|
+
const r = this.extractDataValue(e, l.deviceFv);
|
|
92
|
+
r != null && String(r).trim() && D.set(l.name || l.fv, String(r).trim());
|
|
93
|
+
}
|
|
94
|
+
}), c.forEach((l) => {
|
|
95
|
+
if (!l.fv) return;
|
|
96
|
+
const r = this.extractDataValue(e, l.fv);
|
|
97
|
+
if (r == null) return;
|
|
98
|
+
const a = l.name || l.fv, f = i.get(a);
|
|
99
|
+
f ? (f.times.push(n), f.values.push(parseFloat(r)), f.times.length > 200 && (f.times.shift(), f.values.shift())) : i.set(a, { times: [n], values: [parseFloat(r)] });
|
|
100
|
+
}), this.chartObj && this.chartObj.setOption(F(this.Style.value), !1);
|
|
101
|
+
}
|
|
102
|
+
onLinkEvent(e) {
|
|
103
|
+
ae(e);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
const d = new W(s, "fireCombustionCurve");
|
|
107
|
+
d.setupLifecycle();
|
|
108
|
+
const E = d.getStyle(), Z = d.getEchartId(), A = h(() => {
|
|
109
|
+
var t;
|
|
110
|
+
return ((t = s.conf) == null ? void 0 : t.data) || [];
|
|
111
|
+
}), v = h(() => {
|
|
112
|
+
const t = /* @__PURE__ */ new Set();
|
|
113
|
+
return A.value.filter((e) => e.name && !t.has(e.name) ? (t.add(e.name), !0) : !1);
|
|
114
|
+
}), m = y([]);
|
|
115
|
+
$(v, (t) => {
|
|
116
|
+
t.length > 0 && m.value.length === 0 && (m.value = t.map((e) => e.fv || e.name));
|
|
117
|
+
}, { immediate: !0 });
|
|
118
|
+
const V = h({
|
|
119
|
+
get: () => v.value.length > 0 && m.value.length === v.value.length,
|
|
120
|
+
set: () => {
|
|
121
|
+
}
|
|
122
|
+
}), J = h(() => {
|
|
123
|
+
const t = m.value.length;
|
|
124
|
+
return t > 0 && t < v.value.length;
|
|
125
|
+
}), K = h(() => {
|
|
126
|
+
if (m.value.length === 0) return "选择监测指标";
|
|
127
|
+
if (m.value.length === v.value.length) return "全部指标";
|
|
128
|
+
const e = v.value.filter((n) => m.value.includes(n.fv || n.name)).map((n) => n.name).join(", ");
|
|
129
|
+
return e.length > 14 ? e.substring(0, 14) + "..." : e;
|
|
130
|
+
}), Q = (t) => {
|
|
131
|
+
m.value = t ? v.value.map((e) => e.fv || e.name) : [], k();
|
|
132
|
+
}, C = y(/* @__PURE__ */ new Set()), X = h(() => v.value.filter((t) => m.value.includes(t.fv || t.name)).map((t) => {
|
|
133
|
+
const e = D.get(t.name) || M.value;
|
|
134
|
+
return {
|
|
135
|
+
name: e ? `${e}-${t.name}` : t.name,
|
|
136
|
+
color: t.color || "#5470c6",
|
|
137
|
+
visible: !C.value.has(t.name)
|
|
138
|
+
};
|
|
139
|
+
})), ee = (t) => {
|
|
140
|
+
const e = t.name.includes("-") ? t.name.split("-").slice(1).join("-") : t.name;
|
|
141
|
+
C.value.has(e) ? C.value.delete(e) : C.value.add(e), C.value = new Set(C.value), k();
|
|
142
|
+
}, w = y(""), te = h(() => {
|
|
143
|
+
var t, e, n;
|
|
144
|
+
return (e = (t = s.conf) == null ? void 0 : t.common) != null && e.object_id || (n = s.conf) != null && n.object_id ? !0 : A.value.some((c) => !!c.object_id);
|
|
145
|
+
}), oe = h(() => te.value || !!w.value), M = y(""), S = y(""), ne = h(() => ({
|
|
146
|
+
backgroundColor: E.value.bgColor,
|
|
147
|
+
color: E.value.textColor
|
|
148
|
+
})), O = () => {
|
|
149
|
+
i.clear();
|
|
150
|
+
const t = I();
|
|
151
|
+
A.value.forEach((e, n) => {
|
|
152
|
+
const c = [], o = [], l = [85, 50, 10], r = [3, 5, 1.5], a = l[n % 3] || 20, f = r[n % 3] || 3;
|
|
153
|
+
for (let _ = 0; _ < 100; _++)
|
|
154
|
+
c.push(t.subtract((100 - _) * 15, "minute").format("YYYY/MM/DD HH:mm")), o.push(+(a + (Math.random() - 0.5) * f + Math.sin(_ / 10) * f * 0.4).toFixed(2));
|
|
155
|
+
i.set(e.name, { times: c, values: o });
|
|
156
|
+
});
|
|
157
|
+
}, F = (t) => {
|
|
158
|
+
if (s.mode !== "edit") {
|
|
159
|
+
if (!oe.value)
|
|
160
|
+
return { xAxis: { type: "category", data: [] }, yAxis: { type: "value" }, series: [] };
|
|
161
|
+
if (i.size === 0)
|
|
162
|
+
return { xAxis: { type: "category", data: [] }, yAxis: { type: "value" }, series: [] };
|
|
163
|
+
}
|
|
164
|
+
let e = [];
|
|
165
|
+
for (const [, o] of i)
|
|
166
|
+
o.times.length > e.length && (e = o.times);
|
|
167
|
+
!e.length && s.mode === "edit" && (e = Array.from(
|
|
168
|
+
{ length: 50 },
|
|
169
|
+
(o, l) => I().subtract((50 - l) * 15, "minute").format("YYYY/MM/DD HH:mm")
|
|
170
|
+
));
|
|
171
|
+
const n = {}, c = v.value.filter((o) => m.value.includes(o.fv || o.name)).map((o) => {
|
|
172
|
+
const l = D.get(o.name) || M.value, r = l ? `${l}-${o.name}` : o.name;
|
|
173
|
+
n[r] = !C.value.has(o.name);
|
|
174
|
+
const a = i.get(o.name);
|
|
175
|
+
return {
|
|
176
|
+
name: r,
|
|
177
|
+
type: "line",
|
|
178
|
+
smooth: !0,
|
|
179
|
+
showSymbol: !1,
|
|
180
|
+
data: (a == null ? void 0 : a.values) || [],
|
|
181
|
+
lineStyle: {
|
|
182
|
+
color: o.color || "#5470c6",
|
|
183
|
+
width: 2.5,
|
|
184
|
+
type: "solid"
|
|
185
|
+
},
|
|
186
|
+
itemStyle: { color: o.color || "#5470c6" }
|
|
187
|
+
};
|
|
188
|
+
});
|
|
189
|
+
return {
|
|
190
|
+
tooltip: {
|
|
191
|
+
trigger: "axis",
|
|
192
|
+
backgroundColor: "rgba(255,255,255,0.96)",
|
|
193
|
+
borderColor: "#1c3d90",
|
|
194
|
+
borderWidth: 1,
|
|
195
|
+
textStyle: { color: "#333", fontSize: 12 },
|
|
196
|
+
axisPointer: { type: "cross" }
|
|
197
|
+
},
|
|
198
|
+
legend: { show: !1, selected: n },
|
|
199
|
+
grid: { top: 15, right: 40, bottom: 60, left: 60 },
|
|
200
|
+
xAxis: {
|
|
201
|
+
type: "category",
|
|
202
|
+
data: e,
|
|
203
|
+
axisLine: { lineStyle: { color: t.gridColor } },
|
|
204
|
+
axisLabel: {
|
|
205
|
+
color: t.textColor,
|
|
206
|
+
fontSize: 11,
|
|
207
|
+
rotate: 15,
|
|
208
|
+
interval: "auto",
|
|
209
|
+
formatter: (o) => {
|
|
210
|
+
var l;
|
|
211
|
+
if (o && o.length > 6) {
|
|
212
|
+
const r = o.split(" ");
|
|
213
|
+
return (((l = r[0]) == null ? void 0 : l.split("/").slice(1).join("/")) || "") + (r[1] ? " " + r[1] : "");
|
|
214
|
+
}
|
|
215
|
+
return o;
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
axisTick: { show: !1 },
|
|
219
|
+
boundaryGap: !1
|
|
220
|
+
},
|
|
221
|
+
yAxis: {
|
|
222
|
+
type: "value",
|
|
223
|
+
name: "监测数值",
|
|
224
|
+
scale: !0,
|
|
225
|
+
axisLine: { show: !1 },
|
|
226
|
+
axisLabel: { color: t.textColor, fontSize: 11 },
|
|
227
|
+
splitLine: { lineStyle: { color: t.gridColor, type: "dashed" } }
|
|
228
|
+
},
|
|
229
|
+
dataZoom: [
|
|
230
|
+
{ type: "inside", xAxisIndex: 0, filterMode: "none" },
|
|
231
|
+
{
|
|
232
|
+
type: "slider",
|
|
233
|
+
height: 18,
|
|
234
|
+
bottom: 8,
|
|
235
|
+
borderColor: "transparent",
|
|
236
|
+
backgroundColor: "#f0f0f0",
|
|
237
|
+
fillerColor: "rgba(28, 61, 144, 0.2)",
|
|
238
|
+
handleStyle: { color: "#1c3d90" },
|
|
239
|
+
textStyle: { fontSize: 10 }
|
|
240
|
+
}
|
|
241
|
+
],
|
|
242
|
+
series: c
|
|
243
|
+
};
|
|
244
|
+
}, k = () => {
|
|
245
|
+
const t = d.getChartInstance();
|
|
246
|
+
t && t.setOption(F(E.value), !0);
|
|
247
|
+
}, le = () => {
|
|
248
|
+
const t = d.getChartInstance();
|
|
249
|
+
if (!t) return;
|
|
250
|
+
const e = document.createElement("a");
|
|
251
|
+
e.href = t.getDataURL({ type: "png", pixelRatio: 2, backgroundColor: "#fff" }), e.download = `煤自燃关键指标时序曲线_${I().format("YYYYMMDDHHmmss")}.png`, e.click();
|
|
252
|
+
}, ae = (t) => {
|
|
253
|
+
const { payload: e } = t;
|
|
254
|
+
if (!e) return;
|
|
255
|
+
if (e.type === "filter") {
|
|
256
|
+
if (e.point && (M.value = String(e.point)), e.objectId) {
|
|
257
|
+
const c = S.value;
|
|
258
|
+
S.value = String(e.objectId), w.value = String(e.objectId), c !== S.value && T(S.value);
|
|
259
|
+
}
|
|
260
|
+
(s.mode === "edit" || !e.objectId) && (O(), k());
|
|
261
|
+
return;
|
|
262
|
+
}
|
|
263
|
+
const n = e.objectId || e.object_id;
|
|
264
|
+
n && (w.value = String(n), T(n));
|
|
265
|
+
}, T = (t) => {
|
|
266
|
+
var o;
|
|
267
|
+
if (!t || s.mode !== "preview") return;
|
|
268
|
+
i.clear();
|
|
269
|
+
const e = (o = d.session) == null ? void 0 : o.value;
|
|
270
|
+
if (!e) return;
|
|
271
|
+
const n = s.conf.id;
|
|
272
|
+
e.componentRequests && e.componentRequests.delete(n), e.registerComponent({
|
|
273
|
+
id: n,
|
|
274
|
+
request: null,
|
|
275
|
+
onUpdate: (l, r) => {
|
|
276
|
+
l === "realtime" && d.setSocketData(r);
|
|
277
|
+
}
|
|
278
|
+
});
|
|
279
|
+
const c = d.getSource();
|
|
280
|
+
d.subscribeBySource(c, t);
|
|
281
|
+
};
|
|
282
|
+
return ge(() => {
|
|
283
|
+
d.init(), s.mode === "edit" && O(), setTimeout(() => {
|
|
284
|
+
var t;
|
|
285
|
+
return (t = d.getChartInstance()) == null ? void 0 : t.resize();
|
|
286
|
+
}, 200);
|
|
287
|
+
}), be(() => {
|
|
288
|
+
d.cleanup();
|
|
289
|
+
}), $(() => s.conf, () => {
|
|
290
|
+
d.init(), s.mode === "edit" && O();
|
|
291
|
+
}, { deep: !0 }), (t, e) => {
|
|
292
|
+
const n = ve, c = pe, o = fe, l = me, r = de;
|
|
293
|
+
return x(), j("div", {
|
|
294
|
+
class: "fire-combustion-curve",
|
|
295
|
+
style: P(ne.value)
|
|
296
|
+
}, [
|
|
297
|
+
u("div", Ee, [
|
|
298
|
+
u("div", Ae, [
|
|
299
|
+
e[4] || (e[4] = u("div", { class: "header-left" }, [
|
|
300
|
+
u("span", { class: "indicator-dot" }),
|
|
301
|
+
u("span", { class: "panel-title" }, "📊 煤自燃监测关键指标时序曲线")
|
|
302
|
+
], -1)),
|
|
303
|
+
u("div", we, [
|
|
304
|
+
g(r, {
|
|
305
|
+
placement: "bottom-start",
|
|
306
|
+
width: 220,
|
|
307
|
+
trigger: "click"
|
|
308
|
+
}, {
|
|
309
|
+
reference: b(() => [
|
|
310
|
+
g(c, { size: "small" }, {
|
|
311
|
+
default: b(() => [
|
|
312
|
+
L(Y(K.value) + " ", 1),
|
|
313
|
+
g(n, { class: "el-icon--right" }, {
|
|
314
|
+
default: b(() => [
|
|
315
|
+
g(N(ke))
|
|
316
|
+
]),
|
|
317
|
+
_: 1
|
|
318
|
+
})
|
|
319
|
+
]),
|
|
320
|
+
_: 1
|
|
321
|
+
})
|
|
322
|
+
]),
|
|
323
|
+
default: b(() => [
|
|
324
|
+
u("div", Me, [
|
|
325
|
+
u("div", Oe, [
|
|
326
|
+
g(o, {
|
|
327
|
+
modelValue: V.value,
|
|
328
|
+
"onUpdate:modelValue": e[0] || (e[0] = (a) => V.value = a),
|
|
329
|
+
indeterminate: J.value,
|
|
330
|
+
onChange: Q
|
|
331
|
+
}, {
|
|
332
|
+
default: b(() => [...e[2] || (e[2] = [
|
|
333
|
+
L(" 全部指标 ", -1)
|
|
334
|
+
])]),
|
|
335
|
+
_: 1
|
|
336
|
+
}, 8, ["modelValue", "indeterminate"])
|
|
337
|
+
]),
|
|
338
|
+
g(l, {
|
|
339
|
+
modelValue: m.value,
|
|
340
|
+
"onUpdate:modelValue": e[1] || (e[1] = (a) => m.value = a),
|
|
341
|
+
onChange: k
|
|
342
|
+
}, {
|
|
343
|
+
default: b(() => [
|
|
344
|
+
(x(!0), j(q, null, G(v.value, (a) => (x(), Ce(o, {
|
|
345
|
+
key: a.fv,
|
|
346
|
+
label: a.fv,
|
|
347
|
+
class: "indicator-checkbox-item"
|
|
348
|
+
}, {
|
|
349
|
+
default: b(() => [
|
|
350
|
+
L(Y(a.name), 1)
|
|
351
|
+
]),
|
|
352
|
+
_: 2
|
|
353
|
+
}, 1032, ["label"]))), 128))
|
|
354
|
+
]),
|
|
355
|
+
_: 1
|
|
356
|
+
}, 8, ["modelValue"])
|
|
357
|
+
])
|
|
358
|
+
]),
|
|
359
|
+
_: 1
|
|
360
|
+
}),
|
|
361
|
+
g(c, {
|
|
362
|
+
size: "small",
|
|
363
|
+
onClick: le
|
|
364
|
+
}, {
|
|
365
|
+
default: b(() => [
|
|
366
|
+
g(n, null, {
|
|
367
|
+
default: b(() => [
|
|
368
|
+
g(N(je))
|
|
369
|
+
]),
|
|
370
|
+
_: 1
|
|
371
|
+
}),
|
|
372
|
+
e[3] || (e[3] = u("span", null, "导出图像", -1))
|
|
373
|
+
]),
|
|
374
|
+
_: 1
|
|
375
|
+
})
|
|
376
|
+
])
|
|
377
|
+
]),
|
|
378
|
+
u("div", Fe, [
|
|
379
|
+
u("div", Le, [
|
|
380
|
+
(x(!0), j(q, null, G(X.value, (a) => (x(), j("span", {
|
|
381
|
+
key: a.name,
|
|
382
|
+
class: _e(["legend-item", { disabled: !a.visible }]),
|
|
383
|
+
onClick: (f) => ee(a)
|
|
384
|
+
}, [
|
|
385
|
+
u("span", {
|
|
386
|
+
class: "legend-line",
|
|
387
|
+
style: P({ borderTopColor: a.visible ? a.color : "#ccc" })
|
|
388
|
+
}, null, 4),
|
|
389
|
+
u("span", Ne, Y(a.name), 1)
|
|
390
|
+
], 10, Ye))), 128))
|
|
391
|
+
])
|
|
392
|
+
]),
|
|
393
|
+
u("div", {
|
|
394
|
+
id: N(Z),
|
|
395
|
+
class: "chart-container"
|
|
396
|
+
}, null, 8, Ve)
|
|
397
|
+
]),
|
|
398
|
+
ye(t.$slots, "default", {}, void 0, !0)
|
|
399
|
+
], 4);
|
|
400
|
+
};
|
|
401
|
+
}
|
|
402
|
+
})), st = /* @__PURE__ */ xe(qe, [["__scopeId", "data-v-df742467"]]);
|
|
403
|
+
export {
|
|
404
|
+
st as default
|
|
405
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var J=Object.defineProperty,K=Object.defineProperties;var Q=Object.getOwnPropertyDescriptors;var A=Object.getOwnPropertySymbols;var X=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable;var O=(p,s,i)=>s in p?J(p,s,{enumerable:!0,configurable:!0,writable:!0,value:i}):p[s]=i,M=(p,s)=>{for(var i in s||(s={}))X.call(s,i)&&O(p,i,s[i]);if(A)for(var i of A(s))ee.call(s,i)&&O(p,i,s[i]);return p},L=(p,s)=>K(p,Q(s));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/popover/style/css");require("element-plus/es/components/checkbox-group/style/css");require("element-plus/es/components/checkbox/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/icon/style/css");const t=require("vue"),C=require("./index-Mh5Dw2sd.cjs"),te=require("./EChartComponentBase-BaQpBzVC.cjs"),F=require("@element-plus/icons-vue"),B=require("./ele-lin-icon-Dke_1AmT.cjs"),oe={class:"chart-panel"},ne={class:"panel-header"},le={class:"header-right"},ae={class:"indicator-selector-panel"},re={class:"indicator-select-all"},se={class:"legend-bar"},ce={class:"legend-items"},ie=["onClick"],ue={class:"legend-text"},de=["id"],fe={DEFAULT_ICON:B.DEFAULT_ICON,ACTIVE_ICON:B.ACTIVE_ICON,NAME_CN:"煤自燃关键指标时序曲线",NAME_EN:"Fire Combustion Curve",ORDER:2},me={bgColor:{value:"#f5f7fa",type:"color",label:"setting.bgColor"},panelBgColor:{value:"#ffffff",type:"color",label:"面板背景色"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},gridColor:{value:"#f0f0f0",type:"color",label:"网格线颜色"},linkChannel:{value:"fire",type:"select",label:"component.linkChannel",options:[{label:"煤自燃监测",value:"fire"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"component.customChannel",showWhen:{linkChannel:"custom"}}},pe=[{name:"温度(℃)",fv:"",object_id:"",color:"#ee6666",deviceFv:""},{name:"一氧化碳浓度(ppm)",fv:"",object_id:"",color:"#fac858",deviceFv:""},{name:"氧气浓度(%)",fv:"",object_id:"",color:"#5470c6",deviceFv:""}],ve=["name","fv","object_id","color","deviceFv"],he=["mosaic","statistics","calculate"],ge={useAlias:!1,multiObject:!1,hideMultiObject:!0,source:"mosaic"},be=20,Ce={DEFAULT:fe,OPTIONS:me,DATA:pe,PARAMS:ve,SOURCE:he,ITEMS:be,COMMON:ge},_e=t.defineComponent(L(M({},Ce),{__name:"fireCombustionCurve",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(p){const s=p,i=new Map,x=new Map;class T extends te.EChartComponentBase{extractStyles(){var n,a,c,r,f,g,D;const e=(n=this.props.conf)==null?void 0:n.options,l=((a=e==null?void 0:e.linkChannel)==null?void 0:a.value)||"fire",u=((c=e==null?void 0:e.customChannel)==null?void 0:c.value)||"";return{bgColor:((r=e==null?void 0:e.bgColor)==null?void 0:r.value)||"#f5f7fa",panelBgColor:((f=e==null?void 0:e.panelBgColor)==null?void 0:f.value)||"#ffffff",textColor:((g=e==null?void 0:e.textColor)==null?void 0:g.value)||"#333333",gridColor:((D=e==null?void 0:e.gridColor)==null?void 0:D.value)||"#f0f0f0",linkChannel:l==="custom"&&u?u:l}}getChartOption(){return j(this.Style.value)}setSocketData(e){var n;if(!e)return;const l=e.datetime?e.datetime.split(".")[0]:C.dayjs().format("YYYY/MM/DD HH:mm"),u=((n=this.props.conf)==null?void 0:n.data)||[];u.forEach(a=>{if(a.deviceFv){const c=this.extractDataValue(e,a.deviceFv);c!=null&&String(c).trim()&&x.set(a.name||a.fv,String(c).trim())}}),u.forEach(a=>{if(!a.fv)return;const c=this.extractDataValue(e,a.fv);if(c==null)return;const r=a.name||a.fv,f=i.get(r);f?(f.times.push(l),f.values.push(parseFloat(c)),f.times.length>200&&(f.times.shift(),f.values.shift())):i.set(r,{times:[l],values:[parseFloat(c)]})}),this.chartObj&&this.chartObj.setOption(j(this.Style.value),!1)}onLinkEvent(e){Z(e)}}const d=new T(s,"fireCombustionCurve");d.setupLifecycle();const S=d.getStyle(),Y=d.getEchartId(),E=t.computed(()=>{var o;return((o=s.conf)==null?void 0:o.data)||[]}),v=t.computed(()=>{const o=new Set;return E.value.filter(e=>e.name&&!o.has(e.name)?(o.add(e.name),!0):!1)}),m=t.ref([]);t.watch(v,o=>{o.length>0&&m.value.length===0&&(m.value=o.map(e=>e.fv||e.name))},{immediate:!0});const w=t.computed({get:()=>v.value.length>0&&m.value.length===v.value.length,set:()=>{}}),q=t.computed(()=>{const o=m.value.length;return o>0&&o<v.value.length}),z=t.computed(()=>{if(m.value.length===0)return"选择监测指标";if(m.value.length===v.value.length)return"全部指标";const e=v.value.filter(l=>m.value.includes(l.fv||l.name)).map(l=>l.name).join(", ");return e.length>14?e.substring(0,14)+"...":e}),U=o=>{m.value=o?v.value.map(e=>e.fv||e.name):[],y()},h=t.ref(new Set),H=t.computed(()=>v.value.filter(o=>m.value.includes(o.fv||o.name)).map(o=>{const e=x.get(o.name)||N.value;return{name:e?`${e}-${o.name}`:o.name,color:o.color||"#5470c6",visible:!h.value.has(o.name)}})),R=o=>{const e=o.name.includes("-")?o.name.split("-").slice(1).join("-"):o.name;h.value.has(e)?h.value.delete(e):h.value.add(e),h.value=new Set(h.value),y()},k=t.ref(""),$=t.computed(()=>{var o,e,l;return(e=(o=s.conf)==null?void 0:o.common)!=null&&e.object_id||(l=s.conf)!=null&&l.object_id?!0:E.value.some(u=>!!u.object_id)}),P=t.computed(()=>$.value||!!k.value),N=t.ref(""),_=t.ref(""),G=t.computed(()=>({backgroundColor:S.value.bgColor,color:S.value.textColor})),V=()=>{i.clear();const o=C.dayjs();E.value.forEach((e,l)=>{const u=[],n=[],a=[85,50,10],c=[3,5,1.5],r=a[l%3]||20,f=c[l%3]||3;for(let g=0;g<100;g++)u.push(o.subtract((100-g)*15,"minute").format("YYYY/MM/DD HH:mm")),n.push(+(r+(Math.random()-.5)*f+Math.sin(g/10)*f*.4).toFixed(2));i.set(e.name,{times:u,values:n})})},j=o=>{if(s.mode!=="edit"){if(!P.value)return{xAxis:{type:"category",data:[]},yAxis:{type:"value"},series:[]};if(i.size===0)return{xAxis:{type:"category",data:[]},yAxis:{type:"value"},series:[]}}let e=[];for(const[,n]of i)n.times.length>e.length&&(e=n.times);!e.length&&s.mode==="edit"&&(e=Array.from({length:50},(n,a)=>C.dayjs().subtract((50-a)*15,"minute").format("YYYY/MM/DD HH:mm")));const l={},u=v.value.filter(n=>m.value.includes(n.fv||n.name)).map(n=>{const a=x.get(n.name)||N.value,c=a?`${a}-${n.name}`:n.name;l[c]=!h.value.has(n.name);const r=i.get(n.name);return{name:c,type:"line",smooth:!0,showSymbol:!1,data:(r==null?void 0:r.values)||[],lineStyle:{color:n.color||"#5470c6",width:2.5,type:"solid"},itemStyle:{color:n.color||"#5470c6"}}});return{tooltip:{trigger:"axis",backgroundColor:"rgba(255,255,255,0.96)",borderColor:"#1c3d90",borderWidth:1,textStyle:{color:"#333",fontSize:12},axisPointer:{type:"cross"}},legend:{show:!1,selected:l},grid:{top:15,right:40,bottom:60,left:60},xAxis:{type:"category",data:e,axisLine:{lineStyle:{color:o.gridColor}},axisLabel:{color:o.textColor,fontSize:11,rotate:15,interval:"auto",formatter:n=>{var a;if(n&&n.length>6){const c=n.split(" ");return(((a=c[0])==null?void 0:a.split("/").slice(1).join("/"))||"")+(c[1]?" "+c[1]:"")}return n}},axisTick:{show:!1},boundaryGap:!1},yAxis:{type:"value",name:"监测数值",scale:!0,axisLine:{show:!1},axisLabel:{color:o.textColor,fontSize:11},splitLine:{lineStyle:{color:o.gridColor,type:"dashed"}}},dataZoom:[{type:"inside",xAxisIndex:0,filterMode:"none"},{type:"slider",height:18,bottom:8,borderColor:"transparent",backgroundColor:"#f0f0f0",fillerColor:"rgba(28, 61, 144, 0.2)",handleStyle:{color:"#1c3d90"},textStyle:{fontSize:10}}],series:u}},y=()=>{const o=d.getChartInstance();o&&o.setOption(j(S.value),!0)},W=()=>{const o=d.getChartInstance();if(!o)return;const e=document.createElement("a");e.href=o.getDataURL({type:"png",pixelRatio:2,backgroundColor:"#fff"}),e.download=`煤自燃关键指标时序曲线_${C.dayjs().format("YYYYMMDDHHmmss")}.png`,e.click()},Z=o=>{const{payload:e}=o;if(!e)return;if(e.type==="filter"){if(e.point&&(N.value=String(e.point)),e.objectId){const u=_.value;_.value=String(e.objectId),k.value=String(e.objectId),u!==_.value&&I(_.value)}(s.mode==="edit"||!e.objectId)&&(V(),y());return}const l=e.objectId||e.object_id;l&&(k.value=String(l),I(l))},I=o=>{var n;if(!o||s.mode!=="preview")return;i.clear();const e=(n=d.session)==null?void 0:n.value;if(!e)return;const l=s.conf.id;e.componentRequests&&e.componentRequests.delete(l),e.registerComponent({id:l,request:null,onUpdate:(a,c)=>{a==="realtime"&&d.setSocketData(c)}});const u=d.getSource();d.subscribeBySource(u,o)};return t.onMounted(()=>{d.init(),s.mode==="edit"&&V(),setTimeout(()=>{var o;return(o=d.getChartInstance())==null?void 0:o.resize()},200)}),t.onUnmounted(()=>{d.cleanup()}),t.watch(()=>s.conf,()=>{d.init(),s.mode==="edit"&&V()},{deep:!0}),(o,e)=>{const l=b.ElIcon,u=b.ElButton,n=b.ElCheckbox,a=b.ElCheckboxGroup,c=b.ElPopover;return t.openBlock(),t.createElementBlock("div",{class:"fire-combustion-curve",style:t.normalizeStyle(G.value)},[t.createElementVNode("div",oe,[t.createElementVNode("div",ne,[e[4]||(e[4]=t.createElementVNode("div",{class:"header-left"},[t.createElementVNode("span",{class:"indicator-dot"}),t.createElementVNode("span",{class:"panel-title"},"📊 煤自燃监测关键指标时序曲线")],-1)),t.createElementVNode("div",le,[t.createVNode(c,{placement:"bottom-start",width:220,trigger:"click"},{reference:t.withCtx(()=>[t.createVNode(u,{size:"small"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(z.value)+" ",1),t.createVNode(l,{class:"el-icon--right"},{default:t.withCtx(()=>[t.createVNode(t.unref(F.ArrowDown))]),_:1})]),_:1})]),default:t.withCtx(()=>[t.createElementVNode("div",ae,[t.createElementVNode("div",re,[t.createVNode(n,{modelValue:w.value,"onUpdate:modelValue":e[0]||(e[0]=r=>w.value=r),indeterminate:q.value,onChange:U},{default:t.withCtx(()=>[...e[2]||(e[2]=[t.createTextVNode(" 全部指标 ",-1)])]),_:1},8,["modelValue","indeterminate"])]),t.createVNode(a,{modelValue:m.value,"onUpdate:modelValue":e[1]||(e[1]=r=>m.value=r),onChange:y},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(v.value,r=>(t.openBlock(),t.createBlock(n,{key:r.fv,label:r.fv,class:"indicator-checkbox-item"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(r.name),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])])]),_:1}),t.createVNode(u,{size:"small",onClick:W},{default:t.withCtx(()=>[t.createVNode(l,null,{default:t.withCtx(()=>[t.createVNode(t.unref(F.Download))]),_:1}),e[3]||(e[3]=t.createElementVNode("span",null,"导出图像",-1))]),_:1})])]),t.createElementVNode("div",se,[t.createElementVNode("div",ce,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(H.value,r=>(t.openBlock(),t.createElementBlock("span",{key:r.name,class:t.normalizeClass(["legend-item",{disabled:!r.visible}]),onClick:f=>R(r)},[t.createElementVNode("span",{class:"legend-line",style:t.normalizeStyle({borderTopColor:r.visible?r.color:"#ccc"})},null,4),t.createElementVNode("span",ue,t.toDisplayString(r.name),1)],10,ie))),128))])]),t.createElementVNode("div",{id:t.unref(Y),class:"chart-container"},null,8,de)]),t.renderSlot(o.$slots,"default",{},void 0,!0)],4)}}})),ye=C._export_sfc(_e,[["__scopeId","data-v-df742467"]]);exports.default=ye;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var F=Object.defineProperty,I=Object.defineProperties;var j=Object.getOwnPropertyDescriptors;var C=Object.getOwnPropertySymbols;var w=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;var y=(i,a,r)=>a in i?F(i,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):i[a]=r,E=(i,a)=>{for(var r in a||(a={}))w.call(a,r)&&y(i,r,a[r]);if(C)for(var r of C(a))A.call(a,r)&&y(i,r,a[r]);return i},k=(i,a)=>I(i,j(a));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/date-picker/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");const e=require("vue"),O=require("./element-resize-detector-Bo5uDQAu.cjs"),g=require("./index-Mh5Dw2sd.cjs"),V=require("./ele-vlu-icon-Dv-R7Xuc.cjs"),H={class:"filter-bar"},x={class:"filter-item"},T={class:"filter-item"},q={class:"filter-item"},L={class:"time-range-btns"},z=["onClick"],U={class:"filter-item"},P={DEFAULT_ICON:V.DEFAULT_ICON,ACTIVE_ICON:V.ACTIVE_ICON,NAME_CN:"煤自燃筛选栏",NAME_EN:"Fire Filter Bar",ORDER:1},$={bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},linkChannel:{value:"fire",type:"select",label:"component.linkChannel",options:[{label:"煤自燃监测",value:"fire"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"component.customChannel",showWhen:{linkChannel:"custom"}}},Q=[{name:"FIRE115",object_id:"",region:"北帮"},{name:"FIRE116",object_id:"",region:"北帮"},{name:"FIRE201",object_id:"",region:"南帮"},{name:"FIRE305",object_id:"",region:"东帮"},{name:"FIRE410",object_id:"",region:"西帮"}],W=["name","object_id","region"],G=["mosaic"],J={useAlias:!1,multiObject:!0,source:"mosaic"},K=50,X={DEFAULT:P,OPTIONS:$,DATA:Q,PARAMS:W,SOURCE:G,ITEMS:K,COMMON:J},Z=e.defineComponent(k(E({},X),{__name:"fireFilterBar",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(i){const a=i;class r extends O.BaseComponent{extractStyles(){var m,p,n,v;const t=(m=this.props.conf)==null?void 0:m.options,s=((p=t==null?void 0:t.linkChannel)==null?void 0:p.value)||"fire",u=((n=t==null?void 0:t.customChannel)==null?void 0:n.value)||"";return{bgColor:((v=t==null?void 0:t.bgColor)==null?void 0:v.value)||"#ffffff",linkChannel:s==="custom"&&u?u:s}}}const b=new r(a,"fireFilterBar");b.setupLifecycle();const N=b.getStyle(),d=e.computed(()=>{var t;const l=(t=a.conf)==null?void 0:t.data;return!l||!Array.isArray(l)?[]:l.filter(s=>s.name)}),R=e.computed(()=>{const l=new Set;return d.value.forEach(t=>{t.region&&l.add(t.region)}),Array.from(l)}),_=e.computed(()=>{let l=d.value;return o.region&&(l=l.filter(t=>t.region===o.region)),l.map(t=>({label:t.name,value:t.name}))}),h=[{label:"一天内",value:"1d"},{label:"一周内",value:"1w"},{label:"一个月内",value:"1m"}],c=d.value[0],o=e.reactive({region:(c==null?void 0:c.region)||"",point:(c==null?void 0:c.name)||"",timeRange:"1d",dateRange:[g.dayjs().subtract(1,"day").format("YYYY/MM/DD HH:mm"),g.dayjs().format("YYYY/MM/DD HH:mm")]}),Y=()=>{var t;const l=_.value;o.point=((t=l[0])==null?void 0:t.value)||""},D=l=>{o.timeRange=l;const t=g.dayjs(),s=l==="1d"?t.subtract(1,"day"):l==="1w"?t.subtract(1,"week"):t.subtract(1,"month");o.dateRange=[s.format("YYYY/MM/DD HH:mm"),t.format("YYYY/MM/DD HH:mm")]},B=()=>{o.timeRange=""},M=()=>{if(a.mode==="edit"||!o.point)return;const l=d.value.find(t=>t.name===o.point);if(!(l!=null&&l.object_id)){console.warn("[煤自燃筛选栏] 所选监测点未配置 object_id,无法发送联动");return}b.publish({type:"filter",region:o.region,point:o.point,objectId:l.object_id,timeRange:o.timeRange,dateRange:[...o.dateRange]})},S=e.computed(()=>({backgroundColor:N.value.bgColor}));return(l,t)=>{const s=f.ElOption,u=f.ElSelect,m=f.ElDatePicker,p=f.ElButton;return e.openBlock(),e.createElementBlock("div",{class:"fire-filter-bar-wrap",style:e.normalizeStyle(S.value)},[e.createElementVNode("div",H,[e.createElementVNode("div",x,[t[3]||(t[3]=e.createElementVNode("span",{class:"filter-label"},"区域位置:",-1)),e.createVNode(u,{modelValue:o.region,"onUpdate:modelValue":t[0]||(t[0]=n=>o.region=n),placeholder:"全部区域",size:"small",style:{width:"120px"},onChange:Y},{default:e.withCtx(()=>[e.createVNode(s,{label:"全部区域",value:""}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(R.value,n=>(e.openBlock(),e.createBlock(s,{key:n,label:n,value:n},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),e.createElementVNode("div",T,[t[4]||(t[4]=e.createElementVNode("span",{class:"filter-label"},"监测点:",-1)),e.createVNode(u,{modelValue:o.point,"onUpdate:modelValue":t[1]||(t[1]=n=>o.point=n),placeholder:"请选择",size:"small",style:{width:"120px"}},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value,n=>(e.openBlock(),e.createBlock(s,{key:n.value,label:n.label,value:n.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),e.createElementVNode("div",q,[t[5]||(t[5]=e.createElementVNode("span",{class:"filter-label"},"时间范围:",-1)),e.createElementVNode("div",L,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(h,n=>e.createElementVNode("button",{key:n.value,class:e.normalizeClass(["range-btn",{active:o.timeRange===n.value}]),onClick:v=>D(n.value)},e.toDisplayString(n.label),11,z)),64))])]),e.createElementVNode("div",U,[e.createVNode(m,{modelValue:o.dateRange,"onUpdate:modelValue":t[2]||(t[2]=n=>o.dateRange=n),type:"datetimerange",size:"small",format:"YYYY/MM/DD HH:mm","value-format":"YYYY/MM/DD HH:mm","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",style:{width:"340px"},onChange:B},null,8,["modelValue"])]),e.createVNode(p,{type:"primary",size:"small",onClick:M},{default:e.withCtx(()=>[...t[6]||(t[6]=[e.createTextVNode("查询",-1)])]),_:1})]),e.renderSlot(l.$slots,"default",{},void 0,!0)],4)}}})),ee=g._export_sfc(Z,[["__scopeId","data-v-e3e83c6f"]]);exports.default=ee;
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
var N = Object.defineProperty, x = Object.defineProperties;
|
|
2
|
+
var T = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var E = Object.getOwnPropertySymbols;
|
|
4
|
+
var z = Object.prototype.hasOwnProperty, U = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var k = (r, o, a) => o in r ? N(r, o, { enumerable: !0, configurable: !0, writable: !0, value: a }) : r[o] = a, M = (r, o) => {
|
|
6
|
+
for (var a in o || (o = {}))
|
|
7
|
+
z.call(o, a) && k(r, a, o[a]);
|
|
8
|
+
if (E)
|
|
9
|
+
for (var a of E(o))
|
|
10
|
+
U.call(o, a) && k(r, a, o[a]);
|
|
11
|
+
return r;
|
|
12
|
+
}, S = (r, o) => x(r, T(o));
|
|
13
|
+
import { ElSelect as L, ElOption as $, ElDatePicker as P, ElButton as Q } from "element-plus/es";
|
|
14
|
+
import "element-plus/es/components/base/style/css";
|
|
15
|
+
import "element-plus/es/components/button/style/css";
|
|
16
|
+
import "element-plus/es/components/date-picker/style/css";
|
|
17
|
+
import "element-plus/es/components/select/style/css";
|
|
18
|
+
import "element-plus/es/components/option/style/css";
|
|
19
|
+
import { defineComponent as W, computed as b, reactive as q, openBlock as c, createElementBlock as v, normalizeStyle as G, createElementVNode as s, createVNode as d, withCtx as y, Fragment as R, renderList as Y, createBlock as F, normalizeClass as J, toDisplayString as K, createTextVNode as X, renderSlot as Z } from "vue";
|
|
20
|
+
import { B as ee } from "./element-resize-detector-DJcsrJ8s.js";
|
|
21
|
+
import { d as h, _ as te } from "./index-kShjySl9.js";
|
|
22
|
+
import { A as le, D as ne } from "./ele-vlu-icon-Bg6EHZdJ.js";
|
|
23
|
+
const oe = { class: "filter-bar" }, ae = { class: "filter-item" }, re = { class: "filter-item" }, ie = { class: "filter-item" }, se = { class: "time-range-btns" }, me = ["onClick"], ce = { class: "filter-item" }, ue = {
|
|
24
|
+
DEFAULT_ICON: ne,
|
|
25
|
+
ACTIVE_ICON: le,
|
|
26
|
+
NAME_CN: "煤自燃筛选栏",
|
|
27
|
+
NAME_EN: "Fire Filter Bar",
|
|
28
|
+
ORDER: 1
|
|
29
|
+
}, de = {
|
|
30
|
+
bgColor: { value: "#ffffff", type: "color", label: "setting.bgColor" },
|
|
31
|
+
linkChannel: {
|
|
32
|
+
value: "fire",
|
|
33
|
+
type: "select",
|
|
34
|
+
label: "component.linkChannel",
|
|
35
|
+
options: [
|
|
36
|
+
{ label: "煤自燃监测", value: "fire" },
|
|
37
|
+
{ label: "自定义", value: "custom" }
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
customChannel: {
|
|
41
|
+
value: "",
|
|
42
|
+
type: "string",
|
|
43
|
+
label: "component.customChannel",
|
|
44
|
+
showWhen: { linkChannel: "custom" }
|
|
45
|
+
}
|
|
46
|
+
}, pe = [
|
|
47
|
+
{ name: "FIRE115", object_id: "", region: "北帮" },
|
|
48
|
+
{ name: "FIRE116", object_id: "", region: "北帮" },
|
|
49
|
+
{ name: "FIRE201", object_id: "", region: "南帮" },
|
|
50
|
+
{ name: "FIRE305", object_id: "", region: "东帮" },
|
|
51
|
+
{ name: "FIRE410", object_id: "", region: "西帮" }
|
|
52
|
+
], fe = ["name", "object_id", "region"], ge = ["mosaic"], be = {
|
|
53
|
+
useAlias: !1,
|
|
54
|
+
multiObject: !0,
|
|
55
|
+
source: "mosaic"
|
|
56
|
+
}, ve = 50, _e = { DEFAULT: ue, OPTIONS: de, DATA: pe, PARAMS: fe, SOURCE: ge, ITEMS: ve, COMMON: be }, Ce = /* @__PURE__ */ W(S(M({}, _e), {
|
|
57
|
+
__name: "fireFilterBar",
|
|
58
|
+
props: {
|
|
59
|
+
conf: { type: Object, default: () => ({ data: [] }) },
|
|
60
|
+
uid: { type: String, default: "" },
|
|
61
|
+
mode: { type: String, default: "edit" },
|
|
62
|
+
theme: { type: String, default: "light" }
|
|
63
|
+
},
|
|
64
|
+
setup(r) {
|
|
65
|
+
const o = r;
|
|
66
|
+
class a extends ee {
|
|
67
|
+
extractStyles() {
|
|
68
|
+
var f, g, l, C;
|
|
69
|
+
const e = (f = this.props.conf) == null ? void 0 : f.options, i = ((g = e == null ? void 0 : e.linkChannel) == null ? void 0 : g.value) || "fire", u = ((l = e == null ? void 0 : e.customChannel) == null ? void 0 : l.value) || "";
|
|
70
|
+
return {
|
|
71
|
+
bgColor: ((C = e == null ? void 0 : e.bgColor) == null ? void 0 : C.value) || "#ffffff",
|
|
72
|
+
linkChannel: i === "custom" && u ? u : i
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
const _ = new a(o, "fireFilterBar");
|
|
77
|
+
_.setupLifecycle();
|
|
78
|
+
const w = _.getStyle(), p = b(() => {
|
|
79
|
+
var e;
|
|
80
|
+
const t = (e = o.conf) == null ? void 0 : e.data;
|
|
81
|
+
return !t || !Array.isArray(t) ? [] : t.filter((i) => i.name);
|
|
82
|
+
}), A = b(() => {
|
|
83
|
+
const t = /* @__PURE__ */ new Set();
|
|
84
|
+
return p.value.forEach((e) => {
|
|
85
|
+
e.region && t.add(e.region);
|
|
86
|
+
}), Array.from(t);
|
|
87
|
+
}), D = b(() => {
|
|
88
|
+
let t = p.value;
|
|
89
|
+
return n.region && (t = t.filter((e) => e.region === n.region)), t.map((e) => ({ label: e.name, value: e.name }));
|
|
90
|
+
}), j = [
|
|
91
|
+
{ label: "一天内", value: "1d" },
|
|
92
|
+
{ label: "一周内", value: "1w" },
|
|
93
|
+
{ label: "一个月内", value: "1m" }
|
|
94
|
+
], m = p.value[0], n = q({
|
|
95
|
+
region: (m == null ? void 0 : m.region) || "",
|
|
96
|
+
point: (m == null ? void 0 : m.name) || "",
|
|
97
|
+
timeRange: "1d",
|
|
98
|
+
dateRange: [
|
|
99
|
+
h().subtract(1, "day").format("YYYY/MM/DD HH:mm"),
|
|
100
|
+
h().format("YYYY/MM/DD HH:mm")
|
|
101
|
+
]
|
|
102
|
+
}), I = () => {
|
|
103
|
+
var e;
|
|
104
|
+
const t = D.value;
|
|
105
|
+
n.point = ((e = t[0]) == null ? void 0 : e.value) || "";
|
|
106
|
+
}, V = (t) => {
|
|
107
|
+
n.timeRange = t;
|
|
108
|
+
const e = h(), i = t === "1d" ? e.subtract(1, "day") : t === "1w" ? e.subtract(1, "week") : e.subtract(1, "month");
|
|
109
|
+
n.dateRange = [i.format("YYYY/MM/DD HH:mm"), e.format("YYYY/MM/DD HH:mm")];
|
|
110
|
+
}, B = () => {
|
|
111
|
+
n.timeRange = "";
|
|
112
|
+
}, H = () => {
|
|
113
|
+
if (o.mode === "edit" || !n.point) return;
|
|
114
|
+
const t = p.value.find((e) => e.name === n.point);
|
|
115
|
+
if (!(t != null && t.object_id)) {
|
|
116
|
+
console.warn("[煤自燃筛选栏] 所选监测点未配置 object_id,无法发送联动");
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
_.publish({
|
|
120
|
+
type: "filter",
|
|
121
|
+
region: n.region,
|
|
122
|
+
point: n.point,
|
|
123
|
+
objectId: t.object_id,
|
|
124
|
+
timeRange: n.timeRange,
|
|
125
|
+
dateRange: [...n.dateRange]
|
|
126
|
+
});
|
|
127
|
+
}, O = b(() => ({ backgroundColor: w.value.bgColor }));
|
|
128
|
+
return (t, e) => {
|
|
129
|
+
const i = $, u = L, f = P, g = Q;
|
|
130
|
+
return c(), v("div", {
|
|
131
|
+
class: "fire-filter-bar-wrap",
|
|
132
|
+
style: G(O.value)
|
|
133
|
+
}, [
|
|
134
|
+
s("div", oe, [
|
|
135
|
+
s("div", ae, [
|
|
136
|
+
e[3] || (e[3] = s("span", { class: "filter-label" }, "区域位置:", -1)),
|
|
137
|
+
d(u, {
|
|
138
|
+
modelValue: n.region,
|
|
139
|
+
"onUpdate:modelValue": e[0] || (e[0] = (l) => n.region = l),
|
|
140
|
+
placeholder: "全部区域",
|
|
141
|
+
size: "small",
|
|
142
|
+
style: { width: "120px" },
|
|
143
|
+
onChange: I
|
|
144
|
+
}, {
|
|
145
|
+
default: y(() => [
|
|
146
|
+
d(i, {
|
|
147
|
+
label: "全部区域",
|
|
148
|
+
value: ""
|
|
149
|
+
}),
|
|
150
|
+
(c(!0), v(R, null, Y(A.value, (l) => (c(), F(i, {
|
|
151
|
+
key: l,
|
|
152
|
+
label: l,
|
|
153
|
+
value: l
|
|
154
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
155
|
+
]),
|
|
156
|
+
_: 1
|
|
157
|
+
}, 8, ["modelValue"])
|
|
158
|
+
]),
|
|
159
|
+
s("div", re, [
|
|
160
|
+
e[4] || (e[4] = s("span", { class: "filter-label" }, "监测点:", -1)),
|
|
161
|
+
d(u, {
|
|
162
|
+
modelValue: n.point,
|
|
163
|
+
"onUpdate:modelValue": e[1] || (e[1] = (l) => n.point = l),
|
|
164
|
+
placeholder: "请选择",
|
|
165
|
+
size: "small",
|
|
166
|
+
style: { width: "120px" }
|
|
167
|
+
}, {
|
|
168
|
+
default: y(() => [
|
|
169
|
+
(c(!0), v(R, null, Y(D.value, (l) => (c(), F(i, {
|
|
170
|
+
key: l.value,
|
|
171
|
+
label: l.label,
|
|
172
|
+
value: l.value
|
|
173
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
174
|
+
]),
|
|
175
|
+
_: 1
|
|
176
|
+
}, 8, ["modelValue"])
|
|
177
|
+
]),
|
|
178
|
+
s("div", ie, [
|
|
179
|
+
e[5] || (e[5] = s("span", { class: "filter-label" }, "时间范围:", -1)),
|
|
180
|
+
s("div", se, [
|
|
181
|
+
(c(), v(R, null, Y(j, (l) => s("button", {
|
|
182
|
+
key: l.value,
|
|
183
|
+
class: J(["range-btn", { active: n.timeRange === l.value }]),
|
|
184
|
+
onClick: (C) => V(l.value)
|
|
185
|
+
}, K(l.label), 11, me)), 64))
|
|
186
|
+
])
|
|
187
|
+
]),
|
|
188
|
+
s("div", ce, [
|
|
189
|
+
d(f, {
|
|
190
|
+
modelValue: n.dateRange,
|
|
191
|
+
"onUpdate:modelValue": e[2] || (e[2] = (l) => n.dateRange = l),
|
|
192
|
+
type: "datetimerange",
|
|
193
|
+
size: "small",
|
|
194
|
+
format: "YYYY/MM/DD HH:mm",
|
|
195
|
+
"value-format": "YYYY/MM/DD HH:mm",
|
|
196
|
+
"range-separator": "至",
|
|
197
|
+
"start-placeholder": "开始时间",
|
|
198
|
+
"end-placeholder": "结束时间",
|
|
199
|
+
style: { width: "340px" },
|
|
200
|
+
onChange: B
|
|
201
|
+
}, null, 8, ["modelValue"])
|
|
202
|
+
]),
|
|
203
|
+
d(g, {
|
|
204
|
+
type: "primary",
|
|
205
|
+
size: "small",
|
|
206
|
+
onClick: H
|
|
207
|
+
}, {
|
|
208
|
+
default: y(() => [...e[6] || (e[6] = [
|
|
209
|
+
X("查询", -1)
|
|
210
|
+
])]),
|
|
211
|
+
_: 1
|
|
212
|
+
})
|
|
213
|
+
]),
|
|
214
|
+
Z(t.$slots, "default", {}, void 0, !0)
|
|
215
|
+
], 4);
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
})), Ae = /* @__PURE__ */ te(Ce, [["__scopeId", "data-v-e3e83c6f"]]);
|
|
219
|
+
export {
|
|
220
|
+
Ae as default
|
|
221
|
+
};
|