import{a3 as p}from"./index-CsCqMgta.js";import{M as d,E as m,R as V,U as a,V as o,Z as f,Y as s,X as v,W as C,O as _}from"./vendor-CsGITfgk.js";const h="neutral",B=d({__name:"quote-status",props:{status:{},displayValue:{},icon:{},truncate:{type:Boolean,default:!0}},setup(n){const u=n,{themeContext:c}=p(),r=c.value?.settings?.quote_statuses||[],e=m(()=>r.find(t=>u.status===t.code));return(t,y)=>{const l=a("VcChip"),i=a("VcTooltip");return _(),V(i,{class:"quote-status"},{trigger:o(()=>[v(l,{variant:e.value?.variant,icon:t.icon??e.value?.icon,color:e.value?.color||h,truncate:t.truncate,rounded:""},{default:o(()=>[C("span",null,s(t.displayValue||t.status),1)]),_:1},8,["variant","icon","color","truncate"])]),content:o(()=>[f(s(t.displayValue||t.status),1)]),_:1})}}});export{B as _};
//# sourceMappingURL=quote-status.vue_vue_type_style_index_0_lang-C1KH7wMq.js.map
