From 9cbc5f94c3d2e4661b7da1e041100b076fda6964 Mon Sep 17 00:00:00 2001 From: josedario87 Date: Sat, 18 Oct 2025 02:12:22 -0600 Subject: [PATCH] Fix: Eliminar componentes duplicados que causaban conflicto en el build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Eliminar CataResumenMuestra.vue y CataFormularioMuestra.vue duplicados - Usar componentes existentes en components/cata/ que ya se auto-registran como CataResumenMuestra y CataFormularioMuestra - Resolver conflicto de nombres en Nuxt que impedía el build --- nuxt4/app.config.ts | 43 ++ .../app/components/CataFormularioMuestra.vue | 447 ------------------ nuxt4/app/components/CataResumenMuestra.vue | 132 ------ nuxt4/app/components/cata/UserInfo.vue | 78 ++- nuxt4/app/pages/index.vue.backup-20251018 | 12 + 5 files changed, 121 insertions(+), 591 deletions(-) delete mode 100644 nuxt4/app/components/CataFormularioMuestra.vue delete mode 100644 nuxt4/app/components/CataResumenMuestra.vue create mode 100644 nuxt4/app/pages/index.vue.backup-20251018 diff --git a/nuxt4/app.config.ts b/nuxt4/app.config.ts index 36f618e..593d55f 100644 --- a/nuxt4/app.config.ts +++ b/nuxt4/app.config.ts @@ -161,5 +161,48 @@ export default defineAppConfig({ root: 'bg-transparent border border-primary/50 dark:border-primary focus:ring-2 focus:ring-primary dark:font-mono', }, }, + + // Notifications (Toast): Estilo outline con los colores de la app + notification: { + slots: { + root: 'bg-transparent border-2 border-primary/50 dark:border-primary backdrop-blur-sm', + wrapper: 'w-full', + title: 'text-foreground font-semibold dark:font-mono dark:text-shadow', + description: 'text-foreground/80 dark:font-mono dark:font-light', + icon: 'shrink-0', + avatar: 'shrink-0', + actions: 'flex gap-1.5 shrink-0', + close: 'shrink-0', + progress: 'absolute inset-x-0 bottom-0 h-1 z-10', + }, + variants: { + color: { + primary: { + root: 'dark:shadow-[0_0_12px_rgba(0,255,0,0.3)]', + progress: 'bg-primary', + }, + success: { + root: 'border-green-500/50 dark:border-green-500 dark:shadow-[0_0_12px_rgba(0,255,0,0.3)]', + progress: 'bg-green-500', + }, + error: { + root: 'border-red-500/50 dark:border-red-500 dark:shadow-[0_0_12px_rgba(255,0,0,0.3)]', + progress: 'bg-red-500', + }, + warning: { + root: 'border-yellow-500/50 dark:border-yellow-500 dark:shadow-[0_0_12px_rgba(255,255,0,0.3)]', + progress: 'bg-yellow-500', + }, + info: { + root: 'border-blue-500/50 dark:border-blue-500 dark:shadow-[0_0_12px_rgba(0,150,255,0.3)]', + progress: 'bg-blue-500', + }, + neutral: { + root: 'dark:shadow-[0_0_12px_rgba(100,100,100,0.3)]', + progress: 'bg-gray-500', + }, + }, + }, + }, }, }) diff --git a/nuxt4/app/components/CataFormularioMuestra.vue b/nuxt4/app/components/CataFormularioMuestra.vue deleted file mode 100644 index e8c2257..0000000 --- a/nuxt4/app/components/CataFormularioMuestra.vue +++ /dev/null @@ -1,447 +0,0 @@ -