@keymanapp/kmc-ldml 17.0.256-alpha → 17.0.257-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 (41) hide show
  1. package/build/src/compiler/compiler.d.ts +63 -65
  2. package/build/src/compiler/compiler.d.ts.map +1 -1
  3. package/build/src/compiler/compiler.js +8 -8
  4. package/build/src/compiler/compiler.js.map +1 -1
  5. package/build/src/compiler/disp.d.ts +12 -14
  6. package/build/src/compiler/disp.d.ts.map +1 -1
  7. package/build/src/compiler/empty-compiler.d.ts +38 -40
  8. package/build/src/compiler/empty-compiler.d.ts.map +1 -1
  9. package/build/src/compiler/keymanweb-compiler.d.ts +14 -16
  10. package/build/src/compiler/keymanweb-compiler.d.ts.map +1 -1
  11. package/build/src/compiler/keys.d.ts +52 -54
  12. package/build/src/compiler/keys.d.ts.map +1 -1
  13. package/build/src/compiler/layr.d.ts +10 -12
  14. package/build/src/compiler/layr.d.ts.map +1 -1
  15. package/build/src/compiler/ldml-compiler-options.d.ts +8 -10
  16. package/build/src/compiler/ldml-compiler-options.d.ts.map +1 -1
  17. package/build/src/compiler/loca.d.ts +16 -18
  18. package/build/src/compiler/loca.d.ts.map +1 -1
  19. package/build/src/compiler/marker-tracker.d.ts +34 -36
  20. package/build/src/compiler/marker-tracker.d.ts.map +1 -1
  21. package/build/src/compiler/messages.d.ts +150 -152
  22. package/build/src/compiler/messages.d.ts.map +1 -1
  23. package/build/src/compiler/meta.d.ts +12 -14
  24. package/build/src/compiler/meta.d.ts.map +1 -1
  25. package/build/src/compiler/metadata-compiler.d.ts +13 -15
  26. package/build/src/compiler/metadata-compiler.d.ts.map +1 -1
  27. package/build/src/compiler/section-compiler.d.ts +36 -38
  28. package/build/src/compiler/section-compiler.d.ts.map +1 -1
  29. package/build/src/compiler/touch-layout-compiler.d.ts +8 -10
  30. package/build/src/compiler/touch-layout-compiler.d.ts.map +1 -1
  31. package/build/src/compiler/tran.d.ts +37 -39
  32. package/build/src/compiler/tran.d.ts.map +1 -1
  33. package/build/src/compiler/vars.d.ts +22 -24
  34. package/build/src/compiler/vars.d.ts.map +1 -1
  35. package/build/src/compiler/visual-keyboard-compiler.d.ts +9 -11
  36. package/build/src/compiler/visual-keyboard-compiler.d.ts.map +1 -1
  37. package/build/src/main.d.ts +9 -11
  38. package/build/src/main.d.ts.map +1 -1
  39. package/build/src/util/util.d.ts +50 -52
  40. package/build/src/util/util.d.ts.map +1 -1
  41. package/package.json +5 -5
@@ -1,10 +1,8 @@
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]="e5fd018c-a5c6-5dd5-886b-45fef4f93c61")}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=e5fd018c-a5c6-5dd5-886b-45fef4f93c61
10
- //# sourceMappingURL=touch-layout-compiler.d.ts.map
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 +1 @@
1
- {"debug_id":"e5fd018c-a5c6-5dd5-886b-45fef4f93c61","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;IAsC5C,OAAO,CAAC,6BAA6B;CAatC","names":[],"sourceRoot":"","sources":["../../../src/compiler/touch-layout-compiler.ts"],"version":3}
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;IAsC5C,OAAO,CAAC,6BAA6B;CAatC"}
@@ -1,39 +1,37 @@
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]="3bb3ea6d-8c70-581c-8396-a7427545efbf")}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 abstract 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=3bb3ea6d-8c70-581c-8396-a7427545efbf
39
- //# sourceMappingURL=tran.d.ts.map
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 abstract 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 +1 @@
1
- {"debug_id":"3bb3ea6d-8c70-581c-8396-a7427545efbf","file":"tran.d.ts","mappings":";AAAA,OAAO,EAAa,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAsC,MAAM,yBAAyB,CAAC;AACvH,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;AAC3B,OAAO,kBAAkB,GAAG,OAAO,CAAC,kBAAkB,CAAC;AACvD,OAAO,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;AAI3B,OAAO,yBAAyB,GAAG,YAAY,CAAC,yBAAyB,CAAC;AAO1E,OAAO,EAAE,aAAa,EAAa,MAAM,qBAAqB,CAAC;AAE/D,KAAK,qBAAqB,GAAG,QAAQ,GAAG,WAAW,CAAC;AAEpD,8BAAsB,iBAAiB,CAAC,CAAC,SAAS,qBAAqB,EAAE,QAAQ,SAAS,IAAI,CAAE,SAAQ,eAAe;IAErH,MAAM,CAAC,eAAe,CAAC,QAAQ,EAAE,YAAY,CAAC,UAAU,EAAE,EAAE,EAAG,aAAa,GAAG,OAAO;IAUtF,SAAS,CAAC,IAAI,EAAE,CAAC,CAAC;gBAEN,MAAM,EAAE,yBAAyB,EAAE,SAAS,EAAE,iBAAiB;IAIpE,QAAQ,IAAI,OAAO;IAyC1B,uCAAuC;IACvC,SAAS,CAAC,OAAO,IAAI,QAAQ;IAI7B,OAAO,CAAC,iBAAiB;IAWzB,OAAO,CAAC,qBAAqB;IAe7B,OAAO,CAAC,yBAAyB;IASjC,OAAO,CAAC,gBAAgB;IAwCxB,OAAO,CAAC,uBAAuB;IAS/B,OAAO,CAAC,cAAc;IAOf,OAAO,CAAC,QAAQ,EAAE,kBAAkB,GAAG,QAAQ;IAStD,IAAW,YAAY,IAAI,GAAG,CAAC,YAAY,CAAC,CAU3C;CACF;AAED,qBAAa,YAAa,SAAQ,iBAAiB,CAAC,QAAQ,EAAE,IAAI,CAAgB;gBACpE,MAAM,EAAE,yBAAyB,EAAE,SAAS,EAAE,iBAAiB;IAI3E,SAAS,CAAC,OAAO,IAAI,IAAI;IAGzB,IAAW,EAAE,iBAEZ;CACF;AAED,qBAAa,YAAa,SAAQ,iBAAiB,CAAC,WAAW,EAAE,IAAI,CAAgB;gBACvE,MAAM,EAAE,yBAAyB,EAAE,SAAS,EAAE,iBAAiB;IAI3E,SAAS,CAAC,OAAO,IAAI,IAAI;IAGzB,IAAW,EAAE,iBAEZ;CACF","names":[],"sourceRoot":"","sources":["../../../src/compiler/tran.ts"],"version":3}
1
+ {"version":3,"file":"tran.d.ts","sourceRoot":"","sources":["../../../src/compiler/tran.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAsC,MAAM,yBAAyB,CAAC;AACvH,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;AAC3B,OAAO,kBAAkB,GAAG,OAAO,CAAC,kB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iBAEZ;CACF"}
@@ -1,24 +1,22 @@
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]="b567ca79-3096-55c6-a84a-d6d7c7f8c248")}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 Vars = KMXPlus.Vars;
6
- import DependencySections = KMXPlus.DependencySections;
7
- import LDMLKeyboardXMLSourceFile = LDMLKeyboard.LDMLKeyboardXMLSourceFile;
8
- import { MarkerTracker } from "./marker-tracker.js";
9
- export declare class VarsCompiler extends SectionCompiler {
10
- get id(): SectionIdent;
11
- get dependencies(): Set<SectionIdent>;
12
- constructor(source: LDMLKeyboardXMLSourceFile, callbacks: CompilerCallbacks);
13
- validate(): boolean;
14
- private validateVars;
15
- private collectMarkers;
16
- private validateMarkers;
17
- validateVarsMarkers(keyboard: LDMLKeyboard.LKKeyboard, mt: MarkerTracker): boolean;
18
- compile(sections: DependencySections): Vars;
19
- addString(result: Vars, e: LDMLKeyboard.LKString, sections: DependencySections): void;
20
- addSet(result: Vars, e: LDMLKeyboard.LKSet, sections: DependencySections): void;
21
- addUnicodeSet(result: Vars, e: LDMLKeyboard.LKUnicodeSet, sections: DependencySections): void;
22
- }
23
- //# debugId=b567ca79-3096-55c6-a84a-d6d7c7f8c248
24
- //# sourceMappingURL=vars.d.ts.map
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 Vars = KMXPlus.Vars;
5
+ import DependencySections = KMXPlus.DependencySections;
6
+ import LDMLKeyboardXMLSourceFile = LDMLKeyboard.LDMLKeyboardXMLSourceFile;
7
+ import { MarkerTracker } from "./marker-tracker.js";
8
+ export declare class VarsCompiler extends SectionCompiler {
9
+ get id(): SectionIdent;
10
+ get dependencies(): Set<SectionIdent>;
11
+ constructor(source: LDMLKeyboardXMLSourceFile, callbacks: CompilerCallbacks);
12
+ validate(): boolean;
13
+ private validateVars;
14
+ private collectMarkers;
15
+ private validateMarkers;
16
+ validateVarsMarkers(keyboard: LDMLKeyboard.LKKeyboard, mt: MarkerTracker): boolean;
17
+ compile(sections: DependencySections): Vars;
18
+ addString(result: Vars, e: LDMLKeyboard.LKString, sections: DependencySections): void;
19
+ addSet(result: Vars, e: LDMLKeyboard.LKSet, sections: DependencySections): void;
20
+ addUnicodeSet(result: Vars, e: LDMLKeyboard.LKUnicodeSet, sections: DependencySections): void;
21
+ }
22
+ //# sourceMappingURL=vars.d.ts.map
@@ -1 +1 @@
1
- {"debug_id":"b567ca79-3096-55c6-a84a-d6d7c7f8c248","file":"vars.d.ts","mappings":";AAAA,OAAO,EAAE,YAAY,EAAa,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAgB,MAAM,yBAAyB,CAAC;AAEjG,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;AAI3B,OAAO,kBAAkB,GAAG,OAAO,CAAC,kBAAkB,CAAC;AACvD,OAAO,yBAAyB,GAAG,YAAY,CAAC,yBAAyB,CAAC;AAK1E,OAAO,EAAE,aAAa,EAAa,MAAM,qBAAqB,CAAC;AAC/D,qBAAa,YAAa,SAAQ,eAAe;IAC/C,IAAW,EAAE,iBAEZ;IAED,IAAW,YAAY,IAAI,GAAG,CAAC,YAAY,CAAC,CAQ3C;gBAEW,MAAM,EAAE,yBAAyB,EAAE,SAAS,EAAE,iBAAiB;IAIpE,QAAQ,IAAI,OAAO;IAS1B,OAAO,CAAC,YAAY;IA2GpB,OAAO,CAAC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;IAS1B,OAAO,CAAC,YAAY;IA2GpB,OAAO,CAAC,cAAc;IAYtB,OAAO,CAAC,eAAe;IA0BvB,mBAAmB,CAAC,QAAQ,EAAE,YAAY,CAAC,UAAU,EAAE,EAAE,EAAG,aAAa,GAAI,OAAO;IAM7E,OAAO,CAAC,QAAQ,EAAE,kBAAkB,GAAG,IAAI;IA8BlD,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,EAAE,YAAY,CAAC,QAAQ,EAAE,QAAQ,EAAE,kBAAkB,GAAG,IAAI;IAOrF,MAAM,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,EAAE,YAAY,CAAC,KAAK,EAAE,QAAQ,EAAE,kBAAkB,GAAG,IAAI;IAU/E,aAAa,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,EAAE,YAAY,CAAC,YAAY,EAAE,QAAQ,EAAE,kBAAkB,GAAG,IAAI;CAS9F"}
@@ -1,11 +1,9 @@
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]="57e46076-1263-5b92-ad06-ea0d8b1f4002")}catch(e){}}();
2
- import { VisualKeyboard, LDMLKeyboard, CompilerCallbacks } from "@keymanapp/common-types";
3
- export declare class LdmlKeyboardVisualKeyboardCompiler {
4
- private callbacks;
5
- constructor(callbacks: CompilerCallbacks);
6
- compile(source: LDMLKeyboard.LDMLKeyboardXMLSourceFile): VisualKeyboard.VisualKeyboard;
7
- private compileHardwareLayer;
8
- private translateLayerIdToVisualKeyboardShift;
9
- }
10
- //# debugId=57e46076-1263-5b92-ad06-ea0d8b1f4002
11
- //# sourceMappingURL=visual-keyboard-compiler.d.ts.map
1
+ import { VisualKeyboard, LDMLKeyboard, CompilerCallbacks } from "@keymanapp/common-types";
2
+ export declare class LdmlKeyboardVisualKeyboardCompiler {
3
+ private callbacks;
4
+ constructor(callbacks: CompilerCallbacks);
5
+ compile(source: LDMLKeyboard.LDMLKeyboardXMLSourceFile): VisualKeyboard.VisualKeyboard;
6
+ private compileHardwareLayer;
7
+ private translateLayerIdToVisualKeyboardShift;
8
+ }
9
+ //# sourceMappingURL=visual-keyboard-compiler.d.ts.map
@@ -1 +1 @@
1
- {"debug_id":"57e46076-1263-5b92-ad06-ea0d8b1f4002","file":"visual-keyboard-compiler.d.ts","mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAI1F,qBAAa,kCAAkC;IAC1B,OAAO,CAAC,SAAS;gBAAT,SAAS,EAAE,iBAAiB;IAGhD,OAAO,CAAC,MAAM,EAAE,YAAY,CAAC,yBAAyB,GAAG,cAAc,CAAC,cAAc;IAqB7F,OAAO,CAAC,oBAAoB;IA+C5B,OAAO,CAAC,qCAAqC;CAO9C","names":[],"sourceRoot":"","sources":["../../../src/compiler/visual-keyboard-compiler.ts"],"version":3}
1
+ {"version":3,"file":"visual-keyboard-compiler.d.ts","sourceRoot":"","sources":["../../../src/compiler/visual-keyboard-compiler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAI1F,qBAAa,kCAAkC;IAC1B,OAAO,CAAC,SAAS;gBAAT,SAAS,EAAE,iBAAiB;IAGhD,OAAO,CAAC,MAAM,EAAE,YAAY,CAAC,yBAAyB,GAAG,cAAc,CAAC,cAAc;IAqB7F,OAAO,CAAC,oBAAoB;IA+C5B,OAAO,CAAC,qCAAqC;CAO9C"}
@@ -1,11 +1,9 @@
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]="2db4d78a-bc8e-5c09-8c83-8de3a91ca0db")}catch(e){}}();
2
- export { LdmlKeyboardCompiler } from './compiler/compiler.js';
3
- export { LdmlKeyboardKeymanWebCompiler } from './compiler/keymanweb-compiler.js';
4
- export { LdmlKeyboardVisualKeyboardCompiler } from './compiler/visual-keyboard-compiler.js';
5
- export { TouchLayoutCompiler } from './compiler/touch-layout-compiler.js';
6
- export { LdmlCompilerOptions } from './compiler/ldml-compiler-options.js';
7
- export { CompilerMessages as LdmlKeyboardCompilerMessages } from './compiler/messages.js';
8
- export { KMXPlusMetadataCompiler } from './compiler/metadata-compiler.js';
9
- export { KMXBuilder } from "@keymanapp/common-types";
10
- //# debugId=2db4d78a-bc8e-5c09-8c83-8de3a91ca0db
11
- //# sourceMappingURL=main.d.ts.map
1
+ export { LdmlKeyboardCompiler } from './compiler/compiler.js';
2
+ export { LdmlKeyboardKeymanWebCompiler } from './compiler/keymanweb-compiler.js';
3
+ export { LdmlKeyboardVisualKeyboardCompiler } from './compiler/visual-keyboard-compiler.js';
4
+ export { TouchLayoutCompiler } from './compiler/touch-layout-compiler.js';
5
+ export { LdmlCompilerOptions } from './compiler/ldml-compiler-options.js';
6
+ export { CompilerMessages as LdmlKeyboardCompilerMessages } from './compiler/messages.js';
7
+ export { KMXPlusMetadataCompiler } from './compiler/metadata-compiler.js';
8
+ export { KMXBuilder } from "@keymanapp/common-types";
9
+ //# sourceMappingURL=main.d.ts.map
@@ -1 +1 @@
1
- {"debug_id":"2db4d78a-bc8e-5c09-8c83-8de3a91ca0db","file":"main.d.ts","mappings":";AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EAAE,kCAAkC,EAAE,MAAM,wCAAwC,CAAC;AAC5F,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,gBAAgB,IAAI,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;AAC1F,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAE1E,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC","names":[],"sourceRoot":"","sources":["../../src/main.ts"],"version":3}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/main.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EAAE,kCAAkC,EAAE,MAAM,wCAAwC,CAAC;AAC5F,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,gBAAgB,IAAI,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;AAC1F,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAE1E,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC"}
@@ -1,52 +1,50 @@
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]="48df3e4a-a85c-5022-97de-8680e38434cc")}catch(e){}}();
2
- import { LDMLKeyboard } from "@keymanapp/common-types";
3
- /**
4
- * Verifies that value is an item in the enumeration.
5
- */
6
- export declare function isValidEnumValue<T extends {
7
- [key: number]: string | number;
8
- }>(enu: T, value: string): boolean;
9
- /**
10
- * Returns unique LKKeys only, preserving later ones
11
- * in case of conflict. (i.e. later overrides)
12
- * @param keys list of keys to consider. (mutated)
13
- * @returns Array of unique keys. Order is not specified.
14
- */
15
- export declare function calculateUniqueKeys(keys?: LDMLKeyboard.LKKey[]): LDMLKeyboard.LKKey[];
16
- /** Convert an array of keys to a hash */
17
- export declare function hashKeys(keys?: LDMLKeyboard.LKKey[]): Map<string, LDMLKeyboard.LKKey>;
18
- export declare function hashFlicks(flicks?: LDMLKeyboard.LKFlick[]): Map<string, LDMLKeyboard.LKFlick>;
19
- /**
20
- * @param layersList list of layers elements, from `keyboard?.layers`
21
- * @returns set of key IDs
22
- */
23
- export declare function allUsedKeyIdsInLayers(layersList?: LDMLKeyboard.LKLayers[]): Set<string>;
24
- /**
25
- * Extract all of the key ids that this key refers to, not counting flicks
26
- * @returns map from the key id to a set of attribute names (such as `multiTapDefaultKeyId` etc.) used by that key.
27
- */
28
- export declare function allUsedKeyIdsInKey(key: LDMLKeyboard.LKKey): Map<string, string[]>;
29
- export declare function allUsedKeyIdsInFlick(flick?: LDMLKeyboard.LKFlick): Set<string>;
30
- /**
31
- * Helper function for validating child elements. Written for the convenience of message passing functions.
32
- *
33
- * @param values array of values to check
34
- * @param onDuplicate callback with array of duplicate values, deduped
35
- * @param allowed optional set of valid values
36
- * @param onInvalid callback with array of invalid values, deduped
37
- * @returns true if all OK
38
- */
39
- export declare function verifyValidAndUnique(values: string[], onDuplicate: (duplicates: string[]) => void, allowed?: Set<string>, onInvalid?: (invalids: string[]) => void): boolean;
40
- /**
41
- * Determine modifier from layer info
42
- * @param layer layer obj
43
- * @returns modifier
44
- */
45
- export declare function translateLayerAttrToModifier(layer: LDMLKeyboard.LKLayer): number;
46
- /**
47
- * @param modifier modifier sequence such as undefined, "none", "shift altR" etc
48
- * @returns true if valid
49
- */
50
- export declare function validModifier(modifier?: string): boolean;
51
- //# debugId=48df3e4a-a85c-5022-97de-8680e38434cc
52
- //# sourceMappingURL=util.d.ts.map
1
+ import { LDMLKeyboard } from "@keymanapp/common-types";
2
+ /**
3
+ * Verifies that value is an item in the enumeration.
4
+ */
5
+ export declare function isValidEnumValue<T extends {
6
+ [key: number]: string | number;
7
+ }>(enu: T, value: string): boolean;
8
+ /**
9
+ * Returns unique LKKeys only, preserving later ones
10
+ * in case of conflict. (i.e. later overrides)
11
+ * @param keys list of keys to consider. (mutated)
12
+ * @returns Array of unique keys. Order is not specified.
13
+ */
14
+ export declare function calculateUniqueKeys(keys?: LDMLKeyboard.LKKey[]): LDMLKeyboard.LKKey[];
15
+ /** Convert an array of keys to a hash */
16
+ export declare function hashKeys(keys?: LDMLKeyboard.LKKey[]): Map<string, LDMLKeyboard.LKKey>;
17
+ export declare function hashFlicks(flicks?: LDMLKeyboard.LKFlick[]): Map<string, LDMLKeyboard.LKFlick>;
18
+ /**
19
+ * @param layersList list of layers elements, from `keyboard?.layers`
20
+ * @returns set of key IDs
21
+ */
22
+ export declare function allUsedKeyIdsInLayers(layersList?: LDMLKeyboard.LKLayers[]): Set<string>;
23
+ /**
24
+ * Extract all of the key ids that this key refers to, not counting flicks
25
+ * @returns map from the key id to a set of attribute names (such as `multiTapDefaultKeyId` etc.) used by that key.
26
+ */
27
+ export declare function allUsedKeyIdsInKey(key: LDMLKeyboard.LKKey): Map<string, string[]>;
28
+ export declare function allUsedKeyIdsInFlick(flick?: LDMLKeyboard.LKFlick): Set<string>;
29
+ /**
30
+ * Helper function for validating child elements. Written for the convenience of message passing functions.
31
+ *
32
+ * @param values array of values to check
33
+ * @param onDuplicate callback with array of duplicate values, deduped
34
+ * @param allowed optional set of valid values
35
+ * @param onInvalid callback with array of invalid values, deduped
36
+ * @returns true if all OK
37
+ */
38
+ export declare function verifyValidAndUnique(values: string[], onDuplicate: (duplicates: string[]) => void, allowed?: Set<string>, onInvalid?: (invalids: string[]) => void): boolean;
39
+ /**
40
+ * Determine modifier from layer info
41
+ * @param layer layer obj
42
+ * @returns modifier
43
+ */
44
+ export declare function translateLayerAttrToModifier(layer: LDMLKeyboard.LKLayer): number;
45
+ /**
46
+ * @param modifier modifier sequence such as undefined, "none", "shift altR" etc
47
+ * @returns true if valid
48
+ */
49
+ export declare function validModifier(modifier?: string): boolean;
50
+ //# sourceMappingURL=util.d.ts.map
@@ -1 +1 @@
1
- {"debug_id":"48df3e4a-a85c-5022-97de-8680e38434cc","file":"util.d.ts","mappings":";AAAA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A0BV;AAED;;;;GAIG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,YAAY,CAAC,OAAO,GAAI,MAAM,CAgBjF;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAI,OAAO,CAWzD","names":[],"sourceRoot":"","sources":["../../../src/util/util.ts"],"version":3}
1
+ {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../src/util/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,SAAS;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAA;CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,WAEjG;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,CAAC,EAAE,YAAY,CAAC,KAAK,EAAE,GAAG,YAAY,CAAC,KAAK,EAAE,CAiBrF;AAED,yCAAyC;AACzC,wBAAgB,QAAQ,CAAC,IAAI,CAAC,EAAE,YAAY,CAAC,KAAK,EAAE,GAAI,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,KAAK,CAAC,CAMtF;AAED,wBAAgB,UAAU,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC,OAAO,EAAE,GAAI,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,OAAO,CAAC,CAM9F;AAGD;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,UAAU,CAAC,EAAE,YAAY,CAAC,QAAQ,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,CAgBvF;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAG,YAAY,CAAC,KAAK,GAAI,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAuBnF;AAED,wBAAgB,oBAAoB,CAAC,KAAK,CAAC,EAAG,YAAY,CAAC,OAAO,GAAI,GAAG,CAAC,MAAM,CAAC,CAQhF;AAED;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,MAAM,EAAE,EAChB,WAAW,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,IAAI,EAC3C,OAAO,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,EACrB,SAAS,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,IAAI,GACtC,OAAO,CA0BV;AAED;;;;GAIG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,YAAY,CAAC,OAAO,GAAI,MAAM,CAgBjF;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAI,OAAO,CAWzD"}
package/package.json CHANGED
@@ -25,14 +25,14 @@
25
25
  "url": "https://github.com/keymanapp/keyman/issues"
26
26
  },
27
27
  "dependencies": {
28
- "@keymanapp/keyman-version": "17.0.256-alpha",
29
- "@keymanapp/kmc-kmn": "17.0.256-alpha",
30
- "@keymanapp/ldml-keyboard-constants": "17.0.256-alpha",
28
+ "@keymanapp/keyman-version": "17.0.257-alpha",
29
+ "@keymanapp/kmc-kmn": "17.0.257-alpha",
30
+ "@keymanapp/ldml-keyboard-constants": "17.0.257-alpha",
31
31
  "restructure": "git+https://github.com/keymanapp/dependency-restructure.git#7a188a1e26f8f36a175d95b67ffece8702363dfc",
32
32
  "semver": "^7.5.2"
33
33
  },
34
34
  "devDependencies": {
35
- "@keymanapp/developer-test-helpers": "17.0.256-alpha",
35
+ "@keymanapp/developer-test-helpers": "17.0.257-alpha",
36
36
  "@types/chai": "^4.1.7",
37
37
  "@types/mocha": "^5.2.7",
38
38
  "@types/node": "^20.4.1",
@@ -64,5 +64,5 @@
64
64
  "type": "git",
65
65
  "url": "git+https://github.com/keymanapp/keyman.git"
66
66
  },
67
- "version": "17.0.256-alpha"
67
+ "version": "17.0.257-alpha"
68
68
  }