@mantine-vue/schedule 3.0.0 → 3.2.0
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.
- package/cjs/index.cjs +6101 -3638
- package/cjs/index.cjs.map +1 -1
- package/esm/index.mjs +6045 -3632
- package/esm/index.mjs.map +1 -1
- package/lib/component-props.d.ts +181 -214
- package/lib/components/CurrentTimeIndicator/CurrentTimeIndicator.d.ts +8 -114
- package/lib/components/CurrentTimeIndicator/CurrentTimeIndicator.types.d.ts +89 -0
- package/lib/components/CurrentTimeIndicator/CurrentTimeIndicator.vue.d.ts +20 -0
- package/lib/components/DayView/DayView.d.ts +10 -212
- package/lib/components/DayView/DayView.types.d.ts +65 -0
- package/lib/components/DayView/DayView.vue.d.ts +51 -0
- package/lib/components/DragContext/DragContext.d.ts +43 -5
- package/lib/components/MobileMonthView/MobileMonthView.d.ts +10 -171
- package/lib/components/MobileMonthView/MobileMonthView.types.d.ts +110 -0
- package/lib/components/MobileMonthView/MobileMonthView.vue.d.ts +44 -0
- package/lib/components/MonthView/MonthView.d.ts +10 -174
- package/lib/components/MonthView/MonthView.types.d.ts +125 -0
- package/lib/components/MonthView/MonthView.vue.d.ts +56 -0
- package/lib/components/MoreEvents/MoreEvents.d.ts +9 -65
- package/lib/components/MoreEvents/MoreEvents.types.d.ts +62 -0
- package/lib/components/MoreEvents/MoreEvents.vue.d.ts +23 -0
- package/lib/components/ResourcesDayView/ResourcesDayView.d.ts +10 -346
- package/lib/components/ResourcesDayView/ResourcesDayView.types.d.ts +308 -0
- package/lib/components/ResourcesDayView/ResourcesDayView.vue.d.ts +53 -0
- package/lib/components/ResourcesMonthView/ResourcesMonthView.d.ts +10 -279
- package/lib/components/ResourcesMonthView/ResourcesMonthView.types.d.ts +233 -0
- package/lib/components/ResourcesMonthView/ResourcesMonthView.vue.d.ts +52 -0
- package/lib/components/ResourcesMonthView/get-resources-month-view-layout/get-resources-month-view-layout.d.ts +54 -0
- package/lib/components/ResourcesMonthView/index.d.ts +1 -0
- package/lib/components/ResourcesSchedule/ResourcesSchedule.d.ts +9 -201
- package/lib/components/ResourcesSchedule/ResourcesSchedule.types.d.ts +159 -0
- package/lib/components/ResourcesSchedule/ResourcesSchedule.vue.d.ts +44 -0
- package/lib/components/ResourcesWeekView/ResourcesWeekView.d.ts +10 -412
- package/lib/components/ResourcesWeekView/ResourcesWeekView.types.d.ts +314 -0
- package/lib/components/ResourcesWeekView/ResourcesWeekView.vue.d.ts +58 -0
- package/lib/components/Schedule/Schedule.d.ts +9 -134
- package/lib/components/Schedule/Schedule.types.d.ts +153 -0
- package/lib/components/Schedule/Schedule.vue.d.ts +50 -0
- package/lib/components/ScheduleEvent/ScheduleEvent.d.ts +11 -88
- package/lib/components/ScheduleEvent/ScheduleEvent.types.d.ts +109 -0
- package/lib/components/ScheduleEvent/ScheduleEvent.vue.d.ts +24 -0
- package/lib/components/ScheduleHeader/HeaderControl/HeaderControl.d.ts +36 -0
- package/lib/components/ScheduleHeader/HeaderControl/HeaderControl.types.d.ts +44 -0
- package/lib/components/ScheduleHeader/HeaderControl/HeaderControl.vue.d.ts +14 -0
- package/lib/components/ScheduleHeader/HeaderControl/ScheduleHeaderNext.vue.d.ts +11 -0
- package/lib/components/ScheduleHeader/HeaderControl/ScheduleHeaderPrevious.vue.d.ts +11 -0
- package/lib/components/ScheduleHeader/HeaderControl/ScheduleHeaderToday.vue.d.ts +11 -0
- package/lib/components/ScheduleHeader/HeaderControl/index.d.ts +1 -2
- package/lib/components/ScheduleHeader/MonthYearSelect/MonthYearSelect.d.ts +8 -0
- package/lib/components/ScheduleHeader/MonthYearSelect/MonthYearSelect.types.d.ts +70 -0
- package/lib/components/ScheduleHeader/MonthYearSelect/MonthYearSelect.vue.d.ts +21 -0
- package/lib/components/ScheduleHeader/MonthYearSelect/index.d.ts +1 -2
- package/lib/components/ScheduleHeader/ScheduleHeader.context.d.ts +12 -0
- package/lib/components/ScheduleHeader/ScheduleHeader.d.ts +20 -364
- package/lib/components/ScheduleHeader/ScheduleHeader.types.d.ts +28 -0
- package/lib/components/ScheduleHeader/ScheduleHeader.vue.d.ts +11 -0
- package/lib/components/ScheduleHeader/ScheduleHeaderBase.d.ts +37 -75
- package/lib/components/ScheduleHeader/ScheduleHeaderBase.types.d.ts +54 -0
- package/lib/components/ScheduleHeader/ScheduleHeaderBase.vue.d.ts +21 -0
- package/lib/components/ScheduleHeader/ViewSelect/ViewSelect.d.ts +8 -0
- package/lib/components/ScheduleHeader/ViewSelect/ViewSelect.types.d.ts +39 -0
- package/lib/components/ScheduleHeader/ViewSelect/ViewSelect.vue.d.ts +16 -0
- package/lib/components/ScheduleHeader/ViewSelect/index.d.ts +1 -2
- package/lib/components/ScheduleHeader/index.d.ts +4 -0
- package/lib/components/WeekView/WeekView.d.ts +10 -294
- package/lib/components/WeekView/WeekView.types.d.ts +129 -0
- package/lib/components/WeekView/WeekView.vue.d.ts +60 -0
- package/lib/components/YearView/YearView.d.ts +9 -151
- package/lib/components/YearView/YearView.types.d.ts +87 -0
- package/lib/components/YearView/YearView.vue.d.ts +35 -0
- package/lib/components/shared.d.ts +71 -141
- package/lib/components/use-slot-drag-select.d.ts +7 -9
- package/lib/components/use-slot-drop-target.d.ts +38 -0
- package/lib/hooks/use-event-resize.d.ts +1 -1
- package/lib/hooks/use-horizontal-event-resize.d.ts +2 -156
- package/lib/index.d.mts +1 -0
- package/lib/index.d.ts +1 -0
- package/package.json +4 -4
- package/styles.css +44 -54
- package/styles.layer.css +44 -54
|
@@ -21,164 +21,10 @@ export declare function useHorizontalEventResize(input: {
|
|
|
21
21
|
startTime: () => string;
|
|
22
22
|
endTime: () => string;
|
|
23
23
|
intervalMinutes: () => number;
|
|
24
|
-
onEventResize: (
|
|
24
|
+
onEventResize: (data: EventDropData) => void;
|
|
25
25
|
canResizeEvent: () => ((event: ScheduleEventData) => boolean) | undefined;
|
|
26
26
|
}): {
|
|
27
|
-
state: import("vue").
|
|
28
|
-
event: {
|
|
29
|
-
recurrence?: never | undefined;
|
|
30
|
-
recurringEventId?: never | undefined;
|
|
31
|
-
recurrenceId?: never | undefined;
|
|
32
|
-
id: string | number;
|
|
33
|
-
title: string;
|
|
34
|
-
start: Date | DateTimeStringValue;
|
|
35
|
-
end: Date | DateTimeStringValue;
|
|
36
|
-
color: import("@mantine-vue/core").MantineColor;
|
|
37
|
-
variant?: "filled" | "light" | undefined;
|
|
38
|
-
display?: "default" | "background" | undefined;
|
|
39
|
-
payload?: import("..").EventPayload | undefined;
|
|
40
|
-
resourceId?: string | number | undefined;
|
|
41
|
-
recurringInstance?: {
|
|
42
|
-
isRecurringInstance: boolean;
|
|
43
|
-
recurringEventId: string | number;
|
|
44
|
-
recurrenceId: DateTimeStringValue;
|
|
45
|
-
originalStart: DateTimeStringValue;
|
|
46
|
-
originalEnd: DateTimeStringValue;
|
|
47
|
-
} | undefined;
|
|
48
|
-
} | {
|
|
49
|
-
recurrence: {
|
|
50
|
-
rrule: string;
|
|
51
|
-
exdate?: DateTimeStringValue[] | undefined;
|
|
52
|
-
dtstart?: DateTimeStringValue | undefined;
|
|
53
|
-
};
|
|
54
|
-
recurringEventId?: never | undefined;
|
|
55
|
-
recurrenceId?: never | undefined;
|
|
56
|
-
id: string | number;
|
|
57
|
-
title: string;
|
|
58
|
-
start: Date | DateTimeStringValue;
|
|
59
|
-
end: Date | DateTimeStringValue;
|
|
60
|
-
color: import("@mantine-vue/core").MantineColor;
|
|
61
|
-
variant?: "filled" | "light" | undefined;
|
|
62
|
-
display?: "default" | "background" | undefined;
|
|
63
|
-
payload?: import("..").EventPayload | undefined;
|
|
64
|
-
resourceId?: string | number | undefined;
|
|
65
|
-
recurringInstance?: {
|
|
66
|
-
isRecurringInstance: boolean;
|
|
67
|
-
recurringEventId: string | number;
|
|
68
|
-
recurrenceId: DateTimeStringValue;
|
|
69
|
-
originalStart: DateTimeStringValue;
|
|
70
|
-
originalEnd: DateTimeStringValue;
|
|
71
|
-
} | undefined;
|
|
72
|
-
} | {
|
|
73
|
-
recurrence?: never | undefined;
|
|
74
|
-
recurringEventId: string | number;
|
|
75
|
-
recurrenceId: DateTimeStringValue;
|
|
76
|
-
id: string | number;
|
|
77
|
-
title: string;
|
|
78
|
-
start: Date | DateTimeStringValue;
|
|
79
|
-
end: Date | DateTimeStringValue;
|
|
80
|
-
color: import("@mantine-vue/core").MantineColor;
|
|
81
|
-
variant?: "filled" | "light" | undefined;
|
|
82
|
-
display?: "default" | "background" | undefined;
|
|
83
|
-
payload?: import("..").EventPayload | undefined;
|
|
84
|
-
resourceId?: string | number | undefined;
|
|
85
|
-
recurringInstance?: {
|
|
86
|
-
isRecurringInstance: boolean;
|
|
87
|
-
recurringEventId: string | number;
|
|
88
|
-
recurrenceId: DateTimeStringValue;
|
|
89
|
-
originalStart: DateTimeStringValue;
|
|
90
|
-
originalEnd: DateTimeStringValue;
|
|
91
|
-
} | undefined;
|
|
92
|
-
};
|
|
93
|
-
edge: ResizeEdge;
|
|
94
|
-
container: HTMLElement;
|
|
95
|
-
originalLeft: number;
|
|
96
|
-
originalWidth: number;
|
|
97
|
-
currentLeft: number;
|
|
98
|
-
currentWidth: number;
|
|
99
|
-
eventDate: string;
|
|
100
|
-
originalStart: DateTimeStringValue;
|
|
101
|
-
originalEnd: DateTimeStringValue;
|
|
102
|
-
dayIndex: number;
|
|
103
|
-
dayCount: number;
|
|
104
|
-
} | null, ResizeState | {
|
|
105
|
-
event: {
|
|
106
|
-
recurrence?: never | undefined;
|
|
107
|
-
recurringEventId?: never | undefined;
|
|
108
|
-
recurrenceId?: never | undefined;
|
|
109
|
-
id: string | number;
|
|
110
|
-
title: string;
|
|
111
|
-
start: Date | DateTimeStringValue;
|
|
112
|
-
end: Date | DateTimeStringValue;
|
|
113
|
-
color: import("@mantine-vue/core").MantineColor;
|
|
114
|
-
variant?: "filled" | "light" | undefined;
|
|
115
|
-
display?: "default" | "background" | undefined;
|
|
116
|
-
payload?: import("..").EventPayload | undefined;
|
|
117
|
-
resourceId?: string | number | undefined;
|
|
118
|
-
recurringInstance?: {
|
|
119
|
-
isRecurringInstance: boolean;
|
|
120
|
-
recurringEventId: string | number;
|
|
121
|
-
recurrenceId: DateTimeStringValue;
|
|
122
|
-
originalStart: DateTimeStringValue;
|
|
123
|
-
originalEnd: DateTimeStringValue;
|
|
124
|
-
} | undefined;
|
|
125
|
-
} | {
|
|
126
|
-
recurrence: {
|
|
127
|
-
rrule: string;
|
|
128
|
-
exdate?: DateTimeStringValue[] | undefined;
|
|
129
|
-
dtstart?: DateTimeStringValue | undefined;
|
|
130
|
-
};
|
|
131
|
-
recurringEventId?: never | undefined;
|
|
132
|
-
recurrenceId?: never | undefined;
|
|
133
|
-
id: string | number;
|
|
134
|
-
title: string;
|
|
135
|
-
start: Date | DateTimeStringValue;
|
|
136
|
-
end: Date | DateTimeStringValue;
|
|
137
|
-
color: import("@mantine-vue/core").MantineColor;
|
|
138
|
-
variant?: "filled" | "light" | undefined;
|
|
139
|
-
display?: "default" | "background" | undefined;
|
|
140
|
-
payload?: import("..").EventPayload | undefined;
|
|
141
|
-
resourceId?: string | number | undefined;
|
|
142
|
-
recurringInstance?: {
|
|
143
|
-
isRecurringInstance: boolean;
|
|
144
|
-
recurringEventId: string | number;
|
|
145
|
-
recurrenceId: DateTimeStringValue;
|
|
146
|
-
originalStart: DateTimeStringValue;
|
|
147
|
-
originalEnd: DateTimeStringValue;
|
|
148
|
-
} | undefined;
|
|
149
|
-
} | {
|
|
150
|
-
recurrence?: never | undefined;
|
|
151
|
-
recurringEventId: string | number;
|
|
152
|
-
recurrenceId: DateTimeStringValue;
|
|
153
|
-
id: string | number;
|
|
154
|
-
title: string;
|
|
155
|
-
start: Date | DateTimeStringValue;
|
|
156
|
-
end: Date | DateTimeStringValue;
|
|
157
|
-
color: import("@mantine-vue/core").MantineColor;
|
|
158
|
-
variant?: "filled" | "light" | undefined;
|
|
159
|
-
display?: "default" | "background" | undefined;
|
|
160
|
-
payload?: import("..").EventPayload | undefined;
|
|
161
|
-
resourceId?: string | number | undefined;
|
|
162
|
-
recurringInstance?: {
|
|
163
|
-
isRecurringInstance: boolean;
|
|
164
|
-
recurringEventId: string | number;
|
|
165
|
-
recurrenceId: DateTimeStringValue;
|
|
166
|
-
originalStart: DateTimeStringValue;
|
|
167
|
-
originalEnd: DateTimeStringValue;
|
|
168
|
-
} | undefined;
|
|
169
|
-
};
|
|
170
|
-
edge: ResizeEdge;
|
|
171
|
-
container: HTMLElement;
|
|
172
|
-
originalLeft: number;
|
|
173
|
-
originalWidth: number;
|
|
174
|
-
currentLeft: number;
|
|
175
|
-
currentWidth: number;
|
|
176
|
-
eventDate: string;
|
|
177
|
-
originalStart: DateTimeStringValue;
|
|
178
|
-
originalEnd: DateTimeStringValue;
|
|
179
|
-
dayIndex: number;
|
|
180
|
-
dayCount: number;
|
|
181
|
-
} | null>;
|
|
27
|
+
state: import("vue").ShallowRef<ResizeState | null, ResizeState | null>;
|
|
182
28
|
handleResizeStart: (params: {
|
|
183
29
|
event: ScheduleEventData;
|
|
184
30
|
edge: ResizeEdge;
|
package/lib/index.d.mts
CHANGED
package/lib/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mantine-vue/schedule",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "Vue schedule and calendar components equivalent to @mantine/schedule",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"vue": "^3.5.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@mantine-vue/core": "3.
|
|
48
|
-
"@mantine-vue/dates": "3.
|
|
49
|
-
"@mantine-vue/hooks": "3.
|
|
47
|
+
"@mantine-vue/core": "3.2.0",
|
|
48
|
+
"@mantine-vue/dates": "3.2.0",
|
|
49
|
+
"@mantine-vue/hooks": "3.2.0",
|
|
50
50
|
"dayjs": ">=1.0.0",
|
|
51
51
|
"vue": "^3.5.0"
|
|
52
52
|
}
|
package/styles.css
CHANGED
|
@@ -488,10 +488,6 @@
|
|
|
488
488
|
border-color: var(--mantine-primary-color-filled-hover);
|
|
489
489
|
}
|
|
490
490
|
}
|
|
491
|
-
._viewSelect_1xfvc_1 {
|
|
492
|
-
display: flex;
|
|
493
|
-
gap: calc(0.25rem * var(--mantine-scale));
|
|
494
|
-
}
|
|
495
491
|
._monthYearSelectTarget_2hd16_1 {
|
|
496
492
|
text-transform: capitalize;
|
|
497
493
|
min-width: calc(5rem * var(--mantine-scale));
|
|
@@ -569,7 +565,11 @@
|
|
|
569
565
|
background-color: var(--mantine-primary-color-filled-hover);
|
|
570
566
|
}
|
|
571
567
|
}
|
|
572
|
-
.
|
|
568
|
+
._viewSelect_1xfvc_1 {
|
|
569
|
+
display: flex;
|
|
570
|
+
gap: calc(0.25rem * var(--mantine-scale));
|
|
571
|
+
}
|
|
572
|
+
._dayView_r6otq_1 {
|
|
573
573
|
--slot-height: var(--day-view-slot-height, 64px); /* total height of 1 hour slot */
|
|
574
574
|
--all-day-slot-height: var(--day-view-all-day-slot-height, 44px); /* height of all day slot */
|
|
575
575
|
--day-view-slot-labels-width: calc(5rem * var(--mantine-scale));
|
|
@@ -578,55 +578,45 @@
|
|
|
578
578
|
overflow: hidden;
|
|
579
579
|
}
|
|
580
580
|
|
|
581
|
-
:where([data-mantine-color-scheme='light']) .
|
|
581
|
+
:where([data-mantine-color-scheme='light']) ._dayView_r6otq_1 {
|
|
582
582
|
--day-view-border-color: var(--mantine-color-gray-3);
|
|
583
583
|
--day-view-business-hours-bg: var(--mantine-color-white);
|
|
584
584
|
--day-view-non-business-hours-bg: var(--mantine-color-gray-0);
|
|
585
585
|
}
|
|
586
586
|
|
|
587
|
-
:where([data-mantine-color-scheme='dark']) .
|
|
587
|
+
:where([data-mantine-color-scheme='dark']) ._dayView_r6otq_1 {
|
|
588
588
|
--day-view-border-color: var(--mantine-color-dark-4);
|
|
589
589
|
--day-view-business-hours-bg: var(--mantine-color-dark-7);
|
|
590
590
|
--day-view-non-business-hours-bg: var(--mantine-color-dark-6);
|
|
591
591
|
}
|
|
592
592
|
|
|
593
|
-
.
|
|
594
|
-
text-transform: capitalize;
|
|
595
|
-
height: calc(2.5rem * var(--mantine-scale));
|
|
596
|
-
display: flex;
|
|
597
|
-
align-items: center;
|
|
598
|
-
justify-content: center;
|
|
599
|
-
font-size: var(--mantine-font-size-sm);
|
|
600
|
-
font-weight: var(--mantine-font-weight-medium);
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
._dayViewScrollArea_wgb7d_32 {
|
|
593
|
+
._dayViewScrollArea_r6otq_22 {
|
|
604
594
|
border: 1px solid var(--day-view-border-color);
|
|
605
595
|
border-radius: var(--day-view-radius);
|
|
606
596
|
overflow: hidden;
|
|
607
597
|
}
|
|
608
598
|
|
|
609
|
-
.
|
|
599
|
+
._dayViewScrollArea_r6otq_22 :where(.mantine-ScrollArea-scrollbar) {
|
|
610
600
|
z-index: 4;
|
|
611
601
|
}
|
|
612
602
|
|
|
613
|
-
.
|
|
603
|
+
._dayViewInner_r6otq_32 {
|
|
614
604
|
display: flex;
|
|
615
605
|
}
|
|
616
606
|
|
|
617
|
-
.
|
|
607
|
+
._dayViewTimeSlots_r6otq_36 {
|
|
618
608
|
position: relative;
|
|
619
609
|
}
|
|
620
610
|
|
|
621
|
-
.
|
|
611
|
+
._dayViewTimeSlots_r6otq_36:where(:first-of-type) ._dayViewSlot_r6otq_39:where([data-first]) {
|
|
622
612
|
border-top-color: transparent;
|
|
623
613
|
}
|
|
624
614
|
|
|
625
|
-
.
|
|
615
|
+
._dayViewSlotLabels_r6otq_44 {
|
|
626
616
|
width: var(--day-view-slot-labels-width);
|
|
627
617
|
}
|
|
628
618
|
|
|
629
|
-
.
|
|
619
|
+
._dayViewSlotLabel_r6otq_44 {
|
|
630
620
|
height: var(--slot-height);
|
|
631
621
|
border-top: 1px solid var(--day-view-border-color);
|
|
632
622
|
font-size: var(--mantine-font-size-sm);
|
|
@@ -635,28 +625,28 @@
|
|
|
635
625
|
font-variant-numeric: tabular-nums;
|
|
636
626
|
}
|
|
637
627
|
|
|
638
|
-
.
|
|
628
|
+
._dayViewSlotLabel_r6otq_44:where([data-all-day]) {
|
|
639
629
|
height: var(--all-day-slot-height);
|
|
640
630
|
border-top: 0;
|
|
641
631
|
}
|
|
642
632
|
|
|
643
|
-
.
|
|
633
|
+
._dayViewSlotLabel_r6otq_44:where(:first-of-type) {
|
|
644
634
|
border-top: 0;
|
|
645
635
|
}
|
|
646
636
|
|
|
647
|
-
.
|
|
637
|
+
._dayViewSlotLabel_r6otq_44:where([data-business-hours]) {
|
|
648
638
|
background-color: var(--day-view-business-hours-bg);
|
|
649
639
|
}
|
|
650
640
|
|
|
651
|
-
.
|
|
641
|
+
._dayViewSlotLabel_r6otq_44:where([data-non-business-hours]) {
|
|
652
642
|
background-color: var(--day-view-non-business-hours-bg);
|
|
653
643
|
}
|
|
654
644
|
|
|
655
|
-
.
|
|
645
|
+
._dayViewSlots_r6otq_74 {
|
|
656
646
|
flex: 1;
|
|
657
647
|
}
|
|
658
648
|
|
|
659
|
-
.
|
|
649
|
+
._dayViewSlot_r6otq_39 {
|
|
660
650
|
display: block;
|
|
661
651
|
width: 100%;
|
|
662
652
|
border-top: 1px dotted var(--day-view-border-color);
|
|
@@ -664,56 +654,56 @@
|
|
|
664
654
|
position: relative;
|
|
665
655
|
}
|
|
666
656
|
|
|
667
|
-
.
|
|
657
|
+
._dayViewSlot_r6otq_39:where(:focus) {
|
|
668
658
|
z-index: 1;
|
|
669
659
|
}
|
|
670
660
|
|
|
671
|
-
.
|
|
661
|
+
._dayViewSlot_r6otq_39:where([data-hour-start]) {
|
|
672
662
|
border-top: 1px solid var(--day-view-border-color);
|
|
673
663
|
}
|
|
674
664
|
|
|
675
665
|
@media (hover: hover) {
|
|
676
|
-
:where([data-mantine-color-scheme='light']) .
|
|
666
|
+
:where([data-mantine-color-scheme='light']) ._dayViewSlot_r6otq_39:hover {
|
|
677
667
|
background-color: var(--mantine-color-gray-1);
|
|
678
668
|
}
|
|
679
669
|
|
|
680
|
-
:where([data-mantine-color-scheme='dark']) .
|
|
670
|
+
:where([data-mantine-color-scheme='dark']) ._dayViewSlot_r6otq_39:hover {
|
|
681
671
|
background-color: var(--mantine-color-dark-5);
|
|
682
672
|
}
|
|
683
673
|
}
|
|
684
674
|
|
|
685
675
|
@media (hover: none) {
|
|
686
|
-
:where([data-mantine-color-scheme='light']) .
|
|
676
|
+
:where([data-mantine-color-scheme='light']) ._dayViewSlot_r6otq_39:active {
|
|
687
677
|
background-color: var(--mantine-color-gray-1);
|
|
688
678
|
}
|
|
689
679
|
|
|
690
|
-
:where([data-mantine-color-scheme='dark']) .
|
|
680
|
+
:where([data-mantine-color-scheme='dark']) ._dayViewSlot_r6otq_39:active {
|
|
691
681
|
background-color: var(--mantine-color-dark-5);
|
|
692
682
|
}
|
|
693
683
|
}
|
|
694
684
|
|
|
695
|
-
.
|
|
685
|
+
._dayViewSlot_r6otq_39:where([data-all-day]) {
|
|
696
686
|
height: var(--all-day-slot-height);
|
|
697
687
|
border-top: 0;
|
|
698
688
|
}
|
|
699
689
|
|
|
700
|
-
.
|
|
690
|
+
._dayViewSlot_r6otq_39:where([data-business-hours]) {
|
|
701
691
|
background-color: var(--day-view-business-hours-bg);
|
|
702
692
|
}
|
|
703
693
|
|
|
704
|
-
.
|
|
694
|
+
._dayViewSlot_r6otq_39:where([data-non-business-hours]) {
|
|
705
695
|
background-color: var(--day-view-non-business-hours-bg);
|
|
706
696
|
}
|
|
707
697
|
|
|
708
|
-
:where([data-mantine-color-scheme='light']) .
|
|
698
|
+
:where([data-mantine-color-scheme='light']) ._dayViewSlot_r6otq_39:where([data-drop-target]) {
|
|
709
699
|
background-color: var(--mantine-color-blue-1);
|
|
710
700
|
}
|
|
711
701
|
|
|
712
|
-
:where([data-mantine-color-scheme='dark']) .
|
|
702
|
+
:where([data-mantine-color-scheme='dark']) ._dayViewSlot_r6otq_39:where([data-drop-target]) {
|
|
713
703
|
background-color: var(--mantine-color-dark-5);
|
|
714
704
|
}
|
|
715
705
|
|
|
716
|
-
.
|
|
706
|
+
._dayViewSlot_r6otq_39:where([data-drop-target])::before {
|
|
717
707
|
content: '';
|
|
718
708
|
position: absolute;
|
|
719
709
|
inset: 0;
|
|
@@ -723,20 +713,20 @@
|
|
|
723
713
|
border-radius: calc(0.125rem * var(--mantine-scale));
|
|
724
714
|
}
|
|
725
715
|
|
|
726
|
-
:where([data-mantine-color-scheme='light']) .
|
|
716
|
+
:where([data-mantine-color-scheme='light']) ._dayViewSlot_r6otq_39:where([data-drop-target])::before {
|
|
727
717
|
border-color: var(--mantine-color-blue-4);
|
|
728
718
|
}
|
|
729
719
|
|
|
730
|
-
:where([data-mantine-color-scheme='dark']) .
|
|
720
|
+
:where([data-mantine-color-scheme='dark']) ._dayViewSlot_r6otq_39:where([data-drop-target])::before {
|
|
731
721
|
border-color: var(--mantine-color-blue-6);
|
|
732
722
|
}
|
|
733
723
|
|
|
734
|
-
.
|
|
735
|
-
.
|
|
724
|
+
._dayViewSlot_r6otq_39:where([data-drag-selected]),
|
|
725
|
+
._dayViewSlot_r6otq_39:where([data-drag-selected]):hover {
|
|
736
726
|
background-color: var(--mantine-primary-color-light);
|
|
737
727
|
}
|
|
738
728
|
|
|
739
|
-
.
|
|
729
|
+
._dayViewSlot_r6otq_39:where([data-drag-selected])::before {
|
|
740
730
|
content: '';
|
|
741
731
|
position: absolute;
|
|
742
732
|
inset: calc(-0.0625rem * var(--mantine-scale));
|
|
@@ -745,24 +735,24 @@
|
|
|
745
735
|
border: calc(0.0625rem * var(--mantine-scale)) solid;
|
|
746
736
|
}
|
|
747
737
|
|
|
748
|
-
:where([data-mantine-color-scheme='light']) .
|
|
738
|
+
:where([data-mantine-color-scheme='light']) ._dayViewSlot_r6otq_39:where([data-drag-selected])::before {
|
|
749
739
|
border-color: var(--mantine-primary-color-2);
|
|
750
740
|
}
|
|
751
741
|
|
|
752
|
-
:where([data-mantine-color-scheme='dark']) .
|
|
742
|
+
:where([data-mantine-color-scheme='dark']) ._dayViewSlot_r6otq_39:where([data-drag-selected])::before {
|
|
753
743
|
border-color: var(--mantine-primary-color-9);
|
|
754
744
|
}
|
|
755
745
|
|
|
756
|
-
.
|
|
746
|
+
._dayViewSlot_r6otq_39:where([data-drag-slot-index]) {
|
|
757
747
|
touch-action: none;
|
|
758
748
|
}
|
|
759
749
|
|
|
760
|
-
.
|
|
750
|
+
._dayViewSlot_r6otq_39:where([data-static]) {
|
|
761
751
|
cursor: default;
|
|
762
752
|
pointer-events: none;
|
|
763
753
|
}
|
|
764
754
|
|
|
765
|
-
.
|
|
755
|
+
._dayViewBackgroundEvent_r6otq_178 {
|
|
766
756
|
position: absolute;
|
|
767
757
|
border-radius: 0;
|
|
768
758
|
pointer-events: none;
|
|
@@ -775,12 +765,12 @@
|
|
|
775
765
|
color: var(--bg-event-color);
|
|
776
766
|
}
|
|
777
767
|
|
|
778
|
-
.
|
|
768
|
+
._dayViewAllDay_r6otq_191 {
|
|
779
769
|
position: relative;
|
|
780
770
|
height: var(--all-day-slot-height);
|
|
781
771
|
}
|
|
782
772
|
|
|
783
|
-
.
|
|
773
|
+
._dayViewAllDayEvents_r6otq_196 {
|
|
784
774
|
position: absolute;
|
|
785
775
|
inset: 0;
|
|
786
776
|
display: flex;
|