import{_ as i}from"./Modal-B9NNWAdE.js";import{o as d,c as n,w as r,a as e,r as o}from"./app-WJL2kJBE.js";const h={class:"px-6 py-4"},m={class:"text-lg font-bold"},f={class:"mt-4"},_={class:"flex flex-row justify-end px-6 py-4 gap-4 bg-gray-100 dark:bg-gray-900 text-right"},u={__name:"DialogModal",props:{show:{type:Boolean,default:!1},maxWidth:{type:String,default:"2xl"},closeable:{type:Boolean,default:!0}},emits:["close"],setup(t,{emit:a}){const l=a,c=()=>{l("close")};return(s,p)=>(d(),n(i,{show:t.show,"max-width":t.maxWidth,closeable:t.closeable,onClose:c},{default:r(()=>[e("div",h,[e("div",m,[o(s.$slots,"title")]),e("div",f,[o(s.$slots,"content")])]),e("div",_,[o(s.$slots,"footer")])]),_:3},8,["show","max-width","closeable"]))}};export{u as _};
