Package-level declarations

Functions

Link copied to clipboard
Link copied to clipboard
fun CampsiteCheckAvailabilityScreen(navController: NavController, controllers: AppControllers, campsiteId: String)

Displays campsite information and a form for selecting reservation dates and guest count.

Link copied to clipboard
fun CampsiteDetailsScreen(navController: NavController, controllers: AppControllers, campsiteId: String)

Displays detailed information about a selected campsite.

Link copied to clipboard
fun CreateScreen(navController: NavController, controllers: AppControllers, showMap: Boolean = true)

Create Screen for creating a new campsite and associated lottery.

Link copied to clipboard
Link copied to clipboard
fun DisplayTag(text: String, bgColor: Color, borderColor: Color)

Displays a campsite tag with customizable colors.

Link copied to clipboard
fun EditProfileScreen(navController: NavController, controllers: AppControllers)

Allows users to edit their profile information.

Link copied to clipboard

Displays the campsite exploration screen.

Link copied to clipboard
fun ExploreMapScreen(navController: NavController, controllers: AppControllers, showMap: Boolean = true)

Displays the campsite exploration screen with an interactive map.

Link copied to clipboard
fun HomeScreen(navController: NavController, controllers: AppControllers)

Displays the application's home screen for browsing campsites.

Link copied to clipboard

Displays the user's lottery bookings screen.

Link copied to clipboard
fun LotteryEnteredScreen(navController: NavController, controllers: AppControllers, campsiteId: String, fromDate: LocalDate, endDate: LocalDate, numPeople: Int)

Displays a confirmation of successful lottery entry.

Link copied to clipboard

Displays the application's notification management screen.

Link copied to clipboard

Displays the user's past bookings screen.

Link copied to clipboard
fun ProfileScreen(navController: NavController, controllers: AppControllers)

Displays the user's profile and account options.

Link copied to clipboard
fun RegistrationStatusScreen(navController: NavController, controllers: AppControllers, campsiteId: String, fromDate: LocalDate, endDate: LocalDate, numPeople: Int)

Displays the campsite registration status and lottery entry options.

Link copied to clipboard
fun ReservationCard(reservation: Reservation, campsite: Campsite?, modifier: Modifier)
Link copied to clipboard

Displays a heading for a section of the application.

Link copied to clipboard
fun SignupScreen(navController: NavController, controllers: AppControllers? = null, onCreateEntrant: suspend (String, String, String) -> Boolean = { name, email, phone -> requireNotNull(controllers) .users .createEntrant(name, email, phone) })

Displays the account registration screen.