mixdashboards 1.0.71 → 1.0.73
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/{BaseComponent-D5tlYehc.js → BaseComponent-CBagahPU.js} +138 -109
- package/dist/BaseComponent-Chnv4fBT.cjs +1 -0
- package/dist/{EChartComponentBase-CAabYXSj.js → EChartComponentBase-cFfawl6h.js} +2 -2
- package/dist/{EChartComponentBase-D4wMej9X.cjs → EChartComponentBase-dLE5F7Tt.cjs} +1 -1
- package/dist/{EmergencyPlanPanel-Th4ZNdCb.js → EmergencyPlanPanel--jTGG89o.js} +1 -1
- package/dist/{EmergencyPlanPanel-D96XjhRq.cjs → EmergencyPlanPanel-BJb-Bbxh.cjs} +1 -1
- package/dist/{HistoryPlanDialog-rn2Bp0Gx.cjs → HistoryPlanDialog-C-QPdV4V.cjs} +1 -1
- package/dist/{HistoryPlanDialog-D2mQLhkO.js → HistoryPlanDialog-DerClU2U.js} +1 -1
- package/dist/{MonitoringMap-BZ98NYTJ.cjs → MonitoringMap-B6RMbiIS.cjs} +1 -1
- package/dist/{MonitoringMap-Coozb35G.js → MonitoringMap-CNaGsq83.js} +2 -2
- package/dist/UniverSheet-CM-vvc23.cjs +1 -0
- package/dist/{UniverSheet-CJCunVAM.js → UniverSheet-KI09RqKm.js} +16 -15
- package/dist/{accelerationChart-DacjcSHD.js → accelerationChart-D7KNk5fI.js} +61 -59
- package/dist/accelerationChart-HBCb2bRW.cjs +6 -0
- package/dist/{actionItem-d-4p5HZK.js → actionItem-BmNYzAXu.js} +48 -41
- package/dist/actionItem-Bx4mW0jP.cjs +1 -0
- package/dist/alarmLevelChart-Cvnw4z1w.cjs +2 -0
- package/dist/{alarmLevelChart-DddN1NVy.js → alarmLevelChart-DdSw2s7W.js} +91 -46
- package/dist/{alertTable-Q-Waa5jf.js → alertTable-CC3c8DFb.js} +40 -39
- package/dist/alertTable-hH6HA9pY.cjs +1 -0
- package/dist/aliasObjectSelectorDemo-C7E_fnCf.cjs +1 -0
- package/dist/{aliasObjectSelectorDemo-BZygQw9k.js → aliasObjectSelectorDemo-yDiavTpG.js} +11 -10
- package/dist/{annualRainfallChart-CthANCvn.js → annualRainfallChart-B9ar8vo8.js} +32 -30
- package/dist/annualRainfallChart-C6JLSPIf.cjs +1 -0
- package/dist/{aqi-C_HnKsjh.js → aqi-BNc5QCM3.js} +21 -19
- package/dist/{aqi-BFW_8xYd.cjs → aqi-DEiCVIVa.cjs} +3 -3
- package/dist/aqiIndass-Bowic_Pc.cjs +3 -0
- package/dist/{aqiIndass-NVRa3lmj.js → aqiIndass-CAGV8_Uf.js} +41 -40
- package/dist/{areaDeformCurve-mQiOHdtN.js → areaDeformCurve-CSpR060t.js} +51 -49
- package/dist/areaDeformCurve-CVy23kV2.cjs +1 -0
- package/dist/arrayCard-NqoQKcE9.cjs +1 -0
- package/dist/{arrayCard-DZitcjMs.js → arrayCard-PPDb7U6X.js} +29 -28
- package/dist/{audio-CDAMVEgC.js → audio-BJPFIQIr.js} +42 -41
- package/dist/audio-Bw-GaYe1.cjs +1 -0
- package/dist/{bar--JrlRud9.js → bar-C38h_mUA.js} +72 -70
- package/dist/{bar-C7uQADV1.cjs → bar-Cru6WosS.cjs} +2 -2
- package/dist/bmp-BXaEkkpa.cjs +1 -0
- package/dist/{bmp-DrVcnYxy.js → bmp-BnSOaFEr.js} +15 -14
- package/dist/box-CKuGsh2k.cjs +1 -0
- package/dist/{box-szcLhted.js → box-DIHVOqrV.js} +58 -57
- package/dist/chartConfigPanel-BVdVXbs6.cjs +1 -0
- package/dist/{chartConfigPanel-C32o1gyJ.js → chartConfigPanel-D1rO6SGh.js} +86 -79
- package/dist/{circleBar-CeL2rqMJ.cjs → circleBar-BzXqA-Cz.cjs} +3 -3
- package/dist/{circleBar-BmTjsLHo.js → circleBar-CBLcp4Xi.js} +27 -25
- package/dist/{clock-CuQpD76K.js → clock-4AMfFDGC.js} +35 -34
- package/dist/clock-DmWyBpo-.cjs +1 -0
- package/dist/clt-CmPPtp9c.cjs +1 -0
- package/dist/{clt-XCswxZ6i.js → clt-D5i_8-pq.js} +60 -59
- package/dist/cmc-8jH3DGv9.cjs +1 -0
- package/dist/{cmc-CXmAv6fz.js → cmc-Cjb5w3om.js} +23 -22
- package/dist/{cmp-Duz_v-LC.js → cmp-COJzlQPa.js} +19 -18
- package/dist/{cmp-DmpxjexT.cjs → cmp-CpmGtNal.cjs} +2 -2
- package/dist/{composite-CWgy-w61.js → composite-CsFgfxih.js} +37 -36
- package/dist/{composite-DdHASMFQ.cjs → composite-DLmzZNIj.cjs} +3 -3
- package/dist/{conclusionCard-BtB0rARK.js → conclusionCard-BQUlLFde.js} +15 -14
- package/dist/conclusionCard-C-TT6znN.cjs +1 -0
- package/dist/{controlList-C0AQ8Yb8.js → controlList-5D5UIDQL.js} +40 -38
- package/dist/controlList-CIwzKylK.cjs +1 -0
- package/dist/{controlRecordList-CSPKG1HU.js → controlRecordList-Cp5mmEQ1.js} +55 -53
- package/dist/controlRecordList-uEQ3ohmB.cjs +1 -0
- package/dist/controlRecordListAPP-B5d4x_xH.cjs +1 -0
- package/dist/controlRecordListAPP-p_skbQVD.js +502 -0
- package/dist/{crd-DQruf9o3.js → crd-8gRWMf2Y.js} +14 -13
- package/dist/crd-Dfl2XKAx.cjs +1 -0
- package/dist/{ctrBtn-jEWTt_f2.js → ctrBtn-BzmFxucy.js} +106 -107
- package/dist/ctrBtn-OOgL9esv.cjs +1 -0
- package/dist/{ctrSet-C4wCODMY.js → ctrSet-Btg2T9w6.js} +24 -23
- package/dist/ctrSet-CifyJt05.cjs +1 -0
- package/dist/ctrSwitch-6nMHbIE7.js +206 -0
- package/dist/ctrSwitch-C8mwxLPe.cjs +1 -0
- package/dist/{dataManagement-BQVZS7Hi.js → dataManagement-BZiSmktM.js} +52 -45
- package/dist/dataManagement-sQpuBaDz.cjs +1 -0
- package/dist/{dataReport-vP1LBJjE.js → dataReport-CbJzXeCE.js} +25 -24
- package/dist/{dataReport-DRopth3A.cjs → dataReport-D9Q9c43B.cjs} +2 -2
- package/dist/{dataTable-C2AgSR36.cjs → dataTable-BJ4SVFbu.cjs} +1 -1
- package/dist/{dataTable-B1FQ3XIq.js → dataTable-BuBB0b-A.js} +1 -1
- package/dist/datetime-B66VgJL1.cjs +1 -0
- package/dist/{datetime-DU3rzi1v.js → datetime-DO03QrXz.js} +25 -24
- package/dist/deepClusterSlipSurface-BqT55vkY.cjs +1 -0
- package/dist/{deepClusterSlipSurface-BHwB0eu9.js → deepClusterSlipSurface-DpSAXgFf.js} +45 -43
- package/dist/{deepDataMatrix-C3uKZmon.js → deepDataMatrix-CPrIOv5r.js} +46 -45
- package/dist/deepDataMatrix-DZZaTMbD.cjs +1 -0
- package/dist/{deepDisplacement3D-BBYgB-rK.cjs → deepDisplacement3D-Cd9nwwPt.cjs} +3 -3
- package/dist/{deepDisplacement3D-CDNPul6D.js → deepDisplacement3D-JlMej7-5.js} +9 -7
- package/dist/{deepDisplacementChart-C_pwwgIC.js → deepDisplacementChart-BiDt60xI.js} +89 -88
- package/dist/deepDisplacementChart-CALM3gna.cjs +5 -0
- package/dist/deepDisplacementChart-CEaj2bUV.cjs +6 -0
- package/dist/{deepDisplacementChart-C6GQHO-J.js → deepDisplacementChart-CjlGpeHj.js} +54 -52
- package/dist/{deepDisplacementView-C837RNer.js → deepDisplacementView-BpUw-b-i.js} +37 -36
- package/dist/deepDisplacementView-CoSNzN1q.cjs +8 -0
- package/dist/deepNodeTemperatureChart-DPN0rYir.cjs +1 -0
- package/dist/{deepNodeTemperatureChart-BcH3ZNi4.js → deepNodeTemperatureChart-DfZq7kLx.js} +50 -48
- package/dist/{deepTangentAngleChart-DSpCyIdq.js → deepTangentAngleChart-Ca01hah9.js} +92 -90
- package/dist/deepTangentAngleChart-Dg9PJspK.cjs +1 -0
- package/dist/deepTemperatureField-BqDB97SW.cjs +1 -0
- package/dist/{deepTemperatureField-B2qIHL1-.js → deepTemperatureField-CYBTjhEp.js} +95 -93
- package/dist/deepTrendChart-B5BAHTeY.cjs +1 -0
- package/dist/{deepTrendChart-DFGSV17a.js → deepTrendChart-DBjxV7_A.js} +56 -54
- package/dist/{deviceOnlineStatus-CiIFdo9I.js → deviceOnlineStatus-1eoHCl_-.js} +58 -50
- package/dist/deviceOnlineStatus-DHzaAzCp.cjs +2 -0
- package/dist/deviceStatus-4BMy4qBD.cjs +1 -0
- package/dist/{deviceStatus-Dd1pqVnO.js → deviceStatus-90rQa1uj.js} +61 -60
- package/dist/{displacementDataTable-CGIHGxye.js → displacementDataTable-BArwj-xp.js} +52 -51
- package/dist/displacementDataTable-BLWjiaRQ.cjs +1 -0
- package/dist/{displacementTrajectoryChart-RL97CTML.js → displacementTrajectoryChart-CxOPJVlD.js} +34 -32
- package/dist/displacementTrajectoryChart-DfJMOCFJ.cjs +22 -0
- package/dist/{displacementTrendChart-Bqnv7hiP.js → displacementTrendChart-4E6cDsX8.js} +49 -48
- package/dist/displacementTrendChart-Cuxa5iTp.cjs +5 -0
- package/dist/{dxf-BQoArgPS.cjs → dxf-BgklkksV.cjs} +1 -1
- package/dist/{dxf-DBu1iA-r.js → dxf-BogwbJID.js} +5 -4
- package/dist/{dzc-DMVPjosV.cjs → dzc-CApfzriC.cjs} +2 -2
- package/dist/{dzc-7tLxe18d.js → dzc-D7tTBLaA.js} +24 -22
- package/dist/emergencyPlan-BuFz4XFc.cjs +1 -0
- package/dist/{emergencyPlan-C9Edkw51.js → emergencyPlan-CjbuX-N5.js} +19 -18
- package/dist/evn-BcSenXF3.cjs +1 -0
- package/dist/{evn-CeLoYCUr.js → evn-DTPm72ZM.js} +23 -22
- package/dist/evolutionChart-CrwR8i40.cjs +1 -0
- package/dist/{evolutionChart-DAlncdLU.js → evolutionChart-D1dVKWOt.js} +25 -23
- package/dist/{fileViewer-BFMFEN2f.js → fileViewer-BNHwlZRa.js} +57 -56
- package/dist/fileViewer-BUuST3Rp.cjs +1 -0
- package/dist/filterBar-BJzjPFFg.cjs +1 -0
- package/dist/{filterBar-qJJKdxYE.js → filterBar-CRJinh5K.js} +44 -43
- package/dist/fireCombustionCurve-BGdJ1ybj.cjs +1 -0
- package/dist/{fireCombustionCurve-DyRikhHw.js → fireCombustionCurve-BZ6qJ1kq.js} +69 -67
- package/dist/fireFilterBar-DZejT0oL.cjs +1 -0
- package/dist/{fireFilterBar-DkjBGPXa.js → fireFilterBar-KvvbsCsZ.js} +25 -24
- package/dist/{fireHistoryTable-ldXil5up.js → fireHistoryTable-80ygqnOG.js} +73 -65
- package/dist/fireHistoryTable-CMSGKb3w.cjs +3 -0
- package/dist/gag-1bvAZ5m6.cjs +1 -0
- package/dist/{gag-KZfFHn72.js → gag-D2obj7AF.js} +30 -28
- package/dist/{gasStationList-Btoo_olJ.js → gasStationList-DM-laJsi.js} +527 -526
- package/dist/gasStationList-DjJtXnqL.cjs +1 -0
- package/dist/{geo3dViewer-Cif9uFqd.cjs → geo3dViewer-CL_89mQf.cjs} +1 -1
- package/dist/{geo3dViewer-iZhkCiTP.js → geo3dViewer-FhmMIvMJ.js} +12 -5
- package/dist/{glbModel-MJZgDSJf.js → glbModel-B0nWYYJQ.js} +19 -18
- package/dist/{glbModel-2xydaxDT.cjs → glbModel-DakMJal6.cjs} +3 -3
- package/dist/{globalObjectSelector-CHtYGpi9.js → globalObjectSelector-Gv4srHhp.js} +79 -78
- package/dist/globalObjectSelector-jNzZxdnL.cjs +1 -0
- package/dist/{gnssFilterBar-CPis6bUI.js → gnssFilterBar-C4rpyNw3.js} +70 -63
- package/dist/gnssFilterBar-kEIW7Tjs.cjs +1 -0
- package/dist/{gnssHistoryTable-kHZY48EZ.js → gnssHistoryTable-CyMwQJ7_.js} +58 -50
- package/dist/gnssHistoryTable-DRKlP8-b.cjs +3 -0
- package/dist/{gnssMapView-BNIkieqL.cjs → gnssMapView-DpExCi0x.cjs} +4 -4
- package/dist/{gnssMapView-DXP8yz0v.js → gnssMapView-EVufCGrW.js} +174 -167
- package/dist/{gnssSectionProfile-DEUDEvJ1.js → gnssSectionProfile-CaJwF9wp.js} +41 -34
- package/dist/gnssSectionProfile-DdcOMdNC.cjs +1 -0
- package/dist/{gnssTimeSeriesChart-C_xqd0su.js → gnssTimeSeriesChart-iffDvMNx.js} +57 -49
- package/dist/gnssTimeSeriesChart-y11Y8k2-.cjs +1 -0
- package/dist/{gnssXYTrajectory-GqgFw_qK.js → gnssXYTrajectory-C_1fuLWn.js} +53 -45
- package/dist/gnssXYTrajectory-DGBGGDwi.cjs +5 -0
- package/dist/grd-C4hCrpvH.cjs +1 -0
- package/dist/{grd-QCuVN1jE.js → grd-FfuMQJb7.js} +43 -42
- package/dist/{grdIndass-BEcfZTYw.js → grdIndass-BTbZmPLZ.js} +30 -29
- package/dist/grdIndass-CyuRKD5H.cjs +1 -0
- package/dist/{grg-CMVrF5tB.js → grg-CcnI5kRY.js} +27 -26
- package/dist/grg-Cuxa17d6.cjs +1 -0
- package/dist/gridview-CKjBuTRq.cjs +1 -0
- package/dist/{gridview-Cd3Tqzph.js → gridview-ffVc5Wvg.js} +32 -31
- package/dist/groundwaterFilterBar-D3l7GLVY.cjs +1 -0
- package/dist/{groundwaterFilterBar-D7lrbzDC.js → groundwaterFilterBar-DaPR-kbl.js} +13 -12
- package/dist/groundwaterProfileChart-BxJKIPXF.cjs +11 -0
- package/dist/{groundwaterProfileChart-Bjtqz-Zv.js → groundwaterProfileChart-DoSx7WWp.js} +42 -40
- package/dist/groundwaterTimeCurve-Bp5MxM9k.cjs +1 -0
- package/dist/{groundwaterTimeCurve-Bu6vgAaC.js → groundwaterTimeCurve-D-SdVYeq.js} +57 -55
- package/dist/{groupCard-CPvAsuPb.cjs → groupCard-BzUQ8xY0.cjs} +1 -1
- package/dist/{groupCard-DQvEe6cc.js → groupCard-COMEkzIb.js} +29 -28
- package/dist/headerBar-iFe0YQKE.cjs +1 -0
- package/dist/{headerBar-CGOtSvFn.js → headerBar-ouXO8bzC.js} +48 -47
- package/dist/{history-D6C3tSut.js → history-BZ869y2d.js} +18 -18
- package/dist/{history-9ToM-rJ6.cjs → history-MxYUUwkm.cjs} +1 -1
- package/dist/index-DVqMfQVc.cjs +612 -0
- package/dist/{index-Bdq33405.js → index-DwPJu6XM.js} +1159 -1128
- package/dist/{insarDeformChart-Ls-cdqaP.js → insarDeformChart-5BhCUq8L.js} +24 -17
- package/dist/insarDeformChart-Ca3AMsBk.cjs +1 -0
- package/dist/{insarImageViewer-Dnke9JDG.js → insarImageViewer-DHNxmLpa.js} +41 -34
- package/dist/insarImageViewer-DWPsoHz6.cjs +1 -0
- package/dist/{kds-B4BKGG0r.js → kds-BYZC4pIM.js} +57 -50
- package/dist/{kds-BjX5tXhF.cjs → kds-Dpf_3WWj.cjs} +2 -2
- package/dist/{kpiCard-C77vHJ_E.js → kpiCard-CStPtl-c.js} +5 -4
- package/dist/kpiCard-OLJgA48-.cjs +2 -0
- package/dist/{landslideMap-BEkbnCqP.js → landslideMap-BUq0x7rd.js} +34 -33
- package/dist/landslideMap-JTdoQjW-.cjs +1 -0
- package/dist/{landslideWarning-C5upI2cf.js → landslideWarning-VAn9XGUj.js} +55 -54
- package/dist/landslideWarning-ZA5LCsIr.cjs +1 -0
- package/dist/{layerTabs-DoGw1Jfv.js → layerTabs-CAJ6f-2W.js} +40 -38
- package/dist/layerTabs-CdhowHB1.cjs +1 -0
- package/dist/{leaflet-src-BUWIqhPn.cjs → leaflet-src-CxFQ_Cn7.cjs} +1 -1
- package/dist/{leaflet-src-DFE_g2gF.js → leaflet-src-DNO2-OsP.js} +1 -1
- package/dist/{lerc-CXc9KSRL.js → lerc-bF2jqjoV.js} +2 -2
- package/dist/{lerc-BBgQP785.cjs → lerc-qU4WKXeS.cjs} +1 -1
- package/dist/{lin-ClO2MqZl.cjs → lin-BHI2KgyW.cjs} +2 -2
- package/dist/{lin-Difz8N88.js → lin-DbQw7wZw.js} +20 -18
- package/dist/linIndass-CIrObeZT.cjs +2 -0
- package/dist/{linIndass-DqXVOBh3.js → linIndass-Cd9Hjzs_.js} +31 -30
- package/dist/lst-BRsEe-Hq.cjs +1 -0
- package/dist/{lst-4RMMZZkY.js → lst-C3C2m1v_.js} +40 -39
- package/dist/{manualEntry-B3_4Z-Lj.js → manualEntry-B8TDMcDg.js} +29 -22
- package/dist/manualEntry-C3_WtYz8.cjs +1 -0
- package/dist/{mapBackground-B3OHQsXZ.js → mapBackground-BrVIQUcT.js} +21 -20
- package/dist/{mapBackground-Bmt-oZt6.cjs → mapBackground-Du7R_ICY.cjs} +2 -2
- package/dist/{mappingList-DVj7H206.js → mappingList-BpJUawmv.js} +22 -20
- package/dist/mappingList-C5OZ8oUx.cjs +1 -0
- package/dist/{markdownViewer-fheM5uV4.js → markdownViewer-CoRrvdY7.js} +16 -15
- package/dist/{markdownViewer-BAuNEWRt.cjs → markdownViewer-D96bwxEt.cjs} +2 -2
- package/dist/materialFileUrl-CubtnHeq.js +108 -0
- package/dist/materialFileUrl-DfPNm265.cjs +1 -0
- package/dist/{mix-control-modal-BoYynGT2.cjs → mix-control-modal-DwxwW65v.cjs} +1 -1
- package/dist/{mix-control-modal-BBiKe4MM.js → mix-control-modal-Qg_mzyT_.js} +1 -1
- package/dist/{mixGrid-BUjP1qv2.js → mixGrid-CtJWul6c.js} +44 -43
- package/dist/mixGrid-Hj0OJjkg.cjs +1 -0
- package/dist/mixMap-CJzmC0IR.cjs +1 -0
- package/dist/{mixMap-DPIwyKuP.js → mixMap-E36SDnEa.js} +36 -35
- package/dist/mixModel-BMRxhvWn.cjs +3 -0
- package/dist/{mixModel-CIdQp4V9.js → mixModel-_McJ6OuH.js} +30 -29
- package/dist/{mixPie-C6OhdOCV.js → mixPie-CMOkAe9p.js} +31 -30
- package/dist/mixPie-MAKXeYVp.cjs +2 -0
- package/dist/mixdashboards.cjs +1 -1
- package/dist/mixdashboards.css +1 -1
- package/dist/mixdashboards.js +1 -1
- package/dist/mixiotObjectListApi-BaeBL318.js +82 -0
- package/dist/mixiotObjectListApi-D9OyHNQ3.cjs +1 -0
- package/dist/mjpegCamera-BY7pmbDc.cjs +1 -0
- package/dist/{mjpegCamera-Cd1vhZ5v.js → mjpegCamera-Dc4IsJA6.js} +12 -11
- package/dist/monitorAlert-DVNvJyTy.cjs +1 -0
- package/dist/{monitorAlert-DIJtH557.js → monitorAlert-F8QFOchR.js} +45 -44
- package/dist/monitorData-AkPbhJ9q.cjs +1 -0
- package/dist/{monitorData-B6jhpzVK.js → monitorData-BzqNIdrW.js} +61 -59
- package/dist/{monitorSpeedChart-DF5zvxs9.js → monitorSpeedChart-348U37LW.js} +22 -21
- package/dist/{monitorSpeedChart-EIcGs3NX.cjs → monitorSpeedChart-DVH1xihw.cjs} +2 -2
- package/dist/{mxa-COxjxwpC.js → mxa-CkJjCHA-.js} +29 -27
- package/dist/{mxa-BfwIV49n.cjs → mxa-DShU528J.cjs} +2 -2
- package/dist/myValue-BCeycpdO.cjs +1 -0
- package/dist/{myValue-Crba15Wc.js → myValue-CEfp19i2.js} +17 -16
- package/dist/myValueList-CAPOW8TK.cjs +1 -0
- package/dist/{myValueList-m2yaIcuf.js → myValueList-y3GR4AX2.js} +41 -40
- package/dist/objectList-4rYQk5uq.cjs +1 -0
- package/dist/{objectList-BwZJzrXs.js → objectList-D16yLbzD.js} +538 -599
- package/dist/objectListAPP-DCwTyqFp.js +1864 -0
- package/dist/objectListAPP-Db5beOAM.cjs +1 -0
- package/dist/photo-BV6rkbWO.js +811 -0
- package/dist/photo-D67wLRkY.cjs +1 -0
- package/dist/{pie-CSLVJv0Y.cjs → pie-BeRwVkTk.cjs} +2 -2
- package/dist/{pie-C9MU90ON.js → pie-bNKhq6ak.js} +16 -14
- package/dist/{placeholder-CRARTMF4.js → placeholder-_iK4rVyU.js} +26 -25
- package/dist/placeholder-zByzfWaH.cjs +1 -0
- package/dist/{pressBtn-CkYcW1a8.js → pressBtn-B-rZPXK2.js} +124 -124
- package/dist/pressBtn-BjqYIPC-.cjs +1 -0
- package/dist/processTable-ByPlSKRJ.cjs +3 -0
- package/dist/{processTable-BgAhGGAq.js → processTable-s_y8uups.js} +12 -11
- package/dist/{progressBar-BbDFps1r.cjs → progressBar-CRdA7oJT.cjs} +1 -1
- package/dist/{progressBar-CIPUVeaf.js → progressBar-DskxZk1P.js} +19 -18
- package/dist/{progressCircle-DDc5zsd6.js → progressCircle-BE_Am-AP.js} +13 -12
- package/dist/{progressCircle-CgkZ1EC1.cjs → progressCircle-CHe-12Hb.cjs} +1 -1
- package/dist/{qrcode-CQbWGVgq.cjs → qrcode-D8cFyUpL.cjs} +1 -1
- package/dist/{qrcode-CCu677Ad.js → qrcode-Dgth6KwU.js} +39 -38
- package/dist/{raceBar-CzNGSYCt.cjs → raceBar-CeybrpCB.cjs} +3 -3
- package/dist/{raceBar-Cn8oPhCE.js → raceBar-DV-3KFg2.js} +18 -16
- package/dist/rad-BerkC70H.cjs +1 -0
- package/dist/{rad-D_cLWeMk.js → rad-BhsfF0XI.js} +22 -20
- package/dist/{radarMapViewer-BaAXjsWx.js → radarMapViewer-C2dde8EN.js} +82 -81
- package/dist/radarMapViewer-HWzvBTzT.cjs +1 -0
- package/dist/{rainfallFilterBar-Bhpadat8.js → rainfallFilterBar-CiT1mvYh.js} +22 -21
- package/dist/rainfallFilterBar-kuAQO0M-.cjs +1 -0
- package/dist/rainfallTimeCurve-7uHaSkuE.cjs +1 -0
- package/dist/{rainfallTimeCurve-sDYapogL.js → rainfallTimeCurve-BlOnCq2M.js} +58 -56
- package/dist/rangeLin-BQeWFL_E.cjs +3 -0
- package/dist/{rangeLin-CdMOPwMP.js → rangeLin-BvKd8kEv.js} +32 -31
- package/dist/realtimeEvolutionMap-BUnD3JjE.cjs +1 -0
- package/dist/{realtimeEvolutionMap-CIH_sZ29.js → realtimeEvolutionMap-DZ6yniwl.js} +46 -44
- package/dist/regionBar-mMaN5NEc.cjs +3 -0
- package/dist/{regionBar-VB-2GpR0.js → regionBar-vp5D52Jd.js} +14 -13
- package/dist/{request-BHfDxLXZ.js → request-CMbwWTDF.js} +9 -9
- package/dist/{request-DU8pRyvu.cjs → request-DegEaaCG.cjs} +1 -1
- package/dist/retainer1-CF2Tr7Zt.cjs +1 -0
- package/dist/{retainer1-C_109Weq.js → retainer1-Xvdlh-B_.js} +17 -16
- package/dist/retainer2-BQVUhgcH.cjs +1 -0
- package/dist/{retainer2-BiHUTumr.js → retainer2-D3a-c_BA.js} +43 -42
- package/dist/{retainerRecordList-Cgil_g8a.js → retainerRecordList-BJbPsJ4D.js} +47 -45
- package/dist/retainerRecordList-Rqnoz6_6.cjs +1 -0
- package/dist/retainerRecordListAPP-B4IDQK3C.cjs +1 -0
- package/dist/retainerRecordListAPP-CNntGyA-.js +1068 -0
- package/dist/{ringTopN-C9AH-t3T.js → ringTopN-BFKlXqGX.js} +18 -16
- package/dist/ringTopN-CsouIsk1.cjs +1 -0
- package/dist/{riskRegionTable-Co1uxMzf.js → riskRegionTable-B6k4uM0_.js} +26 -19
- package/dist/riskRegionTable-DttMvHe5.cjs +1 -0
- package/dist/sankey-CAuBQaYh.cjs +1 -0
- package/dist/{sankey-Bag0ladh.js → sankey-DEQK7uU6.js} +17 -15
- package/dist/{scd-D9AiOiPg.js → scd-D5TicpCZ.js} +1282 -1062
- package/dist/scd-qaap6hGW.cjs +1 -0
- package/dist/{sideMenu-869HFB0p.js → sideMenu-ByyrOOYh.js} +28 -27
- package/dist/sideMenu-D-73DoYb.cjs +1 -0
- package/dist/{slopeStability-bZ0lHLjZ.js → slopeStability-BtgMH3oW.js} +44 -42
- package/dist/slopeStability-CTN6Kpva.cjs +1 -0
- package/dist/speedCurve-C5NoQCjK.cjs +1 -0
- package/dist/{speedCurve-DZ52XKCk.js → speedCurve-CInn7NAC.js} +43 -41
- package/dist/staticLine-BC-zj5yZ.cjs +1 -0
- package/dist/{staticLine-CyPnmKCh.js → staticLine-CLqN4lpU.js} +51 -50
- package/dist/stressFilterBar-Cpfbmllu.cjs +1 -0
- package/dist/{stressFilterBar-BAUt2bGy.js → stressFilterBar-D_QqOHna.js} +46 -45
- package/dist/{stressTimeCurve-IW4ArsyA.js → stressTimeCurve-1HXHUj-F.js} +64 -62
- package/dist/stressTimeCurve-Bp6Cevk1.cjs +1 -0
- package/dist/{swiper-BPS9C2GV.cjs → swiper-B8YZ2VQ2.cjs} +1 -1
- package/dist/{swiper-RM0GoZkW.js → swiper-D_y4Fj_D.js} +25 -24
- package/dist/terminalConfigList-B39cEptG.cjs +1 -0
- package/dist/{terminalConfigList-n7NE5NdJ.js → terminalConfigList-CHbA4y-S.js} +38 -36
- package/dist/terminalList-Vf-Dbybr.cjs +1 -0
- package/dist/{terminalList-Byb4eLcD.js → terminalList-oJFrGVtT.js} +38 -36
- package/dist/terminalListAPP-CdBG8krw.cjs +1 -0
- package/dist/terminalListAPP-DWArp2D4.js +1366 -0
- package/dist/{textbox-DM1AUWw8.js → textbox-D8nmoGjG.js} +13 -12
- package/dist/textbox-DPoyxB4u.cjs +1 -0
- package/dist/{timeQueryBar-Tbd9M8UT.js → timeQueryBar-DyC0iHq9.js} +21 -20
- package/dist/timeQueryBar-uUGotoTx.cjs +1 -0
- package/dist/{timeSeries-DCV2YjC2.cjs → timeSeries-BhlqgEOq.cjs} +2 -2
- package/dist/{timeSeries-CdpEx6bf.js → timeSeries-U91gMDDQ.js} +66 -64
- package/dist/timeSeriesCurve-CiRMnZRD.cjs +1 -0
- package/dist/{timeSeriesCurve-C1AmF6TP.js → timeSeriesCurve-DOhIS88N.js} +68 -66
- package/dist/{toggleBtn-BGjXjIuK.cjs → toggleBtn-CuWwHFjD.cjs} +1 -1
- package/dist/{toggleBtn-XS9MjfKM.js → toggleBtn-DE35dkxx.js} +46 -44
- package/dist/trajectoryConfigPanel-DAbF8oE9.cjs +1 -0
- package/dist/{trajectoryConfigPanel-BC90nD1T.js → trajectoryConfigPanel-Ye7NY6rd.js} +35 -34
- package/dist/{trajectoryScatter-DF_ESBn8.js → trajectoryScatter-DL7HUNJI.js} +47 -45
- package/dist/trajectoryScatter-Dg99HzM3.cjs +1 -0
- package/dist/universalConfigPanel-1svBCvD9.cjs +1 -0
- package/dist/{universalConfigPanel-DjNTwJkz.js → universalConfigPanel-CkyIDl_x.js} +50 -49
- package/dist/{universalTable-BY9vRraC.js → universalTable--dpnyNO2.js} +56 -54
- package/dist/universalTable-D8w7FQbl.cjs +2 -0
- package/dist/useMixiotPanelSurface-CAZgexY5.cjs +1 -0
- package/dist/useMixiotPanelSurface-DRl3cZvc.js +22 -0
- package/dist/useTableBodyHeight-CwrQvi7M.js +21 -0
- package/dist/useTableBodyHeight-pf87uGjw.cjs +1 -0
- package/dist/{video-DDvDGDql.js → video-BmMSRRa_.js} +5 -4
- package/dist/{video-8_Sf1uz0.cjs → video-RGIZoUn6.cjs} +2 -2
- package/dist/videoMonitor-Bo5T0MT_.cjs +1 -0
- package/dist/{videoMonitor-sce5N4Q5.js → videoMonitor-uf6tt2E6.js} +34 -33
- package/dist/{vlu-BKeYJtOO.js → vlu-D8l5zE_P.js} +24 -23
- package/dist/vlu-DEo_h1qN.cjs +1 -0
- package/dist/warningOverview-A5AA_vCc.cjs +1 -0
- package/dist/{warningOverview-CG5mwtaO.js → warningOverview-CA0PikjV.js} +31 -30
- package/dist/{weather-CWvAqxgX.cjs → weather-D20MGzuJ.cjs} +1 -1
- package/dist/{weather-BrX2a1an.js → weather-DuseqeNF.js} +19 -18
- package/dist/{windLin-BbbsSwuF.cjs → windLin-BU6Q87dE.cjs} +1 -1
- package/dist/{windLin-P4Gs2aBB.js → windLin-D8AUL_dV.js} +58 -57
- package/package.json +120 -120
- package/dist/BaseComponent-CNXUpPY1.cjs +0 -1
- package/dist/UniverSheet-CntkzcVZ.cjs +0 -1
- package/dist/accelerationChart-DLV-1mpA.cjs +0 -6
- package/dist/actionItem-CFxzHf4E.cjs +0 -1
- package/dist/alarmLevelChart-DCC6D1fH.cjs +0 -2
- package/dist/alertTable-BREZBeS5.cjs +0 -1
- package/dist/aliasObjectSelectorDemo-DunKWEkT.cjs +0 -1
- package/dist/annualRainfallChart-BJyoUBDn.cjs +0 -1
- package/dist/aqiIndass-B441j8CT.cjs +0 -3
- package/dist/areaDeformCurve-Dj405Jil.cjs +0 -1
- package/dist/arrayCard-B7zb1dFi.cjs +0 -1
- package/dist/audio-BfsYRWbm.cjs +0 -1
- package/dist/bmp-DIkLqzRN.cjs +0 -1
- package/dist/box-kXjrgG2u.cjs +0 -1
- package/dist/chartConfigPanel-DN4LMy8-.cjs +0 -1
- package/dist/clock-EbmFBRb-.cjs +0 -1
- package/dist/clt-C-9xGiKs.cjs +0 -1
- package/dist/cmc-CFa8Q3tu.cjs +0 -1
- package/dist/conclusionCard-Dlg5GWlE.cjs +0 -1
- package/dist/controlList-C1vhlonT.cjs +0 -1
- package/dist/controlRecordList-BhK7KtLR.cjs +0 -1
- package/dist/crd-CgxqxwKV.cjs +0 -1
- package/dist/ctrBtn-BSJ9c7Pt.cjs +0 -1
- package/dist/ctrSet-B9M4yI53.cjs +0 -1
- package/dist/ctrSwitch-C6dUn_qm.js +0 -206
- package/dist/ctrSwitch-ZvMCYKvG.cjs +0 -1
- package/dist/dataManagement-CNrEa_zB.cjs +0 -1
- package/dist/datetime-CAyDWKE8.cjs +0 -1
- package/dist/deepClusterSlipSurface-DzoyF6i1.cjs +0 -1
- package/dist/deepDataMatrix--AstWPiL.cjs +0 -1
- package/dist/deepDisplacementChart-BnT1ZdfR.cjs +0 -6
- package/dist/deepDisplacementChart-DOPij7KP.cjs +0 -5
- package/dist/deepDisplacementView-u1IPcbxN.cjs +0 -8
- package/dist/deepNodeTemperatureChart-CD3JbqkA.cjs +0 -1
- package/dist/deepTangentAngleChart-BCAauuDY.cjs +0 -1
- package/dist/deepTemperatureField-BxuKsrtc.cjs +0 -1
- package/dist/deepTrendChart-6L4cCHgh.cjs +0 -1
- package/dist/deviceOnlineStatus-WkwzGom4.cjs +0 -2
- package/dist/deviceStatus-BoIv8fbr.cjs +0 -1
- package/dist/displacementDataTable-BwcxrsuU.cjs +0 -1
- package/dist/displacementTrajectoryChart-BOPIBgi5.cjs +0 -22
- package/dist/displacementTrendChart-CI8i0oQY.cjs +0 -5
- package/dist/emergencyPlan-BRFhMubg.cjs +0 -1
- package/dist/evn-B05d7LtF.cjs +0 -1
- package/dist/evolutionChart-y2mkLVwU.cjs +0 -1
- package/dist/fileViewer-Dy2fdABW.cjs +0 -1
- package/dist/filterBar-CcrUdD-O.cjs +0 -1
- package/dist/fireCombustionCurve-B-6MZLul.cjs +0 -1
- package/dist/fireFilterBar-C9b_Ohvr.cjs +0 -1
- package/dist/fireHistoryTable-5sG5FDCD.cjs +0 -3
- package/dist/gag-CDX99Ta4.cjs +0 -1
- package/dist/gasStationList-Dl9qawf_.cjs +0 -1
- package/dist/globalObjectSelector-Bz2XhgxT.cjs +0 -1
- package/dist/gnssFilterBar-BT19n0j_.cjs +0 -1
- package/dist/gnssHistoryTable-CrS2qO6S.cjs +0 -3
- package/dist/gnssSectionProfile-_KbP1NXU.cjs +0 -1
- package/dist/gnssTimeSeriesChart-BgFoXAZv.cjs +0 -1
- package/dist/gnssXYTrajectory-C1N3RWzp.cjs +0 -5
- package/dist/grd-DtDoJOOa.cjs +0 -1
- package/dist/grdIndass-ci3JkvGZ.cjs +0 -1
- package/dist/grg-C2qVuXYE.cjs +0 -1
- package/dist/gridview-BLAlr5uj.cjs +0 -1
- package/dist/groundwaterFilterBar-1E1j67JT.cjs +0 -1
- package/dist/groundwaterProfileChart-CS9xelz8.cjs +0 -11
- package/dist/groundwaterTimeCurve-DYiDLgVY.cjs +0 -1
- package/dist/headerBar-OwCxpc4o.cjs +0 -1
- package/dist/index-D8dh_6Qd.cjs +0 -612
- package/dist/insarDeformChart-CSQ7fc2p.cjs +0 -1
- package/dist/insarImageViewer-DvaRS1zr.cjs +0 -1
- package/dist/kpiCard-oLpk5d4m.cjs +0 -2
- package/dist/landslideMap-CO8o7T8J.cjs +0 -1
- package/dist/landslideWarning-BZXa5qTB.cjs +0 -1
- package/dist/layerTabs-BxRAsklw.cjs +0 -1
- package/dist/linIndass-Bb7UA-zk.cjs +0 -2
- package/dist/lst-Dri1MTDI.cjs +0 -1
- package/dist/manualEntry-D74dgZv8.cjs +0 -1
- package/dist/mappingList-CBN7ArkQ.cjs +0 -1
- package/dist/mixGrid-DTj2pmFW.cjs +0 -1
- package/dist/mixMap-B4T4R6kA.cjs +0 -1
- package/dist/mixModel-BzilRtjf.cjs +0 -3
- package/dist/mixPie-DtQm-LGp.cjs +0 -2
- package/dist/mjpegCamera-Lu3UHJ83.cjs +0 -1
- package/dist/monitorAlert-Ctt2kCxQ.cjs +0 -1
- package/dist/monitorData-D_tMbx_Y.cjs +0 -1
- package/dist/myValue-FZPOucSS.cjs +0 -1
- package/dist/myValueList-XIDK3ove.cjs +0 -1
- package/dist/objectList-BtbxHtJj.cjs +0 -1
- package/dist/photo-BITvEhKG.cjs +0 -1
- package/dist/photo-CjulDHTM.js +0 -873
- package/dist/placeholder-3kajeeeb.cjs +0 -1
- package/dist/pressBtn-pUcQtd5n.cjs +0 -1
- package/dist/processTable-CDulvQlu.cjs +0 -3
- package/dist/rad-Dk4PrnyI.cjs +0 -1
- package/dist/radarMapViewer-TJIPACdT.cjs +0 -1
- package/dist/rainfallFilterBar-Myq0MBCf.cjs +0 -1
- package/dist/rainfallTimeCurve-BUI-RlnG.cjs +0 -1
- package/dist/rangeLin-DYCZ8wVc.cjs +0 -3
- package/dist/realtimeEvolutionMap-BwyQdAhL.cjs +0 -1
- package/dist/regionBar-DsxqfirI.cjs +0 -3
- package/dist/retainer1-CSqjvY4k.cjs +0 -1
- package/dist/retainer2-Bqlwvr53.cjs +0 -1
- package/dist/retainerRecordList-DWZ3WDiz.cjs +0 -1
- package/dist/ringTopN-Bp0er_zV.cjs +0 -1
- package/dist/riskRegionTable-B3bzMaR_.cjs +0 -1
- package/dist/sankey-B4BJ4xIo.cjs +0 -1
- package/dist/scd-Dgd3KDpk.cjs +0 -1
- package/dist/sideMenu-BQ5rrGBr.cjs +0 -1
- package/dist/slopeStability-D96aiykf.cjs +0 -1
- package/dist/speedCurve-5nWqVAzz.cjs +0 -1
- package/dist/staticLine-DUCg-0tI.cjs +0 -1
- package/dist/stressFilterBar-CorWdmpQ.cjs +0 -1
- package/dist/stressTimeCurve-Bci50Cwv.cjs +0 -1
- package/dist/terminalConfigList-O881ke5o.cjs +0 -1
- package/dist/terminalList-C9TB2cJH.cjs +0 -1
- package/dist/textbox-BMWnbPvz.cjs +0 -1
- package/dist/timeQueryBar-C6ZheMvD.cjs +0 -1
- package/dist/timeSeriesCurve-DRlr5n3U.cjs +0 -1
- package/dist/trajectoryConfigPanel-DJ6fOeb1.cjs +0 -1
- package/dist/trajectoryScatter-C7kfSkyS.cjs +0 -1
- package/dist/universalConfigPanel-PO1hdgjw.cjs +0 -1
- package/dist/universalTable-QAb6UKCq.cjs +0 -2
- package/dist/useMixiotPanelSurface-BMNrWBMF.cjs +0 -1
- package/dist/useMixiotPanelSurface-DlVkLttU.js +0 -40
- package/dist/videoMonitor-BKLD_aQs.cjs +0 -1
- package/dist/vlu-C0XLDKKk.cjs +0 -1
- package/dist/warningOverview--n7crFnZ.cjs +0 -1
|
@@ -2,14 +2,14 @@ var se = Object.defineProperty, ue = Object.defineProperties;
|
|
|
2
2
|
var ce = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var q = Object.getOwnPropertySymbols;
|
|
4
4
|
var de = Object.prototype.hasOwnProperty, me = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var J = (u,
|
|
6
|
-
for (var i in
|
|
7
|
-
de.call(
|
|
5
|
+
var J = (u, n, i) => n in u ? se(u, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : u[n] = i, K = (u, n) => {
|
|
6
|
+
for (var i in n || (n = {}))
|
|
7
|
+
de.call(n, i) && J(u, i, n[i]);
|
|
8
8
|
if (q)
|
|
9
|
-
for (var i of q(
|
|
10
|
-
me.call(
|
|
9
|
+
for (var i of q(n))
|
|
10
|
+
me.call(n, i) && J(u, i, n[i]);
|
|
11
11
|
return u;
|
|
12
|
-
}, X = (u,
|
|
12
|
+
}, X = (u, n) => ue(u, ce(n));
|
|
13
13
|
import { ElSelect as pe, ElOption as ve, ElDatePicker as fe, ElButton as be } from "element-plus/es";
|
|
14
14
|
import "element-plus/es/components/base/style/css";
|
|
15
15
|
import "element-plus/es/components/button/style/css";
|
|
@@ -18,25 +18,32 @@ import "element-plus/es/components/select/style/css";
|
|
|
18
18
|
import "element-plus/es/components/option/style/css";
|
|
19
19
|
import { defineComponent as ye, computed as m, reactive as he, onMounted as ge, onUnmounted as Ce, openBlock as r, createElementBlock as c, normalizeStyle as v, createElementVNode as p, unref as f, createVNode as w, withCtx as k, Fragment as S, renderList as R, createBlock as x, createCommentVNode as b, normalizeClass as _e, toDisplayString as we, createTextVNode as ke, renderSlot as Se, nextTick as Re } from "vue";
|
|
20
20
|
import "html2canvas";
|
|
21
|
-
import { B as xe } from "./BaseComponent-
|
|
22
|
-
import {
|
|
23
|
-
import { A as
|
|
24
|
-
const Fe = { class: "filter-bar" },
|
|
21
|
+
import { B as xe } from "./BaseComponent-CBagahPU.js";
|
|
22
|
+
import { d as h, _ as Ae } from "./index-DwPJu6XM.js";
|
|
23
|
+
import { A as De, D as Ye } from "./ele-lin-icon-Dax-ZiWV.js";
|
|
24
|
+
const Fe = { class: "filter-bar" }, Me = {
|
|
25
25
|
key: 0,
|
|
26
26
|
class: "filter-item"
|
|
27
|
-
},
|
|
27
|
+
}, Be = {
|
|
28
28
|
key: 1,
|
|
29
29
|
class: "filter-item"
|
|
30
|
-
},
|
|
30
|
+
}, Te = {
|
|
31
31
|
key: 2,
|
|
32
32
|
class: "filter-item"
|
|
33
|
-
},
|
|
33
|
+
}, Ee = {
|
|
34
34
|
key: 3,
|
|
35
35
|
class: "filter-item"
|
|
36
|
-
}, Ve = { class: "time-range-btns" }, Ne = ["onClick"],
|
|
36
|
+
}, Ve = { class: "time-range-btns" }, Ne = ["onClick"], Oe = {
|
|
37
37
|
key: 4,
|
|
38
38
|
class: "filter-item date-picker-item"
|
|
39
|
-
},
|
|
39
|
+
}, ze = {
|
|
40
|
+
DEFAULT_ICON: Ye,
|
|
41
|
+
ACTIVE_ICON: De,
|
|
42
|
+
NAME_CN: "GNSS筛选栏",
|
|
43
|
+
NAME_EN: "GNSS Filter Bar",
|
|
44
|
+
ORDER: 1,
|
|
45
|
+
PLATFORM: ["pc", "screen"]
|
|
46
|
+
}, Pe = {
|
|
40
47
|
bgColor: { value: "#ffffff", type: "color", label: "setting.bgColor" },
|
|
41
48
|
textColor: { value: "#333333", type: "color", label: "setting.textColor" },
|
|
42
49
|
labelColor: { value: "#1c3d90", type: "color", label: "标签文字颜色" },
|
|
@@ -71,12 +78,12 @@ const Fe = { class: "filter-bar" }, Be = {
|
|
|
71
78
|
]
|
|
72
79
|
},
|
|
73
80
|
customChannel: { value: "", type: "string", label: "自定义频道名", showWhen: { linkChannel: "custom" } }
|
|
74
|
-
},
|
|
81
|
+
}, He = [
|
|
75
82
|
{ object_id: "", area: "北帮", line: "1号线", point: "35" },
|
|
76
83
|
{ object_id: "", area: "北帮", line: "1号线", point: "55" },
|
|
77
84
|
{ object_id: "", area: "北帮", line: "2号线", point: "110" },
|
|
78
85
|
{ object_id: "", area: "东帮", line: "3号线", point: "33" }
|
|
79
|
-
], Le = ["object_id", "area", "line", "point"], je = ["mosaic"], Ue = { useAlias: !1, multiObject: !0, source: "mosaic" }, Ie = { DEFAULT:
|
|
86
|
+
], Le = ["object_id", "area", "line", "point"], je = ["mosaic"], Ue = { useAlias: !1, multiObject: !0, source: "mosaic" }, Ie = { DEFAULT: ze, OPTIONS: Pe, DATA: He, PARAMS: Le, SOURCE: je, COMMON: Ue }, Qe = /* @__PURE__ */ ye(X(K({}, Ie), {
|
|
80
87
|
__name: "gnssFilterBar",
|
|
81
88
|
props: {
|
|
82
89
|
conf: { type: Object, default: () => ({ data: [] }) },
|
|
@@ -85,19 +92,19 @@ const Fe = { class: "filter-bar" }, Be = {
|
|
|
85
92
|
theme: { type: String, default: "light" }
|
|
86
93
|
},
|
|
87
94
|
setup(u) {
|
|
88
|
-
const
|
|
95
|
+
const n = u;
|
|
89
96
|
class i extends xe {
|
|
90
97
|
extractStyles() {
|
|
91
|
-
var C, _, l,
|
|
98
|
+
var C, _, l, M, E, V, N, O, z, P, H, L, j, U, I, Q, $, G, W;
|
|
92
99
|
const e = (C = this.props.conf) == null ? void 0 : C.options, s = ((_ = e == null ? void 0 : e.linkChannel) == null ? void 0 : _.value) || "gnss", d = ((l = e == null ? void 0 : e.customChannel) == null ? void 0 : l.value) || "";
|
|
93
100
|
return {
|
|
94
|
-
bgColor: ((
|
|
95
|
-
textColor: ((
|
|
101
|
+
bgColor: ((M = e == null ? void 0 : e.bgColor) == null ? void 0 : M.value) || "#ffffff",
|
|
102
|
+
textColor: ((E = e == null ? void 0 : e.textColor) == null ? void 0 : E.value) || "#333333",
|
|
96
103
|
labelColor: ((V = e == null ? void 0 : e.labelColor) == null ? void 0 : V.value) || "#1c3d90",
|
|
97
104
|
borderColor: ((N = e == null ? void 0 : e.borderColor) == null ? void 0 : N.value) || "#e8ecef",
|
|
98
|
-
btnActiveColor: ((
|
|
99
|
-
padding: (
|
|
100
|
-
fontSize: (L = (
|
|
105
|
+
btnActiveColor: ((O = e == null ? void 0 : e.btnActiveColor) == null ? void 0 : O.value) || "#409eff",
|
|
106
|
+
padding: (P = (z = e == null ? void 0 : e.padding) == null ? void 0 : z.value) != null ? P : 8,
|
|
107
|
+
fontSize: (L = (H = e == null ? void 0 : e.fontSize) == null ? void 0 : H.value) != null ? L : 13,
|
|
101
108
|
showAreaFilter: ((j = e == null ? void 0 : e.showAreaFilter) == null ? void 0 : j.value) !== !1,
|
|
102
109
|
showLineFilter: ((U = e == null ? void 0 : e.showLineFilter) == null ? void 0 : U.value) !== !1,
|
|
103
110
|
showPointFilter: ((I = e == null ? void 0 : e.showPointFilter) == null ? void 0 : I.value) !== !1,
|
|
@@ -109,32 +116,32 @@ const Fe = { class: "filter-bar" }, Be = {
|
|
|
109
116
|
};
|
|
110
117
|
}
|
|
111
118
|
}
|
|
112
|
-
const y = new i(
|
|
119
|
+
const y = new i(n, "gnssFilterBar");
|
|
113
120
|
y.setupLifecycle();
|
|
114
|
-
const
|
|
121
|
+
const o = y.getStyle(), B = m(() => {
|
|
115
122
|
var t;
|
|
116
|
-
return ((t =
|
|
117
|
-
}),
|
|
123
|
+
return ((t = n.conf) == null ? void 0 : t.data) || [];
|
|
124
|
+
}), A = m(() => {
|
|
118
125
|
const t = /* @__PURE__ */ new Set();
|
|
119
|
-
return
|
|
126
|
+
return B.value.filter((e) => e.point && !t.has(e.point) ? (t.add(e.point), !0) : !1);
|
|
120
127
|
}), Z = m(() => {
|
|
121
128
|
const t = /* @__PURE__ */ new Set();
|
|
122
|
-
return
|
|
123
|
-
}),
|
|
129
|
+
return A.value.forEach((e) => e.area && t.add(e.area)), Array.from(t).map((e) => ({ label: e, value: e }));
|
|
130
|
+
}), T = m(() => {
|
|
124
131
|
const t = /* @__PURE__ */ new Set();
|
|
125
|
-
return
|
|
126
|
-
}),
|
|
132
|
+
return A.value.filter((e) => e.area === a.area).forEach((e) => e.line && t.add(e.line)), Array.from(t).map((e) => ({ label: e, value: e }));
|
|
133
|
+
}), D = m(() => {
|
|
127
134
|
const t = /* @__PURE__ */ new Set();
|
|
128
|
-
return
|
|
135
|
+
return A.value.filter((e) => e.area === a.area && e.line === a.line).forEach((e) => e.point && t.add(e.point)), Array.from(t).map((e) => ({ label: e, value: e }));
|
|
129
136
|
}), ee = [
|
|
130
137
|
{ label: "一天内", value: "1d" },
|
|
131
138
|
{ label: "一周内", value: "1w" },
|
|
132
139
|
{ label: "一个月内", value: "1m" }
|
|
133
140
|
], Y = (() => {
|
|
134
141
|
var e;
|
|
135
|
-
const t = (((e =
|
|
142
|
+
const t = (((e = n.conf) == null ? void 0 : e.data) || []).find((s) => !!s.point);
|
|
136
143
|
return { area: (t == null ? void 0 : t.area) || "", line: (t == null ? void 0 : t.line) || "", point: (t == null ? void 0 : t.point) || "" };
|
|
137
|
-
})(), F =
|
|
144
|
+
})(), F = o.value.defaultTimeRange || "1d", te = F === "1w" ? h().subtract(1, "week") : F === "1m" ? h().subtract(1, "month") : h().subtract(1, "day"), a = he({
|
|
138
145
|
area: Y.area,
|
|
139
146
|
line: Y.line,
|
|
140
147
|
point: Y.point,
|
|
@@ -145,23 +152,23 @@ const Fe = { class: "filter-bar" }, Be = {
|
|
|
145
152
|
]
|
|
146
153
|
}), le = () => {
|
|
147
154
|
var e;
|
|
148
|
-
const t =
|
|
155
|
+
const t = T.value;
|
|
149
156
|
a.line = ((e = t[0]) == null ? void 0 : e.value) || "", Re(() => {
|
|
150
157
|
var d;
|
|
151
|
-
const s =
|
|
158
|
+
const s = D.value;
|
|
152
159
|
a.point = ((d = s[0]) == null ? void 0 : d.value) || "";
|
|
153
160
|
});
|
|
154
161
|
}, ae = () => {
|
|
155
162
|
var e;
|
|
156
|
-
const t =
|
|
163
|
+
const t = D.value;
|
|
157
164
|
a.point = ((e = t[0]) == null ? void 0 : e.value) || "";
|
|
158
|
-
},
|
|
165
|
+
}, ne = (t) => {
|
|
159
166
|
a.timeRange = t;
|
|
160
167
|
const e = h(), s = t === "1d" ? e.subtract(1, "day") : t === "1w" ? e.subtract(1, "week") : e.subtract(1, "month");
|
|
161
168
|
a.dateRange = [s.format("YYYY/MM/DD HH:mm"), e.format("YYYY/MM/DD HH:mm")];
|
|
162
|
-
},
|
|
163
|
-
if (
|
|
164
|
-
const t =
|
|
169
|
+
}, oe = () => {
|
|
170
|
+
if (n.mode === "edit") return;
|
|
171
|
+
const t = B.value.find((e) => e.area === a.area && e.line === a.line && e.point === a.point);
|
|
165
172
|
y.publish({
|
|
166
173
|
type: "filter",
|
|
167
174
|
area: a.area,
|
|
@@ -172,17 +179,17 @@ const Fe = { class: "filter-bar" }, Be = {
|
|
|
172
179
|
dateRange: [...a.dateRange]
|
|
173
180
|
});
|
|
174
181
|
}, re = m(() => ({
|
|
175
|
-
backgroundColor:
|
|
176
|
-
color:
|
|
177
|
-
fontSize: `${
|
|
178
|
-
borderBottom: `1px solid ${
|
|
182
|
+
backgroundColor: o.value.bgColor,
|
|
183
|
+
color: o.value.textColor,
|
|
184
|
+
fontSize: `${o.value.fontSize}px`,
|
|
185
|
+
borderBottom: `1px solid ${o.value.borderColor}`
|
|
179
186
|
})), g = m(() => ({
|
|
180
|
-
color:
|
|
181
|
-
fontSize: `${
|
|
187
|
+
color: o.value.labelColor,
|
|
188
|
+
fontSize: `${o.value.fontSize}px`
|
|
182
189
|
})), ie = m(() => ({
|
|
183
190
|
color: "#fff",
|
|
184
|
-
background:
|
|
185
|
-
borderColor:
|
|
191
|
+
background: o.value.btnActiveColor,
|
|
192
|
+
borderColor: o.value.btnActiveColor
|
|
186
193
|
}));
|
|
187
194
|
return ge(() => {
|
|
188
195
|
y.init();
|
|
@@ -195,7 +202,7 @@ const Fe = { class: "filter-bar" }, Be = {
|
|
|
195
202
|
style: v(re.value)
|
|
196
203
|
}, [
|
|
197
204
|
p("div", Fe, [
|
|
198
|
-
f(
|
|
205
|
+
f(o).showAreaFilter ? (r(), c("div", Me, [
|
|
199
206
|
p("span", {
|
|
200
207
|
class: "filter-label",
|
|
201
208
|
style: v(g.value)
|
|
@@ -217,7 +224,7 @@ const Fe = { class: "filter-bar" }, Be = {
|
|
|
217
224
|
_: 1
|
|
218
225
|
}, 8, ["modelValue"])
|
|
219
226
|
])) : b("", !0),
|
|
220
|
-
f(
|
|
227
|
+
f(o).showLineFilter ? (r(), c("div", Be, [
|
|
221
228
|
p("span", {
|
|
222
229
|
class: "filter-label",
|
|
223
230
|
style: v(g.value)
|
|
@@ -230,7 +237,7 @@ const Fe = { class: "filter-bar" }, Be = {
|
|
|
230
237
|
onChange: ae
|
|
231
238
|
}, {
|
|
232
239
|
default: k(() => [
|
|
233
|
-
(r(!0), c(S, null, R(
|
|
240
|
+
(r(!0), c(S, null, R(T.value, (l) => (r(), x(s, {
|
|
234
241
|
key: l.value,
|
|
235
242
|
label: l.label,
|
|
236
243
|
value: l.value
|
|
@@ -239,7 +246,7 @@ const Fe = { class: "filter-bar" }, Be = {
|
|
|
239
246
|
_: 1
|
|
240
247
|
}, 8, ["modelValue"])
|
|
241
248
|
])) : b("", !0),
|
|
242
|
-
f(
|
|
249
|
+
f(o).showPointFilter ? (r(), c("div", Te, [
|
|
243
250
|
p("span", {
|
|
244
251
|
class: "filter-label",
|
|
245
252
|
style: v(g.value)
|
|
@@ -251,7 +258,7 @@ const Fe = { class: "filter-bar" }, Be = {
|
|
|
251
258
|
style: { width: "80px" }
|
|
252
259
|
}, {
|
|
253
260
|
default: k(() => [
|
|
254
|
-
(r(!0), c(S, null, R(
|
|
261
|
+
(r(!0), c(S, null, R(D.value, (l) => (r(), x(s, {
|
|
255
262
|
key: l.value,
|
|
256
263
|
label: l.label,
|
|
257
264
|
value: l.value
|
|
@@ -260,7 +267,7 @@ const Fe = { class: "filter-bar" }, Be = {
|
|
|
260
267
|
_: 1
|
|
261
268
|
}, 8, ["modelValue"])
|
|
262
269
|
])) : b("", !0),
|
|
263
|
-
f(
|
|
270
|
+
f(o).showTimeRange ? (r(), c("div", Ee, [
|
|
264
271
|
p("span", {
|
|
265
272
|
class: "filter-label",
|
|
266
273
|
style: v(g.value)
|
|
@@ -270,11 +277,11 @@ const Fe = { class: "filter-bar" }, Be = {
|
|
|
270
277
|
key: l.value,
|
|
271
278
|
class: _e(["range-btn", { active: a.timeRange === l.value }]),
|
|
272
279
|
style: v(a.timeRange === l.value ? ie.value : {}),
|
|
273
|
-
onClick: (
|
|
280
|
+
onClick: (M) => ne(l.value)
|
|
274
281
|
}, we(l.label), 15, Ne)), 64))
|
|
275
282
|
])
|
|
276
283
|
])) : b("", !0),
|
|
277
|
-
f(
|
|
284
|
+
f(o).showDatePicker ? (r(), c("div", Oe, [
|
|
278
285
|
w(C, {
|
|
279
286
|
modelValue: a.dateRange,
|
|
280
287
|
"onUpdate:modelValue": e[3] || (e[3] = (l) => a.dateRange = l),
|
|
@@ -288,11 +295,11 @@ const Fe = { class: "filter-bar" }, Be = {
|
|
|
288
295
|
style: { "max-width": "340px", "min-width": "200px", width: "100%" }
|
|
289
296
|
}, null, 8, ["modelValue"])
|
|
290
297
|
])) : b("", !0),
|
|
291
|
-
f(
|
|
298
|
+
f(o).showQueryBtn ? (r(), x(_, {
|
|
292
299
|
key: 5,
|
|
293
300
|
type: "primary",
|
|
294
301
|
size: "small",
|
|
295
|
-
onClick:
|
|
302
|
+
onClick: oe
|
|
296
303
|
}, {
|
|
297
304
|
default: k(() => [...e[4] || (e[4] = [
|
|
298
305
|
ke("查询", -1)
|
|
@@ -304,7 +311,7 @@ const Fe = { class: "filter-bar" }, Be = {
|
|
|
304
311
|
], 4);
|
|
305
312
|
};
|
|
306
313
|
}
|
|
307
|
-
})),
|
|
314
|
+
})), ot = /* @__PURE__ */ Ae(Qe, [["__scopeId", "data-v-2639ea88"]]);
|
|
308
315
|
export {
|
|
309
|
-
|
|
316
|
+
ot as default
|
|
310
317
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var Z=Object.defineProperty,ee=Object.defineProperties;var te=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var le=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable;var j=(c,n,i)=>n in c?Z(c,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):c[n]=i,P=(c,n)=>{for(var i in n||(n={}))le.call(n,i)&&j(c,i,n[i]);if(L)for(var i of L(n))ae.call(n,i)&&j(c,i,n[i]);return c},H=(c,n)=>ee(c,te(n));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/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 t=require("vue");require("html2canvas");const oe=require("./BaseComponent-Chnv4fBT.cjs"),d=require("./index-DVqMfQVc.cjs"),q=require("./ele-lin-icon-Dke_1AmT.cjs"),ne={class:"filter-bar"},re={key:0,class:"filter-item"},ie={key:1,class:"filter-item"},se={key:2,class:"filter-item"},ce={key:3,class:"filter-item"},ue={class:"time-range-btns"},de=["onClick"],me={key:4,class:"filter-item date-picker-item"},pe={DEFAULT_ICON:q.DEFAULT_ICON,ACTIVE_ICON:q.ACTIVE_ICON,NAME_CN:"GNSS筛选栏",NAME_EN:"GNSS Filter Bar",ORDER:1,PLATFORM:["pc","screen"]},ve={bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},labelColor:{value:"#1c3d90",type:"color",label:"标签文字颜色"},borderColor:{value:"#e8ecef",type:"color",label:"边框颜色"},btnActiveColor:{value:"#409eff",type:"color",label:"按钮激活颜色"},padding:{value:8,type:"number",label:"component.options.padding",min:0,max:40},fontSize:{value:13,type:"number",label:"字体大小",min:10,max:20},showAreaFilter:{value:!0,type:"checkbox",label:"显示区域筛选"},showLineFilter:{value:!0,type:"checkbox",label:"显示监测线筛选"},showPointFilter:{value:!0,type:"checkbox",label:"显示监测点筛选"},showTimeRange:{value:!0,type:"checkbox",label:"显示时间范围"},showDatePicker:{value:!0,type:"checkbox",label:"显示日期选择器"},showQueryBtn:{value:!0,type:"checkbox",label:"显示查询按钮"},defaultTimeRange:{value:"1d",type:"select",label:"默认时间范围",options:[{label:"一天内",value:"1d"},{label:"一周内",value:"1w"},{label:"一个月内",value:"1m"}]},linkChannel:{value:"gnss",type:"select",label:"联动频道",options:[{label:"GNSS监测",value:"gnss"},{label:"边坡监测",value:"slope"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},fe=[{object_id:"",area:"北帮",line:"1号线",point:"35"},{object_id:"",area:"北帮",line:"1号线",point:"55"},{object_id:"",area:"北帮",line:"2号线",point:"110"},{object_id:"",area:"东帮",line:"3号线",point:"33"}],be=["object_id","area","line","point"],ye=["mosaic"],ke={useAlias:!1,multiObject:!0,source:"mosaic"},ge={DEFAULT:pe,OPTIONS:ve,DATA:fe,PARAMS:be,SOURCE:ye,COMMON:ke},he=t.defineComponent(H(P({},ge),{__name:"gnssFilterBar",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(c){const n=c;class i extends oe.BaseComponent{extractStyles(){var v,f,a,C,B,S,E,V,N,x,R,F,A,D,Y,T,M,z,O;const e=(v=this.props.conf)==null?void 0:v.options,s=((f=e==null?void 0:e.linkChannel)==null?void 0:f.value)||"gnss",u=((a=e==null?void 0:e.customChannel)==null?void 0:a.value)||"";return{bgColor:((C=e==null?void 0:e.bgColor)==null?void 0:C.value)||"#ffffff",textColor:((B=e==null?void 0:e.textColor)==null?void 0:B.value)||"#333333",labelColor:((S=e==null?void 0:e.labelColor)==null?void 0:S.value)||"#1c3d90",borderColor:((E=e==null?void 0:e.borderColor)==null?void 0:E.value)||"#e8ecef",btnActiveColor:((V=e==null?void 0:e.btnActiveColor)==null?void 0:V.value)||"#409eff",padding:(x=(N=e==null?void 0:e.padding)==null?void 0:N.value)!=null?x:8,fontSize:(F=(R=e==null?void 0:e.fontSize)==null?void 0:R.value)!=null?F:13,showAreaFilter:((A=e==null?void 0:e.showAreaFilter)==null?void 0:A.value)!==!1,showLineFilter:((D=e==null?void 0:e.showLineFilter)==null?void 0:D.value)!==!1,showPointFilter:((Y=e==null?void 0:e.showPointFilter)==null?void 0:Y.value)!==!1,showTimeRange:((T=e==null?void 0:e.showTimeRange)==null?void 0:T.value)!==!1,showDatePicker:((M=e==null?void 0:e.showDatePicker)==null?void 0:M.value)!==!1,showQueryBtn:((z=e==null?void 0:e.showQueryBtn)==null?void 0:z.value)!==!1,defaultTimeRange:((O=e==null?void 0:e.defaultTimeRange)==null?void 0:O.value)||"1d",linkChannel:s==="custom"&&u?u:s}}}const m=new i(n,"gnssFilterBar");m.setupLifecycle();const r=m.getStyle(),w=t.computed(()=>{var l;return((l=n.conf)==null?void 0:l.data)||[]}),y=t.computed(()=>{const l=new Set;return w.value.filter(e=>e.point&&!l.has(e.point)?(l.add(e.point),!0):!1)}),I=t.computed(()=>{const l=new Set;return y.value.forEach(e=>e.area&&l.add(e.area)),Array.from(l).map(e=>({label:e,value:e}))}),_=t.computed(()=>{const l=new Set;return y.value.filter(e=>e.area===o.area).forEach(e=>e.line&&l.add(e.line)),Array.from(l).map(e=>({label:e,value:e}))}),k=t.computed(()=>{const l=new Set;return y.value.filter(e=>e.area===o.area&&e.line===o.line).forEach(e=>e.point&&l.add(e.point)),Array.from(l).map(e=>({label:e,value:e}))}),U=[{label:"一天内",value:"1d"},{label:"一周内",value:"1w"},{label:"一个月内",value:"1m"}],g=(()=>{var e;const l=(((e=n.conf)==null?void 0:e.data)||[]).find(s=>!!s.point);return{area:(l==null?void 0:l.area)||"",line:(l==null?void 0:l.line)||"",point:(l==null?void 0:l.point)||""}})(),h=r.value.defaultTimeRange||"1d",Q=h==="1w"?d.dayjs().subtract(1,"week"):h==="1m"?d.dayjs().subtract(1,"month"):d.dayjs().subtract(1,"day"),o=t.reactive({area:g.area,line:g.line,point:g.point,timeRange:h,dateRange:[Q.format("YYYY/MM/DD HH:mm"),d.dayjs().format("YYYY/MM/DD HH:mm")]}),$=()=>{var e;const l=_.value;o.line=((e=l[0])==null?void 0:e.value)||"",t.nextTick(()=>{var u;const s=k.value;o.point=((u=s[0])==null?void 0:u.value)||""})},G=()=>{var e;const l=k.value;o.point=((e=l[0])==null?void 0:e.value)||""},W=l=>{o.timeRange=l;const e=d.dayjs(),s=l==="1d"?e.subtract(1,"day"):l==="1w"?e.subtract(1,"week"):e.subtract(1,"month");o.dateRange=[s.format("YYYY/MM/DD HH:mm"),e.format("YYYY/MM/DD HH:mm")]},J=()=>{if(n.mode==="edit")return;const l=w.value.find(e=>e.area===o.area&&e.line===o.line&&e.point===o.point);m.publish({type:"filter",area:o.area,line:o.line,point:o.point,objectId:(l==null?void 0:l.object_id)||"",timeRange:o.timeRange,dateRange:[...o.dateRange]})},K=t.computed(()=>({backgroundColor:r.value.bgColor,color:r.value.textColor,fontSize:`${r.value.fontSize}px`,borderBottom:`1px solid ${r.value.borderColor}`})),p=t.computed(()=>({color:r.value.labelColor,fontSize:`${r.value.fontSize}px`})),X=t.computed(()=>({color:"#fff",background:r.value.btnActiveColor,borderColor:r.value.btnActiveColor}));return t.onMounted(()=>{m.init()}),t.onUnmounted(()=>{m.cleanup()}),(l,e)=>{const s=b.ElOption,u=b.ElSelect,v=b.ElDatePicker,f=b.ElButton;return t.openBlock(),t.createElementBlock("div",{class:"gnss-filter-bar-wrap",style:t.normalizeStyle(K.value)},[t.createElementVNode("div",ne,[t.unref(r).showAreaFilter?(t.openBlock(),t.createElementBlock("div",re,[t.createElementVNode("span",{class:"filter-label",style:t.normalizeStyle(p.value)},"区域位置:",4),t.createVNode(u,{modelValue:o.area,"onUpdate:modelValue":e[0]||(e[0]=a=>o.area=a),size:"small",style:{width:"90px"},onChange:$},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(I.value,a=>(t.openBlock(),t.createBlock(s,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])):t.createCommentVNode("",!0),t.unref(r).showLineFilter?(t.openBlock(),t.createElementBlock("div",ie,[t.createElementVNode("span",{class:"filter-label",style:t.normalizeStyle(p.value)},"监测线:",4),t.createVNode(u,{modelValue:o.line,"onUpdate:modelValue":e[1]||(e[1]=a=>o.line=a),size:"small",style:{width:"90px"},onChange:G},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_.value,a=>(t.openBlock(),t.createBlock(s,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])):t.createCommentVNode("",!0),t.unref(r).showPointFilter?(t.openBlock(),t.createElementBlock("div",se,[t.createElementVNode("span",{class:"filter-label",style:t.normalizeStyle(p.value)},"监测点:",4),t.createVNode(u,{modelValue:o.point,"onUpdate:modelValue":e[2]||(e[2]=a=>o.point=a),size:"small",style:{width:"80px"}},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(k.value,a=>(t.openBlock(),t.createBlock(s,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])):t.createCommentVNode("",!0),t.unref(r).showTimeRange?(t.openBlock(),t.createElementBlock("div",ce,[t.createElementVNode("span",{class:"filter-label",style:t.normalizeStyle(p.value)},"时间范围:",4),t.createElementVNode("div",ue,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(U,a=>t.createElementVNode("button",{key:a.value,class:t.normalizeClass(["range-btn",{active:o.timeRange===a.value}]),style:t.normalizeStyle(o.timeRange===a.value?X.value:{}),onClick:C=>W(a.value)},t.toDisplayString(a.label),15,de)),64))])])):t.createCommentVNode("",!0),t.unref(r).showDatePicker?(t.openBlock(),t.createElementBlock("div",me,[t.createVNode(v,{modelValue:o.dateRange,"onUpdate:modelValue":e[3]||(e[3]=a=>o.dateRange=a),type:"datetimerange",size:"small",format:"YYYY/MM/DD HH:mm","value-format":"YYYY/MM/DD HH:mm","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",style:{"max-width":"340px","min-width":"200px",width:"100%"}},null,8,["modelValue"])])):t.createCommentVNode("",!0),t.unref(r).showQueryBtn?(t.openBlock(),t.createBlock(f,{key:5,type:"primary",size:"small",onClick:J},{default:t.withCtx(()=>[...e[4]||(e[4]=[t.createTextVNode("查询",-1)])]),_:1})):t.createCommentVNode("",!0)]),t.renderSlot(l.$slots,"default",{},void 0,!0)],4)}}})),Ce=d._export_sfc(he,[["__scopeId","data-v-2639ea88"]]);exports.default=Ce;
|
|
@@ -10,33 +10,41 @@ var m = Math.pow, lt = (f, o, d) => o in f ? Yt(f, o, { enumerable: !0, configur
|
|
|
10
10
|
Ct.call(o, d) && lt(f, d, o[d]);
|
|
11
11
|
return f;
|
|
12
12
|
}, ct = (f, o) => Dt(f, Mt(o));
|
|
13
|
-
var Q = (f, o, d) => new Promise((
|
|
13
|
+
var Q = (f, o, d) => new Promise((O, L) => {
|
|
14
14
|
var _ = (w) => {
|
|
15
15
|
try {
|
|
16
16
|
g(d.next(w));
|
|
17
17
|
} catch (x) {
|
|
18
|
-
|
|
18
|
+
L(x);
|
|
19
19
|
}
|
|
20
|
-
},
|
|
20
|
+
}, N = (w) => {
|
|
21
21
|
try {
|
|
22
22
|
g(d.throw(w));
|
|
23
23
|
} catch (x) {
|
|
24
|
-
|
|
24
|
+
L(x);
|
|
25
25
|
}
|
|
26
|
-
}, g = (w) => w.done ?
|
|
26
|
+
}, g = (w) => w.done ? O(w.value) : Promise.resolve(w.value).then(_, N);
|
|
27
27
|
g((d = d.apply(f, o)).next());
|
|
28
28
|
});
|
|
29
|
-
import { ElSelect as kt, ElOption as Ft, ElButton as
|
|
29
|
+
import { ElSelect as kt, ElOption as Ft, ElButton as At } from "element-plus/es";
|
|
30
30
|
import "element-plus/es/components/base/style/css";
|
|
31
31
|
import "element-plus/es/components/button/style/css";
|
|
32
32
|
import "element-plus/es/components/select/style/css";
|
|
33
33
|
import "element-plus/es/components/option/style/css";
|
|
34
|
-
import { defineComponent as
|
|
34
|
+
import { defineComponent as Ht, ref as V, reactive as dt, computed as q, onMounted as jt, openBlock as j, createElementBlock as E, normalizeStyle as ut, createElementVNode as l, toDisplayString as G, createVNode as $, withCtx as mt, Fragment as Z, renderList as tt, normalizeClass as ft, createCommentVNode as Et, renderSlot as Ot } from "vue";
|
|
35
35
|
import "html2canvas";
|
|
36
|
-
import {
|
|
37
|
-
import
|
|
36
|
+
import { d as S, a as Nt, _ as Rt } from "./index-DwPJu6XM.js";
|
|
37
|
+
import "element-plus";
|
|
38
|
+
import { E as It } from "./EChartComponentBase-cFfawl6h.js";
|
|
38
39
|
import { A as Tt, D as Vt } from "./ele-lin-icon-Dax-ZiWV.js";
|
|
39
|
-
const Gt = { class: "table-section" }, $t = { class: "table-section-header" },
|
|
40
|
+
const Gt = { class: "table-section" }, $t = { class: "table-section-header" }, Lt = { class: "table-title" }, Pt = { class: "table-toolbar" }, qt = { class: "table-scroll-wrapper" }, Kt = { class: "report-table" }, Ut = { key: 0 }, Bt = ["colspan"], zt = { class: "table-pagination" }, Xt = { class: "page-info" }, Wt = { class: "page-controls" }, Jt = ["disabled"], Qt = { class: "page-num" }, Zt = ["disabled"], te = {
|
|
41
|
+
DEFAULT_ICON: Vt,
|
|
42
|
+
ACTIVE_ICON: Tt,
|
|
43
|
+
NAME_CN: "GNSS历史明细报表",
|
|
44
|
+
NAME_EN: "GNSS History Table",
|
|
45
|
+
ORDER: 5,
|
|
46
|
+
PLATFORM: ["pc", "screen"]
|
|
47
|
+
}, ee = {
|
|
40
48
|
bgColor: { value: "#f5f7fa", type: "color", label: "setting.bgColor" },
|
|
41
49
|
textColor: { value: "#333333", type: "color", label: "setting.textColor" },
|
|
42
50
|
linkChannel: { value: "gnss", type: "select", label: "联动频道", options: [{ label: "GNSS监测", value: "gnss" }, { label: "自定义", value: "custom" }] },
|
|
@@ -44,7 +52,7 @@ const Gt = { class: "table-section" }, $t = { class: "table-section-header" }, q
|
|
|
44
52
|
}, ne = [
|
|
45
53
|
{ name: "序号", fv: "_index", object_id: "" },
|
|
46
54
|
{ name: "时间", fv: "_time", object_id: "" }
|
|
47
|
-
], se = ["name", "fv", "object_id"], oe = ["mosaic", "statistics", "statisticsRealtime"], ae = { useAlias: !1, multiObject: !0, hideMultiObject: !1, source: "mosaic" }, ie = { DEFAULT: te, OPTIONS: ee, DATA: ne, PARAMS: se, SOURCE: oe, COMMON: ae }, le = /* @__PURE__ */
|
|
55
|
+
], se = ["name", "fv", "object_id"], oe = ["mosaic", "statistics", "statisticsRealtime"], ae = { useAlias: !1, multiObject: !0, hideMultiObject: !1, source: "mosaic" }, ie = { DEFAULT: te, OPTIONS: ee, DATA: ne, PARAMS: se, SOURCE: oe, COMMON: ae }, le = /* @__PURE__ */ Ht(ct(rt({}, ie), {
|
|
48
56
|
__name: "gnssHistoryTable",
|
|
49
57
|
props: { conf: { type: Object, default: () => ({ data: [] }) }, mode: { type: String, default: "edit" }, uid: { type: String, default: "" }, theme: { type: String, default: "light" } },
|
|
50
58
|
setup(f) {
|
|
@@ -92,16 +100,16 @@ const Gt = { class: "table-section" }, $t = { class: "table-section-header" }, q
|
|
|
92
100
|
}), Object.keys(c).length === 0) return;
|
|
93
101
|
const a = {
|
|
94
102
|
time: i,
|
|
95
|
-
area:
|
|
103
|
+
area: N.value || "-",
|
|
96
104
|
device: _.value ? `GNSS${_.value}` : "GNSS",
|
|
97
105
|
metrics: c
|
|
98
106
|
};
|
|
99
107
|
Y.rows.unshift(a), Y.rows.length > 1e3 && (Y.rows = Y.rows.slice(0, 1e3));
|
|
100
108
|
}
|
|
101
109
|
}
|
|
102
|
-
const
|
|
103
|
-
|
|
104
|
-
const
|
|
110
|
+
const O = new d(o, "gnssHistoryTable");
|
|
111
|
+
O.setupLifecycle();
|
|
112
|
+
const L = O.getStyle(), _ = V(""), N = V(""), g = V(""), w = V([]), x = dt({ timeRange: "1d", dateRange: [S().subtract(1, "day").format("YYYY/MM/DD HH:mm"), S().format("YYYY/MM/DD HH:mm")] }), W = () => Q(null, null, function* () {
|
|
105
113
|
var s, c;
|
|
106
114
|
if (C.value = 1, o.mode === "edit") {
|
|
107
115
|
ot();
|
|
@@ -109,7 +117,7 @@ const Gt = { class: "table-section" }, $t = { class: "table-section-header" }, q
|
|
|
109
117
|
}
|
|
110
118
|
if (!g.value) return;
|
|
111
119
|
Y.rows = [];
|
|
112
|
-
const e = (s =
|
|
120
|
+
const e = (s = O.session) == null ? void 0 : s.value, t = (c = o.conf) == null ? void 0 : c.id;
|
|
113
121
|
e != null && e.componentRequests && t && e.componentRequests.delete(t);
|
|
114
122
|
const { data: n, common: r } = o.conf;
|
|
115
123
|
Array.isArray(n) && n.forEach((a) => {
|
|
@@ -127,36 +135,36 @@ const Gt = { class: "table-section" }, $t = { class: "table-section-header" }, q
|
|
|
127
135
|
};
|
|
128
136
|
I.length > 0 && (z.keys = I);
|
|
129
137
|
const h = [z], F = yield new Promise((M) => {
|
|
130
|
-
|
|
131
|
-
M(
|
|
138
|
+
Nt.platform((P) => {
|
|
139
|
+
M(P.result);
|
|
132
140
|
}, {
|
|
133
141
|
block_mapping: "mixtools",
|
|
134
142
|
action: "get_tools_mosaic_list",
|
|
135
143
|
condition: h
|
|
136
144
|
});
|
|
137
|
-
}), v = Array.isArray(F) ? F : [F],
|
|
138
|
-
if (Array.isArray(
|
|
145
|
+
}), v = Array.isArray(F) ? F : [F], H = v[0] && typeof v[0] == "object" && Array.isArray(v[0].data) ? v[0].data : Array.isArray(v[0]) ? v[0] : [];
|
|
146
|
+
if (Array.isArray(H) && H.length > 0) {
|
|
139
147
|
const M = ["time", "datetime", "object_id", "_index", "_time"];
|
|
140
148
|
if (D.length === 0) {
|
|
141
|
-
const p =
|
|
149
|
+
const p = H[0];
|
|
142
150
|
Object.keys(p).filter((y) => !M.includes(y)).forEach((y) => {
|
|
143
151
|
o.conf.data.some((T) => T.fv === y) || o.conf.data.push({ name: y, fv: y, object_id: g.value });
|
|
144
152
|
});
|
|
145
153
|
}
|
|
146
|
-
const
|
|
147
|
-
[...
|
|
148
|
-
const y = p.time || p.datetime || "", R =
|
|
154
|
+
const P = (o.conf.data || []).filter((p) => p.fv && !et.includes(p.fv));
|
|
155
|
+
[...H].sort((p, A) => {
|
|
156
|
+
const y = p.time || p.datetime || "", R = A.time || A.datetime || "";
|
|
149
157
|
return new Date(R).getTime() - new Date(y).getTime();
|
|
150
158
|
}).forEach((p) => {
|
|
151
|
-
const
|
|
152
|
-
if (!
|
|
159
|
+
const A = p.time || p.datetime;
|
|
160
|
+
if (!A) return;
|
|
153
161
|
const y = {};
|
|
154
|
-
|
|
162
|
+
P.forEach((R) => {
|
|
155
163
|
const T = p[R.fv];
|
|
156
164
|
T != null && (y[R.fv] = String(T));
|
|
157
165
|
}), Object.keys(y).length > 0 && Y.rows.push({
|
|
158
|
-
time: S(
|
|
159
|
-
area:
|
|
166
|
+
time: S(A).format("YYYY/MM/DD HH:mm:ss"),
|
|
167
|
+
area: N.value || "-",
|
|
160
168
|
device: _.value ? `GNSS${_.value}` : "GNSS",
|
|
161
169
|
metrics: y
|
|
162
170
|
});
|
|
@@ -166,16 +174,16 @@ const Gt = { class: "table-section" }, $t = { class: "table-section-header" }, q
|
|
|
166
174
|
} catch (a) {
|
|
167
175
|
console.warn("[GNSS历史明细] 历史数据获取失败:", a);
|
|
168
176
|
}
|
|
169
|
-
const i =
|
|
170
|
-
|
|
171
|
-
}), pt =
|
|
177
|
+
const i = O.getSource();
|
|
178
|
+
O.subscribeBySource(i, g.value);
|
|
179
|
+
}), pt = q(() => ({ backgroundColor: L.value.bgColor, color: L.value.textColor })), et = ["_index", "_time"], gt = (e) => e === "_index" ? "index" : e === "_time" ? "time" : "data", K = q(() => {
|
|
172
180
|
const { data: e } = o.conf;
|
|
173
181
|
return !e || !Array.isArray(e) ? [] : e.map((t) => ({
|
|
174
182
|
key: t.fv || "",
|
|
175
183
|
label: t.name || t.fv || "-",
|
|
176
184
|
type: gt(t.fv || "")
|
|
177
185
|
})).filter((t) => t.key);
|
|
178
|
-
}), J = V("hour"), C = V(1), U = 15, Y = dt({ rows: [] }), B =
|
|
186
|
+
}), J = V("hour"), C = V(1), U = 15, Y = dt({ rows: [] }), B = q(() => {
|
|
179
187
|
const e = J.value;
|
|
180
188
|
if (e === "hour") return Y.rows;
|
|
181
189
|
const t = /* @__PURE__ */ new Set(), n = [];
|
|
@@ -190,19 +198,19 @@ const Gt = { class: "table-section" }, $t = { class: "table-section-header" }, q
|
|
|
190
198
|
t.has(s) || (t.add(s), n.push(r));
|
|
191
199
|
}
|
|
192
200
|
return n;
|
|
193
|
-
}), nt =
|
|
201
|
+
}), nt = q(() => Math.max(1, Math.ceil(B.value.length / U))), st = q(() => {
|
|
194
202
|
const e = (C.value - 1) * U;
|
|
195
203
|
return B.value.slice(e, e + U);
|
|
196
204
|
}), yt = () => {
|
|
197
205
|
C.value = 1;
|
|
198
206
|
}, ot = () => {
|
|
199
|
-
const e =
|
|
207
|
+
const e = N.value || "-", t = _.value ? `GNSS${_.value}` : "GNSS", n = parseInt(_.value) || 50, r = S(), i = 100, s = +(2450 + n * 0.1).toFixed(2), c = +(1300 + n * 0.02).toFixed(2), a = +(1150 + n * 0.01).toFixed(2);
|
|
200
208
|
let u = 0, b = 0, k = 0;
|
|
201
209
|
const D = [];
|
|
202
210
|
for (let I = 0; I < i; I++) {
|
|
203
|
-
const z = r.subtract((i - I) * 60, "minute"), h = () => Math.random() - 0.5, F = +(0.8 + h() * 0.2).toFixed(2), v = +(0.65 + h() * 0.15).toFixed(2),
|
|
204
|
-
u += F, b += v, k +=
|
|
205
|
-
const X = +(8 + h() * 1.5).toFixed(2), p = +(8 + h() * 1.5).toFixed(2),
|
|
211
|
+
const z = r.subtract((i - I) * 60, "minute"), h = () => Math.random() - 0.5, F = +(0.8 + h() * 0.2).toFixed(2), v = +(0.65 + h() * 0.15).toFixed(2), H = +(0.01 + h() * 0.02).toFixed(2), M = +Math.sqrt(m(F, 2) + m(v, 2)).toFixed(2), P = +Math.sqrt(m(F, 2) + m(v, 2) + m(H, 2)).toFixed(2);
|
|
212
|
+
u += F, b += v, k += H;
|
|
213
|
+
const X = +(8 + h() * 1.5).toFixed(2), p = +(8 + h() * 1.5).toFixed(2), A = +(8.5 + h() * 1).toFixed(2), y = +Math.sqrt(m(X, 2) + m(p, 2)).toFixed(2), R = +Math.sqrt(m(X, 2) + m(p, 2) + m(A, 2)).toFixed(2), T = +(h() * 0.1).toFixed(3), ht = +(h() * 0.08).toFixed(3), St = +(h() * 0.06).toFixed(3), xt = +(Math.atan2(v, F) * 180 / Math.PI).toFixed(1);
|
|
206
214
|
D.push({
|
|
207
215
|
time: z.format("YYYY/MM/DD HH:mm:ss"),
|
|
208
216
|
area: e,
|
|
@@ -213,9 +221,9 @@ const Gt = { class: "table-section" }, $t = { class: "table-section-header" }, q
|
|
|
213
221
|
base_h: String(a),
|
|
214
222
|
x_disp: String(F),
|
|
215
223
|
y_disp: String(v),
|
|
216
|
-
h_disp: String(
|
|
224
|
+
h_disp: String(H),
|
|
217
225
|
xy_disp: String(M),
|
|
218
|
-
xyh_disp: String(
|
|
226
|
+
xyh_disp: String(P),
|
|
219
227
|
x_cum_disp: u.toFixed(2),
|
|
220
228
|
y_cum_disp: b.toFixed(2),
|
|
221
229
|
h_cum_disp: k.toFixed(2),
|
|
@@ -223,7 +231,7 @@ const Gt = { class: "table-section" }, $t = { class: "table-section-header" }, q
|
|
|
223
231
|
xyh_cum_disp: Math.sqrt(m(u, 2) + m(b, 2) + m(k, 2)).toFixed(2),
|
|
224
232
|
x_speed: String(X),
|
|
225
233
|
y_speed: String(p),
|
|
226
|
-
h_speed: String(
|
|
234
|
+
h_speed: String(A),
|
|
227
235
|
xy_speed: String(y),
|
|
228
236
|
xyh_speed: String(R),
|
|
229
237
|
x_accel: String(T),
|
|
@@ -262,27 +270,27 @@ const Gt = { class: "table-section" }, $t = { class: "table-section-header" }, q
|
|
|
262
270
|
const { payload: t } = e;
|
|
263
271
|
if (!t) return;
|
|
264
272
|
if (t.type === "filter") {
|
|
265
|
-
t.point != null && (_.value = String(t.point)), t.area != null && (
|
|
273
|
+
t.point != null && (_.value = String(t.point)), t.area != null && (N.value = String(t.area)), t.objectId != null && (g.value = String(t.objectId)), t.timeRange && (x.timeRange = t.timeRange), t.dateRange && (x.dateRange = t.dateRange), W();
|
|
266
274
|
return;
|
|
267
275
|
}
|
|
268
276
|
const n = t.point || t.deviceId;
|
|
269
|
-
n && (_.value = String(n), t.objectId && (g.value = String(t.objectId)), t.area && (
|
|
277
|
+
n && (_.value = String(n), t.objectId && (g.value = String(t.objectId)), t.area && (N.value = String(t.area)), g.value && W());
|
|
270
278
|
};
|
|
271
279
|
return jt(() => {
|
|
272
280
|
o.mode === "edit" && ot();
|
|
273
281
|
}), (e, t) => {
|
|
274
|
-
const n = Ft, r = kt, i =
|
|
282
|
+
const n = Ft, r = kt, i = At;
|
|
275
283
|
return j(), E("div", {
|
|
276
284
|
class: "gnss-history-table",
|
|
277
285
|
style: ut(pt.value)
|
|
278
286
|
}, [
|
|
279
287
|
l("div", Gt, [
|
|
280
288
|
l("div", $t, [
|
|
281
|
-
l("div",
|
|
289
|
+
l("div", Lt, [
|
|
282
290
|
t[3] || (t[3] = l("span", { class: "table-title-bar" }, null, -1)),
|
|
283
291
|
l("span", null, G(f.conf.caption || f.conf.name || "GNSS监测 历史明细报表"), 1)
|
|
284
292
|
]),
|
|
285
|
-
l("div",
|
|
293
|
+
l("div", Pt, [
|
|
286
294
|
t[5] || (t[5] = l("span", { class: "toolbar-label" }, "显示频率:", -1)),
|
|
287
295
|
$(r, {
|
|
288
296
|
modelValue: J.value,
|
|
@@ -323,7 +331,7 @@ const Gt = { class: "table-section" }, $t = { class: "table-section-header" }, q
|
|
|
323
331
|
})
|
|
324
332
|
])
|
|
325
333
|
]),
|
|
326
|
-
l("div",
|
|
334
|
+
l("div", qt, [
|
|
327
335
|
l("table", Kt, [
|
|
328
336
|
l("thead", null, [
|
|
329
337
|
l("tr", null, [
|
|
@@ -372,11 +380,11 @@ const Gt = { class: "table-section" }, $t = { class: "table-section-header" }, q
|
|
|
372
380
|
])
|
|
373
381
|
])
|
|
374
382
|
]),
|
|
375
|
-
|
|
383
|
+
Ot(e.$slots, "default", {}, void 0, !0)
|
|
376
384
|
], 4);
|
|
377
385
|
};
|
|
378
386
|
}
|
|
379
|
-
})),
|
|
387
|
+
})), he = /* @__PURE__ */ Rt(le, [["__scopeId", "data-v-e1b697cc"]]);
|
|
380
388
|
export {
|
|
381
|
-
|
|
389
|
+
he as default
|
|
382
390
|
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";var pe=Object.defineProperty,fe=Object.defineProperties;var ye=Object.getOwnPropertyDescriptors;var Z=Object.getOwnPropertySymbols;var ge=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable;var m=Math.pow,ee=(p,s,d)=>s in p?pe(p,s,{enumerable:!0,configurable:!0,writable:!0,value:d}):p[s]=d,te=(p,s)=>{for(var d in s||(s={}))ge.call(s,d)&&ee(p,d,s[d]);if(Z)for(var d of Z(s))ve.call(s,d)&&ee(p,d,s[d]);return p},ne=(p,s)=>fe(p,ye(s));var U=(p,s,d)=>new Promise((F,R)=>{var _=M=>{try{y(d.next(M))}catch(x){R(x)}},V=M=>{try{y(d.throw(M))}catch(x){R(x)}},y=M=>M.done?F(M.value):Promise.resolve(M.value).then(_,V);y((d=d.apply(p,s)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const K=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/select/style/css");require("element-plus/es/components/option/style/css");const e=require("vue");require("html2canvas");const v=require("./index-DVqMfQVc.cjs");require("element-plus");const _e=require("./EChartComponentBase-dLE5F7Tt.cjs"),oe=require("./ele-lin-icon-Dke_1AmT.cjs"),be={class:"table-section"},he={class:"table-section-header"},Se={class:"table-title"},xe={class:"table-toolbar"},De={class:"table-scroll-wrapper"},Ye={class:"report-table"},Ee={key:0},Me=["colspan"],Ne={class:"table-pagination"},ke={class:"page-info"},Ce={class:"page-controls"},je=["disabled"],we={class:"page-num"},Fe=["disabled"],Ve={DEFAULT_ICON:oe.DEFAULT_ICON,ACTIVE_ICON:oe.ACTIVE_ICON,NAME_CN:"GNSS历史明细报表",NAME_EN:"GNSS History Table",ORDER:5,PLATFORM:["pc","screen"]},Ae={bgColor:{value:"#f5f7fa",type:"color",label:"setting.bgColor"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},linkChannel:{value:"gnss",type:"select",label:"联动频道",options:[{label:"GNSS监测",value:"gnss"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},He=[{name:"序号",fv:"_index",object_id:""},{name:"时间",fv:"_time",object_id:""}],Oe=["name","fv","object_id"],Re=["mosaic","statistics","statisticsRealtime"],Ie={useAlias:!1,multiObject:!0,hideMultiObject:!1,source:"mosaic"},qe={DEFAULT:Ve,OPTIONS:Ae,DATA:He,PARAMS:Oe,SOURCE:Re,COMMON:Ie},Be=e.defineComponent(ne(te({},qe),{__name:"gnssHistoryTable",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(p){const s=p;class d extends _e.EChartComponentBase{constructor(){super(...arguments),this._lastDedupeKey=""}extractStyles(){const t=this.getOptionValue("linkChannel","gnss"),o=this.getOptionValue("customChannel","");return{bgColor:this.getOptionValue("bgColor","#f5f7fa"),textColor:this.getOptionValue("textColor","#333333"),linkChannel:t==="custom"&&o?o:t}}getChartOption(){return{}}onLinkEvent(t){ce(t)}needsHistoryData(){return!1}onPreview(){return U(this,null,function*(){var o,i,r,a,c;const t=((i=(o=this.props.conf)==null?void 0:o.common)==null?void 0:i.object_id)||((c=(a=(r=this.props.conf)==null?void 0:r.data)==null?void 0:a[0])==null?void 0:c.object_id)||"";t&&this.props.mode==="preview"&&(y.value=String(t),M.value=[String(t)],yield $())})}setSocketData(t){if(!t||!t.data)return;const{data:o}=this.props.conf;if(!o||!Array.isArray(o))return;const i=["_index","_time"],r=t.datetime||v.dayjs().format("YYYY/MM/DD HH:mm:ss"),a=`${r}_${JSON.stringify(t.data)}`;if(a===this._lastDedupeKey)return;this._lastDedupeKey=a;const c={};if(o.forEach(u=>{if(u.fv&&!i.includes(u.fv)){const h=this.extractDataValue(t,u.fv);h!=null&&(c[u.fv]=String(h))}}),Object.keys(c).length===0)return;const l={time:r,area:V.value||"-",device:_.value?`GNSS${_.value}`:"GNSS",metrics:c};D.rows.unshift(l),D.rows.length>1e3&&(D.rows=D.rows.slice(0,1e3))}}const F=new d(s,"gnssHistoryTable");F.setupLifecycle();const R=F.getStyle(),_=e.ref(""),V=e.ref(""),y=e.ref(""),M=e.ref([]),x=e.reactive({timeRange:"1d",dateRange:[v.dayjs().subtract(1,"day").format("YYYY/MM/DD HH:mm"),v.dayjs().format("YYYY/MM/DD HH:mm")]}),$=()=>U(null,null,function*(){var a,c;if(N.value=1,s.mode==="edit"){J();return}if(!y.value)return;D.rows=[];const n=(a=F.session)==null?void 0:a.value,t=(c=s.conf)==null?void 0:c.id;n!=null&&n.componentRequests&&t&&n.componentRequests.delete(t);const{data:o,common:i}=s.conf;Array.isArray(o)&&o.forEach(l=>{l.object_id=y.value}),i.multiObject||(i.object_id=y.value);try{const l=v.dayjs(x.dateRange[0],"YYYY/MM/DD HH:mm").format("YYYY-MM-DD HH:mm:ss"),u=v.dayjs(x.dateRange[1],"YYYY/MM/DD HH:mm").format("YYYY-MM-DD HH:mm:ss"),h=v.dayjs(x.dateRange[1],"YYYY/MM/DD HH:mm").diff(v.dayjs(x.dateRange[0],"YYYY/MM/DD HH:mm"),"second"),k=Math.max(60,Math.floor(h/500)),Y=(s.conf.data||[]).filter(E=>E.fv&&!z.includes(E.fv)),H=Y.map(E=>E.fv),L={block_mapping:"influxdbproxy",action:"get_mosaic_list_with_time_span",start_time:l,end_time:u,time_span:k,time_swing:k,object_id:y.value};H.length>0&&(L.keys=H);const S=[L],C=yield new Promise(E=>{v.api.platform(I=>{E(I.result)},{block_mapping:"mixtools",action:"get_tools_mosaic_list",condition:S})}),b=Array.isArray(C)?C:[C],w=b[0]&&typeof b[0]=="object"&&Array.isArray(b[0].data)?b[0].data:Array.isArray(b[0])?b[0]:[];if(Array.isArray(w)&&w.length>0){const E=["time","datetime","object_id","_index","_time"];if(Y.length===0){const f=w[0];Object.keys(f).filter(g=>!E.includes(g)).forEach(g=>{s.conf.data.some(O=>O.fv===g)||s.conf.data.push({name:g,fv:g,object_id:y.value})})}const I=(s.conf.data||[]).filter(f=>f.fv&&!z.includes(f.fv));[...w].sort((f,j)=>{const g=f.time||f.datetime||"",A=j.time||j.datetime||"";return new Date(A).getTime()-new Date(g).getTime()}).forEach(f=>{const j=f.time||f.datetime;if(!j)return;const g={};I.forEach(A=>{const O=f[A.fv];O!=null&&(g[A.fv]=String(O))}),Object.keys(g).length>0&&D.rows.push({time:v.dayjs(j).format("YYYY/MM/DD HH:mm:ss"),area:V.value||"-",device:_.value?`GNSS${_.value}`:"GNSS",metrics:g})})}console.log(`[GNSS历史明细] 历史数据加载完成,共 ${D.rows.length} 条,时间范围: ${l} ~ ${u}`)}catch(l){console.warn("[GNSS历史明细] 历史数据获取失败:",l)}const r=F.getSource();F.subscribeBySource(r,y.value)}),ae=e.computed(()=>({backgroundColor:R.value.bgColor,color:R.value.textColor})),z=["_index","_time"],se=n=>n==="_index"?"index":n==="_time"?"time":"data",q=e.computed(()=>{const{data:n}=s.conf;return!n||!Array.isArray(n)?[]:n.map(t=>({key:t.fv||"",label:t.name||t.fv||"-",type:se(t.fv||"")})).filter(t=>t.key)}),P=e.ref("hour"),N=e.ref(1),B=15,D=e.reactive({rows:[]}),T=e.computed(()=>{const n=P.value;if(n==="hour")return D.rows;const t=new Set,o=[];for(const i of D.rows){const r=v.dayjs(i.time,"YYYY/MM/DD HH:mm:ss");let a;if(n==="day")a=r.format("YYYY/MM/DD");else if(n==="week"){const c=r.startOf("year");a=r.year()+"-W"+Math.floor(r.diff(c,"day")/7)}else a=r.format("YYYY/MM");t.has(a)||(t.add(a),o.push(i))}return o}),X=e.computed(()=>Math.max(1,Math.ceil(T.value.length/B))),W=e.computed(()=>{const n=(N.value-1)*B;return T.value.slice(n,n+B)}),le=()=>{N.value=1},J=()=>{const n=V.value||"-",t=_.value?`GNSS${_.value}`:"GNSS",o=parseInt(_.value)||50,i=v.dayjs(),r=100,a=+(2450+o*.1).toFixed(2),c=+(1300+o*.02).toFixed(2),l=+(1150+o*.01).toFixed(2);let u=0,h=0,k=0;const Y=[];for(let H=0;H<r;H++){const L=i.subtract((r-H)*60,"minute"),S=()=>Math.random()-.5,C=+(.8+S()*.2).toFixed(2),b=+(.65+S()*.15).toFixed(2),w=+(.01+S()*.02).toFixed(2),E=+Math.sqrt(m(C,2)+m(b,2)).toFixed(2),I=+Math.sqrt(m(C,2)+m(b,2)+m(w,2)).toFixed(2);u+=C,h+=b,k+=w;const G=+(8+S()*1.5).toFixed(2),f=+(8+S()*1.5).toFixed(2),j=+(8.5+S()*1).toFixed(2),g=+Math.sqrt(m(G,2)+m(f,2)).toFixed(2),A=+Math.sqrt(m(G,2)+m(f,2)+m(j,2)).toFixed(2),O=+(S()*.1).toFixed(3),de=+(S()*.08).toFixed(3),ue=+(S()*.06).toFixed(3),me=+(Math.atan2(b,C)*180/Math.PI).toFixed(1);Y.push({time:L.format("YYYY/MM/DD HH:mm:ss"),area:n,device:t,metrics:{base_x:String(a),base_y:String(c),base_h:String(l),x_disp:String(C),y_disp:String(b),h_disp:String(w),xy_disp:String(E),xyh_disp:String(I),x_cum_disp:u.toFixed(2),y_cum_disp:h.toFixed(2),h_cum_disp:k.toFixed(2),xy_cum_disp:Math.sqrt(m(u,2)+m(h,2)).toFixed(2),xyh_cum_disp:Math.sqrt(m(u,2)+m(h,2)+m(k,2)).toFixed(2),x_speed:String(G),y_speed:String(f),h_speed:String(j),xy_speed:String(g),xyh_speed:String(A),x_accel:String(O),y_accel:String(de),h_accel:String(ue),tangent_angle:me+"°"}})}D.rows=Y},re=n=>{if(!n)return"#333";const t=parseFloat(n);return isNaN(t)?"#333":t>=20?"#ee4444":t>=10?"#e6a23c":"#333"},Q=(n,t,o)=>{var i;switch(t.type){case"index":return String((N.value-1)*B+o+1);case"time":return n.time;default:return(i=n.metrics[t.key])!=null?i:"-"}},ie=()=>{const n=q.value,t=T.value;if(!t.length)return;const o=n.map(u=>u.label).join(","),i=t.map((u,h)=>n.map(k=>{const Y=Q(u,k,h);return k.type==="time"||Y.includes(",")||Y.includes('"')?`"${Y.replace(/"/g,'""')}"`:Y}).join(",")).join(`
|
|
2
|
+
`),r="\uFEFF"+o+`
|
|
3
|
+
`+i,a=new Blob([r],{type:"text/csv;charset=utf-8;"}),c=URL.createObjectURL(a),l=document.createElement("a");l.href=c,l.download=`GNSS监测历史明细_${_.value||"all"}_${v.dayjs().format("YYYYMMDDHHmmss")}.csv`,l.click(),URL.revokeObjectURL(c)},ce=n=>{const{payload:t}=n;if(!t)return;if(t.type==="filter"){t.point!=null&&(_.value=String(t.point)),t.area!=null&&(V.value=String(t.area)),t.objectId!=null&&(y.value=String(t.objectId)),t.timeRange&&(x.timeRange=t.timeRange),t.dateRange&&(x.dateRange=t.dateRange),$();return}const o=t.point||t.deviceId;o&&(_.value=String(o),t.objectId&&(y.value=String(t.objectId)),t.area&&(V.value=String(t.area)),y.value&&$())};return e.onMounted(()=>{s.mode==="edit"&&J()}),(n,t)=>{const o=K.ElOption,i=K.ElSelect,r=K.ElButton;return e.openBlock(),e.createElementBlock("div",{class:"gnss-history-table",style:e.normalizeStyle(ae.value)},[e.createElementVNode("div",be,[e.createElementVNode("div",he,[e.createElementVNode("div",Se,[t[3]||(t[3]=e.createElementVNode("span",{class:"table-title-bar"},null,-1)),e.createElementVNode("span",null,e.toDisplayString(p.conf.caption||p.conf.name||"GNSS监测 历史明细报表"),1)]),e.createElementVNode("div",xe,[t[5]||(t[5]=e.createElementVNode("span",{class:"toolbar-label"},"显示频率:",-1)),e.createVNode(i,{modelValue:P.value,"onUpdate:modelValue":t[0]||(t[0]=a=>P.value=a),size:"small",style:{width:"95px"},onChange:le},{default:e.withCtx(()=>[e.createVNode(o,{label:"按小时",value:"hour"}),e.createVNode(o,{label:"按天显示",value:"day"}),e.createVNode(o,{label:"按周显示",value:"week"}),e.createVNode(o,{label:"按月显示",value:"month"})]),_:1},8,["modelValue"]),e.createVNode(r,{size:"small",type:"success",onClick:ie},{default:e.withCtx(()=>[...t[4]||(t[4]=[e.createElementVNode("span",null,"📥 导出分析报表 (Excel)",-1)])]),_:1})])]),e.createElementVNode("div",De,[e.createElementVNode("table",Ye,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(q.value,a=>(e.openBlock(),e.createElementBlock("th",{key:a.key,class:e.normalizeClass({"col-fixed":a.type!=="data","col-idx":a.type==="index","col-time":a.type==="time"})},e.toDisplayString(a.label),3))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(W.value,(a,c)=>(e.openBlock(),e.createElementBlock("tr",{key:c},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(q.value,l=>(e.openBlock(),e.createElementBlock("td",{key:l.key,class:e.normalizeClass({"col-fixed":l.type!=="data","col-idx":l.type==="index","col-time":l.type==="time","cell-angle":l.key==="tangent_angle"}),style:e.normalizeStyle(l.key==="tangent_angle"?{color:re(a.metrics[l.key])}:{})},e.toDisplayString(Q(a,l,c)),7))),128))]))),128)),W.value.length===0?(e.openBlock(),e.createElementBlock("tr",Ee,[e.createElementVNode("td",{colspan:q.value.length,style:{"text-align":"center",color:"#999",padding:"20px"}},"暂无数据",8,Me)])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",Ne,[e.createElementVNode("span",ke,"共 "+e.toDisplayString(T.value.length)+" 条记录",1),e.createElementVNode("div",Ce,[e.createElementVNode("button",{class:"page-arrow",disabled:N.value<=1,onClick:t[1]||(t[1]=a=>N.value--)},"◀",8,je),e.createElementVNode("span",we,e.toDisplayString(N.value)+" / "+e.toDisplayString(X.value),1),e.createElementVNode("button",{class:"page-arrow",disabled:N.value>=X.value,onClick:t[2]||(t[2]=a=>N.value++)},"▶",8,Fe)])])]),e.renderSlot(n.$slots,"default",{},void 0,!0)],4)}}})),Te=v._export_sfc(Be,[["__scopeId","data-v-e1b697cc"]]);exports.default=Te;
|