import{_ as c}from"./ChCYGtok.js";import{_ as d}from"./4FMzYxPj.js";import{d as m,b as l,w as _,o as p,e as o,f as e,g as r,H as v}from"./JQJBiNWj.js";const u={class:"base-grid"},g={class:"col-span-12 lg:col-span-3"},f={class:"col-span-12 lg:col-span-3"},b={class:"col-span-12 lg:col-span-3"},D=m({__name:"DadosIntervencao",props:{monitoracao:{}},setup(I){const t=v();function s(a){return a==="S"?"Sim":a==="N"?"Não":""}return(a,M)=>{const n=c,i=d;return p(),l(i,{title:"Intervenção"},{default:_(()=>[o("div",u,[o("div",g,[e(n,{id:"tipo_elemento_intervencaoProgramada",label:"Intervenção programada:",value:s(a.monitoracao.intervencaoProgramada),disabled:""},null,8,["value"])]),o("div",f,[e(n,{id:"intervencao-dataProgramada",label:"Data programada intervenção:",value:a.monitoracao&&a.monitoracao.datProgramadaIntervencao?r(t)(a.monitoracao.datProgramadaIntervencao).format("DD/MM/YYYY"):"","read-only":"",disabled:""},null,8,["value"])]),o("div",b,[e(n,{id:"intervencao-dataMaxima",label:"Data máxima da intervenção:",value:a.monitoracao&&a.monitoracao.datMaximaIntervencao?r(t)(a.monitoracao.datMaximaIntervencao).format("DD/MM/YYYY"):"","read-only":"",disabled:""},null,8,["value"])])])]),_:1})}}}),y=Object.assign(D,{__name:"AtivosMonitoracoesDadosIntervencao"});export{y as _};
