|  | 
| 7 | 7 | @php($isBootstrap5 = $this->isBootstrap5) | 
| 8 | 8 | 
 | 
| 9 | 9 | <div {{ $this->getTopLevelAttributes() }}> | 
|  | 10 | + | 
|  | 11 | +    @includeWhen( | 
|  | 12 | +        $this->hasConfigurableAreaFor('before-wrapper'),  | 
|  | 13 | +        $this->getConfigurableAreaFor('before-wrapper'),  | 
|  | 14 | +        $this->getParametersForConfigurableArea('before-wrapper') | 
|  | 15 | +    ) | 
|  | 16 | + | 
| 10 | 17 |     <x-livewire-tables::wrapper :component="$this" :tableName="$tableName" :$primaryKey :$isTailwind :$isBootstrap :$isBootstrap4 :$isBootstrap5> | 
| 11 | 18 |         @if($this->hasActions && !$this->showActionsInToolbar) | 
| 12 | 19 |             <x-livewire-tables::includes.actions/>     | 
| 13 | 20 |         @endif | 
| 14 | 21 | 
 | 
| 15 | 22 | 
 | 
| 16 |  | -        @if ($this->hasConfigurableAreaFor('before-tools')) | 
| 17 |  | -            @include($this->getConfigurableAreaFor('before-tools'), $this->getParametersForConfigurableArea('before-tools')) | 
| 18 |  | -        @endif | 
|  | 23 | +        @includeWhen( | 
|  | 24 | +            $this->hasConfigurableAreaFor('before-tools'),  | 
|  | 25 | +            $this->getConfigurableAreaFor('before-tools'),  | 
|  | 26 | +            $this->getParametersForConfigurableArea('before-tools') | 
|  | 27 | +        ) | 
| 19 | 28 | 
 | 
| 20 | 29 |         @if($this->shouldShowTools) | 
| 21 | 30 |         <x-livewire-tables::tools> | 
|  | 
| 26 | 35 |                 <x-livewire-tables::tools.filter-pills /> | 
| 27 | 36 |             @endif | 
| 28 | 37 | 
 | 
| 29 |  | -            @includeWhen($this->hasConfigurableAreaFor('before-toolbar'), $this->getConfigurableAreaFor('before-toolbar'), $this->getParametersForConfigurableArea('before-toolbar')) | 
|  | 38 | +            @includeWhen( | 
|  | 39 | +                $this->hasConfigurableAreaFor('before-toolbar'),  | 
|  | 40 | +                $this->getConfigurableAreaFor('before-toolbar'),  | 
|  | 41 | +                $this->getParametersForConfigurableArea('before-toolbar') | 
|  | 42 | +            ) | 
|  | 43 | + | 
| 30 | 44 |             @if($this->shouldShowToolBar) | 
| 31 | 45 |                 <x-livewire-tables::tools.toolbar /> | 
| 32 | 46 |             @endif | 
| 33 |  | -            @includeWhen($this->hasConfigurableAreaFor('after-toolbar'), $this->getConfigurableAreaFor('after-toolbar'), $this->getParametersForConfigurableArea('after-toolbar')) | 
|  | 47 | + | 
|  | 48 | +            @includeWhen( | 
|  | 49 | +                $this->hasConfigurableAreaFor('after-toolbar'),  | 
|  | 50 | +                $this->getConfigurableAreaFor('after-toolbar'),  | 
|  | 51 | +                $this->getParametersForConfigurableArea('after-toolbar') | 
|  | 52 | +            ) | 
| 34 | 53 | 
 | 
| 35 | 54 |         </x-livewire-tables::tools> | 
| 36 | 55 |         @endif | 
|  | 
| 110 | 129 | 
 | 
| 111 | 130 |         @includeIf($customView) | 
| 112 | 131 |     </x-livewire-tables::wrapper> | 
|  | 132 | + | 
|  | 133 | +    @includeWhen( | 
|  | 134 | +            $this->hasConfigurableAreaFor('after-wrapper'),  | 
|  | 135 | +            $this->getConfigurableAreaFor('after-wrapper'),  | 
|  | 136 | +            $this->getParametersForConfigurableArea('after-wrapper') | 
|  | 137 | +    ) | 
|  | 138 | +     | 
| 113 | 139 | </div> | 
0 commit comments