@resolveio/client-lib-core 21.2.4 → 21.2.6
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/package.json
CHANGED
|
@@ -420,9 +420,20 @@ declare class AccountManagerService {
|
|
|
420
420
|
user$: Subscription;
|
|
421
421
|
environment: any;
|
|
422
422
|
private readonly publicTokenKey;
|
|
423
|
+
private readonly publicActivityKey;
|
|
424
|
+
private publicSessionMaxIdleMs;
|
|
425
|
+
private publicActivityThrottleMs;
|
|
426
|
+
private publicActivityListenerBound;
|
|
427
|
+
private publicActivityInterval;
|
|
428
|
+
private lastPublicActivityWrite;
|
|
423
429
|
constructor(_router: Router, _socket: SocketManagerService, _token: TokenManagerService, _http: HttpClient, _alert: AlertService, _offline: OfflineManagerService);
|
|
424
430
|
private normalizeUser;
|
|
425
431
|
initLoginManager(environment: any): void;
|
|
432
|
+
initPublicSessionTracking(options?: {
|
|
433
|
+
maxIdleMs?: number;
|
|
434
|
+
throttleMs?: number;
|
|
435
|
+
checkIntervalMs?: number;
|
|
436
|
+
}): void;
|
|
426
437
|
private initLogin;
|
|
427
438
|
getAccessToken(refreshToken: any): void;
|
|
428
439
|
logIn(username: string, password: string): Promise<unknown>;
|
|
@@ -437,6 +448,11 @@ declare class AccountManagerService {
|
|
|
437
448
|
publicFetchMe(): Promise<unknown>;
|
|
438
449
|
publicFetchDashboard(): Promise<unknown>;
|
|
439
450
|
publicLogOut(): void;
|
|
451
|
+
private restorePublicSession;
|
|
452
|
+
private enforcePublicSession;
|
|
453
|
+
private isPublicSessionExpired;
|
|
454
|
+
private getPublicActivityTimestamp;
|
|
455
|
+
private touchPublicSession;
|
|
440
456
|
logIn365(azure_token: string): Promise<unknown>;
|
|
441
457
|
resetUserPassword(username: string): Promise<unknown>;
|
|
442
458
|
logOut(): Promise<unknown>;
|
|
@@ -938,7 +954,7 @@ declare class PipeModule {
|
|
|
938
954
|
}
|
|
939
955
|
|
|
940
956
|
declare function rioDatePickerConfigFactory(_account: AccountManagerService, _app: CoreService): {
|
|
941
|
-
resolveFirstDayOfWeek: () => "
|
|
957
|
+
resolveFirstDayOfWeek: () => "M" | "S";
|
|
942
958
|
resolveTimezone: () => any;
|
|
943
959
|
};
|
|
944
960
|
declare class CoreServicesModule {
|
|
@@ -1848,7 +1864,7 @@ interface CanComponentDeactivate {
|
|
|
1848
1864
|
canDeactivate: () => Observable<boolean> | Promise<boolean> | boolean;
|
|
1849
1865
|
}
|
|
1850
1866
|
declare class CanDeactivateGuard {
|
|
1851
|
-
canDeactivate(component: CanComponentDeactivate): boolean |
|
|
1867
|
+
canDeactivate(component: CanComponentDeactivate): boolean | Promise<boolean> | Observable<boolean>;
|
|
1852
1868
|
static ɵfac: i0.ɵɵFactoryDeclaration<CanDeactivateGuard, never>;
|
|
1853
1869
|
static ɵprov: i0.ɵɵInjectableDeclaration<CanDeactivateGuard>;
|
|
1854
1870
|
}
|