You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							1 lines
						
					
					
						
							3.8 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							1 lines
						
					
					
						
							3.8 KiB
						
					
					
				| {"version":3,"file":"bottom-sheet-container.d.ts","sources":["bottom-sheet-container.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","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 { ComponentRef, EmbeddedViewRef, OnDestroy, ElementRef, ChangeDetectorRef, EventEmitter } from '@angular/core';\nimport { AnimationEvent } from '@angular/animations';\nimport { BasePortalOutlet, ComponentPortal, TemplatePortal, CdkPortalOutlet, DomPortal } from '@angular/cdk/portal';\nimport { BreakpointObserver } from '@angular/cdk/layout';\nimport { MatBottomSheetConfig } from './bottom-sheet-config';\nimport { FocusTrapFactory } from '@angular/cdk/a11y';\n/**\n * Internal component that wraps user-provided bottom sheet content.\n * @docs-private\n */\nexport declare class MatBottomSheetContainer extends BasePortalOutlet implements OnDestroy {\n    private _elementRef;\n    private _changeDetectorRef;\n    private _focusTrapFactory;\n    /** The bottom sheet configuration. */\n    bottomSheetConfig: MatBottomSheetConfig;\n    private _breakpointSubscription;\n    /** The portal outlet inside of this container into which the content will be loaded. */\n    _portalOutlet: CdkPortalOutlet;\n    /** The state of the bottom sheet animations. */\n    _animationState: 'void' | 'visible' | 'hidden';\n    /** Emits whenever the state of the animation changes. */\n    _animationStateChanged: EventEmitter<AnimationEvent>;\n    /** The class that traps and manages focus within the bottom sheet. */\n    private _focusTrap;\n    /** Element that was focused before the bottom sheet was opened. */\n    private _elementFocusedBeforeOpened;\n    /** Server-side rendering-compatible reference to the global document object. */\n    private _document;\n    /** Whether the component has been destroyed. */\n    private _destroyed;\n    constructor(_elementRef: ElementRef<HTMLElement>, _changeDetectorRef: ChangeDetectorRef, _focusTrapFactory: FocusTrapFactory, breakpointObserver: BreakpointObserver, document: any, \n    /** The bottom sheet configuration. */\n    bottomSheetConfig: MatBottomSheetConfig);\n    /** Attach a component portal as content to this bottom sheet container. */\n    attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;\n    /** Attach a template portal as content to this bottom sheet container. */\n    attachTemplatePortal<C>(portal: TemplatePortal<C>): EmbeddedViewRef<C>;\n    /**\n     * Attaches a DOM portal to the bottom sheet container.\n     * @deprecated To be turned into a method.\n     * @breaking-change 10.0.0\n     */\n    attachDomPortal: (portal: DomPortal) => void;\n    /** Begin animation of bottom sheet entrance into view. */\n    enter(): void;\n    /** Begin animation of the bottom sheet exiting from view. */\n    exit(): void;\n    ngOnDestroy(): void;\n    _onAnimationDone(event: AnimationEvent): void;\n    _onAnimationStart(event: AnimationEvent): void;\n    private _toggleClass;\n    private _validatePortalAttached;\n    private _setPanelClass;\n    /** Moves the focus inside the focus trap. */\n    private _trapFocus;\n    /** Restores focus to the element that was focused before the bottom sheet was opened. */\n    private _restoreFocus;\n    /** Saves a reference to the element that was focused before the bottom sheet was opened. */\n    private _savePreviouslyFocusedElement;\n}\n"]} |