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.

83 lines (78 loc) 3.13 kB
import * as i0 from '@angular/core'; import { AfterViewInit, OnInit, AfterContentInit, OnDestroy, QueryList } from '@angular/core'; declare class TdBreadcrumbComponent implements AfterViewInit { private _elementRef; private _changeDetectorRef; private _displayCrumb; private _width; private _displayIcon; private _separatorIcon; matButtonClass: boolean; tdBreadCrumbClass: boolean; get separatorIcon(): string; set separatorIcon(separatorIcon: string); get displayIcon(): boolean; set displayIcon(displayIcon: boolean); get displayCrumb(): boolean; /** * Whether to display the crumb or not */ set displayCrumb(shouldDisplay: boolean); /** * Width of the DOM element of the crumb */ get width(): number; /** * Gets the display style of the crumb */ get displayBinding(): string | undefined; ngAfterViewInit(): void; /** * Stop click propagation when clicking on icon */ _handleIconClick(event: Event): void; static ɵfac: i0.ɵɵFactoryDeclaration<TdBreadcrumbComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<TdBreadcrumbComponent, "td-breadcrumb, a[td-breadcrumb]", never, {}, {}, never, ["*"], true, never>; } declare class TdBreadcrumbsComponent implements OnInit, AfterContentInit, AfterViewInit, OnDestroy { private _elementRef; private _changeDetectorRef; private _resizing; private _separatorIcon; private _destroy$; tdBreadCrumbsClass: boolean; _breadcrumbs: QueryList<TdBreadcrumbComponent>; hiddenBreadcrumbs: TdBreadcrumbComponent[]; /** * Sets the icon url shown between breadcrumbs. Defaults to 'chevron_right'. */ set separatorIcon(separatorIcon: string); get separatorIcon(): string; ngOnInit(): void; ngAfterViewInit(): void; ngAfterContentInit(): void; ngOnDestroy(): void; get nativeElementWidth(): number; /** * The total count of individual breadcrumbs */ get count(): number; /** * 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; }; }, {}, ["_breadcrumbs"], ["*"], true, never>; } /** * @deprecated This module is deprecated and will be removed in future versions. * Please migrate to using standalone components as soon as possible. */ declare class CovalentBreadcrumbsModule { static ɵfac: i0.ɵɵFactoryDeclaration<CovalentBreadcrumbsModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentBreadcrumbsModule, never, [typeof TdBreadcrumbsComponent, typeof TdBreadcrumbComponent], [typeof TdBreadcrumbsComponent, typeof TdBreadcrumbComponent]>; static ɵinj: i0.ɵɵInjectorDeclaration<CovalentBreadcrumbsModule>; } export { CovalentBreadcrumbsModule, TdBreadcrumbComponent, TdBreadcrumbsComponent };