import{$ as e,B as t,I as n,J as r,O as i,P as a,W as o,h as s,m as c,w as l,x as u}from"./app-DR8RqL6E.js";var d={class:`text-sm text-red-600 dark:text-red-400`},f=i({__name:`InputError`,props:{message:{}},setup(t){return(r,i)=>o((n(),l(`div`,null,[u(`p`,d,e(t.message),1)],512)),[[s,t.message]])}}),p=i({__name:`TextInput`,props:{modelValue:{required:!0},modelModifiers:{}},emits:[`update:modelValue`],setup(e,{expose:i}){let s=t(e,`modelValue`),u=r(null);return a(()=>{u.value?.hasAttribute(`autofocus`)&&u.value?.focus()}),i({focus:()=>u.value?.focus()}),(e,t)=>o((n(),l(`input`,{class:`rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 dark:border-gray-700 dark:bg-gray-900 dark:text-gray-300 dark:focus:border-indigo-600 dark:focus:ring-indigo-600`,"onUpdate:modelValue":t[0]||=e=>s.value=e,ref_key:`input`,ref:u},null,512)),[[c,s.value]])}});export{f as n,p as t};