OwlCyberSecurity - MANAGER
Edit File: 1d6444edc912a8073db76551f080d396.php
<?php use Illuminate\View\ComponentAttributeBag; ?> <?php $attributes ??= new \Illuminate\View\ComponentAttributeBag; ?> <?php foreach($attributes->onlyProps([ 'debounce' => '500ms', 'onBlur' => false, 'placeholder' => __('filament-tables::table.fields.search.placeholder'), 'wireModel' => 'tableSearch', ]) as $__key => $__value) { $$__key = $$__key ?? $__value; } ?> <?php $attributes = $attributes->exceptProps([ 'debounce' => '500ms', 'onBlur' => false, 'placeholder' => __('filament-tables::table.fields.search.placeholder'), 'wireModel' => 'tableSearch', ]); ?> <?php foreach (array_filter(([ 'debounce' => '500ms', 'onBlur' => false, 'placeholder' => __('filament-tables::table.fields.search.placeholder'), 'wireModel' => 'tableSearch', ]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) { $$__key = $$__key ?? $__value; } ?> <?php $__defined_vars = get_defined_vars(); ?> <?php foreach ($attributes as $__key => $__value) { if (array_key_exists($__key, $__defined_vars)) unset($$__key); } ?> <?php unset($__defined_vars); ?> <?php $wireModelAttribute = $onBlur ? 'wire:model.blur' : "wire:model.live.debounce.{$debounce}"; ?> <div x-id="['input']" <?php echo e($attributes->class(['fi-ta-search-field'])); ?> > <label x-bind:for="$id('input')" class="sr-only"> <?php echo e(__('filament-tables::table.fields.search.label')); ?> </label> <?php if (isset($component)) { $__componentOriginal505efd9768415fdb4543e8c564dad437 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal505efd9768415fdb4543e8c564dad437 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'filament::components.input.wrapper','data' => ['inlinePrefix' => true,'prefixIcon' => 'heroicon-m-magnifying-glass','prefixIconAlias' => 'tables::search-field','wire:target' => $wireModel]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('filament::input.wrapper'); ?> <?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(['inline-prefix' => true,'prefix-icon' => 'heroicon-m-magnifying-glass','prefix-icon-alias' => 'tables::search-field','wire:target' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($wireModel)]); ?> <?php if (isset($component)) { $__componentOriginal9ad6b66c56a2379ee0ba04e1e358c61e = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal9ad6b66c56a2379ee0ba04e1e358c61e = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'filament::components.input.index','data' => ['attributes' => (new ComponentAttributeBag)->merge([ 'autocomplete' => 'off', 'inlinePrefix' => true, 'placeholder' => $placeholder, 'type' => 'search', 'wire:key' => $this->getId() . '.table.' . $wireModel . '.field.input', $wireModelAttribute => $wireModel, 'x-bind:id' => '$id(\'input\')', 'x-on:keyup' => 'if ($event.key === \'Enter\') { $wire.$refresh() }', ]) ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('filament::input'); ?> <?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(['attributes' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute( (new ComponentAttributeBag)->merge([ 'autocomplete' => 'off', 'inlinePrefix' => true, 'placeholder' => $placeholder, 'type' => 'search', 'wire:key' => $this->getId() . '.table.' . $wireModel . '.field.input', $wireModelAttribute => $wireModel, 'x-bind:id' => '$id(\'input\')', 'x-on:keyup' => 'if ($event.key === \'Enter\') { $wire.$refresh() }', ]) )]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal9ad6b66c56a2379ee0ba04e1e358c61e)): ?> <?php $attributes = $__attributesOriginal9ad6b66c56a2379ee0ba04e1e358c61e; ?> <?php unset($__attributesOriginal9ad6b66c56a2379ee0ba04e1e358c61e); ?> <?php endif; ?> <?php if (isset($__componentOriginal9ad6b66c56a2379ee0ba04e1e358c61e)): ?> <?php $component = $__componentOriginal9ad6b66c56a2379ee0ba04e1e358c61e; ?> <?php unset($__componentOriginal9ad6b66c56a2379ee0ba04e1e358c61e); ?> <?php endif; ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal505efd9768415fdb4543e8c564dad437)): ?> <?php $attributes = $__attributesOriginal505efd9768415fdb4543e8c564dad437; ?> <?php unset($__attributesOriginal505efd9768415fdb4543e8c564dad437); ?> <?php endif; ?> <?php if (isset($__componentOriginal505efd9768415fdb4543e8c564dad437)): ?> <?php $component = $__componentOriginal505efd9768415fdb4543e8c564dad437; ?> <?php unset($__componentOriginal505efd9768415fdb4543e8c564dad437); ?> <?php endif; ?> </div> <?php /**PATH /var/www/back/vendor/filament/tables/src/../resources/views/components/search-field.blade.php ENDPATH**/ ?>