react-beauty-calendar 1.4.1 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/dist/@types/booking.d.ts +1 -0
  2. package/dist/@types/calendar-instance.d.ts +13 -4
  3. package/dist/@types/index.d.ts +2 -2
  4. package/dist/@types/profile.d.ts +2 -0
  5. package/dist/@types/user.d.ts +3 -0
  6. package/dist/build/assets/main.css +1 -1
  7. package/dist/build/main.cjs.js +80 -39
  8. package/dist/build/main.es.js +15317 -13194
  9. package/dist/components/ui/Button.d.ts +1 -1
  10. package/dist/components/ui/Checkbox.d.ts +4 -0
  11. package/dist/constants/index.d.ts +3 -2
  12. package/dist/constants/resize-base-value.constant.d.ts +1 -0
  13. package/dist/constants/system-colors.constant.d.ts +39 -9
  14. package/dist/constants/user-colors-constants.d.ts +30 -0
  15. package/dist/context/date-and-time/DateAndTimeContext.d.ts +1 -1
  16. package/dist/context/emptySlotsStore/useEmptySlotStore.d.ts +3 -3
  17. package/dist/context/global/booking-info/booking-info.d.ts +0 -3
  18. package/dist/context/global/config/config-store.d.ts +4 -1
  19. package/dist/context/global/days-and-week/day-and-week-store.d.ts +8 -5
  20. package/dist/context/index.d.ts +4 -1
  21. package/dist/context/users-info/users-info-context.d.ts +2 -0
  22. package/dist/context/users-info/users-info-store.d.ts +15 -0
  23. package/dist/context/users-info/usersInfoProvider.d.ts +5 -0
  24. package/dist/core/Root.d.ts +1 -1
  25. package/dist/core/booking-card/BookingCardContent.d.ts +2 -2
  26. package/dist/core/booking-card/BookingCardOnResize.d.ts +3 -0
  27. package/dist/core/booking-card/CardContent.d.ts +3 -0
  28. package/dist/core/booking-card/inner-card-handle.d.ts +4 -0
  29. package/dist/core/booking-creation-dialog/BookingCreationDialog.d.ts +3 -0
  30. package/dist/core/booking-creation-dialog/BookingTabs.d.ts +4 -0
  31. package/dist/core/{header-calendar → booking-options}/SelectItem.d.ts +1 -1
  32. package/dist/core/calendar/CalendarHolder.d.ts +2 -1
  33. package/dist/core/calendar/HourWithActions.d.ts +2 -8
  34. package/dist/core/calendar/SlotRender.d.ts +3 -0
  35. package/dist/core/{slots → calendar}/Slots.d.ts +3 -1
  36. package/dist/core/card-slots/EmptySlot.d.ts +3 -0
  37. package/dist/core/card-slots/SlotTrigger.d.ts +1 -1
  38. package/dist/core/{slots → card-slots}/TimeInfo.d.ts +1 -2
  39. package/dist/core/slots/CardContentWithResize.d.ts +17 -0
  40. package/dist/core/table-view-type/BadgeCustom.d.ts +5 -0
  41. package/dist/core/table-view-type/Columns.d.ts +4 -0
  42. package/dist/core/table-view-type/TableViewType.d.ts +10 -1
  43. package/dist/hooks/index.d.ts +3 -1
  44. package/dist/hooks/useCalendarInstance.d.ts +1 -1
  45. package/dist/{core/slots → hooks}/useResizableBothSides.d.ts +2 -9
  46. package/dist/{core/slots → hooks}/useResizableCardHook.d.ts +1 -2
  47. package/dist/hooks/useUserInfoStore.d.ts +3 -0
  48. package/dist/mock/booking-mock.d.ts +2 -0
  49. package/dist/utils/buildEmptyTimeSlotKey.d.ts +2 -0
  50. package/dist/utils/date.utils.d.ts +3 -1
  51. package/dist/utils/forward.d.ts +8 -0
  52. package/dist/utils/hours.d.ts +1 -2
  53. package/dist/utils/index.d.ts +6 -2
  54. package/dist/utils/props.d.ts +47 -7
  55. package/dist/utils/string.utils.d.ts +1 -1
  56. package/package.json +1 -1
  57. package/dist/context/emptySlotsStore/emptySlotKey.d.ts +0 -3
  58. package/dist/core/booking-create/BookingCreate.d.ts +0 -17
  59. package/dist/core/calendar/ViewTypes.d.ts +0 -4
  60. package/dist/core/info/Info.d.ts +0 -7
  61. package/dist/core/slots/CardContent.d.ts +0 -3
  62. package/dist/core/slots/EmptySlot.d.ts +0 -3
  63. package/dist/core/slots/EventsTab.d.ts +0 -12
  64. package/dist/core/slots/SlotRender.d.ts +0 -14
  65. package/dist/core/slots/innerCardHandle/inner-card-handle.d.ts +0 -5
  66. /package/dist/core/{favorite-booking → booking-options}/FavoriteBooking.d.ts +0 -0
  67. /package/dist/core/{header-calendar → calendar}/DaysOfWeek.d.ts +0 -0
  68. /package/dist/core/{slots → card-slots}/CardBlockContent.d.ts +0 -0
  69. /package/dist/core/{slots → card-slots}/actualTimeIndicator/ActualTimeIndicator.d.ts +0 -0
  70. /package/dist/core/{slots → card-slots}/actualTimeIndicator/FirstDaySlot.d.ts +0 -0
  71. /package/dist/core/{slots → card-slots}/actualTimeIndicator/position-based-on-seconds.d.ts +0 -0
  72. /package/dist/core/{shortcut-commands → header-calendar}/ShortcutCommands.d.ts +0 -0
@@ -2,6 +2,7 @@ import { UserProfile } from './user';
2
2
  type DisabledResize = "full" | "half";
3
3
  export interface Booking {
4
4
  id: string;
5
+ userId?: string;
5
6
  startAt: Date;
6
7
  finishAt: Date;
7
8
  disabledResize?: DisabledResize;
@@ -1,10 +1,12 @@
1
1
  import { JSX, Ref } from 'react';
2
- import { SystemColor } from '../context/global/config/config-store';
3
2
  import { NextAndPreviousWeek } from '../context/global/days-and-week/day-and-week-store';
3
+ import { SystemColor } from '../context/global/config/config-store';
4
4
  import { ActionType } from '../core/header-calendar/Header';
5
+ import { ViewModes } from './calendar';
5
6
  import { BlockTimeData } from '../utils/props';
6
7
  import { Booking, BookingDateAndTime, BookingViewType } from './booking';
7
- import { ViewModes } from './calendar';
8
+ import { UserProfileStatus } from './user';
9
+ import { ColumnDef } from '@tanstack/react-table';
8
10
  export interface CalendarInstanceRef extends CalendarRootRef {
9
11
  getCalendar: () => JSX.Element;
10
12
  }
@@ -17,14 +19,21 @@ export interface CalendarRootRef {
17
19
  changeLoading: (status: boolean) => void;
18
20
  goToDay: (date: Date) => void;
19
21
  goToWeek: (date: Date) => void;
22
+ toggleUserVisibility: (userId: string, status: boolean) => void;
20
23
  }
21
- export type UseBookingInstanceProps = RootProps;
22
- export interface RootProps extends RootEventsProps {
24
+ export type UseBookingInstanceProps<T> = RootProps<T>;
25
+ export interface RootProps<T> extends RootEventsProps {
23
26
  bookings: Booking[];
24
27
  isTimeInfoVisible?: boolean;
25
28
  systemColor?: SystemColor;
26
29
  createBookingModal: JSX.Element;
27
30
  viewModes: ViewModes;
31
+ users?: UserProfileStatus[];
32
+ tableAccessors: ColumnDef<T>[];
33
+ operationalHours: {
34
+ start: number;
35
+ finish: number;
36
+ };
28
37
  ref?: Ref<CalendarRootRef>;
29
38
  }
30
39
  export interface OnSlotClick {
@@ -1,5 +1,5 @@
1
1
  import { Booking, BookingDateAndTime, Bookings } from './booking';
2
2
  import { ViewModes } from './calendar';
3
3
  import { Profile } from './profile';
4
- import { User } from './user';
5
- export type { Booking, Bookings, BookingDateAndTime, Profile, User, ViewModes };
4
+ import { User, UserProfileStatus } from './user';
5
+ export type { Booking, Bookings, BookingDateAndTime, Profile, User, ViewModes, UserProfileStatus };
@@ -1,6 +1,8 @@
1
+ import { UserColor } from '../context/global/config/config-store';
1
2
  export interface Profile {
2
3
  id: string;
3
4
  name: string;
5
+ color: UserColor;
4
6
  email?: string;
5
7
  phoneNumber?: string;
6
8
  profilePicture?: string;
@@ -6,3 +6,6 @@ export interface User {
6
6
  createdAt: Date;
7
7
  }
8
8
  export type UserProfile = Pick<User, "id" | "profile">;
9
+ export type UserProfileStatus = Pick<User, "id" | "profile"> & {
10
+ status: boolean;
11
+ };
@@ -1 +1 @@
1
- #root{margin:0 auto;text-align:center}.react-resizable{position:relative}.react-resizable:hover .react-resizable-handle-s,.show-handle.react-resizable .react-resizable-handle-s,.react-resizable:hover .react-resizable-handle-n,.show-handle.react-resizable .react-resizable-handle-n{display:inline}.react-resizable.slot-resizable>.react-resizable-handle{width:100%;height:100%}.react-resizable.slot-resizable>.react-resizable-handle.react-resizable-handle-se{cursor:default;background-image:none}.react-resizable.slot-resizable>.react-resizable-handle.react-resizable-handle-se:hover{cursor:default;background-image:none}.react-resizable-handle{position:absolute;width:20px;height:20px;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='SVGRepo_bgCarrier' stroke-width='0'%3E%3C/g%3E%3Cg id='SVGRepo_tracerCarrier' stroke-linecap='round' stroke-linejoin='round'%3E%3C/g%3E%3Cg id='SVGRepo_iconCarrier'%3E %3Cpath d='M5 14H19M5 10H19' stroke='%23fff' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E %3C/g%3E%3C/svg%3E");background-position:bottom right}.react-resizable-handle-sw{bottom:0;left:0;cursor:sw-resize;transform:rotate(90deg)}.react-resizable-handle-se{bottom:0;left:0;cursor:se-resize;z-index:100}.react-resizable-handle-nw{top:0;left:0;cursor:nw-resize;transform:rotate(180deg)}.react-resizable-handle-ne{top:0;right:0;cursor:ne-resize;transform:rotate(270deg)}.react-resizable-handle-w,.react-resizable-handle-e{top:50%;margin-top:-10px;cursor:ew-resize}.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-resizable-handle-e{right:0}.react-resizable-handle-n,.react-resizable-handle-s{left:50%;cursor:ns-resize}.react-resizable-handle-n{display:none;top:-5px;z-index:100}.react-resizable-handle-s{display:none;bottom:-5px;z-index:100}.rdp-day:hover{background-color:#edecec!important;color:#1f1f1f!important;border-radius:50%!important}.rdp-chevron{fill:#5403d6!important}.rdp-day.rdp-today{color:#fff!important;border-radius:50%;background-color:#8574e5!important}.rdp-day::selection{background-color:#8574e5!important;color:red!important}.rdp-day.rdp-selected>.rdp-day_button{background:#d5d0f7;color:#322290;border:none}.shadow{box-shadow:2px 2px 6px 1px #0000004d}@keyframes spinBorder{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.animate-spin-border{animation:spinBorder 3s linear infinite;background-size:200% 200%}.calendarHolder_parent_content{display:flex;flex-direction:column;z-index:100;overflow:auto}.header_actions{display:flex;flex-direction:row;align-items:center;gap:.25rem}.headerCalendar_mobile{display:flex;flex-direction:column;justify-content:space-between;width:100%;padding-top:.5rem;background-color:#fff}.headerCalendar_mobile_month{align-content:center;z-index:50;text-align:center}.headerCalendar_mobile_month_span{color:#1e2939;font-weight:700}.headerCalendar_mobile_actions{gap:.5rem;z-index:50;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.headerCalendar{display:flex;justify-content:space-between;width:100%;margin-top:.5rem;background-color:#fff;position:relative}.headerCalendar_actions{display:flex;flex-direction:row;align-items:center;z-index:50}.headerCalendar_month{align-content:center;width:max-content;position:absolute;z-index:50;top:50%;left:50%;right:50%;transform:translate(-50%,-50%)}.headerCalendar_month_span{color:#1e2939;font-weight:700}.isDraggingCard{height:2rem;z-index:100;position:relative}.header_day_actions{display:flex;flex-direction:row;justify-content:center;gap:3px}.header_day_actions_button{display:flex;background-color:#fff;border:none;border-radius:100%;padding-block:.75rem;padding-inline:.75rem}.header_day_actions_button:hover{background-color:#f3f4f6}.header_day_actions_button:focus{background-color:#e5e7eb;inherits:false;initial-value:solid;outline-width:0px}.header_day_actions_button_icon{height:1rem;width:1rem;color:#6a7282}.calendarCore_cell{border:1px solid #d1d5dc;padding-block:.5rem;padding-inline:1rem;text-align:center;width:.75rem;min-width:4rem}.calendarCore_actions{position:absolute;top:-3px;left:5px;right:1.25rem;background-color:#fff;text-align:end}.bookingCard_content{display:grid;grid-template-columns:25px 1fr;align-items:flex-start;margin-bottom:.25rem;padding-bottom:.25rem}.bookingCard_content:last-child{margin-bottom:0;padding-bottom:0}.slot{background-color:#fff;border:1px solid #d1d5dc;min-width:2rem;padding:0;position:relative;border-bottom:none;border-top:none}.slot_disabled{background-color:#e5e7eb;border:none}.daysOfWeek{padding:.5rem;min-width:5.5rem;width:100vw}.daysOfWeek_parent{display:flex;flex-direction:column;gap:3px;color:#6a7282;text-align:center}.daysOfWeek_day_rest{cursor:pointer;border-radius:100%;border:none;width:2rem;height:2rem;padding:0}.daysOfWeek_day_rest:hover{border:1px solid rgba(91,91,91,.293);background-color:#e3e2e272}.daysOfWeek_day_today_title{color:#d268d2}.daysOfWeek_day_today{cursor:pointer;color:#fff;padding:.25rem;border-radius:100%;background-color:#d268d2}.daysOfWeek_table{min-width:100%;width:100%;background-color:#fff}.daysOfWeek_emptySlot{max-width:4rem;min-width:4rem;width:4rem}.calendarHeader{max-width:4rem;min-width:4rem;width:1rem}@media screen and (max-width: 1189px){.calendarHeader{max-width:4rem;min-width:4rem}}.slotTrigger_core{position:relative;width:100%;height:2rem;min-width:6.38em}.slotTrigger_core_day{width:100%}.hovering_slotTrigger_core:hover{background-color:#ffffff93}.card_content_core{z-index:99;position:absolute}.cardContent_resizable{position:absolute;width:100%;top:0}.inner_cards_parent{display:flex;justify-content:end}.inner_cards_parent_last_card_disable{width:initial!important}.inner_cards_parent_last_card{width:91%}.inner_cards_parent_last_card_layer_2{width:82%!important}.inner_cards_parent_1_layer{width:95.5%}.inner_cards_parent_2_layer{width:91%}.inner_cards_parent_3_layer{width:86%}.inner_cards_parent_3_layer_half{width:94%}.inner_cards_parent_resizable{top:0;right:.5rem;bottom:0;left:.5rem}.inner_cards_parent_resizable_layer_2{top:0;right:1rem;bottom:0;left:1rem}.inner_cards_parent_resizable_layer_3{top:0;right:1.6rem;bottom:0;left:1.6rem}.inner_cards_parent_resizable_layer_3_half{top:0;right:1rem;bottom:0;left:1rem}.cardContent_render{border:1px solid white;border-color:#007fff;border-left-width:thick;border-radius:.25rem;overflow:hidden;position:absolute;z-index:100;top:0;right:0;bottom:0;left:0}.cardContent_render_dragging,.focus-effect:hover,.cardContent_render:hover{border-top:1px solid rgb(255,89,6);border-right:1px solid rgb(255,89,6);border-bottom:1px solid rgb(255,89,6);border-left:5px solid rgb(255,89,6)}.timeInfo_core{width:100%;height:100%;z-index:-1px;align-content:center;border-radius:.25rem;cursor:default}.timeInfo_core_timeParent{border-radius:.25rem;width:100%;height:100%;align-content:center;position:relative;z-index:5}.timeInfo_core_timeParent_time{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.timeInfo_core_dragging{height:100%;align-content:center}.timeIndicator_today{position:absolute;right:0;z-index:5}.timeIndicator_today_circle:before{content:"";display:block;position:absolute;top:-2px;left:-1.3px;border-radius:100%;width:.5rem;height:.5rem;background-color:#000}.today_first_day{position:absolute;left:0;top:-3px;cursor:pointer}.first_day_slot{position:absolute;top:-23px;z-index:50}.dropdownLabelContent{display:flex;justify-content:space-between;align-items:center;border-radius:.5rem}.dropdownLabelContent:hover{background-color:#f3f4f6}.dropdownLabelContent_dropdownLabel{width:100%;padding:1rem}.dropdownLabelContent_dropdownLabel:hover{cursor:move}.dropdownLabelContent_close:hover{cursor:pointer;color:#6a7282}.booking_card_content_container{position:relative;width:100%;height:100%}.booking_card_content{display:flex;flex-direction:column;height:100%;color:#fff;padding-left:.5rem;justify-content:flex-start;align-items:flex-start}.booking_info{height:1.8rem;align-content:center}@property --progress{syntax: "<number>"; initial-value: 0; inherits: false;}.Draggable{position:relative;transition:transform .25s ease}.Draggable>div{-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;border:0;border-radius:5px;box-shadow:var(--box-shadow);transform:translate3d(var(--translate-x, 0),var(--translate-y, 0),0) scale(var(--scale, 1));transition:box-shadow .3s ease}.Draggable:not(.handle)>div{touch-action:none;cursor:grab}.Draggable:not(.handle)>div:focus-visible:not(.active :is(.Draggable:not(.handle)>div)){box-shadow:0 0 0 3px #4c9ffe}.Draggable.handle>div{--action-background: rgba(255, 255, 255, .1)}.Draggable.handle>div>svg{margin-right:5px}.Draggable.handle>div>div{margin-right:-10px}.Draggable img{-webkit-user-select:none;user-select:none;pointer-events:none}.Draggable.dragging{z-index:1;transition:none}.Draggable.dragging *{cursor:grabbing}.Draggable.dragging>div{--scale: 1.06;--box-shadow: -1px 0 15px 0 rgba(34, 33, 81, .01), 0px 15px 15px 0 rgba(34, 33, 81, .25)}.Draggable.dragging>div:focus-visible{--box-shadow: 0 0px 10px 2px #4c9ffe}.Draggable.dragging label{animation:none;opacity:0}@keyframes pulse{0%{opacity:0}to{opacity:1}}.calendar-wrapper{width:100%;height:100%;z-index:100;overflow:auto;position:relative}.calendar{border-collapse:collapse;width:max-content;min-width:100%}.calendar th,.calendar td{border:1px solid #ccc;min-width:100px;height:50px;text-align:center}.daysOfWeek_table thead th{position:sticky;top:0;background:#fff;z-index:6}.time-col{position:sticky;left:0;background:#f9f9f9;min-width:60px;z-index:99}
1
+ #root{margin:0 auto;text-align:center}.react-resizable{position:relative}.react-resizable:hover .react-resizable-handle-s,.show-handle.react-resizable .react-resizable-handle-s,.react-resizable:hover .react-resizable-handle-n,.show-handle.react-resizable .react-resizable-handle-n{display:inline}.react-resizable.slot-resizable>.react-resizable-handle{width:100%;height:100%}.react-resizable.slot-resizable>.react-resizable-handle.react-resizable-handle-se{cursor:default;background-image:none}.react-resizable.slot-resizable>.react-resizable-handle.react-resizable-handle-se:hover{cursor:default;background-image:none}.react-resizable-handle{position:absolute;width:20px;height:20px;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='SVGRepo_bgCarrier' stroke-width='0'%3E%3C/g%3E%3Cg id='SVGRepo_tracerCarrier' stroke-linecap='round' stroke-linejoin='round'%3E%3C/g%3E%3Cg id='SVGRepo_iconCarrier'%3E %3Cpath d='M5 14H19M5 10H19' stroke='%23fff' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E %3C/g%3E%3C/svg%3E");background-position:bottom right}.react-resizable-handle-sw{bottom:0;left:0;cursor:sw-resize;transform:rotate(90deg)}.react-resizable-handle-se{bottom:0;left:0;cursor:se-resize;z-index:100}.react-resizable-handle-nw{top:0;left:0;cursor:nw-resize;transform:rotate(180deg)}.react-resizable-handle-ne{top:0;right:0;cursor:ne-resize;transform:rotate(270deg)}.react-resizable-handle-w,.react-resizable-handle-e{top:50%;margin-top:-10px;cursor:ew-resize}.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-resizable-handle-e{right:0}.react-resizable-handle-n,.react-resizable-handle-s{left:50%;cursor:ns-resize}.react-resizable-handle-n{display:none;top:-5px;z-index:100}.react-resizable-handle-s{display:none;bottom:-5px;z-index:100}.rdp-day:hover{background-color:#edecec!important;color:#1f1f1f!important;border-radius:50%!important}.rdp-chevron{fill:#5403d6!important}.rdp-day.rdp-today{color:#fff!important;border-radius:50%;background-color:#8574e5!important}.rdp-day::selection{background-color:#8574e5!important;color:red!important}.rdp-day.rdp-selected>.rdp-day_button{background:#d5d0f7;color:#322290;border:none}.shadow{box-shadow:2px 2px 6px 1px #0000004d}@keyframes spinBorder{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.animate-spin-border{animation:spinBorder 3s linear infinite;background-size:200% 200%}.calendarHolder_parent_content{display:flex;flex-direction:column;z-index:100;overflow:auto}.header_actions{display:flex;flex-direction:row;align-items:center;gap:.25rem}.headerCalendar_mobile{display:flex;flex-direction:column;justify-content:space-between;width:100%;padding-top:.5rem;background-color:#fff}.headerCalendar_mobile_month{align-content:center;z-index:50;text-align:center}.headerCalendar_mobile_month_span{color:#1e2939;font-weight:700}.headerCalendar_mobile_actions{gap:.5rem;z-index:50;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.headerCalendar{display:flex;justify-content:space-between;width:100%;margin-top:.5rem;background-color:#fff;position:relative}.headerCalendar_actions{display:flex;flex-direction:row;align-items:center;z-index:50}.headerCalendar_month{align-content:center;width:max-content;position:absolute;z-index:50;top:50%;left:50%;right:50%;transform:translate(-50%,-50%)}.headerCalendar_month_span{color:#1e2939;font-weight:700}.isDraggingCard{height:2rem;z-index:100;position:relative}.header_day_actions{display:flex;flex-direction:row;justify-content:center;gap:3px}.header_day_actions_button{display:flex;background-color:#fff;border:none;border-radius:100%;padding-block:.75rem;padding-inline:.75rem}.header_day_actions_button:hover{background-color:#f3f4f6}.header_day_actions_button:focus{background-color:#e5e7eb;inherits:false;initial-value:solid;outline-width:0px}.header_day_actions_button_icon{height:1rem;width:1rem;color:#6a7282}.calendarCore_cell{border:1px solid #d1d5dc;padding-block:.5rem;padding-inline:1rem;text-align:center;width:.75rem;min-width:4rem}.calendarCore_actions{position:absolute;top:-6px;left:5px;right:1.25rem;background-color:#fff;text-align:end}.bookingCard_content{display:grid;grid-template-columns:25px 1fr;align-items:flex-start;margin-bottom:.25rem;padding-bottom:.25rem}.bookingCard_content:last-child{margin-bottom:0;padding-bottom:0}.slot{background-color:#fff;border:1px solid #d1d5dc;min-width:2rem;padding:0;position:relative;border-bottom:none;border-top:none}.slot_disabled{background-color:#e5e7eb;border:none}.daysOfWeek{padding:.5rem;min-width:5.5rem;width:100vw;z-index:99}.daysOfWeek_parent{display:flex;flex-direction:column;gap:3px;color:#6a7282;text-align:center}.daysOfWeek_indicator{border-radius:100%;width:2rem;height:2rem}.daysOfWeek_day_today{color:#fff;padding:.25rem}.daysOfWeek_table{min-width:100%;width:100%;background-color:#fff}.daysOfWeek_table thead th{position:sticky;top:0;background:#fff;z-index:100}.daysOfWeek_emptySlot{max-width:4rem;min-width:4rem;width:4rem}.calendarHeader{max-width:4rem;min-width:4rem;width:1rem}@media screen and (max-width: 1189px){.calendarHeader{max-width:4rem;min-width:4rem}}.slotTrigger_core{position:relative;width:100%;height:2rem;min-width:6.38em}.slotTrigger_core_day{width:100%}.hovering_slotTrigger_core:hover{background-color:#ffffff93}.card_content_core{z-index:98;position:absolute}.cardContent_resizable{position:absolute;width:100%;top:0}.cardContent_render{border:1px solid white;border-color:#007fff;border-left-width:thick;border-radius:.25rem;overflow:hidden;position:absolute;z-index:100;top:0;right:0;bottom:0;left:0}.cardContent_render_dragging,.focus-effect:hover,.cardContent_render:hover{border-top:1px solid rgb(255,89,6);border-right:1px solid rgb(255,89,6);border-bottom:1px solid rgb(255,89,6);border-left:5px solid rgb(255,89,6)}.timeInfo_core{width:100%;height:100%;z-index:-1px;align-content:center;border-radius:.25rem;cursor:default}.timeInfo_core_timeParent{border-radius:.25rem;width:100%;height:100%;align-content:center;position:relative;z-index:5}.timeInfo_core_timeParent_time{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.timeInfo_core_dragging{height:100%;align-content:center}.timeIndicator_today{position:absolute;right:0;z-index:5}.timeIndicator_today_circle:before{content:"";display:block;position:absolute;top:-2px;left:-1.3px;border-radius:100%;width:.5rem;height:.5rem;background-color:#000}.today_first_day{position:absolute;left:0;top:-3px;cursor:pointer}.first_day_slot{position:absolute;top:-23px;z-index:50}.dropdownLabelContent{display:flex;justify-content:space-between;align-items:center;border-radius:.5rem}.dropdownLabelContent:hover{background-color:#f3f4f6}.dropdownLabelContent_dropdownLabel{width:100%;padding:1rem}.dropdownLabelContent_dropdownLabel:hover{cursor:move}.dropdownLabelContent_close:hover{cursor:pointer;color:#6a7282}.booking_card_content_container{position:relative;width:100%;height:100%}.booking_card_content{display:flex;flex-direction:column;height:100%;color:#fff;justify-content:flex-start;align-items:flex-start}.booking_info{height:1.8rem;align-content:center}@property --progress{syntax: "<number>"; initial-value: 0; inherits: false;}.Draggable{position:relative;transition:transform .25s ease}.Draggable>div{-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;border:0;border-radius:5px;box-shadow:var(--box-shadow);transform:translate3d(var(--translate-x, 0),var(--translate-y, 0),0) scale(var(--scale, 1));transition:box-shadow .3s ease}.Draggable:not(.handle)>div{touch-action:none;cursor:grab}.Draggable:not(.handle)>div:focus-visible:not(.active :is(.Draggable:not(.handle)>div)){box-shadow:0 0 0 3px #4c9ffe}.Draggable.handle>div{--action-background: rgba(255, 255, 255, .1)}.Draggable.handle>div>svg{margin-right:5px}.Draggable.handle>div>div{margin-right:-10px}.Draggable img{-webkit-user-select:none;user-select:none;pointer-events:none}.Draggable.dragging{z-index:1;transition:none}.Draggable.dragging *{cursor:grabbing}.Draggable.dragging>div{--scale: 1.06;--box-shadow: -1px 0 15px 0 rgba(34, 33, 81, .01), 0px 15px 15px 0 rgba(34, 33, 81, .25)}.Draggable.dragging>div:focus-visible{--box-shadow: 0 0px 10px 2px #4c9ffe}.Draggable.dragging label{animation:none;opacity:0}@keyframes pulse{0%{opacity:0}to{opacity:1}}.calendar-wrapper{width:100%;height:100%;z-index:100;overflow:auto;position:relative}.calendar{border-collapse:collapse;width:max-content;min-width:100%}.calendar th,.calendar td{border:1px solid #ccc;min-width:100px;height:50px;text-align:center}.time-col{position:sticky;left:0;background:#f9f9f9;min-width:60px;z-index:99}