@aware(['component']) @php $theme = $component->getTheme(); @endphp @if ($component->hasConfigurableAreaFor('before-toolbar')) @include($component->getConfigurableAreaFor('before-toolbar'), $component->getParametersForConfigurableArea('before-toolbar')) @endif @if ($theme === 'tailwind')
@if ($component->hasConfigurableAreaFor('toolbar-left-start')) @include($component->getConfigurableAreaFor('toolbar-left-start'), $component->getParametersForConfigurableArea('toolbar-left-start')) @endif @if ($component->reorderIsEnabled()) @endif @if ($component->searchIsEnabled() && $component->searchVisibilityIsEnabled())
getSearchOptions() }}="{{ $component->getTableName() }}.search" placeholder="{{ __('Search') }}" type="text" class="block w-full border-gray-300 rounded-md shadow-sm transition duration-150 ease-in-out sm:text-sm sm:leading-5 dark:bg-gray-700 dark:text-white dark:border-gray-600 @if ($component->hasSearch()) rounded-none rounded-l-md focus:ring-0 focus:border-gray-300 @else focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 rounded-md @endif" /> @if ($component->hasSearch()) @endif
@endif @if ($component->filtersAreEnabled() && $component->filtersVisibilityIsEnabled() && $component->hasVisibleFilters())
isFilterLayoutPopover()) x-data="{ open: false }" x-on:keydown.escape.stop="open = false" x-on:mousedown.away="open = false" @endif class="relative block md:inline-block text-left" >
@if ($component->isFilterLayoutPopover()) @endif
@endif @if ($component->hasConfigurableAreaFor('toolbar-left-end')) @include($component->getConfigurableAreaFor('toolbar-left-end'), $component->getParametersForConfigurableArea('toolbar-left-end')) @endif
@if ($component->hasConfigurableAreaFor('toolbar-right-start')) @include($component->getConfigurableAreaFor('toolbar-right-start'), $component->getParametersForConfigurableArea('toolbar-right-start')) @endif @if ($component->showBulkActionsDropdown())
@endif @if ($component->columnSelectIsEnabled())
@endif @if ($component->paginationIsEnabled() && $component->perPageVisibilityIsEnabled())
@endif @if ($component->hasConfigurableAreaFor('toolbar-right-end')) @include($component->getConfigurableAreaFor('toolbar-right-end'), $component->getParametersForConfigurableArea('toolbar-right-end')) @endif
@if ($component->filtersAreEnabled() && $component->filtersVisibilityIsEnabled() && $component->hasVisibleFilters() && $component->isFilterLayoutSlideDown())
@foreach($component->getFilters() as $filter) @if($filter->isVisibleInMenus())
{{ $filter->render($component) }}
@endif @endforeach
@endif @elseif ($theme === 'bootstrap-4')
@if ($component->hasConfigurableAreaFor('toolbar-left-start')) @include($component->getConfigurableAreaFor('toolbar-left-start'), $component->getParametersForConfigurableArea('toolbar-left-start')) @endif @if ($component->reorderIsEnabled())
@endif @if ($component->searchIsEnabled() && $component->searchVisibilityIsEnabled())
getSearchOptions() }}="{{ $component->getTableName() }}.search" placeholder="{{ __('Search') }}" type="text" class="form-control" > @if ($component->hasSearch())
@endif
@endif @if ($component->filtersAreEnabled() && $component->filtersVisibilityIsEnabled() && $component->hasVisibleFilters())
isFilterLayoutPopover()) x-data="{ open: false }" x-on:keydown.escape.stop="open = false" x-on:mousedown.away="open = false" @endif class="btn-group d-block d-md-inline" >
@if ($component->isFilterLayoutPopover()) @endif
@endif @if ($component->hasConfigurableAreaFor('toolbar-left-end')) @include($component->getConfigurableAreaFor('toolbar-left-end'), $component->getParametersForConfigurableArea('toolbar-left-end')) @endif
@if ($component->hasConfigurableAreaFor('toolbar-right-start')) @include($component->getConfigurableAreaFor('toolbar-right-start'), $component->getParametersForConfigurableArea('toolbar-right-start')) @endif @if ($component->showBulkActionsDropdown())
@endif @if ($component->columnSelectIsEnabled())
@endif @if ($component->paginationIsEnabled() && $component->perPageVisibilityIsEnabled())
@endif @if ($component->hasConfigurableAreaFor('toolbar-right-end')) @include($component->getConfigurableAreaFor('toolbar-right-end'), $component->getParametersForConfigurableArea('toolbar-right-end')) @endif
@if ($component->filtersAreEnabled() && $component->filtersVisibilityIsEnabled() && $component->hasVisibleFilters() && $component->isFilterLayoutSlideDown())
@foreach($component->getFilters() as $filter) @if($filter->isVisibleInMenus())
{{ $filter->render($component) }}
@endif @endforeach
@endif @elseif ($theme === 'bootstrap-5')
@if ($component->hasConfigurableAreaFor('toolbar-left-start')) @include($component->getConfigurableAreaFor('toolbar-left-start'), $component->getParametersForConfigurableArea('toolbar-left-start')) @endif @if ($component->reorderIsEnabled())
@endif @if ($component->searchIsEnabled() && $component->searchVisibilityIsEnabled())
getSearchOptions() }}="{{ $component->getTableName() }}.search" placeholder="{{ __('Search') }}" type="text" class="form-control" > @if ($component->hasSearch()) @endif
@endif @if ($component->filtersAreEnabled() && $component->filtersVisibilityIsEnabled() && $component->hasVisibleFilters())
isFilterLayoutPopover()) x-data="{ open: false }" x-on:keydown.escape.stop="open = false" x-on:mousedown.away="open = false" @endif class="btn-group d-block d-md-inline" >
@if ($component->isFilterLayoutPopover()) @endif
@endif @if ($component->hasConfigurableAreaFor('toolbar-left-end')) @include($component->getConfigurableAreaFor('toolbar-left-end'), $component->getParametersForConfigurableArea('toolbar-left-end')) @endif
@if ($component->hasConfigurableAreaFor('toolbar-right-start')) @include($component->getConfigurableAreaFor('toolbar-right-start'), $component->getParametersForConfigurableArea('toolbar-right-start')) @endif @if ($component->showBulkActionsDropdown())
@endif @if ($component->columnSelectIsEnabled())
@endif @if ($component->paginationIsEnabled() && $component->perPageVisibilityIsEnabled())
@endif @if ($component->hasConfigurableAreaFor('toolbar-right-end')) @include($component->getConfigurableAreaFor('toolbar-right-end'), $component->getParametersForConfigurableArea('toolbar-righ-end')) @endif
@if ($component->filtersAreEnabled() && $component->filtersVisibilityIsEnabled() && $component->hasVisibleFilters() && $component->isFilterLayoutSlideDown())
@foreach($component->getFilters() as $filter) @if($filter->isVisibleInMenus())
{{ $filter->render($component) }}
@endif @endforeach
@endif @endif @if ($component->hasConfigurableAreaFor('after-toolbar')) @include($component->getConfigurableAreaFor('after-toolbar'), $component->getParametersForConfigurableArea('after-toolbar')) @endif