@keymanapp/common-types 17.0.255-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.
- package/build/src/consts/virtual-key-constants.d.ts +192 -194
- package/build/src/consts/virtual-key-constants.d.ts.map +1 -1
- package/build/src/keyman-touch-layout/keyman-touch-layout-file-reader.d.ts +6 -8
- package/build/src/keyman-touch-layout/keyman-touch-layout-file-reader.d.ts.map +1 -1
- package/build/src/keyman-touch-layout/keyman-touch-layout-file-writer.d.ts +29 -31
- package/build/src/keyman-touch-layout/keyman-touch-layout-file-writer.d.ts.map +1 -1
- package/build/src/keyman-touch-layout/keyman-touch-layout-file.d.ts +96 -98
- package/build/src/keyman-touch-layout/keyman-touch-layout-file.d.ts.map +1 -1
- package/build/src/keyman-touch-layout/keyman-touch-layout-file.js +29 -5
- package/build/src/keyman-touch-layout/keyman-touch-layout-file.js.map +1 -1
- package/build/src/kmx/element-string.d.ts +24 -26
- package/build/src/kmx/element-string.d.ts.map +1 -1
- package/build/src/kmx/keyman-targets.d.ts +21 -23
- package/build/src/kmx/keyman-targets.d.ts.map +1 -1
- package/build/src/kmx/kmx-builder.d.ts +33 -35
- package/build/src/kmx/kmx-builder.d.ts.map +1 -1
- package/build/src/kmx/kmx-file-reader.d.ts +14 -16
- package/build/src/kmx/kmx-file-reader.d.ts.map +1 -1
- package/build/src/kmx/kmx-plus-builder/build-disp.d.ts +19 -21
- package/build/src/kmx/kmx-plus-builder/build-disp.d.ts.map +1 -1
- package/build/src/kmx/kmx-plus-builder/build-elem.d.ts +29 -31
- package/build/src/kmx/kmx-plus-builder/build-elem.d.ts.map +1 -1
- package/build/src/kmx/kmx-plus-builder/build-keys.d.ts +57 -59
- package/build/src/kmx/kmx-plus-builder/build-keys.d.ts.map +1 -1
- package/build/src/kmx/kmx-plus-builder/build-layr.d.ts +54 -56
- package/build/src/kmx/kmx-plus-builder/build-layr.d.ts.map +1 -1
- package/build/src/kmx/kmx-plus-builder/build-list.d.ts +36 -38
- package/build/src/kmx/kmx-plus-builder/build-list.d.ts.map +1 -1
- package/build/src/kmx/kmx-plus-builder/build-loca.d.ts +12 -14
- package/build/src/kmx/kmx-plus-builder/build-loca.d.ts.map +1 -1
- package/build/src/kmx/kmx-plus-builder/build-meta.d.ts +17 -19
- package/build/src/kmx/kmx-plus-builder/build-meta.d.ts.map +1 -1
- package/build/src/kmx/kmx-plus-builder/build-sect.d.ts +16 -18
- package/build/src/kmx/kmx-plus-builder/build-sect.d.ts.map +1 -1
- package/build/src/kmx/kmx-plus-builder/build-strs.d.ts +23 -25
- package/build/src/kmx/kmx-plus-builder/build-strs.d.ts.map +1 -1
- package/build/src/kmx/kmx-plus-builder/build-tran.d.ts +33 -35
- package/build/src/kmx/kmx-plus-builder/build-tran.d.ts.map +1 -1
- package/build/src/kmx/kmx-plus-builder/build-uset.d.ts +31 -33
- package/build/src/kmx/kmx-plus-builder/build-uset.d.ts.map +1 -1
- package/build/src/kmx/kmx-plus-builder/build-vars.d.ts +22 -24
- package/build/src/kmx/kmx-plus-builder/build-vars.d.ts.map +1 -1
- package/build/src/kmx/kmx-plus-builder/builder-section.d.ts +10 -12
- package/build/src/kmx/kmx-plus-builder/builder-section.d.ts.map +1 -1
- package/build/src/kmx/kmx-plus-builder/kmx-plus-builder.d.ts +43 -45
- package/build/src/kmx/kmx-plus-builder/kmx-plus-builder.d.ts.map +1 -1
- package/build/src/kmx/kmx-plus.d.ts +320 -320
- package/build/src/kmx/kmx-plus.d.ts.map +1 -1
- package/build/src/kmx/kmx-plus.js +11 -2
- package/build/src/kmx/kmx-plus.js.map +1 -1
- package/build/src/kmx/kmx.d.ts +234 -236
- package/build/src/kmx/kmx.d.ts.map +1 -1
- package/build/src/kmx/string-list.d.ts +36 -38
- package/build/src/kmx/string-list.d.ts.map +1 -1
- package/build/src/kpj/keyman-developer-project.d.ts +79 -81
- package/build/src/kpj/keyman-developer-project.d.ts.map +1 -1
- package/build/src/kpj/kpj-file-reader.d.ts +19 -21
- package/build/src/kpj/kpj-file-reader.d.ts.map +1 -1
- package/build/src/kpj/kpj-file.d.ts +40 -42
- package/build/src/kpj/kpj-file.d.ts.map +1 -1
- package/build/src/kvk/kvk-file-reader.d.ts +5 -7
- package/build/src/kvk/kvk-file-reader.d.ts.map +1 -1
- package/build/src/kvk/kvk-file-writer.d.ts +20 -22
- package/build/src/kvk/kvk-file-writer.d.ts.map +1 -1
- package/build/src/kvk/kvk-file.d.ts +67 -69
- package/build/src/kvk/kvk-file.d.ts.map +1 -1
- package/build/src/kvk/kvk-file.js +26 -2
- package/build/src/kvk/kvk-file.js.map +1 -1
- package/build/src/kvk/kvks-file-reader.d.ts +24 -26
- package/build/src/kvk/kvks-file-reader.d.ts.map +1 -1
- package/build/src/kvk/kvks-file-writer.d.ts +7 -9
- package/build/src/kvk/kvks-file-writer.d.ts.map +1 -1
- package/build/src/kvk/kvks-file.d.ts +44 -46
- package/build/src/kvk/kvks-file.d.ts.map +1 -1
- package/build/src/kvk/visual-keyboard.d.ts +45 -47
- package/build/src/kvk/visual-keyboard.d.ts.map +1 -1
- package/build/src/kvk/visual-keyboard.js +5 -2
- package/build/src/kvk/visual-keyboard.js.map +1 -1
- package/build/src/ldml-keyboard/ldml-keyboard-testdata-xml.d.ts +61 -63
- package/build/src/ldml-keyboard/ldml-keyboard-testdata-xml.d.ts.map +1 -1
- package/build/src/ldml-keyboard/ldml-keyboard-xml-reader.d.ts +96 -98
- package/build/src/ldml-keyboard/ldml-keyboard-xml-reader.d.ts.map +1 -1
- package/build/src/ldml-keyboard/ldml-keyboard-xml.d.ts +171 -173
- package/build/src/ldml-keyboard/ldml-keyboard-xml.d.ts.map +1 -1
- package/build/src/ldml-keyboard/pattern-parser.d.ts +196 -198
- package/build/src/ldml-keyboard/pattern-parser.d.ts.map +1 -1
- package/build/src/ldml-keyboard/pattern-parser.js +18 -18
- package/build/src/ldml-keyboard/pattern-parser.js.map +1 -1
- package/build/src/ldml-keyboard/unicodeset-parser-api.d.ts +38 -40
- package/build/src/ldml-keyboard/unicodeset-parser-api.d.ts.map +1 -1
- package/build/src/main.d.ts +35 -37
- package/build/src/main.d.ts.map +1 -1
- package/build/src/osk/osk.d.ts +23 -25
- package/build/src/osk/osk.d.ts.map +1 -1
- package/build/src/package/kmp-json-file.d.ts +116 -118
- package/build/src/package/kmp-json-file.d.ts.map +1 -1
- package/build/src/package/kps-file.d.ts +176 -178
- package/build/src/package/kps-file.d.ts.map +1 -1
- package/build/src/schema-validators.d.ts +14 -16
- package/build/src/schema-validators.d.ts.map +1 -1
- package/build/src/schemas/displaymap.schema.d.ts +58 -60
- package/build/src/schemas/displaymap.schema.d.ts.map +1 -1
- package/build/src/schemas/keyboard_info.schema.d.ts +210 -212
- package/build/src/schemas/keyboard_info.schema.d.ts.map +1 -1
- package/build/src/schemas/keyman-touch-layout.clean.spec.d.ts +228 -230
- package/build/src/schemas/keyman-touch-layout.clean.spec.d.ts.map +1 -1
- package/build/src/schemas/keyman-touch-layout.spec.d.ts +230 -232
- package/build/src/schemas/keyman-touch-layout.spec.d.ts.map +1 -1
- package/build/src/schemas/kmp.schema.d.ts +325 -327
- package/build/src/schemas/kmp.schema.d.ts.map +1 -1
- package/build/src/schemas/kpj-9.0.schema.d.ts +153 -155
- package/build/src/schemas/kpj-9.0.schema.d.ts.map +1 -1
- package/build/src/schemas/kpj.schema.d.ts +123 -125
- package/build/src/schemas/kpj.schema.d.ts.map +1 -1
- package/build/src/schemas/kvks.schema.d.ts +161 -163
- package/build/src/schemas/kvks.schema.d.ts.map +1 -1
- package/build/src/schemas/ldml-keyboard3.schema.d.ts +633 -635
- package/build/src/schemas/ldml-keyboard3.schema.d.ts.map +1 -1
- package/build/src/schemas/ldml-keyboardtest3.schema.d.ts +190 -192
- package/build/src/schemas/ldml-keyboardtest3.schema.d.ts.map +1 -1
- package/build/src/schemas.d.ts +2295 -2297
- package/build/src/schemas.d.ts.map +1 -1
- package/build/src/util/common-events.d.ts +45 -47
- package/build/src/util/common-events.d.ts.map +1 -1
- package/build/src/util/compiler-interfaces.d.ts +367 -369
- package/build/src/util/compiler-interfaces.d.ts.map +1 -1
- package/build/src/util/errors.d.ts +6 -8
- package/build/src/util/errors.d.ts.map +1 -1
- package/build/src/util/file-types.d.ts +94 -96
- package/build/src/util/file-types.d.ts.map +1 -1
- package/build/src/util/file-types.js +30 -2
- package/build/src/util/file-types.js.map +1 -1
- package/build/src/util/util.d.ts +67 -67
- package/build/src/util/util.d.ts.map +1 -1
- package/build/src/util/util.js +3 -3
- package/build/src/util/util.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,40 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
*
|
|
8
|
-
* @param
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
*
|
|
14
|
-
* @
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
* @param
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
//# debugId=7f8aa4e7-e8b2-5199-b918-174035f8d904
|
|
40
|
-
//# sourceMappingURL=unicodeset-parser-api.d.ts.map
|
|
1
|
+
/**
|
|
2
|
+
* Abstraction for an interface capable of parsing a UnicodeSet
|
|
3
|
+
*/
|
|
4
|
+
export interface UnicodeSetParser {
|
|
5
|
+
/**
|
|
6
|
+
* Parse a UnicodeSet into ranges
|
|
7
|
+
* @param pattern string to parse such as `[a-z]`
|
|
8
|
+
* @param rangeCount number of ranges to allow for
|
|
9
|
+
*/
|
|
10
|
+
parseUnicodeSet(pattern: string, rangeCount: number): UnicodeSet | null;
|
|
11
|
+
/**
|
|
12
|
+
* Calculate the number of ranges in a UnicodeSet
|
|
13
|
+
* @param pattern string to parse such as `[a-z]`
|
|
14
|
+
* @returns number of ranges, or -1 (with callback-reported err) on err
|
|
15
|
+
*/
|
|
16
|
+
sizeUnicodeSet(pattern: string): number;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Parsed UnicodeSet, return value of of parseUnicodeSet()
|
|
20
|
+
*/
|
|
21
|
+
export declare class UnicodeSet {
|
|
22
|
+
pattern: string;
|
|
23
|
+
ranges: number[][];
|
|
24
|
+
/**
|
|
25
|
+
* A UnicodeSet in range form.
|
|
26
|
+
* For example, `[ħa-z]` will parse to
|
|
27
|
+
* ranges = `[[0x41, 0x7A], [0x0127, 0x0127]]` meaning `[a,z], [ħ,ħ]`
|
|
28
|
+
* @param pattern the pattern per UnicodeSet syntax such as `[a-z]`
|
|
29
|
+
* @param ranges array of 2-element arrays, 'start' and 'end'.
|
|
30
|
+
*/
|
|
31
|
+
constructor(pattern: string, ranges: number[][]);
|
|
32
|
+
/**
|
|
33
|
+
* Number of ranges
|
|
34
|
+
*/
|
|
35
|
+
get length(): number;
|
|
36
|
+
toString(): string;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=unicodeset-parser-api.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"
|
|
1
|
+
{"version":3,"file":"unicodeset-parser-api.d.ts","sourceRoot":"","sources":["../../../src/ldml-keyboard/unicodeset-parser-api.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAI,UAAU,GAAG,IAAI,CAAC;IACzE;;;;OAIG;IACH,cAAc,CAAC,OAAO,EAAE,MAAM,GAAI,MAAM,CAAC;CAC1C;AAED;;GAEG;AACH,qBAAa,UAAU;IAQF,OAAO,EAAE,MAAM;IAAS,MAAM,EAAE,MAAM,EAAE,EAAE;IAP7D;;;;;;OAMG;gBACgB,OAAO,EAAE,MAAM,EAAS,MAAM,EAAE,MAAM,EAAE,EAAE;IAE7D;;OAEG;IACH,IAAI,MAAM,IAAK,MAAM,CAEpB;IAED,QAAQ,IAAK,MAAM;CAGpB"}
|
package/build/src/main.d.ts
CHANGED
|
@@ -1,37 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
export * as
|
|
3
|
-
export
|
|
4
|
-
export {
|
|
5
|
-
export
|
|
6
|
-
export * as
|
|
7
|
-
export
|
|
8
|
-
export { default as
|
|
9
|
-
export { default as
|
|
10
|
-
export { default as
|
|
11
|
-
export { default as
|
|
12
|
-
export
|
|
13
|
-
export * as
|
|
14
|
-
export * as
|
|
15
|
-
export
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export {
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export {
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export {
|
|
28
|
-
export
|
|
29
|
-
export * as
|
|
30
|
-
export * as
|
|
31
|
-
export * as
|
|
32
|
-
export * as
|
|
33
|
-
export * as
|
|
34
|
-
export * as
|
|
35
|
-
|
|
36
|
-
//# debugId=d91be925-263d-5175-8b76-5e82f5bc9140
|
|
37
|
-
//# sourceMappingURL=main.d.ts.map
|
|
1
|
+
export * as KMX from './kmx/kmx.js';
|
|
2
|
+
export * as KMXPlus from './kmx/kmx-plus.js';
|
|
3
|
+
export { default as KMXBuilder } from './kmx/kmx-builder.js';
|
|
4
|
+
export { KmxFileReader, KmxFileReaderError } from './kmx/kmx-file-reader.js';
|
|
5
|
+
export * as KeymanTargets from './kmx/keyman-targets.js';
|
|
6
|
+
export * as VisualKeyboard from './kvk/visual-keyboard.js';
|
|
7
|
+
export { default as KMXPlusBuilder } from './kmx/kmx-plus-builder/kmx-plus-builder.js';
|
|
8
|
+
export { default as KvkFileReader } from './kvk/kvk-file-reader.js';
|
|
9
|
+
export { default as KvksFileReader } from './kvk/kvks-file-reader.js';
|
|
10
|
+
export { default as KvkFileWriter } from './kvk/kvk-file-writer.js';
|
|
11
|
+
export { default as KvksFileWriter } from './kvk/kvks-file-writer.js';
|
|
12
|
+
export * as KvkFile from './kvk/kvk-file.js';
|
|
13
|
+
export * as KvksFile from './kvk/kvks-file.js';
|
|
14
|
+
export * as LDMLKeyboard from './ldml-keyboard/ldml-keyboard-xml.js';
|
|
15
|
+
export { LDMLKeyboardTestDataXMLSourceFile } from './ldml-keyboard/ldml-keyboard-testdata-xml.js';
|
|
16
|
+
export { UnicodeSetParser, UnicodeSet } from './ldml-keyboard/unicodeset-parser-api.js';
|
|
17
|
+
export { VariableParser, MarkerParser } from './ldml-keyboard/pattern-parser.js';
|
|
18
|
+
export { LDMLKeyboardXMLSourceFileReader, LDMLKeyboardXMLSourceFileReaderOptions } from './ldml-keyboard/ldml-keyboard-xml-reader.js';
|
|
19
|
+
export * as Constants from './consts/virtual-key-constants.js';
|
|
20
|
+
export { defaultCompilerOptions, CompilerBaseOptions, CompilerCallbacks, CompilerOptions, CompilerEvent, CompilerErrorNamespace, CompilerErrorSeverity, CompilerPathCallbacks, CompilerFileSystemCallbacks, CompilerCallbackOptions, CompilerError, CompilerMessageSpec, compilerErrorSeverity, CompilerErrorMask, CompilerFileCallbacks, compilerErrorSeverityName, compilerExceptionToString, compilerErrorFormatCode, compilerLogLevelToSeverity, CompilerLogLevel, compilerEventFormat, ALL_COMPILER_LOG_LEVELS, ALL_COMPILER_LOG_FORMATS, CompilerLogFormat, CompilerMessageOverride, CompilerMessageOverrideMap, KeymanCompilerArtifact, KeymanCompilerArtifactOptional, KeymanCompilerArtifacts, KeymanCompilerResult, KeymanCompiler } from './util/compiler-interfaces.js';
|
|
21
|
+
export { CommonTypesMessages } from './util/common-events.js';
|
|
22
|
+
export * as TouchLayout from './keyman-touch-layout/keyman-touch-layout-file.js';
|
|
23
|
+
export { TouchLayoutFileReader } from './keyman-touch-layout/keyman-touch-layout-file-reader.js';
|
|
24
|
+
export { TouchLayoutFileWriter, TouchLayoutFileWriterOptions } from './keyman-touch-layout/keyman-touch-layout-file-writer.js';
|
|
25
|
+
export * as KPJ from './kpj/kpj-file.js';
|
|
26
|
+
export { KPJFileReader } from './kpj/kpj-file-reader.js';
|
|
27
|
+
export { KeymanDeveloperProject, KeymanDeveloperProjectFile, KeymanDeveloperProjectType, } from './kpj/keyman-developer-project.js';
|
|
28
|
+
export * as KpsFile from './package/kps-file.js';
|
|
29
|
+
export * as KmpJsonFile from './package/kmp-json-file.js';
|
|
30
|
+
export * as util from './util/util.js';
|
|
31
|
+
export * as KeymanFileTypes from './util/file-types.js';
|
|
32
|
+
export * as Osk from './osk/osk.js';
|
|
33
|
+
export * as Schemas from './schemas.js';
|
|
34
|
+
export * as SchemaValidators from './schema-validators.js';
|
|
35
|
+
//# sourceMappingURL=main.d.ts.map
|
package/build/src/main.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/main.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,cAAc,CAAC;AACpC,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,aAAa,MAAM,yBAAyB,CAAC;AAEzD,OAAO,KAAK,cAAc,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAC,MAAO,4CAA4C,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,cAA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EAAE,qBAAqB,EAAE,4BAA4B,EAAE,MAAM,0DAA0D,CAAC;AAE/H,OAAO,KAAK,GAAG,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,sBAAsB,EAAE,0BAA0B,EAAE,0BAA0B,GAAG,MAAM,mCAAmC,CAAC;AAEpI,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AACjD,OAAO,KAAK,WAAW,MAAM,4BAA4B,CAAC;AAE1D,OAAO,KAAK,IAAI,MAAM,gBAAgB,CAAC;AAEvC,OAAO,KAAK,eAAe,MAAM,sBAAsB,CAAC;AAExD,OAAO,KAAK,GAAG,MAAM,cAAc,CAAC;AAEpC,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAC"}
|
package/build/src/osk/osk.d.ts
CHANGED
|
@@ -1,25 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
export declare function
|
|
22
|
-
export declare function
|
|
23
|
-
|
|
24
|
-
//# debugId=3fe331ae-7754-5ccb-9d60-d10ea6e0745a
|
|
25
|
-
//# sourceMappingURL=osk.d.ts.map
|
|
1
|
+
import { TouchLayoutFile } from "../keyman-touch-layout/keyman-touch-layout-file.js";
|
|
2
|
+
import { VisualKeyboard } from "../kvk/visual-keyboard.js";
|
|
3
|
+
export interface StringRefUsage {
|
|
4
|
+
filename: string;
|
|
5
|
+
count: number;
|
|
6
|
+
}
|
|
7
|
+
export interface StringRef {
|
|
8
|
+
str: string;
|
|
9
|
+
usages: StringRefUsage[];
|
|
10
|
+
}
|
|
11
|
+
export interface StringResult {
|
|
12
|
+
str: string;
|
|
13
|
+
unicode: string;
|
|
14
|
+
pua: string;
|
|
15
|
+
usages: StringRefUsage[] | string[];
|
|
16
|
+
}
|
|
17
|
+
export type PuaMap = {
|
|
18
|
+
[index: string]: string;
|
|
19
|
+
};
|
|
20
|
+
export declare function parseMapping(mapping: any): PuaMap;
|
|
21
|
+
export declare function remapVisualKeyboard(vk: VisualKeyboard, map: PuaMap): boolean;
|
|
22
|
+
export declare function remapTouchLayout(source: TouchLayoutFile, map: PuaMap): boolean;
|
|
23
|
+
//# sourceMappingURL=osk.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"
|
|
1
|
+
{"version":3,"file":"osk.d.ts","sourceRoot":"","sources":["../../../src/osk/osk.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAA4E,MAAM,oDAAoD,CAAC;AAC/J,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAG3D,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,SAAS;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,cAAc,EAAE,CAAC;CAC1B;AAED,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,cAAc,EAAE,GAAG,MAAM,EAAE,CAAC;CACrC;AAED,MAAM,MAAM,MAAM,GAAG;IAAC,CAAC,KAAK,EAAC,MAAM,GAAG,MAAM,CAAA;CAAC,CAAC;AAE9C,wBAAgB,YAAY,CAAC,OAAO,EAAE,GAAG,UAYxC;AAkBD,wBAAgB,mBAAmB,CAAC,EAAE,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAW5E;AAED,w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|
|
94
|
-
* -
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
//# debugId=f07d892a-cfcd-51dd-9f4d-edb9ea09a3d4
|
|
118
|
-
//# sourceMappingURL=kmp-json-file.d.ts.map
|
|
1
|
+
export interface KmpJsonFile {
|
|
2
|
+
system: KmpJsonFileSystem;
|
|
3
|
+
options: KmpJsonFileOptions;
|
|
4
|
+
info?: KmpJsonFileInfo;
|
|
5
|
+
files?: KmpJsonFileContentFile[];
|
|
6
|
+
lexicalModels?: KmpJsonFileLexicalModel[];
|
|
7
|
+
startMenu?: KmpJsonFileStartMenu;
|
|
8
|
+
keyboards?: KmpJsonFileKeyboard[];
|
|
9
|
+
relatedPackages?: KmpJsonRelatedPackage[];
|
|
10
|
+
}
|
|
11
|
+
export interface KmpJsonFileSystem {
|
|
12
|
+
keymanDeveloperVersion: string;
|
|
13
|
+
fileVersion: string;
|
|
14
|
+
}
|
|
15
|
+
export interface KmpJsonFileOptions {
|
|
16
|
+
readmeFile?: string;
|
|
17
|
+
graphicFile?: string;
|
|
18
|
+
licenseFile?: string;
|
|
19
|
+
welcomeFile?: string;
|
|
20
|
+
executeProgram?: string;
|
|
21
|
+
msiFilename?: string;
|
|
22
|
+
msiOptions?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface KmpJsonFileInfo {
|
|
25
|
+
website?: KmpJsonFileInfoItem;
|
|
26
|
+
version?: KmpJsonFileInfoItem;
|
|
27
|
+
name?: KmpJsonFileInfoItem;
|
|
28
|
+
copyright?: KmpJsonFileInfoItem;
|
|
29
|
+
author?: KmpJsonFileInfoItem;
|
|
30
|
+
/**
|
|
31
|
+
* A Markdown description of the keyboard, intended for use in websites
|
|
32
|
+
* referencing the keyboard
|
|
33
|
+
*/
|
|
34
|
+
description?: KmpJsonFileInfoItem;
|
|
35
|
+
}
|
|
36
|
+
export interface KmpJsonFileInfoItem {
|
|
37
|
+
description: string;
|
|
38
|
+
url?: string;
|
|
39
|
+
}
|
|
40
|
+
export interface KmpJsonFileContentFile {
|
|
41
|
+
name: string;
|
|
42
|
+
description: string;
|
|
43
|
+
copyLocation?: number;
|
|
44
|
+
}
|
|
45
|
+
export interface KmpJsonFileLexicalModel {
|
|
46
|
+
name: string;
|
|
47
|
+
id: string;
|
|
48
|
+
languages: KmpJsonFileLanguage[];
|
|
49
|
+
}
|
|
50
|
+
export interface KmpJsonFileLanguage {
|
|
51
|
+
name: string;
|
|
52
|
+
id: string;
|
|
53
|
+
}
|
|
54
|
+
export interface KmpJsonFileKeyboard {
|
|
55
|
+
name: string;
|
|
56
|
+
id: string;
|
|
57
|
+
version: string;
|
|
58
|
+
oskFont?: string;
|
|
59
|
+
displayFont?: string;
|
|
60
|
+
rtl?: boolean;
|
|
61
|
+
languages?: KmpJsonFileLanguage[];
|
|
62
|
+
examples?: KmpJsonFileExample[];
|
|
63
|
+
/**
|
|
64
|
+
* array of web font alternatives for OSK. should be same font data as oskFont
|
|
65
|
+
*/
|
|
66
|
+
webOskFonts?: string[];
|
|
67
|
+
/**
|
|
68
|
+
* array of web font alternatives for display. should be same font data as displayFont
|
|
69
|
+
*/
|
|
70
|
+
webDisplayFonts?: string[];
|
|
71
|
+
}
|
|
72
|
+
export interface KmpJsonFileStartMenu {
|
|
73
|
+
folder?: string;
|
|
74
|
+
addUninstallEntry?: boolean;
|
|
75
|
+
items?: KmpJsonFileStartMenuItem[];
|
|
76
|
+
}
|
|
77
|
+
export interface KmpJsonFileStartMenuItem {
|
|
78
|
+
name: string;
|
|
79
|
+
filename: string;
|
|
80
|
+
arguments?: string;
|
|
81
|
+
icon?: string;
|
|
82
|
+
location?: string;
|
|
83
|
+
}
|
|
84
|
+
export interface KmpJsonFileExample {
|
|
85
|
+
/**
|
|
86
|
+
* BCP 47 identifier for the example
|
|
87
|
+
*/
|
|
88
|
+
id: string;
|
|
89
|
+
/**
|
|
90
|
+
* A space-separated list of keys.
|
|
91
|
+
* - modifiers indicated with "+"
|
|
92
|
+
* - spacebar is "space"
|
|
93
|
+
* - plus key is "shift+=" or "plus" on US English (all other punctuation as per key cap).
|
|
94
|
+
* - Hardware modifiers are: "shift", "ctrl", "alt", "left-ctrl",
|
|
95
|
+
* "right-ctrl", "left-alt", "right-alt"
|
|
96
|
+
* - Key caps should generally be their character for desktop (Latin script
|
|
97
|
+
* case insensitive), or the actual key cap for touch
|
|
98
|
+
* - Caps Lock should be indicated with "caps-on", "caps-off"
|
|
99
|
+
*
|
|
100
|
+
* e.g. "shift+a b right-alt+c space plus z z z" represents something like: "Ab{AltGr+C} +zzz"
|
|
101
|
+
*/
|
|
102
|
+
keys: string;
|
|
103
|
+
/**
|
|
104
|
+
* The text that would be generated by typing those keys
|
|
105
|
+
*/
|
|
106
|
+
text?: string;
|
|
107
|
+
/**
|
|
108
|
+
* A short description of what the text means or represents
|
|
109
|
+
*/
|
|
110
|
+
note?: string;
|
|
111
|
+
}
|
|
112
|
+
export interface KmpJsonRelatedPackage {
|
|
113
|
+
id: string;
|
|
114
|
+
relationship: "deprecates" | "related";
|
|
115
|
+
}
|
|
116
|
+
//# sourceMappingURL=kmp-json-file.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"
|
|
1
|
+
{"version":3,"file":"kmp-json-file.d.ts","sourceRoot":"","sources":["../../../src/package/kmp-json-file.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,iBAAiB,CAAC;IAC1B,OAAO,EAAE,kBAAkB,CAAC;IAC5B,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,KAAK,CAAC,EAAE,sBAAsB,EAAE,CAAC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