@aware(['component']) @php $theme = $component->getTheme(); @endphp @if ($theme === 'tailwind')
@if ($component->filtersAreEnabled() && $component->filterPillsAreEnabled() && $component->hasAppliedVisibleFiltersForPills())
@lang('Applied Filters'): @foreach($component->getAppliedFiltersWithValues() as $filterSelectName => $value) @php $filter = $component->getFilterByKey($filterSelectName); @endphp @continue(is_null($filter)) @continue($filter->isHiddenFromPills()) {{ $filter->getFilterPillTitle() }}: {{ $filter->getFilterPillValue($value) }} @endforeach
@endif
@elseif ($theme === 'bootstrap-4')
@if ($component->filtersAreEnabled() && $component->filterPillsAreEnabled() && $component->hasAppliedVisibleFiltersForPills())
@lang('Applied Filters'): @foreach($component->getAppliedFiltersWithValues() as $filterSelectName => $value) @php $filter = $component->getFilterByKey($filterSelectName); @endphp @continue(is_null($filter)) @continue($filter->isHiddenFromPills()) {{ $filter->getFilterPillTitle() }}: {{ $filter->getFilterPillValue($value) }} @lang('Remove filter option') @endforeach @lang('Clear')
@endif
@elseif ($theme === 'bootstrap-5')
@if ($component->filtersAreEnabled() && $component->filterPillsAreEnabled() && $component->hasAppliedVisibleFiltersForPills())
@lang('Applied Filters'): @foreach($component->getAppliedFiltersWithValues() as $filterSelectName => $value) @php $filter = $component->getFilterByKey($filterSelectName); @endphp @continue(is_null($filter)) @continue($filter->isHiddenFromPills()) {{ $filter->getFilterPillTitle() }}: {{ $filter->getFilterPillValue($value) }} @lang('Remove filter option') @endforeach @lang('Clear')
@endif
@endif