@dbg-riskit/angular-view
Version:
49 lines (48 loc) • 3.06 kB
TypeScript
import { ChangeDetectorRef, OnChanges, SimpleChanges } from '@angular/core';
import { MatSidenav } from '@angular/material/sidenav';
import { AuthProvider } from '@dbg-riskit/common';
import { Observable } from 'rxjs';
import { BaseComponent } from './base.component';
import { MatchMedia } from './match.media';
import * as i0 from "@angular/core";
export declare class VerticalLayoutDirective {
static ɵfac: i0.ɵɵFactoryDeclaration<VerticalLayoutDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<VerticalLayoutDirective, "risk-layout-vertical", never, {}, {}, never>;
}
export declare class VerticalLayoutTitleDirective {
static ɵfac: i0.ɵɵFactoryDeclaration<VerticalLayoutTitleDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<VerticalLayoutTitleDirective, "risk-layout-vertical-title", never, {}, {}, never>;
}
export declare class VerticalLayoutIconDirective {
static ɵfac: i0.ɵɵFactoryDeclaration<VerticalLayoutIconDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<VerticalLayoutIconDirective, "risk-layout-vertical-icon", never, {}, {}, never>;
}
export declare class HorizontalLayoutDirective {
static ɵfac: i0.ɵɵFactoryDeclaration<HorizontalLayoutDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<HorizontalLayoutDirective, "risk-layout-horizontal", never, {}, {}, never>;
}
export declare class FooterLayoutDirective {
static ɵfac: i0.ɵɵFactoryDeclaration<FooterLayoutDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<FooterLayoutDirective, "risk-layout-footer", never, {}, {}, never>;
}
export declare class LayoutComponent extends BaseComponent implements OnChanges {
private readonly authProvider;
private readonly mainLogo;
readonly changeDetectorRef: ChangeDetectorRef;
private readonly matchMedia;
smallScreenMenuVisible: boolean;
smallScreenWidth: number;
private smallScreenWidthObserver?;
footerVisible: boolean;
toolbarBackgroundColor?: string;
backgroundColor?: string;
constructor(authProvider: AuthProvider, mainLogo: string, changeDetectorRef: ChangeDetectorRef, matchMedia: MatchMedia);
ngOnChanges(changes: SimpleChanges): void;
get authStatus(): Observable<boolean>;
private observeSmallScreenWidth;
get mediaSmall(): boolean;
get logo(): string;
closeSideNav(sidenav: MatSidenav): void;
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutComponent, [{ optional: true; }, null, null, null]>;
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutComponent, "risk-layout", never, { "smallScreenMenuVisible": "smallScreenMenuVisible"; "smallScreenWidth": "smallScreenWidth"; "footerVisible": "footerVisible"; "toolbarBackgroundColor": "toolbarBackgroundColor"; "backgroundColor": "backgroundColor"; }, {}, never, ["[menu-horizontal], risk-layout-horizontal > *", "[menu-vertical-title], risk-layout-vertical-title > *", "[menu-vertical-icon], risk-layout-vertical-icon > *", "[menu-vertical], risk-layout-vertical > *", "*", "risk-layout-footer > *"]>;
}