import{S as e}from"./common-utils-RDWuRZ1M.js";import{_ as s}from"./BtnClose-8jXpWY6_.js";import{U as t,G as o,o as c,b as a,h as l,t as n,E as r,q as i,I as m,x as p,P as d}from"./vendor-jA_NIjzi.js";import{_ as f}from"./common-store-kFD1YPwN.js";const u={class:"recharge-daily-popup"},v={class:"btnDiv"},x={class:"close-btn"},_=f({__name:"index",props:{title:{type:String,default:"",required:!1},cancelText:{type:String,default:""},cancelProps:Object,confirmText:{type:String,default:""},confirmProps:Object},emits:["close"],setup(f,{emit:_}){const{t:b}=t(),j=f,P=o((()=>j.cancelText?j.cancelText:b("取消"))),T=o((()=>j.confirmText?j.confirmText:b("确认"))),y=_;return(t,o)=>{const _=e;return c(),a("div",u,[l("h1",null,n(j.title),1),r(t.$slots,"default",{},void 0,!0),l("div",v,[i(_,d({class:"btn",type:"cancel"},f.cancelProps,{onClick:o[0]||(o[0]=e=>y("close","close"))}),{default:m((()=>[p(n(P.value),1)])),_:1},16),i(_,d({class:"btn"},f.confirmProps,{onClick:o[1]||(o[1]=e=>y("close","confirm"))}),{default:m((()=>[p(n(T.value),1)])),_:1},16)]),l("div",x,[i(s,{onClick:o[2]||(o[2]=e=>y("close","close"))})])])}}},[["__scopeId","data-v-a2e5623e"],["__file","index.vue"]]);export{_ as P};
