+ @if (typesInTabs.length === 1 && showLabel) { +
{{ typesInTabs[0].label | translate }}
+ } + +
+
+ @if (showSearchInput) { + + } +
+ +
+ @if (hasNoRecord) { +
{{ emptyRecordMessage }}
+ @if (adminMode.can && addStatus.can) { + + + Add + + } + + + } @else { +
+ @if (resultsText$ | async; as resultsText) { +
+ {{ resultsText }} +
+ } +
+ @if (adminMode.can && addStatus.can) { + + + Add + + } + + @if (sortOptions.length > 0) { +
+ + +
+ } + + + +
+ + +
+
+
+ +
+ + + + @if ((aggregations && aggregations.length) || searchFields.length > 0 || + searchFilters.length > 0) { +
+ @if (searchFields.length > 0 && q) { +
+ @if (searchFields.length === 1) { + + } @else { + + + } +
+ } @if (searchFilters) { +
+ @for (searchFilter of searchFilters; track searchFilter) { @if + (!$any(searchFilter).filters) { @if (showFilter($any(searchFilter))) { + + } } @else { @if (showFilterSection($any(searchFilter))) { +
{{ searchFilter.label | translate }}
+ @for (searchFilterSection of $any(searchFilter).filters; track + searchFilterSection) { @if (showFilter(searchFilterSection)) { + + } } } } } +
+ } + +
+ + + @if (filter.url) { @if (filter.url.external) { + + + + } @else { + + + + } } +
+
+ + @if (!showEmptySearchMessage || q) { + + @for (item of aggregations; track item) { +
+ @if (!aggregationsToHide.includes(item.key)) { + + + } +
+ } } +
+ } +
+ @if (showEmptySearchMessage) { +
+ + {{ "Enter a query to get results." | translate }} +
+ } + +
    + @for (record of records; track record) { +
  • + + +
  • + } +
+ @if (showPagination) { + + + } + + +
+
+ + } +