import{d as n,_ as i,B as u,C as d,o as c,k as m,z as p}from"./app-DZcRemIr.js";import{c as f}from"./index-CA0zsXLm.js";import{b as _}from"./SiifIconBC3-DYQKLzWx.js";const b=n({__name:"Textarea",props:{class:{type:[Boolean,null,String,Object,Array],required:!1,skipCheck:!0},defaultValue:{type:[String,Number],required:!1},modelValue:{type:[String,Number],required:!1},maxlength:{type:[Number,String],required:!1}},emits:["update:modelValue"],setup(s,{expose:r,emit:a}){r();const e=s,o=a,l=_(e,"modelValue",o,{passive:!0,defaultValue:e.defaultValue}),t={props:e,emits:o,modelValue:l,get cn(){return f}};return Object.defineProperty(t,"__isScriptSetup",{enumerable:!1,value:!0}),t}}),g=["maxlength"];function x(s,r,a,e,o,l){return u((c(),m("textarea",{"onUpdate:modelValue":r[0]||(r[0]=t=>e.modelValue=t),maxlength:a.maxlength,class:p(e.cn("flex min-h-20 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-ring focus-visible:ring-offset-0 disabled:cursor-not-allowed disabled:opacity-50",e.props.class))},null,10,g)),[[d,e.modelValue]])}const y=i(b,[["render",x],["__file","/var/www/resources/js/components/ui/textarea/Textarea.vue"]]);export{y as T};
