@dsivd/prestations-ng 14.5.16 → 14.5.17-beta1

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.
@@ -31,7 +31,6 @@ export declare class FoehnPageComponent implements OnDestroy, OnChanges, OnInit
31
31
  neverConnected: boolean;
32
32
  supportAlertEnabled: boolean;
33
33
  supportAlertUrl: string;
34
- supportAlertRefreshIntervalsInSeconds: number;
35
34
  etapeId: string;
36
35
  userConnectedAsDisplayed: boolean;
37
36
  confirmLeavingAlert: FoehnConfirmModalContent;
@@ -68,7 +67,7 @@ export declare class FoehnPageComponent implements OnDestroy, OnChanges, OnInit
68
67
  getFullLoginMessage(decisionElectroniqueAvailable: boolean): Observable<string>;
69
68
  private setPageTitle;
70
69
  static ɵfac: i0.ɵɵFactoryDeclaration<FoehnPageComponent, never>;
71
- static ɵcmp: i0.ɵɵComponentDeclaration<FoehnPageComponent, "foehn-page", never, { "appTitle": "appTitle"; "footerLinks": "footerLinks"; "neverConnected": "neverConnected"; "supportAlertEnabled": "supportAlertEnabled"; "supportAlertUrl": "supportAlertUrl"; "supportAlertRefreshIntervalsInSeconds": "supportAlertRefreshIntervalsInSeconds"; "etapeId": "etapeId"; "userConnectedAsDisplayed": "userConnectedAsDisplayed"; "confirmLeavingAlert": "confirmLeavingAlert"; "showDefaultContactFooterLink": "showDefaultContactFooterLink"; "showDefaultGuideFooterLink": "showDefaultGuideFooterLink"; "showDefaultTermOfUseLink": "showDefaultTermOfUseLink"; "showDefaultSecurityBestPracticeLink": "showDefaultSecurityBestPracticeLink"; }, {}, never, ["*"]>;
70
+ static ɵcmp: i0.ɵɵComponentDeclaration<FoehnPageComponent, "foehn-page", never, { "appTitle": "appTitle"; "footerLinks": "footerLinks"; "neverConnected": "neverConnected"; "supportAlertEnabled": "supportAlertEnabled"; "supportAlertUrl": "supportAlertUrl"; "etapeId": "etapeId"; "userConnectedAsDisplayed": "userConnectedAsDisplayed"; "confirmLeavingAlert": "confirmLeavingAlert"; "showDefaultContactFooterLink": "showDefaultContactFooterLink"; "showDefaultGuideFooterLink": "showDefaultGuideFooterLink"; "showDefaultTermOfUseLink": "showDefaultTermOfUseLink"; "showDefaultSecurityBestPracticeLink": "showDefaultSecurityBestPracticeLink"; }, {}, never, ["*"]>;
72
71
  }
73
72
  export declare class DisplayLoginMessagesData {
74
73
  decisionElectroniqueAvailable: boolean;
package/package.json CHANGED
@@ -36,7 +36,7 @@
36
36
  "ng-update": {
37
37
  "migrations": "./schematics/migration-collection.json"
38
38
  },
39
- "version": "14.5.16",
39
+ "version": "14.5.17-beta1",
40
40
  "main": "bundles/dsivd-prestations-ng.umd.js",
41
41
  "module": "fesm2015/dsivd-prestations-ng.js",
42
42
  "es2015": "fesm2015/dsivd-prestations-ng.js",
@@ -1,17 +1,24 @@
1
+ import { NgZone } from '@angular/core';
1
2
  import { HttpClient } from '@angular/common/http';
2
3
  import { Observable } from 'rxjs';
3
4
  import { SessionInfoData } from './session-info-data';
5
+ import { GrowlBrokerService } from '../foehn-growl/growl-broker.service';
4
6
  import * as i0 from "@angular/core";
5
7
  export declare const SESSION_INFO_API_URL = "api/sessionInfo/data";
6
8
  export declare class SessionInfo {
7
9
  private http;
10
+ private growlService;
11
+ private ngZone;
8
12
  private sessionData;
9
13
  private pulling_;
10
14
  private neverConnected_;
11
- constructor(http: HttpClient);
15
+ private onMicroTaskEmptyPulling_;
16
+ private timeoutLogError;
17
+ constructor(http: HttpClient, growlService: GrowlBrokerService, ngZone: NgZone);
12
18
  get data(): Observable<SessionInfoData>;
13
19
  set neverConnected(neverConnected: boolean);
14
20
  get neverConnected(): boolean;
21
+ private logErrorNeverConnectedIsNotSet;
15
22
  static ɵfac: i0.ɵɵFactoryDeclaration<SessionInfo, never>;
16
23
  static ɵprov: i0.ɵɵInjectableDeclaration<SessionInfo>;
17
24
  }
@@ -7,7 +7,6 @@ export declare class SupportAlertContainerComponent implements OnInit, OnChanges
7
7
  private supportAlertService;
8
8
  etapeId: string;
9
9
  supportAlertUrl: string;
10
- refreshIntervalsInSeconds: number;
11
10
  alertsToDisplay: Observable<SupportAlert[]>;
12
11
  hasAlerts: Observable<boolean>;
13
12
  hasHiddenAlerts: Observable<boolean>;
@@ -17,5 +16,5 @@ export declare class SupportAlertContainerComponent implements OnInit, OnChanges
17
16
  ngOnChanges(changes: SimpleChanges): void;
18
17
  private formatUrl;
19
18
  static ɵfac: i0.ɵɵFactoryDeclaration<SupportAlertContainerComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<SupportAlertContainerComponent, "sdk-support-alert-container", never, { "etapeId": "etapeId"; "supportAlertUrl": "supportAlertUrl"; "refreshIntervalsInSeconds": "refreshIntervalsInSeconds"; }, {}, never, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<SupportAlertContainerComponent, "sdk-support-alert-container", never, { "etapeId": "etapeId"; "supportAlertUrl": "supportAlertUrl"; }, {}, never, never>;
21
20
  }
@@ -2,9 +2,11 @@ import { OnDestroy } from '@angular/core';
2
2
  import { SupportAlert } from './support-alert.model';
3
3
  import { Observable } from 'rxjs';
4
4
  import { HttpClient } from '@angular/common/http';
5
+ import { Router } from '@angular/router';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class SupportAlertService implements OnDestroy {
7
8
  private http;
9
+ private router;
8
10
  private readonly allAlerts;
9
11
  private readonly displayableAlerts;
10
12
  private readonly hasAlerts;
@@ -13,9 +15,8 @@ export declare class SupportAlertService implements OnDestroy {
13
15
  private readonly hiddenAlertIds;
14
16
  private readonly hiddenAlertIdsSubscriptions;
15
17
  private readonly refreshTrigger;
16
- private refreshIntervalInSeconds;
17
18
  private supportAlertUrl;
18
- constructor(http: HttpClient);
19
+ constructor(http: HttpClient, router: Router);
19
20
  ngOnDestroy(): void;
20
21
  setSupportAlertUrl(supportAlertUrl: string): void;
21
22
  hideAlert(alert: SupportAlert): void;
@@ -25,7 +26,6 @@ export declare class SupportAlertService implements OnDestroy {
25
26
  getHasAlerts(): Observable<boolean>;
26
27
  getHasHiddenAlerts(): Observable<boolean>;
27
28
  getHasAtLeastOneBlockingAlert(): Observable<boolean>;
28
- setRefreshIntervalInSeconds(refreshIntervalsInSeconds: number): void;
29
29
  static ɵfac: i0.ɵɵFactoryDeclaration<SupportAlertService, never>;
30
30
  static ɵprov: i0.ɵɵInjectableDeclaration<SupportAlertService>;
31
31
  }
Binary file