@syncfusion/ej2-barcode-generator
Advanced tools
Comparing version 26.2.14 to 27.1.48
/*! | ||
* filename: index.d.ts | ||
* version : 26.2.14 | ||
* version : 27.1.48 | ||
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
@@ -5,3 +5,3 @@ { | ||
"_inBundle": false, | ||
"_integrity": "sha512-XKkx+bub8w6EOKQNAYSorfNyXsVbU96fy9Pyrlwgo7pFAnLFP341xcEXWdv0zvP2KjMS0idr/fF0qHl+MiGhWA==", | ||
"_integrity": "sha512-QsdjMrc/NmE2TmamDY2fJ4Ryjcuj2YH4pkjtNCEO9b0pQr4/6VY9avIJq+f8/eDBgMthRg/EEYwzUER3vBhXSA==", | ||
"_location": "/@syncfusion/ej2-barcode-generator", | ||
@@ -27,6 +27,6 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-barcode-generator/-/ej2-barcode-generator-19.4.0.tgz", | ||
"_shasum": "73f3b37e3dd1b28f83ee4dcf60c2a293520bc180", | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-barcode-generator/-/ej2-barcode-generator-19.4.0.tgz", | ||
"_shasum": "e10f9b6711f349be38b113a59eea60503db5064a", | ||
"_spec": "@syncfusion/ej2-barcode-generator@*", | ||
"_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included", | ||
"_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included", | ||
"author": { | ||
@@ -40,4 +40,5 @@ "name": "Syncfusion Inc." | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~26.2.10", | ||
"@syncfusion/ej2-data": "~26.2.14" | ||
"@syncfusion/ej2-base": "~27.1.48", | ||
"@syncfusion/ej2-data": "~27.1.48", | ||
"markdown-spellcheck": "^1.3.1" | ||
}, | ||
@@ -70,4 +71,4 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "26.2.14", | ||
"version": "27.1.48", | ||
"sideEffects": false | ||
} |
@@ -322,2 +322,6 @@ var __extends = (this && this.__extends) || (function () { | ||
_super.prototype.destroy.call(this); | ||
var content = document.getElementById(this.element.id + 'content'); | ||
if (content) { | ||
this.element.removeChild(content); | ||
} | ||
}; | ||
@@ -324,0 +328,0 @@ __decorate([ |
@@ -18,3 +18,3 @@ import { Property, ChildProperty } from '@syncfusion/ej2-base'; | ||
* Depending on the size of the overlay, you might need to raise the errorCorrectionLevel to "High". | ||
* | ||
* | ||
* @default 0 | ||
@@ -27,3 +27,3 @@ */ | ||
* Depending on the size of the overlay, you might need to raise the errorCorrectionLevel to "High". | ||
* | ||
* | ||
* @default 0 | ||
@@ -30,0 +30,0 @@ */ |
import { ChildProperty } from '@syncfusion/ej2-base'; | ||
/** | ||
* Specifies the logo overlay configuration for the QR code. | ||
*/ | ||
*/ | ||
export declare class QRCodeLogo extends ChildProperty<QRCodeLogo> { | ||
@@ -13,7 +13,7 @@ /** | ||
/** | ||
* Sets the width of the logo in pixels. If not specified, the logo's width will default to 30% of the QR code's dimensions. If the specified width exceeds 30% of the QR code's dimensions, the width will be restricted to 30%. | ||
* Depending on the size of the overlay, you might need to raise the errorCorrectionLevel to "High". | ||
* | ||
* @default 0 | ||
*/ | ||
* Sets the width of the logo in pixels. If not specified, the logo's width will default to 30% of the QR code's dimensions. If the specified width exceeds 30% of the QR code's dimensions, the width will be restricted to 30%. | ||
* Depending on the size of the overlay, you might need to raise the errorCorrectionLevel to "High". | ||
* | ||
* @default 0 | ||
*/ | ||
width: number; | ||
@@ -20,0 +20,0 @@ /** |
@@ -23,3 +23,3 @@ var __extends = (this && this.__extends) || (function () { | ||
* Specifies the logo overlay configuration for the QR code. | ||
*/ | ||
*/ | ||
var QRCodeLogo = /** @class */ (function (_super) { | ||
@@ -26,0 +26,0 @@ __extends(QRCodeLogo, _super); |
@@ -48,7 +48,6 @@ import { createHtmlElement } from '../utility/dom-util'; | ||
if (attribute.imageSource) { | ||
// For rendering logo | ||
var image = new Image(); | ||
image.src = attribute.imageSource; | ||
image.onload = function () { | ||
ctx.drawImage(image, attribute.x, attribute.y, attribute.width, attribute.height); | ||
var image_1 = new Image(); | ||
image_1.src = attribute.imageSource; | ||
image_1.onload = function () { | ||
ctx.drawImage(image_1, attribute.x, attribute.y, attribute.width, attribute.height); | ||
}; | ||
@@ -55,0 +54,0 @@ } |
@@ -36,3 +36,3 @@ import { IBarcodeRenderer } from './IRenderer'; | ||
/** | ||
* Draw the image for the barcode.\ | ||
* Draw the image for the barcode. | ||
* | ||
@@ -39,0 +39,0 @@ * @returns {HTMLElement} Draw the barcode SVG . |
@@ -65,3 +65,3 @@ import { createSvgElement } from '../utility/dom-util'; | ||
/** | ||
* Draw the image for the barcode.\ | ||
* Draw the image for the barcode. | ||
* | ||
@@ -68,0 +68,0 @@ * @returns {HTMLElement} Draw the barcode SVG . |
@@ -52,2 +52,6 @@ var __extends = (this && this.__extends) || (function () { | ||
_super.prototype.destroy.call(this); | ||
var content = document.getElementById(this.element.id + 'content'); | ||
if (content) { | ||
this.element.removeChild(content); | ||
} | ||
}; | ||
@@ -54,0 +58,0 @@ DataMatrixGenerator.prototype.initializePrivateVariables = function () { |
@@ -90,5 +90,4 @@ import { MarginModel } from '../barcode/primitives/margin-model'; | ||
/** | ||
* Draw the QR cpde in SVG.\ | ||
* Draw the QR code in SVG. | ||
* | ||
* @returns {boolean} Draw the barcode SVG . | ||
* @param {HTMLElement} char - Provide the char to render . | ||
@@ -102,3 +101,5 @@ * @param {HTMLElement} canvas - Provide the canvas element . | ||
* @param {HTMLElement} foreColor - Provide the color for the barcode to render. | ||
* @private | ||
* @param {HTMLElement} logo - Provide the logo for the QR code. | ||
* @returns {boolean} Draw the barcode SVG . | ||
* @private | ||
*/ | ||
@@ -105,0 +106,0 @@ draw(char: string, canvas: HTMLElement, height: number, width: number, margin?: MarginModel, displayText?: DisplayTextModel, mode?: boolean, foreColor?: string, logo?: QRCodeLogoModel): boolean; |
@@ -17,3 +17,3 @@ import { removeChildElements, refreshCanvasBarcode, exportAsImage } from '../barcode/utility/barcode-util';import { Complex, Property, Component, INotifyPropertyChanged, L10n, Event, EmitType } from '@syncfusion/ej2-base';import { ErrorCorrectionLevel, QRCodeVersion, RenderingMode, BarcodeEvent, BarcodeExportType } from '../barcode/enum/enum';import { DisplayTextModel } from '../barcode/primitives/displaytext-model';import { MarginModel } from '../barcode/primitives/margin-model';import { DisplayText } from '../barcode/primitives/displaytext';import { Margin } from '../barcode/primitives/margin';import { BarcodeRenderer } from '../barcode/rendering/renderer';import { QRCode } from './qr-code-util';import { ValidateEvent } from '../barcode';import { QRCodeLogo } from '../barcode/primitives/icon';import { QRCodeLogoModel } from '../barcode/primitives/icon-model'; | ||
/** | ||
* Specifies the logo overlay configuration for the QR code. | ||
* Specifies the logo overlay configuration for the QR code. | ||
* | ||
@@ -20,0 +20,0 @@ * @default '' |
@@ -150,2 +150,6 @@ var __extends = (this && this.__extends) || (function () { | ||
_super.prototype.destroy.call(this); | ||
var content = document.getElementById(this.element.id + 'content'); | ||
if (content) { | ||
this.element.removeChild(content); | ||
} | ||
}; | ||
@@ -152,0 +156,0 @@ QRCodeGenerator.prototype.initializePrivateVariables = function () { |
Sorry, the diff of this file is too big to display
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
Sorry, the diff of this file is too big to display
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
4412539
262
32693
3
+ Addedmarkdown-spellcheck@^1.3.1
+ Added@syncfusion/ej2-base@27.1.55(transitive)
+ Added@syncfusion/ej2-data@27.1.52(transitive)
+ Added@syncfusion/ej2-icons@27.1.50(transitive)
+ Addedansi-escapes@1.4.0(transitive)
+ Addedansi-regex@2.1.1(transitive)
+ Addedansi-styles@2.2.13.2.1(transitive)
+ Addedargparse@1.0.10(transitive)
+ Addedarray-union@1.0.2(transitive)
+ Addedarray-uniq@1.0.3(transitive)
+ Addedasync@2.6.4(transitive)
+ Addedavailable-typed-arrays@1.0.7(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbrace-expansion@1.1.11(transitive)
+ Addedbuffer-from@1.1.2(transitive)
+ Addedcall-bind@1.0.7(transitive)
+ Addedchalk@1.1.32.4.2(transitive)
+ Addedcli-cursor@1.0.2(transitive)
+ Addedcli-width@2.2.1(transitive)
+ Addedcode-point-at@1.1.0(transitive)
+ Addedcolor-convert@1.9.3(transitive)
+ Addedcolor-name@1.1.3(transitive)
+ Addedcommander@2.20.3(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addedconcat-stream@1.6.2(transitive)
+ Addedcore-util-is@1.0.3(transitive)
+ Addedcreate-thenable@1.0.3(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addedes-define-property@1.0.0(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedesprima@4.0.1(transitive)
+ Addedexit-hook@1.1.1(transitive)
+ Addedextend@3.0.2(transitive)
+ Addedexternal-editor@1.1.1(transitive)
+ Addedfigures@1.7.0(transitive)
+ Addedfor-each@0.3.3(transitive)
+ Addedfor-in@1.0.2(transitive)
+ Addedfor-own@0.1.5(transitive)
+ Addedformatio@1.1.1(transitive)
+ Addedfs.realpath@1.0.0(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-intrinsic@1.2.4(transitive)
+ Addedglob@7.2.3(transitive)
+ Addedglobby@6.1.0(transitive)
+ Addedgopd@1.0.1(transitive)
+ Addedhas-ansi@2.0.0(transitive)
+ Addedhas-flag@3.0.0(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-proto@1.0.3(transitive)
+ Addedhas-symbols@1.0.3(transitive)
+ Addedhas-tostringtag@1.0.2(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedhunspell-spellchecker@1.0.2(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedinquirer@1.2.3(transitive)
+ Addedis-arguments@1.1.1(transitive)
+ Addedis-callable@1.2.7(transitive)
+ Addedis-extendable@0.1.1(transitive)
+ Addedis-fullwidth-code-point@1.0.0(transitive)
+ Addedis-generator-function@1.0.10(transitive)
+ Addedis-typed-array@1.1.13(transitive)
+ Addedisarray@1.0.0(transitive)
+ Addedjs-yaml@3.14.1(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedlolex@1.3.2(transitive)
+ Addedmarkdown-spellcheck@1.3.1(transitive)
+ Addedmarked@0.3.19(transitive)
+ Addedminimatch@3.1.2(transitive)
+ Addedmute-stream@0.0.6(transitive)
+ Addednative-promise-only@0.8.1(transitive)
+ Addednumber-is-nan@1.0.1(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedobject.omit@2.0.1(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedonetime@1.1.0(transitive)
+ Addedos-shim@0.1.3(transitive)
+ Addedos-tmpdir@1.0.2(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedpify@2.3.0(transitive)
+ Addedpinkie@2.0.4(transitive)
+ Addedpinkie-promise@2.0.1(transitive)
+ Addedpossible-typed-array-names@1.0.0(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedreadable-stream@2.3.8(transitive)
+ Addedrestore-cursor@1.0.1(transitive)
+ Addedrun-async@2.4.1(transitive)
+ Addedrx@4.1.0(transitive)
+ Addedsafe-buffer@5.1.2(transitive)
+ Addedsamsam@1.1.2(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedsinon@1.17.7(transitive)
+ Addedsinon-as-promised@4.0.3(transitive)
+ Addedspawn-sync@1.0.15(transitive)
+ Addedsprintf-js@1.0.3(transitive)
+ Addedstring-width@1.0.2(transitive)
+ Addedstring_decoder@1.1.1(transitive)
+ Addedstrip-ansi@3.0.1(transitive)
+ Addedsupports-color@2.0.05.5.0(transitive)
+ Addedthrough@2.3.8(transitive)
+ Addedtmp@0.0.29(transitive)
+ Addedtypedarray@0.0.6(transitive)
+ Addedunique-concat@0.2.2(transitive)
+ Addedutil@0.12.5(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addedwhich-typed-array@1.1.15(transitive)
+ Addedwrappy@1.0.2(transitive)
- Removed@syncfusion/ej2-base@26.2.10(transitive)
- Removed@syncfusion/ej2-data@26.2.14(transitive)
- Removed@syncfusion/ej2-icons@26.2.10(transitive)