@let collapsed = (isCollapsed$ | async); @let hasActive = (hasActiveFilters$ | async); @let activeCount = (activeFiltersCount$ | async); @let filteredCount = (filteredPluginsCount$ | async);

Filters

@if (activeCount; as count) {
}
@if (!collapsed) {
@if(filterSections[0]?.visible) {
@if (filterSections[0]?.expanded) {
@if (filterForm.get('search')?.value) { } @for(suggestion of searchSuggestions$ | async; track suggestion) { {{ suggestion }} }
@for(option of sortOptions; track option) { {{ formatSortOption(option) }} }
}
} @if(filterSections[1]?.visible) {
@if (filterSections[1]?.expanded) {
@if (isCategoriesLoading && categoryOptions.length === 0) {
Loading categories...
} @if (!isCategoriesLoading && hasCategoriesLoaded && categoryOptions.length === 0) {

No categories available

} @if (categoryOptions.length > 0) {
@for(category of categoryOptions; track category.value) { }
@if (isCategoriesLoadingMore) {
Loading more...
} @if (!hasMoreCategories && categoryOptions.length > 0) {
No more categories
}
}
}
} @if(filterSections[2]?.visible) {
@if (filterSections[2]?.expanded) {
Status
@for(status of statusOptions; track status) {
}
Type
@for(type of typeOptions; track type) {
}
Featured Plugins
Verified Plugins
}
} @if(filterSections[3]?.visible) {
@if (filterSections[3]?.expanded) {
@for(category of priceCategories; track category) { }
to
}
} @if(filterSections[4]?.visible && showAdvanced) {
@if (filterSections[4]?.expanded) {
All Authors @for(author of authorOptions; track author) { {{ author }} }
@for(license of licenseOptions; track license) { {{ license }} }
to
}
}
} @if (isMobile && !collapsed) {
@if (!hasActive) { } @if((filterForm.get('search')?.value)) { } @if((filterForm.get('categories')?.value?.length)) { } @if((filterForm.get('status')?.value?.length)) { }
} @if (isLoading) {
Applying filters...
}