44
55``` ts
66
7- import { _CdkPrivateStyleLoader } from ' @angular/cdk/private' ;
8- import { CdkScrollable } from ' @angular/cdk/scrolling' ;
9- import { ComponentPortal } from ' @angular/cdk/portal' ;
7+ import { AfterContentInit } from ' @angular/core' ;
108import { ComponentRef } from ' @angular/core' ;
11- import { ComponentType } from ' @angular/cdk/portal' ;
12- import { Direction } from ' @angular/cdk/bidi' ;
13- import { Directionality } from ' @angular/cdk/bidi' ;
9+ import { DoCheck } from ' @angular/core' ;
1410import { ElementRef } from ' @angular/core' ;
1511import { EmbeddedViewRef } from ' @angular/core' ;
1612import { EnvironmentInjector } from ' @angular/core' ;
1713import { EventEmitter } from ' @angular/core' ;
1814import * as i0 from ' @angular/core' ;
19- import * as i1 from ' @angular/cdk/bidi' ;
20- import * as i2 from ' @angular/cdk/portal' ;
21- import * as i3 from ' @angular/cdk/scrolling' ;
2215import { InjectionToken } from ' @angular/core' ;
16+ import { Injector } from ' @angular/core' ;
2317import { Location as Location_2 } from ' @angular/common' ;
18+ import { NgIterable } from ' @angular/core' ;
2419import { NgZone } from ' @angular/core' ;
2520import { Observable } from ' rxjs' ;
2621import { OnChanges } from ' @angular/core' ;
2722import { OnDestroy } from ' @angular/core' ;
28- import { Platform } from ' @angular/cdk/platform' ;
29- import { PortalOutlet } from ' @angular/cdk/portal' ;
23+ import { OnInit } from ' @angular/core' ;
3024import { Renderer2 } from ' @angular/core' ;
31- import { ScrollDispatcher } from ' @angular/cdk/scrolling' ;
3225import { SimpleChanges } from ' @angular/core' ;
3326import { Subject } from ' rxjs' ;
34- import { TemplatePortal } from ' @angular/cdk/portal' ;
35- import { ViewportRuler } from ' @angular/cdk/scrolling' ;
27+ import { Subscription } from ' rxjs' ;
28+ import { TemplateRef } from ' @angular/core' ;
29+ import { TrackByFunction } from ' @angular/core' ;
30+ import { Type } from ' @angular/core' ;
31+ import { ViewContainerRef } from ' @angular/core' ;
3632
3733// @public
3834export class BlockScrollStrategy implements ScrollStrategy {
@@ -113,7 +109,34 @@ export class CdkOverlayOrigin {
113109 static ɵfac: i0 .ɵɵFactoryDeclaration <CdkOverlayOrigin , never >;
114110}
115111
116- export { CdkScrollable }
112+ // @public
113+ export class CdkScrollable implements OnInit , OnDestroy {
114+ constructor (... args : unknown []);
115+ // (undocumented)
116+ protected readonly _destroyed: Subject <void >;
117+ // (undocumented)
118+ protected dir? : Directionality | null | undefined ;
119+ // (undocumented)
120+ protected elementRef: ElementRef <HTMLElement >;
121+ elementScrolled(): Observable <Event >;
122+ getElementRef(): ElementRef <HTMLElement >;
123+ measureScrollOffset(from : ' top' | ' left' | ' right' | ' bottom' | ' start' | ' end' ): number ;
124+ // (undocumented)
125+ ngOnDestroy(): void ;
126+ // (undocumented)
127+ ngOnInit(): void ;
128+ // (undocumented)
129+ protected ngZone: NgZone ;
130+ // (undocumented)
131+ protected scrollDispatcher: ScrollDispatcher ;
132+ // (undocumented)
133+ protected _scrollElement: EventTarget ;
134+ scrollTo(options : ExtendedScrollToOptions ): void ;
135+ // (undocumented)
136+ static ɵdir: i0 .ɵɵDirectiveDeclaration <CdkScrollable , " [cdk-scrollable], [cdkScrollable]" , never , {}, {}, never , never , true , never >;
137+ // (undocumented)
138+ static ɵfac: i0 .ɵɵFactoryDeclaration <CdkScrollable , never >;
139+ }
117140
118141// @public
119142export class CloseScrollStrategy implements ScrollStrategy {
@@ -125,7 +148,11 @@ export class CloseScrollStrategy implements ScrollStrategy {
125148 enable(): void ;
126149}
127150
128- export { ComponentType }
151+ // @public
152+ export interface ComponentType <T > {
153+ // (undocumented)
154+ new (... args : any []): T ;
155+ }
129156
130157// @public
131158export class ConnectedOverlayPositionChange {
@@ -333,7 +360,7 @@ export class OverlayModule {
333360 // (undocumented)
334361 static ɵinj: i0 .ɵɵInjectorDeclaration <OverlayModule >;
335362 // (undocumented)
336- static ɵmod: i0 .ɵɵNgModuleDeclaration <OverlayModule , never , [typeof i1 .BidiModule , typeof i2 .PortalModule , typeof i3 .ScrollingModule , typeof i4 .CdkConnectedOverlay , typeof i4 .CdkOverlayOrigin ], [typeof i4 .CdkConnectedOverlay , typeof i4 .CdkOverlayOrigin , typeof i3 .ScrollingModule ]>;
363+ static ɵmod: i0 .ɵɵNgModuleDeclaration <OverlayModule , never , [typeof i1 .BidiModule , typeof i2 .PortalModule , typeof i3 .ScrollingModule , typeof i4_2 .CdkConnectedOverlay , typeof i4_2 .CdkOverlayOrigin ], [typeof i4_2 .CdkConnectedOverlay , typeof i4_2 .CdkOverlayOrigin , typeof i3 .ScrollingModule ]>;
337364}
338365
339366// @public
@@ -431,7 +458,22 @@ export interface RepositionScrollStrategyConfig {
431458 scrollThrottle? : number ;
432459}
433460
434- export { ScrollDispatcher }
461+ // @public
462+ export class ScrollDispatcher implements OnDestroy {
463+ constructor (... args : unknown []);
464+ ancestorScrolled(elementOrElementRef : ElementRef | HTMLElement , auditTimeInMs ? : number ): Observable <CdkScrollable | void >;
465+ deregister(scrollable : CdkScrollable ): void ;
466+ getAncestorScrollContainers(elementOrElementRef : ElementRef | HTMLElement ): CdkScrollable [];
467+ // (undocumented)
468+ ngOnDestroy(): void ;
469+ register(scrollable : CdkScrollable ): void ;
470+ scrollContainers: Map <CdkScrollable , Subscription >;
471+ scrolled(auditTimeInMs ? : number ): Observable <CdkScrollable | void >;
472+ // (undocumented)
473+ static ɵfac: i0 .ɵɵFactoryDeclaration <ScrollDispatcher , never >;
474+ // (undocumented)
475+ static ɵprov: i0 .ɵɵInjectableDeclaration <ScrollDispatcher >;
476+ }
435477
436478// @public
437479export class ScrollingVisibility {
@@ -481,7 +523,31 @@ export function validateVerticalPosition(property: string, value: VerticalConnec
481523// @public
482524export type VerticalConnectionPos = ' top' | ' center' | ' bottom' ;
483525
484- export { ViewportRuler }
526+ // @public
527+ export class ViewportRuler implements OnDestroy {
528+ constructor (... args : unknown []);
529+ change(throttleTime ? : number ): Observable <Event >;
530+ protected _document: Document ;
531+ getViewportRect(): {
532+ top: number ;
533+ left: number ;
534+ bottom: number ;
535+ right: number ;
536+ height: number ;
537+ width: number ;
538+ };
539+ getViewportScrollPosition(): ViewportScrollPosition ;
540+ getViewportSize(): Readonly <{
541+ width: number ;
542+ height: number ;
543+ }>;
544+ // (undocumented)
545+ ngOnDestroy(): void ;
546+ // (undocumented)
547+ static ɵfac: i0 .ɵɵFactoryDeclaration <ViewportRuler , never >;
548+ // (undocumented)
549+ static ɵprov: i0 .ɵɵInjectableDeclaration <ViewportRuler >;
550+ }
485551
486552// (No @packageDocumentation comment for this package)
487553
0 commit comments