OwlCyberSecurity - MANAGER
Edit File: c7043b58ebecb20bed4031025f12adb3.php
<?php use Filament\Tables\Columns\IconColumn\IconColumnSize; $arrayState = $getState(); if ($arrayState instanceof \Illuminate\Support\Collection) { $arrayState = $arrayState->all(); } $arrayState = \Illuminate\Support\Arr::wrap($arrayState); ?> <div <?php echo e($attributes ->merge($getExtraAttributes(), escape: false) ->class([ 'fi-ta-icon flex gap-1.5', 'flex-wrap' => $canWrap(), 'px-3 py-4' => ! $isInline(), 'flex-col' => $isListWithLineBreaks(), ])); ?> > <!--[if BLOCK]><![endif]--><?php if(count($arrayState)): ?> <!--[if BLOCK]><![endif]--><?php $__currentLoopData = $arrayState; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $state): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <!--[if BLOCK]><![endif]--><?php if($icon = $getIcon($state)): ?> <?php $color = $getColor($state) ?? 'gray'; $size = $getSize($state) ?? IconColumnSize::Large; ?> <?php if (isset($component)) { $__componentOriginalbfc641e0710ce04e5fe02876ffc6f950 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalbfc641e0710ce04e5fe02876ffc6f950 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'filament::components.icon','data' => ['icon' => $icon,'class' => \Illuminate\Support\Arr::toCssClasses([ 'fi-ta-icon-item', match ($size) { IconColumnSize::ExtraSmall, 'xs' => 'fi-ta-icon-item-size-xs h-3 w-3', IconColumnSize::Small, 'sm' => 'fi-ta-icon-item-size-sm h-4 w-4', IconColumnSize::Medium, 'md' => 'fi-ta-icon-item-size-md h-5 w-5', IconColumnSize::Large, 'lg' => 'fi-ta-icon-item-size-lg h-6 w-6', IconColumnSize::ExtraLarge, 'xl' => 'fi-ta-icon-item-size-xl h-7 w-7', IconColumnSize::TwoExtraLarge, IconColumnSize::ExtraExtraLarge, '2xl' => 'fi-ta-icon-item-size-2xl h-8 w-8', default => $size, }, match ($color) { 'gray' => 'text-gray-400 dark:text-gray-500', default => 'fi-color-custom text-custom-500 dark:text-custom-400', }, is_string($color) ? 'fi-color-' . $color : null, ]),'style' => \Illuminate\Support\Arr::toCssStyles([ \Filament\Support\get_color_css_variables( $color, shades: [400, 500], alias: 'tables::columns.icon-column.item', ) => $color !== 'gray', ])]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('filament::icon'); ?> <?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(['icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($icon),'class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(\Illuminate\Support\Arr::toCssClasses([ 'fi-ta-icon-item', match ($size) { IconColumnSize::ExtraSmall, 'xs' => 'fi-ta-icon-item-size-xs h-3 w-3', IconColumnSize::Small, 'sm' => 'fi-ta-icon-item-size-sm h-4 w-4', IconColumnSize::Medium, 'md' => 'fi-ta-icon-item-size-md h-5 w-5', IconColumnSize::Large, 'lg' => 'fi-ta-icon-item-size-lg h-6 w-6', IconColumnSize::ExtraLarge, 'xl' => 'fi-ta-icon-item-size-xl h-7 w-7', IconColumnSize::TwoExtraLarge, IconColumnSize::ExtraExtraLarge, '2xl' => 'fi-ta-icon-item-size-2xl h-8 w-8', default => $size, }, match ($color) { 'gray' => 'text-gray-400 dark:text-gray-500', default => 'fi-color-custom text-custom-500 dark:text-custom-400', }, is_string($color) ? 'fi-color-' . $color : null, ])),'style' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(\Illuminate\Support\Arr::toCssStyles([ \Filament\Support\get_color_css_variables( $color, shades: [400, 500], alias: 'tables::columns.icon-column.item', ) => $color !== 'gray', ]))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalbfc641e0710ce04e5fe02876ffc6f950)): ?> <?php $attributes = $__attributesOriginalbfc641e0710ce04e5fe02876ffc6f950; ?> <?php unset($__attributesOriginalbfc641e0710ce04e5fe02876ffc6f950); ?> <?php endif; ?> <?php if (isset($__componentOriginalbfc641e0710ce04e5fe02876ffc6f950)): ?> <?php $component = $__componentOriginalbfc641e0710ce04e5fe02876ffc6f950; ?> <?php unset($__componentOriginalbfc641e0710ce04e5fe02876ffc6f950); ?> <?php endif; ?> <?php endif; ?><!--[if ENDBLOCK]><![endif]--> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><!--[if ENDBLOCK]><![endif]--> <?php elseif(($placeholder = $getPlaceholder()) !== null): ?> <?php if (isset($component)) { $__componentOriginal2078c004f342b84f8f2b0f2ab3478754 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal2078c004f342b84f8f2b0f2ab3478754 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'filament-tables::components.columns.placeholder','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('filament-tables::columns.placeholder'); ?> <?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([]); ?> <?php echo e($placeholder); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal2078c004f342b84f8f2b0f2ab3478754)): ?> <?php $attributes = $__attributesOriginal2078c004f342b84f8f2b0f2ab3478754; ?> <?php unset($__attributesOriginal2078c004f342b84f8f2b0f2ab3478754); ?> <?php endif; ?> <?php if (isset($__componentOriginal2078c004f342b84f8f2b0f2ab3478754)): ?> <?php $component = $__componentOriginal2078c004f342b84f8f2b0f2ab3478754; ?> <?php unset($__componentOriginal2078c004f342b84f8f2b0f2ab3478754); ?> <?php endif; ?> <?php endif; ?><!--[if ENDBLOCK]><![endif]--> </div> <?php /**PATH /var/www/back/vendor/filament/tables/src/../resources/views/columns/icon-column.blade.php ENDPATH**/ ?>