import{a as t,t as u,G as c,o as s,K as d,r as m,B as p,i as l,l as _,C as f,f as g}from"./app-DtilF0jd.js";const v={class:"block text-sm font-medium text-gray-700"},x={key:0},h={key:1},S={__name:"InputLabel",props:{value:{type:String}},setup(e){return(a,o)=>(s(),t("label",v,[e.value?(s(),t("span",x,u(e.value),1)):(s(),t("span",h,[c(a.$slots,"default")]))]))}},V={__name:"TextInput",props:{modelValue:{type:String,required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(e,{expose:a}){const o=d(e,"modelValue"),n=m(null);return p(()=>{n.value.hasAttribute("autofocus")&&n.value.focus()}),a({focus:()=>n.value.focus()}),(b,r)=>l((s(),t("input",{class:"rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500","onUpdate:modelValue":r[0]||(r[0]=i=>o.value=i),ref_key:"input",ref:n},null,512)),[[_,o.value]])}},y={class:"text-sm text-red-600"},B={__name:"InputError",props:{message:{type:String}},setup(e){return(a,o)=>l((s(),t("div",null,[g("p",y,u(e.message),1)],512)),[[f,e.message]])}};export{S as _,B as a,V as b};
