shareneus 1.6.0 → 1.6.2
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.
|
@@ -320,8 +320,7 @@ function buildBarcodeStack(code) {
|
|
|
320
320
|
return [
|
|
321
321
|
{
|
|
322
322
|
svg,
|
|
323
|
-
width:
|
|
324
|
-
fontSize: 8,
|
|
323
|
+
width: 72,
|
|
325
324
|
alignment: 'center',
|
|
326
325
|
margin: [0, 0, 0, 0]
|
|
327
326
|
}
|
|
@@ -448,13 +447,13 @@ function textToSvgBarcode(text) {
|
|
|
448
447
|
const svgElement = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
449
448
|
(0, jsbarcode_1.default)(svgElement, text, {
|
|
450
449
|
format: "CODE128",
|
|
451
|
-
width:
|
|
452
|
-
height:
|
|
450
|
+
width: 0.6,
|
|
451
|
+
height: 12,
|
|
453
452
|
margin: 0,
|
|
454
453
|
marginTop: 0,
|
|
455
454
|
displayValue: true,
|
|
456
|
-
fontSize:
|
|
457
|
-
textMargin:
|
|
455
|
+
fontSize: 5,
|
|
456
|
+
textMargin: 0,
|
|
458
457
|
fontOptions: 'bold'
|
|
459
458
|
});
|
|
460
459
|
return svgElement.outerHTML;
|