@dsivd/prestations-ng 18.3.13 → 18.3.15-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.
@@ -2,14 +2,13 @@ import { OnDestroy, OnInit } from '@angular/core';
2
2
  import { SdkDictionaryService } from '../sdk-dictionary/sdk-dictionary.service';
3
3
  import { FoehnInputStringComponent } from './foehn-input-string.component';
4
4
  import * as i0 from "@angular/core";
5
- export declare const DEFAULT_INTERNATIONAL_AND_NO_SWISS = "foehn-input-phone.DEFAULT_INTERNATIONAL_AND_NO_SWISS";
6
- export declare const DEFAULT_INTERNATIONAL_AND_NO_SWISS_PHONE = "foehn-input-phone.DEFAULT_INTERNATIONAL_AND_NO_SWISS_PHONE";
7
- export declare const DEFAULT_INTERNATIONAL_AND_NO_SWISS_MOBILE = "foehn-input-phone.DEFAULT_INTERNATIONAL_AND_NO_SWISS_MOBILE";
8
- export declare const DEFAULT_INTERNATIONAL_HELP_TEXT = "foehn-input-phone.DEFAULT_INTERNATIONAL_HELP_TEXT";
9
- export declare const DEFAULT_SWISS_HELP_TEXT = "foehn-input-phone.DEFAULT_SWISS_HELP_TEXT";
10
- export declare const DEFAULT_SWISS_PHONE_HELP_TEXT = "foehn-input-phone.DEFAULT_SWISS_PHONE_HELP_TEXT";
11
- export declare const DEFAULT_SWISS_MOBILE_PHONE_HELP_TEXT = "foehn-input-phone.DEFAULT_SWISS_MOBILE_PHONE_HELP_TEXT";
12
- export declare const BAD_PARAMS_HELP_TEXT = "Mauvais param\u00E9trage du composant. Un t\u00E9l\u00E9phone est soit international, mobile, fixe ou les deux mais pas rien";
5
+ export declare const DEFAULT_INTERNATIONAL_FIX_ONLY = "foehn-input-phone.STANDARD_HELPTEXT_INTERNATIONAL_FIX_ONLY";
6
+ export declare const DEFAULT_INTERNATIONAL_MOBILE_ONLY = "foehn-input-phone.STANDARD_HELPTEXT_INTERNATIONAL_MOBILE_ONLY";
7
+ export declare const DEFAULT_INTERNATIONAL_FIX_AND_MOBILE = "foehn-input-phone.STANDARD_HELPTEXT_INTERNATIONAL_FIX_AND_MOBILE";
8
+ export declare const DEFAULT_SWISS_FIX_AND_MOBILE = "foehn-input-phone.STANDARD_HELPTEXT_SWISS_FIX_AND_MOBILE";
9
+ export declare const DEFAULT_SWISS_FIX_ONLY = "foehn-input-phone.STANDARD_HELPTEXT_SWISS_FIX_ONLY";
10
+ export declare const DEFAULT_SWISS_MOBILE_ONLY = "foehn-input-phone.STANDARD_HELPTEXT_SWISS_MOBILE_ONLY";
11
+ export declare const BAD_PARAMS_HELP_TEXT = "Mauvais param\u00E9trage du composant. Un t\u00E9l\u00E9phone est mobile, fixe ou les deux mais pas rien";
13
12
  export declare class FoehnInputPhoneComponent extends FoehnInputStringComponent implements OnInit, OnDestroy {
14
13
  private dictionaryService;
15
14
  acceptInternational: boolean;
@@ -1,19 +1,28 @@
1
1
  import { EventEmitter } from '@angular/core';
2
+ import { NavigationDirection } from './foehn-navigation.service';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare abstract class AbstractFoehnNavigationComponent {
4
5
  onNext: EventEmitter<void>;
5
6
  onPrevious: EventEmitter<void>;
6
7
  nextLabel: string;
7
8
  prevLabel: string;
9
+ loadingLabel: string;
8
10
  continueLaterLabel: string;
9
11
  continueLaterAlreadyRegisteredLabel: string;
10
12
  continueLaterConnectedLabel: string;
11
13
  showContinueLaterButton: boolean;
12
14
  showNextButton: boolean;
13
15
  triggerRecoveryOnPageChange: boolean;
16
+ pendingNavigationDirection: NavigationDirection;
17
+ loadingDirection: NavigationDirection;
18
+ constructor();
14
19
  goToNext(): void;
15
20
  goToPrevious(): void;
16
21
  canShowNextButton(): boolean;
22
+ isNavigating(): boolean;
23
+ isLoading(): boolean;
24
+ isLoadingNext(): boolean;
25
+ isLoadingPrevious(): boolean;
17
26
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractFoehnNavigationComponent, never>;
18
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractFoehnNavigationComponent, never, never, { "nextLabel": { "alias": "nextLabel"; "required": false; }; "prevLabel": { "alias": "prevLabel"; "required": false; }; "continueLaterLabel": { "alias": "continueLaterLabel"; "required": false; }; "continueLaterAlreadyRegisteredLabel": { "alias": "continueLaterAlreadyRegisteredLabel"; "required": false; }; "continueLaterConnectedLabel": { "alias": "continueLaterConnectedLabel"; "required": false; }; "showContinueLaterButton": { "alias": "showContinueLaterButton"; "required": false; }; "showNextButton": { "alias": "showNextButton"; "required": false; }; "triggerRecoveryOnPageChange": { "alias": "triggerRecoveryOnPageChange"; "required": false; }; }, { "onNext": "onNext"; "onPrevious": "onPrevious"; }, never, never, true, never>;
27
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractFoehnNavigationComponent, never, never, { "nextLabel": { "alias": "nextLabel"; "required": false; }; "prevLabel": { "alias": "prevLabel"; "required": false; }; "loadingLabel": { "alias": "loadingLabel"; "required": false; }; "continueLaterLabel": { "alias": "continueLaterLabel"; "required": false; }; "continueLaterAlreadyRegisteredLabel": { "alias": "continueLaterAlreadyRegisteredLabel"; "required": false; }; "continueLaterConnectedLabel": { "alias": "continueLaterConnectedLabel"; "required": false; }; "showContinueLaterButton": { "alias": "showContinueLaterButton"; "required": false; }; "showNextButton": { "alias": "showNextButton"; "required": false; }; "triggerRecoveryOnPageChange": { "alias": "triggerRecoveryOnPageChange"; "required": false; }; }, { "onNext": "onNext"; "onPrevious": "onPrevious"; }, never, never, true, never>;
19
28
  }
@@ -24,6 +24,8 @@ export declare class FoehnNavigationService {
24
24
  private isInit;
25
25
  private initializedAndRouteActivated;
26
26
  private linearRouting;
27
+ private pendingNavigationDirectionSubject;
28
+ private lastNavigationId;
27
29
  constructor(router: Router, gesdemService: GesdemHandlerService, gesdemActionRecoveryService: GesdemActionRecoveryService, route: ActivatedRoute, location: Location, demandeTransmitInterceptor: DemandeTransmitInterceptor, eventsLoggerService: SdkEventsLoggerService);
28
30
  get initialized(): boolean;
29
31
  set activatedRoute(value: ActivatedRoute);
@@ -34,6 +36,12 @@ export declare class FoehnNavigationService {
34
36
  getFirstRoute(): Route;
35
37
  current(): Promise<boolean>;
36
38
  hasBeenInitialized(): Observable<boolean>;
39
+ /**
40
+ * Direction of the navigation started with next() or previous() until it ends, null otherwise.
41
+ * The current page stays displayed while the target one is activated (e.g. lazy loaded route).
42
+ * @returns Observable<NavigationDirection>
43
+ */
44
+ pendingNavigationDirection(): Observable<NavigationDirection>;
37
45
  getQueryParamsToForwardAsString(): string;
38
46
  getQueryParamsToForward(): Params;
39
47
  next(): Promise<boolean>;
@@ -2,8 +2,8 @@ import { OnDestroy } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
3
  import { GesdemEventService } from '../../gesdem/gesdem-event.service';
4
4
  import { GesdemHandlerService } from '../../gesdem/gesdem-handler.service';
5
- import { DocumentsWithErrors } from './multi-upload.type';
6
5
  import { GlobalUploadProgressService } from '../foehn-upload-progress-bar/global-upload-progress.service';
6
+ import { DocumentsWithErrors } from './multi-upload.type';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class PendingUploadService implements OnDestroy {
9
9
  private gesdemService;
@@ -15,9 +15,9 @@ export declare class PendingUploadService implements OnDestroy {
15
15
  private uploadExecutors;
16
16
  private readonly destroy$;
17
17
  constructor(gesdemService: GesdemHandlerService, gesdemEventService: GesdemEventService, uploadProgressService: GlobalUploadProgressService);
18
- ngOnDestroy(): void;
19
18
  get attachmentsUploaded(): Observable<any>;
20
19
  get pendingUploadedErrors(): Observable<DocumentsWithErrors>;
20
+ ngOnDestroy(): void;
21
21
  getPendingFiles(formKey: string): File[];
22
22
  hasPendingFiles(formKey?: string): boolean;
23
23
  addPendingFiles(baseUrl: string, formKey: string, label: string, files: File[], key: string, isMultiple: boolean, shouldDisplayFileSavedConfirmation: boolean): void;
package/package.json CHANGED
@@ -40,7 +40,7 @@
40
40
  "ng-update": {
41
41
  "migrations": "./schematics/migration-collection.json"
42
42
  },
43
- "version": "18.3.13",
43
+ "version": "18.3.15-beta.1",
44
44
  "module": "fesm2022/dsivd-prestations-ng.mjs",
45
45
  "typings": "index.d.ts",
46
46
  "exports": {
Binary file