import{c as e,ct as t,d as n,t as r,u as i,w as a}from"./_plugin-vue_export-helper-Conii5fq.js";var o={name:`DialogComponent`,props:{title:{type:String,required:!0},message:{type:String,required:!0},modelValue:{type:Boolean,default:!1}},methods:{closeDialog(){this.$emit(`update:modelValue`,!1),this.$emit(`close`)}}},s={key:0,class:`dialog-overlay`},c={class:`dialog`};function l(r,o,l,u,d,f){return l.modelValue?(a(),n(`div`,s,[e(`div`,c,[e(`h2`,null,t(l.title),1),e(`p`,null,t(l.message),1),e(`button`,{onClick:o[0]||=(...e)=>f.closeDialog&&f.closeDialog(...e)},`OK`)])])):i(``,!0)}var u=r(o,[[`render`,l],[`__scopeId`,`data-v-7743bdb5`]]);export{u as default};
//# sourceMappingURL=DialogComponent-Xljax2a4.js.map