Tracking de l'application VApp (IHM du jeu)
This commit is contained in:
30
VApp/node_modules/vuetify/lib/composables/transition.mjs
generated
vendored
Normal file
30
VApp/node_modules/vuetify/lib/composables/transition.mjs
generated
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
// Utilities
|
||||
import { h, mergeProps, Transition } from 'vue';
|
||||
import { propsFactory } from "../util/index.mjs"; // Types
|
||||
export const makeTransitionProps = propsFactory({
|
||||
transition: {
|
||||
type: [Boolean, String, Object],
|
||||
default: 'fade-transition',
|
||||
validator: val => val !== true
|
||||
}
|
||||
}, 'transition');
|
||||
export const 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);
|
||||
};
|
||||
//# sourceMappingURL=transition.mjs.map
|
Reference in New Issue
Block a user