@keymanapp/common-types 18.0.83-alpha → 18.0.85-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.
- package/build/src/kmx/kmx-plus/element-string.d.ts.map +1 -0
- package/build/src/kmx/{element-string.js → kmx-plus/element-string.js} +6 -5
- package/build/src/kmx/kmx-plus/element-string.js.map +1 -0
- package/build/src/kmx/{kmx-plus.d.ts → kmx-plus/kmx-plus.d.ts} +4 -3
- package/build/src/kmx/kmx-plus/kmx-plus.d.ts.map +1 -0
- package/build/src/kmx/{kmx-plus.js → kmx-plus/kmx-plus.js} +12 -7
- package/build/src/kmx/kmx-plus/kmx-plus.js.map +1 -0
- package/build/src/{kmx → ldml-keyboard}/string-list.d.ts +2 -2
- package/build/src/ldml-keyboard/string-list.d.ts.map +1 -0
- package/build/src/{kmx → ldml-keyboard}/string-list.js +2 -2
- package/build/src/ldml-keyboard/string-list.js.map +1 -0
- package/build/src/main.d.ts +4 -20
- package/build/src/main.d.ts.map +1 -1
- package/build/src/main.js +7 -21
- package/build/src/main.js.map +1 -1
- package/build/src/util/file-types.d.ts +1 -1
- package/package.json +4 -11
- package/build/src/deps/xml2js/bom.d.ts +0 -2
- package/build/src/deps/xml2js/bom.d.ts.map +0 -1
- package/build/src/deps/xml2js/bom.js +0 -14
- package/build/src/deps/xml2js/bom.js.map +0 -1
- package/build/src/deps/xml2js/builder.d.ts +0 -6
- package/build/src/deps/xml2js/builder.d.ts.map +0 -1
- package/build/src/deps/xml2js/builder.js +0 -133
- package/build/src/deps/xml2js/builder.js.map +0 -1
- package/build/src/deps/xml2js/defaults.d.ts +0 -69
- package/build/src/deps/xml2js/defaults.d.ts.map +0 -1
- package/build/src/deps/xml2js/defaults.js +0 -73
- package/build/src/deps/xml2js/defaults.js.map +0 -1
- package/build/src/deps/xml2js/parser.d.ts +0 -18
- package/build/src/deps/xml2js/parser.d.ts.map +0 -1
- package/build/src/deps/xml2js/parser.js +0 -395
- package/build/src/deps/xml2js/parser.js.map +0 -1
- package/build/src/deps/xml2js/processors.d.ts +0 -6
- package/build/src/deps/xml2js/processors.d.ts.map +0 -1
- package/build/src/deps/xml2js/processors.js +0 -28
- package/build/src/deps/xml2js/processors.js.map +0 -1
- package/build/src/deps/xml2js/xml2js.d.ts +0 -12
- package/build/src/deps/xml2js/xml2js.d.ts.map +0 -1
- package/build/src/deps/xml2js/xml2js.js +0 -26
- package/build/src/deps/xml2js/xml2js.js.map +0 -1
- package/build/src/import/45/cldr_info.json +0 -5
- package/build/src/import/45/keys-Latn-implied.xml +0 -80
- package/build/src/import/45/keys-Zyyy-currency.xml +0 -15
- package/build/src/import/45/keys-Zyyy-punctuation.xml +0 -45
- package/build/src/import/45/scanCodes-implied.xml +0 -53
- package/build/src/keyman-touch-layout/keyman-touch-layout-file-reader.d.ts +0 -6
- package/build/src/keyman-touch-layout/keyman-touch-layout-file-reader.d.ts.map +0 -1
- package/build/src/keyman-touch-layout/keyman-touch-layout-file-reader.js +0 -74
- package/build/src/keyman-touch-layout/keyman-touch-layout-file-reader.js.map +0 -1
- package/build/src/keyman-touch-layout/keyman-touch-layout-file-writer.d.ts +0 -29
- package/build/src/keyman-touch-layout/keyman-touch-layout-file-writer.d.ts.map +0 -1
- package/build/src/keyman-touch-layout/keyman-touch-layout-file-writer.js +0 -122
- package/build/src/keyman-touch-layout/keyman-touch-layout-file-writer.js.map +0 -1
- package/build/src/kmx/element-string.d.ts.map +0 -1
- package/build/src/kmx/element-string.js.map +0 -1
- package/build/src/kmx/kmx-builder.d.ts +0 -33
- package/build/src/kmx/kmx-builder.d.ts.map +0 -1
- package/build/src/kmx/kmx-builder.js +0 -191
- package/build/src/kmx/kmx-builder.js.map +0 -1
- package/build/src/kmx/kmx-plus-builder/build-disp.d.ts +0 -19
- package/build/src/kmx/kmx-plus-builder/build-disp.d.ts.map +0 -1
- package/build/src/kmx/kmx-plus-builder/build-disp.js +0 -29
- package/build/src/kmx/kmx-plus-builder/build-disp.js.map +0 -1
- package/build/src/kmx/kmx-plus-builder/build-elem.d.ts +0 -29
- package/build/src/kmx/kmx-plus-builder/build-elem.d.ts.map +0 -1
- package/build/src/kmx/kmx-plus-builder/build-elem.js +0 -91
- package/build/src/kmx/kmx-plus-builder/build-elem.js.map +0 -1
- package/build/src/kmx/kmx-plus-builder/build-keys.d.ts +0 -57
- package/build/src/kmx/kmx-plus-builder/build-keys.d.ts.map +0 -1
- package/build/src/kmx/kmx-plus-builder/build-keys.js +0 -109
- package/build/src/kmx/kmx-plus-builder/build-keys.js.map +0 -1
- package/build/src/kmx/kmx-plus-builder/build-layr.d.ts +0 -54
- package/build/src/kmx/kmx-plus-builder/build-layr.d.ts.map +0 -1
- package/build/src/kmx/kmx-plus-builder/build-layr.js +0 -103
- package/build/src/kmx/kmx-plus-builder/build-layr.js.map +0 -1
- package/build/src/kmx/kmx-plus-builder/build-list.d.ts +0 -36
- package/build/src/kmx/kmx-plus-builder/build-list.d.ts.map +0 -1
- package/build/src/kmx/kmx-plus-builder/build-list.js +0 -68
- package/build/src/kmx/kmx-plus-builder/build-list.js.map +0 -1
- package/build/src/kmx/kmx-plus-builder/build-loca.d.ts +0 -12
- package/build/src/kmx/kmx-plus-builder/build-loca.d.ts.map +0 -1
- package/build/src/kmx/kmx-plus-builder/build-loca.js +0 -23
- package/build/src/kmx/kmx-plus-builder/build-loca.js.map +0 -1
- package/build/src/kmx/kmx-plus-builder/build-meta.d.ts +0 -17
- package/build/src/kmx/kmx-plus-builder/build-meta.d.ts.map +0 -1
- package/build/src/kmx/kmx-plus-builder/build-meta.js +0 -24
- package/build/src/kmx/kmx-plus-builder/build-meta.js.map +0 -1
- package/build/src/kmx/kmx-plus-builder/build-sect.d.ts +0 -16
- package/build/src/kmx/kmx-plus-builder/build-sect.d.ts.map +0 -1
- package/build/src/kmx/kmx-plus-builder/build-sect.js +0 -17
- package/build/src/kmx/kmx-plus-builder/build-sect.js.map +0 -1
- package/build/src/kmx/kmx-plus-builder/build-strs.d.ts +0 -23
- package/build/src/kmx/kmx-plus-builder/build-strs.d.ts.map +0 -1
- package/build/src/kmx/kmx-plus-builder/build-strs.js +0 -48
- package/build/src/kmx/kmx-plus-builder/build-strs.js.map +0 -1
- package/build/src/kmx/kmx-plus-builder/build-tran.d.ts +0 -33
- package/build/src/kmx/kmx-plus-builder/build-tran.d.ts.map +0 -1
- package/build/src/kmx/kmx-plus-builder/build-tran.js +0 -71
- package/build/src/kmx/kmx-plus-builder/build-tran.js.map +0 -1
- package/build/src/kmx/kmx-plus-builder/build-uset.d.ts +0 -31
- package/build/src/kmx/kmx-plus-builder/build-uset.d.ts.map +0 -1
- package/build/src/kmx/kmx-plus-builder/build-uset.js +0 -62
- package/build/src/kmx/kmx-plus-builder/build-uset.js.map +0 -1
- package/build/src/kmx/kmx-plus-builder/build-vars.d.ts +0 -22
- package/build/src/kmx/kmx-plus-builder/build-vars.d.ts.map +0 -1
- package/build/src/kmx/kmx-plus-builder/build-vars.js +0 -50
- package/build/src/kmx/kmx-plus-builder/build-vars.js.map +0 -1
- package/build/src/kmx/kmx-plus-builder/builder-section.d.ts +0 -10
- package/build/src/kmx/kmx-plus-builder/builder-section.d.ts.map +0 -1
- package/build/src/kmx/kmx-plus-builder/builder-section.js +0 -6
- package/build/src/kmx/kmx-plus-builder/builder-section.js.map +0 -1
- package/build/src/kmx/kmx-plus-builder/kmx-plus-builder.d.ts +0 -43
- package/build/src/kmx/kmx-plus-builder/kmx-plus-builder.d.ts.map +0 -1
- package/build/src/kmx/kmx-plus-builder/kmx-plus-builder.js +0 -139
- package/build/src/kmx/kmx-plus-builder/kmx-plus-builder.js.map +0 -1
- package/build/src/kmx/kmx-plus.d.ts.map +0 -1
- package/build/src/kmx/kmx-plus.js.map +0 -1
- package/build/src/kmx/string-list.d.ts.map +0 -1
- package/build/src/kmx/string-list.js.map +0 -1
- package/build/src/kpj/keyman-developer-project.d.ts +0 -79
- package/build/src/kpj/keyman-developer-project.d.ts.map +0 -1
- package/build/src/kpj/keyman-developer-project.js +0 -197
- package/build/src/kpj/keyman-developer-project.js.map +0 -1
- package/build/src/kpj/kpj-file-reader.d.ts +0 -19
- package/build/src/kpj/kpj-file-reader.d.ts.map +0 -1
- package/build/src/kpj/kpj-file-reader.js +0 -121
- package/build/src/kpj/kpj-file-reader.js.map +0 -1
- package/build/src/kpj/kpj-file.d.ts +0 -40
- package/build/src/kpj/kpj-file.d.ts.map +0 -1
- package/build/src/kpj/kpj-file.js +0 -14
- package/build/src/kpj/kpj-file.js.map +0 -1
- package/build/src/kvk/kvks-file-reader.d.ts +0 -24
- package/build/src/kvk/kvks-file-reader.d.ts.map +0 -1
- package/build/src/kvk/kvks-file-reader.js +0 -177
- package/build/src/kvk/kvks-file-reader.js.map +0 -1
- package/build/src/kvk/kvks-file-writer.d.ts +0 -7
- package/build/src/kvk/kvks-file-writer.d.ts.map +0 -1
- package/build/src/kvk/kvks-file-writer.js +0 -108
- package/build/src/kvk/kvks-file-writer.js.map +0 -1
- package/build/src/kvk/kvks-file.d.ts +0 -44
- package/build/src/kvk/kvks-file.d.ts.map +0 -1
- package/build/src/kvk/kvks-file.js +0 -13
- package/build/src/kvk/kvks-file.js.map +0 -1
- package/build/src/ldml-keyboard/ldml-keyboard-testdata-xml.d.ts +0 -61
- package/build/src/ldml-keyboard/ldml-keyboard-testdata-xml.d.ts.map +0 -1
- package/build/src/ldml-keyboard/ldml-keyboard-testdata-xml.js +0 -23
- package/build/src/ldml-keyboard/ldml-keyboard-testdata-xml.js.map +0 -1
- package/build/src/ldml-keyboard/ldml-keyboard-xml-reader.d.ts +0 -96
- package/build/src/ldml-keyboard/ldml-keyboard-xml-reader.d.ts.map +0 -1
- package/build/src/ldml-keyboard/ldml-keyboard-xml-reader.js +0 -411
- package/build/src/ldml-keyboard/ldml-keyboard-xml-reader.js.map +0 -1
- package/build/src/ldml-keyboard/ldml-keyboard-xml.d.ts +0 -171
- package/build/src/ldml-keyboard/ldml-keyboard-xml.d.ts.map +0 -1
- package/build/src/ldml-keyboard/ldml-keyboard-xml.js +0 -59
- package/build/src/ldml-keyboard/ldml-keyboard-xml.js.map +0 -1
- package/build/src/package/kps-file.d.ts +0 -176
- package/build/src/package/kps-file.d.ts.map +0 -1
- package/build/src/package/kps-file.js +0 -19
- package/build/src/package/kps-file.js.map +0 -1
- package/build/src/util/common-events.d.ts +0 -45
- package/build/src/util/common-events.d.ts.map +0 -1
- package/build/src/util/common-events.js +0 -30
- package/build/src/util/common-events.js.map +0 -1
- package/build/src/util/compiler-interfaces.d.ts +0 -372
- package/build/src/util/compiler-interfaces.d.ts.map +0 -1
- package/build/src/util/compiler-interfaces.js +0 -382
- package/build/src/util/compiler-interfaces.js.map +0 -1
- /package/build/src/kmx/{element-string.d.ts → kmx-plus/element-string.d.ts} +0 -0
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
!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]="8f784b15-e433-50a8-b384-53a6919f9dfb")}catch(e){}}();
|
|
3
|
-
var extend = function (child, parent) { for (var key in parent) {
|
|
4
|
-
if (hasProp.call(parent, key))
|
|
5
|
-
child[key] = parent[key];
|
|
6
|
-
} function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty;
|
|
7
|
-
// import { defaults } from './defaults.js';
|
|
8
|
-
import * as builder from './builder.js';
|
|
9
|
-
import * as parser from './parser.js';
|
|
10
|
-
import * as processors from './processors.js';
|
|
11
|
-
// export const defaults = defaults.defaults;
|
|
12
|
-
// export const processors = processors;
|
|
13
|
-
/** @type Class */
|
|
14
|
-
export class ValidationError extends Error {
|
|
15
|
-
constructor(message) {
|
|
16
|
-
super(message);
|
|
17
|
-
this.message = message;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
;
|
|
21
|
-
export const Parser = parser.Parser;
|
|
22
|
-
export const Builder = builder.Builder;
|
|
23
|
-
export const parseString = parser.parseString;
|
|
24
|
-
export const parseStringPromise = parser.parseStringPromise;
|
|
25
|
-
//# sourceMappingURL=xml2js.js.map
|
|
26
|
-
//# debugId=8f784b15-e433-50a8-b384-53a6919f9dfb
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"xml2js.js","sources":["../../../../src/deps/xml2js/xml2js.js"],"sourceRoot":"","names":[],"mappings":";;AAAA,IACI,MAAM,GAAG,UAAS,KAAK,EAAE,MAAM,IAAI,KAAK,IAAI,GAAG,IAAI,MAAM,EAAE,CAAC;IAAC,IAAI,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC;QAAE,KAAK,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;AAAC,CAAC,CAAC,SAAS,IAAI,KAAK,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,EAC1R,OAAO,GAAG,EAAE,CAAC,cAAc,CAAC;AAE9B,4CAA4C;AAC5C,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAC;AAE9C,6CAA6C;AAC7C,wCAAwC;AAExC,kBAAkB;AAClB,MAAM,OAAO,eAAgB,SAAQ,KAAK;IACxC,YAAY,OAAO;QACjB,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;CACF;AAAA,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AAEpC,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;AAEvC,MAAM,CAAC,MAAM,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;AAE9C,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC,kBAAkB,CAAC","debug_id":"8f784b15-e433-50a8-b384-53a6919f9dfb"}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!--
|
|
3
|
-
Copyright © 1991-2024 Unicode, Inc.
|
|
4
|
-
For terms of use, see http://www.unicode.org/copyright.html
|
|
5
|
-
SPDX-License-Identifier: Unicode-3.0
|
|
6
|
-
CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
|
|
7
|
-
-->
|
|
8
|
-
<!--
|
|
9
|
-
This is the implied import for implied keys.
|
|
10
|
-
Please note that any implied keys may be overridden by keyboard layouts.
|
|
11
|
-
-->
|
|
12
|
-
<!DOCTYPE keys SYSTEM "../dtd/ldmlKeyboard3.dtd">
|
|
13
|
-
<keys>
|
|
14
|
-
|
|
15
|
-
<key id="gap" gap="true" width="1"/>
|
|
16
|
-
<key id="space" output="\u{0020}" stretch="true" width="1"/>
|
|
17
|
-
|
|
18
|
-
<key id="0" output="0"/>
|
|
19
|
-
<key id="1" output="1"/>
|
|
20
|
-
<key id="2" output="2"/>
|
|
21
|
-
<key id="3" output="3"/>
|
|
22
|
-
<key id="4" output="4"/>
|
|
23
|
-
<key id="5" output="5"/>
|
|
24
|
-
<key id="6" output="6"/>
|
|
25
|
-
<key id="7" output="7"/>
|
|
26
|
-
<key id="8" output="8"/>
|
|
27
|
-
<key id="9" output="9"/>
|
|
28
|
-
<key id="A" output="A"/>
|
|
29
|
-
<key id="B" output="B"/>
|
|
30
|
-
<key id="C" output="C"/>
|
|
31
|
-
<key id="D" output="D"/>
|
|
32
|
-
<key id="E" output="E"/>
|
|
33
|
-
<key id="F" output="F"/>
|
|
34
|
-
<key id="G" output="G"/>
|
|
35
|
-
<key id="H" output="H"/>
|
|
36
|
-
<key id="I" output="I"/>
|
|
37
|
-
<key id="J" output="J"/>
|
|
38
|
-
<key id="K" output="K"/>
|
|
39
|
-
<key id="L" output="L"/>
|
|
40
|
-
<key id="M" output="M"/>
|
|
41
|
-
<key id="N" output="N"/>
|
|
42
|
-
<key id="O" output="O"/>
|
|
43
|
-
<key id="P" output="P"/>
|
|
44
|
-
<key id="Q" output="Q"/>
|
|
45
|
-
<key id="R" output="R"/>
|
|
46
|
-
<key id="S" output="S"/>
|
|
47
|
-
<key id="T" output="T"/>
|
|
48
|
-
<key id="U" output="U"/>
|
|
49
|
-
<key id="V" output="V"/>
|
|
50
|
-
<key id="W" output="W"/>
|
|
51
|
-
<key id="X" output="X"/>
|
|
52
|
-
<key id="Y" output="Y"/>
|
|
53
|
-
<key id="Z" output="Z"/>
|
|
54
|
-
<key id="a" output="a"/>
|
|
55
|
-
<key id="b" output="b"/>
|
|
56
|
-
<key id="c" output="c"/>
|
|
57
|
-
<key id="d" output="d"/>
|
|
58
|
-
<key id="e" output="e"/>
|
|
59
|
-
<key id="f" output="f"/>
|
|
60
|
-
<key id="g" output="g"/>
|
|
61
|
-
<key id="h" output="h"/>
|
|
62
|
-
<key id="i" output="i"/>
|
|
63
|
-
<key id="j" output="j"/>
|
|
64
|
-
<key id="k" output="k"/>
|
|
65
|
-
<key id="l" output="l"/>
|
|
66
|
-
<key id="m" output="m"/>
|
|
67
|
-
<key id="n" output="n"/>
|
|
68
|
-
<key id="o" output="o"/>
|
|
69
|
-
<key id="p" output="p"/>
|
|
70
|
-
<key id="q" output="q"/>
|
|
71
|
-
<key id="r" output="r"/>
|
|
72
|
-
<key id="s" output="s"/>
|
|
73
|
-
<key id="t" output="t"/>
|
|
74
|
-
<key id="u" output="u"/>
|
|
75
|
-
<key id="v" output="v"/>
|
|
76
|
-
<key id="w" output="w"/>
|
|
77
|
-
<key id="x" output="x"/>
|
|
78
|
-
<key id="y" output="y"/>
|
|
79
|
-
<key id="z" output="z"/>
|
|
80
|
-
</keys>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!--
|
|
3
|
-
Copyright © 1991-2024 Unicode, Inc.
|
|
4
|
-
SPDX-License-Identifier: Unicode-3.0
|
|
5
|
-
CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
|
|
6
|
-
-->
|
|
7
|
-
<!DOCTYPE keys SYSTEM "../dtd/ldmlKeyboard3.dtd">
|
|
8
|
-
<keys>
|
|
9
|
-
<key id="dollar" output="$" />
|
|
10
|
-
<key id="euro" output="€" />
|
|
11
|
-
<key id="pound" output="£" />
|
|
12
|
-
<key id="yen" output="¥" />
|
|
13
|
-
<key id="cruzeiro" output="₢" />
|
|
14
|
-
<key id="cent" output="¢" />
|
|
15
|
-
</keys>
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!--
|
|
3
|
-
Copyright © 1991-2024 Unicode, Inc.
|
|
4
|
-
SPDX-License-Identifier: Unicode-3.0
|
|
5
|
-
CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
|
|
6
|
-
-->
|
|
7
|
-
<!DOCTYPE keys SYSTEM "../dtd/ldmlKeyboard3.dtd">
|
|
8
|
-
<keys>
|
|
9
|
-
<!-- General Symbols -->
|
|
10
|
-
<key id="amp" output="\u{0026}" />
|
|
11
|
-
<key id="apos" output="'" />
|
|
12
|
-
<key id="asterisk" output="*" />
|
|
13
|
-
<key id="at" output="@" />
|
|
14
|
-
<key id="backslash" output="\u{005C}" />
|
|
15
|
-
<key id="bang" output="!" />
|
|
16
|
-
<key id="caret" output="^" />
|
|
17
|
-
<key id="close-angle" output=">" />
|
|
18
|
-
<key id="close-curly" output="}" />
|
|
19
|
-
<key id="close-paren" output=")" />
|
|
20
|
-
<key id="close-square" output="]" />
|
|
21
|
-
<key id="colon" output=":" />
|
|
22
|
-
<key id="comma" output="," />
|
|
23
|
-
<key id="degree" output="°" />
|
|
24
|
-
<key id="double-quote" output="\u{0022}" />
|
|
25
|
-
<key id="equal" output="=" />
|
|
26
|
-
<key id="grave" output="`" />
|
|
27
|
-
<key id="hash" output="#" />
|
|
28
|
-
<key id="hyphen" output="-" />
|
|
29
|
-
<key id="micro" output="µ" />
|
|
30
|
-
<key id="not" output="¬" />
|
|
31
|
-
<key id="open-angle" output="\u{003C}" />
|
|
32
|
-
<key id="open-curly" output="{" />
|
|
33
|
-
<key id="open-paren" output="(" />
|
|
34
|
-
<key id="open-square" output="[" />
|
|
35
|
-
<key id="percent" output="%" />
|
|
36
|
-
<key id="period" output="." />
|
|
37
|
-
<key id="pipe" output="|" />
|
|
38
|
-
<key id="plus" output="+" />
|
|
39
|
-
<key id="question" output="?" />
|
|
40
|
-
<key id="section" output="§" />
|
|
41
|
-
<key id="semi-colon" output=";" />
|
|
42
|
-
<key id="slash" output="/" />
|
|
43
|
-
<key id="tilde" output="~" />
|
|
44
|
-
<key id="underscore" output="_" />
|
|
45
|
-
</keys>
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<forms>
|
|
3
|
-
<!--
|
|
4
|
-
These are the implied form values for hardware layouts.
|
|
5
|
-
Per the spec, this file is assumed to be imported into
|
|
6
|
-
every keyboard file.
|
|
7
|
-
|
|
8
|
-
Each row is a separate scanCodes element.
|
|
9
|
-
Values are space separated hex bytes.
|
|
10
|
-
Frame keys are not included.
|
|
11
|
-
-->
|
|
12
|
-
|
|
13
|
-
<form id="us">
|
|
14
|
-
<scanCodes codes="29 02 03 04 05 06 07 08 09 0A 0B 0C 0D" /> <!-- 13 keys, ` to = -->
|
|
15
|
-
<scanCodes codes="10 11 12 13 14 15 16 17 18 19 1A 1B 2B" /> <!-- 13 keys, Q to \ -->
|
|
16
|
-
<scanCodes codes="1E 1F 20 21 22 23 24 25 26 27 28" /> <!-- 11 keys, A to ' -->
|
|
17
|
-
<scanCodes codes="2C 2D 2E 2F 30 31 32 33 34 35" /> <!-- 10 keys, Z to / -->
|
|
18
|
-
<scanCodes codes="39" /> <!-- 1 key, spacebar -->
|
|
19
|
-
</form>
|
|
20
|
-
<form id="iso">
|
|
21
|
-
<scanCodes codes="29 02 03 04 05 06 07 08 09 0A 0B 0C 0D" /> <!-- 13 keys -->
|
|
22
|
-
<scanCodes codes="10 11 12 13 14 15 16 17 18 19 1A 1B" /> <!-- 12 keys -->
|
|
23
|
-
<scanCodes codes="1E 1F 20 21 22 23 24 25 26 27 28 2B" /> <!-- 12 keys -->
|
|
24
|
-
<scanCodes codes="56 2C 2D 2E 2F 30 31 32 33 34 35" /> <!-- 11 keys-->
|
|
25
|
-
<scanCodes codes="39" /> <!-- 1 key, spacebar -->
|
|
26
|
-
</form>
|
|
27
|
-
<form id="abnt2">
|
|
28
|
-
<scanCodes codes="29 02 03 04 05 06 07 08 09 0A 0B 0C 0D" /> <!-- 13 keys -->
|
|
29
|
-
<scanCodes codes="10 11 12 13 14 15 16 17 18 19 1A 1B" /> <!-- 12 keys -->
|
|
30
|
-
<scanCodes codes="1E 1F 20 21 22 23 24 25 26 27 28 2B" /> <!-- 12 keys -->
|
|
31
|
-
<scanCodes codes="56 2C 2D 2E 2F 30 31 32 33 34 35 73" /> <!-- 12 keys-->
|
|
32
|
-
<scanCodes codes="39" /> <!-- 1 key, spacebar -->
|
|
33
|
-
</form>
|
|
34
|
-
<form id="jis">
|
|
35
|
-
<scanCodes codes="29 02 03 04 05 06 07 08 09 0A 0B 0C 0D 7D" /> <!-- 14 keys -->
|
|
36
|
-
<scanCodes codes="10 11 12 13 14 15 16 17 18 19 1A 1B" /> <!-- 12 keys -->
|
|
37
|
-
<scanCodes codes="1E 1F 20 21 22 23 24 25 26 27 28 2B" /> <!-- 12 keys -->
|
|
38
|
-
<scanCodes codes="2C 2D 2E 2F 30 31 32 33 34 35 73" /> <!-- 11 keys-->
|
|
39
|
-
<scanCodes codes="39" /> <!-- 1 key, spacebar -->
|
|
40
|
-
</form>
|
|
41
|
-
<form id="ks">
|
|
42
|
-
<scanCodes codes="29 02 03 04 05 06 07 08 09 0A 0B 0C 0D 2B" /> <!-- 14 keys -->
|
|
43
|
-
<scanCodes codes="10 11 12 13 14 15 16 17 18 19 1A 1B" /> <!-- 12 keys -->
|
|
44
|
-
<scanCodes codes="1E 1F 20 21 22 23 24 25 26 27 28" /> <!-- 11 keys -->
|
|
45
|
-
<scanCodes codes="2C 2D 2E 2F 30 31 32 33 34 35" /> <!-- 10 keys, Z to / -->
|
|
46
|
-
<scanCodes codes="39" /> <!-- 1 key, spacebar -->
|
|
47
|
-
</form>
|
|
48
|
-
|
|
49
|
-
<!--
|
|
50
|
-
"touch" is not a hardware layout form, and so is not defined here.
|
|
51
|
-
<form id="touch"/>
|
|
52
|
-
-->
|
|
53
|
-
</forms>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"keyman-touch-layout-file-reader.d.ts","sourceRoot":"","sources":["../../../src/keyman-touch-layout/keyman-touch-layout-file-reader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAGhE,qBAAa,qBAAqB;IACzB,IAAI,CAAC,MAAM,EAAE,UAAU,GAAG,eAAe;IAgEzC,QAAQ,CAAC,MAAM,EAAE,eAAe,GAAG,IAAI;CAS/C"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
!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]="b3d8ba11-355b-566f-9855-ed98e1643b3b")}catch(e){}}();
|
|
3
|
-
import SchemaValidators from '../schema-validators.js';
|
|
4
|
-
export class TouchLayoutFileReader {
|
|
5
|
-
read(source) {
|
|
6
|
-
const decoder = new TextDecoder('utf-8', { fatal: true, ignoreBOM: true });
|
|
7
|
-
let sourceString;
|
|
8
|
-
try {
|
|
9
|
-
sourceString = decoder.decode(source);
|
|
10
|
-
/* c8 ignore next 7 */
|
|
11
|
-
}
|
|
12
|
-
catch (e) {
|
|
13
|
-
if (e instanceof TypeError) {
|
|
14
|
-
// TODO: Do we want to do something else with this?
|
|
15
|
-
throw e;
|
|
16
|
-
}
|
|
17
|
-
throw e;
|
|
18
|
-
}
|
|
19
|
-
let result;
|
|
20
|
-
try {
|
|
21
|
-
result = JSON.parse(sourceString, function (key, value) {
|
|
22
|
-
// `row.id` should be number, but may have been stringified; we use
|
|
23
|
-
// presence of `key` property to recognise this as a `TouchLayoutRow`.
|
|
24
|
-
if (this.key && key == 'id' && typeof value == 'string') {
|
|
25
|
-
let newValue = parseInt(value, 10);
|
|
26
|
-
/* c8 ignore next 3 */
|
|
27
|
-
if (isNaN(newValue)) {
|
|
28
|
-
throw new TypeError(`Invalid row.id: "${value}"`);
|
|
29
|
-
}
|
|
30
|
-
return newValue;
|
|
31
|
-
}
|
|
32
|
-
// `key.width`, `key.pad`, `key.sp` should be number, but may have been
|
|
33
|
-
// stringified
|
|
34
|
-
if (key == 'width' || key == 'pad' || key == 'sp') {
|
|
35
|
-
if (value === '') {
|
|
36
|
-
// Empty string is equivalent to not present, so fall back to
|
|
37
|
-
// default value
|
|
38
|
-
return undefined;
|
|
39
|
-
}
|
|
40
|
-
let newValue = parseInt(value, 10);
|
|
41
|
-
/* c8 ignore next 3 */
|
|
42
|
-
if (isNaN(newValue)) {
|
|
43
|
-
throw new TypeError(`Invalid [sub]key.${key}: "${value}"`);
|
|
44
|
-
}
|
|
45
|
-
return newValue;
|
|
46
|
-
}
|
|
47
|
-
if (Array.isArray(value) && value.length == 0) {
|
|
48
|
-
// Delete empty arrays
|
|
49
|
-
return undefined;
|
|
50
|
-
}
|
|
51
|
-
return value;
|
|
52
|
-
});
|
|
53
|
-
/* c8 ignore next 7 */
|
|
54
|
-
}
|
|
55
|
-
catch (e) {
|
|
56
|
-
if (e instanceof SyntaxError) {
|
|
57
|
-
// TODO: Do we want to do something else with this?
|
|
58
|
-
throw e;
|
|
59
|
-
}
|
|
60
|
-
throw e;
|
|
61
|
-
}
|
|
62
|
-
return result;
|
|
63
|
-
}
|
|
64
|
-
validate(source) {
|
|
65
|
-
if (!SchemaValidators.touchLayoutClean(source))
|
|
66
|
-
/* c8 ignore next 3 */
|
|
67
|
-
{
|
|
68
|
-
throw new Error(JSON.stringify(SchemaValidators.touchLayoutClean.errors));
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
;
|
|
73
|
-
//# sourceMappingURL=keyman-touch-layout-file-reader.js.map
|
|
74
|
-
//# debugId=b3d8ba11-355b-566f-9855-ed98e1643b3b
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"keyman-touch-layout-file-reader.js","sources":["../../../src/keyman-touch-layout/keyman-touch-layout-file-reader.ts"],"sourceRoot":"","names":[],"mappings":";;AACA,OAAO,gBAAgB,MAAM,yBAAyB,CAAC;AAEvD,MAAM,OAAO,qBAAqB;IACzB,IAAI,CAAC,MAAkB;QAC5B,MAAM,OAAO,GAAG,IAAI,WAAW,CAAC,OAAO,EAAE,EAAC,KAAK,EAAC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAC,CAAC,CAAC;QACxE,IAAI,YAAoB,CAAC;QACzB,IAAI,CAAC;YACH,YAAY,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;YACxC,sBAAsB;QACtB,CAAC;QAAC,OAAM,CAAC,EAAE,CAAC;YACV,IAAG,CAAC,YAAY,SAAS,EAAE,CAAC;gBAC1B,mDAAmD;gBACnD,MAAM,CAAC,CAAC;YACV,CAAC;YACD,MAAM,CAAC,CAAC;QACV,CAAC;QAED,IAAI,MAAuB,CAAC;QAC5B,IAA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,YAAY,WAAW,EAAE,CAAC;gBAC5B,mDAAmD;gBACnD,MAAM,CAAC,CAAC;YACV,CAAC;YACD,MAAM,CAAC,CAAC;QACV,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;IAEM,QAAQ,CAAC,MAAuB;QACrC,IAAG,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,MAAM,CAAC;QAC7C,sBAAsB;QACtB,CAAC;YACC,MAAM,IAAI,KAAK,CAAC,IAAI,CAAC,SAAS,CAAO,gBAAgB,CAAC,gBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC;QACnF,CAAC;IACH,CAAC;CAGF;AAAA,CAAC","debug_id":"b3d8ba11-355b-566f-9855-ed98e1643b3b"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { TouchLayoutFile } from "./keyman-touch-layout-file.js";
|
|
2
|
-
export interface TouchLayoutFileWriterOptions {
|
|
3
|
-
formatted?: boolean;
|
|
4
|
-
}
|
|
5
|
-
export declare class TouchLayoutFileWriter {
|
|
6
|
-
options: TouchLayoutFileWriterOptions;
|
|
7
|
-
constructor(options?: TouchLayoutFileWriterOptions);
|
|
8
|
-
/**
|
|
9
|
-
* Writes the touch layout to a .keyman-touch-layout JSON file
|
|
10
|
-
* @param source TouchLayoutFile
|
|
11
|
-
* @returns Uint8Array, the .keyman-touch-layout file
|
|
12
|
-
*/
|
|
13
|
-
write(source: TouchLayoutFile): Uint8Array;
|
|
14
|
-
/**
|
|
15
|
-
* Gets the output as a JSON string
|
|
16
|
-
*/
|
|
17
|
-
toJSONString(source: TouchLayoutFile): string;
|
|
18
|
-
/**
|
|
19
|
-
* Compiles the touch layout file into a KeymanWeb-compatible JSON-style
|
|
20
|
-
* object string. In the future, this may be optimized to remove unnecessary
|
|
21
|
-
* quoting of property names, and remove unused properties, as this string
|
|
22
|
-
* is embedded into .js code.
|
|
23
|
-
* @param source
|
|
24
|
-
* @returns string
|
|
25
|
-
*/
|
|
26
|
-
compile(source: TouchLayoutFile): string;
|
|
27
|
-
fixup(source: TouchLayoutFile): TouchLayoutFile;
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=keyman-touch-layout-file-writer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"keyman-touch-layout-file-writer.d.ts","sourceRoot":"","sources":["../../../src/keyman-touch-layout/keyman-touch-layout-file-writer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAA0D,MAAM,+BAA+B,CAAC;AAExH,MAAM,WAAW,4BAA4B;IAC3C,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,qBAAa,qBAAqB;IAEhC,OAAO,EAAE,4BAA4B,CAAC;gBAE1B,OAAO,CAAC,EAAE,4BAA4B;IAIlD;;;;OAIG;IACI,KAAK,CAAC,MAAM,EAAE,eAAe,GAAG,UAAU;IAMjD;;OAEG;IACI,YAAY,CAAC,MAAM,EAAE,eAAe,GAAG,MAAM;IAIpD;;;;;;;OAOG;IACI,OAAO,CAAC,MAAM,EAAE,eAAe,GAAG,MAAM;IAIxC,KAAK,CAAC,MAAM,EAAE,eAAe,GAAG,eAAe;CAmFvD"}
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
!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]="472101aa-620e-5db6-8b9e-08cc5b08cb17")}catch(e){}}();
|
|
3
|
-
;
|
|
4
|
-
export class TouchLayoutFileWriter {
|
|
5
|
-
options;
|
|
6
|
-
constructor(options) {
|
|
7
|
-
this.options = { ...options };
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Writes the touch layout to a .keyman-touch-layout JSON file
|
|
11
|
-
* @param source TouchLayoutFile
|
|
12
|
-
* @returns Uint8Array, the .keyman-touch-layout file
|
|
13
|
-
*/
|
|
14
|
-
write(source) {
|
|
15
|
-
const output = this.toJSONString(source);
|
|
16
|
-
const encoder = new TextEncoder();
|
|
17
|
-
return encoder.encode(output);
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Gets the output as a JSON string
|
|
21
|
-
*/
|
|
22
|
-
toJSONString(source) {
|
|
23
|
-
return JSON.stringify(source, null, this.options?.formatted ? 2 : undefined);
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Compiles the touch layout file into a KeymanWeb-compatible JSON-style
|
|
27
|
-
* object string. In the future, this may be optimized to remove unnecessary
|
|
28
|
-
* quoting of property names, and remove unused properties, as this string
|
|
29
|
-
* is embedded into .js code.
|
|
30
|
-
* @param source
|
|
31
|
-
* @returns string
|
|
32
|
-
*/
|
|
33
|
-
compile(source) {
|
|
34
|
-
return this.toJSONString(this.fixup(source));
|
|
35
|
-
}
|
|
36
|
-
fixup(source) {
|
|
37
|
-
// Deep copy the source
|
|
38
|
-
source = JSON.parse(JSON.stringify(source));
|
|
39
|
-
// Fixup pad, width and sp to string types, as that's what KeymanWeb
|
|
40
|
-
// currently expects
|
|
41
|
-
const fixupKey = (key) => {
|
|
42
|
-
if (Object.hasOwn(key, 'pad')) {
|
|
43
|
-
if (key.pad == 0) {
|
|
44
|
-
delete key.pad;
|
|
45
|
-
}
|
|
46
|
-
else {
|
|
47
|
-
key.pad = key.pad.toString();
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
if (Object.hasOwn(key, 'sp')) {
|
|
51
|
-
if (key.sp == 0) {
|
|
52
|
-
delete key.sp;
|
|
53
|
-
}
|
|
54
|
-
else {
|
|
55
|
-
key.sp = key.sp.toString();
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
if (Object.hasOwn(key, 'width')) {
|
|
59
|
-
if (key.width == 0) {
|
|
60
|
-
delete key.width;
|
|
61
|
-
}
|
|
62
|
-
else {
|
|
63
|
-
key.width = key.width.toString();
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
if (Object.hasOwn(key, 'text') && key.text === '')
|
|
67
|
-
delete key.text;
|
|
68
|
-
if (Object.hasOwn(key, 'id') && key.id === '')
|
|
69
|
-
delete key.id;
|
|
70
|
-
if (Object.hasOwn(key, 'hint') && key.hint === '')
|
|
71
|
-
delete key.hint;
|
|
72
|
-
if (Object.hasOwn(key, 'default') && key.default === false)
|
|
73
|
-
delete key.default;
|
|
74
|
-
};
|
|
75
|
-
const fixupPlatform = (platform) => {
|
|
76
|
-
// font and fontsize are eliminated if nullish:
|
|
77
|
-
if (Object.hasOwn(platform, 'font') && platform.font == '')
|
|
78
|
-
delete platform.font;
|
|
79
|
-
if (Object.hasOwn(platform, 'fontsize') && platform.fontsize == '')
|
|
80
|
-
delete platform.fontsize;
|
|
81
|
-
// displayUnderlying is always written out by kmcomp, so we do the same for kmc:
|
|
82
|
-
platform.displayUnderlying = !!platform.displayUnderlying;
|
|
83
|
-
for (let layer of platform.layer) {
|
|
84
|
-
for (let row of layer.row) {
|
|
85
|
-
// this matches the old spec for touch layout files
|
|
86
|
-
row.id = row.id.toString();
|
|
87
|
-
for (let key of row.key) {
|
|
88
|
-
fixupKey(key);
|
|
89
|
-
if (key.sk) {
|
|
90
|
-
for (let sk of key.sk) {
|
|
91
|
-
fixupKey(sk);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
if (key.multitap) {
|
|
95
|
-
for (let sk of key.multitap) {
|
|
96
|
-
fixupKey(sk);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
if (key.flick) {
|
|
100
|
-
for (let id of Object.keys(key.flick)) {
|
|
101
|
-
fixupKey(key.flick[id]);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
};
|
|
108
|
-
if (source.desktop) {
|
|
109
|
-
fixupPlatform(source.desktop);
|
|
110
|
-
}
|
|
111
|
-
if (source.phone) {
|
|
112
|
-
fixupPlatform(source.phone);
|
|
113
|
-
}
|
|
114
|
-
if (source.tablet) {
|
|
115
|
-
fixupPlatform(source.tablet);
|
|
116
|
-
}
|
|
117
|
-
return source;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
;
|
|
121
|
-
//# sourceMappingURL=keyman-touch-layout-file-writer.js.map
|
|
122
|
-
//# debugId=472101aa-620e-5db6-8b9e-08cc5b08cb17
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"keyman-touch-layout-file-writer.js","sources":["../../../src/keyman-touch-layout/keyman-touch-layout-file-writer.ts"],"sourceRoot":"","names":[],"mappings":";;AAIC,CAAC;AAEF,MAAM,OAAO,qBAAqB;IAEhC,OAAO,CAA+B;IAEtC,YAAY,OAAsC;QAChD,IAAI,CAAC,OAAO,GAAG,EAAC,GAAG,OAAO,EAAC,CAAC;IAC9B,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,MAAuB;QAClC,MAAM,MAAM,GAAG,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;QACzC,MAAM,OAAO,GAAG,IAAI,WAAW,EAAE,CAAC;QAClC,OAAO,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED;;OAEG;IACI,YAAY,CAAC,MAAuB;QACzC,OAAO,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;OAOG;IACI,OAAO,CAAC,MAAuB;QACpC,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;IAC/C,CAAC;IAEM,KAAK,CAAC,MAAuB;QAClC,uBAAuB;QACvB,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;QAE5C,oEAAoE;QACpE,oBAAo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AAC,QAAQ,EAAE,CAAC;gCAC3B,QAAQ,CAAC,EAAE,CAAC,CAAC;4BACf,CAAC;wBACH,CAAC;wBACD,IAAG,GAAG,CAAC,KAAK,EAAE,CAAC;4BACb,KAAI,IAAI,EAAE,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;gCACrC,QAAQ,CAAE,GAAG,CAAC,KAAa,CAAC,EAAE,CAAsB,CAAC,CAAC;4BACxD,CAAC;wBACH,CAAC;oBACH,CAAC;gBACH,CAAC;YACH,CAAC;QACH,CAAC,CAAC;QAEF,IAAG,MAAM,CAAC,OAAO,EAAE,CAAC;YAClB,aAAa,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAChC,CAAC;QACD,IAAG,MAAM,CAAC,KAAK,EAAE,CAAC;YAChB,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAC9B,CAAC;QACD,IAAG,MAAM,CAAC,MAAM,EAAE,CAAC;YACjB,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QAC/B,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;CACF;AAAA,CAAC","debug_id":"472101aa-620e-5db6-8b9e-08cc5b08cb17"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"element-string.d.ts","sourceRoot":"","sources":["../../../src/kmx/element-string.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAKvE,oBAAY,gBAAgB;IAC1B,IAAI,IAAI;IACR,IAAgC;IAChC,aAAkD;IAClD,OAAsC;CACvC;AAGD,qBAAa,WAAW;IACtB,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,gBAAgB,CAAC;IACxB,O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C,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YAClC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;gBAC3B,OAAO,KAAK,CAAC;YACf,CAAC;QACH,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AACD,CAAC","debug_id":"b454bc6e-1e17-5b21-8868-a62599dea146"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { KMXFile, GROUP, KEY, STORE, BUILDER_COMP_KEYBOARD, BUILDER_COMP_KEYBOARD_KMXPLUSINFO, BUILDER_COMP_STORE, BUILDER_COMP_GROUP, BUILDER_COMP_KEY } from './kmx.js';
|
|
2
|
-
export default class KMXBuilder {
|
|
3
|
-
file: KMXFile;
|
|
4
|
-
base_keyboard: number;
|
|
5
|
-
base_kmxplus: number;
|
|
6
|
-
comp_header: BUILDER_COMP_KEYBOARD;
|
|
7
|
-
comp_kmxplus: BUILDER_COMP_KEYBOARD_KMXPLUSINFO;
|
|
8
|
-
comp_stores: {
|
|
9
|
-
base: number;
|
|
10
|
-
store: STORE;
|
|
11
|
-
obj: BUILDER_COMP_STORE;
|
|
12
|
-
}[];
|
|
13
|
-
comp_groups: {
|
|
14
|
-
base: number;
|
|
15
|
-
group: GROUP;
|
|
16
|
-
obj: BUILDER_COMP_GROUP;
|
|
17
|
-
keys: {
|
|
18
|
-
base: number;
|
|
19
|
-
key: KEY;
|
|
20
|
-
obj: BUILDER_COMP_KEY;
|
|
21
|
-
}[];
|
|
22
|
-
}[];
|
|
23
|
-
comp_kmxplus_data: Uint8Array;
|
|
24
|
-
writeDebug: boolean;
|
|
25
|
-
constructor(file: KMXFile, writeDebug: boolean);
|
|
26
|
-
calculateStringOffsetAndSize(string: string, base: number, requireString?: boolean): number[];
|
|
27
|
-
private build;
|
|
28
|
-
buildBitmap(): number;
|
|
29
|
-
buildKMXPlus(base: number): number;
|
|
30
|
-
setString(file: Uint8Array, pos: number, str: string, requireString?: boolean): void;
|
|
31
|
-
compile(): Uint8Array;
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=kmx-builder.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"kmx-builder.d.ts","sourceRoot":"","sources":["../../../src/kmx/kmx-builder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,qBAAqB,EAAE,iCAAiC,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAI1K,MAAM,CAAC,OAAO,OAAO,UAAU;IAC7B,IAAI,EAAE,OAAO,CAAC;IACd,aAAa,EAAE,MAAM,CAAK;IAC1B,YAAY,EAAE,MAAM,CAAK;IACzB,WAAW,EAAE,qBAAqB,CAAC;IACnC,YAAY,EAAE,iCAAiC,CAAC;IAChD,WAAW,EAAE;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,KAAK,CAAC;QAAC,GAAG,EAAE,kBAAkB,CAAA;KAAC,EAAE,CAAM;IAC1E,WAAW,EAAE;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,KAAK,CAAC;QAAC,GAAG,EAAE,kBAAkB,CAAC;QAAC,IAAI,EAAE;YAAC,IAAI,EAAE,MAAM,CAAC;YAAC,GAAG,EAAE,GAAG,CAAC;YAAC,GAAG,EAAE,gBAAgB,CAAA;SAAC,EAAE,CAAA;KAAC,EAAE,CAAM;IACnI,iBAAiB,EAAE,UAAU,CAAC;IAC9B,UAAU,EAAE,OAAO,CAAS;gBAEhB,IAAI,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO;IAK9C,4BAA4B,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,aAAa,GAAE,OAAe;IASzF,OAAO,CAAC,KAAK;IAgHb,WAAW;IAKX,YAAY,CAAC,IA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