import{am as r,g as o,o as u,c as n,t as c,n as l,B as p}from"./index-Bb2UEb_P.js";import{g as i}from"./common-U_VzDrmL.js";const w={__name:"StatusBadge",props:{status:{type:String,default:""},statusTable:{type:String,default:""}},setup(t){const s=t,e=r(),a=o(()=>e?.data.Statuses?.[s.statusTable]?.[s.status]);return(f,g)=>(u(),n("span",{class:l(["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-cursor-pointer",p(i)(t.status,{bg:!0,border:!0,text:!0})])},c(a.value?.Name||t.status),3))}};export{w as _};
