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

ngx-kjua

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-kjua - npm Package Compare versions

Comparing version 1.4.1 to 1.5.0

2

app/modules/ngx-kjua/ngx-kjua.component.d.ts

@@ -5,3 +5,3 @@ import { OnChanges, OnInit, SimpleChanges } from "@angular/core";

/**
* render method: "canvas" or "image"
* render method: "canvas" or "image" or "svg"
*/

@@ -8,0 +8,0 @@ render: string;

@@ -42,3 +42,3 @@ (function (global, factory) {

/**
* render method: "canvas" or "image"
* render method: "canvas" or "image" or "svg"
*/

@@ -112,3 +112,3 @@ this.render = "image";

else if (!kjua) {
kjua = require("kjua");
kjua = require("kjua-svg");
}

@@ -115,0 +115,0 @@ }

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/common")):"function"==typeof define&&define.amd?define("ngx-kjua",["exports","@angular/core","@angular/common"],t):t((e=e||self)["ngx-kjua"]={},e.ng.core,e.ng.common)}(this,function(e,t,n){"use strict";function i(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var p=e.length-1;p>=0;p--)(o=e[p])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}function o(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}var r,s=function(){function e(e){this.platformId=e,this.render="image",this.crisp=!0,this.minVersion=1,this.ecLevel="L",this.size=200,this.ratio=undefined,this.fill="#333",this.back="#fff",this.text="",this.rounded=0,this.quiet=0,this.mode="plain",this.mSize=30,this.mPosX=50,this.mPosY=50,this.label="",this.fontname="sans-serif",this.fontcolor="#333",this.image=undefined,this.renderAsync=!1,n.isPlatformServer(this.platformId)||r||(r=require("kjua"))}var s,p;return e.prototype.ngOnInit=function(){this.updateView()},e.prototype.ngOnChanges=function(e){this.updateView()},Object.defineProperty(e.prototype,"template",{get:function(){var e={render:this.render,crisp:this.crisp,minVersion:this.minVersion,ecLevel:this.ecLevel,size:this.size,ratio:this.ratio,fill:this.fill,back:this.back,text:this.text,rounded:this.rounded,quiet:this.quiet,mode:this.mode,mSize:this.mSize,mPosX:this.mPosX,mPosY:this.mPosY,label:this.label,fontname:this.fontname,fontcolor:this.fontcolor,image:this.image};return console.debug("kjua settings used:",e),r(e)},enumerable:!0,configurable:!0}),e.prototype.renderCode=function(){"image"===this.render?this.div.nativeElement.innerHTML=this.template.outerHTML:(this.div.nativeElement.innerHTML="",this.div.nativeElement.appendChild(this.template))},e.prototype.updateView=function(){var e=this;this.div.nativeElement.style.width=+this.size,this.div.nativeElement.style.height=+this.size,this.renderAsync?requestAnimationFrame(function(){return e.renderCode()}):this.renderCode()},i([t.Input(),o("design:type",Object)],e.prototype,"render",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"crisp",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"minVersion",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"ecLevel",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"size",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"ratio",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"fill",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"back",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"text",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"rounded",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"quiet",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"mode",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"mSize",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"mPosX",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"mPosY",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"label",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"fontname",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"fontcolor",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"image",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"renderAsync",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"cssClass",void 0),i([t.ViewChild("elem"),o("design:type",Object)],e.prototype,"div",void 0),e=i([t.Component({selector:"ngx-kjua",template:'\n <div [class]="cssClass" #elem></div>',changeDetection:t.ChangeDetectionStrategy.OnPush,styles:["\n :host {\n display: block;\n }\n "]}),(s=0,p=t.Inject(t.PLATFORM_ID),function(e,t){p(e,t,s)}),o("design:paramtypes",[Object])],e)}(),p=function(){function e(){}return e=i([t.NgModule({imports:[n.CommonModule],declarations:[s],exports:[s]})],e)}(),d=function(){function e(){}return e.makeSMS=function(e,t){return t?t.length>160?"SMSTO:"+e+":"+t.substr(0,160):"SMSTO:"+e+":"+t:"SMSTO:"+e},e.makeCall=function(e){return"tel:"+e},e.makeGeo=function(e,t,n){return void 0===n&&(n=400),"geo:"+e+","+t+","+n},e.makeEvent=function(e,t,n){return"BEGIN:VEVENT\nSUMMARY:"+e+"\nDTSTART:"+t+"\nDTEND:"+n+"\nEND:VEVENT"},e.makeEmail=function(e,t,n){var i="MATMSG:TO:"+e+";";return t&&(i+="SUB:"+t),i+=";",n&&(i+="BODY:"+n),i+=";;"},e.makeWifi=function(e,t,n){void 0===n&&(n=!1);var i="WIFI:"+(t?"T:WPA":"T:nopass")+";S:"+e+";";return t&&(i+="P:"+t),i+=";",n&&(i+="H:true"),i+=";"},e.makeContactMeCard=function(e,t,n,i,o){var r="MECARD:N:"+e+";";if(n&&(r+="ADR:"+n+";"),t&&t.length>0)for(var s=0;s<t.length;s++)r+="TEL:"+t[s]+";";return i&&(r+="EMAIL:"+i+";"),o&&(r+="URL:"+o+";"),r+=";"},e}();e.NgxKjuaModule=p,e.QrCodeHelper=d,e.ɵa=s,Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/common")):"function"==typeof define&&define.amd?define("ngx-kjua",["exports","@angular/core","@angular/common"],t):t((e=e||self)["ngx-kjua"]={},e.ng.core,e.ng.common)}(this,function(e,t,n){"use strict";function i(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var p=e.length-1;p>=0;p--)(o=e[p])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}function o(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}var r,s=function(){function e(e){this.platformId=e,this.render="image",this.crisp=!0,this.minVersion=1,this.ecLevel="L",this.size=200,this.ratio=undefined,this.fill="#333",this.back="#fff",this.text="",this.rounded=0,this.quiet=0,this.mode="plain",this.mSize=30,this.mPosX=50,this.mPosY=50,this.label="",this.fontname="sans-serif",this.fontcolor="#333",this.image=undefined,this.renderAsync=!1,n.isPlatformServer(this.platformId)||r||(r=require("kjua-svg"))}var s,p;return e.prototype.ngOnInit=function(){this.updateView()},e.prototype.ngOnChanges=function(e){this.updateView()},Object.defineProperty(e.prototype,"template",{get:function(){var e={render:this.render,crisp:this.crisp,minVersion:this.minVersion,ecLevel:this.ecLevel,size:this.size,ratio:this.ratio,fill:this.fill,back:this.back,text:this.text,rounded:this.rounded,quiet:this.quiet,mode:this.mode,mSize:this.mSize,mPosX:this.mPosX,mPosY:this.mPosY,label:this.label,fontname:this.fontname,fontcolor:this.fontcolor,image:this.image};return console.debug("kjua settings used:",e),r(e)},enumerable:!0,configurable:!0}),e.prototype.renderCode=function(){"image"===this.render?this.div.nativeElement.innerHTML=this.template.outerHTML:(this.div.nativeElement.innerHTML="",this.div.nativeElement.appendChild(this.template))},e.prototype.updateView=function(){var e=this;this.div.nativeElement.style.width=+this.size,this.div.nativeElement.style.height=+this.size,this.renderAsync?requestAnimationFrame(function(){return e.renderCode()}):this.renderCode()},i([t.Input(),o("design:type",Object)],e.prototype,"render",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"crisp",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"minVersion",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"ecLevel",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"size",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"ratio",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"fill",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"back",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"text",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"rounded",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"quiet",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"mode",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"mSize",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"mPosX",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"mPosY",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"label",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"fontname",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"fontcolor",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"image",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"renderAsync",void 0),i([t.Input(),o("design:type",Object)],e.prototype,"cssClass",void 0),i([t.ViewChild("elem"),o("design:type",Object)],e.prototype,"div",void 0),e=i([t.Component({selector:"ngx-kjua",template:'\n <div [class]="cssClass" #elem></div>',changeDetection:t.ChangeDetectionStrategy.OnPush,styles:["\n :host {\n display: block;\n }\n "]}),(s=0,p=t.Inject(t.PLATFORM_ID),function(e,t){p(e,t,s)}),o("design:paramtypes",[Object])],e)}(),p=function(){function e(){}return e=i([t.NgModule({imports:[n.CommonModule],declarations:[s],exports:[s]})],e)}(),d=function(){function e(){}return e.makeSMS=function(e,t){return t?t.length>160?"SMSTO:"+e+":"+t.substr(0,160):"SMSTO:"+e+":"+t:"SMSTO:"+e},e.makeCall=function(e){return"tel:"+e},e.makeGeo=function(e,t,n){return void 0===n&&(n=400),"geo:"+e+","+t+","+n},e.makeEvent=function(e,t,n){return"BEGIN:VEVENT\nSUMMARY:"+e+"\nDTSTART:"+t+"\nDTEND:"+n+"\nEND:VEVENT"},e.makeEmail=function(e,t,n){var i="MATMSG:TO:"+e+";";return t&&(i+="SUB:"+t),i+=";",n&&(i+="BODY:"+n),i+=";;"},e.makeWifi=function(e,t,n){void 0===n&&(n=!1);var i="WIFI:"+(t?"T:WPA":"T:nopass")+";S:"+e+";";return t&&(i+="P:"+t),i+=";",n&&(i+="H:true"),i+=";"},e.makeContactMeCard=function(e,t,n,i,o){var r="MECARD:N:"+e+";";if(n&&(r+="ADR:"+n+";"),t&&t.length>0)for(var s=0;s<t.length;s++)r+="TEL:"+t[s]+";";return i&&(r+="EMAIL:"+i+";"),o&&(r+="URL:"+o+";"),r+=";"},e}();e.NgxKjuaModule=p,e.QrCodeHelper=d,e.ɵa=s,Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=ngx-kjua.umd.min.js.map

@@ -9,3 +9,3 @@ import * as tslib_1 from "tslib";

/**
* render method: "canvas" or "image"
* render method: "canvas" or "image" or "svg"
*/

@@ -79,3 +79,3 @@ this.render = "image";

else if (!kjua) {
kjua = require("kjua");
kjua = require("kjua-svg");
}

@@ -238,2 +238,2 @@ }

export { NgxKjuaComponent };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWtqdWEuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWtqdWEvIiwic291cmNlcyI6WyJhcHAvbW9kdWxlcy9uZ3gta2p1YS9uZ3gta2p1YS5jb21wb25lbnQudHMiXSwibmFtZXMiOltd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dEFuaW1hdGlvbkZyYW1lKCgpID0+IHRoaXMucmVuZGVyQ29kZSgpKTtcclxuICAgIH0gZWxzZSB7XHJcbiAgICAgIHRoaXMucmVuZGVyQ29kZSgpO1xyXG4gICAgfVxyXG4gIH1cclxufVxyXG4iXX0=

@@ -9,3 +9,3 @@ import * as tslib_1 from "tslib";

/**
* render method: "canvas" or "image"
* render method: "canvas" or "image" or "svg"
*/

@@ -79,3 +79,3 @@ this.render = "image";

else if (!kjua) {
kjua = require("kjua");
kjua = require("kjua-svg");
}

@@ -239,2 +239,2 @@ }

export { NgxKjuaComponent };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWtqdWEuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWtqdWEvIiwic291cmNlcyI6WyJhcHAvbW9kdWxlcy9uZ3gta2p1YS9uZ3gta2p1YS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBcUIsV0FBVyxFQUFpQixTQUFTLEdBQUUsTUFBTSxlQUFlLENBQUM7QUFFM0ksT0FBTyxFQUFDLGdCQUFnQixFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFLakQsSUFBSSxJQUFTLENBQUM7QUFhZDtJQWtIRSwwQkFDK0IsVUFBa0I7UUFBbEIsZUFBVSxHQUFWLFVBQVUsQ0FBUTtRQWpIakQ7O1dBRUc7UUFFSCxXQUFNLEdBQUcsT0FBTyxDQUFDO1FBRWpCOztXQUVHO1FBRUgsVUFBSyxHQUFHLElBQUksQ0FBQztRQUViOztXQUVHO1FBRUgsZUFBVSxHQUFHLENBQUMsQ0FBQztRQUVmOztXQUVHO1FBRUgsWUFBTyxHQUFHLEdBQUcsQ0FBQztRQUVkOztXQUVHO1FBRUgsU0FBSSxHQUFHLEdBQUcs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zZXR0aW5ncyB1c2VkOlwiLCBzZXR0aW5ncyk7XHJcbiAgICByZXR1cm4ga2p1YShzZXR0aW5ncyk7XHJcbiAgfVxyXG5cclxuICByZW5kZXJDb2RlKCkge1xyXG4gICAgaWYgKHRoaXMucmVuZGVyID09PSBcImltYWdlXCIpIHtcclxuICAgICAgdGhpcy5kaXYubmF0aXZlRWxlbWVudC5pbm5lckhUTUwgPSB0aGlzLnRlbXBsYXRlLm91dGVySFRNTDtcclxuICAgIH0gZWxzZSB7XHJcbiAgICAgIHRoaXMuZGl2Lm5hdGl2ZUVsZW1lbnQuaW5uZXJIVE1MID0gXCJcIjtcclxuICAgICAgdGhpcy5kaXYubmF0aXZlRWxlbWVudC5hcHBlbmRDaGlsZCh0aGlzLnRlbXBsYXRlKTtcclxuICAgIH1cclxuICB9XHJcblxyXG4gIHVwZGF0ZVZpZXcoKSB7XHJcbiAgICB0aGlzLmRpdi5uYXRpdmVFbGVtZW50LnN0eWxlLndpZHRoID0gK3RoaXMuc2l6ZTtcclxuICAgIHRoaXMuZGl2Lm5hdGl2ZUVsZW1lbnQuc3R5bGUuaGVpZ2h0ID0gK3RoaXMuc2l6ZTtcclxuICAgIGlmICh0aGlzLnJlbmRlckFzeW5jKSB7XHJcbiAgICAgIHJlcXVlc3RBbmltYXRpb25GcmFtZSgoKSA9PiB0aGlzLnJlbmRlckNvZGUoKSk7XHJcbiAgICB9IGVsc2Uge1xyXG4gICAgICB0aGlzLnJlbmRlckNvZGUoKTtcclxuICAgIH1cclxuICB9XHJcbn1cclxuIl19

@@ -10,3 +10,3 @@ import { __decorate, __metadata, __param } from 'tslib';

/**
* render method: "canvas" or "image"
* render method: "canvas" or "image" or "svg"
*/

@@ -80,3 +80,3 @@ this.render = "image";

else if (!kjua) {
kjua = require("kjua");
kjua = require("kjua-svg");
}

@@ -83,0 +83,0 @@ }

@@ -10,3 +10,3 @@ import { __decorate, __metadata, __param } from 'tslib';

/**
* render method: "canvas" or "image"
* render method: "canvas" or "image" or "svg"
*/

@@ -80,3 +80,3 @@ this.render = "image";

else if (!kjua) {
kjua = require("kjua");
kjua = require("kjua-svg");
}

@@ -83,0 +83,0 @@ }

{
"name": "ngx-kjua",
"description": "Angular QR-Code generator component.",
"version": "1.4.1",
"version": "1.5.0",
"license": "MIT",

@@ -21,3 +21,4 @@ "private": false,

"qr-code",
"qr"
"qr",
"svg"
],

@@ -28,3 +29,3 @@ "bugs": {

"dependencies": {
"kjua": "^0.6.0",
"kjua-svg": "^1.6.0",
"tslib": "^1.9.0"

@@ -31,0 +32,0 @@ },

@@ -78,3 +78,3 @@ [![NPM version](https://img.shields.io/npm/v/ngx-kjua.svg?&label=npm)](https://www.npmjs.com/package/ngx-kjua)

[renderAsync]="false"
[render]="'image'"
[render]="'svg'"
[crisp]="true"

@@ -103,3 +103,4 @@ [minVersion]="1"

* `renderAsync` weather or not rendering is done inside "requestAnimationFrame"-call (defaults to `false`, use true if you want to generate more than one code (e.g. batch))
* `render` render pixel-perfect lines (defaults to `true`)
* `render` render-mode: 'image', 'canvas', 'svg' (defaults to `image`)
* `crisp` render pixel-perfect lines (defaults to `true`)
* `minVersion` minimum version: 1..40(defaults to `1`)

@@ -106,0 +107,0 @@ * `ecLevel` error correction level: 'L', 'M', 'Q' or 'H' (defaults to `L`)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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