import{a2 as d}from"./index-Db0iSsz5.js";import{F as m,m as p,P as s,_ as V,R as f,a1 as a,a2 as v,a0 as n,X as C,T as h}from"./vendor-3e8OGtgt.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=p(()=>l.find(o=>c.status===o.code));return(o,y)=>{const r=s("VcChip"),i=s("VcTooltip");return f(),V(i,{class:"quote-status"},{trigger:a(()=>[C(r,{variant:e.value?.variant,icon:t.icon??e.value?.icon,color:e.value?.color||x,truncate:t.truncate,rounded:""},{default:a(()=>[h("span",null,n(t.displayValue||t.status),1)]),_:1},8,["variant","icon","color","truncate"])]),content:a(()=>[v(n(t.displayValue||t.status),1)]),_:1})}}});export{q as _};
//# sourceMappingURL=quote-status.vue_vue_type_style_index_0_lang-DPfgBSOM.js.map
