@porscheinformatik/clr-addons 19.6.1 → 19.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import { OnDestroy, OnInit } from '@angular/core';
2
2
  import { ClrHistoryModel } from './history-model.interface';
3
3
  import { ClrHistoryService } from './history.service';
4
- import { Subject } from 'rxjs';
4
+ import { BehaviorSubject, Subject } from 'rxjs';
5
5
  import { HistoryProvider } from './history.provider';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class ClrHistoryPinned implements OnInit, OnDestroy {
@@ -15,9 +15,10 @@ export declare class ClrHistoryPinned implements OnInit, OnDestroy {
15
15
  * The array of history elements to be displayed.
16
16
  */
17
17
  historyElements$: Subject<ClrHistoryModel[]>;
18
- active$: Subject<boolean>;
18
+ active$: BehaviorSubject<boolean>;
19
19
  private settingsSubscription;
20
20
  constructor(historyService: ClrHistoryService, historyProvider: HistoryProvider);
21
+ initActive(): boolean;
21
22
  ngOnInit(): void;
22
23
  ngOnDestroy(): void;
23
24
  static ɵfac: i0.ɵɵFactoryDeclaration<ClrHistoryPinned, [null, { optional: true; }]>;
@@ -15,7 +15,7 @@ export declare class ClrHistoryService {
15
15
  addHistoryEntry(historyEntry: ClrHistoryModel): Observable<void>;
16
16
  getHistory(username: string, tenantId: string): Observable<ClrHistoryModel[]>;
17
17
  removeFromHistory(historyEntry: ClrHistoryModel): Observable<void>;
18
- initializeCookieSettings(username: string, domain?: string): void;
18
+ initializeCookieSettings(username: string, domain?: string): ClrHistorySettingsModel;
19
19
  setHistoryPinned(username: string, pin: boolean, domain?: string): void;
20
20
  private getCookieByName;
21
21
  private setCookie;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@porscheinformatik/clr-addons",
3
- "version": "19.6.1",
3
+ "version": "19.6.2",
4
4
  "description": "Addon components for Clarity Angular",
5
5
  "es2015": "esm2015/clr-addons.js",
6
6
  "homepage": "https://porscheinformatik.github.io/clarity-addons/",