@genesislcap/foundation-utils 14.321.1-alpha-3586f61.0 → 14.322.1-alpha-9646634.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 +643 -15
- package/dist/dts/inactivity/inactivity-dialog.d.ts +24 -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 +217 -0
- package/dist/esm/inactivity/inactivity-manager.js +92 -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 +1248 -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.configure.md +50 -0
- package/docs/api/foundation-utils.inactivitydialog.disconnectedcallback.md +15 -0
- package/docs/api/foundation-utils.inactivitydialog.handlecontinue.md +15 -0
- package/docs/api/foundation-utils.inactivitydialog.handlelogout.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 +164 -0
- package/docs/api/foundation-utils.inactivitydialog.remainingseconds.md +11 -0
- package/docs/api/foundation-utils.inactivitydialog.show.md +15 -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 +92 -0
- package/package.json +11 -11
@@ -487,6 +487,8 @@ export declare interface ErrorMap<TErrorDetailMap extends ErrorDetailMap> extend
|
|
487
487
|
*/
|
488
488
|
export declare type ErrorMapLogger = (...args: any[]) => void;
|
489
489
|
|
490
|
+
declare type EventListener_2<T = any> = (data: T) => void;
|
491
|
+
|
490
492
|
/**
|
491
493
|
* Represents the possible event names for data synchronization.
|
492
494
|
* @public
|
@@ -679,6 +681,88 @@ export declare function getNumberFormatter(format: string, locale?: string | nul
|
|
679
681
|
*/
|
680
682
|
export declare let HTTP_CONFIG: string;
|
681
683
|
|
684
|
+
export declare interface InactivityConfig {
|
685
|
+
timeoutMinutes: number;
|
686
|
+
warningMinutes: number;
|
687
|
+
}
|
688
|
+
|
689
|
+
export declare class InactivityDialog extends FASTElement {
|
690
|
+
isVisible: boolean;
|
691
|
+
remainingSeconds: number;
|
692
|
+
private onContinue?;
|
693
|
+
private onLogout?;
|
694
|
+
private countdownInterval?;
|
695
|
+
private startTime;
|
696
|
+
private totalSeconds;
|
697
|
+
configure(options: InactivityDialogOptions): void;
|
698
|
+
show(): boolean;
|
699
|
+
hide(): boolean;
|
700
|
+
private startCountdown;
|
701
|
+
private stopCountdown;
|
702
|
+
handleContinue(): void;
|
703
|
+
handleLogout(): void;
|
704
|
+
disconnectedCallback(): void;
|
705
|
+
}
|
706
|
+
|
707
|
+
export declare interface InactivityDialogOptions {
|
708
|
+
remainingSeconds: number;
|
709
|
+
onContinue: () => void;
|
710
|
+
onLogout: () => void;
|
711
|
+
}
|
712
|
+
|
713
|
+
export declare interface InactivityEvents {
|
714
|
+
'inactivity-warning': {
|
715
|
+
remainingSeconds: number;
|
716
|
+
};
|
717
|
+
'inactivity-timeout': void;
|
718
|
+
'inactivity-reset': void;
|
719
|
+
}
|
720
|
+
|
721
|
+
export declare class InactivityManager {
|
722
|
+
private service;
|
723
|
+
private dialog;
|
724
|
+
private config;
|
725
|
+
private isDialogVisible;
|
726
|
+
constructor(config: InactivityManagerConfig);
|
727
|
+
private setupEventListeners;
|
728
|
+
private showWarningDialog;
|
729
|
+
private hideWarningDialog;
|
730
|
+
private handleContinue;
|
731
|
+
private handleLogout;
|
732
|
+
private handleTimeout;
|
733
|
+
start(): void;
|
734
|
+
stop(): void;
|
735
|
+
reset(): void;
|
736
|
+
destroy(): void;
|
737
|
+
getService(): InactivityService;
|
738
|
+
isWarningVisible(): boolean;
|
739
|
+
}
|
740
|
+
|
741
|
+
export declare interface InactivityManagerConfig extends InactivityConfig {
|
742
|
+
onLogout: () => void;
|
743
|
+
}
|
744
|
+
|
745
|
+
export declare class InactivityService {
|
746
|
+
private config;
|
747
|
+
private warningId;
|
748
|
+
private timeoutId;
|
749
|
+
private lastActivity;
|
750
|
+
private isActive;
|
751
|
+
private eventListeners;
|
752
|
+
constructor(config: InactivityConfig);
|
753
|
+
private setupActivityListeners;
|
754
|
+
private checkTimeout;
|
755
|
+
on<K extends keyof InactivityEvents>(event: K, listener: EventListener_2<InactivityEvents[K]>): void;
|
756
|
+
off<K extends keyof InactivityEvents>(event: K, listener: EventListener_2<InactivityEvents[K]>): void;
|
757
|
+
private emit;
|
758
|
+
start(): void;
|
759
|
+
stop(): void;
|
760
|
+
resetTimer(): void;
|
761
|
+
private scheduleTimers;
|
762
|
+
private clearTimers;
|
763
|
+
destroy(): void;
|
764
|
+
}
|
765
|
+
|
682
766
|
/**
|
683
767
|
* Returns a boolean value indicating whether the current window is inside an iframe.
|
684
768
|
* @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,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) > [configure](./foundation-utils.inactivitydialog.configure.md)
|
4
|
+
|
5
|
+
## InactivityDialog.configure() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
configure(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,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) > [handleContinue](./foundation-utils.inactivitydialog.handlecontinue.md)
|
4
|
+
|
5
|
+
## InactivityDialog.handleContinue() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
handleContinue(): 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) > [handleLogout](./foundation-utils.inactivitydialog.handlelogout.md)
|
4
|
+
|
5
|
+
## InactivityDialog.handleLogout() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
handleLogout(): 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(): boolean;
|
11
|
+
```
|
12
|
+
**Returns:**
|
13
|
+
|
14
|
+
boolean
|
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,164 @@
|
|
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 FASTElement
|
11
|
+
```
|
12
|
+
**Extends:** FASTElement
|
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
|
+
[configure(options)](./foundation-utils.inactivitydialog.configure.md)
|
94
|
+
|
95
|
+
|
96
|
+
</td><td>
|
97
|
+
|
98
|
+
|
99
|
+
</td><td>
|
100
|
+
|
101
|
+
|
102
|
+
</td></tr>
|
103
|
+
<tr><td>
|
104
|
+
|
105
|
+
[disconnectedCallback()](./foundation-utils.inactivitydialog.disconnectedcallback.md)
|
106
|
+
|
107
|
+
|
108
|
+
</td><td>
|
109
|
+
|
110
|
+
|
111
|
+
</td><td>
|
112
|
+
|
113
|
+
|
114
|
+
</td></tr>
|
115
|
+
<tr><td>
|
116
|
+
|
117
|
+
[handleContinue()](./foundation-utils.inactivitydialog.handlecontinue.md)
|
118
|
+
|
119
|
+
|
120
|
+
</td><td>
|
121
|
+
|
122
|
+
|
123
|
+
</td><td>
|
124
|
+
|
125
|
+
|
126
|
+
</td></tr>
|
127
|
+
<tr><td>
|
128
|
+
|
129
|
+
[handleLogout()](./foundation-utils.inactivitydialog.handlelogout.md)
|
130
|
+
|
131
|
+
|
132
|
+
</td><td>
|
133
|
+
|
134
|
+
|
135
|
+
</td><td>
|
136
|
+
|
137
|
+
|
138
|
+
</td></tr>
|
139
|
+
<tr><td>
|
140
|
+
|
141
|
+
[hide()](./foundation-utils.inactivitydialog.hide.md)
|
142
|
+
|
143
|
+
|
144
|
+
</td><td>
|
145
|
+
|
146
|
+
|
147
|
+
</td><td>
|
148
|
+
|
149
|
+
|
150
|
+
</td></tr>
|
151
|
+
<tr><td>
|
152
|
+
|
153
|
+
[show()](./foundation-utils.inactivitydialog.show.md)
|
154
|
+
|
155
|
+
|
156
|
+
</td><td>
|
157
|
+
|
158
|
+
|
159
|
+
</td><td>
|
160
|
+
|
161
|
+
|
162
|
+
</td></tr>
|
163
|
+
</tbody></table>
|
164
|
+
|
@@ -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,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) > [show](./foundation-utils.inactivitydialog.show.md)
|
4
|
+
|
5
|
+
## InactivityDialog.show() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
show(): boolean;
|
11
|
+
```
|
12
|
+
**Returns:**
|
13
|
+
|
14
|
+
boolean
|
15
|
+
|
@@ -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
|
+
```
|