import{D as u,w as r,v as d,u as t,o as m,c as f,j as c,n as p}from"./app-a39c937f.js";import{u as g}from"./index-b056380f.js";import{c as b}from"./utils-836e31d3.js";const x=["maxLength"],k=u({__name:"Input",props:{defaultValue:{},modelValue:{},maxLength:{},class:{}},emits:["update:modelValue"],setup(l,{emit:a}){const e=l,s=g(e,"modelValue",a,{passive:!0,defaultValue:e.defaultValue});return(n,o)=>r((m(),f("input",{"onUpdate:modelValue":o[0]||(o[0]=i=>c(s)?s.value=i:null),maxLength:n.maxLength,class:p(t(b)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e.class??""))},null,10,x)),[[d,t(s)]])}});export{k as default};
