@porscheinformatik/clr-addons
Version:
Addon components for Clarity Angular
34 lines (33 loc) • 1.83 kB
TypeScript
import { OnDestroy, OnInit } from '@angular/core';
import { ClrHistoryModel } from './history-model.interface';
import { ClrHistoryService } from './history.service';
import { Subject } from 'rxjs';
import { HistoryProvider } from './history.provider';
import * as i0 from "@angular/core";
export declare class ClrHistory implements OnInit, OnDestroy {
private readonly historyService;
private readonly historyProvider;
username: string;
tenantId: string;
context: string;
pinActive: boolean;
dropdownHeader: string;
dropdownPin: string;
dropdownUnpin: string;
domain: string;
position: string;
/**
* The array of history elements to be displayed.
*/
historyElements$: Subject<ClrHistoryModel[]>;
pinActivated: boolean;
private readonly onDestroy$;
private readonly destroyRef;
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; }; "tenantId": { "alias": "clrTenantId"; "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>;
}