Package-level declarations

Types

Link copied to clipboard

Calendar public API.

Link copied to clipboard
sealed interface CalendarEffect

Describes any side effects from the calendar.

Link copied to clipboard
data class CalendarParams(val selectionMode: CalendarParams.SelectionMode, val range: ClosedRange<LocalDate> = LocalDate.now()..LocalDate.now().plusYears(1), val cellsInfo: Map<LocalDate, CellInfo> = emptyMap(), val locale: Locale = Locale.getDefault(), val dayOfWeekText: TextStyle = findBestWeekdayStyleForLocale(locale), val dateContentDescriptionStyle: FormatStyle = FormatStyle.FULL, val now: LocalDate = LocalDate.now(), val yearLabelInMonthHeader: Boolean = false)

Describes the calendar configuration.

Link copied to clipboard

Describes the current selection in the calendar

Link copied to clipboard
data class CalendarState(val params: CalendarParams, val selection: CalendarSelection = CalendarSelection.None, val cells: CalendarCells = CalendarCells(params, selection))

The model containing all the information describing BpkCalendar in the moment.

Link copied to clipboard
data class CellInfo(val disabled: Boolean = false, val status: CellStatus? = null, val highlighted: Boolean = false, val label: CellLabel = CellLabel.Text(""), val style: CellStatusStyle = CellStatusStyle.Label) : Serializable

Additional information to be added to dates cell

Link copied to clipboard
sealed class CellLabel : Serializable

Describes the label of the cell

Link copied to clipboard

Describes the colouring of the cell

Link copied to clipboard

Describes the colouring behaviour of the cell