rxing-wasm 0.2.7 → 0.2.9
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.
- package/package.json +3 -2
- package/rxing_wasm.d.ts +158 -158
- package/rxing_wasm_bg.js +157 -157
- package/rxing_wasm_bg.wasm +0 -0
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rxing-wasm",
|
|
3
|
+
"type": "module",
|
|
3
4
|
"description": "wasm bindings for rxing to provide commong barcode operations (decode/encode)",
|
|
4
|
-
"version": "0.2.
|
|
5
|
+
"version": "0.2.9",
|
|
5
6
|
"license": "Apache 2.0",
|
|
6
7
|
"repository": {
|
|
7
8
|
"type": "git",
|
|
@@ -13,7 +14,7 @@
|
|
|
13
14
|
"rxing_wasm_bg.js",
|
|
14
15
|
"rxing_wasm.d.ts"
|
|
15
16
|
],
|
|
16
|
-
"
|
|
17
|
+
"main": "rxing_wasm.js",
|
|
17
18
|
"types": "rxing_wasm.d.ts",
|
|
18
19
|
"sideEffects": [
|
|
19
20
|
"./rxing_wasm.js",
|
package/rxing_wasm.d.ts
CHANGED
|
@@ -70,99 +70,175 @@ export function decode_barcode_with_hints(data: Uint8Array, width: number, heigh
|
|
|
70
70
|
export function decode_multi(data: Uint8Array, width: number, height: number, hints: DecodeHintDictionary): MultiDecodeResult;
|
|
71
71
|
/**
|
|
72
72
|
*/
|
|
73
|
-
export enum
|
|
73
|
+
export enum EncodeHintTypes {
|
|
74
74
|
/**
|
|
75
75
|
*
|
|
76
|
-
* *
|
|
76
|
+
* * Specifies what degree of error correction to use, for example in QR Codes.
|
|
77
|
+
* * Type depends on the encoder. For example for QR codes it's type
|
|
78
|
+
* * {@link com.google.zxing.qrcode.decoder.ErrorCorrectionLevel ErrorCorrectionLevel}.
|
|
79
|
+
* * For Aztec it is of type {@link Integer}, representing the minimal percentage of error correction words.
|
|
80
|
+
* * For PDF417 it is of type {@link Integer}, valid values being 0 to 8.
|
|
81
|
+
* * In all cases, it can also be a {@link String} representation of the desired value as well.
|
|
82
|
+
* * Note: an Aztec symbol should have a minimum of 25% EC words.
|
|
77
83
|
*
|
|
78
84
|
*/
|
|
79
|
-
|
|
85
|
+
ErrorCorrection = 0,
|
|
80
86
|
/**
|
|
81
87
|
*
|
|
82
|
-
* *
|
|
83
|
-
* * use {@link Boolean#TRUE}.
|
|
88
|
+
* * Specifies what character encoding to use where applicable (type {@link String})
|
|
84
89
|
*
|
|
85
90
|
*/
|
|
86
|
-
|
|
91
|
+
CharacterSet = 1,
|
|
87
92
|
/**
|
|
88
93
|
*
|
|
89
|
-
* *
|
|
90
|
-
* * Maps to a {@link List} of {@link BarcodeFormat}s.
|
|
94
|
+
* * Specifies the matrix shape for Data Matrix (type {@link com.google.zxing.datamatrix.encoder.SymbolShapeHint})
|
|
91
95
|
*
|
|
92
96
|
*/
|
|
93
|
-
|
|
97
|
+
DataMatrixShape = 2,
|
|
94
98
|
/**
|
|
95
99
|
*
|
|
96
|
-
* *
|
|
97
|
-
* *
|
|
100
|
+
* * Specifies whether to use compact mode for Data Matrix (type {@link Boolean}, or "true" or "false"
|
|
101
|
+
* * {@link String } value).
|
|
102
|
+
* * The compact encoding mode also supports the encoding of characters that are not in the ISO-8859-1
|
|
103
|
+
* * character set via ECIs.
|
|
104
|
+
* * Please note that in that case, the most compact character encoding is chosen for characters in
|
|
105
|
+
* * the input that are not in the ISO-8859-1 character set. Based on experience, some scanners do not
|
|
106
|
+
* * support encodings like cp-1256 (Arabic). In such cases the encoding can be forced to UTF-8 by
|
|
107
|
+
* * means of the {@link #CHARACTER_SET} encoding hint.
|
|
108
|
+
* * Compact encoding also provides GS1-FNC1 support when {@link #GS1_FORMAT} is selected. In this case
|
|
109
|
+
* * group-separator character (ASCII 29 decimal) can be used to encode the positions of FNC1 codewords
|
|
110
|
+
* * for the purpose of delimiting AIs.
|
|
111
|
+
* * This option and {@link #FORCE_C40} are mutually exclusive.
|
|
98
112
|
*
|
|
99
113
|
*/
|
|
100
|
-
|
|
114
|
+
DataMatrixCompact = 3,
|
|
101
115
|
/**
|
|
102
116
|
*
|
|
103
|
-
* * Specifies
|
|
117
|
+
* * Specifies a minimum barcode size (type {@link Dimension}). Only applicable to Data Matrix now.
|
|
118
|
+
* *
|
|
119
|
+
* * @deprecated use width/height params in
|
|
120
|
+
* * {@link com.google.zxing.datamatrix.DataMatrixWriter#encode(String, BarcodeFormat, int, int)}
|
|
104
121
|
*
|
|
105
122
|
*/
|
|
106
|
-
|
|
123
|
+
MinSize = 4,
|
|
107
124
|
/**
|
|
108
125
|
*
|
|
109
|
-
* *
|
|
126
|
+
* * Specifies a maximum barcode size (type {@link Dimension}). Only applicable to Data Matrix now.
|
|
127
|
+
* *
|
|
128
|
+
* * @deprecated without replacement
|
|
110
129
|
*
|
|
111
130
|
*/
|
|
112
|
-
|
|
131
|
+
MaxSize = 5,
|
|
113
132
|
/**
|
|
114
133
|
*
|
|
115
|
-
* *
|
|
116
|
-
* *
|
|
134
|
+
* * Specifies margin, in pixels, to use when generating the barcode. The meaning can vary
|
|
135
|
+
* * by format; for example it controls margin before and after the barcode horizontally for
|
|
136
|
+
* * most 1D formats. (Type {@link Integer}, or {@link String} representation of the integer value).
|
|
117
137
|
*
|
|
118
138
|
*/
|
|
119
|
-
|
|
139
|
+
MARGIN = 6,
|
|
120
140
|
/**
|
|
121
141
|
*
|
|
122
|
-
* *
|
|
123
|
-
* *
|
|
124
|
-
* * use {@link Boolean#TRUE}.
|
|
142
|
+
* * Specifies whether to use compact mode for PDF417 (type {@link Boolean}, or "true" or "false"
|
|
143
|
+
* * {@link String} value).
|
|
125
144
|
*
|
|
126
145
|
*/
|
|
127
|
-
|
|
146
|
+
Pdf417Compact = 7,
|
|
128
147
|
/**
|
|
129
148
|
*
|
|
130
|
-
* *
|
|
131
|
-
* *
|
|
132
|
-
* *
|
|
149
|
+
* * Specifies what compaction mode to use for PDF417 (type
|
|
150
|
+
* * {@link com.google.zxing.pdf417.encoder.Compaction Compaction} or {@link String} value of one of its
|
|
151
|
+
* * enum values).
|
|
133
152
|
*
|
|
134
153
|
*/
|
|
135
|
-
|
|
154
|
+
Pdf417Compaction = 8,
|
|
136
155
|
/**
|
|
137
156
|
*
|
|
138
|
-
* *
|
|
139
|
-
* *
|
|
157
|
+
* * Specifies the minimum and maximum number of rows and columns for PDF417 (type
|
|
158
|
+
* * {@link com.google.zxing.pdf417.encoder.Dimensions Dimensions}).
|
|
140
159
|
*
|
|
141
160
|
*/
|
|
142
|
-
|
|
161
|
+
Pdf417Dimensions = 9,
|
|
143
162
|
/**
|
|
144
163
|
*
|
|
145
|
-
* *
|
|
146
|
-
* *
|
|
147
|
-
* *
|
|
148
|
-
* *
|
|
149
|
-
* *
|
|
164
|
+
* * Specifies whether to automatically insert ECIs when encoding PDF417 (type {@link Boolean}, or "true" or "false"
|
|
165
|
+
* * {@link String} value).
|
|
166
|
+
* * Please note that in that case, the most compact character encoding is chosen for characters in
|
|
167
|
+
* * the input that are not in the ISO-8859-1 character set. Based on experience, some scanners do not
|
|
168
|
+
* * support encodings like cp-1256 (Arabic). In such cases the encoding can be forced to UTF-8 by
|
|
169
|
+
* * means of the {@link #CHARACTER_SET} encoding hint.
|
|
150
170
|
*
|
|
151
171
|
*/
|
|
152
|
-
|
|
172
|
+
Pdf417AutoEci = 10,
|
|
153
173
|
/**
|
|
154
174
|
*
|
|
155
|
-
* *
|
|
156
|
-
* *
|
|
175
|
+
* * Specifies the required number of layers for an Aztec code.
|
|
176
|
+
* * A negative number (-1, -2, -3, -4) specifies a compact Aztec code.
|
|
177
|
+
* * 0 indicates to use the minimum number of layers (the default).
|
|
178
|
+
* * A positive number (1, 2, .. 32) specifies a normal (non-compact) Aztec code.
|
|
179
|
+
* * (Type {@link Integer}, or {@link String} representation of the integer value).
|
|
157
180
|
*
|
|
158
181
|
*/
|
|
159
|
-
|
|
182
|
+
AztecLayers = 11,
|
|
160
183
|
/**
|
|
161
184
|
*
|
|
162
|
-
* *
|
|
185
|
+
* * Specifies the exact version of QR code to be encoded.
|
|
186
|
+
* * (Type {@link Integer}, or {@link String} representation of the integer value).
|
|
163
187
|
*
|
|
164
188
|
*/
|
|
165
|
-
|
|
189
|
+
QrVersion = 12,
|
|
190
|
+
/**
|
|
191
|
+
*
|
|
192
|
+
* * Specifies the QR code mask pattern to be used. Allowed values are
|
|
193
|
+
* * 0..QRCode.NUM_MASK_PATTERNS-1. By default the code will automatically select
|
|
194
|
+
* * the optimal mask pattern.
|
|
195
|
+
* * * (Type {@link Integer}, or {@link String} representation of the integer value).
|
|
196
|
+
*
|
|
197
|
+
*/
|
|
198
|
+
QrMaskPattern = 13,
|
|
199
|
+
/**
|
|
200
|
+
*
|
|
201
|
+
* * Specifies whether to use compact mode for QR code (type {@link Boolean}, or "true" or "false"
|
|
202
|
+
* * {@link String } value).
|
|
203
|
+
* * Please note that when compaction is performed, the most compact character encoding is chosen
|
|
204
|
+
* * for characters in the input that are not in the ISO-8859-1 character set. Based on experience,
|
|
205
|
+
* * some scanners do not support encodings like cp-1256 (Arabic). In such cases the encoding can
|
|
206
|
+
* * be forced to UTF-8 by means of the {@link #CHARACTER_SET} encoding hint.
|
|
207
|
+
*
|
|
208
|
+
*/
|
|
209
|
+
QrCompact = 14,
|
|
210
|
+
/**
|
|
211
|
+
*
|
|
212
|
+
* * Specifies whether the data should be encoded to the GS1 standard (type {@link Boolean}, or "true" or "false"
|
|
213
|
+
* * {@link String } value).
|
|
214
|
+
*
|
|
215
|
+
*/
|
|
216
|
+
Gs1Format = 15,
|
|
217
|
+
/**
|
|
218
|
+
*
|
|
219
|
+
* * Forces which encoding will be used. Currently only used for Code-128 code sets (Type {@link String}).
|
|
220
|
+
* * Valid values are "A", "B", "C".
|
|
221
|
+
* * This option and {@link #CODE128_COMPACT} are mutually exclusive.
|
|
222
|
+
*
|
|
223
|
+
*/
|
|
224
|
+
ForceCodeSet = 16,
|
|
225
|
+
/**
|
|
226
|
+
*
|
|
227
|
+
* * Forces C40 encoding for data-matrix (type {@link Boolean}, or "true" or "false") {@link String } value). This
|
|
228
|
+
* * option and {@link #DATA_MATRIX_COMPACT} are mutually exclusive.
|
|
229
|
+
*
|
|
230
|
+
*/
|
|
231
|
+
ForceC40 = 17,
|
|
232
|
+
/**
|
|
233
|
+
*
|
|
234
|
+
* * Specifies whether to use compact mode for Code-128 code (type {@link Boolean}, or "true" or "false"
|
|
235
|
+
* * {@link String } value).
|
|
236
|
+
* * This can yield slightly smaller bar codes. This option and {@link #FORCE_CODE_SET} are mutually
|
|
237
|
+
* * exclusive.
|
|
238
|
+
*
|
|
239
|
+
*/
|
|
240
|
+
Code128Compact = 18,
|
|
241
|
+
TelepenAsNumeric = 19,
|
|
166
242
|
}
|
|
167
243
|
/**
|
|
168
244
|
* Available barcode types
|
|
@@ -243,175 +319,99 @@ export enum BarcodeFormat {
|
|
|
243
319
|
}
|
|
244
320
|
/**
|
|
245
321
|
*/
|
|
246
|
-
export enum
|
|
247
|
-
/**
|
|
248
|
-
*
|
|
249
|
-
* * Specifies what degree of error correction to use, for example in QR Codes.
|
|
250
|
-
* * Type depends on the encoder. For example for QR codes it's type
|
|
251
|
-
* * {@link com.google.zxing.qrcode.decoder.ErrorCorrectionLevel ErrorCorrectionLevel}.
|
|
252
|
-
* * For Aztec it is of type {@link Integer}, representing the minimal percentage of error correction words.
|
|
253
|
-
* * For PDF417 it is of type {@link Integer}, valid values being 0 to 8.
|
|
254
|
-
* * In all cases, it can also be a {@link String} representation of the desired value as well.
|
|
255
|
-
* * Note: an Aztec symbol should have a minimum of 25% EC words.
|
|
256
|
-
*
|
|
257
|
-
*/
|
|
258
|
-
ErrorCorrection = 0,
|
|
259
|
-
/**
|
|
260
|
-
*
|
|
261
|
-
* * Specifies what character encoding to use where applicable (type {@link String})
|
|
262
|
-
*
|
|
263
|
-
*/
|
|
264
|
-
CharacterSet = 1,
|
|
265
|
-
/**
|
|
266
|
-
*
|
|
267
|
-
* * Specifies the matrix shape for Data Matrix (type {@link com.google.zxing.datamatrix.encoder.SymbolShapeHint})
|
|
268
|
-
*
|
|
269
|
-
*/
|
|
270
|
-
DataMatrixShape = 2,
|
|
271
|
-
/**
|
|
272
|
-
*
|
|
273
|
-
* * Specifies whether to use compact mode for Data Matrix (type {@link Boolean}, or "true" or "false"
|
|
274
|
-
* * {@link String } value).
|
|
275
|
-
* * The compact encoding mode also supports the encoding of characters that are not in the ISO-8859-1
|
|
276
|
-
* * character set via ECIs.
|
|
277
|
-
* * Please note that in that case, the most compact character encoding is chosen for characters in
|
|
278
|
-
* * the input that are not in the ISO-8859-1 character set. Based on experience, some scanners do not
|
|
279
|
-
* * support encodings like cp-1256 (Arabic). In such cases the encoding can be forced to UTF-8 by
|
|
280
|
-
* * means of the {@link #CHARACTER_SET} encoding hint.
|
|
281
|
-
* * Compact encoding also provides GS1-FNC1 support when {@link #GS1_FORMAT} is selected. In this case
|
|
282
|
-
* * group-separator character (ASCII 29 decimal) can be used to encode the positions of FNC1 codewords
|
|
283
|
-
* * for the purpose of delimiting AIs.
|
|
284
|
-
* * This option and {@link #FORCE_C40} are mutually exclusive.
|
|
285
|
-
*
|
|
286
|
-
*/
|
|
287
|
-
DataMatrixCompact = 3,
|
|
288
|
-
/**
|
|
289
|
-
*
|
|
290
|
-
* * Specifies a minimum barcode size (type {@link Dimension}). Only applicable to Data Matrix now.
|
|
291
|
-
* *
|
|
292
|
-
* * @deprecated use width/height params in
|
|
293
|
-
* * {@link com.google.zxing.datamatrix.DataMatrixWriter#encode(String, BarcodeFormat, int, int)}
|
|
294
|
-
*
|
|
295
|
-
*/
|
|
296
|
-
MinSize = 4,
|
|
297
|
-
/**
|
|
298
|
-
*
|
|
299
|
-
* * Specifies a maximum barcode size (type {@link Dimension}). Only applicable to Data Matrix now.
|
|
300
|
-
* *
|
|
301
|
-
* * @deprecated without replacement
|
|
302
|
-
*
|
|
303
|
-
*/
|
|
304
|
-
MaxSize = 5,
|
|
322
|
+
export enum DecodeHintTypes {
|
|
305
323
|
/**
|
|
306
324
|
*
|
|
307
|
-
* *
|
|
308
|
-
* * by format; for example it controls margin before and after the barcode horizontally for
|
|
309
|
-
* * most 1D formats. (Type {@link Integer}, or {@link String} representation of the integer value).
|
|
325
|
+
* * Unspecified, application-specific hint. Maps to an unspecified {@link Object}.
|
|
310
326
|
*
|
|
311
327
|
*/
|
|
312
|
-
|
|
328
|
+
Other = 0,
|
|
313
329
|
/**
|
|
314
330
|
*
|
|
315
|
-
* *
|
|
316
|
-
* * {@link
|
|
331
|
+
* * Image is a pure monochrome image of a barcode. Doesn't matter what it maps to;
|
|
332
|
+
* * use {@link Boolean#TRUE}.
|
|
317
333
|
*
|
|
318
334
|
*/
|
|
319
|
-
|
|
335
|
+
PureBarcode = 1,
|
|
320
336
|
/**
|
|
321
337
|
*
|
|
322
|
-
* *
|
|
323
|
-
* * {@link
|
|
324
|
-
* * enum values).
|
|
338
|
+
* * Image is known to be of one of a few possible formats.
|
|
339
|
+
* * Maps to a {@link List} of {@link BarcodeFormat}s.
|
|
325
340
|
*
|
|
326
341
|
*/
|
|
327
|
-
|
|
342
|
+
PossibleFormats = 2,
|
|
328
343
|
/**
|
|
329
344
|
*
|
|
330
|
-
* *
|
|
331
|
-
* * {@link
|
|
345
|
+
* * Spend more time to try to find a barcode; optimize for accuracy, not speed.
|
|
346
|
+
* * Doesn't matter what it maps to; use {@link Boolean#TRUE}.
|
|
332
347
|
*
|
|
333
348
|
*/
|
|
334
|
-
|
|
349
|
+
TryHarder = 3,
|
|
335
350
|
/**
|
|
336
351
|
*
|
|
337
|
-
* * Specifies
|
|
338
|
-
* * {@link String} value).
|
|
339
|
-
* * Please note that in that case, the most compact character encoding is chosen for characters in
|
|
340
|
-
* * the input that are not in the ISO-8859-1 character set. Based on experience, some scanners do not
|
|
341
|
-
* * support encodings like cp-1256 (Arabic). In such cases the encoding can be forced to UTF-8 by
|
|
342
|
-
* * means of the {@link #CHARACTER_SET} encoding hint.
|
|
352
|
+
* * Specifies what character encoding to use when decoding, where applicable (type String)
|
|
343
353
|
*
|
|
344
354
|
*/
|
|
345
|
-
|
|
355
|
+
CharacterSet = 4,
|
|
346
356
|
/**
|
|
347
357
|
*
|
|
348
|
-
* *
|
|
349
|
-
* * A negative number (-1, -2, -3, -4) specifies a compact Aztec code.
|
|
350
|
-
* * 0 indicates to use the minimum number of layers (the default).
|
|
351
|
-
* * A positive number (1, 2, .. 32) specifies a normal (non-compact) Aztec code.
|
|
352
|
-
* * (Type {@link Integer}, or {@link String} representation of the integer value).
|
|
358
|
+
* * Allowed lengths of encoded data -- reject anything else. Maps to an {@code int[]}.
|
|
353
359
|
*
|
|
354
360
|
*/
|
|
355
|
-
|
|
361
|
+
AllowedLengths = 5,
|
|
356
362
|
/**
|
|
357
363
|
*
|
|
358
|
-
* *
|
|
359
|
-
* *
|
|
364
|
+
* * Assume Code 39 codes employ a check digit. Doesn't matter what it maps to;
|
|
365
|
+
* * use {@link Boolean#TRUE}.
|
|
360
366
|
*
|
|
361
367
|
*/
|
|
362
|
-
|
|
368
|
+
AssumeCode39CheckDigit = 6,
|
|
363
369
|
/**
|
|
364
370
|
*
|
|
365
|
-
* *
|
|
366
|
-
* *
|
|
367
|
-
* *
|
|
368
|
-
* * * (Type {@link Integer}, or {@link String} representation of the integer value).
|
|
371
|
+
* * Assume the barcode is being processed as a GS1 barcode, and modify behavior as needed.
|
|
372
|
+
* * For example this affects FNC1 handling for Code 128 (aka GS1-128). Doesn't matter what it maps to;
|
|
373
|
+
* * use {@link Boolean#TRUE}.
|
|
369
374
|
*
|
|
370
375
|
*/
|
|
371
|
-
|
|
376
|
+
AssumeGs1 = 7,
|
|
372
377
|
/**
|
|
373
378
|
*
|
|
374
|
-
* *
|
|
375
|
-
* *
|
|
376
|
-
* *
|
|
377
|
-
* * for characters in the input that are not in the ISO-8859-1 character set. Based on experience,
|
|
378
|
-
* * some scanners do not support encodings like cp-1256 (Arabic). In such cases the encoding can
|
|
379
|
-
* * be forced to UTF-8 by means of the {@link #CHARACTER_SET} encoding hint.
|
|
379
|
+
* * If true, return the start and end digits in a Codabar barcode instead of stripping them. They
|
|
380
|
+
* * are alpha, whereas the rest are numeric. By default, they are stripped, but this causes them
|
|
381
|
+
* * to not be. Doesn't matter what it maps to; use {@link Boolean#TRUE}.
|
|
380
382
|
*
|
|
381
383
|
*/
|
|
382
|
-
|
|
384
|
+
ReturnCodabarStartEnd = 8,
|
|
383
385
|
/**
|
|
384
386
|
*
|
|
385
|
-
* *
|
|
386
|
-
* * {@link
|
|
387
|
+
* * The caller needs to be notified via callback when a possible {@link RXingResultPoint}
|
|
388
|
+
* * is found. Maps to a {@link RXingResultPointCallback}.
|
|
387
389
|
*
|
|
388
390
|
*/
|
|
389
|
-
|
|
391
|
+
NeedResultPointCallback = 9,
|
|
390
392
|
/**
|
|
391
393
|
*
|
|
392
|
-
* *
|
|
393
|
-
* *
|
|
394
|
-
* *
|
|
394
|
+
* * Allowed extension lengths for EAN or UPC barcodes. Other formats will ignore this.
|
|
395
|
+
* * Maps to an {@code int[]} of the allowed extension lengths, for example [2], [5], or [2, 5].
|
|
396
|
+
* * If it is optional to have an extension, do not set this hint. If this is set,
|
|
397
|
+
* * and a UPC or EAN barcode is found but an extension is not, then no result will be returned
|
|
398
|
+
* * at all.
|
|
395
399
|
*
|
|
396
400
|
*/
|
|
397
|
-
|
|
401
|
+
AllowedEanExtensions = 10,
|
|
398
402
|
/**
|
|
399
403
|
*
|
|
400
|
-
* *
|
|
401
|
-
* *
|
|
404
|
+
* * If true, also tries to decode as inverted image. All configured decoders are simply called a
|
|
405
|
+
* * second time with an inverted image. Doesn't matter what it maps to; use {@link Boolean#TRUE}.
|
|
402
406
|
*
|
|
403
407
|
*/
|
|
404
|
-
|
|
408
|
+
AlsoInverted = 11,
|
|
405
409
|
/**
|
|
406
410
|
*
|
|
407
|
-
* *
|
|
408
|
-
* * {@link String } value).
|
|
409
|
-
* * This can yield slightly smaller bar codes. This option and {@link #FORCE_CODE_SET} are mutually
|
|
410
|
-
* * exclusive.
|
|
411
|
+
* * Translate the ASCII values parsed by the Telepen reader into the Telepen Numeric form; use {@link Boolean#TRUE}.
|
|
411
412
|
*
|
|
412
413
|
*/
|
|
413
|
-
|
|
414
|
-
TelepenAsNumeric = 19,
|
|
414
|
+
TelepenAsNumeric = 12,
|
|
415
415
|
}
|
|
416
416
|
/**
|
|
417
417
|
*/
|
package/rxing_wasm_bg.js
CHANGED
|
@@ -377,99 +377,174 @@ export function decode_multi(data, width, height, hints) {
|
|
|
377
377
|
|
|
378
378
|
/**
|
|
379
379
|
*/
|
|
380
|
-
export const
|
|
380
|
+
export const EncodeHintTypes = Object.freeze({
|
|
381
381
|
/**
|
|
382
382
|
*
|
|
383
|
-
* *
|
|
383
|
+
* * Specifies what degree of error correction to use, for example in QR Codes.
|
|
384
|
+
* * Type depends on the encoder. For example for QR codes it's type
|
|
385
|
+
* * {@link com.google.zxing.qrcode.decoder.ErrorCorrectionLevel ErrorCorrectionLevel}.
|
|
386
|
+
* * For Aztec it is of type {@link Integer}, representing the minimal percentage of error correction words.
|
|
387
|
+
* * For PDF417 it is of type {@link Integer}, valid values being 0 to 8.
|
|
388
|
+
* * In all cases, it can also be a {@link String} representation of the desired value as well.
|
|
389
|
+
* * Note: an Aztec symbol should have a minimum of 25% EC words.
|
|
384
390
|
*
|
|
385
391
|
*/
|
|
386
|
-
|
|
392
|
+
ErrorCorrection:0,"0":"ErrorCorrection",
|
|
387
393
|
/**
|
|
388
394
|
*
|
|
389
|
-
* *
|
|
390
|
-
* * use {@link Boolean#TRUE}.
|
|
395
|
+
* * Specifies what character encoding to use where applicable (type {@link String})
|
|
391
396
|
*
|
|
392
397
|
*/
|
|
393
|
-
|
|
398
|
+
CharacterSet:1,"1":"CharacterSet",
|
|
394
399
|
/**
|
|
395
400
|
*
|
|
396
|
-
* *
|
|
397
|
-
* * Maps to a {@link List} of {@link BarcodeFormat}s.
|
|
401
|
+
* * Specifies the matrix shape for Data Matrix (type {@link com.google.zxing.datamatrix.encoder.SymbolShapeHint})
|
|
398
402
|
*
|
|
399
403
|
*/
|
|
400
|
-
|
|
404
|
+
DataMatrixShape:2,"2":"DataMatrixShape",
|
|
401
405
|
/**
|
|
402
406
|
*
|
|
403
|
-
* *
|
|
404
|
-
* *
|
|
407
|
+
* * Specifies whether to use compact mode for Data Matrix (type {@link Boolean}, or "true" or "false"
|
|
408
|
+
* * {@link String } value).
|
|
409
|
+
* * The compact encoding mode also supports the encoding of characters that are not in the ISO-8859-1
|
|
410
|
+
* * character set via ECIs.
|
|
411
|
+
* * Please note that in that case, the most compact character encoding is chosen for characters in
|
|
412
|
+
* * the input that are not in the ISO-8859-1 character set. Based on experience, some scanners do not
|
|
413
|
+
* * support encodings like cp-1256 (Arabic). In such cases the encoding can be forced to UTF-8 by
|
|
414
|
+
* * means of the {@link #CHARACTER_SET} encoding hint.
|
|
415
|
+
* * Compact encoding also provides GS1-FNC1 support when {@link #GS1_FORMAT} is selected. In this case
|
|
416
|
+
* * group-separator character (ASCII 29 decimal) can be used to encode the positions of FNC1 codewords
|
|
417
|
+
* * for the purpose of delimiting AIs.
|
|
418
|
+
* * This option and {@link #FORCE_C40} are mutually exclusive.
|
|
405
419
|
*
|
|
406
420
|
*/
|
|
407
|
-
|
|
421
|
+
DataMatrixCompact:3,"3":"DataMatrixCompact",
|
|
408
422
|
/**
|
|
409
423
|
*
|
|
410
|
-
* * Specifies
|
|
424
|
+
* * Specifies a minimum barcode size (type {@link Dimension}). Only applicable to Data Matrix now.
|
|
425
|
+
* *
|
|
426
|
+
* * @deprecated use width/height params in
|
|
427
|
+
* * {@link com.google.zxing.datamatrix.DataMatrixWriter#encode(String, BarcodeFormat, int, int)}
|
|
411
428
|
*
|
|
412
429
|
*/
|
|
413
|
-
|
|
430
|
+
MinSize:4,"4":"MinSize",
|
|
414
431
|
/**
|
|
415
432
|
*
|
|
416
|
-
* *
|
|
433
|
+
* * Specifies a maximum barcode size (type {@link Dimension}). Only applicable to Data Matrix now.
|
|
434
|
+
* *
|
|
435
|
+
* * @deprecated without replacement
|
|
417
436
|
*
|
|
418
437
|
*/
|
|
419
|
-
|
|
438
|
+
MaxSize:5,"5":"MaxSize",
|
|
420
439
|
/**
|
|
421
440
|
*
|
|
422
|
-
* *
|
|
423
|
-
* *
|
|
441
|
+
* * Specifies margin, in pixels, to use when generating the barcode. The meaning can vary
|
|
442
|
+
* * by format; for example it controls margin before and after the barcode horizontally for
|
|
443
|
+
* * most 1D formats. (Type {@link Integer}, or {@link String} representation of the integer value).
|
|
424
444
|
*
|
|
425
445
|
*/
|
|
426
|
-
|
|
446
|
+
MARGIN:6,"6":"MARGIN",
|
|
427
447
|
/**
|
|
428
448
|
*
|
|
429
|
-
* *
|
|
430
|
-
* *
|
|
431
|
-
* * use {@link Boolean#TRUE}.
|
|
449
|
+
* * Specifies whether to use compact mode for PDF417 (type {@link Boolean}, or "true" or "false"
|
|
450
|
+
* * {@link String} value).
|
|
432
451
|
*
|
|
433
452
|
*/
|
|
434
|
-
|
|
453
|
+
Pdf417Compact:7,"7":"Pdf417Compact",
|
|
435
454
|
/**
|
|
436
455
|
*
|
|
437
|
-
* *
|
|
438
|
-
* *
|
|
439
|
-
* *
|
|
456
|
+
* * Specifies what compaction mode to use for PDF417 (type
|
|
457
|
+
* * {@link com.google.zxing.pdf417.encoder.Compaction Compaction} or {@link String} value of one of its
|
|
458
|
+
* * enum values).
|
|
440
459
|
*
|
|
441
460
|
*/
|
|
442
|
-
|
|
461
|
+
Pdf417Compaction:8,"8":"Pdf417Compaction",
|
|
443
462
|
/**
|
|
444
463
|
*
|
|
445
|
-
* *
|
|
446
|
-
* *
|
|
464
|
+
* * Specifies the minimum and maximum number of rows and columns for PDF417 (type
|
|
465
|
+
* * {@link com.google.zxing.pdf417.encoder.Dimensions Dimensions}).
|
|
447
466
|
*
|
|
448
467
|
*/
|
|
449
|
-
|
|
468
|
+
Pdf417Dimensions:9,"9":"Pdf417Dimensions",
|
|
450
469
|
/**
|
|
451
470
|
*
|
|
452
|
-
* *
|
|
453
|
-
* *
|
|
454
|
-
* *
|
|
455
|
-
* *
|
|
456
|
-
* *
|
|
471
|
+
* * Specifies whether to automatically insert ECIs when encoding PDF417 (type {@link Boolean}, or "true" or "false"
|
|
472
|
+
* * {@link String} value).
|
|
473
|
+
* * Please note that in that case, the most compact character encoding is chosen for characters in
|
|
474
|
+
* * the input that are not in the ISO-8859-1 character set. Based on experience, some scanners do not
|
|
475
|
+
* * support encodings like cp-1256 (Arabic). In such cases the encoding can be forced to UTF-8 by
|
|
476
|
+
* * means of the {@link #CHARACTER_SET} encoding hint.
|
|
457
477
|
*
|
|
458
478
|
*/
|
|
459
|
-
|
|
479
|
+
Pdf417AutoEci:10,"10":"Pdf417AutoEci",
|
|
460
480
|
/**
|
|
461
481
|
*
|
|
462
|
-
* *
|
|
463
|
-
* *
|
|
482
|
+
* * Specifies the required number of layers for an Aztec code.
|
|
483
|
+
* * A negative number (-1, -2, -3, -4) specifies a compact Aztec code.
|
|
484
|
+
* * 0 indicates to use the minimum number of layers (the default).
|
|
485
|
+
* * A positive number (1, 2, .. 32) specifies a normal (non-compact) Aztec code.
|
|
486
|
+
* * (Type {@link Integer}, or {@link String} representation of the integer value).
|
|
464
487
|
*
|
|
465
488
|
*/
|
|
466
|
-
|
|
489
|
+
AztecLayers:11,"11":"AztecLayers",
|
|
467
490
|
/**
|
|
468
491
|
*
|
|
469
|
-
* *
|
|
492
|
+
* * Specifies the exact version of QR code to be encoded.
|
|
493
|
+
* * (Type {@link Integer}, or {@link String} representation of the integer value).
|
|
470
494
|
*
|
|
471
495
|
*/
|
|
472
|
-
|
|
496
|
+
QrVersion:12,"12":"QrVersion",
|
|
497
|
+
/**
|
|
498
|
+
*
|
|
499
|
+
* * Specifies the QR code mask pattern to be used. Allowed values are
|
|
500
|
+
* * 0..QRCode.NUM_MASK_PATTERNS-1. By default the code will automatically select
|
|
501
|
+
* * the optimal mask pattern.
|
|
502
|
+
* * * (Type {@link Integer}, or {@link String} representation of the integer value).
|
|
503
|
+
*
|
|
504
|
+
*/
|
|
505
|
+
QrMaskPattern:13,"13":"QrMaskPattern",
|
|
506
|
+
/**
|
|
507
|
+
*
|
|
508
|
+
* * Specifies whether to use compact mode for QR code (type {@link Boolean}, or "true" or "false"
|
|
509
|
+
* * {@link String } value).
|
|
510
|
+
* * Please note that when compaction is performed, the most compact character encoding is chosen
|
|
511
|
+
* * for characters in the input that are not in the ISO-8859-1 character set. Based on experience,
|
|
512
|
+
* * some scanners do not support encodings like cp-1256 (Arabic). In such cases the encoding can
|
|
513
|
+
* * be forced to UTF-8 by means of the {@link #CHARACTER_SET} encoding hint.
|
|
514
|
+
*
|
|
515
|
+
*/
|
|
516
|
+
QrCompact:14,"14":"QrCompact",
|
|
517
|
+
/**
|
|
518
|
+
*
|
|
519
|
+
* * Specifies whether the data should be encoded to the GS1 standard (type {@link Boolean}, or "true" or "false"
|
|
520
|
+
* * {@link String } value).
|
|
521
|
+
*
|
|
522
|
+
*/
|
|
523
|
+
Gs1Format:15,"15":"Gs1Format",
|
|
524
|
+
/**
|
|
525
|
+
*
|
|
526
|
+
* * Forces which encoding will be used. Currently only used for Code-128 code sets (Type {@link String}).
|
|
527
|
+
* * Valid values are "A", "B", "C".
|
|
528
|
+
* * This option and {@link #CODE128_COMPACT} are mutually exclusive.
|
|
529
|
+
*
|
|
530
|
+
*/
|
|
531
|
+
ForceCodeSet:16,"16":"ForceCodeSet",
|
|
532
|
+
/**
|
|
533
|
+
*
|
|
534
|
+
* * Forces C40 encoding for data-matrix (type {@link Boolean}, or "true" or "false") {@link String } value). This
|
|
535
|
+
* * option and {@link #DATA_MATRIX_COMPACT} are mutually exclusive.
|
|
536
|
+
*
|
|
537
|
+
*/
|
|
538
|
+
ForceC40:17,"17":"ForceC40",
|
|
539
|
+
/**
|
|
540
|
+
*
|
|
541
|
+
* * Specifies whether to use compact mode for Code-128 code (type {@link Boolean}, or "true" or "false"
|
|
542
|
+
* * {@link String } value).
|
|
543
|
+
* * This can yield slightly smaller bar codes. This option and {@link #FORCE_CODE_SET} are mutually
|
|
544
|
+
* * exclusive.
|
|
545
|
+
*
|
|
546
|
+
*/
|
|
547
|
+
Code128Compact:18,"18":"Code128Compact",TelepenAsNumeric:19,"19":"TelepenAsNumeric", });
|
|
473
548
|
/**
|
|
474
549
|
* Available barcode types
|
|
475
550
|
*/
|
|
@@ -544,174 +619,99 @@ UpcE:15,"15":"UpcE",
|
|
|
544
619
|
UpcEanExtension:16,"16":"UpcEanExtension",MicroQR:17,"17":"MicroQR",Telepen:18,"18":"Telepen",RectangularMicroQR:19,"19":"RectangularMicroQR",UnsuportedFormat:20,"20":"UnsuportedFormat", });
|
|
545
620
|
/**
|
|
546
621
|
*/
|
|
547
|
-
export const
|
|
548
|
-
/**
|
|
549
|
-
*
|
|
550
|
-
* * Specifies what degree of error correction to use, for example in QR Codes.
|
|
551
|
-
* * Type depends on the encoder. For example for QR codes it's type
|
|
552
|
-
* * {@link com.google.zxing.qrcode.decoder.ErrorCorrectionLevel ErrorCorrectionLevel}.
|
|
553
|
-
* * For Aztec it is of type {@link Integer}, representing the minimal percentage of error correction words.
|
|
554
|
-
* * For PDF417 it is of type {@link Integer}, valid values being 0 to 8.
|
|
555
|
-
* * In all cases, it can also be a {@link String} representation of the desired value as well.
|
|
556
|
-
* * Note: an Aztec symbol should have a minimum of 25% EC words.
|
|
557
|
-
*
|
|
558
|
-
*/
|
|
559
|
-
ErrorCorrection:0,"0":"ErrorCorrection",
|
|
560
|
-
/**
|
|
561
|
-
*
|
|
562
|
-
* * Specifies what character encoding to use where applicable (type {@link String})
|
|
563
|
-
*
|
|
564
|
-
*/
|
|
565
|
-
CharacterSet:1,"1":"CharacterSet",
|
|
566
|
-
/**
|
|
567
|
-
*
|
|
568
|
-
* * Specifies the matrix shape for Data Matrix (type {@link com.google.zxing.datamatrix.encoder.SymbolShapeHint})
|
|
569
|
-
*
|
|
570
|
-
*/
|
|
571
|
-
DataMatrixShape:2,"2":"DataMatrixShape",
|
|
572
|
-
/**
|
|
573
|
-
*
|
|
574
|
-
* * Specifies whether to use compact mode for Data Matrix (type {@link Boolean}, or "true" or "false"
|
|
575
|
-
* * {@link String } value).
|
|
576
|
-
* * The compact encoding mode also supports the encoding of characters that are not in the ISO-8859-1
|
|
577
|
-
* * character set via ECIs.
|
|
578
|
-
* * Please note that in that case, the most compact character encoding is chosen for characters in
|
|
579
|
-
* * the input that are not in the ISO-8859-1 character set. Based on experience, some scanners do not
|
|
580
|
-
* * support encodings like cp-1256 (Arabic). In such cases the encoding can be forced to UTF-8 by
|
|
581
|
-
* * means of the {@link #CHARACTER_SET} encoding hint.
|
|
582
|
-
* * Compact encoding also provides GS1-FNC1 support when {@link #GS1_FORMAT} is selected. In this case
|
|
583
|
-
* * group-separator character (ASCII 29 decimal) can be used to encode the positions of FNC1 codewords
|
|
584
|
-
* * for the purpose of delimiting AIs.
|
|
585
|
-
* * This option and {@link #FORCE_C40} are mutually exclusive.
|
|
586
|
-
*
|
|
587
|
-
*/
|
|
588
|
-
DataMatrixCompact:3,"3":"DataMatrixCompact",
|
|
589
|
-
/**
|
|
590
|
-
*
|
|
591
|
-
* * Specifies a minimum barcode size (type {@link Dimension}). Only applicable to Data Matrix now.
|
|
592
|
-
* *
|
|
593
|
-
* * @deprecated use width/height params in
|
|
594
|
-
* * {@link com.google.zxing.datamatrix.DataMatrixWriter#encode(String, BarcodeFormat, int, int)}
|
|
595
|
-
*
|
|
596
|
-
*/
|
|
597
|
-
MinSize:4,"4":"MinSize",
|
|
598
|
-
/**
|
|
599
|
-
*
|
|
600
|
-
* * Specifies a maximum barcode size (type {@link Dimension}). Only applicable to Data Matrix now.
|
|
601
|
-
* *
|
|
602
|
-
* * @deprecated without replacement
|
|
603
|
-
*
|
|
604
|
-
*/
|
|
605
|
-
MaxSize:5,"5":"MaxSize",
|
|
622
|
+
export const DecodeHintTypes = Object.freeze({
|
|
606
623
|
/**
|
|
607
624
|
*
|
|
608
|
-
* *
|
|
609
|
-
* * by format; for example it controls margin before and after the barcode horizontally for
|
|
610
|
-
* * most 1D formats. (Type {@link Integer}, or {@link String} representation of the integer value).
|
|
625
|
+
* * Unspecified, application-specific hint. Maps to an unspecified {@link Object}.
|
|
611
626
|
*
|
|
612
627
|
*/
|
|
613
|
-
|
|
628
|
+
Other:0,"0":"Other",
|
|
614
629
|
/**
|
|
615
630
|
*
|
|
616
|
-
* *
|
|
617
|
-
* * {@link
|
|
631
|
+
* * Image is a pure monochrome image of a barcode. Doesn't matter what it maps to;
|
|
632
|
+
* * use {@link Boolean#TRUE}.
|
|
618
633
|
*
|
|
619
634
|
*/
|
|
620
|
-
|
|
635
|
+
PureBarcode:1,"1":"PureBarcode",
|
|
621
636
|
/**
|
|
622
637
|
*
|
|
623
|
-
* *
|
|
624
|
-
* * {@link
|
|
625
|
-
* * enum values).
|
|
638
|
+
* * Image is known to be of one of a few possible formats.
|
|
639
|
+
* * Maps to a {@link List} of {@link BarcodeFormat}s.
|
|
626
640
|
*
|
|
627
641
|
*/
|
|
628
|
-
|
|
642
|
+
PossibleFormats:2,"2":"PossibleFormats",
|
|
629
643
|
/**
|
|
630
644
|
*
|
|
631
|
-
* *
|
|
632
|
-
* * {@link
|
|
645
|
+
* * Spend more time to try to find a barcode; optimize for accuracy, not speed.
|
|
646
|
+
* * Doesn't matter what it maps to; use {@link Boolean#TRUE}.
|
|
633
647
|
*
|
|
634
648
|
*/
|
|
635
|
-
|
|
649
|
+
TryHarder:3,"3":"TryHarder",
|
|
636
650
|
/**
|
|
637
651
|
*
|
|
638
|
-
* * Specifies
|
|
639
|
-
* * {@link String} value).
|
|
640
|
-
* * Please note that in that case, the most compact character encoding is chosen for characters in
|
|
641
|
-
* * the input that are not in the ISO-8859-1 character set. Based on experience, some scanners do not
|
|
642
|
-
* * support encodings like cp-1256 (Arabic). In such cases the encoding can be forced to UTF-8 by
|
|
643
|
-
* * means of the {@link #CHARACTER_SET} encoding hint.
|
|
652
|
+
* * Specifies what character encoding to use when decoding, where applicable (type String)
|
|
644
653
|
*
|
|
645
654
|
*/
|
|
646
|
-
|
|
655
|
+
CharacterSet:4,"4":"CharacterSet",
|
|
647
656
|
/**
|
|
648
657
|
*
|
|
649
|
-
* *
|
|
650
|
-
* * A negative number (-1, -2, -3, -4) specifies a compact Aztec code.
|
|
651
|
-
* * 0 indicates to use the minimum number of layers (the default).
|
|
652
|
-
* * A positive number (1, 2, .. 32) specifies a normal (non-compact) Aztec code.
|
|
653
|
-
* * (Type {@link Integer}, or {@link String} representation of the integer value).
|
|
658
|
+
* * Allowed lengths of encoded data -- reject anything else. Maps to an {@code int[]}.
|
|
654
659
|
*
|
|
655
660
|
*/
|
|
656
|
-
|
|
661
|
+
AllowedLengths:5,"5":"AllowedLengths",
|
|
657
662
|
/**
|
|
658
663
|
*
|
|
659
|
-
* *
|
|
660
|
-
* *
|
|
664
|
+
* * Assume Code 39 codes employ a check digit. Doesn't matter what it maps to;
|
|
665
|
+
* * use {@link Boolean#TRUE}.
|
|
661
666
|
*
|
|
662
667
|
*/
|
|
663
|
-
|
|
668
|
+
AssumeCode39CheckDigit:6,"6":"AssumeCode39CheckDigit",
|
|
664
669
|
/**
|
|
665
670
|
*
|
|
666
|
-
* *
|
|
667
|
-
* *
|
|
668
|
-
* *
|
|
669
|
-
* * * (Type {@link Integer}, or {@link String} representation of the integer value).
|
|
671
|
+
* * Assume the barcode is being processed as a GS1 barcode, and modify behavior as needed.
|
|
672
|
+
* * For example this affects FNC1 handling for Code 128 (aka GS1-128). Doesn't matter what it maps to;
|
|
673
|
+
* * use {@link Boolean#TRUE}.
|
|
670
674
|
*
|
|
671
675
|
*/
|
|
672
|
-
|
|
676
|
+
AssumeGs1:7,"7":"AssumeGs1",
|
|
673
677
|
/**
|
|
674
678
|
*
|
|
675
|
-
* *
|
|
676
|
-
* *
|
|
677
|
-
* *
|
|
678
|
-
* * for characters in the input that are not in the ISO-8859-1 character set. Based on experience,
|
|
679
|
-
* * some scanners do not support encodings like cp-1256 (Arabic). In such cases the encoding can
|
|
680
|
-
* * be forced to UTF-8 by means of the {@link #CHARACTER_SET} encoding hint.
|
|
679
|
+
* * If true, return the start and end digits in a Codabar barcode instead of stripping them. They
|
|
680
|
+
* * are alpha, whereas the rest are numeric. By default, they are stripped, but this causes them
|
|
681
|
+
* * to not be. Doesn't matter what it maps to; use {@link Boolean#TRUE}.
|
|
681
682
|
*
|
|
682
683
|
*/
|
|
683
|
-
|
|
684
|
+
ReturnCodabarStartEnd:8,"8":"ReturnCodabarStartEnd",
|
|
684
685
|
/**
|
|
685
686
|
*
|
|
686
|
-
* *
|
|
687
|
-
* * {@link
|
|
687
|
+
* * The caller needs to be notified via callback when a possible {@link RXingResultPoint}
|
|
688
|
+
* * is found. Maps to a {@link RXingResultPointCallback}.
|
|
688
689
|
*
|
|
689
690
|
*/
|
|
690
|
-
|
|
691
|
+
NeedResultPointCallback:9,"9":"NeedResultPointCallback",
|
|
691
692
|
/**
|
|
692
693
|
*
|
|
693
|
-
* *
|
|
694
|
-
* *
|
|
695
|
-
* *
|
|
694
|
+
* * Allowed extension lengths for EAN or UPC barcodes. Other formats will ignore this.
|
|
695
|
+
* * Maps to an {@code int[]} of the allowed extension lengths, for example [2], [5], or [2, 5].
|
|
696
|
+
* * If it is optional to have an extension, do not set this hint. If this is set,
|
|
697
|
+
* * and a UPC or EAN barcode is found but an extension is not, then no result will be returned
|
|
698
|
+
* * at all.
|
|
696
699
|
*
|
|
697
700
|
*/
|
|
698
|
-
|
|
701
|
+
AllowedEanExtensions:10,"10":"AllowedEanExtensions",
|
|
699
702
|
/**
|
|
700
703
|
*
|
|
701
|
-
* *
|
|
702
|
-
* *
|
|
704
|
+
* * If true, also tries to decode as inverted image. All configured decoders are simply called a
|
|
705
|
+
* * second time with an inverted image. Doesn't matter what it maps to; use {@link Boolean#TRUE}.
|
|
703
706
|
*
|
|
704
707
|
*/
|
|
705
|
-
|
|
708
|
+
AlsoInverted:11,"11":"AlsoInverted",
|
|
706
709
|
/**
|
|
707
710
|
*
|
|
708
|
-
* *
|
|
709
|
-
* * {@link String } value).
|
|
710
|
-
* * This can yield slightly smaller bar codes. This option and {@link #FORCE_CODE_SET} are mutually
|
|
711
|
-
* * exclusive.
|
|
711
|
+
* * Translate the ASCII values parsed by the Telepen reader into the Telepen Numeric form; use {@link Boolean#TRUE}.
|
|
712
712
|
*
|
|
713
713
|
*/
|
|
714
|
-
|
|
714
|
+
TelepenAsNumeric:12,"12":"TelepenAsNumeric", });
|
|
715
715
|
|
|
716
716
|
const BarcodeResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
717
717
|
? { register: () => {}, unregister: () => {} }
|
package/rxing_wasm_bg.wasm
CHANGED
|
Binary file
|