@props([ 'module', 'createPermission' => true, 'showExport' => true, 'layout' => 'buttons', ]) {{-- IMPORTANT: this component emits only the action TRIGGERS (buttons or dropdown items). The modal markup they target lives in — drop that once per page at the document root so Bootstrap can locate the modal by ID. Nesting a modal inside a breaks the HTML parser. --}} @if($layout === 'dropdown-items') {{-- Compact dropdown-item layout, designed to be placed inside