@genesislcap/foundation-utils 14.310.2-alpha-8853fb3.0 → 14.310.2-alpha-21b24a2.0
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/dist/custom-elements.json +656 -38
- package/dist/dts/inactivity/inactivity-dialog.d.ts +23 -0
- package/dist/dts/inactivity/inactivity-dialog.d.ts.map +1 -0
- package/dist/dts/inactivity/inactivity-manager.d.ts +24 -0
- package/dist/dts/inactivity/inactivity-manager.d.ts.map +1 -0
- package/dist/dts/inactivity/inactivity-service.d.ts +34 -0
- package/dist/dts/inactivity/inactivity-service.d.ts.map +1 -0
- package/dist/dts/inactivity/index.d.ts +4 -0
- package/dist/dts/inactivity/index.d.ts.map +1 -0
- package/dist/dts/index.d.ts +1 -0
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/esm/inactivity/inactivity-dialog.js +209 -0
- package/dist/esm/inactivity/inactivity-manager.js +84 -0
- package/dist/esm/inactivity/inactivity-service.js +128 -0
- package/dist/esm/inactivity/index.js +3 -0
- package/dist/esm/index.js +1 -0
- package/dist/foundation-utils.api.json +1155 -0
- package/dist/foundation-utils.d.ts +84 -0
- package/docs/api/foundation-utils.inactivityconfig.md +71 -0
- package/docs/api/foundation-utils.inactivityconfig.timeoutminutes.md +11 -0
- package/docs/api/foundation-utils.inactivityconfig.warningminutes.md +11 -0
- package/docs/api/foundation-utils.inactivitydialog.disconnectedcallback.md +15 -0
- package/docs/api/foundation-utils.inactivitydialog.hide.md +15 -0
- package/docs/api/foundation-utils.inactivitydialog.isvisible.md +11 -0
- package/docs/api/foundation-utils.inactivitydialog.md +128 -0
- package/docs/api/foundation-utils.inactivitydialog.remainingseconds.md +11 -0
- package/docs/api/foundation-utils.inactivitydialog.show.md +50 -0
- package/docs/api/foundation-utils.inactivitydialogoptions.md +88 -0
- package/docs/api/foundation-utils.inactivitydialogoptions.oncontinue.md +11 -0
- package/docs/api/foundation-utils.inactivitydialogoptions.onlogout.md +11 -0
- package/docs/api/foundation-utils.inactivitydialogoptions.remainingseconds.md +11 -0
- package/docs/api/foundation-utils.inactivityevents._inactivity-reset_.md +11 -0
- package/docs/api/foundation-utils.inactivityevents._inactivity-timeout_.md +11 -0
- package/docs/api/foundation-utils.inactivityevents._inactivity-warning_.md +13 -0
- package/docs/api/foundation-utils.inactivityevents.md +88 -0
- package/docs/api/foundation-utils.inactivitymanager._constructor_.md +48 -0
- package/docs/api/foundation-utils.inactivitymanager.destroy.md +15 -0
- package/docs/api/foundation-utils.inactivitymanager.getservice.md +15 -0
- package/docs/api/foundation-utils.inactivitymanager.iswarningvisible.md +15 -0
- package/docs/api/foundation-utils.inactivitymanager.md +138 -0
- package/docs/api/foundation-utils.inactivitymanager.reset.md +15 -0
- package/docs/api/foundation-utils.inactivitymanager.start.md +15 -0
- package/docs/api/foundation-utils.inactivitymanager.stop.md +15 -0
- package/docs/api/foundation-utils.inactivitymanagerconfig.md +55 -0
- package/docs/api/foundation-utils.inactivitymanagerconfig.onlogout.md +11 -0
- package/docs/api/foundation-utils.inactivityservice._constructor_.md +48 -0
- package/docs/api/foundation-utils.inactivityservice.destroy.md +15 -0
- package/docs/api/foundation-utils.inactivityservice.md +138 -0
- package/docs/api/foundation-utils.inactivityservice.off.md +64 -0
- package/docs/api/foundation-utils.inactivityservice.on.md +64 -0
- package/docs/api/foundation-utils.inactivityservice.resettimer.md +15 -0
- package/docs/api/foundation-utils.inactivityservice.start.md +15 -0
- package/docs/api/foundation-utils.inactivityservice.stop.md +15 -0
- package/docs/api/foundation-utils.md +63 -0
- package/docs/api-report.md.api.md +87 -0
- package/package.json +12 -11
@@ -7,6 +7,7 @@ import { CSSDesignToken } from '@microsoft/fast-foundation';
|
|
7
7
|
import { DesignSystem } from '@microsoft/fast-foundation';
|
8
8
|
import { ElementStyles } from '@microsoft/fast-element';
|
9
9
|
import { FASTElement } from '@microsoft/fast-element';
|
10
|
+
import { GenesisElement } from '@genesislcap/web-core';
|
10
11
|
import { InterfaceSymbol } from '@microsoft/fast-foundation';
|
11
12
|
import type { JSONSchema7 } from 'json-schema';
|
12
13
|
import { Logger as Logger_2 } from '@genesislcap/foundation-logger';
|
@@ -441,6 +442,8 @@ export declare interface ErrorMap<TErrorDetailMap extends ErrorDetailMap> extend
|
|
441
442
|
*/
|
442
443
|
export declare type ErrorMapLogger = (...args: any[]) => void;
|
443
444
|
|
445
|
+
declare type EventListener_2<T = any> = (data: T) => void;
|
446
|
+
|
444
447
|
/**
|
445
448
|
* Represents the possible event names for data synchronization.
|
446
449
|
* @public
|
@@ -614,6 +617,87 @@ export declare function getNumberFormatter(format: string, locale?: string | nul
|
|
614
617
|
*/
|
615
618
|
export declare let HTTP_CONFIG: string;
|
616
619
|
|
620
|
+
export declare interface InactivityConfig {
|
621
|
+
timeoutMinutes: number;
|
622
|
+
warningMinutes: number;
|
623
|
+
}
|
624
|
+
|
625
|
+
export declare class InactivityDialog extends GenesisElement {
|
626
|
+
isVisible: boolean;
|
627
|
+
remainingSeconds: number;
|
628
|
+
private onContinue?;
|
629
|
+
private onLogout?;
|
630
|
+
private countdownInterval?;
|
631
|
+
private startTime;
|
632
|
+
private totalSeconds;
|
633
|
+
show(options: InactivityDialogOptions): void;
|
634
|
+
hide(): void;
|
635
|
+
private startCountdown;
|
636
|
+
private stopCountdown;
|
637
|
+
private handleContinue;
|
638
|
+
private handleLogout;
|
639
|
+
disconnectedCallback(): void;
|
640
|
+
}
|
641
|
+
|
642
|
+
export declare interface InactivityDialogOptions {
|
643
|
+
remainingSeconds: number;
|
644
|
+
onContinue: () => void;
|
645
|
+
onLogout: () => void;
|
646
|
+
}
|
647
|
+
|
648
|
+
export declare interface InactivityEvents {
|
649
|
+
'inactivity-warning': {
|
650
|
+
remainingSeconds: number;
|
651
|
+
};
|
652
|
+
'inactivity-timeout': void;
|
653
|
+
'inactivity-reset': void;
|
654
|
+
}
|
655
|
+
|
656
|
+
export declare class InactivityManager {
|
657
|
+
private service;
|
658
|
+
private dialog;
|
659
|
+
private config;
|
660
|
+
private isDialogVisible;
|
661
|
+
constructor(config: InactivityManagerConfig);
|
662
|
+
private setupEventListeners;
|
663
|
+
private showWarningDialog;
|
664
|
+
private hideWarningDialog;
|
665
|
+
private handleContinue;
|
666
|
+
private handleLogout;
|
667
|
+
private handleTimeout;
|
668
|
+
start(): void;
|
669
|
+
stop(): void;
|
670
|
+
reset(): void;
|
671
|
+
destroy(): void;
|
672
|
+
getService(): InactivityService;
|
673
|
+
isWarningVisible(): boolean;
|
674
|
+
}
|
675
|
+
|
676
|
+
export declare interface InactivityManagerConfig extends InactivityConfig {
|
677
|
+
onLogout: () => void;
|
678
|
+
}
|
679
|
+
|
680
|
+
export declare class InactivityService {
|
681
|
+
private config;
|
682
|
+
private warningId;
|
683
|
+
private timeoutId;
|
684
|
+
private lastActivity;
|
685
|
+
private isActive;
|
686
|
+
private eventListeners;
|
687
|
+
constructor(config: InactivityConfig);
|
688
|
+
private setupActivityListeners;
|
689
|
+
private checkTimeout;
|
690
|
+
on<K extends keyof InactivityEvents>(event: K, listener: EventListener_2<InactivityEvents[K]>): void;
|
691
|
+
off<K extends keyof InactivityEvents>(event: K, listener: EventListener_2<InactivityEvents[K]>): void;
|
692
|
+
private emit;
|
693
|
+
start(): void;
|
694
|
+
stop(): void;
|
695
|
+
resetTimer(): void;
|
696
|
+
private scheduleTimers;
|
697
|
+
private clearTimers;
|
698
|
+
destroy(): void;
|
699
|
+
}
|
700
|
+
|
617
701
|
/**
|
618
702
|
* Returns a boolean value indicating whether the current window is inside an iframe.
|
619
703
|
* @returns true if the window is inside an iframe, false otherwise.
|
@@ -0,0 +1,71 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [InactivityConfig](./foundation-utils.inactivityconfig.md)
|
4
|
+
|
5
|
+
## InactivityConfig interface
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
export interface InactivityConfig
|
11
|
+
```
|
12
|
+
|
13
|
+
## Properties
|
14
|
+
|
15
|
+
<table><thead><tr><th>
|
16
|
+
|
17
|
+
Property
|
18
|
+
|
19
|
+
|
20
|
+
</th><th>
|
21
|
+
|
22
|
+
Modifiers
|
23
|
+
|
24
|
+
|
25
|
+
</th><th>
|
26
|
+
|
27
|
+
Type
|
28
|
+
|
29
|
+
|
30
|
+
</th><th>
|
31
|
+
|
32
|
+
Description
|
33
|
+
|
34
|
+
|
35
|
+
</th></tr></thead>
|
36
|
+
<tbody><tr><td>
|
37
|
+
|
38
|
+
[timeoutMinutes](./foundation-utils.inactivityconfig.timeoutminutes.md)
|
39
|
+
|
40
|
+
|
41
|
+
</td><td>
|
42
|
+
|
43
|
+
|
44
|
+
</td><td>
|
45
|
+
|
46
|
+
number
|
47
|
+
|
48
|
+
|
49
|
+
</td><td>
|
50
|
+
|
51
|
+
|
52
|
+
</td></tr>
|
53
|
+
<tr><td>
|
54
|
+
|
55
|
+
[warningMinutes](./foundation-utils.inactivityconfig.warningminutes.md)
|
56
|
+
|
57
|
+
|
58
|
+
</td><td>
|
59
|
+
|
60
|
+
|
61
|
+
</td><td>
|
62
|
+
|
63
|
+
number
|
64
|
+
|
65
|
+
|
66
|
+
</td><td>
|
67
|
+
|
68
|
+
|
69
|
+
</td></tr>
|
70
|
+
</tbody></table>
|
71
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [InactivityConfig](./foundation-utils.inactivityconfig.md) > [timeoutMinutes](./foundation-utils.inactivityconfig.timeoutminutes.md)
|
4
|
+
|
5
|
+
## InactivityConfig.timeoutMinutes property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
timeoutMinutes: number;
|
11
|
+
```
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [InactivityConfig](./foundation-utils.inactivityconfig.md) > [warningMinutes](./foundation-utils.inactivityconfig.warningminutes.md)
|
4
|
+
|
5
|
+
## InactivityConfig.warningMinutes property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
warningMinutes: number;
|
11
|
+
```
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [InactivityDialog](./foundation-utils.inactivitydialog.md) > [disconnectedCallback](./foundation-utils.inactivitydialog.disconnectedcallback.md)
|
4
|
+
|
5
|
+
## InactivityDialog.disconnectedCallback() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
disconnectedCallback(): void;
|
11
|
+
```
|
12
|
+
**Returns:**
|
13
|
+
|
14
|
+
void
|
15
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [InactivityDialog](./foundation-utils.inactivitydialog.md) > [hide](./foundation-utils.inactivitydialog.hide.md)
|
4
|
+
|
5
|
+
## InactivityDialog.hide() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
hide(): void;
|
11
|
+
```
|
12
|
+
**Returns:**
|
13
|
+
|
14
|
+
void
|
15
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [InactivityDialog](./foundation-utils.inactivitydialog.md) > [isVisible](./foundation-utils.inactivitydialog.isvisible.md)
|
4
|
+
|
5
|
+
## InactivityDialog.isVisible property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
isVisible: boolean;
|
11
|
+
```
|
@@ -0,0 +1,128 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [InactivityDialog](./foundation-utils.inactivitydialog.md)
|
4
|
+
|
5
|
+
## InactivityDialog class
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
export declare class InactivityDialog extends GenesisElement
|
11
|
+
```
|
12
|
+
**Extends:** GenesisElement
|
13
|
+
|
14
|
+
## Properties
|
15
|
+
|
16
|
+
<table><thead><tr><th>
|
17
|
+
|
18
|
+
Property
|
19
|
+
|
20
|
+
|
21
|
+
</th><th>
|
22
|
+
|
23
|
+
Modifiers
|
24
|
+
|
25
|
+
|
26
|
+
</th><th>
|
27
|
+
|
28
|
+
Type
|
29
|
+
|
30
|
+
|
31
|
+
</th><th>
|
32
|
+
|
33
|
+
Description
|
34
|
+
|
35
|
+
|
36
|
+
</th></tr></thead>
|
37
|
+
<tbody><tr><td>
|
38
|
+
|
39
|
+
[isVisible](./foundation-utils.inactivitydialog.isvisible.md)
|
40
|
+
|
41
|
+
|
42
|
+
</td><td>
|
43
|
+
|
44
|
+
|
45
|
+
</td><td>
|
46
|
+
|
47
|
+
boolean
|
48
|
+
|
49
|
+
|
50
|
+
</td><td>
|
51
|
+
|
52
|
+
|
53
|
+
</td></tr>
|
54
|
+
<tr><td>
|
55
|
+
|
56
|
+
[remainingSeconds](./foundation-utils.inactivitydialog.remainingseconds.md)
|
57
|
+
|
58
|
+
|
59
|
+
</td><td>
|
60
|
+
|
61
|
+
|
62
|
+
</td><td>
|
63
|
+
|
64
|
+
number
|
65
|
+
|
66
|
+
|
67
|
+
</td><td>
|
68
|
+
|
69
|
+
|
70
|
+
</td></tr>
|
71
|
+
</tbody></table>
|
72
|
+
|
73
|
+
## Methods
|
74
|
+
|
75
|
+
<table><thead><tr><th>
|
76
|
+
|
77
|
+
Method
|
78
|
+
|
79
|
+
|
80
|
+
</th><th>
|
81
|
+
|
82
|
+
Modifiers
|
83
|
+
|
84
|
+
|
85
|
+
</th><th>
|
86
|
+
|
87
|
+
Description
|
88
|
+
|
89
|
+
|
90
|
+
</th></tr></thead>
|
91
|
+
<tbody><tr><td>
|
92
|
+
|
93
|
+
[disconnectedCallback()](./foundation-utils.inactivitydialog.disconnectedcallback.md)
|
94
|
+
|
95
|
+
|
96
|
+
</td><td>
|
97
|
+
|
98
|
+
|
99
|
+
</td><td>
|
100
|
+
|
101
|
+
|
102
|
+
</td></tr>
|
103
|
+
<tr><td>
|
104
|
+
|
105
|
+
[hide()](./foundation-utils.inactivitydialog.hide.md)
|
106
|
+
|
107
|
+
|
108
|
+
</td><td>
|
109
|
+
|
110
|
+
|
111
|
+
</td><td>
|
112
|
+
|
113
|
+
|
114
|
+
</td></tr>
|
115
|
+
<tr><td>
|
116
|
+
|
117
|
+
[show(options)](./foundation-utils.inactivitydialog.show.md)
|
118
|
+
|
119
|
+
|
120
|
+
</td><td>
|
121
|
+
|
122
|
+
|
123
|
+
</td><td>
|
124
|
+
|
125
|
+
|
126
|
+
</td></tr>
|
127
|
+
</tbody></table>
|
128
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [InactivityDialog](./foundation-utils.inactivitydialog.md) > [remainingSeconds](./foundation-utils.inactivitydialog.remainingseconds.md)
|
4
|
+
|
5
|
+
## InactivityDialog.remainingSeconds property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
remainingSeconds: number;
|
11
|
+
```
|
@@ -0,0 +1,50 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [InactivityDialog](./foundation-utils.inactivitydialog.md) > [show](./foundation-utils.inactivitydialog.show.md)
|
4
|
+
|
5
|
+
## InactivityDialog.show() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
show(options: InactivityDialogOptions): void;
|
11
|
+
```
|
12
|
+
|
13
|
+
## Parameters
|
14
|
+
|
15
|
+
<table><thead><tr><th>
|
16
|
+
|
17
|
+
Parameter
|
18
|
+
|
19
|
+
|
20
|
+
</th><th>
|
21
|
+
|
22
|
+
Type
|
23
|
+
|
24
|
+
|
25
|
+
</th><th>
|
26
|
+
|
27
|
+
Description
|
28
|
+
|
29
|
+
|
30
|
+
</th></tr></thead>
|
31
|
+
<tbody><tr><td>
|
32
|
+
|
33
|
+
options
|
34
|
+
|
35
|
+
|
36
|
+
</td><td>
|
37
|
+
|
38
|
+
[InactivityDialogOptions](./foundation-utils.inactivitydialogoptions.md)
|
39
|
+
|
40
|
+
|
41
|
+
</td><td>
|
42
|
+
|
43
|
+
|
44
|
+
</td></tr>
|
45
|
+
</tbody></table>
|
46
|
+
|
47
|
+
**Returns:**
|
48
|
+
|
49
|
+
void
|
50
|
+
|
@@ -0,0 +1,88 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [InactivityDialogOptions](./foundation-utils.inactivitydialogoptions.md)
|
4
|
+
|
5
|
+
## InactivityDialogOptions interface
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
export interface InactivityDialogOptions
|
11
|
+
```
|
12
|
+
|
13
|
+
## Properties
|
14
|
+
|
15
|
+
<table><thead><tr><th>
|
16
|
+
|
17
|
+
Property
|
18
|
+
|
19
|
+
|
20
|
+
</th><th>
|
21
|
+
|
22
|
+
Modifiers
|
23
|
+
|
24
|
+
|
25
|
+
</th><th>
|
26
|
+
|
27
|
+
Type
|
28
|
+
|
29
|
+
|
30
|
+
</th><th>
|
31
|
+
|
32
|
+
Description
|
33
|
+
|
34
|
+
|
35
|
+
</th></tr></thead>
|
36
|
+
<tbody><tr><td>
|
37
|
+
|
38
|
+
[onContinue](./foundation-utils.inactivitydialogoptions.oncontinue.md)
|
39
|
+
|
40
|
+
|
41
|
+
</td><td>
|
42
|
+
|
43
|
+
|
44
|
+
</td><td>
|
45
|
+
|
46
|
+
() => void
|
47
|
+
|
48
|
+
|
49
|
+
</td><td>
|
50
|
+
|
51
|
+
|
52
|
+
</td></tr>
|
53
|
+
<tr><td>
|
54
|
+
|
55
|
+
[onLogout](./foundation-utils.inactivitydialogoptions.onlogout.md)
|
56
|
+
|
57
|
+
|
58
|
+
</td><td>
|
59
|
+
|
60
|
+
|
61
|
+
</td><td>
|
62
|
+
|
63
|
+
() => void
|
64
|
+
|
65
|
+
|
66
|
+
</td><td>
|
67
|
+
|
68
|
+
|
69
|
+
</td></tr>
|
70
|
+
<tr><td>
|
71
|
+
|
72
|
+
[remainingSeconds](./foundation-utils.inactivitydialogoptions.remainingseconds.md)
|
73
|
+
|
74
|
+
|
75
|
+
</td><td>
|
76
|
+
|
77
|
+
|
78
|
+
</td><td>
|
79
|
+
|
80
|
+
number
|
81
|
+
|
82
|
+
|
83
|
+
</td><td>
|
84
|
+
|
85
|
+
|
86
|
+
</td></tr>
|
87
|
+
</tbody></table>
|
88
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [InactivityDialogOptions](./foundation-utils.inactivitydialogoptions.md) > [onContinue](./foundation-utils.inactivitydialogoptions.oncontinue.md)
|
4
|
+
|
5
|
+
## InactivityDialogOptions.onContinue property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
onContinue: () => void;
|
11
|
+
```
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [InactivityDialogOptions](./foundation-utils.inactivitydialogoptions.md) > [onLogout](./foundation-utils.inactivitydialogoptions.onlogout.md)
|
4
|
+
|
5
|
+
## InactivityDialogOptions.onLogout property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
onLogout: () => void;
|
11
|
+
```
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [InactivityDialogOptions](./foundation-utils.inactivitydialogoptions.md) > [remainingSeconds](./foundation-utils.inactivitydialogoptions.remainingseconds.md)
|
4
|
+
|
5
|
+
## InactivityDialogOptions.remainingSeconds property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
remainingSeconds: number;
|
11
|
+
```
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [InactivityEvents](./foundation-utils.inactivityevents.md) > ["inactivity-reset"](./foundation-utils.inactivityevents._inactivity-reset_.md)
|
4
|
+
|
5
|
+
## InactivityEvents."inactivity-reset" property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
'inactivity-reset': void;
|
11
|
+
```
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [InactivityEvents](./foundation-utils.inactivityevents.md) > ["inactivity-timeout"](./foundation-utils.inactivityevents._inactivity-timeout_.md)
|
4
|
+
|
5
|
+
## InactivityEvents."inactivity-timeout" property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
'inactivity-timeout': void;
|
11
|
+
```
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [InactivityEvents](./foundation-utils.inactivityevents.md) > ["inactivity-warning"](./foundation-utils.inactivityevents._inactivity-warning_.md)
|
4
|
+
|
5
|
+
## InactivityEvents."inactivity-warning" property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
'inactivity-warning': {
|
11
|
+
remainingSeconds: number;
|
12
|
+
};
|
13
|
+
```
|
@@ -0,0 +1,88 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [InactivityEvents](./foundation-utils.inactivityevents.md)
|
4
|
+
|
5
|
+
## InactivityEvents interface
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
export interface InactivityEvents
|
11
|
+
```
|
12
|
+
|
13
|
+
## Properties
|
14
|
+
|
15
|
+
<table><thead><tr><th>
|
16
|
+
|
17
|
+
Property
|
18
|
+
|
19
|
+
|
20
|
+
</th><th>
|
21
|
+
|
22
|
+
Modifiers
|
23
|
+
|
24
|
+
|
25
|
+
</th><th>
|
26
|
+
|
27
|
+
Type
|
28
|
+
|
29
|
+
|
30
|
+
</th><th>
|
31
|
+
|
32
|
+
Description
|
33
|
+
|
34
|
+
|
35
|
+
</th></tr></thead>
|
36
|
+
<tbody><tr><td>
|
37
|
+
|
38
|
+
["inactivity-reset"](./foundation-utils.inactivityevents._inactivity-reset_.md)
|
39
|
+
|
40
|
+
|
41
|
+
</td><td>
|
42
|
+
|
43
|
+
|
44
|
+
</td><td>
|
45
|
+
|
46
|
+
void
|
47
|
+
|
48
|
+
|
49
|
+
</td><td>
|
50
|
+
|
51
|
+
|
52
|
+
</td></tr>
|
53
|
+
<tr><td>
|
54
|
+
|
55
|
+
["inactivity-timeout"](./foundation-utils.inactivityevents._inactivity-timeout_.md)
|
56
|
+
|
57
|
+
|
58
|
+
</td><td>
|
59
|
+
|
60
|
+
|
61
|
+
</td><td>
|
62
|
+
|
63
|
+
void
|
64
|
+
|
65
|
+
|
66
|
+
</td><td>
|
67
|
+
|
68
|
+
|
69
|
+
</td></tr>
|
70
|
+
<tr><td>
|
71
|
+
|
72
|
+
["inactivity-warning"](./foundation-utils.inactivityevents._inactivity-warning_.md)
|
73
|
+
|
74
|
+
|
75
|
+
</td><td>
|
76
|
+
|
77
|
+
|
78
|
+
</td><td>
|
79
|
+
|
80
|
+
{ remainingSeconds: number; }
|
81
|
+
|
82
|
+
|
83
|
+
</td><td>
|
84
|
+
|
85
|
+
|
86
|
+
</td></tr>
|
87
|
+
</tbody></table>
|
88
|
+
|