import{r as d,ac as r,n as i,aa as m}from"./index.ef672c15.js";import{d as u,i as f,o as s,a as n,f as o,e as l}from"./index.477073af.js";const x={class:"flex items-center space-x-3"},h={key:0,class:"border-theme-300 text-theme-400 inline-flex w-6 items-center justify-end border-r pr-3 text-right text-xs font-bold"},b={class:"text-theme-700"},g=u({__name:"InputElTab",props:{label:{type:[String,Number],default:""},icon:{type:String,default:""},prefix:{type:[String,Number],default:""},selected:{type:Boolean,default:!1}},setup(e){const c=e,t=d();return f(()=>c.selected,a=>{a&&(t.value=a,setTimeout(()=>{t.value=""},1e3))}),(a,p)=>(s(),n("div",{class:i(["text-input-size hover:bg-theme-200 hover:border-theme-400 text-theme-700 max-w-input flex cursor-move items-center justify-between rounded-md border px-2 py-1",[m(t)?"notify-selected":"",e.selected?"border-theme-400 bg-theme-200":"border-theme-300 bg-theme-100 "]])},[o("div",x,[e.prefix?(s(),n("div",h,r(e.prefix),1)):l("v-if",!0),o("div",b,r(e.label||"No Label"),1)]),e.icon?(s(),n("div",{key:0,class:i(["text-theme-400",e.icon])},null,2)):l("v-if",!0)],2))}});export{g as _};
