style(indicadores): general filters as one compact row, like the Seguimiento form
How: the period editor puts Intervalo de análisis, Periodo seleccionado, Aplicar and the "Hay cambios sin aplicar" notice on one row, with Material density -4 (mat.theme((density: -4)) scoped to the component), and folds the applied filter and the availability hint into one small line under it. The "Selección en edición" and "Sin cambios pendientes" lines are gone: the selectors already show the draft, and the notice only appears when there is something pending. The section has less padding, a smaller title and a one-line description per domain. Implications: purely presentational; the filter state, the apply rules and the requests don't change, and every spec passes unchanged. The density applies only inside the period editor, so other form fields keep the global density.
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
@if (!catalogLoading() && filters; as state) {
|
||||
<section class="global-filters" aria-labelledby="global-filters-title" [attr.data-domain]="dominio">
|
||||
<h2 id="global-filters-title" class="section-title">Filtros generales de {{ domainLabels[dominio] }}</h2>
|
||||
<p class="section-description">{{ dominio === 'cacu' ? 'La selección se aplica a los indicadores de oportunidad y las gráficas, salvo las que indican selección independiente: Todos con reporte.' : 'La selección aplicada se comparte entre las figuras y los indicadores destacados de este proyecto.' }}</p>
|
||||
<p class="section-description">{{ dominio === 'tea' ? 'Se aplica a las figuras y los indicadores destacados.' : 'Se aplica a los indicadores de oportunidad y las gráficas, salvo las de selección independiente.' }}</p>
|
||||
<app-indicador-period-filters [state]="state" [types]="filterTypes()" [availability]="availability()" [initialPresentation]="initialPeriodBlocked"
|
||||
(retryAvailability)="retryAvailability()"
|
||||
(edited)="editFilters()" (apply)="applyFilters()" />
|
||||
|
||||
Reference in New Issue
Block a user