choerodon-ui
Version:
An enterprise-class UI design language and React-based implementation
425 lines (424 loc) • 5.95 kB
TypeScript
export default class KeyCode {
/**
* MAC_ENTER
*/
static MAC_ENTER: number;
/**
* BACKSPACE
*/
static BACKSPACE: number;
/**
* TAB
*/
static TAB: number;
/**
* NUMLOCK on FF/Safari Mac
*/
static NUM_CENTER: number;
/**
* ENTER
*/
static ENTER: number;
/**
* SHIFT
*/
static SHIFT: number;
/**
* CTRL
*/
static CTRL: number;
/**
* ALT
*/
static ALT: number;
/**
* PAUSE
*/
static PAUSE: number;
/**
* CAPS_LOCK
*/
static CAPS_LOCK: number;
/**
* ESC
*/
static ESC: number;
/**
* SPACE
*/
static SPACE: number;
/**
* PAGE_UP
*/
static PAGE_UP: number;
/**
* PAGE_DOWN
*/
static PAGE_DOWN: number;
/**
* END
*/
static END: number;
/**
* HOME
*/
static HOME: number;
/**
* LEFT
*/
static LEFT: number;
/**
* UP
*/
static UP: number;
/**
* RIGHT
*/
static RIGHT: number;
/**
* DOWN
*/
static DOWN: number;
/**
* PRINT_SCREEN
*/
static PRINT_SCREEN: number;
/**
* INSERT
*/
static INSERT: number;
/**
* DELETE
*/
static DELETE: number;
/**
* ZERO
*/
static ZERO: number;
/**
* ONE
*/
static ONE: number;
/**
* TWO
*/
static TWO: number;
/**
* THREE
*/
static THREE: number;
/**
* FOUR
*/
static FOUR: number;
/**
* FIVE
*/
static FIVE: number;
/**
* SIX
*/
static SIX: number;
/**
* SEVEN
*/
static SEVEN: number;
/**
* EIGHT
*/
static EIGHT: number;
/**
* NINE
*/
static NINE: number;
/**
* QUESTION_MARK
*/
static QUESTION_MARK: number;
/**
* A
*/
static A: number;
/**
* B
*/
static B: number;
/**
* C
*/
static C: number;
/**
* D
*/
static D: number;
/**
* E
*/
static E: number;
/**
* F
*/
static F: number;
/**
* G
*/
static G: number;
/**
* H
*/
static H: number;
/**
* I
*/
static I: number;
/**
* J
*/
static J: number;
/**
* K
*/
static K: number;
/**
* L
*/
static L: number;
/**
* M
*/
static M: number;
/**
* N
*/
static N: number;
/**
* O
*/
static O: number;
/**
* P
*/
static P: number;
/**
* Q
*/
static Q: number;
/**
* R
*/
static R: number;
/**
* S
*/
static S: number;
/**
* T
*/
static T: number;
/**
* U
*/
static U: number;
/**
* V
*/
static V: number;
/**
* W
*/
static W: number;
/**
* X
*/
static X: number;
/**
* Y
*/
static Y: number;
/**
* Z
*/
static Z: number;
/**
* META
*/
static META: number;
/**
* WIN_KEY_RIGHT
*/
static WIN_KEY_RIGHT: number;
/**
* CONTEXT_MENU
*/
static CONTEXT_MENU: number;
/**
* NUM_ZERO
*/
static NUM_ZERO: number;
/**
* NUM_ONE
*/
static NUM_ONE: number;
/**
* NUM_TWO
*/
static NUM_TWO: number;
/**
* NUM_THREE
*/
static NUM_THREE: number;
/**
* NUM_FOUR
*/
static NUM_FOUR: number;
/**
* NUM_FIVE
*/
static NUM_FIVE: number;
/**
* NUM_SIX
*/
static NUM_SIX: number;
/**
* NUM_SEVEN
*/
static NUM_SEVEN: number;
/**
* NUM_EIGHT
*/
static NUM_EIGHT: number;
/**
* NUM_NINE
*/
static NUM_NINE: number;
/**
* NUM_MULTIPLY
*/
static NUM_MULTIPLY: number;
/**
* NUM_PLUS
*/
static NUM_PLUS: number;
/**
* NUM_MINUS
*/
static NUM_MINUS: number;
/**
* NUM_PERIOD
*/
static NUM_PERIOD: number;
/**
* NUM_DIVISION
*/
static NUM_DIVISION: number;
/**
* F1
*/
static F1: number;
/**
* F2
*/
static F2: number;
/**
* F3
*/
static F3: number;
/**
* F4
*/
static F4: number;
/**
* F5
*/
static F5: number;
/**
* F6
*/
static F6: number;
/**
* F7
*/
static F7: number;
/**
* F8
*/
static F8: number;
/**
* F9
*/
static F9: number;
/**
* F10
*/
static F10: number;
/**
* F11
*/
static F11: number;
/**
* F12
*/
static F12: number;
/**
* NUMLOCK
*/
static NUMLOCK: number;
/**
* SEMICOLON
*/
static SEMICOLON: number;
/**
* DASH
*/
static DASH: number;
/**
* EQUALS
*/
static EQUALS: number;
/**
* COMMA
*/
static COMMA: number;
/**
* PERIOD
*/
static PERIOD: number;
/**
* SLASH
*/
static SLASH: number;
/**
* APOSTROPHE
*/
static APOSTROPHE: number;
/**
* SINGLE_QUOTE
*/
static SINGLE_QUOTE: number;
/**
* OPEN_SQUARE_BRACKET
*/
static OPEN_SQUARE_BRACKET: number;
/**
* BACKSLASH
*/
static BACKSLASH: number;
/**
* CLOSE_SQUARE_BRACKET
*/
static CLOSE_SQUARE_BRACKET: number;
/**
* WIN_KEY
*/
static WIN_KEY: number;
/**
* MAC_FF_META
*/
static MAC_FF_META: number;
/**
* WIN_IME
*/
static WIN_IME: number;
static isTextModifyingKeyEvent(e: any): boolean;
static isCharacterKey(keyCode: any): boolean;
}