/*! * @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 { EventEmitter, OnInit } from '@angular/core'; import { Observable } from 'rxjs'; import { ReportParametersModel } from '../../diagram/models/report/report-parameters.model'; import * as i0 from "@angular/core"; export declare const LAYOUT_LIST = "LIST"; export declare const LAYOUT_GRID = "GRID"; export declare class AnalyticsReportListComponent implements OnInit { private readonly analyticsService; /** layout Type LIST or GRID. */ layoutType: string; /** appId ID of the target app. */ appId: number; /** selectFirst. */ selectFirst: boolean; /** report Click. */ reportClick: EventEmitter; /** success. */ success: EventEmitter; /** error. */ error: EventEmitter; report$: Observable; currentReport: ReportParametersModel; reports: ReportParametersModel[]; private reportObserver; constructor(); ngOnInit(): void; initObserver(): void; /** * Reload the component * @param reportId report id */ reload(reportId?: number): void; /** * Get the report list * @param appId application id * @param reportId report id */ getReportList(appId: number, reportId?: number): void; /** * Create the default reports and return the report list */ createDefaultReports(): void; /** * Check if the report list is empty * @returns `true` if report list is empty, otherwise `false` */ isReportsEmpty(): boolean; /** * Select the current report * @param report report model */ selectReport(report: ReportParametersModel): void; selectReportByReportId(reportId: number): void; selectFirstReport(): void; isSelected(report: any): boolean; isList(): boolean; isGrid(): boolean; /** * Reset the list */ private reset; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }