import{e as n,a as o,b as c,t as s,o as a,_ as t}from"./index-D8tPjwDN.js";const i={class:"loading-overlay"},e={class:"confirm-dialog"},f={class:"dialog-title"},l={class:"title"},r={class:"dialog-content"},m={class:"message"},d={class:"button-group"},p=t(n({__name:"ConfirmModal",props:{confirmInfo:{type:Object,default:()=>{}},onCancel:{type:Function},onConfirm:{type:Function}},setup(n){const t=n,p=()=>{t.confirmInfo.onCancel&&t.confirmInfo.onCancel()},u=()=>{t.confirmInfo.onConfirm&&t.confirmInfo.onConfirm()};return(t,I)=>(a(),o("div",i,[c("div",e,[c("div",f,[c("span",l,s(n.confirmInfo.title),1)]),c("div",r,[c("p",m,s(n.confirmInfo.message),1)]),c("div",d,[c("button",{class:"cancel-button",onClick:p},s(n.confirmInfo.cancelText),1),c("button",{class:"confirm-button",onClick:u},s(n.confirmInfo.confirmText),1)])])]))}}),[["__scopeId","data-v-813415c8"]]);export{p as _};
