UNPKG

@soushians/layout

Version:

24 lines (23 loc) 859 B
import { InjectionToken } from "@angular/core"; import { Action } from "@ngrx/store"; export interface LayoutModuleConfigModel { showMainSidenav?: boolean; showSecondSideNav?: boolean; secondSideNavMode?: "over" | "push" | "side"; mainSideNavMode?: "over" | "push" | "side"; menuItems?: { route: string; icon: string; roles: string[]; title: string; }[]; showLeftNavBar?: boolean; stickyLeftNavBar?: boolean; layoutMode?: "with-margin" | "without-margin" | "default"; title?: string; signoutAction?: Action; menu_item_authorization_operator?: ([routes, user]: [any, any]) => any[]; theme?: string; } export declare const MODULE_DEFAULT_CONFIG: LayoutModuleConfigModel; export declare const MODULE_CONFIG_TOKEN: InjectionToken<LayoutModuleConfigModel>;