From 8b0965144982eb3f35a4379c9d35febb217858ea Mon Sep 17 00:00:00 2001 From: Richard Steinmetz Date: Fri, 26 Apr 2024 13:27:59 +0200 Subject: [PATCH] feat: implement resources and rooms overview Signed-off-by: Richard Steinmetz --- .../Editor/FreeBusy/RoomAvailabilityList.vue | 208 +++++++++ .../Editor/FreeBusy/RoomAvailabilityModal.vue | 409 ++++++++++++++++++ .../Editor/Resources/ResourceListSearch.vue | 24 +- src/models/attendee.js | 20 + src/services/caldavService.js | 12 + src/services/freeBusySlotService.js | 6 +- src/store/principals.js | 46 ++ src/views/Calendar.vue | 6 + tests/javascript/unit/models/attendee.test.js | 75 +++- 9 files changed, 803 insertions(+), 3 deletions(-) create mode 100644 src/components/Editor/FreeBusy/RoomAvailabilityList.vue create mode 100644 src/components/Editor/FreeBusy/RoomAvailabilityModal.vue diff --git a/src/components/Editor/FreeBusy/RoomAvailabilityList.vue b/src/components/Editor/FreeBusy/RoomAvailabilityList.vue new file mode 100644 index 000000000..c689d4800 --- /dev/null +++ b/src/components/Editor/FreeBusy/RoomAvailabilityList.vue @@ -0,0 +1,208 @@ + + + + + + diff --git a/src/components/Editor/FreeBusy/RoomAvailabilityModal.vue b/src/components/Editor/FreeBusy/RoomAvailabilityModal.vue new file mode 100644 index 000000000..153f9a312 --- /dev/null +++ b/src/components/Editor/FreeBusy/RoomAvailabilityModal.vue @@ -0,0 +1,409 @@ + + + + + diff --git a/src/components/Editor/Resources/ResourceListSearch.vue b/src/components/Editor/Resources/ResourceListSearch.vue index 1f17e41bf..182ec25c3 100644 --- a/src/components/Editor/Resources/ResourceListSearch.vue +++ b/src/components/Editor/Resources/ResourceListSearch.vue @@ -5,6 +5,15 @@