{"version":3,"file":"Field.vue.cjs","sources":["../../../../src/components/shadcn/Field.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport type { HTMLAttributes } from \"vue\"\nimport { cn } from \"@/lib/utils\"\n\nconst props = defineProps<{\n  class?: HTMLAttributes[\"class\"]\n  orientation?: \"horizontal\" | \"vertical\" | \"responsive\"\n}>()\n</script>\n\n<template>\n  <div\n    role=\"group\"\n    data-slot=\"field\"\n    :data-orientation=\"orientation\"\n    :class=\"cn(\n      'space-y-2',\n      orientation === 'horizontal' ? 'grid grid-cols-[var(--label-w,8rem)_1fr] items-start gap-2' : '',\n      props.class,\n    )\"\n  >\n    <slot />\n  </div>\n</template>\n"],"names":["props","__props","_createElementBlock","_unref","cn","_renderSlot","_ctx"],"mappings":"wQAIA,MAAMA,EAAQC,8BAOZC,EAAAA,mBAWM,MAAA,CAVJ,KAAK,QACL,YAAU,QACT,mBAAkBD,EAAA,YAClB,uBAAOE,EAAAA,MAAAC,IAAA,cAA6BH,EAAA,cAAW,aAAA,6DAAA,GAA6FD,EAAM,KAAA,KAMnJK,aAAQC,EAAA,OAAA,SAAA,CAAA"}