/** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { ElementRef, OnInit, TemplateRef, OnDestroy, OnChanges, SimpleChanges, EventEmitter } from '@angular/core'; import { VtsProlayoutService } from './pro-layout.service'; import { VtsBlockUIService } from './block-ui.service'; import { VtsNotificationConfig, VtsAvatarMenu, VtsAvatarUser, VtsMenuItemProLayout, VtsBlockUIConfig, VtsVisibilityConfig, VtsSettingDrawerHeaderTitle } from './pro-layout.types'; import { VtsBreadcrumbItem } from '@ui-vts-kit/ng-vts/breadcrumb'; import { VtsTheme, VtsThemeService } from '@ui-vts-kit/theme/services'; import * as i0 from "@angular/core"; export declare class VtsProLayoutContainerComponent implements OnInit, OnDestroy, OnChanges { private elementRef; private prolayoutService; private lockUiService; private themeService; constructor(elementRef: ElementRef, prolayoutService: VtsProlayoutService, lockUiService: VtsBlockUIService, themeService: VtsThemeService); ngOnDestroy(): void; themeColor: string; isFixedHeader: boolean; isFixedSider: boolean; isShowHeader: boolean; isShowSider: boolean; isShowFooter: boolean; vtsMenuHeader: VtsMenuItemProLayout[]; vtsMenuSider: VtsMenuItemProLayout[]; vtsHeaderTitle: string | TemplateRef | null; vtsAvatar: VtsAvatarUser; vtsAvatarMenu: VtsAvatarMenu[]; vtsLogoUrl: string; vtsBreadcrumbArray: VtsBreadcrumbItem[]; vtsSeparator: string | TemplateRef | null; vtsFooterTemplate: TemplateRef | null; vtsNotificationConfig: VtsNotificationConfig; vtsVisibleNotifyPane: boolean; vtsMenuTemplate: TemplateRef | null; vtsBlockUIConfig: VtsBlockUIConfig; vtsMenuAvatarTemplateRef: TemplateRef | null; vtsVisibilityConfig: VtsVisibilityConfig; vtsSettingHeaderTitle: VtsSettingDrawerHeaderTitle; /** * display header menu's items horizontally */ vtsUseExpandHeaderMenu: boolean; /** * mark active root menu item on header menu, when vtsUseExpandHeaderMenu = true */ vtsActiveRootMenuHeader: string | number | undefined; /** * prolayout uses a isolated instance of vtsThemeService, that's why when changes from prolayout needs to be fired outside */ vtsChangeThemeColor: EventEmitter; /** * listen for changes of notify menu context, when vtsNotificationConfig.type == 'menuContext' */ vtsNotifyMenuCtxVisibleChange: EventEmitter; /** * Template for additional button on menu sidebar (ex: logout, contact support, subscription plan) */ vtsAdditionalButtonTpl: TemplateRef | null; private onDestroy$; isScreenLocked: boolean; onChangeVisiblityHeader(value: boolean): void; onChangeVisiblitySider(value: boolean): void; onChangeVisiblityFooter(value: boolean): void; onChangeThemeColor(color: VtsTheme | null): void; onSelectMenuSiderItem(selected: VtsMenuItemProLayout): void; ngOnChanges(changes: SimpleChanges): void; ngOnInit(): void; /** * destroy all subscription of prolayout service */ destroySubscriptions(): void; /** * get initial value when page loaded. This function will only be called once */ setInitalThemeColor(color: VtsTheme | null): void; onChangeVisibleChangeCtxNotify(val: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }