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

25
VApp/node_modules/vuetify/lib/composables/teleport.mjs generated vendored Normal file
View File

@ -0,0 +1,25 @@
// Utilities
import { computed, warn } from 'vue';
import { IN_BROWSER } from "../util/index.mjs"; // Types
export function useTeleport(target) {
const teleportTarget = computed(() => {
const _target = target.value;
if (_target === true || !IN_BROWSER) return undefined;
const targetElement = _target === false ? document.body : typeof _target === 'string' ? document.querySelector(_target) : _target;
if (targetElement == null) {
warn(`Unable to locate target ${_target}`);
return undefined;
}
let container = targetElement.querySelector(':scope > .v-overlay-container');
if (!container) {
container = document.createElement('div');
container.className = 'v-overlay-container';
targetElement.appendChild(container);
}
return container;
});
return {
teleportTarget
};
}
//# sourceMappingURL=teleport.mjs.map