import{_ as c,c as n,w as a,a as e,Y as s,$ as o,K as r,aj as g,a2 as h,a3 as d,Z as _,a4 as k,o as C}from"./app-Cox3Klmm.js";const f={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()}}},u={class:"text-h5 dialog-title"},m=["innerHTML"];function p(t,b,i,w,x,l){return C(),n(k,{ref:"dialog",onHide:l.onDialogHide},{default:a(()=>[e(_,{class:"q-dialog-plugin delete-dialog-card"},{default:a(()=>[e(s,{class:"delete-dialog-header"},{default:a(()=>[o("div",u,r(i.title),1),e(g,{class:"dialog-separator"})]),_:1}),e(s,{class:"delete-dialog-content"},{default:a(()=>[o("div",{class:"text-body2 dialog-message",innerHTML:i.message},null,8,m)]),_:1}),e(h,{align:"right",class:"delete-dialog-actions"},{default:a(()=>[e(d,{class:"delete-ok-btn","text-color":"white",label:t.$t("general.ok"),onClick:l.onOKClick},null,8,["label","onClick"]),e(d,{class:"delete-cancel-btn","text-color":"white",label:t.$t("general.cancel"),onClick:l.onCancelClick},null,8,["label","onClick"])]),_:1})]),_:1})]),_:1},8,["onHide"])}const H=c(f,[["render",p],["__scopeId","data-v-90d1dda5"]]);export{H as B};
