@keymanapp/kmc-ldml 17.0.154-alpha → 17.0.156-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/build/src/compiler/compiler.d.ts +57 -55
  2. package/build/src/compiler/compiler.d.ts.map +1 -1
  3. package/build/src/compiler/compiler.js +198 -198
  4. package/build/src/compiler/compiler.js.map +1 -1
  5. package/build/src/compiler/disp.d.ts +14 -12
  6. package/build/src/compiler/disp.d.ts.map +1 -1
  7. package/build/src/compiler/disp.js +45 -43
  8. package/build/src/compiler/disp.js.map +1 -1
  9. package/build/src/compiler/empty-compiler.d.ts +39 -37
  10. package/build/src/compiler/empty-compiler.d.ts.map +1 -1
  11. package/build/src/compiler/empty-compiler.js +71 -69
  12. package/build/src/compiler/empty-compiler.js.map +1 -1
  13. package/build/src/compiler/keymanweb-compiler.d.ts +16 -16
  14. package/build/src/compiler/keymanweb-compiler.d.ts.map +1 -1
  15. package/build/src/compiler/keymanweb-compiler.js +97 -96
  16. package/build/src/compiler/keymanweb-compiler.js.map +1 -1
  17. package/build/src/compiler/keys.d.ts +30 -28
  18. package/build/src/compiler/keys.d.ts.map +1 -1
  19. package/build/src/compiler/keys.js +240 -238
  20. package/build/src/compiler/keys.js.map +1 -1
  21. package/build/src/compiler/layr.d.ts +12 -10
  22. package/build/src/compiler/layr.d.ts.map +1 -1
  23. package/build/src/compiler/layr.js +83 -81
  24. package/build/src/compiler/layr.js.map +1 -1
  25. package/build/src/compiler/ldml-compiler-options.d.ts +10 -0
  26. package/build/src/compiler/ldml-compiler-options.d.ts.map +1 -0
  27. package/build/src/compiler/ldml-compiler-options.js +5 -0
  28. package/build/src/compiler/ldml-compiler-options.js.map +1 -0
  29. package/build/src/compiler/loca.d.ts +18 -16
  30. package/build/src/compiler/loca.d.ts.map +1 -1
  31. package/build/src/compiler/loca.js +61 -59
  32. package/build/src/compiler/loca.js.map +1 -1
  33. package/build/src/compiler/marker-tracker.d.ts +36 -34
  34. package/build/src/compiler/marker-tracker.d.ts.map +1 -1
  35. package/build/src/compiler/marker-tracker.js +75 -73
  36. package/build/src/compiler/marker-tracker.js.map +1 -1
  37. package/build/src/compiler/messages.d.ts +135 -133
  38. package/build/src/compiler/messages.d.ts.map +1 -1
  39. package/build/src/compiler/messages.js +79 -77
  40. package/build/src/compiler/messages.js.map +1 -1
  41. package/build/src/compiler/meta.d.ts +14 -12
  42. package/build/src/compiler/meta.d.ts.map +1 -1
  43. package/build/src/compiler/meta.js +60 -58
  44. package/build/src/compiler/meta.js.map +1 -1
  45. package/build/src/compiler/metadata-compiler.d.ts +15 -13
  46. package/build/src/compiler/metadata-compiler.d.ts.map +1 -1
  47. package/build/src/compiler/metadata-compiler.js +49 -47
  48. package/build/src/compiler/metadata-compiler.js.map +1 -1
  49. package/build/src/compiler/name.d.ts +12 -10
  50. package/build/src/compiler/name.d.ts.map +1 -1
  51. package/build/src/compiler/name.js +22 -20
  52. package/build/src/compiler/name.js.map +1 -1
  53. package/build/src/compiler/section-compiler.d.ts +18 -16
  54. package/build/src/compiler/section-compiler.d.ts.map +1 -1
  55. package/build/src/compiler/section-compiler.js +36 -34
  56. package/build/src/compiler/section-compiler.js.map +1 -1
  57. package/build/src/compiler/touch-layout-compiler.d.ts +10 -8
  58. package/build/src/compiler/touch-layout-compiler.d.ts.map +1 -1
  59. package/build/src/compiler/touch-layout-compiler.js +89 -87
  60. package/build/src/compiler/touch-layout-compiler.js.map +1 -1
  61. package/build/src/compiler/tran.d.ts +39 -37
  62. package/build/src/compiler/tran.d.ts.map +1 -1
  63. package/build/src/compiler/tran.js +187 -185
  64. package/build/src/compiler/tran.js.map +1 -1
  65. package/build/src/compiler/vars.d.ts +23 -21
  66. package/build/src/compiler/vars.d.ts.map +1 -1
  67. package/build/src/compiler/vars.js +221 -219
  68. package/build/src/compiler/vars.js.map +1 -1
  69. package/build/src/compiler/visual-keyboard-compiler.d.ts +9 -7
  70. package/build/src/compiler/visual-keyboard-compiler.d.ts.map +1 -1
  71. package/build/src/compiler/visual-keyboard-compiler.js +52 -54
  72. package/build/src/compiler/visual-keyboard-compiler.js.map +1 -1
  73. package/build/src/compiler/vkey.d.ts +11 -9
  74. package/build/src/compiler/vkey.d.ts.map +1 -1
  75. package/build/src/compiler/vkey.js +61 -59
  76. package/build/src/compiler/vkey.js.map +1 -1
  77. package/build/src/main.d.ts +11 -9
  78. package/build/src/main.d.ts.map +1 -1
  79. package/build/src/main.js +10 -8
  80. package/build/src/main.js.map +1 -1
  81. package/build/src/util/util.d.ts +44 -42
  82. package/build/src/util/util.d.ts.map +1 -1
  83. package/build/src/util/util.js +122 -120
  84. package/build/src/util/util.js.map +1 -1
  85. package/package.json +8 -8
  86. package/build/src/compiler/compiler-options.d.ts +0 -16
  87. package/build/src/compiler/compiler-options.d.ts.map +0 -1
  88. package/build/src/compiler/compiler-options.js +0 -6
  89. package/build/src/compiler/compiler-options.js.map +0 -1
  90. package/build/src/kpj.schema.json +0 -127
  91. package/build/src/kvks.schema.json +0 -182
  92. package/build/src/ldml-keyboard.schema.json +0 -702
  93. package/build/src/ldml-keyboardtest.schema.json +0 -221
@@ -1 +1 @@
1
- {"version":3,"file":"name.js","sourceRoot":"","sources":["../../../src/compiler/name.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAGxD,IAAO,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;AAE3B,MAAM,OAAO,YAAa,SAAQ,eAAe;IAE/C,IAAW,EAAE;QACX,OAAO,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC;IAChC,CAAC;IAEM,QAAQ;QACb,IAAI,KAAK,GAAG,IAAI,CAAC;QACjB,KAAK,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,IA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C,CAAC,IAAI,EAAE,CAAC;QAC7F,OAAO,MAAM,CAAC;IAChB,CAAC;CACF","names":[],"sourceRoot":"","sources":["../../../src/compiler/name.ts"],"version":3}
@@ -1,16 +1,18 @@
1
- import { LDMLKeyboard, KMXPlus, CompilerCallbacks } from "@keymanapp/common-types";
2
- import { SectionIdent } from '@keymanapp/ldml-keyboard-constants';
3
- export declare class SectionCompiler {
4
- protected readonly keyboard: LDMLKeyboard.LKKeyboard;
5
- protected readonly callbacks: CompilerCallbacks;
6
- constructor(source: LDMLKeyboard.LDMLKeyboardXMLSourceFile, callbacks: CompilerCallbacks);
7
- get id(): SectionIdent;
8
- compile(sections: KMXPlus.DependencySections): KMXPlus.Section;
9
- validate(): boolean;
10
- /**
11
- * Get the dependencies for this compiler.
12
- * @returns set of dependent sections
13
- */
14
- get dependencies(): Set<SectionIdent>;
15
- }
16
- //# sourceMappingURL=section-compiler.d.ts.map
1
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9dc7768f-c9dc-5435-b055-37e7a9cf5b49")}catch(e){}}();
2
+ import { LDMLKeyboard, KMXPlus, CompilerCallbacks } from "@keymanapp/common-types";
3
+ import { SectionIdent } from '@keymanapp/ldml-keyboard-constants';
4
+ export declare class SectionCompiler {
5
+ protected readonly keyboard: LDMLKeyboard.LKKeyboard;
6
+ protected readonly callbacks: CompilerCallbacks;
7
+ constructor(source: LDMLKeyboard.LDMLKeyboardXMLSourceFile, callbacks: CompilerCallbacks);
8
+ get id(): SectionIdent;
9
+ compile(sections: KMXPlus.DependencySections): KMXPlus.Section;
10
+ validate(): boolean;
11
+ /**
12
+ * Get the dependencies for this compiler.
13
+ * @returns set of dependent sections
14
+ */
15
+ get dependencies(): Set<SectionIdent>;
16
+ }
17
+ //# debugId=9dc7768f-c9dc-5435-b055-37e7a9cf5b49
18
+ //# sourceMappingURL=section-compiler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"section-compiler.d.ts","sourceRoot":"","sources":["../../../src/compiler/section-compiler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACnF,OAAO,EAAE,YAAY,EAAa,MAAM,oCAAoC,CAAC;AAG7E,qBAAa,eAAe;IAC1B,SAAS,CAAC,QAAQ,CAAC,QAAQ,EAAE,YAAY,CAAC,UAAU,CAAC;IACrD,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,iBAAiB,CAAC;gBAEpC,MAAM,EAAE,YAAY,CAAC,yBAAyB,EAAE,SAAS,EAAE,iBAAiB;IAMxF,IAAW,EAAE,IAAI,YAAY,CAE5B;IAEM,OAAO,CAAC,QAAQ,EAAE,OAAO,CAAC,kBAAkB,GAAG,OAAO,CAAC,OAAO;IAI9D,QAAQ,IAAI,OAAO;IAI1B;;;OAGG;IACH,IAAW,YAAY,IAAI,GAAG,CAAC,YAAY,CAAC,CAQ3C;CACF"}
1
+ {"debug_id":"9dc7768f-c9dc-5435-b055-37e7a9cf5b49","file":"section-compiler.d.ts","mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACnF,OAAO,EAAE,YAAY,EAAa,MAAM,oCAAoC,CAAC;AAG7E,qBAAa,eAAe;IAC1B,SAAS,CAAC,QAAQ,CAAC,QAAQ,EAAE,YAAY,CAAC,UAAU,CAAC;IACrD,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,iBAAiB,CAAC;gBAEpC,MAAM,EAAE,YAAY,CAAC,yBAAyB,EAAE,SAAS,EAAE,iBAAiB;IAMxF,IAAW,EAAE,IAAI,YAAY,CAE5B;IAEM,OAAO,CAAC,QAAQ,EAAE,OAAO,CAAC,kBAAkB,GAAG,OAAO,CAAC,OAAO;IAI9D,QAAQ,IAAI,OAAO;IAI1B;;;OAGG;IACH,IAAW,YAAY,IAAI,GAAG,CAAC,YAAY,CAAC,CAQ3C;CACF","names":[],"sourceRoot":"","sources":["../../../src/compiler/section-compiler.ts"],"version":3}
@@ -1,34 +1,36 @@
1
- import { constants } from '@keymanapp/ldml-keyboard-constants';
2
- /* istanbul ignore next */
3
- export class SectionCompiler {
4
- keyboard;
5
- callbacks;
6
- constructor(source, callbacks) {
7
- this.keyboard = source.keyboard;
8
- this.callbacks = callbacks;
9
- }
10
- /* c8 ignore next 11 */
11
- get id() {
12
- throw Error(`Internal Error: id() not implemented`);
13
- }
14
- compile(sections) {
15
- throw Error(`Internal Error: compile() not implemented`);
16
- }
17
- validate() {
18
- return true;
19
- }
20
- /**
21
- * Get the dependencies for this compiler.
22
- * @returns set of dependent sections
23
- */
24
- get dependencies() {
25
- const defaults = new Set([
26
- constants.section.strs,
27
- constants.section.list,
28
- constants.section.elem,
29
- constants.section.vars,
30
- ]);
31
- return defaults;
32
- }
33
- }
34
- //# sourceMappingURL=section-compiler.js.map
1
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2df8ddf1-d2b8-5cdd-b71f-4ed6460aa5f1")}catch(e){}}();
2
+ import { constants } from '@keymanapp/ldml-keyboard-constants';
3
+ /* istanbul ignore next */
4
+ export class SectionCompiler {
5
+ keyboard;
6
+ callbacks;
7
+ constructor(source, callbacks) {
8
+ this.keyboard = source.keyboard;
9
+ this.callbacks = callbacks;
10
+ }
11
+ /* c8 ignore next 11 */
12
+ get id() {
13
+ throw Error(`Internal Error: id() not implemented`);
14
+ }
15
+ compile(sections) {
16
+ throw Error(`Internal Error: compile() not implemented`);
17
+ }
18
+ validate() {
19
+ return true;
20
+ }
21
+ /**
22
+ * Get the dependencies for this compiler.
23
+ * @returns set of dependent sections
24
+ */
25
+ get dependencies() {
26
+ const defaults = new Set([
27
+ constants.section.strs,
28
+ constants.section.list,
29
+ constants.section.elem,
30
+ constants.section.vars,
31
+ ]);
32
+ return defaults;
33
+ }
34
+ }
35
+ //# debugId=2df8ddf1-d2b8-5cdd-b71f-4ed6460aa5f1
36
+ //# sourceMappingURL=section-compiler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"section-compiler.js","sourceRoot":"","sources":["../../../src/compiler/section-compiler.ts"],"names":[],"mappings":"AACA,OAAO,EAAgB,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAE7E,0BAA0B;AAC1B,MAAM,OAAO,eAAe;IACP,QAAQ,CAA0B;IAClC,SAAS,CAAoB;IAEhD,YAAY,MAA8C,EAAE,SAA4B;QACtF,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;QAChC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;IAED,uBAAuB;IACvB,IAAW,EAAE;QACX,MAAM,KAAK,CAAC,sCAAsC,CAAC,CAAC;IACtD,CAAC;IAEM,OAAO,CAAC,QAAoC;QACjD,MAAM,KAAK,CAAC,2CAA2C,CAAC,CAAC;IAC3D,CAAC;IAEM,QAAQ;QACb,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;OAGG;IACH,IAAW,YAAY;QACrB,MAAM,QAAQ,GAAG,IAAI,GAAG,CAAiB;YACvC,SAAS,CAAC,OAAO,CAAC,IAAI;YACtB,SAAS,CAAC,OAAO,CAAC,IAAI;YACtB,SAAS,CAAC,OAAO,CAAC,IAAI;YACtB,SAAS,CAAC,OAAO,CAAC,IAAI;SACvB,CAAC,CAAC;QACH,OAAO,QAAQ,CAAC;IAClB,CAAC;CACF"}
1
+ {"debug_id":"2df8ddf1-d2b8-5cdd-b71f-4ed6460aa5f1","file":"section-compiler.js","mappings":";AACA,OAAO,EAAgB,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAE7E,0BAA0B;AAC1B,MAAM,OAAO,eAAe;IACP,QAAQ,CAA0B;IAClC,SAAS,CAAoB;IAEhD,YAAY,MAA8C,EAAE,SAA4B;QACtF,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;QAChC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;IAED,uBAAuB;IACvB,IAAW,EAAE;QACX,MAAM,KAAK,CAAC,sCAAsC,CAAC,CAAC;IACtD,CAAC;IAEM,OAAO,CAAC,QAAoC;QACjD,MAAM,KAAK,CAAC,2CAA2C,CAAC,CAAC;IAC3D,CAAC;IAEM,QAAQ;QACb,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;OAGG;IACH,IAAW,YAAY;QACrB,MAAM,QAAQ,GAAG,IAAI,GAAG,CAAiB;YACvC,SAAS,CAAC,OAAO,CAAC,IAAI;YACtB,SAAS,CAAC,OAAO,CAAC,IAAI;YACtB,SAAS,CAAC,OAAO,CAAC,IAAI;YACtB,SAAS,CAAC,OAAO,CAAC,IAAI;SACvB,CAAC,CAAC;QACH,OAAO,QAAQ,CAAC;IAClB,CAAC;CACF","names":[],"sourceRoot":"","sources":["../../../src/compiler/section-compiler.ts"],"version":3}
@@ -1,8 +1,10 @@
1
- import { TouchLayout, LDMLKeyboard } from "@keymanapp/common-types";
2
- export declare class TouchLayoutCompiler {
3
- compileToJavascript(source: LDMLKeyboard.LDMLKeyboardXMLSourceFile): TouchLayout.TouchLayoutFile;
4
- private compileHardwareLayer;
5
- private translateLayerIdToTouchLayoutLayerId;
6
- private translateKeyIdentifierToTouch;
7
- }
8
- //# sourceMappingURL=touch-layout-compiler.d.ts.map
1
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="620d42e2-770f-5821-a85a-0739100b16a6")}catch(e){}}();
2
+ import { TouchLayout, LDMLKeyboard } from "@keymanapp/common-types";
3
+ export declare class TouchLayoutCompiler {
4
+ compileToJavascript(source: LDMLKeyboard.LDMLKeyboardXMLSourceFile): TouchLayout.TouchLayoutFile;
5
+ private compileHardwareLayer;
6
+ private translateLayerIdToTouchLayoutLayerId;
7
+ private translateKeyIdentifierToTouch;
8
+ }
9
+ //# debugId=620d42e2-770f-5821-a85a-0739100b16a6
10
+ //# sourceMappingURL=touch-layout-compiler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"touch-layout-compiler.d.ts","sourceRoot":"","sources":["../../../src/compiler/touch-layout-compiler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEpE,qBAAa,mBAAmB;IACvB,mBAAmB,CAAC,MAAM,EAAE,YAAY,CAAC,yBAAyB,GAAG,WAAW,CAAC,eAAe;IAkBvG,OAAO,CAAC,oBAAoB;IAuC5B,OAAO,CAAC,oCAAoC;IAmC5C,OAAO,CAAC,6BAA6B;CAatC"}
1
+ {"debug_id":"620d42e2-770f-5821-a85a-0739100b16a6","file":"touch-layout-compiler.d.ts","mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEpE,qBAAa,mBAAmB;IACvB,mBAAmB,CAAC,MAAM,EAAE,YAAY,CAAC,yBAAyB,GAAG,WAAW,CAAC,eAAe;IAkBvG,OAAO,CAAC,oBAAoB;IAuC5B,OAAO,CAAC,oCAAoC;IAmC5C,OAAO,CAAC,6BAA6B;CAatC","names":[],"sourceRoot":"","sources":["../../../src/compiler/touch-layout-compiler.ts"],"version":3}
@@ -1,87 +1,89 @@
1
- export class TouchLayoutCompiler {
2
- compileToJavascript(source) {
3
- let result = {};
4
- // start with desktop to mimic vk emit
5
- result.desktop = {
6
- defaultHint: "none",
7
- layer: []
8
- };
9
- for (let layers of source.keyboard.layers) {
10
- for (let layer of layers.layer) {
11
- const resultLayer = this.compileHardwareLayer(source, result, layer);
12
- result.desktop.layer.push(resultLayer);
13
- }
14
- }
15
- return result;
16
- }
17
- compileHardwareLayer(source, file, layer) {
18
- // TODO-LDML: consider consolidation with keys.ts?
19
- let fileLayer = {
20
- id: this.translateLayerIdToTouchLayoutLayerId(layer.id, layer.modifier),
21
- row: []
22
- };
23
- let y = -1;
24
- for (let row of layer.row) {
25
- y++;
26
- let fileRow = { id: y, key: [] };
27
- fileLayer.row.push(fileRow);
28
- const keys = row.keys.split(' ');
29
- for (let key of keys) {
30
- const keydef = source.keyboard.keys?.key?.find(x => x.id == key);
31
- if (keydef) {
32
- const fileKey = {
33
- id: this.translateKeyIdentifierToTouch(keydef.id),
34
- text: keydef.to || '',
35
- // TODO-LDML: additional properties
36
- };
37
- fileRow.key.push(fileKey);
38
- }
39
- else {
40
- // TODO-LDML: consider logging missing keys
41
- }
42
- }
43
- }
44
- return fileLayer;
45
- }
46
- translateLayerIdToTouchLayoutLayerId(id, modifier) {
47
- // Touch layout layers have a set of reserved names that correspond to
48
- // hardware modifiers. We want to map these identifiers first before falling
49
- // back to the layer ids
50
- // The set of recognized layer identifiers is:
51
- //
52
- // touch | LDML
53
- // ---------------+-------------
54
- // default | none
55
- // shift | shift
56
- // caps | caps
57
- // rightalt | altR
58
- // rightalt-shift | altR shift
59
- //
60
- const map = {
61
- none: 'default',
62
- shift: 'shift',
63
- caps: 'caps',
64
- altR: 'rightalt',
65
- "altR shift": 'rightalt-shift'
66
- };
67
- // canonicalize modifier string, alphabetical
68
- modifier = (modifier || '').split(/\b/).sort().join(' ').trim();
69
- if (Object.hasOwn(map, modifier)) {
70
- return map[modifier];
71
- }
72
- // TODO-LDML: Other layer names will be used unmodified, is this sufficient?
73
- return id;
74
- }
75
- translateKeyIdentifierToTouch(id) {
76
- // Note: keys identifiers in kmx were traditionally case-insensitive, but we
77
- // are going to use them as case-insensitive for LDML keyboards. The set of
78
- // standard key identifiers a-z, A-Z, 0-9 will be used, where possible, and
79
- // all other keys will be mapped to `T_key`.
80
- if (id.match(/^[0-9a-zA-Z]$/)) {
81
- return 'K_' + id;
82
- }
83
- // Not a standard key
84
- return 'T_' + id;
85
- }
86
- }
87
- //# sourceMappingURL=touch-layout-compiler.js.map
1
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="3fbedc9f-b6fd-5d05-97bc-02438e04e380")}catch(e){}}();
2
+ export class TouchLayoutCompiler {
3
+ compileToJavascript(source) {
4
+ let result = {};
5
+ // start with desktop to mimic vk emit
6
+ result.desktop = {
7
+ defaultHint: "none",
8
+ layer: []
9
+ };
10
+ for (let layers of source.keyboard.layers) {
11
+ for (let layer of layers.layer) {
12
+ const resultLayer = this.compileHardwareLayer(source, result, layer);
13
+ result.desktop.layer.push(resultLayer);
14
+ }
15
+ }
16
+ return result;
17
+ }
18
+ compileHardwareLayer(source, file, layer) {
19
+ // TODO-LDML: consider consolidation with keys.ts?
20
+ let fileLayer = {
21
+ id: this.translateLayerIdToTouchLayoutLayerId(layer.id, layer.modifier),
22
+ row: []
23
+ };
24
+ let y = -1;
25
+ for (let row of layer.row) {
26
+ y++;
27
+ let fileRow = { id: y, key: [] };
28
+ fileLayer.row.push(fileRow);
29
+ const keys = row.keys.split(' ');
30
+ for (let key of keys) {
31
+ const keydef = source.keyboard.keys?.key?.find(x => x.id == key);
32
+ if (keydef) {
33
+ const fileKey = {
34
+ id: this.translateKeyIdentifierToTouch(keydef.id),
35
+ text: keydef.to || '',
36
+ // TODO-LDML: additional properties
37
+ };
38
+ fileRow.key.push(fileKey);
39
+ }
40
+ else {
41
+ // TODO-LDML: consider logging missing keys
42
+ }
43
+ }
44
+ }
45
+ return fileLayer;
46
+ }
47
+ translateLayerIdToTouchLayoutLayerId(id, modifier) {
48
+ // Touch layout layers have a set of reserved names that correspond to
49
+ // hardware modifiers. We want to map these identifiers first before falling
50
+ // back to the layer ids
51
+ // The set of recognized layer identifiers is:
52
+ //
53
+ // touch | LDML
54
+ // ---------------+-------------
55
+ // default | none
56
+ // shift | shift
57
+ // caps | caps
58
+ // rightalt | altR
59
+ // rightalt-shift | altR shift
60
+ //
61
+ const map = {
62
+ none: 'default',
63
+ shift: 'shift',
64
+ caps: 'caps',
65
+ altR: 'rightalt',
66
+ "altR shift": 'rightalt-shift'
67
+ };
68
+ // canonicalize modifier string, alphabetical
69
+ modifier = (modifier || '').split(/\b/).sort().join(' ').trim();
70
+ if (Object.hasOwn(map, modifier)) {
71
+ return map[modifier];
72
+ }
73
+ // TODO-LDML: Other layer names will be used unmodified, is this sufficient?
74
+ return id;
75
+ }
76
+ translateKeyIdentifierToTouch(id) {
77
+ // Note: keys identifiers in kmx were traditionally case-insensitive, but we
78
+ // are going to use them as case-insensitive for LDML keyboards. The set of
79
+ // standard key identifiers a-z, A-Z, 0-9 will be used, where possible, and
80
+ // all other keys will be mapped to `T_key`.
81
+ if (id.match(/^[0-9a-zA-Z]$/)) {
82
+ return 'K_' + id;
83
+ }
84
+ // Not a standard key
85
+ return 'T_' + id;
86
+ }
87
+ }
88
+ //# debugId=3fbedc9f-b6fd-5d05-97bc-02438e04e380
89
+ //# sourceMappingURL=touch-layout-compiler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"touch-layout-compiler.js","sourceRoot":"","sources":["../../../src/compiler/touch-layout-compiler.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,mBAAmB;IACvB,mBAAmB,CAAC,MAA8C;QACvE,IAAI,MAAM,GAAgC,EAAE,CAAC;QAE7C,sCAAsC;QACtC,MAAM,CAAC,OAAO,GAAG;YACf,WAAW,EAAE,MAAM;YACnB,KAAK,EAAE,EAAE;SACV,CAAC;QAEF,KAAI,IAAI,MAAM,IAAI,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE;YACxC,KAAI,IAAI,KAAK,IAAI,MAAM,CAAC,KAAK,EAAE;gBAC7B,MAAM,WAAW,GAAG,IAAI,CAAC,oBAAoB,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,CA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Root":"","sources":["../../../src/compiler/touch-layout-compiler.ts"],"version":3}
@@ -1,37 +1,39 @@
1
- import { SectionIdent } from "@keymanapp/ldml-keyboard-constants";
2
- import { KMXPlus, LDMLKeyboard, CompilerCallbacks } from '@keymanapp/common-types';
3
- import { SectionCompiler } from "./section-compiler.js";
4
- import Bksp = KMXPlus.Bksp;
5
- import DependencySections = KMXPlus.DependencySections;
6
- import Tran = KMXPlus.Tran;
7
- import LDMLKeyboardXMLSourceFile = LDMLKeyboard.LDMLKeyboardXMLSourceFile;
8
- import { MarkerTracker } from "./marker-tracker.js";
9
- type TransformCompilerType = 'simple' | 'backspace';
10
- export declare class TransformCompiler<T extends TransformCompilerType, TranBase extends Tran> extends SectionCompiler {
11
- static validateMarkers(keyboard: LDMLKeyboard.LKKeyboard, mt: MarkerTracker): boolean;
12
- protected type: T;
13
- constructor(source: LDMLKeyboardXMLSourceFile, callbacks: CompilerCallbacks);
14
- validate(): boolean;
15
- /** allocate a new TranBase subclass */
16
- protected newTran(): TranBase;
17
- private compileTransforms;
18
- private compileTransformGroup;
19
- private compileTransformTranGroup;
20
- private compileTransform;
21
- private compileReorderTranGroup;
22
- private compileReorder;
23
- compile(sections: DependencySections): TranBase;
24
- get dependencies(): Set<SectionIdent>;
25
- }
26
- export declare class TranCompiler extends TransformCompiler<'simple', Tran> {
27
- constructor(source: LDMLKeyboardXMLSourceFile, callbacks: CompilerCallbacks);
28
- protected newTran(): Tran;
29
- get id(): SectionIdent;
30
- }
31
- export declare class BkspCompiler extends TransformCompiler<'backspace', Bksp> {
32
- constructor(source: LDMLKeyboardXMLSourceFile, callbacks: CompilerCallbacks);
33
- protected newTran(): Bksp;
34
- get id(): SectionIdent;
35
- }
36
- export {};
37
- //# sourceMappingURL=tran.d.ts.map
1
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="842832ce-9e65-5a95-93a3-c59281887962")}catch(e){}}();
2
+ import { SectionIdent } from "@keymanapp/ldml-keyboard-constants";
3
+ import { KMXPlus, LDMLKeyboard, CompilerCallbacks } from '@keymanapp/common-types';
4
+ import { SectionCompiler } from "./section-compiler.js";
5
+ import Bksp = KMXPlus.Bksp;
6
+ import DependencySections = KMXPlus.DependencySections;
7
+ import Tran = KMXPlus.Tran;
8
+ import LDMLKeyboardXMLSourceFile = LDMLKeyboard.LDMLKeyboardXMLSourceFile;
9
+ import { MarkerTracker } from "./marker-tracker.js";
10
+ type TransformCompilerType = 'simple' | 'backspace';
11
+ export declare class TransformCompiler<T extends TransformCompilerType, TranBase extends Tran> extends SectionCompiler {
12
+ static validateMarkers(keyboard: LDMLKeyboard.LKKeyboard, mt: MarkerTracker): boolean;
13
+ protected type: T;
14
+ constructor(source: LDMLKeyboardXMLSourceFile, callbacks: CompilerCallbacks);
15
+ validate(): boolean;
16
+ /** allocate a new TranBase subclass */
17
+ protected newTran(): TranBase;
18
+ private compileTransforms;
19
+ private compileTransformGroup;
20
+ private compileTransformTranGroup;
21
+ private compileTransform;
22
+ private compileReorderTranGroup;
23
+ private compileReorder;
24
+ compile(sections: DependencySections): TranBase;
25
+ get dependencies(): Set<SectionIdent>;
26
+ }
27
+ export declare class TranCompiler extends TransformCompiler<'simple', Tran> {
28
+ constructor(source: LDMLKeyboardXMLSourceFile, callbacks: CompilerCallbacks);
29
+ protected newTran(): Tran;
30
+ get id(): SectionIdent;
31
+ }
32
+ export declare class BkspCompiler extends TransformCompiler<'backspace', Bksp> {
33
+ constructor(source: LDMLKeyboardXMLSourceFile, callbacks: CompilerCallbacks);
34
+ protected newTran(): Bksp;
35
+ get id(): SectionIdent;
36
+ }
37
+ export {};
38
+ //# debugId=842832ce-9e65-5a95-93a3-c59281887962
39
+ //# sourceMappingURL=tran.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tran.d.ts","sourceRoot":"","sources":["../../../src/compiler/tran.ts"],"names":[],"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