@aware(['component', 'tableName','isTailwind','isBootstrap','isBootstrap4','isBootstrap5']) @if ($this->isTailwind)
@if ($this->sortingPillsAreEnabled() && $this->hasSorts())
@lang('livewire-tables::Applied Sorting'): @foreach($this->getSorts() as $columnSelectName => $direction) @php($column = $this->getColumnBySelectName($columnSelectName) ?? $this->getColumnBySlug($columnSelectName)) @continue(is_null($column)) @continue($column->isHidden()) @continue($this->columnSelectIsEnabled() && ! $this->columnSelectIsEnabledForColumn($column)) {{ $column->getSortingPillTitle() }}: {{ $column->getSortingPillDirectionLabel($direction, $this->getDefaultSortingLabelAsc, $this->getDefaultSortingLabelDesc) }} @endforeach
@endif
@elseif ($this->isBootstrap4)
@if ($this->sortingPillsAreEnabled() && $this->hasSorts())
@lang('livewire-tables::Applied Sorting'): @foreach($this->getSorts() as $columnSelectName => $direction) @php($column = $this->getColumnBySelectName($columnSelectName) ?? $this->getColumnBySlug($columnSelectName)) @continue(is_null($column)) @continue($column->isHidden()) @continue($this->columnSelectIsEnabled() && ! $this->columnSelectIsEnabledForColumn($column)) {{ $column->getSortingPillTitle() }}: {{ $column->getSortingPillDirectionLabel($direction, $this->getDefaultSortingLabelAsc, $this->getDefaultSortingLabelDesc) }} @lang('livewire-tables::Remove sort option') @endforeach @lang('livewire-tables::Clear')
@endif
@elseif ($this->isBootstrap5)
@if ($this->sortingPillsAreEnabled() && $this->hasSorts())
@lang('livewire-tables::Applied Sorting'): @foreach($this->getSorts() as $columnSelectName => $direction) @php($column = $this->getColumnBySelectName($columnSelectName) ?? $this->getColumnBySlug($columnSelectName)) @continue(is_null($column)) @continue($column->isHidden()) @continue($this->columnSelectIsEnabled() && ! $this->columnSelectIsEnabledForColumn($column)) {{ $column->getSortingPillTitle() }}: {{ $column->getSortingPillDirectionLabel($direction, $this->getDefaultSortingLabelAsc, $this->getDefaultSortingLabelDesc) }} @lang('livewire-tables::Remove sort option') @endforeach @lang('livewire-tables::Clear')
@endif
@endif