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
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
var
|
|
1
|
+
var U = Object.defineProperty, B = Object.defineProperties;
|
|
2
2
|
var F = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
4
|
-
var q = Object.prototype.hasOwnProperty,
|
|
5
|
-
var
|
|
3
|
+
var L = Object.getOwnPropertySymbols;
|
|
4
|
+
var q = Object.prototype.hasOwnProperty, j = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var k = (u, a, n) => a in u ? U(u, a, { enumerable: !0, configurable: !0, writable: !0, value: n }) : u[a] = n, z = (u, a) => {
|
|
6
6
|
for (var n in a || (a = {}))
|
|
7
|
-
q.call(a, n) &&
|
|
8
|
-
if (
|
|
9
|
-
for (var n of
|
|
10
|
-
|
|
7
|
+
q.call(a, n) && k(u, n, a[n]);
|
|
8
|
+
if (L)
|
|
9
|
+
for (var n of L(a))
|
|
10
|
+
j.call(a, n) && k(u, n, a[n]);
|
|
11
11
|
return u;
|
|
12
|
-
},
|
|
13
|
-
import { defineComponent as
|
|
14
|
-
import { B as oe, u as ie, p as ae } from "./BaseComponent-
|
|
15
|
-
import {
|
|
12
|
+
}, R = (u, a) => B(u, F(a));
|
|
13
|
+
import { defineComponent as G, ref as J, inject as K, computed as Z, watchEffect as Q, openBlock as W, createElementBlock as X, normalizeStyle as V, unref as S, createElementVNode as b, toDisplayString as Y, renderSlot as ee, nextTick as te } from "vue";
|
|
14
|
+
import { B as oe, u as ie, p as ae } from "./BaseComponent-CBagahPU.js";
|
|
15
|
+
import { I as re, J as C, K as v, n as ne, _ as se } from "./index-DwPJu6XM.js";
|
|
16
16
|
import { g as le } from "./titleStyle-BT5GlpAb.js";
|
|
17
17
|
import { A as ue, D as de } from "./ele-dzc-icon-D6eVpaHp.js";
|
|
18
18
|
import { i as ce } from "./installMarkArea-Cdg4iciO.js";
|
|
@@ -28,7 +28,8 @@ const ve = {
|
|
|
28
28
|
ACTIVE_ICON: ue,
|
|
29
29
|
NAME_CN: "区间曲线",
|
|
30
30
|
NAME_EN: "Range Line",
|
|
31
|
-
ORDER: 6
|
|
31
|
+
ORDER: 6,
|
|
32
|
+
PLATFORM: ["pc", "screen", "mobile"]
|
|
32
33
|
}, _e = {
|
|
33
34
|
titleColor: "#111",
|
|
34
35
|
bgColor: "#fff",
|
|
@@ -43,14 +44,14 @@ const ve = {
|
|
|
43
44
|
points: 30,
|
|
44
45
|
isHideTitle: !1,
|
|
45
46
|
isSmooth: !1
|
|
46
|
-
},
|
|
47
|
+
}, w = [{ name: "参数一", 项目编号: "", object_id: "" }], Ae = ["name", "项目编号", "object_id"], Oe = ["index", "deviation", "stability", "balance", "increment", "risk", "eigen"], De = {
|
|
47
48
|
useAlias: !1,
|
|
48
49
|
null: {
|
|
49
50
|
type: "0",
|
|
50
51
|
value: ""
|
|
51
52
|
},
|
|
52
53
|
source: "index"
|
|
53
|
-
},
|
|
54
|
+
}, Te = 1, Ee = { DEFAULT: ve, OPTIONS: _e, DATA: w, PARAMS: Ae, SOURCE: Oe, ITEMS: Te, COMMON: De }, Le = /* @__PURE__ */ G(R(z({}, Ee), {
|
|
54
55
|
__name: "rangeLin",
|
|
55
56
|
props: {
|
|
56
57
|
conf: { type: Object, default: () => ({ data: [] }) },
|
|
@@ -60,7 +61,7 @@ const ve = {
|
|
|
60
61
|
},
|
|
61
62
|
setup(u) {
|
|
62
63
|
pe([me, ge, he, ce, xe, Se, fe, ye]);
|
|
63
|
-
const a =
|
|
64
|
+
const a = J(K("session", null)), n = "rangelin_" + Math.random().toString(16).substring(4, 12), M = ["rgba(255, 173, 177, 0.2)", "rgba(208, 201, 116, 0.2)", "rgba(28, 118, 140, 1)", "rgba(95, 28, 140, 1)", "rgba(41, 196, 21, 1)"], _ = ["rgb(255, 173, 177)", "rgb(208, 201, 116)", "rgb(28, 118, 140)", "rgb(95, 28, 140)", "rgb(41, 196, 21)"];
|
|
64
65
|
let s = null, x = null;
|
|
65
66
|
const i = u;
|
|
66
67
|
let r = {
|
|
@@ -69,7 +70,7 @@ const ve = {
|
|
|
69
70
|
data: [],
|
|
70
71
|
times: []
|
|
71
72
|
};
|
|
72
|
-
class
|
|
73
|
+
class $ extends oe {
|
|
73
74
|
extractStyles() {
|
|
74
75
|
return {
|
|
75
76
|
bgColor: this.getOptionValue("bgColor", "#fff"),
|
|
@@ -84,21 +85,21 @@ const ve = {
|
|
|
84
85
|
};
|
|
85
86
|
}
|
|
86
87
|
init() {
|
|
87
|
-
super.init(), this.props.conf.data = this.props.conf.data.length ? this.props.conf.data :
|
|
88
|
+
super.init(), this.props.conf.data = this.props.conf.data.length ? this.props.conf.data : w, i.mode === "edit" && I(), te(() => {
|
|
88
89
|
let e = document.querySelector("#" + n);
|
|
89
90
|
e && (s || (s = be(e), x = re({ strategy: "scroll" }), x.listenTo(e, () => s == null ? void 0 : s.resize())), s.setOption(O(), !0));
|
|
90
91
|
});
|
|
91
92
|
}
|
|
92
93
|
onPreview() {
|
|
93
|
-
|
|
94
|
+
T.preview();
|
|
94
95
|
}
|
|
95
96
|
cleanup() {
|
|
96
|
-
x && x.uninstall(document.querySelector("#" + n)), s && s.clear(), s && Ce(s), s = null,
|
|
97
|
+
x && x.uninstall(document.querySelector("#" + n)), s && s.clear(), s && Ce(s), s = null, T.unregister();
|
|
97
98
|
}
|
|
98
99
|
}
|
|
99
|
-
const A = new
|
|
100
|
+
const A = new $(i, "rangeLin");
|
|
100
101
|
A.setupLifecycle();
|
|
101
|
-
const p = A.getStyle(), N =
|
|
102
|
+
const p = A.getStyle(), N = Z(() => le(i.conf.options)), O = () => {
|
|
102
103
|
var g, m, y, o;
|
|
103
104
|
const { data: t, options: e } = i.conf;
|
|
104
105
|
let d = t[0] || {};
|
|
@@ -214,7 +215,7 @@ const ve = {
|
|
|
214
215
|
for (let f = o; f < l; f++)
|
|
215
216
|
g[f] = !0;
|
|
216
217
|
return d.filter((o) => !g[o]).reduce((o, l) => (o.length === 0 || l - o[o.length - 1][1] > 1 ? o.push([l, l]) : o[o.length - 1][1] = l, o), []);
|
|
217
|
-
},
|
|
218
|
+
}, P = (t) => {
|
|
218
219
|
if (!C(i.conf)) return;
|
|
219
220
|
r.times = t.times, r.data = t.data, r.area = [], r.pieces = [];
|
|
220
221
|
let e = 0;
|
|
@@ -229,7 +230,7 @@ const ve = {
|
|
|
229
230
|
name: c,
|
|
230
231
|
xAxis: m[0],
|
|
231
232
|
itemStyle: {
|
|
232
|
-
color:
|
|
233
|
+
color: M[e]
|
|
233
234
|
}
|
|
234
235
|
},
|
|
235
236
|
{
|
|
@@ -247,22 +248,22 @@ const ve = {
|
|
|
247
248
|
}), s == null || s.setOption(O(), !0);
|
|
248
249
|
}, D = (t) => {
|
|
249
250
|
C(i.conf);
|
|
250
|
-
},
|
|
251
|
-
preview: () => ae(i, a.value,
|
|
251
|
+
}, T = {
|
|
252
|
+
preview: () => ae(i, a.value, P, D, "rangeLin"),
|
|
252
253
|
unregister: () => ie(i, a.value)
|
|
253
254
|
};
|
|
254
255
|
Q(() => {
|
|
255
256
|
i.conf.socketData && D(i.conf.socketData);
|
|
256
257
|
});
|
|
257
|
-
const
|
|
258
|
+
const E = i.conf;
|
|
258
259
|
return (t, e) => (W(), X("div", {
|
|
259
260
|
class: "mix-component",
|
|
260
|
-
style:
|
|
261
|
+
style: V({ background: S(p).bgColor, borderRadius: `${S(p).radiusSize}px` })
|
|
261
262
|
}, [
|
|
262
263
|
b("div", {
|
|
263
264
|
class: "mix-title",
|
|
264
|
-
style:
|
|
265
|
-
}, Y(S(
|
|
265
|
+
style: V(N.value)
|
|
266
|
+
}, Y(S(E).caption || S(E).name), 5),
|
|
266
267
|
b("div", { class: "mix-body" }, [
|
|
267
268
|
b("div", {
|
|
268
269
|
class: "w-full h-full",
|
|
@@ -272,7 +273,7 @@ const ve = {
|
|
|
272
273
|
ee(t.$slots, "default", {}, void 0, !0)
|
|
273
274
|
], 4));
|
|
274
275
|
}
|
|
275
|
-
})), qe = /* @__PURE__ */ se(
|
|
276
|
+
})), qe = /* @__PURE__ */ se(Le, [["__scopeId", "data-v-457c07dd"]]);
|
|
276
277
|
export {
|
|
277
278
|
qe as default
|
|
278
279
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var te=Object.defineProperty,ne=Object.defineProperties;var oe=Object.getOwnPropertyDescriptors;var W=Object.getOwnPropertySymbols;var ae=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable;var $=(p,i,n)=>i in p?te(p,i,{enumerable:!0,configurable:!0,writable:!0,value:n}):p[i]=n,V=(p,i)=>{for(var n in i||(i={}))ae.call(i,n)&&$(p,n,i[n]);if(W)for(var n of W(i))le.call(i,n)&&$(p,n,i[n]);return p},P=(p,i)=>ne(p,oe(i));var D=(p,i,n)=>new Promise((m,k)=>{var j=b=>{try{N(n.next(b))}catch(O){k(O)}},_=b=>{try{N(n.throw(b))}catch(O){k(O)}},N=b=>b.done?m(b.value):Promise.resolve(b.value).then(j,_);N((n=n.apply(p,i)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),S=require("./index-DVqMfQVc.cjs");require("element-plus");const se=require("./EChartComponentBase-dLE5F7Tt.cjs"),q=require("./ele-vlu-icon-Dv-R7Xuc.cjs"),re=["id"],ie={key:0,class:"timeline-player"},ce={key:0},ue={key:1},me=["onClick"],de={class:"timeline-labels"},fe={DEFAULT_ICON:q.DEFAULT_ICON,ACTIVE_ICON:q.ACTIVE_ICON,NAME_CN:"实时裂缝演变分布图",NAME_EN:"RealtimeEvolutionMap",ORDER:3,PLATFORM:["pc","screen"]},he={bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},minPointSize:{value:6,type:"number",label:"最小散点大小",min:2,max:20},maxPointSize:{value:24,type:"number",label:"最大散点大小",min:10,max:60},baseColor:{value:"#ee6666",type:"color",label:"散点颜色"},playInterval:{value:2e3,type:"number",label:"播放间隔(ms)",min:500,max:1e4},linkChannel:{value:"crack",type:"select",label:"component.linkChannel",options:[{label:"裂缝监测",value:"crack"},{label:"GNSS监测",value:"gnss"},{label:"边坡监测",value:"slope"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"component.customChannel",showWhen:{linkChannel:"custom"}}},pe=[{name:"裂缝写实1",fvX:"",fvY:"",fvWidth:"",fvDeviceName:"",object_id:""}],ve=["name","fvX","fvY","fvWidth","fvDeviceName","object_id"],ye=["mosaic","statistics","calculate"],be={useAlias:!1,multiObject:!0,source:"mosaic"},ge=200,Ce={DEFAULT:fe,OPTIONS:he,DATA:pe,PARAMS:ve,SOURCE:ye,ITEMS:ge,COMMON:be},Se=e.defineComponent(P(V({},Ce),{__name:"realtimeEvolutionMap",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(p){const i=p,n=e.ref([]),m=e.ref(0),k=e.ref(!1),j=e.ref(null);let _=null;const N=e.computed(()=>n.value.length<=1?0:m.value/(n.value.length-1)*100),b=h=>n.value.length<=1?50:h/(n.value.length-1)*100;class O extends se.EChartComponentBase{constructor(){super(...arguments),this.currentObjectId=""}getCurrentObjectId(){return this.currentObjectId}setCurrentObjectId(t){this.currentObjectId=t}extractStyles(){return P(V({},super.extractStyles()),{minPointSize:this.getOptionValue("minPointSize",6),maxPointSize:this.getOptionValue("maxPointSize",24),baseColor:this.getOptionValue("baseColor","#ee6666"),playInterval:this.getOptionValue("playInterval",2e3),linkChannel:this.getOptionValue("linkChannel","crack")})}onPreview(){return D(this,null,function*(){const{common:t,data:s}=this.props.conf,o=this.getSource();if(t.multiObject&&Array.isArray(s)){const l=new Set;for(const r of s){const a=yield this.resolveObjectId(r);!a||l.has(a)||(l.add(a),this.subscribeBySource(o,a,r.uid))}}else{const l=yield this.resolveObjectId();l&&(this.currentObjectId=l,this.subscribeBySource(o,l))}})}onLinkEvent(t){K(t)}generateTimeLabels(){return[]}initHistory(){return D(this,null,function*(){const{data:t}=this.props.conf||{};if(!Array.isArray(t)||!t.length)return[];const s=yield this.resolveObjectId();if(!s)return[];const o=24;return Promise.all(t.map(l=>new Promise(r=>{const a=[l.fvX,l.fvY,l.fvWidth,l.fvDeviceName].filter(Boolean);if(!a.length){r([]);return}S.api.platform(c=>{var u;r(((u=c==null?void 0:c.result)==null?void 0:u.data)||[])},{action:"get_mosaic_list",keys:a,object_id:s,page_index:1,page_size:o})})))})}setHistoryData(t){var r;if(!this.hasData()||!t||!Array.isArray(t))return;const s=((r=this.props.conf)==null?void 0:r.data)||[];if(!Array.isArray(s)||!s.length)return;const o=new Map;if(s.forEach((a,c)=>{const u=t[c];Array.isArray(u)&&u.forEach(d=>{const y=d.time||d.datetime;if(!y)return;const C=parseFloat(d[a.fvX]),g=parseFloat(d[a.fvY]),x=a.fvWidth?d[a.fvWidth]:0,A=parseFloat(x!=null?x:"0");if(isNaN(C)||isNaN(g))return;const f=String(y).split(".")[0];o.has(f)||o.set(f,{label:S.dayjs(f).isValid()?S.dayjs(f).format("HH:mm"):f,time:S.dayjs(f).isValid()?S.dayjs(f).format("MM-DD HH:mm:ss"):f,points:[]}),o.get(f).points.push({name:a.name||`crack_${c}`,x:C,y:g,width:isNaN(A)?0:A})})}),o.size===0)return;const l=Array.from(o.entries()).sort((a,c)=>new Date(a[0]).getTime()-new Date(c[0]).getTime()).map(a=>a[1]).slice(-50);n.value=l,m.value=l.length-1,M()}getChartOption(){const t=this.Style.value;return{backgroundColor:"transparent",tooltip:{trigger:"item",formatter:s=>{if(!s.value)return"";const[o,l,r,a,c]=s.value;return`<b>${r}</b><br/>时间: ${c}<br/>X: ${o}<br/>Y: ${l}<br/>宽度: ${a} mm`}},legend:{show:!0,top:6,right:20,textStyle:{color:t.textColor,fontSize:13,fontWeight:"bold"}},grid:{top:40,left:50,right:30,bottom:20},xAxis:{type:"value",name:"x",nameLocation:"end",nameTextStyle:{color:t.textColor,fontSize:13,fontWeight:"bold"},axisLine:{show:!0,lineStyle:{color:"#999"}},axisTick:{show:!1},splitLine:{show:!1},axisLabel:{show:!1}},yAxis:{type:"value",name:"y",nameLocation:"end",nameTextStyle:{color:t.textColor,fontSize:13,fontWeight:"bold"},axisLine:{show:!0,lineStyle:{color:"#999"}},axisTick:{show:!1},splitLine:{show:!1},axisLabel:{show:!1}},series:this.buildCumulativeSeries(t)}}buildCumulativeSeries(t){const s=m.value,o=n.value.slice(0,s+1);if(o.length===0)return[];const l=new Map;o.forEach((f,w)=>{f.points.forEach(I=>{l.has(I.name)||l.set(I.name,[]),l.get(I.name).push({x:I.x,y:I.y,width:I.width,time:f.label,timeIdx:w})})});let r=1/0,a=-1/0;l.forEach(f=>f.forEach(w=>{r=Math.min(r,w.width),a=Math.max(a,w.width)})),r===1/0&&(r=0,a=1);const c=a-r||1,u=t.baseColor||"#ee6666",d=t.minPointSize||6,y=t.maxPointSize||24,C=n.value.length||1,g=[u,"#5470c6","#91cc75","#fac858","#73c0de","#fc8452","#9a60b4"],x=[];let A=0;return l.forEach((f,w)=>{const I=g[A%g.length],Q=f.map(E=>[E.x,E.y,w,E.width,E.time]),Z=E=>{const B=((E[3]||0)-r)/c;return d+B*(y-d)};x.push({name:w,type:"scatter",data:Q,symbolSize:Z,itemStyle:{color:E=>{var R,H;const B=.2+.8*(((H=(R=f[E.dataIndex])==null?void 0:R.timeIdx)!=null?H:0)/(C-1||1));return this.hexToRgba(I,B)}},emphasis:{itemStyle:{borderColor:"#333",borderWidth:2}}}),A++}),x}hexToRgba(t,s){const o=t.replace("#",""),l=parseInt(o.substring(0,2),16),r=parseInt(o.substring(2,4),16),a=parseInt(o.substring(4,6),16);return`rgba(${l},${r},${a},${s})`}setSocketData(t){super.setSocketData(t);const{data:s}=this.props.conf,o=S.dayjs().format("HH:mm"),l=S.dayjs().format("MM-DD HH:mm:ss"),r=[];s.forEach(a=>{const c=this.extractDataValue(t,a.fvX),u=this.extractDataValue(t,a.fvY),d=this.extractDataValue(t,a.fvWidth);if(c!=null&&u!=null){const y=parseFloat(c),C=parseFloat(u),g=d!=null?parseFloat(d):0;!isNaN(y)&&!isNaN(C)&&r.push({name:a.name||"default",x:y,y:C,width:isNaN(g)?0:g})}}),r.length>0&&(n.value.push({label:o,time:l,points:r}),n.value.length>50&&n.value.shift(),(k.value||m.value>=n.value.length-2)&&(m.value=n.value.length-1),M())}}const v=new O(i,"realtimeEvolutionMap");v.setupLifecycle();const T=v.getStyle(),X=v.getEchartId(),Y=()=>{k.value?z():U()},U=()=>{n.value.length<=1||(k.value=!0,_=setInterval(()=>{m.value=m.value<n.value.length-1?m.value+1:0,M()},T.value.playInterval||2e3))},z=()=>{k.value=!1,_&&(clearInterval(_),_=null)},L=h=>{m.value=h,M()},G=h=>{if(!j.value||n.value.length<=1)return;const t=j.value.getBoundingClientRect(),s=(h.clientX-t.left)/t.width;L(Math.max(0,Math.min(Math.round(s*(n.value.length-1)),n.value.length-1)))},M=()=>{const h=v.getChartInstance();h&&h.setOption(v.getChartOption(),!0)};e.watch(m,()=>M());const K=h=>D(null,null,function*(){var c;const{payload:t}=h;if(!t)return;const s=t.objectIds&&t.objectIds.length>0?t.objectIds:t.objectId||t.object_id?[t.objectId||t.object_id]:[];if(!s.length||i.mode!=="preview")return;const o=s.sort().join(",");if(v.getCurrentObjectId()===o)return;v.setCurrentObjectId(o),n.value=[],m.value=0,z();const{data:l}=i.conf,r=(c=v.session)==null?void 0:c.value;if(!r)return;const a=i.conf.id;r.componentRequests&&r.componentRequests.delete(a);for(const u of s)Array.isArray(l)&&l.forEach(d=>{d.object_id=u}),v.subscribeBySource(v.getSource(),u);r.registerComponent({id:a,request:null,onUpdate:(u,d)=>{u==="realtime"&&v.setSocketData(d)}})}),F=()=>{var o;if(i.mode!=="edit")return;const h=((o=i.conf)==null?void 0:o.data)||[],t=S.dayjs(),s=[];for(let l=9;l>=0;l--){const r=t.subtract(l*160,"minute"),a=[];h.forEach((c,u)=>{const d=c.name||`裂缝写实${u+1}`,y=(10-l)/10,C=20+u*20+y*30+(Math.random()-.5)*8,g=15+u*10+y*20+(Math.random()-.5)*8,x=.1+y*2.5+Math.random()*.3;a.push({name:d,x:+C.toFixed(1),y:+g.toFixed(1),width:+x.toFixed(2)})}),s.push({label:r.format("HH:mm"),time:r.format("MM-DD HH:mm:ss"),points:a})}n.value=s,m.value=s.length-1},J=e.computed(()=>({background:T.value.bgColor,color:T.value.textColor}));return e.onMounted(()=>{i.mode==="edit"&&F()}),e.onUnmounted(()=>z()),e.watch(()=>i.conf,()=>{i.mode==="edit"&&F()},{deep:!0}),(h,t)=>(e.openBlock(),e.createElementBlock("div",{class:"mix-component crack-realtime-evolution",style:e.normalizeStyle(J.value)},[t[1]||(t[1]=e.createElementVNode("div",{class:"chart-header"},[e.createElementVNode("span",{class:"chart-title"},"▎实时裂缝演变分布图 (动态轨迹)")],-1)),e.createElementVNode("div",{id:e.unref(X),class:"chart-container"},null,8,re),n.value.length>0?(e.openBlock(),e.createElementBlock("div",ie,[e.createElementVNode("button",{class:"play-btn",onClick:Y},[k.value?(e.openBlock(),e.createElementBlock("span",ce,"⏸")):(e.openBlock(),e.createElementBlock("span",ue,"▶"))]),e.createElementVNode("div",{class:"timeline-track",ref_key:"trackRef",ref:j,onClick:G},[t[0]||(t[0]=e.createElementVNode("div",{class:"track-line"},null,-1)),e.createElementVNode("div",{class:"track-progress",style:e.normalizeStyle({width:N.value+"%"})},null,4),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value,(s,o)=>(e.openBlock(),e.createElementBlock("div",{key:o,class:e.normalizeClass(["track-dot",{active:o<=m.value,current:o===m.value}]),style:e.normalizeStyle({left:b(o)+"%"}),onClick:e.withModifiers(l=>L(o),["stop"])},null,14,me))),128))],512),e.createElementVNode("div",de,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value,(s,o)=>(e.openBlock(),e.createElementBlock("span",{key:o,class:e.normalizeClass(["time-label",{active:o<=m.value}]),style:e.normalizeStyle({left:b(o)+"%"})},e.toDisplayString(s.label),7))),128))])])):e.createCommentVNode("",!0),e.renderSlot(h.$slots,"default",{},void 0,!0)],4))}})),ke=S._export_sfc(Se,[["__scopeId","data-v-c4a95d59"]]);exports.default=ke;
|
|
@@ -2,7 +2,7 @@ var ct = Object.defineProperty, ut = Object.defineProperties;
|
|
|
2
2
|
var mt = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var U = Object.getOwnPropertySymbols;
|
|
4
4
|
var dt = Object.prototype.hasOwnProperty, ft = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var q = (h, i, e) => i in h ? ct(h, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : h[i] = e,
|
|
5
|
+
var q = (h, i, e) => i in h ? ct(h, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : h[i] = e, W = (h, i) => {
|
|
6
6
|
for (var e in i || (i = {}))
|
|
7
7
|
dt.call(i, e) && q(h, e, i[e]);
|
|
8
8
|
if (U)
|
|
@@ -10,35 +10,37 @@ var q = (h, i, e) => i in h ? ct(h, i, { enumerable: !0, configurable: !0, writa
|
|
|
10
10
|
ft.call(i, e) && q(h, e, i[e]);
|
|
11
11
|
return h;
|
|
12
12
|
}, V = (h, i) => ut(h, mt(i));
|
|
13
|
-
var
|
|
13
|
+
var P = (h, i, e) => new Promise((u, x) => {
|
|
14
14
|
var O = (b) => {
|
|
15
15
|
try {
|
|
16
16
|
A(e.next(b));
|
|
17
17
|
} catch (D) {
|
|
18
18
|
x(D);
|
|
19
19
|
}
|
|
20
|
-
},
|
|
20
|
+
}, E = (b) => {
|
|
21
21
|
try {
|
|
22
22
|
A(e.throw(b));
|
|
23
23
|
} catch (D) {
|
|
24
24
|
x(D);
|
|
25
25
|
}
|
|
26
|
-
}, A = (b) => b.done ? u(b.value) : Promise.resolve(b.value).then(O,
|
|
26
|
+
}, A = (b) => b.done ? u(b.value) : Promise.resolve(b.value).then(O, E);
|
|
27
27
|
A((e = e.apply(h, i)).next());
|
|
28
28
|
});
|
|
29
|
-
import { defineComponent as ht, ref as
|
|
30
|
-
import { a as St,
|
|
31
|
-
import
|
|
29
|
+
import { defineComponent as ht, ref as z, computed as G, watch as K, onMounted as pt, onUnmounted as vt, openBlock as k, createElementBlock as w, normalizeStyle as L, createElementVNode as _, unref as bt, Fragment as J, renderList as Q, withModifiers as yt, normalizeClass as Z, toDisplayString as gt, createCommentVNode as xt, renderSlot as Ct } from "vue";
|
|
30
|
+
import { a as St, d as j, _ as It } from "./index-DwPJu6XM.js";
|
|
31
|
+
import "element-plus";
|
|
32
|
+
import { E as kt } from "./EChartComponentBase-cFfawl6h.js";
|
|
32
33
|
import { A as wt, D as _t } from "./ele-vlu-icon-Bg6EHZdJ.js";
|
|
33
|
-
const
|
|
34
|
+
const Mt = ["id"], jt = {
|
|
34
35
|
key: 0,
|
|
35
36
|
class: "timeline-player"
|
|
36
|
-
},
|
|
37
|
+
}, Et = { key: 0 }, Ot = { key: 1 }, At = ["onClick"], Dt = { class: "timeline-labels" }, Nt = {
|
|
37
38
|
DEFAULT_ICON: _t,
|
|
38
39
|
ACTIVE_ICON: wt,
|
|
39
40
|
NAME_CN: "实时裂缝演变分布图",
|
|
40
41
|
NAME_EN: "RealtimeEvolutionMap",
|
|
41
|
-
ORDER: 3
|
|
42
|
+
ORDER: 3,
|
|
43
|
+
PLATFORM: ["pc", "screen"]
|
|
42
44
|
}, Tt = {
|
|
43
45
|
bgColor: { value: "#ffffff", type: "color", label: "setting.bgColor" },
|
|
44
46
|
textColor: { value: "#333333", type: "color", label: "setting.textColor" },
|
|
@@ -58,9 +60,9 @@ const jt = ["id"], Et = {
|
|
|
58
60
|
]
|
|
59
61
|
},
|
|
60
62
|
customChannel: { value: "", type: "string", label: "component.customChannel", showWhen: { linkChannel: "custom" } }
|
|
61
|
-
},
|
|
63
|
+
}, Pt = [
|
|
62
64
|
{ name: "裂缝写实1", fvX: "", fvY: "", fvWidth: "", fvDeviceName: "", object_id: "" }
|
|
63
|
-
],
|
|
65
|
+
], zt = ["name", "fvX", "fvY", "fvWidth", "fvDeviceName", "object_id"], Lt = ["mosaic", "statistics", "calculate"], Rt = { useAlias: !1, multiObject: !0, source: "mosaic" }, Ft = 200, Ht = { DEFAULT: Nt, OPTIONS: Tt, DATA: Pt, PARAMS: zt, SOURCE: Lt, ITEMS: Ft, COMMON: Rt }, Wt = /* @__PURE__ */ ht(V(W({}, Ht), {
|
|
64
66
|
__name: "realtimeEvolutionMap",
|
|
65
67
|
props: {
|
|
66
68
|
conf: { type: Object, default: () => ({ data: [] }) },
|
|
@@ -69,8 +71,8 @@ const jt = ["id"], Et = {
|
|
|
69
71
|
theme: { type: String, default: "light" }
|
|
70
72
|
},
|
|
71
73
|
setup(h) {
|
|
72
|
-
const i = h, e =
|
|
73
|
-
let
|
|
74
|
+
const i = h, e = z([]), u = z(0), x = z(!1), O = z(null);
|
|
75
|
+
let E = null;
|
|
74
76
|
const A = G(() => e.value.length <= 1 ? 0 : u.value / (e.value.length - 1) * 100), b = (f) => e.value.length <= 1 ? 50 : f / (e.value.length - 1) * 100;
|
|
75
77
|
class D extends kt {
|
|
76
78
|
constructor() {
|
|
@@ -83,7 +85,7 @@ const jt = ["id"], Et = {
|
|
|
83
85
|
this.currentObjectId = t;
|
|
84
86
|
}
|
|
85
87
|
extractStyles() {
|
|
86
|
-
return V(
|
|
88
|
+
return V(W({}, super.extractStyles()), {
|
|
87
89
|
minPointSize: this.getOptionValue("minPointSize", 6),
|
|
88
90
|
maxPointSize: this.getOptionValue("maxPointSize", 24),
|
|
89
91
|
baseColor: this.getOptionValue("baseColor", "#ee6666"),
|
|
@@ -92,7 +94,7 @@ const jt = ["id"], Et = {
|
|
|
92
94
|
});
|
|
93
95
|
}
|
|
94
96
|
onPreview() {
|
|
95
|
-
return
|
|
97
|
+
return P(this, null, function* () {
|
|
96
98
|
const { common: t, data: s } = this.props.conf, n = this.getSource();
|
|
97
99
|
if (t.multiObject && Array.isArray(s)) {
|
|
98
100
|
const a = /* @__PURE__ */ new Set();
|
|
@@ -114,7 +116,7 @@ const jt = ["id"], Et = {
|
|
|
114
116
|
}
|
|
115
117
|
// 自定义 initHistory:组件用 fvX/fvY/fvWidth 不是 fv,基类默认 keys:[item.fv] 会发出 keys:[null] 导致后端 10013
|
|
116
118
|
initHistory() {
|
|
117
|
-
return
|
|
119
|
+
return P(this, null, function* () {
|
|
118
120
|
const { data: t } = this.props.conf || {};
|
|
119
121
|
if (!Array.isArray(t) || !t.length) return [];
|
|
120
122
|
const s = yield this.resolveObjectId();
|
|
@@ -155,8 +157,8 @@ const jt = ["id"], Et = {
|
|
|
155
157
|
if (isNaN(g) || isNaN(y)) return;
|
|
156
158
|
const d = String(v).split(".")[0];
|
|
157
159
|
n.has(d) || n.set(d, {
|
|
158
|
-
label:
|
|
159
|
-
time:
|
|
160
|
+
label: j(d).isValid() ? j(d).format("HH:mm") : d,
|
|
161
|
+
time: j(d).isValid() ? j(d).format("MM-DD HH:mm:ss") : d,
|
|
160
162
|
points: []
|
|
161
163
|
}), n.get(d).points.push({
|
|
162
164
|
name: o.name || `crack_${r}`,
|
|
@@ -220,32 +222,32 @@ const jt = ["id"], Et = {
|
|
|
220
222
|
const s = u.value, n = e.value.slice(0, s + 1);
|
|
221
223
|
if (n.length === 0) return [];
|
|
222
224
|
const a = /* @__PURE__ */ new Map();
|
|
223
|
-
n.forEach((d,
|
|
225
|
+
n.forEach((d, M) => {
|
|
224
226
|
d.points.forEach((S) => {
|
|
225
|
-
a.has(S.name) || a.set(S.name, []), a.get(S.name).push({ x: S.x, y: S.y, width: S.width, time: d.label, timeIdx:
|
|
227
|
+
a.has(S.name) || a.set(S.name, []), a.get(S.name).push({ x: S.x, y: S.y, width: S.width, time: d.label, timeIdx: M });
|
|
226
228
|
});
|
|
227
229
|
});
|
|
228
230
|
let l = 1 / 0, o = -1 / 0;
|
|
229
|
-
a.forEach((d) => d.forEach((
|
|
230
|
-
l = Math.min(l,
|
|
231
|
+
a.forEach((d) => d.forEach((M) => {
|
|
232
|
+
l = Math.min(l, M.width), o = Math.max(o, M.width);
|
|
231
233
|
})), l === 1 / 0 && (l = 0, o = 1);
|
|
232
234
|
const r = o - l || 1, c = t.baseColor || "#ee6666", m = t.minPointSize || 6, v = t.maxPointSize || 24, g = e.value.length || 1, y = [c, "#5470c6", "#91cc75", "#fac858", "#73c0de", "#fc8452", "#9a60b4"], C = [];
|
|
233
235
|
let T = 0;
|
|
234
|
-
return a.forEach((d,
|
|
235
|
-
const S = y[T % y.length], lt = d.map((I) => [I.x, I.y,
|
|
236
|
-
const
|
|
237
|
-
return m +
|
|
236
|
+
return a.forEach((d, M) => {
|
|
237
|
+
const S = y[T % y.length], lt = d.map((I) => [I.x, I.y, M, I.width, I.time]), it = (I) => {
|
|
238
|
+
const H = ((I[3] || 0) - l) / r;
|
|
239
|
+
return m + H * (v - m);
|
|
238
240
|
};
|
|
239
241
|
C.push({
|
|
240
|
-
name:
|
|
242
|
+
name: M,
|
|
241
243
|
type: "scatter",
|
|
242
244
|
data: lt,
|
|
243
245
|
symbolSize: it,
|
|
244
246
|
itemStyle: {
|
|
245
247
|
color: (I) => {
|
|
246
248
|
var X, Y;
|
|
247
|
-
const
|
|
248
|
-
return this.hexToRgba(S,
|
|
249
|
+
const H = 0.2 + 0.8 * (((Y = (X = d[I.dataIndex]) == null ? void 0 : X.timeIdx) != null ? Y : 0) / (g - 1 || 1));
|
|
250
|
+
return this.hexToRgba(S, H);
|
|
249
251
|
}
|
|
250
252
|
},
|
|
251
253
|
emphasis: { itemStyle: { borderColor: "#333", borderWidth: 2 } }
|
|
@@ -259,7 +261,7 @@ const jt = ["id"], Et = {
|
|
|
259
261
|
}
|
|
260
262
|
setSocketData(t) {
|
|
261
263
|
super.setSocketData(t);
|
|
262
|
-
const { data: s } = this.props.conf, n =
|
|
264
|
+
const { data: s } = this.props.conf, n = j().format("HH:mm"), a = j().format("MM-DD HH:mm:ss"), l = [];
|
|
263
265
|
s.forEach((o) => {
|
|
264
266
|
const r = this.extractDataValue(t, o.fvX), c = this.extractDataValue(t, o.fvY), m = this.extractDataValue(t, o.fvWidth);
|
|
265
267
|
if (r != null && c != null) {
|
|
@@ -272,13 +274,13 @@ const jt = ["id"], Et = {
|
|
|
272
274
|
const p = new D(i, "realtimeEvolutionMap");
|
|
273
275
|
p.setupLifecycle();
|
|
274
276
|
const R = p.getStyle(), tt = p.getEchartId(), et = () => {
|
|
275
|
-
x.value ?
|
|
277
|
+
x.value ? F() : nt();
|
|
276
278
|
}, nt = () => {
|
|
277
|
-
e.value.length <= 1 || (x.value = !0,
|
|
279
|
+
e.value.length <= 1 || (x.value = !0, E = setInterval(() => {
|
|
278
280
|
u.value = u.value < e.value.length - 1 ? u.value + 1 : 0, N();
|
|
279
281
|
}, R.value.playInterval || 2e3));
|
|
280
|
-
},
|
|
281
|
-
x.value = !1,
|
|
282
|
+
}, F = () => {
|
|
283
|
+
x.value = !1, E && (clearInterval(E), E = null);
|
|
282
284
|
}, $ = (f) => {
|
|
283
285
|
u.value = f, N();
|
|
284
286
|
}, ot = (f) => {
|
|
@@ -290,7 +292,7 @@ const jt = ["id"], Et = {
|
|
|
290
292
|
f && f.setOption(p.getChartOption(), !0);
|
|
291
293
|
};
|
|
292
294
|
K(u, () => N());
|
|
293
|
-
const at = (f) =>
|
|
295
|
+
const at = (f) => P(null, null, function* () {
|
|
294
296
|
var r;
|
|
295
297
|
const { payload: t } = f;
|
|
296
298
|
if (!t) return;
|
|
@@ -298,7 +300,7 @@ const jt = ["id"], Et = {
|
|
|
298
300
|
if (!s.length || i.mode !== "preview") return;
|
|
299
301
|
const n = s.sort().join(",");
|
|
300
302
|
if (p.getCurrentObjectId() === n) return;
|
|
301
|
-
p.setCurrentObjectId(n), e.value = [], u.value = 0,
|
|
303
|
+
p.setCurrentObjectId(n), e.value = [], u.value = 0, F();
|
|
302
304
|
const { data: a } = i.conf, l = (r = p.session) == null ? void 0 : r.value;
|
|
303
305
|
if (!l) return;
|
|
304
306
|
const o = i.conf.id;
|
|
@@ -317,7 +319,7 @@ const jt = ["id"], Et = {
|
|
|
317
319
|
}), B = () => {
|
|
318
320
|
var n;
|
|
319
321
|
if (i.mode !== "edit") return;
|
|
320
|
-
const f = ((n = i.conf) == null ? void 0 : n.data) || [], t =
|
|
322
|
+
const f = ((n = i.conf) == null ? void 0 : n.data) || [], t = j(), s = [];
|
|
321
323
|
for (let a = 9; a >= 0; a--) {
|
|
322
324
|
const l = t.subtract(a * 160, "minute"), o = [];
|
|
323
325
|
f.forEach((r, c) => {
|
|
@@ -329,7 +331,7 @@ const jt = ["id"], Et = {
|
|
|
329
331
|
}, st = G(() => ({ background: R.value.bgColor, color: R.value.textColor }));
|
|
330
332
|
return pt(() => {
|
|
331
333
|
i.mode === "edit" && B();
|
|
332
|
-
}), vt(() =>
|
|
334
|
+
}), vt(() => F()), K(() => i.conf, () => {
|
|
333
335
|
i.mode === "edit" && B();
|
|
334
336
|
}, { deep: !0 }), (f, t) => (k(), w("div", {
|
|
335
337
|
class: "mix-component crack-realtime-evolution",
|
|
@@ -341,13 +343,13 @@ const jt = ["id"], Et = {
|
|
|
341
343
|
_("div", {
|
|
342
344
|
id: bt(tt),
|
|
343
345
|
class: "chart-container"
|
|
344
|
-
}, null, 8,
|
|
345
|
-
e.value.length > 0 ? (k(), w("div",
|
|
346
|
+
}, null, 8, Mt),
|
|
347
|
+
e.value.length > 0 ? (k(), w("div", jt, [
|
|
346
348
|
_("button", {
|
|
347
349
|
class: "play-btn",
|
|
348
350
|
onClick: et
|
|
349
351
|
}, [
|
|
350
|
-
x.value ? (k(), w("span",
|
|
352
|
+
x.value ? (k(), w("span", Et, "⏸")) : (k(), w("span", Ot, "▶"))
|
|
351
353
|
]),
|
|
352
354
|
_("div", {
|
|
353
355
|
class: "timeline-track",
|
|
@@ -378,7 +380,7 @@ const jt = ["id"], Et = {
|
|
|
378
380
|
Ct(f.$slots, "default", {}, void 0, !0)
|
|
379
381
|
], 4));
|
|
380
382
|
}
|
|
381
|
-
})),
|
|
383
|
+
})), qt = /* @__PURE__ */ It(Wt, [["__scopeId", "data-v-c4a95d59"]]);
|
|
382
384
|
export {
|
|
383
|
-
|
|
385
|
+
qt as default
|
|
384
386
|
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";var B=Object.defineProperty,T=Object.defineProperties;var w=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var z=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable;var S=(i,o,r)=>o in i?B(i,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):i[o]=r,_=(i,o)=>{for(var r in o||(o={}))z.call(o,r)&&S(i,r,o[r]);if(y)for(var r of y(o))$.call(o,r)&&S(i,r,o[r]);return i},v=(i,o)=>T(i,w(o));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),A=require("./safeI18n-DR20q_h1.cjs"),I=require("./BaseComponent-Chnv4fBT.cjs"),j=require("./index-DVqMfQVc.cjs"),R=require("./titleStyle-NSnz6cUg.cjs"),k=require("./ele-bar-icon-V94clxg_.cjs"),F={class:"title-text"},L={class:"mix-body"},M={class:"rb-label"},H={class:"rb-pct"},U={key:0,class:"rb-empty"},q={DEFAULT_ICON:k.DEFAULT_ICON,ACTIVE_ICON:k.ACTIVE_ICON,NAME_CN:"区域评估条形图",NAME_EN:"Region Bar",ORDER:13,PLATFORM:["pc","screen"]},P={bgColor:"#fff",titleColor:"#111",textColor:"#666",radiusSize:8,textSize:13,rowHeight:32,isHideTitle:!1,description:"支持按矿、区域等维度查看系统运行表现。",barColor:"#3b82f6",barTrackColor:"#eef1f6",maxValue:100,unit:"%",sortDesc:!1,btnText:"数据下载",linkChannel:{value:"landslide",type:"select",label:"component.options.lw_linkChannel",options:[{label:"component.options.lw_linkChannel_landslide",value:"landslide"},{label:"component.options.lw_linkChannel_custom",value:"custom"}]},customChannel:{value:"",type:"string",label:"component.options.lw_customChannel",showWhen:{linkChannel:"custom"}}},W=[{name:"东帮",fv:"",object_id:"",value:88,color:""},{name:"南帮",fv:"",object_id:"",value:81,color:""},{name:"北帮土场",fv:"",object_id:"",value:93,color:""}],Y=["name","fv","object_id",{key:"color",label:"component.options.lw_barItemColor",type:"color"}],G=["mosaic","statistics","calculate"],J={useAlias:!1,multiObject:!0,source:"statistics"},K={DEFAULT:q,OPTIONS:P,DATA:W,PARAMS:Y,SOURCE:G,COMMON:J},Q=e.defineComponent(v(_({},K),{__name:"regionBar",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(i){const o=i;class r extends I.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#666"),radiusSize:this.getOptionValue("radiusSize",8),textSize:this.getOptionValue("textSize",13),rowHeight:this.getOptionValue("rowHeight",32),description:this.getOptionValue("description",""),barColor:this.getOptionValue("barColor","#3b82f6"),barTrackColor:this.getOptionValue("barTrackColor","#eef1f6"),maxValue:Number(this.getOptionValue("maxValue",100)),unit:this.getOptionValue("unit",""),sortDesc:this.getOptionValue("sortDesc",!1),btnText:this.getOptionValue("btnText",""),linkChannel:this.getOptionValue("linkChannel","landslide"),customChannel:this.getOptionValue("customChannel","")}}getLinkChannel(){const n=this.Style.value;return(n==null?void 0:n.linkChannel)==="custom"?n.customChannel||"":(n==null?void 0:n.linkChannel)||""}setSocketData(n){var s;if(!n)return;(((s=this.props.conf)==null?void 0:s.data)||[]).forEach(d=>{const c=this.extractDataValue(n,d.fv);c!=null&&(d.value=Number(c)||0)})}}const m=new r(o,"regionBar");m.setupLifecycle();const{t:x}=A.useSafeI18n(),l=m.getStyle(),f=o.conf,V=e.computed(()=>R.generateTitleStyle(o.conf.options)),p=e.computed(()=>{var n;const t=(((n=o.conf)==null?void 0:n.data)||[]).map(a=>({name:a.name,value:Number(a.value)||0,color:a.color||""}));return l.value.sortDesc&&t.sort((a,s)=>s.value-a.value),t});function O(t){const n=l.value.maxValue||100;return{width:Math.max(0,Math.min(100,t.value/n*100))+"%",background:t.color||l.value.barColor}}function g(t){return t==null||t===""?"--":typeof t=="number"?Number.isInteger(t)?String(t):t.toFixed(1):String(t)}function b(t){const n=String(t!=null?t:"");return/[",\n]/.test(n)?`"${n.replace(/"/g,'""')}"`:n}function E(){const t=new Date,n=a=>String(a).padStart(2,"0");return`${t.getFullYear()}${n(t.getMonth()+1)}${n(t.getDate())}_${n(t.getHours())}${n(t.getMinutes())}${n(t.getSeconds())}`}function N(){if(o.mode!=="preview")return;const t=p.value;if(!t.length)return;const n=l.value.unit||"",s=["区域",n?`数值(${n})`:"数值"].join(","),d=t.map(C=>[b(C.name),b(g(C.value))].join(",")).join(`
|
|
2
|
+
`),c=s+`
|
|
3
|
+
`+d,D=new Blob(["\uFEFF"+c],{type:"text/csv;charset=utf-8;"}),h=URL.createObjectURL(D),u=document.createElement("a");u.href=h,u.download=`区域评估_${E()}.csv`,document.body.appendChild(u),u.click(),document.body.removeChild(u),URL.revokeObjectURL(h)}return(t,n)=>(e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(l).bgColor,borderRadius:`${e.unref(l).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(V.value)},[e.createElementVNode("span",F,e.toDisplayString(e.unref(f).caption||e.unref(f).name),1),e.unref(l).btnText?(e.openBlock(),e.createElementBlock("button",{key:0,class:"rb-btn",onClick:N},e.toDisplayString(e.unref(l).btnText),1)):e.createCommentVNode("",!0)],4),e.createElementVNode("div",L,[e.unref(l).description?(e.openBlock(),e.createElementBlock("div",{key:0,class:"body-desc",style:e.normalizeStyle({fontSize:`${e.unref(l).textSize}px`,color:e.unref(l).textColor})},e.toDisplayString(e.unref(l).description),5)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"body-list",style:e.normalizeStyle({fontSize:`${e.unref(l).textSize}px`,color:e.unref(l).textColor})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,(a,s)=>(e.openBlock(),e.createElementBlock("div",{key:s,class:"rb-row",style:e.normalizeStyle({height:`${e.unref(l).rowHeight}px`})},[e.createElementVNode("span",M,e.toDisplayString(a.name||"--"),1),e.createElementVNode("div",{class:"rb-track",style:e.normalizeStyle({background:e.unref(l).barTrackColor})},[e.createElementVNode("div",{class:"rb-fill",style:e.normalizeStyle(O(a))},null,4)],4),e.createElementVNode("span",H,e.toDisplayString(g(a.value))+e.toDisplayString(e.unref(l).unit),1)],4))),128)),p.value.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",U,e.toDisplayString(e.unref(x)("component.options.lw_noData")),1))],4)]),e.renderSlot(t.$slots,"default",{},void 0,!0)],4))}})),X=j._export_sfc(Q,[["__scopeId","data-v-675f1cf2"]]);exports.default=X;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
var
|
|
1
|
+
var j = Object.defineProperty, B = Object.defineProperties;
|
|
2
2
|
var F = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var O = Object.getOwnPropertySymbols;
|
|
4
4
|
var L = Object.prototype.hasOwnProperty, M = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var V = (i, o, s) => o in i ?
|
|
5
|
+
var V = (i, o, s) => o in i ? j(i, o, { enumerable: !0, configurable: !0, writable: !0, value: s }) : i[o] = s, w = (i, o) => {
|
|
6
6
|
for (var s in o || (o = {}))
|
|
7
7
|
L.call(o, s) && V(i, s, o[s]);
|
|
8
8
|
if (O)
|
|
9
9
|
for (var s of O(o))
|
|
10
10
|
M.call(o, s) && V(i, s, o[s]);
|
|
11
11
|
return i;
|
|
12
|
-
},
|
|
13
|
-
import { defineComponent as H, computed as
|
|
12
|
+
}, T = (i, o) => B(i, F(o));
|
|
13
|
+
import { defineComponent as H, computed as D, openBlock as p, createElementBlock as m, normalizeStyle as u, unref as l, createElementVNode as c, toDisplayString as d, createCommentVNode as C, Fragment as I, renderList as U, renderSlot as P } from "vue";
|
|
14
14
|
import { u as W } from "./safeI18n-CXZgGKWp.js";
|
|
15
|
-
import { B as Y } from "./BaseComponent-
|
|
16
|
-
import { _ as q } from "./index-
|
|
15
|
+
import { B as Y } from "./BaseComponent-CBagahPU.js";
|
|
16
|
+
import { _ as q } from "./index-DwPJu6XM.js";
|
|
17
17
|
import { g as G } from "./titleStyle-BT5GlpAb.js";
|
|
18
18
|
import { A as J, D as K } from "./ele-bar-icon-C-GiCs2a.js";
|
|
19
19
|
const Q = { class: "title-text" }, X = { class: "mix-body" }, Z = { class: "rb-label" }, tt = { class: "rb-pct" }, et = {
|
|
@@ -24,7 +24,8 @@ const Q = { class: "title-text" }, X = { class: "mix-body" }, Z = { class: "rb-l
|
|
|
24
24
|
ACTIVE_ICON: J,
|
|
25
25
|
NAME_CN: "区域评估条形图",
|
|
26
26
|
NAME_EN: "Region Bar",
|
|
27
|
-
ORDER: 13
|
|
27
|
+
ORDER: 13,
|
|
28
|
+
PLATFORM: ["pc", "screen"]
|
|
28
29
|
}, nt = {
|
|
29
30
|
bgColor: "#fff",
|
|
30
31
|
titleColor: "#111",
|
|
@@ -54,7 +55,7 @@ const Q = { class: "title-text" }, X = { class: "mix-body" }, Z = { class: "rb-l
|
|
|
54
55
|
{ name: "东帮", fv: "", object_id: "", value: 88, color: "" },
|
|
55
56
|
{ name: "南帮", fv: "", object_id: "", value: 81, color: "" },
|
|
56
57
|
{ name: "北帮土场", fv: "", object_id: "", value: 93, color: "" }
|
|
57
|
-
], at = ["name", "fv", "object_id", { key: "color", label: "component.options.lw_barItemColor", type: "color" }], st = ["mosaic", "statistics", "calculate"], it = { useAlias: !1, multiObject: !0, source: "statistics" }, rt = { DEFAULT: ot, OPTIONS: nt, DATA: lt, PARAMS: at, SOURCE: st, COMMON: it }, ct = /* @__PURE__ */ H(
|
|
58
|
+
], at = ["name", "fv", "object_id", { key: "color", label: "component.options.lw_barItemColor", type: "color" }], st = ["mosaic", "statistics", "calculate"], it = { useAlias: !1, multiObject: !0, source: "statistics" }, rt = { DEFAULT: ot, OPTIONS: nt, DATA: lt, PARAMS: at, SOURCE: st, COMMON: it }, ct = /* @__PURE__ */ H(T(w({}, rt), {
|
|
58
59
|
__name: "regionBar",
|
|
59
60
|
props: {
|
|
60
61
|
conf: { type: Object, default: () => ({ data: [] }) },
|
|
@@ -99,7 +100,7 @@ const Q = { class: "title-text" }, X = { class: "mix-body" }, Z = { class: "rb-l
|
|
|
99
100
|
}
|
|
100
101
|
const _ = new s(o, "regionBar");
|
|
101
102
|
_.setupLifecycle();
|
|
102
|
-
const { t: N } = W(), n = _.getStyle(), v = o.conf, $ =
|
|
103
|
+
const { t: N } = W(), n = _.getStyle(), v = o.conf, $ = D(() => G(o.conf.options)), g = D(() => {
|
|
103
104
|
var e;
|
|
104
105
|
const t = (((e = o.conf) == null ? void 0 : e.data) || []).map((a) => ({
|
|
105
106
|
name: a.name,
|
|
@@ -126,7 +127,7 @@ const Q = { class: "title-text" }, X = { class: "mix-body" }, Z = { class: "rb-l
|
|
|
126
127
|
const t = /* @__PURE__ */ new Date(), e = (a) => String(a).padStart(2, "0");
|
|
127
128
|
return `${t.getFullYear()}${e(t.getMonth() + 1)}${e(t.getDate())}_${e(t.getHours())}${e(t.getMinutes())}${e(t.getSeconds())}`;
|
|
128
129
|
}
|
|
129
|
-
function
|
|
130
|
+
function A() {
|
|
130
131
|
if (o.mode !== "preview") return;
|
|
131
132
|
const t = g.value;
|
|
132
133
|
if (!t.length) return;
|
|
@@ -135,7 +136,7 @@ const Q = { class: "title-text" }, X = { class: "mix-body" }, Z = { class: "rb-l
|
|
|
135
136
|
x(y(k.value))
|
|
136
137
|
].join(",")).join(`
|
|
137
138
|
`), f = r + `
|
|
138
|
-
` + h,
|
|
139
|
+
` + h, R = new Blob(["\uFEFF" + f], { type: "text/csv;charset=utf-8;" }), S = URL.createObjectURL(R), b = document.createElement("a");
|
|
139
140
|
b.href = S, b.download = `区域评估_${z()}.csv`, document.body.appendChild(b), b.click(), document.body.removeChild(b), URL.revokeObjectURL(S);
|
|
140
141
|
}
|
|
141
142
|
return (t, e) => (p(), m("div", {
|
|
@@ -150,7 +151,7 @@ const Q = { class: "title-text" }, X = { class: "mix-body" }, Z = { class: "rb-l
|
|
|
150
151
|
l(n).btnText ? (p(), m("button", {
|
|
151
152
|
key: 0,
|
|
152
153
|
class: "rb-btn",
|
|
153
|
-
onClick:
|
|
154
|
+
onClick: A
|
|
154
155
|
}, d(l(n).btnText), 1)) : C("", !0)
|
|
155
156
|
], 4),
|
|
156
157
|
c("div", X, [
|
|
@@ -186,7 +187,7 @@ const Q = { class: "title-text" }, X = { class: "mix-body" }, Z = { class: "rb-l
|
|
|
186
187
|
P(t.$slots, "default", {}, void 0, !0)
|
|
187
188
|
], 4));
|
|
188
189
|
}
|
|
189
|
-
})), gt = /* @__PURE__ */ q(ct, [["__scopeId", "data-v-
|
|
190
|
+
})), gt = /* @__PURE__ */ q(ct, [["__scopeId", "data-v-675f1cf2"]]);
|
|
190
191
|
export {
|
|
191
192
|
gt as default
|
|
192
193
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var T = Object.defineProperty, C = Object.defineProperties;
|
|
2
|
+
var K = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var k = Object.getOwnPropertySymbols;
|
|
4
|
-
var q = Object.prototype.hasOwnProperty,
|
|
5
|
-
var M = (o, s, i) => s in o ?
|
|
4
|
+
var q = Object.prototype.hasOwnProperty, N = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var M = (o, s, i) => s in o ? T(o, s, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[s] = i, x = (o, s) => {
|
|
6
6
|
for (var i in s || (s = {}))
|
|
7
7
|
q.call(s, i) && M(o, i, s[i]);
|
|
8
8
|
if (k)
|
|
9
9
|
for (var i of k(s))
|
|
10
|
-
|
|
10
|
+
N.call(s, i) && M(o, i, s[i]);
|
|
11
11
|
return o;
|
|
12
|
-
}, O = (o, s) =>
|
|
12
|
+
}, O = (o, s) => C(o, K(s));
|
|
13
13
|
var B = (o, s, i) => new Promise((e, b) => {
|
|
14
14
|
var c = (j) => {
|
|
15
15
|
try {
|
|
@@ -26,7 +26,7 @@ var B = (o, s, i) => new Promise((e, b) => {
|
|
|
26
26
|
}, n = (j) => j.done ? e(j.value) : Promise.resolve(j.value).then(c, _);
|
|
27
27
|
n((i = i.apply(o, s)).next());
|
|
28
28
|
});
|
|
29
|
-
import {
|
|
29
|
+
import { N as R, O as V, t as y } from "./index-DwPJu6XM.js";
|
|
30
30
|
function U(o, s, i) {
|
|
31
31
|
return B(this, null, function* () {
|
|
32
32
|
var n, j, u, I, w, A, F, $;
|
|
@@ -60,7 +60,7 @@ function U(o, s, i) {
|
|
|
60
60
|
}
|
|
61
61
|
let m = [];
|
|
62
62
|
i === "alertTable" && ((j = c == null ? void 0 : c.columns) != null && j.value) && (m = c.columns.value.filter((t) => t.useFv).map((t) => t.key));
|
|
63
|
-
const
|
|
63
|
+
const S = (t, d) => {
|
|
64
64
|
const a = O(x({}, t), { object_id: d, objectid: d }), f = `${d}_${_}`;
|
|
65
65
|
if (r.has(f)) {
|
|
66
66
|
const l = r.get(f);
|
|
@@ -82,7 +82,7 @@ function U(o, s, i) {
|
|
|
82
82
|
object_id: t.object_id,
|
|
83
83
|
objectid: t.objectid
|
|
84
84
|
}, f = E(a);
|
|
85
|
-
(f.length > 0 ? f : [g].filter(Boolean)).forEach((h) =>
|
|
85
|
+
(f.length > 0 ? f : [g].filter(Boolean)).forEach((h) => S(t, h));
|
|
86
86
|
}), i === "sankey") {
|
|
87
87
|
const t = y({
|
|
88
88
|
object_alias: e.object_alias || e.alias || e.object_id,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var B=Object.defineProperty,E=Object.defineProperties;var C=Object.getOwnPropertyDescriptors;var S=Object.getOwnPropertySymbols;var K=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;var $=(o,s,i)=>s in o?B(o,s,{enumerable:!0,configurable:!0,writable:!0,value:i}):o[s]=i,m=(o,s)=>{for(var i in s||(s={}))K.call(s,i)&&$(o,i,s[i]);if(S)for(var i of S(s))R.call(s,i)&&$(o,i,s[i]);return o},I=(o,s)=>E(o,C(s));var k=(o,s,i)=>new Promise((e,b)=>{var c=j=>{try{n(i.next(j))}catch(v){b(v)}},_=j=>{try{n(i.throw(j))}catch(v){b(v)}},n=j=>j.done?e(j.value):Promise.resolve(j.value).then(c,_);n((i=i.apply(o,s)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index-
|
|
1
|
+
"use strict";var B=Object.defineProperty,E=Object.defineProperties;var C=Object.getOwnPropertyDescriptors;var S=Object.getOwnPropertySymbols;var K=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;var $=(o,s,i)=>s in o?B(o,s,{enumerable:!0,configurable:!0,writable:!0,value:i}):o[s]=i,m=(o,s)=>{for(var i in s||(s={}))K.call(s,i)&&$(o,i,s[i]);if(S)for(var i of S(s))R.call(s,i)&&$(o,i,s[i]);return o},I=(o,s)=>E(o,C(s));var k=(o,s,i)=>new Promise((e,b)=>{var c=j=>{try{n(i.next(j))}catch(v){b(v)}},_=j=>{try{n(i.throw(j))}catch(v){b(v)}},n=j=>j.done?e(j.value):Promise.resolve(j.value).then(c,_);n((i=i.apply(o,s)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index-DVqMfQVc.cjs");function P(o,s,i){return k(this,null,function*(){var n,j,v,x,w,A,F,M;const{common:e,data:b,options:c}=o,_=e.source||"mosaic";try{yield u.ensureAliasMappingLoaded();const g={action:"subscribe",component_name:o.type,items:Number(((n=c==null?void 0:c.points)==null?void 0:n.value)||o.points)||1,body:{},actionid:o.id},r=new Map;let y="";const T=t=>{const d=e.useAlias||!e.object_id||!e.objectid,a=d?u.getObjectIdsByAliasPattern(t,s):[],f=u.getObjectId(t,d,s);return a.length>0?a:f?[f]:[]};if(!e.multiObject||e.hideMultiObject){const t=e.object_id!==void 0&&e.object_id!==""?e:b[0]||{};y=u.getObjectId(t,e.useAlias||!e.object_id||!e.objectid,s)}if(!y){const t={object_alias:e.object_alias||e.alias||b[0]&&(b[0].object_alias||b[0].alias)||"",alias:e.alias||e.object_alias||b[0]&&(b[0].alias||b[0].object_alias)||"",object_id:e.object_id||e.objectid||b[0]&&(b[0].object_id||b[0].objectid)||"",objectid:e.objectid||e.object_id||b[0]&&(b[0].objectid||b[0].object_id)||""};y=u.getObjectId(t,!0,s)}let O=[];i==="alertTable"&&((j=c==null?void 0:c.columns)!=null&&j.value)&&(O=c.columns.value.filter(t=>t.useFv).map(t=>t.key));const q=(t,d)=>{const a=I(m({},t),{object_id:d,objectid:d}),f=`${d}_${_}`;if(r.has(f)){const l=r.get(f);if(["progressBar","progressCircle"].includes(i)&&a.maxType==="fv")l.id.push(a.fv,a.max);else{let h=a.fv;i==="cmc"&&(h=a.item_fv),["ctrSwitch"].includes(i)&&(h=a.status_fv),h&&l.id.push(h)}}else{let l=[];i==="alertTable"&&O.length>0?l=O:a.fv&&(l=[a.fv]),i==="evn"&&(l=[a.fv,a.status_fv]),["progressBar","progressCircle"].includes(i)&&a.maxType==="fv"&&(l=[a.fv,a.max]),i==="cmc"&&(l=[a.item_fv]),["ctrSwitch"].includes(i)&&(l=[a.status_fv]),l.length>0&&r.set(f,I(m({},a),{id:l}))}};if(b.forEach((t,d)=>{const a={object_alias:t.object_alias||t.alias||t.object_id||t.objectid||"",alias:t.alias||t.object_alias||t.object_id||t.objectid||"",object_id:t.object_id,objectid:t.objectid},f=T(a);(f.length>0?f:[y].filter(Boolean)).forEach(h=>q(t,h))}),i==="sankey"){const t=u.getObjectId({object_alias:e.object_alias||e.alias||e.object_id,alias:e.alias||e.object_alias||e.object_id,object_id:e.object_id,objectid:e.objectid},e.useAlias,s),d=`${t}_${_}`;r.has(d)?r.get(d).id.push(e.originFv):r.set(d,{object_id:t,id:[e.originFv]})}if(i==="scd"){const t=u.getObjectId({object_alias:(v=c==null?void 0:c.object)==null?void 0:v.value,alias:(x=c==null?void 0:c.object)==null?void 0:x.value,object_id:(w=c==null?void 0:c.object)==null?void 0:w.value,objectid:(A=c==null?void 0:c.object)==null?void 0:A.value},e.useAlias,s),d=`${t}_${_}`;r.has(d)?r.get(d).id.push((M=c==null?void 0:c.statusFv)==null?void 0:M.value):r.set(d,{object_id:t,id:[(F=c==null?void 0:c.statusFv)==null?void 0:F.value]})}for(const[t,d]of r)g.body[_]||(g.body[_]=[]),g.body[_].push({object_id:d.object_id,objectid:d.object_id,key:d.id});return g}catch(g){throw console.error("格式化请求时出错:",g),new Error("请求格式化失败")}})}exports.formatRequest=P;
|