import { BooleanInput, NumberInput } from '@angular/cdk/coercion'; import { Portal } from '@angular/cdk/portal'; import { EventEmitter, OnInit } from '@angular/core'; import { AuthenticatedUser } from '@mtna/core-user-ui'; import { MtnaAboutDialogData } from '@mtna/lib-ui/about-dialog'; import { MtnaHelpMenuService } from '@mtna/lib-ui/help-menu'; import { MtnaBaseMenuItem, MtnaParentMenuItem } from '@mtna/lib-ui/menu'; import { MtnaSupportDialogData } from '@mtna/lib-ui/support-dialog'; import * as i0 from "@angular/core"; /** * Global app toolbar. Provides navigation, help, account, and page specific abilities. * * @author Will Davis */ export declare class MtnaAppToolbarComponent implements OnInit { private helpMenuService; static ngAcceptInputType_backTooltipDisabled: BooleanInput; static ngAcceptInputType_canNavigateBack: BooleanInput; static ngAcceptInputType_canViewTasks: BooleanInput; static ngAcceptInputType_elevated: BooleanInput; static ngAcceptInputType_hideAbout: BooleanInput; static ngAcceptInputType_hideChangeLog: BooleanInput; static ngAcceptInputType_hideSupport: BooleanInput; static ngAcceptInputType_taskCount: NumberInput; /** About info for the help menu */ aboutInfo?: MtnaAboutDialogData; /** Tooltip to display for the back navigation button */ backTooltip: string; /** Whether to disable the back navigation tooltip */ get backTooltipDisabled(): boolean; set backTooltipDisabled(tooltipDisabled: boolean); private _backTooltipDisabled; /** Whether to show the navigate back button. Defaults to false */ get canNavigateBack(): boolean; set canNavigateBack(canNavigate: boolean); private _canNavigateBack; /** Whether to show the Task List button. Defaults to false */ get canViewTasks(): boolean; set canViewTasks(canView: boolean); private _canViewTasks; /** Route path to the changelog, defaults to 'help/changelog' */ changelogRouteLink: string; /** Whether the toolbar should have elevation. Defaults to false */ get elevated(): boolean; set elevated(isElevated: boolean); private _elevated; /** Whether to hide the about menu item, defaults to false. */ get hideAbout(): boolean; set hideAbout(isHideAbout: boolean); private _hideAbout; /** Whether to hide the changelog menu item, defaults to false. */ get hideChangelog(): boolean; set hideChangelog(isHideChangelog: boolean); private _hideChangelog; /** Whether to hide the support menu item, defaults to false. */ get hideSupport(): boolean; set hideSupport(isHideSupport: boolean); private _hideSupport; /** Support info for the help menu */ supportInfo?: MtnaSupportDialogData; /** Number of global tasks to show in a badge */ get taskCount(): number; set taskCount(tasks: number); private _taskCount; /** Content for the toolbar as a CdkPortal */ toolbarContent: Portal | null | undefined; /** User that is logged in */ user: AuthenticatedUser | null | undefined; /** Navigate back clicked */ back: EventEmitter; /** Logout clicked */ logout: EventEmitter; /** User settings clicked */ settings: EventEmitter; /** Tasks toggle clicked */ tasks: EventEmitter; helpMenu: MtnaParentMenuItem; _calculatedContentWidth: string | undefined; constructor(helpMenuService: MtnaHelpMenuService); ngOnInit(): void; /** * Opens a help dialog, either about or support. * * @param routeLink route link that should open a help dialog */ openHelpDialog(routeLink: MtnaBaseMenuItem): void; private _calculateContentWidth; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }