From 43b615ac3e0951d0600c346da74504b0a2d9f30d Mon Sep 17 00:00:00 2001 From: Matthieu Date: Mon, 29 Sep 2025 15:05:54 +0200 Subject: [PATCH] feat: reorganize machine skeleton pages --- app/app.vue | 165 ++-- .../ComponentModelStructureEditor.vue | 107 +-- .../StructureSubComponentEditor.vue | 511 ++---------- app/components/TypeComponentForm.vue | 739 ------------------ app/middleware/profile.global.ts | 27 +- app/pages/component-catalog.vue | 17 +- .../index.vue} | 2 +- .../new.vue} | 0 8 files changed, 187 insertions(+), 1381 deletions(-) delete mode 100644 app/components/TypeComponentForm.vue rename app/pages/{machine-skeleton.vue => machine-skeleton/index.vue} (98%) rename app/pages/{generator.vue => machine-skeleton/new.vue} (100%) diff --git a/app/app.vue b/app/app.vue index 75368ea..cb30e86 100644 --- a/app/app.vue +++ b/app/app.vue @@ -125,7 +125,7 @@ class="rounded-md px-2 py-1 transition-colors cursor-pointer" :class=" isActive('/component-catalog') || - isActive('/component-category') + isActive('/component-category') ? 'bg-primary text-primary-content font-semibold shadow-sm' : 'text-base-content hover:bg-primary/10 hover:text-primary' " @@ -178,8 +178,8 @@ class="rounded-md px-2 py-1 transition-colors cursor-pointer" :class=" isActive('/sites') || - isActive('/documents') || - isActive('/constructeurs') + isActive('/documents') || + isActive('/constructeurs') ? 'bg-primary text-primary-content font-semibold shadow-sm' : 'text-base-content hover:bg-primary/10 hover:text-primary' " @@ -241,10 +241,7 @@