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.5.0 to 1.5.1

LICENSE

4

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

@@ -66,2 +66,6 @@ import { OnChanges, OnInit, SimpleChanges } from "@angular/core";

/**
* draw the image as part of the code
*/
imageAsCode: boolean;
/**
* If true, rendering is done inside "requestAnimationFrame"-call.

@@ -68,0 +72,0 @@ * Use this if you want to generate more than one code (e.g. batch)

15

bundles/ngx-kjua.umd.js

@@ -103,2 +103,6 @@ (function (global, factory) {

/**
* draw the image as part of the code
*/
this.imageAsCode = false;
/**
* If true, rendering is done inside "requestAnimationFrame"-call.

@@ -142,3 +146,4 @@ * Use this if you want to generate more than one code (e.g. batch)

fontcolor: this.fontcolor,
image: this.image
image: this.image,
imageAsCode: this.imageAsCode
};

@@ -250,2 +255,6 @@ console.debug("kjua settings used:", settings);

__metadata("design:type", Object)
], NgxKjuaComponent.prototype, "imageAsCode", void 0);
__decorate([
core.Input(),
__metadata("design:type", Object)
], NgxKjuaComponent.prototype, "renderAsync", void 0);

@@ -263,5 +272,5 @@ __decorate([

selector: "ngx-kjua",
template: "\n <div [class]=\"cssClass\" #elem></div>",
template: "\n <div [class]=\"cssClass\" #elem></div>",
changeDetection: core.ChangeDetectionStrategy.OnPush,
styles: ["\n :host {\n display: block;\n }\n "]
styles: ["\n :host {\n display: block;\n }\n "]
}),

@@ -268,0 +277,0 @@ __param(0, core.Inject(core.PLATFORM_ID)),

@@ -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-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})});
!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,i){"use strict";function n(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var p=e.length-1;p>=0;p--)(o=e[p])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,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.imageAsCode=!1,this.renderAsync=!1,i.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,imageAsCode:this.imageAsCode};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()},n([t.Input(),o("design:type",Object)],e.prototype,"render",void 0),n([t.Input(),o("design:type",Object)],e.prototype,"crisp",void 0),n([t.Input(),o("design:type",Object)],e.prototype,"minVersion",void 0),n([t.Input(),o("design:type",Object)],e.prototype,"ecLevel",void 0),n([t.Input(),o("design:type",Object)],e.prototype,"size",void 0),n([t.Input(),o("design:type",Object)],e.prototype,"ratio",void 0),n([t.Input(),o("design:type",Object)],e.prototype,"fill",void 0),n([t.Input(),o("design:type",Object)],e.prototype,"back",void 0),n([t.Input(),o("design:type",Object)],e.prototype,"text",void 0),n([t.Input(),o("design:type",Object)],e.prototype,"rounded",void 0),n([t.Input(),o("design:type",Object)],e.prototype,"quiet",void 0),n([t.Input(),o("design:type",Object)],e.prototype,"mode",void 0),n([t.Input(),o("design:type",Object)],e.prototype,"mSize",void 0),n([t.Input(),o("design:type",Object)],e.prototype,"mPosX",void 0),n([t.Input(),o("design:type",Object)],e.prototype,"mPosY",void 0),n([t.Input(),o("design:type",Object)],e.prototype,"label",void 0),n([t.Input(),o("design:type",Object)],e.prototype,"fontname",void 0),n([t.Input(),o("design:type",Object)],e.prototype,"fontcolor",void 0),n([t.Input(),o("design:type",Object)],e.prototype,"image",void 0),n([t.Input(),o("design:type",Object)],e.prototype,"imageAsCode",void 0),n([t.Input(),o("design:type",Object)],e.prototype,"renderAsync",void 0),n([t.Input(),o("design:type",Object)],e.prototype,"cssClass",void 0),n([t.ViewChild("elem"),o("design:type",Object)],e.prototype,"div",void 0),e=n([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=n([t.NgModule({imports:[i.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,i){return void 0===i&&(i=400),"geo:"+e+","+t+","+i},e.makeEvent=function(e,t,i){return"BEGIN:VEVENT\nSUMMARY:"+e+"\nDTSTART:"+t+"\nDTEND:"+i+"\nEND:VEVENT"},e.makeEmail=function(e,t,i){var n="MATMSG:TO:"+e+";";return t&&(n+="SUB:"+t),n+=";",i&&(n+="BODY:"+i),n+=";;"},e.makeWifi=function(e,t,i){void 0===i&&(i=!1);var n="WIFI:"+(t?"T:WPA":"T:nopass")+";S:"+e+";";return t&&(n+="P:"+t),n+=";",i&&(n+="H:true"),n+=";"},e.makeContactMeCard=function(e,t,i,n,o){var r="MECARD:N:"+e+";";if(i&&(r+="ADR:"+i+";"),t&&t.length>0)for(var s=0;s<t.length;s++)r+="TEL:"+t[s]+";";return n&&(r+="EMAIL:"+n+";"),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

@@ -70,2 +70,6 @@ import * as tslib_1 from "tslib";

/**
* draw the image as part of the code
*/
this.imageAsCode = false;
/**
* If true, rendering is done inside "requestAnimationFrame"-call.

@@ -108,3 +112,4 @@ * Use this if you want to generate more than one code (e.g. batch)

fontcolor: this.fontcolor,
image: this.image
image: this.image,
imageAsCode: this.imageAsCode
};

@@ -213,2 +218,6 @@ console.debug("kjua settings used:", settings);

tslib_1.__metadata("design:type", Object)
], NgxKjuaComponent.prototype, "imageAsCode", void 0);
tslib_1.__decorate([
Input(),
tslib_1.__metadata("design:type", Object)
], NgxKjuaComponent.prototype, "renderAsync", void 0);

@@ -227,8 +236,8 @@ tslib_1.__decorate([

template: `
<div [class]="cssClass" #elem></div>`,
<div [class]="cssClass" #elem></div>`,
changeDetection: ChangeDetectionStrategy.OnPush,
styles: [`
:host {
display: block;
}
:host {
display: block;
}
`]

@@ -240,2 +249,2 @@ }),

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

@@ -70,2 +70,6 @@ import * as tslib_1 from "tslib";

/**
* draw the image as part of the code
*/
this.imageAsCode = false;
/**
* If true, rendering is done inside "requestAnimationFrame"-call.

@@ -109,3 +113,4 @@ * Use this if you want to generate more than one code (e.g. batch)

fontcolor: this.fontcolor,
image: this.image
image: this.image,
imageAsCode: this.imageAsCode
};

@@ -217,2 +222,6 @@ console.debug("kjua settings used:", settings);

tslib_1.__metadata("design:type", Object)
], NgxKjuaComponent.prototype, "imageAsCode", void 0);
tslib_1.__decorate([
Input(),
tslib_1.__metadata("design:type", Object)
], NgxKjuaComponent.prototype, "renderAsync", void 0);

@@ -230,5 +239,5 @@ tslib_1.__decorate([

selector: "ngx-kjua",
template: "\n <div [class]=\"cssClass\" #elem></div>",
template: "\n <div [class]=\"cssClass\" #elem></div>",
changeDetection: ChangeDetectionStrategy.OnPush,
styles: ["\n :host {\n display: block;\n }\n "]
styles: ["\n :host {\n display: block;\n }\n "]
}),

@@ -241,2 +250,2 @@ tslib_1.__param(0, Inject(PLATFORM_ID)),

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

@@ -71,2 +71,6 @@ import { __decorate, __metadata, __param } from 'tslib';

/**
* draw the image as part of the code
*/
this.imageAsCode = false;
/**
* If true, rendering is done inside "requestAnimationFrame"-call.

@@ -109,3 +113,4 @@ * Use this if you want to generate more than one code (e.g. batch)

fontcolor: this.fontcolor,
image: this.image
image: this.image,
imageAsCode: this.imageAsCode
};

@@ -214,2 +219,6 @@ console.debug("kjua settings used:", settings);

__metadata("design:type", Object)
], NgxKjuaComponent.prototype, "imageAsCode", void 0);
__decorate([
Input(),
__metadata("design:type", Object)
], NgxKjuaComponent.prototype, "renderAsync", void 0);

@@ -228,8 +237,8 @@ __decorate([

template: `
<div [class]="cssClass" #elem></div>`,
<div [class]="cssClass" #elem></div>`,
changeDetection: ChangeDetectionStrategy.OnPush,
styles: [`
:host {
display: block;
}
:host {
display: block;
}
`]

@@ -236,0 +245,0 @@ }),

@@ -71,2 +71,6 @@ import { __decorate, __metadata, __param } from 'tslib';

/**
* draw the image as part of the code
*/
this.imageAsCode = false;
/**
* If true, rendering is done inside "requestAnimationFrame"-call.

@@ -110,3 +114,4 @@ * Use this if you want to generate more than one code (e.g. batch)

fontcolor: this.fontcolor,
image: this.image
image: this.image,
imageAsCode: this.imageAsCode
};

@@ -218,2 +223,6 @@ console.debug("kjua settings used:", settings);

__metadata("design:type", Object)
], NgxKjuaComponent.prototype, "imageAsCode", void 0);
__decorate([
Input(),
__metadata("design:type", Object)
], NgxKjuaComponent.prototype, "renderAsync", void 0);

@@ -231,5 +240,5 @@ __decorate([

selector: "ngx-kjua",
template: "\n <div [class]=\"cssClass\" #elem></div>",
template: "\n <div [class]=\"cssClass\" #elem></div>",
changeDetection: ChangeDetectionStrategy.OnPush,
styles: ["\n :host {\n display: block;\n }\n "]
styles: ["\n :host {\n display: block;\n }\n "]
}),

@@ -236,0 +245,0 @@ __param(0, Inject(PLATFORM_ID)),

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

{"__symbolic":"module","version":4,"metadata":{"NgxKjuaModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":6,"character":4}],"declarations":[{"__symbolic":"reference","name":"ɵa"}],"exports":[{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{}},"QrCodeHelper":{"__symbolic":"class","members":{},"statics":{"makeCall":{"__symbolic":"function","parameters":["number"],"value":{"__symbolic":"binop","operator":"+","left":"tel:","right":{"__symbolic":"reference","name":"number"}}},"makeGeo":{"__symbolic":"function","parameters":["lat","lon","meters"],"defaults":[null,null,400],"value":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":"geo:","right":{"__symbolic":"reference","name":"lat"}},"right":","},"right":{"__symbolic":"reference","name":"lon"}},"right":","},"right":{"__symbolic":"reference","name":"meters"}}},"makeEvent":{"__symbolic":"function","parameters":["description","begin","end"],"value":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":"BEGIN:VEVENT\nSUMMARY:","right":{"__symbolic":"reference","name":"description"}},"right":"\nDTSTART:"},"right":{"__symbolic":"reference","name":"begin"}},"right":"\nDTEND:"},"right":{"__symbolic":"reference","name":"end"}},"right":"\nEND:VEVENT"}}}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":9,"character":1},"arguments":[{"selector":"ngx-kjua","template":"\n <div [class]=\"cssClass\" #elem></div>","styles":["\n :host {\n display: block;\n }\n "],"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":18,"character":19},"member":"OnPush"}}]}],"members":{"render":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":3}}]}],"crisp":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":31,"character":3}}]}],"minVersion":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":3}}]}],"ecLevel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":43,"character":3}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":49,"character":3}}]}],"ratio":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":55,"character":3}}]}],"fill":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":61,"character":3}}]}],"back":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":67,"character":3}}]}],"text":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":73,"character":3}}]}],"rounded":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":79,"character":3}}]}],"quiet":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":85,"character":3}}]}],"mode":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":91,"character":3}}]}],"mSize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":97,"character":3}}]}],"mPosX":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":99,"character":3}}]}],"mPosY":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":101,"character":3}}]}],"label":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":107,"character":3}}]}],"fontname":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":109,"character":3}}]}],"fontcolor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":111,"character":3}}]}],"image":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":114,"character":3}}]}],"renderAsync":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":121,"character":3}}]}],"cssClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":128,"character":3}}]}],"div":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":131,"character":3},"arguments":["elem"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":135,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"PLATFORM_ID","line":135,"character":12}]}]],"parameters":[{"__symbolic":"reference","name":"Object"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"renderCode":[{"__symbolic":"method"}],"updateView":[{"__symbolic":"method"}]}}},"origins":{"NgxKjuaModule":"./app/modules/ngx-kjua/ngx-kjua.module","QrCodeHelper":"./app/modules/ngx-kjua/qr-code.helper","ɵa":"./app/modules/ngx-kjua/ngx-kjua.component"},"importAs":"ngx-kjua"}
{"__symbolic":"module","version":4,"metadata":{"NgxKjuaModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":6,"character":4}],"declarations":[{"__symbolic":"reference","name":"ɵa"}],"exports":[{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{}},"QrCodeHelper":{"__symbolic":"class","members":{},"statics":{"makeCall":{"__symbolic":"function","parameters":["number"],"value":{"__symbolic":"binop","operator":"+","left":"tel:","right":{"__symbolic":"reference","name":"number"}}},"makeGeo":{"__symbolic":"function","parameters":["lat","lon","meters"],"defaults":[null,null,400],"value":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":"geo:","right":{"__symbolic":"reference","name":"lat"}},"right":","},"right":{"__symbolic":"reference","name":"lon"}},"right":","},"right":{"__symbolic":"reference","name":"meters"}}},"makeEvent":{"__symbolic":"function","parameters":["description","begin","end"],"value":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":"BEGIN:VEVENT\nSUMMARY:","right":{"__symbolic":"reference","name":"description"}},"right":"\nDTSTART:"},"right":{"__symbolic":"reference","name":"begin"}},"right":"\nDTEND:"},"right":{"__symbolic":"reference","name":"end"}},"right":"\nEND:VEVENT"}}}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":9,"character":1},"arguments":[{"selector":"ngx-kjua","template":"\n <div [class]=\"cssClass\" #elem></div>","styles":["\n :host {\n display: block;\n }\n "],"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":18,"character":19},"member":"OnPush"}}]}],"members":{"render":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":3}}]}],"crisp":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":31,"character":3}}]}],"minVersion":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":3}}]}],"ecLevel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":43,"character":3}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":49,"character":3}}]}],"ratio":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":55,"character":3}}]}],"fill":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":61,"character":3}}]}],"back":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":67,"character":3}}]}],"text":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":73,"character":3}}]}],"rounded":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":79,"character":3}}]}],"quiet":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":85,"character":3}}]}],"mode":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":91,"character":3}}]}],"mSize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":97,"character":3}}]}],"mPosX":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":99,"character":3}}]}],"mPosY":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":101,"character":3}}]}],"label":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":107,"character":3}}]}],"fontname":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":109,"character":3}}]}],"fontcolor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":111,"character":3}}]}],"image":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":114,"character":3}}]}],"imageAsCode":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":120,"character":3}}]}],"renderAsync":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":127,"character":3}}]}],"cssClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":134,"character":3}}]}],"div":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":137,"character":3},"arguments":["elem"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":141,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"PLATFORM_ID","line":141,"character":12}]}]],"parameters":[{"__symbolic":"reference","name":"Object"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"renderCode":[{"__symbolic":"method"}],"updateView":[{"__symbolic":"method"}]}}},"origins":{"NgxKjuaModule":"./app/modules/ngx-kjua/ngx-kjua.module","QrCodeHelper":"./app/modules/ngx-kjua/qr-code.helper","ɵa":"./app/modules/ngx-kjua/ngx-kjua.component"},"importAs":"ngx-kjua"}
{
"name": "ngx-kjua",
"description": "Angular QR-Code generator component.",
"version": "1.5.0",
"version": "1.5.1",
"license": "MIT",

@@ -28,3 +28,3 @@ "private": false,

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

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

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

[image]="undefined"
[imageAsCode]="false"
[cssClass]="'image-auto'"

@@ -101,2 +102,28 @@ ></ngx-kjua>

## Options
### Crisp
As you can set the size of the image, the amount of 'modules' (black/white boxes that make up the QR-code) is calculated based on the size and the amount of `quiet` modules. The calculation can result in an odd number so that a module is e.g. 4.5 pixels big. The resulting image will be drawn fuzzy if `crisp` is set to false. Setting it to `true` will result in 'sharp' lines.
#### crisp false
<img src="https://raw.githubusercontent.com/werthdavid/kjua/master/docs/no-crisp.jpg"/>
#### crisp true
<img src="https://raw.githubusercontent.com/werthdavid/kjua/master/docs/crisp.jpg"/>
### Label
Kjua lets you embed a text or image to the code. This can be set with the setting `mode`.
This can reduce the readability of the code!
### Image
<img src="https://raw.githubusercontent.com/werthdavid/kjua/master/docs/image.png"/>
### Image as Code
<img src="https://raw.githubusercontent.com/werthdavid/kjua/master/docs/image-as-code.png"/>
### All options
* `text` encoded content (defaults to ``)

@@ -120,3 +147,4 @@ * `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))

* `fontcolor` font-color for additional label text (defaults to `#333`)
* `image` additional image (defaults to `undefined`, use an HTMLImageElement)
* `image` additional image (defaults to `undefined`, use an HTMLImageElement or base64-string)
* `imageAsCode` draw the image as part of the code (defaults to `false`)
* `cssClass` additional css-class that will be appended to the div-container that contains the qr-code (defaults to `undefined`)

@@ -123,0 +151,0 @@

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