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