52 lines
3.0 KiB
PHP
52 lines
3.0 KiB
PHP
<?php
|
|
use Filament\Support\Enums\Alignment;
|
|
use Filament\Support\Enums\VerticalAlignment;
|
|
?>
|
|
|
|
<div>
|
|
<div
|
|
class="<?php echo \Illuminate\Support\Arr::toCssClasses([
|
|
'fi-no pointer-events-none fixed inset-4 z-50 mx-auto flex gap-3',
|
|
match (static::$alignment) {
|
|
Alignment::Start, Alignment::Left => 'items-start',
|
|
Alignment::Center => 'items-center',
|
|
Alignment::End, Alignment::Right => 'items-end',
|
|
},
|
|
match (static::$verticalAlignment) {
|
|
VerticalAlignment::Start => 'flex-col-reverse justify-end',
|
|
VerticalAlignment::End => 'flex-col justify-end',
|
|
VerticalAlignment::Center => 'flex-col justify-center'
|
|
},
|
|
]); ?>"
|
|
role="status"
|
|
>
|
|
<?php $__currentLoopData = $notifications; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $notification): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
|
<?php echo e($notification); ?>
|
|
|
|
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
|
</div>
|
|
|
|
<?php if($broadcastChannel = $this->getBroadcastChannel()): ?>
|
|
<?php if (isset($component)) { $__componentOriginal40a2401e895531715a66e1631dec94aa = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginal40a2401e895531715a66e1631dec94aa = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'filament-notifications::components.echo','data' => ['channel' => $broadcastChannel]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
|
|
<?php $component->withName('filament-notifications::echo'); ?>
|
|
<?php if ($component->shouldRender()): ?>
|
|
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
|
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
|
|
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
|
|
<?php endif; ?>
|
|
<?php $component->withAttributes(['channel' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($broadcastChannel)]); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginal40a2401e895531715a66e1631dec94aa)): ?>
|
|
<?php $attributes = $__attributesOriginal40a2401e895531715a66e1631dec94aa; ?>
|
|
<?php unset($__attributesOriginal40a2401e895531715a66e1631dec94aa); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginal40a2401e895531715a66e1631dec94aa)): ?>
|
|
<?php $component = $__componentOriginal40a2401e895531715a66e1631dec94aa; ?>
|
|
<?php unset($__componentOriginal40a2401e895531715a66e1631dec94aa); ?>
|
|
<?php endif; ?>
|
|
<?php endif; ?>
|
|
</div>
|
|
<?php /**PATH C:\wwwroot\stylegallery\backend\vendor\filament\notifications\resources\views/notifications.blade.php ENDPATH**/ ?>
|