import { ChangeDetectorRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core'; import { FormControl } from '@angular/forms'; import { RelationalOperator } from '@mtna/data-core-ts'; import { RdsChip } from '../chips/index'; import { RdsTextFilter, RdsTextParameter, RdsTextParameterOption } from './text-filter.model'; import * as i0 from "@angular/core"; export declare class RdsTextFilterComponent implements OnChanges { private cdr; static ngAcceptInputType_supportedOperators: RelationalOperator[] | null | undefined; /** Text Filters */ filters: Array | null | undefined; /** Whether to use the large chip style variant */ largeChips: boolean; /** The supported `RelationalOperator`s. i.e. what operaters does the current data product support. Defaults to EQ and NE. */ set supportedOperators(operators: RelationalOperator[]); get supportedOperators(): RelationalOperator[]; private _supportedOperators; /** Event emitted when the user adds new filter */ add: EventEmitter; /** Event emitted when the user removes a filter */ remove: EventEmitter; inputControl: FormControl; /** A record to indicate which options should be enabled based on the current selected filters */ enabledOptions: Record; /** Select options to choose what type of filter operator to use. */ filterOptions: RdsTextParameterOption[]; /** Added filter operation and value from inputs */ newValue: RdsTextFilter; constructor(cdr: ChangeDetectorRef); /** Given the current supported operations, what select options should be visible. */ determineSelectOptions(): void; /** * Emit added values and clear the inputs */ handleAdd(): void; handleRemove(chip: RdsChip): void; /** * Any time the filters change, determine which operations are still applicable, if any */ ngOnChanges(changes: SimpleChanges): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }