import * as _siemens_element_translate_ng_translate from '@siemens/element-translate-ng/translate'; import { TranslatableString } from '@siemens/element-translate-ng/translate'; import * as _angular_core from '@angular/core'; import { OnDestroy, TemplateRef, Injector, OnInit, OnChanges, Signal, ElementRef, SimpleChanges } from '@angular/core'; import { HeaderWithDropdowns, SiHeaderDropdownTriggerDirective } from '@siemens/element-ng/header-dropdown'; import { Subject } from 'rxjs'; import * as _siemens_element_ng_application_header from '@siemens/element-ng/application-header'; import { NavigationExtras, IsActiveMatchOptions } from '@angular/router'; /** Root component for the application header. */ declare class SiApplicationHeaderComponent implements HeaderWithDropdowns, OnDestroy { private static idCounter; /** * Defines the minimum breakpoint which must be matched to expand the header / switch to desktop mode. * * @defaultValue 'sm' */ readonly expandBreakpoint: _angular_core.InputSignal<"sm" | "md" | "lg" | "xl" | "xxl" | "never">; /** Template reference for the launchpad content rendered inside the header. */ readonly launchpad: _angular_core.InputSignal | undefined>; /** * Accessible label for the launchpad toggle button. * * @defaultValue * ``` * t(() => $localize`:@@SI_APPLICATION_HEADER.LAUNCHPAD:Launchpad`) * ``` */ readonly launchpadLabel: _angular_core.InputSignal<_siemens_element_translate_ng_translate.TranslatableString>; /** @internal */ readonly closeMobileMenus: Subject; /** @internal */ readonly mobileNavigationExpanded: _angular_core.WritableSignal; /** @internal */ readonly hasNavigation: _angular_core.WritableSignal; protected readonly openDropdownCount: _angular_core.WritableSignal; protected readonly launchpadOpen: _angular_core.WritableSignal; protected readonly id: string; protected toggleNavigation: _siemens_element_translate_ng_translate.TranslatableString; protected injector: Injector; protected readonly icons: Record<"elementThumbnails" | "elementMenu", string>; private readonly navigationToggle; private readonly focusTrap; private breakpointObserver; private openDropdown?; private closeMobileSub; /** @internal */ readonly inlineDropdown: _angular_core.Signal; constructor(); ngOnDestroy(): void; /** @internal */ onDropdownItemTriggered(): void; /** @internal */ dropdownClosed(trigger?: SiHeaderDropdownTriggerDirective): void; /** @internal */ dropdownOpened(trigger?: SiHeaderDropdownTriggerDirective): void; /** @internal */ closeLaunchpad(): void; /** @internal */ openLaunchpad(): void; protected toggleMobileNavigationExpanded(): void; protected toggleLaunchpad(): void; protected navigationEscapePressed(): void; protected backdropClicked(): void; private openMobileNavigation; private closeMobileNavigation; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class SiAccountDetailsComponent { /** The user's full name. */ readonly name: _angular_core.InputSignal; /** The user's company name. */ readonly company: _angular_core.InputSignal; /** The user's email address. */ readonly email: _angular_core.InputSignal; /** The user's role. */ readonly userRole: _angular_core.InputSignal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** Adds a navigation item to the header. Should be located inside `.header-navigation`. */ declare class SiHeaderNavigationItemComponent { /** @internal */ dropdownTrigger: SiHeaderDropdownTriggerDirective | null; protected readonly icons: Record<"elementDown2", string>; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** Container for actions that should be collapsed in mobile mode. */ declare class SiHeaderCollapsibleActionsComponent implements OnDestroy { private static idCounter; /** * Accessible label of the toggle button if actions are collapsed. * * @defaultValue * ``` * t(() => $localize`:@@SI_APPLICATION_HEADER.TOGGLE_ACTIONS:Show actions`) * ``` */ readonly mobileToggleLabel: _angular_core.InputSignal<_siemens_element_translate_ng_translate.TranslatableString>; /** @internal **/ readonly mobileExpanded: _angular_core.WritableSignal; /** @internal **/ readonly badgeCount: _angular_core.WritableSignal; protected readonly id: string; protected readonly icons: Record<"elementOptionsVertical", string>; private readonly toggle; private readonly focusTrap; private header; private closeMobileSub; ngOnDestroy(): void; protected toggleMobileExpanded(): void; protected escapePressed(): void; private openMobile; private closeMobile; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Copyright (c) Siemens 2016 - 2026 * SPDX-License-Identifier: MIT */ declare abstract class SiHeaderActionItemBase implements OnInit { /** @internal */ readonly dropdownTrigger: SiHeaderDropdownTriggerDirective | null; protected readonly collapsibleActions: SiHeaderCollapsibleActionsComponent | null; protected readonly icons: Record<"elementDown2", string>; private readonly header; private readonly destroyRef; ngOnInit(): void; protected click(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } /** * Base for icon based actions. * @internal */ declare abstract class SiHeaderActionIconItemBase extends SiHeaderActionItemBase implements OnChanges { /** * Adds a badge to the header item. * If type * - =number, the number will be shown and automatically trimmed if \>99 * - =true, an empty red dot will be shown */ readonly badge: _angular_core.InputSignal; protected abstract readonly itemTitle: Signal>; private readonly tooltipService; private readonly elementRef; private readonly existingTooltip; private readonly canShowTooltip; protected readonly badgeDot: Signal; protected readonly badgeValue: Signal; constructor(); ngOnChanges(changes: SimpleChanges): void; protected readonly visuallyHideTitle: Signal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } /** Adds an action item to the header. Should be located inside `.header-actions`. */ declare class SiHeaderActionItemComponent extends SiHeaderActionIconItemBase { /** The icon to be shown. */ readonly icon: _angular_core.InputSignal; protected readonly itemTitle: _angular_core.Signal>; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** Adds an account item to the header. Should be located inside `.header-actions`. */ declare class SiHeaderAccountItemComponent extends SiHeaderActionIconItemBase { protected readonly itemTitle: _angular_core.Signal>; /** Name of the account. */ readonly name: _angular_core.InputSignal; /** Initials of the account. If not provided, they will be calculated. */ readonly initials: _angular_core.InputSignal; /** URL to an image which should be shown instead of the initials. */ readonly imageUrl: _angular_core.InputSignal; /** * Accessible label for the account item. * * @defaultValue * ``` * t(() => $localize`:@@SI_APPLICATION_HEADER.ACCOUNT:Account of {{name}}`) * ``` */ readonly accountItemLabel: _angular_core.InputSignal<_siemens_element_translate_ng_translate.TranslatableString>; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class SiHeaderSelectionItemComponent extends SiHeaderActionItemBase { /** * Sets the open state which will only affect the arrow. Only use this property when not using {@link SiHeaderDropdownTriggerDirective}. * * @defaultValue false */ readonly open: _angular_core.InputSignal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** The siemens logo. Should be located inside `.header-brand`. */ declare class SiHeaderLogoDirective implements OnInit { protected readonly logoText: _angular_core.WritableSignal; private elementRef; private injector; ngOnInit(): void; protected updateLogoText(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class SiHeaderActionsDirective { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class SiHeaderBrandDirective { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } /** * Copyright (c) Siemens 2016 - 2026 * SPDX-License-Identifier: MIT */ declare class SiHeaderNavigationComponent implements OnDestroy { protected header: SiApplicationHeaderComponent; protected readonly icons: Record<"elementThumbnails", string>; constructor(); ngOnDestroy(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Copyright (c) Siemens 2016 - 2026 * SPDX-License-Identifier: MIT */ /** Represents an app to be shown in the launchpad. */ interface AppLink extends AppBase { /** The type of the app. can be either 'link' or 'router-link' */ type?: 'link'; /** URL destination of the app. */ href: string; /** Value for the anchor target attribute. */ target?: string; /** Whether the app is the currently running app. */ active?: boolean; } interface AppRouterLink extends AppBase { type: 'router-link'; /** Link for the angular router. Accepts the same values as {@link https://angular.dev/api/router/RouterLink}. */ routerLink: string | any[]; /** Navigation extras that are passed to the {@link https://angular.dev/api/router/NavigationExtras}. */ extras?: NavigationExtras; /** Active match options for routerLinkActive {@link https://angular.dev/api/router/IsActiveMatchOptions}.*/ activeMatchOptions?: { exact: boolean; } | IsActiveMatchOptions; } /** Represents a categories in the launchpad. */ interface AppCategory { /** The name of the app category. */ name?: TranslatableString; /** The apps to show under this category. */ apps: App[]; } interface AppBase { /** Name of the app */ name: TranslatableString; /** Name of the related system. */ systemName?: TranslatableString; /** Icon of the app. */ iconUrl?: string; /** CSS class to apply, which should render the icon. Typically, "element-*". */ iconClass?: string; /** Whether the app is marked as favorite. */ favorite?: boolean; /** Whether the app should be marked as external. */ external?: boolean; } type App = AppLink | AppRouterLink; interface FavoriteChangeEvent { app: App; favorite: boolean; } declare class SiLaunchpadFactoryComponent { /** * Text to close the launchpad. Needed for a11y. * * @defaultValue * ``` * t(() => $localize`:@@SI_LAUNCHPAD.CLOSE:Close launchpad`) * ``` */ readonly closeText: _angular_core.InputSignal; /** * Title of the launchpad. * * @defaultValue * ``` * t(() => $localize`:@@SI_LAUNCHPAD.TITLE:Switch app`) * ``` */ readonly titleText: _angular_core.InputSignal; /** * Subtitle of the launchpad. * When not provided, no subtitle is displayed. */ readonly subtitleText: _angular_core.InputSignal; /** All app items shown in the launchpad. */ readonly apps: _angular_core.InputSignal; /** * Allow the user to select favorite apps which will then be displayed at the top. * * @defaultValue false */ readonly enableFavorites: _angular_core.InputSignalWithTransform; /** * Title of the favorite apps section. * * @defaultValue * ``` * t(() => $localize`:@@SI_LAUNCHPAD.FAVORITE_APPS:Favorites`) * ``` */ readonly favoriteAppsText: _angular_core.InputSignal; /** * Title of the show more apps button. * * @defaultValue * ``` * t(() => $localize`:@@SI_LAUNCHPAD.SHOW_MORE:Show more`) * ``` */ readonly showMoreAppsText: _angular_core.InputSignal; /** @deprecated This input no longer has an effect. {@link showMoreAppsText} is shown in all cases. */ readonly showLessAppsText: _angular_core.InputSignal; readonly favoriteChange: _angular_core.OutputEmitterRef; protected showAllApps: boolean; protected readonly allAppsId = "__si-launchpad-factory-all-apps"; protected readonly categories: _angular_core.Signal; protected readonly favorites: _angular_core.Signal<(_siemens_element_ng_application_header.AppLink | _siemens_element_ng_application_header.AppRouterLink)[]>; protected readonly hasFavorites: _angular_core.Signal; protected readonly icons: Record<"elementDown2" | "elementCancel", string>; private header; protected closeLaunchpad(): void; protected toggleFavorite(event: FavoriteChangeEvent): void; protected escape(): void; protected isCategories(items: App[] | AppCategory[]): items is AppCategory[]; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } export { SiAccountDetailsComponent, SiApplicationHeaderComponent, SiHeaderAccountItemComponent, SiHeaderActionItemComponent, SiHeaderActionsDirective, SiHeaderBrandDirective, SiHeaderCollapsibleActionsComponent, SiHeaderLogoDirective, SiHeaderNavigationComponent, SiHeaderNavigationItemComponent, SiHeaderSelectionItemComponent, SiLaunchpadFactoryComponent }; export type { App, AppBase, AppCategory, AppLink, AppRouterLink, FavoriteChangeEvent };