@sythos/js_barcode_universal 1.0.0 → 1.1.0
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/README.md +69 -43
- package/bundle/sythos-barcode.esm.js +1164 -4
- package/bundle/sythos-barcode.js +1160 -4
- package/examples/create.html +2 -1
- package/examples/read.html +341 -341
- package/licenses/README.md +1 -0
- package/licenses/aztec-code.license +74 -0
- package/package.json +6 -3
- package/src/aztec/decoder.js +317 -0
- package/src/aztec/detector.js +224 -0
- package/src/aztec/encoder.js +257 -0
- package/src/aztec/high-level.js +211 -0
- package/src/aztec/index.js +45 -0
- package/src/aztec/tables.js +210 -0
- package/src/core/galois-field.js +3 -0
- package/src/core/reed-solomon.js +313 -313
- package/src/datamatrix/decoder.js +262 -262
- package/src/datamatrix/detector.js +225 -225
- package/src/datamatrix/encoder.js +191 -191
- package/src/datamatrix/index.js +42 -42
- package/src/datamatrix/tables.js +123 -123
- package/src/index.js +38 -2
package/examples/create.html
CHANGED
|
@@ -203,9 +203,10 @@
|
|
|
203
203
|
|
|
204
204
|
// Sensible sample content per format, so switching format never lands the
|
|
205
205
|
// user on an "invalid payload" error they have to reverse-engineer.
|
|
206
|
-
var SAMPLES = {
|
|
206
|
+
var SAMPLES = {
|
|
207
207
|
qr: 'https://example.com',
|
|
208
208
|
datamatrix: 'Data Matrix ECC 200',
|
|
209
|
+
aztec: 'Aztec Code — UTF-8 👋',
|
|
209
210
|
ean13: '5901234123457',
|
|
210
211
|
ean8: '96385074',
|
|
211
212
|
upca: '036000291452',
|