{{ t('main.books') }} {{ totalBooks$ | async }}
{{ t('main.authors') }} {{ totalAuthors$ | async }}
{{ t('main.series') }} {{ totalSeries$ | async }}
{{ t('main.publishers') }} {{ totalPublishers$ | async }}
{{ t('main.librarySize') }} {{ totalSize$ | async }}
@if (showConfigPanel) {

{{ t('config.title') }}

{{ t('config.smallCharts') }}

@for (chart of getChartsByCategory('small'); track chart.id) {
}

{{ t('config.largeCharts') }}

@for (chart of getChartsByCategory('large'); track chart.id) {
}

{{ t('config.xlargeCharts') }}

@for (chart of getChartsByCategory('xlarge'); track chart.id) {
}
} @if (!isLoading && hasData) {
@for (chartConfig of getEnabledChartsSorted(); track chartConfig.id) {
@switch (chartConfig.id) { @case ('bookFormats') { } @case ('languageDistribution') { } @case ('metadataScore') { } @case ('pageCountDistribution') { } @case ('publicationTimeline') { } @case ('publicationTrend') { } @case ('readingJourney') { } @case ('topItems') { } @case ('authorUniverse') { } }
}
} @if (isLoading) {
{{ t('main.loading') }}
} @if (!isLoading && !hasData) {
{{ t('main.noData') }} {{ t('main.noDataHint') }}
}