Tracking de l'application VApp (IHM du jeu)

This commit is contained in:
2025-05-11 18:04:12 +02:00
commit 89e9db9b62
17763 changed files with 3718499 additions and 0 deletions

20
VApp/node_modules/vuetify/lib/composables/lazy.mjs generated vendored Normal file
View File

@ -0,0 +1,20 @@
// Utilities
import { computed, shallowRef, watch } from 'vue';
import { propsFactory } from "../util/index.mjs"; // Types
export const makeLazyProps = propsFactory({
eager: Boolean
}, 'lazy');
export function useLazy(props, active) {
const isBooted = shallowRef(false);
const hasContent = computed(() => isBooted.value || props.eager || active.value);
watch(active, () => isBooted.value = true);
function onAfterLeave() {
if (!props.eager) isBooted.value = false;
}
return {
isBooted,
hasContent,
onAfterLeave
};
}
//# sourceMappingURL=lazy.mjs.map