@keymanapp/kmc-ldml 17.0.104-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 (81) hide show
  1. package/build/src/compiler/compiler-options.d.ts +11 -0
  2. package/build/src/compiler/compiler-options.d.ts.map +1 -0
  3. package/build/src/compiler/compiler-options.js +3 -0
  4. package/build/src/compiler/compiler-options.js.map +1 -0
  5. package/build/src/compiler/compiler.d.ts +38 -0
  6. package/build/src/compiler/compiler.d.ts.map +1 -0
  7. package/build/src/compiler/compiler.js +144 -0
  8. package/build/src/compiler/compiler.js.map +1 -0
  9. package/build/src/compiler/disp.d.ts +10 -0
  10. package/build/src/compiler/disp.d.ts.map +1 -0
  11. package/build/src/compiler/disp.js +37 -0
  12. package/build/src/compiler/disp.js.map +1 -0
  13. package/build/src/compiler/keymanweb-compiler.d.ts +16 -0
  14. package/build/src/compiler/keymanweb-compiler.d.ts.map +1 -0
  15. package/build/src/compiler/keymanweb-compiler.js +96 -0
  16. package/build/src/compiler/keymanweb-compiler.js.map +1 -0
  17. package/build/src/compiler/keys.d.ts +26 -0
  18. package/build/src/compiler/keys.d.ts.map +1 -0
  19. package/build/src/compiler/keys.js +207 -0
  20. package/build/src/compiler/keys.js.map +1 -0
  21. package/build/src/compiler/layr.d.ts +10 -0
  22. package/build/src/compiler/layr.d.ts.map +1 -0
  23. package/build/src/compiler/layr.js +79 -0
  24. package/build/src/compiler/layr.js.map +1 -0
  25. package/build/src/compiler/loca.d.ts +16 -0
  26. package/build/src/compiler/loca.d.ts.map +1 -0
  27. package/build/src/compiler/loca.js +58 -0
  28. package/build/src/compiler/loca.js.map +1 -0
  29. package/build/src/compiler/messages.d.ts +93 -0
  30. package/build/src/compiler/messages.d.ts.map +1 -0
  31. package/build/src/compiler/messages.js +54 -0
  32. package/build/src/compiler/messages.js.map +1 -0
  33. package/build/src/compiler/meta.d.ts +12 -0
  34. package/build/src/compiler/meta.d.ts.map +1 -0
  35. package/build/src/compiler/meta.js +58 -0
  36. package/build/src/compiler/meta.js.map +1 -0
  37. package/build/src/compiler/metadata-compiler.d.ts +13 -0
  38. package/build/src/compiler/metadata-compiler.d.ts.map +1 -0
  39. package/build/src/compiler/metadata-compiler.js +47 -0
  40. package/build/src/compiler/metadata-compiler.js.map +1 -0
  41. package/build/src/compiler/name.d.ts +10 -0
  42. package/build/src/compiler/name.d.ts.map +1 -0
  43. package/build/src/compiler/name.js +20 -0
  44. package/build/src/compiler/name.js.map +1 -0
  45. package/build/src/compiler/ordr.d.ts +12 -0
  46. package/build/src/compiler/ordr.d.ts.map +1 -0
  47. package/build/src/compiler/ordr.js +35 -0
  48. package/build/src/compiler/ordr.js.map +1 -0
  49. package/build/src/compiler/section-compiler.d.ts +12 -0
  50. package/build/src/compiler/section-compiler.d.ts.map +1 -0
  51. package/build/src/compiler/section-compiler.js +22 -0
  52. package/build/src/compiler/section-compiler.js.map +1 -0
  53. package/build/src/compiler/touch-layout-compiler.d.ts +8 -0
  54. package/build/src/compiler/touch-layout-compiler.d.ts.map +1 -0
  55. package/build/src/compiler/touch-layout-compiler.js +87 -0
  56. package/build/src/compiler/touch-layout-compiler.js.map +1 -0
  57. package/build/src/compiler/tran.d.ts +41 -0
  58. package/build/src/compiler/tran.d.ts.map +1 -0
  59. package/build/src/compiler/tran.js +102 -0
  60. package/build/src/compiler/tran.js.map +1 -0
  61. package/build/src/compiler/visual-keyboard-compiler.d.ts +7 -0
  62. package/build/src/compiler/visual-keyboard-compiler.d.ts.map +1 -0
  63. package/build/src/compiler/visual-keyboard-compiler.js +51 -0
  64. package/build/src/compiler/visual-keyboard-compiler.js.map +1 -0
  65. package/build/src/compiler/vkey.d.ts +10 -0
  66. package/build/src/compiler/vkey.d.ts.map +1 -0
  67. package/build/src/compiler/vkey.js +59 -0
  68. package/build/src/compiler/vkey.js.map +1 -0
  69. package/build/src/kpj.schema.json +127 -0
  70. package/build/src/kvks.schema.json +182 -0
  71. package/build/src/ldml-keyboard.schema.json +702 -0
  72. package/build/src/ldml-keyboardtest.schema.json +221 -0
  73. package/build/src/main.d.ts +9 -0
  74. package/build/src/main.d.ts.map +1 -0
  75. package/build/src/main.js +8 -0
  76. package/build/src/main.js.map +1 -0
  77. package/build/src/util/util.d.ts +32 -0
  78. package/build/src/util/util.d.ts.map +1 -0
  79. package/build/src/util/util.js +85 -0
  80. package/build/src/util/util.js.map +1 -0
  81. package/package.json +71 -0
@@ -0,0 +1,702 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema#",
3
+ "additionalProperties": false,
4
+ "definitions": {
5
+ "any": {
6
+ "type": "string"
7
+ },
8
+ "display": {
9
+ "additionalProperties": false,
10
+ "properties": {
11
+ "display": {
12
+ "type": "string"
13
+ },
14
+ "to": {
15
+ "type": "string"
16
+ }
17
+ },
18
+ "required": [
19
+ "to",
20
+ "display"
21
+ ],
22
+ "type": "object"
23
+ },
24
+ "displayOptions": {
25
+ "additionalProperties": false,
26
+ "properties": {
27
+ "baseCharacter": {
28
+ "type": "string"
29
+ }
30
+ },
31
+ "type": "object"
32
+ },
33
+ "displays": {
34
+ "additionalProperties": false,
35
+ "properties": {
36
+ "display": {
37
+ "items": {
38
+ "$ref": "#/definitions/display"
39
+ },
40
+ "type": "array"
41
+ },
42
+ "displayOptions": {
43
+ "$ref": "#/definitions/displayOptions"
44
+ },
45
+ "import": {
46
+ "items": {
47
+ "$ref": "#/definitions/import"
48
+ },
49
+ "type": "array"
50
+ },
51
+ "special": {
52
+ "items": {
53
+ "$ref": "#/definitions/special"
54
+ },
55
+ "type": "array"
56
+ }
57
+ },
58
+ "type": "object"
59
+ },
60
+ "flick": {
61
+ "additionalProperties": false,
62
+ "properties": {
63
+ "directions": {
64
+ "type": "string"
65
+ },
66
+ "to": {
67
+ "type": "string"
68
+ }
69
+ },
70
+ "required": [
71
+ "directions",
72
+ "to"
73
+ ],
74
+ "type": "object"
75
+ },
76
+ "flicks": {
77
+ "additionalProperties": false,
78
+ "properties": {
79
+ "flick": {
80
+ "items": {
81
+ "$ref": "#/definitions/flick"
82
+ },
83
+ "minItems": 1,
84
+ "type": "array"
85
+ },
86
+ "id": {
87
+ "type": "string"
88
+ },
89
+ "special": {
90
+ "items": {
91
+ "$ref": "#/definitions/special"
92
+ },
93
+ "type": "array"
94
+ }
95
+ },
96
+ "required": [
97
+ "flick",
98
+ "id"
99
+ ],
100
+ "type": "object"
101
+ },
102
+ "import": {
103
+ "additionalProperties": false,
104
+ "properties": {
105
+ "base": {
106
+ "enum": [
107
+ "cldr"
108
+ ],
109
+ "type": "string"
110
+ },
111
+ "path": {
112
+ "type": "string"
113
+ }
114
+ },
115
+ "required": [
116
+ "path"
117
+ ],
118
+ "type": "object"
119
+ },
120
+ "info": {
121
+ "additionalProperties": false,
122
+ "properties": {
123
+ "author": {
124
+ "type": "string"
125
+ },
126
+ "indicator": {
127
+ "type": "string"
128
+ },
129
+ "layout": {
130
+ "type": "string"
131
+ },
132
+ "normalization": {
133
+ "type": "string"
134
+ }
135
+ },
136
+ "type": "object"
137
+ },
138
+ "key": {
139
+ "additionalProperties": false,
140
+ "properties": {
141
+ "flicks": {
142
+ "type": "string"
143
+ },
144
+ "gap": {
145
+ "enum": [
146
+ "true"
147
+ ],
148
+ "type": "string"
149
+ },
150
+ "id": {
151
+ "type": "string"
152
+ },
153
+ "longPress": {
154
+ "type": "string"
155
+ },
156
+ "longPressDefault": {
157
+ "type": "string"
158
+ },
159
+ "multiTap": {
160
+ "type": "string"
161
+ },
162
+ "stretch": {
163
+ "enum": [
164
+ "true"
165
+ ],
166
+ "type": "string"
167
+ },
168
+ "switch": {
169
+ "type": "string"
170
+ },
171
+ "to": {
172
+ "type": "string"
173
+ },
174
+ "transform": {
175
+ "enum": [
176
+ "no"
177
+ ],
178
+ "type": "string"
179
+ },
180
+ "width": {
181
+ "type": "string"
182
+ }
183
+ },
184
+ "required": [
185
+ "id"
186
+ ],
187
+ "type": "object"
188
+ },
189
+ "keys": {
190
+ "additionalProperties": false,
191
+ "properties": {
192
+ "flicks": {
193
+ "items": {
194
+ "$ref": "#/definitions/flicks"
195
+ },
196
+ "type": "array"
197
+ },
198
+ "import": {
199
+ "items": {
200
+ "$ref": "#/definitions/import"
201
+ },
202
+ "type": "array"
203
+ },
204
+ "key": {
205
+ "items": {
206
+ "$ref": "#/definitions/key"
207
+ },
208
+ "type": "array"
209
+ },
210
+ "special": {
211
+ "items": {
212
+ "$ref": "#/definitions/special"
213
+ },
214
+ "type": "array"
215
+ }
216
+ },
217
+ "type": "object"
218
+ },
219
+ "layer": {
220
+ "additionalProperties": false,
221
+ "properties": {
222
+ "id": {
223
+ "type": "string"
224
+ },
225
+ "modifier": {
226
+ "type": "string"
227
+ },
228
+ "row": {
229
+ "items": {
230
+ "$ref": "#/definitions/row"
231
+ },
232
+ "minItems": 1,
233
+ "type": "array"
234
+ },
235
+ "special": {
236
+ "items": {
237
+ "$ref": "#/definitions/special"
238
+ },
239
+ "type": "array"
240
+ }
241
+ },
242
+ "required": [
243
+ "row"
244
+ ],
245
+ "type": "object"
246
+ },
247
+ "layers": {
248
+ "additionalProperties": false,
249
+ "properties": {
250
+ "form": {
251
+ "enum": [
252
+ "touch",
253
+ "us",
254
+ "iso",
255
+ "jis",
256
+ "abnt2"
257
+ ],
258
+ "type": "string"
259
+ },
260
+ "import": {
261
+ "items": {
262
+ "$ref": "#/definitions/import"
263
+ },
264
+ "type": "array"
265
+ },
266
+ "layer": {
267
+ "items": {
268
+ "$ref": "#/definitions/layer"
269
+ },
270
+ "type": "array"
271
+ },
272
+ "minDeviceWidth": {
273
+ "type": "string"
274
+ },
275
+ "special": {
276
+ "items": {
277
+ "$ref": "#/definitions/special"
278
+ },
279
+ "type": "array"
280
+ }
281
+ },
282
+ "required": [
283
+ "form"
284
+ ],
285
+ "type": "object"
286
+ },
287
+ "locale": {
288
+ "additionalProperties": false,
289
+ "properties": {
290
+ "id": {
291
+ "type": "string"
292
+ }
293
+ },
294
+ "required": [
295
+ "id"
296
+ ],
297
+ "type": "object"
298
+ },
299
+ "locales": {
300
+ "additionalProperties": false,
301
+ "properties": {
302
+ "locale": {
303
+ "items": {
304
+ "$ref": "#/definitions/locale"
305
+ },
306
+ "type": "array"
307
+ }
308
+ },
309
+ "type": "object"
310
+ },
311
+ "name": {
312
+ "additionalProperties": false,
313
+ "properties": {
314
+ "value": {
315
+ "type": "string"
316
+ }
317
+ },
318
+ "required": [
319
+ "value"
320
+ ],
321
+ "type": "object"
322
+ },
323
+ "names": {
324
+ "additionalProperties": false,
325
+ "properties": {
326
+ "import": {
327
+ "items": {
328
+ "$ref": "#/definitions/import"
329
+ },
330
+ "type": "array"
331
+ },
332
+ "name": {
333
+ "items": {
334
+ "$ref": "#/definitions/name"
335
+ },
336
+ "minItems": 1,
337
+ "type": "array"
338
+ },
339
+ "special": {
340
+ "items": {
341
+ "$ref": "#/definitions/special"
342
+ },
343
+ "type": "array"
344
+ }
345
+ },
346
+ "required": [
347
+ "name"
348
+ ],
349
+ "type": "object"
350
+ },
351
+ "reorder": {
352
+ "additionalProperties": false,
353
+ "properties": {
354
+ "before": {
355
+ "type": "string"
356
+ },
357
+ "from": {
358
+ "type": "string"
359
+ },
360
+ "order": {
361
+ "type": "string"
362
+ },
363
+ "preBase": {
364
+ "type": "string"
365
+ },
366
+ "tertiary": {
367
+ "type": "string"
368
+ },
369
+ "tertiaryBase": {
370
+ "type": "string"
371
+ }
372
+ },
373
+ "required": [
374
+ "from"
375
+ ],
376
+ "type": "object"
377
+ },
378
+ "row": {
379
+ "additionalProperties": false,
380
+ "properties": {
381
+ "keys": {
382
+ "type": "string"
383
+ }
384
+ },
385
+ "required": [
386
+ "keys"
387
+ ],
388
+ "type": "object"
389
+ },
390
+ "set": {
391
+ "additionalProperties": false,
392
+ "properties": {
393
+ "id": {
394
+ "type": "string"
395
+ },
396
+ "value": {
397
+ "type": "string"
398
+ }
399
+ },
400
+ "required": [
401
+ "id",
402
+ "value"
403
+ ],
404
+ "type": "object"
405
+ },
406
+ "settings": {
407
+ "additionalProperties": false,
408
+ "properties": {
409
+ "fallback": {
410
+ "enum": [
411
+ "omit"
412
+ ],
413
+ "type": "string"
414
+ }
415
+ },
416
+ "type": "object"
417
+ },
418
+ "special": {
419
+ "$ref": "#/definitions/any"
420
+ },
421
+ "stringVariable": {
422
+ "additionalProperties": false,
423
+ "properties": {
424
+ "id": {
425
+ "type": "string"
426
+ },
427
+ "value": {
428
+ "type": "string"
429
+ }
430
+ },
431
+ "required": [
432
+ "id",
433
+ "value"
434
+ ],
435
+ "type": "object"
436
+ },
437
+ "transform": {
438
+ "additionalProperties": false,
439
+ "properties": {
440
+ "from": {
441
+ "type": "string"
442
+ },
443
+ "to": {
444
+ "type": "string"
445
+ }
446
+ },
447
+ "required": [
448
+ "from"
449
+ ],
450
+ "type": "object"
451
+ },
452
+ "transformGroup": {
453
+ "additionalProperties": false,
454
+ "properties": {
455
+ "import": {
456
+ "items": {
457
+ "$ref": "#/definitions/import"
458
+ },
459
+ "type": "array"
460
+ },
461
+ "reorder": {
462
+ "items": {
463
+ "$ref": "#/definitions/reorder"
464
+ },
465
+ "type": "array"
466
+ },
467
+ "special": {
468
+ "items": {
469
+ "$ref": "#/definitions/special"
470
+ },
471
+ "type": "array"
472
+ },
473
+ "transform": {
474
+ "items": {
475
+ "$ref": "#/definitions/transform"
476
+ },
477
+ "type": "array"
478
+ }
479
+ },
480
+ "type": "object"
481
+ },
482
+ "transforms": {
483
+ "additionalProperties": false,
484
+ "properties": {
485
+ "import": {
486
+ "items": {
487
+ "$ref": "#/definitions/import"
488
+ },
489
+ "type": "array"
490
+ },
491
+ "special": {
492
+ "items": {
493
+ "$ref": "#/definitions/special"
494
+ },
495
+ "type": "array"
496
+ },
497
+ "transformGroup": {
498
+ "items": {
499
+ "$ref": "#/definitions/transformGroup"
500
+ },
501
+ "type": "array"
502
+ },
503
+ "type": {
504
+ "enum": [
505
+ "simple",
506
+ "backspace"
507
+ ],
508
+ "type": "string"
509
+ }
510
+ },
511
+ "required": [
512
+ "type"
513
+ ],
514
+ "type": "object"
515
+ },
516
+ "unicodeSet": {
517
+ "additionalProperties": false,
518
+ "properties": {
519
+ "id": {
520
+ "type": "string"
521
+ },
522
+ "value": {
523
+ "type": "string"
524
+ }
525
+ },
526
+ "required": [
527
+ "id",
528
+ "value"
529
+ ],
530
+ "type": "object"
531
+ },
532
+ "variables": {
533
+ "additionalProperties": false,
534
+ "properties": {
535
+ "import": {
536
+ "items": {
537
+ "$ref": "#/definitions/import"
538
+ },
539
+ "type": "array"
540
+ },
541
+ "set": {
542
+ "items": {
543
+ "$ref": "#/definitions/set"
544
+ },
545
+ "type": "array"
546
+ },
547
+ "special": {
548
+ "items": {
549
+ "$ref": "#/definitions/special"
550
+ },
551
+ "type": "array"
552
+ },
553
+ "string": {
554
+ "items": {
555
+ "$ref": "#/definitions/stringVariable"
556
+ },
557
+ "type": "array"
558
+ },
559
+ "unicodeSet": {
560
+ "items": {
561
+ "$ref": "#/definitions/unicodeSet"
562
+ },
563
+ "type": "array"
564
+ }
565
+ },
566
+ "type": "object"
567
+ },
568
+ "version": {
569
+ "additionalProperties": false,
570
+ "properties": {
571
+ "cldrVersion": {
572
+ "enum": [
573
+ "techpreview"
574
+ ],
575
+ "type": "string"
576
+ },
577
+ "number": {
578
+ "type": "string"
579
+ }
580
+ },
581
+ "type": "object"
582
+ },
583
+ "vkey": {
584
+ "additionalProperties": false,
585
+ "properties": {
586
+ "from": {
587
+ "type": "string"
588
+ },
589
+ "to": {
590
+ "type": "string"
591
+ }
592
+ },
593
+ "required": [
594
+ "from",
595
+ "to"
596
+ ],
597
+ "type": "object"
598
+ },
599
+ "vkeys": {
600
+ "additionalProperties": false,
601
+ "properties": {
602
+ "import": {
603
+ "items": {
604
+ "$ref": "#/definitions/import"
605
+ },
606
+ "type": "array"
607
+ },
608
+ "special": {
609
+ "items": {
610
+ "$ref": "#/definitions/special"
611
+ },
612
+ "type": "array"
613
+ },
614
+ "vkey": {
615
+ "items": {
616
+ "$ref": "#/definitions/vkey"
617
+ },
618
+ "type": "array"
619
+ }
620
+ },
621
+ "type": "object"
622
+ }
623
+ },
624
+ "properties": {
625
+ "keyboard": {
626
+ "additionalProperties": false,
627
+ "properties": {
628
+ "conformsTo": {
629
+ "enum": [
630
+ "techpreview"
631
+ ],
632
+ "type": "string"
633
+ },
634
+ "displays": {
635
+ "$ref": "#/definitions/displays"
636
+ },
637
+ "import": {
638
+ "items": {
639
+ "$ref": "#/definitions/import"
640
+ },
641
+ "type": "array"
642
+ },
643
+ "info": {
644
+ "$ref": "#/definitions/info"
645
+ },
646
+ "keys": {
647
+ "$ref": "#/definitions/keys"
648
+ },
649
+ "layers": {
650
+ "items": {
651
+ "$ref": "#/definitions/layers"
652
+ },
653
+ "type": "array"
654
+ },
655
+ "locale": {
656
+ "type": "string"
657
+ },
658
+ "locales": {
659
+ "$ref": "#/definitions/locales"
660
+ },
661
+ "names": {
662
+ "$ref": "#/definitions/names"
663
+ },
664
+ "settings": {
665
+ "$ref": "#/definitions/settings"
666
+ },
667
+ "special": {
668
+ "items": {
669
+ "$ref": "#/definitions/special"
670
+ },
671
+ "type": "array"
672
+ },
673
+ "transforms": {
674
+ "items": {
675
+ "$ref": "#/definitions/transforms"
676
+ },
677
+ "type": "array"
678
+ },
679
+ "variables": {
680
+ "$ref": "#/definitions/variables"
681
+ },
682
+ "version": {
683
+ "$ref": "#/definitions/version"
684
+ },
685
+ "vkeys": {
686
+ "$ref": "#/definitions/vkeys"
687
+ }
688
+ },
689
+ "required": [
690
+ "names",
691
+ "locale",
692
+ "conformsTo"
693
+ ],
694
+ "type": "object"
695
+ }
696
+ },
697
+ "required": [
698
+ "keyboard"
699
+ ],
700
+ "title": "techpreview/dtd/ldmlKeyboard.xsd",
701
+ "type": "object"
702
+ }