-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1037 from geonetwork/me-search-filters-summary
Editor: Add a search filters summary component
- Loading branch information
Showing
35 changed files
with
861 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 17 additions & 10 deletions
27
apps/metadata-editor/src/app/dashboard/search-filters/search-filters.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,20 @@ | ||
<div | ||
class="flex flex-row py-3 px-4 gap-4 shadow-md shadow-gray-300 border-[1px] border-gray-200 overflow-hidden rounded bg-white grow mx-[32px] my-[16px] text-sm" | ||
class="rounded bg-white shadow-md shadow-gray-300 border-[1px] border-gray-200 mx-[32px] my-[16px] text-sm" | ||
> | ||
<ng-icon class="mt-0.5" name="iconoirFilterList"></ng-icon> | ||
<gn-ui-filter-dropdown | ||
*ngFor="let filter of searchConfig; let i = index" | ||
[fieldName]="filter.fieldName" | ||
[title]="filter.title | translate" | ||
[style.--gn-ui-button-height]="'32px'" | ||
[style.--gn-ui-multiselect-counter-text-color]="'var(--color-primary)'" | ||
[style.--gn-ui-multiselect-counter-background-color]="'white'" | ||
></gn-ui-filter-dropdown> | ||
<div | ||
class="flex flex-row py-3 px-4 gap-4 overflow-hidden grow border-[1px] border-gray-200" | ||
> | ||
<ng-icon class="mt-0.5" name="iconoirFilterList"></ng-icon> | ||
<gn-ui-filter-dropdown | ||
*ngFor="let filter of searchConfig; let i = index" | ||
[fieldName]="filter.fieldName" | ||
[title]="filter.title | translate" | ||
[style.--gn-ui-button-height]="'32px'" | ||
[style.--gn-ui-multiselect-counter-text-color]="'var(--color-primary)'" | ||
[style.--gn-ui-multiselect-counter-background-color]="'white'" | ||
></gn-ui-filter-dropdown> | ||
</div> | ||
<gn-ui-search-filters-summary | ||
[searchFields]="searchFields" | ||
></gn-ui-search-filters-summary> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.