import{_ as u}from"./index-96Zm5C3V.js";import{a as d}from"./vendor-ui-CtgKUmUR.js";import{d as i,y as m,A as o,k as p,B as h}from"./vendor-vue-CcL5gLKJ.js";const _={class:"relative w-full"},f={class:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3"},v=["value","placeholder"],y=i({__name:"SearchInput",props:{modelValue:{},placeholder:{default:"Search..."},debounceMs:{default:300}},emits:["update:modelValue","search"],setup(t,{emit:l}){const n=t,s=l,c=d(e=>{s("search",e)},n.debounceMs),r=e=>{const a=e.target.value;s("update:modelValue",a),c(a)};return(e,a)=>(h(),m("div",_,[o("div",f,[p(u,{name:"search",size:"md",class:"text-gray-400"})]),o("input",{value:t.modelValue,type:"text",class:"input pl-10",placeholder:t.placeholder,onInput:r},null,40,v)]))}});export{y as _};
