@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. --}}
merge(['class' => 'rounded-box border border-dashed border-base-300 p-8 text-center']) }}>

{{ $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