1import{an as p,ao as l,ar as i,as as t,cq as g,cA as d,i as c,ap as f,av as h,ay as m}from"./BzxC8KJp.js";const x=p({name:"QPage",props:{padding:Boolean,styleFn:Function},setup(r,{slots:s}){const{proxy:{$q:a}}=l(),e=i(g,t);if(e===t)return console.error("QPage needs to be a deep child of QLayout"),t;if(i(d,t)===t)return console.error("QPage needs to be child of QPageContainer"),t;const n=c(()=>{const o=(e.header.space===!0?e.header.size:0)+(e.footer.space===!0?e.footer.size:0);if(typeof r.styleFn=="function"){const $=e.isContainer.value===!0?e.containerHeight.value:a.screen.height;return r.styleFn(o,$)}return{minHeight:e.isContainer.value===!0?e.containerHeight.value-o+"px":a.screen.height===0?o!==0?`calc(100vh - ${o}px)`:"100vh":a.screen.height-o+"px"}}),y=c(()=>`q-page${r.padding===!0?" q-layout-padding":""}`);return()=>f("main",{class:y.value,style:n.value},h(s.default))}}),C=p({name:"QPageContainer",setup(r,{slots:s}){const{proxy:{$q:a}}=l(),e=i(g,t);if(e===t)return console.error("QPageContainer needs to be child of QLayout"),t;m(d,!0);const u=c(()=>{const n={};return e.header.space===!0&&(n.paddingTop=`${e.header.size}px`),e.right.space===!0&&(n[`padding${a.lang.rtl===!0?"Left":"Right"}`]=`${e.right.size}px`),e.footer.space===!0&&(n.paddingBottom=`${e.footer.size}px`),e.left.space===!0&&(n[`padding${a.lang.rtl===!0?"Right":"Left"}`]=`${e.left.size}px`),n});return()=>f("div",{class:"q-page-container",style:u.value},h(s.default))}});
1export{C as _,x as a};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.