import{S as s,bJ as i,bK as a,bL as p,bN as c,bM as u,i as d,h as l,aa as g,K as f}from"./B-H2XC6_.js";const m=s({name:"QPageContainer",setup(h,{slots:n}){const{proxy:{$q:r}}=f(),e=i(p,a);if(e===a)return console.error("QPageContainer needs to be child of QLayout"),a;c(u,!0);const o=d(()=>{const t={};return e.header.space===!0&&(t.paddingTop=`${e.header.size}px`),e.right.space===!0&&(t[`padding${r.lang.rtl===!0?"Left":"Right"}`]=`${e.right.size}px`),e.footer.space===!0&&(t.paddingBottom=`${e.footer.size}px`),e.left.space===!0&&(t[`padding${r.lang.rtl===!0?"Right":"Left"}`]=`${e.left.size}px`),t});return()=>l("div",{class:"q-page-container",style:o.value},g(n.default))}});export{m as _};
