import{_ as i,o as a,c as s,a as o,t as d,w as c,F as u,q as b}from"./app-583c7dce.js";const _={key:0,class:"dropdown"},w=["href","id"],m=["aria-labelledby"],f={class:"card card-body shadow-none"},h={class:"card-title py-1 pb-1"},y={class:"note-details mb-3"},p=["innerHTML"],v={class:"d-flex justify-content-end"},D=["href","aria-controls"],g={__name:"NoteColumn",props:{rowData:{type:Object,required:!0}},setup(e){const l=e,r=()=>{let t=document.querySelector(`ul[aria-labelledby='#note${l.rowData.id}']`);t==null||t.classList.remove("show")};return(t,n)=>(a(),s("div",null,[e.rowData.note?(a(),s("div",_,[o("a",{href:`#note${e.rowData.id}`,class:"mx-2 dropdown-toggle",role:"button",id:`#note${e.rowData.id}`,"data-bs-toggle":"dropdown","data-bs-auto-close":"outside","aria-expanded":"false"},n[0]||(n[0]=[o("i",{class:"bi bi-journal-bookmark-fill fs-5 brand-color"},null,-1)]),8,w),o("ul",{class:"dropdown-menu dropdown-menu-end noteContainer py-0 custom-scrollbar","aria-labelledby":`#note${e.rowData.id}`,onClick:c(()=>!1,["stop"])},[o("div",f,[o("div",h,d(t.$t("note")),1),o("div",y,[o("span",{innerHTML:e.rowData.note},null,8,p)]),o("div",v,[o("button",{onClick:r,class:"btn btn-primary","data-bs-toggle":"collapse",href:`#note${e.rowData.id}`,role:"button","aria-expanded":"false","aria-controls":`note${e.rowData.id}`},d(t.$t("close")),9,D)])])],8,m)])):(a(),s(u,{key:1},[b(" - ")],64))]))}},$=i(g,[["__scopeId","data-v-6d1d00ca"]]);export{$ as N};
