import{H as r,o as a,c as d,t as i,i as n,a as o,K as w,S as c,I as u}from"./index-Bb2UEb_P.js";const m={class:"tw-flex tw-flex-col md:tw-flex-row tw-items-center tw-text-sm tw-gap-4"},f={key:0,class:"tw-w-full md:tw-w-64"},p={class:"tw-w-full md:tw-flex-1"},x=["disabled","name","placeholder"],g={__name:"InputText",props:u({label:{type:String,default:""},name:{type:String,default:""},placeholder:{type:String,default:""},disabled:{type:Boolean,default:!1}},{modelValue:{type:String,default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=r(e,"modelValue");return(y,l)=>(a(),d("div",m,[e.label?(a(),d("div",f,i(e.label),1)):n("",!0),o("div",p,[w(o("input",{"onUpdate:modelValue":l[0]||(l[0]=s=>t.value=s),disabled:e.disabled,name:e.name,placeholder:e.placeholder,class:"tw-flex tw-justify-center tw-h-10 tw-px-3.5 tw-border tw-border-solid tw-border-gray-200 tw-rounded tw-text-gray-800 tw-placeholder-gray-300 tw-w-full"},null,8,x),[[c,t.value]])])]))}};export{g as _};
