UNPKG

@covalent/core

Version:

Core Teradata UI Platform for layouts, icons, custom components and themes. This should be added as a dependency for any project that wants to use layouts, icons and themes for Angular Material.

57 lines (56 loc) 2.5 kB
import { QueryList, OnInit, OnDestroy, AfterContentInit, AfterViewInit } from '@angular/core'; import { MatMenuTrigger } from '@angular/material/menu'; import { TdBreadcrumbComponent } from './breadcrumb/breadcrumb.component'; import * as i0 from "@angular/core"; export declare class TdBreadcrumbsComponent implements OnInit, AfterContentInit, AfterViewInit, OnDestroy { private _elementRef; private _changeDetectorRef; private _resizing; private _separatorIcon; private _destroy$; /** * Maximum width ratio for the last breadcrumb when truncation is needed. * Set to 35% of available width to ensure last breadcrumb doesn't dominate the space * while still being readable. */ private readonly LAST_BREADCRUMB_MAX_WIDTH_RATIO; tdBreadCrumbsClass: boolean; role: string; ariaLabel: string; _breadcrumbs: QueryList<TdBreadcrumbComponent>; hiddenBreadcrumbs: TdBreadcrumbComponent[]; overflowMenuItems: TdBreadcrumbComponent[]; showOverflowButton: boolean; overflowButtonOrder: number; overflowMenuTrigger?: MatMenuTrigger; /** * Sets the icon url shown between breadcrumbs. Defaults to 'chevron_right'. */ set separatorIcon(separatorIcon: string); get separatorIcon(): string; size?: 'headline1' | 'headline2' | 'headline3' | 'headline4' | 'headline5' | 'headline6' | 'subtitle1' | 'subtitle2' | 'body1' | 'body2' | 'button' | 'caption'; get fontFamily(): string | undefined; get fontSize(): string | undefined; get fontWeight(): string | undefined; get lineHeight(): string | undefined; ngOnInit(): void; ngAfterViewInit(): void; ngAfterContentInit(): void; ngOnDestroy(): void; get nativeElementWidth(): number; /** * The total count of individual breadcrumbs */ get count(): number; get overflowButtonAriaLabel(): string; handleOverflowItemClick(item: TdBreadcrumbComponent): void; getItemText(item: TdBreadcrumbComponent): string; /** * Set the crumb icon separators */ private setCrumbIcons; private _calculateVisibility; private _waitToCalculateVisibility; static ɵfac: i0.ɵɵFactoryDeclaration<TdBreadcrumbsComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<TdBreadcrumbsComponent, "td-breadcrumbs", never, { "separatorIcon": { "alias": "separatorIcon"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, ["_breadcrumbs"], ["*"], true, never>; }