import{_ as u}from"./index-BxIwIJfy.js";import{b as s,c,d as t,t as o,G as n,y as d}from"./vue-core-Di3IuVqe.js";const g={class:"block"},m={__name:"NumeroChip",props:{value:{type:[String,Number],default:null},label:{type:String,default:"Numéro"},color:{type:String,default:"indigo"},height:{type:Number,default:32},width:{type:String,default:"auto"}},setup(e){const r=e,a={indigo:{bg:"#eef2ff",text:"#3730a3"},blue:{bg:"var(--omag-100)",text:"var(--omag-700)"},green:{bg:"#dcfce7",text:"#15803d"},amber:{bg:"#fef3c7",text:"#92400e"},rose:{bg:"#ffe4e6",text:"#9f1239"},slate:{bg:"#f1f5f9",text:"#334155"}},l=d(()=>a[r.color]||a.indigo);return(f,i)=>(s(),c("div",{class:"mb-2 numero-chip-wrap",style:n({paddingRight:"1rem",width:e.width,maxWidth:"100%"})},[t("label",g,o(e.label),1),t("div",{class:"numero-chip",style:n({background:l.value.bg,color:l.value.text,height:e.height+"px"})},[i[0]||(i[0]=t("i",{class:"pi pi-hashtag"},null,-1)),t("span",null,o(e.value!==null&&e.value!==void 0&&e.value!==""?e.value:"—"),1)],4)],4))}},p=u(m,[["__scopeId","data-v-864872ce"]]);export{p as N};
