import{o as e,a as t,f as o,w as s,u as a,r as n,h as l,e as d,k as i,P as p}from"./vendor-edc0678f.js";import{_ as r,b as u}from"./index-4c745ab9.js";const h={key:0,class:"popupHeader"},y={key:1,class:"popupContent"},c=r({__name:"public",props:{show:{type:Boolean,default:!1},showHeader:{type:Boolean,default:!0},round:{type:Boolean,default:!0},close:{type:Boolean,default:!0},direction:{type:String,default:"center"},height:{type:String,default:""},width:{type:String,default:""},empty:{type:Boolean,default:!0}},emits:["handelClose"],setup(r,{emit:c}){let m=r,f=c;const w=()=>{f("handelClose",!1)};return(c,f)=>{const v=u,C=p;return e(),t("div",null,[o(C,{show:a(m).show,"onUpdate:show":f[0]||(f[0]=e=>a(m).show=e),round:a(m).round,position:a(m).direction,onClickOverlay:w,style:i({height:a(m).height,width:a(m).width})},{default:s(()=>[a(m).showHeader?(e(),t("div",h,[n(c.$slots,"titleCustomize",{},void 0,!0),a(m).close?(e(),l(v,{key:0,class:"closeSvg",name:"guanbi",onClick:w})):d("",!0)])):d("",!0),r.empty?(e(),t("div",y,[n(c.$slots,"contentCustomize",{},void 0,!0)])):d("",!0),r.empty?d("",!0):n(c.$slots,"emptyContentCustomize",{key:2},void 0,!0)]),_:3},8,["show","round","position","style"])])}}},[["__scopeId","data-v-fa6eda2d"]]);export{c as P};
