@dsivd/prestations-ng 17.9.1 → 17.10.0-beta.1
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.
- package/CHANGELOG.md +7 -0
- package/UPGRADING_V17.md +1 -1
- package/dsivd-prestations-ng-17.10.0-beta.1.tgz +0 -0
- package/esm2022/foehn-navigation/foehn-navigation.service.mjs +6 -2
- package/esm2022/sdk-support-alert/support-alert.service.mjs +27 -5
- package/fesm2022/dsivd-prestations-ng.mjs +30 -5
- package/fesm2022/dsivd-prestations-ng.mjs.map +1 -1
- package/package.json +1 -1
- package/sdk-support-alert/support-alert.service.d.ts +5 -2
- package/dsivd-prestations-ng-17.9.1.tgz +0 -0
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { OnDestroy } from '@angular/core';
|
|
3
|
-
import { Router } from '@angular/router';
|
|
3
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { SupportAlert } from './support-alert.model';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class SupportAlertService implements OnDestroy {
|
|
8
8
|
private http;
|
|
9
9
|
private router;
|
|
10
|
+
private route;
|
|
10
11
|
private readonly allAlerts;
|
|
11
12
|
private readonly displayableAlerts;
|
|
12
13
|
private readonly hasAlerts;
|
|
@@ -16,7 +17,7 @@ export declare class SupportAlertService implements OnDestroy {
|
|
|
16
17
|
private readonly hiddenAlertIdsSubscriptions;
|
|
17
18
|
private readonly refreshTrigger;
|
|
18
19
|
private supportAlertUrl;
|
|
19
|
-
constructor(http: HttpClient, router: Router);
|
|
20
|
+
constructor(http: HttpClient, router: Router, route: ActivatedRoute);
|
|
20
21
|
ngOnDestroy(): void;
|
|
21
22
|
setSupportAlertUrl(supportAlertUrl: string): void;
|
|
22
23
|
hideAlert(alert: SupportAlert): void;
|
|
@@ -26,6 +27,8 @@ export declare class SupportAlertService implements OnDestroy {
|
|
|
26
27
|
getHasAlerts(): Observable<boolean>;
|
|
27
28
|
getHasHiddenAlerts(): Observable<boolean>;
|
|
28
29
|
getHasAtLeastOneBlockingAlert(): Observable<boolean>;
|
|
30
|
+
private checkBypassAlerts;
|
|
31
|
+
private canBypassAlerts;
|
|
29
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<SupportAlertService, never>;
|
|
30
33
|
static ɵprov: i0.ɵɵInjectableDeclaration<SupportAlertService>;
|
|
31
34
|
}
|
|
Binary file
|