UNPKG

@alfresco/adf-content-services

Version:
53 lines (52 loc) 2.7 kB
/*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { ElementRef, EventEmitter, OnInit } from '@angular/core'; import { ConfigurableFocusTrap, ConfigurableFocusTrapFactory } from '@angular/cdk/a11y'; import { DataColumn, TranslationService } from '@alfresco/adf-core'; import { SearchWidgetContainerComponent } from '../search-widget-container/search-widget-container.component'; import { SearchHeaderQueryBuilderService } from '../../services/search-header-query-builder.service'; import { SearchCategory } from '../../models/search-category.interface'; import { MatMenuTrigger } from '@angular/material/menu'; import * as i0 from "@angular/core"; export declare class SearchFilterContainerComponent implements OnInit { private searchFilterQueryBuilder; private translationService; private focusTrapFactory; /** The column the filter will be applied on. */ col: DataColumn; /** The column the filter will be applied on. */ value: any; /** Emitted when a filter value is selected */ filterChange: EventEmitter<any>; widgetContainer: SearchWidgetContainerComponent; filterContainer: ElementRef; category: SearchCategory; focusTrap: ConfigurableFocusTrap; initialValue: any; constructor(searchFilterQueryBuilder: SearchHeaderQueryBuilderService, translationService: TranslationService, focusTrapFactory: ConfigurableFocusTrapFactory); ngOnInit(): void; onKeyPressed(event: KeyboardEvent, menuTrigger: MatMenuTrigger): void; onApply(): void; onClearButtonClick(event: Event): void; resetSearchFilter(): void; getTooltipTranslation(columnTitle: string): string; isActive(): boolean; onMenuOpen(): void; onClosed(): void; static ɵfac: i0.ɵɵFactoryDeclaration<SearchFilterContainerComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<SearchFilterContainerComponent, "adf-search-filter-container", never, { "col": { "alias": "col"; "required": true; }; "value": { "alias": "value"; "required": false; }; }, { "filterChange": "filterChange"; }, never, never, true, never>; }