@php use Filament\Actions\Action; use Filament\Support\Enums\Alignment; use Illuminate\View\ComponentAttributeBag; $fieldWrapperView = $getFieldWrapperView(); $items = $getItems(); $addAction = $getAction($getAddActionName()); $addActionAlignment = $getAddActionAlignment(); $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(); $key = $getKey(); $statePath = $getStatePath(); $itemLabelHeadingTag = $getHeadingTag(); $isItemLabelTruncated = $isItemLabelTruncated(); $labelBetweenItems = $getLabelBetweenItems(); @endphp
merge($getExtraAttributes(), escape: false) ->class([ 'fi-fo-repeater', 'fi-collapsible' => $isCollapsible, ]) }} > @if ($collapseAllActionIsVisible || $expandAllActionIsVisible)
count($items) < 2, ]) > @if ($collapseAllActionIsVisible) {{ $collapseAllAction }} @endif @if ($expandAllActionIsVisible) {{ $expandAllAction }} @endif
@endif @if (count($items)) @endif @if ($isAddable && $addAction->isVisible())
value) : $addActionAlignment, ]) > {{ $addAction }}
@endif