23 lines
727 B
JavaScript
23 lines
727 B
JavaScript
import { Qn as toRef } from "./vue.runtime.esm-bundler-BvoXUmaf.js";
|
|
import { c as getCurrentInstanceName, l as propsFactory } from "./defineComponent-DB6xIcDy.js";
|
|
//#region node_modules/vuetify/lib/composables/position.js
|
|
var positionValues = [
|
|
"static",
|
|
"relative",
|
|
"fixed",
|
|
"absolute",
|
|
"sticky"
|
|
];
|
|
var makePositionProps = propsFactory({ position: {
|
|
type: String,
|
|
validator: (v) => positionValues.includes(v)
|
|
} }, "position");
|
|
function usePosition(props, name = getCurrentInstanceName()) {
|
|
return { positionClasses: toRef(() => {
|
|
return props.position ? `${name}--${props.position}` : void 0;
|
|
}) };
|
|
}
|
|
//#endregion
|
|
export { usePosition as n, makePositionProps as t };
|
|
|
|
//# sourceMappingURL=position-BCUsnxVO.js.map
|