File: /home/dmstechonline/whatsapp.dmstech.online/public/build/assets/Input-bc4b1928.js
import{D as u,w as r,v as d,u as t,o as m,c as f,l as c,n as p}from"./app-884e4ce3.js";import{u as g}from"./index-9d0d8b85.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};