@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(\Filament\View\PanelsRenderHook::PAGE_START, scopes: $this->getRenderHookScopes()) }}
$fullHeight, ]) > @if ($header = $this->getHeader()) {{ $header }} @elseif ($heading = $this->getHeading()) @php $subheading = $this->getSubheading(); @endphp @if ($heading instanceof \Illuminate\Contracts\Support\Htmlable) {{ $heading }} @endif @if ($subheading instanceof \Illuminate\Contracts\Support\Htmlable) {{ $subheading }} @endif @endif
$subNavigation, match ($subNavigationPosition) { SubNavigationPosition::Start, SubNavigationPosition::End => 'md:flex-row md:items-start', 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(\Filament\View\PanelsRenderHook::PAGE_HEADER_WIDGETS_BEFORE, scopes: $this->getRenderHookScopes()) }} @if ($headerWidgets = $this->getVisibleHeaderWidgets()) @endif {{ \Filament\Support\Facades\FilamentView::renderHook(\Filament\View\PanelsRenderHook::PAGE_HEADER_WIDGETS_AFTER, scopes: $this->getRenderHookScopes()) }} {{ $slot }} {{ \Filament\Support\Facades\FilamentView::renderHook(\Filament\View\PanelsRenderHook::PAGE_FOOTER_WIDGETS_BEFORE, scopes: $this->getRenderHookScopes()) }} @if ($footerWidgets = $this->getVisibleFooterWidgets()) @endif {{ \Filament\Support\Facades\FilamentView::renderHook(\Filament\View\PanelsRenderHook::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(\Filament\View\PanelsRenderHook::PAGE_END, scopes: $this->getRenderHookScopes()) }}