43 lines
874 B
JavaScript
43 lines
874 B
JavaScript
import {
|
|
propsFactory
|
|
} from "./chunk-I4KGD5X4.js";
|
|
import {
|
|
Transition,
|
|
h,
|
|
mergeProps
|
|
} from "./chunk-PD2AWGJV.js";
|
|
|
|
// node_modules/vuetify/lib/composables/transition.mjs
|
|
var makeTransitionProps = propsFactory({
|
|
transition: {
|
|
type: [Boolean, String, Object],
|
|
default: "fade-transition",
|
|
validator: (val) => val !== true
|
|
}
|
|
}, "transition");
|
|
var MaybeTransition = (props, _ref) => {
|
|
let {
|
|
slots
|
|
} = _ref;
|
|
const {
|
|
transition,
|
|
disabled,
|
|
...rest
|
|
} = props;
|
|
const {
|
|
component = Transition,
|
|
...customProps
|
|
} = typeof transition === "object" ? transition : {};
|
|
return h(component, mergeProps(typeof transition === "string" ? {
|
|
name: disabled ? "" : transition
|
|
} : customProps, rest, {
|
|
disabled
|
|
}), slots);
|
|
};
|
|
|
|
export {
|
|
makeTransitionProps,
|
|
MaybeTransition
|
|
};
|
|
//# sourceMappingURL=chunk-XRWT7YWI.js.map
|