@zebrash/core 0.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/dist/assets/fonts-browser.d.ts +15 -0
- package/dist/assets/fonts-browser.d.ts.map +1 -0
- package/dist/assets/fonts-browser.js +45 -0
- package/dist/assets/fonts-browser.js.map +1 -0
- package/dist/assets/fonts.d.ts +16 -0
- package/dist/assets/fonts.d.ts.map +1 -0
- package/dist/assets/fonts.js +36 -0
- package/dist/assets/fonts.js.map +1 -0
- package/dist/assets/index.d.ts +10 -0
- package/dist/assets/index.d.ts.map +1 -0
- package/dist/assets/index.js +10 -0
- package/dist/assets/index.js.map +1 -0
- package/dist/assets/register.d.ts +18 -0
- package/dist/assets/register.d.ts.map +1 -0
- package/dist/assets/register.js +41 -0
- package/dist/assets/register.js.map +1 -0
- package/dist/barcodes/aztec/azteccode.d.ts +22 -0
- package/dist/barcodes/aztec/azteccode.d.ts.map +1 -0
- package/dist/barcodes/aztec/azteccode.js +37 -0
- package/dist/barcodes/aztec/azteccode.js.map +1 -0
- package/dist/barcodes/aztec/encoder.d.ts +23 -0
- package/dist/barcodes/aztec/encoder.d.ts.map +1 -0
- package/dist/barcodes/aztec/encoder.js +244 -0
- package/dist/barcodes/aztec/encoder.js.map +1 -0
- package/dist/barcodes/aztec/errorcorrection.d.ts +11 -0
- package/dist/barcodes/aztec/errorcorrection.d.ts.map +1 -0
- package/dist/barcodes/aztec/errorcorrection.js +58 -0
- package/dist/barcodes/aztec/errorcorrection.js.map +1 -0
- package/dist/barcodes/aztec/highlevel.d.ts +13 -0
- package/dist/barcodes/aztec/highlevel.d.ts.map +1 -0
- package/dist/barcodes/aztec/highlevel.js +155 -0
- package/dist/barcodes/aztec/highlevel.js.map +1 -0
- package/dist/barcodes/aztec/index.d.ts +7 -0
- package/dist/barcodes/aztec/index.d.ts.map +1 -0
- package/dist/barcodes/aztec/index.js +7 -0
- package/dist/barcodes/aztec/index.js.map +1 -0
- package/dist/barcodes/aztec/state.d.ts +61 -0
- package/dist/barcodes/aztec/state.d.ts.map +1 -0
- package/dist/barcodes/aztec/state.js +211 -0
- package/dist/barcodes/aztec/state.js.map +1 -0
- package/dist/barcodes/aztec/token.d.ts +36 -0
- package/dist/barcodes/aztec/token.d.ts.map +1 -0
- package/dist/barcodes/aztec/token.js +74 -0
- package/dist/barcodes/aztec/token.js.map +1 -0
- package/dist/barcodes/code128/code128.d.ts +18 -0
- package/dist/barcodes/code128/code128.d.ts.map +1 -0
- package/dist/barcodes/code128/code128.js +34 -0
- package/dist/barcodes/code128/code128.js.map +1 -0
- package/dist/barcodes/code128/encoder.d.ts +76 -0
- package/dist/barcodes/code128/encoder.d.ts.map +1 -0
- package/dist/barcodes/code128/encoder.js +499 -0
- package/dist/barcodes/code128/encoder.js.map +1 -0
- package/dist/barcodes/code128/index.d.ts +5 -0
- package/dist/barcodes/code128/index.d.ts.map +1 -0
- package/dist/barcodes/code128/index.js +5 -0
- package/dist/barcodes/code128/index.js.map +1 -0
- package/dist/barcodes/code39/encoder.d.ts +11 -0
- package/dist/barcodes/code39/encoder.d.ts.map +1 -0
- package/dist/barcodes/code39/encoder.js +0 -0
- package/dist/barcodes/code39/encoder.js.map +1 -0
- package/dist/barcodes/code39/index.d.ts +2 -0
- package/dist/barcodes/code39/index.d.ts.map +1 -0
- package/dist/barcodes/code39/index.js +2 -0
- package/dist/barcodes/code39/index.js.map +1 -0
- package/dist/barcodes/datamatrix/datamatrix_writer.d.ts +4 -0
- package/dist/barcodes/datamatrix/datamatrix_writer.d.ts.map +1 -0
- package/dist/barcodes/datamatrix/datamatrix_writer.js +110 -0
- package/dist/barcodes/datamatrix/datamatrix_writer.js.map +1 -0
- package/dist/barcodes/datamatrix/encoder/ascii_encoder.d.ts +4 -0
- package/dist/barcodes/datamatrix/encoder/ascii_encoder.d.ts.map +1 -0
- package/dist/barcodes/datamatrix/encoder/ascii_encoder.js +65 -0
- package/dist/barcodes/datamatrix/encoder/ascii_encoder.js.map +1 -0
- package/dist/barcodes/datamatrix/encoder/base256_encoder.d.ts +3 -0
- package/dist/barcodes/datamatrix/encoder/base256_encoder.d.ts.map +1 -0
- package/dist/barcodes/datamatrix/encoder/base256_encoder.js +53 -0
- package/dist/barcodes/datamatrix/encoder/base256_encoder.js.map +1 -0
- package/dist/barcodes/datamatrix/encoder/byte_matrix.d.ts +16 -0
- package/dist/barcodes/datamatrix/encoder/byte_matrix.d.ts.map +1 -0
- package/dist/barcodes/datamatrix/encoder/byte_matrix.js +55 -0
- package/dist/barcodes/datamatrix/encoder/byte_matrix.js.map +1 -0
- package/dist/barcodes/datamatrix/encoder/c40_encoder.d.ts +23 -0
- package/dist/barcodes/datamatrix/encoder/c40_encoder.d.ts.map +1 -0
- package/dist/barcodes/datamatrix/encoder/c40_encoder.js +151 -0
- package/dist/barcodes/datamatrix/encoder/c40_encoder.js.map +1 -0
- package/dist/barcodes/datamatrix/encoder/datamatrix_symbol_info_144.d.ts +3 -0
- package/dist/barcodes/datamatrix/encoder/datamatrix_symbol_info_144.d.ts.map +1 -0
- package/dist/barcodes/datamatrix/encoder/datamatrix_symbol_info_144.js +17 -0
- package/dist/barcodes/datamatrix/encoder/datamatrix_symbol_info_144.js.map +1 -0
- package/dist/barcodes/datamatrix/encoder/default_placement.d.ts +19 -0
- package/dist/barcodes/datamatrix/encoder/default_placement.d.ts.map +1 -0
- package/dist/barcodes/datamatrix/encoder/default_placement.js +153 -0
- package/dist/barcodes/datamatrix/encoder/default_placement.js.map +1 -0
- package/dist/barcodes/datamatrix/encoder/dimension.d.ts +9 -0
- package/dist/barcodes/datamatrix/encoder/dimension.d.ts.map +1 -0
- package/dist/barcodes/datamatrix/encoder/dimension.js +18 -0
- package/dist/barcodes/datamatrix/encoder/dimension.js.map +1 -0
- package/dist/barcodes/datamatrix/encoder/edifact_encoder.d.ts +3 -0
- package/dist/barcodes/datamatrix/encoder/edifact_encoder.d.ts.map +1 -0
- package/dist/barcodes/datamatrix/encoder/edifact_encoder.js +116 -0
- package/dist/barcodes/datamatrix/encoder/edifact_encoder.js.map +1 -0
- package/dist/barcodes/datamatrix/encoder/encoder.d.ts +6 -0
- package/dist/barcodes/datamatrix/encoder/encoder.d.ts.map +1 -0
- package/dist/barcodes/datamatrix/encoder/encoder.js +2 -0
- package/dist/barcodes/datamatrix/encoder/encoder.js.map +1 -0
- package/dist/barcodes/datamatrix/encoder/encoder_context.d.ts +36 -0
- package/dist/barcodes/datamatrix/encoder/encoder_context.d.ts.map +1 -0
- package/dist/barcodes/datamatrix/encoder/encoder_context.js +103 -0
- package/dist/barcodes/datamatrix/encoder/encoder_context.js.map +1 -0
- package/dist/barcodes/datamatrix/encoder/error_correction.d.ts +3 -0
- package/dist/barcodes/datamatrix/encoder/error_correction.d.ts.map +1 -0
- package/dist/barcodes/datamatrix/encoder/error_correction.js +137 -0
- package/dist/barcodes/datamatrix/encoder/error_correction.js.map +1 -0
- package/dist/barcodes/datamatrix/encoder/high_level_encoder.d.ts +28 -0
- package/dist/barcodes/datamatrix/encoder/high_level_encoder.d.ts.map +1 -0
- package/dist/barcodes/datamatrix/encoder/high_level_encoder.js +300 -0
- package/dist/barcodes/datamatrix/encoder/high_level_encoder.js.map +1 -0
- package/dist/barcodes/datamatrix/encoder/options.d.ts +10 -0
- package/dist/barcodes/datamatrix/encoder/options.d.ts.map +1 -0
- package/dist/barcodes/datamatrix/encoder/options.js +5 -0
- package/dist/barcodes/datamatrix/encoder/options.js.map +1 -0
- package/dist/barcodes/datamatrix/encoder/symbol_info.d.ts +33 -0
- package/dist/barcodes/datamatrix/encoder/symbol_info.d.ts.map +1 -0
- package/dist/barcodes/datamatrix/encoder/symbol_info.js +179 -0
- package/dist/barcodes/datamatrix/encoder/symbol_info.js.map +1 -0
- package/dist/barcodes/datamatrix/encoder/symbol_shape_hint.d.ts +7 -0
- package/dist/barcodes/datamatrix/encoder/symbol_shape_hint.d.ts.map +1 -0
- package/dist/barcodes/datamatrix/encoder/symbol_shape_hint.js +8 -0
- package/dist/barcodes/datamatrix/encoder/symbol_shape_hint.js.map +1 -0
- package/dist/barcodes/datamatrix/encoder/text_encoder.d.ts +7 -0
- package/dist/barcodes/datamatrix/encoder/text_encoder.d.ts.map +1 -0
- package/dist/barcodes/datamatrix/encoder/text_encoder.js +58 -0
- package/dist/barcodes/datamatrix/encoder/text_encoder.js.map +1 -0
- package/dist/barcodes/datamatrix/encoder/x12_encoder.d.ts +3 -0
- package/dist/barcodes/datamatrix/encoder/x12_encoder.d.ts.map +1 -0
- package/dist/barcodes/datamatrix/encoder/x12_encoder.js +71 -0
- package/dist/barcodes/datamatrix/encoder/x12_encoder.js.map +1 -0
- package/dist/barcodes/datamatrix/index.d.ts +11 -0
- package/dist/barcodes/datamatrix/index.d.ts.map +1 -0
- package/dist/barcodes/datamatrix/index.js +12 -0
- package/dist/barcodes/datamatrix/index.js.map +1 -0
- package/dist/barcodes/ean13/ean13.d.ts +46 -0
- package/dist/barcodes/ean13/ean13.d.ts.map +1 -0
- package/dist/barcodes/ean13/ean13.js +69 -0
- package/dist/barcodes/ean13/ean13.js.map +1 -0
- package/dist/barcodes/ean13/encoder.d.ts +35 -0
- package/dist/barcodes/ean13/encoder.d.ts.map +1 -0
- package/dist/barcodes/ean13/encoder.js +170 -0
- package/dist/barcodes/ean13/encoder.js.map +1 -0
- package/dist/barcodes/ean13/index.d.ts +4 -0
- package/dist/barcodes/ean13/index.d.ts.map +1 -0
- package/dist/barcodes/ean13/index.js +4 -0
- package/dist/barcodes/ean13/index.js.map +1 -0
- package/dist/barcodes/maxicode/index.d.ts +6 -0
- package/dist/barcodes/maxicode/index.d.ts.map +1 -0
- package/dist/barcodes/maxicode/index.js +7 -0
- package/dist/barcodes/maxicode/index.js.map +1 -0
- package/dist/barcodes/maxicode/maxicode.d.ts +6 -0
- package/dist/barcodes/maxicode/maxicode.d.ts.map +1 -0
- package/dist/barcodes/maxicode/maxicode.js +648 -0
- package/dist/barcodes/maxicode/maxicode.js.map +1 -0
- package/dist/barcodes/maxicode/readsolomon.d.ts +11 -0
- package/dist/barcodes/maxicode/readsolomon.d.ts.map +1 -0
- package/dist/barcodes/maxicode/readsolomon.js +82 -0
- package/dist/barcodes/maxicode/readsolomon.js.map +1 -0
- package/dist/barcodes/maxicode/symbolgrid.d.ts +14 -0
- package/dist/barcodes/maxicode/symbolgrid.d.ts.map +1 -0
- package/dist/barcodes/maxicode/symbolgrid.js +36 -0
- package/dist/barcodes/maxicode/symbolgrid.js.map +1 -0
- package/dist/barcodes/pdf417/codewords.d.ts +5 -0
- package/dist/barcodes/pdf417/codewords.d.ts.map +1 -0
- package/dist/barcodes/pdf417/codewords.js +303 -0
- package/dist/barcodes/pdf417/codewords.js.map +1 -0
- package/dist/barcodes/pdf417/dimensions.d.ts +10 -0
- package/dist/barcodes/pdf417/dimensions.d.ts.map +1 -0
- package/dist/barcodes/pdf417/dimensions.js +37 -0
- package/dist/barcodes/pdf417/dimensions.js.map +1 -0
- package/dist/barcodes/pdf417/encoder.d.ts +13 -0
- package/dist/barcodes/pdf417/encoder.d.ts.map +1 -0
- package/dist/barcodes/pdf417/encoder.js +132 -0
- package/dist/barcodes/pdf417/encoder.js.map +1 -0
- package/dist/barcodes/pdf417/errorcorrection.d.ts +4 -0
- package/dist/barcodes/pdf417/errorcorrection.d.ts.map +1 -0
- package/dist/barcodes/pdf417/errorcorrection.js +107 -0
- package/dist/barcodes/pdf417/errorcorrection.js.map +1 -0
- package/dist/barcodes/pdf417/highlevel.d.ts +7 -0
- package/dist/barcodes/pdf417/highlevel.d.ts.map +1 -0
- package/dist/barcodes/pdf417/highlevel.js +310 -0
- package/dist/barcodes/pdf417/highlevel.js.map +1 -0
- package/dist/barcodes/pdf417/index.d.ts +9 -0
- package/dist/barcodes/pdf417/index.d.ts.map +1 -0
- package/dist/barcodes/pdf417/index.js +8 -0
- package/dist/barcodes/pdf417/index.js.map +1 -0
- package/dist/barcodes/qrcode/encoder/block-pair.d.ts +8 -0
- package/dist/barcodes/qrcode/encoder/block-pair.d.ts.map +1 -0
- package/dist/barcodes/qrcode/encoder/block-pair.js +16 -0
- package/dist/barcodes/qrcode/encoder/block-pair.js.map +1 -0
- package/dist/barcodes/qrcode/encoder/byte-matrix.d.ts +15 -0
- package/dist/barcodes/qrcode/encoder/byte-matrix.d.ts.map +1 -0
- package/dist/barcodes/qrcode/encoder/byte-matrix.js +55 -0
- package/dist/barcodes/qrcode/encoder/byte-matrix.js.map +1 -0
- package/dist/barcodes/qrcode/encoder/character-set-eci.d.ts +38 -0
- package/dist/barcodes/qrcode/encoder/character-set-eci.d.ts.map +1 -0
- package/dist/barcodes/qrcode/encoder/character-set-eci.js +204 -0
- package/dist/barcodes/qrcode/encoder/character-set-eci.js.map +1 -0
- package/dist/barcodes/qrcode/encoder/encoder.d.ts +6 -0
- package/dist/barcodes/qrcode/encoder/encoder.d.ts.map +1 -0
- package/dist/barcodes/qrcode/encoder/encoder.js +519 -0
- package/dist/barcodes/qrcode/encoder/encoder.js.map +1 -0
- package/dist/barcodes/qrcode/encoder/error-correction-level.d.ts +12 -0
- package/dist/barcodes/qrcode/encoder/error-correction-level.d.ts.map +1 -0
- package/dist/barcodes/qrcode/encoder/error-correction-level.js +53 -0
- package/dist/barcodes/qrcode/encoder/error-correction-level.js.map +1 -0
- package/dist/barcodes/qrcode/encoder/format-information.d.ts +12 -0
- package/dist/barcodes/qrcode/encoder/format-information.d.ts.map +1 -0
- package/dist/barcodes/qrcode/encoder/format-information.js +86 -0
- package/dist/barcodes/qrcode/encoder/format-information.js.map +1 -0
- package/dist/barcodes/qrcode/encoder/index.d.ts +14 -0
- package/dist/barcodes/qrcode/encoder/index.d.ts.map +1 -0
- package/dist/barcodes/qrcode/encoder/index.js +14 -0
- package/dist/barcodes/qrcode/encoder/index.js.map +1 -0
- package/dist/barcodes/qrcode/encoder/mask-util.d.ts +7 -0
- package/dist/barcodes/qrcode/encoder/mask-util.d.ts.map +1 -0
- package/dist/barcodes/qrcode/encoder/mask-util.js +174 -0
- package/dist/barcodes/qrcode/encoder/mask-util.js.map +1 -0
- package/dist/barcodes/qrcode/encoder/matrix-util.d.ts +7 -0
- package/dist/barcodes/qrcode/encoder/matrix-util.d.ts.map +1 -0
- package/dist/barcodes/qrcode/encoder/matrix-util.js +318 -0
- package/dist/barcodes/qrcode/encoder/matrix-util.js.map +1 -0
- package/dist/barcodes/qrcode/encoder/mode.d.ts +22 -0
- package/dist/barcodes/qrcode/encoder/mode.d.ts.map +1 -0
- package/dist/barcodes/qrcode/encoder/mode.js +69 -0
- package/dist/barcodes/qrcode/encoder/mode.js.map +1 -0
- package/dist/barcodes/qrcode/encoder/options.d.ts +10 -0
- package/dist/barcodes/qrcode/encoder/options.d.ts.map +1 -0
- package/dist/barcodes/qrcode/encoder/options.js +3 -0
- package/dist/barcodes/qrcode/encoder/options.js.map +1 -0
- package/dist/barcodes/qrcode/encoder/qrcode.d.ts +26 -0
- package/dist/barcodes/qrcode/encoder/qrcode.d.ts.map +1 -0
- package/dist/barcodes/qrcode/encoder/qrcode.js +66 -0
- package/dist/barcodes/qrcode/encoder/qrcode.js.map +1 -0
- package/dist/barcodes/qrcode/encoder/string-utils.d.ts +8 -0
- package/dist/barcodes/qrcode/encoder/string-utils.d.ts.map +1 -0
- package/dist/barcodes/qrcode/encoder/string-utils.js +13 -0
- package/dist/barcodes/qrcode/encoder/string-utils.js.map +1 -0
- package/dist/barcodes/qrcode/encoder/version.d.ts +37 -0
- package/dist/barcodes/qrcode/encoder/version.d.ts.map +1 -0
- package/dist/barcodes/qrcode/encoder/version.js +567 -0
- package/dist/barcodes/qrcode/encoder/version.js.map +1 -0
- package/dist/barcodes/qrcode/index.d.ts +5 -0
- package/dist/barcodes/qrcode/index.d.ts.map +1 -0
- package/dist/barcodes/qrcode/index.js +6 -0
- package/dist/barcodes/qrcode/index.js.map +1 -0
- package/dist/barcodes/qrcode/qrcode-writer.d.ts +5 -0
- package/dist/barcodes/qrcode/qrcode-writer.d.ts.map +1 -0
- package/dist/barcodes/qrcode/qrcode-writer.js +45 -0
- package/dist/barcodes/qrcode/qrcode-writer.js.map +1 -0
- package/dist/barcodes/twooffive/encoder.d.ts +13 -0
- package/dist/barcodes/twooffive/encoder.d.ts.map +1 -0
- package/dist/barcodes/twooffive/encoder.js +74 -0
- package/dist/barcodes/twooffive/encoder.js.map +1 -0
- package/dist/barcodes/twooffive/index.d.ts +3 -0
- package/dist/barcodes/twooffive/index.d.ts.map +1 -0
- package/dist/barcodes/twooffive/index.js +2 -0
- package/dist/barcodes/twooffive/index.js.map +1 -0
- package/dist/barcodes/utils/bit_array.d.ts +31 -0
- package/dist/barcodes/utils/bit_array.d.ts.map +1 -0
- package/dist/barcodes/utils/bit_array.js +217 -0
- package/dist/barcodes/utils/bit_array.js.map +1 -0
- package/dist/barcodes/utils/bit_matrix.d.ts +36 -0
- package/dist/barcodes/utils/bit_matrix.d.ts.map +1 -0
- package/dist/barcodes/utils/bit_matrix.js +336 -0
- package/dist/barcodes/utils/bit_matrix.js.map +1 -0
- package/dist/barcodes/utils/bitlist.d.ts +20 -0
- package/dist/barcodes/utils/bitlist.d.ts.map +1 -0
- package/dist/barcodes/utils/bitlist.js +129 -0
- package/dist/barcodes/utils/bitlist.js.map +1 -0
- package/dist/barcodes/utils/bitlist_image.d.ts +7 -0
- package/dist/barcodes/utils/bitlist_image.d.ts.map +1 -0
- package/dist/barcodes/utils/bitlist_image.js +28 -0
- package/dist/barcodes/utils/bitlist_image.js.map +1 -0
- package/dist/barcodes/utils/bitlist_widenarrow.d.ts +12 -0
- package/dist/barcodes/utils/bitlist_widenarrow.d.ts.map +1 -0
- package/dist/barcodes/utils/bitlist_widenarrow.js +46 -0
- package/dist/barcodes/utils/bitlist_widenarrow.js.map +1 -0
- package/dist/barcodes/utils/bitops.d.ts +3 -0
- package/dist/barcodes/utils/bitops.d.ts.map +1 -0
- package/dist/barcodes/utils/bitops.js +42 -0
- package/dist/barcodes/utils/bitops.js.map +1 -0
- package/dist/barcodes/utils/galoisfield.d.ts +15 -0
- package/dist/barcodes/utils/galoisfield.d.ts.map +1 -0
- package/dist/barcodes/utils/galoisfield.js +65 -0
- package/dist/barcodes/utils/galoisfield.js.map +1 -0
- package/dist/barcodes/utils/gfpoly.d.ts +19 -0
- package/dist/barcodes/utils/gfpoly.d.ts.map +1 -0
- package/dist/barcodes/utils/gfpoly.js +103 -0
- package/dist/barcodes/utils/gfpoly.js.map +1 -0
- package/dist/barcodes/utils/index.d.ts +12 -0
- package/dist/barcodes/utils/index.d.ts.map +1 -0
- package/dist/barcodes/utils/index.js +10 -0
- package/dist/barcodes/utils/index.js.map +1 -0
- package/dist/barcodes/utils/reedsolomon.d.ts +10 -0
- package/dist/barcodes/utils/reedsolomon.d.ts.map +1 -0
- package/dist/barcodes/utils/reedsolomon.js +38 -0
- package/dist/barcodes/utils/reedsolomon.js.map +1 -0
- package/dist/barcodes/utils/runeint.d.ts +3 -0
- package/dist/barcodes/utils/runeint.d.ts.map +1 -0
- package/dist/barcodes/utils/runeint.js +17 -0
- package/dist/barcodes/utils/runeint.js.map +1 -0
- package/dist/drawer-options.d.ts +21 -0
- package/dist/drawer-options.d.ts.map +1 -0
- package/dist/drawer-options.js +15 -0
- package/dist/drawer-options.js.map +1 -0
- package/dist/drawer.d.ts +27 -0
- package/dist/drawer.d.ts.map +1 -0
- package/dist/drawer.js +102 -0
- package/dist/drawer.js.map +1 -0
- package/dist/drawers/barcode_128.d.ts +3 -0
- package/dist/drawers/barcode_128.d.ts.map +1 -0
- package/dist/drawers/barcode_128.js +76 -0
- package/dist/drawers/barcode_128.js.map +1 -0
- package/dist/drawers/barcode_2of5.d.ts +3 -0
- package/dist/drawers/barcode_2of5.d.ts.map +1 -0
- package/dist/drawers/barcode_2of5.js +35 -0
- package/dist/drawers/barcode_2of5.js.map +1 -0
- package/dist/drawers/barcode_39.d.ts +3 -0
- package/dist/drawers/barcode_39.d.ts.map +1 -0
- package/dist/drawers/barcode_39.js +33 -0
- package/dist/drawers/barcode_39.js.map +1 -0
- package/dist/drawers/barcode_aztec.d.ts +3 -0
- package/dist/drawers/barcode_aztec.d.ts.map +1 -0
- package/dist/drawers/barcode_aztec.js +47 -0
- package/dist/drawers/barcode_aztec.js.map +1 -0
- package/dist/drawers/barcode_datamatrix.d.ts +3 -0
- package/dist/drawers/barcode_datamatrix.d.ts.map +1 -0
- package/dist/drawers/barcode_datamatrix.js +46 -0
- package/dist/drawers/barcode_datamatrix.js.map +1 -0
- package/dist/drawers/barcode_ean13.d.ts +3 -0
- package/dist/drawers/barcode_ean13.d.ts.map +1 -0
- package/dist/drawers/barcode_ean13.js +76 -0
- package/dist/drawers/barcode_ean13.js.map +1 -0
- package/dist/drawers/barcode_paint.d.ts +35 -0
- package/dist/drawers/barcode_paint.d.ts.map +1 -0
- package/dist/drawers/barcode_paint.js +95 -0
- package/dist/drawers/barcode_paint.js.map +1 -0
- package/dist/drawers/barcode_pdf417.d.ts +3 -0
- package/dist/drawers/barcode_pdf417.d.ts.map +1 -0
- package/dist/drawers/barcode_pdf417.js +44 -0
- package/dist/drawers/barcode_pdf417.js.map +1 -0
- package/dist/drawers/barcode_qr.d.ts +3 -0
- package/dist/drawers/barcode_qr.d.ts.map +1 -0
- package/dist/drawers/barcode_qr.js +44 -0
- package/dist/drawers/barcode_qr.js.map +1 -0
- package/dist/drawers/drawer_state.d.ts +18 -0
- package/dist/drawers/drawer_state.d.ts.map +1 -0
- package/dist/drawers/drawer_state.js +45 -0
- package/dist/drawers/drawer_state.js.map +1 -0
- package/dist/drawers/element_drawer.d.ts +48 -0
- package/dist/drawers/element_drawer.d.ts.map +1 -0
- package/dist/drawers/element_drawer.js +117 -0
- package/dist/drawers/element_drawer.js.map +1 -0
- package/dist/drawers/graphic_box.d.ts +3 -0
- package/dist/drawers/graphic_box.d.ts.map +1 -0
- package/dist/drawers/graphic_box.js +74 -0
- package/dist/drawers/graphic_box.js.map +1 -0
- package/dist/drawers/graphic_circle.d.ts +3 -0
- package/dist/drawers/graphic_circle.d.ts.map +1 -0
- package/dist/drawers/graphic_circle.js +22 -0
- package/dist/drawers/graphic_circle.js.map +1 -0
- package/dist/drawers/graphic_diagonal_line.d.ts +3 -0
- package/dist/drawers/graphic_diagonal_line.d.ts.map +1 -0
- package/dist/drawers/graphic_diagonal_line.js +39 -0
- package/dist/drawers/graphic_diagonal_line.js.map +1 -0
- package/dist/drawers/graphic_field.d.ts +3 -0
- package/dist/drawers/graphic_field.d.ts.map +1 -0
- package/dist/drawers/graphic_field.js +62 -0
- package/dist/drawers/graphic_field.js.map +1 -0
- package/dist/drawers/index.d.ts +12 -0
- package/dist/drawers/index.d.ts.map +1 -0
- package/dist/drawers/index.js +42 -0
- package/dist/drawers/index.js.map +1 -0
- package/dist/drawers/maxicode.d.ts +9 -0
- package/dist/drawers/maxicode.d.ts.map +1 -0
- package/dist/drawers/maxicode.js +70 -0
- package/dist/drawers/maxicode.js.map +1 -0
- package/dist/drawers/text_field.d.ts +10 -0
- package/dist/drawers/text_field.d.ts.map +1 -0
- package/dist/drawers/text_field.js +253 -0
- package/dist/drawers/text_field.js.map +1 -0
- package/dist/elements/barcode_128.d.ts +27 -0
- package/dist/elements/barcode_128.d.ts.map +1 -0
- package/dist/elements/barcode_128.js +7 -0
- package/dist/elements/barcode_128.js.map +1 -0
- package/dist/elements/barcode_2of5.d.ts +20 -0
- package/dist/elements/barcode_2of5.d.ts.map +1 -0
- package/dist/elements/barcode_2of5.js +2 -0
- package/dist/elements/barcode_2of5.js.map +1 -0
- package/dist/elements/barcode_39.d.ts +20 -0
- package/dist/elements/barcode_39.d.ts.map +1 -0
- package/dist/elements/barcode_39.js +2 -0
- package/dist/elements/barcode_39.js.map +1 -0
- package/dist/elements/barcode_aztec.d.ts +16 -0
- package/dist/elements/barcode_aztec.d.ts.map +1 -0
- package/dist/elements/barcode_aztec.js +2 -0
- package/dist/elements/barcode_aztec.js.map +1 -0
- package/dist/elements/barcode_datamatrix.d.ts +26 -0
- package/dist/elements/barcode_datamatrix.d.ts.map +1 -0
- package/dist/elements/barcode_datamatrix.js +5 -0
- package/dist/elements/barcode_datamatrix.js.map +1 -0
- package/dist/elements/barcode_ean13.d.ts +18 -0
- package/dist/elements/barcode_ean13.d.ts.map +1 -0
- package/dist/elements/barcode_ean13.js +2 -0
- package/dist/elements/barcode_ean13.js.map +1 -0
- package/dist/elements/barcode_info.d.ts +6 -0
- package/dist/elements/barcode_info.d.ts.map +1 -0
- package/dist/elements/barcode_info.js +2 -0
- package/dist/elements/barcode_info.js.map +1 -0
- package/dist/elements/barcode_pdf417.d.ts +19 -0
- package/dist/elements/barcode_pdf417.d.ts.map +1 -0
- package/dist/elements/barcode_pdf417.js +2 -0
- package/dist/elements/barcode_pdf417.js.map +1 -0
- package/dist/elements/barcode_qr.d.ts +35 -0
- package/dist/elements/barcode_qr.d.ts.map +1 -0
- package/dist/elements/barcode_qr.js +41 -0
- package/dist/elements/barcode_qr.js.map +1 -0
- package/dist/elements/field_alignment.d.ts +7 -0
- package/dist/elements/field_alignment.d.ts.map +1 -0
- package/dist/elements/field_alignment.js +9 -0
- package/dist/elements/field_alignment.js.map +1 -0
- package/dist/elements/field_block.d.ts +10 -0
- package/dist/elements/field_block.d.ts.map +1 -0
- package/dist/elements/field_block.js +2 -0
- package/dist/elements/field_block.js.map +1 -0
- package/dist/elements/field_info.d.ts +16 -0
- package/dist/elements/field_info.d.ts.map +1 -0
- package/dist/elements/field_info.js +2 -0
- package/dist/elements/field_info.js.map +1 -0
- package/dist/elements/field_orientation.d.ts +9 -0
- package/dist/elements/field_orientation.d.ts.map +1 -0
- package/dist/elements/field_orientation.js +23 -0
- package/dist/elements/field_orientation.js.map +1 -0
- package/dist/elements/font.d.ts +25 -0
- package/dist/elements/font.d.ts.map +1 -0
- package/dist/elements/font.js +94 -0
- package/dist/elements/font.js.map +1 -0
- package/dist/elements/graphic_box.d.ts +14 -0
- package/dist/elements/graphic_box.d.ts.map +1 -0
- package/dist/elements/graphic_box.js +2 -0
- package/dist/elements/graphic_box.js.map +1 -0
- package/dist/elements/graphic_circle.d.ts +12 -0
- package/dist/elements/graphic_circle.d.ts.map +1 -0
- package/dist/elements/graphic_circle.js +2 -0
- package/dist/elements/graphic_circle.js.map +1 -0
- package/dist/elements/graphic_diagonal_line.d.ts +14 -0
- package/dist/elements/graphic_diagonal_line.d.ts.map +1 -0
- package/dist/elements/graphic_diagonal_line.js +2 -0
- package/dist/elements/graphic_diagonal_line.js.map +1 -0
- package/dist/elements/graphic_field.d.ts +24 -0
- package/dist/elements/graphic_field.d.ts.map +1 -0
- package/dist/elements/graphic_field.js +10 -0
- package/dist/elements/graphic_field.js.map +1 -0
- package/dist/elements/graphic_symbol.d.ts +8 -0
- package/dist/elements/graphic_symbol.d.ts.map +1 -0
- package/dist/elements/graphic_symbol.js +2 -0
- package/dist/elements/graphic_symbol.js.map +1 -0
- package/dist/elements/index.d.ts +48 -0
- package/dist/elements/index.d.ts.map +1 -0
- package/dist/elements/index.js +55 -0
- package/dist/elements/index.js.map +1 -0
- package/dist/elements/label_info.d.ts +6 -0
- package/dist/elements/label_info.d.ts.map +1 -0
- package/dist/elements/label_info.js +2 -0
- package/dist/elements/label_info.js.map +1 -0
- package/dist/elements/label_position.d.ts +12 -0
- package/dist/elements/label_position.d.ts.map +1 -0
- package/dist/elements/label_position.js +22 -0
- package/dist/elements/label_position.js.map +1 -0
- package/dist/elements/line_color.d.ts +8 -0
- package/dist/elements/line_color.d.ts.map +1 -0
- package/dist/elements/line_color.js +8 -0
- package/dist/elements/line_color.js.map +1 -0
- package/dist/elements/maxicode.d.ts +15 -0
- package/dist/elements/maxicode.d.ts.map +1 -0
- package/dist/elements/maxicode.js +28 -0
- package/dist/elements/maxicode.js.map +1 -0
- package/dist/elements/reverse_print.d.ts +7 -0
- package/dist/elements/reverse_print.d.ts.map +1 -0
- package/dist/elements/reverse_print.js +8 -0
- package/dist/elements/reverse_print.js.map +1 -0
- package/dist/elements/stored_format.d.ts +36 -0
- package/dist/elements/stored_format.d.ts.map +1 -0
- package/dist/elements/stored_format.js +255 -0
- package/dist/elements/stored_format.js.map +1 -0
- package/dist/elements/stored_graphics.d.ts +6 -0
- package/dist/elements/stored_graphics.d.ts.map +1 -0
- package/dist/elements/stored_graphics.js +2 -0
- package/dist/elements/stored_graphics.js.map +1 -0
- package/dist/elements/text_alignment.d.ts +8 -0
- package/dist/elements/text_alignment.d.ts.map +1 -0
- package/dist/elements/text_alignment.js +7 -0
- package/dist/elements/text_alignment.js.map +1 -0
- package/dist/elements/text_field.d.ts +15 -0
- package/dist/elements/text_field.d.ts.map +1 -0
- package/dist/elements/text_field.js +2 -0
- package/dist/elements/text_field.js.map +1 -0
- package/dist/encodings/decode.d.ts +10 -0
- package/dist/encodings/decode.d.ts.map +1 -0
- package/dist/encodings/decode.js +356 -0
- package/dist/encodings/decode.js.map +1 -0
- package/dist/encodings/index.d.ts +2 -0
- package/dist/encodings/index.d.ts.map +1 -0
- package/dist/encodings/index.js +2 -0
- package/dist/encodings/index.js.map +1 -0
- package/dist/hex/decode.d.ts +20 -0
- package/dist/hex/decode.d.ts.map +1 -0
- package/dist/hex/decode.js +187 -0
- package/dist/hex/decode.js.map +1 -0
- package/dist/hex/index.d.ts +2 -0
- package/dist/hex/index.d.ts.map +1 -0
- package/dist/hex/index.js +2 -0
- package/dist/hex/index.js.map +1 -0
- package/dist/images/colors.d.ts +15 -0
- package/dist/images/colors.d.ts.map +1 -0
- package/dist/images/colors.js +12 -0
- package/dist/images/colors.js.map +1 -0
- package/dist/images/encode.d.ts +26 -0
- package/dist/images/encode.d.ts.map +1 -0
- package/dist/images/encode.js +66 -0
- package/dist/images/encode.js.map +1 -0
- package/dist/images/index.d.ts +9 -0
- package/dist/images/index.d.ts.map +1 -0
- package/dist/images/index.js +11 -0
- package/dist/images/index.js.map +1 -0
- package/dist/images/reverse_print.d.ts +13 -0
- package/dist/images/reverse_print.d.ts.map +1 -0
- package/dist/images/reverse_print.js +46 -0
- package/dist/images/reverse_print.js.map +1 -0
- package/dist/images/scaled.d.ts +10 -0
- package/dist/images/scaled.d.ts.map +1 -0
- package/dist/images/scaled.js +34 -0
- package/dist/images/scaled.js.map +1 -0
- package/dist/images/zerofill.d.ts +11 -0
- package/dist/images/zerofill.d.ts.map +1 -0
- package/dist/images/zerofill.js +24 -0
- package/dist/images/zerofill.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -0
- package/dist/parser.d.ts +23 -0
- package/dist/parser.d.ts.map +1 -0
- package/dist/parser.js +150 -0
- package/dist/parser.js.map +1 -0
- package/dist/parsers/barcode_128.d.ts +3 -0
- package/dist/parsers/barcode_128.d.ts.map +1 -0
- package/dist/parsers/barcode_128.js +43 -0
- package/dist/parsers/barcode_128.js.map +1 -0
- package/dist/parsers/barcode_2of5.d.ts +3 -0
- package/dist/parsers/barcode_2of5.d.ts.map +1 -0
- package/dist/parsers/barcode_2of5.js +38 -0
- package/dist/parsers/barcode_2of5.js.map +1 -0
- package/dist/parsers/barcode_39.d.ts +3 -0
- package/dist/parsers/barcode_39.d.ts.map +1 -0
- package/dist/parsers/barcode_39.js +38 -0
- package/dist/parsers/barcode_39.js.map +1 -0
- package/dist/parsers/barcode_aztec.d.ts +3 -0
- package/dist/parsers/barcode_aztec.d.ts.map +1 -0
- package/dist/parsers/barcode_aztec.js +35 -0
- package/dist/parsers/barcode_aztec.js.map +1 -0
- package/dist/parsers/barcode_datamatrix.d.ts +3 -0
- package/dist/parsers/barcode_datamatrix.d.ts.map +1 -0
- package/dist/parsers/barcode_datamatrix.js +63 -0
- package/dist/parsers/barcode_datamatrix.js.map +1 -0
- package/dist/parsers/barcode_ean13.d.ts +3 -0
- package/dist/parsers/barcode_ean13.d.ts.map +1 -0
- package/dist/parsers/barcode_ean13.js +34 -0
- package/dist/parsers/barcode_ean13.js.map +1 -0
- package/dist/parsers/barcode_field_defaults.d.ts +3 -0
- package/dist/parsers/barcode_field_defaults.d.ts.map +1 -0
- package/dist/parsers/barcode_field_defaults.js +28 -0
- package/dist/parsers/barcode_field_defaults.js.map +1 -0
- package/dist/parsers/barcode_parsers.d.ts +4 -0
- package/dist/parsers/barcode_parsers.d.ts.map +1 -0
- package/dist/parsers/barcode_parsers.js +22 -0
- package/dist/parsers/barcode_parsers.js.map +1 -0
- package/dist/parsers/barcode_pdf417.d.ts +3 -0
- package/dist/parsers/barcode_pdf417.d.ts.map +1 -0
- package/dist/parsers/barcode_pdf417.js +48 -0
- package/dist/parsers/barcode_pdf417.js.map +1 -0
- package/dist/parsers/barcode_qr.d.ts +3 -0
- package/dist/parsers/barcode_qr.d.ts.map +1 -0
- package/dist/parsers/barcode_qr.js +23 -0
- package/dist/parsers/barcode_qr.js.map +1 -0
- package/dist/parsers/change_charset.d.ts +3 -0
- package/dist/parsers/change_charset.d.ts.map +1 -0
- package/dist/parsers/change_charset.js +18 -0
- package/dist/parsers/change_charset.js.map +1 -0
- package/dist/parsers/change_default_font.d.ts +3 -0
- package/dist/parsers/change_default_font.d.ts.map +1 -0
- package/dist/parsers/change_default_font.js +39 -0
- package/dist/parsers/change_default_font.js.map +1 -0
- package/dist/parsers/change_font.d.ts +3 -0
- package/dist/parsers/change_font.d.ts.map +1 -0
- package/dist/parsers/change_font.js +53 -0
- package/dist/parsers/change_font.js.map +1 -0
- package/dist/parsers/change_font_alias.d.ts +3 -0
- package/dist/parsers/change_font_alias.d.ts.map +1 -0
- package/dist/parsers/change_font_alias.js +23 -0
- package/dist/parsers/change_font_alias.js.map +1 -0
- package/dist/parsers/command_parser.d.ts +77 -0
- package/dist/parsers/command_parser.d.ts.map +1 -0
- package/dist/parsers/command_parser.js +178 -0
- package/dist/parsers/command_parser.js.map +1 -0
- package/dist/parsers/download_format.d.ts +3 -0
- package/dist/parsers/download_format.d.ts.map +1 -0
- package/dist/parsers/download_format.js +16 -0
- package/dist/parsers/download_format.js.map +1 -0
- package/dist/parsers/download_graphics.d.ts +3 -0
- package/dist/parsers/download_graphics.d.ts.map +1 -0
- package/dist/parsers/download_graphics.js +43 -0
- package/dist/parsers/download_graphics.js.map +1 -0
- package/dist/parsers/download_unbounded_ttf.d.ts +3 -0
- package/dist/parsers/download_unbounded_ttf.d.ts.map +1 -0
- package/dist/parsers/download_unbounded_ttf.js +44 -0
- package/dist/parsers/download_unbounded_ttf.js.map +1 -0
- package/dist/parsers/field_block.d.ts +3 -0
- package/dist/parsers/field_block.d.ts.map +1 -0
- package/dist/parsers/field_block.js +49 -0
- package/dist/parsers/field_block.js.map +1 -0
- package/dist/parsers/field_data.d.ts +3 -0
- package/dist/parsers/field_data.d.ts.map +1 -0
- package/dist/parsers/field_data.js +17 -0
- package/dist/parsers/field_data.js.map +1 -0
- package/dist/parsers/field_number.d.ts +3 -0
- package/dist/parsers/field_number.d.ts.map +1 -0
- package/dist/parsers/field_number.js +16 -0
- package/dist/parsers/field_number.js.map +1 -0
- package/dist/parsers/field_orientation.d.ts +3 -0
- package/dist/parsers/field_orientation.d.ts.map +1 -0
- package/dist/parsers/field_orientation.js +22 -0
- package/dist/parsers/field_orientation.js.map +1 -0
- package/dist/parsers/field_origin.d.ts +3 -0
- package/dist/parsers/field_origin.d.ts.map +1 -0
- package/dist/parsers/field_origin.js +33 -0
- package/dist/parsers/field_origin.js.map +1 -0
- package/dist/parsers/field_reverse_print.d.ts +3 -0
- package/dist/parsers/field_reverse_print.d.ts.map +1 -0
- package/dist/parsers/field_reverse_print.js +11 -0
- package/dist/parsers/field_reverse_print.js.map +1 -0
- package/dist/parsers/field_separator.d.ts +3 -0
- package/dist/parsers/field_separator.d.ts.map +1 -0
- package/dist/parsers/field_separator.js +42 -0
- package/dist/parsers/field_separator.js.map +1 -0
- package/dist/parsers/field_typeset.d.ts +3 -0
- package/dist/parsers/field_typeset.d.ts.map +1 -0
- package/dist/parsers/field_typeset.js +38 -0
- package/dist/parsers/field_typeset.js.map +1 -0
- package/dist/parsers/field_value.d.ts +3 -0
- package/dist/parsers/field_value.d.ts.map +1 -0
- package/dist/parsers/field_value.js +12 -0
- package/dist/parsers/field_value.js.map +1 -0
- package/dist/parsers/graphic_box.d.ts +3 -0
- package/dist/parsers/graphic_box.d.ts.map +1 -0
- package/dist/parsers/graphic_box.js +63 -0
- package/dist/parsers/graphic_box.js.map +1 -0
- package/dist/parsers/graphic_circle.d.ts +3 -0
- package/dist/parsers/graphic_circle.d.ts.map +1 -0
- package/dist/parsers/graphic_circle.js +34 -0
- package/dist/parsers/graphic_circle.js.map +1 -0
- package/dist/parsers/graphic_diagonal_line.d.ts +3 -0
- package/dist/parsers/graphic_diagonal_line.d.ts.map +1 -0
- package/dist/parsers/graphic_diagonal_line.js +44 -0
- package/dist/parsers/graphic_diagonal_line.js.map +1 -0
- package/dist/parsers/graphic_field.d.ts +3 -0
- package/dist/parsers/graphic_field.d.ts.map +1 -0
- package/dist/parsers/graphic_field.js +78 -0
- package/dist/parsers/graphic_field.js.map +1 -0
- package/dist/parsers/graphic_format_parsers.d.ts +3 -0
- package/dist/parsers/graphic_format_parsers.d.ts.map +1 -0
- package/dist/parsers/graphic_format_parsers.js +27 -0
- package/dist/parsers/graphic_format_parsers.js.map +1 -0
- package/dist/parsers/graphic_symbol.d.ts +3 -0
- package/dist/parsers/graphic_symbol.d.ts.map +1 -0
- package/dist/parsers/graphic_symbol.js +32 -0
- package/dist/parsers/graphic_symbol.js.map +1 -0
- package/dist/parsers/hex_escape.d.ts +3 -0
- package/dist/parsers/hex_escape.d.ts.map +1 -0
- package/dist/parsers/hex_escape.js +18 -0
- package/dist/parsers/hex_escape.js.map +1 -0
- package/dist/parsers/image_load.d.ts +3 -0
- package/dist/parsers/image_load.d.ts.map +1 -0
- package/dist/parsers/image_load.js +33 -0
- package/dist/parsers/image_load.js.map +1 -0
- package/dist/parsers/index.d.ts +10 -0
- package/dist/parsers/index.d.ts.map +1 -0
- package/dist/parsers/index.js +59 -0
- package/dist/parsers/index.js.map +1 -0
- package/dist/parsers/label_home.d.ts +3 -0
- package/dist/parsers/label_home.d.ts.map +1 -0
- package/dist/parsers/label_home.js +26 -0
- package/dist/parsers/label_home.js.map +1 -0
- package/dist/parsers/label_reverse_print.d.ts +3 -0
- package/dist/parsers/label_reverse_print.d.ts.map +1 -0
- package/dist/parsers/label_reverse_print.js +13 -0
- package/dist/parsers/label_reverse_print.js.map +1 -0
- package/dist/parsers/maxicode.d.ts +3 -0
- package/dist/parsers/maxicode.d.ts.map +1 -0
- package/dist/parsers/maxicode.js +19 -0
- package/dist/parsers/maxicode.js.map +1 -0
- package/dist/parsers/print_orientation.d.ts +3 -0
- package/dist/parsers/print_orientation.d.ts.map +1 -0
- package/dist/parsers/print_orientation.js +13 -0
- package/dist/parsers/print_orientation.js.map +1 -0
- package/dist/parsers/print_width.d.ts +3 -0
- package/dist/parsers/print_width.d.ts.map +1 -0
- package/dist/parsers/print_width.js +18 -0
- package/dist/parsers/print_width.js.map +1 -0
- package/dist/parsers/recall_format.d.ts +3 -0
- package/dist/parsers/recall_format.d.ts.map +1 -0
- package/dist/parsers/recall_format.js +20 -0
- package/dist/parsers/recall_format.js.map +1 -0
- package/dist/parsers/recall_graphics.d.ts +3 -0
- package/dist/parsers/recall_graphics.d.ts.map +1 -0
- package/dist/parsers/recall_graphics.js +50 -0
- package/dist/parsers/recall_graphics.js.map +1 -0
- package/dist/platform/browser.d.ts +7 -0
- package/dist/platform/browser.d.ts.map +1 -0
- package/dist/platform/browser.js +35 -0
- package/dist/platform/browser.js.map +1 -0
- package/dist/platform/inflate.d.ts +7 -0
- package/dist/platform/inflate.d.ts.map +1 -0
- package/dist/platform/inflate.js +13 -0
- package/dist/platform/inflate.js.map +1 -0
- package/dist/platform/node.d.ts +7 -0
- package/dist/platform/node.d.ts.map +1 -0
- package/dist/platform/node.js +30 -0
- package/dist/platform/node.js.map +1 -0
- package/dist/platform/types.d.ts +49 -0
- package/dist/platform/types.d.ts.map +1 -0
- package/dist/platform/types.js +10 -0
- package/dist/platform/types.js.map +1 -0
- package/dist/platform-browser.d.ts +9 -0
- package/dist/platform-browser.d.ts.map +1 -0
- package/dist/platform-browser.js +8 -0
- package/dist/platform-browser.js.map +1 -0
- package/dist/platform.d.ts +11 -0
- package/dist/platform.d.ts.map +1 -0
- package/dist/platform.js +10 -0
- package/dist/platform.js.map +1 -0
- package/dist/printers/fs.d.ts +17 -0
- package/dist/printers/fs.d.ts.map +1 -0
- package/dist/printers/fs.js +42 -0
- package/dist/printers/fs.js.map +1 -0
- package/dist/printers/index.d.ts +3 -0
- package/dist/printers/index.d.ts.map +1 -0
- package/dist/printers/index.js +3 -0
- package/dist/printers/index.js.map +1 -0
- package/dist/printers/virtual.d.ts +44 -0
- package/dist/printers/virtual.d.ts.map +1 -0
- package/dist/printers/virtual.js +92 -0
- package/dist/printers/virtual.js.map +1 -0
- package/package.json +37 -0
- package/src/assets/fonts/DejaVuSansMono.ttf +0 -0
- package/src/assets/fonts/DejaVuSansMonoBold.ttf +0 -0
- package/src/assets/fonts/HelveticaBoldCondensedCustom.ttf +0 -0
- package/src/assets/fonts/ZplGSCustom.ttf +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"maxicode.d.ts","sourceRoot":"","sources":["../../src/drawers/maxicode.ts"],"names":[],"mappings":"AAGA,OAAO,EAGL,KAAK,YAAY,EAElB,MAAM,+BAA+B,CAAC;AAMvC,OAAO,EAAE,KAAK,aAAa,EAA8B,MAAM,qBAAqB,CAAC;AAErF,wBAAgB,iBAAiB,IAAI,aAAa,CAgCjD;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,GAAG,EAAE,wBAAwB,EAC7B,IAAI,EAAE,YAAY,EAClB,IAAI,EAAE,MAAM,GACX,IAAI,CAqCN"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
// Port of /Users/alancohen/fountain-bio/zebrash/internal/drawers/maxicode.go
|
|
2
|
+
// (and the embedded SymbolGrid.Draw() routine from the upstream maxicode lib).
|
|
3
|
+
import { MAXICODE_COLS, MAXICODE_ROWS, encodeMaxicode, } from "../barcodes/maxicode/index.js";
|
|
4
|
+
import { FieldOrientationNormal, getMaxicodeInputData, } from "../elements/index.js";
|
|
5
|
+
import { adjustImageTypeSetPosition } from "./element_drawer.js";
|
|
6
|
+
export function newMaxicodeDrawer() {
|
|
7
|
+
return {
|
|
8
|
+
draw(ctx, element, options) {
|
|
9
|
+
const barcode = element;
|
|
10
|
+
if (!barcode || barcode._kind !== "MaxicodeWithData")
|
|
11
|
+
return;
|
|
12
|
+
const inputData = getMaxicodeInputData(barcode);
|
|
13
|
+
const grid = encodeMaxicode(barcode.code.mode, 0, inputData);
|
|
14
|
+
const dpmm = options.dpmm;
|
|
15
|
+
const hexRectW = Math.round(0.76 * dpmm);
|
|
16
|
+
const hexRectH = Math.round(0.88 * dpmm);
|
|
17
|
+
const imageWidth = Math.trunc(28 * dpmm);
|
|
18
|
+
const imageHeight = Math.trunc(26.8 * dpmm);
|
|
19
|
+
const pos = adjustImageTypeSetPosition(imageWidth, imageHeight, barcode.position, FieldOrientationNormal);
|
|
20
|
+
ctx.save();
|
|
21
|
+
try {
|
|
22
|
+
ctx.translate(pos.x - hexRectW, pos.y - hexRectH);
|
|
23
|
+
drawMaxicodeGrid(ctx, grid, dpmm);
|
|
24
|
+
}
|
|
25
|
+
finally {
|
|
26
|
+
ctx.restore();
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Render a Maxicode grid: bullseye + hexagonal modules.
|
|
33
|
+
* Mirrors `SymbolGrid.Draw()` in github.com/ingridhq/maxicode.
|
|
34
|
+
*/
|
|
35
|
+
export function drawMaxicodeGrid(ctx, grid, dpmm) {
|
|
36
|
+
const centerX = 13.64 * dpmm;
|
|
37
|
+
const centerY = 13.43 * dpmm;
|
|
38
|
+
const innerRadius = 0.85 * dpmm;
|
|
39
|
+
const centerRadius = 2.2 * dpmm;
|
|
40
|
+
const outerRadius = 3.54 * dpmm;
|
|
41
|
+
ctx.lineWidth = 0.67 * dpmm;
|
|
42
|
+
ctx.strokeStyle = "#000000";
|
|
43
|
+
ctx.fillStyle = "#000000";
|
|
44
|
+
for (const radius of [outerRadius, centerRadius, innerRadius]) {
|
|
45
|
+
ctx.beginPath();
|
|
46
|
+
ctx.arc(centerX, centerY, radius, 0, Math.PI * 2);
|
|
47
|
+
ctx.stroke();
|
|
48
|
+
}
|
|
49
|
+
const hexRectW = 0.76 * dpmm;
|
|
50
|
+
const hexRectH = 0.88 * dpmm;
|
|
51
|
+
for (let row = 0; row < MAXICODE_ROWS; row++) {
|
|
52
|
+
const rowOffset = (row & 1) === 1 ? 1.32 : 0.88;
|
|
53
|
+
for (let col = 0; col < MAXICODE_COLS; col++) {
|
|
54
|
+
if (!grid.get(row, col))
|
|
55
|
+
continue;
|
|
56
|
+
const hexRectX = (col * 0.88 + rowOffset) * dpmm;
|
|
57
|
+
const hexRectY = (row * 0.76 + 0.76) * dpmm;
|
|
58
|
+
ctx.beginPath();
|
|
59
|
+
ctx.moveTo(hexRectX + hexRectW * 0.5, hexRectY);
|
|
60
|
+
ctx.lineTo(hexRectX + hexRectW, hexRectY + hexRectH * 0.25);
|
|
61
|
+
ctx.lineTo(hexRectX + hexRectW, hexRectY + hexRectH * 0.75);
|
|
62
|
+
ctx.lineTo(hexRectX + hexRectW * 0.5, hexRectY + hexRectH);
|
|
63
|
+
ctx.lineTo(hexRectX, hexRectY + hexRectH * 0.75);
|
|
64
|
+
ctx.lineTo(hexRectX, hexRectY + hexRectH * 0.25);
|
|
65
|
+
ctx.closePath();
|
|
66
|
+
ctx.fill();
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=maxicode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"maxicode.js","sourceRoot":"","sources":["../../src/drawers/maxicode.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,+EAA+E;AAE/E,OAAO,EACL,aAAa,EACb,aAAa,EAEb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AAE,EAAE,CAAC;YAC7C,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,CAAC;gBAAE,SAAS;YAClC,MAAM,QAAQ,GAAG,CAAC,GAAG,GAAG,IAAI,GAAG,SAAS,CAAC,GAAG,IAAI,CAAC;YACjD,MAAM,QAAQ,GAAG,CAAC,GAAG,GAAG,IAAI,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;YAC5C,GAAG,CAAC,SAAS,EAAE,CAAC;YAChB,GAAG,CAAC,MAAM,CAAC,QAAQ,GAAG,QAAQ,GAAG,GAAG,EAAE,QAAQ,CAAC,CAAC;YAChD,GAAG,CAAC,MAAM,CAAC,QAAQ,GAAG,QAAQ,EAAE,QAAQ,GAAG,QAAQ,GAAG,IAAI,CAAC,CAAC;YAC5D,GAAG,CAAC,MAAM,CAAC,QAAQ,GAAG,QAAQ,EAAE,QAAQ,GAAG,QAAQ,GAAG,IAAI,CAAC,CAAC;YAC5D,GAAG,CAAC,MAAM,CAAC,QAAQ,GAAG,QAAQ,GAAG,GAAG,EAAE,QAAQ,GAAG,QAAQ,CAAC,CAAC;YAC3D,GAAG,CAAC,MAAM,CAAC,QAAQ,EAAE,QAAQ,GAAG,QAAQ,GAAG,IAAI,CAAC,CAAC;YACjD,GAAG,CAAC,MAAM,CAAC,QAAQ,EAAE,QAAQ,GAAG,QAAQ,GAAG,IAAI,CAAC,CAAC;YACjD,GAAG,CAAC,SAAS,EAAE,CAAC;YAChB,GAAG,CAAC,IAAI,EAAE,CAAC;QACb,CAAC;IACH,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type ElementDrawer } from "./index.ts";
|
|
2
|
+
export declare function newTextFieldDrawer(): ElementDrawer;
|
|
3
|
+
/**
|
|
4
|
+
* Greedy word wrap that mirrors gg's wordWrap: paragraphs are split on
|
|
5
|
+
* newlines first, then each paragraph is greedily packed by word so each
|
|
6
|
+
* resulting line has measured width <= `width`.
|
|
7
|
+
*/
|
|
8
|
+
declare function wordWrap(ctx: CanvasRenderingContext2D, s: string, width: number): string[];
|
|
9
|
+
export { wordWrap as _wordWrap };
|
|
10
|
+
//# sourceMappingURL=text_field.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text_field.d.ts","sourceRoot":"","sources":["../../src/drawers/text_field.ts"],"names":[],"mappings":"AAuBA,OAAO,EAEL,KAAK,aAAa,EAInB,MAAM,YAAY,CAAC;AAcpB,wBAAgB,kBAAkB,IAAI,aAAa,CAqElD;AA6ND;;;;GAIG;AACH,iBAAS,QAAQ,CAAC,GAAG,EAAE,wBAAwB,EAAE,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAsBnF;AAGD,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
import { FONT_FAMILY_DEJAVU_MONO, FONT_FAMILY_DEJAVU_MONO_BOLD, FONT_FAMILY_HELVETICA_BOLD, FONT_FAMILY_ZPL_GS, registerEmbeddedFonts, } from "../assets/index.js";
|
|
2
|
+
import { FieldAlignmentRight, FieldOrientation90, FieldOrientation180, FieldOrientation270, LineColorBlack, TextAlignmentCenter, TextAlignmentJustified, TextAlignmentRight, } from "../elements/index.js";
|
|
3
|
+
import { platform } from "../platform.js";
|
|
4
|
+
import { rotateAbout, scaleAbout, setLineColor, } from "./index.js";
|
|
5
|
+
/**
|
|
6
|
+
* Draws a TextField (`^FD` after `^A`/`^FT`/`^FO` etc.) onto the canvas.
|
|
7
|
+
* Mirrors `internal/drawers/text_field.go` in the Go reference.
|
|
8
|
+
*/
|
|
9
|
+
function isTextField(value) {
|
|
10
|
+
return (typeof value === "object" &&
|
|
11
|
+
value !== null &&
|
|
12
|
+
value._kind === "TextField");
|
|
13
|
+
}
|
|
14
|
+
export function newTextFieldDrawer() {
|
|
15
|
+
return {
|
|
16
|
+
async draw(ctx, element, _options, state) {
|
|
17
|
+
if (!isTextField(element))
|
|
18
|
+
return;
|
|
19
|
+
// Browser fonts are loaded lazily on first draw; on Node this is a
|
|
20
|
+
// synchronous no-op after the first call.
|
|
21
|
+
await registerEmbeddedFonts();
|
|
22
|
+
// If this field references a downloaded TTF (^A@..., R:CUSTOM.FNT), the
|
|
23
|
+
// parser stored the raw bytes plus a generated family alias. Register it
|
|
24
|
+
// with the active platform's font registry on first sight, then promote
|
|
25
|
+
// the alias onto the FontInfo so getFontFamily picks it up below.
|
|
26
|
+
if (element.font.customFont && !element.font.customFontFamily) {
|
|
27
|
+
await platform.registerFont(element.font.customFont.data, element.font.customFont.name);
|
|
28
|
+
element.font.customFontFamily = element.font.customFont.name;
|
|
29
|
+
}
|
|
30
|
+
const text = adjustTextField(element);
|
|
31
|
+
const scaleX = getFontScaleX(text.font);
|
|
32
|
+
const family = getFontFamily(text.font);
|
|
33
|
+
ctx.font = `${text.font.height}px "${family}"`;
|
|
34
|
+
ctx.textBaseline = "alphabetic";
|
|
35
|
+
ctx.textAlign = "left";
|
|
36
|
+
setLineColor(ctx, LineColorBlack);
|
|
37
|
+
const { width: rawW, fontHeight } = measure(ctx, text.text);
|
|
38
|
+
const w = rawW * scaleX;
|
|
39
|
+
const h = fontHeight;
|
|
40
|
+
const [x, y] = getTextTopLeftPos(text, w, h, state);
|
|
41
|
+
state.updateAutomaticTextPosition(text, w);
|
|
42
|
+
const [ax, ay] = getTextAxAy(text);
|
|
43
|
+
ctx.save();
|
|
44
|
+
try {
|
|
45
|
+
rotateAbout(ctx, text.font.orientation, x, y);
|
|
46
|
+
if (scaleX !== 1.0) {
|
|
47
|
+
scaleAbout(ctx, scaleX, 1, x, y);
|
|
48
|
+
}
|
|
49
|
+
if (text.block) {
|
|
50
|
+
const maxWidth = text.block.maxWidth / scaleX;
|
|
51
|
+
const lineSpacing = h === 0 ? 1 : 1 + text.block.lineSpacing / h;
|
|
52
|
+
drawStringWrapped(ctx, text.text, x, y - h, ax, ay, maxWidth, lineSpacing, text.block.alignment, h);
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
drawStringAnchored(ctx, text.text, x, y, ax, ay);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
finally {
|
|
59
|
+
ctx.restore();
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
// ---------------------------------------------------------------------------
|
|
65
|
+
// Helpers
|
|
66
|
+
// ---------------------------------------------------------------------------
|
|
67
|
+
function adjustTextField(text) {
|
|
68
|
+
// Font B is the bold ZPL font; its glyph table only has uppercase forms.
|
|
69
|
+
if (text.font.name === "B") {
|
|
70
|
+
return { ...text, text: text.text.toUpperCase() };
|
|
71
|
+
}
|
|
72
|
+
return text;
|
|
73
|
+
}
|
|
74
|
+
function getFontFamily(font) {
|
|
75
|
+
if (font.customFontFamily) {
|
|
76
|
+
return font.customFontFamily;
|
|
77
|
+
}
|
|
78
|
+
switch (font.name) {
|
|
79
|
+
case "0":
|
|
80
|
+
return FONT_FAMILY_HELVETICA_BOLD;
|
|
81
|
+
case "B":
|
|
82
|
+
return FONT_FAMILY_DEJAVU_MONO_BOLD;
|
|
83
|
+
case "GS":
|
|
84
|
+
return FONT_FAMILY_ZPL_GS;
|
|
85
|
+
default:
|
|
86
|
+
return FONT_FAMILY_DEJAVU_MONO;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
function getFontScaleX(font) {
|
|
90
|
+
if (font.height !== 0) {
|
|
91
|
+
return (widthToHeightRatio(font) * font.width) / font.height;
|
|
92
|
+
}
|
|
93
|
+
return 1.0;
|
|
94
|
+
}
|
|
95
|
+
function widthToHeightRatio(font) {
|
|
96
|
+
if (font.name === "0" || font.name === "GS" || font.customFontFamily) {
|
|
97
|
+
return 1.0;
|
|
98
|
+
}
|
|
99
|
+
// Empirical adjustment for the bitmap-emulated TTF fonts (matches Go).
|
|
100
|
+
return 2.0;
|
|
101
|
+
}
|
|
102
|
+
function getTextTopLeftPos(text, w, h, state) {
|
|
103
|
+
const [x, y] = state.getTextPosition(text);
|
|
104
|
+
let lines = 1;
|
|
105
|
+
let spacing = 0;
|
|
106
|
+
let blockW = w;
|
|
107
|
+
if (text.block) {
|
|
108
|
+
lines = Math.max(text.block.maxLines, 1);
|
|
109
|
+
spacing = text.block.lineSpacing;
|
|
110
|
+
blockW = text.block.maxWidth;
|
|
111
|
+
}
|
|
112
|
+
if (!text.position.calculateFromBottom) {
|
|
113
|
+
switch (text.font.orientation) {
|
|
114
|
+
case FieldOrientation90:
|
|
115
|
+
return [x + h / 4, y];
|
|
116
|
+
case FieldOrientation180:
|
|
117
|
+
return [x + blockW, y + h / 4];
|
|
118
|
+
case FieldOrientation270:
|
|
119
|
+
return [x + (3 * h) / 4, y + blockW];
|
|
120
|
+
default:
|
|
121
|
+
return [x, y + (3 * h) / 4];
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
const offset = (lines - 1) * (h + spacing);
|
|
125
|
+
switch (text.font.orientation) {
|
|
126
|
+
case FieldOrientation90:
|
|
127
|
+
return [x + offset, y];
|
|
128
|
+
case FieldOrientation180:
|
|
129
|
+
return [x, y + offset];
|
|
130
|
+
case FieldOrientation270:
|
|
131
|
+
return [x - offset, y];
|
|
132
|
+
default:
|
|
133
|
+
return [x, y - offset];
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
function getTextAxAy(text) {
|
|
137
|
+
return [text.alignment === FieldAlignmentRight ? 1 : 0, 0];
|
|
138
|
+
}
|
|
139
|
+
function measure(ctx, s) {
|
|
140
|
+
const m = ctx.measureText(s);
|
|
141
|
+
return {
|
|
142
|
+
width: m.width,
|
|
143
|
+
fontHeight: m.fontBoundingBoxAscent + m.fontBoundingBoxDescent,
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Mirrors gg.Context.DrawStringAnchored: places the (ax, ay) anchor of the
|
|
148
|
+
* text bounding box at (x, y), where (0, 0) puts the baseline at y.
|
|
149
|
+
*/
|
|
150
|
+
function drawStringAnchored(ctx, s, x, y, ax, ay) {
|
|
151
|
+
const { width, fontHeight } = measure(ctx, s);
|
|
152
|
+
ctx.fillText(s, x - ax * width, y + ay * fontHeight);
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Mirrors gg's DrawStringWrapped, with justified-alignment support added
|
|
156
|
+
* (matches Go zebrash's drawStringWrapped).
|
|
157
|
+
*/
|
|
158
|
+
function drawStringWrapped(ctx, s, x, y, ax, ay, width, lineSpacing, align, fontHeight) {
|
|
159
|
+
const lines = wordWrap(ctx, s, width);
|
|
160
|
+
let totalH = lines.length * fontHeight * lineSpacing;
|
|
161
|
+
totalH -= (lineSpacing - 1) * fontHeight;
|
|
162
|
+
let cx = x - ax * width;
|
|
163
|
+
let cy = y - ay * totalH;
|
|
164
|
+
let lineAx = ax;
|
|
165
|
+
switch (align) {
|
|
166
|
+
case TextAlignmentCenter:
|
|
167
|
+
lineAx = 0.5;
|
|
168
|
+
cx += width / 2;
|
|
169
|
+
break;
|
|
170
|
+
case TextAlignmentRight:
|
|
171
|
+
lineAx = 1;
|
|
172
|
+
cx += width;
|
|
173
|
+
break;
|
|
174
|
+
default:
|
|
175
|
+
// Left or Justified
|
|
176
|
+
lineAx = 0;
|
|
177
|
+
break;
|
|
178
|
+
}
|
|
179
|
+
const lineAy = 1;
|
|
180
|
+
const lastLine = lines.length - 1;
|
|
181
|
+
for (let i = 0; i < lines.length; i++) {
|
|
182
|
+
const line = lines[i] ?? "";
|
|
183
|
+
if (align === TextAlignmentJustified && i < lastLine) {
|
|
184
|
+
drawStringJustified(ctx, line, cx, cy, lineAx, lineAy, width, fontHeight);
|
|
185
|
+
}
|
|
186
|
+
else {
|
|
187
|
+
drawStringAnchored(ctx, line, cx, cy, lineAx, lineAy);
|
|
188
|
+
}
|
|
189
|
+
cy += fontHeight * lineSpacing;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
function drawStringJustified(ctx, line, x, y, ax, ay, maxWidth, fontHeight) {
|
|
193
|
+
const words = splitFields(line);
|
|
194
|
+
if (words.length === 0) {
|
|
195
|
+
return;
|
|
196
|
+
}
|
|
197
|
+
const wordsWidth = Array.from({ length: words.length }, () => 0);
|
|
198
|
+
let totalWordWidth = 0;
|
|
199
|
+
for (let i = 0; i < words.length; i++) {
|
|
200
|
+
const w = ctx.measureText(words[i] ?? "").width;
|
|
201
|
+
wordsWidth[i] = w;
|
|
202
|
+
totalWordWidth += w;
|
|
203
|
+
}
|
|
204
|
+
const spaceCount = words.length - 1;
|
|
205
|
+
let spaceWidth = 0;
|
|
206
|
+
if (spaceCount > 0) {
|
|
207
|
+
spaceWidth = (maxWidth - totalWordWidth) / spaceCount;
|
|
208
|
+
if (spaceWidth < 0) {
|
|
209
|
+
spaceWidth = fontHeight * 0.3;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
let cx = x;
|
|
213
|
+
for (let i = 0; i < words.length; i++) {
|
|
214
|
+
drawStringAnchored(ctx, words[i] ?? "", cx, y, ax, ay);
|
|
215
|
+
cx += (wordsWidth[i] ?? 0) + spaceWidth;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
/** Equivalent to Go's strings.Fields: whitespace-separated tokens. */
|
|
219
|
+
function splitFields(s) {
|
|
220
|
+
return s.split(/\s+/u).filter((w) => w.length > 0);
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* Greedy word wrap that mirrors gg's wordWrap: paragraphs are split on
|
|
224
|
+
* newlines first, then each paragraph is greedily packed by word so each
|
|
225
|
+
* resulting line has measured width <= `width`.
|
|
226
|
+
*/
|
|
227
|
+
function wordWrap(ctx, s, width) {
|
|
228
|
+
const result = [];
|
|
229
|
+
for (const paragraph of s.split("\n")) {
|
|
230
|
+
const words = splitFields(paragraph);
|
|
231
|
+
if (words.length === 0) {
|
|
232
|
+
result.push("");
|
|
233
|
+
continue;
|
|
234
|
+
}
|
|
235
|
+
let current = words[0] ?? "";
|
|
236
|
+
for (let i = 1; i < words.length; i++) {
|
|
237
|
+
const word = words[i] ?? "";
|
|
238
|
+
const candidate = `${current} ${word}`;
|
|
239
|
+
if (ctx.measureText(candidate).width > width) {
|
|
240
|
+
result.push(current);
|
|
241
|
+
current = word;
|
|
242
|
+
}
|
|
243
|
+
else {
|
|
244
|
+
current = candidate;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
result.push(current);
|
|
248
|
+
}
|
|
249
|
+
return result;
|
|
250
|
+
}
|
|
251
|
+
// Exposed for unit testing the wrap algorithm in isolation.
|
|
252
|
+
export { wordWrap as _wordWrap };
|
|
253
|
+
//# sourceMappingURL=text_field.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text_field.js","sourceRoot":"","sources":["../../src/drawers/text_field.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,uBAAuB,EACvB,4BAA4B,EAC5B,0BAA0B,EAC1B,kBAAkB,EAClB,qBAAqB,GACtB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EAEnB,cAAc,EAEd,mBAAmB,EACnB,sBAAsB,EACtB,kBAAkB,GAEnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAGL,WAAW,EACX,UAAU,EACV,YAAY,GACb,MAAM,YAAY,CAAC;AAEpB;;;GAGG;AACH,SAAS,WAAW,CAAC,KAAc;IACjC,OAAO,CACL,OAAO,KAAK,KAAK,QAAQ;QACzB,KAAK,KAAK,IAAI;QACb,KAA6B,CAAC,KAAK,KAAK,WAAW,CACrD,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,kBAAkB;IAChC,OAAO;QACL,KAAK,CAAC,IAAI,CACR,GAA6B,EAC7B,OAAgB,EAChB,QAAuB,EACvB,KAAkB;YAElB,IAAI,CAAC,WAAW,CAAC,OA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C;AAChB,CAAC;AAED,4DAA4D;AAC5D,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { FieldOrientation } from "./field_orientation.ts";
|
|
2
|
+
import type { LabelPosition } from "./label_position.ts";
|
|
3
|
+
import type { ReversePrint } from "./reverse_print.ts";
|
|
4
|
+
export declare const BarcodeMode: {
|
|
5
|
+
readonly No: 0;
|
|
6
|
+
readonly Ucc: 1;
|
|
7
|
+
readonly Automatic: 2;
|
|
8
|
+
readonly Ean: 3;
|
|
9
|
+
};
|
|
10
|
+
export type BarcodeMode = (typeof BarcodeMode)[keyof typeof BarcodeMode];
|
|
11
|
+
export interface Barcode128 {
|
|
12
|
+
_kind: "Barcode128";
|
|
13
|
+
orientation: FieldOrientation;
|
|
14
|
+
height: number;
|
|
15
|
+
line: boolean;
|
|
16
|
+
lineAbove: boolean;
|
|
17
|
+
checkDigit: boolean;
|
|
18
|
+
mode: BarcodeMode;
|
|
19
|
+
}
|
|
20
|
+
export interface Barcode128WithData extends Omit<Barcode128, "_kind"> {
|
|
21
|
+
_kind: "Barcode128WithData";
|
|
22
|
+
reversePrint: ReversePrint;
|
|
23
|
+
width: number;
|
|
24
|
+
position: LabelPosition;
|
|
25
|
+
data: string;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=barcode_128.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"barcode_128.d.ts","sourceRoot":"","sources":["../../src/elements/barcode_128.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD,eAAO,MAAM,WAAW;;;;;CAKd,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;AAEzE,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,YAAY,CAAC;IACpB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IAKnB,UAAU,EAAE,OAAO,CAAC;IACpB,IAAI,EAAE,WAAW,CAAC;CACnB;AAED,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC;IACnE,KAAK,EAAE,oBAAoB,CAAC;IAC5B,YAAY,EAAE,YAAY,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,aAAa,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"barcode_128.js","sourceRoot":"","sources":["../../src/elements/barcode_128.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,EAAE,EAAE,CAAC;IACL,GAAG,EAAE,CAAC;IACN,SAAS,EAAE,CAAC;IACZ,GAAG,EAAE,CAAC;CACE,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { FieldOrientation } from "./field_orientation.ts";
|
|
2
|
+
import type { LabelPosition } from "./label_position.ts";
|
|
3
|
+
import type { ReversePrint } from "./reverse_print.ts";
|
|
4
|
+
export interface Barcode2of5 {
|
|
5
|
+
_kind: "Barcode2of5";
|
|
6
|
+
orientation: FieldOrientation;
|
|
7
|
+
height: number;
|
|
8
|
+
line: boolean;
|
|
9
|
+
lineAbove: boolean;
|
|
10
|
+
checkDigit: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface Barcode2of5WithData extends Omit<Barcode2of5, "_kind"> {
|
|
13
|
+
_kind: "Barcode2of5WithData";
|
|
14
|
+
reversePrint: ReversePrint;
|
|
15
|
+
width: number;
|
|
16
|
+
widthRatio: number;
|
|
17
|
+
position: LabelPosition;
|
|
18
|
+
data: string;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=barcode_2of5.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"barcode_2of5.d.ts","sourceRoot":"","sources":["../../src/elements/barcode_2of5.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,aAAa,CAAC;IACrB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC;IACrE,KAAK,EAAE,qBAAqB,CAAC;IAC7B,YAAY,EAAE,YAAY,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,aAAa,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"barcode_2of5.js","sourceRoot":"","sources":["../../src/elements/barcode_2of5.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { FieldOrientation } from "./field_orientation.ts";
|
|
2
|
+
import type { LabelPosition } from "./label_position.ts";
|
|
3
|
+
import type { ReversePrint } from "./reverse_print.ts";
|
|
4
|
+
export interface Barcode39 {
|
|
5
|
+
_kind: "Barcode39";
|
|
6
|
+
orientation: FieldOrientation;
|
|
7
|
+
height: number;
|
|
8
|
+
line: boolean;
|
|
9
|
+
lineAbove: boolean;
|
|
10
|
+
checkDigit: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface Barcode39WithData extends Omit<Barcode39, "_kind"> {
|
|
13
|
+
_kind: "Barcode39WithData";
|
|
14
|
+
reversePrint: ReversePrint;
|
|
15
|
+
width: number;
|
|
16
|
+
widthRatio: number;
|
|
17
|
+
position: LabelPosition;
|
|
18
|
+
data: string;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=barcode_39.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"barcode_39.d.ts","sourceRoot":"","sources":["../../src/elements/barcode_39.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,WAAW,CAAC;IACnB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC;IACjE,KAAK,EAAE,mBAAmB,CAAC;IAC3B,YAAY,EAAE,YAAY,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,aAAa,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"barcode_39.js","sourceRoot":"","sources":["../../src/elements/barcode_39.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { FieldOrientation } from "./field_orientation.ts";
|
|
2
|
+
import type { LabelPosition } from "./label_position.ts";
|
|
3
|
+
import type { ReversePrint } from "./reverse_print.ts";
|
|
4
|
+
export interface BarcodeAztec {
|
|
5
|
+
_kind: "BarcodeAztec";
|
|
6
|
+
orientation: FieldOrientation;
|
|
7
|
+
magnification: number;
|
|
8
|
+
size: number;
|
|
9
|
+
}
|
|
10
|
+
export interface BarcodeAztecWithData extends Omit<BarcodeAztec, "_kind"> {
|
|
11
|
+
_kind: "BarcodeAztecWithData";
|
|
12
|
+
reversePrint: ReversePrint;
|
|
13
|
+
position: LabelPosition;
|
|
14
|
+
data: string;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=barcode_aztec.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"barcode_aztec.d.ts","sourceRoot":"","sources":["../../src/elements/barcode_aztec.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,cAAc,CAAC;IACtB,WAAW,EAAE,gBAAgB,CAAC;IAE9B,aAAa,EAAE,MAAM,CAAC;IAEtB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,YAAY,EAAE,OAAO,CAAC;IACvE,KAAK,EAAE,sBAAsB,CAAC;IAC9B,YAAY,EAAE,YAAY,CAAC;IAC3B,QAAQ,EAAE,aAAa,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"barcode_aztec.js","sourceRoot":"","sources":["../../src/elements/barcode_aztec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { FieldOrientation } from "./field_orientation.ts";
|
|
2
|
+
import type { LabelPosition } from "./label_position.ts";
|
|
3
|
+
import type { ReversePrint } from "./reverse_print.ts";
|
|
4
|
+
export declare const DatamatrixRatio: {
|
|
5
|
+
readonly Square: 1;
|
|
6
|
+
readonly Rectangular: 2;
|
|
7
|
+
};
|
|
8
|
+
export type DatamatrixRatio = (typeof DatamatrixRatio)[keyof typeof DatamatrixRatio];
|
|
9
|
+
export interface BarcodeDatamatrix {
|
|
10
|
+
_kind: "BarcodeDatamatrix";
|
|
11
|
+
orientation: FieldOrientation;
|
|
12
|
+
height: number;
|
|
13
|
+
quality: number;
|
|
14
|
+
columns: number;
|
|
15
|
+
rows: number;
|
|
16
|
+
format: number;
|
|
17
|
+
escape: number;
|
|
18
|
+
ratio: DatamatrixRatio;
|
|
19
|
+
}
|
|
20
|
+
export interface BarcodeDatamatrixWithData extends Omit<BarcodeDatamatrix, "_kind"> {
|
|
21
|
+
_kind: "BarcodeDatamatrixWithData";
|
|
22
|
+
reversePrint: ReversePrint;
|
|
23
|
+
position: LabelPosition;
|
|
24
|
+
data: string;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=barcode_datamatrix.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"barcode_datamatrix.d.ts","sourceRoot":"","sources":["../../src/elements/barcode_datamatrix.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD,eAAO,MAAM,eAAe;;;CAGlB,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAErF,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,mBAAmB,CAAC;IAC3B,WAAW,EAAE,gBAAgB,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC;IAEf,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IAEb,MAAM,EAAE,MAAM,CAAC;IAEf,MAAM,EAAE,MAAM,CAAC;IAEf,KAAK,EAAE,eAAe,CAAC;CACxB;AAED,MAAM,WAAW,yBAA0B,SAAQ,IAAI,CAAC,iBAAiB,EAAE,OAAO,CAAC;IACjF,KAAK,EAAE,2BAA2B,CAAC;IACnC,YAAY,EAAE,YAAY,CAAC;IAC3B,QAAQ,EAAE,aAAa,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"barcode_datamatrix.js","sourceRoot":"","sources":["../../src/elements/barcode_datamatrix.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,MAAM,EAAE,CAAC;IACT,WAAW,EAAE,CAAC;CACN,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { FieldOrientation } from "./field_orientation.ts";
|
|
2
|
+
import type { LabelPosition } from "./label_position.ts";
|
|
3
|
+
import type { ReversePrint } from "./reverse_print.ts";
|
|
4
|
+
export interface BarcodeEan13 {
|
|
5
|
+
_kind: "BarcodeEan13";
|
|
6
|
+
orientation: FieldOrientation;
|
|
7
|
+
height: number;
|
|
8
|
+
line: boolean;
|
|
9
|
+
lineAbove: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface BarcodeEan13WithData extends Omit<BarcodeEan13, "_kind"> {
|
|
12
|
+
_kind: "BarcodeEan13WithData";
|
|
13
|
+
reversePrint: ReversePrint;
|
|
14
|
+
width: number;
|
|
15
|
+
position: LabelPosition;
|
|
16
|
+
data: string;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=barcode_ean13.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"barcode_ean13.d.ts","sourceRoot":"","sources":["../../src/elements/barcode_ean13.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,cAAc,CAAC;IACtB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,YAAY,EAAE,OAAO,CAAC;IACvE,KAAK,EAAE,sBAAsB,CAAC;IAC9B,YAAY,EAAE,YAAY,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,aAAa,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"barcode_ean13.js","sourceRoot":"","sources":["../../src/elements/barcode_ean13.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"barcode_info.d.ts","sourceRoot":"","sources":["../../src/elements/barcode_info.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IAKf,UAAU,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"barcode_info.js","sourceRoot":"","sources":["../../src/elements/barcode_info.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { FieldOrientation } from "./field_orientation.ts";
|
|
2
|
+
import type { LabelPosition } from "./label_position.ts";
|
|
3
|
+
import type { ReversePrint } from "./reverse_print.ts";
|
|
4
|
+
export interface BarcodePdf417 {
|
|
5
|
+
_kind: "BarcodePdf417";
|
|
6
|
+
orientation: FieldOrientation;
|
|
7
|
+
rowHeight: number;
|
|
8
|
+
security: number;
|
|
9
|
+
columns: number;
|
|
10
|
+
rows: number;
|
|
11
|
+
truncate: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface BarcodePdf417WithData extends Omit<BarcodePdf417, "_kind"> {
|
|
14
|
+
_kind: "BarcodePdf417WithData";
|
|
15
|
+
reversePrint: ReversePrint;
|
|
16
|
+
position: LabelPosition;
|
|
17
|
+
data: string;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=barcode_pdf417.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"barcode_pdf417.d.ts","sourceRoot":"","sources":["../../src/elements/barcode_pdf417.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,eAAe,CAAC;IACvB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,qBAAsB,SAAQ,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC;IACzE,KAAK,EAAE,uBAAuB,CAAC;IAC/B,YAAY,EAAE,YAAY,CAAC;IAC3B,QAAQ,EAAE,aAAa,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"barcode_pdf417.js","sourceRoot":"","sources":["../../src/elements/barcode_pdf417.ts"],"names":[],"mappings":""}
|