import{F as e,G as t,L as n,V as r,Y as i,et as a,h as o,k as s,m as c,w as l,x as u}from"./app-hBFBSqPV.js";var d={class:`text-sm text-red-600 dark:text-red-400`},f=s({__name:`InputError`,props:{message:{}},setup(e){return(r,i)=>t((n(),l(`div`,null,[u(`p`,d,a(e.message),1)],512)),[[o,e.message]])}}),p=s({__name:`TextInput`,props:{modelValue:{required:!0},modelModifiers:{}},emits:[`update:modelValue`],setup(a,{expose:o}){let s=r(a,`modelValue`),u=i(null);return e(()=>{u.value?.hasAttribute(`autofocus`)&&u.value?.focus()}),o({focus:()=>u.value?.focus()}),(e,r)=>t((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":r[0]||=e=>s.value=e,ref_key:`input`,ref:u},null,512)),[[c,s.value]])}});export{f as n,p as t};