import{d as s,k as l,o as n,e as d}from"./app-WJL2kJBE.js";const c=["value"],p={__name:"Input",props:{modelValue:String},emits:["update:modelValue"],setup(o,{expose:a}){const e=s(null);return l(()=>{e.value.hasAttribute("autofocus")&&e.value.focus()}),a({focus:()=>e.value.focus()}),(r,u)=>(n(),d("input",{ref_key:"input",ref:e,class:"border-gray-300 dark:border-gray-700 focus:border-blue-300 focus:ring focus:ring-blue-200 focus:ring-opacity-50 rounded-md shadow-sm dark:bg-gray-800",value:o.modelValue,onInput:u[0]||(u[0]=t=>r.$emit("update:modelValue",t.target.value))},null,40,c))}};export{p as _};
