/** * @license * Copyright Datorama. All Rights Reserved. * * Use of this source code is governed by an Apache License 2.0 license that can be * found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE */ import { ChangeDetectorRef, ElementRef } from '@angular/core'; import { INoRowsOverlayAngularComp } from '@ag-grid-community/angular'; import { INoRowsOverlayParams } from '@ag-grid-community/core'; import { GridQuery } from '../grid-store/grid.query'; import { Observable } from 'rxjs'; import { GridService } from '../grid-store/grid.service'; import { DatoGridOverlayInput } from './grid-v2-no-data-overlay.types'; declare type OverlayView = { icon: string; text: string; }; declare type GridOverlayConfig = { noData: OverlayView; noResult: OverlayView; serverSideError: OverlayView; }; export declare class DatoGridV2NoDataOverlayComponent implements INoRowsOverlayAngularComp { private gridQuery; private gridService; private element; private cdr; config: DatoGridOverlayInput; mergedConfig: GridOverlayConfig; filterActive$: Observable; hasError$: Observable; private defaultConfig; private gridBody; /** Adjust the overlay to the grid body viewport height */ get overlayStyles(): { height: string; marginTop: string; }; constructor(gridQuery: GridQuery, gridService: GridService, element: ElementRef, cdr: ChangeDetectorRef); ngOnInit(): void; clearFilters(): void; agInit(params: INoRowsOverlayParams): void; isIconHidden(): boolean; private initDefaultConfig; } export {};