import * as _angular_core from '@angular/core'; import { OnInit, OnChanges, OnDestroy, SimpleChanges, Signal } from '@angular/core'; import { SplitUnit } from '@siemens/element-ng/split'; import { Subject, BehaviorSubject } from 'rxjs'; import { TranslatableString } from '@siemens/element-translate-ng/translate'; declare class SiListDetailsComponent implements OnInit, OnChanges, OnDestroy { private readonly document; private resizeSubs?; private elementRef; private resizeObserver; private readonly listDetailsContainer; private readonly listPart; private readonly split; protected readonly animationsGloballyDisabled: boolean; /** * A numeric value defining the minimum width in px, which the component needs * to be displayed in its large layout. Whenever smaller than * this threshold, the small layout will be used. Default is * value is BOOTSTRAP_BREAKPOINTS.mdMinimum. * * @defaultValue BOOTSTRAP_BREAKPOINTS.mdMinimum */ readonly expandBreakpoint: _angular_core.InputSignal; readonly hasLargeSize: _angular_core.Signal; /** * Whether the details are currently active or not, mostly relevant in the * responsive scenario when the viewport only shows either the list or the detail. * * @defaultValue false */ readonly detailsActive: _angular_core.ModelSignal; /** * Whether the list and detail parts should be resizable by a splitter or not. * This is only supported in the 'large' scenario (when `hasLargeSize` is `true`). * Default value is `false`. * * @defaultValue false */ readonly disableResizing: _angular_core.InputSignalWithTransform; /** * The list pane size, updated when the split is resized or restored. * With resizing enabled, the value uses {@link listWidthUnit}: pixels for `px`, * or a percentage-based fractional weight for `fr`. With resizing disabled, * the value is always interpreted as a percentage. * Percentage values must be in the inclusive range 0-100; values outside this * range fall back to a 32/68 list/details split. * * @defaultValue 300 */ readonly listWidth: _angular_core.ModelSignal; /** * Unit used for the list split part when resizing is enabled. * * @defaultValue 'px' */ readonly listWidthUnit: _angular_core.InputSignal; /** * Sets the minimal width of the list component in pixel. * * @defaultValue 300 */ readonly minListSize: _angular_core.InputSignal; /** * Sets the minimal width of the detail component in pixel. * * @defaultValue 300 */ readonly minDetailsSize: _angular_core.InputSignal; /** * An optional stateId to uniquely identify a component instance. * Required for persistence of ui state. */ readonly stateId: _angular_core.InputSignal; /** * Percentage width shared by static and resizable `fr` layouts. * The migration sets `listWidthUnit="fr"` without setting `listWidth`, so the default * pixel width of 300 must fall back to 32 to preserve the legacy 32/68 split. * @internal */ readonly listWidthPercent: _angular_core.Signal; protected readonly splitSizes: _angular_core.Signal<[number, number]>; protected readonly listStateId: _angular_core.Signal; protected readonly detailsStateId: _angular_core.Signal; protected readonly opacity: _angular_core.Signal<"" | "0">; /** @internal */ readonly detailsExpandedAnimation: _angular_core.Signal<"disabled" | "details-active expanded" | "collapsed">; private hadLargeSizePreviously; private detailsActivePreviously; private previouslyFocusedElementInList; /** @internal */ readonly transferFocusToList: Subject; /** * A behavior subject because the details component may only be created when details are visible. * @internal */ readonly transferFocusToDetails: BehaviorSubject; private animationDone?; ngOnChanges(changes: SimpleChanges): void; ngOnInit(): void; ngOnDestroy(): void; private readonly resizeDimensions; protected onSplitSizesChange(sizes: number[]): void; private getListSizePx; /** @internal */ detailsBackClicked(options?: { animationDone?: () => void; }): void; protected detailsExpandedAnimationDone(event: TransitionEvent): void; private transferFocus; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class SiListPaneComponent { protected parent: SiListDetailsComponent; private readonly document; private element; constructor(); static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class SiListPaneHeaderComponent { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class SiListPaneBodyComponent { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class SiDetailsPaneComponent { protected parent: SiListDetailsComponent; private readonly routerOutlet; private subscription?; private destroyer; /** @internal */ readonly isRouterBased: _angular_core.Signal; constructor(); static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class SiDetailsPaneHeaderComponent { protected readonly icons: Record<"elementBack", string>; private parent; /** * Optional title to be displayed. */ readonly title: _angular_core.InputSignal; /** * You can hide the back button in the mobile view by setting true. Required * in add, edit workflows on mobile sizes. During add or edit, the back button * should be hidden. Default value is `false`. * * @defaultValue false */ readonly hideBackButton: _angular_core.InputSignalWithTransform; /** * Details back button text. Required for a11y. * * @defaultValue * ``` * t(() => $localize`:@@SI_LIST_DETAILS.BACK:Back`) * ``` */ readonly backButtonText: _angular_core.InputSignal; /** * The URL to navigate to when the back buttons is clicked. * This is only used when the `si-details-pane` is used with a router-outlet. * * @defaultValue '../' */ readonly backButtonUrl: _angular_core.InputSignal; private isRouterBased; private router; private activatedRoute; private readonly backButton; constructor(); protected get hasLargeSize(): Signal; protected backClicked(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class SiDetailsPaneBodyComponent { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class SiDetailsPaneFooterComponent { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } export { SiDetailsPaneBodyComponent, SiDetailsPaneComponent, SiDetailsPaneFooterComponent, SiDetailsPaneHeaderComponent, SiListDetailsComponent, SiListPaneBodyComponent, SiListPaneComponent, SiListPaneHeaderComponent };