@if (active()) { }
{{ "noFiltersMatch" | i18n: searchTerm() }} @if (showSearch()) {
} @if (multiple()) {
@for (node of treeNodes(); track $index) { @let expandable = node.row.expandable(); @let checked = nodeChecked(node);
@if (expandable) { } @else if (node.reserveExpander) { } @if (checked !== null) { } @if (asOption(node.row); as option) { @let tile = option.iconTile(); @if (tile) { } } {{ node.row.label() }} @if (asSection(node.row); as section) { } @else if (asOption(node.row); as option) { @let count = optionCounts().get(option); @if (count != null) { {{ count }} } }
}
@if (noResults()) { } } @else {
@if (!multiple()) { @let allSelected = isSelected(clearValue); } @for (entry of entries(); track $index) { @if (asSection(entry); as section) { @if (rowVisible(section)) { @if (section.collapsible()) { } @else {
{{ section.label() }}
} @if (section.open()) { @for (option of section.options(); track option.value()) { @if (rowVisible(option)) { } } } } } @else if (asOption(entry); as option) { @if (rowVisible(option)) { } } } @if (noResults()) { }
}
@if (menuTrigger.isOpen) { }
@if (multiple() && active()) {
{{ "filtersSelected" | i18n: selectedCount() }}
}