1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 | import { ChangeDetectorRef, OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
7 | import { Subject } from 'rxjs';
|
8 | import { NbLayoutDirection, NbLayoutDirectionService } from '../../services/direction.service';
|
9 | import * as i0 from "@angular/core";
|
10 | declare abstract class NbBaseLayoutDirectionDirective implements OnInit, OnDestroy {
|
11 | protected templateRef: TemplateRef<any>;
|
12 | protected viewContainer: ViewContainerRef;
|
13 | protected cd: ChangeDetectorRef;
|
14 | protected directionService: NbLayoutDirectionService;
|
15 | protected directionToShow: NbLayoutDirection;
|
16 | protected destroy$: Subject<void>;
|
17 | constructor(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, cd: ChangeDetectorRef, directionService: NbLayoutDirectionService, directionToShow: NbLayoutDirection);
|
18 | ngOnInit(): void;
|
19 | ngOnDestroy(): void;
|
20 | protected updateView<T>(shouldShow: T): void;
|
21 | static ɵfac: i0.ɵɵFactoryDeclaration<NbBaseLayoutDirectionDirective, never>;
|
22 | static ɵdir: i0.ɵɵDirectiveDeclaration<NbBaseLayoutDirectionDirective, never, never, {}, {}, never, never, false, never>;
|
23 | }
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 | export declare class NbLtrDirective extends NbBaseLayoutDirectionDirective {
|
32 | protected templateRef: TemplateRef<any>;
|
33 | protected viewContainer: ViewContainerRef;
|
34 | protected cd: ChangeDetectorRef;
|
35 | protected directionService: NbLayoutDirectionService;
|
36 | constructor(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, cd: ChangeDetectorRef, directionService: NbLayoutDirectionService);
|
37 | static ɵfac: i0.ɵɵFactoryDeclaration<NbLtrDirective, never>;
|
38 | static ɵdir: i0.ɵɵDirectiveDeclaration<NbLtrDirective, "[nbLtr]", never, {}, {}, never, never, false, never>;
|
39 | }
|
40 |
|
41 |
|
42 |
|
43 |
|
44 |
|
45 |
|
46 |
|
47 | export declare class NbRtlDirective extends NbBaseLayoutDirectionDirective {
|
48 | protected templateRef: TemplateRef<any>;
|
49 | protected viewContainer: ViewContainerRef;
|
50 | protected cd: ChangeDetectorRef;
|
51 | protected directionService: NbLayoutDirectionService;
|
52 | constructor(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, cd: ChangeDetectorRef, directionService: NbLayoutDirectionService);
|
53 | static ɵfac: i0.ɵɵFactoryDeclaration<NbRtlDirective, never>;
|
54 | static ɵdir: i0.ɵɵDirectiveDeclaration<NbRtlDirective, "[nbRtl]", never, {}, {}, never, never, false, never>;
|
55 | }
|
56 | export {};
|