@porscheinformatik/clr-addons
Version:
Addon components for Clarity Angular
22 lines (21 loc) • 1.5 kB
TypeScript
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
import '@cds/core/icon/register.js';
import { ReplaySubject } from 'rxjs';
import { LocationBarNode, NodeId } from './location-bar.model';
import { SearchRequestModel } from './location-bar.search.model';
import { SearchResultModel } from './location-bar.search.model';
import * as i0 from "@angular/core";
export declare class LocationBarComponent<T extends NodeId> implements OnChanges {
root$: ReplaySubject<LocationBarNode<T>>;
iconShape: string;
iconTitle: string;
searchRequest: SearchRequestModel;
searchResultItems: SearchResultModel[];
set roots(roots: LocationBarNode<T>[]);
selectionChanged: EventEmitter<T[]>;
searchItemChanged: EventEmitter<SearchResultModel>;
ngOnChanges(changes: SimpleChanges): void;
onSelectionChanged(selection: T[]): void;
static ɵfac: i0.ɵɵFactoryDeclaration<LocationBarComponent<any>, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<LocationBarComponent<any>, "clr-location-bar", never, { "iconShape": { "alias": "clrIconShape"; "required": false; }; "iconTitle": { "alias": "clrIconTitle"; "required": false; }; "searchRequest": { "alias": "clrSearchRequest"; "required": false; }; "searchResultItems": { "alias": "clrSearchResultItems"; "required": false; }; "roots": { "alias": "clrRoots"; "required": false; }; }, { "selectionChanged": "clrSelectionChanged"; "searchItemChanged": "clrSearchItemChanged"; }, never, never, false, never>;
}