import{d as c,c as a,n as u,t as l,q as r,o as n,a as i,e as p}from"./index-b7Iy0dz5.js";const g=c({__name:"StatusPill",props:{status:{},label:{}},setup(e){const t=e,s=r(()=>{switch(t.status){case"done":case"completed":case"ready":case"ready_pickup":case"closed":return"bg-status-ok/15 text-status-ok";case"in_progress":return"bg-status-info/15 text-status-info";case"awaiting_parts":case"on_hold":return"bg-status-warn/15 text-status-warn";case"skipped":case"cancelled":return"bg-ink-subtle/15 text-ink-subtle line-through";case"rework":return"bg-status-crit/15 text-status-crit";case"pending":case"open":return"bg-ink-subtle/15 text-ink-muted";default:return"bg-brand-500/15 text-brand-700"}}),o=r(()=>t.label??t.status.replace(/_/g," "));return(m,x)=>(n(),a("span",{class:u([s.value,"inline-flex items-center px-2 py-0.5 rounded-pill text-micro uppercase tracking-wide"])},l(o.value),3))}}),d={class:"flex flex-col items-center justify-center gap-3 py-12 text-ink-subtle"},b={key:0,class:"text-meta"},k=c({__name:"Spinner",props:{label:{}},setup(e){return(t,s)=>(n(),a("div",d,[s[0]||(s[0]=i("span",{class:"inline-block w-7 h-7 rounded-full border-2 border-brand-500/30 border-t-brand-600 animate-spin"},null,-1)),e.label?(n(),a("span",b,l(e.label),1)):p("",!0)]))}});export{k as _,g as a};
//# sourceMappingURL=Spinner.vue_vue_type_script_setup_true_lang-CM_j_vtu.js.map
