ng2-nouislider
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -10,2 +10,3 @@ import { Component, OnInit } from '@angular/core'; | ||
export class AppComponent implements OnInit { | ||
public disabled: boolean = false; | ||
public keyupLabelOn: boolean = false; | ||
@@ -12,0 +13,0 @@ public keydownLabelOn: boolean = false; |
{ | ||
"name": "ng2-nouislider", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "Angular2 noUiSlider component", | ||
@@ -5,0 +5,0 @@ "main": "src/nouislider.js", |
@@ -16,2 +16,3 @@ import { ElementRef, OnInit } from '@angular/core'; | ||
handles: any[]; | ||
private disabled; | ||
private behaviour; | ||
@@ -18,0 +19,0 @@ private connect; |
@@ -169,2 +169,7 @@ "use strict"; | ||
core_1.Input(), | ||
__metadata('design:type', Boolean) | ||
], NouisliderComponent.prototype, "disabled", void 0); | ||
__decorate([ | ||
// tslint:disable-line | ||
core_1.Input(), | ||
__metadata('design:type', String) | ||
@@ -254,3 +259,3 @@ ], NouisliderComponent.prototype, "behaviour", void 0); | ||
}, | ||
template: '<div></div>', | ||
template: '<div [attr.disabled]="disabled ? true : undefined"></div>', | ||
styles: ["\n :host {\n display: block;\n margin-top: 1rem;\n margin-bottom: 1rem;\n }\n "], | ||
@@ -284,2 +289,2 @@ providers: [ | ||
exports.NouisliderModule = NouisliderModule; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm91aXNsaWRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIm5vdWlzbGlkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLElBQVksVUFBVSxXQUFNLFlBQVksQ0FBQyxDQUFBO0FBQ3pDLHFCQVNPLGVBQWUsQ0FBQyxDQUFBO0FBQ3ZCLHNCQUlPLGdCQUFnQixDQUFDLENBQUE7QUFFeEIsaUJBQXdCLEtBQWU7SUFDckMsRUFBRSxDQUFDLENB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gICAgIGNhc2UgMzg6ICAvLyBBcnJvd1VwXG4gICAgICBjYXNlIDM5OiAgLy8gQXJyb3dSaWdodFxuICAgICAgICBzdGVwID0gc3RlcFNpemVbaW5kZXhdWzFdO1xuICAgICAgICBlLnByZXZlbnREZWZhdWx0KCk7XG4gICAgICAgIGJyZWFrO1xuXG4gICAgICBkZWZhdWx0OlxuICAgICAgICBicmVhaztcbiAgICB9XG5cbiAgICBkZWx0YSA9IHNpZ24gKiBtdWx0aXBsaWVyICogc3RlcDtcbiAgICBsZXQgbmV3VmFsdWU6IG51bWJlciB8IG51bWJlcltdO1xuXG4gICAgaWYoQXJyYXkuaXNBcnJheSh0aGlzLnZhbHVlKSkge1xuICAgICAgbmV3VmFsdWUgPSBbXS5jb25jYXQodGhpcy52YWx1ZSk7XG4gICAgICBuZXdWYWx1ZVtpbmRleF0gPSB0aGlzLmNvbmZpZy5mb3JtYXQudG8ocGFyc2VGbG9hdCh0aGlzLmNvbmZpZy5mb3JtYXQuZnJvbShuZXdWYWx1ZVtpbmRleF0pKSArIGRlbHRhKTtcbiAgICB9IGVsc2Uge1xuICAgICAgbmV3VmFsdWUgPSB0aGlzLmNvbmZpZy5mb3JtYXQudG8ocGFyc2VGbG9hdCh0aGlzLmNvbmZpZy5mb3JtYXQuZnJvbSh0aGlzLnZhbHVlKSkgKyBkZWx0YSk7XG4gICAgfVxuXG4gICAgdGhpcy5zbGlkZXIuc2V0KG5ld1ZhbHVlKTtcbiAgfVxufVxuXG5cbkBOZ01vZHVsZSh7XG4gIGltcG9ydHM6IFtdLFxuICBleHBvcnRzOiBbTm91aXNsaWRlckNvbXBvbmVudF0sXG4gIGRlY2xhcmF0aW9uczogW05vdWlzbGlkZXJDb21wb25lbnRdLFxufSlcbmV4cG9ydCBjbGFzcyBOb3Vpc2xpZGVyTW9kdWxlIHsgfVxuIl19 |
@@ -48,3 +48,3 @@ import * as noUiSlider from 'nouislider'; | ||
}, | ||
template: '<div></div>', | ||
template: '<div [attr.disabled]="disabled ? true : undefined"></div>', | ||
styles: [` | ||
@@ -69,2 +69,3 @@ :host { | ||
public handles: any[]; | ||
@Input() private disabled: boolean; // tslint:disable-line | ||
@Input() private behaviour: string; | ||
@@ -71,0 +72,0 @@ @Input() private connect: boolean[]; |
Sorry, the diff of this file is not supported yet
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
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
86982
697