import{_ as c}from"./CWr_imfF.js";import{a as l,b as f}from"./CWHHmK0V.js";import{d as p,N as d,u as _,k as b,a as r,E as u,e as h,g as m,b as i,a2 as k,F as g,o as e}from"./dVzHJMF1.js";const w={key:0,class:"sticky bottom-2 flex justify-end","data-footer-page-buttons":""},M={"data-footer-page-buttons":"",class:"flex flex-wrap gap-3 -mx-4 -mb-4 p-4 sm:sticky sm:bottom-0 bg-white border-t items-center justify-between"},y=p({__name:"FooterPageButtons",props:d({showMenu:{type:Boolean,default:!1}},{"refresh-menu":{},"refresh-menuModifiers":{}}),emits:["update:refresh-menu"],setup(o){const a=l(f).smaller("sm"),t=_(o,"refresh-menu");return b(()=>[o.showMenu],()=>{t.value=new Date().getTime()}),(s,v)=>{const n=c;return e(),r(g,null,[m(a)&&s.showMenu?(e(),r("div",w,[(e(),i(n,{key:t.value,top:!0}))])):u("",!0),h("div",M,[!m(a)&&s.showMenu?(e(),i(n,{key:t.value})):u("",!0),k(s.$slots,"default")])],64)}}}),N=Object.assign(y,{__name:"UiFooterPageButtons"});export{N as _};
