import{r as e,o}from"./vue.esm.01cc5dc9.js";import{n as l}from"./plugin-vue2_normalizer.ed7092a9.js";const r={__name:"ModalDialog",props:["id","title"],emits:["closed"],setup(a,{emit:t}){const s=e(null);return o(()=>{$(s.value).on("hidden.bs.modal",()=>{t("closed")})}),{__sfc:!0,emit:t,root:s}}};var n=function(){var t=this,s=t._self._c;return t._self._setupProxy,s("div",{ref:"root",staticClass:"modal fade",attrs:{id:t.id,role:"dialog",tabindex:"-1","aria-hidden":"true"}},[s("div",{staticClass:"modal-dialog",attrs:{role:"document"}},[s("div",{staticClass:"modal-content"},[s("div",{staticClass:"modal-header"},[s("h4",{staticClass:"modal-title"},[t._v(t._s(t.title))]),t._m(0)]),t._t("default")],2)])])},i=[function(){var a=this,t=a._self._c;return a._self._setupProxy,t("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-label":"Close"}},[t("span",{attrs:{"aria-hidden":"true"}},[a._v("\xD7")])])}],d=l(r,n,i,!1,null,null,null,null);const u=d.exports;export{u as M};
