source: trip-planner-front/node_modules/@angular/cdk/fesm2015/keycodes.js@ 6fe77af

Last change on this file since 6fe77af was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 4.6 KB
RevLine 
[6a3a178]1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8const MAC_ENTER = 3;
9const BACKSPACE = 8;
10const TAB = 9;
11const NUM_CENTER = 12;
12const ENTER = 13;
13const SHIFT = 16;
14const CONTROL = 17;
15const ALT = 18;
16const PAUSE = 19;
17const CAPS_LOCK = 20;
18const ESCAPE = 27;
19const SPACE = 32;
20const PAGE_UP = 33;
21const PAGE_DOWN = 34;
22const END = 35;
23const HOME = 36;
24const LEFT_ARROW = 37;
25const UP_ARROW = 38;
26const RIGHT_ARROW = 39;
27const DOWN_ARROW = 40;
28const PLUS_SIGN = 43;
29const PRINT_SCREEN = 44;
30const INSERT = 45;
31const DELETE = 46;
32const ZERO = 48;
33const ONE = 49;
34const TWO = 50;
35const THREE = 51;
36const FOUR = 52;
37const FIVE = 53;
38const SIX = 54;
39const SEVEN = 55;
40const EIGHT = 56;
41const NINE = 57;
42const FF_SEMICOLON = 59; // Firefox (Gecko) fires this for semicolon instead of 186
43const FF_EQUALS = 61; // Firefox (Gecko) fires this for equals instead of 187
44const QUESTION_MARK = 63;
45const AT_SIGN = 64;
46const A = 65;
47const B = 66;
48const C = 67;
49const D = 68;
50const E = 69;
51const F = 70;
52const G = 71;
53const H = 72;
54const I = 73;
55const J = 74;
56const K = 75;
57const L = 76;
58const M = 77;
59const N = 78;
60const O = 79;
61const P = 80;
62const Q = 81;
63const R = 82;
64const S = 83;
65const T = 84;
66const U = 85;
67const V = 86;
68const W = 87;
69const X = 88;
70const Y = 89;
71const Z = 90;
72const META = 91; // WIN_KEY_LEFT
73const MAC_WK_CMD_LEFT = 91;
74const MAC_WK_CMD_RIGHT = 93;
75const CONTEXT_MENU = 93;
76const NUMPAD_ZERO = 96;
77const NUMPAD_ONE = 97;
78const NUMPAD_TWO = 98;
79const NUMPAD_THREE = 99;
80const NUMPAD_FOUR = 100;
81const NUMPAD_FIVE = 101;
82const NUMPAD_SIX = 102;
83const NUMPAD_SEVEN = 103;
84const NUMPAD_EIGHT = 104;
85const NUMPAD_NINE = 105;
86const NUMPAD_MULTIPLY = 106;
87const NUMPAD_PLUS = 107;
88const NUMPAD_MINUS = 109;
89const NUMPAD_PERIOD = 110;
90const NUMPAD_DIVIDE = 111;
91const F1 = 112;
92const F2 = 113;
93const F3 = 114;
94const F4 = 115;
95const F5 = 116;
96const F6 = 117;
97const F7 = 118;
98const F8 = 119;
99const F9 = 120;
100const F10 = 121;
101const F11 = 122;
102const F12 = 123;
103const NUM_LOCK = 144;
104const SCROLL_LOCK = 145;
105const FIRST_MEDIA = 166;
106const FF_MINUS = 173;
107const MUTE = 173; // Firefox (Gecko) fires 181 for MUTE
108const VOLUME_DOWN = 174; // Firefox (Gecko) fires 182 for VOLUME_DOWN
109const VOLUME_UP = 175; // Firefox (Gecko) fires 183 for VOLUME_UP
110const FF_MUTE = 181;
111const FF_VOLUME_DOWN = 182;
112const LAST_MEDIA = 183;
113const FF_VOLUME_UP = 183;
114const SEMICOLON = 186; // Firefox (Gecko) fires 59 for SEMICOLON
115const EQUALS = 187; // Firefox (Gecko) fires 61 for EQUALS
116const COMMA = 188;
117const DASH = 189; // Firefox (Gecko) fires 173 for DASH/MINUS
118const PERIOD = 190;
119const SLASH = 191;
120const APOSTROPHE = 192;
121const TILDE = 192;
122const OPEN_SQUARE_BRACKET = 219;
123const BACKSLASH = 220;
124const CLOSE_SQUARE_BRACKET = 221;
125const SINGLE_QUOTE = 222;
126const MAC_META = 224;
127
128/**
129 * @license
130 * Copyright Google LLC All Rights Reserved.
131 *
132 * Use of this source code is governed by an MIT-style license that can be
133 * found in the LICENSE file at https://angular.io/license
134 */
135/**
136 * Checks whether a modifier key is pressed.
137 * @param event Event to be checked.
138 */
139function hasModifierKey(event, ...modifiers) {
140 if (modifiers.length) {
141 return modifiers.some(modifier => event[modifier]);
142 }
143 return event.altKey || event.shiftKey || event.ctrlKey || event.metaKey;
144}
145
146/**
147 * @license
148 * Copyright Google LLC All Rights Reserved.
149 *
150 * Use of this source code is governed by an MIT-style license that can be
151 * found in the LICENSE file at https://angular.io/license
152 */
153
154/**
155 * Generated bundle index. Do not edit.
156 */
157
158export { A, ALT, APOSTROPHE, AT_SIGN, B, BACKSLASH, BACKSPACE, C, CAPS_LOCK, CLOSE_SQUARE_BRACKET, COMMA, CONTEXT_MENU, CONTROL, D, DASH, DELETE, DOWN_ARROW, E, EIGHT, END, ENTER, EQUALS, ESCAPE, F, F1, F10, F11, F12, F2, F3, F4, F5, F6, F7, F8, F9, FF_EQUALS, FF_MINUS, FF_MUTE, FF_SEMICOLON, FF_VOLUME_DOWN, FF_VOLUME_UP, FIRST_MEDIA, FIVE, FOUR, G, H, HOME, I, INSERT, J, K, L, LAST_MEDIA, LEFT_ARROW, M, MAC_ENTER, MAC_META, MAC_WK_CMD_LEFT, MAC_WK_CMD_RIGHT, META, MUTE, N, NINE, NUMPAD_DIVIDE, NUMPAD_EIGHT, NUMPAD_FIVE, NUMPAD_FOUR, NUMPAD_MINUS, NUMPAD_MULTIPLY, NUMPAD_NINE, NUMPAD_ONE, NUMPAD_PERIOD, NUMPAD_PLUS, NUMPAD_SEVEN, NUMPAD_SIX, NUMPAD_THREE, NUMPAD_TWO, NUMPAD_ZERO, NUM_CENTER, NUM_LOCK, O, ONE, OPEN_SQUARE_BRACKET, P, PAGE_DOWN, PAGE_UP, PAUSE, PERIOD, PLUS_SIGN, PRINT_SCREEN, Q, QUESTION_MARK, R, RIGHT_ARROW, S, SCROLL_LOCK, SEMICOLON, SEVEN, SHIFT, SINGLE_QUOTE, SIX, SLASH, SPACE, T, TAB, THREE, TILDE, TWO, U, UP_ARROW, V, VOLUME_DOWN, VOLUME_UP, W, X, Y, Z, ZERO, hasModifierKey };
159//# sourceMappingURL=keycodes.js.map
Note: See TracBrowser for help on using the repository browser.