@keymanapp/ldml-keyboard-constants 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.
@@ -1,386 +1,384 @@
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]="5a2f4f7b-bee4-5e3e-8c18-717b7e704b45")}catch(e){}}();
2
- /**
3
- * Defines the section identifiers and ensures that we include each and every
4
- * one of them in the `sections` block and gives us a type which we can iterate
5
- * through.
6
- */
7
- export type SectionIdent = 'sect' | 'bksp' | 'disp' | 'elem' | 'keys' | 'layr' | 'list' | 'loca' | 'meta' | 'strs' | 'tran' | 'uset' | 'vars';
8
- type SectionMap = {
9
- [id in SectionIdent]: SectionIdent;
10
- };
11
- /**
12
- * Constants for the KMXPlus data format
13
- * These are shared between the data access layer and the compiler.
14
- * Note that the section IDs (section_keys etc.) are 32 bit hex
15
- * values that are designed to appear as text when written in little endian
16
- * format, so 0x7379656b = 'keys'
17
- */
18
- declare class Constants {
19
- /**
20
- * The version of the LDML processor
21
- */
22
- readonly version = "1.0";
23
- /**
24
- * The techpreview CLDR version
25
- */
26
- readonly cldr_version_techpreview = "techpreview";
27
- /**
28
- * The latest CLDR version
29
- */
30
- readonly cldr_version_latest = "techpreview";
31
- /**
32
- * import base
33
- */
34
- readonly cldr_import_base = "cldr";
35
- /**
36
- * implied keys file
37
- */
38
- readonly cldr_implied_keys_import: string;
39
- /**
40
- * implied scancodes file
41
- */
42
- readonly cldr_implied_forms_import: string;
43
- /**
44
- * Length of a raw section header, in bytes
45
- */
46
- readonly length_header = 8;
47
- /**
48
- * Minimum length of the 'sect' section, not including entries
49
- */
50
- readonly length_sect = 16;
51
- /**
52
- * Length of each item in the 'sect' section variable part
53
- */
54
- readonly length_sect_item = 8;
55
- /**
56
- * Minimum length of the 'bksp' section, not including entries
57
- */
58
- readonly length_bksp = 12;
59
- /**
60
- * Length of each item in the 'bksp' section variable part
61
- */
62
- readonly length_bksp_item = 16;
63
- /**
64
- * bitwise or value for error="fail" in transform
65
- */
66
- readonly bksp_flags_error = 1;
67
- /**
68
- * Minimum length of the 'disp' section, not including entries
69
- */
70
- readonly length_disp = 16;
71
- /**
72
- * Length of each entry in the 'disp' variable part
73
- */
74
- readonly length_disp_item = 12;
75
- /**
76
- * Minimum length of the 'elem' section, not including entries
77
- */
78
- readonly length_elem = 12;
79
- /**
80
- * Length of each elem string in the 'elem' section variable part
81
- */
82
- readonly length_elem_item = 8;
83
- /**
84
- * Length of each element in an elem string
85
- */
86
- readonly length_elem_item_element = 8;
87
- /**
88
- * bitwise or value for type in elem[elemstr][element].flags.
89
- * If bits are 00b, then 'element' is a UTF-32LE codepoint.
90
- * If bits are 01b, then 'element' is a string index.
91
- * If bits are 10b (2), then 'element' is a uset index.
92
- *
93
- * `type = flags & elem_flags_type`
94
- */
95
- readonly elem_flags_type = 3;
96
- readonly elem_flags_type_char = 0;
97
- readonly elem_flags_type_str = 1;
98
- readonly elem_flags_type_uset = 2;
99
- /**
100
- * bitwise or value for tertiary_base in elem[elemstr][element].flags.
101
- * If bit is 1, then tertiary_base is true.
102
- * If bit is 0, then tertiary_base is false.
103
- *
104
- * Used only for `ordr`-type element strings.
105
- *
106
- * `tertiary_base = flags & elem_flags_tertiary_base`
107
- */
108
- readonly elem_flags_tertiary_base = 4;
109
- /**
110
- * bitwise or value for tertiary_base in elem[elemstr][element].flags.
111
- * If bit is 1, then prebase is true.
112
- * If bit is 0, then prebase is false.
113
- *
114
- * Used only for `ordr`-type element strings.
115
- *
116
- * `prebase = flags & elem_flags_prebase`
117
- */
118
- readonly elem_flags_prebase = 8;
119
- /**
120
- * bitwise mask for order in elem[elemstr][element].flags.
121
- *
122
- * Used only for `ordr`-type element strings. 1 byte signed integer.
123
- *
124
- * `order = (flags & elem_flags_order_mask) >> elem_flags_order_bitshift`
125
- */
126
- readonly elem_flags_order_mask = 16711680;
127
- /**
128
- * bit shift for order in elem[elemstr][element].flags.
129
- *
130
- * Used only for `ordr`-type element strings.
131
- *
132
- * `order = (flags & elem_flags_order_mask) >> elem_flags_order_bitshift`
133
- */
134
- readonly elem_flags_order_bitshift = 16;
135
- /**
136
- * bitwise mask for tertiary sort in elem[elemstr][element].flags.
137
- *
138
- * Used only for `ordr`-type element strings. 1 byte signed integer.
139
- *
140
- * `tertiary = (flags & elem_flags_tertiary_mask) >> elem_flags_tertiary_bitshift`
141
- */
142
- readonly elem_flags_tertiary_mask = 4278190080;
143
- /**
144
- * bit shift for tertiary sort in elem[elemstr][element].flags.
145
- *
146
- * Used only for `ordr`-type element strings. 1 byte signed integer.
147
- *
148
- * `order = (flags & elem_flags_tertiary_mask) >> elem_flags_tertiary_bitshift`
149
- */
150
- readonly elem_flags_tertiary_bitshift = 24;
151
- /**
152
- * Minimum length of the 'finl' section, not including entries
153
- */
154
- readonly length_finl = 8;
155
- /**
156
- * Length of each item in the 'finl' section variable part
157
- */
158
- readonly length_finl_item = 16;
159
- /**
160
- * bitwise or value for error="fail" in transform
161
- */
162
- readonly finl_flags_error = 1;
163
- /**
164
- * Constant for no modifiers
165
- */
166
- readonly keys_mod_none = 0;
167
- /**
168
- * bitmask for Left Alt modifier key
169
- */
170
- readonly keys_mod_altL = 4;
171
- /**
172
- * bitmask for Right Alt (AltGr) modifier key
173
- */
174
- readonly keys_mod_altR = 8;
175
- /**
176
- * bitmask for either Alt (Windows) or Option (Apple) modifier keys
177
- */
178
- readonly keys_mod_alt = 64;
179
- /**
180
- * bitmask for Caps modifier key
181
- */
182
- readonly keys_mod_caps = 256;
183
- /**
184
- * bitmask for Left control modifier key
185
- */
186
- readonly keys_mod_ctrlL = 1;
187
- /**
188
- * bitmask for Right control modifier key
189
- */
190
- readonly keys_mod_ctrlR = 2;
191
- /**
192
- * bitmask for either Control modifier key
193
- */
194
- readonly keys_mod_ctrl = 32;
195
- /**
196
- * bitmask for either shift.
197
- */
198
- readonly keys_mod_shift = 16;
199
- /**
200
- * Convenience map for modifiers
201
- */
202
- readonly keys_mod_map: Map<string, number>;
203
- /**
204
- * a mask combining all valid modifier bits
205
- */
206
- readonly keys_mod_all: number;
207
- /**
208
- * Minimum length of the 'keys' section not including variable parts
209
- */
210
- readonly length_keys = 24;
211
- /**
212
- * Length of each item in the 'keys' keys sub-table
213
- */
214
- readonly length_keys_key = 36;
215
- /**
216
- * Length of each item in the 'keys' flick lists sub-table
217
- */
218
- readonly length_keys_flick_list = 12;
219
- /**
220
- * Length of each item in the 'keys' flick elements sub-table
221
- */
222
- readonly length_keys_flick_element = 8;
223
- /**
224
- * Length of each item in the 'keys.kmap' key map subtable
225
- */
226
- readonly length_keys_kmap = 12;
227
- /**
228
- * 0 if to is a char, 1 if it is a string
229
- */
230
- readonly keys_key_flags_extend = 1;
231
- /**
232
- * 1 if the key is a gap
233
- */
234
- readonly keys_key_flags_gap = 2;
235
- /**
236
- * Minimum length of the 'layr' section not including variable parts
237
- */
238
- readonly length_layr = 24;
239
- /**
240
- * Length of each layer list in the 'layr' section variable part
241
- */
242
- readonly length_layr_list = 16;
243
- /**
244
- * for the 'hardware' field indicating a touch keyboard, non-hardware
245
- */
246
- readonly layr_list_hardware_touch = "touch";
247
- /**
248
- * Length of each layer entry in the 'layr' section variable part
249
- */
250
- readonly length_layr_entry = 16;
251
- /**
252
- * Length of each row entry in the 'layr' section variable part
253
- */
254
- readonly length_layr_row = 8;
255
- /**
256
- * Length of each key entry in the 'layr' section variable part
257
- */
258
- readonly length_layr_key = 4;
259
- /**
260
- * Minimum length of the 'list' section not including variable parts
261
- */
262
- readonly length_list = 16;
263
- /**
264
- * Length of each list item in the 'list' list section variable part
265
- */
266
- readonly length_list_item = 8;
267
- /**
268
- * Length of each list item in the 'list' indices section variable part
269
- */
270
- readonly length_list_index = 4;
271
- /**
272
- * Minimum length of the 'loca' section not including variable parts
273
- */
274
- readonly length_loca = 12;
275
- /**
276
- * Length of each item in the 'loca' section variable part
277
- */
278
- readonly length_loca_item = 4;
279
- /**
280
- * length of the 'meta' section
281
- */
282
- readonly length_meta = 36;
283
- /**
284
- * bitwise or value for normalization=disabled in meta.settings
285
- */
286
- readonly meta_settings_normalization_disabled = 1;
287
- /**
288
- * Minimum length of the 'strs' section not including variable parts
289
- */
290
- readonly length_strs = 12;
291
- /**
292
- * Length of each item in the 'strs' section variable part
293
- */
294
- readonly length_strs_item = 8;
295
- /**
296
- * Minimum length of the 'tran' section, not including entries
297
- */
298
- readonly length_tran = 20;
299
- /**
300
- * Length of each transform group item
301
- */
302
- readonly length_tran_group = 12;
303
- /**
304
- * Length of each transform item
305
- */
306
- readonly length_tran_transform = 16;
307
- /**
308
- * Length of each reorder subtable item
309
- */
310
- readonly length_tran_reorder = 8;
311
- /**
312
- * bitwise or value for error="fail" in transform
313
- */
314
- readonly tran_flags_error = 1;
315
- /**
316
- * this group is full of transform items
317
- */
318
- readonly tran_group_type_transform = 0;
319
- /**
320
- * this group is full of reorder items
321
- */
322
- readonly tran_group_type_reorder = 1;
323
- /**
324
- * Minimum length of the 'vars' section not including variable parts
325
- */
326
- readonly length_vars = 16;
327
- /**
328
- * Length of each item in the 'vars' section variable part
329
- */
330
- readonly length_vars_item = 16;
331
- /**
332
- * String variable
333
- */
334
- readonly vars_entry_type_string = 0;
335
- /**
336
- * Set variable
337
- */
338
- readonly vars_entry_type_set = 1;
339
- /**
340
- * unicodeSet variable
341
- */
342
- readonly vars_entry_type_unicodeSet = 2;
343
- readonly length_uset = 16;
344
- /**
345
- * Length of each entry in the uset.usets subtable
346
- */
347
- readonly length_uset_uset = 12;
348
- /**
349
- * Length of each entry in the uset.ranges subtable
350
- */
351
- readonly length_uset_range = 8;
352
- /**
353
- * All section IDs.
354
- */
355
- readonly section: SectionMap;
356
- /**
357
- * Use to convert 4-char string into hex
358
- * @param id section id such as 'sect'
359
- * @returns hex ID such as 0x74636573
360
- */
361
- hex_section_id(id: string): number;
362
- /**
363
- * Use to convert hex into 4-char string
364
- * @param hex section ID such as 0x74636573
365
- * @returns string such as 'sect'
366
- */
367
- str_section_id(hex: number): string;
368
- /** == kmx_file.UC_SENTINEL, always followed by `marker_code`, marker index 0x0001-0xfffe */
369
- readonly uc_sentinel = 65535;
370
- /** == kmx_file.CODE_DEADKEY */
371
- readonly marker_code = 8;
372
- /** used to refer to no index */
373
- readonly marker_no_index = 0;
374
- /** minimum usable marker index */
375
- readonly marker_min_index = 1;
376
- /** index value referring to the 'any' marker match */
377
- readonly marker_any_index = 55295;
378
- /** maximum marker index prior to the 'any' value */
379
- readonly marker_max_index: number;
380
- /** maximum count of markers (not including 'any') */
381
- readonly marker_max_count: number;
382
- }
383
- export declare const constants: Constants;
384
- export {};
385
- //# debugId=5a2f4f7b-bee4-5e3e-8c18-717b7e704b45
386
- //# sourceMappingURL=keyman_core_ldml.d.ts.map
1
+ /**
2
+ * Defines the section identifiers and ensures that we include each and every
3
+ * one of them in the `sections` block and gives us a type which we can iterate
4
+ * through.
5
+ */
6
+ export type SectionIdent = 'sect' | 'bksp' | 'disp' | 'elem' | 'keys' | 'layr' | 'list' | 'loca' | 'meta' | 'strs' | 'tran' | 'uset' | 'vars';
7
+ type SectionMap = {
8
+ [id in SectionIdent]: SectionIdent;
9
+ };
10
+ /**
11
+ * Constants for the KMXPlus data format
12
+ * These are shared between the data access layer and the compiler.
13
+ * Note that the section IDs (section_keys etc.) are 32 bit hex
14
+ * values that are designed to appear as text when written in little endian
15
+ * format, so 0x7379656b = 'keys'
16
+ */
17
+ declare class Constants {
18
+ /**
19
+ * The version of the LDML processor
20
+ */
21
+ readonly version = "1.0";
22
+ /**
23
+ * The techpreview CLDR version
24
+ */
25
+ readonly cldr_version_techpreview = "techpreview";
26
+ /**
27
+ * The latest CLDR version
28
+ */
29
+ readonly cldr_version_latest = "techpreview";
30
+ /**
31
+ * import base
32
+ */
33
+ readonly cldr_import_base = "cldr";
34
+ /**
35
+ * implied keys file
36
+ */
37
+ readonly cldr_implied_keys_import: string;
38
+ /**
39
+ * implied scancodes file
40
+ */
41
+ readonly cldr_implied_forms_import: string;
42
+ /**
43
+ * Length of a raw section header, in bytes
44
+ */
45
+ readonly length_header = 8;
46
+ /**
47
+ * Minimum length of the 'sect' section, not including entries
48
+ */
49
+ readonly length_sect = 16;
50
+ /**
51
+ * Length of each item in the 'sect' section variable part
52
+ */
53
+ readonly length_sect_item = 8;
54
+ /**
55
+ * Minimum length of the 'bksp' section, not including entries
56
+ */
57
+ readonly length_bksp = 12;
58
+ /**
59
+ * Length of each item in the 'bksp' section variable part
60
+ */
61
+ readonly length_bksp_item = 16;
62
+ /**
63
+ * bitwise or value for error="fail" in transform
64
+ */
65
+ readonly bksp_flags_error = 1;
66
+ /**
67
+ * Minimum length of the 'disp' section, not including entries
68
+ */
69
+ readonly length_disp = 16;
70
+ /**
71
+ * Length of each entry in the 'disp' variable part
72
+ */
73
+ readonly length_disp_item = 12;
74
+ /**
75
+ * Minimum length of the 'elem' section, not including entries
76
+ */
77
+ readonly length_elem = 12;
78
+ /**
79
+ * Length of each elem string in the 'elem' section variable part
80
+ */
81
+ readonly length_elem_item = 8;
82
+ /**
83
+ * Length of each element in an elem string
84
+ */
85
+ readonly length_elem_item_element = 8;
86
+ /**
87
+ * bitwise or value for type in elem[elemstr][element].flags.
88
+ * If bits are 00b, then 'element' is a UTF-32LE codepoint.
89
+ * If bits are 01b, then 'element' is a string index.
90
+ * If bits are 10b (2), then 'element' is a uset index.
91
+ *
92
+ * `type = flags & elem_flags_type`
93
+ */
94
+ readonly elem_flags_type = 3;
95
+ readonly elem_flags_type_char = 0;
96
+ readonly elem_flags_type_str = 1;
97
+ readonly elem_flags_type_uset = 2;
98
+ /**
99
+ * bitwise or value for tertiary_base in elem[elemstr][element].flags.
100
+ * If bit is 1, then tertiary_base is true.
101
+ * If bit is 0, then tertiary_base is false.
102
+ *
103
+ * Used only for `ordr`-type element strings.
104
+ *
105
+ * `tertiary_base = flags & elem_flags_tertiary_base`
106
+ */
107
+ readonly elem_flags_tertiary_base = 4;
108
+ /**
109
+ * bitwise or value for tertiary_base in elem[elemstr][element].flags.
110
+ * If bit is 1, then prebase is true.
111
+ * If bit is 0, then prebase is false.
112
+ *
113
+ * Used only for `ordr`-type element strings.
114
+ *
115
+ * `prebase = flags & elem_flags_prebase`
116
+ */
117
+ readonly elem_flags_prebase = 8;
118
+ /**
119
+ * bitwise mask for order in elem[elemstr][element].flags.
120
+ *
121
+ * Used only for `ordr`-type element strings. 1 byte signed integer.
122
+ *
123
+ * `order = (flags & elem_flags_order_mask) >> elem_flags_order_bitshift`
124
+ */
125
+ readonly elem_flags_order_mask = 16711680;
126
+ /**
127
+ * bit shift for order in elem[elemstr][element].flags.
128
+ *
129
+ * Used only for `ordr`-type element strings.
130
+ *
131
+ * `order = (flags & elem_flags_order_mask) >> elem_flags_order_bitshift`
132
+ */
133
+ readonly elem_flags_order_bitshift = 16;
134
+ /**
135
+ * bitwise mask for tertiary sort in elem[elemstr][element].flags.
136
+ *
137
+ * Used only for `ordr`-type element strings. 1 byte signed integer.
138
+ *
139
+ * `tertiary = (flags & elem_flags_tertiary_mask) >> elem_flags_tertiary_bitshift`
140
+ */
141
+ readonly elem_flags_tertiary_mask = 4278190080;
142
+ /**
143
+ * bit shift for tertiary sort in elem[elemstr][element].flags.
144
+ *
145
+ * Used only for `ordr`-type element strings. 1 byte signed integer.
146
+ *
147
+ * `order = (flags & elem_flags_tertiary_mask) >> elem_flags_tertiary_bitshift`
148
+ */
149
+ readonly elem_flags_tertiary_bitshift = 24;
150
+ /**
151
+ * Minimum length of the 'finl' section, not including entries
152
+ */
153
+ readonly length_finl = 8;
154
+ /**
155
+ * Length of each item in the 'finl' section variable part
156
+ */
157
+ readonly length_finl_item = 16;
158
+ /**
159
+ * bitwise or value for error="fail" in transform
160
+ */
161
+ readonly finl_flags_error = 1;
162
+ /**
163
+ * Constant for no modifiers
164
+ */
165
+ readonly keys_mod_none = 0;
166
+ /**
167
+ * bitmask for Left Alt modifier key
168
+ */
169
+ readonly keys_mod_altL = 4;
170
+ /**
171
+ * bitmask for Right Alt (AltGr) modifier key
172
+ */
173
+ readonly keys_mod_altR = 8;
174
+ /**
175
+ * bitmask for either Alt (Windows) or Option (Apple) modifier keys
176
+ */
177
+ readonly keys_mod_alt = 64;
178
+ /**
179
+ * bitmask for Caps modifier key
180
+ */
181
+ readonly keys_mod_caps = 256;
182
+ /**
183
+ * bitmask for Left control modifier key
184
+ */
185
+ readonly keys_mod_ctrlL = 1;
186
+ /**
187
+ * bitmask for Right control modifier key
188
+ */
189
+ readonly keys_mod_ctrlR = 2;
190
+ /**
191
+ * bitmask for either Control modifier key
192
+ */
193
+ readonly keys_mod_ctrl = 32;
194
+ /**
195
+ * bitmask for either shift.
196
+ */
197
+ readonly keys_mod_shift = 16;
198
+ /**
199
+ * Convenience map for modifiers
200
+ */
201
+ readonly keys_mod_map: Map<string, number>;
202
+ /**
203
+ * a mask combining all valid modifier bits
204
+ */
205
+ readonly keys_mod_all: number;
206
+ /**
207
+ * Minimum length of the 'keys' section not including variable parts
208
+ */
209
+ readonly length_keys = 24;
210
+ /**
211
+ * Length of each item in the 'keys' keys sub-table
212
+ */
213
+ readonly length_keys_key = 36;
214
+ /**
215
+ * Length of each item in the 'keys' flick lists sub-table
216
+ */
217
+ readonly length_keys_flick_list = 12;
218
+ /**
219
+ * Length of each item in the 'keys' flick elements sub-table
220
+ */
221
+ readonly length_keys_flick_element = 8;
222
+ /**
223
+ * Length of each item in the 'keys.kmap' key map subtable
224
+ */
225
+ readonly length_keys_kmap = 12;
226
+ /**
227
+ * 0 if to is a char, 1 if it is a string
228
+ */
229
+ readonly keys_key_flags_extend = 1;
230
+ /**
231
+ * 1 if the key is a gap
232
+ */
233
+ readonly keys_key_flags_gap = 2;
234
+ /**
235
+ * Minimum length of the 'layr' section not including variable parts
236
+ */
237
+ readonly length_layr = 24;
238
+ /**
239
+ * Length of each layer list in the 'layr' section variable part
240
+ */
241
+ readonly length_layr_list = 16;
242
+ /**
243
+ * for the 'hardware' field indicating a touch keyboard, non-hardware
244
+ */
245
+ readonly layr_list_hardware_touch = "touch";
246
+ /**
247
+ * Length of each layer entry in the 'layr' section variable part
248
+ */
249
+ readonly length_layr_entry = 16;
250
+ /**
251
+ * Length of each row entry in the 'layr' section variable part
252
+ */
253
+ readonly length_layr_row = 8;
254
+ /**
255
+ * Length of each key entry in the 'layr' section variable part
256
+ */
257
+ readonly length_layr_key = 4;
258
+ /**
259
+ * Minimum length of the 'list' section not including variable parts
260
+ */
261
+ readonly length_list = 16;
262
+ /**
263
+ * Length of each list item in the 'list' list section variable part
264
+ */
265
+ readonly length_list_item = 8;
266
+ /**
267
+ * Length of each list item in the 'list' indices section variable part
268
+ */
269
+ readonly length_list_index = 4;
270
+ /**
271
+ * Minimum length of the 'loca' section not including variable parts
272
+ */
273
+ readonly length_loca = 12;
274
+ /**
275
+ * Length of each item in the 'loca' section variable part
276
+ */
277
+ readonly length_loca_item = 4;
278
+ /**
279
+ * length of the 'meta' section
280
+ */
281
+ readonly length_meta = 36;
282
+ /**
283
+ * bitwise or value for normalization=disabled in meta.settings
284
+ */
285
+ readonly meta_settings_normalization_disabled = 1;
286
+ /**
287
+ * Minimum length of the 'strs' section not including variable parts
288
+ */
289
+ readonly length_strs = 12;
290
+ /**
291
+ * Length of each item in the 'strs' section variable part
292
+ */
293
+ readonly length_strs_item = 8;
294
+ /**
295
+ * Minimum length of the 'tran' section, not including entries
296
+ */
297
+ readonly length_tran = 20;
298
+ /**
299
+ * Length of each transform group item
300
+ */
301
+ readonly length_tran_group = 12;
302
+ /**
303
+ * Length of each transform item
304
+ */
305
+ readonly length_tran_transform = 16;
306
+ /**
307
+ * Length of each reorder subtable item
308
+ */
309
+ readonly length_tran_reorder = 8;
310
+ /**
311
+ * bitwise or value for error="fail" in transform
312
+ */
313
+ readonly tran_flags_error = 1;
314
+ /**
315
+ * this group is full of transform items
316
+ */
317
+ readonly tran_group_type_transform = 0;
318
+ /**
319
+ * this group is full of reorder items
320
+ */
321
+ readonly tran_group_type_reorder = 1;
322
+ /**
323
+ * Minimum length of the 'vars' section not including variable parts
324
+ */
325
+ readonly length_vars = 16;
326
+ /**
327
+ * Length of each item in the 'vars' section variable part
328
+ */
329
+ readonly length_vars_item = 16;
330
+ /**
331
+ * String variable
332
+ */
333
+ readonly vars_entry_type_string = 0;
334
+ /**
335
+ * Set variable
336
+ */
337
+ readonly vars_entry_type_set = 1;
338
+ /**
339
+ * unicodeSet variable
340
+ */
341
+ readonly vars_entry_type_unicodeSet = 2;
342
+ readonly length_uset = 16;
343
+ /**
344
+ * Length of each entry in the uset.usets subtable
345
+ */
346
+ readonly length_uset_uset = 12;
347
+ /**
348
+ * Length of each entry in the uset.ranges subtable
349
+ */
350
+ readonly length_uset_range = 8;
351
+ /**
352
+ * All section IDs.
353
+ */
354
+ readonly section: SectionMap;
355
+ /**
356
+ * Use to convert 4-char string into hex
357
+ * @param id section id such as 'sect'
358
+ * @returns hex ID such as 0x74636573
359
+ */
360
+ hex_section_id(id: string): number;
361
+ /**
362
+ * Use to convert hex into 4-char string
363
+ * @param hex section ID such as 0x74636573
364
+ * @returns string such as 'sect'
365
+ */
366
+ str_section_id(hex: number): string;
367
+ /** == kmx_file.UC_SENTINEL, always followed by `marker_code`, marker index 0x0001-0xfffe */
368
+ readonly uc_sentinel = 65535;
369
+ /** == kmx_file.CODE_DEADKEY */
370
+ readonly marker_code = 8;
371
+ /** used to refer to no index */
372
+ readonly marker_no_index = 0;
373
+ /** minimum usable marker index */
374
+ readonly marker_min_index = 1;
375
+ /** index value referring to the 'any' marker match */
376
+ readonly marker_any_index = 55295;
377
+ /** maximum marker index prior to the 'any' value */
378
+ readonly marker_max_index: number;
379
+ /** maximum count of markers (not including 'any') */
380
+ readonly marker_max_count: number;
381
+ }
382
+ export declare const constants: Constants;
383
+ export {};
384
+ //# sourceMappingURL=keyman_core_ldml.d.ts.map
@@ -1 +1 @@
1
- {"debug_id":"5a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AgB,MAAM;IAE/B;;OAEG;IACH,QAAQ,CAAC,sBAAsB,KAAK;IACpC;;OAEG;IACH,QAAQ,CAAC,mBAAmB,KAAK;IACjC;;OAEG;IACH,QAAQ,CAAC,0BAA0B,KAAK;IASxC,QAAQ,CAAC,WAAW,MAAM;IAE1B;;OAEG;IACH,QAAQ,CAAC,gBAAgB,MAAM;IAE/B;;OAEG;IACH,QAAQ,CAAC,iBAAiB,KAAK;IAE/B;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,UAAU,CAe1B;IAEF;;;;OAIG;IACH,cAAc,CAAC,EAAE,EAAC,MAAM;IAWxB;;;;OAIG;IACH,cAAc,CAAC,GAAG,EAAC,MAAM,GAAI,MAAM;IAUnC,4FAA4F;IAC5F,QAAQ,CAAC,WAAW,SAAkB;IACtC,+BAA+B;IAC/B,QAAQ,CAAC,WAAW,KAAkB;IACtC,gCAAgC;IAChC,QAAQ,CAAC,eAAe,KAAc;IACtC,kCAAkC;IAClC,QAAQ,CAAC,gBAAgB,KAAa;IACtC,sDAAsD;IACtD,QAAQ,CAAC,gBAAgB,SAAa;IACtC,oDAAoD;IACpD,QAAQ,CAAC,gBAAgB,SAAgC;IACzD,qDAAqD;IACrD,QAAQ,CAAC,gBAAgB,SAAwD;CAElF;AAED,eAAO,MAAM,SAAS,WAAkB,CAAC","names":[],"sourceRoot":"","sources":["../keyman_core_ldml.ts"],"version":3}
1
+ {"version":3,"file":"keyman_core_ldml.d.ts","sourceRoot":"","sources":["../keyman_core_ldml.ts"],"names":[],"mappings":"AAmBA;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAEtB,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,CAAC;AAGT,KAAK,UAAU,GAAG;KACf,EAAE,IAAI,YAAY,GAAG,YAAY;CACnC,CAAA;AAGD;;;;;;GAMG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;;;OAIG;IACH,cAAc,CAAC,EAAE,EAAC,MAAM;IAWxB;;;;OAIG;IACH,cAAc,CAAC,GAAG,EAAC,MAAM,GAAI,MAAM;IAUnC,4FAA4F;IAC5F,QAAQ,CAAC,WAAW,SAAkB;IACtC,+BAA+B;IAC/B,QAAQ,CAAC,WAAW,KAAkB;IACtC,gCAAgC;IAChC,QAAQ,CAAC,eAAe,KAAc;IACtC,kCAAkC;IAClC,QAAQ,CAAC,gBAAgB,KAAa;IACtC,sDAAsD;IACtD,QAAQ,CAAC,gBAAgB,SAAa;IACtC,oDAAoD;IACpD,QAAQ,CAAC,gBAAgB,SAAgC;IACzD,qDAAqD;IACrD,QAAQ,CAAC,gBAAgB,SAAwD;CAElF;AAED,eAAO,MAAM,SAAS,WAAkB,CAAC"}
package/package.json CHANGED
@@ -17,5 +17,5 @@
17
17
  "type": "git",
18
18
  "url": "git+https://github.com/keymanapp/keyman.git"
19
19
  },
20
- "version": "17.0.255-alpha"
20
+ "version": "17.0.257-alpha"
21
21
  }