/*!
* 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 { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
import { NodeEntry, Pagination, ResultSetPaging } from '@alfresco/js-api';
import { ActivatedRoute } from '@angular/router';
import { SavedSearch, SearchConfiguration, SearchQueryBuilderService, TagService } from '@alfresco/adf-content-services';
import { TranslationService } from '@alfresco/adf-core';
import { PageComponent } from '@alfresco/aca-shared';
import { SearchSortingDefinition } from '@alfresco/adf-content-services/lib/search/models/search-sorting-definition.interface';
import { DocumentListPresetRef } from '@alfresco/adf-extensions';
import { Observable } from 'rxjs';
import { SavedSearchesContextService } from '../../../services/saved-searches-context.service';
import * as i0 from "@angular/core";
export declare class SearchResultsComponent extends PageComponent implements OnInit, OnDestroy {
private readonly queryBuilder;
private readonly changeDetectorRef;
private readonly route;
private readonly translationService;
private readonly savedSearchesService;
private notificationService;
infoDrawerPreview$: Observable;
protected readonly areFiltersActive$: Observable;
searchedWord: string;
queryParamName: string;
data: ResultSetPaging;
sorting: string[];
isLoading: boolean;
totalResults: number;
isTagsEnabled: boolean;
initialSavedSearch: SavedSearch;
columns: DocumentListPresetRef[];
encodedQuery: string;
searchConfig: SearchConfiguration;
isSmallScreen: boolean;
private previousEncodedQuery;
private readonly resizeListener;
constructor(tagsService: TagService, queryBuilder: SearchQueryBuilderService, changeDetectorRef: ChangeDetectorRef, route: ActivatedRoute, translationService: TranslationService, savedSearchesService: SavedSearchesContextService);
ngOnInit(): void;
ngOnDestroy(): void;
onSearchError(error: {
message: any;
}): void;
onSearchResultLoaded(nodePaging: ResultSetPaging): void;
getNumberOfResults(): number;
onPaginationChanged(pagination: Pagination): void;
private getSorting;
onNodeDoubleClick(node: NodeEntry): void;
handleNodeClick(event: Event): void;
onPreviewClosed(): void;
onDrawerClosed(): void;
onSearchSortingUpdate(option: SearchSortingDefinition): void;
editSavedSearch(searchToSave: SavedSearch): void;
onSaveSearch(): void;
private shouldExecuteQuery;
private selectInitialSavedSearch;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵcmp: i0.ɵɵComponentDeclaration;
}