import * as _angular_core from '@angular/core'; import { OnInit, OnDestroy } from '@angular/core'; /** * Represents a single item in a breadcrumb chain. * * Used by * - {@link WorkspaceHeaderComponent} * * ### Import * * ```typescript * import { BreadcrumbFragment } from '@talenra/ngx-base/workspace-header'; * ``` */ interface BreadcrumbFragment { /** * Label displayed to the user */ label: string; /** * Link to an internal resource (e.g. `/foo`) */ link?: string; } /** * The component displays a breadcrumb and a title. It is typically used with a * workspace-layout and placed on top of the content section. * * ### Import * * ```typescript * import { WorkspaceHeaderModule } from '@talenra/ngx-base/workspace-header'; * ``` * * ../../#/workspace-layout/workspace-simple */ declare class WorkspaceHeaderComponent implements OnInit, OnDestroy { /** * The title displayed to the user */ title: _angular_core.InputSignal; /** * The subtitle displayed to the user */ subtitle: _angular_core.InputSignal; /** * The content displayed in the breadcrumb navigation */ path: _angular_core.InputSignal; /** * A numeric counter value attached to the title (visually represented as badge/call-out). Typically a number that * represents the number of items contained in this section. * * ```html * * ``` */ counter: _angular_core.InputSignalWithTransform; /** * The maximum value of the counter. If the counter value exceeds this limit, "+" will be displayed (e.g. * "99+"). * * ```html * * ``` */ counterMax: _angular_core.InputSignalWithTransform; private hostObserver?; private hostHeight; /** * heightUpdate is emitted whenever the host element's height changes. The * new height is passed. This is useful for cases where the layout depends * on the header height and cannot be handled using CSS. */ readonly heightUpdate: _angular_core.OutputEmitterRef; private elementRef; /** @internal */ constructor(); /** @internal */ ngOnInit(): void; /** @internal */ ngOnDestroy(): void; /** * Trigger heightUpdate event whenever the host element's height changes. */ private updateHostHeight; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } export { WorkspaceHeaderComponent }; export type { BreadcrumbFragment };