@porscheinformatik/clr-addons
Version: 
Addon components for Clarity Angular
27 lines (26 loc) • 1.35 kB
TypeScript
import { OnDestroy, OnInit } from '@angular/core';
import { ClrHistoryModel } from './history-model.interface';
import { ClrHistoryService } from './history.service';
import { BehaviorSubject, Subject } from 'rxjs';
import { HistoryProvider } from './history.provider';
import * as i0 from "@angular/core";
export declare class ClrHistoryPinned implements OnInit, OnDestroy {
    private readonly historyService;
    private readonly historyProvider;
    username: string;
    tenantId: string;
    context: string;
    domain: string;
    /**
     * The array of history elements to be displayed.
     */
    historyElements$: Subject<ClrHistoryModel[]>;
    active$: BehaviorSubject<boolean>;
    private settingsSubscription;
    constructor(historyService: ClrHistoryService, historyProvider: HistoryProvider);
    initActive(): boolean;
    ngOnInit(): void;
    ngOnDestroy(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<ClrHistoryPinned, [null, { optional: true; }]>;
    static ɵcmp: i0.ɵɵComponentDeclaration<ClrHistoryPinned, "clr-history-pinned", never, { "username": { "alias": "clrUsername"; "required": false; }; "tenantId": { "alias": "clrTenantId"; "required": false; }; "context": { "alias": "clrContext"; "required": false; }; "domain": { "alias": "clrDomain"; "required": false; }; }, {}, never, never, false, never>;
}