import * as _angular_core from '@angular/core'; import { OnInit, OnDestroy, OnChanges, SimpleChanges } from '@angular/core'; import { Portal } from '@angular/cdk/portal'; import { Observable } from 'rxjs'; import * as _siemens_element_ng_common from '@siemens/element-ng/common'; import { MenuItem } from '@siemens/element-ng/common'; import * as _siemens_element_translate_ng_translate from '@siemens/element-translate-ng/translate'; import { TranslatableString } from '@siemens/element-translate-ng/translate'; import { Breakpoints, ElementDimensions } from '@siemens/element-ng/resize-observer'; import { NavigationExtras, ActivatedRoute } from '@angular/router'; import { ContentActionBarMainItem } from '@siemens/element-ng/content-action-bar'; import { MenuItem as MenuItem$1 } from '@siemens/element-ng/menu'; declare class SiSidePanelService { private contentSubject; /** @internal */ readonly content$: Observable | undefined>; private openSubject; /** * Emits on side panel is open or close. * * @defaultValue this.openSubject.asObservable() */ readonly isOpen$: Observable; private tempContentSubject; /** @internal */ readonly tempContent$: Observable | undefined>; private tempContentClosed?; /** @internal */ readonly enableMobile: _angular_core.WritableSignal; /** @internal */ readonly collapsible: _angular_core.WritableSignal; private fullscreenSubject; /** * Emits when fullscreen overlay mode is toggled. */ readonly isFullscreen$: Observable; private bodyScrollLocks; private originalBodyOverflow?; private readonly document; private readonly isBrowser; /** Set or update displayed content. */ setSidePanelContent(portal: Portal | undefined): void; /** Open side panel. */ open(): void; /** Close side panel. */ close(): void; /** Toggle side panel open/close. */ toggle(): void; /** Indicate is side panel open. */ isOpen(): boolean; /** Toggle fullscreen overlay mode. */ toggleFullscreen(): void; /** Set fullscreen overlay mode. */ setFullscreen(fullscreen: boolean): void; /** Indicate if side panel is in fullscreen overlay mode. */ isFullscreen(): boolean; /** * Indicate that the side panel is open with temporary content. */ isTemporaryOpen(): boolean; /** Show side panel temporary content, opening the side panel when necessary. */ showTemporaryContent(portal: Portal | undefined): Observable; /** Hide side panel temporary content, reverting to state before showing temporary content. */ hideTemporaryContent(): boolean; /** * Request body scroll lock. Uses reference counting to handle multiple panels. */ requestBodyScrollLock(): void; /** * Release body scroll lock. Restores scroll when no more locks exist. */ releaseBodyScrollLock(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } /** * Copyright (c) Siemens 2016 - 2026 * SPDX-License-Identifier: MIT */ /** * Side panel mode options. * - scroll: pushes content when side panel opens/closes, * - over: Opens as an overlay on existing content. Just like modal. */ type SidePanelMode = 'scroll' | 'over'; /** * Side panel size options. * - regular: 390px, * - wide: 500px, * - extended: responsive width that adapts to screen size. Full width on small/medium screens, * scales from 480px to 912px (max) on larger screens for optimal content display */ type SidePanelSize = 'regular' | 'wide' | 'extended'; /** * Side panel display mode options. * - navigate: allows navigation to dedicated page * - overlay: allows full-screen overlay toggle */ type SidePanelDisplayMode = 'navigate' | 'overlay'; /** * Interface representing a router link item in the side panel. */ interface SidePanelNavigateRouterLink { type: 'router-link'; /** Label that is shown to the user. */ label: TranslatableString; /** Link for the angular router. Accepts the same values as {@link RouterLink}. */ routerLink: string | any[]; /** Navigation extras that are passed to the {@link RouterLink}. */ extras?: NavigationExtras; } /** * Interface representing a link item in the side panel. */ interface SidePanelNavigateLink { type: 'link'; /** Label that is shown to the user. */ label: TranslatableString; /** The href property of the anchor. */ href: string; /** The target property of the anchor. */ target?: string; } /** * Configuration for side panel navigation. */ type SidePanelNavigateConfig = SidePanelNavigateRouterLink | SidePanelNavigateLink; declare class SiSidePanelComponent implements OnInit, OnDestroy, OnChanges { /** * Custom breakpoint for ultra-wide screens (≥1920px) */ private static readonly xxxlMinimum; /** * @defaultValue false */ readonly collapsible: _angular_core.InputSignalWithTransform; /** * Default state of navigation */ readonly collapsed: _angular_core.ModelSignal; /** * Mode of side panel * (ignored below a certain width) * * @defaultValue 'over' */ readonly mode: _angular_core.InputSignal; /** * Size of side-panel * * @defaultValue 'regular' */ readonly size: _angular_core.InputSignal; /** * Toggle icon aria-label, required for a11y * * @defaultValue * ``` * t(() => $localize`:@@SI_SIDE_PANEL.TOGGLE:Toggle`) * ``` */ readonly toggleItemLabel: _angular_core.InputSignal<_siemens_element_translate_ng_translate.TranslatableString>; /** * Specifies custom breakpoints to automatically switch mode. * The `smMinimum` specifies the breakpoint for the mobile view. * The `lgMinimum` specifies the breakpoint to allow scroll mode * (below automatically uses over mode). * The `xlMinimum` specifies the breakpoint to allow scroll mode * with wide size (below automatically uses over mode). */ readonly breakpoints: _angular_core.InputSignal; /** * Enable mobile drawer for small screen sizes. Should not be used in conjunction with the vertical navbar. * * @defaultValue false */ readonly enableMobile: _angular_core.InputSignalWithTransform; /** * Whether to disable backdrop when side panel is open in over mode. * When false (default), the backdrop prevents interaction with background content while preserving visual context. * * @defaultValue false */ readonly disableBackdrop: _angular_core.InputSignalWithTransform; /** * Emits when the panel is closed */ readonly closed: _angular_core.OutputEmitterRef; /** * Emits whenever the content is resized due to opening and closing or parent resize. */ readonly contentResize: _angular_core.OutputEmitterRef; protected readonly isScrollMode: _angular_core.Signal; protected readonly isOverMode: _angular_core.Signal; protected readonly showBackdrop: _angular_core.Signal; protected readonly isXs: _angular_core.WritableSignal; protected readonly isSm: _angular_core.WritableSignal; protected readonly isMd: _angular_core.WritableSignal; protected readonly isLg: _angular_core.WritableSignal; protected readonly isXl: _angular_core.WritableSignal; protected readonly isXxl: _angular_core.WritableSignal; protected readonly isXxxl: _angular_core.WritableSignal; protected readonly isCollapsed: _angular_core.WritableSignal; protected readonly ready: _angular_core.WritableSignal; protected readonly isHidden: _angular_core.WritableSignal; protected readonly isFullscreenOverlay: _angular_core.WritableSignal; protected readonly showTempContent: _angular_core.WritableSignal; protected readonly navbarLayout: _angular_core.Signal<_siemens_element_ng_common.SiNavbarVerticalLayout | undefined>; private readonly enclosingNavbar; private readonly projectedNavbar; private readonly panelElement; private readonly contentElement; private readonly portalOutlet; private readonly tmpPortalOutlet; /** * The $rpanel-transition-duration in the style is 0.5 seconds. * Sending the resize event after resize need to wait until resize is done. */ private readonly resizeEventDelay; private resizeEvent; private openingOrClosing; private previousContentDimensions; private isCollapsedInternal; private readonly isBrowser; private readonly element; private readonly resizeObserver; private readonly service; private readonly cdRef; private readonly destroyRef; private readonly document; constructor(); ngOnChanges(changes: SimpleChanges): void; ngOnInit(): void; ngOnDestroy(): void; /** * Toggle whether the side panel is expanded or not. */ toggleSidePanel(): void; private emitResizeOutputs; private getContentDimensions; private setBreakpoints; private sendResize; private attachContent; private attachTempContent; private openClose; private doOpenClose; private moveFocusInside; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * An extension of MenuItem to support combined icons. * * @deprecated Use the {@link SiSidePanelActionsComponent} instead: * * ```html * * * * * * ``` */ interface StatusItem extends MenuItem { overlayIcon?: string; } declare class SiSidePanelContentComponent implements OnInit { private static idCounter; protected readonly panelContentId: string; /** * @deprecated This input is no longer used. The collapsible state is managed by the SiSidePanelService. * This input will be removed in a future major version. * @defaultValue undefined */ readonly collapsibleInput: _angular_core.InputSignalWithTransform; /** * Header of side panel * * @defaultValue '' */ readonly heading: _angular_core.InputSignal; /** * Secondary text displayed below the heading. */ readonly subHeading: _angular_core.InputSignal; /** * Input list of primary action items * * @defaultValue [] */ readonly primaryActions: _angular_core.InputSignal<(MenuItem | ContentActionBarMainItem)[]>; /** * Input list of secondary action items. * * @defaultValue [] */ readonly secondaryActions: _angular_core.InputSignal<(MenuItem | MenuItem$1)[]>; /** * Status icons/actions * * @deprecated Use the {@link SiSidePanelActionsComponent} instead: * * ```html * * * * * * ``` * * @defaultValue [] */ readonly statusActions: _angular_core.InputSignal; /** * Toggles search bar * * @defaultValue false */ readonly searchable: _angular_core.InputSignalWithTransform; /** * Placeholder text for search * * @defaultValue * ``` * t(() => $localize`:@@SI_SIDE_PANEL.SEARCH_PLACEHOLDER:Search…`) * ``` */ readonly searchPlaceholder: _angular_core.InputSignal; /** * Aria label for close button. Needed for a11y * * @defaultValue * ``` * t(() => $localize`:@@SI_SIDE_PANEL.CLOSE:Close`) * ``` */ readonly closeButtonLabel: _angular_core.InputSignal; /** * Toggle icon aria-label, required for a11y * * @defaultValue * ``` * t(() => $localize`:@@SI_SIDE_PANEL.TOGGLE:Toggle`) * ``` */ readonly toggleItemLabel: _angular_core.InputSignal; /** * Enter fullscreen aria-label, required for a11y * * @defaultValue * ``` * t(() => $localize`:@@SI_SIDE_PANEL.ENTER_FULLSCREEN:Full screen`) * ``` */ readonly enterFullscreenLabel: _angular_core.InputSignal; /** * Exit fullscreen aria-label, required for a11y * * @defaultValue * ``` * t(() => $localize`:@@SI_SIDE_PANEL.EXIT_FULLSCREEN:Exit full screen`) * ``` */ readonly exitFullscreenLabel: _angular_core.InputSignal; /** * Show a badge on the mobile drawer indicating a new alert or notification * * @defaultValue false */ readonly showMobileDrawerBadge: _angular_core.InputSignalWithTransform; /** * Display mode for side panel - enables navigate or overlay functionality */ readonly displayMode: _angular_core.InputSignal; /** * Configuration for navigate mode */ readonly navigateConfig: _angular_core.InputSignal; /** * Output for search bar input */ readonly searchEvent: _angular_core.OutputEmitterRef; protected readonly activatedRoute: ActivatedRoute | null; protected readonly service: SiSidePanelService; protected readonly isCollapsed: _angular_core.WritableSignal; protected readonly isExpanded: _angular_core.WritableSignal; protected readonly isFullscreen: _angular_core.WritableSignal; protected readonly enableMobile: _angular_core.Signal; protected readonly collapsible: _angular_core.Signal; protected readonly mobileSize: _angular_core.WritableSignal; protected readonly focusable: _angular_core.Signal; protected readonly icons: Record<"elementCancel" | "elementDoubleLeft" | "elementDoubleRight" | "elementExport" | "elementPinch" | "elementZoom", string>; /** * The $rpanel-transition-duration in the style is 0.5 seconds. * For the animation we need to wait until the resize is done. */ private readonly resizeAnimationDelay; private readonly document; private readonly destroyRef; private readonly breakpointObserver; private expandedTimeout; constructor(); ngOnInit(): void; /** * Toggle fullscreen overlay mode */ toggleFullscreen(): void; protected toggleSidePanel(event?: MouseEvent): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Creates an actions container for the side-panel. * This action will remain visible if the side-panel is collapsed. * * @example * ```html * * * * * * ``` */ declare class SiSidePanelActionsComponent { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Creates an action for the side-panel. * This action will remain visible if the side-panel is collapsed. * * @example * ```html * * * * * * ``` */ declare class SiSidePanelActionComponent { /** Icon name for the main icon. */ readonly icon: _angular_core.InputSignal; /** CSS color class for the main icon (e.g. `'status-warning'`). */ readonly iconColor: _angular_core.InputSignal; /** Optional stacked icon name displayed on top of the main icon. */ readonly stackedIcon: _angular_core.InputSignal; /** CSS color class for the stacked icon (e.g. `'text-primary'`). */ readonly stackedIconColor: _angular_core.InputSignal; /** * When disabled, renders a dot separator instead of the icon and label. * * @defaultValue false */ readonly disabled: _angular_core.InputSignalWithTransform; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * Back button for navigating from side-panel details to the previous view. * * @example * ```html * * ``` */ declare class SiSidePanelBackButtonComponent { protected readonly icons: Record<"elementLeft4", string>; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class SiSidePanelModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { SiSidePanelActionComponent, SiSidePanelActionsComponent, SiSidePanelBackButtonComponent, SiSidePanelComponent, SiSidePanelContentComponent, SiSidePanelModule, SiSidePanelService }; export type { SidePanelDisplayMode, SidePanelMode, SidePanelNavigateConfig, SidePanelNavigateLink, SidePanelNavigateRouterLink, SidePanelSize, StatusItem };