@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()) @if ($filter->hasCustomPillBlade()) @include($filter->getCustomPillBlade(), ['filter' => $filter]) @else {{ $filter->getFilterPillTitle() }}: {{ $filter->getFilterPillValue($value) }} @endif @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()) @if ($filter->hasCustomPillBlade()) @include($filter->getCustomPillBlade(), ['filter' => $filter]) @else {{ $filter->getFilterPillTitle() }}: {{ $filter->getFilterPillValue($value) }} @lang('Remove filter option') @endif @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()) @if ($filter->hasCustomPillBlade()) @include($filter->getCustomPillBlade(), ['filter' => $filter]) @else {{ $filter->getFilterPillTitle() }}: {{ $filter->getFilterPillValue($value) }} @lang('Remove filter option') @endif @endforeach @lang('Clear')
@endif
@endif