1 | export const KEY_CODES = { ARROW_UP: 38, ARROW_DOWN: 40, ESCAPE_KEY: 27, TAB: 9, ENTER: 13, SPACE: 32 };
|
2 | export const SIDE = { RIGHT: 'right', LEFT: 'left', BOTH: 'both', NONE: 'none' };
|
3 | export const KEYHANDLER_DIRECTION = { UP: 'up', DOWN: 'down', RIGHT: 'right', LEFT: 'left' };
|
4 | export var ValidatedOptions;
|
5 | (function (ValidatedOptions) {
|
6 | ValidatedOptions["success"] = "success";
|
7 | ValidatedOptions["error"] = "error";
|
8 | ValidatedOptions["warning"] = "warning";
|
9 | ValidatedOptions["default"] = "default";
|
10 | })(ValidatedOptions || (ValidatedOptions = {}));
|
11 | export const KeyTypes = {
|
12 | Tab: 'Tab',
|
13 | Space: ' ',
|
14 | Escape: 'Escape',
|
15 | Enter: 'Enter',
|
16 | ArrowUp: 'ArrowUp',
|
17 | ArrowDown: 'ArrowDown',
|
18 | ArrowLeft: 'ArrowLeft',
|
19 | ArrowRight: 'ArrowRight'
|
20 | };
|
21 |
|
\ | No newline at end of file |