import{c as t}from"./registry-DyIszw9-.js";import{d as r,aT as o,W as n,aF as c,u as l,b3 as m,U as p,a2 as d,bh as i}from"./vendor-reka-Edfq1EPl.js";const g=r({__name:"FormItem",props:{class:{}},setup(e){const a=e;return(s,u)=>(o(),n("div",{class:c(l(t)("space-y-2",a.class))},[m(s.$slots,"default")],2))}}),$=r({__name:"FormLabel",props:{class:{},error:{type:Boolean}},setup(e){const a=e;return(s,u)=>(o(),n("label",{class:c(l(t)("text-sm font-medium leading-none",e.error&&"text-destructive",a.class))},[m(s.$slots,"default")],2))}}),b=r({__name:"FormMessage",props:{class:{},message:{}},setup(e){const a=e;return(s,u)=>e.message||s.$slots.default?(o(),n("p",{key:0,class:c(l(t)("text-destructive text-sm font-medium",a.class))},[m(s.$slots,"default",{},()=>[d(i(e.message),1)])],2)):p("",!0)}});export{g as _,$ as a,b};
