import { Dt as mergeProps, n as Transition, pt as h, r as TransitionGroup } from "./vue.runtime.esm-bundler-BvoXUmaf.js";
import { I as isObject, U as onlyDefinedProps, l as propsFactory } from "./defineComponent-DB6xIcDy.js";
//#region node_modules/vuetify/lib/composables/transition.js
var makeTransitionProps = propsFactory({ transition: {
	type: null,
	default: "fade-transition",
	validator: (val) => val !== true
} }, "transition");
var MaybeTransition = (props, { slots }) => {
	const { transition, disabled, group, ...rest } = props;
	const { component = group ? TransitionGroup : Transition, ...customProps } = isObject(transition) ? transition : {};
	let transitionProps;
	if (isObject(transition)) transitionProps = mergeProps(customProps, onlyDefinedProps({
		disabled,
		group
	}), rest);
	else transitionProps = mergeProps({ name: disabled || !transition ? "" : transition }, rest);
	return h(component, transitionProps, slots);
};
//#endregion
export { makeTransitionProps as n, MaybeTransition as t };

//# sourceMappingURL=transition-DqoZ8fA1.js.map