{"version":3,"file":"Textarea.vue.cjs","sources":["../../../../src/components/shadcn/Textarea.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport type { HTMLAttributes } from \"vue\"\nimport { useVModel } from \"@vueuse/core\"\nimport { cn } from \"@/lib/utils\"\n\nconst props = defineProps<{\n  class?: HTMLAttributes[\"class\"]\n  defaultValue?: string | number\n  modelValue?: string | number\n}>()\n\nconst emits = defineEmits<{\n  (e: \"update:modelValue\", payload: string | number): void\n}>()\n\nconst modelValue = useVModel(props, \"modelValue\", emits, {\n  passive: true,\n  defaultValue: props.defaultValue,\n})\n</script>\n\n<template>\n  <textarea v-model=\"modelValue\" :class=\"cn('flex min-h-12 w-full rounded-sm border border-input bg-background px-2.5 py-1.5 text-xs ring-offset-background 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', props.class)\" />\n</template>\n"],"names":["props","__props","emits","__emit","modelValue","useVModel","_createElementBlock","$event","_normalizeClass","_unref","cn"],"mappings":"kUAKA,MAAMA,EAAQC,EAMRC,EAAQC,EAIRC,EAAaC,EAAAA,UAAUL,EAAO,aAAcE,EAAO,CACvD,QAAS,GACT,aAAcF,EAAM,YAAA,CACrB,+CAICM,EAAAA,mBAAkW,WAAA,iDAA/UF,EAAU,MAAAG,EAAA,MAAG,MAAKC,EAAAA,eAAEC,QAAAC,EAAAA,EAAA,EAAE,uSAAySV,EAAM,KAAK,CAAA,CAAA,0BAA1US,EAAAA,MAAAL,CAAA,CAAU,CAAA"}