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