Files
routie/frontend/node_modules/.vite/deps/VSheet-CLHX3uIJ.js
T

64 lines
2.5 KiB
JavaScript

import { ar as normalizeClass, et as createVNode, sr as normalizeStyle } from "./vue.runtime.esm-bundler-BvoXUmaf.js";
import { l as propsFactory, n as genericComponent } from "./defineComponent-DB6xIcDy.js";
import { t as makeComponentProps } from "./component-DdiwBe6i.js";
import { t as useRender } from "./useRender-fVtVsZgv.js";
import { t as useBackgroundColor } from "./color-B6vuQruj.js";
import { i as provideTheme, r as makeThemeProps } from "./theme-Cx5kFg0-.js";
import { t as makeTagProps } from "./tag-C_KkCPzB.js";
import { n as useDimension, t as makeDimensionProps } from "./dimensions-BDdmuRdK.js";
import { n as useRounded, t as makeRoundedProps } from "./rounded-BuPGKRa9.js";
import { n as useBorder, t as makeBorderProps } from "./border-jCmRyoxP.js";
import { n as useElevation, t as makeElevationProps } from "./elevation-B0TH2wU6.js";
import { n as useLocation, t as makeLocationProps } from "./location-BIKTnDF4.js";
import { n as usePosition, t as makePositionProps } from "./position-BCUsnxVO.js";
import "/Users/thackmaster/Development/routie2/frontend/node_modules/vuetify/lib/components/VSheet/VSheet.css";
//#region node_modules/vuetify/lib/components/VSheet/VSheet.js
var makeVSheetProps = propsFactory({
color: String,
...makeBorderProps(),
...makeComponentProps(),
...makeDimensionProps(),
...makeElevationProps(),
...makeLocationProps(),
...makePositionProps(),
...makeRoundedProps(),
...makeTagProps(),
...makeThemeProps()
}, "VSheet");
var VSheet = genericComponent()({
name: "VSheet",
props: makeVSheetProps(),
setup(props, { slots }) {
const { themeClasses } = provideTheme(props);
const { backgroundColorClasses, backgroundColorStyles } = useBackgroundColor(() => props.color);
const { borderClasses } = useBorder(props);
const { dimensionStyles } = useDimension(props);
const { elevationClasses } = useElevation(props);
const { locationStyles } = useLocation(props);
const { positionClasses } = usePosition(props);
const { roundedClasses } = useRounded(props);
useRender(() => createVNode(props.tag, {
"class": normalizeClass([
"v-sheet",
themeClasses.value,
backgroundColorClasses.value,
borderClasses.value,
elevationClasses.value,
positionClasses.value,
roundedClasses.value,
props.class
]),
"style": normalizeStyle([
backgroundColorStyles.value,
dimensionStyles.value,
locationStyles.value,
props.style
])
}, slots));
return {};
}
});
//#endregion
export { VSheet as t };
//# sourceMappingURL=VSheet-CLHX3uIJ.js.map