Files
routie/frontend/node_modules/.vite/deps/elevation-B0TH2wU6.js
T

18 lines
696 B
JavaScript

import { Qn as toRef, Rn as isRef } from "./vue.runtime.esm-bundler-BvoXUmaf.js";
import { l as propsFactory } from "./defineComponent-DB6xIcDy.js";
//#region node_modules/vuetify/lib/composables/elevation.js
var makeElevationProps = propsFactory({ elevation: {
type: [Number, String],
validator: (value) => parseInt(value) >= 0
} }, "elevation");
function useElevation(props) {
return { elevationClasses: toRef(() => {
const elevation = isRef(props) ? props.value : props.elevation;
if (elevation == null) return [];
return [`elevation-${parseInt(elevation)}`];
}) };
}
//#endregion
export { useElevation as n, makeElevationProps as t };
//# sourceMappingURL=elevation-B0TH2wU6.js.map