@keymanapp/common-types 17.0.155-alpha → 17.0.157-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 (246) hide show
  1. package/build/src/consts/virtual-key-constants.d.ts +144 -138
  2. package/build/src/consts/virtual-key-constants.d.ts.map +1 -1
  3. package/build/src/consts/virtual-key-constants.js +258 -252
  4. package/build/src/consts/virtual-key-constants.js.map +1 -1
  5. package/build/src/keyman-touch-layout/keyman-touch-layout-file-reader.d.ts +8 -7
  6. package/build/src/keyman-touch-layout/keyman-touch-layout-file-reader.d.ts.map +1 -1
  7. package/build/src/keyman-touch-layout/keyman-touch-layout-file-reader.js +76 -74
  8. package/build/src/keyman-touch-layout/keyman-touch-layout-file-reader.js.map +1 -1
  9. package/build/src/keyman-touch-layout/keyman-touch-layout-file-writer.d.ts +31 -24
  10. package/build/src/keyman-touch-layout/keyman-touch-layout-file-writer.d.ts.map +1 -1
  11. package/build/src/keyman-touch-layout/keyman-touch-layout-file-writer.js +119 -75
  12. package/build/src/keyman-touch-layout/keyman-touch-layout-file-writer.js.map +1 -1
  13. package/build/src/keyman-touch-layout/keyman-touch-layout-file.d.ts +78 -76
  14. package/build/src/keyman-touch-layout/keyman-touch-layout-file.d.ts.map +1 -1
  15. package/build/src/keyman-touch-layout/keyman-touch-layout-file.js +28 -26
  16. package/build/src/keyman-touch-layout/keyman-touch-layout-file.js.map +1 -1
  17. package/build/src/kmx/element-string.d.ts +26 -24
  18. package/build/src/kmx/element-string.d.ts.map +1 -1
  19. package/build/src/kmx/element-string.js +121 -119
  20. package/build/src/kmx/element-string.js.map +1 -1
  21. package/build/src/kmx/keyman-targets.d.ts +23 -0
  22. package/build/src/kmx/keyman-targets.d.ts.map +1 -0
  23. package/build/src/kmx/keyman-targets.js +80 -0
  24. package/build/src/kmx/keyman-targets.js.map +1 -0
  25. package/build/src/kmx/kmx-builder.d.ts +35 -33
  26. package/build/src/kmx/kmx-builder.d.ts.map +1 -1
  27. package/build/src/kmx/kmx-builder.js +190 -188
  28. package/build/src/kmx/kmx-builder.js.map +1 -1
  29. package/build/src/kmx/kmx-file-reader.d.ts +16 -7
  30. package/build/src/kmx/kmx-file-reader.d.ts.map +1 -1
  31. package/build/src/kmx/kmx-file-reader.js +135 -38
  32. package/build/src/kmx/kmx-file-reader.js.map +1 -1
  33. package/build/src/kmx/kmx-plus-builder/build-disp.d.ts +20 -18
  34. package/build/src/kmx/kmx-plus-builder/build-disp.d.ts.map +1 -1
  35. package/build/src/kmx/kmx-plus-builder/build-disp.js +27 -25
  36. package/build/src/kmx/kmx-plus-builder/build-disp.js.map +1 -1
  37. package/build/src/kmx/kmx-plus-builder/build-elem.d.ts +31 -29
  38. package/build/src/kmx/kmx-plus-builder/build-elem.d.ts.map +1 -1
  39. package/build/src/kmx/kmx-plus-builder/build-elem.js +90 -88
  40. package/build/src/kmx/kmx-plus-builder/build-elem.js.map +1 -1
  41. package/build/src/kmx/kmx-plus-builder/build-keys.d.ts +60 -58
  42. package/build/src/kmx/kmx-plus-builder/build-keys.d.ts.map +1 -1
  43. package/build/src/kmx/kmx-plus-builder/build-keys.js +109 -107
  44. package/build/src/kmx/kmx-plus-builder/build-keys.js.map +1 -1
  45. package/build/src/kmx/kmx-plus-builder/build-layr.d.ts +56 -54
  46. package/build/src/kmx/kmx-plus-builder/build-layr.d.ts.map +1 -1
  47. package/build/src/kmx/kmx-plus-builder/build-layr.js +101 -99
  48. package/build/src/kmx/kmx-plus-builder/build-layr.js.map +1 -1
  49. package/build/src/kmx/kmx-plus-builder/build-list.d.ts +38 -36
  50. package/build/src/kmx/kmx-plus-builder/build-list.d.ts.map +1 -1
  51. package/build/src/kmx/kmx-plus-builder/build-list.js +67 -65
  52. package/build/src/kmx/kmx-plus-builder/build-list.js.map +1 -1
  53. package/build/src/kmx/kmx-plus-builder/build-loca.d.ts +14 -12
  54. package/build/src/kmx/kmx-plus-builder/build-loca.d.ts.map +1 -1
  55. package/build/src/kmx/kmx-plus-builder/build-loca.js +22 -20
  56. package/build/src/kmx/kmx-plus-builder/build-loca.js.map +1 -1
  57. package/build/src/kmx/kmx-plus-builder/build-meta.d.ts +19 -17
  58. package/build/src/kmx/kmx-plus-builder/build-meta.d.ts.map +1 -1
  59. package/build/src/kmx/kmx-plus-builder/build-meta.js +23 -21
  60. package/build/src/kmx/kmx-plus-builder/build-meta.js.map +1 -1
  61. package/build/src/kmx/kmx-plus-builder/build-name.d.ts +14 -12
  62. package/build/src/kmx/kmx-plus-builder/build-name.d.ts.map +1 -1
  63. package/build/src/kmx/kmx-plus-builder/build-name.js +25 -23
  64. package/build/src/kmx/kmx-plus-builder/build-name.js.map +1 -1
  65. package/build/src/kmx/kmx-plus-builder/build-sect.d.ts +18 -16
  66. package/build/src/kmx/kmx-plus-builder/build-sect.d.ts.map +1 -1
  67. package/build/src/kmx/kmx-plus-builder/build-sect.js +16 -14
  68. package/build/src/kmx/kmx-plus-builder/build-sect.js.map +1 -1
  69. package/build/src/kmx/kmx-plus-builder/build-strs.d.ts +25 -23
  70. package/build/src/kmx/kmx-plus-builder/build-strs.d.ts.map +1 -1
  71. package/build/src/kmx/kmx-plus-builder/build-strs.js +47 -45
  72. package/build/src/kmx/kmx-plus-builder/build-strs.js.map +1 -1
  73. package/build/src/kmx/kmx-plus-builder/build-tran.d.ts +35 -33
  74. package/build/src/kmx/kmx-plus-builder/build-tran.d.ts.map +1 -1
  75. package/build/src/kmx/kmx-plus-builder/build-tran.js +70 -68
  76. package/build/src/kmx/kmx-plus-builder/build-tran.js.map +1 -1
  77. package/build/src/kmx/kmx-plus-builder/build-uset.d.ts +33 -31
  78. package/build/src/kmx/kmx-plus-builder/build-uset.d.ts.map +1 -1
  79. package/build/src/kmx/kmx-plus-builder/build-uset.js +61 -59
  80. package/build/src/kmx/kmx-plus-builder/build-uset.js.map +1 -1
  81. package/build/src/kmx/kmx-plus-builder/build-vars.d.ts +24 -22
  82. package/build/src/kmx/kmx-plus-builder/build-vars.d.ts.map +1 -1
  83. package/build/src/kmx/kmx-plus-builder/build-vars.js +49 -47
  84. package/build/src/kmx/kmx-plus-builder/build-vars.js.map +1 -1
  85. package/build/src/kmx/kmx-plus-builder/build-vkey.d.ts +18 -16
  86. package/build/src/kmx/kmx-plus-builder/build-vkey.d.ts.map +1 -1
  87. package/build/src/kmx/kmx-plus-builder/build-vkey.js +25 -23
  88. package/build/src/kmx/kmx-plus-builder/build-vkey.js.map +1 -1
  89. package/build/src/kmx/kmx-plus-builder/builder-section.d.ts +12 -10
  90. package/build/src/kmx/kmx-plus-builder/builder-section.d.ts.map +1 -1
  91. package/build/src/kmx/kmx-plus-builder/builder-section.js +5 -3
  92. package/build/src/kmx/kmx-plus-builder/builder-section.js.map +1 -1
  93. package/build/src/kmx/kmx-plus-builder/kmx-plus-builder.d.ts +49 -47
  94. package/build/src/kmx/kmx-plus-builder/kmx-plus-builder.d.ts.map +1 -1
  95. package/build/src/kmx/kmx-plus-builder/kmx-plus-builder.js +146 -144
  96. package/build/src/kmx/kmx-plus-builder/kmx-plus-builder.js.map +1 -1
  97. package/build/src/kmx/kmx-plus.d.ts +331 -329
  98. package/build/src/kmx/kmx-plus.d.ts.map +1 -1
  99. package/build/src/kmx/kmx-plus.js +835 -833
  100. package/build/src/kmx/kmx-plus.js.map +1 -1
  101. package/build/src/kmx/kmx.d.ts +235 -209
  102. package/build/src/kmx/kmx.d.ts.map +1 -1
  103. package/build/src/kmx/kmx.js +299 -276
  104. package/build/src/kmx/kmx.js.map +1 -1
  105. package/build/src/kmx/string-list.d.ts +36 -34
  106. package/build/src/kmx/string-list.d.ts.map +1 -1
  107. package/build/src/kmx/string-list.js +85 -83
  108. package/build/src/kmx/string-list.js.map +1 -1
  109. package/build/src/kpj/keyman-developer-project.d.ts +74 -63
  110. package/build/src/kpj/keyman-developer-project.d.ts.map +1 -1
  111. package/build/src/kpj/keyman-developer-project.js +165 -146
  112. package/build/src/kpj/keyman-developer-project.js.map +1 -1
  113. package/build/src/kpj/kpj-file-reader.d.ts +21 -19
  114. package/build/src/kpj/kpj-file-reader.d.ts.map +1 -1
  115. package/build/src/kpj/kpj-file-reader.js +110 -96
  116. package/build/src/kpj/kpj-file-reader.js.map +1 -1
  117. package/build/src/kpj/kpj-file.d.ts +41 -39
  118. package/build/src/kpj/kpj-file.d.ts.map +1 -1
  119. package/build/src/kpj/kpj-file.js +13 -11
  120. package/build/src/kpj/kpj-file.js.map +1 -1
  121. package/build/src/kvk/kvk-file-reader.d.ts +7 -5
  122. package/build/src/kvk/kvk-file-reader.d.ts.map +1 -1
  123. package/build/src/kvk/kvk-file-reader.js +38 -35
  124. package/build/src/kvk/kvk-file-reader.js.map +1 -1
  125. package/build/src/kvk/kvk-file-writer.d.ts +22 -20
  126. package/build/src/kvk/kvk-file-writer.d.ts.map +1 -1
  127. package/build/src/kvk/kvk-file-writer.js +78 -67
  128. package/build/src/kvk/kvk-file-writer.js.map +1 -1
  129. package/build/src/kvk/kvk-file.d.ts +68 -65
  130. package/build/src/kvk/kvk-file.d.ts.map +1 -1
  131. package/build/src/kvk/kvk-file.js +67 -64
  132. package/build/src/kvk/kvk-file.js.map +1 -1
  133. package/build/src/kvk/kvks-file-reader.d.ts +26 -23
  134. package/build/src/kvk/kvks-file-reader.d.ts.map +1 -1
  135. package/build/src/kvk/kvks-file-reader.js +179 -151
  136. package/build/src/kvk/kvks-file-reader.js.map +1 -1
  137. package/build/src/kvk/kvks-file-writer.d.ts +9 -6
  138. package/build/src/kvk/kvks-file-writer.d.ts.map +1 -1
  139. package/build/src/kvk/kvks-file-writer.js +107 -98
  140. package/build/src/kvk/kvks-file-writer.js.map +1 -1
  141. package/build/src/kvk/kvks-file.d.ts +46 -44
  142. package/build/src/kvk/kvks-file.d.ts.map +1 -1
  143. package/build/src/kvk/kvks-file.js +12 -10
  144. package/build/src/kvk/kvks-file.js.map +1 -1
  145. package/build/src/kvk/visual-keyboard.d.ts +47 -35
  146. package/build/src/kvk/visual-keyboard.d.ts.map +1 -1
  147. package/build/src/kvk/visual-keyboard.js +73 -61
  148. package/build/src/kvk/visual-keyboard.js.map +1 -1
  149. package/build/src/ldml-keyboard/ldml-keyboard-testdata-xml.d.ts +58 -56
  150. package/build/src/ldml-keyboard/ldml-keyboard-testdata-xml.d.ts.map +1 -1
  151. package/build/src/ldml-keyboard/ldml-keyboard-testdata-xml.js +22 -20
  152. package/build/src/ldml-keyboard/ldml-keyboard-testdata-xml.js.map +1 -1
  153. package/build/src/ldml-keyboard/ldml-keyboard-xml-reader.d.ts +97 -95
  154. package/build/src/ldml-keyboard/ldml-keyboard-xml-reader.d.ts.map +1 -1
  155. package/build/src/ldml-keyboard/ldml-keyboard-xml-reader.js +387 -385
  156. package/build/src/ldml-keyboard/ldml-keyboard-xml-reader.js.map +1 -1
  157. package/build/src/ldml-keyboard/ldml-keyboard-xml.d.ts +163 -161
  158. package/build/src/ldml-keyboard/ldml-keyboard-xml.d.ts.map +1 -1
  159. package/build/src/ldml-keyboard/ldml-keyboard-xml.js +41 -39
  160. package/build/src/ldml-keyboard/ldml-keyboard-xml.js.map +1 -1
  161. package/build/src/ldml-keyboard/pattern-parser.d.ts +138 -136
  162. package/build/src/ldml-keyboard/pattern-parser.d.ts.map +1 -1
  163. package/build/src/ldml-keyboard/pattern-parser.js +245 -243
  164. package/build/src/ldml-keyboard/pattern-parser.js.map +1 -1
  165. package/build/src/ldml-keyboard/unicodeset-parser-api.d.ts +40 -38
  166. package/build/src/ldml-keyboard/unicodeset-parser-api.d.ts.map +1 -1
  167. package/build/src/ldml-keyboard/unicodeset-parser-api.js +30 -28
  168. package/build/src/ldml-keyboard/unicodeset-parser-api.js.map +1 -1
  169. package/build/src/main.d.ts +36 -29
  170. package/build/src/main.d.ts.map +1 -1
  171. package/build/src/main.js +35 -28
  172. package/build/src/main.js.map +1 -1
  173. package/build/src/osk/osk.d.ts +25 -0
  174. package/build/src/osk/osk.d.ts.map +1 -0
  175. package/build/src/osk/osk.js +89 -0
  176. package/build/src/osk/osk.js.map +1 -0
  177. package/build/src/package/kmp-json-file.d.ts +69 -68
  178. package/build/src/package/kmp-json-file.d.ts.map +1 -1
  179. package/build/src/package/kmp-json-file.js +4 -2
  180. package/build/src/package/kmp-json-file.js.map +1 -1
  181. package/build/src/package/kps-file.d.ts +100 -98
  182. package/build/src/package/kps-file.d.ts.map +1 -1
  183. package/build/src/package/kps-file.js +18 -16
  184. package/build/src/package/kps-file.js.map +1 -1
  185. package/build/src/schemas/displaymap.schema.d.ts +60 -0
  186. package/build/src/schemas/displaymap.schema.d.ts.map +1 -0
  187. package/build/src/schemas/displaymap.schema.js +38 -0
  188. package/build/src/schemas/displaymap.schema.js.map +1 -0
  189. package/build/src/schemas/keyman-touch-layout.clean.spec.d.ts +230 -0
  190. package/build/src/schemas/keyman-touch-layout.clean.spec.d.ts.map +1 -0
  191. package/build/src/schemas/keyman-touch-layout.clean.spec.js +154 -0
  192. package/build/src/schemas/keyman-touch-layout.clean.spec.js.map +1 -0
  193. package/build/src/schemas/keyman-touch-layout.spec.d.ts +229 -0
  194. package/build/src/schemas/keyman-touch-layout.spec.d.ts.map +1 -0
  195. package/build/src/schemas/keyman-touch-layout.spec.js +142 -0
  196. package/build/src/schemas/keyman-touch-layout.spec.js.map +1 -0
  197. package/build/src/schemas/kpj-9.0.schema.d.ts +155 -0
  198. package/build/src/schemas/kpj-9.0.schema.d.ts.map +1 -0
  199. package/build/src/schemas/kpj-9.0.schema.js +134 -0
  200. package/build/src/schemas/kpj-9.0.schema.js.map +1 -0
  201. package/build/src/schemas/kpj.schema.d.ts +121 -0
  202. package/build/src/schemas/kpj.schema.d.ts.map +1 -0
  203. package/build/src/schemas/kpj.schema.js +128 -0
  204. package/build/src/schemas/kpj.schema.js.map +1 -0
  205. package/build/src/schemas/kvks.schema.d.ts +163 -0
  206. package/build/src/schemas/kvks.schema.d.ts.map +1 -0
  207. package/build/src/schemas/kvks.schema.js +185 -0
  208. package/build/src/schemas/kvks.schema.js.map +1 -0
  209. package/build/src/schemas/ldml-keyboard.schema.d.ts +634 -0
  210. package/build/src/schemas/ldml-keyboard.schema.d.ts.map +1 -0
  211. package/build/src/schemas/ldml-keyboard.schema.js +705 -0
  212. package/build/src/schemas/ldml-keyboard.schema.js.map +1 -0
  213. package/build/src/schemas/ldml-keyboardtest.schema.d.ts +191 -0
  214. package/build/src/schemas/ldml-keyboardtest.schema.d.ts.map +1 -0
  215. package/build/src/schemas/ldml-keyboardtest.schema.js +224 -0
  216. package/build/src/schemas/ldml-keyboardtest.schema.js.map +1 -0
  217. package/build/src/schemas.d.ts +1757 -0
  218. package/build/src/schemas.d.ts.map +1 -0
  219. package/build/src/schemas.js +22 -0
  220. package/build/src/schemas.js.map +1 -0
  221. package/build/src/util/common-events.d.ts +51 -49
  222. package/build/src/util/common-events.d.ts.map +1 -1
  223. package/build/src/util/common-events.js +31 -29
  224. package/build/src/util/common-events.js.map +1 -1
  225. package/build/src/util/compiler-interfaces.d.ts +296 -136
  226. package/build/src/util/compiler-interfaces.d.ts.map +1 -1
  227. package/build/src/util/compiler-interfaces.js +294 -104
  228. package/build/src/util/compiler-interfaces.js.map +1 -1
  229. package/build/src/util/errors.d.ts +8 -0
  230. package/build/src/util/errors.d.ts.map +1 -0
  231. package/build/src/util/errors.js +8 -0
  232. package/build/src/util/errors.js.map +1 -0
  233. package/build/src/util/file-types.d.ts +98 -0
  234. package/build/src/util/file-types.d.ts.map +1 -0
  235. package/build/src/util/file-types.js +117 -0
  236. package/build/src/util/file-types.js.map +1 -0
  237. package/build/src/util/util.d.ts +32 -30
  238. package/build/src/util/util.d.ts.map +1 -1
  239. package/build/src/util/util.js +98 -96
  240. package/build/src/util/util.js.map +1 -1
  241. package/package.json +23 -4
  242. package/build/src/keyman-touch-layout.clean.spec.json +0 -170
  243. package/build/src/kpj.schema.json +0 -127
  244. package/build/src/kvks.schema.json +0 -182
  245. package/build/src/ldml-keyboard.schema.json +0 -702
  246. package/build/src/ldml-keyboardtest.schema.json +0 -221
@@ -1,136 +1,296 @@
1
- /**
2
- * Abstract interface for compiler error and warning messages
3
- */
4
- export interface CompilerEvent {
5
- filename?: string;
6
- line?: number;
7
- code: number;
8
- message: string;
9
- }
10
- export declare enum CompilerErrorSeverity {
11
- Info = 0,
12
- Hint = 1048576,
13
- Warn = 2097152,
14
- Error = 3145728,
15
- Fatal = 4194304,
16
- Severity_Mask = 15728640,
17
- Error_Mask = 1048575,
18
- Namespace_Mask = 1044480,
19
- BaseError_Mask = 4095,
20
- Reserved_Mask = 4278190080
21
- }
22
- export declare function compilerErrorSeverityName(code: number): string;
23
- /**
24
- * Format the error code number
25
- * example: "FATAL:0x03004"
26
- */
27
- export declare function compilerErrorFormatCode(code: number): string;
28
- /**
29
- * @param e event or array of events
30
- * @returns string
31
- */
32
- export declare function compilerEventFormat(e: CompilerEvent | CompilerEvent[]): string;
33
- /**
34
- * Defines the error code ranges for various compilers. Once defined, these
35
- * ranges must not be changed as external modules may depend on specific error
36
- * codes. Individual errors are defined at a compiler level, for example,
37
- * kmc-ldml/src/compiler/messages.ts.
38
- */
39
- export declare enum CompilerErrorNamespace {
40
- /**
41
- * kmc-ldml errors between 0x0000…0x0FFF
42
- */
43
- LdmlKeyboardCompiler = 0,
44
- /**
45
- * common/web/types errors between 0x1000…0x1FFF
46
- */
47
- CommonTypes = 4096,
48
- /**
49
- * kmc-kmn errors between 0x2000…0x2FFF; these map to
50
- * the base codes found in kmn_compiler_errors.h, exclusive severity flags
51
- */
52
- KmnCompiler = 8192,
53
- /**
54
- * kmc-model errors between 0x3000…0x3FFF
55
- */
56
- ModelCompiler = 12288,
57
- /**
58
- * kmc-package errors between 0x4000…0x4FFF
59
- */
60
- PackageCompiler = 16384,
61
- /**
62
- * kmc and related infrastructure errors between 0x5000…0x5FFF;
63
- */
64
- Infrastructure = 20480
65
- }
66
- export type CompilerSchema = 'ldml-keyboard' | 'ldml-keyboardtest' | 'kvks' | 'kpj';
67
- /**
68
- * A mapping for common path operations, maps to Node path module. This only
69
- * defines the functions we are actually using, so that we can port more easily
70
- * between different systems.
71
- */
72
- export interface CompilerPathCallbacks {
73
- dirname(name: string): string;
74
- extname(name: string): string;
75
- basename(name: string, ext?: string): string;
76
- isAbsolute(name: string): boolean;
77
- join(...paths: string[]): string;
78
- normalize(p: string): string;
79
- }
80
- /**
81
- * A mapping for common filesystem operations, maps to Node fs module. This only
82
- * defines the functions we are actually using, so that we can port more easily
83
- * between different systems.
84
- */
85
- export interface CompilerFileSystemCallbacks {
86
- readdirSync(name: string): string[];
87
- readFileSync(path: string, options?: {
88
- encoding?: null;
89
- flag?: string;
90
- } | null): Uint8Array;
91
- readFileSync(path: string, options: {
92
- encoding: string;
93
- flag?: string;
94
- } | string): string;
95
- readFileSync(path: string, options?: {
96
- encoding?: string | null;
97
- flag?: string;
98
- } | string | null): string | Uint8Array;
99
- writeFileSync(path: string, data: Uint8Array): void;
100
- existsSync(name: string): boolean;
101
- }
102
- /**
103
- * Abstract interface for callbacks, to abstract out file i/o
104
- */
105
- export interface CompilerCallbacks {
106
- /**
107
- * Attempt to load a file. Return falsy if not found.
108
- * TODO: never return falsy, just throw if not found?
109
- * @param baseFilename
110
- * @param filename
111
- */
112
- loadFile(filename: string): Uint8Array;
113
- get path(): CompilerPathCallbacks;
114
- get fs(): CompilerFileSystemCallbacks;
115
- /**
116
- * Resolves a file path relative to the baseFilename
117
- * @param baseFilename
118
- * @param filename
119
- */
120
- resolveFilename(baseFilename: string, filename: string): string;
121
- loadSchema(schema: CompilerSchema): Uint8Array;
122
- reportMessage(event: CompilerEvent): void;
123
- debug(msg: string): void;
124
- }
125
- /**
126
- * Convenience function for constructing CompilerEvents
127
- * @param code
128
- * @param message
129
- * @returns
130
- */
131
- export declare const CompilerMessageSpec: (code: number, message: string) => CompilerEvent;
132
- /**
133
- * @param e Error-like
134
- */
135
- export declare function compilerExceptionToString(e?: any): string;
136
- //# sourceMappingURL=compiler-interfaces.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]="5b88647a-9d5f-58d6-9c74-db0398752306")}catch(e){}}();
2
+ /**
3
+ * Abstract interface for compiler error and warning messages
4
+ */
5
+ export interface CompilerEvent {
6
+ filename?: string;
7
+ line?: number;
8
+ code: number;
9
+ message: string;
10
+ }
11
+ export declare enum CompilerErrorSeverity {
12
+ Info = 0,
13
+ Hint = 1048576,
14
+ Warn = 2097152,
15
+ Error = 3145728,
16
+ Fatal = 4194304
17
+ }
18
+ /**
19
+ * Mask values for mapping compiler errors
20
+ */
21
+ export declare enum CompilerErrorMask {
22
+ Severity = 15728640,
23
+ Error = 1048575,
24
+ Namespace = 1044480,
25
+ BaseError = 4095,
26
+ Reserved = 4278190080
27
+ }
28
+ export declare class CompilerError {
29
+ static severity(code: number): CompilerErrorSeverity;
30
+ static error(code: number): number;
31
+ static baseError(code: number): number;
32
+ static formatSeverity(code: number): string;
33
+ /**
34
+ * Format an error code number. The error code number does not include
35
+ * the severity mask, as this is reported in text form separately; see
36
+ * `severityName`.
37
+ * @example
38
+ *
39
+ * The following call returns `KM03004`
40
+ * ```
41
+ * formatCode(CompilerMessage.ERROR_InvalidDisplayMapFile)
42
+ * ```
43
+ */
44
+ static formatCode(code: number): string;
45
+ /**
46
+ * Formats an event filename for an error report,
47
+ * stripping off path component
48
+ * @param filename
49
+ * @returns
50
+ */
51
+ static formatFilename(filename: string): string;
52
+ /**
53
+ * Formats an event line for an error report
54
+ * @param line
55
+ * @returns
56
+ */
57
+ static formatLine(line: number): string;
58
+ /**
59
+ * Formats an event message for an error report
60
+ * @param message
61
+ * @returns
62
+ */
63
+ static formatMessage(message: string): string;
64
+ /**
65
+ * Formats a compiler message, without coloring; an ANSI color version is
66
+ * implemented in NodeCompilerCallbacks.
67
+ * @param event event or array of events
68
+ */
69
+ static formatEvent(event: CompilerEvent | CompilerEvent[]): string;
70
+ /**
71
+ * @param e Error-like
72
+ */
73
+ static exceptionToString(e?: any): string;
74
+ }
75
+ /** @deprecated use `CompilerError.severity` instead */
76
+ export declare function compilerErrorSeverity(code: number): CompilerErrorSeverity;
77
+ /** @deprecated use `CompilerError.formatSeverity` instead */
78
+ export declare function compilerErrorSeverityName(code: number): string;
79
+ /** @deprecated use `CompilerError.formatCode` instead */
80
+ export declare function compilerErrorFormatCode(code: number): string;
81
+ /** @deprecated use `CompilerError.formatEvent` instead */
82
+ export declare function compilerEventFormat(e: CompilerEvent | CompilerEvent[]): string;
83
+ /**
84
+ * Defines the error code ranges for various compilers. Once defined, these
85
+ * ranges must not be changed as external modules may depend on specific error
86
+ * codes. Individual errors are defined at a compiler level, for example,
87
+ * kmc-ldml/src/compiler/messages.ts.
88
+ */
89
+ export declare enum CompilerErrorNamespace {
90
+ /**
91
+ * kmc-ldml errors between 0x0000…0x0FFF
92
+ */
93
+ LdmlKeyboardCompiler = 0,
94
+ /**
95
+ * common/web/types errors between 0x1000…0x1FFF
96
+ */
97
+ CommonTypes = 4096,
98
+ /**
99
+ * kmc-kmn errors between 0x2000…0x2FFF; these map to
100
+ * the base codes found in kmn_compiler_errors.h, exclusive severity flags
101
+ */
102
+ KmnCompiler = 8192,
103
+ /**
104
+ * kmc-model errors between 0x3000…0x3FFF
105
+ */
106
+ ModelCompiler = 12288,
107
+ /**
108
+ * kmc-package errors between 0x4000…0x4FFF
109
+ */
110
+ PackageCompiler = 16384,
111
+ /**
112
+ * kmc and related infrastructure errors between 0x5000…0x5FFF
113
+ */
114
+ Infrastructure = 20480,
115
+ /**
116
+ * kmc-analyze 0x6000…0x6FFF
117
+ */
118
+ Analyzer = 24576,
119
+ /**
120
+ * kmc-kmn/kmw-compiler errors between 0x7000…0x7FFF; note that some errors
121
+ * generated by kmc-kmn/kmw-compiler are from kmc-kmn namespace for legacy
122
+ * reasons
123
+ */
124
+ KmwCompiler = 28672,
125
+ /**
126
+ * kmc-model-info 0x8000…0x8FFF
127
+ */
128
+ ModelInfoCompiler = 32768,
129
+ /**
130
+ * kmc-keyboard-info 0x9000…0x9FFF
131
+ */
132
+ KeyboardInfoCompiler = 36864
133
+ }
134
+ /**
135
+ * A mapping for common path operations, maps to Node path module. This only
136
+ * defines the functions we are actually using, so that we can port more easily
137
+ * between different systems.
138
+ */
139
+ export interface CompilerPathCallbacks {
140
+ dirname(name: string): string;
141
+ extname(name: string): string;
142
+ basename(name: string, ext?: string): string;
143
+ isAbsolute(name: string): boolean;
144
+ join(...paths: string[]): string;
145
+ normalize(p: string): string;
146
+ }
147
+ /**
148
+ * A mapping for common filesystem operations, maps to Node fs module. This only
149
+ * defines the functions we are actually using, so that we can port more easily
150
+ * between different systems.
151
+ */
152
+ export interface CompilerFileSystemCallbacks {
153
+ readdirSync(name: string): string[];
154
+ readFileSync(path: string, options?: {
155
+ encoding?: null;
156
+ flag?: string;
157
+ } | null): Uint8Array;
158
+ readFileSync(path: string, options: {
159
+ encoding: string;
160
+ flag?: string;
161
+ } | string): string;
162
+ readFileSync(path: string, options?: {
163
+ encoding?: string | null;
164
+ flag?: string;
165
+ } | string | null): string | Uint8Array;
166
+ writeFileSync(path: string, data: Uint8Array): void;
167
+ existsSync(name: string): boolean;
168
+ }
169
+ export interface CompilerCallbackOptions {
170
+ logLevel?: CompilerLogLevel;
171
+ color?: boolean;
172
+ compilerWarningsAsErrors?: boolean;
173
+ }
174
+ /**
175
+ * Abstract interface for callbacks, to abstract out file i/o
176
+ */
177
+ export interface CompilerCallbacks {
178
+ /**
179
+ * Attempt to load a file. Return falsy if not found.
180
+ * TODO: never return falsy, just throw if not found?
181
+ * @param filename
182
+ */
183
+ loadFile(filename: string): Uint8Array;
184
+ /**
185
+ * Get file size, returns undefined if not found
186
+ */
187
+ fileSize(filename: string): number;
188
+ get path(): CompilerPathCallbacks;
189
+ get fs(): CompilerFileSystemCallbacks;
190
+ /**
191
+ * Resolves a file path relative to the baseFilename
192
+ * @param baseFilename
193
+ * @param filename
194
+ */
195
+ resolveFilename(baseFilename: string, filename: string): string;
196
+ reportMessage(event: CompilerEvent): void;
197
+ debug(msg: string): void;
198
+ }
199
+ /**
200
+ * Wrapper class for CompilerCallbacks for a given input file
201
+ */
202
+ export declare class CompilerFileCallbacks implements CompilerCallbacks {
203
+ private filename;
204
+ private options;
205
+ private parent;
206
+ messages: CompilerEvent[];
207
+ constructor(filename: string, options: CompilerCallbackOptions, parent: CompilerCallbacks);
208
+ /**
209
+ * Returns `true` if any message in the `messages` array is a Fatal or Error
210
+ * message, and if `compilerWarningsAsErrors` is `true`, then also returns
211
+ * `true` if any message is a Warning.
212
+ */
213
+ static hasFailureMessage(messages: CompilerEvent[], compilerWarningsAsErrors: boolean): boolean;
214
+ /**
215
+ * Returns `true` if any message in the `messages` array is a Fatal or Error
216
+ * message, and if `compilerWarningsAsErrors` is `true`, then also returns
217
+ * `true` if any message is a Warning.
218
+ *
219
+ * If passed a defined `compilerWarningsAsErrors` value, then uses that,
220
+ * otherwise uses `options.compilerWarningsAsErrors`, or `false` if that is
221
+ * also `undefined`.
222
+ */
223
+ hasFailureMessage(compilerWarningsAsErrors?: boolean): boolean;
224
+ clear(): void;
225
+ loadFile(filename: string): Uint8Array;
226
+ fileSize(filename: string): number;
227
+ get path(): CompilerPathCallbacks;
228
+ get fs(): CompilerFileSystemCallbacks;
229
+ resolveFilename(baseFilename: string, filename: string): string;
230
+ reportMessage(event: CompilerEvent): void;
231
+ debug(msg: string): void;
232
+ }
233
+ /**
234
+ * Abstract interface for compiler options
235
+ */
236
+ export interface CompilerBaseOptions {
237
+ /**
238
+ * Reporting level to console, used by NodeCompilerCallbacks (not used in compiler modules;
239
+ * all messages are still reported to the internal log)
240
+ */
241
+ logLevel?: CompilerLogLevel;
242
+ /**
243
+ * Optional output file for activities that generate output
244
+ */
245
+ outFile?: string;
246
+ /**
247
+ * Colorize log output, default is detected from console
248
+ */
249
+ color?: boolean;
250
+ }
251
+ export interface CompilerOptions extends CompilerBaseOptions {
252
+ /**
253
+ * Add metadata about the compiler version to .kmx file when compiling
254
+ */
255
+ shouldAddCompilerVersion?: boolean;
256
+ /**
257
+ * Add debug information to the .kmx file when compiling
258
+ */
259
+ saveDebug?: boolean;
260
+ /**
261
+ * Upgrade any warnings produced in the compile to errors
262
+ */
263
+ compilerWarningsAsErrors?: boolean;
264
+ /**
265
+ * Emit warnings if deprecated code is encountered
266
+ */
267
+ warnDeprecatedCode?: boolean;
268
+ /**
269
+ * Check filename conventions in packages
270
+ */
271
+ checkFilenameConventions?: boolean;
272
+ }
273
+ export declare const defaultCompilerOptions: CompilerOptions;
274
+ /**
275
+ * Convenience function for constructing CompilerEvents
276
+ * @param code
277
+ * @param message
278
+ * @returns
279
+ */
280
+ export declare const CompilerMessageSpec: (code: number, message: string) => CompilerEvent;
281
+ /**
282
+ * @deprecated use `CompilerError.exceptionToString` instead
283
+ */
284
+ export declare function compilerExceptionToString(e?: any): string;
285
+ /**
286
+ * Compiler logging level and correspondence to severity
287
+ */
288
+ export declare const ALL_COMPILER_LOG_LEVELS: readonly ["silent", "error", "warn", "hint", "info", "debug"];
289
+ type CompilerLogLevelTuple = typeof ALL_COMPILER_LOG_LEVELS;
290
+ export type CompilerLogLevel = CompilerLogLevelTuple[number];
291
+ export declare const compilerLogLevelToSeverity: {
292
+ [index in CompilerLogLevel]: number;
293
+ };
294
+ export {};
295
+ //# debugId=5b88647a-9d5f-58d6-9c74-db0398752306
296
+ //# sourceMappingURL=compiler-interfaces.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"compiler-interfaces.d.ts","sourceRoot":"","sources":["../../../src/util/compiler-interfaces.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,oBAAY,qBAAqB;IAC/B,IAAI,IAAoB;IACxB,IAAI,UAAoB;IACxB,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