import{d as r,bS as h,aT as c,Q as i,bK as u,b3 as n,aG as B,aj as P,aD as f,u as a,c3 as $,W as m,aF as _,c4 as g,c5 as w,c6 as y}from"./vendor-reka-Edfq1EPl.js";import{c as p,r as x}from"./registry-DyIszw9-.js";const F=r({__name:"Dialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(e,{emit:s}){const l=h(e,s);return(d,C)=>(c(),i(a($),f({"data-slot":"dialog"},a(l)),{default:u(D=>[n(d.$slots,"default",B(P(D)))]),_:3},16))}}),k=r({__name:"DialogHeader",props:{class:{}},setup(e){const s=e;return(o,t)=>(c(),m("div",{"data-slot":"dialog-header",class:_(a(p)("flex flex-col gap-2 text-center sm:text-left",s.class))},[n(o.$slots,"default")],2))}}),T=r({__name:"DialogFooter",props:{class:{},showCloseButton:{type:Boolean,default:!1}},setup(e){const s=e;return(o,t)=>(c(),m("div",{"data-slot":"dialog-footer",class:_(a(p)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",s.class))},[n(o.$slots,"default")],2))}}),j=r({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(e){const s=e,o=x(s,"class"),t=g(o);return(l,d)=>(c(),i(a(w),f({"data-slot":"dialog-title"},a(t),{class:a(p)("text-lg leading-none font-semibold",s.class)}),{default:u(()=>[n(l.$slots,"default")]),_:3},16,["class"]))}}),z=r({__name:"DialogDescription",props:{asChild:{type:Boolean},as:{},class:{}},setup(e){const s=e,o=x(s,"class"),t=g(o);return(l,d)=>(c(),i(a(y),f({"data-slot":"dialog-description"},a(t),{class:a(p)("text-muted-foreground text-sm",s.class)}),{default:u(()=>[n(l.$slots,"default")]),_:3},16,["class"]))}});export{k as _,j as a,z as b,T as c,F as d};
