@dsivd/prestations-ng 16.4.0-beta.8 → 16.4.0-beta.9
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 +18 -0
- package/dsivd-prestations-ng-v16.4.0-beta.9.tgz +0 -0
- package/esm2020/foehn-page/foehn-page-expiration-timer/demande-expiration-interceptor.mjs +59 -0
- package/esm2020/foehn-page/foehn-page-expiration-timer/demande-expiration.service.mjs +46 -0
- package/esm2020/foehn-page/foehn-page-expiration-timer/foehn-page-expiration-timer.component.mjs +144 -0
- package/esm2020/foehn-page/foehn-page.component.mjs +23 -19
- package/esm2020/foehn-page/foehn-page.module.mjs +14 -7
- package/esm2020/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.mjs +5 -2
- package/esm2020/index.mjs +3 -1
- package/esm2020/sdk-appinfo/application-info.mjs +3 -1
- package/esm2020/sdk-dictionary/default-dictionary.mjs +8 -1
- package/fesm2015/dsivd-prestations-ng.mjs +262 -14
- package/fesm2015/dsivd-prestations-ng.mjs.map +1 -1
- package/fesm2020/dsivd-prestations-ng.mjs +262 -14
- package/fesm2020/dsivd-prestations-ng.mjs.map +1 -1
- package/foehn-page/foehn-page-expiration-timer/demande-expiration-interceptor.d.ts +15 -0
- package/foehn-page/foehn-page-expiration-timer/demande-expiration.service.d.ts +16 -0
- package/foehn-page/foehn-page-expiration-timer/foehn-page-expiration-timer.component.d.ts +31 -0
- package/foehn-page/foehn-page.component.d.ts +4 -1
- package/foehn-page/foehn-page.module.d.ts +15 -14
- package/index.d.ts +2 -0
- package/package.json +1 -1
- package/sdk-appinfo/application-info.d.ts +4 -0
- package/dsivd-prestations-ng-v16.4.0-beta.8.tgz +0 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
|
|
2
|
+
import { ExistingProvider } from '@angular/core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { DemandeExpirationService } from './demande-expiration.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DemandeExpirationInterceptor implements HttpInterceptor {
|
|
7
|
+
private demandeExpirationService;
|
|
8
|
+
constructor(demandeExpirationService: DemandeExpirationService);
|
|
9
|
+
intercept(request: HttpRequest<unknown>, next: HttpHandler): Observable<HttpEvent<unknown>>;
|
|
10
|
+
private manageDemandeExpirationHeader;
|
|
11
|
+
private getExpirationByDemandeMap;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DemandeExpirationInterceptor, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DemandeExpirationInterceptor>;
|
|
14
|
+
}
|
|
15
|
+
export declare const DEMANDE_EXPIRATION_INTERCEPTOR_PROVIDER: ExistingProvider[];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import dayjs from 'dayjs';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DemandeExpirationService {
|
|
5
|
+
private interval;
|
|
6
|
+
private readonly PULLING_IN_MILLISECONDS;
|
|
7
|
+
private _demandeExpirationDateTimeSubject;
|
|
8
|
+
private intervalSubject;
|
|
9
|
+
shouldDisplayExpirationTimerMessage(): Observable<boolean>;
|
|
10
|
+
setDemandeExpirationDateTime(date: dayjs.Dayjs): void;
|
|
11
|
+
private getDemandeExpirationDateTime;
|
|
12
|
+
private startPulling;
|
|
13
|
+
private clearPulling;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DemandeExpirationService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DemandeExpirationService>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { AfterViewInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { SdkDictionaryService } from '../..//sdk-dictionary/sdk-dictionary.service';
|
|
4
|
+
import { ApplicationInfoService } from '../../sdk-appinfo/application-info.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FoehnPageExpirationTimerComponent implements AfterViewInit, OnDestroy {
|
|
7
|
+
private applicationInfoService;
|
|
8
|
+
private dictionaryService;
|
|
9
|
+
applicationInfoRetrieved: Observable<boolean>;
|
|
10
|
+
countDownTimeToDisplay: Observable<string>;
|
|
11
|
+
sessionExpired: Observable<boolean>;
|
|
12
|
+
srAnnouncements: string;
|
|
13
|
+
private countDownTimeInSeconds;
|
|
14
|
+
private sessionHasExpired;
|
|
15
|
+
private interval;
|
|
16
|
+
private dateHelper;
|
|
17
|
+
private readonly PULLING_IN_MILLISECONDS;
|
|
18
|
+
private srAnnouncementClearTimer;
|
|
19
|
+
private readonly SR_ANNOUNCEMENT_CLEAR_TIMEOUT_INTERVAL_MS;
|
|
20
|
+
constructor(applicationInfoService: ApplicationInfoService, dictionaryService: SdkDictionaryService);
|
|
21
|
+
ngAfterViewInit(): void;
|
|
22
|
+
ngOnDestroy(): void;
|
|
23
|
+
private startTimer;
|
|
24
|
+
private clearTimer;
|
|
25
|
+
private formatTime;
|
|
26
|
+
private announceSrMessage;
|
|
27
|
+
private getReadableTimerForScreenReader;
|
|
28
|
+
private manageScreenReaderAnnouncement;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FoehnPageExpirationTimerComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FoehnPageExpirationTimerComponent, "foehn-page-expiration-timer", never, {}, {}, never, never, false, never>;
|
|
31
|
+
}
|
|
@@ -14,6 +14,7 @@ import { SessionInfo } from '../sdk-session-info/session-info.service';
|
|
|
14
14
|
import { SdkStatisticsService } from '../sdk-statistics/sdk-statistics.service';
|
|
15
15
|
import { SupportAlertService } from '../sdk-support-alert/support-alert.service';
|
|
16
16
|
import { FoehnPageService } from './foehn-page.service';
|
|
17
|
+
import { DemandeExpirationService } from './foehn-page-expiration-timer/demande-expiration.service';
|
|
17
18
|
import * as i0 from "@angular/core";
|
|
18
19
|
export declare class FoehnPageComponent implements OnDestroy, OnChanges, OnInit {
|
|
19
20
|
private _titleService;
|
|
@@ -28,6 +29,7 @@ export declare class FoehnPageComponent implements OnDestroy, OnChanges, OnInit
|
|
|
28
29
|
private foehnPageModalService;
|
|
29
30
|
private sdkDictionaryService;
|
|
30
31
|
private statisticsService;
|
|
32
|
+
private demandeExpirationService;
|
|
31
33
|
appTitle: string;
|
|
32
34
|
footerLinks: FooterLink[];
|
|
33
35
|
supportAlertEnabled: boolean;
|
|
@@ -64,8 +66,9 @@ export declare class FoehnPageComponent implements OnDestroy, OnChanges, OnInit
|
|
|
64
66
|
isApplePlatform: boolean;
|
|
65
67
|
browserLinkTitlePrefix: string;
|
|
66
68
|
browserNotSupportedBypass: boolean;
|
|
69
|
+
displayDemandeExpirationTimer: Observable<boolean>;
|
|
67
70
|
private readonly blockedSubscription;
|
|
68
|
-
constructor(_titleService: Title, foehnPageService: FoehnPageService, supportAlertService: SupportAlertService, foehnNavigationService: FoehnNavigationService, applicationInfoService: ApplicationInfoService, gesdemEventService: GesdemEventService, breadcrumbService: BreadcrumbEventService, router: Router, sessionInfo: SessionInfo, foehnPageModalService: FoehnPageModalService, sdkDictionaryService: SdkDictionaryService, statisticsService: SdkStatisticsService);
|
|
71
|
+
constructor(_titleService: Title, foehnPageService: FoehnPageService, supportAlertService: SupportAlertService, foehnNavigationService: FoehnNavigationService, applicationInfoService: ApplicationInfoService, gesdemEventService: GesdemEventService, breadcrumbService: BreadcrumbEventService, router: Router, sessionInfo: SessionInfo, foehnPageModalService: FoehnPageModalService, sdkDictionaryService: SdkDictionaryService, statisticsService: SdkStatisticsService, demandeExpirationService: DemandeExpirationService);
|
|
69
72
|
ngOnInit(): void;
|
|
70
73
|
ngOnChanges(changes: SimpleChanges): void;
|
|
71
74
|
ngOnDestroy(): void;
|
|
@@ -2,21 +2,22 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./foehn-page.component";
|
|
3
3
|
import * as i2 from "./foehn-page-counter.component";
|
|
4
4
|
import * as i3 from "./foehn-page-modal.component";
|
|
5
|
-
import * as i4 from "
|
|
6
|
-
import * as i5 from "
|
|
7
|
-
import * as i6 from "../
|
|
8
|
-
import * as i7 from "../foehn-
|
|
9
|
-
import * as i8 from "../foehn-
|
|
10
|
-
import * as i9 from "../foehn-
|
|
11
|
-
import * as i10 from "../foehn-
|
|
12
|
-
import * as i11 from "../foehn-
|
|
13
|
-
import * as i12 from "../
|
|
14
|
-
import * as i13 from "../
|
|
15
|
-
import * as i14 from "../foehn-
|
|
16
|
-
import * as i15 from "../
|
|
17
|
-
import * as i16 from "../
|
|
5
|
+
import * as i4 from "./foehn-page-expiration-timer/foehn-page-expiration-timer.component";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
7
|
+
import * as i6 from "../sdk-drafts/drafts.module";
|
|
8
|
+
import * as i7 from "../foehn-breadcrumb/foehn-breadcrumb.module";
|
|
9
|
+
import * as i8 from "../foehn-growl/foehn-growl.module";
|
|
10
|
+
import * as i9 from "../foehn-header/foehn-header.module";
|
|
11
|
+
import * as i10 from "../foehn-modal/foehn-modal.module";
|
|
12
|
+
import * as i11 from "../foehn-footer/foehn-footer.module";
|
|
13
|
+
import * as i12 from "../foehn-user-connected-as/foehn-user-connected-as.module";
|
|
14
|
+
import * as i13 from "../sdk-support-alert/support-alert.module";
|
|
15
|
+
import * as i14 from "../foehn-confirm-modal/foehn-confirm-modal.module";
|
|
16
|
+
import * as i15 from "../foehn-icons/foehn-icons.module";
|
|
17
|
+
import * as i16 from "../sdk-dictionary/sdk-dictionary.module";
|
|
18
|
+
import * as i17 from "../foehn-status-progress-bar/foehn-status-progress-bar.module";
|
|
18
19
|
export declare class FoehnPageModule {
|
|
19
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<FoehnPageModule, never>;
|
|
20
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FoehnPageModule, [typeof i1.FoehnPageComponent, typeof i2.FoehnPageCounterComponent, typeof i3.FoehnPageModalComponent], [typeof
|
|
21
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FoehnPageModule, [typeof i1.FoehnPageComponent, typeof i2.FoehnPageCounterComponent, typeof i3.FoehnPageModalComponent, typeof i4.FoehnPageExpirationTimerComponent], [typeof i5.CommonModule, typeof i6.DraftsModule, typeof i7.FoehnBreadcrumbModule, typeof i8.FoehnGrowlModule, typeof i9.FoehnHeaderModule, typeof i10.FoehnModalModule, typeof i11.FoehnFooterModule, typeof i12.FoehnUserConnectedAsModule, typeof i13.SupportAlertModule, typeof i14.FoehnConfirmModalModule, typeof i15.FoehnIconsModule, typeof i16.SdkDictionaryModule, typeof i17.FoehnStatusProgressBarModule], [typeof i1.FoehnPageComponent, typeof i2.FoehnPageCounterComponent, typeof i3.FoehnPageModalComponent, typeof i4.FoehnPageExpirationTimerComponent]>;
|
|
21
22
|
static ɵinj: i0.ɵɵInjectorDeclaration<FoehnPageModule>;
|
|
22
23
|
}
|
package/index.d.ts
CHANGED
|
@@ -18,6 +18,8 @@ export * from './foehn-page/foehn-page.component';
|
|
|
18
18
|
export * from './foehn-page/foehn-page.module';
|
|
19
19
|
export * from './foehn-page/foehn-page.service';
|
|
20
20
|
export * from './foehn-page/foehn-page-counter.component';
|
|
21
|
+
export * from './foehn-page/foehn-page-expiration-timer/demande-expiration.service';
|
|
22
|
+
export * from './foehn-page/foehn-page-expiration-timer/foehn-page-expiration-timer.component';
|
|
21
23
|
export * from './foehn-header/foehn-header.component';
|
|
22
24
|
export * from './foehn-header/foehn-header.module';
|
|
23
25
|
export * from './foehn-header/foehn-skip-link.component';
|
package/package.json
CHANGED
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"ng-update": {
|
|
41
41
|
"migrations": "./schematics/migration-collection.json"
|
|
42
42
|
},
|
|
43
|
-
"version": "16.4.0-beta.
|
|
43
|
+
"version": "16.4.0-beta.9",
|
|
44
44
|
"module": "fesm2015/dsivd-prestations-ng.mjs",
|
|
45
45
|
"es2020": "fesm2020/dsivd-prestations-ng.mjs",
|
|
46
46
|
"esm2020": "esm2020/dsivd-prestations-ng.mjs",
|
|
@@ -30,6 +30,10 @@ export declare class Configuration {
|
|
|
30
30
|
captcha?: Captcha;
|
|
31
31
|
portail?: Portail;
|
|
32
32
|
document?: Document;
|
|
33
|
+
session?: Session;
|
|
34
|
+
}
|
|
35
|
+
export declare class Session {
|
|
36
|
+
messageDelayInMinutes: number;
|
|
33
37
|
}
|
|
34
38
|
export declare class Document {
|
|
35
39
|
fileMaxSizeInBytesByFormKey: {
|
|
Binary file
|