Package-level declarations

Properties

Link copied to clipboard

titleStyle -> the style to apply to the title of the EquinoxAlertDialog

Functions

Link copied to clipboard
fun CategoryChip(category: StringResource, onClick: (Boolean) -> Unit)

Custom FilterChip used to select a specific category of items to select

Link copied to clipboard

Alert to warn about the account deletion

Link copied to clipboard
fun DeleteRevenue(show: MutableState<Boolean>, viewModel: RevenueRelatedScreenViewModel, revenue: Revenue, onDelete: () -> Unit)

Custom EquinoxAlertDialog used to warn the user about the deletion of a Revenue

Link copied to clipboard

Custom EquinoxAlertDialog used to warn the user about the deletion of a TicketRevenue

Link copied to clipboard
fun FirstPageProgressIndicator(modifier: Modifier = Modifier)

The custom progress indicator visible when the first page of the items requested has been loading

Link copied to clipboard
fun LabelsGrid(modifier: Modifier = Modifier, labelsRetriever: RevenueLabelsRetriever, labels: SnapshotStateList<RevenueLabel>)

Grid used to display a list of labels

Link copied to clipboard

Alert to warn about the logout action

Link copied to clipboard
fun NewPageProgressIndicator(modifier: Modifier = Modifier)

The custom progress indicator visible when a new page of items has been requested

Link copied to clipboard
fun NoRevenues(titleRes: StringResource)

Empty state displayed when there are no revenues available

Link copied to clipboard

Custom FilterChip used to select a RevenuePeriod value

Link copied to clipboard
fun ProfilePic(profilePic: String?, size: Dp, onClick: () -> Unit)

Component used to display the profile picture of the com.tecknobit.neutron.localUser

Link copied to clipboard

Used to display the description of a revenue

Link copied to clipboard
fun RevenueInfo(viewModel: RevenueRelatedScreenViewModel, revenue: Revenue, customTitle: String? = null, dateHeader: StringResource = Res.string.date, pattern: String = COMPLETE_EUROPEAN_DATE_PATTERN)

Used to display the information of a Revenue such title, value, etc

Link copied to clipboard
fun RevenueListItem(viewModel: RevenueRelatedScreenViewModel, revenue: Revenue, labels: List<RevenueLabel>, containerColor: Color, overline: @Composable (List<RevenueLabel>) -> Unit = { ticketLabel -> RevenueLabels( labels = ticketLabel ) }, info: @Composable () -> Unit = { RevenueInfo( viewModel = viewModel, revenue = revenue ) }, allowEdit: Boolean = true, onEdit: () -> Unit, deleteIcon: ImageVector, actionButton: @Composable () -> Unit, deleteAlertDialog: @Composable (MutableState<Boolean>) -> Unit)

Custom ListItem used to display and to manage a revenue

Link copied to clipboard

Used to display the information of a TicketRevenue such title, opening date, closing date, etc