UNPKG

@progress/kendo-angular-treelist

Version:

Kendo UI TreeList for Angular - Display hierarchical data in an Angular tree grid view that supports sorting, filtering, paging, and much more.

60 lines (59 loc) 2.25 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { PopupService, PopupRef } from '@progress/kendo-angular-popup'; import { Renderer2, NgZone, OnDestroy } from '@angular/core'; import { PreventableEvent } from './preventable-event'; import { Subject } from 'rxjs'; import { LocalizationService } from '@progress/kendo-angular-l10n'; import { ScrollSyncService } from '../scrolling/scroll-sync.service'; import * as i0 from "@angular/core"; /** * Arguments for the `close` event of the filter and column-menu popup. */ export declare class PopupCloseEvent extends PreventableEvent { /** * The original DOM event that causes the popup to close. */ originalEvent: any; /** * @hidden */ constructor(e: any); } /** * The service that is used for the popups of the filter and column menus * ([see example]({% slug filter_menu_treelist %}#toc-filter-menu-with-popup)). */ export declare class SinglePopupService implements OnDestroy { private popupService; private renderer; private ngZone; private localization; /** * Fires when the filter or column menus are about to close because the user clicked outside their popups. * Used to prevent the popup from closing. */ readonly onClose: Subject<PopupCloseEvent>; private removeClick; private popupRef; private scrollSubscription; /** * @hidden */ constructor(popupService: PopupService, renderer: Renderer2, ngZone: NgZone, scrollSyncService: ScrollSyncService, localization: LocalizationService); /** * @hidden */ open(anchor: any, template: any, popupRef: PopupRef, popupClass?: string): PopupRef; /** * @hidden */ destroy(): void; ngOnDestroy(): void; private detachClose; private attachClose; static ɵfac: i0.ɵɵFactoryDeclaration<SinglePopupService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<SinglePopupService>; }