diff --git a/core/static/core/style.scss b/core/static/core/style.scss index 5010e3ca..b48aa7c1 100644 --- a/core/static/core/style.scss +++ b/core/static/core/style.scss @@ -45,35 +45,6 @@ body { } } -@mixin tooltip { - @include shadow; - z-index: 1; - pointer-events: none; - background-color: #333; - color: #fff; - border: 0.5px solid hsl(0, 0%, 50%); - border-radius: 5px; - padding: 5px 10px; - position: absolute; - white-space: nowrap; - opacity: 0; - transition: opacity 500ms ease-in; -} - -.tooltip { - @include tooltip; - position: absolute; - width: max-content; - - left: 0; - top: 0; -} - -.tooltip[tooltip-status=open] { - opacity: 1; - transition: opacity 500ms ease-in; -} - .ib { display: inline-block; padding: 1px; diff --git a/package.json b/package.json index f0e256d0..c0fd2d79 100644 --- a/package.json +++ b/package.json @@ -52,9 +52,8 @@ "@fullcalendar/icalendar": "^6.1.20", "@fullcalendar/interaction": "^6.1.19", "@fullcalendar/list": "^6.1.20", - "@fullcalendar/resource": "^6.1.17", - "@fullcalendar/resource-timeline": "^6.1.17", - "@hey-api/client-fetch": "^0.8.2", + "@fullcalendar/resource": "^6.1.19", + "@fullcalendar/resource-timeline": "^6.1.19", "@sentry/browser": "^10.38.0", "@zip.js/zip.js": "^2.8.20", "3d-force-graph": "^1.79.1", diff --git a/reservation/static/bundled/reservation/components/room-scheduler-index.ts b/reservation/static/bundled/reservation/components/room-scheduler-index.ts index 0dcf3e80..f09b3d2b 100644 --- a/reservation/static/bundled/reservation/components/room-scheduler-index.ts +++ b/reservation/static/bundled/reservation/components/room-scheduler-index.ts @@ -1,4 +1,3 @@ -import { inheritHtmlElement, registerComponent } from "#core:utils/web-components"; import { Calendar, type DateSelectArg, @@ -7,16 +6,18 @@ import { } from "@fullcalendar/core"; import enLocale from "@fullcalendar/core/locales/en-gb"; import frLocale from "@fullcalendar/core/locales/fr"; +import interactionPlugin, { type EventResizeDoneArg } from "@fullcalendar/interaction"; +import resourceTimelinePlugin from "@fullcalendar/resource-timeline"; +import { paginated } from "#core:utils/api"; +import { inheritHtmlElement, registerComponent } from "#core:utils/web-components"; import { type ReservationslotFetchSlotsData, - type SlotSchema, reservableroomFetchRooms, reservationslotFetchSlots, reservationslotUpdateSlot, + type SlotSchema, } from "#openapi"; - -import { paginated } from "#core:utils/api"; import type { SlotSelectedEventArg } from "#reservation:reservation/types"; import interactionPlugin from "@fullcalendar/interaction"; import resourceTimelinePlugin from "@fullcalendar/resource-timeline";