source:
trip-planner-front/node_modules/@angular/cdk/fesm2015/keycodes.js@
6a80231
Last change on this file since 6a80231 was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 4.6 KB |
Rev | Line | |
---|---|---|
[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 | */ | |
8 | const MAC_ENTER = 3; | |
9 | const BACKSPACE = 8; | |
10 | const TAB = 9; | |
11 | const NUM_CENTER = 12; | |
12 | const ENTER = 13; | |
13 | const SHIFT = 16; | |
14 | const CONTROL = 17; | |
15 | const ALT = 18; | |
16 | const PAUSE = 19; | |
17 | const CAPS_LOCK = 20; | |
18 | const ESCAPE = 27; | |
19 | const SPACE = 32; | |
20 | const PAGE_UP = 33; | |
21 | const PAGE_DOWN = 34; | |
22 | const END = 35; | |
23 | const HOME = 36; | |
24 | const LEFT_ARROW = 37; | |
25 | const UP_ARROW = 38; | |
26 | const RIGHT_ARROW = 39; | |
27 | const DOWN_ARROW = 40; | |
28 | const PLUS_SIGN = 43; | |
29 | const PRINT_SCREEN = 44; | |
30 | const INSERT = 45; | |
31 | const DELETE = 46; | |
32 | const ZERO = 48; | |
33 | const ONE = 49; | |
34 | const TWO = 50; | |
35 | const THREE = 51; | |
36 | const FOUR = 52; | |
37 | const FIVE = 53; | |
38 | const SIX = 54; | |
39 | const SEVEN = 55; | |
40 | const EIGHT = 56; | |
41 | const NINE = 57; | |
42 | const FF_SEMICOLON = 59; // Firefox (Gecko) fires this for semicolon instead of 186 | |
43 | const FF_EQUALS = 61; // Firefox (Gecko) fires this for equals instead of 187 | |
44 | const QUESTION_MARK = 63; | |
45 | const AT_SIGN = 64; | |
46 | const A = 65; | |
47 | const B = 66; | |
48 | const C = 67; | |
49 | const D = 68; | |
50 | const E = 69; | |
51 | const F = 70; | |
52 | const G = 71; | |
53 | const H = 72; | |
54 | const I = 73; | |
55 | const J = 74; | |
56 | const K = 75; | |
57 | const L = 76; | |
58 | const M = 77; | |
59 | const N = 78; | |
60 | const O = 79; | |
61 | const P = 80; | |
62 | const Q = 81; | |
63 | const R = 82; | |
64 | const S = 83; | |
65 | const T = 84; | |
66 | const U = 85; | |
67 | const V = 86; | |
68 | const W = 87; | |
69 | const X = 88; | |
70 | const Y = 89; | |
71 | const Z = 90; | |
72 | const META = 91; // WIN_KEY_LEFT | |
73 | const MAC_WK_CMD_LEFT = 91; | |
74 | const MAC_WK_CMD_RIGHT = 93; | |
75 | const CONTEXT_MENU = 93; | |
76 | const NUMPAD_ZERO = 96; | |
77 | const NUMPAD_ONE = 97; | |
78 | const NUMPAD_TWO = 98; | |
79 | const NUMPAD_THREE = 99; | |
80 | const NUMPAD_FOUR = 100; | |
81 | const NUMPAD_FIVE = 101; | |
82 | const NUMPAD_SIX = 102; | |
83 | const NUMPAD_SEVEN = 103; | |
84 | const NUMPAD_EIGHT = 104; | |
85 | const NUMPAD_NINE = 105; | |
86 | const NUMPAD_MULTIPLY = 106; | |
87 | const NUMPAD_PLUS = 107; | |
88 | const NUMPAD_MINUS = 109; | |
89 | const NUMPAD_PERIOD = 110; | |
90 | const NUMPAD_DIVIDE = 111; | |
91 | const F1 = 112; | |
92 | const F2 = 113; | |
93 | const F3 = 114; | |
94 | const F4 = 115; | |
95 | const F5 = 116; | |
96 | const F6 = 117; | |
97 | const F7 = 118; | |
98 | const F8 = 119; | |
99 | const F9 = 120; | |
100 | const F10 = 121; | |
101 | const F11 = 122; | |
102 | const F12 = 123; | |
103 | const NUM_LOCK = 144; | |
104 | const SCROLL_LOCK = 145; | |
105 | const FIRST_MEDIA = 166; | |
106 | const FF_MINUS = 173; | |
107 | const MUTE = 173; // Firefox (Gecko) fires 181 for MUTE | |
108 | const VOLUME_DOWN = 174; // Firefox (Gecko) fires 182 for VOLUME_DOWN | |
109 | const VOLUME_UP = 175; // Firefox (Gecko) fires 183 for VOLUME_UP | |
110 | const FF_MUTE = 181; | |
111 | const FF_VOLUME_DOWN = 182; | |
112 | const LAST_MEDIA = 183; | |
113 | const FF_VOLUME_UP = 183; | |
114 | const SEMICOLON = 186; // Firefox (Gecko) fires 59 for SEMICOLON | |
115 | const EQUALS = 187; // Firefox (Gecko) fires 61 for EQUALS | |
116 | const COMMA = 188; | |
117 | const DASH = 189; // Firefox (Gecko) fires 173 for DASH/MINUS | |
118 | const PERIOD = 190; | |
119 | const SLASH = 191; | |
120 | const APOSTROPHE = 192; | |
121 | const TILDE = 192; | |
122 | const OPEN_SQUARE_BRACKET = 219; | |
123 | const BACKSLASH = 220; | |
124 | const CLOSE_SQUARE_BRACKET = 221; | |
125 | const SINGLE_QUOTE = 222; | |
126 | const 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 | */ | |
139 | function 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 | ||
158 | export { 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.