@linid-dm/directory-manager-client-core
Version:
Core package by providing a set of angular components for the Directory Manager app.
30 lines (29 loc) • 1.4 kB
TypeScript
import { StateContext } from '@ngxs/store';
import { IAccountDiv, IBtnDetail, IHeaderConfig, IHeaderLogo, IHeaderLogoBtn, ISidenavBtn, ITabProps } from '../../interfaces/configs.interface';
import * as Header from './header.actions';
import * as i0 from "@angular/core";
export interface HeaderStateModel {
logoBtn: IHeaderLogoBtn;
logo: IHeaderLogo;
logo1: IHeaderLogo;
sidenavBtn: ISidenavBtn;
accountDiv: IAccountDiv;
profileBtn: IBtnDetail;
logoutBtn: IBtnDetail;
tab: ITabProps;
}
export declare class HeaderState {
static getHeader(state: HeaderStateModel): HeaderStateModel;
static getHeaderDetail(state: HeaderStateModel): IHeaderConfig;
static getLogoBtn(state: HeaderStateModel): IHeaderLogoBtn;
static getLogo(state: HeaderStateModel): IHeaderLogo;
static getLogo1(state: HeaderStateModel): IHeaderLogo;
static getSidenavBtn(state: HeaderStateModel): ISidenavBtn;
static getAccountDiv(state: HeaderStateModel): IAccountDiv;
static getProfileBtn(state: HeaderStateModel): IBtnDetail;
static getLogoutBtn(state: HeaderStateModel): IBtnDetail;
static getTabProps(state: HeaderStateModel): ITabProps;
setHomeConfig(ctx: StateContext<HeaderStateModel>, action: Header.SetHeaderConfig): void;
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderState, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<HeaderState>;
}