source: trip-planner-front/node_modules/@angular/cdk/overlay/overlay-directives.d.ts.map

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 7.7 KB
Line 
1{"version":3,"file":"overlay-directives.d.ts","sources":["overlay-directives.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;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":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport { Direction, Directionality } from '@angular/cdk/bidi';\nimport { BooleanInput } from '@angular/cdk/coercion';\nimport { ElementRef, EventEmitter, InjectionToken, OnChanges, OnDestroy, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';\nimport { Overlay } from './overlay';\nimport { OverlayRef } from './overlay-ref';\nimport { ConnectedOverlayPositionChange } from './position/connected-position';\nimport { ConnectedPosition, FlexibleConnectedPositionStrategy } from './position/flexible-connected-position-strategy';\nimport { RepositionScrollStrategy, ScrollStrategy } from './scroll/index';\n/** Injection token that determines the scroll handling while the connected overlay is open. */\nexport declare const CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;\n/**\n * Directive applied to an element to make it usable as an origin for an Overlay using a\n * ConnectedPositionStrategy.\n */\nexport declare class CdkOverlayOrigin {\n /** Reference to the element on which the directive is applied. */\n elementRef: ElementRef;\n constructor(\n /** Reference to the element on which the directive is applied. */\n elementRef: ElementRef);\n}\n/**\n * Directive to facilitate declarative creation of an\n * Overlay using a FlexibleConnectedPositionStrategy.\n */\nexport declare class CdkConnectedOverlay implements OnDestroy, OnChanges {\n private _overlay;\n private _dir;\n private _overlayRef;\n private _templatePortal;\n private _hasBackdrop;\n private _lockPosition;\n private _growAfterOpen;\n private _flexibleDimensions;\n private _push;\n private _backdropSubscription;\n private _attachSubscription;\n private _detachSubscription;\n private _positionSubscription;\n private _offsetX;\n private _offsetY;\n private _position;\n private _scrollStrategyFactory;\n /** Origin for the connected overlay. */\n origin: CdkOverlayOrigin;\n /** Registered connected position pairs. */\n positions: ConnectedPosition[];\n /**\n * This input overrides the positions input if specified. It lets users pass\n * in arbitrary positioning strategies.\n */\n positionStrategy: FlexibleConnectedPositionStrategy;\n /** The offset in pixels for the overlay connection point on the x-axis */\n get offsetX(): number;\n set offsetX(offsetX: number);\n /** The offset in pixels for the overlay connection point on the y-axis */\n get offsetY(): number;\n set offsetY(offsetY: number);\n /** The width of the overlay panel. */\n width: number | string;\n /** The height of the overlay panel. */\n height: number | string;\n /** The min width of the overlay panel. */\n minWidth: number | string;\n /** The min height of the overlay panel. */\n minHeight: number | string;\n /** The custom class to be set on the backdrop element. */\n backdropClass: string;\n /** The custom class to add to the overlay pane element. */\n panelClass: string | string[];\n /** Margin between the overlay and the viewport edges. */\n viewportMargin: number;\n /** Strategy to be used when handling scroll events while the overlay is open. */\n scrollStrategy: ScrollStrategy;\n /** Whether the overlay is open. */\n open: boolean;\n /** Whether the overlay can be closed by user interaction. */\n disableClose: boolean;\n /** CSS selector which to set the transform origin. */\n transformOriginSelector: string;\n /** Whether or not the overlay should attach a backdrop. */\n get hasBackdrop(): any;\n set hasBackdrop(value: any);\n /** Whether or not the overlay should be locked when scrolling. */\n get lockPosition(): any;\n set lockPosition(value: any);\n /** Whether the overlay's width and height can be constrained to fit within the viewport. */\n get flexibleDimensions(): boolean;\n set flexibleDimensions(value: boolean);\n /** Whether the overlay can grow after the initial open when flexible positioning is turned on. */\n get growAfterOpen(): boolean;\n set growAfterOpen(value: boolean);\n /** Whether the overlay can be pushed on-screen if none of the provided positions fit. */\n get push(): boolean;\n set push(value: boolean);\n /** Event emitted when the backdrop is clicked. */\n readonly backdropClick: EventEmitter<MouseEvent>;\n /** Event emitted when the position has changed. */\n readonly positionChange: EventEmitter<ConnectedOverlayPositionChange>;\n /** Event emitted when the overlay has been attached. */\n readonly attach: EventEmitter<void>;\n /** Event emitted when the overlay has been detached. */\n readonly detach: EventEmitter<void>;\n /** Emits when there are keyboard events that are targeted at the overlay. */\n readonly overlayKeydown: EventEmitter<KeyboardEvent>;\n /** Emits when there are mouse outside click events that are targeted at the overlay. */\n readonly overlayOutsideClick: EventEmitter<MouseEvent>;\n constructor(_overlay: Overlay, templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef, scrollStrategyFactory: any, _dir: Directionality);\n /** The associated overlay reference. */\n get overlayRef(): OverlayRef;\n /** The element's layout direction. */\n get dir(): Direction;\n ngOnDestroy(): void;\n ngOnChanges(changes: SimpleChanges): void;\n /** Creates an overlay */\n private _createOverlay;\n /** Builds the overlay config based on the directive's inputs */\n private _buildConfig;\n /** Updates the state of a position strategy, based on the values of the directive inputs. */\n private _updatePositionStrategy;\n /** Returns the position strategy of the overlay to be set on the overlay config */\n private _createPositionStrategy;\n /** Attaches the overlay and subscribes to backdrop clicks if backdrop exists */\n private _attachOverlay;\n /** Detaches the overlay and unsubscribes to backdrop clicks if backdrop exists */\n private _detachOverlay;\n static ngAcceptInputType_hasBackdrop: BooleanInput;\n static ngAcceptInputType_lockPosition: BooleanInput;\n static ngAcceptInputType_flexibleDimensions: BooleanInput;\n static ngAcceptInputType_growAfterOpen: BooleanInput;\n static ngAcceptInputType_push: BooleanInput;\n}\n/** @docs-private */\nexport declare function CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay: Overlay): () => RepositionScrollStrategy;\n/** @docs-private */\nexport declare const CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER: {\n provide: InjectionToken<() => ScrollStrategy>;\n deps: (typeof Overlay)[];\n useFactory: typeof CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER_FACTORY;\n};\n"]}
Note: See TracBrowser for help on using the repository browser.