getGlobalSearchDebounce();
$keyBindings = filament()->getGlobalSearchKeyBindings();
$suffix = filament()->getGlobalSearchFieldSuffix();
?>
class(['fi-global-search-field'])); ?>
>
'filament::components.input.wrapper','data' => ['prefixIcon' => 'heroicon-m-magnifying-glass','prefixIconAlias' => 'panels::global-search.field','inlinePrefix' => true,'suffix' => $suffix,'inlineSuffix' => true,'wire:target' => 'search']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
withName('filament::input.wrapper'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
withAttributes(['prefix-icon' => 'heroicon-m-magnifying-glass','prefix-icon-alias' => 'panels::global-search.field','inline-prefix' => true,'suffix' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($suffix),'inline-suffix' => true,'wire:target' => 'search']); ?>
'filament::components.input.index','data' => ['autocomplete' => 'off','inlinePrefix' => true,'maxlength' => '1000','placeholder' => __('filament-panels::global-search.field.placeholder'),'type' => 'search','wire:key' => 'global-search.field.input','xBind:id' => '$id(\'input\')','xOn:keydown.down.prevent.stop' => '$dispatch(\'focus-first-global-search-result\')','xData' => '{}','attributes' =>
\Filament\Support\prepare_inherited_attributes(
new \Illuminate\View\ComponentAttributeBag([
'wire:model.live.debounce.' . $debounce => 'search',
'x-mousetrap.global.' . collect($keyBindings)->map(fn (string $keyBinding): string => str_replace('+', '-', $keyBinding))->implode('.') => $keyBindings ? 'document.getElementById($id(\'input\')).focus()' : null,
])
)
]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
withName('filament::input'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
withAttributes(['autocomplete' => 'off','inline-prefix' => true,'maxlength' => '1000','placeholder' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('filament-panels::global-search.field.placeholder')),'type' => 'search','wire:key' => 'global-search.field.input','x-bind:id' => '$id(\'input\')','x-on:keydown.down.prevent.stop' => '$dispatch(\'focus-first-global-search-result\')','x-data' => '{}','attributes' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(
\Filament\Support\prepare_inherited_attributes(
new \Illuminate\View\ComponentAttributeBag([
'wire:model.live.debounce.' . $debounce => 'search',
'x-mousetrap.global.' . collect($keyBindings)->map(fn (string $keyBinding): string => str_replace('+', '-', $keyBinding))->implode('.') => $keyBindings ? 'document.getElementById($id(\'input\')).focus()' : null,
])
)
)]); ?>
renderComponent(); ?>
renderComponent(); ?>