From 41526f16a9370d639d2d24060d0ec08b2ca16382 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Wed, 29 May 2024 17:36:25 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9E=95=20Move=20calendar=20event=20classes?= =?UTF-8?q?=20into=20corresponding=20components?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/CalendarMiniMonth.vue | 6 +- frontend/src/components/CalendarQalendar.vue | 2 +- frontend/src/elements/CalendarEvent.vue | 186 ------------------ .../src/elements/calendar/CalendarEvent.vue | 109 ++++++++++ .../calendar/CalendarEventPlaceholder.vue | 42 ++++ .../calendar/CalendarEventPreview.vue | 30 +++ .../elements/calendar/CalendarEventRemote.vue | 47 +++++ .../calendar/CalendarEventScheduled.vue | 31 +++ .../{ => calendar}/CalendarMiniMonthDay.vue | 0 9 files changed, 262 insertions(+), 191 deletions(-) delete mode 100644 frontend/src/elements/CalendarEvent.vue create mode 100644 frontend/src/elements/calendar/CalendarEvent.vue create mode 100644 frontend/src/elements/calendar/CalendarEventPlaceholder.vue create mode 100644 frontend/src/elements/calendar/CalendarEventPreview.vue create mode 100644 frontend/src/elements/calendar/CalendarEventRemote.vue create mode 100644 frontend/src/elements/calendar/CalendarEventScheduled.vue rename frontend/src/elements/{ => calendar}/CalendarMiniMonthDay.vue (100%) diff --git a/frontend/src/components/CalendarMiniMonth.vue b/frontend/src/components/CalendarMiniMonth.vue index 4c2f9d3d6..4fc6d534d 100644 --- a/frontend/src/components/CalendarMiniMonth.vue +++ b/frontend/src/components/CalendarMiniMonth.vue @@ -42,10 +42,8 @@ diff --git a/frontend/src/elements/calendar/CalendarEvent.vue b/frontend/src/elements/calendar/CalendarEvent.vue new file mode 100644 index 000000000..e74c7f1a9 --- /dev/null +++ b/frontend/src/elements/calendar/CalendarEvent.vue @@ -0,0 +1,109 @@ + + + diff --git a/frontend/src/elements/calendar/CalendarEventPlaceholder.vue b/frontend/src/elements/calendar/CalendarEventPlaceholder.vue new file mode 100644 index 000000000..7c590eafa --- /dev/null +++ b/frontend/src/elements/calendar/CalendarEventPlaceholder.vue @@ -0,0 +1,42 @@ + + + diff --git a/frontend/src/elements/calendar/CalendarEventPreview.vue b/frontend/src/elements/calendar/CalendarEventPreview.vue new file mode 100644 index 000000000..c3d09bef7 --- /dev/null +++ b/frontend/src/elements/calendar/CalendarEventPreview.vue @@ -0,0 +1,30 @@ + + diff --git a/frontend/src/elements/calendar/CalendarEventRemote.vue b/frontend/src/elements/calendar/CalendarEventRemote.vue new file mode 100644 index 000000000..1a2d75e8d --- /dev/null +++ b/frontend/src/elements/calendar/CalendarEventRemote.vue @@ -0,0 +1,47 @@ + + + diff --git a/frontend/src/elements/calendar/CalendarEventScheduled.vue b/frontend/src/elements/calendar/CalendarEventScheduled.vue new file mode 100644 index 000000000..7ba08d874 --- /dev/null +++ b/frontend/src/elements/calendar/CalendarEventScheduled.vue @@ -0,0 +1,31 @@ + + + diff --git a/frontend/src/elements/CalendarMiniMonthDay.vue b/frontend/src/elements/calendar/CalendarMiniMonthDay.vue similarity index 100% rename from frontend/src/elements/CalendarMiniMonthDay.vue rename to frontend/src/elements/calendar/CalendarMiniMonthDay.vue