Comparing version 0.0.6 to 0.0.7
@@ -113,3 +113,3 @@ "use strict"; | ||
selector: "modal", | ||
template: "\n<div class=\"modal\" \n tabindex=\"-1\"\n role=\"dialog\"\n #modalRoot\n (keydown.esc)=\"closeOnEscape ? close() : 0\"\n [ngClass]=\"{ in: isOpened, fade: isOpened }\"\n [ngStyle]=\"{ display: isOpened ? 'block' : 'none' }\"\n (click)=\"closeOnOutsideClick ? close() : 0\">\n <div [class]=\"'modal-dialog ' + modalClass\" (click)=\"preventClosing($event)\">\n <div class=\"modal-content\" *ngIf=\"isOpened\">\n <div class=\"modal-header\">\n <button *ngIf=\"!hideCloseButton\" type=\"button\" class=\"close\" data-dismiss=\"modal\" [attr.aria-label]=\"cancelButtonLabel || 'Close'\" (click)=\"close()\"><span aria-hidden=\"true\">×</span></button>\n <h4 class=\"modal-title\" *ngIf=\"title\">{{ title }}</h4>\n <ng-content select=\"modal-header\"></ng-content>\n </div>\n <div class=\"modal-body\">\n <ng-content select=\"modal-content\"></ng-content>\n </div>\n <div class=\"modal-footer\">\n <ng-content select=\"modal-footer\"></ng-content>\n <button *ngIf=\"cancelButtonLabel\" type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\" (click)=\"close()\">{{ cancelButtonLabel }}</button>\n <button *ngIf=\"submitButtonLabel\" type=\"button\" class=\"btn btn-primary\" (click)=\"onSubmit.emit(undefined)\">{{ submitButtonLabel }}</button>\n </div>\n </div>\n </div>\n</div>\n" | ||
template: "\n<div class=\"modal\" \n tabindex=\"-1\"\n role=\"dialog\"\n #modalRoot\n (keydown.esc)=\"closeOnEscape ? close() : 0\"\n [ngClass]=\"{ in: isOpened, fade: isOpened }\"\n [ngStyle]=\"{ display: isOpened ? 'block' : 'none' }\"\n (click)=\"closeOnOutsideClick ? close() : 0\">\n <div [class]=\"'modal-dialog ' + modalClass\" (click)=\"preventClosing($event)\">\n <div class=\"modal-content\" tabindex=\"0\" *ngIf=\"isOpened\">\n <div class=\"modal-header\">\n <button *ngIf=\"!hideCloseButton\" type=\"button\" class=\"close\" data-dismiss=\"modal\" [attr.aria-label]=\"cancelButtonLabel || 'Close'\" (click)=\"close()\"><span aria-hidden=\"true\">×</span></button>\n <h4 class=\"modal-title\" *ngIf=\"title\">{{ title }}</h4>\n <ng-content select=\"modal-header\"></ng-content>\n </div>\n <div class=\"modal-body\">\n <ng-content select=\"modal-content\"></ng-content>\n </div>\n <div class=\"modal-footer\">\n <ng-content select=\"modal-footer\"></ng-content>\n <button *ngIf=\"cancelButtonLabel\" type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\" (click)=\"close()\">{{ cancelButtonLabel }}</button>\n <button *ngIf=\"submitButtonLabel\" type=\"button\" class=\"btn btn-primary\" (click)=\"onSubmit.emit(undefined)\">{{ submitButtonLabel }}</button>\n </div>\n </div>\n </div>\n</div>\n" | ||
}), | ||
@@ -116,0 +116,0 @@ __metadata('design:paramtypes', []) |
{ | ||
"name": "ng2-modal", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Open modal window (dialog box) for your angular2 applications using bootstrap3.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
22018