@mamba/core
Advanced tools
Comparing version 10.3.0 to 10.3.1
@@ -6,2 +6,10 @@ # Change Log | ||
### [10.3.1](https://github.com/stone-payments/pos-mamba-sdk/compare/@mamba/core@10.3.0...@mamba/core@10.3.1) (2023-11-21) | ||
**Note:** Version bump only for package @mamba/core | ||
## [10.3.0](https://github.com/stone-payments/pos-mamba-sdk/compare/@mamba/core@2.0.0...@mamba/core@10.3.0) (2023-08-23) | ||
@@ -8,0 +16,0 @@ |
export { default as KEY_MAP } from './keyMap'; | ||
export { default as KEY_NAMES } from './keyNames'; | ||
export { default as KEY_CODES, ENTER, CLOSE, HELP, SHORTCUTS, F23, F24, ARROW_UP, ARROW_DOWN, KEYUP, KEYDOWN, KEY_0, KEY_1, KEY_2, KEY_3, KEY_4, KEY_5, KEY_6, KEY_7, KEY_8, KEY_9, } from './keyCodes'; | ||
export { default as KEY_CODES, ENTER, CLOSE, HELP, SHORTCUTS, F23, F24, POWER, MENU, ARROW_UP, ARROW_DOWN, KEYUP, KEYDOWN, KEY_0, KEY_1, KEY_2, KEY_3, KEY_4, KEY_5, KEY_6, KEY_7, KEY_8, KEY_9, } from './keyCodes'; | ||
export { default as KEY_NAMES_LIST } from './keyNamesList'; | ||
export { default as KEY_CODE_LIST } from './keyCodeList'; | ||
//# sourceMappingURL=index.js.map |
/** | ||
* Represents keycodes of POS physical keyboard | ||
*/ | ||
export const POWER = 0; // Q60 power button | ||
export const BACK = 8; | ||
@@ -8,2 +9,3 @@ export const ENTER = 13; | ||
export const HELP = 17; // MP35 F1 of keyIdentifier: "U+1000021" | ||
export const MENU = 18; // Q60 menu button | ||
export const CLOSE = 27; | ||
@@ -48,2 +50,4 @@ export const SPACE = 32; | ||
SPACE, | ||
POWER, | ||
MENU, | ||
ARROW_UP, | ||
@@ -50,0 +54,0 @@ ARROW_DOWN, |
@@ -14,2 +14,4 @@ /** | ||
[KEY.F24]: KEY_NAME.F24, | ||
[KEY.POWER]: KEY_NAME.POWER, | ||
[KEY.MENU]: KEY_NAME.MENU, | ||
[KEY.ARROW_UP]: KEY_NAME.ARROW_UP, | ||
@@ -16,0 +18,0 @@ [KEY.ARROW_DOWN]: KEY_NAME.ARROW_DOWN, |
@@ -8,2 +8,4 @@ export default Object.freeze({ | ||
SPACE: 'space', | ||
POWER: 'power', | ||
MENU: 'menu', | ||
ARROW_UP: 'keyup', | ||
@@ -10,0 +12,0 @@ ARROW_DOWN: 'keydown', |
{ | ||
"name": "@mamba/core", | ||
"version": "10.3.0", | ||
"version": "10.3.1", | ||
"main": "dist/index.js", | ||
@@ -37,3 +37,3 @@ "types": "types/index.d.ts", | ||
}, | ||
"gitHead": "2d4d7f584b4f1c066538c2f26cb08dbe62cee5b7" | ||
"gitHead": "da53683f4be48b2521662cd450a6e51dfab92000" | ||
} |
export { default as KEY_MAP } from './keyMap'; | ||
export { default as KEY_NAMES } from './keyNames'; | ||
export { default as KEY_CODES, ENTER, CLOSE, HELP, SHORTCUTS, F23, F24, ARROW_UP, ARROW_DOWN, KEYUP, KEYDOWN, KEY_0, KEY_1, KEY_2, KEY_3, KEY_4, KEY_5, KEY_6, KEY_7, KEY_8, KEY_9, } from './keyCodes'; | ||
export { default as KEY_CODES, ENTER, CLOSE, HELP, SHORTCUTS, F23, F24, POWER, MENU, ARROW_UP, ARROW_DOWN, KEYUP, KEYDOWN, KEY_0, KEY_1, KEY_2, KEY_3, KEY_4, KEY_5, KEY_6, KEY_7, KEY_8, KEY_9, } from './keyCodes'; | ||
export { default as KEY_NAMES_LIST } from './keyNamesList'; | ||
export { default as KEY_CODE_LIST } from './keyCodeList'; |
@@ -1,2 +0,2 @@ | ||
declare const _default: (8 | 13 | 16 | 17 | 27 | 32 | 38 | 40 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 134 | 135)[]; | ||
declare const _default: (0 | 8 | 13 | 16 | 17 | 18 | 27 | 32 | 38 | 40 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 134 | 135)[]; | ||
export default _default; |
/** | ||
* Represents keycodes of POS physical keyboard | ||
*/ | ||
export declare const POWER = 0; | ||
export declare const BACK = 8; | ||
@@ -8,2 +9,3 @@ export declare const ENTER = 13; | ||
export declare const HELP = 17; | ||
export declare const MENU = 18; | ||
export declare const CLOSE = 27; | ||
@@ -47,2 +49,4 @@ export declare const SPACE = 32; | ||
SPACE: 32; | ||
POWER: 0; | ||
MENU: 18; | ||
ARROW_UP: 38; | ||
@@ -49,0 +53,0 @@ ARROW_DOWN: 40; |
@@ -12,2 +12,4 @@ /** | ||
135: "F24"; | ||
0: "power"; | ||
18: "menu"; | ||
38: "keyup"; | ||
@@ -14,0 +16,0 @@ 40: "keydown"; |
@@ -8,2 +8,4 @@ declare const _default: Readonly<{ | ||
SPACE: "space"; | ||
POWER: "power"; | ||
MENU: "menu"; | ||
ARROW_UP: "keyup"; | ||
@@ -10,0 +12,0 @@ ARROW_DOWN: "keydown"; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
56133
686