@dsivd/prestations-ng 18.3.4 → 18.3.5-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.
- package/CHANGELOG.md +7 -0
- package/dsivd-prestations-ng-18.3.5-beta.1.tgz +0 -0
- package/fesm2022/dsivd-prestations-ng.mjs +5 -3
- package/fesm2022/dsivd-prestations-ng.mjs.map +1 -1
- package/package.json +1 -1
- package/sdk-redirect/redirect.component.d.ts +3 -1
- package/dsivd-prestations-ng-18.3.4.tgz +0 -0
package/CHANGELOG.md
CHANGED
|
Binary file
|
|
@@ -14258,10 +14258,11 @@ const HTTP_LOADER_FILTERED_URL = [
|
|
|
14258
14258
|
];
|
|
14259
14259
|
|
|
14260
14260
|
class RedirectComponent {
|
|
14261
|
-
constructor(iamInterceptor, foehnPageModalService, sessionInfo) {
|
|
14261
|
+
constructor(iamInterceptor, foehnPageModalService, sessionInfo, registerNgModelService) {
|
|
14262
14262
|
this.iamInterceptor = iamInterceptor;
|
|
14263
14263
|
this.foehnPageModalService = foehnPageModalService;
|
|
14264
14264
|
this.sessionInfo = sessionInfo;
|
|
14265
|
+
this.registerNgModelService = registerNgModelService;
|
|
14265
14266
|
this.redirectUrl = '';
|
|
14266
14267
|
this.sessionInfo.data
|
|
14267
14268
|
.pipe(first(), switchMap$1(data => {
|
|
@@ -14287,6 +14288,7 @@ class RedirectComponent {
|
|
|
14287
14288
|
}
|
|
14288
14289
|
reloadPage() {
|
|
14289
14290
|
this.cancelSetInterval();
|
|
14291
|
+
this.registerNgModelService.setHasInteractions(false);
|
|
14290
14292
|
if (!this.redirectUrl?.length) {
|
|
14291
14293
|
window.location.reload();
|
|
14292
14294
|
return;
|
|
@@ -14309,13 +14311,13 @@ class RedirectComponent {
|
|
|
14309
14311
|
clearInterval(this.intervalId);
|
|
14310
14312
|
}
|
|
14311
14313
|
}
|
|
14312
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: RedirectComponent, deps: [{ token: IamExpiredInterceptorService }, { token: FoehnPageModalService }, { token: SessionInfo }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
14314
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: RedirectComponent, deps: [{ token: IamExpiredInterceptorService }, { token: FoehnPageModalService }, { token: SessionInfo }, { token: RegisterNgModelService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
14313
14315
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: RedirectComponent, isStandalone: false, selector: "redirector", ngImport: i0, template: "<foehn-modal\n [modalHeaderText]=\"'Information'\"\n [isModalVisible]=\"isModalVisible | async\"\n [closeable]=\"false\"\n>\n <p>Votre session a expir\u00E9.</p>\n <p>\n Vous pouvez\n <a href=\"#\" (click)=\"$event.preventDefault(); reloadPage()\">\n vous connecter\n </a>\n \u00E0 nouveau pour continuer \u00E0 utiliser nos services.\n </p>\n\n <div modal-footer class=\"w-100 text-end fw-bold\">\n Vous allez \u00EAtre redirig\u00E9 dans {{ counter }} s.\n </div>\n</foehn-modal>\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" }] }); }
|
|
14314
14316
|
}
|
|
14315
14317
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: RedirectComponent, decorators: [{
|
|
14316
14318
|
type: Component,
|
|
14317
14319
|
args: [{ selector: 'redirector', standalone: false, template: "<foehn-modal\n [modalHeaderText]=\"'Information'\"\n [isModalVisible]=\"isModalVisible | async\"\n [closeable]=\"false\"\n>\n <p>Votre session a expir\u00E9.</p>\n <p>\n Vous pouvez\n <a href=\"#\" (click)=\"$event.preventDefault(); reloadPage()\">\n vous connecter\n </a>\n \u00E0 nouveau pour continuer \u00E0 utiliser nos services.\n </p>\n\n <div modal-footer class=\"w-100 text-end fw-bold\">\n Vous allez \u00EAtre redirig\u00E9 dans {{ counter }} s.\n </div>\n</foehn-modal>\n" }]
|
|
14318
|
-
}], ctorParameters: () => [{ type: IamExpiredInterceptorService }, { type: FoehnPageModalService }, { type: SessionInfo }] });
|
|
14320
|
+
}], ctorParameters: () => [{ type: IamExpiredInterceptorService }, { type: FoehnPageModalService }, { type: SessionInfo }, { type: RegisterNgModelService }] });
|
|
14319
14321
|
|
|
14320
14322
|
class SdkRedirectModule {
|
|
14321
14323
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SdkRedirectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|