@keymanapp/common-types 17.0.256-alpha → 17.0.258-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 (131) hide show
  1. package/build/src/consts/virtual-key-constants.d.ts +192 -194
  2. package/build/src/consts/virtual-key-constants.d.ts.map +1 -1
  3. package/build/src/keyman-touch-layout/keyman-touch-layout-file-reader.d.ts +6 -8
  4. package/build/src/keyman-touch-layout/keyman-touch-layout-file-reader.d.ts.map +1 -1
  5. package/build/src/keyman-touch-layout/keyman-touch-layout-file-writer.d.ts +29 -31
  6. package/build/src/keyman-touch-layout/keyman-touch-layout-file-writer.d.ts.map +1 -1
  7. package/build/src/keyman-touch-layout/keyman-touch-layout-file.d.ts +96 -98
  8. package/build/src/keyman-touch-layout/keyman-touch-layout-file.d.ts.map +1 -1
  9. package/build/src/keyman-touch-layout/keyman-touch-layout-file.js +29 -5
  10. package/build/src/keyman-touch-layout/keyman-touch-layout-file.js.map +1 -1
  11. package/build/src/kmx/element-string.d.ts +24 -26
  12. package/build/src/kmx/element-string.d.ts.map +1 -1
  13. package/build/src/kmx/keyman-targets.d.ts +21 -23
  14. package/build/src/kmx/keyman-targets.d.ts.map +1 -1
  15. package/build/src/kmx/kmx-builder.d.ts +33 -35
  16. package/build/src/kmx/kmx-builder.d.ts.map +1 -1
  17. package/build/src/kmx/kmx-file-reader.d.ts +14 -16
  18. package/build/src/kmx/kmx-file-reader.d.ts.map +1 -1
  19. package/build/src/kmx/kmx-plus-builder/build-disp.d.ts +19 -21
  20. package/build/src/kmx/kmx-plus-builder/build-disp.d.ts.map +1 -1
  21. package/build/src/kmx/kmx-plus-builder/build-elem.d.ts +29 -31
  22. package/build/src/kmx/kmx-plus-builder/build-elem.d.ts.map +1 -1
  23. package/build/src/kmx/kmx-plus-builder/build-keys.d.ts +57 -59
  24. package/build/src/kmx/kmx-plus-builder/build-keys.d.ts.map +1 -1
  25. package/build/src/kmx/kmx-plus-builder/build-layr.d.ts +54 -56
  26. package/build/src/kmx/kmx-plus-builder/build-layr.d.ts.map +1 -1
  27. package/build/src/kmx/kmx-plus-builder/build-list.d.ts +36 -38
  28. package/build/src/kmx/kmx-plus-builder/build-list.d.ts.map +1 -1
  29. package/build/src/kmx/kmx-plus-builder/build-loca.d.ts +12 -14
  30. package/build/src/kmx/kmx-plus-builder/build-loca.d.ts.map +1 -1
  31. package/build/src/kmx/kmx-plus-builder/build-meta.d.ts +17 -19
  32. package/build/src/kmx/kmx-plus-builder/build-meta.d.ts.map +1 -1
  33. package/build/src/kmx/kmx-plus-builder/build-sect.d.ts +16 -18
  34. package/build/src/kmx/kmx-plus-builder/build-sect.d.ts.map +1 -1
  35. package/build/src/kmx/kmx-plus-builder/build-strs.d.ts +23 -25
  36. package/build/src/kmx/kmx-plus-builder/build-strs.d.ts.map +1 -1
  37. package/build/src/kmx/kmx-plus-builder/build-tran.d.ts +33 -35
  38. package/build/src/kmx/kmx-plus-builder/build-tran.d.ts.map +1 -1
  39. package/build/src/kmx/kmx-plus-builder/build-uset.d.ts +31 -33
  40. package/build/src/kmx/kmx-plus-builder/build-uset.d.ts.map +1 -1
  41. package/build/src/kmx/kmx-plus-builder/build-vars.d.ts +22 -24
  42. package/build/src/kmx/kmx-plus-builder/build-vars.d.ts.map +1 -1
  43. package/build/src/kmx/kmx-plus-builder/builder-section.d.ts +10 -12
  44. package/build/src/kmx/kmx-plus-builder/builder-section.d.ts.map +1 -1
  45. package/build/src/kmx/kmx-plus-builder/kmx-plus-builder.d.ts +43 -45
  46. package/build/src/kmx/kmx-plus-builder/kmx-plus-builder.d.ts.map +1 -1
  47. package/build/src/kmx/kmx-plus.d.ts +320 -322
  48. package/build/src/kmx/kmx-plus.d.ts.map +1 -1
  49. package/build/src/kmx/kmx.d.ts +234 -236
  50. package/build/src/kmx/kmx.d.ts.map +1 -1
  51. package/build/src/kmx/string-list.d.ts +36 -38
  52. package/build/src/kmx/string-list.d.ts.map +1 -1
  53. package/build/src/kpj/keyman-developer-project.d.ts +79 -81
  54. package/build/src/kpj/keyman-developer-project.d.ts.map +1 -1
  55. package/build/src/kpj/kpj-file-reader.d.ts +19 -21
  56. package/build/src/kpj/kpj-file-reader.d.ts.map +1 -1
  57. package/build/src/kpj/kpj-file.d.ts +40 -42
  58. package/build/src/kpj/kpj-file.d.ts.map +1 -1
  59. package/build/src/kvk/kvk-file-reader.d.ts +5 -7
  60. package/build/src/kvk/kvk-file-reader.d.ts.map +1 -1
  61. package/build/src/kvk/kvk-file-writer.d.ts +20 -22
  62. package/build/src/kvk/kvk-file-writer.d.ts.map +1 -1
  63. package/build/src/kvk/kvk-file.d.ts +67 -69
  64. package/build/src/kvk/kvk-file.d.ts.map +1 -1
  65. package/build/src/kvk/kvk-file.js +26 -2
  66. package/build/src/kvk/kvk-file.js.map +1 -1
  67. package/build/src/kvk/kvks-file-reader.d.ts +24 -26
  68. package/build/src/kvk/kvks-file-reader.d.ts.map +1 -1
  69. package/build/src/kvk/kvks-file-writer.d.ts +7 -9
  70. package/build/src/kvk/kvks-file-writer.d.ts.map +1 -1
  71. package/build/src/kvk/kvks-file.d.ts +44 -46
  72. package/build/src/kvk/kvks-file.d.ts.map +1 -1
  73. package/build/src/kvk/visual-keyboard.d.ts +45 -47
  74. package/build/src/kvk/visual-keyboard.d.ts.map +1 -1
  75. package/build/src/kvk/visual-keyboard.js +5 -2
  76. package/build/src/kvk/visual-keyboard.js.map +1 -1
  77. package/build/src/ldml-keyboard/ldml-keyboard-testdata-xml.d.ts +61 -63
  78. package/build/src/ldml-keyboard/ldml-keyboard-testdata-xml.d.ts.map +1 -1
  79. package/build/src/ldml-keyboard/ldml-keyboard-xml-reader.d.ts +96 -98
  80. package/build/src/ldml-keyboard/ldml-keyboard-xml-reader.d.ts.map +1 -1
  81. package/build/src/ldml-keyboard/ldml-keyboard-xml.d.ts +171 -173
  82. package/build/src/ldml-keyboard/ldml-keyboard-xml.d.ts.map +1 -1
  83. package/build/src/ldml-keyboard/pattern-parser.d.ts +196 -198
  84. package/build/src/ldml-keyboard/pattern-parser.d.ts.map +1 -1
  85. package/build/src/ldml-keyboard/unicodeset-parser-api.d.ts +38 -40
  86. package/build/src/ldml-keyboard/unicodeset-parser-api.d.ts.map +1 -1
  87. package/build/src/main.d.ts +35 -37
  88. package/build/src/main.d.ts.map +1 -1
  89. package/build/src/osk/osk.d.ts +23 -25
  90. package/build/src/osk/osk.d.ts.map +1 -1
  91. package/build/src/package/kmp-json-file.d.ts +116 -118
  92. package/build/src/package/kmp-json-file.d.ts.map +1 -1
  93. package/build/src/package/kps-file.d.ts +176 -178
  94. package/build/src/package/kps-file.d.ts.map +1 -1
  95. package/build/src/schema-validators.d.ts +14 -16
  96. package/build/src/schema-validators.d.ts.map +1 -1
  97. package/build/src/schemas/displaymap.schema.d.ts +58 -60
  98. package/build/src/schemas/displaymap.schema.d.ts.map +1 -1
  99. package/build/src/schemas/keyboard_info.schema.d.ts +210 -212
  100. package/build/src/schemas/keyboard_info.schema.d.ts.map +1 -1
  101. package/build/src/schemas/keyman-touch-layout.clean.spec.d.ts +228 -230
  102. package/build/src/schemas/keyman-touch-layout.clean.spec.d.ts.map +1 -1
  103. package/build/src/schemas/keyman-touch-layout.spec.d.ts +230 -232
  104. package/build/src/schemas/keyman-touch-layout.spec.d.ts.map +1 -1
  105. package/build/src/schemas/kmp.schema.d.ts +325 -327
  106. package/build/src/schemas/kmp.schema.d.ts.map +1 -1
  107. package/build/src/schemas/kpj-9.0.schema.d.ts +153 -155
  108. package/build/src/schemas/kpj-9.0.schema.d.ts.map +1 -1
  109. package/build/src/schemas/kpj.schema.d.ts +123 -125
  110. package/build/src/schemas/kpj.schema.d.ts.map +1 -1
  111. package/build/src/schemas/kvks.schema.d.ts +161 -163
  112. package/build/src/schemas/kvks.schema.d.ts.map +1 -1
  113. package/build/src/schemas/ldml-keyboard3.schema.d.ts +633 -635
  114. package/build/src/schemas/ldml-keyboard3.schema.d.ts.map +1 -1
  115. package/build/src/schemas/ldml-keyboardtest3.schema.d.ts +190 -192
  116. package/build/src/schemas/ldml-keyboardtest3.schema.d.ts.map +1 -1
  117. package/build/src/schemas.d.ts +2295 -2297
  118. package/build/src/schemas.d.ts.map +1 -1
  119. package/build/src/util/common-events.d.ts +45 -47
  120. package/build/src/util/common-events.d.ts.map +1 -1
  121. package/build/src/util/compiler-interfaces.d.ts +367 -369
  122. package/build/src/util/compiler-interfaces.d.ts.map +1 -1
  123. package/build/src/util/errors.d.ts +6 -8
  124. package/build/src/util/errors.d.ts.map +1 -1
  125. package/build/src/util/file-types.d.ts +94 -96
  126. package/build/src/util/file-types.d.ts.map +1 -1
  127. package/build/src/util/file-types.js +30 -2
  128. package/build/src/util/file-types.js.map +1 -1
  129. package/build/src/util/util.d.ts +67 -69
  130. package/build/src/util/util.d.ts.map +1 -1
  131. package/package.json +2 -2
@@ -1,198 +1,196 @@
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]="d1b50f0f-d4fc-5277-9486-8918c1900b0a")}catch(e){}}();
2
- /**
3
- * Utilities for transform and marker processing
4
- */
5
- /** for use with markers, means an ordering can be determined */
6
- export interface OrderedStringList {
7
- /** @returns the ordering of an item (0..), or -1 if not found */
8
- getItemOrder(item: string): number;
9
- }
10
- /**
11
- * Class for helping with markers
12
- */
13
- export declare class MarkerParser {
14
- /**
15
- * A marker id has the same constraint as a key id. TODO-LDML: Needs to be reflected in the spec
16
- */
17
- static readonly ID: RegExp;
18
- /**
19
- * Special marker reference referring to any marker
20
- */
21
- static readonly ANY_MARKER = "\\m{.}";
22
- /**
23
- * id of the 'any' marker
24
- */
25
- static readonly ANY_MARKER_ID = ".";
26
- /**
27
- * Marker sentinel as a string - U+FFFF
28
- */
29
- static readonly SENTINEL: string;
30
- /** Marker sentinel as a regex match */
31
- static readonly SENTINEL_MATCH: string;
32
- /**
33
- * Marker code as a string - U+0008
34
- */
35
- static readonly MARKER_CODE: string;
36
- /** Marker code as a regex match */
37
- static readonly MARKER_CODE_MATCH: string;
38
- /** Minimum ID (trailing code unit) */
39
- static readonly MIN_MARKER_INDEX = 1;
40
- /** Index meaning 'any marker' == `\m{.}` */
41
- static readonly ANY_MARKER_INDEX = 55295;
42
- /** Maximum usable marker index */
43
- static readonly MAX_MARKER_INDEX: number;
44
- /** Max count of markers */
45
- static readonly MAX_MARKER_COUNT: number;
46
- private static anyMarkerMatch;
47
- /** Expression that matches any marker */
48
- static readonly ANY_MARKER_MATCH: string;
49
- /**
50
- * Pattern for matching a marker reference, OR the special marker \m{.}
51
- */
52
- static readonly REFERENCE: RegExp;
53
- /**
54
- * parse a string into marker references
55
- * @param str input string such as "\m{a} … \m{.}"
56
- * @returns `[]` or an array of all markers referenced
57
- */
58
- static allReferences(str: string): string[];
59
- private static markerCodeToString;
60
- /** @returns string for marker #n */
61
- static markerOutput(n: number, forMatch?: boolean): string;
62
- /** @returns all marker strings as sentinel values */
63
- static toSentinelString(s: string, markers?: OrderedStringList, forMatch?: boolean): string;
64
- /**
65
- * NFD a string, respecting markers.
66
- * @param s input string
67
- * @param forMatch true if regex, false if individual
68
- * @returns the normalized string
69
- */
70
- static nfd_markers(s: string, forMatch?: boolean): string;
71
- /**
72
- * NFD a safe subset of a string, respecting markers
73
- * @param s input string
74
- * @param map output array of marker chars
75
- * @param forMatch true if used for regexes
76
- * @returns the updated string
77
- */
78
- static nfd_markers_segment(s: string, map: MarkerMap, forMatch?: boolean): string;
79
- /** return the string s but with a marker sequence before it */
80
- static prepend_marker(s: string, marker: number, forMatch?: boolean): string;
81
- /**
82
- * Add back all markers in the map to the string
83
- * @param s input string
84
- * @param map output: the marker map
85
- * @param forMatch if true, use regex format
86
- */
87
- static add_back_markers(s: string, map: MarkerMap, forMatch?: boolean): string;
88
- /**
89
- * Remove (and parse) markers from a string
90
- * @param s input string
91
- * @param map output map containing marker locations
92
- * @param forMatch true if regex
93
- * @returns the original string, without any markers
94
- */
95
- static remove_markers(s: string, map: MarkerMap, forMatch?: boolean): string;
96
- /**
97
- * analyze the string to see if it begins with a marker
98
- * @param s input string
99
- * @param forMatch true if regex
100
- * @returns parsed marker details
101
- */
102
- static parse_next_marker(s: string, forMatch?: boolean): MarkerResult;
103
- }
104
- export interface MarkerEntry {
105
- /** code point 'glued' to, or MARKER_BEFORE_EOT */
106
- ch?: string;
107
- /** marker number, 1-based */
108
- marker?: number;
109
- }
110
- /** list of marker entries, from remove_markers */
111
- export type MarkerMap = Array<MarkerEntry>;
112
- /** return type from parse_next_marker */
113
- export interface MarkerResult {
114
- marker?: number;
115
- match?: string;
116
- }
117
- /**
118
- * Class for helping with markers
119
- */
120
- export declare class VariableParser {
121
- /**
122
- * A marker id has the same constraint as a key id. TODO-LDML: Needs to be reflected in the spec
123
- */
124
- static readonly ID: RegExp;
125
- /**
126
- * Pattern for matching a string reference `$(str)`
127
- */
128
- static readonly STRING_REFERENCE: RegExp;
129
- /**
130
- * Pattern for matching a set reference `$[set]`
131
- */
132
- static readonly SET_REFERENCE: RegExp;
133
- /**
134
- * Pattern for matching a capture set reference `($[set])`
135
- */
136
- static readonly CAPTURE_SET_REFERENCE: RegExp;
137
- /**
138
- * `$[1:variable]`
139
- * This regex matches the whole string.
140
- */
141
- static readonly MAPPED_SET_REFERENCE: RegExp;
142
- /**
143
- * parse a string into references
144
- * @param str input string
145
- * @returns `[]` or an array of all string references referenced
146
- */
147
- static allStringReferences(str: string): string[];
148
- /**
149
- * parse a string into references
150
- * @param str input string
151
- * @returns `[]` or an array of all string references referenced
152
- */
153
- static allSetReferences(str: string): string[];
154
- /**
155
- * Split an input string into a proper set
156
- * @param str input string
157
- * @returns
158
- */
159
- static setSplitter(str: string): string[];
160
- }
161
- /** for ElementParser.segment() */
162
- export declare enum ElementType {
163
- codepoint = ".",
164
- escaped = "\\",
165
- uset = "[",
166
- string = "*"
167
- }
168
- /** one portion of a segmented element string */
169
- export declare class ElementSegment {
170
- segment: string;
171
- readonly type: ElementType;
172
- /**
173
- * @param segment the string in the segment
174
- * @param type type of segment. Will be calculated if not provided.
175
- */
176
- constructor(segment: string, type?: ElementType);
177
- /** unescaped format */
178
- get unescaped(): string;
179
- }
180
- /** Class for helping with Element strings (i.e. reorder) */
181
- export declare class ElementParser {
182
- /**
183
- * Matches any complex UnicodeSet that would otherwise be misinterpreted
184
- * by `MATCH_ELEMENT_SEGMENTS` due to nested `[]`'s.
185
- * For example, `[[a-z]-[aeiou]]` could be
186
- * mis-segmented into `[[a-z]`, `-`, `[aeiou]`, `]` */
187
- static readonly MATCH_NESTED_SQUARE_BRACKETS: RegExp;
188
- /** Match (segment) UnicodeSets OR hex escapes OR single Unicode codepoints */
189
- static readonly MATCH_ELEMENT_SEGMENTS: RegExp;
190
- /** Does it start with a UnicodeSet? Used to test the segments. */
191
- static readonly MATCH_USET: RegExp;
192
- /** Does it start with an escaped char? Used to test the segments. */
193
- static readonly MATCH_ESCAPED: RegExp;
194
- /** Split a string into ElementSegments */
195
- static segment(str: string): ElementSegment[];
196
- }
197
- //# debugId=d1b50f0f-d4fc-5277-9486-8918c1900b0a
198
- //# sourceMappingURL=pattern-parser.d.ts.map
1
+ /**
2
+ * Utilities for transform and marker processing
3
+ */
4
+ /** for use with markers, means an ordering can be determined */
5
+ export interface OrderedStringList {
6
+ /** @returns the ordering of an item (0..), or -1 if not found */
7
+ getItemOrder(item: string): number;
8
+ }
9
+ /**
10
+ * Class for helping with markers
11
+ */
12
+ export declare class MarkerParser {
13
+ /**
14
+ * A marker id has the same constraint as a key id. TODO-LDML: Needs to be reflected in the spec
15
+ */
16
+ static readonly ID: RegExp;
17
+ /**
18
+ * Special marker reference referring to any marker
19
+ */
20
+ static readonly ANY_MARKER = "\\m{.}";
21
+ /**
22
+ * id of the 'any' marker
23
+ */
24
+ static readonly ANY_MARKER_ID = ".";
25
+ /**
26
+ * Marker sentinel as a string - U+FFFF
27
+ */
28
+ static readonly SENTINEL: string;
29
+ /** Marker sentinel as a regex match */
30
+ static readonly SENTINEL_MATCH: string;
31
+ /**
32
+ * Marker code as a string - U+0008
33
+ */
34
+ static readonly MARKER_CODE: string;
35
+ /** Marker code as a regex match */
36
+ static readonly MARKER_CODE_MATCH: string;
37
+ /** Minimum ID (trailing code unit) */
38
+ static readonly MIN_MARKER_INDEX = 1;
39
+ /** Index meaning 'any marker' == `\m{.}` */
40
+ static readonly ANY_MARKER_INDEX = 55295;
41
+ /** Maximum usable marker index */
42
+ static readonly MAX_MARKER_INDEX: number;
43
+ /** Max count of markers */
44
+ static readonly MAX_MARKER_COUNT: number;
45
+ private static anyMarkerMatch;
46
+ /** Expression that matches any marker */
47
+ static readonly ANY_MARKER_MATCH: string;
48
+ /**
49
+ * Pattern for matching a marker reference, OR the special marker \m{.}
50
+ */
51
+ static readonly REFERENCE: RegExp;
52
+ /**
53
+ * parse a string into marker references
54
+ * @param str input string such as "\m{a} … \m{.}"
55
+ * @returns `[]` or an array of all markers referenced
56
+ */
57
+ static allReferences(str: string): string[];
58
+ private static markerCodeToString;
59
+ /** @returns string for marker #n */
60
+ static markerOutput(n: number, forMatch?: boolean): string;
61
+ /** @returns all marker strings as sentinel values */
62
+ static toSentinelString(s: string, markers?: OrderedStringList, forMatch?: boolean): string;
63
+ /**
64
+ * NFD a string, respecting markers.
65
+ * @param s input string
66
+ * @param forMatch true if regex, false if individual
67
+ * @returns the normalized string
68
+ */
69
+ static nfd_markers(s: string, forMatch?: boolean): string;
70
+ /**
71
+ * NFD a safe subset of a string, respecting markers
72
+ * @param s input string
73
+ * @param map output array of marker chars
74
+ * @param forMatch true if used for regexes
75
+ * @returns the updated string
76
+ */
77
+ static nfd_markers_segment(s: string, map: MarkerMap, forMatch?: boolean): string;
78
+ /** return the string s but with a marker sequence before it */
79
+ static prepend_marker(s: string, marker: number, forMatch?: boolean): string;
80
+ /**
81
+ * Add back all markers in the map to the string
82
+ * @param s input string
83
+ * @param map output: the marker map
84
+ * @param forMatch if true, use regex format
85
+ */
86
+ static add_back_markers(s: string, map: MarkerMap, forMatch?: boolean): string;
87
+ /**
88
+ * Remove (and parse) markers from a string
89
+ * @param s input string
90
+ * @param map output map containing marker locations
91
+ * @param forMatch true if regex
92
+ * @returns the original string, without any markers
93
+ */
94
+ static remove_markers(s: string, map: MarkerMap, forMatch?: boolean): string;
95
+ /**
96
+ * analyze the string to see if it begins with a marker
97
+ * @param s input string
98
+ * @param forMatch true if regex
99
+ * @returns parsed marker details
100
+ */
101
+ static parse_next_marker(s: string, forMatch?: boolean): MarkerResult;
102
+ }
103
+ export interface MarkerEntry {
104
+ /** code point 'glued' to, or MARKER_BEFORE_EOT */
105
+ ch?: string;
106
+ /** marker number, 1-based */
107
+ marker?: number;
108
+ }
109
+ /** list of marker entries, from remove_markers */
110
+ export type MarkerMap = Array<MarkerEntry>;
111
+ /** return type from parse_next_marker */
112
+ export interface MarkerResult {
113
+ marker?: number;
114
+ match?: string;
115
+ }
116
+ /**
117
+ * Class for helping with markers
118
+ */
119
+ export declare class VariableParser {
120
+ /**
121
+ * A marker id has the same constraint as a key id. TODO-LDML: Needs to be reflected in the spec
122
+ */
123
+ static readonly ID: RegExp;
124
+ /**
125
+ * Pattern for matching a string reference `$(str)`
126
+ */
127
+ static readonly STRING_REFERENCE: RegExp;
128
+ /**
129
+ * Pattern for matching a set reference `$[set]`
130
+ */
131
+ static readonly SET_REFERENCE: RegExp;
132
+ /**
133
+ * Pattern for matching a capture set reference `($[set])`
134
+ */
135
+ static readonly CAPTURE_SET_REFERENCE: RegExp;
136
+ /**
137
+ * `$[1:variable]`
138
+ * This regex matches the whole string.
139
+ */
140
+ static readonly MAPPED_SET_REFERENCE: RegExp;
141
+ /**
142
+ * parse a string into references
143
+ * @param str input string
144
+ * @returns `[]` or an array of all string references referenced
145
+ */
146
+ static allStringReferences(str: string): string[];
147
+ /**
148
+ * parse a string into references
149
+ * @param str input string
150
+ * @returns `[]` or an array of all string references referenced
151
+ */
152
+ static allSetReferences(str: string): string[];
153
+ /**
154
+ * Split an input string into a proper set
155
+ * @param str input string
156
+ * @returns
157
+ */
158
+ static setSplitter(str: string): string[];
159
+ }
160
+ /** for ElementParser.segment() */
161
+ export declare enum ElementType {
162
+ codepoint = ".",
163
+ escaped = "\\",
164
+ uset = "[",
165
+ string = "*"
166
+ }
167
+ /** one portion of a segmented element string */
168
+ export declare class ElementSegment {
169
+ segment: string;
170
+ readonly type: ElementType;
171
+ /**
172
+ * @param segment the string in the segment
173
+ * @param type type of segment. Will be calculated if not provided.
174
+ */
175
+ constructor(segment: string, type?: ElementType);
176
+ /** unescaped format */
177
+ get unescaped(): string;
178
+ }
179
+ /** Class for helping with Element strings (i.e. reorder) */
180
+ export declare class ElementParser {
181
+ /**
182
+ * Matches any complex UnicodeSet that would otherwise be misinterpreted
183
+ * by `MATCH_ELEMENT_SEGMENTS` due to nested `[]`'s.
184
+ * For example, `[[a-z]-[aeiou]]` could be
185
+ * mis-segmented into `[[a-z]`, `-`, `[aeiou]`, `]` */
186
+ static readonly MATCH_NESTED_SQUARE_BRACKETS: RegExp;
187
+ /** Match (segment) UnicodeSets OR hex escapes OR single Unicode codepoints */
188
+ static readonly MATCH_ELEMENT_SEGMENTS: RegExp;
189
+ /** Does it start with a UnicodeSet? Used to test the segments. */
190
+ static readonly MATCH_USET: RegExp;
191
+ /** Does it start with an escaped char? Used to test the segments. */
192
+ static readonly MATCH_ESCAPED: RegExp;
193
+ /** Split a string into ElementSegments */
194
+ static segment(str: string): ElementSegment[];
195
+ }
196
+ //# sourceMappingURL=pattern-parser.d.ts.map
@@ -1 +1 @@
1
- {"debug_id":"d1b50f0f-d4fc-5277-9486-8918c1900b0a","file":"pattern-parser.d.ts","mappings":";AAAA;;GAEG;AAqBH,gEAAgE;AAChE,MAAM,WAAW,iBAAiB;IAChC,iEAAiE;IACjE,YAAY,CAAC,IAAI,EAAG,MAAM,GAAI,MAAM,CAAC;CACtC;AAED;;GAEG;AACH,qBAAa,YAAY;IACvB;;OAEG;IACH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SAAS,MAAM;IACf,OAAO,OAAM;IACb,IAAI,MAAM;IACV,MAAM,MAAM;CACb;AAED,gDAAgD;AAChD,qBAAa,cAAc;IAMN,OAAO,EAAE,MAAM;IALlC,SAAgB,IAAI,EAAE,WAAW,CAAC;IAClC;;;OAGG;gBACgB,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,WAAW;IAYtD,uBAAuB;IACvB,IAAI,SAAS,IAAK,MAAM,CAUvB;CACF;AAED,4DAA4D;AAC5D,qBAAa,aAAa;IACxB;;;;0DAIsD;IACtD,gBAAuB,4BAA4B,SAAgB;IAEnE,8EAA8E;IAC9E,gBAAuB,sBAAsB,SACyE;IAEtH,kEAAkE;IAClE,gBAAuB,UAAU,SAAS;IAE1C,qEAAqE;IACrE,gBAAuB,aAAa,SAAU;IAE9C,0CAA0C;WAC5B,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,cAAc,EAAE;CAyBrD","names":[],"sourceRoot":"","sources":["../../../src/ldml-keyboard/pattern-parser.ts"],"version":3}
1
+ {"version":3,"file":"pattern-parser.d.ts","sourceRoot":"","sources":["../../../src/ldml-keyboard/pattern-parser.ts"],"names":[],"mappings":"AAAA;;GAEG;AAqBH,gEAAgE;AAChE,MAAM,WAAW,iBAAiB;IAChC,iEAAiE;IACjE,YAAY,CAAC,IAAI,EAAG,MAAM,GAAI,MAAM,CAAC;CACtC;AAED;;GAEG;AACH,qBAAa,YAAY;IACvB;;OAEG;IACH,gBAAuB,EAAE,SAAa;IAEtC;;OAEG;IACH,gBAAuB,UAAU,YAAY;IAE7C;;OAEG;IACH,gBAAuB,aAAa,OAAO;IAE3C;;OAEG;IACH,gBAAuB,QAAQ,SAA+C;IAC9E,uCAAuC;IACvC,MAAM,CAAC,QAAQ,CAAC,cAAc,SAA0C;IACxE;;OAEG;IACH,gBAAuB,WAAW,SAA+C;IACjF,mCAAmC;IACnC,MAAM,CAAC,QAAQ,CAAC,iBAAiB,SAA0C;IAE3E,sCAAsC;IACtC,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B;;;;0DAIsD;IACtD,gBAAuB,4BAA4B,SAAgB;IAEnE,8EAA8E;IAC9E,gBAAuB,sBAAsB,SACyE;IAEtH,kEAAkE;IAClE,gBAAuB,UAAU,SAAS;IAE1C,qEAAqE;IACrE,gBAAuB,aAAa,SAAU;IAE9C,0CAA0C;WAC5B,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,cAAc,EAAE;CAyBrD"}
@@ -1,40 +1,38 @@
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]="7f8aa4e7-e8b2-5199-b918-174035f8d904")}catch(e){}}();
2
- /**
3
- * Abstraction for an interface capable of parsing a UnicodeSet
4
- */
5
- export interface UnicodeSetParser {
6
- /**
7
- * Parse a UnicodeSet into ranges
8
- * @param pattern string to parse such as `[a-z]`
9
- * @param rangeCount number of ranges to allow for
10
- */
11
- parseUnicodeSet(pattern: string, rangeCount: number): UnicodeSet | null;
12
- /**
13
- * Calculate the number of ranges in a UnicodeSet
14
- * @param pattern string to parse such as `[a-z]`
15
- * @returns number of ranges, or -1 (with callback-reported err) on err
16
- */
17
- sizeUnicodeSet(pattern: string): number;
18
- }
19
- /**
20
- * Parsed UnicodeSet, return value of of parseUnicodeSet()
21
- */
22
- export declare class UnicodeSet {
23
- pattern: string;
24
- ranges: number[][];
25
- /**
26
- * A UnicodeSet in range form.
27
- * For example, `[ħa-z]` will parse to
28
- * ranges = `[[0x41, 0x7A], [0x0127, 0x0127]]` meaning `[a,z], [ħ,ħ]`
29
- * @param pattern the pattern per UnicodeSet syntax such as `[a-z]`
30
- * @param ranges array of 2-element arrays, 'start' and 'end'.
31
- */
32
- constructor(pattern: string, ranges: number[][]);
33
- /**
34
- * Number of ranges
35
- */
36
- get length(): number;
37
- toString(): string;
38
- }
39
- //# debugId=7f8aa4e7-e8b2-5199-b918-174035f8d904
40
- //# sourceMappingURL=unicodeset-parser-api.d.ts.map
1
+ /**
2
+ * Abstraction for an interface capable of parsing a UnicodeSet
3
+ */
4
+ export interface UnicodeSetParser {
5
+ /**
6
+ * Parse a UnicodeSet into ranges
7
+ * @param pattern string to parse such as `[a-z]`
8
+ * @param rangeCount number of ranges to allow for
9
+ */
10
+ parseUnicodeSet(pattern: string, rangeCount: number): UnicodeSet | null;
11
+ /**
12
+ * Calculate the number of ranges in a UnicodeSet
13
+ * @param pattern string to parse such as `[a-z]`
14
+ * @returns number of ranges, or -1 (with callback-reported err) on err
15
+ */
16
+ sizeUnicodeSet(pattern: string): number;
17
+ }
18
+ /**
19
+ * Parsed UnicodeSet, return value of of parseUnicodeSet()
20
+ */
21
+ export declare class UnicodeSet {
22
+ pattern: string;
23
+ ranges: number[][];
24
+ /**
25
+ * A UnicodeSet in range form.
26
+ * For example, `[ħa-z]` will parse to
27
+ * ranges = `[[0x41, 0x7A], [0x0127, 0x0127]]` meaning `[a,z], [ħ,ħ]`
28
+ * @param pattern the pattern per UnicodeSet syntax such as `[a-z]`
29
+ * @param ranges array of 2-element arrays, 'start' and 'end'.
30
+ */
31
+ constructor(pattern: string, ranges: number[][]);
32
+ /**
33
+ * Number of ranges
34
+ */
35
+ get length(): number;
36
+ toString(): string;
37
+ }
38
+ //# sourceMappingURL=unicodeset-parser-api.d.ts.map
@@ -1 +1 @@
1
- {"debug_id":"7f8aa4e7-e8b2-5199-b918-174035f8d904","file":"unicodeset-parser-api.d.ts","mappings":";AACA;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAI,UAAU,GAAG,IAAI,CAAC;IACzE;;;;OAIG;IACH,cAAc,CAAC,OAAO,EAAE,MAAM,GAAI,MAAM,CAAC;CAC1C;AAED;;GAEG;AACH,qBAAa,UAAU;IAQF,OAAO,EAAE,MAAM;IAAS,MAAM,EAAE,MAAM,EAAE,EAAE;IAP7D;;;;;;OAMG;gBACgB,OAAO,EAAE,MAAM,EAAS,MAAM,EAAE,MAAM,EAAE,EAAE;IAE7D;;OAEG;IACH,IAAI,MAAM,IAAK,MAAM,CAEpB;IAED,QAAQ,IAAK,MAAM;CAGpB","names":[],"sourceRoot":"","sources":["../../../src/ldml-keyboard/unicodeset-parser-api.ts"],"version":3}
1
+ {"version":3,"file":"unicodeset-parser-api.d.ts","sourceRoot":"","sources":["../../../src/ldml-keyboard/unicodeset-parser-api.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAI,UAAU,GAAG,IAAI,CAAC;IACzE;;;;OAIG;IACH,cAAc,CAAC,OAAO,EAAE,MAAM,GAAI,MAAM,CAAC;CAC1C;AAED;;GAEG;AACH,qBAAa,UAAU;IAQF,OAAO,EAAE,MAAM;IAAS,MAAM,EAAE,MAAM,EAAE,EAAE;IAP7D;;;;;;OAMG;gBACgB,OAAO,EAAE,MAAM,EAAS,MAAM,EAAE,MAAM,EAAE,EAAE;IAE7D;;OAEG;IACH,IAAI,MAAM,IAAK,MAAM,CAEpB;IAED,QAAQ,IAAK,MAAM;CAGpB"}
@@ -1,37 +1,35 @@
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]="d91be925-263d-5175-8b76-5e82f5bc9140")}catch(e){}}();
2
- export * as KMX from './kmx/kmx.js';
3
- export * as KMXPlus from './kmx/kmx-plus.js';
4
- export { default as KMXBuilder } from './kmx/kmx-builder.js';
5
- export { KmxFileReader, KmxFileReaderError } from './kmx/kmx-file-reader.js';
6
- export * as KeymanTargets from './kmx/keyman-targets.js';
7
- export * as VisualKeyboard from './kvk/visual-keyboard.js';
8
- export { default as KMXPlusBuilder } from './kmx/kmx-plus-builder/kmx-plus-builder.js';
9
- export { default as KvkFileReader } from './kvk/kvk-file-reader.js';
10
- export { default as KvksFileReader } from './kvk/kvks-file-reader.js';
11
- export { default as KvkFileWriter } from './kvk/kvk-file-writer.js';
12
- export { default as KvksFileWriter } from './kvk/kvks-file-writer.js';
13
- export * as KvkFile from './kvk/kvk-file.js';
14
- export * as KvksFile from './kvk/kvks-file.js';
15
- export * as LDMLKeyboard from './ldml-keyboard/ldml-keyboard-xml.js';
16
- export { LDMLKeyboardTestDataXMLSourceFile } from './ldml-keyboard/ldml-keyboard-testdata-xml.js';
17
- export { UnicodeSetParser, UnicodeSet } from './ldml-keyboard/unicodeset-parser-api.js';
18
- export { VariableParser, MarkerParser } from './ldml-keyboard/pattern-parser.js';
19
- export { LDMLKeyboardXMLSourceFileReader, LDMLKeyboardXMLSourceFileReaderOptions } from './ldml-keyboard/ldml-keyboard-xml-reader.js';
20
- export * as Constants from './consts/virtual-key-constants.js';
21
- export { defaultCompilerOptions, CompilerBaseOptions, CompilerCallbacks, CompilerOptions, CompilerEvent, CompilerErrorNamespace, CompilerErrorSeverity, CompilerPathCallbacks, CompilerFileSystemCallbacks, CompilerCallbackOptions, CompilerError, CompilerMessageSpec, compilerErrorSeverity, CompilerErrorMask, CompilerFileCallbacks, compilerErrorSeverityName, compilerExceptionToString, compilerErrorFormatCode, compilerLogLevelToSeverity, CompilerLogLevel, compilerEventFormat, ALL_COMPILER_LOG_LEVELS, ALL_COMPILER_LOG_FORMATS, CompilerLogFormat, CompilerMessageOverride, CompilerMessageOverrideMap, KeymanCompilerArtifact, KeymanCompilerArtifactOptional, KeymanCompilerArtifacts, KeymanCompilerResult, KeymanCompiler } from './util/compiler-interfaces.js';
22
- export { CommonTypesMessages } from './util/common-events.js';
23
- export * as TouchLayout from './keyman-touch-layout/keyman-touch-layout-file.js';
24
- export { TouchLayoutFileReader } from './keyman-touch-layout/keyman-touch-layout-file-reader.js';
25
- export { TouchLayoutFileWriter, TouchLayoutFileWriterOptions } from './keyman-touch-layout/keyman-touch-layout-file-writer.js';
26
- export * as KPJ from './kpj/kpj-file.js';
27
- export { KPJFileReader } from './kpj/kpj-file-reader.js';
28
- export { KeymanDeveloperProject, KeymanDeveloperProjectFile, KeymanDeveloperProjectType, } from './kpj/keyman-developer-project.js';
29
- export * as KpsFile from './package/kps-file.js';
30
- export * as KmpJsonFile from './package/kmp-json-file.js';
31
- export * as util from './util/util.js';
32
- export * as KeymanFileTypes from './util/file-types.js';
33
- export * as Osk from './osk/osk.js';
34
- export * as Schemas from './schemas.js';
35
- export * as SchemaValidators from './schema-validators.js';
36
- //# debugId=d91be925-263d-5175-8b76-5e82f5bc9140
37
- //# sourceMappingURL=main.d.ts.map
1
+ export * as KMX from './kmx/kmx.js';
2
+ export * as KMXPlus from './kmx/kmx-plus.js';
3
+ export { default as KMXBuilder } from './kmx/kmx-builder.js';
4
+ export { KmxFileReader, KmxFileReaderError } from './kmx/kmx-file-reader.js';
5
+ export * as KeymanTargets from './kmx/keyman-targets.js';
6
+ export * as VisualKeyboard from './kvk/visual-keyboard.js';
7
+ export { default as KMXPlusBuilder } from './kmx/kmx-plus-builder/kmx-plus-builder.js';
8
+ export { default as KvkFileReader } from './kvk/kvk-file-reader.js';
9
+ export { default as KvksFileReader } from './kvk/kvks-file-reader.js';
10
+ export { default as KvkFileWriter } from './kvk/kvk-file-writer.js';
11
+ export { default as KvksFileWriter } from './kvk/kvks-file-writer.js';
12
+ export * as KvkFile from './kvk/kvk-file.js';
13
+ export * as KvksFile from './kvk/kvks-file.js';
14
+ export * as LDMLKeyboard from './ldml-keyboard/ldml-keyboard-xml.js';
15
+ export { LDMLKeyboardTestDataXMLSourceFile } from './ldml-keyboard/ldml-keyboard-testdata-xml.js';
16
+ export { UnicodeSetParser, UnicodeSet } from './ldml-keyboard/unicodeset-parser-api.js';
17
+ export { VariableParser, MarkerParser } from './ldml-keyboard/pattern-parser.js';
18
+ export { LDMLKeyboardXMLSourceFileReader, LDMLKeyboardXMLSourceFileReaderOptions } from './ldml-keyboard/ldml-keyboard-xml-reader.js';
19
+ export * as Constants from './consts/virtual-key-constants.js';
20
+ export { defaultCompilerOptions, CompilerBaseOptions, CompilerCallbacks, CompilerOptions, CompilerEvent, CompilerErrorNamespace, CompilerErrorSeverity, CompilerPathCallbacks, CompilerFileSystemCallbacks, CompilerCallbackOptions, CompilerError, CompilerMessageSpec, compilerErrorSeverity, CompilerErrorMask, CompilerFileCallbacks, compilerErrorSeverityName, compilerExceptionToString, compilerErrorFormatCode, compilerLogLevelToSeverity, CompilerLogLevel, compilerEventFormat, ALL_COMPILER_LOG_LEVELS, ALL_COMPILER_LOG_FORMATS, CompilerLogFormat, CompilerMessageOverride, CompilerMessageOverrideMap, KeymanCompilerArtifact, KeymanCompilerArtifactOptional, KeymanCompilerArtifacts, KeymanCompilerResult, KeymanCompiler } from './util/compiler-interfaces.js';
21
+ export { CommonTypesMessages } from './util/common-events.js';
22
+ export * as TouchLayout from './keyman-touch-layout/keyman-touch-layout-file.js';
23
+ export { TouchLayoutFileReader } from './keyman-touch-layout/keyman-touch-layout-file-reader.js';
24
+ export { TouchLayoutFileWriter, TouchLayoutFileWriterOptions } from './keyman-touch-layout/keyman-touch-layout-file-writer.js';
25
+ export * as KPJ from './kpj/kpj-file.js';
26
+ export { KPJFileReader } from './kpj/kpj-file-reader.js';
27
+ export { KeymanDeveloperProject, KeymanDeveloperProjectFile, KeymanDeveloperProjectType, } from './kpj/keyman-developer-project.js';
28
+ export * as KpsFile from './package/kps-file.js';
29
+ export * as KmpJsonFile from './package/kmp-json-file.js';
30
+ export * as util from './util/util.js';
31
+ export * as KeymanFileTypes from './util/file-types.js';
32
+ export * as Osk from './osk/osk.js';
33
+ export * as Schemas from './schemas.js';
34
+ export * as SchemaValidators from './schema-validators.js';
35
+ //# sourceMappingURL=main.d.ts.map
@@ -1 +1 @@
1
- {"debug_id":"d91be925-263d-5175-8b76-5e82f5bc9140","file":"main.d.ts","mappings":";AAAA,OA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AAqB,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,yBAAyB,EAC9H,yBAAyB,EAAE,uBAAuB,EAClD,0BAA0B,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,uBAAuB,EAC1F,wBAAwB,EAAE,iBAAiB,EAC3C,uBAAuB,EACvB,0BAA0B,EAE1B,sBAAsB,EACtB,8BAA8B,EAC9B,uBAAuB,EACvB,oBAAoB,EACpB,cAAc,EAEb,MAAM,+BAA+B,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,OAAO,KAAK,WAAW,MAAM,mDAAmD,CAAC;AACjF,OAAO,EAAE,qBAAqB,EAAE,MAAM,0DAA0D,CAAC;AACjG,OAAO,EAAE,qBAAqB,EAAE,4BAA4B,EAAE,MAAM,0DAA0D,CAAC;AAE/H,OAAO,KAAK,GAAG,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,sBAAsB,EAAE,0BAA0B,EAAE,0BAA0B,GAAG,MAAM,mCAAmC,CAAC;AAEpI,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AACjD,OAAO,KAAK,WAAW,MAAM,4BAA4B,CAAC;AAE1D,OAAO,KAAK,IAAI,MAAM,gBAAgB,CAAC;AAEvC,OAAO,KAAK,eAAe,MAAM,sBAAsB,CAAC;AAExD,OAAO,KAAK,GAAG,MAAM,cAAc,CAAC;AAEpC,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAC","names":[],"sourceRoot":"","sources":["../../src/main.ts"],"version":3}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/main.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,cAAc,CAAC;AACpC,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,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