UNPKG

@progress/kendo-angular-pivotgrid

Version:
54 lines (53 loc) 2.08 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 { Subject } from 'rxjs'; import { PreventableEvent } from '@progress/kendo-angular-common'; import { PivotLocalizationService } from '../../localization/pivot-localization.service'; import * as i0 from "@angular/core"; /** * @hidden * Arguments for the `close` event of the chip-menu popup. */ export declare class PopupCloseEvent extends PreventableEvent { /** * The original DOM event that causes the popup to close. */ originalEvent: any; /** * @hidden */ constructor(e: any); } /** * @hidden * The service that is used for the popups of the chip menus. */ export declare class SinglePopupService implements OnDestroy { private popupService; private renderer; private ngZone; private localization; /** * Fires when the chip 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 pointerEventsSub; private popupRef; private scrollSubscription; private canClosePopup; constructor(popupService: PopupService, renderer: Renderer2, ngZone: NgZone, localization: PivotLocalizationService); open(anchor: any, template: any, popupRef: PopupRef, popupClass?: string): PopupRef; destroy(): void; ngOnDestroy(): void; private detachClose; private attachClose; private attachMouseListeners; static ɵfac: i0.ɵɵFactoryDeclaration<SinglePopupService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<SinglePopupService>; }