UNPKG

@logo-software/leftbar

Version:

Leftbar is part of the Logo Elements Environment. This library is a navigational part of the apps and shared by products within a platform. It provides a common set of interaction patterns that persist between and across products also standartization of n

35 lines (34 loc) 1.29 kB
/** * @license * Copyright LOGO YAZILIM SANAYİ VE TİCARET A.Ş. All Rights Reserved. * * Save to the extent permitted by law, you may not use, copy, modify, * distribute or create derivative works of this material or any part * of it without the prior written consent of LOGO YAZILIM SANAYİ VE TİCARET A.Ş. Limited. * Any reproduction of this material must contain this notice. */ import { Subject } from 'rxjs'; import { PaasUser } from './user'; /** * By using leftbar service, you can access, set user datas and switch between slim and extended modes via your own code. */ export declare class LeftbarService { /** * The user information data in PaasUser interface. */ userInfo: PaasUser; userDataLoad: Subject<PaasUser>; /** * Global activation of slim mode. It accepts boolean. True sets slim mode activated. */ isSlim: boolean; /** * Global feature for disable/enable application selection on-the-fly. If setted true, application selection will be disabled. Default value is 'false' */ disableAppSelection: boolean; /** * Global feature for show/hide user details on-the-fly. If setted true, user details will be shown. Default value is 'false' */ showUserDetails: boolean; constructor(); }