import { useTextColor } from "./chunk-ZZ55KHRR.js"; import { makeThemeProps, provideTheme } from "./chunk-CYOEVGGH.js"; import { convertToUnit, genericComponent, makeComponentProps, propsFactory, useRender } from "./chunk-I4KGD5X4.js"; import { computed, createVNode, toRef } from "./chunk-PD2AWGJV.js"; // node_modules/vuetify/lib/components/VDivider/VDivider.mjs import "C:/Users/Jeremy/Documents/Dev/Projects.cloudsucks.net/Vulture/VApp/node_modules/vuetify/lib/components/VDivider/VDivider.css"; var makeVDividerProps = propsFactory({ color: String, inset: Boolean, length: [Number, String], thickness: [Number, String], vertical: Boolean, ...makeComponentProps(), ...makeThemeProps() }, "VDivider"); var VDivider = genericComponent()({ name: "VDivider", props: makeVDividerProps(), setup(props, _ref) { let { attrs } = _ref; const { themeClasses } = provideTheme(props); const { textColorClasses, textColorStyles } = useTextColor(toRef(props, "color")); const dividerStyles = computed(() => { const styles = {}; if (props.length) { styles[props.vertical ? "maxHeight" : "maxWidth"] = convertToUnit(props.length); } if (props.thickness) { styles[props.vertical ? "borderRightWidth" : "borderTopWidth"] = convertToUnit(props.thickness); } return styles; }); useRender(() => createVNode("hr", { "class": [{ "v-divider": true, "v-divider--inset": props.inset, "v-divider--vertical": props.vertical }, themeClasses.value, textColorClasses.value, props.class], "style": [dividerStyles.value, textColorStyles.value, props.style], "aria-orientation": !attrs.role || attrs.role === "separator" ? props.vertical ? "vertical" : "horizontal" : void 0, "role": `${attrs.role || "separator"}` }, null)); return {}; } }); export { VDivider }; //# sourceMappingURL=chunk-NUVQUA75.js.map