UNPKG

@porscheinformatik/clr-addons

Version:
33 lines (32 loc) 1.68 kB
import { OnDestroy, OnInit } from '@angular/core'; import { ClrHistoryModel } from './history-model.interface'; import { ClrHistoryService } from './history.service'; import { HistoryProvider } from './history.provider'; import * as i0 from "@angular/core"; export declare class ClrHistory implements OnInit, OnDestroy { private historyService; private historyProvider; username: string; context: { [key: string]: string; }; pinActive: boolean; dropdownHeader: string; dropdownPin: string; dropdownUnpin: string; domain: string; position: string; /** * The array of history elements to be displayed. */ historyElements: ClrHistoryModel[]; pinActivated: boolean; private onDestroy$; constructor(historyService: ClrHistoryService, historyProvider: HistoryProvider); ngOnInit(): void; ngOnDestroy(): void; select(history: ClrHistoryModel): void; togglePinHistory(): void; static ɵfac: i0.ɵɵFactoryDeclaration<ClrHistory, [null, { optional: true; }]>; static ɵcmp: i0.ɵɵComponentDeclaration<ClrHistory, "clr-history", never, { "username": { "alias": "clrUsername"; "required": false; }; "context": { "alias": "clrContext"; "required": false; }; "pinActive": { "alias": "clrPinActive"; "required": false; }; "dropdownHeader": { "alias": "clrDropdownHeader"; "required": false; }; "dropdownPin": { "alias": "clrDropdownPin"; "required": false; }; "dropdownUnpin": { "alias": "clrDropdownUnpin"; "required": false; }; "domain": { "alias": "clrDomain"; "required": false; }; "position": { "alias": "clrPosition"; "required": false; }; }, {}, never, never, false, never>; }