import{_ as s,c as n,w as e,a,Y as l,$ as r,a2 as d,a3 as c,Z as h,a4 as g,o as _}from"./app-Cox3Klmm.js";const m={props:{title:String,message:String},emits:["ok","hide"],methods:{show(){this.$refs.dialog.show()},hide(){this.$refs.dialog.hide()},onDialogHide(){this.$emit("hide")},onOKClick(){this.$emit("ok"),this.hide()},onCancelClick(){this.hide()}}},f=["innerHTML"];function u(o,k,t,C,p,i){return _(),n(g,{ref:"dialog",onHide:i.onDialogHide},{default:e(()=>[a(h,{class:"q-dialog-plugin bg-secondary text-main"},{default:e(()=>[a(l,null,{default:e(()=>[r("div",{class:"text-body2",innerHTML:t.message},null,8,f)]),_:1}),a(d,{align:"center"},{default:e(()=>[a(c,{"text-color":"main",color:"primary",label:o.$t("general.ok"),onClick:i.onOKClick},null,8,["label","onClick"])]),_:1})]),_:1})]),_:1},8,["onHide"])}const x=s(m,[["render",u]]);export{x as B};
