@props([ 'fullHeight' => false, ]) @php use Filament\Pages\SubNavigationPosition; $subNavigation = $this->getCachedSubNavigation(); $subNavigationPosition = $this->getSubNavigationPosition(); $widgetData = $this->getWidgetData(); @endphp
class([ 'fi-page', 'h-full' => $fullHeight, ]) }} > {{ \Filament\Support\Facades\FilamentView::renderHook('panels::page.start', scopes: $this->getRenderHookScopes()) }}
$fullHeight, ]) > @if ($header = $this->getHeader()) {{ $header }} @elseif ($heading = $this->getHeading()) @endif
$subNavigation, match ($subNavigationPosition) { SubNavigationPosition::Start, SubNavigationPosition::End => 'md:flex-row', default => null, } => $subNavigation, 'h-full' => $fullHeight, ]) > @if ($subNavigation) @if ($subNavigationPosition === SubNavigationPosition::Start) @endif @if ($subNavigationPosition === SubNavigationPosition::Top) @endif @endif
$fullHeight, ]) > {{ \Filament\Support\Facades\FilamentView::renderHook('panels::page.header-widgets.before', scopes: $this->getRenderHookScopes()) }} @if ($headerWidgets = $this->getVisibleHeaderWidgets()) @endif {{ \Filament\Support\Facades\FilamentView::renderHook('panels::page.header-widgets.after', scopes: $this->getRenderHookScopes()) }} {{ $slot }} {{ \Filament\Support\Facades\FilamentView::renderHook('panels::page.footer-widgets.before', scopes: $this->getRenderHookScopes()) }} @if ($footerWidgets = $this->getVisibleFooterWidgets()) @endif {{ \Filament\Support\Facades\FilamentView::renderHook('panels::page.footer-widgets.after', scopes: $this->getRenderHookScopes()) }}
@if ($subNavigation && $subNavigationPosition === SubNavigationPosition::End) @endif
@if ($footer = $this->getFooter()) {{ $footer }} @endif
@if (! ($this instanceof \Filament\Tables\Contracts\HasTable)) @elseif ($this->isTableLoaded() && filled($this->defaultTableAction))
@endif @if (filled($this->defaultAction))
@endif {{ \Filament\Support\Facades\FilamentView::renderHook('panels::page.end', scopes: $this->getRenderHookScopes()) }}