@props([ 'statuses' => $this->getStatuses()->map(fn (\Heloufir\FilamentKanban\Interfaces\KanbanStatusModel $item) => $item->toKanbanStatus()), 'columnWidth' => $this->getColumnWidth(), 'query' => $this->getQuery(), 'records' => $this->getRecords()->map(fn (\Heloufir\FilamentKanban\Interfaces\KanbanRecordModel $item) => $item->toKanbanRecord()), 'enabledViews' => $this->enabledViews, 'currentView' => $this->currentView, 'showViewTabs' => $this->showViewTabs, 'persistCurrentTab' => $this->persistCurrentTab, 'showStatusesAsTabs' => $this->showStatusesAsTabs, 'recordActions' => $this->recordActions(), 'shouldShowFilters' => $this->getShouldShowFilters(), ])
{{--VIEW TABS--}} @if($showViewTabs) @foreach($enabledViews as $enabledView) {{ $enabledView->getLabel() }} @endforeach @endif {{--FILTERS--}} @include('filament-kanban::pages.partials.filters') {{--BOARD VIEW--}} @include('filament-kanban::pages.partials.board') {{--LIST VIEW--}} @include('filament-kanban::pages.partials.list')
@push('scripts') @endpush