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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var I=Object.defineProperty,V=Object.defineProperties;var R=Object.getOwnPropertyDescriptors;var M=Object.getOwnPropertySymbols;var Y=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable;var z=(f,r,s)=>r in f?I(f,r,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[r]=s,O=(f,r)=>{for(var s in r||(r={}))Y.call(r,s)&&z(f,s,r[s]);if(M)for(var s of M(r))j.call(r,s)&&z(f,s,r[s]);return f},C=(f,r)=>V(f,R(r));var g=(f,r,s)=>new Promise((t,p)=>{var y=l=>{try{v(s.next(l))}catch(S){p(S)}},x=l=>{try{v(s.throw(l))}catch(S){p(S)}},v=l=>l.done?t(l.value):Promise.resolve(l.value).then(y,x);v((s=s.apply(f,r)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),A=require("./BaseComponent-Chnv4fBT.cjs"),h=require("./index-DVqMfQVc.cjs"),H=require("./titleStyle-NSnz6cUg.cjs"),E=require("./ele-rtn-icon-BrsJIU8J.cjs"),w={class:"mix-body"},k={class:"mix-footer"},P={class:"time-info"},F={DEFAULT_ICON:E.DEFAULT_ICON,ACTIVE_ICON:E.ACTIVE_ICON,NAME_CN:"历程",NAME_EN:"Retainer1",ORDER:1,PLATFORM:["pc","screen","mobile"]},L={nameSize:16,valueSize:48,timeSize:12,radiusSize:8,bgColor:"#fff",titleColor:"#111",textColor:"#111"},N=[{object_id:"",retainer:"",fv:"",fv_name:"",retainer_code:"",status:[{code:0,text:"结束",color:"#409eff"},{code:1,text:"进行",color:"#f56c6c"}]}],$=["object_id","retainer","fv","fv_name","retainer_code"],q=["mosaic"],U=1,B={useAlias:!1,multiObject:!1,hideMultiObject:!0,source:"mosaic"},G={DEFAULT:F,OPTIONS:L,DATA:N,PARAMS:$,SOURCE:q,ITEMS:U,COMMON:B},J=o.defineComponent(C(O({},G),{__name:"retainer1",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(f){const r=f,s="--",t=o.reactive({title:s,statusText:s,statusColor:"#409eff",value:s,fvName:"",startTime:s,endTime:"- - - -",duration:s,status:0,startTimestamp:0}),p=d=>d<10?"0"+d:d,y=d=>d>=3600?`${p(Math.floor(d/3600))}:${p(Math.floor(d/60)%60)}:${p(Math.floor(d%60))}`:`${p(Math.floor(d/60))}:${p(Math.floor(d%60))}`;class x extends A.BaseComponent{constructor(){super(...arguments),this.subscribed=!1,this.durationTimer=null}extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#111"),nameSize:this.getOptionValue("nameSize",16),valueSize:this.getOptionValue("valueSize",48),timeSize:this.getOptionValue("timeSize",12),radiusSize:this.getOptionValue("radiusSize",8)}}init(){var e,i,c;if(this.Style.value=this.extractStyles(),this.applyTheme(),(e=this.props.conf.data)!=null&&e.length||(this.props.conf.data=N),this.props.mode==="edit"){const a=((i=this.props.conf.data)==null?void 0:i[0])||{},n=((c=a.status)==null?void 0:c[1])||{text:"进行",color:"#f56c6c"};t.title="设备名称",t.fvName=a.fv_name||a.fv||"FV",t.statusText=n.text,t.statusColor=n.color,t.value="123.45",t.startTime=h.dayjs().subtract(1,"hour").format("YYYY-MM-DD HH:mm:ss"),t.endTime="- - - -",t.duration="01:23"}}startDurationTimer(){this.durationTimer&&clearInterval(this.durationTimer),this.durationTimer=window.setInterval(()=>{if(t.status===1&&t.startTimestamp>0){const e=Math.floor((Date.now()-t.startTimestamp)/1e3);t.duration=y(e)}},1e3)}getPreviewHelper(){return{preview:()=>g(this,null,function*(){try{const i=yield new(yield Promise.resolve().then(()=>require("./history-MxYUUwkm.cjs"))).default().getHistoryData(this.props,this.componentType);this.setHistoryData(i)}catch(e){console.error("[Retainer1] 获取历史数据失败:",e)}}),unregister:()=>{this.durationTimer&&(clearInterval(this.durationTimer),this.durationTimer=null)}}}onPreview(){var a;if(this.subscribed)return;const e=this.resolveObjectId();this.subscribeRetainer(e),(((a=this.props.conf.data)==null?void 0:a[0])||{}).fv&&this.subscribeFv(e),this.subscribed=!0}setSocketData(e){if(e){if(e.event==="retainer_result"&&e.source_event){const i=e.source_event;i.retained===1||i.retained==="1"?this.handleRetainerOpen(i):(i.retained===0||i.retained==="0")&&this.handleRetainerClose(i);return}switch(e.event){case"retainer_open":this.handleRetainerOpen(e);break;case"retainer_close":this.handleRetainerClose(e);break;case"retainer_event":this.handleRetainerEvent(e);break;case"recv_fv":this.handleFvData(e);break}}}handleRetainerOpen(e){var n,u;const{conf:i}=this.props,c=((n=i.data)==null?void 0:n[0])||{};t.fvName=c.fv_name||c.fv||"",t.status=1;const a=(u=c.status)==null?void 0:u.find(m=>m.code===1);if(t.statusText=(a==null?void 0:a.text)||"进行",t.statusColor=(a==null?void 0:a.color)||"#f56c6c",t.title=e.label_local||e.label_en||i.name||"--",e.opened_at){t.startTime=h.dayjs(e.opened_at).format("YYYY-MM-DD HH:mm:ss"),t.startTimestamp=h.dayjs(e.opened_at).valueOf();const m=Math.floor((Date.now()-t.startTimestamp)/1e3);t.duration=y(m),this.startDurationTimer()}t.endTime="- - - -"}handleRetainerClose(e){var n,u;const{conf:i}=this.props,c=((n=i.data)==null?void 0:n[0])||{};t.status=0;const a=(u=c.status)==null?void 0:u.find(m=>m.code===0);if(t.statusText=(a==null?void 0:a.text)||"结束",t.statusColor=(a==null?void 0:a.color)||"#409eff",e.close_at&&(t.endTime=h.dayjs(e.close_at).format("YYYY-MM-DD HH:mm:ss")),e.opened_at&&e.close_at){const m=h.dayjs(e.opened_at).valueOf(),T=h.dayjs(e.close_at).valueOf(),D=Math.floor((T-m)/1e3);t.duration=y(D)}this.durationTimer&&(clearInterval(this.durationTimer),this.durationTimer=null)}handleRetainerEvent(e){}handleFvData(e){var a,n;const c=(((a=this.props.conf.data)==null?void 0:a[0])||{}).fv;if(c)try{const u=(n=e.data)==null?void 0:n[c];u!==void 0&&(t.value=u)}catch(u){console.error("[Retainer1] 处理 FV 数据失败:",u)}}setHistoryData(e){var a,n,u;const{conf:i}=this.props,c=((a=i.data)==null?void 0:a[0])||{};try{const m=(u=(n=e==null?void 0:e.history)==null?void 0:n[0])==null?void 0:u[0];m&&this.updateParams(m,c,i)}catch(m){console.error("[Retainer1] setHistoryData error:",m),this.resetParams()}}updateParams(e,i,c){var m,T,D;const a=i.fv;t.fvName=i.fv_name||a||"",t.status=typeof e.status=="string"?parseInt(e.status):(m=e.status)!=null?m:0;const n=(T=i.status)==null?void 0:T.find(_=>_.code===t.status);if(t.statusText=(n==null?void 0:n.text)||(t.status===1?"进行":"结束"),t.statusColor=(n==null?void 0:n.color)||(t.status===1?"#f56c6c":"#409eff"),t.title=e.label_cn||c.name||s,t.startTime=e.start_time?h.dayjs(e.start_time).format("YYYY-MM-DD HH:mm:ss"):s,t.endTime=e.end_time?h.dayjs(e.end_time).format("YYYY-MM-DD HH:mm:ss"):"- - - -",e.start_time){const _=h.dayjs(e.start_time).valueOf();if(t.startTimestamp=_,e.end_time){const b=h.dayjs(e.end_time).valueOf();t.duration=y(Math.floor((b-_)/1e3))}else{const b=Math.floor((Date.now()-_)/1e3);t.duration=y(b),this.startDurationTimer()}}else t.duration="00:00";let u=s;e.mosaic&&Array.isArray(e.mosaic)&&e.mosaic.length>0&&(u=(D=e.mosaic[0][a])!=null?D:s),t.value=u}resetParams(){t.title=s,t.statusText=s,t.statusColor="#409eff",t.value=s,t.startTime=s,t.endTime="- - - -",t.duration=s}}const v=new x(r,"retainer1");v.setupLifecycle();const l=v.getStyle(),S=o.computed(()=>H.generateTitleStyle(r.conf.options));return o.watchEffect(()=>{r.conf.historyData&&v.setHistoryData(r.conf.historyData),r.conf.socketData&&v.setSocketData(r.conf.socketData)}),(d,e)=>(o.openBlock(),o.createElementBlock("div",{class:"mix-component",style:o.normalizeStyle({background:o.unref(l).bgColor,borderRadius:o.unref(l).radiusSize+"px"})},[o.createElementVNode("div",{class:"mix-title",style:o.normalizeStyle(S.value)},o.toDisplayString(r.conf.caption||t.title),5),o.createElementVNode("div",w,[o.createElementVNode("div",{class:"status-tag",style:o.normalizeStyle({fontSize:o.unref(l).nameSize-2+"px",backgroundColor:t.statusColor,color:"#fff"})},o.toDisplayString(t.fvName?t.fvName+"("+t.statusText+")":t.statusText),5),o.createElementVNode("div",{class:"card-value",style:o.normalizeStyle({fontSize:o.unref(l).valueSize+"px",color:o.unref(l).textColor})},o.toDisplayString(t.value),5)]),o.createElementVNode("div",k,[o.createElementVNode("div",P,[o.createElementVNode("div",{class:"time-item",style:o.normalizeStyle({fontSize:o.unref(l).timeSize+"px",color:o.unref(l).textColor})},o.toDisplayString(t.startTime),5),o.createElementVNode("div",{class:"time-item",style:o.normalizeStyle({fontSize:o.unref(l).timeSize+"px",color:o.unref(l).textColor})},o.toDisplayString(t.endTime),5)]),o.createElementVNode("div",{class:"duration",style:o.normalizeStyle({fontSize:o.unref(l).timeSize+4+"px",color:o.unref(l).textColor})},o.toDisplayString(t.duration),5)]),o.renderSlot(d.$slots,"default",{},void 0,!0)],4))}})),K=h._export_sfc(J,[["__scopeId","data-v-3a74a175"]]);exports.default=K;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
1
|
+
var A = Object.defineProperty, H = Object.defineProperties;
|
|
2
2
|
var N = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var z = Object.getOwnPropertySymbols;
|
|
4
4
|
var w = Object.prototype.hasOwnProperty, V = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var g = (f, i, s) => i in f ?
|
|
5
|
+
var g = (f, i, s) => i in f ? A(f, i, { enumerable: !0, configurable: !0, writable: !0, value: s }) : f[i] = s, R = (f, i) => {
|
|
6
6
|
for (var s in i || (i = {}))
|
|
7
7
|
w.call(i, s) && g(f, s, i[s]);
|
|
8
8
|
if (z)
|
|
9
9
|
for (var s of z(i))
|
|
10
10
|
V.call(i, s) && g(f, s, i[s]);
|
|
11
11
|
return f;
|
|
12
|
-
},
|
|
12
|
+
}, Y = (f, i) => H(f, N(i));
|
|
13
13
|
var I = (f, i, s) => new Promise((t, v) => {
|
|
14
14
|
var T = (n) => {
|
|
15
15
|
try {
|
|
@@ -26,9 +26,9 @@ var I = (f, i, s) => new Promise((t, v) => {
|
|
|
26
26
|
}, _ = (n) => n.done ? t(n.value) : Promise.resolve(n.value).then(T, O);
|
|
27
27
|
_((s = s.apply(f, i)).next());
|
|
28
28
|
});
|
|
29
|
-
import { defineComponent as k, reactive as
|
|
30
|
-
import { B } from "./BaseComponent-
|
|
31
|
-
import {
|
|
29
|
+
import { defineComponent as k, reactive as F, computed as P, watchEffect as j, openBlock as L, createElementBlock as $, normalizeStyle as y, unref as d, createElementVNode as p, toDisplayString as D, renderSlot as U } from "vue";
|
|
30
|
+
import { B } from "./BaseComponent-CBagahPU.js";
|
|
31
|
+
import { d as h, _ as q } from "./index-DwPJu6XM.js";
|
|
32
32
|
import { g as G } from "./titleStyle-BT5GlpAb.js";
|
|
33
33
|
import { A as J, D as K } from "./ele-rtn-icon-CqCKSHIw.js";
|
|
34
34
|
const Q = { class: "mix-body" }, W = { class: "mix-footer" }, X = { class: "time-info" }, Z = {
|
|
@@ -36,7 +36,8 @@ const Q = { class: "mix-body" }, W = { class: "mix-footer" }, X = { class: "time
|
|
|
36
36
|
ACTIVE_ICON: J,
|
|
37
37
|
NAME_CN: "历程",
|
|
38
38
|
NAME_EN: "Retainer1",
|
|
39
|
-
ORDER: 1
|
|
39
|
+
ORDER: 1,
|
|
40
|
+
PLATFORM: ["pc", "screen", "mobile"]
|
|
40
41
|
}, tt = {
|
|
41
42
|
nameSize: 16,
|
|
42
43
|
valueSize: 48,
|
|
@@ -62,7 +63,7 @@ const Q = { class: "mix-body" }, W = { class: "mix-footer" }, X = { class: "time
|
|
|
62
63
|
multiObject: !1,
|
|
63
64
|
hideMultiObject: !0,
|
|
64
65
|
source: "mosaic"
|
|
65
|
-
}, it = { DEFAULT: Z, OPTIONS: tt, DATA: E, PARAMS: et, SOURCE: st, ITEMS: ot, COMMON: at }, rt = /* @__PURE__ */ k(R(
|
|
66
|
+
}, it = { DEFAULT: Z, OPTIONS: tt, DATA: E, PARAMS: et, SOURCE: st, ITEMS: ot, COMMON: at }, rt = /* @__PURE__ */ k(Y(R({}, it), {
|
|
66
67
|
__name: "retainer1",
|
|
67
68
|
props: {
|
|
68
69
|
conf: { type: Object, default: () => ({ data: [] }) },
|
|
@@ -71,7 +72,7 @@ const Q = { class: "mix-body" }, W = { class: "mix-footer" }, X = { class: "time
|
|
|
71
72
|
theme: { type: String, default: "light" }
|
|
72
73
|
},
|
|
73
74
|
setup(f) {
|
|
74
|
-
const i = f, s = "--", t =
|
|
75
|
+
const i = f, s = "--", t = F({
|
|
75
76
|
title: s,
|
|
76
77
|
statusText: s,
|
|
77
78
|
statusColor: "#409eff",
|
|
@@ -120,7 +121,7 @@ const Q = { class: "mix-body" }, W = { class: "mix-footer" }, X = { class: "time
|
|
|
120
121
|
return {
|
|
121
122
|
preview: () => I(this, null, function* () {
|
|
122
123
|
try {
|
|
123
|
-
const a = yield new (yield import("./history-
|
|
124
|
+
const a = yield new (yield import("./history-BZ869y2d.js")).default().getHistoryData(this.props, this.componentType);
|
|
124
125
|
this.setHistoryData(a);
|
|
125
126
|
} catch (e) {
|
|
126
127
|
console.error("[Retainer1] 获取历史数据失败:", e);
|
|
@@ -240,10 +241,10 @@ const Q = { class: "mix-body" }, W = { class: "mix-footer" }, X = { class: "time
|
|
|
240
241
|
}
|
|
241
242
|
const _ = new O(i, "retainer1");
|
|
242
243
|
_.setupLifecycle();
|
|
243
|
-
const n = _.getStyle(), x =
|
|
244
|
-
return
|
|
244
|
+
const n = _.getStyle(), x = P(() => G(i.conf.options));
|
|
245
|
+
return j(() => {
|
|
245
246
|
i.conf.historyData && _.setHistoryData(i.conf.historyData), i.conf.socketData && _.setSocketData(i.conf.socketData);
|
|
246
|
-
}), (u, e) => (
|
|
247
|
+
}), (u, e) => (L(), $("div", {
|
|
247
248
|
class: "mix-component",
|
|
248
249
|
style: y({ background: d(n).bgColor, borderRadius: d(n).radiusSize + "px" })
|
|
249
250
|
}, [
|
|
@@ -269,11 +270,11 @@ const Q = { class: "mix-body" }, W = { class: "mix-footer" }, X = { class: "time
|
|
|
269
270
|
p("div", X, [
|
|
270
271
|
p("div", {
|
|
271
272
|
class: "time-item",
|
|
272
|
-
style: y({ fontSize: d(n).timeSize + "px", color: d(n).
|
|
273
|
+
style: y({ fontSize: d(n).timeSize + "px", color: d(n).textColor })
|
|
273
274
|
}, D(t.startTime), 5),
|
|
274
275
|
p("div", {
|
|
275
276
|
class: "time-item",
|
|
276
|
-
style: y({ fontSize: d(n).timeSize + "px", color: d(n).
|
|
277
|
+
style: y({ fontSize: d(n).timeSize + "px", color: d(n).textColor })
|
|
277
278
|
}, D(t.endTime), 5)
|
|
278
279
|
]),
|
|
279
280
|
p("div", {
|
|
@@ -284,7 +285,7 @@ const Q = { class: "mix-body" }, W = { class: "mix-footer" }, X = { class: "time
|
|
|
284
285
|
U(u.$slots, "default", {}, void 0, !0)
|
|
285
286
|
], 4));
|
|
286
287
|
}
|
|
287
|
-
})), dt = /* @__PURE__ */ q(rt, [["__scopeId", "data-v-
|
|
288
|
+
})), dt = /* @__PURE__ */ q(rt, [["__scopeId", "data-v-3a74a175"]]);
|
|
288
289
|
export {
|
|
289
290
|
dt as default
|
|
290
291
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var se=Object.defineProperty,ae=Object.defineProperties;var re=Object.getOwnPropertyDescriptors;var $=Object.getOwnPropertySymbols;var ce=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable;var G=(v,c,l)=>c in v?se(v,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):v[c]=l,I=(v,c)=>{for(var l in c||(c={}))ce.call(c,l)&&G(v,l,c[l]);if($)for(var l of $(c))le.call(c,l)&&G(v,l,c[l]);return v},R=(v,c)=>ae(v,re(c));var U=(v,c,l)=>new Promise((b,w)=>{var C=D=>{try{M(l.next(D))}catch(S){w(S)}},E=D=>{try{M(l.throw(D))}catch(S){w(S)}},M=D=>D.done?b(D.value):Promise.resolve(D.value).then(C,E);M((l=l.apply(v,c)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("vue"),de=require("./BaseComponent-Chnv4fBT.cjs"),L=require("./index-DVqMfQVc.cjs"),fe=require("./titleStyle-NSnz6cUg.cjs");require("./index-mAPVa0s4.cjs");const X=require("./ele-rtn-icon-BrsJIU8J.cjs"),he=require("./echarts-BB8O2KSA.cjs"),ue={class:"mix-body"},me={DEFAULT_ICON:X.DEFAULT_ICON,ACTIVE_ICON:X.ACTIVE_ICON,NAME_CN:"历程管理",NAME_EN:"Retainer2",ORDER:2,PLATFORM:["pc","screen","mobile"]},pe={titleColor:"#111",radiusSize:8,bgColor:"#fff",textColor:"#111",barWidth:30,barGap:0,timeWindow:5,isHideTitle:!0},J=[{name:"历程1",object_id:"",retainer:"",retainer_code:"",color:"#ee6666",showLine:!1,fv:"",lineStyle:"solid",lineWidth:2}],ye=["name","object_id","retainer","retainer_code","color","showLine",{key:"fv",dependent:"showLine"},{key:"lineStyle",dependent:"showLine"},{key:"lineWidth",dependent:"showLine"}],ge=["mosaic"],ve={useAlias:!1,multiObject:!0,showBothModes:!0,source:"mosaic"},be={DEFAULT:me,OPTIONS:pe,DATA:J,PARAMS:ye,SOURCE:ge,COMMON:ve},we=f.defineComponent(R(I({},be),{__name:"retainer2",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(v){const c=v,l=f.ref(null);let b=null;const w=f.reactive([]),C=p=>w[p];class E extends de.BaseComponent{constructor(){super(...arguments),this.subscribed=!1}extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#111"),radiusSize:this.getOptionValue("radiusSize",8),barWidth:this.getOptionValue("barWidth",30),barGap:this.getOptionValue("barGap",0),timeWindow:this.getOptionValue("timeWindow",5),isHideTitle:this.getOptionValue("isHideTitle",!0)}}init(){var e;this.Style.value=this.extractStyles(),this.applyTheme(),(e=this.props.conf.data)!=null&&e.length||(this.props.conf.data=J),this.props.mode==="edit"&&M()}getPreviewHelper(){return{preview:()=>U(this,null,function*(){try{const i=yield new(yield Promise.resolve().then(()=>require("./history-MxYUUwkm.cjs"))).default().getHistoryData(this.props,this.componentType);this.setHistoryData(i)}catch(e){console.error("[Retainer2] 获取历史数据失败:",e)}}),unregister:()=>{}}}onPreview(){var n;if(this.subscribed)return;const{conf:e}=this.props,{data:i,common:t}=e;if(t.multiObject&&Array.isArray(i)){const o=new Set;i.forEach(s=>{const r=this.resolveObjectId(s);!r||o.has(r)||(o.add(r),this.subscribeRetainer(r),s.showLine&&s.fv&&this.subscribeFv(r))})}else{const o=this.resolveObjectId();this.subscribeRetainer(o),(n=i==null?void 0:i[0])!=null&&n.fv&&this.subscribeFv(o)}this.subscribed=!0}setSocketData(e){if(e)switch(e.event){case"retainer_open":this.handleRetainerOpen(e);break;case"retainer_close":this.handleRetainerClose(e);break;case"retainer_event":this.handleRetainerEvent(e);break;case"recv_fv":this.handleFvData(e);break}}handleRetainerOpen(e){const{conf:i}=this.props,{data:t,common:n}=i,o=e.object_id,s=t.findIndex(a=>this.resolveObjectId(n!=null&&n.multiObject?a:void 0)===o);if(s===-1)return;let r=C(s);if(!r){const a=t[s];r={name:a.name||`历程${s+1}`,color:a.color||"#409eff",objectId:o,fv:a.fv||"",periods:[],lineData:[],showLine:a.showLine||!1,lineStyle:a.lineStyle||"solid",lineWidth:a.lineWidth||2},w.push(r)}e.opened_at&&r.periods.push({start:e.opened_at,end:null}),O()}handleRetainerClose(e){const{conf:i}=this.props,{data:t,common:n}=i,o=e.object_id,s=t.findIndex(d=>this.resolveObjectId(n!=null&&n.multiObject?d:void 0)===o);if(s===-1)return;const r=C(s);if(!r)return;const a=r.periods[r.periods.length-1];a&&!a.end&&(a.end=e.close_at||new Date().toISOString()),O()}handleRetainerEvent(e){}handleFvData(e){var d;const{conf:i}=this.props,{data:t,common:n}=i,o=e.object_id,s=t.findIndex(h=>this.resolveObjectId(n!=null&&n.multiObject?h:void 0)===o);if(s===-1)return;const a=t[s].fv;if(a)try{const h=(d=e.data)==null?void 0:d[a];if(h!==void 0){const g=C(s);if(g&&g.showLine){const u=e.datetime||new Date().toISOString();g.lineData.push({time:u,value:h}),g.lineData.sort((_,T)=>new Date(_.time).getTime()-new Date(T.time).getTime()),O()}}}catch(h){console.error("[Retainer2] 处理 FV 数据失败:",h)}}setHistoryData(e){const{conf:i}=this.props,{data:t,common:n}=i;w.length=0,t.forEach((o,s)=>{var h;const r=this.resolveObjectId(n!=null&&n.multiObject?o:void 0),a=o.fv||"",d={name:o.name||`历程${s+1}`,color:o.color||"#409eff",objectId:r,fv:a,periods:[],lineData:[],showLine:o.showLine||!1,lineStyle:o.lineStyle||"solid",lineWidth:o.lineWidth||2};try{(((h=e==null?void 0:e.history)==null?void 0:h[s])||[]).forEach(u=>{u&&u.start_time&&(d.periods.push({start:u.start_time,end:u.end_time||null}),o.showLine&&a&&u.mosaic&&Array.isArray(u.mosaic)&&u.mosaic.forEach(_=>{const T=_[a];T!==void 0&&_.time&&d.lineData.push({time:_.time,value:T})}))}),d.lineData.sort((u,_)=>new Date(u.time).getTime()-new Date(_.time).getTime())}catch(g){}w.push(d)}),O()}}const M=()=>{const{data:p}=c.conf;w.length=0;const e=L.dayjs();p.forEach((i,t)=>{const n=`edit_object_${t}`,o=[{start:e.subtract(6+t,"hour").format("YYYY-MM-DD HH:mm:ss"),end:e.subtract(4+t,"hour").format("YYYY-MM-DD HH:mm:ss")},{start:e.subtract(2+t*.5,"hour").format("YYYY-MM-DD HH:mm:ss"),end:e.subtract(t*.3,"hour").format("YYYY-MM-DD HH:mm:ss")}],s=[];i.showLine&&o.forEach(r=>{const a=L.dayjs(r.start),h=L.dayjs(r.end).diff(a,"minute"),g=Math.max(5,Math.floor(h/10));for(let u=0;u<=g;u++){const _=a.add(h/g*u,"minute");s.push({time:_.format("YYYY-MM-DD HH:mm:ss"),value:150+Math.sin(u*.8+t*2)*50+t*30})}}),w.push({name:i.name||`历程${t+1}`,color:i.color||["#ee6666","#91cc75","#fac858"][t%3],objectId:n,fv:i.fv||"",periods:o,lineData:s,showLine:i.showLine||!1,lineStyle:i.lineStyle||"solid",lineWidth:i.lineWidth||2})})},D=new E(c,"retainer2");D.setupLifecycle();const S=D.getStyle(),W=c.conf,K=f.computed(()=>fe.generateTitleStyle(c.conf.options)),V=()=>w.filter(p=>p.showLine&&p.lineData.length>0),Q=()=>{const p=[],e=V();let i=1;return e.forEach(t=>{t.periods.forEach((n,o)=>{const s=new Date(n.start).getTime(),r=n.end?new Date(n.end).getTime():Date.now(),a=t.lineData.filter(d=>{const h=new Date(d.time).getTime();return h>=s&&h<=r}).map(d=>[new Date(d.time).getTime(),d.value]);a.length>0&&p.push({name:o===0?`${t.name}-曲线`:`${t.name}-曲线-${o+1}`,type:"line",yAxisIndex:i,smooth:!0,symbol:"circle",symbolSize:4,lineStyle:{color:t.color,width:t.lineWidth,type:t.lineStyle},itemStyle:{color:t.color},data:a})}),i++}),p},Z=p=>{const e=V(),i=e.length,t=[{type:"value",min:0,max:p,axisLine:{show:!1},axisTick:{show:!1},axisLabel:{show:!1},splitLine:{show:!1}}];return e.forEach((n,o)=>{const s=n.lineData.map(u=>u.value),r=Math.max(...s),a=Math.min(...s),d=Math.ceil(r*1.1),h=Math.floor(a*.9),g=o*50;t.push({type:"value",position:"right",offset:g,min:h,max:d,axisLine:{show:!0,lineStyle:{color:n.color}},axisTick:{show:!0,lineStyle:{color:n.color}},axisLabel:{color:n.color,fontSize:10},splitLine:{show:!1}})}),{yAxes:t,lineCount:i}},k=()=>{l.value&&(b=he.init(l.value),O())},O=()=>{var P;if(!b)return;const p=w.length||1,e=((P=l.value)==null?void 0:P.clientHeight)||300,i=30,t=10,n=e-i-t,o=S.value.barWidth||30,s=S.value.barGap||0,r=o+s,a=p*r;let d=o,h=s,g=r;if(a>n){const m=n/a;d=Math.max(o*m,10),h=s*m,g=d+h}const u=[];let _=!1;w.forEach((m,y)=>{m.periods.forEach(x=>{const j=new Date(x.start).getTime(),Y=x.end?new Date(x.end).getTime():Date.now();x.end||(_=!0),u.push({name:m.name,value:[j,Y,y],itemStyle:{color:x.end?m.color+"80":m.color}})})});const{yAxes:T,lineCount:N}=Z(p),ee=N>0?20+N*50:20,te={tooltip:{trigger:"axis",formatter:m=>{if(Array.isArray(m)){const y=m.find(x=>x.seriesType==="line");if(y){const x=L.dayjs(y.value[0]).format("YYYY-MM-DD HH:mm:ss");return`${y.seriesName}<br/>时间: ${x}<br/>数值: ${y.value[1]}`}}return""}},grid:{left:40,right:ee,top:t,bottom:i,containLabel:!1},xAxis:R(I({type:"time",position:"bottom"},_?{min:Date.now()-S.value.timeWindow*60*1e3,max:Date.now()}:{}),{axisLine:{show:!0,lineStyle:{color:S.value.titleColor}},axisTick:{show:!0,lineStyle:{color:S.value.titleColor}},axisLabel:{formatter:"{HH}:{mm}",color:S.value.textColor,fontSize:11,margin:8},splitLine:{show:!1}}),yAxis:T,series:[{name:"甘特图",type:"custom",yAxisIndex:0,renderItem:(m,y)=>{var q;const x=y.value(0),j=y.value(1),Y=y.value(2),A=y.coord([x,0])[0],oe=y.coord([j,0])[0],B=m.coordSys.y+m.coordSys.height-(Y+1)*g+h,ne=B+d/2,F=Math.max(oe-A,2),ie=((q=w[Y])==null?void 0:q.name)||"";return{type:"group",children:[{type:"rect",shape:{x:A,y:B,width:F,height:d,r:2},style:y.style()},{type:"text",style:{x:A+F/2,y:ne,text:ie,fill:"#fff",fontSize:11,textAlign:"center",textVerticalAlign:"middle"}}]}},encode:{x:[0,1],y:2,tooltip:[0,1]},tooltip:{formatter:m=>{const y=L.dayjs(m.value[0]).format("YYYY-MM-DD HH:mm:ss"),x=L.dayjs(m.value[1]).format("YYYY-MM-DD HH:mm:ss"),j=m.value[1]>=Date.now()-1e3;return`${m.name}<br/>开始: ${y}<br/>结束: ${j?"进行中":x}`}},data:u},...Q()]};b.setOption(te,!0)},z=()=>{b==null||b.resize()};let H=null;return f.onMounted(()=>{H=new ResizeObserver(()=>{b?b.resize():l.value&&k()}),l.value&&H.observe(l.value),setTimeout(()=>{k()},100),window.addEventListener("resize",z)}),f.onUnmounted(()=>{window.removeEventListener("resize",z),H==null||H.disconnect(),b==null||b.dispose()}),f.watch(()=>c.conf.data,()=>{c.mode==="edit"&&M(),O()},{deep:!0}),f.watch(()=>c.conf.options,()=>{S.value=D.extractStyles(),O()},{deep:!0}),f.watchEffect(()=>{c.conf.historyData&&D.setHistoryData(c.conf.historyData),c.conf.socketData&&D.setSocketData(c.conf.socketData)}),(p,e)=>(f.openBlock(),f.createElementBlock("div",{class:"mix-component",style:f.normalizeStyle({background:f.unref(S).bgColor,borderRadius:f.unref(S).radiusSize+"px"})},[f.createElementVNode("div",{class:"mix-title",style:f.normalizeStyle(K.value)},f.toDisplayString(f.unref(W).caption||f.unref(W).name),5),f.createElementVNode("div",ue,[f.createElementVNode("div",{class:"timeline-chart",ref_key:"chartRef",ref:l},null,512)]),f.renderSlot(p.$slots,"default",{},void 0,!0)],4))}})),De=L._export_sfc(we,[["__scopeId","data-v-9bf4a2c3"]]);exports.default=De;
|
|
@@ -1,44 +1,45 @@
|
|
|
1
|
-
var re = Object.defineProperty,
|
|
2
|
-
var
|
|
1
|
+
var re = Object.defineProperty, ce = Object.defineProperties;
|
|
2
|
+
var le = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var U = Object.getOwnPropertySymbols;
|
|
4
4
|
var de = Object.prototype.hasOwnProperty, fe = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var X = (y,
|
|
6
|
-
for (var
|
|
7
|
-
de.call(
|
|
5
|
+
var X = (y, c, l) => c in y ? re(y, c, { enumerable: !0, configurable: !0, writable: !0, value: l }) : y[c] = l, R = (y, c) => {
|
|
6
|
+
for (var l in c || (c = {}))
|
|
7
|
+
de.call(c, l) && X(y, l, c[l]);
|
|
8
8
|
if (U)
|
|
9
|
-
for (var
|
|
10
|
-
fe.call(
|
|
9
|
+
for (var l of U(c))
|
|
10
|
+
fe.call(c, l) && X(y, l, c[l]);
|
|
11
11
|
return y;
|
|
12
|
-
}, I = (y,
|
|
13
|
-
var q = (y,
|
|
14
|
-
var
|
|
12
|
+
}, I = (y, c) => ce(y, le(c));
|
|
13
|
+
var q = (y, c, l) => new Promise((v, b) => {
|
|
14
|
+
var T = (w) => {
|
|
15
15
|
try {
|
|
16
|
-
L(
|
|
16
|
+
L(l.next(w));
|
|
17
17
|
} catch (D) {
|
|
18
18
|
b(D);
|
|
19
19
|
}
|
|
20
20
|
}, j = (w) => {
|
|
21
21
|
try {
|
|
22
|
-
L(
|
|
22
|
+
L(l.throw(w));
|
|
23
23
|
} catch (D) {
|
|
24
24
|
b(D);
|
|
25
25
|
}
|
|
26
|
-
}, L = (w) => w.done ? v(w.value) : Promise.resolve(w.value).then(
|
|
27
|
-
L((
|
|
26
|
+
}, L = (w) => w.done ? v(w.value) : Promise.resolve(w.value).then(T, j);
|
|
27
|
+
L((l = l.apply(y, c)).next());
|
|
28
28
|
});
|
|
29
29
|
import { defineComponent as he, ref as ue, reactive as me, computed as pe, onMounted as ge, onUnmounted as ye, watch as J, watchEffect as ve, openBlock as be, createElementBlock as we, normalizeStyle as K, unref as E, createElementVNode as W, toDisplayString as De, renderSlot as Se } from "vue";
|
|
30
|
-
import { B as xe } from "./BaseComponent-
|
|
31
|
-
import {
|
|
30
|
+
import { B as xe } from "./BaseComponent-CBagahPU.js";
|
|
31
|
+
import { d as O, _ as _e } from "./index-DwPJu6XM.js";
|
|
32
32
|
import { g as Le } from "./titleStyle-BT5GlpAb.js";
|
|
33
33
|
import "./index-ButoLLAe.js";
|
|
34
34
|
import { A as Me, D as Oe } from "./ele-rtn-icon-CqCKSHIw.js";
|
|
35
|
-
import { i as
|
|
36
|
-
const
|
|
35
|
+
import { i as Te } from "./echarts-BVht3HHb.js";
|
|
36
|
+
const He = { class: "mix-body" }, Ye = {
|
|
37
37
|
DEFAULT_ICON: Oe,
|
|
38
38
|
ACTIVE_ICON: Me,
|
|
39
39
|
NAME_CN: "历程管理",
|
|
40
40
|
NAME_EN: "Retainer2",
|
|
41
|
-
ORDER: 2
|
|
41
|
+
ORDER: 2,
|
|
42
|
+
PLATFORM: ["pc", "screen", "mobile"]
|
|
42
43
|
}, Ce = {
|
|
43
44
|
titleColor: "#111",
|
|
44
45
|
radiusSize: 8,
|
|
@@ -75,9 +76,9 @@ const Te = { class: "mix-body" }, Ye = {
|
|
|
75
76
|
theme: { type: String, default: "light" }
|
|
76
77
|
},
|
|
77
78
|
setup(y) {
|
|
78
|
-
const
|
|
79
|
+
const c = y, l = ue(null);
|
|
79
80
|
let v = null;
|
|
80
|
-
const b = me([]),
|
|
81
|
+
const b = me([]), T = (m) => b[m];
|
|
81
82
|
class j extends xe {
|
|
82
83
|
constructor() {
|
|
83
84
|
super(...arguments), this.subscribed = !1;
|
|
@@ -104,7 +105,7 @@ const Te = { class: "mix-body" }, Ye = {
|
|
|
104
105
|
return {
|
|
105
106
|
preview: () => q(this, null, function* () {
|
|
106
107
|
try {
|
|
107
|
-
const i = yield new (yield import("./history-
|
|
108
|
+
const i = yield new (yield import("./history-BZ869y2d.js")).default().getHistoryData(this.props, this.componentType);
|
|
108
109
|
this.setHistoryData(i);
|
|
109
110
|
} catch (e) {
|
|
110
111
|
console.error("[Retainer2] 获取历史数据失败:", e);
|
|
@@ -155,7 +156,7 @@ const Te = { class: "mix-body" }, Ye = {
|
|
|
155
156
|
(a) => this.resolveObjectId(n != null && n.multiObject ? a : void 0) === o
|
|
156
157
|
);
|
|
157
158
|
if (s === -1) return;
|
|
158
|
-
let r =
|
|
159
|
+
let r = T(s);
|
|
159
160
|
if (!r) {
|
|
160
161
|
const a = t[s];
|
|
161
162
|
r = {
|
|
@@ -182,7 +183,7 @@ const Te = { class: "mix-body" }, Ye = {
|
|
|
182
183
|
(d) => this.resolveObjectId(n != null && n.multiObject ? d : void 0) === o
|
|
183
184
|
);
|
|
184
185
|
if (s === -1) return;
|
|
185
|
-
const r =
|
|
186
|
+
const r = T(s);
|
|
186
187
|
if (!r) return;
|
|
187
188
|
const a = r.periods[r.periods.length - 1];
|
|
188
189
|
a && !a.end && (a.end = e.close_at || (/* @__PURE__ */ new Date()).toISOString()), _();
|
|
@@ -202,7 +203,7 @@ const Te = { class: "mix-body" }, Ye = {
|
|
|
202
203
|
try {
|
|
203
204
|
const f = (d = e.data) == null ? void 0 : d[a];
|
|
204
205
|
if (f !== void 0) {
|
|
205
|
-
const g =
|
|
206
|
+
const g = T(s);
|
|
206
207
|
if (g && g.showLine) {
|
|
207
208
|
const h = e.datetime || (/* @__PURE__ */ new Date()).toISOString();
|
|
208
209
|
g.lineData.push({ time: h, value: f }), g.lineData.sort(
|
|
@@ -249,7 +250,7 @@ const Te = { class: "mix-body" }, Ye = {
|
|
|
249
250
|
}
|
|
250
251
|
}
|
|
251
252
|
const L = () => {
|
|
252
|
-
const { data: m } =
|
|
253
|
+
const { data: m } = c.conf;
|
|
253
254
|
b.length = 0;
|
|
254
255
|
const e = O();
|
|
255
256
|
m.forEach((i, t) => {
|
|
@@ -284,9 +285,9 @@ const Te = { class: "mix-body" }, Ye = {
|
|
|
284
285
|
lineWidth: i.lineWidth || 2
|
|
285
286
|
});
|
|
286
287
|
});
|
|
287
|
-
}, w = new j(
|
|
288
|
+
}, w = new j(c, "retainer2");
|
|
288
289
|
w.setupLifecycle();
|
|
289
|
-
const D = w.getStyle(), k =
|
|
290
|
+
const D = w.getStyle(), k = c.conf, Z = pe(() => Le(c.conf.options)), V = () => b.filter((m) => m.showLine && m.lineData.length > 0), ee = () => {
|
|
290
291
|
const m = [], e = V();
|
|
291
292
|
let i = 1;
|
|
292
293
|
return e.forEach((t) => {
|
|
@@ -344,11 +345,11 @@ const Te = { class: "mix-body" }, Ye = {
|
|
|
344
345
|
});
|
|
345
346
|
}), { yAxes: t, lineCount: i };
|
|
346
347
|
}, z = () => {
|
|
347
|
-
|
|
348
|
+
l.value && (v = Te(l.value), _());
|
|
348
349
|
}, _ = () => {
|
|
349
350
|
var B;
|
|
350
351
|
if (!v) return;
|
|
351
|
-
const m = b.length || 1, e = ((B =
|
|
352
|
+
const m = b.length || 1, e = ((B = l.value) == null ? void 0 : B.clientHeight) || 300, i = 30, t = 10, n = e - i - t, o = D.value.barWidth || 30, s = D.value.barGap || 0, r = o + s, a = m * r;
|
|
352
353
|
let d = o, f = s, g = r;
|
|
353
354
|
if (a > n) {
|
|
354
355
|
const u = n / a;
|
|
@@ -465,21 +466,21 @@ const Te = { class: "mix-body" }, Ye = {
|
|
|
465
466
|
}, $ = () => {
|
|
466
467
|
v == null || v.resize();
|
|
467
468
|
};
|
|
468
|
-
let
|
|
469
|
+
let H = null;
|
|
469
470
|
return ge(() => {
|
|
470
|
-
|
|
471
|
-
v ? v.resize() :
|
|
472
|
-
}),
|
|
471
|
+
H = new ResizeObserver(() => {
|
|
472
|
+
v ? v.resize() : l.value && z();
|
|
473
|
+
}), l.value && H.observe(l.value), setTimeout(() => {
|
|
473
474
|
z();
|
|
474
475
|
}, 100), window.addEventListener("resize", $);
|
|
475
476
|
}), ye(() => {
|
|
476
|
-
window.removeEventListener("resize", $),
|
|
477
|
-
}), J(() =>
|
|
478
|
-
|
|
479
|
-
}, { deep: !0 }), J(() =>
|
|
477
|
+
window.removeEventListener("resize", $), H == null || H.disconnect(), v == null || v.dispose();
|
|
478
|
+
}), J(() => c.conf.data, () => {
|
|
479
|
+
c.mode === "edit" && L(), _();
|
|
480
|
+
}, { deep: !0 }), J(() => c.conf.options, () => {
|
|
480
481
|
D.value = w.extractStyles(), _();
|
|
481
482
|
}, { deep: !0 }), ve(() => {
|
|
482
|
-
|
|
483
|
+
c.conf.historyData && w.setHistoryData(c.conf.historyData), c.conf.socketData && w.setSocketData(c.conf.socketData);
|
|
483
484
|
}), (m, e) => (be(), we("div", {
|
|
484
485
|
class: "mix-component",
|
|
485
486
|
style: K({ background: E(D).bgColor, borderRadius: E(D).radiusSize + "px" })
|
|
@@ -488,17 +489,17 @@ const Te = { class: "mix-body" }, Ye = {
|
|
|
488
489
|
class: "mix-title",
|
|
489
490
|
style: K(Z.value)
|
|
490
491
|
}, De(E(k).caption || E(k).name), 5),
|
|
491
|
-
W("div",
|
|
492
|
+
W("div", He, [
|
|
492
493
|
W("div", {
|
|
493
494
|
class: "timeline-chart",
|
|
494
495
|
ref_key: "chartRef",
|
|
495
|
-
ref:
|
|
496
|
+
ref: l
|
|
496
497
|
}, null, 512)
|
|
497
498
|
]),
|
|
498
499
|
Se(m.$slots, "default", {}, void 0, !0)
|
|
499
500
|
], 4));
|
|
500
501
|
}
|
|
501
|
-
})), Ge = /* @__PURE__ */ _e(Ie, [["__scopeId", "data-v-
|
|
502
|
+
})), Ge = /* @__PURE__ */ _e(Ie, [["__scopeId", "data-v-9bf4a2c3"]]);
|
|
502
503
|
export {
|
|
503
504
|
Ge as default
|
|
504
505
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
var Ke = Object.defineProperty, He = Object.defineProperties;
|
|
2
|
-
var
|
|
2
|
+
var Pe = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var pe = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var _e = (
|
|
4
|
+
var Ie = Object.prototype.hasOwnProperty, Ye = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var _e = (f, m, _) => m in f ? Ke(f, m, { enumerable: !0, configurable: !0, writable: !0, value: _ }) : f[m] = _, oe = (f, m) => {
|
|
6
6
|
for (var _ in m || (m = {}))
|
|
7
|
-
|
|
7
|
+
Ie.call(m, _) && _e(f, _, m[_]);
|
|
8
8
|
if (pe)
|
|
9
9
|
for (var _ of pe(m))
|
|
10
|
-
Ye.call(m, _) && _e(
|
|
11
|
-
return
|
|
12
|
-
}, ie = (
|
|
13
|
-
var D = (
|
|
10
|
+
Ye.call(m, _) && _e(f, _, m[_]);
|
|
11
|
+
return f;
|
|
12
|
+
}, ie = (f, m) => He(f, Pe(m));
|
|
13
|
+
var D = (f, m, _) => new Promise((V, G) => {
|
|
14
14
|
var F = (E) => {
|
|
15
15
|
try {
|
|
16
16
|
L(_.next(E));
|
|
@@ -24,7 +24,7 @@ var D = (g, m, _) => new Promise((V, G) => {
|
|
|
24
24
|
G(N);
|
|
25
25
|
}
|
|
26
26
|
}, L = (E) => E.done ? V(E.value) : Promise.resolve(E.value).then(F, R);
|
|
27
|
-
L((_ = _.apply(
|
|
27
|
+
L((_ = _.apply(f, m)).next());
|
|
28
28
|
});
|
|
29
29
|
import { ElRadioGroup as Ue, ElRadioButton as $e, ElDatePicker as We, ElInput as qe, ElIcon as Je, ElSelect as Ge, ElOption as Qe, ElButton as Xe, ElTable as Ze, ElTableColumn as et, ElTag as tt, ElPagination as lt, ElDialog as at, ElAlert as ot, ElDescriptions as it, ElDescriptionsItem as nt, ElTimeline as st, ElTimelineItem as rt, ElLoadingDirective as ut } from "element-plus/es";
|
|
30
30
|
import "element-plus/es/components/base/style/css";
|
|
@@ -48,9 +48,10 @@ import "element-plus/es/components/date-picker/style/css";
|
|
|
48
48
|
import "element-plus/es/components/radio-group/style/css";
|
|
49
49
|
import "element-plus/es/components/radio-button/style/css";
|
|
50
50
|
import { defineComponent as ct, computed as ne, reactive as dt, ref as h, onMounted as bt, withDirectives as me, openBlock as b, createElementBlock as w, normalizeStyle as ve, unref as z, normalizeClass as pt, toDisplayString as p, createCommentVNode as T, createElementVNode as A, createVNode as i, withCtx as n, createTextVNode as c, createBlock as x, withKeys as _t, Fragment as O, renderList as se, renderSlot as mt } from "vue";
|
|
51
|
-
import {
|
|
52
|
-
import { u as
|
|
53
|
-
import {
|
|
51
|
+
import { d as Z, a as ee, _ as vt } from "./index-DwPJu6XM.js";
|
|
52
|
+
import { u as ft } from "./useTableBodyHeight-CwrQvi7M.js";
|
|
53
|
+
import { u as gt } from "./useMixiotPanelSurface-DRl3cZvc.js";
|
|
54
|
+
import { B as yt } from "./BaseComponent-CBagahPU.js";
|
|
54
55
|
import { g as ht } from "./titleStyle-BT5GlpAb.js";
|
|
55
56
|
import { ElMessage as M, ElMessageBox as kt } from "element-plus";
|
|
56
57
|
import { Search as wt } from "@element-plus/icons-vue";
|
|
@@ -64,7 +65,8 @@ const jt = { class: "mix-body" }, Ct = { class: "toolbar toolbar-status" }, Vt =
|
|
|
64
65
|
ACTIVE_ICON: xt,
|
|
65
66
|
NAME_CN: "历程记录",
|
|
66
67
|
NAME_EN: "RetainerRecordList",
|
|
67
|
-
ORDER: 7
|
|
68
|
+
ORDER: 7,
|
|
69
|
+
PLATFORM: ["pc", "screen"]
|
|
68
70
|
}, Dt = {
|
|
69
71
|
panelBgTone: {
|
|
70
72
|
value: "light",
|
|
@@ -100,7 +102,7 @@ const jt = { class: "mix-body" }, Ct = { class: "toolbar toolbar-status" }, Vt =
|
|
|
100
102
|
{ key: "statis_result", label: "统计结果", width: 120, visible: !0 },
|
|
101
103
|
{ key: "close_at", label: "结束时间", width: 170, visible: !0 }
|
|
102
104
|
]
|
|
103
|
-
},
|
|
105
|
+
}, fe = [
|
|
104
106
|
{
|
|
105
107
|
name: "历程记录",
|
|
106
108
|
fv: "",
|
|
@@ -169,7 +171,7 @@ const jt = { class: "mix-body" }, Ct = { class: "toolbar toolbar-status" }, Vt =
|
|
|
169
171
|
{ value: "customer_name", label: "setting.gridFields.customerName" },
|
|
170
172
|
{ value: "opened_at", label: "setting.gridFields.openedAt" }
|
|
171
173
|
]
|
|
172
|
-
}, Lt = { DEFAULT: Rt, OPTIONS: Dt, DATA:
|
|
174
|
+
}, Lt = { DEFAULT: Rt, OPTIONS: Dt, DATA: fe, PARAMS: At, SOURCE: Mt, COMMON: Ft }, Nt = /* @__PURE__ */ ct(ie(oe({}, Lt), {
|
|
173
175
|
__name: "retainerRecordList",
|
|
174
176
|
props: {
|
|
175
177
|
conf: { default: () => ({ data: [] }) },
|
|
@@ -178,12 +180,12 @@ const jt = { class: "mix-body" }, Ct = { class: "toolbar toolbar-status" }, Vt =
|
|
|
178
180
|
theme: {},
|
|
179
181
|
code: { default: "" }
|
|
180
182
|
},
|
|
181
|
-
setup(
|
|
183
|
+
setup(f) {
|
|
182
184
|
const m = {
|
|
183
185
|
ALERT: "报警",
|
|
184
186
|
FAULT: "故障",
|
|
185
187
|
OTHER: "其他"
|
|
186
|
-
}, _ = "YYYY-MM-DD HH:mm:ss", V =
|
|
188
|
+
}, _ = "YYYY-MM-DD HH:mm:ss", V = f;
|
|
187
189
|
class G extends yt {
|
|
188
190
|
getDataBool(e, o) {
|
|
189
191
|
var s, u;
|
|
@@ -209,7 +211,7 @@ const jt = { class: "mix-body" }, Ct = { class: "toolbar toolbar-status" }, Vt =
|
|
|
209
211
|
init() {
|
|
210
212
|
var e;
|
|
211
213
|
if (this.Style.value = this.extractStyles(), this.applyTheme(), !((e = this.props.conf.data) != null && e.length))
|
|
212
|
-
this.props.conf.data = JSON.parse(JSON.stringify(
|
|
214
|
+
this.props.conf.data = JSON.parse(JSON.stringify(fe));
|
|
213
215
|
else {
|
|
214
216
|
const o = this.props.conf.data[0];
|
|
215
217
|
o.showViewBtn === void 0 && (o.showViewBtn = !0), o.showExportBtn === void 0 && (o.showExportBtn = !0);
|
|
@@ -253,7 +255,7 @@ const jt = { class: "mix-body" }, Ct = { class: "toolbar toolbar-status" }, Vt =
|
|
|
253
255
|
}
|
|
254
256
|
const F = new G(V, "retainerRecordList");
|
|
255
257
|
F.setupLifecycle();
|
|
256
|
-
const R = F.getStyle(), { mixiotPanelClass: L, mixiotPanelRootStyle: E } = gt(R), { tableWrapRef: N, tableBodyHeight:
|
|
258
|
+
const R = F.getStyle(), { mixiotPanelClass: L, mixiotPanelRootStyle: E } = gt(R), { tableWrapRef: N, tableBodyHeight: ge } = ft(), ye = ne(() => ht(V.conf.options)), he = ne(() => {
|
|
257
259
|
var o, l, s, u;
|
|
258
260
|
const a = ((l = (o = V.conf) == null ? void 0 : o.options) == null ? void 0 : l.columns) || [], e = ((u = (s = V.conf) == null ? void 0 : s.data) == null ? void 0 : u[0]) || {};
|
|
259
261
|
return (Array.isArray(a) ? a : []).map((y) => {
|
|
@@ -269,12 +271,12 @@ const jt = { class: "mix-body" }, Ct = { class: "toolbar toolbar-status" }, Vt =
|
|
|
269
271
|
}), k = dt({ current: 1, pageSize: 20, total: 0 }), K = h("1"), H = h([
|
|
270
272
|
Z().subtract(1, "month").format(_),
|
|
271
273
|
Z().format(_)
|
|
272
|
-
]),
|
|
274
|
+
]), P = h(""), j = h("object_name"), I = h(null), Y = h(""), U = h([]), te = h(!1), le = h({});
|
|
273
275
|
function ke() {
|
|
274
276
|
k.current = 1, B();
|
|
275
277
|
}
|
|
276
278
|
function we() {
|
|
277
|
-
|
|
279
|
+
P.value = "", I.value = null, Y.value = "";
|
|
278
280
|
}
|
|
279
281
|
function re(a) {
|
|
280
282
|
var o;
|
|
@@ -328,7 +330,7 @@ const jt = { class: "mix-body" }, Ct = { class: "toolbar toolbar-status" }, Vt =
|
|
|
328
330
|
a.push(["created", ">=", l]), a.push(["created", "<=", s]);
|
|
329
331
|
}
|
|
330
332
|
if (j.value === "opened_at") {
|
|
331
|
-
const l =
|
|
333
|
+
const l = I.value;
|
|
332
334
|
if (l && l.length === 2 && l[0] && l[1]) {
|
|
333
335
|
const [s, u] = l[0] <= l[1] ? l : [l[1], l[0]];
|
|
334
336
|
a.push(["opened_at", ">=", s]), a.push(["opened_at", "<=", u]);
|
|
@@ -337,7 +339,7 @@ const jt = { class: "mix-body" }, Ct = { class: "toolbar toolbar-status" }, Vt =
|
|
|
337
339
|
const l = Y.value.trim();
|
|
338
340
|
l && a.push(["category", "=", l]);
|
|
339
341
|
} else {
|
|
340
|
-
const l =
|
|
342
|
+
const l = P.value.trim();
|
|
341
343
|
l && a.push([j.value, "like", `%${l}%`]);
|
|
342
344
|
}
|
|
343
345
|
St(V.conf.common, a);
|
|
@@ -380,7 +382,7 @@ const jt = { class: "mix-body" }, Ct = { class: "toolbar toolbar-status" }, Vt =
|
|
|
380
382
|
k.current = 1, B();
|
|
381
383
|
}
|
|
382
384
|
function Ce() {
|
|
383
|
-
|
|
385
|
+
P.value = "", I.value = null, Y.value = "", j.value = "object_name", K.value = "1", H.value = [
|
|
384
386
|
Z().subtract(1, "month").format(_),
|
|
385
387
|
Z().format(_)
|
|
386
388
|
], k.current = 1, B();
|
|
@@ -483,7 +485,7 @@ const jt = { class: "mix-body" }, Ct = { class: "toolbar toolbar-status" }, Vt =
|
|
|
483
485
|
key: 0,
|
|
484
486
|
class: "mix-title",
|
|
485
487
|
style: ve(ye.value)
|
|
486
|
-
}, p(
|
|
488
|
+
}, p(f.conf.caption || f.conf.name), 5)),
|
|
487
489
|
A("div", jt, [
|
|
488
490
|
A("div", Ct, [
|
|
489
491
|
i(l, {
|
|
@@ -529,8 +531,8 @@ const jt = { class: "mix-body" }, Ct = { class: "toolbar toolbar-status" }, Vt =
|
|
|
529
531
|
A("div", Vt, [
|
|
530
532
|
j.value !== "opened_at" && j.value !== "category" ? (b(), x(y, {
|
|
531
533
|
key: 0,
|
|
532
|
-
modelValue:
|
|
533
|
-
"onUpdate:modelValue": e[2] || (e[2] = (t) =>
|
|
534
|
+
modelValue: P.value,
|
|
535
|
+
"onUpdate:modelValue": e[2] || (e[2] = (t) => P.value = t),
|
|
534
536
|
placeholder: "输入关键字后搜索(与 mixui 历程记录检索字段一致)",
|
|
535
537
|
size: "small",
|
|
536
538
|
class: "toolbar-search",
|
|
@@ -547,8 +549,8 @@ const jt = { class: "mix-body" }, Ct = { class: "toolbar toolbar-status" }, Vt =
|
|
|
547
549
|
_: 1
|
|
548
550
|
}, 8, ["modelValue"])) : j.value === "opened_at" ? (b(), x(s, {
|
|
549
551
|
key: 1,
|
|
550
|
-
modelValue:
|
|
551
|
-
"onUpdate:modelValue": e[3] || (e[3] = (t) =>
|
|
552
|
+
modelValue: I.value,
|
|
553
|
+
"onUpdate:modelValue": e[3] || (e[3] = (t) => I.value = t),
|
|
552
554
|
type: "datetimerange",
|
|
553
555
|
"range-separator": "至",
|
|
554
556
|
"start-placeholder": "开始时间",
|
|
@@ -566,10 +568,10 @@ const jt = { class: "mix-body" }, Ct = { class: "toolbar toolbar-status" }, Vt =
|
|
|
566
568
|
clearable: ""
|
|
567
569
|
}, {
|
|
568
570
|
default: n(() => [
|
|
569
|
-
(b(), w(O, null, se(m, (t,
|
|
570
|
-
key:
|
|
571
|
+
(b(), w(O, null, se(m, (t, g) => i(r, {
|
|
572
|
+
key: g,
|
|
571
573
|
label: t,
|
|
572
|
-
value:
|
|
574
|
+
value: g
|
|
573
575
|
}, null, 8, ["label", "value"])), 64))
|
|
574
576
|
]),
|
|
575
577
|
_: 1
|
|
@@ -665,7 +667,7 @@ const jt = { class: "mix-body" }, Ct = { class: "toolbar toolbar-status" }, Vt =
|
|
|
665
667
|
border: "",
|
|
666
668
|
class: "yunuis-aprus-table",
|
|
667
669
|
style: { width: "100%" },
|
|
668
|
-
height: z(
|
|
670
|
+
height: z(ge)
|
|
669
671
|
}, {
|
|
670
672
|
default: n(() => [
|
|
671
673
|
(b(!0), w(O, null, se(he.value, (t) => (b(), w(O, {
|
|
@@ -678,23 +680,23 @@ const jt = { class: "mix-body" }, Ct = { class: "toolbar toolbar-status" }, Vt =
|
|
|
678
680
|
width: t.width,
|
|
679
681
|
"min-width": t.minWidth
|
|
680
682
|
}, {
|
|
681
|
-
default: n((
|
|
683
|
+
default: n((g) => {
|
|
682
684
|
var J, be;
|
|
683
685
|
return [
|
|
684
686
|
t.prop === "category" ? (b(), w(O, { key: 0 }, [
|
|
685
|
-
c(p(re(
|
|
687
|
+
c(p(re(g.row.category)), 1)
|
|
686
688
|
], 64)) : t.prop === "retained" ? (b(), x(q, {
|
|
687
689
|
key: 1,
|
|
688
|
-
type: Q(
|
|
690
|
+
type: Q(g.row) ? "success" : "info",
|
|
689
691
|
size: "small"
|
|
690
692
|
}, {
|
|
691
693
|
default: n(() => [
|
|
692
|
-
c(p(Q(
|
|
694
|
+
c(p(Q(g.row) ? "持续" : "已完结"), 1)
|
|
693
695
|
]),
|
|
694
696
|
_: 2
|
|
695
697
|
}, 1032, ["type"])) : t.prop === "label_cn" ? (b(), w(O, { key: 2 }, [
|
|
696
|
-
c(p(String((be = (J =
|
|
697
|
-
], 64)) : (b(), w("span", Bt, p(Se(
|
|
698
|
+
c(p(String((be = (J = g.row.label_local) != null ? J : g.row.label_cn) != null ? be : "")), 1)
|
|
699
|
+
], 64)) : (b(), w("span", Bt, p(Se(g.row, t.prop)), 1))
|
|
698
700
|
];
|
|
699
701
|
}),
|
|
700
702
|
_: 2
|
|
@@ -709,7 +711,7 @@ const jt = { class: "mix-body" }, Ct = { class: "toolbar toolbar-status" }, Vt =
|
|
|
709
711
|
default: n((t) => [
|
|
710
712
|
i(C, {
|
|
711
713
|
size: "small",
|
|
712
|
-
onClick: (
|
|
714
|
+
onClick: (g) => ze(t.row)
|
|
713
715
|
}, {
|
|
714
716
|
default: n(() => [...e[17] || (e[17] = [
|
|
715
717
|
c("详情", -1)
|
|
@@ -791,9 +793,9 @@ const jt = { class: "mix-body" }, Ct = { class: "toolbar toolbar-status" }, Vt =
|
|
|
791
793
|
}),
|
|
792
794
|
i(v, { label: "历程项(中文)" }, {
|
|
793
795
|
default: n(() => {
|
|
794
|
-
var t,
|
|
796
|
+
var t, g;
|
|
795
797
|
return [
|
|
796
|
-
c(p((
|
|
798
|
+
c(p((g = (t = d.value.label_local) != null ? t : d.value.label_cn) != null ? g : ""), 1)
|
|
797
799
|
];
|
|
798
800
|
}),
|
|
799
801
|
_: 1
|
|
@@ -926,10 +928,10 @@ const jt = { class: "mix-body" }, Ct = { class: "toolbar toolbar-status" }, Vt =
|
|
|
926
928
|
W.value.length ? (b(), w("div", Ot, "事件")) : T("", !0),
|
|
927
929
|
W.value.length ? (b(), x(Le, { key: 1 }, {
|
|
928
930
|
default: n(() => [
|
|
929
|
-
(b(!0), w(O, null, se(W.value, (t,
|
|
931
|
+
(b(!0), w(O, null, se(W.value, (t, g) => {
|
|
930
932
|
var J;
|
|
931
933
|
return b(), x(Fe, {
|
|
932
|
-
key:
|
|
934
|
+
key: g,
|
|
933
935
|
timestamp: String((J = t.datetime) != null ? J : "")
|
|
934
936
|
}, {
|
|
935
937
|
default: n(() => [
|
|
@@ -954,7 +956,7 @@ const jt = { class: "mix-body" }, Ct = { class: "toolbar toolbar-status" }, Vt =
|
|
|
954
956
|
]);
|
|
955
957
|
};
|
|
956
958
|
}
|
|
957
|
-
})), gl = /* @__PURE__ */ vt(Nt, [["__scopeId", "data-v-
|
|
959
|
+
})), gl = /* @__PURE__ */ vt(Nt, [["__scopeId", "data-v-9fd44d68"]]);
|
|
958
960
|
export {
|
|
959
961
|
gl as default
|
|
960
962
|
};
|