angular-2-dropdown-multiselect
Advanced tools
Comparing version 0.3.5 to 0.4.0
{ | ||
"name": "angular-2-dropdown-multiselect", | ||
"version": "0.3.5", | ||
"version": "0.4.0", | ||
"description": "Customizable dropdown multiselect in Angular 2 with bootstrap css.", | ||
@@ -22,14 +22,14 @@ "main": "src/multiselect-dropdown.ts", | ||
"dependencies": { | ||
"@angular/common": "^2.4.0", | ||
"@angular/compiler": "^2.4.0", | ||
"@angular/core": "^2.4.0", | ||
"@angular/forms": "^2.4.0", | ||
"rxjs": "^5.0.2", | ||
"zone.js": "^0.7.2" | ||
}, | ||
"devDependencies": { | ||
"@angular/common": "^2.4.3", | ||
"@angular/compiler": "^2.4.3", | ||
"@angular/core": "^2.4.3", | ||
"@angular/forms": "^2.4.3", | ||
"rxjs": "^5.0.3", | ||
"zone.js": "^0.7.5", | ||
"codelyzer": "^2.0.0-beta.4", | ||
"tslint": "^4.0.0", | ||
"typescript": "^2.1.0" | ||
"tslint": "^4.3.1", | ||
"typescript": "^2.1.5" | ||
} | ||
} |
@@ -7,5 +7,4 @@ /* | ||
*/ | ||
System.register(['@angular/core', '@angular/common', '@angular/forms'], function(exports_1, context_1) { | ||
System.register(["@angular/core", "@angular/common", "@angular/forms"], function (exports_1, context_1) { | ||
"use strict"; | ||
var __moduleName = context_1 && context_1.id; | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
@@ -20,6 +19,6 @@ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
}; | ||
var core_1, common_1, forms_1; | ||
var MULTISELECT_VALUE_ACCESSOR, MultiSelectSearchFilter, MultiselectDropdown, MultiselectDropdownModule; | ||
var __moduleName = context_1 && context_1.id; | ||
var core_1, common_1, forms_1, MULTISELECT_VALUE_ACCESSOR, MultiSelectSearchFilter, MultiselectDropdown, MultiselectDropdownModule; | ||
return { | ||
setters:[ | ||
setters: [ | ||
function (core_1_1) { | ||
@@ -33,4 +32,10 @@ core_1 = core_1_1; | ||
forms_1 = forms_1_1; | ||
}], | ||
execute: function() { | ||
} | ||
], | ||
execute: function () {/* | ||
* Angular 2 Dropdown Multiselect for Bootstrap | ||
* | ||
* Simon Lindh | ||
* https://github.com/softsimon/angular-2-dropdown-multiselect | ||
*/ | ||
MULTISELECT_VALUE_ACCESSOR = { | ||
@@ -51,10 +56,9 @@ provide: forms_1.NG_VALUE_ACCESSOR, | ||
}; | ||
MultiSelectSearchFilter = __decorate([ | ||
core_1.Pipe({ | ||
name: 'searchFilter' | ||
}), | ||
__metadata('design:paramtypes', []) | ||
], MultiSelectSearchFilter); | ||
return MultiSelectSearchFilter; | ||
}()); | ||
MultiSelectSearchFilter = __decorate([ | ||
core_1.Pipe({ | ||
name: 'searchFilter' | ||
}) | ||
], MultiSelectSearchFilter); | ||
exports_1("MultiSelectSearchFilter", MultiSelectSearchFilter); | ||
@@ -74,3 +78,3 @@ MultiselectDropdown = (function () { | ||
checkedStyle: 'checkboxes', | ||
buttonClasses: 'btn btn-default', | ||
buttonClasses: 'btn btn-default btn-secondary', | ||
selectionLimit: 0, | ||
@@ -201,39 +205,40 @@ closeOnSelect: false, | ||
}; | ||
__decorate([ | ||
core_1.Input(), | ||
__metadata('design:type', Array) | ||
], MultiselectDropdown.prototype, "options", void 0); | ||
__decorate([ | ||
core_1.Input(), | ||
__metadata('design:type', Object) | ||
], MultiselectDropdown.prototype, "settings", void 0); | ||
__decorate([ | ||
core_1.Input(), | ||
__metadata('design:type', Object) | ||
], MultiselectDropdown.prototype, "texts", void 0); | ||
__decorate([ | ||
core_1.Output(), | ||
__metadata('design:type', Object) | ||
], MultiselectDropdown.prototype, "selectionLimitReached", void 0); | ||
__decorate([ | ||
core_1.Output(), | ||
__metadata('design:type', Object) | ||
], MultiselectDropdown.prototype, "dropdownClosed", void 0); | ||
__decorate([ | ||
core_1.HostListener('document: click', ['$event.target']), | ||
__metadata('design:type', Function), | ||
__metadata('design:paramtypes', [HTMLElement]), | ||
__metadata('design:returntype', void 0) | ||
], MultiselectDropdown.prototype, "onClick", null); | ||
MultiselectDropdown = __decorate([ | ||
core_1.Component({ | ||
selector: 'ss-multiselect-dropdown', | ||
providers: [MULTISELECT_VALUE_ACCESSOR], | ||
styles: ["\n\t a { outline: none !important; }\n "], | ||
templateUrl: './multiselect-dropdown.html' | ||
}), | ||
__metadata('design:paramtypes', [core_1.ElementRef, core_1.IterableDiffers]) | ||
], MultiselectDropdown); | ||
return MultiselectDropdown; | ||
}()); | ||
__decorate([ | ||
core_1.Input(), | ||
__metadata("design:type", Array) | ||
], MultiselectDropdown.prototype, "options", void 0); | ||
__decorate([ | ||
core_1.Input(), | ||
__metadata("design:type", Object) | ||
], MultiselectDropdown.prototype, "settings", void 0); | ||
__decorate([ | ||
core_1.Input(), | ||
__metadata("design:type", Object) | ||
], MultiselectDropdown.prototype, "texts", void 0); | ||
__decorate([ | ||
core_1.Output(), | ||
__metadata("design:type", Object) | ||
], MultiselectDropdown.prototype, "selectionLimitReached", void 0); | ||
__decorate([ | ||
core_1.Output(), | ||
__metadata("design:type", Object) | ||
], MultiselectDropdown.prototype, "dropdownClosed", void 0); | ||
__decorate([ | ||
core_1.HostListener('document: click', ['$event.target']), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [HTMLElement]), | ||
__metadata("design:returntype", void 0) | ||
], MultiselectDropdown.prototype, "onClick", null); | ||
MultiselectDropdown = __decorate([ | ||
core_1.Component({ | ||
selector: 'ss-multiselect-dropdown', | ||
providers: [MULTISELECT_VALUE_ACCESSOR], | ||
styles: ["\n\t a { outline: none !important; }\n "], | ||
templateUrl: './multiselect-dropdown.html' | ||
}), | ||
__metadata("design:paramtypes", [core_1.ElementRef, | ||
core_1.IterableDiffers]) | ||
], MultiselectDropdown); | ||
exports_1("MultiselectDropdown", MultiselectDropdown); | ||
@@ -243,16 +248,15 @@ MultiselectDropdownModule = (function () { | ||
} | ||
MultiselectDropdownModule = __decorate([ | ||
core_1.NgModule({ | ||
imports: [common_1.CommonModule, forms_1.FormsModule], | ||
exports: [MultiselectDropdown], | ||
declarations: [MultiselectDropdown, MultiSelectSearchFilter], | ||
}), | ||
__metadata('design:paramtypes', []) | ||
], MultiselectDropdownModule); | ||
return MultiselectDropdownModule; | ||
}()); | ||
MultiselectDropdownModule = __decorate([ | ||
core_1.NgModule({ | ||
imports: [common_1.CommonModule, forms_1.FormsModule], | ||
exports: [MultiselectDropdown], | ||
declarations: [MultiselectDropdown, MultiSelectSearchFilter], | ||
}) | ||
], MultiselectDropdownModule); | ||
exports_1("MultiselectDropdownModule", MultiselectDropdownModule); | ||
} | ||
} | ||
}; | ||
}); | ||
//# sourceMappingURL=multiselect-dropdown.js.map |
@@ -39,3 +39,3 @@ /* | ||
enableSearch?: boolean; | ||
checkedStyle?: 'checkboxes' | 'glyphicon'; | ||
checkedStyle?: 'checkboxes' | 'glyphicon' | 'fontawsome'; | ||
buttonClasses?: string; | ||
@@ -112,3 +112,3 @@ selectionLimit?: number; | ||
checkedStyle: 'checkboxes', | ||
buttonClasses: 'btn btn-default', | ||
buttonClasses: 'btn btn-default btn-secondary', | ||
selectionLimit: 0, | ||
@@ -115,0 +115,0 @@ closeOnSelect: false, |
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
35444
0
623
9
- Removed@angular/common@^2.4.0
- Removed@angular/compiler@^2.4.0
- Removed@angular/core@^2.4.0
- Removed@angular/forms@^2.4.0
- Removedrxjs@^5.0.2
- Removedzone.js@^0.7.2
- Removed@angular/common@2.4.10(transitive)
- Removed@angular/compiler@2.4.10(transitive)
- Removed@angular/core@2.4.10(transitive)
- Removed@angular/forms@2.4.10(transitive)
- Removedrxjs@5.5.12(transitive)
- Removedsymbol-observable@1.0.1(transitive)
- Removedzone.js@0.7.8(transitive)