From 6d79c710a28694086754066fd67f9eebcc3e9240 Mon Sep 17 00:00:00 2001 From: Denis Lugowski Date: Sun, 2 Nov 2025 18:46:46 +0100 Subject: [PATCH] feat(#9): Nuxt 4 migration --- legalconsenthub/{ => app}/app.config.ts | 0 legalconsenthub/{ => app}/app.vue | 0 legalconsenthub/{ => app}/assets/css/main.css | 0 .../{ => app}/components/DeleteModal.vue | 2 +- .../{ => app}/components/FormEngine.vue | 3 +- .../components/NotificationsSlideover.vue | 2 +- .../components/ServerConnectionOverlay.vue | 0 .../{ => app}/components/TheComment.vue | 3 +- .../{ => app}/components/UserMenu.vue | 2 +- .../formelements/FormElementLayer.vue | 2 +- .../components/formelements/TheCheckbox.vue | 2 +- .../components/formelements/TheInput.vue | 2 +- .../components/formelements/TheRadioGroup.vue | 2 +- .../components/formelements/TheSelect.vue | 2 +- .../components/formelements/TheSwitch.vue | 2 +- .../formelements/TheTitleBodyInput.vue | 2 +- .../components/formelements/Unimplemented.vue | 0 .../applicationForm/useApplicationForm.ts | 2 +- .../applicationForm/useApplicationFormApi.ts | 2 +- .../useApplicationFormTemplate.ts | 2 +- .../useApplicationFormTemplateApi.ts | 4 +- .../composables/comment/useCommentApi.ts | 2 +- .../composables/comment/useCommentTextarea.ts | 4 +- .../{ => app}/composables/complianceMap.ts | 2 +- .../{ => app}/composables/index.ts | 0 .../notification/useNotification.ts | 3 +- .../notification/useNotificationApi.ts | 2 +- .../useApplicationFormValidator.ts | 4 +- .../composables/useFormElementManagement.ts | 3 +- .../{ => app}/composables/useFormStepper.ts | 3 +- .../{ => app}/composables/usePermissions.ts | 0 .../{ => app}/composables/useServerHealth.ts | 0 legalconsenthub/{ => app}/error.vue | 0 legalconsenthub/{ => app}/layouts/auth.vue | 0 legalconsenthub/{ => app}/layouts/default.vue | 2 +- .../{ => app}/middleware/auth.global.ts | 0 .../middleware/permissions.global.ts | 0 .../middleware/refreshToken.global.ts | 0 .../application-forms/[id]/[sectionIndex].vue | 8 +- legalconsenthub/{ => app}/pages/callback.vue | 0 legalconsenthub/{ => app}/pages/create.vue | 7 +- legalconsenthub/{ => app}/pages/index.vue | 5 +- legalconsenthub/{ => app}/pages/login.vue | 0 .../{ => app}/plugins/error-handler.ts | 0 .../{ => app}/plugins/server-health.client.ts | 0 legalconsenthub/{ => app}/utils/date.ts | 0 .../{ => app}/utils/wrappedFetch.ts | 0 legalconsenthub/package.json | 6 +- legalconsenthub/pnpm-lock.yaml | 4225 +++++++++++------ .../server/api/jwt/refresh.post.ts | 2 +- .../server/routes/auth/keycloak.get.ts | 2 +- legalconsenthub/{ => shared}/types/auth.d.ts | 0 legalconsenthub/stores/useCommentStore.ts | 2 +- legalconsenthub/stores/useUserStore.ts | 2 +- 54 files changed, 2904 insertions(+), 1416 deletions(-) rename legalconsenthub/{ => app}/app.config.ts (100%) rename legalconsenthub/{ => app}/app.vue (100%) rename legalconsenthub/{ => app}/assets/css/main.css (100%) rename legalconsenthub/{ => app}/components/DeleteModal.vue (93%) rename legalconsenthub/{ => app}/components/FormEngine.vue (96%) rename legalconsenthub/{ => app}/components/NotificationsSlideover.vue (98%) rename legalconsenthub/{ => app}/components/ServerConnectionOverlay.vue (100%) rename legalconsenthub/{ => app}/components/TheComment.vue (97%) rename legalconsenthub/{ => app}/components/UserMenu.vue (98%) rename legalconsenthub/{ => app}/components/formelements/FormElementLayer.vue (98%) rename legalconsenthub/{ => app}/components/formelements/TheCheckbox.vue (92%) rename legalconsenthub/{ => app}/components/formelements/TheInput.vue (92%) rename legalconsenthub/{ => app}/components/formelements/TheRadioGroup.vue (94%) rename legalconsenthub/{ => app}/components/formelements/TheSelect.vue (94%) rename legalconsenthub/{ => app}/components/formelements/TheSwitch.vue (92%) rename legalconsenthub/{ => app}/components/formelements/TheTitleBodyInput.vue (97%) rename legalconsenthub/{ => app}/components/formelements/Unimplemented.vue (100%) rename legalconsenthub/{ => app}/composables/applicationForm/useApplicationForm.ts (99%) rename legalconsenthub/{ => app}/composables/applicationForm/useApplicationFormApi.ts (99%) rename legalconsenthub/{ => app}/composables/applicationFormTemplate/useApplicationFormTemplate.ts (99%) rename legalconsenthub/{ => app}/composables/applicationFormTemplate/useApplicationFormTemplateApi.ts (97%) rename legalconsenthub/{ => app}/composables/comment/useCommentApi.ts (96%) rename legalconsenthub/{ => app}/composables/comment/useCommentTextarea.ts (92%) rename legalconsenthub/{ => app}/composables/complianceMap.ts (97%) rename legalconsenthub/{ => app}/composables/index.ts (100%) rename legalconsenthub/{ => app}/composables/notification/useNotification.ts (97%) rename legalconsenthub/{ => app}/composables/notification/useNotificationApi.ts (98%) rename legalconsenthub/{ => app}/composables/useApplicationFormValidator.ts (95%) rename legalconsenthub/{ => app}/composables/useFormElementManagement.ts (97%) rename legalconsenthub/{ => app}/composables/useFormStepper.ts (95%) rename legalconsenthub/{ => app}/composables/usePermissions.ts (100%) rename legalconsenthub/{ => app}/composables/useServerHealth.ts (100%) rename legalconsenthub/{ => app}/error.vue (100%) rename legalconsenthub/{ => app}/layouts/auth.vue (100%) rename legalconsenthub/{ => app}/layouts/default.vue (96%) rename legalconsenthub/{ => app}/middleware/auth.global.ts (100%) rename legalconsenthub/{ => app}/middleware/permissions.global.ts (100%) rename legalconsenthub/{ => app}/middleware/refreshToken.global.ts (100%) rename legalconsenthub/{ => app}/pages/application-forms/[id]/[sectionIndex].vue (96%) rename legalconsenthub/{ => app}/pages/callback.vue (100%) rename legalconsenthub/{ => app}/pages/create.vue (97%) rename legalconsenthub/{ => app}/pages/index.vue (97%) rename legalconsenthub/{ => app}/pages/login.vue (100%) rename legalconsenthub/{ => app}/plugins/error-handler.ts (100%) rename legalconsenthub/{ => app}/plugins/server-health.client.ts (100%) rename legalconsenthub/{ => app}/utils/date.ts (100%) rename legalconsenthub/{ => app}/utils/wrappedFetch.ts (100%) rename legalconsenthub/{ => shared}/types/auth.d.ts (100%) diff --git a/legalconsenthub/app.config.ts b/legalconsenthub/app/app.config.ts similarity index 100% rename from legalconsenthub/app.config.ts rename to legalconsenthub/app/app.config.ts diff --git a/legalconsenthub/app.vue b/legalconsenthub/app/app.vue similarity index 100% rename from legalconsenthub/app.vue rename to legalconsenthub/app/app.vue diff --git a/legalconsenthub/assets/css/main.css b/legalconsenthub/app/assets/css/main.css similarity index 100% rename from legalconsenthub/assets/css/main.css rename to legalconsenthub/app/assets/css/main.css diff --git a/legalconsenthub/components/DeleteModal.vue b/legalconsenthub/app/components/DeleteModal.vue similarity index 93% rename from legalconsenthub/components/DeleteModal.vue rename to legalconsenthub/app/components/DeleteModal.vue index 8ac73f6..c89519a 100644 --- a/legalconsenthub/components/DeleteModal.vue +++ b/legalconsenthub/app/components/DeleteModal.vue @@ -11,7 +11,7 @@ - diff --git a/legalconsenthub/components/UserMenu.vue b/legalconsenthub/app/components/UserMenu.vue similarity index 98% rename from legalconsenthub/components/UserMenu.vue rename to legalconsenthub/app/components/UserMenu.vue index 703149a..b140ea3 100644 --- a/legalconsenthub/components/UserMenu.vue +++ b/legalconsenthub/app/components/UserMenu.vue @@ -31,6 +31,7 @@