@dsivd/prestations-ng 18.0.0-beta.2 → 18.0.0-beta.20

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.
@@ -18,7 +18,7 @@ export declare class DatePickerHelper {
18
18
  private static getNumberOfDaysInMonth;
19
19
  private static getPreviousMonth;
20
20
  private static getNextMonth;
21
- loadLocale: (language: string) => Promise<unknown>;
21
+ loadLocale: (language: string) => Promise<void>;
22
22
  getWeekDays(): string[];
23
23
  getWeeksOfMonth(initialYear: string, initialMonth: string, initialDay?: string): DayMonth[][];
24
24
  getNextWeeksOfMonth(): DayMonth[][];
@@ -14,7 +14,6 @@ export declare abstract class AbstractFoehnUploaderComponent<T> extends FoehnInp
14
14
  protected confirmModalService: FoehnConfirmModalService;
15
15
  protected dictionaryService: SdkDictionaryService;
16
16
  protected growlService: GrowlBrokerService;
17
- required: boolean;
18
17
  dragAndDrop: boolean;
19
18
  showUploadButton: boolean;
20
19
  readonly: boolean;
@@ -65,5 +64,5 @@ export declare abstract class AbstractFoehnUploaderComponent<T> extends FoehnInp
65
64
  protected isMaxFilesSizeReached(files: File[]): boolean;
66
65
  abstract getTotalFilesSize(): number;
67
66
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractFoehnUploaderComponent<any>, never>;
68
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractFoehnUploaderComponent<any>, never, never, { "required": { "alias": "required"; "required": false; }; "dragAndDrop": { "alias": "dragAndDrop"; "required": false; }; "showUploadButton": { "alias": "showUploadButton"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "hideGlobalInfos": { "alias": "hideGlobalInfos"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "key": { "alias": "key"; "required": false; }; "chooseButtonLabel": { "alias": "chooseButtonLabel"; "required": false; }; "chooseButtonLabelMultiple": { "alias": "chooseButtonLabelMultiple"; "required": false; }; "dropZoneLabel": { "alias": "dropZoneLabel"; "required": false; }; "dropZoneLabelMultiple": { "alias": "dropZoneLabelMultiple"; "required": false; }; "overrideAcceptedExtensions": { "alias": "overrideAcceptedExtensions"; "required": false; }; "overrideMaxFileNameLength": { "alias": "overrideMaxFileNameLength"; "required": false; }; "overrideIllegalCharacters": { "alias": "overrideIllegalCharacters"; "required": false; }; "showDeleteConfirmationMessage": { "alias": "showDeleteConfirmationMessage"; "required": false; }; "deleteConfirmationMessage": { "alias": "deleteConfirmationMessage"; "required": false; }; "maxSimultaneousSelectedFiles": { "alias": "maxSimultaneousSelectedFiles"; "required": false; }; "shouldDisplayFileSavedConfirmation": { "alias": "shouldDisplayFileSavedConfirmation"; "required": false; }; "maxFilesCount": { "alias": "maxFilesCount"; "required": false; }; "maxFilesSizeInMo": { "alias": "maxFilesSizeInMo"; "required": false; }; }, {}, never, never, true, never>;
67
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractFoehnUploaderComponent<any>, never, never, { "dragAndDrop": { "alias": "dragAndDrop"; "required": false; }; "showUploadButton": { "alias": "showUploadButton"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "hideGlobalInfos": { "alias": "hideGlobalInfos"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "key": { "alias": "key"; "required": false; }; "chooseButtonLabel": { "alias": "chooseButtonLabel"; "required": false; }; "chooseButtonLabelMultiple": { "alias": "chooseButtonLabelMultiple"; "required": false; }; "dropZoneLabel": { "alias": "dropZoneLabel"; "required": false; }; "dropZoneLabelMultiple": { "alias": "dropZoneLabelMultiple"; "required": false; }; "overrideAcceptedExtensions": { "alias": "overrideAcceptedExtensions"; "required": false; }; "overrideMaxFileNameLength": { "alias": "overrideMaxFileNameLength"; "required": false; }; "overrideIllegalCharacters": { "alias": "overrideIllegalCharacters"; "required": false; }; "showDeleteConfirmationMessage": { "alias": "showDeleteConfirmationMessage"; "required": false; }; "deleteConfirmationMessage": { "alias": "deleteConfirmationMessage"; "required": false; }; "maxSimultaneousSelectedFiles": { "alias": "maxSimultaneousSelectedFiles"; "required": false; }; "shouldDisplayFileSavedConfirmation": { "alias": "shouldDisplayFileSavedConfirmation"; "required": false; }; "maxFilesCount": { "alias": "maxFilesCount"; "required": false; }; "maxFilesSizeInMo": { "alias": "maxFilesSizeInMo"; "required": false; }; }, {}, never, never, true, never>;
69
68
  }
@@ -9,9 +9,7 @@ import * as i0 from "@angular/core";
9
9
  export declare class FoehnPictureUploadComponent extends FoehnInputComponent<DocumentReference[]> implements OnInit {
10
10
  private uploadService;
11
11
  private dictionaryService;
12
- name: string;
13
12
  key: string;
14
- label: string;
15
13
  baseUrl: string;
16
14
  croppedPictureFilename: string;
17
15
  resizeToWidth: number;
@@ -36,5 +34,5 @@ export declare class FoehnPictureUploadComponent extends FoehnInputComponent<Doc
36
34
  refreshErrors(results: any[]): void;
37
35
  private isValidFileType;
38
36
  static ɵfac: i0.ɵɵFactoryDeclaration<FoehnPictureUploadComponent, never>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<FoehnPictureUploadComponent, "foehn-picture-upload", never, { "name": { "alias": "name"; "required": false; }; "key": { "alias": "key"; "required": false; }; "label": { "alias": "label"; "required": false; }; "baseUrl": { "alias": "baseUrl"; "required": false; }; "croppedPictureFilename": { "alias": "croppedPictureFilename"; "required": false; }; "resizeToWidth": { "alias": "resizeToWidth"; "required": false; }; "resizeToHeight": { "alias": "resizeToHeight"; "required": false; }; "shouldDisplayFileSavedConfirmation": { "alias": "shouldDisplayFileSavedConfirmation"; "required": false; }; }, {}, never, ["*"], false, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<FoehnPictureUploadComponent, "foehn-picture-upload", never, { "key": { "alias": "key"; "required": false; }; "baseUrl": { "alias": "baseUrl"; "required": false; }; "croppedPictureFilename": { "alias": "croppedPictureFilename"; "required": false; }; "resizeToWidth": { "alias": "resizeToWidth"; "required": false; }; "resizeToHeight": { "alias": "resizeToHeight"; "required": false; }; "shouldDisplayFileSavedConfirmation": { "alias": "shouldDisplayFileSavedConfirmation"; "required": false; }; }, {}, never, ["*"], false, never>;
40
38
  }
@@ -9,6 +9,8 @@ export declare class FormMetadata {
9
9
  initialisationDateTime: string;
10
10
  transfertDateTime: string;
11
11
  modificationDateTime: string;
12
+ draftDemandeDeletionDate: number[];
13
+ draftDemRetentionDays: number;
12
14
  statut: string;
13
15
  infoReprise: RepriseInfo;
14
16
  }
@@ -4,6 +4,7 @@ import { Observable } from 'rxjs';
4
4
  import { GrowlBrokerService } from '../foehn-growl/growl-broker.service';
5
5
  import { FormPostResponse } from '../form-post-response';
6
6
  import { ActionStatut } from '../gesdem/gesdem-statut-utils';
7
+ import { DateHelper } from '../sdk-date/date.helper';
7
8
  import { SdkDictionaryService } from '../sdk-dictionary/sdk-dictionary.service';
8
9
  import { SessionInfo } from '../sdk-session-info/session-info.service';
9
10
  import { ValidationHandlerService } from '../validation/validation-handler.service';
@@ -17,11 +18,12 @@ export declare class GesdemHandlerService {
17
18
  private errorHandlerService;
18
19
  private sessionInfo;
19
20
  private dictionaryService;
21
+ private dateHelper;
20
22
  _prefix: string;
21
23
  private _updateFormDataSubject;
22
24
  private _lastResponse;
23
25
  private _captchaToken;
24
- constructor(http: HttpClient, growlService: GrowlBrokerService, validationHandlerService: ValidationHandlerService, route: ActivatedRoute, errorHandlerService: GesdemErrorHandlerService, sessionInfo: SessionInfo, dictionaryService: SdkDictionaryService);
26
+ constructor(http: HttpClient, growlService: GrowlBrokerService, validationHandlerService: ValidationHandlerService, route: ActivatedRoute, errorHandlerService: GesdemErrorHandlerService, sessionInfo: SessionInfo, dictionaryService: SdkDictionaryService, dateHelper: DateHelper);
25
27
  get lastResponse(): FormPostResponse<any>;
26
28
  get updateFormDataSubject(): Observable<any>;
27
29
  get prefix(): string;
@@ -38,6 +38,8 @@ export declare class GesdemActionRecoveryRegistrationComponent implements OnInit
38
38
  isConnectedCyber: Observable<boolean>;
39
39
  currentInfoReprise: Observable<RepriseInfo>;
40
40
  currentEtapeInfo: Observable<EtapeInfo>;
41
+ draftDemRetentionDays: Observable<number>;
42
+ draftDemandeDeletionDate: Observable<number[]>;
41
43
  triggerAutomaticallySub: Subscription;
42
44
  modalTriggerLabel: Observable<string>;
43
45
  private isVisible;
package/index.d.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
4
  /// <amd-module name="@dsivd/prestations-ng" />
5
- export * from './public_api';
5
+ export * from './public-api';
package/package.json CHANGED
@@ -40,7 +40,7 @@
40
40
  "ng-update": {
41
41
  "migrations": "./schematics/migration-collection.json"
42
42
  },
43
- "version": "18.0.0-beta.2",
43
+ "version": "18.0.0-beta.20",
44
44
  "module": "fesm2022/dsivd-prestations-ng.mjs",
45
45
  "typings": "index.d.ts",
46
46
  "exports": {
@@ -1,9 +1,11 @@
1
1
  import { Injector } from '@angular/core';
2
+ import { FaConfig } from '@fortawesome/angular-fontawesome';
2
3
  import * as i0 from "@angular/core";
3
4
  import * as i1 from "@angular/router";
4
5
  export declare class PrestationsNgCoreModule {
5
6
  private injector;
6
- constructor(injector: Injector);
7
+ private faConfig;
8
+ constructor(injector: Injector, faConfig: FaConfig);
7
9
  static ɵfac: i0.ɵɵFactoryDeclaration<PrestationsNgCoreModule, never>;
8
10
  static ɵmod: i0.ɵɵNgModuleDeclaration<PrestationsNgCoreModule, never, [typeof i1.RouterModule], never>;
9
11
  static ɵinj: i0.ɵɵInjectorDeclaration<PrestationsNgCoreModule>;
@@ -14,6 +14,7 @@ export declare class ApplicationInfoService {
14
14
  private foehnPageService;
15
15
  private applicationInfo;
16
16
  private pulling_;
17
+ private data_;
17
18
  private firstEtapeInfo_;
18
19
  private currentEtapeInfo_;
19
20
  constructor(http: HttpClient, foehnPageService: FoehnPageService);
@@ -1,18 +1,22 @@
1
+ import { OnDestroy } from '@angular/core';
1
2
  import { Observable } from 'rxjs';
2
3
  import { FoehnPageModalService } from '../foehn-page/foehn-page-modal.service';
3
4
  import { SessionInfo } from '../sdk-session-info/session-info.service';
4
5
  import { IamExpiredInterceptorService } from './iam-expired-interceptor.service';
5
6
  import * as i0 from "@angular/core";
6
- export declare class RedirectComponent {
7
+ export declare class RedirectComponent implements OnDestroy {
7
8
  private iamInterceptor;
8
9
  private foehnPageModalService;
9
10
  private sessionInfo;
10
11
  isModalVisible: Observable<boolean>;
11
12
  counter: number;
12
13
  redirectUrl: string;
14
+ private intervalId;
13
15
  constructor(iamInterceptor: IamExpiredInterceptorService, foehnPageModalService: FoehnPageModalService, sessionInfo: SessionInfo);
16
+ ngOnDestroy(): void;
14
17
  reloadPage(): void;
15
18
  private startTimer;
19
+ private cancelSetInterval;
16
20
  static ɵfac: i0.ɵɵFactoryDeclaration<RedirectComponent, never>;
17
21
  static ɵcmp: i0.ɵɵComponentDeclaration<RedirectComponent, "redirector", never, {}, {}, never, never, false, never>;
18
22
  }
File without changes