import{a8 as d}from"./index-ID5VX6TZ.js";import{F as m,P as s,_ as p,R as V,a1 as a,a2 as f,a0 as n,X as v,T as C,m as h}from"./vendor-D8NNcBCx.js";const x="neutral",q=m({__name:"quote-status",props:{status:{},displayValue:{},icon:{},truncate:{type:Boolean,default:!0}},setup(t){const c=t,{themeContext:u}=d(),l=u.value?.settings?.quote_statuses||[],e=h(()=>l.find(o=>c.status===o.code));return(o,y)=>{const r=s("VcChip"),i=s("VcTooltip");return V(),p(i,{class:"quote-status"},{trigger:a(()=>[v(r,{variant:e.value?.variant,icon:t.icon??e.value?.icon,color:e.value?.color||x,truncate:t.truncate,rounded:""},{default:a(()=>[C("span",null,n(t.displayValue||t.status),1)]),_:1},8,["variant","icon","color","truncate"])]),content:a(()=>[f(n(t.displayValue||t.status),1)]),_:1})}}});export{q as _};
//# sourceMappingURL=quote-status.vue_vue_type_style_index_0_lang-lE9AY3BJ.js.map
