{"version":3,"file":"tooltip.d.ts","sources":["tooltip.d.ts"],"names":[],"mappings":"AAAA;AACA;;AACA;AACA;AACA;;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA","sourcesContent":["import { EventEmitter, OnInit, OnDestroy, Injector, Renderer2, ElementRef, TemplateRef, ViewContainerRef, ComponentFactoryResolver, NgZone, ChangeDetectorRef, ApplicationRef } from '@angular/core';\r\nimport { NgbTooltipConfig } from './tooltip-config';\r\nexport declare class NgbTooltipWindow {\r\n    id: string;\r\n    tooltipClass: string;\r\n}\r\n/**\r\n * A lightweight and extensible directive for fancy tooltip creation.\r\n */\r\nexport declare class NgbTooltip implements OnInit, OnDestroy {\r\n    private _elementRef;\r\n    private _renderer;\r\n    private _ngZone;\r\n    private _document;\r\n    private _changeDetector;\r\n    private _applicationRef;\r\n    /**\r\n     * Indicates whether the tooltip should be closed on `Escape` key and inside/outside clicks:\r\n     *\r\n     * * `true` - closes on both outside and inside clicks as well as `Escape` presses\r\n     * * `false` - disables the autoClose feature (NB: triggers still apply)\r\n     * * `\"inside\"` - closes on inside clicks as well as Escape presses\r\n     * * `\"outside\"` - closes on outside clicks (sometimes also achievable through triggers)\r\n     * as well as `Escape` presses\r\n     *\r\n     * @since 3.0.0\r\n     */\r\n    autoClose: boolean | 'inside' | 'outside';\r\n    private readonly placement;\r\n    /**\r\n     * Specifies events that should trigger the tooltip.\r\n     *\r\n     * Supports a space separated list of event names.\r\n     * For more details see the [triggers demo](#/components/tooltip/examples#triggers).\r\n     */\r\n    triggers: string;\r\n    /**\r\n     * A selector specifying the element the tooltip should be appended to.\r\n     *\r\n     * Currently only supports `\"body\"`.\r\n     */\r\n    container: string;\r\n    /**\r\n     * If `true`, tooltip is disabled and won't be displayed.\r\n     *\r\n     * @since 1.1.0\r\n     */\r\n    disableTooltip: boolean;\r\n    /**\r\n     * An optional class applied to the tooltip window element.\r\n     *\r\n     * @since 3.2.0\r\n     */\r\n    tooltipClass: string;\r\n    /**\r\n     * The opening delay in ms. Works only for \"non-manual\" opening triggers defined by the `triggers` input.\r\n     *\r\n     * @since 4.1.0\r\n     */\r\n    openDelay: number;\r\n    /**\r\n     * The closing delay in ms. Works only for \"non-manual\" opening triggers defined by the `triggers` input.\r\n     *\r\n     * @since 4.1.0\r\n     */\r\n    closeDelay: number;\r\n    /**\r\n     * An event emitted when the tooltip is shown. Contains no payload.\r\n     */\r\n    shown: EventEmitter<any>;\r\n    /**\r\n     * An event emitted when the popover is hidden. Contains no payload.\r\n     */\r\n    hidden: EventEmitter<any>;\r\n    private _ngbTooltip;\r\n    private _ngbTooltipWindowId;\r\n    private _popupService;\r\n    private _windowRef;\r\n    private _unregisterListenersFn;\r\n    private _zoneSubscription;\r\n    constructor(_elementRef: ElementRef<HTMLElement>, _renderer: Renderer2, injector: Injector, componentFactoryResolver: ComponentFactoryResolver, viewContainerRef: ViewContainerRef, config: NgbTooltipConfig, _ngZone: NgZone, _document: any, _changeDetector: ChangeDetectorRef, _applicationRef: ApplicationRef);\r\n    /**\r\n     * The string content or a `TemplateRef` for the content to be displayed in the tooltip.\r\n     *\r\n     * If the content if falsy, the tooltip won't open.\r\n     */\r\n    set ngbTooltip(value: string | TemplateRef<any>);\r\n    get ngbTooltip(): string | TemplateRef<any>;\r\n    /**\r\n     * Opens the tooltip.\r\n     *\r\n     * This is considered to be a \"manual\" triggering.\r\n     * The `context` is an optional value to be injected into the tooltip template when it is created.\r\n     */\r\n    open(context?: any): void;\r\n    /**\r\n     * Closes the tooltip.\r\n     *\r\n     * This is considered to be a \"manual\" triggering of the tooltip.\r\n     */\r\n    close(): void;\r\n    /**\r\n     * Toggles the tooltip.\r\n     *\r\n     * This is considered to be a \"manual\" triggering of the tooltip.\r\n     */\r\n    toggle(): void;\r\n    /**\r\n     * Returns `true`, if the popover is currently shown.\r\n     */\r\n    isOpen(): boolean;\r\n    ngOnInit(): void;\r\n    ngOnDestroy(): void;\r\n}\r\n"]}