@keymanapp/kmc-package 18.0.41-alpha → 18.0.45-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/compiler/cp1252.d.ts +7 -7
- package/build/src/compiler/cp1252.js +287 -290
- package/build/src/compiler/cp1252.js.map +1 -1
- package/build/src/compiler/kmp-compiler.d.ts +105 -105
- package/build/src/compiler/kmp-compiler.js +502 -505
- package/build/src/compiler/kmp-compiler.js.map +1 -1
- package/build/src/compiler/kmp-inf-writer.d.ts +21 -21
- package/build/src/compiler/kmp-inf-writer.js +143 -146
- package/build/src/compiler/kmp-inf-writer.js.map +1 -1
- package/build/src/compiler/kmx-keyboard-metadata.d.ts +3 -3
- package/build/src/compiler/kmx-keyboard-metadata.js +17 -20
- package/build/src/compiler/kmx-keyboard-metadata.js.map +1 -1
- package/build/src/compiler/markdown.d.ts +12 -12
- package/build/src/compiler/markdown.js +47 -50
- package/build/src/compiler/markdown.js.map +1 -1
- package/build/src/compiler/package-compiler-messages.d.ts +130 -130
- package/build/src/compiler/package-compiler-messages.js +79 -82
- package/build/src/compiler/package-compiler-messages.js.map +1 -1
- package/build/src/compiler/package-keyboard-target-validator.d.ts +12 -12
- package/build/src/compiler/package-keyboard-target-validator.js +43 -46
- package/build/src/compiler/package-keyboard-target-validator.js.map +1 -1
- package/build/src/compiler/package-metadata-collector.d.ts +16 -16
- package/build/src/compiler/package-metadata-collector.js +80 -83
- package/build/src/compiler/package-metadata-collector.js.map +1 -1
- package/build/src/compiler/package-metadata-updater.d.ts +4 -4
- package/build/src/compiler/package-metadata-updater.js +11 -14
- package/build/src/compiler/package-metadata-updater.js.map +1 -1
- package/build/src/compiler/package-validation.d.ts +18 -18
- package/build/src/compiler/package-validation.js +178 -181
- package/build/src/compiler/package-validation.js.map +1 -1
- package/build/src/compiler/package-version-validator.d.ts +20 -20
- package/build/src/compiler/package-version-validator.js +90 -93
- package/build/src/compiler/package-version-validator.js.map +1 -1
- package/build/src/compiler/redist-files.d.ts +17 -17
- package/build/src/compiler/redist-files.js +57 -60
- package/build/src/compiler/redist-files.js.map +1 -1
- package/build/src/compiler/web-keyboard-metadata.d.ts +20 -20
- package/build/src/compiler/web-keyboard-metadata.js +35 -38
- package/build/src/compiler/web-keyboard-metadata.js.map +1 -1
- package/build/src/compiler/windows-package-installer-compiler.d.ts +106 -106
- package/build/src/compiler/windows-package-installer-compiler.js +172 -175
- package/build/src/compiler/windows-package-installer-compiler.js.map +1 -1
- package/build/src/main.d.ts +4 -4
- package/build/src/main.js +5 -8
- package/build/src/main.js.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cp1252.js","sources":["../../../src/compiler/cp1252.ts"],"
|
|
1
|
+
{"version":3,"file":"cp1252.js","sourceRoot":"","sources":["../../../src/compiler/cp1252.ts"],"names":[],"mappings":"AACA;;;;;GAKG;AACH,MAAM,UAAU,iBAAiB,CAAC,CAAS;IACzC,oBAAoB,EAAE,CAAC;IACvB,IAAI,MAAM,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;IACtC,KAAI,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACjC,MAAM,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;IACnE,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,SAAS,oBAAoB;IAC3B,IAAG,cAAc,CAAC,MAAM,CAAC,EAAE,CAAC;QAC1B,OAAO;IACT,CAAC;IACD,KAAI,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,cAAc,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QAC9C,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC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D,UAAU,CAAC,MAAM,EAAG,wCAAwC;IAC5D,UAAU,CAAC,MAAM,EAAG,uCAAuC;IAC3D,UAAU,CAAC,MAAM,EAAG,mCAAmC;IACvD,UAAU,CAAC,MAAM,EAAG,4BAA4B;IAChD,UAAU,CAAC,MAAM,CAAG,uCAAuC;CAC5D,CAAC"}
|
|
@@ -1,106 +1,106 @@
|
|
|
1
|
-
import { KmpJsonFile, KpsFile, CompilerCallbacks, KeymanCompiler, CompilerOptions, KeymanCompilerResult, KeymanCompilerArtifacts, KeymanCompilerArtifact } from '@keymanapp/common-types';
|
|
2
|
-
/**
|
|
3
|
-
* @public
|
|
4
|
-
* Options for the .kps compiler
|
|
5
|
-
*/
|
|
6
|
-
export interface KmpCompilerOptions extends CompilerOptions {
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* @public
|
|
10
|
-
* Internal in-memory build artifacts from a successful compilation
|
|
11
|
-
*/
|
|
12
|
-
export interface KmpCompilerArtifacts extends KeymanCompilerArtifacts {
|
|
13
|
-
/**
|
|
14
|
-
* Binary keyboard package filedata and filename - installable into Keyman
|
|
15
|
-
* desktop and mobile projects
|
|
16
|
-
*/
|
|
17
|
-
kmp: KeymanCompilerArtifact;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* @public
|
|
21
|
-
* Build artifacts from the .kps compiler
|
|
22
|
-
*/
|
|
23
|
-
export interface KmpCompilerResult extends KeymanCompilerResult {
|
|
24
|
-
/**
|
|
25
|
-
* Internal in-memory build artifacts from a successful compilation. Caller
|
|
26
|
-
* can write these to disk with {@link KmpCompiler.write}
|
|
27
|
-
*/
|
|
28
|
-
artifacts: KmpCompilerArtifacts;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* @public
|
|
32
|
-
* Compiles a .kps file to a .kmp archive. The compiler does not read or write
|
|
33
|
-
* from filesystem or network directly, but relies on callbacks for all external
|
|
34
|
-
* IO.
|
|
35
|
-
*/
|
|
36
|
-
export declare class KmpCompiler implements KeymanCompiler {
|
|
37
|
-
private callbacks;
|
|
38
|
-
private options;
|
|
39
|
-
/**
|
|
40
|
-
* Initialize the compiler.
|
|
41
|
-
* Copies options.
|
|
42
|
-
* @param callbacks - Callbacks for external interfaces, including message
|
|
43
|
-
* reporting and file io
|
|
44
|
-
* @param options - Compiler options
|
|
45
|
-
* @returns false if initialization fails
|
|
46
|
-
*/
|
|
47
|
-
init(callbacks: CompilerCallbacks, options: KmpCompilerOptions): Promise<boolean>;
|
|
48
|
-
/**
|
|
49
|
-
* Compiles a .kps file to .kmp file. Returns an object containing binary
|
|
50
|
-
* artifacts on success. The files are passed in by name, and the compiler
|
|
51
|
-
* will use callbacks as passed to the {@link KmpCompiler.init} function
|
|
52
|
-
* to read any input files by disk.
|
|
53
|
-
* @param infile - Path to source file. Path will be parsed to find relative
|
|
54
|
-
* references in the .kmn file, such as icon or On Screen
|
|
55
|
-
* Keyboard file
|
|
56
|
-
* @param outfile - Path to output file. The file will not be written to, but
|
|
57
|
-
* will be included in the result for use by
|
|
58
|
-
* {@link KmpCompiler.write}.
|
|
59
|
-
* @returns Binary artifacts on success, null on failure.
|
|
60
|
-
*/
|
|
61
|
-
run(inputFilename: string, outputFilename?: string): Promise<KmpCompilerResult>;
|
|
62
|
-
/**
|
|
63
|
-
* Write artifacts from a successful compile to disk, via callbacks methods.
|
|
64
|
-
* The artifacts written may include:
|
|
65
|
-
*
|
|
66
|
-
* - .kmp file - binary keyboard package used by Keyman on desktop and touch
|
|
67
|
-
* platforms
|
|
68
|
-
*
|
|
69
|
-
* @param artifacts - object containing artifact binary data to write out
|
|
70
|
-
* @returns true on success
|
|
71
|
-
*/
|
|
72
|
-
write(artifacts: KmpCompilerArtifacts): Promise<boolean>;
|
|
73
|
-
/**
|
|
74
|
-
* @internal
|
|
75
|
-
*/
|
|
76
|
-
transformKpsToKmpObject(kpsFilename: string): KmpJsonFile.KmpJsonFile;
|
|
77
|
-
/**
|
|
78
|
-
* @internal
|
|
79
|
-
*/
|
|
80
|
-
loadKpsFile(kpsFilename: string): KpsFile.KpsFile;
|
|
81
|
-
readonly normalizePath: (path: string) => string;
|
|
82
|
-
/**
|
|
83
|
-
* @internal
|
|
84
|
-
*/
|
|
85
|
-
transformKpsFileToKmpObject(kpsFilename: string, kps: KpsFile.KpsFile): KmpJsonFile.KmpJsonFile;
|
|
86
|
-
private kpsInfoToKmpInfo;
|
|
87
|
-
private arrayWrap;
|
|
88
|
-
private kpsLanguagesToKmpLanguages;
|
|
89
|
-
private stripUndefined;
|
|
90
|
-
/**
|
|
91
|
-
* @internal
|
|
92
|
-
* Returns a Promise to the serialized data which can then be written to a .kmp file.
|
|
93
|
-
*
|
|
94
|
-
* @param kpsFilename - Filename of the kps, not read, used only for calculating relative paths
|
|
95
|
-
* @param kmpJsonData - The kmp.json Object
|
|
96
|
-
*/
|
|
97
|
-
buildKmpFile(kpsFilename: string, kmpJsonData: KmpJsonFile.KmpJsonFile): Promise<Uint8Array>;
|
|
98
|
-
private buildKmpInf;
|
|
99
|
-
/**
|
|
100
|
-
* Legacy .kmp compiler would transform xml-format .kvk files into a binary .kvk file; now
|
|
101
|
-
* we want that to remain the responsibility of the keyboard compiler, so we'll warn the
|
|
102
|
-
* few users who are still doing this
|
|
103
|
-
*/
|
|
104
|
-
private warnIfKvkFileIsNotBinary;
|
|
105
|
-
}
|
|
1
|
+
import { KmpJsonFile, KpsFile, CompilerCallbacks, KeymanCompiler, CompilerOptions, KeymanCompilerResult, KeymanCompilerArtifacts, KeymanCompilerArtifact } from '@keymanapp/common-types';
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
* Options for the .kps compiler
|
|
5
|
+
*/
|
|
6
|
+
export interface KmpCompilerOptions extends CompilerOptions {
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
* Internal in-memory build artifacts from a successful compilation
|
|
11
|
+
*/
|
|
12
|
+
export interface KmpCompilerArtifacts extends KeymanCompilerArtifacts {
|
|
13
|
+
/**
|
|
14
|
+
* Binary keyboard package filedata and filename - installable into Keyman
|
|
15
|
+
* desktop and mobile projects
|
|
16
|
+
*/
|
|
17
|
+
kmp: KeymanCompilerArtifact;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
* Build artifacts from the .kps compiler
|
|
22
|
+
*/
|
|
23
|
+
export interface KmpCompilerResult extends KeymanCompilerResult {
|
|
24
|
+
/**
|
|
25
|
+
* Internal in-memory build artifacts from a successful compilation. Caller
|
|
26
|
+
* can write these to disk with {@link KmpCompiler.write}
|
|
27
|
+
*/
|
|
28
|
+
artifacts: KmpCompilerArtifacts;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
* Compiles a .kps file to a .kmp archive. The compiler does not read or write
|
|
33
|
+
* from filesystem or network directly, but relies on callbacks for all external
|
|
34
|
+
* IO.
|
|
35
|
+
*/
|
|
36
|
+
export declare class KmpCompiler implements KeymanCompiler {
|
|
37
|
+
private callbacks;
|
|
38
|
+
private options;
|
|
39
|
+
/**
|
|
40
|
+
* Initialize the compiler.
|
|
41
|
+
* Copies options.
|
|
42
|
+
* @param callbacks - Callbacks for external interfaces, including message
|
|
43
|
+
* reporting and file io
|
|
44
|
+
* @param options - Compiler options
|
|
45
|
+
* @returns false if initialization fails
|
|
46
|
+
*/
|
|
47
|
+
init(callbacks: CompilerCallbacks, options: KmpCompilerOptions): Promise<boolean>;
|
|
48
|
+
/**
|
|
49
|
+
* Compiles a .kps file to .kmp file. Returns an object containing binary
|
|
50
|
+
* artifacts on success. The files are passed in by name, and the compiler
|
|
51
|
+
* will use callbacks as passed to the {@link KmpCompiler.init} function
|
|
52
|
+
* to read any input files by disk.
|
|
53
|
+
* @param infile - Path to source file. Path will be parsed to find relative
|
|
54
|
+
* references in the .kmn file, such as icon or On Screen
|
|
55
|
+
* Keyboard file
|
|
56
|
+
* @param outfile - Path to output file. The file will not be written to, but
|
|
57
|
+
* will be included in the result for use by
|
|
58
|
+
* {@link KmpCompiler.write}.
|
|
59
|
+
* @returns Binary artifacts on success, null on failure.
|
|
60
|
+
*/
|
|
61
|
+
run(inputFilename: string, outputFilename?: string): Promise<KmpCompilerResult>;
|
|
62
|
+
/**
|
|
63
|
+
* Write artifacts from a successful compile to disk, via callbacks methods.
|
|
64
|
+
* The artifacts written may include:
|
|
65
|
+
*
|
|
66
|
+
* - .kmp file - binary keyboard package used by Keyman on desktop and touch
|
|
67
|
+
* platforms
|
|
68
|
+
*
|
|
69
|
+
* @param artifacts - object containing artifact binary data to write out
|
|
70
|
+
* @returns true on success
|
|
71
|
+
*/
|
|
72
|
+
write(artifacts: KmpCompilerArtifacts): Promise<boolean>;
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
transformKpsToKmpObject(kpsFilename: string): KmpJsonFile.KmpJsonFile;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
loadKpsFile(kpsFilename: string): KpsFile.KpsFile;
|
|
81
|
+
readonly normalizePath: (path: string) => string;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
transformKpsFileToKmpObject(kpsFilename: string, kps: KpsFile.KpsFile): KmpJsonFile.KmpJsonFile;
|
|
86
|
+
private kpsInfoToKmpInfo;
|
|
87
|
+
private arrayWrap;
|
|
88
|
+
private kpsLanguagesToKmpLanguages;
|
|
89
|
+
private stripUndefined;
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
* Returns a Promise to the serialized data which can then be written to a .kmp file.
|
|
93
|
+
*
|
|
94
|
+
* @param kpsFilename - Filename of the kps, not read, used only for calculating relative paths
|
|
95
|
+
* @param kmpJsonData - The kmp.json Object
|
|
96
|
+
*/
|
|
97
|
+
buildKmpFile(kpsFilename: string, kmpJsonData: KmpJsonFile.KmpJsonFile): Promise<Uint8Array>;
|
|
98
|
+
private buildKmpInf;
|
|
99
|
+
/**
|
|
100
|
+
* Legacy .kmp compiler would transform xml-format .kvk files into a binary .kvk file; now
|
|
101
|
+
* we want that to remain the responsibility of the keyboard compiler, so we'll warn the
|
|
102
|
+
* few users who are still doing this
|
|
103
|
+
*/
|
|
104
|
+
private warnIfKvkFileIsNotBinary;
|
|
105
|
+
}
|
|
106
106
|
//# sourceMappingURL=kmp-compiler.d.ts.map
|