import{B as s}from"./Button3.js";import{r as i,o as l,c,b as r,h as u,f as d,_ as m}from"./index.js";const f={class:"modal-mobile-buttons"};function b(o,t,e,C,y,B){const n=i("Button");return l(),c("div",f,[r(n,{class:"modal-mobile-buttons__button",type:e.confirmButtonColorType,text:e.confirmText,isDisabled:e.isConfirmDisabled,onClick:t[0]||(t[0]=a=>o.$emit("confirm"))},null,8,["type","text","isDisabled"]),e.isConfirmationOnly?d("",!0):(l(),u(n,{key:0,class:"modal-mobile-buttons__button",type:e.cancelButtonColorType,text:e.cancelText,isDisabled:e.isCancelDisabled,onClick:t[1]||(t[1]=a=>o.$emit("cancel"))},null,8,["type","text","isDisabled"]))])}const _={props:{isConfirmationOnly:{default:!1},cancelText:{default:"отмена"},confirmText:{default:"подтвердить"},confirmButtonColorType:{default:"white"},cancelButtonColorType:{default:"transparent"},isConfirmDisabled:{default:!1},isCancelDisabled:{default:!1}},components:{Button:s}},D=m(_,[["render",b]]);export{D as M};
