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