@genesislcap/foundation-utils 14.310.2 → 14.311.1-alpha-3bdf18f.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 +841 -160
- package/dist/dts/index.d.ts +1 -0
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/shortcut-manager/index.d.ts +3 -0
- package/dist/dts/shortcut-manager/index.d.ts.map +1 -0
- package/dist/dts/shortcut-manager/shortcut-listener.d.ts +21 -0
- package/dist/dts/shortcut-manager/shortcut-listener.d.ts.map +1 -0
- package/dist/dts/shortcut-manager/shortcut-manager.d.ts +120 -0
- package/dist/dts/shortcut-manager/shortcut-manager.d.ts.map +1 -0
- package/dist/dts/utils/os-platform.d.ts +31 -0
- package/dist/dts/utils/os-platform.d.ts.map +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/shortcut-manager/index.js +2 -0
- package/dist/esm/shortcut-manager/shortcut-listener.js +140 -0
- package/dist/esm/shortcut-manager/shortcut-manager.js +286 -0
- package/dist/esm/utils/os-platform.js +63 -0
- package/dist/foundation-utils.api.json +8414 -5799
- package/dist/foundation-utils.d.ts +145 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.clearactivecontext.md +15 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.executeshortcut.md +50 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.executeshortcutbycontext.md +64 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.findshortcutbykeycombination.md +114 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.getactivecontext.md +15 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.getcontexts.md +15 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.getshortcuts.md +15 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.getshortcutsbycontext.md +50 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.getshortcutsbycontextmap.md +15 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.ispaused.md +11 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.ispaused_.md +11 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.ispausedsubject.md +11 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.md +321 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.pause.md +15 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.registercontext.md +50 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.registershortcut.md +50 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.registershortcuts.md +50 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.resume.md +15 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.setactivecontext.md +50 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.unregistershortcut.md +64 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.unregistershortcutsbycontext.md +50 -0
- package/docs/api/foundation-utils.foundationshortcutlistener.connectedcallback.md +15 -0
- package/docs/api/foundation-utils.foundationshortcutlistener.disconnectedcallback.md +15 -0
- package/docs/api/foundation-utils.foundationshortcutlistener.md +105 -0
- package/docs/api/foundation-utils.foundationshortcutlistener.shortcutmanager.md +11 -0
- package/docs/api/foundation-utils.md +77 -0
- package/docs/api/foundation-utils.shortcutdefinition.action.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.altkey.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.canexecute.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.context.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.ctrlkey.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.description.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.elementref.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.id.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.key.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.md +276 -0
- package/docs/api/foundation-utils.shortcutdefinition.metakey.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.optionkey.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.priority.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.shiftkey.md +11 -0
- package/docs/api/foundation-utils.shortcutexecutionstatus.md +16 -0
- package/docs/api/foundation-utils.shortcutmanager.clearactivecontext.md +15 -0
- package/docs/api/foundation-utils.shortcutmanager.executeshortcut.md +58 -0
- package/docs/api/foundation-utils.shortcutmanager.executeshortcutbycontext.md +70 -0
- package/docs/api/foundation-utils.shortcutmanager.findshortcutbykeycombination.md +114 -0
- package/docs/api/foundation-utils.shortcutmanager.getactivecontext.md +15 -0
- package/docs/api/foundation-utils.shortcutmanager.getcontexts.md +15 -0
- package/docs/api/foundation-utils.shortcutmanager.getshortcuts.md +15 -0
- package/docs/api/foundation-utils.shortcutmanager.getshortcutsbycontext.md +50 -0
- package/docs/api/foundation-utils.shortcutmanager.getshortcutsbycontextmap.md +15 -0
- package/docs/api/foundation-utils.shortcutmanager.ispaused.md +11 -0
- package/docs/api/foundation-utils.shortcutmanager.ispaused_.md +11 -0
- package/docs/api/foundation-utils.shortcutmanager.ispausedsubject.md +11 -0
- package/docs/api/foundation-utils.shortcutmanager.md +13 -0
- package/docs/api/foundation-utils.shortcutmanager.pause.md +15 -0
- package/docs/api/foundation-utils.shortcutmanager.registercontext.md +50 -0
- package/docs/api/foundation-utils.shortcutmanager.registershortcut.md +50 -0
- package/docs/api/foundation-utils.shortcutmanager.registershortcuts.md +50 -0
- package/docs/api/foundation-utils.shortcutmanager.resume.md +15 -0
- package/docs/api/foundation-utils.shortcutmanager.setactivecontext.md +50 -0
- package/docs/api/foundation-utils.shortcutmanager.unregistershortcut.md +64 -0
- package/docs/api/foundation-utils.shortcutmanager.unregistershortcutsbycontext.md +50 -0
- package/docs/api/foundation-utils.shortcutregistrationresult.disabled.md +11 -0
- package/docs/api/foundation-utils.shortcutregistrationresult.id.md +11 -0
- package/docs/api/foundation-utils.shortcutregistrationresult.keycombination.md +11 -0
- package/docs/api/foundation-utils.shortcutregistrationresult.keycombinationdisplay.md +11 -0
- package/docs/api/foundation-utils.shortcutregistrationresult.md +141 -0
- package/docs/api/foundation-utils.shortcutregistrationresult.shortcut.md +11 -0
- package/docs/api/foundation-utils.shortcutregistrationresult.tooltip.md +11 -0
- package/docs/api-report.md.api.md +153 -0
- package/package.json +12 -11
@@ -0,0 +1,105 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [FoundationShortcutListener](./foundation-utils.foundationshortcutlistener.md)
|
4
|
+
|
5
|
+
## FoundationShortcutListener class
|
6
|
+
|
7
|
+
A custom element that listens for keyboard shortcuts.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
export declare class FoundationShortcutListener extends FASTElement
|
13
|
+
```
|
14
|
+
**Extends:** FASTElement
|
15
|
+
|
16
|
+
## Remarks
|
17
|
+
|
18
|
+
Part of the ShortcutManager Service.
|
19
|
+
|
20
|
+
## Properties
|
21
|
+
|
22
|
+
<table><thead><tr><th>
|
23
|
+
|
24
|
+
Property
|
25
|
+
|
26
|
+
|
27
|
+
</th><th>
|
28
|
+
|
29
|
+
Modifiers
|
30
|
+
|
31
|
+
|
32
|
+
</th><th>
|
33
|
+
|
34
|
+
Type
|
35
|
+
|
36
|
+
|
37
|
+
</th><th>
|
38
|
+
|
39
|
+
Description
|
40
|
+
|
41
|
+
|
42
|
+
</th></tr></thead>
|
43
|
+
<tbody><tr><td>
|
44
|
+
|
45
|
+
[shortcutManager](./foundation-utils.foundationshortcutlistener.shortcutmanager.md)
|
46
|
+
|
47
|
+
|
48
|
+
</td><td>
|
49
|
+
|
50
|
+
|
51
|
+
</td><td>
|
52
|
+
|
53
|
+
[ShortcutManager](./foundation-utils.shortcutmanager.md)
|
54
|
+
|
55
|
+
|
56
|
+
</td><td>
|
57
|
+
|
58
|
+
|
59
|
+
</td></tr>
|
60
|
+
</tbody></table>
|
61
|
+
|
62
|
+
## Methods
|
63
|
+
|
64
|
+
<table><thead><tr><th>
|
65
|
+
|
66
|
+
Method
|
67
|
+
|
68
|
+
|
69
|
+
</th><th>
|
70
|
+
|
71
|
+
Modifiers
|
72
|
+
|
73
|
+
|
74
|
+
</th><th>
|
75
|
+
|
76
|
+
Description
|
77
|
+
|
78
|
+
|
79
|
+
</th></tr></thead>
|
80
|
+
<tbody><tr><td>
|
81
|
+
|
82
|
+
[connectedCallback()](./foundation-utils.foundationshortcutlistener.connectedcallback.md)
|
83
|
+
|
84
|
+
|
85
|
+
</td><td>
|
86
|
+
|
87
|
+
|
88
|
+
</td><td>
|
89
|
+
|
90
|
+
|
91
|
+
</td></tr>
|
92
|
+
<tr><td>
|
93
|
+
|
94
|
+
[disconnectedCallback()](./foundation-utils.foundationshortcutlistener.disconnectedcallback.md)
|
95
|
+
|
96
|
+
|
97
|
+
</td><td>
|
98
|
+
|
99
|
+
|
100
|
+
</td><td>
|
101
|
+
|
102
|
+
|
103
|
+
</td></tr>
|
104
|
+
</tbody></table>
|
105
|
+
|
@@ -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) > [FoundationShortcutListener](./foundation-utils.foundationshortcutlistener.md) > [shortcutManager](./foundation-utils.foundationshortcutlistener.shortcutmanager.md)
|
4
|
+
|
5
|
+
## FoundationShortcutListener.shortcutManager property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
shortcutManager: ShortcutManager;
|
11
|
+
```
|
@@ -37,6 +37,28 @@ Description
|
|
37
37
|
The default `ServerRowDTOMapper`<!-- -->.
|
38
38
|
|
39
39
|
|
40
|
+
</td></tr>
|
41
|
+
<tr><td>
|
42
|
+
|
43
|
+
[DefaultShortcutManager](./foundation-utils.defaultshortcutmanager.md)
|
44
|
+
|
45
|
+
|
46
|
+
</td><td>
|
47
|
+
|
48
|
+
Default implementation of the ShortcutManager interface
|
49
|
+
|
50
|
+
|
51
|
+
</td></tr>
|
52
|
+
<tr><td>
|
53
|
+
|
54
|
+
[FoundationShortcutListener](./foundation-utils.foundationshortcutlistener.md)
|
55
|
+
|
56
|
+
|
57
|
+
</td><td>
|
58
|
+
|
59
|
+
A custom element that listens for keyboard shortcuts.
|
60
|
+
|
61
|
+
|
40
62
|
</td></tr>
|
41
63
|
<tr><td>
|
42
64
|
|
@@ -728,6 +750,39 @@ Represents an event observer that manages the subscription and publication of ev
|
|
728
750
|
A mapper for converting between server row DTOs and entities. Provides methods to get/set a ServerRow DTO entity mapping.
|
729
751
|
|
730
752
|
|
753
|
+
</td></tr>
|
754
|
+
<tr><td>
|
755
|
+
|
756
|
+
[ShortcutDefinition](./foundation-utils.shortcutdefinition.md)
|
757
|
+
|
758
|
+
|
759
|
+
</td><td>
|
760
|
+
|
761
|
+
A definition of a keyboard shortcut
|
762
|
+
|
763
|
+
|
764
|
+
</td></tr>
|
765
|
+
<tr><td>
|
766
|
+
|
767
|
+
[ShortcutManager](./foundation-utils.shortcutmanager.md)
|
768
|
+
|
769
|
+
|
770
|
+
</td><td>
|
771
|
+
|
772
|
+
Interface of a manager for keyboard shortcuts
|
773
|
+
|
774
|
+
|
775
|
+
</td></tr>
|
776
|
+
<tr><td>
|
777
|
+
|
778
|
+
[ShortcutRegistrationResult](./foundation-utils.shortcutregistrationresult.md)
|
779
|
+
|
780
|
+
|
781
|
+
</td><td>
|
782
|
+
|
783
|
+
A result of registering a keyboard shortcut
|
784
|
+
|
785
|
+
|
731
786
|
</td></tr>
|
732
787
|
<tr><td>
|
733
788
|
|
@@ -1112,6 +1167,17 @@ An object that defines two resource types: "local" and "remote".
|
|
1112
1167
|
A DI token used to obtain a `ServerRowDTOMapper` instance.
|
1113
1168
|
|
1114
1169
|
|
1170
|
+
</td></tr>
|
1171
|
+
<tr><td>
|
1172
|
+
|
1173
|
+
[ShortcutManager](./foundation-utils.shortcutmanager.md)
|
1174
|
+
|
1175
|
+
|
1176
|
+
</td><td>
|
1177
|
+
|
1178
|
+
A dependency injection token for the ShortcutManager interface.
|
1179
|
+
|
1180
|
+
|
1115
1181
|
</td></tr>
|
1116
1182
|
<tr><td>
|
1117
1183
|
|
@@ -1331,6 +1397,17 @@ The data for a server row DTO.
|
|
1331
1397
|
The data for a server row entity.
|
1332
1398
|
|
1333
1399
|
|
1400
|
+
</td></tr>
|
1401
|
+
<tr><td>
|
1402
|
+
|
1403
|
+
[ShortcutExecutionStatus](./foundation-utils.shortcutexecutionstatus.md)
|
1404
|
+
|
1405
|
+
|
1406
|
+
</td><td>
|
1407
|
+
|
1408
|
+
A type which represents the disabled status and tooltip of an item
|
1409
|
+
|
1410
|
+
|
1334
1411
|
</td></tr>
|
1335
1412
|
<tr><td>
|
1336
1413
|
|
@@ -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) > [ShortcutDefinition](./foundation-utils.shortcutdefinition.md) > [action](./foundation-utils.shortcutdefinition.action.md)
|
4
|
+
|
5
|
+
## ShortcutDefinition.action property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
action: () => 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) > [ShortcutDefinition](./foundation-utils.shortcutdefinition.md) > [altKey](./foundation-utils.shortcutdefinition.altkey.md)
|
4
|
+
|
5
|
+
## ShortcutDefinition.altKey property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
altKey?: boolean;
|
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) > [ShortcutDefinition](./foundation-utils.shortcutdefinition.md) > [canExecute](./foundation-utils.shortcutdefinition.canexecute.md)
|
4
|
+
|
5
|
+
## ShortcutDefinition.canExecute property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
canExecute?: () => ShortcutExecutionStatus;
|
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) > [ShortcutDefinition](./foundation-utils.shortcutdefinition.md) > [context](./foundation-utils.shortcutdefinition.context.md)
|
4
|
+
|
5
|
+
## ShortcutDefinition.context property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
context: string;
|
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) > [ShortcutDefinition](./foundation-utils.shortcutdefinition.md) > [ctrlKey](./foundation-utils.shortcutdefinition.ctrlkey.md)
|
4
|
+
|
5
|
+
## ShortcutDefinition.ctrlKey property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
ctrlKey?: boolean;
|
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) > [ShortcutDefinition](./foundation-utils.shortcutdefinition.md) > [description](./foundation-utils.shortcutdefinition.description.md)
|
4
|
+
|
5
|
+
## ShortcutDefinition.description property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
description: string;
|
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) > [ShortcutDefinition](./foundation-utils.shortcutdefinition.md) > [elementRef](./foundation-utils.shortcutdefinition.elementref.md)
|
4
|
+
|
5
|
+
## ShortcutDefinition.elementRef property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
elementRef?: HTMLElement;
|
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) > [ShortcutDefinition](./foundation-utils.shortcutdefinition.md) > [id](./foundation-utils.shortcutdefinition.id.md)
|
4
|
+
|
5
|
+
## ShortcutDefinition.id property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
id: string;
|
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) > [ShortcutDefinition](./foundation-utils.shortcutdefinition.md) > [key](./foundation-utils.shortcutdefinition.key.md)
|
4
|
+
|
5
|
+
## ShortcutDefinition.key property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
key: string;
|
11
|
+
```
|
@@ -0,0 +1,276 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [ShortcutDefinition](./foundation-utils.shortcutdefinition.md)
|
4
|
+
|
5
|
+
## ShortcutDefinition interface
|
6
|
+
|
7
|
+
A definition of a keyboard shortcut
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
export interface ShortcutDefinition
|
13
|
+
```
|
14
|
+
|
15
|
+
## Properties
|
16
|
+
|
17
|
+
<table><thead><tr><th>
|
18
|
+
|
19
|
+
Property
|
20
|
+
|
21
|
+
|
22
|
+
</th><th>
|
23
|
+
|
24
|
+
Modifiers
|
25
|
+
|
26
|
+
|
27
|
+
</th><th>
|
28
|
+
|
29
|
+
Type
|
30
|
+
|
31
|
+
|
32
|
+
</th><th>
|
33
|
+
|
34
|
+
Description
|
35
|
+
|
36
|
+
|
37
|
+
</th></tr></thead>
|
38
|
+
<tbody><tr><td>
|
39
|
+
|
40
|
+
[action](./foundation-utils.shortcutdefinition.action.md)
|
41
|
+
|
42
|
+
|
43
|
+
</td><td>
|
44
|
+
|
45
|
+
|
46
|
+
</td><td>
|
47
|
+
|
48
|
+
() => void
|
49
|
+
|
50
|
+
|
51
|
+
</td><td>
|
52
|
+
|
53
|
+
|
54
|
+
</td></tr>
|
55
|
+
<tr><td>
|
56
|
+
|
57
|
+
[altKey?](./foundation-utils.shortcutdefinition.altkey.md)
|
58
|
+
|
59
|
+
|
60
|
+
</td><td>
|
61
|
+
|
62
|
+
|
63
|
+
</td><td>
|
64
|
+
|
65
|
+
boolean
|
66
|
+
|
67
|
+
|
68
|
+
</td><td>
|
69
|
+
|
70
|
+
_(Optional)_
|
71
|
+
|
72
|
+
|
73
|
+
</td></tr>
|
74
|
+
<tr><td>
|
75
|
+
|
76
|
+
[canExecute?](./foundation-utils.shortcutdefinition.canexecute.md)
|
77
|
+
|
78
|
+
|
79
|
+
</td><td>
|
80
|
+
|
81
|
+
|
82
|
+
</td><td>
|
83
|
+
|
84
|
+
() => [ShortcutExecutionStatus](./foundation-utils.shortcutexecutionstatus.md)
|
85
|
+
|
86
|
+
|
87
|
+
</td><td>
|
88
|
+
|
89
|
+
_(Optional)_
|
90
|
+
|
91
|
+
|
92
|
+
</td></tr>
|
93
|
+
<tr><td>
|
94
|
+
|
95
|
+
[context](./foundation-utils.shortcutdefinition.context.md)
|
96
|
+
|
97
|
+
|
98
|
+
</td><td>
|
99
|
+
|
100
|
+
|
101
|
+
</td><td>
|
102
|
+
|
103
|
+
string
|
104
|
+
|
105
|
+
|
106
|
+
</td><td>
|
107
|
+
|
108
|
+
|
109
|
+
</td></tr>
|
110
|
+
<tr><td>
|
111
|
+
|
112
|
+
[ctrlKey?](./foundation-utils.shortcutdefinition.ctrlkey.md)
|
113
|
+
|
114
|
+
|
115
|
+
</td><td>
|
116
|
+
|
117
|
+
|
118
|
+
</td><td>
|
119
|
+
|
120
|
+
boolean
|
121
|
+
|
122
|
+
|
123
|
+
</td><td>
|
124
|
+
|
125
|
+
_(Optional)_
|
126
|
+
|
127
|
+
|
128
|
+
</td></tr>
|
129
|
+
<tr><td>
|
130
|
+
|
131
|
+
[description](./foundation-utils.shortcutdefinition.description.md)
|
132
|
+
|
133
|
+
|
134
|
+
</td><td>
|
135
|
+
|
136
|
+
|
137
|
+
</td><td>
|
138
|
+
|
139
|
+
string
|
140
|
+
|
141
|
+
|
142
|
+
</td><td>
|
143
|
+
|
144
|
+
|
145
|
+
</td></tr>
|
146
|
+
<tr><td>
|
147
|
+
|
148
|
+
[elementRef?](./foundation-utils.shortcutdefinition.elementref.md)
|
149
|
+
|
150
|
+
|
151
|
+
</td><td>
|
152
|
+
|
153
|
+
|
154
|
+
</td><td>
|
155
|
+
|
156
|
+
HTMLElement
|
157
|
+
|
158
|
+
|
159
|
+
</td><td>
|
160
|
+
|
161
|
+
_(Optional)_
|
162
|
+
|
163
|
+
|
164
|
+
</td></tr>
|
165
|
+
<tr><td>
|
166
|
+
|
167
|
+
[id](./foundation-utils.shortcutdefinition.id.md)
|
168
|
+
|
169
|
+
|
170
|
+
</td><td>
|
171
|
+
|
172
|
+
|
173
|
+
</td><td>
|
174
|
+
|
175
|
+
string
|
176
|
+
|
177
|
+
|
178
|
+
</td><td>
|
179
|
+
|
180
|
+
|
181
|
+
</td></tr>
|
182
|
+
<tr><td>
|
183
|
+
|
184
|
+
[key](./foundation-utils.shortcutdefinition.key.md)
|
185
|
+
|
186
|
+
|
187
|
+
</td><td>
|
188
|
+
|
189
|
+
|
190
|
+
</td><td>
|
191
|
+
|
192
|
+
string
|
193
|
+
|
194
|
+
|
195
|
+
</td><td>
|
196
|
+
|
197
|
+
|
198
|
+
</td></tr>
|
199
|
+
<tr><td>
|
200
|
+
|
201
|
+
[metaKey?](./foundation-utils.shortcutdefinition.metakey.md)
|
202
|
+
|
203
|
+
|
204
|
+
</td><td>
|
205
|
+
|
206
|
+
|
207
|
+
</td><td>
|
208
|
+
|
209
|
+
boolean
|
210
|
+
|
211
|
+
|
212
|
+
</td><td>
|
213
|
+
|
214
|
+
_(Optional)_
|
215
|
+
|
216
|
+
|
217
|
+
</td></tr>
|
218
|
+
<tr><td>
|
219
|
+
|
220
|
+
[optionKey?](./foundation-utils.shortcutdefinition.optionkey.md)
|
221
|
+
|
222
|
+
|
223
|
+
</td><td>
|
224
|
+
|
225
|
+
|
226
|
+
</td><td>
|
227
|
+
|
228
|
+
boolean
|
229
|
+
|
230
|
+
|
231
|
+
</td><td>
|
232
|
+
|
233
|
+
_(Optional)_
|
234
|
+
|
235
|
+
|
236
|
+
</td></tr>
|
237
|
+
<tr><td>
|
238
|
+
|
239
|
+
[priority?](./foundation-utils.shortcutdefinition.priority.md)
|
240
|
+
|
241
|
+
|
242
|
+
</td><td>
|
243
|
+
|
244
|
+
|
245
|
+
</td><td>
|
246
|
+
|
247
|
+
number
|
248
|
+
|
249
|
+
|
250
|
+
</td><td>
|
251
|
+
|
252
|
+
_(Optional)_
|
253
|
+
|
254
|
+
|
255
|
+
</td></tr>
|
256
|
+
<tr><td>
|
257
|
+
|
258
|
+
[shiftKey?](./foundation-utils.shortcutdefinition.shiftkey.md)
|
259
|
+
|
260
|
+
|
261
|
+
</td><td>
|
262
|
+
|
263
|
+
|
264
|
+
</td><td>
|
265
|
+
|
266
|
+
boolean
|
267
|
+
|
268
|
+
|
269
|
+
</td><td>
|
270
|
+
|
271
|
+
_(Optional)_
|
272
|
+
|
273
|
+
|
274
|
+
</td></tr>
|
275
|
+
</tbody></table>
|
276
|
+
|
@@ -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) > [ShortcutDefinition](./foundation-utils.shortcutdefinition.md) > [metaKey](./foundation-utils.shortcutdefinition.metakey.md)
|
4
|
+
|
5
|
+
## ShortcutDefinition.metaKey property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
metaKey?: boolean;
|
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) > [ShortcutDefinition](./foundation-utils.shortcutdefinition.md) > [optionKey](./foundation-utils.shortcutdefinition.optionkey.md)
|
4
|
+
|
5
|
+
## ShortcutDefinition.optionKey property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
optionKey?: boolean;
|
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) > [ShortcutDefinition](./foundation-utils.shortcutdefinition.md) > [priority](./foundation-utils.shortcutdefinition.priority.md)
|
4
|
+
|
5
|
+
## ShortcutDefinition.priority property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
priority?: 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) > [ShortcutDefinition](./foundation-utils.shortcutdefinition.md) > [shiftKey](./foundation-utils.shortcutdefinition.shiftkey.md)
|
4
|
+
|
5
|
+
## ShortcutDefinition.shiftKey property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
shiftKey?: boolean;
|
11
|
+
```
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [ShortcutExecutionStatus](./foundation-utils.shortcutexecutionstatus.md)
|
4
|
+
|
5
|
+
## ShortcutExecutionStatus type
|
6
|
+
|
7
|
+
A type which represents the disabled status and tooltip of an item
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
export type ShortcutExecutionStatus = {
|
13
|
+
disabled?: boolean;
|
14
|
+
tooltip?: string;
|
15
|
+
};
|
16
|
+
```
|
@@ -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) > [ShortcutManager](./foundation-utils.shortcutmanager.md) > [clearActiveContext](./foundation-utils.shortcutmanager.clearactivecontext.md)
|
4
|
+
|
5
|
+
## ShortcutManager.clearActiveContext() method
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
clearActiveContext(): void;
|
11
|
+
```
|
12
|
+
**Returns:**
|
13
|
+
|
14
|
+
void
|
15
|
+
|