@dsivd/prestations-ng 18.2.0-beta.1 → 18.2.0-beta.2

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.
@@ -7903,11 +7903,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
7903
7903
  }], ctorParameters: () => [{ type: FoehnTransmitWaitingModalService }] });
7904
7904
 
7905
7905
  class FoehnAppVersionMisMatchModalComponent {
7906
- constructor(foehnPageService) {
7906
+ constructor(foehnPageService, gesdemService, registerNgModelService) {
7907
7907
  this.foehnPageService = foehnPageService;
7908
+ this.gesdemService = gesdemService;
7909
+ this.registerNgModelService = registerNgModelService;
7908
7910
  this.hasDemandeInProgress = false;
7909
- this.gesdemService = inject(GesdemHandlerService);
7910
- this.registerNgModelService = inject(RegisterNgModelService);
7911
7911
  this.isModalVisible = this.foehnPageService.onAppVersionMismatch().pipe(filter(mismatch => !!mismatch), first(), tap$1(() => {
7912
7912
  this.hasDemandeInProgress =
7913
7913
  !!this.gesdemService.lastResponse?.meta?.reference?.length;
@@ -7930,13 +7930,13 @@ class FoehnAppVersionMisMatchModalComponent {
7930
7930
  url.searchParams.set('t', Date.now().toString());
7931
7931
  window.location.href = url.toString();
7932
7932
  }
7933
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FoehnAppVersionMisMatchModalComponent, deps: [{ token: FoehnPageService }], target: i0.ɵɵFactoryTarget.Component }); }
7933
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FoehnAppVersionMisMatchModalComponent, deps: [{ token: FoehnPageService }, { token: GesdemHandlerService }, { token: RegisterNgModelService }], target: i0.ɵɵFactoryTarget.Component }); }
7934
7934
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FoehnAppVersionMisMatchModalComponent, isStandalone: false, selector: "foehn-app-version-mis-match-modal", ngImport: i0, template: "<foehn-modal\n [id]=\"'foehn-app-version-mismatch-modal'\"\n [modalHeaderText]=\"\n 'foehn-app-version-mismatch-modal.title' | fromDictionary\n \"\n modalSize=\"modal-md\"\n [isModalVisible]=\"isModalVisible | async\"\n [closeable]=\"false\"\n>\n <div\n id=\"foehn-app-version-mismatch-modal-body\"\n [innerHTML]=\"\n 'foehn-app-version-mismatch-modal.content' | fromDictionary\n \"\n ></div>\n\n <div modal-footer class=\"w-100\">\n <div class=\"d-flex\">\n <button\n id=\"saveAndReloadBtn\"\n type=\"button\"\n class=\"btn btn-primary ms-auto\"\n [innerHTML]=\"\n (hasDemandeInProgress\n ? 'foehn-app-version-mismatch-modal.btn.save-and-reload'\n : 'foehn-app-version-mismatch-modal.btn.reload'\n ) | fromDictionary\n \"\n (click)=\"saveAndReload()\"\n ></button>\n </div>\n </div>\n</foehn-modal>\n", styles: [":host ::ng-deep .modal{z-index:10000}\n"], dependencies: [{ kind: "component", type: FoehnModalComponent, selector: "foehn-modal", inputs: ["id", "name", "modalSize", "modalBodyText", "modalHeaderText", "closeable", "draggable", "hideable", "modalTriggerHtmlElement", "isModalVisible"], outputs: ["isModalVisibleChange"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: SdkDictionaryPipe, name: "fromDictionary" }] }); }
7935
7935
  }
7936
7936
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FoehnAppVersionMisMatchModalComponent, decorators: [{
7937
7937
  type: Component,
7938
7938
  args: [{ selector: 'foehn-app-version-mis-match-modal', standalone: false, template: "<foehn-modal\n [id]=\"'foehn-app-version-mismatch-modal'\"\n [modalHeaderText]=\"\n 'foehn-app-version-mismatch-modal.title' | fromDictionary\n \"\n modalSize=\"modal-md\"\n [isModalVisible]=\"isModalVisible | async\"\n [closeable]=\"false\"\n>\n <div\n id=\"foehn-app-version-mismatch-modal-body\"\n [innerHTML]=\"\n 'foehn-app-version-mismatch-modal.content' | fromDictionary\n \"\n ></div>\n\n <div modal-footer class=\"w-100\">\n <div class=\"d-flex\">\n <button\n id=\"saveAndReloadBtn\"\n type=\"button\"\n class=\"btn btn-primary ms-auto\"\n [innerHTML]=\"\n (hasDemandeInProgress\n ? 'foehn-app-version-mismatch-modal.btn.save-and-reload'\n : 'foehn-app-version-mismatch-modal.btn.reload'\n ) | fromDictionary\n \"\n (click)=\"saveAndReload()\"\n ></button>\n </div>\n </div>\n</foehn-modal>\n", styles: [":host ::ng-deep .modal{z-index:10000}\n"] }]
7939
- }], ctorParameters: () => [{ type: FoehnPageService }] });
7939
+ }], ctorParameters: () => [{ type: FoehnPageService }, { type: GesdemHandlerService }, { type: RegisterNgModelService }] });
7940
7940
 
7941
7941
  const LEAVING_ALERT_CONTENT = 'Ce changement de page entraine une perte des données non sauvegardées.<br/>Souhaitez-vous quand même continuer ?';
7942
7942
  const LEAVING_ALERT_OK = 'Poursuivre sans sauvegarder';