CngxFilterExpression
projects/forms/filter-builder/filter-builder-expression.directive.ts
Import#
import { CngxFilterExpression } from '@cngx/forms/filter-builder'
Description#
Context atom binding a FilterExpression node at the given path to
the recursive template body. Injects the host through
CNGX_FILTER_BUILDER_HOST (not the concrete presenter class) so the
decompose schematic can eject the recursive body independently of the
brain.
availableOperators resolves from the field def's own operators
list when present, else from CNGX_FILTER_BUILDER_CONFIG.defaultOperators
keyed by the field's editorType - consumers swap defaults at app or
view scope via withDefaultOperators({...}).
Every object/array signal carries an explicit equal fn; empty-operator
and missing-node fallbacks resolve to shared frozen singletons so no-op
reads never allocate.