/*! * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Alfresco Example Content Application * * This file is part of the Alfresco Example Content Application. * If the software was purchased under a paid Alfresco license, the terms of * the paid license agreement will prevail. Otherwise, the software is * provided under the following open source license terms: * * The Alfresco Example Content Application is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The Alfresco Example Content Application is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * from Hyland Software. If not, see . */ import { AppHookService, AppService } from '@alfresco/aca-shared'; import { AppStore, SearchOptionIds, SearchOptionModel } from '@alfresco/aca-shared/store'; import { SearchQueryBuilderService } from '@alfresco/adf-content-services'; import { AppConfigService } from '@alfresco/adf-core'; import { OnDestroy, OnInit } from '@angular/core'; import { MatMenuTrigger } from '@angular/material/menu'; import { ActivatedRoute, Router } from '@angular/router'; import { Store } from '@ngrx/store'; import { SearchInputControlComponent } from '../search-input-control/search-input-control.component'; import { SearchNavigationService } from '../search-navigation.service'; import { SearchLibrariesQueryBuilderService } from '../search-libraries-results/search-libraries-query-builder.service'; import * as i0 from "@angular/core"; export declare class SearchInputComponent implements OnInit, OnDestroy { private readonly queryBuilder; private readonly queryLibrariesBuilder; private readonly config; private readonly router; private readonly route; private readonly store; private readonly appHookService; private readonly appService; readonly searchInputService: SearchNavigationService; private readonly notificationService; has400LibraryError: boolean; hasLibrariesConstraint: boolean; searchOnChange: boolean; isTrimmedWordEmpty: boolean; error: string; searchedWord: string; searchOptions: Array; searchInputControl: SearchInputControlComponent; trigger: MatMenuTrigger; private readonly destroyRef; constructor(queryBuilder: SearchQueryBuilderService, queryLibrariesBuilder: SearchLibrariesQueryBuilderService, config: AppConfigService, router: Router, route: ActivatedRoute, store: Store, appHookService: AppHookService, appService: AppService, searchInputService: SearchNavigationService); ngOnInit(): void; exitSearch(): void; showInputValue(): void; ngOnDestroy(): void; onMenuOpened(): void; /** * Called when the user submits the search, e.g. hits enter or clicks submit * * @param event Parameters relating to the search */ onSearchSubmit(event: any): void; onSearchChange(searchTerm: string): void; searchByOption(): void; get onLibrariesSearchResults(): boolean; get onSearchResults(): boolean; isFilesChecked(): boolean; isFoldersChecked(): boolean; isLibrariesChecked(): boolean; isOptionChecked(optionId: string): boolean; isContentChecked(): boolean; evaluateLibrariesConstraint(): boolean; filterContent(option: SearchOptionIds.Folders | SearchOptionIds.Files): void; removeContentFilters(): void; syncInputValues(): void; getUrlSearchTerm(): string; isSameSearchTerm(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }