null, ])); foreach ($attributes->all() as $__key => $__value) { if (in_array($__key, $__propNames)) { $$__key = $$__key ?? $__value; } else { $__newAttributes[$__key] = $__value; } } $attributes = new \Illuminate\View\ComponentAttributeBag($__newAttributes); unset($__propNames); unset($__newAttributes); foreach (array_filter(([ 'action', 'dynamicComponent', 'icon' => null, ]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) { $$__key = $$__key ?? $__value; } $__defined_vars = get_defined_vars(); foreach ($attributes->all() as $__key => $__value) { if (array_key_exists($__key, $__defined_vars)) unset($$__key); } unset($__defined_vars); ?> isDisabled(); $url = $action->getUrl(); ?> $dynamicComponent] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> withName('dynamic-component'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> except(\Illuminate\View\DynamicComponent::ignoredParameterNames()); ?> withAttributes(['color' => $action->getColor(),'disabled' => $isDisabled,'form' => $action->getFormToSubmit(),'form-id' => $action->getFormId(),'href' => $isDisabled ? null : $url,'icon' => $icon ?? $action->getIcon(),'icon-size' => $action->getIconSize(),'key-bindings' => $action->getKeyBindings(),'label-sr-only' => $action->isLabelHidden(),'tag' => $url ? 'a' : 'button','target' => ($url && $action->shouldOpenUrlInNewTab()) ? '_blank' : null,'tooltip' => $action->getTooltip(),'type' => $action->canSubmitForm() ? 'submit' : 'button','wire:click' => $action->getLivewireClickHandler(),'wire:target' => $action->getLivewireTarget(),'x-on:click' => $action->getAlpineClickHandler(),'attributes' => \Filament\Support\prepare_inherited_attributes($attributes) ->merge($action->getExtraAttributes(), escape: false) ->class(['fi-ac-action']) ]); ?> renderComponent(); ?>