@php $containerKey = 'filament_tree_container_' . $this->id; $maxDepth = $getMaxDepth() ?? 1; $records = collect($this->getRootLayerRecords() ?? []); @endphp @include('filament-tree::tree.scripts', ['containerKey' => $containerKey, $maxDepth => $maxDepth])
{{--
--}} {{-- --}} {{-- {{ __('filament-tree::filament-tree.button.expand_all') }}--}} {{-- --}} {{-- --}} {{-- {{ __('filament-tree::filament-tree.button.collapse_all') }}--}} {{-- --}} {{--
--}}
{{ __('filament-tree::filament-tree.button.save') }}
@php $action = $this->getMountedTreeAction(); $heading = $action ? $action->getModalHeading() : null; $subheading = $action ? $action->getModalSubheading() : null; $modalContent = $action ? $action->getModalContent() : null; $modalFooter = $action ? $action->getModalFooter() : null; $modalActions = $action ? $action->getModalActions() : null; @endphp @if ($action?->isModalCentered()) @if ($heading) {{ $heading }} @endif @if ($subheading) {{ $subheading }} @endif @else @if ($heading) {{ $heading }} @endif @if ($subheading) {{ $subheading }} @endif @endif {{ $modalContent }} @if ($action?->hasFormSchema()) {{ $getMountedActionForm() }} @endif {{ $modalFooter}} @if (count($modalActions ?? [])) @foreach ($modalActions as $modalAction) {{ $modalAction }} @endforeach @endif