@keymanapp/ldml-keyboard-constants 17.0.119-alpha → 17.0.121-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.
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* one of them in the `sections` block and gives us a type which we can iterate
|
|
4
4
|
* through.
|
|
5
5
|
*/
|
|
6
|
-
export type SectionIdent = 'sect' | 'bksp' | 'disp' | 'elem' | '
|
|
6
|
+
export type SectionIdent = 'sect' | 'bksp' | 'disp' | 'elem' | 'keys' | 'layr' | 'list' | 'loca' | 'meta' | 'name' | 'strs' | 'tran' | 'vars' | 'vkey';
|
|
7
7
|
type SectionMap = {
|
|
8
8
|
[id in SectionIdent]: SectionIdent;
|
|
9
9
|
};
|
|
@@ -319,14 +319,6 @@ declare class Constants {
|
|
|
319
319
|
* Length of each item in the 'name' section variable part
|
|
320
320
|
*/
|
|
321
321
|
readonly length_name_item = 4;
|
|
322
|
-
/**
|
|
323
|
-
* Minimum length of the 'ordr' section, not including entries
|
|
324
|
-
*/
|
|
325
|
-
readonly length_ordr = 12;
|
|
326
|
-
/**
|
|
327
|
-
* Length of each item in the 'ordr' section variable part
|
|
328
|
-
*/
|
|
329
|
-
readonly length_ordr_item = 8;
|
|
330
322
|
/**
|
|
331
323
|
* Minimum length of the 'strs' section not including variable parts
|
|
332
324
|
*/
|
|
@@ -338,15 +330,31 @@ declare class Constants {
|
|
|
338
330
|
/**
|
|
339
331
|
* Minimum length of the 'tran' section, not including entries
|
|
340
332
|
*/
|
|
341
|
-
readonly length_tran =
|
|
333
|
+
readonly length_tran = 20;
|
|
334
|
+
/**
|
|
335
|
+
* Length of each transform group item
|
|
336
|
+
*/
|
|
337
|
+
readonly length_tran_group = 12;
|
|
342
338
|
/**
|
|
343
|
-
* Length of each item
|
|
339
|
+
* Length of each transform item
|
|
344
340
|
*/
|
|
345
|
-
readonly
|
|
341
|
+
readonly length_tran_transform = 16;
|
|
342
|
+
/**
|
|
343
|
+
* Length of each reorder subtable item
|
|
344
|
+
*/
|
|
345
|
+
readonly length_tran_reorder = 8;
|
|
346
346
|
/**
|
|
347
347
|
* bitwise or value for error="fail" in transform
|
|
348
348
|
*/
|
|
349
349
|
readonly tran_flags_error = 1;
|
|
350
|
+
/**
|
|
351
|
+
* this group is full of transform items
|
|
352
|
+
*/
|
|
353
|
+
readonly tran_group_type_transform = 0;
|
|
354
|
+
/**
|
|
355
|
+
* this group is full of reorder items
|
|
356
|
+
*/
|
|
357
|
+
readonly tran_group_type_reorder = 1;
|
|
350
358
|
/**
|
|
351
359
|
* Minimum length of the 'vkey' section not including variable parts
|
|
352
360
|
*/
|
|
@@ -355,6 +363,26 @@ declare class Constants {
|
|
|
355
363
|
* Length of each item in the 'vkey' section variable part
|
|
356
364
|
*/
|
|
357
365
|
readonly length_vkey_item = 8;
|
|
366
|
+
/**
|
|
367
|
+
* Minimum length of the 'vars' section not including variable parts
|
|
368
|
+
*/
|
|
369
|
+
readonly length_vars = 16;
|
|
370
|
+
/**
|
|
371
|
+
* Length of each item in the 'vars' section variable part
|
|
372
|
+
*/
|
|
373
|
+
readonly length_vars_item = 16;
|
|
374
|
+
/**
|
|
375
|
+
* String variable
|
|
376
|
+
*/
|
|
377
|
+
readonly vars_entry_type_string = 0;
|
|
378
|
+
/**
|
|
379
|
+
* Set variable
|
|
380
|
+
*/
|
|
381
|
+
readonly vars_entry_type_set = 1;
|
|
382
|
+
/**
|
|
383
|
+
* unicodeSet variable
|
|
384
|
+
*/
|
|
385
|
+
readonly vars_entry_type_unicodeSet = 2;
|
|
358
386
|
/**
|
|
359
387
|
* All section IDs.
|
|
360
388
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyboardprocessor_ldml.d.ts","sourceRoot":"","sources":["../keyboardprocessor_ldml.ts"],"names":[],"mappings":"AAmBA;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAEtB,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,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W,MAAM;IAC1B;;OAEG;IACH,QAAQ,CAAC,gBAAgB,KAAK;IAM9B;;OAEG;IACH,QAAQ,CAAC,WAAW,MAAM;IAC1B;;OAEG;IACH,QAAQ,CAAC,gBAAgB,KAAK;IAM9B;;OAEG;IACH,QAAQ,CAAC,WAAW,MAAM;IAC1B;;OAEG;IACH,QAAQ,CAAC,iBAAiB,MAAM;IAChC;;OAEG;IACH,QAAQ,CAAC,qBAAqB,MAAM;IACpC;;OAEG;IACH,QAAQ,CAAC,mBAAmB,KAAK;IAEjC;;OAEG;IACH,QAAQ,CAAC,gBAAgB,KAAU;IAEnC;;OAEG;IACH,QAAQ,CAAC,yBAAyB,KAAK;IACvC;;OAEG;IACH,QAAQ,CAAC,uBAAuB,KAAK;IAMrC;;OAEG;IACH,QAAQ,CAAC,WAAW,MAAM;IAC1B;;OAEG;IACH,QAAQ,CAAC,gBAAgB,KAAK;IAM9B;;OAEG;IACH,QAAQ,CAAC,WAAW,MAAM;IAC1B;;OAEG;IACH,QAAQ,CAAC,gBAAgB,MAAM;IAE/B;;OAEG;IACH,QAAQ,CAAC,sBAAsB,KAAK;IACpC;;OAEG;IACH,QAAQ,CAAC,mBAAmB,KAAK;IACjC;;OAEG;IACH,QAAQ,CAAC,0BAA0B,KAAK;IAExC;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,UAAU,CAgB1B;IAEF;;;;OAIG;IACH,cAAc,CAAC,EAAE,EAAC,MAAM;IAWxB;;;;OAIG;IACH,cAAc,CAAC,GAAG,EAAC,MAAM,GAAI,MAAM;CAQpC;AAED,eAAO,MAAM,SAAS,WAAkB,CAAC"}
|
|
@@ -370,17 +370,6 @@ var Constants = /** @class */ (function () {
|
|
|
370
370
|
* Length of each item in the 'name' section variable part
|
|
371
371
|
*/
|
|
372
372
|
this.length_name_item = 4;
|
|
373
|
-
/* ------------------------------------------------------------------
|
|
374
|
-
* ordr section
|
|
375
|
-
------------------------------------------------------------------ */
|
|
376
|
-
/**
|
|
377
|
-
* Minimum length of the 'ordr' section, not including entries
|
|
378
|
-
*/
|
|
379
|
-
this.length_ordr = 12;
|
|
380
|
-
/**
|
|
381
|
-
* Length of each item in the 'ordr' section variable part
|
|
382
|
-
*/
|
|
383
|
-
this.length_ordr_item = 8;
|
|
384
373
|
/* ------------------------------------------------------------------
|
|
385
374
|
* strs section
|
|
386
375
|
------------------------------------------------------------------ */
|
|
@@ -398,15 +387,31 @@ var Constants = /** @class */ (function () {
|
|
|
398
387
|
/**
|
|
399
388
|
* Minimum length of the 'tran' section, not including entries
|
|
400
389
|
*/
|
|
401
|
-
this.length_tran =
|
|
390
|
+
this.length_tran = 20;
|
|
402
391
|
/**
|
|
403
|
-
* Length of each
|
|
392
|
+
* Length of each transform group item
|
|
404
393
|
*/
|
|
405
|
-
this.
|
|
394
|
+
this.length_tran_group = 12;
|
|
395
|
+
/**
|
|
396
|
+
* Length of each transform item
|
|
397
|
+
*/
|
|
398
|
+
this.length_tran_transform = 16;
|
|
399
|
+
/**
|
|
400
|
+
* Length of each reorder subtable item
|
|
401
|
+
*/
|
|
402
|
+
this.length_tran_reorder = 8;
|
|
406
403
|
/**
|
|
407
404
|
* bitwise or value for error="fail" in transform
|
|
408
405
|
*/
|
|
409
406
|
this.tran_flags_error = 0x0001;
|
|
407
|
+
/**
|
|
408
|
+
* this group is full of transform items
|
|
409
|
+
*/
|
|
410
|
+
this.tran_group_type_transform = 0;
|
|
411
|
+
/**
|
|
412
|
+
* this group is full of reorder items
|
|
413
|
+
*/
|
|
414
|
+
this.tran_group_type_reorder = 1;
|
|
410
415
|
/* ------------------------------------------------------------------
|
|
411
416
|
* vkey section
|
|
412
417
|
------------------------------------------------------------------ */
|
|
@@ -418,6 +423,29 @@ var Constants = /** @class */ (function () {
|
|
|
418
423
|
* Length of each item in the 'vkey' section variable part
|
|
419
424
|
*/
|
|
420
425
|
this.length_vkey_item = 8;
|
|
426
|
+
/* ------------------------------------------------------------------
|
|
427
|
+
* vars section
|
|
428
|
+
* ------------------------------------------------------------------ */
|
|
429
|
+
/**
|
|
430
|
+
* Minimum length of the 'vars' section not including variable parts
|
|
431
|
+
*/
|
|
432
|
+
this.length_vars = 16;
|
|
433
|
+
/**
|
|
434
|
+
* Length of each item in the 'vars' section variable part
|
|
435
|
+
*/
|
|
436
|
+
this.length_vars_item = 16;
|
|
437
|
+
/**
|
|
438
|
+
* String variable
|
|
439
|
+
*/
|
|
440
|
+
this.vars_entry_type_string = 0;
|
|
441
|
+
/**
|
|
442
|
+
* Set variable
|
|
443
|
+
*/
|
|
444
|
+
this.vars_entry_type_set = 1;
|
|
445
|
+
/**
|
|
446
|
+
* unicodeSet variable
|
|
447
|
+
*/
|
|
448
|
+
this.vars_entry_type_unicodeSet = 2;
|
|
421
449
|
/**
|
|
422
450
|
* All section IDs.
|
|
423
451
|
*/
|
|
@@ -426,17 +454,16 @@ var Constants = /** @class */ (function () {
|
|
|
426
454
|
bksp: 'bksp',
|
|
427
455
|
disp: 'disp',
|
|
428
456
|
elem: 'elem',
|
|
429
|
-
finl: 'finl',
|
|
430
457
|
keys: 'keys',
|
|
431
458
|
layr: 'layr',
|
|
432
459
|
list: 'list',
|
|
433
460
|
loca: 'loca',
|
|
434
461
|
meta: 'meta',
|
|
435
462
|
name: 'name',
|
|
436
|
-
ordr: 'ordr',
|
|
437
463
|
sect: 'sect',
|
|
438
464
|
strs: 'strs',
|
|
439
465
|
tran: 'tran',
|
|
466
|
+
vars: 'vars',
|
|
440
467
|
vkey: 'vkey'
|
|
441
468
|
};
|
|
442
469
|
}
|
package/package.json
CHANGED