Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@syncfusion/ej2-barcode-generator

Package Overview
Dependencies
Maintainers
3
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-barcode-generator - npm Package Compare versions

Comparing version 26.2.14 to 27.1.48

styles/barcode/bootstrap5.3.css

2

dist/global/index.d.ts
/*!
* 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc