@aware([ 'tableName','isTailwind','isBootstrap']) @props([]) @php($toolBarAttributes = $this->getToolBarAttributesBag())
merge() ->class(['md:flex md:justify-between mb-4 px-4 md:p-0' => $isTailwind && ($toolBarAttributes['default-styling'] ?? true)]) ->class(['d-md-flex justify-content-between mb-3' => $isBootstrap && ($toolBarAttributes['default-styling'] ?? true)]) ->except(['default','default-styling','default-colors']) }} >
$this->isBootstrap, 'w-full mb-4 md:mb-0 md:w-2/4 md:flex space-y-4 md:space-y-0 md:space-x-2' => $this->isTailwind, ]) > @if ($this->hasConfigurableAreaFor('toolbar-left-start'))
$this->isBootstrap, 'flex rounded-md shadow-sm' => $this->isTailwind, ])> @include($this->getConfigurableAreaFor('toolbar-left-start'), $this->getParametersForConfigurableArea('toolbar-left-start'))
@endif @if ($this->reorderIsEnabled()) @endif @if ($this->searchIsEnabled && $this->searchVisibilityIsEnabled) @endif @if ($this->filtersAreEnabled() && $this->filtersVisibilityIsEnabled() && $this->hasVisibleFilters()) @endif @if($this->hasActions && $this->showActionsInToolbar && $this->getActionsPosition === 'left') @endif @if ($this->hasConfigurableAreaFor('toolbar-left-end'))
$this->isBootstrap, 'flex rounded-md shadow-sm' => $this->isTailwind, ])> @include($this->getConfigurableAreaFor('toolbar-left-end'), $this->getParametersForConfigurableArea('toolbar-left-end'))
@endif
$this->isBootstrap, 'md:flex md:items-center space-y-4 md:space-y-0 md:space-x-2' => $this->isTailwind, ]) > @includeWhen($this->hasConfigurableAreaFor('toolbar-right-start'), $this->getConfigurableAreaFor('toolbar-right-start'), $this->getParametersForConfigurableArea('toolbar-right-start')) @if($this->hasActions && $this->showActionsInToolbar && $this->getActionsPosition === 'right') @endif @if ($this->showBulkActionsDropdownAlpine() && $this->shouldAlwaysHideBulkActionsDropdownOption != true) @endif @if ($this->columnSelectIsEnabled()) @endif @if ($this->paginationIsEnabled() && $this->perPageVisibilityIsEnabled()) @endif @includeWhen($this->hasConfigurableAreaFor('toolbar-right-end'), $this->getConfigurableAreaFor('toolbar-right-end'), $this->getParametersForConfigurableArea('toolbar-right-end'))
@if ( $this->filtersAreEnabled() && $this->filtersVisibilityIsEnabled() && $this->hasVisibleFilters() && $this->isFilterLayoutSlideDown() ) @endif