import{b as e}from"./t-r-vendor-gn7FMrPE.js";const o=()=>({onConfirm:({header:o,body:r,confirmBtn:n="确认",cancelBtn:i="取消"})=>new Promise(((a,t)=>{let d=e({header:o,body:r,confirmBtn:n,cancelBtn:i,className:"ovo-tab-confirm__dialog",style:{padding:12,overflow:"visible",backgroundColor:"var(--theme-black7)",backdropFilter:"url(#filter) brightness(1.1)",boxShadow:"var(--shadow-elevation-medium)"},onConfirm:({e:e})=>{a(e),d.hide()},onClose:({e:e,trigger:o})=>{t({e:e,trigger:o}),d.hide()}})}))});export{o as u};
