mixdashboards 1.0.72 → 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-BZJHWdqs.js → BaseComponent-CBagahPU.js} +138 -109
- package/dist/BaseComponent-Chnv4fBT.cjs +1 -0
- package/dist/{EChartComponentBase-C9Qitn3M.js → EChartComponentBase-cFfawl6h.js} +2 -2
- package/dist/{EChartComponentBase-D_5yhZjt.cjs → EChartComponentBase-dLE5F7Tt.cjs} +1 -1
- package/dist/{EmergencyPlanPanel-BdJ4DXnY.js → EmergencyPlanPanel--jTGG89o.js} +1 -1
- package/dist/{EmergencyPlanPanel-D6CwwhFt.cjs → EmergencyPlanPanel-BJb-Bbxh.cjs} +1 -1
- package/dist/{HistoryPlanDialog-DBrfVYGK.cjs → HistoryPlanDialog-C-QPdV4V.cjs} +1 -1
- package/dist/{HistoryPlanDialog-CAo3ys7B.js → HistoryPlanDialog-DerClU2U.js} +1 -1
- package/dist/{MonitoringMap-Dsa1587v.cjs → MonitoringMap-B6RMbiIS.cjs} +1 -1
- package/dist/{MonitoringMap-Cq9Jd8N9.js → MonitoringMap-CNaGsq83.js} +2 -2
- package/dist/UniverSheet-CM-vvc23.cjs +1 -0
- package/dist/{UniverSheet-D6k_l9NS.js → UniverSheet-KI09RqKm.js} +16 -15
- package/dist/{accelerationChart-8VErLWPd.js → accelerationChart-D7KNk5fI.js} +61 -59
- package/dist/accelerationChart-HBCb2bRW.cjs +6 -0
- package/dist/{actionItem-Bq-CTM-q.js → actionItem-BmNYzAXu.js} +48 -41
- package/dist/actionItem-Bx4mW0jP.cjs +1 -0
- package/dist/alarmLevelChart-Cvnw4z1w.cjs +2 -0
- package/dist/{alarmLevelChart-CXIBX8H_.js → alarmLevelChart-DdSw2s7W.js} +91 -46
- package/dist/{alertTable-CNRNL3Ci.js → alertTable-CC3c8DFb.js} +40 -39
- package/dist/alertTable-hH6HA9pY.cjs +1 -0
- package/dist/aliasObjectSelectorDemo-C7E_fnCf.cjs +1 -0
- package/dist/{aliasObjectSelectorDemo-DdyR4PwI.js → aliasObjectSelectorDemo-yDiavTpG.js} +11 -10
- package/dist/{annualRainfallChart-OquNKpoG.js → annualRainfallChart-B9ar8vo8.js} +32 -30
- package/dist/annualRainfallChart-C6JLSPIf.cjs +1 -0
- package/dist/{aqi-BXIYvFsI.js → aqi-BNc5QCM3.js} +21 -19
- package/dist/{aqi-vycDyoDy.cjs → aqi-DEiCVIVa.cjs} +3 -3
- package/dist/aqiIndass-Bowic_Pc.cjs +3 -0
- package/dist/{aqiIndass-ueAg3Sa-.js → aqiIndass-CAGV8_Uf.js} +41 -40
- package/dist/{areaDeformCurve-BPOg_MCH.js → areaDeformCurve-CSpR060t.js} +51 -49
- package/dist/areaDeformCurve-CVy23kV2.cjs +1 -0
- package/dist/arrayCard-NqoQKcE9.cjs +1 -0
- package/dist/{arrayCard-tInxu76A.js → arrayCard-PPDb7U6X.js} +29 -28
- package/dist/{audio-BjIcuNzU.js → audio-BJPFIQIr.js} +42 -41
- package/dist/audio-Bw-GaYe1.cjs +1 -0
- package/dist/{bar-CZThhGeK.js → bar-C38h_mUA.js} +72 -70
- package/dist/{bar-kydpkO5O.cjs → bar-Cru6WosS.cjs} +2 -2
- package/dist/bmp-BXaEkkpa.cjs +1 -0
- package/dist/{bmp-Der3-3RY.js → bmp-BnSOaFEr.js} +15 -14
- package/dist/box-CKuGsh2k.cjs +1 -0
- package/dist/{box-CvyjRva9.js → box-DIHVOqrV.js} +58 -57
- package/dist/chartConfigPanel-BVdVXbs6.cjs +1 -0
- package/dist/{chartConfigPanel-DHdIkA2U.js → chartConfigPanel-D1rO6SGh.js} +86 -79
- package/dist/{circleBar-DUATSXc4.cjs → circleBar-BzXqA-Cz.cjs} +3 -3
- package/dist/{circleBar-BminUctw.js → circleBar-CBLcp4Xi.js} +27 -25
- package/dist/{clock-Dyjp56yr.js → clock-4AMfFDGC.js} +35 -34
- package/dist/clock-DmWyBpo-.cjs +1 -0
- package/dist/clt-CmPPtp9c.cjs +1 -0
- package/dist/{clt-BkyX7hRS.js → clt-D5i_8-pq.js} +60 -59
- package/dist/cmc-8jH3DGv9.cjs +1 -0
- package/dist/{cmc-BKbpJ2AS.js → cmc-Cjb5w3om.js} +23 -22
- package/dist/{cmp-TWTWmJhc.js → cmp-COJzlQPa.js} +19 -18
- package/dist/{cmp-DOKzPO_f.cjs → cmp-CpmGtNal.cjs} +2 -2
- package/dist/{composite-CBRKNP3S.js → composite-CsFgfxih.js} +37 -36
- package/dist/{composite-Bralo5Bb.cjs → composite-DLmzZNIj.cjs} +3 -3
- package/dist/{conclusionCard-B-xjFluY.js → conclusionCard-BQUlLFde.js} +15 -14
- package/dist/conclusionCard-C-TT6znN.cjs +1 -0
- package/dist/{controlList-CB_s8xuI.js → controlList-5D5UIDQL.js} +40 -38
- package/dist/controlList-CIwzKylK.cjs +1 -0
- package/dist/{controlRecordList-CM2G1gQJ.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-BYA7XmHz.js → crd-8gRWMf2Y.js} +14 -13
- package/dist/crd-Dfl2XKAx.cjs +1 -0
- package/dist/{ctrBtn-BPCqbhvT.js → ctrBtn-BzmFxucy.js} +106 -107
- package/dist/ctrBtn-OOgL9esv.cjs +1 -0
- package/dist/{ctrSet-CfGGZU-o.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-BN0Uez6b.js → dataManagement-BZiSmktM.js} +52 -45
- package/dist/dataManagement-sQpuBaDz.cjs +1 -0
- package/dist/{dataReport-C2NJJv2E.js → dataReport-CbJzXeCE.js} +25 -24
- package/dist/{dataReport-DU--SgFR.cjs → dataReport-D9Q9c43B.cjs} +2 -2
- package/dist/{dataTable-DDUNkd1O.cjs → dataTable-BJ4SVFbu.cjs} +1 -1
- package/dist/{dataTable-NXuiwArW.js → dataTable-BuBB0b-A.js} +1 -1
- package/dist/datetime-B66VgJL1.cjs +1 -0
- package/dist/{datetime-BoF1uZnM.js → datetime-DO03QrXz.js} +25 -24
- package/dist/deepClusterSlipSurface-BqT55vkY.cjs +1 -0
- package/dist/{deepClusterSlipSurface-B5JCfJQq.js → deepClusterSlipSurface-DpSAXgFf.js} +45 -43
- package/dist/{deepDataMatrix-tOul9XLn.js → deepDataMatrix-CPrIOv5r.js} +46 -45
- package/dist/deepDataMatrix-DZZaTMbD.cjs +1 -0
- package/dist/{deepDisplacement3D-CvIOCCWr.cjs → deepDisplacement3D-Cd9nwwPt.cjs} +3 -3
- package/dist/{deepDisplacement3D-Cr4Q4NIN.js → deepDisplacement3D-JlMej7-5.js} +9 -7
- package/dist/{deepDisplacementChart-mrNbBZs6.js → deepDisplacementChart-BiDt60xI.js} +89 -88
- package/dist/deepDisplacementChart-CALM3gna.cjs +5 -0
- package/dist/deepDisplacementChart-CEaj2bUV.cjs +6 -0
- package/dist/{deepDisplacementChart-DUQuRtMV.js → deepDisplacementChart-CjlGpeHj.js} +54 -52
- package/dist/{deepDisplacementView-BG4_-V5a.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-DU082U91.js → deepNodeTemperatureChart-DfZq7kLx.js} +50 -48
- package/dist/{deepTangentAngleChart-BCy0xmIM.js → deepTangentAngleChart-Ca01hah9.js} +92 -90
- package/dist/deepTangentAngleChart-Dg9PJspK.cjs +1 -0
- package/dist/deepTemperatureField-BqDB97SW.cjs +1 -0
- package/dist/{deepTemperatureField-CBxOxDlH.js → deepTemperatureField-CYBTjhEp.js} +95 -93
- package/dist/deepTrendChart-B5BAHTeY.cjs +1 -0
- package/dist/{deepTrendChart-Clsb3uGF.js → deepTrendChart-DBjxV7_A.js} +56 -54
- package/dist/{deviceOnlineStatus-u_ZUgsKa.js → deviceOnlineStatus-1eoHCl_-.js} +58 -50
- package/dist/deviceOnlineStatus-DHzaAzCp.cjs +2 -0
- package/dist/deviceStatus-4BMy4qBD.cjs +1 -0
- package/dist/{deviceStatus-IO59zW0M.js → deviceStatus-90rQa1uj.js} +61 -60
- package/dist/{displacementDataTable-Crfb4LOf.js → displacementDataTable-BArwj-xp.js} +52 -51
- package/dist/displacementDataTable-BLWjiaRQ.cjs +1 -0
- package/dist/{displacementTrajectoryChart-B5x_r7S6.js → displacementTrajectoryChart-CxOPJVlD.js} +34 -32
- package/dist/displacementTrajectoryChart-DfJMOCFJ.cjs +22 -0
- package/dist/{displacementTrendChart-yu4fDMHf.js → displacementTrendChart-4E6cDsX8.js} +49 -48
- package/dist/displacementTrendChart-Cuxa5iTp.cjs +5 -0
- package/dist/{dxf-CxM1kphc.cjs → dxf-BgklkksV.cjs} +1 -1
- package/dist/{dxf-zfl589s3.js → dxf-BogwbJID.js} +5 -4
- package/dist/{dzc-CRN6cOor.cjs → dzc-CApfzriC.cjs} +2 -2
- package/dist/{dzc-BrgztzdK.js → dzc-D7tTBLaA.js} +24 -22
- package/dist/emergencyPlan-BuFz4XFc.cjs +1 -0
- package/dist/{emergencyPlan-55mNv_J8.js → emergencyPlan-CjbuX-N5.js} +19 -18
- package/dist/evn-BcSenXF3.cjs +1 -0
- package/dist/{evn-Beo2a6FF.js → evn-DTPm72ZM.js} +23 -22
- package/dist/evolutionChart-CrwR8i40.cjs +1 -0
- package/dist/{evolutionChart-CNGmhJcI.js → evolutionChart-D1dVKWOt.js} +25 -23
- package/dist/{fileViewer-CArsEsl_.js → fileViewer-BNHwlZRa.js} +57 -56
- package/dist/fileViewer-BUuST3Rp.cjs +1 -0
- package/dist/filterBar-BJzjPFFg.cjs +1 -0
- package/dist/{filterBar-BsdqKi8m.js → filterBar-CRJinh5K.js} +44 -43
- package/dist/fireCombustionCurve-BGdJ1ybj.cjs +1 -0
- package/dist/{fireCombustionCurve-C09lBRWh.js → fireCombustionCurve-BZ6qJ1kq.js} +69 -67
- package/dist/fireFilterBar-DZejT0oL.cjs +1 -0
- package/dist/{fireFilterBar-KeajTue7.js → fireFilterBar-KvvbsCsZ.js} +25 -24
- package/dist/{fireHistoryTable-CnMCDTXI.js → fireHistoryTable-80ygqnOG.js} +73 -65
- package/dist/fireHistoryTable-CMSGKb3w.cjs +3 -0
- package/dist/gag-1bvAZ5m6.cjs +1 -0
- package/dist/{gag-CrbCNbSB.js → gag-D2obj7AF.js} +30 -28
- package/dist/{gasStationList-DWgFAMgN.js → gasStationList-DM-laJsi.js} +527 -526
- package/dist/gasStationList-DjJtXnqL.cjs +1 -0
- package/dist/{geo3dViewer-BsUUtKZt.cjs → geo3dViewer-CL_89mQf.cjs} +1 -1
- package/dist/{geo3dViewer-D2ynaszN.js → geo3dViewer-FhmMIvMJ.js} +12 -5
- package/dist/{glbModel-BWKU672o.js → glbModel-B0nWYYJQ.js} +19 -18
- package/dist/{glbModel-CcQQMUNe.cjs → glbModel-DakMJal6.cjs} +3 -3
- package/dist/{globalObjectSelector-qPIKrALD.js → globalObjectSelector-Gv4srHhp.js} +79 -78
- package/dist/globalObjectSelector-jNzZxdnL.cjs +1 -0
- package/dist/{gnssFilterBar-CX_RlwXp.js → gnssFilterBar-C4rpyNw3.js} +70 -63
- package/dist/gnssFilterBar-kEIW7Tjs.cjs +1 -0
- package/dist/{gnssHistoryTable-Bda-GA7n.js → gnssHistoryTable-CyMwQJ7_.js} +58 -50
- package/dist/gnssHistoryTable-DRKlP8-b.cjs +3 -0
- package/dist/{gnssMapView-g91Pd6yW.cjs → gnssMapView-DpExCi0x.cjs} +4 -4
- package/dist/{gnssMapView-BZJs2Qvt.js → gnssMapView-EVufCGrW.js} +174 -167
- package/dist/{gnssSectionProfile-B60QjwdW.js → gnssSectionProfile-CaJwF9wp.js} +41 -34
- package/dist/gnssSectionProfile-DdcOMdNC.cjs +1 -0
- package/dist/{gnssTimeSeriesChart-C7Lo_iiU.js → gnssTimeSeriesChart-iffDvMNx.js} +57 -49
- package/dist/gnssTimeSeriesChart-y11Y8k2-.cjs +1 -0
- package/dist/{gnssXYTrajectory-Ohic5_KH.js → gnssXYTrajectory-C_1fuLWn.js} +53 -45
- package/dist/gnssXYTrajectory-DGBGGDwi.cjs +5 -0
- package/dist/grd-C4hCrpvH.cjs +1 -0
- package/dist/{grd-DT5wuOei.js → grd-FfuMQJb7.js} +43 -42
- package/dist/{grdIndass-DzkvYb8T.js → grdIndass-BTbZmPLZ.js} +30 -29
- package/dist/grdIndass-CyuRKD5H.cjs +1 -0
- package/dist/{grg-DAJ9SyBI.js → grg-CcnI5kRY.js} +27 -26
- package/dist/grg-Cuxa17d6.cjs +1 -0
- package/dist/gridview-CKjBuTRq.cjs +1 -0
- package/dist/{gridview-DuygG6Qg.js → gridview-ffVc5Wvg.js} +32 -31
- package/dist/groundwaterFilterBar-D3l7GLVY.cjs +1 -0
- package/dist/{groundwaterFilterBar-CZo0wtV5.js → groundwaterFilterBar-DaPR-kbl.js} +13 -12
- package/dist/groundwaterProfileChart-BxJKIPXF.cjs +11 -0
- package/dist/{groundwaterProfileChart-Czd9vmer.js → groundwaterProfileChart-DoSx7WWp.js} +42 -40
- package/dist/groundwaterTimeCurve-Bp5MxM9k.cjs +1 -0
- package/dist/{groundwaterTimeCurve-CzM0e7k4.js → groundwaterTimeCurve-D-SdVYeq.js} +57 -55
- package/dist/{groupCard-DBUzFWdv.cjs → groupCard-BzUQ8xY0.cjs} +1 -1
- package/dist/{groupCard-DBYJsgTz.js → groupCard-COMEkzIb.js} +29 -28
- package/dist/headerBar-iFe0YQKE.cjs +1 -0
- package/dist/{headerBar-D-kP4ojw.js → headerBar-ouXO8bzC.js} +48 -47
- package/dist/{history-DVGFHHj9.js → history-BZ869y2d.js} +18 -18
- package/dist/{history-CrYwBaK2.cjs → history-MxYUUwkm.cjs} +1 -1
- package/dist/index-DVqMfQVc.cjs +612 -0
- package/dist/{index-remJEicu.js → index-DwPJu6XM.js} +932 -906
- package/dist/{insarDeformChart-dHB2Cy3Y.js → insarDeformChart-5BhCUq8L.js} +24 -17
- package/dist/insarDeformChart-Ca3AMsBk.cjs +1 -0
- package/dist/{insarImageViewer-B2gkaoJc.js → insarImageViewer-DHNxmLpa.js} +41 -34
- package/dist/insarImageViewer-DWPsoHz6.cjs +1 -0
- package/dist/{kds-BSOYnFvc.js → kds-BYZC4pIM.js} +57 -50
- package/dist/{kds-CJtNBhnl.cjs → kds-Dpf_3WWj.cjs} +2 -2
- package/dist/{kpiCard-vLI_oxLS.js → kpiCard-CStPtl-c.js} +5 -4
- package/dist/kpiCard-OLJgA48-.cjs +2 -0
- package/dist/{landslideMap-CjM9aS63.js → landslideMap-BUq0x7rd.js} +34 -33
- package/dist/landslideMap-JTdoQjW-.cjs +1 -0
- package/dist/{landslideWarning-ww0xDOeu.js → landslideWarning-VAn9XGUj.js} +55 -54
- package/dist/landslideWarning-ZA5LCsIr.cjs +1 -0
- package/dist/{layerTabs-DGkNNhIt.js → layerTabs-CAJ6f-2W.js} +40 -38
- package/dist/layerTabs-CdhowHB1.cjs +1 -0
- package/dist/{leaflet-src-D_cWrPkT.cjs → leaflet-src-CxFQ_Cn7.cjs} +1 -1
- package/dist/{leaflet-src-twyURjKF.js → leaflet-src-DNO2-OsP.js} +1 -1
- package/dist/{lerc-44UBDUUc.js → lerc-bF2jqjoV.js} +2 -2
- package/dist/{lerc-CklphqeF.cjs → lerc-qU4WKXeS.cjs} +1 -1
- package/dist/{lin-DQJ6q2Vg.cjs → lin-BHI2KgyW.cjs} +2 -2
- package/dist/{lin-CltgZWdb.js → lin-DbQw7wZw.js} +20 -18
- package/dist/linIndass-CIrObeZT.cjs +2 -0
- package/dist/{linIndass-Ct0pxRXR.js → linIndass-Cd9Hjzs_.js} +31 -30
- package/dist/lst-BRsEe-Hq.cjs +1 -0
- package/dist/{lst-ePnM6BVV.js → lst-C3C2m1v_.js} +40 -39
- package/dist/{manualEntry-DcIm2dZc.js → manualEntry-B8TDMcDg.js} +29 -22
- package/dist/manualEntry-C3_WtYz8.cjs +1 -0
- package/dist/{mapBackground-C6VBKtXq.js → mapBackground-BrVIQUcT.js} +21 -20
- package/dist/{mapBackground-jOREitNC.cjs → mapBackground-Du7R_ICY.cjs} +2 -2
- package/dist/{mappingList-DU6-_wZ0.js → mappingList-BpJUawmv.js} +22 -20
- package/dist/mappingList-C5OZ8oUx.cjs +1 -0
- package/dist/{markdownViewer-DDClNcYP.js → markdownViewer-CoRrvdY7.js} +16 -15
- package/dist/{markdownViewer-Cr-uSUHQ.cjs → markdownViewer-D96bwxEt.cjs} +2 -2
- package/dist/{mix-control-modal-CTmw_G76.cjs → mix-control-modal-DwxwW65v.cjs} +1 -1
- package/dist/{mix-control-modal-1PpsKqbW.js → mix-control-modal-Qg_mzyT_.js} +1 -1
- package/dist/{mixGrid-C42_MM1F.js → mixGrid-CtJWul6c.js} +44 -43
- package/dist/mixGrid-Hj0OJjkg.cjs +1 -0
- package/dist/mixMap-CJzmC0IR.cjs +1 -0
- package/dist/{mixMap-gY8GI4r-.js → mixMap-E36SDnEa.js} +36 -35
- package/dist/mixModel-BMRxhvWn.cjs +3 -0
- package/dist/{mixModel-TcVqOZf7.js → mixModel-_McJ6OuH.js} +30 -29
- package/dist/{mixPie-CRnrUPNR.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-BoYp5FJI.js → mjpegCamera-Dc4IsJA6.js} +12 -11
- package/dist/monitorAlert-DVNvJyTy.cjs +1 -0
- package/dist/{monitorAlert-BKZ-YXXl.js → monitorAlert-F8QFOchR.js} +45 -44
- package/dist/monitorData-AkPbhJ9q.cjs +1 -0
- package/dist/{monitorData-xY595gZV.js → monitorData-BzqNIdrW.js} +61 -59
- package/dist/{monitorSpeedChart-5-GS_F-c.js → monitorSpeedChart-348U37LW.js} +22 -21
- package/dist/{monitorSpeedChart-CEhVM5pS.cjs → monitorSpeedChart-DVH1xihw.cjs} +2 -2
- package/dist/{mxa-DnAc0PXv.js → mxa-CkJjCHA-.js} +29 -27
- package/dist/{mxa-CayHavkq.cjs → mxa-DShU528J.cjs} +2 -2
- package/dist/myValue-BCeycpdO.cjs +1 -0
- package/dist/{myValue-jj4m06yF.js → myValue-CEfp19i2.js} +17 -16
- package/dist/myValueList-CAPOW8TK.cjs +1 -0
- package/dist/{myValueList-Dgm61y-6.js → myValueList-y3GR4AX2.js} +41 -40
- package/dist/objectList-4rYQk5uq.cjs +1 -0
- package/dist/{objectList-CAC9wXyk.js → objectList-D16yLbzD.js} +538 -599
- package/dist/objectListAPP-DCwTyqFp.js +1864 -0
- package/dist/objectListAPP-Db5beOAM.cjs +1 -0
- package/dist/{photo-Ce1dkepK.js → photo-BV6rkbWO.js} +18 -17
- package/dist/photo-D67wLRkY.cjs +1 -0
- package/dist/{pie-BAQD1VOr.cjs → pie-BeRwVkTk.cjs} +2 -2
- package/dist/{pie-bLPxajKB.js → pie-bNKhq6ak.js} +16 -14
- package/dist/{placeholder-rgDfjO6I.js → placeholder-_iK4rVyU.js} +26 -25
- package/dist/placeholder-zByzfWaH.cjs +1 -0
- package/dist/{pressBtn-adFjH_JR.js → pressBtn-B-rZPXK2.js} +124 -124
- package/dist/pressBtn-BjqYIPC-.cjs +1 -0
- package/dist/processTable-ByPlSKRJ.cjs +3 -0
- package/dist/{processTable-2EoN9XLE.js → processTable-s_y8uups.js} +12 -11
- package/dist/{progressBar-B4IlrfCm.cjs → progressBar-CRdA7oJT.cjs} +1 -1
- package/dist/{progressBar-D0vROSc2.js → progressBar-DskxZk1P.js} +19 -18
- package/dist/{progressCircle-B2lywtkl.js → progressCircle-BE_Am-AP.js} +13 -12
- package/dist/{progressCircle-CGKEsEUG.cjs → progressCircle-CHe-12Hb.cjs} +1 -1
- package/dist/{qrcode-CRQFBLIA.cjs → qrcode-D8cFyUpL.cjs} +1 -1
- package/dist/{qrcode-DFGU6DPO.js → qrcode-Dgth6KwU.js} +39 -38
- package/dist/{raceBar-B1YDOGK9.cjs → raceBar-CeybrpCB.cjs} +3 -3
- package/dist/{raceBar-YQujPrK2.js → raceBar-DV-3KFg2.js} +18 -16
- package/dist/rad-BerkC70H.cjs +1 -0
- package/dist/{rad-DM77V1pE.js → rad-BhsfF0XI.js} +22 -20
- package/dist/{radarMapViewer-CM7Wy-sv.js → radarMapViewer-C2dde8EN.js} +82 -81
- package/dist/radarMapViewer-HWzvBTzT.cjs +1 -0
- package/dist/{rainfallFilterBar-BFAWhn01.js → rainfallFilterBar-CiT1mvYh.js} +22 -21
- package/dist/rainfallFilterBar-kuAQO0M-.cjs +1 -0
- package/dist/rainfallTimeCurve-7uHaSkuE.cjs +1 -0
- package/dist/{rainfallTimeCurve-B0hyV9Sg.js → rainfallTimeCurve-BlOnCq2M.js} +58 -56
- package/dist/rangeLin-BQeWFL_E.cjs +3 -0
- package/dist/{rangeLin-rf5w841B.js → rangeLin-BvKd8kEv.js} +32 -31
- package/dist/realtimeEvolutionMap-BUnD3JjE.cjs +1 -0
- package/dist/{realtimeEvolutionMap-BWvkvYyf.js → realtimeEvolutionMap-DZ6yniwl.js} +46 -44
- package/dist/regionBar-mMaN5NEc.cjs +3 -0
- package/dist/{regionBar-DpTta3Kq.js → regionBar-vp5D52Jd.js} +14 -13
- package/dist/{request-D5vI57OK.js → request-CMbwWTDF.js} +9 -9
- package/dist/{request-KOwtJU0C.cjs → request-DegEaaCG.cjs} +1 -1
- package/dist/retainer1-CF2Tr7Zt.cjs +1 -0
- package/dist/{retainer1-CoW8_uek.js → retainer1-Xvdlh-B_.js} +17 -16
- package/dist/retainer2-BQVUhgcH.cjs +1 -0
- package/dist/{retainer2-DZwV_B7h.js → retainer2-D3a-c_BA.js} +43 -42
- package/dist/{retainerRecordList-9oJSLIG6.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-C4o54GJ4.js → ringTopN-BFKlXqGX.js} +18 -16
- package/dist/ringTopN-CsouIsk1.cjs +1 -0
- package/dist/{riskRegionTable-BvjQv1hM.js → riskRegionTable-B6k4uM0_.js} +26 -19
- package/dist/riskRegionTable-DttMvHe5.cjs +1 -0
- package/dist/sankey-CAuBQaYh.cjs +1 -0
- package/dist/{sankey-KHMHtXhO.js → sankey-DEQK7uU6.js} +17 -15
- package/dist/{scd-JLIr5XOq.js → scd-D5TicpCZ.js} +6 -5
- package/dist/{scd-BEXXJy7f.cjs → scd-qaap6hGW.cjs} +1 -1
- package/dist/{sideMenu-CNoSc8uo.js → sideMenu-ByyrOOYh.js} +28 -27
- package/dist/sideMenu-D-73DoYb.cjs +1 -0
- package/dist/{slopeStability-CaKLYETz.js → slopeStability-BtgMH3oW.js} +44 -42
- package/dist/slopeStability-CTN6Kpva.cjs +1 -0
- package/dist/speedCurve-C5NoQCjK.cjs +1 -0
- package/dist/{speedCurve-BXWZC0W4.js → speedCurve-CInn7NAC.js} +43 -41
- package/dist/staticLine-BC-zj5yZ.cjs +1 -0
- package/dist/{staticLine-D_hxZz6Z.js → staticLine-CLqN4lpU.js} +51 -50
- package/dist/stressFilterBar-Cpfbmllu.cjs +1 -0
- package/dist/{stressFilterBar-Ce3RZz1_.js → stressFilterBar-D_QqOHna.js} +46 -45
- package/dist/{stressTimeCurve-B-KKZfPp.js → stressTimeCurve-1HXHUj-F.js} +64 -62
- package/dist/stressTimeCurve-Bp6Cevk1.cjs +1 -0
- package/dist/{swiper-Dyr_eOT2.cjs → swiper-B8YZ2VQ2.cjs} +1 -1
- package/dist/{swiper-C6rRWuh0.js → swiper-D_y4Fj_D.js} +25 -24
- package/dist/terminalConfigList-B39cEptG.cjs +1 -0
- package/dist/{terminalConfigList-DhF0oeTV.js → terminalConfigList-CHbA4y-S.js} +38 -36
- package/dist/terminalList-Vf-Dbybr.cjs +1 -0
- package/dist/{terminalList-BaFbG8as.js → terminalList-oJFrGVtT.js} +38 -36
- package/dist/terminalListAPP-CdBG8krw.cjs +1 -0
- package/dist/terminalListAPP-DWArp2D4.js +1366 -0
- package/dist/{textbox-DUAtJKxa.js → textbox-D8nmoGjG.js} +13 -12
- package/dist/textbox-DPoyxB4u.cjs +1 -0
- package/dist/{timeQueryBar-BBLIW8XS.js → timeQueryBar-DyC0iHq9.js} +21 -20
- package/dist/timeQueryBar-uUGotoTx.cjs +1 -0
- package/dist/{timeSeries-LL6aSQJI.cjs → timeSeries-BhlqgEOq.cjs} +2 -2
- package/dist/{timeSeries-vzRqrLgX.js → timeSeries-U91gMDDQ.js} +66 -64
- package/dist/timeSeriesCurve-CiRMnZRD.cjs +1 -0
- package/dist/{timeSeriesCurve-LKoWQ8xG.js → timeSeriesCurve-DOhIS88N.js} +68 -66
- package/dist/{toggleBtn-STcDyQa9.cjs → toggleBtn-CuWwHFjD.cjs} +1 -1
- package/dist/{toggleBtn-otCUzkF6.js → toggleBtn-DE35dkxx.js} +46 -44
- package/dist/trajectoryConfigPanel-DAbF8oE9.cjs +1 -0
- package/dist/{trajectoryConfigPanel-BBu714Ny.js → trajectoryConfigPanel-Ye7NY6rd.js} +35 -34
- package/dist/{trajectoryScatter-BBuiEgYR.js → trajectoryScatter-DL7HUNJI.js} +47 -45
- package/dist/trajectoryScatter-Dg99HzM3.cjs +1 -0
- package/dist/universalConfigPanel-1svBCvD9.cjs +1 -0
- package/dist/{universalConfigPanel-B40rio3f.js → universalConfigPanel-CkyIDl_x.js} +50 -49
- package/dist/{universalTable-D3is-AEP.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-D82ilCNf.js → video-BmMSRRa_.js} +5 -4
- package/dist/{video-uqWfBoGZ.cjs → video-RGIZoUn6.cjs} +2 -2
- package/dist/videoMonitor-Bo5T0MT_.cjs +1 -0
- package/dist/{videoMonitor-MW2Gsa2S.js → videoMonitor-uf6tt2E6.js} +34 -33
- package/dist/{vlu-CvC_CcNC.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-D-M6pMY-.js → warningOverview-CA0PikjV.js} +31 -30
- package/dist/{weather-QtiurPKS.cjs → weather-D20MGzuJ.cjs} +1 -1
- package/dist/{weather-DmO-xyVb.js → weather-DuseqeNF.js} +19 -18
- package/dist/{windLin-Ds3G5XWR.cjs → windLin-BU6Q87dE.cjs} +1 -1
- package/dist/{windLin-MZa82QLT.js → windLin-D8AUL_dV.js} +58 -57
- package/package.json +2 -2
- package/dist/BaseComponent-uXj75p0j.cjs +0 -1
- package/dist/UniverSheet-CsJdQ9lc.cjs +0 -1
- package/dist/accelerationChart-CejCMd9y.cjs +0 -6
- package/dist/actionItem-CRaoMhDD.cjs +0 -1
- package/dist/alarmLevelChart-8ggVK34y.cjs +0 -2
- package/dist/alertTable-C0C2bEEO.cjs +0 -1
- package/dist/aliasObjectSelectorDemo-DaKqQZHU.cjs +0 -1
- package/dist/annualRainfallChart-DVQOm91e.cjs +0 -1
- package/dist/aqiIndass-KBxxAYgm.cjs +0 -3
- package/dist/areaDeformCurve-BXJdgjyV.cjs +0 -1
- package/dist/arrayCard-Duswp0gd.cjs +0 -1
- package/dist/audio-BuWdfeNA.cjs +0 -1
- package/dist/bmp-4z9ZliwQ.cjs +0 -1
- package/dist/box-DSZqbS0w.cjs +0 -1
- package/dist/chartConfigPanel-DisnLg5M.cjs +0 -1
- package/dist/clock-jHWg9_N3.cjs +0 -1
- package/dist/clt-B5QsJpS5.cjs +0 -1
- package/dist/cmc-CjWN1MqD.cjs +0 -1
- package/dist/conclusionCard-BLCdWvwr.cjs +0 -1
- package/dist/controlList-B4kppMj1.cjs +0 -1
- package/dist/controlRecordList-BPdYpSv9.cjs +0 -1
- package/dist/crd-D47xT9gQ.cjs +0 -1
- package/dist/ctrBtn-CL1q4_8S.cjs +0 -1
- package/dist/ctrSet-BgXbW3Co.cjs +0 -1
- package/dist/ctrSwitch-BwMCNvw-.js +0 -206
- package/dist/ctrSwitch-CTcK4Sar.cjs +0 -1
- package/dist/dataManagement-CYB4Rjwu.cjs +0 -1
- package/dist/datetime-DVUt3_TX.cjs +0 -1
- package/dist/deepClusterSlipSurface-BadZeGS6.cjs +0 -1
- package/dist/deepDataMatrix-FsOuatIM.cjs +0 -1
- package/dist/deepDisplacementChart-DfKnenoT.cjs +0 -6
- package/dist/deepDisplacementChart-DusQlz2s.cjs +0 -5
- package/dist/deepDisplacementView-BKQKCrb8.cjs +0 -8
- package/dist/deepNodeTemperatureChart-CUCmlh4C.cjs +0 -1
- package/dist/deepTangentAngleChart-DwyUleEI.cjs +0 -1
- package/dist/deepTemperatureField-oSh9JUwV.cjs +0 -1
- package/dist/deepTrendChart-D4u7Ozr6.cjs +0 -1
- package/dist/deviceOnlineStatus-BaoRhqCq.cjs +0 -2
- package/dist/deviceStatus-CSbJhW83.cjs +0 -1
- package/dist/displacementDataTable-DOvepbhX.cjs +0 -1
- package/dist/displacementTrajectoryChart-D4D0gp27.cjs +0 -22
- package/dist/displacementTrendChart-Bhasu-QZ.cjs +0 -5
- package/dist/emergencyPlan-kulcCWsd.cjs +0 -1
- package/dist/evn-Cz5D8nSZ.cjs +0 -1
- package/dist/evolutionChart-C_8RTd_Z.cjs +0 -1
- package/dist/fileViewer-Baf3Xlpe.cjs +0 -1
- package/dist/filterBar-CLcUMoza.cjs +0 -1
- package/dist/fireCombustionCurve-NT9zzbhU.cjs +0 -1
- package/dist/fireFilterBar-CU3WR3aK.cjs +0 -1
- package/dist/fireHistoryTable-z5mZSInl.cjs +0 -3
- package/dist/gag-DtvSstGV.cjs +0 -1
- package/dist/gasStationList-Dh2Coo5F.cjs +0 -1
- package/dist/globalObjectSelector-Ceb1J8z3.cjs +0 -1
- package/dist/gnssFilterBar-BcoPBFpW.cjs +0 -1
- package/dist/gnssHistoryTable-BfSQzZzq.cjs +0 -3
- package/dist/gnssSectionProfile-CW4C3WzI.cjs +0 -1
- package/dist/gnssTimeSeriesChart-BO_mKaDz.cjs +0 -1
- package/dist/gnssXYTrajectory-DWn6Rd9k.cjs +0 -5
- package/dist/grd-Uh1anNmo.cjs +0 -1
- package/dist/grdIndass-9AzGAgON.cjs +0 -1
- package/dist/grg-C_x9eiBP.cjs +0 -1
- package/dist/gridview-CLsJmG47.cjs +0 -1
- package/dist/groundwaterFilterBar-KfxvI6JR.cjs +0 -1
- package/dist/groundwaterProfileChart-lXbf9_Ym.cjs +0 -11
- package/dist/groundwaterTimeCurve-CuO22lmu.cjs +0 -1
- package/dist/headerBar-DSConCEH.cjs +0 -1
- package/dist/index-DG9mR7kP.cjs +0 -612
- package/dist/insarDeformChart-BL3s3oNd.cjs +0 -1
- package/dist/insarImageViewer-D77HbJpn.cjs +0 -1
- package/dist/kpiCard-D6_J-bDZ.cjs +0 -2
- package/dist/landslideMap-CBfk4pPg.cjs +0 -1
- package/dist/landslideWarning-ogz7Qcoj.cjs +0 -1
- package/dist/layerTabs-RVfrdkZH.cjs +0 -1
- package/dist/linIndass-CFz9sM1K.cjs +0 -2
- package/dist/lst-DqxBb3qg.cjs +0 -1
- package/dist/manualEntry-XaKc1v45.cjs +0 -1
- package/dist/mappingList-BaBJQzbz.cjs +0 -1
- package/dist/mixGrid-O8oDEciD.cjs +0 -1
- package/dist/mixMap-DOIgKOqb.cjs +0 -1
- package/dist/mixModel-DvzMDdAB.cjs +0 -3
- package/dist/mixPie-rdVLs5_F.cjs +0 -2
- package/dist/mjpegCamera-CREXOF3a.cjs +0 -1
- package/dist/monitorAlert-C3Wg2Gxn.cjs +0 -1
- package/dist/monitorData-DBnxNbE8.cjs +0 -1
- package/dist/myValue-C8cq5ARG.cjs +0 -1
- package/dist/myValueList-CXGEWh1b.cjs +0 -1
- package/dist/objectList-BW3QJRbX.cjs +0 -1
- package/dist/photo-pXFzGdZJ.cjs +0 -1
- package/dist/placeholder-Cpiz-HJF.cjs +0 -1
- package/dist/pressBtn-CfdhCndy.cjs +0 -1
- package/dist/processTable-B4CdxM1M.cjs +0 -3
- package/dist/rad-KY9aZ_gj.cjs +0 -1
- package/dist/radarMapViewer-DlA440Uv.cjs +0 -1
- package/dist/rainfallFilterBar-BxOXjvga.cjs +0 -1
- package/dist/rainfallTimeCurve-DWxLwNZ2.cjs +0 -1
- package/dist/rangeLin-B6ONUCXn.cjs +0 -3
- package/dist/realtimeEvolutionMap-B94F_uVe.cjs +0 -1
- package/dist/regionBar-SXqaNfZd.cjs +0 -3
- package/dist/retainer1-CGZiUab3.cjs +0 -1
- package/dist/retainer2-Cc-B7IfT.cjs +0 -1
- package/dist/retainerRecordList-BPIS1SSx.cjs +0 -1
- package/dist/ringTopN-BjKhQUKJ.cjs +0 -1
- package/dist/riskRegionTable-CtDdsCSY.cjs +0 -1
- package/dist/sankey-RfTg9Mz-.cjs +0 -1
- package/dist/sideMenu-5fj2n09U.cjs +0 -1
- package/dist/slopeStability-CrGwbuk1.cjs +0 -1
- package/dist/speedCurve-ClNgoLW-.cjs +0 -1
- package/dist/staticLine-eXjXbkNk.cjs +0 -1
- package/dist/stressFilterBar-BEFr8tEI.cjs +0 -1
- package/dist/stressTimeCurve-ZU1MGMF_.cjs +0 -1
- package/dist/terminalConfigList-z24cHMl-.cjs +0 -1
- package/dist/terminalList-Bqs5vSqX.cjs +0 -1
- package/dist/textbox-YPoZmfvr.cjs +0 -1
- package/dist/timeQueryBar-DL1jxFJE.cjs +0 -1
- package/dist/timeSeriesCurve-CCC12csm.cjs +0 -1
- package/dist/trajectoryConfigPanel-BQRI8f_4.cjs +0 -1
- package/dist/trajectoryScatter-D8YUBujk.cjs +0 -1
- package/dist/universalConfigPanel-BR4sLJM1.cjs +0 -1
- package/dist/universalTable-ktdI09H9.cjs +0 -2
- package/dist/useMixiotPanelSurface-BMNrWBMF.cjs +0 -1
- package/dist/useMixiotPanelSurface-DlVkLttU.js +0 -40
- package/dist/videoMonitor-DA64xM0f.cjs +0 -1
- package/dist/vlu-DIoYSoBF.cjs +0 -1
- package/dist/warningOverview-DHoN7Er6.cjs +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var A = Object.defineProperty, H = Object.defineProperties;
|
|
2
|
+
var O = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var R = Object.getOwnPropertySymbols;
|
|
4
|
+
var E = Object.prototype.hasOwnProperty, L = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var j = (l, t, s) => t in l ? A(l, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : l[t] = s, k = (l, t) => {
|
|
6
6
|
for (var s in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var s of
|
|
10
|
-
L.call(t, s) &&
|
|
11
|
-
return
|
|
12
|
-
},
|
|
13
|
-
var
|
|
7
|
+
E.call(t, s) && j(l, s, t[s]);
|
|
8
|
+
if (R)
|
|
9
|
+
for (var s of R(t))
|
|
10
|
+
L.call(t, s) && j(l, s, t[s]);
|
|
11
|
+
return l;
|
|
12
|
+
}, S = (l, t) => H(l, O(t));
|
|
13
|
+
var b = (l, t, s) => new Promise((e, i) => {
|
|
14
14
|
var n = (r) => {
|
|
15
15
|
try {
|
|
16
16
|
c(s.next(r));
|
|
@@ -24,21 +24,22 @@ var d = (u, t, s) => new Promise((e, i) => {
|
|
|
24
24
|
i(o);
|
|
25
25
|
}
|
|
26
26
|
}, c = (r) => r.done ? e(r.value) : Promise.resolve(r.value).then(n, a);
|
|
27
|
-
c((s = s.apply(
|
|
27
|
+
c((s = s.apply(l, t)).next());
|
|
28
28
|
});
|
|
29
|
-
import { ref as
|
|
30
|
-
import {
|
|
31
|
-
|
|
29
|
+
import { ref as D, inject as T, watch as _, onMounted as C, onBeforeUnmount as P } from "vue";
|
|
30
|
+
import { w as U, x as h, A as W, d as v, a as I, k as Y, y as B, z as M, B as q, E as K, G as N } from "./index-DwPJu6XM.js";
|
|
31
|
+
import { ElMessage as $ } from "element-plus";
|
|
32
|
+
const z = (l, t, s, e, i) => b(null, null, function* () {
|
|
32
33
|
try {
|
|
33
|
-
const a = yield new (yield import("./history-
|
|
34
|
+
const a = yield new (yield import("./history-BZ869y2d.js")).default().getHistoryData(l, i);
|
|
34
35
|
s(a);
|
|
35
36
|
} catch (n) {
|
|
36
37
|
console.error("获取历史数据时出错:", n);
|
|
37
38
|
} finally {
|
|
38
39
|
if (t) {
|
|
39
|
-
const { formatRequest: n } = yield import("./request-
|
|
40
|
+
const { formatRequest: n } = yield import("./request-CMbwWTDF.js"), a = n(l.conf, l.uid, i);
|
|
40
41
|
t.registerComponent({
|
|
41
|
-
id:
|
|
42
|
+
id: l.conf.id,
|
|
42
43
|
request: a,
|
|
43
44
|
onUpdate: (c, r) => {
|
|
44
45
|
c === "realtime" && e(r);
|
|
@@ -46,10 +47,22 @@ const q = (u, t, s, e, i) => d(null, null, function* () {
|
|
|
46
47
|
});
|
|
47
48
|
}
|
|
48
49
|
}
|
|
49
|
-
}),
|
|
50
|
-
t && t.unregisterComponent(
|
|
50
|
+
}), F = (l, t) => {
|
|
51
|
+
t && t.unregisterComponent(l.conf.id);
|
|
51
52
|
};
|
|
52
|
-
|
|
53
|
+
function J(l, t) {
|
|
54
|
+
const s = JSON.parse(
|
|
55
|
+
sessionStorage.getItem(U) || "{}"
|
|
56
|
+
);
|
|
57
|
+
if (s.type === "black_list")
|
|
58
|
+
return s.entities[l] ? !s.entities[l].includes(t) : !0;
|
|
59
|
+
if (s.type === "white_list")
|
|
60
|
+
return s.entities[l] ? s.entities[l].includes(t) : !1;
|
|
61
|
+
}
|
|
62
|
+
function d(l, t) {
|
|
63
|
+
return J(l, t) ? !0 : ($.error(`您没有权限访问 ${t} ,请联系管理员!`), !1);
|
|
64
|
+
}
|
|
65
|
+
class V {
|
|
53
66
|
constructor(t) {
|
|
54
67
|
this.props = t;
|
|
55
68
|
}
|
|
@@ -67,39 +80,45 @@ class $ {
|
|
|
67
80
|
object_id: t.object_id,
|
|
68
81
|
keys: [t.fv],
|
|
69
82
|
page_index: 1,
|
|
70
|
-
page_size: s || 1
|
|
83
|
+
page_size: s || 1,
|
|
84
|
+
order_by: "created",
|
|
85
|
+
order_type: "asc"
|
|
71
86
|
} : null;
|
|
72
87
|
}
|
|
73
88
|
statisticsResult(t, s) {
|
|
74
|
-
return this.scriptUid(t) ? {
|
|
89
|
+
return !this.scriptUid(t) || !d(h.statistics, this.scriptUid(t)) ? null : {
|
|
75
90
|
block_mapping: "statistics",
|
|
76
91
|
action: "get_statistics_list",
|
|
77
92
|
script_uid: this.scriptUid(t),
|
|
78
93
|
where_and: JSON.stringify([["object_id", "=", t.object_id]]),
|
|
79
94
|
page_size: Number(s) || 20,
|
|
80
|
-
page_index: 1
|
|
81
|
-
|
|
95
|
+
page_index: 1,
|
|
96
|
+
order_by: "created",
|
|
97
|
+
order_type: "asc"
|
|
98
|
+
};
|
|
82
99
|
}
|
|
83
100
|
calculateResult(t, s) {
|
|
84
|
-
return this.scriptUid(t) ? {
|
|
101
|
+
return !this.scriptUid(t) || !d(h.calculate, this.scriptUid(t)) ? null : {
|
|
85
102
|
block_mapping: "statistics",
|
|
86
103
|
action: "get_calculate_list",
|
|
87
104
|
script_uid: this.scriptUid(t),
|
|
88
105
|
where_and: JSON.stringify([["object_id", "=", t.object_id]]),
|
|
89
106
|
page_size: Number(s) || 20,
|
|
90
|
-
page_index: 1
|
|
91
|
-
|
|
107
|
+
page_index: 1,
|
|
108
|
+
order_by: "created",
|
|
109
|
+
order_type: "asc"
|
|
110
|
+
};
|
|
92
111
|
}
|
|
93
112
|
/* 数据分析接口 ----- start ----- */
|
|
94
113
|
blockResult(t, s, e, i) {
|
|
95
|
-
return
|
|
114
|
+
return S(k({}, this.indexResult(t, s)), {
|
|
96
115
|
block_mapping: e,
|
|
97
116
|
action: i
|
|
98
117
|
});
|
|
99
118
|
}
|
|
100
119
|
indexResult(t, s) {
|
|
101
120
|
const e = this.indexIdentityKey(t);
|
|
102
|
-
return !t[e] || !t.object_id ? null : {
|
|
121
|
+
return !t[e] || !t.object_id || !d(h.index, t[e]) ? null : {
|
|
103
122
|
page_index: 1,
|
|
104
123
|
page_size: s,
|
|
105
124
|
block_mapping: "index",
|
|
@@ -107,7 +126,9 @@ class $ {
|
|
|
107
126
|
where_and: JSON.stringify([
|
|
108
127
|
[e, "=", t[e]],
|
|
109
128
|
["object_id", "=", t.object_id]
|
|
110
|
-
])
|
|
129
|
+
]),
|
|
130
|
+
order_by: "created",
|
|
131
|
+
order_type: "asc"
|
|
111
132
|
};
|
|
112
133
|
}
|
|
113
134
|
deviationResult(t, s) {
|
|
@@ -145,12 +166,15 @@ class $ {
|
|
|
145
166
|
const s = t == null ? void 0 : t.action;
|
|
146
167
|
return typeof s == "string" && s.trim() !== "";
|
|
147
168
|
}
|
|
148
|
-
/**
|
|
169
|
+
/**
|
|
170
|
+
* 与 postDataItem 内一致:解析并写回 item.object_id。
|
|
171
|
+
* @returns 是否有权访问解析后的 object;否时已清除 item.object_id,调用方应跳过请求。
|
|
172
|
+
*/
|
|
149
173
|
applyHistoryObjectResolution(t) {
|
|
150
|
-
const { conf: s, uid: e } = this.props, { common: i } = s, n = i.useAlias || !1, a = i.multiObject || !1, c = sessionStorage.getItem(
|
|
174
|
+
const { conf: s, uid: e } = this.props, { common: i } = s, n = i.useAlias || !1, a = i.multiObject || !1, c = sessionStorage.getItem(W), r = JSON.parse(
|
|
151
175
|
c || "{}"
|
|
152
|
-
), o = a ? t.object_alias : i.object_alias,
|
|
153
|
-
t.object_id = n ? o ? r[o] : e :
|
|
176
|
+
), o = a ? t.object_alias : i.object_alias, u = a ? t.object_id : i.object_id;
|
|
177
|
+
return t.object_id = n ? o ? r[o] : e : u || e, d(h.object, t.object_id) ? !!t.object_id : (delete t.object_id, !1);
|
|
154
178
|
}
|
|
155
179
|
mosaicBucketKey(t, s) {
|
|
156
180
|
var e;
|
|
@@ -160,65 +184,66 @@ class $ {
|
|
|
160
184
|
fillResponseFromMosaicRows(t, s, e) {
|
|
161
185
|
t.forEach((i) => {
|
|
162
186
|
const n = s.fv, a = "time";
|
|
163
|
-
e.data.push(i[n]), e.time.push(
|
|
187
|
+
e.data.push(i[n]), e.time.push(v(i[a]).format("YYYY-MM-DD HH:mm:ss"));
|
|
164
188
|
});
|
|
165
189
|
}
|
|
166
190
|
/** 同一 object_id、同一 page_size 的 mosaic 槽位合并为一次请求,按 index 写回 results */
|
|
167
191
|
postMosaicBatchMerged(t, s, e) {
|
|
168
192
|
var o;
|
|
169
193
|
const i = [], n = /* @__PURE__ */ new Set();
|
|
170
|
-
for (const { item:
|
|
171
|
-
const p =
|
|
194
|
+
for (const { item: u } of s) {
|
|
195
|
+
const p = u.fv;
|
|
172
196
|
p && !n.has(p) && (n.add(p), i.push(p));
|
|
173
197
|
}
|
|
174
198
|
const a = (o = s[0]) == null ? void 0 : o.item, c = a ? this.mosaicResult(a, t) : null;
|
|
175
199
|
if (!c || i.length === 0) {
|
|
176
|
-
for (const { index:
|
|
177
|
-
e[
|
|
200
|
+
for (const { index: u } of s)
|
|
201
|
+
e[u] = { data: [], time: [] };
|
|
178
202
|
return Promise.resolve();
|
|
179
203
|
}
|
|
180
|
-
const r =
|
|
204
|
+
const r = S(k({}, c), {
|
|
181
205
|
keys: i
|
|
182
206
|
});
|
|
183
|
-
return new Promise((
|
|
184
|
-
|
|
207
|
+
return new Promise((u) => {
|
|
208
|
+
I.platform(
|
|
185
209
|
(p) => {
|
|
186
|
-
var
|
|
187
|
-
const
|
|
188
|
-
for (const { index:
|
|
189
|
-
const
|
|
190
|
-
this.fillResponseFromMosaicRows(
|
|
210
|
+
var f, y;
|
|
211
|
+
const m = (y = (f = p == null ? void 0 : p.result) == null ? void 0 : f.data) != null ? y : [];
|
|
212
|
+
for (const { index: g, item: x } of s) {
|
|
213
|
+
const w = { data: [], time: [] };
|
|
214
|
+
this.fillResponseFromMosaicRows(m, x, w), e[g] = w;
|
|
191
215
|
}
|
|
192
|
-
|
|
216
|
+
u();
|
|
193
217
|
},
|
|
194
218
|
r
|
|
195
219
|
);
|
|
196
220
|
});
|
|
197
221
|
}
|
|
198
222
|
postDataItem(t) {
|
|
199
|
-
var
|
|
200
|
-
const { conf: s } = this.props, { common: e, options: i } = s, n = e.source || "mosaic", a = i.points || 1
|
|
201
|
-
this.applyHistoryObjectResolution(t);
|
|
202
|
-
const c = this[`${n}Result`], r = (l = c == null ? void 0 : c.call(this, t, a)) != null ? l : null, o = {
|
|
223
|
+
var u;
|
|
224
|
+
const { conf: s } = this.props, { common: e, options: i } = s, n = e.source || "mosaic", a = i.points || 1, c = {
|
|
203
225
|
data: [],
|
|
204
226
|
time: []
|
|
205
227
|
};
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
228
|
+
if (!this.applyHistoryObjectResolution(t))
|
|
229
|
+
return Promise.resolve(c);
|
|
230
|
+
const r = this[`${n}Result`], o = (u = r == null ? void 0 : r.call(this, t, a)) != null ? u : null;
|
|
231
|
+
return o == null ? Promise.resolve(c) : new Promise((p) => {
|
|
232
|
+
I.platform(
|
|
233
|
+
(m) => {
|
|
234
|
+
m.result.data.forEach((f) => {
|
|
235
|
+
const y = ["statistics", "calculate"].includes(n) ? "data" : t.fv, g = ["statistics", "calculate"].includes(n) ? "start_time" : "time";
|
|
236
|
+
c.data.push(f[y]), c.time.push(
|
|
237
|
+
v(f[g]).format("YYYY-MM-DD HH:mm:ss")
|
|
213
238
|
);
|
|
214
|
-
}), p(
|
|
239
|
+
}), p(c);
|
|
215
240
|
},
|
|
216
|
-
|
|
241
|
+
o
|
|
217
242
|
);
|
|
218
243
|
});
|
|
219
244
|
}
|
|
220
245
|
initHistory() {
|
|
221
|
-
return
|
|
246
|
+
return b(this, null, function* () {
|
|
222
247
|
const { data: t, common: s, options: e } = this.props.conf, i = s.source || "mosaic", n = e.points || 1;
|
|
223
248
|
if (i !== "mosaic")
|
|
224
249
|
return Promise.all(
|
|
@@ -226,14 +251,18 @@ class $ {
|
|
|
226
251
|
);
|
|
227
252
|
const a = t.length, c = new Array(a), r = /* @__PURE__ */ new Map();
|
|
228
253
|
for (let o = 0; o < a; o++) {
|
|
229
|
-
const
|
|
230
|
-
if (this.applyHistoryObjectResolution(
|
|
254
|
+
const u = t[o];
|
|
255
|
+
if (!this.applyHistoryObjectResolution(u)) {
|
|
256
|
+
c[o] = { data: [], time: [] };
|
|
257
|
+
continue;
|
|
258
|
+
}
|
|
259
|
+
if (this.mosaicResult(u, n) == null) {
|
|
231
260
|
c[o] = { data: [], time: [] };
|
|
232
261
|
continue;
|
|
233
262
|
}
|
|
234
|
-
const
|
|
235
|
-
let
|
|
236
|
-
|
|
263
|
+
const m = this.mosaicBucketKey(u, n);
|
|
264
|
+
let f = r.get(m);
|
|
265
|
+
f || (f = [], r.set(m, f)), f.push({ index: o, item: u });
|
|
237
266
|
}
|
|
238
267
|
return yield Promise.all(
|
|
239
268
|
Array.from(r.values()).map(
|
|
@@ -243,9 +272,9 @@ class $ {
|
|
|
243
272
|
});
|
|
244
273
|
}
|
|
245
274
|
}
|
|
246
|
-
class
|
|
275
|
+
class tt extends V {
|
|
247
276
|
constructor(t, s) {
|
|
248
|
-
super(t), this.linkWatchStop = null, this.componentType = s, this.session =
|
|
277
|
+
super(t), this.linkWatchStop = null, this.componentType = s, this.session = D(T("session", null)), this.Style = D({}), this.linkStore = Y();
|
|
249
278
|
}
|
|
250
279
|
// ==================== 可覆盖方法(子类按需实现)====================
|
|
251
280
|
/**
|
|
@@ -261,7 +290,7 @@ class J extends $ {
|
|
|
261
290
|
* - 初始化数据/图表
|
|
262
291
|
*/
|
|
263
292
|
init() {
|
|
264
|
-
return
|
|
293
|
+
return b(this, null, function* () {
|
|
265
294
|
var t;
|
|
266
295
|
this.Style.value = this.extractStyles(), this.applyTheme(), yield this.expandAliasData((t = this.props.conf) == null ? void 0 : t.data);
|
|
267
296
|
});
|
|
@@ -278,25 +307,25 @@ class J extends $ {
|
|
|
278
307
|
* 支持单对象和多对象模式
|
|
279
308
|
*/
|
|
280
309
|
onPreview() {
|
|
281
|
-
return
|
|
310
|
+
return b(this, null, function* () {
|
|
282
311
|
var n;
|
|
283
312
|
const { common: t, data: s } = this.props.conf, e = this.getSource(), i = yield this.expandAliasData(s);
|
|
284
313
|
if (this.props.conf.data = i, t.multiObject && Array.isArray(i)) {
|
|
285
314
|
const a = /* @__PURE__ */ new Set(), c = /* @__PURE__ */ new Map();
|
|
286
315
|
(yield Promise.all(
|
|
287
|
-
i.map((o) =>
|
|
316
|
+
i.map((o) => b(this, null, function* () {
|
|
288
317
|
return {
|
|
289
318
|
item: o,
|
|
290
319
|
objectIds: yield this.resolveObjectIds(o)
|
|
291
320
|
};
|
|
292
321
|
}))
|
|
293
|
-
)).forEach(({ item: o, objectIds:
|
|
294
|
-
|
|
322
|
+
)).forEach(({ item: o, objectIds: u }) => {
|
|
323
|
+
u.length > 1 && c.set(
|
|
295
324
|
String(
|
|
296
325
|
(t == null ? void 0 : t.object_alias) || (o == null ? void 0 : o.object_alias) || (o == null ? void 0 : o.alias) || (o == null ? void 0 : o.object_id) || (o == null ? void 0 : o.uid) || ""
|
|
297
326
|
),
|
|
298
|
-
|
|
299
|
-
),
|
|
327
|
+
u
|
|
328
|
+
), u.forEach((p) => {
|
|
300
329
|
!p || a.has(p) || (a.add(p), this.subscribeBySource(e, p, o.uid));
|
|
301
330
|
});
|
|
302
331
|
});
|
|
@@ -366,7 +395,7 @@ class J extends $ {
|
|
|
366
395
|
* 设置联动频道监听
|
|
367
396
|
*/
|
|
368
397
|
setupLinkWatch() {
|
|
369
|
-
this.linkWatchStop && this.linkWatchStop(), this.linkWatchStop =
|
|
398
|
+
this.linkWatchStop && this.linkWatchStop(), this.linkWatchStop = _(
|
|
370
399
|
() => {
|
|
371
400
|
const t = this.getLinkChannel();
|
|
372
401
|
return t ? this.linkStore.channels[t] : null;
|
|
@@ -446,7 +475,7 @@ class J extends $ {
|
|
|
446
475
|
* 订阅 FV 数据(马赛克数据)
|
|
447
476
|
*/
|
|
448
477
|
subscribeFv(t) {
|
|
449
|
-
this.subscribe("recv_fv", "mosaic", t);
|
|
478
|
+
d(h.object, t) && this.subscribe("recv_fv", "mosaic", t);
|
|
450
479
|
}
|
|
451
480
|
/**
|
|
452
481
|
* 订阅历程开始事件
|
|
@@ -454,7 +483,7 @@ class J extends $ {
|
|
|
454
483
|
* @param object_id 对象ID
|
|
455
484
|
*/
|
|
456
485
|
subscribeRetainerOpen(t) {
|
|
457
|
-
this.subscribe("retainer_open", "retainer", t);
|
|
486
|
+
d(h.object, t) && this.subscribe("retainer_open", "retainer", t);
|
|
458
487
|
}
|
|
459
488
|
/**
|
|
460
489
|
* 订阅历程结束事件
|
|
@@ -462,7 +491,7 @@ class J extends $ {
|
|
|
462
491
|
* @param object_id 对象ID
|
|
463
492
|
*/
|
|
464
493
|
subscribeRetainerClose(t) {
|
|
465
|
-
this.subscribe("retainer_close", "retainer", t);
|
|
494
|
+
d(h.object, t) && this.subscribe("retainer_close", "retainer", t);
|
|
466
495
|
}
|
|
467
496
|
/**
|
|
468
497
|
* 订阅历程转发条件事件
|
|
@@ -470,7 +499,7 @@ class J extends $ {
|
|
|
470
499
|
* @param object_id 对象ID
|
|
471
500
|
*/
|
|
472
501
|
subscribeRetainerEvent(t) {
|
|
473
|
-
this.subscribe("retainer_event", "retainer", t);
|
|
502
|
+
d(h.object, t) && this.subscribe("retainer_event", "retainer", t);
|
|
474
503
|
}
|
|
475
504
|
/**
|
|
476
505
|
* 订阅所有历程事件(便捷方法)
|
|
@@ -484,7 +513,7 @@ class J extends $ {
|
|
|
484
513
|
* 订阅统计实时结果更新事件
|
|
485
514
|
*/
|
|
486
515
|
subscribeStatisticsRealtimeResult(t) {
|
|
487
|
-
this.subscribe("statistics_realtime_result", "statistics", t);
|
|
516
|
+
d(h.object, t) && this.subscribe("statistics_realtime_result", "statistics", t);
|
|
488
517
|
}
|
|
489
518
|
/**
|
|
490
519
|
* 订阅统计结果
|
|
@@ -495,7 +524,7 @@ class J extends $ {
|
|
|
495
524
|
subscribeStatistics(t) {
|
|
496
525
|
var e, i;
|
|
497
526
|
const s = (i = (e = this.props.conf.data) == null ? void 0 : e[0]) == null ? void 0 : i.uid;
|
|
498
|
-
this.subscribeStatisticsWithUid(t, s);
|
|
527
|
+
d(h.object, t) && d(h.statistics, s) && this.subscribeStatisticsWithUid(t, s);
|
|
499
528
|
}
|
|
500
529
|
/**
|
|
501
530
|
* 订阅统计结果(带 uid 参数)
|
|
@@ -526,7 +555,7 @@ class J extends $ {
|
|
|
526
555
|
* @param uid 计算配置ID
|
|
527
556
|
*/
|
|
528
557
|
subscribeCalculateWithUid(t) {
|
|
529
|
-
this.subscribe("statistics_result", "statistics", "", {
|
|
558
|
+
d(h.calculate, t) && this.subscribe("statistics_result", "statistics", "", {
|
|
530
559
|
uid: t,
|
|
531
560
|
type: "calculate"
|
|
532
561
|
});
|
|
@@ -578,7 +607,7 @@ class J extends $ {
|
|
|
578
607
|
* 应用主题样式
|
|
579
608
|
*/
|
|
580
609
|
applyTheme() {
|
|
581
|
-
|
|
610
|
+
B(this.props.theme, this.Style.value);
|
|
582
611
|
}
|
|
583
612
|
/**
|
|
584
613
|
* 获取数据源类型
|
|
@@ -607,7 +636,7 @@ class J extends $ {
|
|
|
607
636
|
* - 支持外部注入的全局解析器,也兼容 sessionStorage 旧映射
|
|
608
637
|
*/
|
|
609
638
|
resolveObjectId(t) {
|
|
610
|
-
return
|
|
639
|
+
return b(this, null, function* () {
|
|
611
640
|
return (yield this.resolveObjectIds(t))[0] || "";
|
|
612
641
|
});
|
|
613
642
|
}
|
|
@@ -615,7 +644,7 @@ class J extends $ {
|
|
|
615
644
|
* 获取对象ID列表(支持通配符匹配多个对象)
|
|
616
645
|
*/
|
|
617
646
|
resolveObjectIds(t) {
|
|
618
|
-
return
|
|
647
|
+
return b(this, null, function* () {
|
|
619
648
|
const { uid: s, conf: e } = this.props, { common: i, data: n } = e, a = t || i || n[0] || {}, r = (yield this.expandAliasData([a])).map((o) => String((o == null ? void 0 : o.object_id) || (o == null ? void 0 : o.objectid) || s)).filter(Boolean);
|
|
620
649
|
return r.length > 0 && a && typeof a == "object" && (a.object_id = r[0], a.objectid = r[0]), r.length > 0 ? r : [String((a == null ? void 0 : a.object_id) || (a == null ? void 0 : a.objectid) || "")].filter(Boolean);
|
|
621
650
|
});
|
|
@@ -624,7 +653,7 @@ class J extends $ {
|
|
|
624
653
|
* 展开 alias 配置,通配符会扩展成多条真实配置
|
|
625
654
|
*/
|
|
626
655
|
expandAliasData(t) {
|
|
627
|
-
return
|
|
656
|
+
return b(this, null, function* () {
|
|
628
657
|
var i;
|
|
629
658
|
const s = Array.isArray(t) ? t : [], e = [];
|
|
630
659
|
for (const n of s) {
|
|
@@ -641,11 +670,11 @@ class J extends $ {
|
|
|
641
670
|
e.push(n);
|
|
642
671
|
continue;
|
|
643
672
|
}
|
|
644
|
-
if (!(yield
|
|
673
|
+
if (!(yield M(a))) {
|
|
645
674
|
e.push(n);
|
|
646
675
|
continue;
|
|
647
676
|
}
|
|
648
|
-
const r =
|
|
677
|
+
const r = q([n]);
|
|
649
678
|
r.length > 0 ? e.push(...r) : e.push(n);
|
|
650
679
|
}
|
|
651
680
|
return e;
|
|
@@ -655,33 +684,33 @@ class J extends $ {
|
|
|
655
684
|
* 空值处理
|
|
656
685
|
*/
|
|
657
686
|
handleNull(t, s) {
|
|
658
|
-
return
|
|
687
|
+
return K(t, this.props, s);
|
|
659
688
|
}
|
|
660
689
|
/**
|
|
661
690
|
* 获取预览助手对象
|
|
662
691
|
*/
|
|
663
692
|
getPreviewHelper() {
|
|
664
693
|
return {
|
|
665
|
-
preview: () =>
|
|
694
|
+
preview: () => z(
|
|
666
695
|
this.props,
|
|
667
696
|
this.session.value,
|
|
668
697
|
(t) => this.setHistoryData(t),
|
|
669
698
|
(t) => {
|
|
670
699
|
let s = t;
|
|
671
|
-
s.datetime =
|
|
700
|
+
s.datetime = v(s.datetime).format(
|
|
672
701
|
"YYYY-MM-DD HH:mm:ss"
|
|
673
702
|
), this.setSocketData(s);
|
|
674
703
|
},
|
|
675
704
|
this.componentType
|
|
676
705
|
),
|
|
677
|
-
unregister: () =>
|
|
706
|
+
unregister: () => F(this.props, this.session.value)
|
|
678
707
|
};
|
|
679
708
|
}
|
|
680
709
|
/**
|
|
681
710
|
* 获取防抖的初始化方法
|
|
682
711
|
*/
|
|
683
712
|
getDebouncedInit() {
|
|
684
|
-
return
|
|
713
|
+
return N(() => this.init(), 200);
|
|
685
714
|
}
|
|
686
715
|
/**
|
|
687
716
|
* 清理资源(子类可覆盖)
|
|
@@ -701,14 +730,14 @@ class J extends $ {
|
|
|
701
730
|
*/
|
|
702
731
|
setupLifecycle() {
|
|
703
732
|
const t = this.getDebouncedInit(), s = this.getPreviewHelper();
|
|
704
|
-
C(() =>
|
|
733
|
+
C(() => b(this, null, function* () {
|
|
705
734
|
var i, n, a, c;
|
|
706
735
|
const e = {
|
|
707
736
|
common: (i = this.props.conf) == null ? void 0 : i.common,
|
|
708
737
|
data: (n = this.props.conf) == null ? void 0 : n.data,
|
|
709
738
|
options: (a = this.props.conf) == null ? void 0 : a.options
|
|
710
739
|
};
|
|
711
|
-
if (this.props.mode === "preview" && (yield
|
|
740
|
+
if (this.props.mode === "preview" && (yield M(e), Array.isArray((c = this.props.conf) == null ? void 0 : c.data) && this.props.conf.data.length && (this.props.conf.data = yield this.expandAliasData(
|
|
712
741
|
this.props.conf.data
|
|
713
742
|
))), yield this.init(), this.props.mode === "preview") {
|
|
714
743
|
if (this.needsHistoryData())
|
|
@@ -723,29 +752,29 @@ class J extends $ {
|
|
|
723
752
|
request: null,
|
|
724
753
|
onUpdate: (r, o) => {
|
|
725
754
|
if (r === "realtime") {
|
|
726
|
-
let
|
|
727
|
-
|
|
755
|
+
let u = o;
|
|
756
|
+
u.datetime = v(u.datetime).format(
|
|
728
757
|
"YYYY-MM-DD HH:mm:ss"
|
|
729
|
-
), this.setSocketData(
|
|
758
|
+
), this.setSocketData(u);
|
|
730
759
|
}
|
|
731
760
|
}
|
|
732
761
|
})), this.onPreview();
|
|
733
762
|
}
|
|
734
763
|
this.setupLinkWatch();
|
|
735
|
-
})),
|
|
764
|
+
})), P(() => {
|
|
736
765
|
this.cleanup(), s.unregister(), this.stopLinkWatch();
|
|
737
|
-
}),
|
|
766
|
+
}), _(
|
|
738
767
|
() => this.props.conf,
|
|
739
768
|
() => {
|
|
740
769
|
this.props.mode === "edit" && t();
|
|
741
770
|
},
|
|
742
771
|
{ deep: !0 }
|
|
743
|
-
),
|
|
772
|
+
), _(
|
|
744
773
|
() => this.props.theme,
|
|
745
774
|
() => {
|
|
746
775
|
this.init();
|
|
747
776
|
}
|
|
748
|
-
),
|
|
777
|
+
), _(
|
|
749
778
|
() => {
|
|
750
779
|
var e;
|
|
751
780
|
return (e = this.Style.value) == null ? void 0 : e.linkChannel;
|
|
@@ -803,7 +832,7 @@ class J extends $ {
|
|
|
803
832
|
}
|
|
804
833
|
}
|
|
805
834
|
export {
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
835
|
+
tt as B,
|
|
836
|
+
z as p,
|
|
837
|
+
F as u
|
|
809
838
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var j=Object.defineProperty,A=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols;var O=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable;var w=(l,t,s)=>t in l?j(l,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):l[t]=s,g=(l,t)=>{for(var s in t||(t={}))O.call(t,s)&&w(l,s,t[s]);if(k)for(var s of k(t))D.call(t,s)&&w(l,s,t[s]);return l},S=(l,t)=>A(l,N(t));var b=(l,t,s)=>new Promise((e,i)=>{var n=r=>{try{c(s.next(r))}catch(a){i(a)}},o=r=>{try{c(s.throw(r))}catch(a){i(a)}},c=r=>r.done?e(r.value):Promise.resolve(r.value).then(n,o);c((s=s.apply(l,t)).next())});const m=require("vue"),u=require("./index-DVqMfQVc.cjs"),C=require("element-plus"),T=(l,t,s,e,i)=>b(null,null,function*(){try{const o=yield new(yield Promise.resolve().then(()=>require("./history-MxYUUwkm.cjs"))).default().getHistoryData(l,i);s(o)}catch(n){console.error("获取历史数据时出错:",n)}finally{if(t){const{formatRequest:n}=yield Promise.resolve().then(()=>require("./request-DegEaaCG.cjs")),o=n(l.conf,l.uid,i);t.registerComponent({id:l.conf.id,request:o,onUpdate:(c,r)=>{c==="realtime"&&e(r)}})}}}),R=(l,t)=>{t&&t.unregisterComponent(l.conf.id)};function M(l,t){const s=JSON.parse(sessionStorage.getItem(u.DATA_PERMISSION_KEY)||"{}");if(s.type==="black_list")return s.entities[l]?!s.entities[l].includes(t):!0;if(s.type==="white_list")return s.entities[l]?s.entities[l].includes(t):!1}function d(l,t){return M(l,t)?!0:(C.ElMessage.error(`您没有权限访问 ${t} ,请联系管理员!`),!1)}class x{constructor(t){this.props=t}scriptUid(t){var s;return(s=t.uid)!=null?s:t.fv}indexIdentityKey(t){return t.is_alias?"alias":"uid"}mosaicResult(t,s){return t.fv?{block_mapping:"influxdbproxy",action:"get_mosaic_list",object_id:t.object_id,keys:[t.fv],page_index:1,page_size:s||1,order_by:"created",order_type:"asc"}:null}statisticsResult(t,s){return!this.scriptUid(t)||!d(u.ACTION_ENTITIES.statistics,this.scriptUid(t))?null:{block_mapping:"statistics",action:"get_statistics_list",script_uid:this.scriptUid(t),where_and:JSON.stringify([["object_id","=",t.object_id]]),page_size:Number(s)||20,page_index:1,order_by:"created",order_type:"asc"}}calculateResult(t,s){return!this.scriptUid(t)||!d(u.ACTION_ENTITIES.calculate,this.scriptUid(t))?null:{block_mapping:"statistics",action:"get_calculate_list",script_uid:this.scriptUid(t),where_and:JSON.stringify([["object_id","=",t.object_id]]),page_size:Number(s)||20,page_index:1,order_by:"created",order_type:"asc"}}blockResult(t,s,e,i){return S(g({},this.indexResult(t,s)),{block_mapping:e,action:i})}indexResult(t,s){const e=this.indexIdentityKey(t);return!t[e]||!t.object_id||!d(u.ACTION_ENTITIES.index,t[e])?null:{page_index:1,page_size:s,block_mapping:"index",action:"get_index_result_list",where_and:JSON.stringify([[e,"=",t[e]],["object_id","=",t.object_id]]),order_by:"created",order_type:"asc"}}deviationResult(t,s){return this.blockResult(t,s,"deviation","get_deviation_result_list")}stabilityResult(t,s){return this.blockResult(t,s,"stability","get_stability_result_list")}balanceResult(t,s){return this.blockResult(t,s,"balance","get_balance_result_list")}incrementResult(t,s){return this.blockResult(t,s,"increment","get_increment_result_list")}riskResult(t,s){return this.blockResult(t,s,"risk","get_risk_result_list")}isValidPlatformCondition(t){const s=t==null?void 0:t.action;return typeof s=="string"&&s.trim()!==""}applyHistoryObjectResolution(t){const{conf:s,uid:e}=this.props,{common:i}=s,n=i.useAlias||!1,o=i.multiObject||!1,c=sessionStorage.getItem(u.ALIAS_MAPPING_KEY),r=JSON.parse(c||"{}"),a=o?t.object_alias:i.object_alias,p=o?t.object_id:i.object_id;return t.object_id=n?a?r[a]:e:p||e,d(u.ACTION_ENTITIES.object,t.object_id)?!!t.object_id:(delete t.object_id,!1)}mosaicBucketKey(t,s){var e;return`${(e=t.object_id)!=null?e:""}::${s||1}`}fillResponseFromMosaicRows(t,s,e){t.forEach(i=>{const n=s.fv,o="time";e.data.push(i[n]),e.time.push(u.dayjs(i[o]).format("YYYY-MM-DD HH:mm:ss"))})}postMosaicBatchMerged(t,s,e){var a;const i=[],n=new Set;for(const{item:p}of s){const h=p.fv;h&&!n.has(h)&&(n.add(h),i.push(h))}const o=(a=s[0])==null?void 0:a.item,c=o?this.mosaicResult(o,t):null;if(!c||i.length===0){for(const{index:p}of s)e[p]={data:[],time:[]};return Promise.resolve()}const r=S(g({},c),{keys:i});return new Promise(p=>{u.api.platform(h=>{var f,_;const y=(_=(f=h==null?void 0:h.result)==null?void 0:f.data)!=null?_:[];for(const{index:v,item:E}of s){const I={data:[],time:[]};this.fillResponseFromMosaicRows(y,E,I),e[v]=I}p()},r)})}postDataItem(t){var p;const{conf:s}=this.props,{common:e,options:i}=s,n=e.source||"mosaic",o=i.points||1,c={data:[],time:[]};if(!this.applyHistoryObjectResolution(t))return Promise.resolve(c);const r=this[`${n}Result`],a=(p=r==null?void 0:r.call(this,t,o))!=null?p:null;return a==null?Promise.resolve(c):new Promise(h=>{u.api.platform(y=>{y.result.data.forEach(f=>{const _=["statistics","calculate"].includes(n)?"data":t.fv,v=["statistics","calculate"].includes(n)?"start_time":"time";c.data.push(f[_]),c.time.push(u.dayjs(f[v]).format("YYYY-MM-DD HH:mm:ss"))}),h(c)},a)})}initHistory(){return b(this,null,function*(){const{data:t,common:s,options:e}=this.props.conf,i=s.source||"mosaic",n=e.points||1;if(i!=="mosaic")return Promise.all(t.map(a=>this.postDataItem(a)));const o=t.length,c=new Array(o),r=new Map;for(let a=0;a<o;a++){const p=t[a];if(!this.applyHistoryObjectResolution(p)){c[a]={data:[],time:[]};continue}if(this.mosaicResult(p,n)==null){c[a]={data:[],time:[]};continue}const y=this.mosaicBucketKey(p,n);let f=r.get(y);f||(f=[],r.set(y,f)),f.push({index:a,item:p})}return yield Promise.all(Array.from(r.values()).map(a=>this.postMosaicBatchMerged(n,a,c))),c})}}class H extends x{constructor(t,s){super(t),this.linkWatchStop=null,this.componentType=s,this.session=m.ref(m.inject("session",null)),this.Style=m.ref({}),this.linkStore=u.useLinkStore()}extractStyles(){return{}}init(){return b(this,null,function*(){var t;this.Style.value=this.extractStyles(),this.applyTheme(),yield this.expandAliasData((t=this.props.conf)==null?void 0:t.data)})}setHistoryData(t){}onPreview(){return b(this,null,function*(){var n;const{common:t,data:s}=this.props.conf,e=this.getSource(),i=yield this.expandAliasData(s);if(this.props.conf.data=i,t.multiObject&&Array.isArray(i)){const o=new Set,c=new Map;(yield Promise.all(i.map(a=>b(this,null,function*(){return{item:a,objectIds:yield this.resolveObjectIds(a)}})))).forEach(({item:a,objectIds:p})=>{p.length>1&&c.set(String((t==null?void 0:t.object_alias)||(a==null?void 0:a.object_alias)||(a==null?void 0:a.alias)||(a==null?void 0:a.object_id)||(a==null?void 0:a.uid)||""),p),p.forEach(h=>{!h||o.has(h)||(o.add(h),this.subscribeBySource(e,h,a.uid))})})}else{const o=yield this.resolveObjectId(),c=(n=i==null?void 0:i[0])==null?void 0:n.uid;this.subscribeBySource(e,o,c)}})}setSocketData(t){if(!t)return;const{data:s}=this.props.conf;!s||!Array.isArray(s)||s.forEach(e=>{try{const i=this.extractDataValue(t,e.fv);e.value=i!=null?i:"--"}catch(i){e.value="--"}})}onLinkEvent(t){}getLinkChannel(){var t;return((t=this.Style.value)==null?void 0:t.linkChannel)||""}publish(t){const s=this.getLinkChannel();if(!s){console.warn(`[${this.componentType}] 未配置联动频道,无法发布事件`);return}this.linkStore.publish(s,this.componentType,t)}shouldHandleEvent(t){return!(!t||this.props.mode==="edit"||t.topic.source===this.componentType)}setupLinkWatch(){this.linkWatchStop&&this.linkWatchStop(),this.linkWatchStop=m.watch(()=>{const t=this.getLinkChannel();return t?this.linkStore.channels[t]:null},t=>{this.shouldHandleEvent(t)&&this.onLinkEvent(t)},{deep:!0,immediate:!0})}stopLinkWatch(){this.linkWatchStop&&(this.linkWatchStop(),this.linkWatchStop=null)}isLocalIotSubscribeMode(){return localStorage.getItem("dashboardUseLocalToken")==="1"||localStorage.getItem("dashboardUseLocalToken")==="true"}subscribe(t,s,e,i){if(!this.session.value){console.warn(`[${this.componentType}] Session 未初始化,无法订阅`);return}const n={event:t,block:s,object_id:e};i&&Object.assign(n,i);const o=this.isLocalIotSubscribeMode()?{action:"sub_event",block_mapping:"mmq",event:n}:{action:"sub_agent_event",event:n},c=this.props.conf.id;this.session.value.componentRequests&&(this.session.value.componentRequests.has(c)||this.session.value.componentRequests.set(c,[]),this.session.value.componentRequests.get(c).push(o)),this.session.value.send({type:"send_message",message:o})}subscribeMmqEvent(t,s,e=""){if(!this.session.value){console.warn(`[${this.componentType}] Session 未初始化,无法订阅`);return}const i={event:t,block:s,object_id:e};e||Reflect.deleteProperty(i,"object_id");const n={action:"sub_event",block_mapping:"mmq",event:i},o=this.props.conf.id;this.session.value.componentRequests&&(this.session.value.componentRequests.has(o)||this.session.value.componentRequests.set(o,[]),this.session.value.componentRequests.get(o).push(n)),this.session.value.send({type:"send_message",message:n})}subscribeFv(t){d(u.ACTION_ENTITIES.object,t)&&this.subscribe("recv_fv","mosaic",t)}subscribeRetainerOpen(t){d(u.ACTION_ENTITIES.object,t)&&this.subscribe("retainer_open","retainer",t)}subscribeRetainerClose(t){d(u.ACTION_ENTITIES.object,t)&&this.subscribe("retainer_close","retainer",t)}subscribeRetainerEvent(t){d(u.ACTION_ENTITIES.object,t)&&this.subscribe("retainer_event","retainer",t)}subscribeRetainer(t){this.subscribeRetainerOpen(t),this.subscribeRetainerClose(t),this.subscribeRetainerEvent(t)}subscribeStatisticsRealtimeResult(t){d(u.ACTION_ENTITIES.object,t)&&this.subscribe("statistics_realtime_result","statistics",t)}subscribeStatistics(t){var e,i;const s=(i=(e=this.props.conf.data)==null?void 0:e[0])==null?void 0:i.uid;d(u.ACTION_ENTITIES.object,t)&&d(u.ACTION_ENTITIES.statistics,s)&&this.subscribeStatisticsWithUid(t,s)}subscribeStatisticsWithUid(t,s){this.subscribe("statistics_result","statistics",t,{uid:s,type:"statistics"})}subscribeCalculate(t){var e,i;const s=(i=(e=this.props.conf.data)==null?void 0:e[0])==null?void 0:i.uid;this.subscribeCalculateWithUid(s)}subscribeCalculateWithUid(t){d(u.ACTION_ENTITIES.calculate,t)&&this.subscribe("statistics_result","statistics","",{uid:t,type:"calculate"})}subscribeBySource(t,s,e){switch(t){case"mosaic":this.subscribeFv(s);break;case"statisticsRealtime":this.subscribeStatisticsRealtimeResult(s);break;case"statistics":e?this.subscribeStatisticsWithUid(s,e):this.subscribeStatistics(s);break;case"calculate":e?this.subscribeCalculateWithUid(e):this.subscribeCalculate(s);break;default:console.warn(`[${this.componentType}] 未知的数据源类型: ${t}`)}}extractDataValue(t,s){var e;return!t||!t.event?null:t.event==="recv_fv"&&t.block==="mosaic"?!s||!t.data?null:t.data[s]:t.event==="statistics_realtime_result"&&t.block==="statistics"?(e=t.data)==null?void 0:e.data:t.event==="statistics_result"&&t.block==="statistics"?t.data:null}getOptionValue(t,s){var i,n;const e=(n=(i=this.props.conf)==null?void 0:i.options)==null?void 0:n[t];return e==null?s:typeof e=="object"&&"value"in e?e.value:e}applyTheme(){u.applyThemeStyles(this.props.theme,this.Style.value)}getSource(){var t,s;return((s=(t=this.props.conf)==null?void 0:t.common)==null?void 0:s.source)||"mosaic"}isStatistics(){return["statistics","calculate","statisticsRealtime","calculateRealtime"].includes(this.getSource())}resolveObjectId(t){return b(this,null,function*(){return(yield this.resolveObjectIds(t))[0]||""})}resolveObjectIds(t){return b(this,null,function*(){const{uid:s,conf:e}=this.props,{common:i,data:n}=e,o=t||i||n[0]||{},r=(yield this.expandAliasData([o])).map(a=>String((a==null?void 0:a.object_id)||(a==null?void 0:a.objectid)||s)).filter(Boolean);return r.length>0&&o&&typeof o=="object"&&(o.object_id=r[0],o.objectid=r[0]),r.length>0?r:[String((o==null?void 0:o.object_id)||(o==null?void 0:o.objectid)||"")].filter(Boolean)})}expandAliasData(t){return b(this,null,function*(){var i;const s=Array.isArray(t)?t:[],e=[];for(const n of s){if(!n||typeof n!="object"){e.push(n);continue}const o={common:n,data:[n],options:(i=this.props.conf)==null?void 0:i.options};if(!String(n.object_alias||n.alias||"").trim()){e.push(n);continue}if(!(yield u.loadAliasMappingFromJsonIfNeeded(o))){e.push(n);continue}const r=u.expandAliasItems([n]);r.length>0?e.push(...r):e.push(n)}return e})}handleNull(t,s){return u.handleNullData(t,this.props,s)}getPreviewHelper(){return{preview:()=>T(this.props,this.session.value,t=>this.setHistoryData(t),t=>{let s=t;s.datetime=u.dayjs(s.datetime).format("YYYY-MM-DD HH:mm:ss"),this.setSocketData(s)},this.componentType),unregister:()=>R(this.props,this.session.value)}}getDebouncedInit(){return u.debounce(()=>this.init(),200)}cleanup(){}needsHistoryData(){return!0}setupLifecycle(){const t=this.getDebouncedInit(),s=this.getPreviewHelper();m.onMounted(()=>b(this,null,function*(){var i,n,o,c;const e={common:(i=this.props.conf)==null?void 0:i.common,data:(n=this.props.conf)==null?void 0:n.data,options:(o=this.props.conf)==null?void 0:o.options};if(this.props.mode==="preview"&&(yield u.loadAliasMappingFromJsonIfNeeded(e),Array.isArray((c=this.props.conf)==null?void 0:c.data)&&this.props.conf.data.length&&(this.props.conf.data=yield this.expandAliasData(this.props.conf.data))),yield this.init(),this.props.mode==="preview"){if(this.needsHistoryData())try{const r=yield this.initHistory();this.setHistoryData(r)}catch(r){console.error(`[${this.componentType}] 获取历史数据失败:`,r)}this.session.value&&(this.session.value.unregisterComponent(this.props.conf.id),this.session.value.registerComponent({id:this.props.conf.id,request:null,onUpdate:(r,a)=>{if(r==="realtime"){let p=a;p.datetime=u.dayjs(p.datetime).format("YYYY-MM-DD HH:mm:ss"),this.setSocketData(p)}}})),this.onPreview()}this.setupLinkWatch()})),m.onBeforeUnmount(()=>{this.cleanup(),s.unregister(),this.stopLinkWatch()}),m.watch(()=>this.props.conf,()=>{this.props.mode==="edit"&&t()},{deep:!0}),m.watch(()=>this.props.theme,()=>{this.init()}),m.watch(()=>{var e;return(e=this.Style.value)==null?void 0:e.linkChannel},()=>{this.setupLinkWatch()})}getStyle(){return this.Style}getType(){return this.componentType}dispatchModal(t,s,e){this.props.mode==="preview"&&window.dispatchEvent(new CustomEvent("mix-modal",{detail:{action:t,layerId:s,sheetIndex:e!=null?e:-1}}))}triggerModalByKey(t){var e,i;if(this.props.mode!=="preview")return;const s=(e=this.props.conf)==null?void 0:e.modalBinding;if(s&&s.enabled&&s.mode==="key"){const o=(s.map||{})[t];if(!o||!o.layerId)return;const c=o.action||"toggle",r=(i=s.sheetIndex)!=null?i:-1;this.dispatchModal(c,o.layerId,r)}}}exports.BaseComponent=H;exports.preview=T;exports.unregister=R;
|
|
@@ -15,8 +15,8 @@ var h = (a, t, e) => new Promise((n, o) => {
|
|
|
15
15
|
s((e = e.apply(a, t)).next());
|
|
16
16
|
});
|
|
17
17
|
import { nextTick as p } from "vue";
|
|
18
|
-
import { B as c } from "./BaseComponent-
|
|
19
|
-
import {
|
|
18
|
+
import { B as c } from "./BaseComponent-CBagahPU.js";
|
|
19
|
+
import { I as d, J as g, K as O } from "./index-DwPJu6XM.js";
|
|
20
20
|
import { i as f, d as m } from "./echarts-BVht3HHb.js";
|
|
21
21
|
class D extends c {
|
|
22
22
|
constructor(t, e) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var n=(h,t,e)=>new Promise((u,o)=>{var c=i=>{try{s(e.next(i))}catch(r){o(r)}},p=i=>{try{s(e.throw(i))}catch(r){o(r)}},s=i=>i.done?u(i.value):Promise.resolve(i.value).then(c,p);s((e=e.apply(h,t)).next())});const d=require("vue"),g=require("./BaseComponent-
|
|
1
|
+
"use strict";var n=(h,t,e)=>new Promise((u,o)=>{var c=i=>{try{s(e.next(i))}catch(r){o(r)}},p=i=>{try{s(e.throw(i))}catch(r){o(r)}},s=i=>i.done?u(i.value):Promise.resolve(i.value).then(c,p);s((e=e.apply(h,t)).next())});const d=require("vue"),g=require("./BaseComponent-Chnv4fBT.cjs"),a=require("./index-DVqMfQVc.cjs"),l=require("./echarts-BB8O2KSA.cjs");class O extends g.BaseComponent{constructor(t,e){super(t,e),this.chartObj=null,this.erd=null,this.echartId=`${e}_${Math.random().toString(16).slice(4,12)}`}getChartOption(){return{}}init(){return n(this,null,function*(){return this.Style.value=this.extractStyles(),this.applyTheme(),this.ensureData(),new Promise(t=>{d.nextTick(()=>{this.initChart(),t()})})})}extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#111"),radiusSize:this.getOptionValue("radiusSize",8),textSize:this.getOptionValue("textSize",12),isHideTitle:this.getOptionValue("isHideTitle",!1),top:this.getOptionValue("top",30),bottom:this.getOptionValue("bottom",40),left:this.getOptionValue("left",40),right:this.getOptionValue("right",20),points:this.getOptionValue("points",10)}}ensureData(){var t;(t=this.props.conf.data)!=null&&t.length||(this.props.conf.data=this.getDefaultData())}getDefaultData(){return[{name:"参数一",fv:"",color:"#4162ff"}]}initChart(){const t=document.querySelector(`#${this.echartId}`);if(!t)return;this.chartObj||(this.chartObj=l.init(t),this.setupResizeListener(t));const e=this.getChartOption();this.chartObj.setOption(e,!0)}setupResizeListener(t){this.erd=a.elementResizeDetectorMaker({strategy:"scroll"}),this.erd.listenTo(t,()=>{var e;(e=this.chartObj)==null||e.resize()})}hasData(){return a.hasDataSource(this.props.conf)}getTimeAxis(){return a.getxAxisDataTime(this.Style.value.points,this.props.mode,this.hasData())}updateChart(t){var e;(e=this.chartObj)==null||e.setOption(t)}cleanup(){if(this.erd){const t=document.querySelector(`#${this.echartId}`);t&&this.erd.uninstall(t),this.erd=null}this.chartObj&&(this.chartObj.clear(),l.dispose(this.chartObj),this.chartObj=null)}getEchartId(){return this.echartId}getChartInstance(){return this.chartObj}}exports.EChartComponentBase=O;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as k, ref as P, computed as i, watch as S, openBlock as u, createElementBlock as r, createElementVNode as t, withDirectives as L, vModelSelect as h, normalizeClass as g, toDisplayString as a, Fragment as E, renderList as N, createCommentVNode as $ } from "vue";
|
|
2
|
-
import { _ as D } from "./index-
|
|
2
|
+
import { _ as D } from "./index-DwPJu6XM.js";
|
|
3
3
|
const I = { class: "lw-panel-section lw-plan-section" }, V = { class: "lw-plan-toolbar" }, _ = ["disabled"], B = { class: "lw-plan-table" }, T = { class: "lw-step-no" }, z = ["onClick"], F = { key: 0 }, M = /* @__PURE__ */ k({
|
|
4
4
|
__name: "EmergencyPlanPanel",
|
|
5
5
|
props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),V=require("./index-
|
|
1
|
+
"use strict";const e=require("vue"),V=require("./index-DVqMfQVc.cjs"),w={class:"lw-panel-section lw-plan-section"},g={class:"lw-plan-toolbar"},b=["disabled"],y={class:"lw-plan-table"},k={class:"lw-step-no"},x=["onClick"],S={key:0},C=e.defineComponent({__name:"EmergencyPlanPanel",props:{plans:{},currentPlan:{},execution:{}},emits:["select-plan","start-plan","report-warning","complete-step"],setup(o,{emit:m}){var u,d;const a=o,i=m,s=e.ref(String((d=(u=a.currentPlan)==null?void 0:u.warningLevel)!=null?d:4)),r=e.computed(()=>{const n=parseInt(s.value);return a.plans.find(t=>t.warningLevel===n)||null}),c=e.computed(()=>{var n;return a.execution.status!=="idle"&&a.execution.steps.length>0?a.execution.steps:((n=r.value)==null?void 0:n.steps)||[]}),p=e.computed(()=>{const n=a.execution.status;return n==="running"?"lw-status-running":n==="completed"?"lw-status-done":"lw-status-idle"}),E=e.computed(()=>({idle:"未启动",running:"预案进行中",completed:"已完成",aborted:"已中止"})[a.execution.status]||"未启动");function N(){r.value&&i("select-plan",r.value)}function v(n){a.execution.status==="running"&&n.status==="pending"&&i("complete-step",n)}return e.watch(()=>a.currentPlan,n=>{n&&(s.value=String(n.warningLevel))}),(n,t)=>(e.openBlock(),e.createElementBlock("div",w,[t[7]||(t[7]=e.createElementVNode("div",{class:"lw-panel-header"},[e.createElementVNode("span",{class:"lw-panel-title"},"应急预案")],-1)),e.createElementVNode("div",g,[t[4]||(t[4]=e.createElementVNode("span",{class:"lw-plan-label"},"预案执行步骤",-1)),e.withDirectives(e.createElementVNode("select",{"onUpdate:modelValue":t[0]||(t[0]=l=>s.value=l),class:"lw-select lw-select-sm",onChange:N},[...t[3]||(t[3]=[e.createElementVNode("option",{value:"4"},"Ⅳ级预警",-1),e.createElementVNode("option",{value:"3"},"Ⅲ级预警",-1),e.createElementVNode("option",{value:"2"},"Ⅱ级预警",-1),e.createElementVNode("option",{value:"1"},"Ⅰ级预警",-1)])],544),[[e.vModelSelect,s.value]]),e.createElementVNode("span",{class:e.normalizeClass(["lw-plan-status",p.value])},e.toDisplayString(E.value),3),e.createElementVNode("button",{class:"lw-btn-primary lw-btn-sm",disabled:o.execution.status==="running",onClick:t[1]||(t[1]=l=>n.$emit("start-plan"))},e.toDisplayString(o.execution.status==="running"?"预案进行中":"启动预案"),9,b),e.createElementVNode("button",{class:"lw-btn-primary lw-btn-sm lw-btn-warn",onClick:t[2]||(t[2]=l=>n.$emit("report-warning"))},"报告预警情况")]),e.createElementVNode("div",y,[e.createElementVNode("table",null,[t[6]||(t[6]=e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",null,"#"),e.createElementVNode("th",null,"步骤"),e.createElementVNode("th",null,"责任人"),e.createElementVNode("th",null,"时限"),e.createElementVNode("th",null,"状态")])],-1)),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,l=>(e.openBlock(),e.createElementBlock("tr",{key:l.stepId},[e.createElementVNode("td",k,e.toDisplayString(l.stepNo),1),e.createElementVNode("td",null,e.toDisplayString(l.stepName),1),e.createElementVNode("td",null,e.toDisplayString(l.responsibleName),1),e.createElementVNode("td",null,e.toDisplayString(l.timeLimitDisplay),1),e.createElementVNode("td",null,[e.createElementVNode("span",{class:e.normalizeClass(["lw-step-status","lw-step-"+l.status]),onClick:P=>v(l)},e.toDisplayString(l.statusText),11,x)])]))),128)),c.value.length===0?(e.openBlock(),e.createElementBlock("tr",S,[...t[5]||(t[5]=[e.createElementVNode("td",{colspan:"5",class:"lw-no-data"},"该等级暂无预案",-1)])])):e.createCommentVNode("",!0)])])])]))}}),f=V._export_sfc(C,[["__scopeId","data-v-2e51d84b"]]);exports.EmergencyPlanPanel=f;
|