95 lines
3.7 KiB
HTML
95 lines
3.7 KiB
HTML
<app-page-container>
|
|
<div class="dashboard-wrapper">
|
|
<app-dashboard-filter
|
|
[periodMode]="dashboard.periodMode"
|
|
[minYear]="dashboard.minYear"
|
|
[maxYear]="dashboard.maxYear"
|
|
[(startYear)]="dashboard.fromYear"
|
|
[(endYear)]="dashboard.toYear"
|
|
[institutions]="dashboard.institutions"
|
|
[institutionsLoading]="dashboard.institutionsLoading"
|
|
[selectedInstitutionId]="dashboard.selectedInstitutionId"
|
|
(periodModeSelected)="setDashboardPeriodMode($event)"
|
|
(periodRangeChanged)="onDashboardPeriodRangeChange()"
|
|
(institutionSelected)="onDashboardInstitutionChange($event)" />
|
|
|
|
<app-dashboard-statistics-grid
|
|
[statistics]="dashboard.statistics"
|
|
[loading]="dashboard.statisticLoading"
|
|
[institutions]="dashboard.institutions"
|
|
[selectedInstitutionId]="dashboard.selectedInstitutionId"
|
|
[periodMode]="dashboard.periodMode"
|
|
[fromYear]="dashboard.fromYear"
|
|
[toYear]="dashboard.toYear" />
|
|
|
|
@if (dashboard.statisticsError) {
|
|
<p class="statistics-error">
|
|
Die Kennzahlen konnten nicht geladen werden.
|
|
</p>
|
|
}
|
|
|
|
<app-dashboard-institution-tabs
|
|
[institutions]="dashboard.institutions"
|
|
[selectedInstitutionId]="selectedAnalyticalInstitutionId"
|
|
[error]="dashboard.institutionsError"
|
|
(institutionSelected)="onAnalyticalInstitutionChange($event)" />
|
|
|
|
<app-dashboard-project-status
|
|
[active]="!!selectedAnalyticalInstitutionId"
|
|
[euStatuses]="dashboard.euProjectStatuses"
|
|
[bundStatuses]="dashboard.bmbfProjectStatuses"
|
|
[dfgStatuses]="dashboard.dfgProjectStatuses"
|
|
[euLoading]="dashboard.euProjectStatusesLoading"
|
|
[bundLoading]="dashboard.bmbfProjectStatusesLoading"
|
|
[dfgLoading]="dashboard.dfgProjectStatusesLoading"
|
|
[euError]="dashboard.euProjectStatusesError"
|
|
[bundError]="dashboard.bmbfProjectStatusesError"
|
|
[dfgError]="dashboard.dfgProjectStatusesError" />
|
|
|
|
@if (selectedAnalyticalInstitutionId) {
|
|
<app-dashboard-field-treemap
|
|
[treemap]="dashboard.topicTreemap"
|
|
[loading]="dashboard.topicTreemapLoading"
|
|
[error]="dashboard.topicTreemapError"
|
|
[(selectedNodeId)]="selectedTopicTreemapNode"
|
|
[periodMode]="dashboard.periodMode"
|
|
[fromYear]="dashboard.fromYear"
|
|
[toYear]="dashboard.toYear"
|
|
[institutionId]="selectedAnalyticalInstitutionId"
|
|
(selectedNodeIdChange)="onTopicTreemapNodeChange()" />
|
|
|
|
<app-project-topics
|
|
source="dfg"
|
|
[projectTopics]="dashboard.dfgProjectTopics"
|
|
[treemap]="dashboard.dfgTopicTreemap"
|
|
[loading]="dashboard.dfgTopicsLoading"
|
|
[error]="dashboard.dfgTopicsError"
|
|
[(selectedNodeId)]="selectedDfgTopicTreemapNode"
|
|
(selectedNodeIdChange)="onDfgTopicTreemapNodeChange()" />
|
|
|
|
<app-project-topics
|
|
source="eu"
|
|
[projectTopics]="dashboard.euProjectTopics"
|
|
[treemap]="dashboard.euTopicTreemap"
|
|
[loading]="dashboard.euTopicsLoading"
|
|
[error]="dashboard.euTopicsError"
|
|
[(selectedNodeId)]="selectedEuTopicTreemapNode"
|
|
(selectedNodeIdChange)="onEuTopicTreemapNodeChange()" />
|
|
|
|
<app-project-topics
|
|
source="bund"
|
|
[projectTopics]="dashboard.bundProjectTopics"
|
|
[treemap]="dashboard.bundTopicTreemap"
|
|
[loading]="dashboard.bundTopicsLoading"
|
|
[error]="dashboard.bundTopicsError"
|
|
[(selectedNodeId)]="selectedBundTopicTreemapNode"
|
|
(selectedNodeIdChange)="onBundTopicTreemapNodeChange()" />
|
|
|
|
<app-dashboard-top-authors
|
|
[statistics]="dashboard.topAuthors"
|
|
[loading]="dashboard.topAuthorsLoading"
|
|
[error]="dashboard.topAuthorsError" />
|
|
}
|
|
</div>
|
|
</app-page-container>
|