Alignment::Start, 'ariaLabelledby' => null, 'autofocus' => \Filament\Support\View\Components\ModalComponent::$isAutofocused, 'closeButton' => \Filament\Support\View\Components\ModalComponent::$hasCloseButton, 'closeByClickingAway' => \Filament\Support\View\Components\ModalComponent::$isClosedByClickingAway, 'closeByEscaping' => \Filament\Support\View\Components\ModalComponent::$isClosedByEscaping, 'closeEventName' => 'close-modal', 'closeQuietlyEventName' => 'close-modal-quietly', 'description' => null, 'extraModalWindowAttributeBag' => null, 'footer' => null, 'footerActions' => [], 'footerActionsAlignment' => Alignment::Start, 'header' => null, 'heading' => null, 'icon' => null, 'iconAlias' => null, 'iconColor' => 'primary', 'id' => null, 'openEventName' => 'open-modal', 'slideOver' => false, 'stickyFooter' => false, 'stickyHeader' => false, 'teleport' => null, 'trigger' => null, 'visible' => true, 'width' => 'sm', ])); 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(([ 'alignment' => Alignment::Start, 'ariaLabelledby' => null, 'autofocus' => \Filament\Support\View\Components\ModalComponent::$isAutofocused, 'closeButton' => \Filament\Support\View\Components\ModalComponent::$hasCloseButton, 'closeByClickingAway' => \Filament\Support\View\Components\ModalComponent::$isClosedByClickingAway, 'closeByEscaping' => \Filament\Support\View\Components\ModalComponent::$isClosedByEscaping, 'closeEventName' => 'close-modal', 'closeQuietlyEventName' => 'close-modal-quietly', 'description' => null, 'extraModalWindowAttributeBag' => null, 'footer' => null, 'footerActions' => [], 'footerActionsAlignment' => Alignment::Start, 'header' => null, 'heading' => null, 'icon' => null, 'iconAlias' => null, 'iconColor' => 'primary', 'id' => null, 'openEventName' => 'open-modal', 'slideOver' => false, 'stickyFooter' => false, 'stickyHeader' => false, 'teleport' => null, 'trigger' => null, 'visible' => true, 'width' => 'sm', ]), '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, $__key, $__value); ?> get('wire:submit.prevent'); $attributes = $attributes->except(['wire:submit.prevent']); ?> '; ?>
attributes->get('disabled')): ?> x-on:click="$dispatch(toHtml() ?>, { id: toHtml() ?> })" x-on:click="$el.nextElementSibling.dispatchEvent(new CustomEvent(toHtml() ?>))" attributes->except(['disabled'])->class(['fi-modal-trigger'])); ?> >
"; ?>
aria-labelledby="" aria-labelledby="" aria-modal="true" id="" role="dialog" x-data="filamentModal({ id: toHtml() ?>, })" data-fi-modal-id="" x-on:.window="if (($event.detail.id === toHtml() ?>) && isOpen) close()" x-on:.window="if (($event.detail.id === toHtml() ?>) && isOpen) closeQuietly()" x-on:.window="if (($event.detail.id === toHtml() ?>) && (! isOpen)) open()" x-on:.stop="if (isOpen) close()" x-on:.stop="if (isOpen) closeQuietly()" x-on:.stop="if (! isOpen) open()" x-bind:class="{ 'fi-modal-open': isOpen, }" x-cloak x-show="isOpen" x-trap.noscroll="isOpen" class([ 'fi-modal', 'fi-absolute-positioning-context', 'fi-modal-slide-over' => $slideOver, 'fi-width-screen' => $width === Width::Screen, ])); ?> >
x-on:click.self="" class=" $closeByClickingAway, ]); ?>" > < x-on:keydown.window.escape="" x-show="isWindowVisible" x-transition:enter="fi-transition-enter" x-transition:leave="fi-transition-leave" x-transition:enter-start="fi-transition-enter-start" x-transition:enter-end="fi-transition-enter-end" x-transition:leave-start="fi-transition-leave-start" x-transition:leave-end="fi-transition-leave-end" wire:submit.prevent="" wire:key="getId()}." : ''); ?>modal..window" class([ 'fi-modal-window', 'fi-modal-window-has-close-btn' => $closeButton, 'fi-modal-window-has-content' => $hasContent, 'fi-modal-window-has-footer' => $hasFooter, 'fi-modal-window-has-icon' => $hasIcon, 'fi-modal-window-has-sticky-header' => $stickyHeader, 'fi-hidden' => ! $visible, ($alignment instanceof Alignment) ? "fi-align-{$alignment->value}" : null, ($width instanceof Width) ? "fi-width-{$width->value}" : (is_string($width) ? $width : null), ])); ?> >
wire:key="getId()}." : ''); ?>modal..header" class=" $stickyHeader, 'fi-vertical-align-center' => $hasIcon && $hasHeading && (! $hasDescription) && in_array($alignment, [Alignment::Start, Alignment::Left]), ]); ?>" > 'filament::components.icon-button','data' => ['color' => 'gray','icon' => \Filament\Support\Icons\Heroicon::OutlinedXMark,'iconAlias' => \Filament\Support\View\SupportIconAlias::MODAL_CLOSE_BUTTON,'iconSize' => 'lg','label' => __('filament::components/modal.actions.close.label'),'tabindex' => '-1','xOn:click' => $closeEventHandler,'class' => 'fi-modal-close-btn']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> withName('filament::icon-button'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> withAttributes(['color' => 'gray','icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(\Filament\Support\Icons\Heroicon::OutlinedXMark),'icon-alias' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(\Filament\Support\View\SupportIconAlias::MODAL_CLOSE_BUTTON),'icon-size' => 'lg','label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('filament::components/modal.actions.close.label')),'tabindex' => '-1','x-on:click' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($closeEventHandler),'class' => 'fi-modal-close-btn']); ?> renderComponent(); ?>
color(IconComponent::class, $iconColor)->class(['fi-modal-icon-bg'])); ?> >

wire:key="getId()}." : ''); ?>modal..content" class="fi-modal-content" >
wire:key="getId()}." : ''); ?>modal..footer" class=" $stickyFooter, ($footerActionsAlignment instanceof Alignment) ? "fi-align-{$footerActionsAlignment->value}" : null, ]); ?>" >
>
'; ?> '; ?>