From f5054f55324e82441949d713b6098713b0cf5300 Mon Sep 17 00:00:00 2001 From: Gregor Vostrak Date: Wed, 21 Aug 2024 18:37:03 +0200 Subject: [PATCH] move MainContainer Component to ui package and fix types --- resources/js/Layouts/AppLayout.vue | 2 +- resources/js/Pages/Clients.vue | 2 +- resources/js/Pages/Dashboard.vue | 2 +- resources/js/Pages/Import.vue | 2 +- resources/js/Pages/Members.vue | 2 +- resources/js/Pages/ProjectShow.vue | 2 +- resources/js/Pages/Projects.vue | 2 +- resources/js/Pages/Reporting.vue | 2 +- resources/js/Pages/Tags.vue | 2 +- resources/js/Pages/Time.vue | 2 +- resources/js/packages/ui/package-lock.json | 714 +++++++++++++++++- resources/js/packages/ui/package.json | 17 +- .../ui/src}/MainContainer.vue | 0 .../src/TimeEntry/TimeEntryAggregateRow.vue | 2 +- .../ui/src/TimeEntry/TimeEntryRow.vue | 2 +- .../ui/src/TimeEntry/TimeEntryRowHeading.vue | 2 +- resources/js/packages/ui/vite.config.js | 3 +- 17 files changed, 699 insertions(+), 61 deletions(-) rename resources/js/{Pages => packages/ui/src}/MainContainer.vue (100%) diff --git a/resources/js/Layouts/AppLayout.vue b/resources/js/Layouts/AppLayout.vue index 0dc8abeb..23064f8d 100644 --- a/resources/js/Layouts/AppLayout.vue +++ b/resources/js/Layouts/AppLayout.vue @@ -18,7 +18,7 @@ import { } from '@heroicons/vue/20/solid'; import NavigationSidebarItem from '@/Components/NavigationSidebarItem.vue'; import UserSettingsIcon from '@/Components/UserSettingsIcon.vue'; -import MainContainer from '@/Pages/MainContainer.vue'; +import MainContainer from '@/packages/ui/src/MainContainer.vue'; import { onMounted, ref } from 'vue'; import NotificationContainer from '@/Components/NotificationContainer.vue'; import { initializeStores, refreshStores } from '@/utils/init'; diff --git a/resources/js/Pages/Clients.vue b/resources/js/Pages/Clients.vue index 14e857d7..be964199 100644 --- a/resources/js/Pages/Clients.vue +++ b/resources/js/Pages/Clients.vue @@ -1,5 +1,5 @@