File

filter-composer/src/filter-composer.interface.ts

Description

Represents a filter value emitted by the filter composer.

Import

Example :
import { IFilterComposerFilter } from '@talenra/components/filter-composer';

Index

Properties

Properties

identifier
identifier: string
Type : string

The identifier of the attribute being filtered.

operator
operator: TFilterComposerOperator
Type : TFilterComposerOperator
Optional

Operator for the filter.

trackId
trackId: number
Type : number
Optional

Unique tracking identifier assigned by the composer component. Provided in output for consumers to correlate filters across changes. When passed back via filterSelections input, the existing trackId is preserved.

value
value: IFilterComposerSelectionValue | IFilterComposerSelectionValue[] | IFilterComposerCharRange | IFilterComposerNumberRange | IFilterComposerDateRange | string | boolean
Type : IFilterComposerSelectionValue | IFilterComposerSelectionValue[] | IFilterComposerCharRange | IFilterComposerNumberRange | IFilterComposerDateRange | string | boolean
Optional

The filter value, depending on the filter mode:

  • single-select: IFilterComposerSelectionValue
  • multi-select: IFilterComposerSelectionValue[]
  • char-range: IFilterComposerCharRange
  • number-range: IFilterComposerNumberRange
  • date-range: IFilterComposerDateRange
  • text-field: string
  • boolean: boolean

results matching ""

    No results matching ""