import{O as i}from"./index-CRze-aDK.js";import{C as d,q as m,N as C,K as _,E as f,O as v,S as h,R as V}from"./vendor-BGtMsOoo.js";const x="neutral",k=d({__name:"order-status",props:{status:{},displayValue:{}},setup(n){var s,o;const c=n,{themeContext:u}=i(),l=((o=(s=u.value)==null?void 0:s.settings)==null?void 0:o.orders_statuses)||[],e=m(()=>l.find(t=>c.status===t.code));return(t,y)=>{var a,r;const p=C("VcChip");return f(),_(p,{variant:(a=e.value)==null?void 0:a.variant,color:((r=e.value)==null?void 0:r.color)||x,truncate:"",rounded:""},{default:v(()=>[h(V(t.displayValue||t.status),1)]),_:1},8,["variant","color"])}}});export{k as _};
//# sourceMappingURL=order-status.vue_vue_type_script_setup_true_lang-OOyamImL.js.map
