import{S as s,bp as i,bq as a,br as p,bu as u,bs as c,i as d,h as l,bt as g,K as f}from"./DanvutyK.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;u(c,!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 _};
