Package-level declarations

Types

Link copied to clipboard
class ReportDataManager(val reportStructure: ReportStructure) : KoinComponent

Manager odpowiedzialny za budowanie zapytań SQL i pobieranie danych dla raportów.

Link copied to clipboard
class ReportHandler(reportStructureBuilder: ReportStructureBuilder, val handlerScope: CoroutineScope = CoroutineScope(SupervisorJob() + Dispatchers.IO))

Główny kontroler systemu raportowania - zarządza stanem i logiką biznesową raportów.

Link copied to clipboard
class ReportScreen(val title: String, val reportHandler: ReportHandler) : Screen
Link copied to clipboard
data class ReportState(val data: List<Map<String, Any?>> = emptyList(), val isLoading: Boolean = false, val error: String? = null, val pagination: ReportPaginationState = ReportPaginationState(), var columnKeysOrder: List<String> = emptyList(), val visibleColumns: Set<String> = emptySet(), val originalVisibleColumns: Set<String> = emptySet(), val sortOrder: List<Pair<String, SortDirection>> = emptyList(), val filterData: Map<String, FilterData> = emptyMap(), val searchQuery: String = "")

Reaktywny stan raportu przechowujący wszystkie dane potrzebne do renderowania tabeli.

Link copied to clipboard
class ReportStructure(val queryFragment: QueryFragment, val initColumns: Map<String, ReportColumn>, val reportName: String, val rowActions: List<ReportRowAction> = emptyList(), val defaultRowAction: ReportRowAction? = null, val mainActions: List<ReportMainAction> = emptyList(), val quickSearchMapper: (String) -> QueryFragment?? = null)

Definicja struktury raportu - schemat określająca zapytania, kolumny i akcje.

Link copied to clipboard
abstract class ReportStructureBuilder : KoinComponent

Abstrakcyjna fabryka do tworzenia struktur raportów.

Properties

Link copied to clipboard
val LocalReportHandler: ProvidableCompositionLocal<ReportHandler>