1 | import { NgZone } from '@angular/core';
|
2 | import { BlockScrollStrategy, ScrollDispatcher, ScrollStrategyOptions } from '@angular/cdk/overlay';
|
3 | import { NbLayoutScrollService } from '../../../services/scroll.service';
|
4 | import { NbViewportRulerAdapter } from './viewport-ruler-adapter';
|
5 | import * as i0 from "@angular/core";
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | export declare class NbBlockScrollStrategyAdapter extends BlockScrollStrategy {
|
11 | protected scrollService: NbLayoutScrollService;
|
12 | constructor(document: any, viewportRuler: NbViewportRulerAdapter, scrollService: NbLayoutScrollService);
|
13 | enable(): void;
|
14 | disable(): void;
|
15 | static ɵfac: i0.ɵɵFactoryDeclaration<NbBlockScrollStrategyAdapter, never>;
|
16 | static ɵprov: i0.ɵɵInjectableDeclaration<NbBlockScrollStrategyAdapter>;
|
17 | }
|
18 | export declare class NbScrollStrategyOptions extends ScrollStrategyOptions {
|
19 | protected scrollService: NbLayoutScrollService;
|
20 | protected scrollDispatcher: ScrollDispatcher;
|
21 | protected viewportRuler: NbViewportRulerAdapter;
|
22 | protected ngZone: NgZone;
|
23 | protected document: any;
|
24 | constructor(scrollService: NbLayoutScrollService, scrollDispatcher: ScrollDispatcher, viewportRuler: NbViewportRulerAdapter, ngZone: NgZone, document: any);
|
25 | block: () => NbBlockScrollStrategyAdapter;
|
26 | static ɵfac: i0.ɵɵFactoryDeclaration<NbScrollStrategyOptions, never>;
|
27 | static ɵprov: i0.ɵɵInjectableDeclaration<NbScrollStrategyOptions>;
|
28 | }
|
29 | export type NbScrollStrategies = keyof Pick<NbScrollStrategyOptions, 'noop' | 'close' | 'block' | 'reposition'>;
|