Whatever ClearWindow needs to be in json
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 42s

This commit is contained in:
2026-04-26 22:57:29 +02:00
parent 475887420c
commit 2b07cc98a6
20 changed files with 509 additions and 59 deletions

View File

@@ -1,17 +1,14 @@
<script setup>
import { TransitionGroup } from 'vue'
import { Windows, ReloadRef, WindowMap, getComponent } from '@/services/Windows';
// Gestionem ventanas
const reload = ReloadRef();
const windows = Windows();
import { windows, getComponent } from '@/services/Windows';
</script>
<template>
<div class="window-container" :key="reload">
<TransitionGroup name="window">
<component v-for="win in windows" :is="getComponent(win.type)" :key="win.id" :data="win"></component>
<div class="window-container">
<TransitionGroup name="window" tag="div">
<div v-for="win in windows" :key="win.id">
<component :is="getComponent(win.type)" :data="win" />
</div>
</TransitionGroup>
</div>
</template>