import { useLayout } from "./chunk-CTAMZJJN.js"; import { makeDimensionProps, useDimension } from "./chunk-4E7YEL5Q.js"; import "./chunk-P6FAB7CJ.js"; import { makeTagProps } from "./chunk-JH5IUXR2.js"; import { genericComponent, makeComponentProps, propsFactory, useRender } from "./chunk-ADPJOAU6.js"; import { createBaseVNode, createVNode, normalizeClass, normalizeStyle, onMounted, readonly, shallowRef, toRef } from "./chunk-FIAHBV72.js"; import "./chunk-DC5AMYBS.js"; // node_modules/vuetify/lib/components/VMain/VMain.js import "/Users/JasonJFraser/Desktop/apps/cmms/frontend/node_modules/vuetify/lib/components/VMain/VMain.css"; // node_modules/vuetify/lib/composables/ssrBoot.js function useSsrBoot() { const isBooted = shallowRef(false); onMounted(() => { window.requestAnimationFrame(() => { isBooted.value = true; }); }); const ssrBootStyles = toRef(() => !isBooted.value ? { transition: "none !important" } : void 0); return { ssrBootStyles, isBooted: readonly(isBooted) }; } // node_modules/vuetify/lib/components/VMain/VMain.js var makeVMainProps = propsFactory({ scrollable: Boolean, ...makeComponentProps(), ...makeDimensionProps(), ...makeTagProps({ tag: "main" }) }, "VMain"); var VMain = genericComponent()({ name: "VMain", props: makeVMainProps(), setup(props, _ref) { let { slots } = _ref; const { dimensionStyles } = useDimension(props); const { mainStyles } = useLayout(); const { ssrBootStyles } = useSsrBoot(); useRender(() => createVNode(props.tag, { "class": normalizeClass(["v-main", { "v-main--scrollable": props.scrollable }, props.class]), "style": normalizeStyle([mainStyles.value, ssrBootStyles.value, dimensionStyles.value, props.style]) }, { default: () => { var _a, _b; return [props.scrollable ? createBaseVNode("div", { "class": "v-main__scroller" }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]) : (_b = slots.default) == null ? void 0 : _b.call(slots)]; } })); return {}; } }); export { VMain }; //# sourceMappingURL=vuetify_components_VMain.js.map