import { CdkDragDrop } from '@angular/cdk/drag-drop'; import { Overlay, OverlayRef } from '@angular/cdk/overlay'; import { Injector, TemplateRef, ViewContainerRef } from '@angular/core'; import { Store } from '@ngrx/store'; import { Class, DataSource, FieldType, Filter, FilterFactoryService, GlobalManifest, SubscriptionnerDirective } from '@onepoint-yap/dashboard'; import { BehaviorSubject, Observable } from 'rxjs'; import * as i0 from "@angular/core"; export declare enum FilterSteps { LIST = "list", CREATION = "creation", EDITION = "edition" } export interface Attribute { id: string; name: string; label: string; datasource: string; type: FieldType; } export declare class YapFilterSettingsComponent extends SubscriptionnerDirective { private store; private overlay; private viewContainerRef; private filterFactoryService; private injector; label: boolean; templateSettings: TemplateRef; overlayRefSettings?: OverlayRef; settingsOpened: boolean; manifest$: Observable; filters: Filter[]; types$: Observable<{ label: string; value: string; }[]>; currentFilterComponentType$: BehaviorSubject; currentStep: FilterSteps; steps: typeof FilterSteps; filter: Filter; datasource$: Observable; operators: { label: string; value: string; }[]; currentOperators$: BehaviorSubject<{ label: string; value: string; }[]>; classes: Class[]; attributes$: Observable<{ id: string; name: string; label: string; datasource: string; type: string; }[]>; selectedAttribute$: BehaviorSubject; container: ViewContainerRef; constructor(store: Store, overlay: Overlay, viewContainerRef: ViewContainerRef, filterFactoryService: FilterFactoryService, injector: Injector); getDatasourceClass(dataSource: DataSource, classes: Class[]): Class | undefined; filterAttributes(componentType: string, attributes: Attribute[]): Attribute[]; drop(event: CdkDragDrop): void; toggleSettings(): void; openSettings(): void; updateFilterType($event: any): void; getFilterAttributes(filter: Filter, attrCount: number): string; goBack(): void; goToEdition(filter: Filter): void; goToCreation(): void; submitFilter(): void; selectAttribute($event: Attribute[]): void; deleteFilter(id: string): void; getOperators(): { label: string; value: string; }[]; protected readonly FilterSteps: typeof FilterSteps; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }