Major overhaul to the theme and now functioning.
This commit is contained in:
+53
@@ -0,0 +1,53 @@
|
||||
import {
|
||||
isObject,
|
||||
onlyDefinedProps,
|
||||
propsFactory
|
||||
} from "./chunk-LZ5T2ERG.js";
|
||||
import {
|
||||
Transition,
|
||||
TransitionGroup,
|
||||
h,
|
||||
mergeProps
|
||||
} from "./chunk-2MKFL3BX.js";
|
||||
|
||||
// node_modules/vuetify/lib/composables/transition.js
|
||||
var makeTransitionProps = propsFactory({
|
||||
transition: {
|
||||
type: null,
|
||||
default: "fade-transition",
|
||||
validator: (val) => val !== true
|
||||
}
|
||||
}, "transition");
|
||||
var MaybeTransition = (props, _ref) => {
|
||||
let {
|
||||
slots
|
||||
} = _ref;
|
||||
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);
|
||||
};
|
||||
|
||||
export {
|
||||
makeTransitionProps,
|
||||
MaybeTransition
|
||||
};
|
||||
//# sourceMappingURL=chunk-CAGZXMOS.js.map
|
||||
Reference in New Issue
Block a user