@syncfusion/ej2-barcode-generator
Advanced tools
Comparing version 17.4.47 to 17.4.49
@@ -5,2 +5,9 @@ # Changelog | ||
### Barcode | ||
#### Bug Fixes | ||
- `#262067` - The issue "Unable to decode qrcode for some values" has been fixed. | ||
- `#262067` - The issue "DOM ID for the SVG and div element are same" has been fixed. | ||
## 17.4.46 (2020-01-30) | ||
@@ -7,0 +14,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 17.4.47 | ||
* version : 17.4.49 | ||
* Copyright Syncfusion Inc. 2001 - 2019. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-barcode-generator@*", | ||
"_id": "@syncfusion/ej2-barcode-generator@17.4.46", | ||
"_id": "@syncfusion/ej2-barcode-generator@17.4.47", | ||
"_inBundle": false, | ||
"_integrity": "sha512-VKLEE7RjVYEBBQiYvztu573U1A+pErOGNpLRWW/Du0ZuasBP7Xa2ph7Xp32Bd2KzXfusmRThoSDFZ1XFSnZopw==", | ||
"_integrity": "sha512-O3yKHPInaj/rIuQ5pZyN/mIdq/d34f9zmlmSD5bwQqhFGTy9E/DOfA9uMbBj8QA11J0ZO4HZoXWaAiRA6cDgIQ==", | ||
"_location": "/@syncfusion/ej2-barcode-generator", | ||
@@ -26,4 +26,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-barcode-generator/-/ej2-barcode-generator-17.4.46.tgz", | ||
"_shasum": "94f8f9138917ac332dbffc2f2c81a580d8b1f1bf", | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-barcode-generator/-/ej2-barcode-generator-17.4.47.tgz", | ||
"_shasum": "0ff8cb3866b9127e31a299fe32d9ef9e712a37e6", | ||
"_spec": "@syncfusion/ej2-barcode-generator@*", | ||
@@ -64,4 +64,4 @@ "_where": "/jenkins/workspace/ation_hotfix_17.2.0.34_Vol2-DDPJ6C2YEWTWLLKKNA7AG2JBE6DYTCTNGMHGORWGAYAVCL6L7OLQ/packages/included", | ||
"typings": "index.d.ts", | ||
"version": "17.4.47", | ||
"version": "17.4.49", | ||
"sideEffects": false | ||
} |
@@ -99,9 +99,12 @@ var __extends = (this && this.__extends) || (function () { | ||
BarcodeGenerator.prototype.initialize = function () { | ||
//Initialize the height of the barcode generator | ||
//Initialize the height of the barcode generator | ||
this.element.style.height = this.getElementSize(this.height); | ||
//Initialize the width of the barcode generator | ||
//Initialize the width of the barcode generator | ||
this.element.style.width = this.getElementSize(this.width); | ||
var svgMode = this.mode; | ||
this.barcodeCanvas = this.barcodeRenderer.renderRootElement({ id: this.element.id, height: svgMode === 'SVG' ? this.element.offsetHeight : this.element.offsetHeight * 1.5, | ||
width: svgMode === 'SVG' ? this.element.offsetWidth : this.element.offsetWidth * 1.5 }, this.backgroundColor, this.element.offsetWidth, this.element.offsetHeight); | ||
this.barcodeCanvas = this.barcodeRenderer.renderRootElement({ | ||
id: this.element.id + 'content', | ||
height: svgMode === 'SVG' ? this.element.offsetHeight : this.element.offsetHeight * 1.5, | ||
width: svgMode === 'SVG' ? this.element.offsetWidth : this.element.offsetWidth * 1.5 | ||
}, this.backgroundColor, this.element.offsetWidth, this.element.offsetHeight); | ||
this.element.appendChild(this.barcodeCanvas); | ||
@@ -108,0 +111,0 @@ }; |
@@ -86,3 +86,4 @@ var __extends = (this && this.__extends) || (function () { | ||
this.barcodeCanvas = this.barcodeRenderer.renderRootElement({ | ||
id: this.element.id, height: mode === 'SVG' ? this.element.offsetHeight : this.element.offsetHeight * 1.5, | ||
id: this.element.id + 'content', | ||
height: mode === 'SVG' ? this.element.offsetHeight : this.element.offsetHeight * 1.5, | ||
width: mode === 'SVG' ? this.element.offsetWidth : this.element.offsetWidth * 1.5 | ||
@@ -89,0 +90,0 @@ }, this.backgroundColor, this.element.offsetWidth, this.element.offsetHeight); |
@@ -1083,5 +1083,5 @@ import { QRCodeVersion, ErrorCorrectionLevel, QuietZone } from '../barcode/enum/enum'; | ||
} | ||
numberInString = null; | ||
numberInString = ''; | ||
} | ||
if (i !== 1 && numberInString !== null) { | ||
if (i !== 1 && numberInString !== '') { | ||
if (i + 1 === dataStringArray.length && numberInString.length === 1) { | ||
@@ -1088,0 +1088,0 @@ number = this.mQrBarcodeValues.getAlphaNumericValues(dataStringArray[i]); |
@@ -96,3 +96,4 @@ var __extends = (this && this.__extends) || (function () { | ||
this.barcodeCanvas = this.barcodeRenderer.renderRootElement({ | ||
id: this.element.id, height: this.mode === 'SVG' ? this.element.offsetHeight : this.element.offsetHeight * 1.5, | ||
id: this.element.id + 'content', | ||
height: this.mode === 'SVG' ? this.element.offsetHeight : this.element.offsetHeight * 1.5, | ||
width: this.mode === 'SVG' ? this.element.offsetWidth : this.element.offsetWidth * 1.5 | ||
@@ -99,0 +100,0 @@ }, this.backgroundColor, this.element.offsetWidth, this.element.offsetHeight); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3653313
28511
0