diff --git a/frontend/components.d.ts b/frontend/components.d.ts index f8f8fc5c..69bf52a8 100644 --- a/frontend/components.d.ts +++ b/frontend/components.d.ts @@ -46,6 +46,7 @@ declare module 'vue' { BrandLogo: typeof import('./src/components/BrandLogo.vue')['default'] BrandSettings: typeof import('./src/components/Settings/General/BrandSettings.vue')['default'] BulkDeleteLinkedDocModal: typeof import('./src/components/BulkDeleteLinkedDocModal.vue')['default'] + CalendarEventDetails: typeof import('./src/components/Calendar/CalendarEventDetails.vue')['default'] CalendarEventPanel: typeof import('./src/components/Calendar/CalendarEventPanel.vue')['default'] CalendarIcon: typeof import('./src/components/Icons/CalendarIcon.vue')['default'] CalendarModal: typeof import('./src/components/Modals/CalendarModal.vue')['default'] @@ -90,6 +91,7 @@ declare module 'vue' { DealsListView: typeof import('./src/components/ListViews/DealsListView.vue')['default'] DeclinedCallIcon: typeof import('./src/components/Icons/DeclinedCallIcon.vue')['default'] DeleteLinkedDocModal: typeof import('./src/components/DeleteLinkedDocModal.vue')['default'] + DescriptionIcon: typeof import('./src/components/Icons/DescriptionIcon.vue')['default'] DesendingIcon: typeof import('./src/components/Icons/DesendingIcon.vue')['default'] DesktopLayout: typeof import('./src/components/Layouts/DesktopLayout.vue')['default'] DetailsIcon: typeof import('./src/components/Icons/DetailsIcon.vue')['default'] diff --git a/frontend/src/components/Calendar/CalendarEventDetails.vue b/frontend/src/components/Calendar/CalendarEventDetails.vue new file mode 100644 index 00000000..b74ac320 --- /dev/null +++ b/frontend/src/components/Calendar/CalendarEventDetails.vue @@ -0,0 +1,104 @@ + + + + {{ __('Event details') }} + + + + + + + + + + { + show = false + activeEvent = '' + } + " + /> + + + + + + + + {{ event.title || __('(No title)') }} + + {{ formattedDateTime }} + + + + + + + {{ __('Description') }} + + + + {{ __('(No description)') }} + + + + + + diff --git a/frontend/src/components/Calendar/CalendarEventPanel.vue b/frontend/src/components/Calendar/CalendarEventPanel.vue index b4022e21..018c6fe3 100644 --- a/frontend/src/components/Calendar/CalendarEventPanel.vue +++ b/frontend/src/components/Calendar/CalendarEventPanel.vue @@ -42,7 +42,7 @@ - + ({ label: color.charAt(0).toUpperCase() + color.slice(1), value: colorMap[color].color, icon: h('div', { - class: '!size-2 rounded-full', + class: '!size-2.5 rounded-full', style: { backgroundColor: colorMap[color].color }, }), onClick: () => { diff --git a/frontend/src/components/Icons/DescriptionIcon.vue b/frontend/src/components/Icons/DescriptionIcon.vue new file mode 100644 index 00000000..9356cfe6 --- /dev/null +++ b/frontend/src/components/Icons/DescriptionIcon.vue @@ -0,0 +1,14 @@ + + + + + diff --git a/frontend/src/pages/Calendar.vue b/frontend/src/pages/Calendar.vue index aa3a1aad..1629ac20 100644 --- a/frontend/src/pages/Calendar.vue +++ b/frontend/src/pages/Calendar.vue @@ -89,6 +89,14 @@ @save="saveEvent" @delete="deleteEvent" /> + +