@props([ 'metadata', 'inputName' => 'filters', 'showHeader' => false, ]) @once @push('styles') @endpush @endonce {{-- Canonical advanced rule editor shared by Campaign Groups and entity lists. The surrounding form owns `x-data="advancedFilterBuilder(...)"`. Field definitions, legal operators and input types come exclusively from the server metadata projection; the component never names a model column. --}} @if ($showHeader)
{{ __('admin.campaign_groups.sections.filters') }}
@endif @include('admin.campaign-groups.partials.group-node', [ 'depth' => 1, 'maxDepth' => $metadata['limits']['max_depth'], 'node' => 'tree', 'parent' => null, 'index' => null, ])