From 44c4727588269bddd69138c3a0b489a23240dd23 Mon Sep 17 00:00:00 2001 From: josedario87 Date: Thu, 16 Oct 2025 23:12:46 -0600 Subject: [PATCH] =?UTF-8?q?Feature:=20Formulario=20de=20edici=C3=B3n=20en?= =?UTF-8?q?=20lugar=20de=20modal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Crear componente UserProfileForm con diseño glassmorphism - Alternar entre lista de apps y formulario de edición - Quitar modal de UserHeader, usar emit event - Agregar nuevos campos deshabilitados: * Avatar URL * Teléfono * Cédula * Fecha de nacimiento * NFC vinculada * PIN numérico * Código Nucleo V2 - Sistema de eventos entre componentes --- nuxt4/app/app.vue | 13 +- nuxt4/app/components/UserHeader.vue | 126 +-------- nuxt4/app/components/UserProfileForm.vue | 325 +++++++++++++++++++++++ 3 files changed, 338 insertions(+), 126 deletions(-) create mode 100644 nuxt4/app/components/UserProfileForm.vue diff --git a/nuxt4/app/app.vue b/nuxt4/app/app.vue index 2c575ff..1b35262 100644 --- a/nuxt4/app/app.vue +++ b/nuxt4/app/app.vue @@ -11,10 +11,14 @@
- + - - + + +
@@ -45,6 +49,9 @@ const { isAuthenticated } = useAuthentik() const { isNight } = useTheme() +// Estado para mostrar formulario de edición +const showProfileForm = ref(false) + // Configurar meta tags para PWA useHead({ link: [ diff --git a/nuxt4/app/components/UserHeader.vue b/nuxt4/app/components/UserHeader.vue index cc04330..b50be3b 100644 --- a/nuxt4/app/components/UserHeader.vue +++ b/nuxt4/app/components/UserHeader.vue @@ -17,7 +17,7 @@ + +