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