wire:init="loadTable"
x-data="{
collapsedGroups: [],
isLoading: false,
selectedRecords: [],
shouldCheckUniqueSelection: true,
init: function () {
this.$wire.$on('deselectAllTableRecords', () =>
this.deselectAllRecords(),
)
$watch('selectedRecords', () => {
if (! this.shouldCheckUniqueSelection) {
this.shouldCheckUniqueSelection = true
return
}
this.selectedRecords = [...new Set(this.selectedRecords)]
this.shouldCheckUniqueSelection = false
})
},
mountBulkAction: function (name) {
$wire.set('selectedTableRecords', this.selectedRecords, false)
$wire.mountTableBulkAction(name)
},
toggleSelectRecordsOnPage: function () {
const keys = this.getRecordsOnPage()
if (this.areRecordsSelected(keys)) {
this.deselectRecords(keys)
return
}
this.selectRecords(keys)
},
getRecordsOnPage: function () {
const keys = []
for (checkbox of $el.getElementsByClassName('fi-ta-record-checkbox')) {
keys.push(checkbox.value)
}
return keys
},
selectRecords: function (keys) {
for (key of keys) {
if (this.isRecordSelected(key)) {
continue
}
this.selectedRecords.push(key)
}
},
deselectRecords: function (keys) {
for (key of keys) {
let index = this.selectedRecords.indexOf(key)
if (index === -1) {
continue
}
this.selectedRecords.splice(index, 1)
}
},
selectAllRecords: async function () {
this.isLoading = true
this.selectedRecords = await $wire.getAllSelectableTableRecordKeys()
this.isLoading = false
},
deselectAllRecords: function () {
this.selectedRecords = []
},
isRecordSelected: function (key) {
return this.selectedRecords.includes(key)
},
areRecordsSelected: function (keys) {
return keys.every((key) => this.isRecordSelected(key))
},
toggleCollapseGroup: function (group) {
if (this.isGroupCollapsed(group)) {
this.collapsedGroups.splice(this.collapsedGroups.indexOf(group), 1)
return
}
this.collapsedGroups.push(group)
},
isGroupCollapsed: function (group) {
return this.collapsedGroups.includes(group)
},
resetCollapsedGroups: function () {
this.collapsedGroups = []
},
}"
class=" $records === null,
]); ?>"
>
'filament-tables::components.container','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::container'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes([]); ?>
'filament-tables::components.reorder.indicator','data' => ['colspan' => $columnsCount]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::reorder.indicator'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['colspan' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($columnsCount)]); ?>
renderComponent(); ?>
'filament-tables::components.selection.indicator','data' => ['allSelectableRecordsCount' => $allSelectableRecordsCount,'colspan' => $columnsCount,'xShow' => 'selectedRecords.length']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::selection.indicator'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['all-selectable-records-count' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($allSelectableRecordsCount),'colspan' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($columnsCount),'x-show' => 'selectedRecords.length']); ?>
renderComponent(); ?>
'filament-tables::components.filters.indicators','data' => ['indicators' => $filterIndicators]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::filters.indicators'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['indicators' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($filterIndicators)]); ?>
renderComponent(); ?>
wire:poll.
class=" ! $hasHeader,
]); ?>"
>
$column->isSortable(),
);
?>
'filament-tables::components.selection.checkbox','data' => ['label' => __('filament-tables::table.fields.bulk_select_page.label'),'xBind:checked' => '
const recordsOnPage = getRecordsOnPage()
if (recordsOnPage.length && areRecordsSelected(recordsOnPage)) {
$el.checked = true
return \'checked\'
}
$el.checked = false
return null
','xOn:click' => 'toggleSelectRecordsOnPage','class' => 'my-4']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::selection.checkbox'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('filament-tables::table.fields.bulk_select_page.label')),'x-bind:checked' => '
const recordsOnPage = getRecordsOnPage()
if (recordsOnPage.length && areRecordsSelected(recordsOnPage)) {
$el.checked = true
return \'checked\'
}
$el.checked = false
return null
','x-on:click' => 'toggleSelectRecordsOnPage','class' => 'my-4']); ?>
renderComponent(); ?>
with(['records' => $records])); ?>
'filament::components.grid.index','data' => ['default' => $contentGrid['default'] ?? 1,'sm' => $contentGrid['sm'] ?? null,'md' => $contentGrid['md'] ?? null,'lg' => $contentGrid['lg'] ?? null,'xl' => $contentGrid['xl'] ?? null,'twoXl' => $contentGrid['2xl'] ?? null,'xOn:end.stop' => '$wire.reorderTable($event.target.sortable.toArray())','xSortable' => true,'class' => \Illuminate\Support\Arr::toCssClasses([
'gap-4 p-4 sm:px-6' => $contentGrid,
'pt-0' => $contentGrid && $this->getTableGrouping(),
'[&>*:not(:first-child)]:border-t-[0.5px] [&>*:not(:last-child)]:border-b-[0.5px] [&>*]:border-gray-200 dark:[&>*]:border-white/5' => ! $contentGrid,
])]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament::grid'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['default' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($contentGrid['default'] ?? 1),'sm' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($contentGrid['sm'] ?? null),'md' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($contentGrid['md'] ?? null),'lg' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($contentGrid['lg'] ?? null),'xl' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($contentGrid['xl'] ?? null),'two-xl' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($contentGrid['2xl'] ?? null),'x-on:end.stop' => '$wire.reorderTable($event.target.sortable.toArray())','x-sortable' => true,'class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(\Illuminate\Support\Arr::toCssClasses([
'gap-4 p-4 sm:px-6' => $contentGrid,
'pt-0' => $contentGrid && $this->getTableGrouping(),
'[&>*:not(:first-child)]:border-t-[0.5px] [&>*:not(:last-child)]:border-b-[0.5px] [&>*]:border-gray-200 dark:[&>*]:border-white/5' => ! $contentGrid,
]))]); ?>
addLoop($__currentLoopData); foreach($__currentLoopData as $record): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
getKey($record);
$recordGroupTitle = $group?->getTitle($record);
$collapsibleColumnsLayout?->record($record);
$hasCollapsibleColumnsLayout = (bool) $collapsibleColumnsLayout?->isVisible();
?>
'filament-tables::components.table','data' => ['class' => 'col-span-full']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::table'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['class' => 'col-span-full']); ?>
'filament-tables::components.summary.row','data' => ['columns' => $columns,'extraHeadingColumn' => true,'heading' =>
__('filament-tables::table.summary.subheadings.group', [
'group' => $previousRecordGroupTitle,
'label' => $pluralModelLabel,
])
,'placeholderColumns' => false,'query' => $group->scopeQuery($this->getAllTableSummaryQuery(), $previousRecord),'selectedState' => $groupedSummarySelectedState[$previousRecordGroupKey] ?? []]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::summary.row'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['columns' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($columns),'extra-heading-column' => true,'heading' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(
__('filament-tables::table.summary.subheadings.group', [
'group' => $previousRecordGroupTitle,
'label' => $pluralModelLabel,
])
),'placeholder-columns' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(false),'query' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($group->scopeQuery($this->getAllTableSummaryQuery(), $previousRecord)),'selected-state' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($groupedSummarySelectedState[$previousRecordGroupKey] ?? [])]); ?>
renderComponent(); ?>
renderComponent(); ?>
'filament-tables::components.group.header','data' => ['collapsible' => $group->isCollapsible(),'description' => $group->getDescription($record, $recordGroupTitle),'label' => $group->isTitlePrefixedWithLabel() ? $group->getLabel() : null,'title' => $recordGroupTitle,'class' => \Illuminate\Support\Arr::toCssClasses([
'col-span-full',
'-mx-4 w-[calc(100%+2rem)] border-y border-gray-200 first:border-t-0 dark:border-white/5 sm:-mx-6 sm:w-[calc(100%+3rem)]' => $contentGrid,
]),'xBind:class' => $hasSummary ? null : '{ \'-mb-4 border-b-0\': isGroupCollapsed(\'' . $recordGroupTitle . '\') }']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::group.header'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['collapsible' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($group->isCollapsible()),'description' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($group->getDescription($record, $recordGroupTitle)),'label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($group->isTitlePrefixedWithLabel() ? $group->getLabel() : null),'title' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordGroupTitle),'class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(\Illuminate\Support\Arr::toCssClasses([
'col-span-full',
'-mx-4 w-[calc(100%+2rem)] border-y border-gray-200 first:border-t-0 dark:border-white/5 sm:-mx-6 sm:w-[calc(100%+3rem)]' => $contentGrid,
])),'x-bind:class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($hasSummary ? null : '{ \'-mb-4 border-b-0\': isGroupCollapsed(\'' . $recordGroupTitle . '\') }')]); ?>
renderComponent(); ?>
x-data="{ isCollapsed: isCollapsed())->toHtml() ?> }"
x-init="$dispatch('collapsible-table-row-initialized')"
x-on:collapse-all-table-rows.window="isCollapsed = true"
x-on:expand-all-table-rows.window="isCollapsed = false"
wire:key="getId()); ?>.table.records."
x-sortable-item=""
x-sortable-handle
class=" ($recordUrl || $recordAction) && (! $contentGrid),
'hover:bg-gray-50 dark:hover:bg-white/10 dark:hover:ring-white/20' => ($recordUrl || $recordAction) && $contentGrid,
'rounded-xl shadow-sm ring-1 ring-gray-950/5' => $contentGrid,
...$getRecordClasses($record),
]); ?>"
x-bind:class="{
'hidden':
isCollapsible() ? 'true' : 'false'); ?> &&
isGroupCollapsed(''),
,
,
}"
>
(! $contentGrid) && $hasItemBeforeRecordContent,
'ps-4 sm:ps-6' => (! $contentGrid) && (! $hasItemBeforeRecordContent),
'pe-3' => (! $contentGrid) && $hasItemAfterRecordContent,
'pe-4 sm:pe-6 md:pe-3' => (! $contentGrid) && (! $hasItemAfterRecordContent),
'ps-2' => $contentGrid && $hasItemBeforeRecordContent,
'ps-4' => $contentGrid && (! $hasItemBeforeRecordContent),
'pe-2' => $contentGrid && $hasItemAfterRecordContent,
'pe-4' => $contentGrid && (! $hasItemAfterRecordContent),
]);
$recordActionsClasses = \Illuminate\Support\Arr::toCssClasses([
'md:ps-3' => (! $contentGrid),
'ps-3' => (! $contentGrid) && $hasItemBeforeRecordContent,
'ps-4 sm:ps-6' => (! $contentGrid) && (! $hasItemBeforeRecordContent),
'pe-3' => (! $contentGrid) && $hasItemAfterRecordContent,
'pe-4 sm:pe-6' => (! $contentGrid) && (! $hasItemAfterRecordContent),
'ps-2' => $contentGrid && $hasItemBeforeRecordContent,
'ps-4' => $contentGrid && (! $hasItemBeforeRecordContent),
'pe-2' => $contentGrid && $hasItemAfterRecordContent,
'pe-4' => $contentGrid && (! $hasItemAfterRecordContent),
]);
?>
'filament-tables::components.reorder.handle','data' => ['class' => 'mx-1 my-2']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::reorder.handle'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['class' => 'mx-1 my-2']); ?>
renderComponent(); ?>
'filament-tables::components.selection.checkbox','data' => ['label' => __('filament-tables::table.fields.bulk_select_record.label', ['key' => $recordKey]),'value' => $recordKey,'xModel' => 'selectedRecords','class' => 'fi-ta-record-checkbox mx-3 my-4']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::selection.checkbox'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('filament-tables::table.fields.bulk_select_record.label', ['key' => $recordKey])),'value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordKey),'x-model' => 'selectedRecords','class' => 'fi-ta-record-checkbox mx-3 my-4']); ?>
renderComponent(); ?>
'filament-tables::components.columns.layout','data' => ['components' => $getColumnsLayout(),'record' => $record,'recordKey' => $recordKey,'rowLoop' => $loop]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::columns.layout'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['components' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getColumnsLayout()),'record' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($record),'record-key' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordKey),'row-loop' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($loop)]); ?>
renderComponent(); ?>
'filament-tables::components.columns.layout','data' => ['components' => $getColumnsLayout(),'record' => $record,'recordKey' => $recordKey,'rowLoop' => $loop]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::columns.layout'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['components' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getColumnsLayout()),'record' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($record),'record-key' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordKey),'row-loop' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($loop)]); ?>
renderComponent(); ?>
viewData(['recordKey' => $recordKey])); ?>
'filament-tables::components.actions','data' => ['actions' => $actions,'alignment' => (! $contentGrid) ? 'start md:end' : Alignment::Start,'record' => $record,'wrap' => '-sm','class' => $recordActionsClasses]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::actions'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['actions' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($actions),'alignment' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute((! $contentGrid) ? 'start md:end' : Alignment::Start),'record' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($record),'wrap' => '-sm','class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordActionsClasses)]); ?>
renderComponent(); ?>
'filament::components.icon-button','data' => ['color' => 'gray','iconAlias' => 'tables::columns.collapse-button','icon' => 'heroicon-m-chevron-down','xOn:click' => 'isCollapsed = ! isCollapsed','class' => 'mx-1 my-2 shrink-0','xBind:class' => '{ \'rotate-180\': isCollapsed }']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament::icon-button'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['color' => 'gray','icon-alias' => 'tables::columns.collapse-button','icon' => 'heroicon-m-chevron-down','x-on:click' => 'isCollapsed = ! isCollapsed','class' => 'mx-1 my-2 shrink-0','x-bind:class' => '{ \'rotate-180\': isCollapsed }']); ?>
renderComponent(); ?>
popLoop(); $loop = $__env->getLastLoop(); ?>
hasMorePages()))): ?>
'filament-tables::components.table','data' => ['class' => 'col-span-full']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::table'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['class' => 'col-span-full']); ?>
'filament-tables::components.summary.row','data' => ['columns' => $columns,'extraHeadingColumn' => true,'heading' => __('filament-tables::table.summary.subheadings.group', ['group' => $previousRecordGroupTitle, 'label' => $pluralModelLabel]),'placeholderColumns' => false,'query' => $group->scopeQuery($this->getAllTableSummaryQuery(), $previousRecord),'selectedState' => $groupedSummarySelectedState[$previousRecordGroupKey] ?? []]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::summary.row'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['columns' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($columns),'extra-heading-column' => true,'heading' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('filament-tables::table.summary.subheadings.group', ['group' => $previousRecordGroupTitle, 'label' => $pluralModelLabel])),'placeholder-columns' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(false),'query' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($group->scopeQuery($this->getAllTableSummaryQuery(), $previousRecord)),'selected-state' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($groupedSummarySelectedState[$previousRecordGroupKey] ?? [])]); ?>
renderComponent(); ?>
renderComponent(); ?>
renderComponent(); ?>
with([
'columns' => $columns,
'records' => $records,
])); ?>
'filament-tables::components.table','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::table'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes([]); ?>
'filament-tables::components.summary.index','data' => ['columns' => $columns,'extraHeadingColumn' => true,'placeholderColumns' => false,'pluralModelLabel' => $pluralModelLabel,'records' => $records]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::summary'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['columns' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($columns),'extra-heading-column' => true,'placeholder-columns' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(false),'plural-model-label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($pluralModelLabel),'records' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($records)]); ?>
renderComponent(); ?>
renderComponent(); ?>
'filament-tables::components.table','data' => ['reorderable' => $isReorderable]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::table'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['reorderable' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isReorderable)]); ?>
slot('header', null, []); ?>
|
'filament-tables::components.header-cell','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::header-cell'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes([]); ?>
renderComponent(); ?>
|
'filament-tables::components.selection.cell','data' => ['tag' => 'th']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::selection.cell'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['tag' => 'th']); ?>
'filament-tables::components.selection.checkbox','data' => ['label' => __('filament-tables::table.fields.bulk_select_page.label'),'xBind:checked' => '
const recordsOnPage = getRecordsOnPage()
if (recordsOnPage.length && areRecordsSelected(recordsOnPage)) {
$el.checked = true
return \'checked\'
}
$el.checked = false
return null
','xOn:click' => 'toggleSelectRecordsOnPage']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::selection.checkbox'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('filament-tables::table.fields.bulk_select_page.label')),'x-bind:checked' => '
const recordsOnPage = getRecordsOnPage()
if (recordsOnPage.length && areRecordsSelected(recordsOnPage)) {
$el.checked = true
return \'checked\'
}
$el.checked = false
return null
','x-on:click' => 'toggleSelectRecordsOnPage']); ?>
renderComponent(); ?>
renderComponent(); ?>
'filament-tables::components.header-cell','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::header-cell'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes([]); ?>
renderComponent(); ?>
|
addLoop($__currentLoopData); foreach($__currentLoopData as $column): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
'filament-tables::components.header-cell','data' => ['activelySorted' => $getSortColumn() === $column->getName(),'alignment' => $column->getAlignment(),'name' => $column->getName(),'sortable' => $column->isSortable() && (! $isReordering),'sortDirection' => $getSortDirection(),'wrap' => $column->isHeaderWrapped(),'attributes' =>
\Filament\Support\prepare_inherited_attributes($column->getExtraHeaderAttributeBag())
->class([
'fi-table-header-cell-' . str($column->getName())->camel()->kebab(),
$getHiddenClasses($column),
])
]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::header-cell'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['actively-sorted' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getSortColumn() === $column->getName()),'alignment' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($column->getAlignment()),'name' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($column->getName()),'sortable' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($column->isSortable() && (! $isReordering)),'sort-direction' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getSortDirection()),'wrap' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($column->isHeaderWrapped()),'attributes' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(
\Filament\Support\prepare_inherited_attributes($column->getExtraHeaderAttributeBag())
->class([
'fi-table-header-cell-' . str($column->getName())->camel()->kebab(),
$getHiddenClasses($column),
])
)]); ?>
getLabel()); ?>
renderComponent(); ?>
popLoop(); $loop = $__env->getLastLoop(); ?>
'filament-tables::components.header-cell','data' => ['alignment' => Alignment::Right]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::header-cell'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['alignment' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(Alignment::Right)]); ?>
renderComponent(); ?>
|
'filament-tables::components.selection.cell','data' => ['tag' => 'th']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::selection.cell'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['tag' => 'th']); ?>
'filament-tables::components.selection.checkbox','data' => ['label' => __('filament-tables::table.fields.bulk_select_page.label'),'xBind:checked' => '
const recordsOnPage = getRecordsOnPage()
if (recordsOnPage.length && areRecordsSelected(recordsOnPage)) {
$el.checked = true
return \'checked\'
}
$el.checked = false
return null
','xOn:click' => 'toggleSelectRecordsOnPage']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::selection.checkbox'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('filament-tables::table.fields.bulk_select_page.label')),'x-bind:checked' => '
const recordsOnPage = getRecordsOnPage()
if (recordsOnPage.length && areRecordsSelected(recordsOnPage)) {
$el.checked = true
return \'checked\'
}
$el.checked = false
return null
','x-on:click' => 'toggleSelectRecordsOnPage']); ?>
renderComponent(); ?>
renderComponent(); ?>
'filament-tables::components.header-cell','data' => ['alignment' => Alignment::Right]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::header-cell'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['alignment' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(Alignment::Right)]); ?>
renderComponent(); ?>
|
endSlot(); ?>
'filament-tables::components.row','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::row'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes([]); ?>
|
|
|
addLoop($__currentLoopData); foreach($__currentLoopData as $column): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
'filament-tables::components.cell','data' => ['class' => \Illuminate\Support\Arr::toCssClasses([
'fi-table-individual-search-cell-' . str($column->getName())->camel()->kebab(),
'px-3 py-2',
])]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::cell'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(\Illuminate\Support\Arr::toCssClasses([
'fi-table-individual-search-cell-' . str($column->getName())->camel()->kebab(),
'px-3 py-2',
]))]); ?>
isIndividuallySearchable()): ?>
'filament-tables::components.search-field','data' => ['wireModel' => 'tableColumnSearches.'.e($column->getName()).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::search-field'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['wire-model' => 'tableColumnSearches.'.e($column->getName()).'']); ?>
renderComponent(); ?>
renderComponent(); ?>
popLoop(); $loop = $__env->getLastLoop(); ?>
|
|
renderComponent(); ?>
addLoop($__currentLoopData); foreach($__currentLoopData as $record): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
getKey($record);
$recordGroupTitle = $group?->getTitle($record);
?>
'filament-tables::components.summary.row','data' => ['actions' => count($actions),'actionsPosition' => $actionsPosition,'columns' => $columns,'groupsOnly' => $isGroupsOnly,'heading' => $isGroupsOnly ? $previousRecordGroupTitle : __('filament-tables::table.summary.subheadings.group', ['group' => $previousRecordGroupTitle, 'label' => $pluralModelLabel]),'query' => $group->scopeQuery($this->getAllTableSummaryQuery(), $previousRecord),'recordCheckboxPosition' => $recordCheckboxPosition,'selectedState' => $groupedSummarySelectedState[$previousRecordGroupKey] ?? [],'selectionEnabled' => $isSelectionEnabled]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::summary.row'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['actions' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(count($actions)),'actions-position' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($actionsPosition),'columns' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($columns),'groups-only' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isGroupsOnly),'heading' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isGroupsOnly ? $previousRecordGroupTitle : __('filament-tables::table.summary.subheadings.group', ['group' => $previousRecordGroupTitle, 'label' => $pluralModelLabel])),'query' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($group->scopeQuery($this->getAllTableSummaryQuery(), $previousRecord)),'record-checkbox-position' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordCheckboxPosition),'selected-state' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($groupedSummarySelectedState[$previousRecordGroupKey] ?? []),'selection-enabled' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isSelectionEnabled)]); ?>
renderComponent(); ?>
'filament-tables::components.row','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::row'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes([]); ?>
'filament-tables::components.group.header','data' => ['collapsible' => $group->isCollapsible(),'description' => $group->getDescription($record, $recordGroupTitle),'label' => $group->isTitlePrefixedWithLabel() ? $group->getLabel() : null,'title' => $recordGroupTitle]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::group.header'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['collapsible' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($group->isCollapsible()),'description' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($group->getDescription($record, $recordGroupTitle)),'label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($group->isTitlePrefixedWithLabel() ? $group->getLabel() : null),'title' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordGroupTitle)]); ?>
renderComponent(); ?>
|
renderComponent(); ?>
'filament-tables::components.row','data' => ['alpineHidden' => ($group?->isCollapsible() ? 'true' : 'false') . ' && isGroupCollapsed(\'' . $recordGroupTitle . '\')','alpineSelected' => 'isRecordSelected(\'' . $recordKey . '\')','recordAction' => $recordAction,'recordUrl' => $recordUrl,'striped' => $isStriped && $isRecordRowStriped,'wire:key' => $this->getId() . '.table.records.' . $recordKey,'xSortableHandle' => $isReordering,'xSortableItem' => $isReordering ? $recordKey : null,'class' => \Illuminate\Support\Arr::toCssClasses([
'group cursor-move' => $isReordering,
...$getRecordClasses($record),
])]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::row'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['alpine-hidden' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(($group?->isCollapsible() ? 'true' : 'false') . ' && isGroupCollapsed(\'' . $recordGroupTitle . '\')'),'alpine-selected' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute('isRecordSelected(\'' . $recordKey . '\')'),'record-action' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordAction),'record-url' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordUrl),'striped' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isStriped && $isRecordRowStriped),'wire:key' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($this->getId() . '.table.records.' . $recordKey),'x-sortable-handle' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isReordering),'x-sortable-item' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isReordering ? $recordKey : null),'class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(\Illuminate\Support\Arr::toCssClasses([
'group cursor-move' => $isReordering,
...$getRecordClasses($record),
]))]); ?>
'filament-tables::components.reorder.cell','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::reorder.cell'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes([]); ?>
'filament-tables::components.reorder.handle','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::reorder.handle'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes([]); ?>
renderComponent(); ?>
renderComponent(); ?>
'filament-tables::components.actions.cell','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::actions.cell'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes([]); ?>
'filament-tables::components.actions','data' => ['actions' => $actions,'alignment' => $actionsAlignment,'record' => $record]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::actions'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['actions' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($actions),'alignment' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($actionsAlignment),'record' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($record)]); ?>
renderComponent(); ?>
renderComponent(); ?>
'filament-tables::components.selection.cell','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::selection.cell'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes([]); ?>
'filament-tables::components.selection.checkbox','data' => ['label' => __('filament-tables::table.fields.bulk_select_record.label', ['key' => $recordKey]),'value' => $recordKey,'xModel' => 'selectedRecords','class' => 'fi-ta-record-checkbox']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::selection.checkbox'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('filament-tables::table.fields.bulk_select_record.label', ['key' => $recordKey])),'value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordKey),'x-model' => 'selectedRecords','class' => 'fi-ta-record-checkbox']); ?>
renderComponent(); ?>
renderComponent(); ?>
'filament-tables::components.actions.cell','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::actions.cell'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes([]); ?>
'filament-tables::components.actions','data' => ['actions' => $actions,'alignment' => $actionsAlignment,'record' => $record]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::actions'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['actions' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($actions),'alignment' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($actionsAlignment),'record' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($record)]); ?>
renderComponent(); ?>
renderComponent(); ?>
addLoop($__currentLoopData); foreach($__currentLoopData as $column): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
record($record);
$column->rowLoop($loop->parent);
?>
'filament-tables::components.cell','data' => ['wire:key' => $this->getId() . '.table.record.' . $recordKey . '.column.' . $column->getName(),'attributes' =>
\Filament\Support\prepare_inherited_attributes($column->getExtraCellAttributeBag())
->class([
'fi-table-cell-' . str($column->getName())->camel()->kebab(),
$getHiddenClasses($column),
])
]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::cell'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['wire:key' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($this->getId() . '.table.record.' . $recordKey . '.column.' . $column->getName()),'attributes' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(
\Filament\Support\prepare_inherited_attributes($column->getExtraCellAttributeBag())
->class([
'fi-table-cell-' . str($column->getName())->camel()->kebab(),
$getHiddenClasses($column),
])
)]); ?>
'filament-tables::components.columns.column','data' => ['column' => $column,'isClickDisabled' => $column->isClickDisabled() || $isReordering,'record' => $record,'recordAction' => $recordAction,'recordKey' => $recordKey,'recordUrl' => $recordUrl]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::columns.column'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['column' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($column),'is-click-disabled' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($column->isClickDisabled() || $isReordering),'record' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($record),'record-action' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordAction),'record-key' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordKey),'record-url' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordUrl)]); ?>
renderComponent(); ?>
renderComponent(); ?>
popLoop(); $loop = $__env->getLastLoop(); ?>
'filament-tables::components.actions.cell','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::actions.cell'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes([]); ?>
'filament-tables::components.actions','data' => ['actions' => $actions,'alignment' => $actionsAlignment ?? Alignment::End,'record' => $record]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::actions'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['actions' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($actions),'alignment' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($actionsAlignment ?? Alignment::End),'record' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($record)]); ?>
renderComponent(); ?>
renderComponent(); ?>
'filament-tables::components.selection.cell','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::selection.cell'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes([]); ?>
'filament-tables::components.selection.checkbox','data' => ['label' => __('filament-tables::table.fields.bulk_select_record.label', ['key' => $recordKey]),'value' => $recordKey,'xModel' => 'selectedRecords','class' => 'fi-ta-record-checkbox']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::selection.checkbox'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('filament-tables::table.fields.bulk_select_record.label', ['key' => $recordKey])),'value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordKey),'x-model' => 'selectedRecords','class' => 'fi-ta-record-checkbox']); ?>
renderComponent(); ?>
renderComponent(); ?>
'filament-tables::components.actions.cell','data' => ['class' => \Illuminate\Support\Arr::toCssClasses([
'hidden' => $isReordering,
])]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::actions.cell'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(\Illuminate\Support\Arr::toCssClasses([
'hidden' => $isReordering,
]))]); ?>
'filament-tables::components.actions','data' => ['actions' => $actions,'alignment' => $actionsAlignment ?? Alignment::End,'record' => $record]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::actions'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['actions' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($actions),'alignment' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($actionsAlignment ?? Alignment::End),'record' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($record)]); ?>
renderComponent(); ?>
renderComponent(); ?>
renderComponent(); ?>
popLoop(); $loop = $__env->getLastLoop(); ?>
hasMorePages()))): ?>
'filament-tables::components.summary.row','data' => ['actions' => count($actions),'actionsPosition' => $actionsPosition,'columns' => $columns,'groupsOnly' => $isGroupsOnly,'heading' => $isGroupsOnly ? $previousRecordGroupTitle : __('filament-tables::table.summary.subheadings.group', ['group' => $previousRecordGroupTitle, 'label' => $pluralModelLabel]),'query' => $group->scopeQuery($this->getAllTableSummaryQuery(), $previousRecord),'recordCheckboxPosition' => $recordCheckboxPosition,'selectedState' => $groupedSummarySelectedState[$previousRecordGroupKey] ?? [],'selectionEnabled' => $isSelectionEnabled]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::summary.row'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['actions' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(count($actions)),'actions-position' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($actionsPosition),'columns' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($columns),'groups-only' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isGroupsOnly),'heading' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isGroupsOnly ? $previousRecordGroupTitle : __('filament-tables::table.summary.subheadings.group', ['group' => $previousRecordGroupTitle, 'label' => $pluralModelLabel])),'query' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($group->scopeQuery($this->getAllTableSummaryQuery(), $previousRecord)),'record-checkbox-position' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordCheckboxPosition),'selected-state' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($groupedSummarySelectedState[$previousRecordGroupKey] ?? []),'selection-enabled' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isSelectionEnabled)]); ?>
renderComponent(); ?>
'filament-tables::components.summary.index','data' => ['actions' => count($actions),'actionsPosition' => $actionsPosition,'columns' => $columns,'groupsOnly' => $isGroupsOnly,'pluralModelLabel' => $pluralModelLabel,'recordCheckboxPosition' => $recordCheckboxPosition,'records' => $records,'selectionEnabled' => $isSelectionEnabled]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::summary'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['actions' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(count($actions)),'actions-position' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($actionsPosition),'columns' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($columns),'groups-only' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isGroupsOnly),'plural-model-label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($pluralModelLabel),'record-checkbox-position' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($recordCheckboxPosition),'records' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($records),'selection-enabled' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isSelectionEnabled)]); ?>
renderComponent(); ?>
slot('footer', null, []); ?>
with([
'columns' => $columns,
'records' => $records,
])); ?>
endSlot(); ?>
renderComponent(); ?>
|
'filament-tables::components.empty-state.index','data' => ['actions' => $getEmptyStateActions(),'description' => $getEmptyStateDescription(),'heading' => $getEmptyStateHeading(),'icon' => $getEmptyStateIcon()]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::empty-state'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['actions' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getEmptyStateActions()),'description' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getEmptyStateDescription()),'heading' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getEmptyStateHeading()),'icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getEmptyStateIcon())]); ?>
renderComponent(); ?>
|
total())): ?>
'filament::components.pagination.index','data' => ['pageOptions' => $getPaginationPageOptions(),'paginator' => $records,'class' => 'px-3 py-3 sm:px-6']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament::pagination'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['page-options' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getPaginationPageOptions()),'paginator' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($records),'class' => 'px-3 py-3 sm:px-6']); ?>
renderComponent(); ?>
'filament-tables::components.filters.index','data' => ['form' => $getFiltersForm(),'class' => 'p-4 sm:px-6']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-tables::filters'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['form' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getFiltersForm()),'class' => 'p-4 sm:px-6']); ?>
renderComponent(); ?>
renderComponent(); ?>
'filament-actions::components.modals','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament-actions::modals'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes([]); ?>
renderComponent(); ?>