@dsivd/prestations-ng 18.2.4-beta.9 → 18.3.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.
@@ -19,7 +19,7 @@ export declare class FoehnFormComponent implements AfterViewInit, OnDestroy {
19
19
  getAllComponents(): FoehnInputComponent<any>[];
20
20
  isValid(): boolean;
21
21
  focusFirstInError(): void;
22
- focusFirst(): void;
22
+ focusFirst(scrollIntoView?: boolean): void;
23
23
  focusErrorSummary(): void;
24
24
  private registerNgModel;
25
25
  private deleteNgModel;
@@ -106,7 +106,7 @@ export declare abstract class FoehnInputComponent<T> implements OnInit, OnDestro
106
106
  getNativeInputList(): NgModel[];
107
107
  getMeAndSubComponents(): FoehnInputComponent<any>[];
108
108
  refreshErrors(results: any[]): void;
109
- focus(): void;
109
+ focus(scrollIntoView?: boolean): void;
110
110
  getMaxLength(): number;
111
111
  buildId(suffix?: string): string;
112
112
  buildChildId(suffix?: string): string;
@@ -1,4 +1,4 @@
1
- import { OnInit } from '@angular/core';
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
2
  import { ActivatedRoute, Router } from '@angular/router';
3
3
  import { FoehnConfirmModalService } from '../../foehn-confirm-modal/foehn-confirm-modal.service';
4
4
  import { FoehnFormComponent } from '../../foehn-form/foehn-form.component';
@@ -11,7 +11,7 @@ import { SdkRecaptchaComponent } from '../../sdk-recaptcha/sdk-recaptcha.compone
11
11
  import { ValidationHandlerService } from '../../validation/validation-handler.service';
12
12
  import { GesdemActionRecoveryService } from '../gesdem-action-recovery.service';
13
13
  import * as i0 from "@angular/core";
14
- export declare class GesdemActionRecoveryLoginComponent implements OnInit {
14
+ export declare class GesdemActionRecoveryLoginComponent implements OnInit, OnDestroy {
15
15
  private recoveryService;
16
16
  private growlService;
17
17
  private confirmModalService;
@@ -26,14 +26,19 @@ export declare class GesdemActionRecoveryLoginComponent implements OnInit {
26
26
  redirectTarget: string;
27
27
  loginForm: FoehnFormComponent;
28
28
  recaptchaComponent: SdkRecaptchaComponent;
29
- missingRecoveryInfos: boolean;
30
- alreadyTransferred: boolean;
29
+ demandeNotFound: boolean;
30
+ rateLimited: boolean;
31
+ rateLimitCounter: number;
31
32
  otpRecipient: string;
32
33
  otp: string;
34
+ private readonly rateLimitCounterSub;
33
35
  constructor(recoveryService: GesdemActionRecoveryService, growlService: GrowlBrokerService, confirmModalService: FoehnConfirmModalService, validationHandler: ValidationHandlerService, applicationInfoService: ApplicationInfoService, gesDemHandlerService: GesdemHandlerService, dictionaryService: SdkDictionaryService, router: Router, route: ActivatedRoute, eventsLoggerService: SdkEventsLoggerService);
34
36
  ngOnInit(): void;
37
+ ngOnDestroy(): void;
35
38
  validateOtp(): void;
39
+ getPluralMarker(count: number): string;
36
40
  private startRecovery;
41
+ private startRateLimitCounter;
37
42
  static ɵfac: i0.ɵɵFactoryDeclaration<GesdemActionRecoveryLoginComponent, never>;
38
43
  static ɵcmp: i0.ɵɵComponentDeclaration<GesdemActionRecoveryLoginComponent, "gesdem-action-recovery-login", never, { "reference": { "alias": "reference"; "required": false; }; "redirectTarget": { "alias": "redirectTarget"; "required": false; }; }, {}, never, never, false, never>;
39
44
  }
package/package.json CHANGED
@@ -40,7 +40,7 @@
40
40
  "ng-update": {
41
41
  "migrations": "./schematics/migration-collection.json"
42
42
  },
43
- "version": "18.2.4-beta.9",
43
+ "version": "18.3.0-beta.1",
44
44
  "module": "fesm2022/dsivd-prestations-ng.mjs",
45
45
  "typings": "index.d.ts",
46
46
  "exports": {
@@ -2,13 +2,10 @@ import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/c
2
2
  import { Observable } from 'rxjs';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class IamExpiredInterceptorService implements HttpInterceptor {
5
- private http;
6
- private sessionInfoService;
7
5
  private _isIamSessionExpired;
8
6
  get isIamSessionExpired(): Observable<boolean>;
9
7
  setIamSessionExpiredManually(): void;
10
8
  intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any> | any>;
11
- private getRenewIamSessionIfConnected;
12
9
  private handleError;
13
10
  static ɵfac: i0.ɵɵFactoryDeclaration<IamExpiredInterceptorService, never>;
14
11
  static ɵprov: i0.ɵɵInjectableDeclaration<IamExpiredInterceptorService>;
@@ -3,7 +3,6 @@ import { Observable } from 'rxjs';
3
3
  import { SessionInfoData } from './session-info-data';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare const SESSION_INFO_API_URL = "api/sessionInfo/data";
6
- export declare const SESSION_INFO_RENEW_URL = "/sessioninfo/v2/me";
7
6
  export declare class SessionInfo {
8
7
  private http;
9
8
  private neverConnected_;