@schedule-x/calendar-controls
Advanced tools
Comparing version 2.15.1 to 2.16.0
@@ -204,2 +204,3 @@ import { Signal, ReadonlySignal } from "@preact/signals"; | ||
_totalConcurrentEvents: number | undefined; | ||
_maxConcurrentEvents: number | undefined; | ||
// week date grid | ||
@@ -354,3 +355,3 @@ _nDaysInGrid: number | undefined; | ||
} | ||
type Language = DatePickerTranslations & CalendarTranslations; | ||
type Language = Partial<DatePickerTranslations> & Partial<CalendarTranslations> & Record<string, string>; // enable custom & premium plugins to use the default translator | ||
type WeekOptions = { | ||
@@ -361,2 +362,3 @@ gridHeight: number; | ||
timeAxisFormatOptions: Intl.DateTimeFormatOptions; | ||
eventOverlap: boolean; | ||
}; | ||
@@ -507,3 +509,3 @@ type MonthGridOptions = { | ||
setDayBoundaries(dayBoundaries: DayBoundariesExternal): void; | ||
setWeekOptions(weekOptions: WeekOptions): void; | ||
setWeekOptions(weekOptions: Partial<WeekOptions>): void; | ||
setCalendars(calendars: Record<string, CalendarType>): void; | ||
@@ -510,0 +512,0 @@ setMinDate(minDate: string | undefined): void; |
@@ -204,2 +204,3 @@ import { Signal, ReadonlySignal } from "@preact/signals"; | ||
_totalConcurrentEvents: number | undefined; | ||
_maxConcurrentEvents: number | undefined; | ||
// week date grid | ||
@@ -354,3 +355,3 @@ _nDaysInGrid: number | undefined; | ||
} | ||
type Language = DatePickerTranslations & CalendarTranslations; | ||
type Language = Partial<DatePickerTranslations> & Partial<CalendarTranslations> & Record<string, string>; // enable custom & premium plugins to use the default translator | ||
type WeekOptions = { | ||
@@ -361,2 +362,3 @@ gridHeight: number; | ||
timeAxisFormatOptions: Intl.DateTimeFormatOptions; | ||
eventOverlap: boolean; | ||
}; | ||
@@ -507,3 +509,3 @@ type MonthGridOptions = { | ||
setDayBoundaries(dayBoundaries: DayBoundariesExternal): void; | ||
setWeekOptions(weekOptions: WeekOptions): void; | ||
setWeekOptions(weekOptions: Partial<WeekOptions>): void; | ||
setCalendars(calendars: Record<string, CalendarType>): void; | ||
@@ -510,0 +512,0 @@ setMinDate(minDate: string | undefined): void; |
@@ -204,2 +204,3 @@ import { Signal, ReadonlySignal } from "@preact/signals"; | ||
_totalConcurrentEvents: number | undefined; | ||
_maxConcurrentEvents: number | undefined; | ||
// week date grid | ||
@@ -354,3 +355,3 @@ _nDaysInGrid: number | undefined; | ||
} | ||
type Language = DatePickerTranslations & CalendarTranslations; | ||
type Language = Partial<DatePickerTranslations> & Partial<CalendarTranslations> & Record<string, string>; // enable custom & premium plugins to use the default translator | ||
type WeekOptions = { | ||
@@ -361,2 +362,3 @@ gridHeight: number; | ||
timeAxisFormatOptions: Intl.DateTimeFormatOptions; | ||
eventOverlap: boolean; | ||
}; | ||
@@ -507,3 +509,3 @@ type MonthGridOptions = { | ||
setDayBoundaries(dayBoundaries: DayBoundariesExternal): void; | ||
setWeekOptions(weekOptions: WeekOptions): void; | ||
setWeekOptions(weekOptions: Partial<WeekOptions>): void; | ||
setCalendars(calendars: Record<string, CalendarType>): void; | ||
@@ -510,0 +512,0 @@ setMinDate(minDate: string | undefined): void; |
{ | ||
"name": "@schedule-x/calendar-controls", | ||
"umdName": "SXCalendarControls", | ||
"version": "2.15.1", | ||
"version": "2.16.0", | ||
"description": "Plugin for extra controls for the Schedule-X calendar", | ||
@@ -31,3 +31,3 @@ "author": { | ||
"homepage": "https://schedule-x.dev", | ||
"gitHead": "4a0a571c83e60c411b5ba98cd50858abd6b55de7" | ||
"gitHead": "af6a1554b071114c0abb6f3ae9dc44c6e148cad7" | ||
} |
81603
2218