@php use Filament\Forms\Components\Actions\Action; $containers = $getChildComponentContainers(); $addAction = $getAction($getAddActionName()); $addBetweenAction = $getAction($getAddBetweenActionName()); $cloneAction = $getAction($getCloneActionName()); $collapseAllAction = $getAction($getCollapseAllActionName()); $expandAllAction = $getAction($getExpandAllActionName()); $deleteAction = $getAction($getDeleteActionName()); $moveDownAction = $getAction($getMoveDownActionName()); $moveUpAction = $getAction($getMoveUpActionName()); $reorderAction = $getAction($getReorderActionName()); $extraItemActions = $getExtraItemActions(); $isAddable = $isAddable(); $isCloneable = $isCloneable(); $isCollapsible = $isCollapsible(); $isDeletable = $isDeletable(); $isReorderableWithButtons = $isReorderableWithButtons(); $isReorderableWithDragAndDrop = $isReorderableWithDragAndDrop(); $collapseAllActionIsVisible = $isCollapsible && $collapseAllAction->isVisible(); $expandAllActionIsVisible = $isCollapsible && $expandAllAction->isVisible(); $statePath = $getStatePath(); @endphp
merge($getExtraAttributes(), escape: false) ->class(['fi-fo-repeater grid gap-y-4']) }} > @if ($collapseAllActionIsVisible || $expandAllActionIsVisible)
count($containers) < 2, ]) > @if ($collapseAllActionIsVisible) {{ $collapseAllAction }} @endif @if ($expandAllActionIsVisible) {{ $expandAllAction }} @endif
@endif @if (count($containers)) @endif @if ($isAddable && $addAction->isVisible())
{{ $addAction }}
@endif