@@ -12,7 +12,7 @@ import { Directionality } from '@angular/cdk/bidi';
12
12
import { DoCheck } from ' @angular/core' ;
13
13
import { ElementRef } from ' @angular/core' ;
14
14
import * as i0 from ' @angular/core' ;
15
- import * as i5 from ' @angular/cdk/bidi' ;
15
+ import * as i7 from ' @angular/cdk/bidi' ;
16
16
import { InjectionToken } from ' @angular/core' ;
17
17
import { IterableDiffers } from ' @angular/core' ;
18
18
import { ListRange } from ' @angular/cdk/collections' ;
@@ -63,10 +63,14 @@ export class CdkFixedSizeVirtualScroll implements OnChanges {
63
63
export class CdkScrollable implements OnInit , OnDestroy {
64
64
constructor (elementRef : ElementRef <HTMLElement >, scrollDispatcher : ScrollDispatcher , ngZone : NgZone , dir ? : Directionality | undefined );
65
65
// (undocumented)
66
+ protected readonly _destroyed: Subject <void >;
67
+ // (undocumented)
66
68
protected dir? : Directionality | undefined ;
67
69
// (undocumented)
68
70
protected elementRef: ElementRef <HTMLElement >;
69
71
elementScrolled(): Observable <Event >;
72
+ // (undocumented)
73
+ protected _elementScrolled: Observable <Event >;
70
74
getElementRef(): ElementRef <HTMLElement >;
71
75
measureScrollOffset(from : ' top' | ' left' | ' right' | ' bottom' | ' start' | ' end' ): number ;
72
76
// (undocumented)
@@ -140,6 +144,8 @@ export type CdkVirtualForOfContext<T> = {
140
144
export abstract class CdkVirtualScrollable extends CdkScrollable {
141
145
constructor (elementRef : ElementRef <HTMLElement >, scrollDispatcher : ScrollDispatcher , ngZone : NgZone , dir ? : Directionality );
142
146
// (undocumented)
147
+ abstract getBoundingClientRectWithScrollOffset(from : ' left' | ' top' | ' right' | ' bottom' ): number ;
148
+ // (undocumented)
143
149
measureViewportSize(orientation : ' horizontal' | ' vertical' ): number ;
144
150
// (undocumented)
145
151
static ɵdir: i0 .ɵɵDirectiveDeclaration <CdkVirtualScrollable , never , never , {}, {}, never >;
@@ -151,6 +157,8 @@ export abstract class CdkVirtualScrollable extends CdkScrollable {
151
157
export class CdkVirtualScrollableElement extends CdkVirtualScrollable {
152
158
constructor (elementRef : ElementRef , scrollDispatcher : ScrollDispatcher , ngZone : NgZone , dir : Directionality );
153
159
// (undocumented)
160
+ getBoundingClientRectWithScrollOffset(from : ' left' | ' top' | ' right' | ' bottom' ): number ;
161
+ // (undocumented)
154
162
static ɵdir: i0 .ɵɵDirectiveDeclaration <CdkVirtualScrollableElement , " [cdk-virtual-scrollable-element], [cdkVirtualScrollableElement]" , never , {}, {}, never >;
155
163
// (undocumented)
156
164
static ɵfac: i0 .ɵɵFactoryDeclaration <CdkVirtualScrollableElement , [null , null , null , { optional: true ; }]>;
@@ -160,6 +168,10 @@ export class CdkVirtualScrollableElement extends CdkVirtualScrollable {
160
168
export class CdkVirtualScrollableWindow extends CdkVirtualScrollable {
161
169
constructor (scrollDispatcher : ScrollDispatcher , ngZone : NgZone , dir : Directionality );
162
170
// (undocumented)
171
+ protected _elementScrolled: Observable <Event >;
172
+ // (undocumented)
173
+ getBoundingClientRectWithScrollOffset(from : ' left' | ' top' | ' right' | ' bottom' ): number ;
174
+ // (undocumented)
163
175
static ɵdir: i0 .ɵɵDirectiveDeclaration <CdkVirtualScrollableWindow , " cdk-virtual-scroll-viewport[scrollable-window]" , never , {}, {}, never >;
164
176
// (undocumented)
165
177
static ɵfac: i0 .ɵɵFactoryDeclaration <CdkVirtualScrollableWindow , [null , null , { optional: true ; }]>;
@@ -175,7 +187,7 @@ export interface CdkVirtualScrollRepeater<T> {
175
187
176
188
// @public
177
189
export class CdkVirtualScrollViewport extends CdkVirtualScrollable implements OnInit , OnDestroy {
178
- constructor (elementRef : ElementRef <HTMLElement >, _changeDetectorRef : ChangeDetectorRef , ngZone : NgZone , _scrollStrategy : VirtualScrollStrategy , dir : Directionality , scrollDispatcher : ScrollDispatcher , viewportRuler : ViewportRuler , renderer : Renderer2 , scrollable : CdkVirtualScrollable );
190
+ constructor (elementRef : ElementRef <HTMLElement >, _changeDetectorRef : ChangeDetectorRef , ngZone : NgZone , _scrollStrategy : VirtualScrollStrategy , dir : Directionality , scrollDispatcher : ScrollDispatcher , viewportRuler : ViewportRuler , scrollable : CdkVirtualScrollable );
179
191
get appendOnly(): boolean ;
180
192
set appendOnly(value : BooleanInput );
181
193
attach(forOf : CdkVirtualScrollRepeater <any >): void ;
@@ -184,6 +196,8 @@ export class CdkVirtualScrollViewport extends CdkVirtualScrollable implements On
184
196
detach(): void ;
185
197
// (undocumented)
186
198
elementRef: ElementRef <HTMLElement >;
199
+ // (undocumented)
200
+ getBoundingClientRectWithScrollOffset(from : ' left' | ' top' | ' right' | ' bottom' ): number ;
187
201
getDataLength(): number ;
188
202
getOffsetToRenderedContentStart(): number | null ;
189
203
getRenderedRange(): ListRange ;
@@ -213,7 +227,7 @@ export class CdkVirtualScrollViewport extends CdkVirtualScrollable implements On
213
227
// (undocumented)
214
228
static ɵcmp: i0 .ɵɵComponentDeclaration <CdkVirtualScrollViewport , " cdk-virtual-scroll-viewport" , never , { " orientation" : " orientation" ; " appendOnly" : " appendOnly" ; }, { " scrolledIndexChange" : " scrolledIndexChange" ; }, never , [" *" ]>;
215
229
// (undocumented)
216
- static ɵfac: i0 .ɵɵFactoryDeclaration <CdkVirtualScrollViewport , [null , null , null , { optional: true ; }, { optional: true ; }, null , null , null , { optional: true ; }]>;
230
+ static ɵfac: i0 .ɵɵFactoryDeclaration <CdkVirtualScrollViewport , [null , null , null , { optional: true ; }, { optional: true ; }, null , null , { optional: true ; }]>;
217
231
}
218
232
219
233
// @public
@@ -283,7 +297,7 @@ export class ScrollingModule {
283
297
// (undocumented)
284
298
static ɵinj: i0 .ɵɵInjectorDeclaration <ScrollingModule >;
285
299
// (undocumented)
286
- static ɵmod: i0 .ɵɵNgModuleDeclaration <ScrollingModule , [typeof i2 .CdkFixedSizeVirtualScroll , typeof i3 .CdkVirtualForOf , typeof i4 .CdkVirtualScrollViewport ], [typeof i5 .BidiModule , typeof CdkScrollableModule ], [typeof i5 .BidiModule , typeof CdkScrollableModule , typeof i2 .CdkFixedSizeVirtualScroll , typeof i3 .CdkVirtualForOf , typeof i4 .CdkVirtualScrollViewport ]>;
300
+ static ɵmod: i0 .ɵɵNgModuleDeclaration <ScrollingModule , [typeof i2 .CdkFixedSizeVirtualScroll , typeof i3 .CdkVirtualForOf , typeof i4 .CdkVirtualScrollViewport , typeof i5 . CdkVirtualScrollableWindow , typeof i6 . CdkVirtualScrollableElement ], [typeof i7 .BidiModule , typeof CdkScrollableModule ], [typeof i7 .BidiModule , typeof CdkScrollableModule , typeof i2 .CdkFixedSizeVirtualScroll , typeof i3 .CdkVirtualForOf , typeof i4 .CdkVirtualScrollViewport , typeof i5 . CdkVirtualScrollableWindow , typeof i6 . CdkVirtualScrollableElement ]>;
287
301
}
288
302
289
303
// @public (undocumented)
0 commit comments