import{ao as l,f as a,c as n,o as u,t as c,a5 as p}from"./index-CmCGXBst.js";const w={__name:"StatusBadge",props:{status:{type:String,default:""},statusTable:{type:String,default:""}},setup(o){const e=o,s=l(),t=a(()=>s?.data.Statuses?.[e.statusTable]?.[e.status]),r=a(()=>({color:`#${t.value?.Color||"#000000"}`,"background-color":`#${t.value?.Color||"#000000"}1A`,"border-color":`#${t.value?.Color||"#000000"}`}));return(d,i)=>(u(),n("span",{class:"tw-text-nowrap tw-text-2xs tw-font-bold tw-uppercase tw-py-0.5 tw-px-2 tw-border-2 tw-rounded-full tw-pointer",style:p(r.value)},c(t.value?.Name||o.status),5))}};export{w as _};
