import{c as t,o as e,h as n,w as a,a as o,e as l,r as s,u,B as c,ab as i}from"./vendor-edc0678f.js";const r=["innerHTML"],d={__name:"index",props:{value:{type:Boolean,default:!1},title:{type:String,default:""},content:{type:String,default:""}},emits:["update:value","confirmBtn","cancelBtn"],setup(d,{emit:p}){const f=p,m=d,v=t(()=>m.value),B=()=>{f("update:value",!1),f("confirmBtn")},h=()=>{f("update:value",!1),f("cancelBtn")};return(t,d)=>{const p=i;return e(),n(p,{show:u(v),"onUpdate:show":d[0]||(d[0]=t=>c(v)?v.value=t:null),title:m.title,"show-cancel-button":"",onCancel:h,onConfirm:B},{default:a(()=>[m.content?(e(),o("div",{key:0,class:"dialog-content",innerHTML:m.content},null,8,r)):l("",!0),s(t.$slots,"content")]),_:3},8,["show","title"])}}};export{d as _};
