onlyProps([
'allSelectableRecordsCount',
'deselectAllRecordsAction' => 'deselectAllRecords',
'end' => null,
'selectAllRecordsAction' => 'selectAllRecords',
'selectedRecordsCount',
'selectedRecordsPropertyName' => 'selectedRecords',
]) as $__key => $__value) {
$$__key = $$__key ?? $__value;
} ?>
exceptProps([
'allSelectableRecordsCount',
'deselectAllRecordsAction' => 'deselectAllRecords',
'end' => null,
'selectAllRecordsAction' => 'selectAllRecords',
'selectedRecordsCount',
'selectedRecordsPropertyName' => 'selectedRecords',
]); ?>
'deselectAllRecords',
'end' => null,
'selectAllRecordsAction' => 'selectAllRecords',
'selectedRecordsCount',
'selectedRecordsPropertyName' => 'selectedRecords',
]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) {
$$__key = $$__key ?? $__value;
} ?>
$__value) {
if (array_key_exists($__key, $__defined_vars)) unset($$__key);
} ?>
merge([
'wire:key' => "{$this->getId()}.table.selection.indicator",
], escape: false)
->class([
'fi-ta-selection-indicator flex flex-col justify-between gap-y-1 bg-gray-50 px-3 py-2 dark:bg-white/5 sm:flex-row sm:items-center sm:px-6 sm:py-1.5',
])); ?>
>
'filament::components.loading-indicator','data' => ['xShow' => 'isLoading','class' => 'h-5 w-5 text-gray-400 dark:text-gray-500']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament::loading-indicator'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['x-show' => 'isLoading','class' => 'h-5 w-5 text-gray-400 dark:text-gray-500']); ?>
renderComponent(); ?>
'filament::components.link','data' => ['color' => 'primary','id' => $this->getId() . '.table.selection.indicator.record-count.' . $allSelectableRecordsCount,'tag' => 'button','xOn:click' => $selectAllRecordsAction,'xShow' => $allSelectableRecordsCount . ' !== ' . $selectedRecordsPropertyName . '.length']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament::link'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['color' => 'primary','id' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($this->getId() . '.table.selection.indicator.record-count.' . $allSelectableRecordsCount),'tag' => 'button','x-on:click' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($selectAllRecordsAction),'x-show' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($allSelectableRecordsCount . ' !== ' . $selectedRecordsPropertyName . '.length')]); ?>
renderComponent(); ?>
'filament::components.link','data' => ['color' => 'danger','tag' => 'button','xOn:click' => $deselectAllRecordsAction]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('filament::link'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['color' => 'danger','tag' => 'button','x-on:click' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($deselectAllRecordsAction)]); ?>
renderComponent(); ?>