Comparing version 1.0.6 to 1.0.7
@@ -8,5 +8,8 @@ "use strict"; | ||
}; | ||
var __metadata = (this && this.__metadata) || function (k, v) { | ||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var core_1 = require("@angular/core"); | ||
var common_1 = require("@angular/common"); | ||
var platform_browser_1 = require("@angular/platform-browser"); | ||
var QRCodeComponent = (function () { | ||
@@ -28,6 +31,8 @@ function QRCodeComponent(sanitizer) { | ||
__decorate([ | ||
core_1.Input() | ||
core_1.Input(), | ||
__metadata("design:type", String) | ||
], QRCodeComponent.prototype, "data", void 0); | ||
__decorate([ | ||
core_1.Input() | ||
core_1.Input(), | ||
__metadata("design:type", Number) | ||
], QRCodeComponent.prototype, "size", void 0); | ||
@@ -38,3 +43,4 @@ QRCodeComponent = __decorate([ | ||
template: "\n <img [src]=\"src\" [alt]=\"data\" width=\"{{size}}px\" height=\"{{size}}px\">\n " | ||
}) | ||
}), | ||
__metadata("design:paramtypes", [platform_browser_1.DomSanitizer]) | ||
], QRCodeComponent); | ||
@@ -49,3 +55,3 @@ exports.QRCodeComponent = QRCodeComponent; | ||
core_1.NgModule({ | ||
imports: [common_1.CommonModule], | ||
imports: [platform_browser_1.BrowserModule], | ||
declarations: [QRCodeComponent] | ||
@@ -52,0 +58,0 @@ }) |
{ | ||
"name": "ng-qrcode", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "Simple and AOT compatible QR code generator for your Angular project.", | ||
@@ -5,0 +5,0 @@ "main": "ng-qrcode.js", |
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
5244
69