import{Z as e,l as t,s as n,t as r,u as i,x as a}from"./_plugin-vue_export-helper-CCRG-STz.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(),i(`div`,s,[n(`div`,c,[n(`h2`,null,e(l.title),1),n(`p`,null,e(l.message),1),n(`button`,{onClick:o[0]||=(...e)=>f.closeDialog&&f.closeDialog(...e)},`OK`)])])):t(``,!0)}var u=r(o,[[`render`,l],[`__scopeId`,`data-v-7743bdb5`]]);export{u as default};
//# sourceMappingURL=DialogComponent-BB67UImD.js.map