@keymanapp/ldml-keyboard-constants 17.0.183-alpha → 17.0.185-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.
|
@@ -1,10 +1,10 @@
|
|
|
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]="
|
|
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]="bac6079e-f642-56ac-9211-fa0e3108c2bb")}catch(e){}}();
|
|
2
2
|
/**
|
|
3
3
|
* Defines the section identifiers and ensures that we include each and every
|
|
4
4
|
* one of them in the `sections` block and gives us a type which we can iterate
|
|
5
5
|
* through.
|
|
6
6
|
*/
|
|
7
|
-
export type SectionIdent = 'sect' | 'bksp' | 'disp' | 'elem' | 'keys' | 'layr' | 'list' | 'loca' | 'meta' | 'name' | 'strs' | 'tran' | 'uset' | 'vars'
|
|
7
|
+
export type SectionIdent = 'sect' | 'bksp' | 'disp' | 'elem' | 'keys' | 'layr' | 'list' | 'loca' | 'meta' | 'name' | 'strs' | 'tran' | 'uset' | 'vars';
|
|
8
8
|
type SectionMap = {
|
|
9
9
|
[id in SectionIdent]: SectionIdent;
|
|
10
10
|
};
|
|
@@ -36,6 +36,10 @@ declare class Constants {
|
|
|
36
36
|
* implied keys file
|
|
37
37
|
*/
|
|
38
38
|
readonly cldr_implied_keys_import: string;
|
|
39
|
+
/**
|
|
40
|
+
* implied scancodes file
|
|
41
|
+
*/
|
|
42
|
+
readonly cldr_implied_forms_import: string;
|
|
39
43
|
/**
|
|
40
44
|
* Length of a raw section header, in bytes
|
|
41
45
|
*/
|
|
@@ -247,27 +251,7 @@ declare class Constants {
|
|
|
247
251
|
/**
|
|
248
252
|
* for the 'hardware' field indicating a touch keyboard, non-hardware
|
|
249
253
|
*/
|
|
250
|
-
readonly layr_list_hardware_touch =
|
|
251
|
-
/**
|
|
252
|
-
* for the 'hardware' field indicating an abnt2 layout
|
|
253
|
-
*/
|
|
254
|
-
readonly layr_list_hardware_abnt2 = 1;
|
|
255
|
-
/**
|
|
256
|
-
* for the 'hardware' field indicating an iso layout
|
|
257
|
-
*/
|
|
258
|
-
readonly layr_list_hardware_iso = 2;
|
|
259
|
-
/**
|
|
260
|
-
* for the 'hardware' field indicating a jis layout
|
|
261
|
-
*/
|
|
262
|
-
readonly layr_list_hardware_jis = 3;
|
|
263
|
-
/**
|
|
264
|
-
* for the 'hardware' field indicating a us layout
|
|
265
|
-
*/
|
|
266
|
-
readonly layr_list_hardware_us = 4;
|
|
267
|
-
/**
|
|
268
|
-
* Convenience map of layr_list_hardware field values
|
|
269
|
-
*/
|
|
270
|
-
readonly layr_list_hardware_map: Map<String, number>;
|
|
254
|
+
readonly layr_list_hardware_touch = "touch";
|
|
271
255
|
/**
|
|
272
256
|
* Length of each layer entry in the 'layr' section variable part
|
|
273
257
|
*/
|
|
@@ -360,14 +344,6 @@ declare class Constants {
|
|
|
360
344
|
* this group is full of reorder items
|
|
361
345
|
*/
|
|
362
346
|
readonly tran_group_type_reorder = 1;
|
|
363
|
-
/**
|
|
364
|
-
* Minimum length of the 'vkey' section not including variable parts
|
|
365
|
-
*/
|
|
366
|
-
readonly length_vkey = 12;
|
|
367
|
-
/**
|
|
368
|
-
* Length of each item in the 'vkey' section variable part
|
|
369
|
-
*/
|
|
370
|
-
readonly length_vkey_item = 8;
|
|
371
347
|
/**
|
|
372
348
|
* Minimum length of the 'vars' section not including variable parts
|
|
373
349
|
*/
|
|
@@ -428,5 +404,5 @@ declare class Constants {
|
|
|
428
404
|
}
|
|
429
405
|
export declare const constants: Constants;
|
|
430
406
|
export {};
|
|
431
|
-
//# debugId=
|
|
407
|
+
//# debugId=bac6079e-f642-56ac-9211-fa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_ldml.ts"],"version":3}
|
|
@@ -34,6 +34,10 @@ var Constants = /** @class */ (function () {
|
|
|
34
34
|
* implied keys file
|
|
35
35
|
*/
|
|
36
36
|
this.cldr_implied_keys_import = "".concat(this.cldr_version_techpreview, "/keys-Latn-implied.xml");
|
|
37
|
+
/**
|
|
38
|
+
* implied scancodes file
|
|
39
|
+
*/
|
|
40
|
+
this.cldr_implied_forms_import = "".concat(this.cldr_version_techpreview, "/scanCodes-implied.xml");
|
|
37
41
|
/**
|
|
38
42
|
* Length of a raw section header, in bytes
|
|
39
43
|
*/
|
|
@@ -279,33 +283,7 @@ var Constants = /** @class */ (function () {
|
|
|
279
283
|
/**
|
|
280
284
|
* for the 'hardware' field indicating a touch keyboard, non-hardware
|
|
281
285
|
*/
|
|
282
|
-
this.layr_list_hardware_touch =
|
|
283
|
-
/**
|
|
284
|
-
* for the 'hardware' field indicating an abnt2 layout
|
|
285
|
-
*/
|
|
286
|
-
this.layr_list_hardware_abnt2 = 1;
|
|
287
|
-
/**
|
|
288
|
-
* for the 'hardware' field indicating an iso layout
|
|
289
|
-
*/
|
|
290
|
-
this.layr_list_hardware_iso = 2;
|
|
291
|
-
/**
|
|
292
|
-
* for the 'hardware' field indicating a jis layout
|
|
293
|
-
*/
|
|
294
|
-
this.layr_list_hardware_jis = 3;
|
|
295
|
-
/**
|
|
296
|
-
* for the 'hardware' field indicating a us layout
|
|
297
|
-
*/
|
|
298
|
-
this.layr_list_hardware_us = 4;
|
|
299
|
-
/**
|
|
300
|
-
* Convenience map of layr_list_hardware field values
|
|
301
|
-
*/
|
|
302
|
-
this.layr_list_hardware_map = new Map([
|
|
303
|
-
["touch", this.layr_list_hardware_touch],
|
|
304
|
-
["abnt2", this.layr_list_hardware_abnt2],
|
|
305
|
-
["iso", this.layr_list_hardware_iso],
|
|
306
|
-
["jis", this.layr_list_hardware_jis],
|
|
307
|
-
["us", this.layr_list_hardware_us],
|
|
308
|
-
]);
|
|
286
|
+
this.layr_list_hardware_touch = 'touch';
|
|
309
287
|
/**
|
|
310
288
|
* Length of each layer entry in the 'layr' section variable part
|
|
311
289
|
*/
|
|
@@ -416,17 +394,6 @@ var Constants = /** @class */ (function () {
|
|
|
416
394
|
* this group is full of reorder items
|
|
417
395
|
*/
|
|
418
396
|
this.tran_group_type_reorder = 1;
|
|
419
|
-
/* ------------------------------------------------------------------
|
|
420
|
-
* vkey section
|
|
421
|
-
------------------------------------------------------------------ */
|
|
422
|
-
/**
|
|
423
|
-
* Minimum length of the 'vkey' section not including variable parts
|
|
424
|
-
*/
|
|
425
|
-
this.length_vkey = 12;
|
|
426
|
-
/**
|
|
427
|
-
* Length of each item in the 'vkey' section variable part
|
|
428
|
-
*/
|
|
429
|
-
this.length_vkey_item = 8;
|
|
430
397
|
/* ------------------------------------------------------------------
|
|
431
398
|
* vars section
|
|
432
399
|
* ------------------------------------------------------------------ */
|
|
@@ -483,8 +450,7 @@ var Constants = /** @class */ (function () {
|
|
|
483
450
|
strs: 'strs',
|
|
484
451
|
tran: 'tran',
|
|
485
452
|
uset: 'uset',
|
|
486
|
-
vars: 'vars'
|
|
487
|
-
vkey: 'vkey'
|
|
453
|
+
vars: 'vars'
|
|
488
454
|
};
|
|
489
455
|
// ---- marker stuff ----
|
|
490
456
|
/** == kmx_file.UC_SENTINEL, always followed by `marker_code`, marker index 0x0001-0xfffe */
|
package/package.json
CHANGED