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