@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,185 +1,187 @@
1
- import { constants } from "@keymanapp/ldml-keyboard-constants";
2
- import { KMXPlus, VariableParser, MarkerParser } from '@keymanapp/common-types';
3
- import { SectionCompiler } from "./section-compiler.js";
4
- var Bksp = KMXPlus.Bksp;
5
- var Tran = KMXPlus.Tran;
6
- var TranReorder = KMXPlus.TranReorder;
7
- var TranTransform = KMXPlus.TranTransform;
8
- import { verifyValidAndUnique } from "../util/util.js";
9
- import { CompilerMessages } from "./messages.js";
10
- import { MarkerUse } from "./marker-tracker.js";
11
- export class TransformCompiler extends SectionCompiler {
12
- static validateMarkers(keyboard, mt) {
13
- keyboard?.transforms?.forEach(transforms => transforms.transformGroup.forEach(transformGroup => {
14
- transformGroup.transform?.forEach(({ to, from }) => {
15
- mt.add(MarkerUse.emit, MarkerParser.allReferences(to));
16
- mt.add(MarkerUse.consume, MarkerParser.allReferences(from));
17
- });
18
- }));
19
- return true;
20
- }
21
- type;
22
- constructor(source, callbacks) {
23
- super(source, callbacks);
24
- }
25
- validate() {
26
- const reportMessage = this.callbacks.reportMessage.bind(this.callbacks);
27
- let valid = true;
28
- const transforms = this?.keyboard?.transforms;
29
- if (transforms) {
30
- const types = transforms.map(({ type }) => type);
31
- if (!verifyValidAndUnique(types, types => reportMessage(CompilerMessages.Error_DuplicateTransformsType({ types })), new Set(['simple', 'backspace']), types => reportMessage(CompilerMessages.Error_InvalidTransformsType({ types })))) {
32
- valid = false;
33
- }
34
- // check for mixed groups
35
- let mixed = false;
36
- let empty = false;
37
- transforms.forEach(({ transformGroup }) => transformGroup.forEach((transformGroup) => {
38
- if (transformGroup.reorder?.length && transformGroup.transform?.length) {
39
- mixed = true;
40
- }
41
- if (!transformGroup.reorder?.length && !transformGroup.transform?.length) {
42
- empty = true;
43
- }
44
- }));
45
- if (mixed) {
46
- valid = false;
47
- reportMessage(CompilerMessages.Error_MixedTransformGroup()); // report this once
48
- }
49
- if (empty) {
50
- valid = false;
51
- reportMessage(CompilerMessages.Error_EmptyTransformGroup()); // report this once
52
- }
53
- // TODO-LDML: linting here should check for identical from, but this involves a double-parse which is ugly
54
- // TODO-LDML: unicodesets means that either we fully parse them and verify conflicting rules or the linting is imperfect
55
- }
56
- return valid;
57
- }
58
- /* c8 ignore next 4 */
59
- /** allocate a new TranBase subclass */
60
- newTran() {
61
- throw Error(`Internal Error: newTran() not implemented`);
62
- }
63
- compileTransforms(sections, transforms) {
64
- let result = this.newTran();
65
- if (transforms?.transformGroup) {
66
- for (let transformGroup of transforms.transformGroup) {
67
- result.groups.push(this.compileTransformGroup(sections, transformGroup));
68
- }
69
- }
70
- return result;
71
- }
72
- compileTransformGroup(sections, transformGroup) {
73
- if (transformGroup.reorder.length && transformGroup.transform.length) {
74
- /* c8 ignore next 2 */
75
- // should have been caught by validate
76
- throw Error(`Internal error: transformGroup has both reorder and transform elements.`);
77
- }
78
- else if (transformGroup.reorder.length) {
79
- return this.compileReorderTranGroup(sections, transformGroup.reorder);
80
- }
81
- else if (transformGroup.transform.length) {
82
- return this.compileTransformTranGroup(sections, transformGroup.transform);
83
- }
84
- else {
85
- /* c8 ignore next */
86
- throw Error(`Internal error: transformGroup has neither reorder nor transform elements.`);
87
- }
88
- }
89
- compileTransformTranGroup(sections, transforms) {
90
- const result = {
91
- type: constants.tran_group_type_transform,
92
- transforms: transforms.map(transform => this.compileTransform(sections, transform)),
93
- reorders: [],
94
- };
95
- return result;
96
- }
97
- compileTransform(sections, transform) {
98
- let result = new TranTransform();
99
- let cookedFrom = transform.from;
100
- let cookedTo = transform.to;
101
- cookedFrom = sections.vars.substituteStrings(cookedFrom, sections);
102
- // TODO: handle 'map' case
103
- const mapFrom = VariableParser.CAPTURE_SET_REFERENCE.exec(cookedFrom);
104
- const mapTo = VariableParser.MAPPED_SET_REFERENCE.exec(cookedTo || '');
105
- if (mapFrom && mapTo) { // TODO-LDML: error cases
106
- result.mapFrom = sections.strs.allocString(mapFrom[1]); // var name
107
- result.mapTo = sections.strs.allocString(mapTo[1]); // var name
108
- }
109
- else {
110
- result.mapFrom = sections.strs.allocString(''); // TODO-LDML
111
- result.mapTo = sections.strs.allocString(''); // TODO-LDML
112
- }
113
- cookedFrom = sections.vars.substituteSetRegex(cookedFrom, sections);
114
- if (cookedTo) {
115
- cookedTo = sections.vars.substituteStrings(cookedTo, sections);
116
- }
117
- // add in markers. idempotent if no markers.
118
- cookedFrom = sections.vars.substituteMarkerString(cookedFrom); // TODO-LDML: need to support \m{.} here, maybe other edge cases
119
- cookedTo = sections.vars.substituteMarkerString(cookedTo);
120
- result.from = sections.strs.allocAndUnescapeString(cookedFrom); // TODO-LDML: not unescaped here, done previously
121
- result.to = sections.strs.allocAndUnescapeString(cookedTo); // TODO-LDML: not unescaped here, done previously
122
- return result;
123
- }
124
- compileReorderTranGroup(sections, reorders) {
125
- const result = {
126
- type: constants.tran_group_type_reorder,
127
- transforms: [],
128
- reorders: reorders.map(reorder => this.compileReorder(sections, reorder)),
129
- };
130
- return result;
131
- }
132
- compileReorder(sections, reorder) {
133
- let result = new TranReorder();
134
- result.elements = sections.elem.allocElementString(sections, reorder.from, reorder.order, reorder.tertiary, reorder.tertiaryBase, reorder.preBase);
135
- result.before = sections.elem.allocElementString(sections, reorder.before);
136
- return result;
137
- }
138
- compile(sections) {
139
- for (let t of this.keyboard.transforms) {
140
- if (t.type == this.type) {
141
- // compile only the transforms of the correct type
142
- return this.compileTransforms(sections, t);
143
- }
144
- }
145
- return this.newTran(); // empty: nothing of this type found.
146
- }
147
- get dependencies() {
148
- const defaults = new Set([
149
- constants.section.strs,
150
- constants.section.list,
151
- constants.section.elem,
152
- constants.section.vars,
153
- constants.section.uset,
154
- ]);
155
- defaults.delete(this.id);
156
- return defaults;
157
- }
158
- }
159
- export class TranCompiler extends TransformCompiler {
160
- constructor(source, callbacks) {
161
- super(source, callbacks);
162
- this.type = 'simple';
163
- }
164
- newTran() {
165
- return new Tran();
166
- }
167
- get id() {
168
- return constants.section.tran;
169
- }
170
- }
171
- ;
172
- export class BkspCompiler extends TransformCompiler {
173
- constructor(source, callbacks) {
174
- super(source, callbacks);
175
- this.type = 'backspace';
176
- }
177
- newTran() {
178
- return new Bksp();
179
- }
180
- get id() {
181
- return constants.section.bksp;
182
- }
183
- }
184
- ;
185
- //# sourceMappingURL=tran.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]="307f771f-2150-5dda-af62-41853d85e0ed")}catch(e){}}();
2
+ import { constants } from "@keymanapp/ldml-keyboard-constants";
3
+ import { KMXPlus, VariableParser, MarkerParser } from '@keymanapp/common-types';
4
+ import { SectionCompiler } from "./section-compiler.js";
5
+ var Bksp = KMXPlus.Bksp;
6
+ var Tran = KMXPlus.Tran;
7
+ var TranReorder = KMXPlus.TranReorder;
8
+ var TranTransform = KMXPlus.TranTransform;
9
+ import { verifyValidAndUnique } from "../util/util.js";
10
+ import { CompilerMessages } from "./messages.js";
11
+ import { MarkerUse } from "./marker-tracker.js";
12
+ export class TransformCompiler extends SectionCompiler {
13
+ static validateMarkers(keyboard, mt) {
14
+ keyboard?.transforms?.forEach(transforms => transforms.transformGroup.forEach(transformGroup => {
15
+ transformGroup.transform?.forEach(({ to, from }) => {
16
+ mt.add(MarkerUse.emit, MarkerParser.allReferences(to));
17
+ mt.add(MarkerUse.consume, MarkerParser.allReferences(from));
18
+ });
19
+ }));
20
+ return true;
21
+ }
22
+ type;
23
+ constructor(source, callbacks) {
24
+ super(source, callbacks);
25
+ }
26
+ validate() {
27
+ const reportMessage = this.callbacks.reportMessage.bind(this.callbacks);
28
+ let valid = true;
29
+ const transforms = this?.keyboard?.transforms;
30
+ if (transforms) {
31
+ const types = transforms.map(({ type }) => type);
32
+ if (!verifyValidAndUnique(types, types => reportMessage(CompilerMessages.Error_DuplicateTransformsType({ types })), new Set(['simple', 'backspace']), types => reportMessage(CompilerMessages.Error_InvalidTransformsType({ types })))) {
33
+ valid = false;
34
+ }
35
+ // check for mixed groups
36
+ let mixed = false;
37
+ let empty = false;
38
+ transforms.forEach(({ transformGroup }) => transformGroup.forEach((transformGroup) => {
39
+ if (transformGroup.reorder?.length && transformGroup.transform?.length) {
40
+ mixed = true;
41
+ }
42
+ if (!transformGroup.reorder?.length && !transformGroup.transform?.length) {
43
+ empty = true;
44
+ }
45
+ }));
46
+ if (mixed) {
47
+ valid = false;
48
+ reportMessage(CompilerMessages.Error_MixedTransformGroup()); // report this once
49
+ }
50
+ if (empty) {
51
+ valid = false;
52
+ reportMessage(CompilerMessages.Error_EmptyTransformGroup()); // report this once
53
+ }
54
+ // TODO-LDML: linting here should check for identical from, but this involves a double-parse which is ugly
55
+ // TODO-LDML: unicodesets means that either we fully parse them and verify conflicting rules or the linting is imperfect
56
+ }
57
+ return valid;
58
+ }
59
+ /* c8 ignore next 4 */
60
+ /** allocate a new TranBase subclass */
61
+ newTran() {
62
+ throw Error(`Internal Error: newTran() not implemented`);
63
+ }
64
+ compileTransforms(sections, transforms) {
65
+ let result = this.newTran();
66
+ if (transforms?.transformGroup) {
67
+ for (let transformGroup of transforms.transformGroup) {
68
+ result.groups.push(this.compileTransformGroup(sections, transformGroup));
69
+ }
70
+ }
71
+ return result;
72
+ }
73
+ compileTransformGroup(sections, transformGroup) {
74
+ if (transformGroup.reorder.length && transformGroup.transform.length) {
75
+ /* c8 ignore next 2 */
76
+ // should have been caught by validate
77
+ throw Error(`Internal error: transformGroup has both reorder and transform elements.`);
78
+ }
79
+ else if (transformGroup.reorder.length) {
80
+ return this.compileReorderTranGroup(sections, transformGroup.reorder);
81
+ }
82
+ else if (transformGroup.transform.length) {
83
+ return this.compileTransformTranGroup(sections, transformGroup.transform);
84
+ }
85
+ else {
86
+ /* c8 ignore next */
87
+ throw Error(`Internal error: transformGroup has neither reorder nor transform elements.`);
88
+ }
89
+ }
90
+ compileTransformTranGroup(sections, transforms) {
91
+ const result = {
92
+ type: constants.tran_group_type_transform,
93
+ transforms: transforms.map(transform => this.compileTransform(sections, transform)),
94
+ reorders: [],
95
+ };
96
+ return result;
97
+ }
98
+ compileTransform(sections, transform) {
99
+ let result = new TranTransform();
100
+ let cookedFrom = transform.from;
101
+ let cookedTo = transform.to;
102
+ cookedFrom = sections.vars.substituteStrings(cookedFrom, sections);
103
+ // TODO: handle 'map' case
104
+ const mapFrom = VariableParser.CAPTURE_SET_REFERENCE.exec(cookedFrom);
105
+ const mapTo = VariableParser.MAPPED_SET_REFERENCE.exec(cookedTo || '');
106
+ if (mapFrom && mapTo) { // TODO-LDML: error cases
107
+ result.mapFrom = sections.strs.allocString(mapFrom[1]); // var name
108
+ result.mapTo = sections.strs.allocString(mapTo[1]); // var name
109
+ }
110
+ else {
111
+ result.mapFrom = sections.strs.allocString(''); // TODO-LDML
112
+ result.mapTo = sections.strs.allocString(''); // TODO-LDML
113
+ }
114
+ cookedFrom = sections.vars.substituteSetRegex(cookedFrom, sections);
115
+ if (cookedTo) {
116
+ cookedTo = sections.vars.substituteStrings(cookedTo, sections);
117
+ }
118
+ // add in markers. idempotent if no markers.
119
+ cookedFrom = sections.vars.substituteMarkerString(cookedFrom); // TODO-LDML: need to support \m{.} here, maybe other edge cases
120
+ cookedTo = sections.vars.substituteMarkerString(cookedTo);
121
+ result.from = sections.strs.allocAndUnescapeString(cookedFrom); // TODO-LDML: not unescaped here, done previously
122
+ result.to = sections.strs.allocAndUnescapeString(cookedTo); // TODO-LDML: not unescaped here, done previously
123
+ return result;
124
+ }
125
+ compileReorderTranGroup(sections, reorders) {
126
+ const result = {
127
+ type: constants.tran_group_type_reorder,
128
+ transforms: [],
129
+ reorders: reorders.map(reorder => this.compileReorder(sections, reorder)),
130
+ };
131
+ return result;
132
+ }
133
+ compileReorder(sections, reorder) {
134
+ let result = new TranReorder();
135
+ result.elements = sections.elem.allocElementString(sections, reorder.from, reorder.order, reorder.tertiary, reorder.tertiaryBase, reorder.preBase);
136
+ result.before = sections.elem.allocElementString(sections, reorder.before);
137
+ return result;
138
+ }
139
+ compile(sections) {
140
+ for (let t of this.keyboard.transforms) {
141
+ if (t.type == this.type) {
142
+ // compile only the transforms of the correct type
143
+ return this.compileTransforms(sections, t);
144
+ }
145
+ }
146
+ return this.newTran(); // empty: nothing of this type found.
147
+ }
148
+ get dependencies() {
149
+ const defaults = new Set([
150
+ constants.section.strs,
151
+ constants.section.list,
152
+ constants.section.elem,
153
+ constants.section.vars,
154
+ constants.section.uset,
155
+ ]);
156
+ defaults.delete(this.id);
157
+ return defaults;
158
+ }
159
+ }
160
+ export class TranCompiler extends TransformCompiler {
161
+ constructor(source, callbacks) {
162
+ super(source, callbacks);
163
+ this.type = 'simple';
164
+ }
165
+ newTran() {
166
+ return new Tran();
167
+ }
168
+ get id() {
169
+ return constants.section.tran;
170
+ }
171
+ }
172
+ ;
173
+ export class BkspCompiler extends TransformCompiler {
174
+ constructor(source, callbacks) {
175
+ super(source, callbacks);
176
+ this.type = 'backspace';
177
+ }
178
+ newTran() {
179
+ return new Bksp();
180
+ }
181
+ get id() {
182
+ return constants.section.bksp;
183
+ }
184
+ }
185
+ ;
186
+ //# debugId=307f771f-2150-5dda-af62-41853d85e0ed
187
+ //# sourceMappingURL=tran.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tran.js","sourceRoot":"","sources":["../../../src/compiler/tran.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAgB,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAmC,cAAc,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACjH,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,IAAO,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;AAE3B,IAAO,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;AAE3B,IAAO,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC;AACzC,IAAO,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;AAM7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAiB,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAI/D,MAAM,OAAO,iBAA0E,SAAQ,eAAe;IAE5G,MAAM,CAAC,eAAe,CAAC,QAAiC,EAAE,EAAkB;QAC1E,QAAQ,EAAE,UAAU,EAAE,OAAO,CAAC,UAAU,CAAC,EAAE,CACzC,UAAU,CAAC,cAAc,CAAC,OAAO,CAAC,cAAc,CAAC,EAAE;YACjD,cAAc,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;gBACjD,EAAE,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,EAAE,YAAY,CAAC,aAAa,C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AAC,CAAC;aAC5C;SACF;QACD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC,qCAAqC;IAC9D,CAAC;IACD,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;YACtB,SAAS,CAAC,OAAO,CAAC,IAAI;SACvB,CAAC,CAAC;QACH,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACzB,OAAO,QAAQ,CAAC;IAClB,CAAC;CACF;AAED,MAAM,OAAO,YAAa,SAAQ,iBAAgD;IAChF,YAAY,MAAiC,EAAE,SAA4B;QACzE,KAAK,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;QACzB,IAAI,CAAC,IAAI,GAAG,QAAQ,CAAC;IACvB,CAAC;IACS,OAAO;QACf,OAAO,IAAI,IAAI,EAAE,CAAC;IACpB,CAAC;IACD,IAAW,EAAE;QACX,OAAO,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC;IAChC,CAAC;CACF;AAAA,CAAC;AAEF,MAAM,OAAO,YAAa,SAAQ,iBAAmD;IACnF,YAAY,MAAiC,EAAE,SAA4B;QACzE,KAAK,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;QACzB,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC;IAC1B,CAAC;IACS,OAAO;QACf,OAAO,IAAI,IAAI,EAAE,CAAC;IACpB,CAAC;IACD,IAAW,EAAE;QACX,OAAO,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC;IAChC,CAAC;CACF;AAAA,CAAC","names":[],"sourceRoot":"","sources":["../../../src/compiler/tran.ts"],"version":3}
@@ -1,21 +1,23 @@
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 collectMarkers;
14
- private validateMarkers;
15
- validateVarsMarkers(keyboard: LDMLKeyboard.LKKeyboard, mt: MarkerTracker): boolean;
16
- compile(sections: DependencySections): Vars;
17
- addString(result: Vars, e: LDMLKeyboard.LKString, sections: DependencySections): void;
18
- addSet(result: Vars, e: LDMLKeyboard.LKSet, sections: DependencySections): void;
19
- addUnicodeSet(result: Vars, e: LDMLKeyboard.LKUnicodeSet, sections: DependencySections): void;
20
- }
21
- //# sourceMappingURL=vars.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]="d96b7628-7077-5e32-a0ea-cd2ff841db08")}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 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
+ //# debugId=d96b7628-7077-5e32-a0ea-cd2ff841db08
23
+ //# sourceMappingURL=vars.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"vars.d.ts","sourceRoot":"","sources":["../../../src/compiler/vars.ts"],"names":[],"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;IA4G1B,OAAO,CAAC,cAAc;IAYtB,OAAO,CAAC,eAAe;IA0BvB,mBAAmB,CAAC,QAAQ,EAAE,YAAY,CAAC,UAAU,EAAE,EAAE,EAAG,aAAa,GAAI,OAAO;IAM7E,OAAO,CA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