@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())
@endif
@if ($component->filtersAreEnabled() && $component->filtersVisibilityIsEnabled() && $component->hasVisibleFilters())
isFilterLayoutPopover()) x-data="{ open: false, childElementOpen: false }"
x-on:keydown.escape.stop="if (!childElementOpen) { open = false }"
x-on:mousedown.away="if (!childElementOpen) { open = false }" @endif
class="relative block md:inline-block text-left">
@if ($component->isFilterLayoutPopover())
@foreach ($component->getVisibleFilters() as $filter)
{{ $filter->render($component) }}
@endforeach
@if ($component->hasAppliedVisibleFiltersWithValuesThatCanBeCleared())
@endif
@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->showBulkActionsDropdownAlpine())
@foreach ($component->getBulkActions() as $action => $title)
@endforeach
@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->getFiltersByRow() as $filterRowIndex => $filterRow)
true == false,
])>
@foreach ($filterRow as $filter)
!$filter->hasFilterSlidedownColspan(),
'sm:col-span-12 md:col-span-8 lg:col-span-4' =>
$filter->hasFilterSlidedownColspan() &&
$filter->getFilterSlidedownColspan() == 2,
'sm:col-span-9 md:col-span-4 lg:col-span-3' =>
$filter->hasFilterSlidedownColspan() &&
$filter->getFilterSlidedownColspan() == 3,
])
id="{{ $component->getTableName() }}-filter-{{ $filter->getKey() }}-wrapper">
{{ $filter->render($component) }}
@endforeach
@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())
@endif
@if ($component->filtersAreEnabled() && $component->filtersVisibilityIsEnabled() && $component->hasVisibleFilters())
isFilterLayoutPopover()) x-data="{ open: false, childElementOpen: false }"
x-on:keydown.escape.stop="if (!childElementOpen) { open = false }"
x-on:mousedown.away="if (!childElementOpen) { 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->showBulkActionsDropdownAlpine())
@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())
@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())
@endif
@if ($component->filtersAreEnabled() && $component->filtersVisibilityIsEnabled() && $component->hasVisibleFilters())
isFilterLayoutPopover()) x-data="{ open: false, childElementOpen: false }"
x-on:keydown.escape.stop="if (!childElementOpen) { open = false }"
x-on:mousedown.away="if (!childElementOpen) { 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->showBulkActionsDropdownAlpine())
@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())