onlyProps([
'actions' => null,
'ariaLabelledby' => null,
'closeButton' => true,
'closeByClickingAway' => true,
'closeEventName' => 'close-modal',
'darkMode' => false,
'displayClasses' => 'inline-block',
'footer' => null,
'header' => null,
'heading' => null,
'headingComponent' => 'filament-support::modal.heading',
'hrComponent' => 'filament-support::hr',
'id' => null,
'openEventName' => 'open-modal',
'scrollableContent' => false,
'slideOver' => false,
'subheading' => null,
'subheadingComponent' => 'filament-support::modal.subheading',
'trigger' => null,
'visible' => true,
'width' => 'sm',
]) as $__key => $__value) {
$$__key = $$__key ?? $__value;
} ?>
exceptProps([
'actions' => null,
'ariaLabelledby' => null,
'closeButton' => true,
'closeByClickingAway' => true,
'closeEventName' => 'close-modal',
'darkMode' => false,
'displayClasses' => 'inline-block',
'footer' => null,
'header' => null,
'heading' => null,
'headingComponent' => 'filament-support::modal.heading',
'hrComponent' => 'filament-support::hr',
'id' => null,
'openEventName' => 'open-modal',
'scrollableContent' => false,
'slideOver' => false,
'subheading' => null,
'subheadingComponent' => 'filament-support::modal.subheading',
'trigger' => null,
'visible' => true,
'width' => 'sm',
]); ?>
null,
'ariaLabelledby' => null,
'closeButton' => true,
'closeByClickingAway' => true,
'closeEventName' => 'close-modal',
'darkMode' => false,
'displayClasses' => 'inline-block',
'footer' => null,
'header' => null,
'heading' => null,
'headingComponent' => 'filament-support::modal.heading',
'hrComponent' => 'filament-support::hr',
'id' => null,
'openEventName' => 'open-modal',
'scrollableContent' => false,
'slideOver' => false,
'subheading' => null,
'subheadingComponent' => 'filament-support::modal.subheading',
'trigger' => null,
'visible' => true,
'width' => 'sm',
]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) {
$$__key = $$__key ?? $__value;
} ?>
$__value) {
if (array_key_exists($__key, $__defined_vars)) unset($$__key);
} ?>
x-on:.window="if ($event.detail.id === '') close()"
x-on:.window="if ($event.detail.id === '') open()"
aria-labelledby=""
aria-labelledby=""
role="dialog"
aria-modal="true"
class="filament-modal "
wire:ignore.self
>
x-on:click="$dispatch('', { id: '' })"
x-on:click="close()"
aria-hidden="true"
class=" $closeByClickingAway,
]); ?>"
>
class([
'pointer-events-none relative w-full cursor-pointer transition',
'my-auto p-4' => ! $slideOver,
'flex max-h-screen shrink' => $scrollableContent,
])); ?>
>
x-on:keydown.window.escape="$dispatch('', { id: '' })"
x-on:keydown.window.escape="close()"
x-transition:enter="ease duration-300"
x-transition:leave="ease duration-300"
x-transition:enter-start="translate-x-full rtl:-translate-x-full"
x-transition:enter-end="translate-x-0"
x-transition:leave-start="translate-x-0"
x-transition:leave-end="translate-x-full rtl:-translate-x-full"
x-transition:enter-start="translate-y-8"
x-transition:enter-end="translate-y-0"
x-transition:leave-start="translate-y-0"
x-transition:leave-end="translate-y-8"
class=" $darkMode,
'relative' => $width !== 'screen',
'ml-auto mr-0 h-screen overflow-y-auto rtl:ml-0 rtl:mr-auto' => $slideOver,
'mx-auto rounded-xl' => ! ($slideOver || ($width === 'screen')),
'hidden' => ! $visible,
'max-w-xs' => $width === 'xs',
'max-w-sm' => $width === 'sm',
'max-w-md' => $width === 'md',
'max-w-lg' => $width === 'lg',
'max-w-xl' => $width === 'xl',
'max-w-2xl' => $width === '2xl',
'max-w-3xl' => $width === '3xl',
'max-w-4xl' => $width === '4xl',
'max-w-5xl' => $width === '5xl',
'max-w-6xl' => $width === '6xl',
'max-w-7xl' => $width === '7xl',
'fixed inset-0' => $width === 'screen',
]); ?>"
>
isNotEmpty() || $subheading)): ?>
$hrComponent] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('dynamic-component'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['dark-mode' => $darkMode,'class' => 'px-2']); ?>
renderComponent(); ?>
$headingComponent] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('dynamic-component'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['id' => $id . '.heading']); ?>
renderComponent(); ?>
$subheadingComponent] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('dynamic-component'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes([]); ?>
renderComponent(); ?>
isNotEmpty()): ?>
isNotEmpty() || $subheading)): ?>
$hrComponent] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('dynamic-component'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['dark-mode' => $darkMode,'class' => 'px-2']); ?>
renderComponent(); ?>