@props([ 'title' => null, 'actionUrl' => null, 'actionLabel' => null, 'clearUrl' => null, 'clearLabel' => null, ]) @php($title ??= __('layout::shell.empty_state')) {{-- Estado vazio de uma lista: nunca um wrapper sem saída. A ação primária leva ao caminho de criação; quando a lista está filtrada, a segunda ação devolve a rota **sem** filtros. --}}
{{ $title }}
@if (filled($slot)){{ $slot }}
@endif @if (filled($actionUrl) || filled($clearUrl))@if (filled($actionUrl)) {{ $actionLabel ?? __('layout::shell.create') }} @endif @if (filled($clearUrl)) {{ $clearLabel ?? __('layout::shell.clear_filters') }} @endif
@endif