Vulture/VApp/node_modules/.vite/deps/chunk-XJDRWBAV.js

35 lines
826 B
JavaScript
Raw Normal View History

import {
getCurrentInstanceName,
propsFactory
} from "./chunk-I4KGD5X4.js";
import {
computed
} from "./chunk-PD2AWGJV.js";
// node_modules/vuetify/lib/composables/position.mjs
var positionValues = ["static", "relative", "fixed", "absolute", "sticky"];
var makePositionProps = propsFactory({
position: {
type: String,
validator: (
/* istanbul ignore next */
(v) => positionValues.includes(v)
)
}
}, "position");
function usePosition(props) {
let name = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : getCurrentInstanceName();
const positionClasses = computed(() => {
return props.position ? `${name}--${props.position}` : void 0;
});
return {
positionClasses
};
}
export {
makePositionProps,
usePosition
};
//# sourceMappingURL=chunk-XJDRWBAV.js.map