You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
887 B
55 lines
887 B
8 months ago
|
// node_modules/@angular/cdk/fesm2022/keycodes.mjs
|
||
8 months ago
|
var TAB = 9;
|
||
|
var ENTER = 13;
|
||
8 months ago
|
var SHIFT = 16;
|
||
|
var CONTROL = 17;
|
||
|
var ALT = 18;
|
||
|
var ESCAPE = 27;
|
||
8 months ago
|
var SPACE = 32;
|
||
|
var PAGE_UP = 33;
|
||
|
var PAGE_DOWN = 34;
|
||
|
var END = 35;
|
||
|
var HOME = 36;
|
||
8 months ago
|
var LEFT_ARROW = 37;
|
||
|
var UP_ARROW = 38;
|
||
|
var RIGHT_ARROW = 39;
|
||
|
var DOWN_ARROW = 40;
|
||
8 months ago
|
var ZERO = 48;
|
||
|
var NINE = 57;
|
||
|
var A = 65;
|
||
|
var Z = 90;
|
||
8 months ago
|
var META = 91;
|
||
|
var MAC_META = 224;
|
||
|
function hasModifierKey(event, ...modifiers) {
|
||
|
if (modifiers.length) {
|
||
|
return modifiers.some((modifier) => event[modifier]);
|
||
|
}
|
||
|
return event.altKey || event.shiftKey || event.ctrlKey || event.metaKey;
|
||
|
}
|
||
|
|
||
|
export {
|
||
8 months ago
|
TAB,
|
||
|
ENTER,
|
||
8 months ago
|
SHIFT,
|
||
|
CONTROL,
|
||
|
ALT,
|
||
|
ESCAPE,
|
||
8 months ago
|
SPACE,
|
||
|
PAGE_UP,
|
||
|
PAGE_DOWN,
|
||
|
END,
|
||
|
HOME,
|
||
8 months ago
|
LEFT_ARROW,
|
||
|
UP_ARROW,
|
||
|
RIGHT_ARROW,
|
||
|
DOWN_ARROW,
|
||
8 months ago
|
ZERO,
|
||
|
NINE,
|
||
|
A,
|
||
|
Z,
|
||
8 months ago
|
META,
|
||
|
MAC_META,
|
||
|
hasModifierKey
|
||
|
};
|
||
8 months ago
|
//# sourceMappingURL=chunk-JGP5BR6B.js.map
|