angular2-select
Advanced tools
Comparing version 1.0.0-alpha.9 to 1.0.0-alpha.10
# Changelog | ||
<a name="1.0.0-alpha.11"></a> | ||
## [1.0.0-alpha.11](https://github.com/basvandenberg/angular2-select/compare/1.0.0-alpha.10...1.0.0-alpha.11) () | ||
<a name="1.0.0-alpha.10"></a> | ||
## [1.0.0-alpha.10](https://github.com/basvandenberg/angular2-select/compare/1.0.0-alpha.9...1.0.0-alpha.10) () | ||
### Bug fixes | ||
- Fix errors in package.json and tsconfig.json ([#18] (https://github.com/basvandenberg/angular2-select/issues/18)). | ||
- Fix empty value multi-select, so that required validator works ([#21] (https://github.com/basvandenberg/angular2-select/issues/21)). | ||
- Fix setting value of single select ([#19] (https://github.com/basvandenberg/angular2-select/issues/19)). | ||
### Improvements | ||
- Set ViewEncapsulation to None to enable style override ([#16] (https://github.com/basvandenberg/angular2-select/issues/16)). | ||
<a name="1.0.0-alpha.9"></a> | ||
@@ -13,2 +33,4 @@ ## [1.0.0-alpha.9](https://github.com/basvandenberg/angular2-select/compare/1.0.0-alpha.8...1.0.0-alpha.9) (2016-10-05) | ||
<a name="1.0.0-alpha.8"></a> | ||
@@ -23,3 +45,3 @@ ## [1.0.0-alpha.8](https://github.com/basvandenberg/angular2-select/compare/1.0.0-alpha.7...1.0.0-alpha.8) (2016-10-01) | ||
- Fixed clear selection using form control's setValue function ([#5] (https://github.com/basvandenberg/angular2-select/issues/5)). | ||
- Fix clear selection using form control's setValue function ([#5] (https://github.com/basvandenberg/angular2-select/issues/5)). | ||
- Update current selection when option list is changed ([#6] (https://github.com/basvandenberg/angular2-select/issues/6)). | ||
@@ -26,0 +48,0 @@ - Prevent javascript error when list of options is empty ([#7] (https://github.com/basvandenberg/angular2-select/issues/7)). |
{ | ||
"name": "angular2-select", | ||
"version": "1.0.0-alpha.9", | ||
"version": "1.0.0-alpha.10", | ||
"description": "Select component for Angular 2 (based on select2 JQuery plugin).", | ||
@@ -28,10 +28,10 @@ "main": "./index.js", | ||
"devDependencies": { | ||
"@angular/common": "~2.0.1", | ||
"@angular/compiler": "~2.0.1", | ||
"@angular/compiler-cli": "^0.6.3", | ||
"@angular/core": "~2.0.1", | ||
"@angular/forms": "~2.0.1", | ||
"@angular/platform-browser": "~2.0.1", | ||
"@angular/platform-browser-dynamic": "~2.0.1", | ||
"@angular/platform-server": "~2.0.1", | ||
"@angular/common": "~2.0.2", | ||
"@angular/compiler": "~2.0.2", | ||
"@angular/compiler-cli": "~0.6.4", | ||
"@angular/core": "~2.0.2", | ||
"@angular/forms": "~2.0.2", | ||
"@angular/platform-browser": "~2.0.2", | ||
"@angular/platform-browser-dynamic": "~2.0.2", | ||
"@angular/platform-server": "~2.0.2", | ||
"@types/core-js": "~0.9.34", | ||
@@ -53,5 +53,3 @@ "@types/jasmine": "~2.2.34", | ||
}, | ||
"dependencies": { | ||
"@types/node": "~6.0.42" | ||
}, | ||
"dependencies": {}, | ||
"peerDependencies": { | ||
@@ -58,0 +56,0 @@ "@angular/core": "~2.0.0", |
@@ -227,4 +227,4 @@ # Angular 2 select component | ||
The `select` event is emitted by both the single and multiple select, the | ||
`deselect` event is only submitted by the multiple select. | ||
The `selected` event is emitted by both the single and multiple select, the | ||
`deselected` event is only submitted by the multiple select. | ||
@@ -231,0 +231,0 @@ |
@@ -244,3 +244,4 @@ "use strict"; | ||
style_1.DEFAULT_STYLES | ||
] | ||
], | ||
encapsulation: core_1.ViewEncapsulation.None | ||
},] }, | ||
@@ -247,0 +248,0 @@ ]; |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":1,"metadata":{"SelectDropdownComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"select-dropdown","template":"\n<span class=\"select2-container select2-container--default select2-container--open\"\n [ngStyle]=\"{position: 'absolute', top: top + 'px', left: left + 'px'}\">\n <span class=\"select2-dropdown select2-dropdown--below\"\n [ngStyle]=\"{width: width + 'px'}\">\n <span class=\"select2-search select2-search--dropdown\"\n *ngIf=\"!multiple\">\n <input class=\"select2-search__field\"\n #input\n (input)=\"onInput($event)\"\n (keydown)=\"onKeydown($event)\"\n (click)=\"onInputClick($event)\">\n </span>\n <span class=\"select2-results\">\n <ul class=\"select2-results__options\"\n #optionsList\n (mousemove)=\"onOptionsMouseMove($event)\"\n (wheel)=\"onOptionsWheel($event)\"\n (click)=\"onOptionsClick($event)\">\n <li\n *ngFor=\"let optionValue of optionValuesFiltered;\"\n [attr.aria-selected]=\"optionsDict[optionValue].selected\"\n [ngClass]=\"getOptionClass(optionValue)\"\n [attr.data-value]=\"optionValue\">\n {{optionsDict[optionValue].label}}\n </li>\n <li \n *ngIf=\"optionValuesFiltered.length === 0\"\n [ngClass]=\"getOptionClass(null)\">\n {{MSG_NOT_FOUND}}\n </li>\n </ul>\n </span>\n </span>\n</span>\n","styles":[{"__symbolic":"reference","module":"./style","name":"DEFAULT_STYLES"}]}]}],"members":{"multiple":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"optionValues":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"optionsDict":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"selection":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"width":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"top":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"left":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"close":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"toggleSelect":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"input":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["input"]}]}],"optionsList":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["optionsList"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./diacritics.service","name":"DiacriticsService"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"onInputClick":[{"__symbolic":"method"}],"onOptionsMouseMove":[{"__symbolic":"method"}],"onOptionsWheel":[{"__symbolic":"method"}],"onOptionsClick":[{"__symbolic":"method"}],"onKeydown":[{"__symbolic":"method"}],"onInput":[{"__symbolic":"method"}],"init":[{"__symbolic":"method"}],"initHighlight":[{"__symbolic":"method"}],"highlight":[{"__symbolic":"method"}],"ensureHighlightedVisible":[{"__symbolic":"method"}],"highlightIndex":[{"__symbolic":"method"}],"filter":[{"__symbolic":"method"}],"handleKeyDown":[{"__symbolic":"method"}],"handleOptionsWheel":[{"__symbolic":"method"}],"highlightPrevious":[{"__symbolic":"method"}],"highlightNext":[{"__symbolic":"method"}],"getOptionClass":[{"__symbolic":"method"}],"filteredOptionsIndex":[{"__symbolic":"method"}]}}}} | ||
{"__symbolic":"module","version":1,"metadata":{"SelectDropdownComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"select-dropdown","template":"\n<span class=\"select2-container select2-container--default select2-container--open\"\n [ngStyle]=\"{position: 'absolute', top: top + 'px', left: left + 'px'}\">\n <span class=\"select2-dropdown select2-dropdown--below\"\n [ngStyle]=\"{width: width + 'px'}\">\n <span class=\"select2-search select2-search--dropdown\"\n *ngIf=\"!multiple\">\n <input class=\"select2-search__field\"\n #input\n (input)=\"onInput($event)\"\n (keydown)=\"onKeydown($event)\"\n (click)=\"onInputClick($event)\">\n </span>\n <span class=\"select2-results\">\n <ul class=\"select2-results__options\"\n #optionsList\n (mousemove)=\"onOptionsMouseMove($event)\"\n (wheel)=\"onOptionsWheel($event)\"\n (click)=\"onOptionsClick($event)\">\n <li\n *ngFor=\"let optionValue of optionValuesFiltered;\"\n [attr.aria-selected]=\"optionsDict[optionValue].selected\"\n [ngClass]=\"getOptionClass(optionValue)\"\n [attr.data-value]=\"optionValue\">\n {{optionsDict[optionValue].label}}\n </li>\n <li \n *ngIf=\"optionValuesFiltered.length === 0\"\n [ngClass]=\"getOptionClass(null)\">\n {{MSG_NOT_FOUND}}\n </li>\n </ul>\n </span>\n </span>\n</span>\n","styles":[{"__symbolic":"reference","module":"./style","name":"DEFAULT_STYLES"}],"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation"},"member":"None"}}]}],"members":{"multiple":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"optionValues":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"optionsDict":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"selection":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"width":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"top":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"left":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"close":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"toggleSelect":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"input":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["input"]}]}],"optionsList":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["optionsList"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./diacritics.service","name":"DiacriticsService"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"onInputClick":[{"__symbolic":"method"}],"onOptionsMouseMove":[{"__symbolic":"method"}],"onOptionsWheel":[{"__symbolic":"method"}],"onOptionsClick":[{"__symbolic":"method"}],"onKeydown":[{"__symbolic":"method"}],"onInput":[{"__symbolic":"method"}],"init":[{"__symbolic":"method"}],"initHighlight":[{"__symbolic":"method"}],"highlight":[{"__symbolic":"method"}],"ensureHighlightedVisible":[{"__symbolic":"method"}],"highlightIndex":[{"__symbolic":"method"}],"filter":[{"__symbolic":"method"}],"handleKeyDown":[{"__symbolic":"method"}],"handleOptionsWheel":[{"__symbolic":"method"}],"highlightPrevious":[{"__symbolic":"method"}],"highlightNext":[{"__symbolic":"method"}],"getOptionClass":[{"__symbolic":"method"}],"filteredOptionsIndex":[{"__symbolic":"method"}]}}}} |
@@ -61,3 +61,3 @@ /** | ||
export const SelectDropdownComponentNgFactory:import10.ComponentFactory<import3.SelectDropdownComponent> = new import10.ComponentFactory<import3.SelectDropdownComponent>('select-dropdown',viewFactory_SelectDropdownComponent_Host0,import3.SelectDropdownComponent); | ||
const styles_SelectDropdownComponent:any[] = ['.select2-container[_ngcontent-%COMP%] {\n box-sizing: border-box;\n display: inline-block;\n margin: 0;\n position: relative;\n vertical-align: middle; }\n .select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] {\n box-sizing: border-box;\n cursor: pointer;\n display: block;\n height: 30px;\n user-select: none;\n -webkit-user-select: none; }\n .select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] {\n display: block;\n padding-left: 6px;\n padding-right: 20px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap; }\n .select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%] {\n position: relative; }\n .select2-container[dir="rtl"][_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] {\n padding-right: 8px;\n padding-left: 20px; }\n .select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] {\n box-sizing: border-box;\n cursor: pointer;\n display: block;\n min-height: 32px;\n user-select: none;\n -webkit-user-select: none; }\n .select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] {\n display: inline-block;\n overflow: hidden;\n padding-left: 6px;\n text-overflow: ellipsis;\n white-space: nowrap; }\n .select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] {\n float: left; }\n .select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%] {\n box-sizing: border-box;\n border: none;\n font-size: 100%;\n margin-top: 5px;\n padding: 0; }\n .select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]::-webkit-search-cancel-button {\n -webkit-appearance: none; }\n\n.select2-dropdown[_ngcontent-%COMP%] {\n background-color: white;\n border: 1px solid #aaa;\n border-radius: 1px;\n box-sizing: border-box;\n display: block;\n position: absolute;\n left: -100000px;\n width: 100%;\n z-index: 1051; }\n\n.select2-results[_ngcontent-%COMP%] {\n display: block; }\n\n.select2-results__options[_ngcontent-%COMP%] {\n list-style: none;\n margin: 0;\n padding: 0; }\n\n.select2-results__option[_ngcontent-%COMP%] {\n padding: 6px;\n user-select: none;\n -webkit-user-select: none; }\n .select2-results__option[aria-selected][_ngcontent-%COMP%] {\n cursor: pointer; }\n\n.select2-container--open[_ngcontent-%COMP%] .select2-dropdown[_ngcontent-%COMP%] {\n left: 0; }\n\n.select2-container--open[_ngcontent-%COMP%] .select2-dropdown--above[_ngcontent-%COMP%] {\n border-bottom: none;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0; }\n\n.select2-container--open[_ngcontent-%COMP%] .select2-dropdown--below[_ngcontent-%COMP%] {\n border-top: none;\n border-top-left-radius: 0;\n border-top-right-radius: 0; }\n\n.select2-search--dropdown[_ngcontent-%COMP%] {\n display: block;\n padding: 4px; }\n .select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%] {\n padding: 4px;\n width: 100%;\n box-sizing: border-box; }\n .select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]::-webkit-search-cancel-button {\n -webkit-appearance: none; }\n .select2-search--dropdown.select2-search--hide[_ngcontent-%COMP%] {\n display: none; }\n\n.select2-close-mask[_ngcontent-%COMP%] {\n border: 0;\n margin: 0;\n padding: 0;\n display: block;\n position: fixed;\n left: 0;\n top: 0;\n min-height: 100%;\n min-width: 100%;\n height: auto;\n width: auto;\n opacity: 0;\n z-index: 99;\n background-color: #fff;\n filter: alpha(opacity=0); }\n\n.select2-hidden-accessible[_ngcontent-%COMP%] {\n border: 0 !important;\n clip: rect(0 0 0 0) !important;\n height: 1px !important;\n margin: -1px !important;\n overflow: hidden !important;\n padding: 0 !important;\n position: absolute !important;\n width: 1px !important; }\n\n.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] {\n background-color: #fff;\n border: 1px solid #ccc;\n border-radius: 1px; }\n .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] {\n color: #444;\n line-height: 28px; }\n .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%] {\n cursor: pointer;\n float: right;\n font-weight: bold; }\n .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%] {\n height: 26px;\n position: absolute;\n top: 1px;\n right: 1px;\n width: 20px; }\n .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%] b[_ngcontent-%COMP%] {\n border-color: #888 transparent transparent transparent;\n border-style: solid;\n border-width: 5px 4px 0 4px;\n height: 0;\n left: 50%;\n margin-left: -4px;\n margin-top: 0;\n position: absolute;\n top: 50%;\n width: 0; }\n\n.select2-container--default[dir="rtl"][_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%] {\n float: left; }\n\n.select2-container--default[dir="rtl"][_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%] {\n left: 1px;\n right: auto; }\n\n.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] {\n background-color: #eee;\n cursor: default; }\n .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%] {\n display: none; }\n\n.select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%] b[_ngcontent-%COMP%] {\n border-color: transparent transparent #888 transparent;\n border-width: 0 4px 5px 4px; }\n\n.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] {\n background-color: white;\n border: 1px solid #ccc;\n border-radius: 1px;\n cursor: text; }\n .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] {\n box-sizing: border-box;\n list-style: none;\n margin: 0;\n padding: 0 5px;\n width: 100%; }\n .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] li[_ngcontent-%COMP%] {\n list-style: none; }\n .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%] {\n margin-top: 5px;\n float: left; }\n .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%] {\n cursor: pointer;\n float: right;\n font-weight: bold;\n margin-top: 5px;\n margin-right: 10px; }\n .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice[_ngcontent-%COMP%] {\n background-color: #e4e4e4;\n border: 1px solid #ccc;\n border-radius: 1px;\n cursor: default;\n float: left;\n margin-right: 5px;\n margin-top: 5px;\n padding: 0 5px; }\n .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%] {\n color: #999;\n cursor: pointer;\n display: inline-block;\n font-weight: bold;\n margin-right: 2px; }\n .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]:hover {\n color: #333; }\n\n.select2-container--default[dir="rtl"][_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice[_ngcontent-%COMP%], .select2-container--default[dir="rtl"][_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%], .select2-container--default[dir="rtl"][_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] {\n float: right; }\n\n.select2-container--default[dir="rtl"][_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice[_ngcontent-%COMP%] {\n margin-left: 5px;\n margin-right: auto; }\n\n.select2-container--default[dir="rtl"][_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%] {\n margin-left: 2px;\n margin-right: auto; }\n\n.select2-container--default.select2-container--focus[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] {\n border: solid black 1px;\n outline: 0; }\n\n.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] {\n background-color: #eee;\n cursor: default; }\n\n.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%] {\n display: none; }\n\n.select2-container--default.select2-container--open.select2-container--above[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .select2-container--default.select2-container--open.select2-container--above[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] {\n border-top-left-radius: 0;\n border-top-right-radius: 0; }\n\n.select2-container--default.select2-container--open.select2-container--below[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .select2-container--default.select2-container--open.select2-container--below[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0; }\n\n.select2-container--default[_ngcontent-%COMP%] .select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%] {\n border: 1px solid #ccc; }\n\n.select2-container--default[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%] {\n background: transparent;\n border: none;\n outline: 0;\n box-shadow: none;\n -webkit-appearance: textfield; }\n\n.select2-container--default[_ngcontent-%COMP%] .select2-results[_ngcontent-%COMP%] > .select2-results__options[_ngcontent-%COMP%] {\n max-height: 200px;\n overflow-y: auto; }\n\n.select2-container--default[_ngcontent-%COMP%] .select2-results__option[role=group][_ngcontent-%COMP%] {\n padding: 0; }\n\n.select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-disabled=true][_ngcontent-%COMP%] {\n color: #999; }\n\n.select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%] {\n background-color: #ddd; }\n\n.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] {\n padding-left: 1em; }\n .select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%] {\n padding-left: 0; }\n .select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] {\n margin-left: -1em;\n padding-left: 2em; }\n .select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] {\n margin-left: -2em;\n padding-left: 3em; }\n .select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] {\n margin-left: -3em;\n padding-left: 4em; }\n .select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] {\n margin-left: -4em;\n padding-left: 5em; }\n .select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] {\n margin-left: -5em;\n padding-left: 6em; }\n\n.select2-container--default[_ngcontent-%COMP%] .select2-results__option--highlighted[aria-selected][_ngcontent-%COMP%] {\n background-color: #62BAE9;\n color: white; }\n\n.select2-container--default[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%] {\n cursor: default;\n display: block;\n padding: 6px; }\n\n.select2-container--classic[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] {\n background-color: #f7f7f7;\n border: 1px solid #ccc;\n border-radius: 1px;\n outline: 0;\n background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%);\n background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%);\n background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#FFFFFFFF\', endColorstr=\'#FFEEEEEE\', GradientType=0); }\n .select2-container--classic[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:focus {\n border: 1px solid #62BAE9; }\n .select2-container--classic[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] {\n color: #444;\n line-height: 28px; }\n .select2-container--classic[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%] {\n cursor: pointer;\n float: right;\n font-weight: bold;\n margin-right: 10px; }\n .select2-container--classic[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%] {\n background-color: #ddd;\n border: none;\n border-left: 1px solid #ccc;\n border-top-right-radius: 0px;\n border-bottom-right-radius: 0px;\n height: 26px;\n position: absolute;\n top: 1px;\n right: 1px;\n width: 20px;\n background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);\n background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);\n background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#FFEEEEEE\', endColorstr=\'#FFCCCCCC\', GradientType=0); }\n .select2-container--classic[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%] b[_ngcontent-%COMP%] {\n border-color: #888 transparent transparent transparent;\n border-style: solid;\n border-width: 5px 4px 0 4px;\n height: 0;\n left: 50%;\n margin-left: -4px;\n margin-top: 0;\n position: absolute;\n top: 50%;\n width: 0; }\n\n.select2-container--classic[dir="rtl"][_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%] {\n float: left; }\n\n.select2-container--classic[dir="rtl"][_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%] {\n border: none;\n border-right: 1px solid #aaa;\n border-radius: 0;\n border-top-left-radius: 0px;\n border-bottom-left-radius: 0px;\n left: 1px;\n right: auto; }\n\n.select2-container--classic.select2-container--open[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] {\n border: 1px solid #62BAE9; }\n .select2-container--classic.select2-container--open[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%] {\n background: transparent;\n border: none; }\n .select2-container--classic.select2-container--open[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%] b[_ngcontent-%COMP%] {\n border-color: transparent transparent #888 transparent;\n border-width: 0 4px 5px 4px; }\n\n.select2-container--classic.select2-container--open.select2-container--above[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] {\n border-top: none;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%);\n background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%);\n background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#FFFFFFFF\', endColorstr=\'#FFEEEEEE\', GradientType=0); }\n\n.select2-container--classic.select2-container--open.select2-container--below[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] {\n border-bottom: none;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%);\n background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%);\n background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#FFEEEEEE\', endColorstr=\'#FFFFFFFF\', GradientType=0); }\n\n.select2-container--classic[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] {\n background-color: white;\n border: 1px solid #ccc;\n border-radius: 1px;\n cursor: text;\n outline: 0; }\n .select2-container--classic[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:focus {\n border: 1px solid #62BAE9; }\n .select2-container--classic[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] {\n list-style: none;\n margin: 0;\n padding: 0 5px; }\n .select2-container--classic[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%] {\n display: none; }\n .select2-container--classic[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice[_ngcontent-%COMP%] {\n background-color: #e4e4e4;\n border: 1px solid #ccc;\n border-radius: 1px;\n cursor: default;\n float: left;\n margin-right: 5px;\n margin-top: 5px;\n padding: 0 5px; }\n .select2-container--classic[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%] {\n color: #888;\n cursor: pointer;\n display: inline-block;\n font-weight: bold;\n margin-right: 2px; }\n .select2-container--classic[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]:hover {\n color: #555; }\n\n.select2-container--classic[dir="rtl"][_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice[_ngcontent-%COMP%] {\n float: right; }\n\n.select2-container--classic[dir="rtl"][_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice[_ngcontent-%COMP%] {\n margin-left: 5px;\n margin-right: auto; }\n\n.select2-container--classic[dir="rtl"][_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%] {\n margin-left: 2px;\n margin-right: auto; }\n\n.select2-container--classic.select2-container--open[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] {\n border: 1px solid #62BAE9; }\n\n.select2-container--classic.select2-container--open.select2-container--above[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] {\n border-top: none;\n border-top-left-radius: 0;\n border-top-right-radius: 0; }\n\n.select2-container--classic.select2-container--open.select2-container--below[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] {\n border-bottom: none;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0; }\n\n.select2-container--classic[_ngcontent-%COMP%] .select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%] {\n border: 1px solid #ccc;\n outline: 0; }\n\n.select2-container--classic[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%] {\n outline: 0;\n box-shadow: none; }\n\n.select2-container--classic[_ngcontent-%COMP%] .select2-dropdown[_ngcontent-%COMP%] {\n background-color: white;\n border: 1px solid transparent; }\n\n.select2-container--classic[_ngcontent-%COMP%] .select2-dropdown--above[_ngcontent-%COMP%] {\n border-bottom: none; }\n\n.select2-container--classic[_ngcontent-%COMP%] .select2-dropdown--below[_ngcontent-%COMP%] {\n border-top: none; }\n\n.select2-container--classic[_ngcontent-%COMP%] .select2-results[_ngcontent-%COMP%] > .select2-results__options[_ngcontent-%COMP%] {\n max-height: 200px;\n overflow-y: auto; }\n\n.select2-container--classic[_ngcontent-%COMP%] .select2-results__option[role=group][_ngcontent-%COMP%] {\n padding: 0; }\n\n.select2-container--classic[_ngcontent-%COMP%] .select2-results__option[aria-disabled=true][_ngcontent-%COMP%] {\n color: grey; }\n\n.select2-container--classic[_ngcontent-%COMP%] .select2-results__option--highlighted[aria-selected][_ngcontent-%COMP%] {\n background-color: #3875d7;\n color: white; }\n\n.select2-container--classic[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%] {\n cursor: default;\n display: block;\n padding: 6px; }\n\n.select2-container--classic.select2-container--open[_ngcontent-%COMP%] .select2-dropdown[_ngcontent-%COMP%] {\n border-color: #62BAE9; }']; | ||
const styles_SelectDropdownComponent:any[] = ['\n.select2-container {\n box-sizing: border-box;\n display: inline-block;\n margin: 0;\n position: relative;\n vertical-align: middle; }\n .select2-container .select2-selection--single {\n box-sizing: border-box;\n cursor: pointer;\n display: block;\n height: 30px;\n user-select: none;\n -webkit-user-select: none; }\n .select2-container .select2-selection--single .select2-selection__rendered {\n display: block;\n padding-left: 6px;\n padding-right: 20px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap; }\n .select2-container .select2-selection--single .select2-selection__clear {\n position: relative; }\n .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {\n padding-right: 8px;\n padding-left: 20px; }\n .select2-container .select2-selection--multiple {\n box-sizing: border-box;\n cursor: pointer;\n display: block;\n min-height: 32px;\n user-select: none;\n -webkit-user-select: none; }\n .select2-container .select2-selection--multiple .select2-selection__rendered {\n display: inline-block;\n overflow: hidden;\n padding-left: 6px;\n text-overflow: ellipsis;\n white-space: nowrap; }\n .select2-container .select2-search--inline {\n float: left; }\n .select2-container .select2-search--inline .select2-search__field {\n box-sizing: border-box;\n border: none;\n font-size: 100%;\n margin-top: 5px;\n padding: 0; }\n .select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {\n -webkit-appearance: none; }\n\n.select2-dropdown {\n background-color: white;\n border: 1px solid #aaa;\n border-radius: 1px;\n box-sizing: border-box;\n display: block;\n position: absolute;\n left: -100000px;\n width: 100%;\n z-index: 1051; }\n\n.select2-results {\n display: block; }\n\n.select2-results__options {\n list-style: none;\n margin: 0;\n padding: 0; }\n\n.select2-results__option {\n padding: 6px;\n user-select: none;\n -webkit-user-select: none; }\n .select2-results__option[aria-selected] {\n cursor: pointer; }\n\n.select2-container--open .select2-dropdown {\n left: 0; }\n\n.select2-container--open .select2-dropdown--above {\n border-bottom: none;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0; }\n\n.select2-container--open .select2-dropdown--below {\n border-top: none;\n border-top-left-radius: 0;\n border-top-right-radius: 0; }\n\n.select2-search--dropdown {\n display: block;\n padding: 4px; }\n .select2-search--dropdown .select2-search__field {\n padding: 4px;\n width: 100%;\n box-sizing: border-box; }\n .select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {\n -webkit-appearance: none; }\n .select2-search--dropdown.select2-search--hide {\n display: none; }\n\n.select2-close-mask {\n border: 0;\n margin: 0;\n padding: 0;\n display: block;\n position: fixed;\n left: 0;\n top: 0;\n min-height: 100%;\n min-width: 100%;\n height: auto;\n width: auto;\n opacity: 0;\n z-index: 99;\n background-color: #fff;\n filter: alpha(opacity=0); }\n\n.select2-hidden-accessible {\n border: 0 !important;\n clip: rect(0 0 0 0) !important;\n height: 1px !important;\n margin: -1px !important;\n overflow: hidden !important;\n padding: 0 !important;\n position: absolute !important;\n width: 1px !important; }\n\n.select2-container--default .select2-selection--single {\n background-color: #fff;\n border: 1px solid #ccc;\n border-radius: 1px; }\n .select2-container--default .select2-selection--single .select2-selection__rendered {\n color: #444;\n line-height: 28px; }\n .select2-container--default .select2-selection--single .select2-selection__clear {\n cursor: pointer;\n float: right;\n font-weight: bold; }\n .select2-container--default .select2-selection--single .select2-selection__arrow {\n height: 26px;\n position: absolute;\n top: 1px;\n right: 1px;\n width: 20px; }\n .select2-container--default .select2-selection--single .select2-selection__arrow b {\n border-color: #888 transparent transparent transparent;\n border-style: solid;\n border-width: 5px 4px 0 4px;\n height: 0;\n left: 50%;\n margin-left: -4px;\n margin-top: 0;\n position: absolute;\n top: 50%;\n width: 0; }\n\n.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {\n float: left; }\n\n.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {\n left: 1px;\n right: auto; }\n\n.select2-container--default.select2-container--disabled .select2-selection--single {\n background-color: #eee;\n cursor: default; }\n .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {\n display: none; }\n\n.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {\n border-color: transparent transparent #888 transparent;\n border-width: 0 4px 5px 4px; }\n\n.select2-container--default .select2-selection--multiple {\n background-color: white;\n border: 1px solid #ccc;\n border-radius: 1px;\n cursor: text; }\n .select2-container--default .select2-selection--multiple .select2-selection__rendered {\n box-sizing: border-box;\n list-style: none;\n margin: 0;\n padding: 0 5px;\n width: 100%; }\n .select2-container--default .select2-selection--multiple .select2-selection__rendered li {\n list-style: none; }\n .select2-container--default .select2-selection--multiple .select2-selection__placeholder {\n margin-top: 5px;\n float: left; }\n .select2-container--default .select2-selection--multiple .select2-selection__clear {\n cursor: pointer;\n float: right;\n font-weight: bold;\n margin-top: 5px;\n margin-right: 10px; }\n .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background-color: #e4e4e4;\n border: 1px solid #ccc;\n border-radius: 1px;\n cursor: default;\n float: left;\n margin-right: 5px;\n margin-top: 5px;\n padding: 0 5px; }\n .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {\n color: #999;\n cursor: pointer;\n display: inline-block;\n font-weight: bold;\n margin-right: 2px; }\n .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {\n color: #333; }\n\n.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline {\n float: right; }\n\n.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {\n margin-left: 5px;\n margin-right: auto; }\n\n.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {\n margin-left: 2px;\n margin-right: auto; }\n\n.select2-container--default.select2-container--focus .select2-selection--multiple {\n border: solid black 1px;\n outline: 0; }\n\n.select2-container--default.select2-container--disabled .select2-selection--multiple {\n background-color: #eee;\n cursor: default; }\n\n.select2-container--default.select2-container--disabled .select2-selection__choice__remove {\n display: none; }\n\n.select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {\n border-top-left-radius: 0;\n border-top-right-radius: 0; }\n\n.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0; }\n\n.select2-container--default .select2-search--dropdown .select2-search__field {\n border: 1px solid #ccc; }\n\n.select2-container--default .select2-search--inline .select2-search__field {\n background: transparent;\n border: none;\n outline: 0;\n box-shadow: none;\n -webkit-appearance: textfield; }\n\n.select2-container--default .select2-results > .select2-results__options {\n max-height: 200px;\n overflow-y: auto; }\n\n.select2-container--default .select2-results__option[role=group] {\n padding: 0; }\n\n.select2-container--default .select2-results__option[aria-disabled=true] {\n color: #999; }\n\n.select2-container--default .select2-results__option[aria-selected=true] {\n background-color: #ddd; }\n\n.select2-container--default .select2-results__option .select2-results__option {\n padding-left: 1em; }\n .select2-container--default .select2-results__option .select2-results__option .select2-results__group {\n padding-left: 0; }\n .select2-container--default .select2-results__option .select2-results__option .select2-results__option {\n margin-left: -1em;\n padding-left: 2em; }\n .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {\n margin-left: -2em;\n padding-left: 3em; }\n .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {\n margin-left: -3em;\n padding-left: 4em; }\n .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {\n margin-left: -4em;\n padding-left: 5em; }\n .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {\n margin-left: -5em;\n padding-left: 6em; }\n\n.select2-container--default .select2-results__option--highlighted[aria-selected] {\n background-color: #62BAE9;\n color: white; }\n\n.select2-container--default .select2-results__group {\n cursor: default;\n display: block;\n padding: 6px; }\n\n.select2-container--classic .select2-selection--single {\n background-color: #f7f7f7;\n border: 1px solid #ccc;\n border-radius: 1px;\n outline: 0;\n background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%);\n background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%);\n background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#FFFFFFFF\', endColorstr=\'#FFEEEEEE\', GradientType=0); }\n .select2-container--classic .select2-selection--single:focus {\n border: 1px solid #62BAE9; }\n .select2-container--classic .select2-selection--single .select2-selection__rendered {\n color: #444;\n line-height: 28px; }\n .select2-container--classic .select2-selection--single .select2-selection__clear {\n cursor: pointer;\n float: right;\n font-weight: bold;\n margin-right: 10px; }\n .select2-container--classic .select2-selection--single .select2-selection__arrow {\n background-color: #ddd;\n border: none;\n border-left: 1px solid #ccc;\n border-top-right-radius: 0px;\n border-bottom-right-radius: 0px;\n height: 26px;\n position: absolute;\n top: 1px;\n right: 1px;\n width: 20px;\n background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);\n background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);\n background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#FFEEEEEE\', endColorstr=\'#FFCCCCCC\', GradientType=0); }\n .select2-container--classic .select2-selection--single .select2-selection__arrow b {\n border-color: #888 transparent transparent transparent;\n border-style: solid;\n border-width: 5px 4px 0 4px;\n height: 0;\n left: 50%;\n margin-left: -4px;\n margin-top: 0;\n position: absolute;\n top: 50%;\n width: 0; }\n\n.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear {\n float: left; }\n\n.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow {\n border: none;\n border-right: 1px solid #aaa;\n border-radius: 0;\n border-top-left-radius: 0px;\n border-bottom-left-radius: 0px;\n left: 1px;\n right: auto; }\n\n.select2-container--classic.select2-container--open .select2-selection--single {\n border: 1px solid #62BAE9; }\n .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow {\n background: transparent;\n border: none; }\n .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {\n border-color: transparent transparent #888 transparent;\n border-width: 0 4px 5px 4px; }\n\n.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {\n border-top: none;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%);\n background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%);\n background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#FFFFFFFF\', endColorstr=\'#FFEEEEEE\', GradientType=0); }\n\n.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {\n border-bottom: none;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%);\n background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%);\n background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#FFEEEEEE\', endColorstr=\'#FFFFFFFF\', GradientType=0); }\n\n.select2-container--classic .select2-selection--multiple {\n background-color: white;\n border: 1px solid #ccc;\n border-radius: 1px;\n cursor: text;\n outline: 0; }\n .select2-container--classic .select2-selection--multiple:focus {\n border: 1px solid #62BAE9; }\n .select2-container--classic .select2-selection--multiple .select2-selection__rendered {\n list-style: none;\n margin: 0;\n padding: 0 5px; }\n .select2-container--classic .select2-selection--multiple .select2-selection__clear {\n display: none; }\n .select2-container--classic .select2-selection--multiple .select2-selection__choice {\n background-color: #e4e4e4;\n border: 1px solid #ccc;\n border-radius: 1px;\n cursor: default;\n float: left;\n margin-right: 5px;\n margin-top: 5px;\n padding: 0 5px; }\n .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {\n color: #888;\n cursor: pointer;\n display: inline-block;\n font-weight: bold;\n margin-right: 2px; }\n .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {\n color: #555; }\n\n.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {\n float: right; }\n\n.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {\n margin-left: 5px;\n margin-right: auto; }\n\n.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {\n margin-left: 2px;\n margin-right: auto; }\n\n.select2-container--classic.select2-container--open .select2-selection--multiple {\n border: 1px solid #62BAE9; }\n\n.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple {\n border-top: none;\n border-top-left-radius: 0;\n border-top-right-radius: 0; }\n\n.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple {\n border-bottom: none;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0; }\n\n.select2-container--classic .select2-search--dropdown .select2-search__field {\n border: 1px solid #ccc;\n outline: 0; }\n\n.select2-container--classic .select2-search--inline .select2-search__field {\n outline: 0;\n box-shadow: none; }\n\n.select2-container--classic .select2-dropdown {\n background-color: white;\n border: 1px solid transparent; }\n\n.select2-container--classic .select2-dropdown--above {\n border-bottom: none; }\n\n.select2-container--classic .select2-dropdown--below {\n border-top: none; }\n\n.select2-container--classic .select2-results > .select2-results__options {\n max-height: 200px;\n overflow-y: auto; }\n\n.select2-container--classic .select2-results__option[role=group] {\n padding: 0; }\n\n.select2-container--classic .select2-results__option[aria-disabled=true] {\n color: grey; }\n\n.select2-container--classic .select2-results__option--highlighted[aria-selected] {\n background-color: #3875d7;\n color: white; }\n\n.select2-container--classic .select2-results__group {\n cursor: default;\n display: block;\n padding: 6px; }\n\n.select2-container--classic.select2-container--open .select2-dropdown {\n border-color: #62BAE9; }\n']; | ||
var renderType_SelectDropdownComponent:import0.RenderComponentType = (null as any); | ||
@@ -266,3 +266,3 @@ class _View_SelectDropdownComponent0 extends import1.AppView<import3.SelectDropdownComponent> { | ||
export function viewFactory_SelectDropdownComponent0(viewUtils:import4.ViewUtils,parentInjector:import5.Injector,declarationEl:import2.AppElement):import1.AppView<import3.SelectDropdownComponent> { | ||
if ((renderType_SelectDropdownComponent === (null as any))) { (renderType_SelectDropdownComponent = viewUtils.createRenderComponentType('/home/bastiaan/Develop/angular2-select/src/select-dropdown.component.ts class SelectDropdownComponent - inline template',0,import9.ViewEncapsulation.Emulated,styles_SelectDropdownComponent,{})); } | ||
if ((renderType_SelectDropdownComponent === (null as any))) { (renderType_SelectDropdownComponent = viewUtils.createRenderComponentType('',0,import9.ViewEncapsulation.None,styles_SelectDropdownComponent,{})); } | ||
return new _View_SelectDropdownComponent0(viewUtils,parentInjector,declarationEl); | ||
@@ -269,0 +269,0 @@ } |
@@ -225,3 +225,3 @@ "use strict"; | ||
if (this.multiple) { | ||
return this.value.slice(0); | ||
return this.value.length === 0 ? '' : this.value.slice(0); | ||
} | ||
@@ -236,14 +236,17 @@ else { | ||
SelectComponent.prototype.writeValue = function (value) { | ||
if (typeof value === 'undefined' || value === null) { | ||
value = []; | ||
if (typeof value === 'undefined' || value === null || value === '') { | ||
value = this.multiple ? [] : ''; | ||
} | ||
this.value = value; | ||
for (var item in this.optionsDict) { | ||
if (value.indexOf(item) > -1) { | ||
this.optionsDict[item].selected = false; | ||
} | ||
if (this.multiple) { | ||
for (var _i = 0, value_1 = value; _i < value_1.length; _i++) { | ||
var item = value_1[_i]; | ||
this.optionsDict[item].selected = true; | ||
} | ||
else { | ||
this.optionsDict[item].selected = false; | ||
} | ||
} | ||
else if (value !== '') { | ||
this.optionsDict[value].selected = true; | ||
} | ||
this.updateSelection(); | ||
@@ -375,2 +378,3 @@ }; | ||
], | ||
encapsulation: core_1.ViewEncapsulation.None, | ||
providers: [ | ||
@@ -377,0 +381,0 @@ exports.SELECT_VALUE_ACCESSOR |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":1,"metadata":{"SELECT_VALUE_ACCESSOR":{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR"},"useExisting":{"__symbolic":"reference","name":"SelectComponent"},"multi":true},"SelectComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ng-select","template":"\n<div style=\"width:100%;position:relative;\">\n <span style=\"width:100%\"\n #container\n [ngClass]=\"getContainerClass()\"\n (window:resize)=\"onWindowResize()\"\n (window:click)=\"onWindowClick()\">\n <span class=\"selection\">\n <span tabindex=0\n #selectionSpan\n [ngClass]=\"getSelectionClass()\"\n (click)=\"onSelectionClick($event)\"\n (keydown)=\"onKeydown($event)\">\n\n <span class=\"select2-selection__rendered\"\n *ngIf=\"!multiple\">\n <span class=\"select2-selection__placeholder\">\n {{getPlaceholder()}}\n </span>\n </span>\n\n <span class=\"select2-selection__rendered\"\n *ngIf=\"!multiple && selection.length > 0\">\n <span class=\"select2-selection__clear\"\n *ngIf=\"allowClear\"\n (click)=\"onClearAllClick($event)\">\n x\n </span>\n {{selection[0].label}}\n </span>\n\n <ul class=\"select2-selection__rendered\"\n *ngIf=\"multiple\">\n <li class=\"select2-selection__choice\" title=\"{{option.label}}\"\n *ngFor=\"let option of selection\">\n <span class=\"select2-selection__choice__remove\"\n [attr.data-value]=\"option.value\"\n (click)=onClearItemClick($event)>\n ×</span>\n {{option.label}}\n </li>\n <li class=\"select2-search select2-search--inline\">\n <input class=\"select2-search__field\"\n #searchInput\n placeholder=\"{{getPlaceholder()}}\"\n [ngStyle]=\"getInputStyle()\"\n (input)=\"onInput($event)\"\n (keydown)=\"onSearchKeydown($event)\"/>\n </li>\n </ul>\n\n <span class=\"select2-selection__arrow\">\n <b></b>\n </span>\n </span>\n </span>\n </span>\n <select-dropdown\n *ngIf=\"isOpen\"\n #dropdown\n [multiple]=\"multiple\"\n [optionValues]=\"optionValues\"\n [optionsDict]=\"optionsDict\"\n [selection]=\"selection\"\n [width]=\"width\"\n [top]=\"top\"\n [left]=\"left\"\n (toggleSelect)=\"onToggleSelect($event)\"\n (close)=\"onClose($event)\">\n </select-dropdown>\n</div>\n","styles":[{"__symbolic":"reference","module":"./style","name":"DEFAULT_STYLES"}],"providers":[{"__symbolic":"reference","name":"SELECT_VALUE_ACCESSOR"}]}]}],"members":{"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"multiple":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"placeholder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"allowClear":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"opened":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"closed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"selected":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"deselected":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"container":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["container"]}]}],"selectionSpan":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["selectionSpan"]}]}],"dropdown":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["dropdown"]}]}],"searchInput":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["searchInput"]}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"onSelectionClick":[{"__symbolic":"method"}],"onClearAllClick":[{"__symbolic":"method"}],"onClearItemClick":[{"__symbolic":"method"}],"onToggleSelect":[{"__symbolic":"method"}],"onClose":[{"__symbolic":"method"}],"onWindowClick":[{"__symbolic":"method"}],"onWindowResize":[{"__symbolic":"method"}],"onKeydown":[{"__symbolic":"method"}],"onInput":[{"__symbolic":"method"}],"onSearchKeydown":[{"__symbolic":"method"}],"init":[{"__symbolic":"method"}],"initOptions":[{"__symbolic":"method"}],"initDefaults":[{"__symbolic":"method"}],"toggleDropdown":[{"__symbolic":"method"}],"open":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}],"toggleSelect":[{"__symbolic":"method"}],"select":[{"__symbolic":"method"}],"deselect":[{"__symbolic":"method"}],"updateSelection":[{"__symbolic":"method"}],"popSelect":[{"__symbolic":"method"}],"clearSelected":[{"__symbolic":"method"}],"getOutputValue":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"handleKeyDown":[{"__symbolic":"method"}],"handleInput":[{"__symbolic":"method"}],"handleSearchKeyDown":[{"__symbolic":"method"}],"focus":[{"__symbolic":"method"}],"blur":[{"__symbolic":"method"}],"updateWidth":[{"__symbolic":"method"}],"updatePosition":[{"__symbolic":"method"}],"getContainerClass":[{"__symbolic":"method"}],"getSelectionClass":[{"__symbolic":"method"}],"showPlaceholder":[{"__symbolic":"method"}],"getPlaceholder":[{"__symbolic":"method"}],"getInputStyle":[{"__symbolic":"method"}]}}}} | ||
{"__symbolic":"module","version":1,"metadata":{"SELECT_VALUE_ACCESSOR":{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR"},"useExisting":{"__symbolic":"reference","name":"SelectComponent"},"multi":true},"SelectComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ng-select","template":"\n<div style=\"width:100%;position:relative;\">\n <span style=\"width:100%\"\n #container\n [ngClass]=\"getContainerClass()\"\n (window:resize)=\"onWindowResize()\"\n (window:click)=\"onWindowClick()\">\n <span class=\"selection\">\n <span tabindex=0\n #selectionSpan\n [ngClass]=\"getSelectionClass()\"\n (click)=\"onSelectionClick($event)\"\n (keydown)=\"onKeydown($event)\">\n\n <span class=\"select2-selection__rendered\"\n *ngIf=\"!multiple\">\n <span class=\"select2-selection__placeholder\">\n {{getPlaceholder()}}\n </span>\n </span>\n\n <span class=\"select2-selection__rendered\"\n *ngIf=\"!multiple && selection.length > 0\">\n <span class=\"select2-selection__clear\"\n *ngIf=\"allowClear\"\n (click)=\"onClearAllClick($event)\">\n x\n </span>\n {{selection[0].label}}\n </span>\n\n <ul class=\"select2-selection__rendered\"\n *ngIf=\"multiple\">\n <li class=\"select2-selection__choice\" title=\"{{option.label}}\"\n *ngFor=\"let option of selection\">\n <span class=\"select2-selection__choice__remove\"\n [attr.data-value]=\"option.value\"\n (click)=onClearItemClick($event)>\n ×</span>\n {{option.label}}\n </li>\n <li class=\"select2-search select2-search--inline\">\n <input class=\"select2-search__field\"\n #searchInput\n placeholder=\"{{getPlaceholder()}}\"\n [ngStyle]=\"getInputStyle()\"\n (input)=\"onInput($event)\"\n (keydown)=\"onSearchKeydown($event)\"/>\n </li>\n </ul>\n\n <span class=\"select2-selection__arrow\">\n <b></b>\n </span>\n </span>\n </span>\n </span>\n <select-dropdown\n *ngIf=\"isOpen\"\n #dropdown\n [multiple]=\"multiple\"\n [optionValues]=\"optionValues\"\n [optionsDict]=\"optionsDict\"\n [selection]=\"selection\"\n [width]=\"width\"\n [top]=\"top\"\n [left]=\"left\"\n (toggleSelect)=\"onToggleSelect($event)\"\n (close)=\"onClose($event)\">\n </select-dropdown>\n</div>\n","styles":[{"__symbolic":"reference","module":"./style","name":"DEFAULT_STYLES"}],"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation"},"member":"None"},"providers":[{"__symbolic":"reference","name":"SELECT_VALUE_ACCESSOR"}]}]}],"members":{"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"multiple":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"placeholder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"allowClear":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"opened":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"closed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"selected":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"deselected":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"container":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["container"]}]}],"selectionSpan":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["selectionSpan"]}]}],"dropdown":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["dropdown"]}]}],"searchInput":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["searchInput"]}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"onSelectionClick":[{"__symbolic":"method"}],"onClearAllClick":[{"__symbolic":"method"}],"onClearItemClick":[{"__symbolic":"method"}],"onToggleSelect":[{"__symbolic":"method"}],"onClose":[{"__symbolic":"method"}],"onWindowClick":[{"__symbolic":"method"}],"onWindowResize":[{"__symbolic":"method"}],"onKeydown":[{"__symbolic":"method"}],"onInput":[{"__symbolic":"method"}],"onSearchKeydown":[{"__symbolic":"method"}],"init":[{"__symbolic":"method"}],"initOptions":[{"__symbolic":"method"}],"initDefaults":[{"__symbolic":"method"}],"toggleDropdown":[{"__symbolic":"method"}],"open":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}],"toggleSelect":[{"__symbolic":"method"}],"select":[{"__symbolic":"method"}],"deselect":[{"__symbolic":"method"}],"updateSelection":[{"__symbolic":"method"}],"popSelect":[{"__symbolic":"method"}],"clearSelected":[{"__symbolic":"method"}],"getOutputValue":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"handleKeyDown":[{"__symbolic":"method"}],"handleInput":[{"__symbolic":"method"}],"handleSearchKeyDown":[{"__symbolic":"method"}],"focus":[{"__symbolic":"method"}],"blur":[{"__symbolic":"method"}],"updateWidth":[{"__symbolic":"method"}],"updatePosition":[{"__symbolic":"method"}],"getContainerClass":[{"__symbolic":"method"}],"getSelectionClass":[{"__symbolic":"method"}],"showPlaceholder":[{"__symbolic":"method"}],"getPlaceholder":[{"__symbolic":"method"}],"getInputStyle":[{"__symbolic":"method"}]}}}} |
@@ -69,3 +69,3 @@ /** | ||
export const SelectComponentNgFactory:import10.ComponentFactory<import3.SelectComponent> = new import10.ComponentFactory<import3.SelectComponent>('ng-select',viewFactory_SelectComponent_Host0,import3.SelectComponent); | ||
const styles_SelectComponent:any[] = ['.select2-container[_ngcontent-%COMP%] {\n box-sizing: border-box;\n display: inline-block;\n margin: 0;\n position: relative;\n vertical-align: middle; }\n .select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] {\n box-sizing: border-box;\n cursor: pointer;\n display: block;\n height: 30px;\n user-select: none;\n -webkit-user-select: none; }\n .select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] {\n display: block;\n padding-left: 6px;\n padding-right: 20px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap; }\n .select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%] {\n position: relative; }\n .select2-container[dir="rtl"][_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] {\n padding-right: 8px;\n padding-left: 20px; }\n .select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] {\n box-sizing: border-box;\n cursor: pointer;\n display: block;\n min-height: 32px;\n user-select: none;\n -webkit-user-select: none; }\n .select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] {\n display: inline-block;\n overflow: hidden;\n padding-left: 6px;\n text-overflow: ellipsis;\n white-space: nowrap; }\n .select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] {\n float: left; }\n .select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%] {\n box-sizing: border-box;\n border: none;\n font-size: 100%;\n margin-top: 5px;\n padding: 0; }\n .select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]::-webkit-search-cancel-button {\n -webkit-appearance: none; }\n\n.select2-dropdown[_ngcontent-%COMP%] {\n background-color: white;\n border: 1px solid #aaa;\n border-radius: 1px;\n box-sizing: border-box;\n display: block;\n position: absolute;\n left: -100000px;\n width: 100%;\n z-index: 1051; }\n\n.select2-results[_ngcontent-%COMP%] {\n display: block; }\n\n.select2-results__options[_ngcontent-%COMP%] {\n list-style: none;\n margin: 0;\n padding: 0; }\n\n.select2-results__option[_ngcontent-%COMP%] {\n padding: 6px;\n user-select: none;\n -webkit-user-select: none; }\n .select2-results__option[aria-selected][_ngcontent-%COMP%] {\n cursor: pointer; }\n\n.select2-container--open[_ngcontent-%COMP%] .select2-dropdown[_ngcontent-%COMP%] {\n left: 0; }\n\n.select2-container--open[_ngcontent-%COMP%] .select2-dropdown--above[_ngcontent-%COMP%] {\n border-bottom: none;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0; }\n\n.select2-container--open[_ngcontent-%COMP%] .select2-dropdown--below[_ngcontent-%COMP%] {\n border-top: none;\n border-top-left-radius: 0;\n border-top-right-radius: 0; }\n\n.select2-search--dropdown[_ngcontent-%COMP%] {\n display: block;\n padding: 4px; }\n .select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%] {\n padding: 4px;\n width: 100%;\n box-sizing: border-box; }\n .select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]::-webkit-search-cancel-button {\n -webkit-appearance: none; }\n .select2-search--dropdown.select2-search--hide[_ngcontent-%COMP%] {\n display: none; }\n\n.select2-close-mask[_ngcontent-%COMP%] {\n border: 0;\n margin: 0;\n padding: 0;\n display: block;\n position: fixed;\n left: 0;\n top: 0;\n min-height: 100%;\n min-width: 100%;\n height: auto;\n width: auto;\n opacity: 0;\n z-index: 99;\n background-color: #fff;\n filter: alpha(opacity=0); }\n\n.select2-hidden-accessible[_ngcontent-%COMP%] {\n border: 0 !important;\n clip: rect(0 0 0 0) !important;\n height: 1px !important;\n margin: -1px !important;\n overflow: hidden !important;\n padding: 0 !important;\n position: absolute !important;\n width: 1px !important; }\n\n.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] {\n background-color: #fff;\n border: 1px solid #ccc;\n border-radius: 1px; }\n .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] {\n color: #444;\n line-height: 28px; }\n .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%] {\n cursor: pointer;\n float: right;\n font-weight: bold; }\n .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%] {\n height: 26px;\n position: absolute;\n top: 1px;\n right: 1px;\n width: 20px; }\n .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%] b[_ngcontent-%COMP%] {\n border-color: #888 transparent transparent transparent;\n border-style: solid;\n border-width: 5px 4px 0 4px;\n height: 0;\n left: 50%;\n margin-left: -4px;\n margin-top: 0;\n position: absolute;\n top: 50%;\n width: 0; }\n\n.select2-container--default[dir="rtl"][_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%] {\n float: left; }\n\n.select2-container--default[dir="rtl"][_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%] {\n left: 1px;\n right: auto; }\n\n.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] {\n background-color: #eee;\n cursor: default; }\n .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%] {\n display: none; }\n\n.select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%] b[_ngcontent-%COMP%] {\n border-color: transparent transparent #888 transparent;\n border-width: 0 4px 5px 4px; }\n\n.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] {\n background-color: white;\n border: 1px solid #ccc;\n border-radius: 1px;\n cursor: text; }\n .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] {\n box-sizing: border-box;\n list-style: none;\n margin: 0;\n padding: 0 5px;\n width: 100%; }\n .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] li[_ngcontent-%COMP%] {\n list-style: none; }\n .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%] {\n margin-top: 5px;\n float: left; }\n .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%] {\n cursor: pointer;\n float: right;\n font-weight: bold;\n margin-top: 5px;\n margin-right: 10px; }\n .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice[_ngcontent-%COMP%] {\n background-color: #e4e4e4;\n border: 1px solid #ccc;\n border-radius: 1px;\n cursor: default;\n float: left;\n margin-right: 5px;\n margin-top: 5px;\n padding: 0 5px; }\n .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%] {\n color: #999;\n cursor: pointer;\n display: inline-block;\n font-weight: bold;\n margin-right: 2px; }\n .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]:hover {\n color: #333; }\n\n.select2-container--default[dir="rtl"][_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice[_ngcontent-%COMP%], .select2-container--default[dir="rtl"][_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%], .select2-container--default[dir="rtl"][_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] {\n float: right; }\n\n.select2-container--default[dir="rtl"][_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice[_ngcontent-%COMP%] {\n margin-left: 5px;\n margin-right: auto; }\n\n.select2-container--default[dir="rtl"][_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%] {\n margin-left: 2px;\n margin-right: auto; }\n\n.select2-container--default.select2-container--focus[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] {\n border: solid black 1px;\n outline: 0; }\n\n.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] {\n background-color: #eee;\n cursor: default; }\n\n.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%] {\n display: none; }\n\n.select2-container--default.select2-container--open.select2-container--above[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .select2-container--default.select2-container--open.select2-container--above[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] {\n border-top-left-radius: 0;\n border-top-right-radius: 0; }\n\n.select2-container--default.select2-container--open.select2-container--below[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .select2-container--default.select2-container--open.select2-container--below[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0; }\n\n.select2-container--default[_ngcontent-%COMP%] .select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%] {\n border: 1px solid #ccc; }\n\n.select2-container--default[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%] {\n background: transparent;\n border: none;\n outline: 0;\n box-shadow: none;\n -webkit-appearance: textfield; }\n\n.select2-container--default[_ngcontent-%COMP%] .select2-results[_ngcontent-%COMP%] > .select2-results__options[_ngcontent-%COMP%] {\n max-height: 200px;\n overflow-y: auto; }\n\n.select2-container--default[_ngcontent-%COMP%] .select2-results__option[role=group][_ngcontent-%COMP%] {\n padding: 0; }\n\n.select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-disabled=true][_ngcontent-%COMP%] {\n color: #999; }\n\n.select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%] {\n background-color: #ddd; }\n\n.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] {\n padding-left: 1em; }\n .select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%] {\n padding-left: 0; }\n .select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] {\n margin-left: -1em;\n padding-left: 2em; }\n .select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] {\n margin-left: -2em;\n padding-left: 3em; }\n .select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] {\n margin-left: -3em;\n padding-left: 4em; }\n .select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] {\n margin-left: -4em;\n padding-left: 5em; }\n .select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] {\n margin-left: -5em;\n padding-left: 6em; }\n\n.select2-container--default[_ngcontent-%COMP%] .select2-results__option--highlighted[aria-selected][_ngcontent-%COMP%] {\n background-color: #62BAE9;\n color: white; }\n\n.select2-container--default[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%] {\n cursor: default;\n display: block;\n padding: 6px; }\n\n.select2-container--classic[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] {\n background-color: #f7f7f7;\n border: 1px solid #ccc;\n border-radius: 1px;\n outline: 0;\n background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%);\n background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%);\n background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#FFFFFFFF\', endColorstr=\'#FFEEEEEE\', GradientType=0); }\n .select2-container--classic[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:focus {\n border: 1px solid #62BAE9; }\n .select2-container--classic[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] {\n color: #444;\n line-height: 28px; }\n .select2-container--classic[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%] {\n cursor: pointer;\n float: right;\n font-weight: bold;\n margin-right: 10px; }\n .select2-container--classic[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%] {\n background-color: #ddd;\n border: none;\n border-left: 1px solid #ccc;\n border-top-right-radius: 0px;\n border-bottom-right-radius: 0px;\n height: 26px;\n position: absolute;\n top: 1px;\n right: 1px;\n width: 20px;\n background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);\n background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);\n background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#FFEEEEEE\', endColorstr=\'#FFCCCCCC\', GradientType=0); }\n .select2-container--classic[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%] b[_ngcontent-%COMP%] {\n border-color: #888 transparent transparent transparent;\n border-style: solid;\n border-width: 5px 4px 0 4px;\n height: 0;\n left: 50%;\n margin-left: -4px;\n margin-top: 0;\n position: absolute;\n top: 50%;\n width: 0; }\n\n.select2-container--classic[dir="rtl"][_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%] {\n float: left; }\n\n.select2-container--classic[dir="rtl"][_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%] {\n border: none;\n border-right: 1px solid #aaa;\n border-radius: 0;\n border-top-left-radius: 0px;\n border-bottom-left-radius: 0px;\n left: 1px;\n right: auto; }\n\n.select2-container--classic.select2-container--open[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] {\n border: 1px solid #62BAE9; }\n .select2-container--classic.select2-container--open[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%] {\n background: transparent;\n border: none; }\n .select2-container--classic.select2-container--open[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%] b[_ngcontent-%COMP%] {\n border-color: transparent transparent #888 transparent;\n border-width: 0 4px 5px 4px; }\n\n.select2-container--classic.select2-container--open.select2-container--above[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] {\n border-top: none;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%);\n background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%);\n background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#FFFFFFFF\', endColorstr=\'#FFEEEEEE\', GradientType=0); }\n\n.select2-container--classic.select2-container--open.select2-container--below[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] {\n border-bottom: none;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%);\n background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%);\n background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#FFEEEEEE\', endColorstr=\'#FFFFFFFF\', GradientType=0); }\n\n.select2-container--classic[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] {\n background-color: white;\n border: 1px solid #ccc;\n border-radius: 1px;\n cursor: text;\n outline: 0; }\n .select2-container--classic[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:focus {\n border: 1px solid #62BAE9; }\n .select2-container--classic[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] {\n list-style: none;\n margin: 0;\n padding: 0 5px; }\n .select2-container--classic[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%] {\n display: none; }\n .select2-container--classic[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice[_ngcontent-%COMP%] {\n background-color: #e4e4e4;\n border: 1px solid #ccc;\n border-radius: 1px;\n cursor: default;\n float: left;\n margin-right: 5px;\n margin-top: 5px;\n padding: 0 5px; }\n .select2-container--classic[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%] {\n color: #888;\n cursor: pointer;\n display: inline-block;\n font-weight: bold;\n margin-right: 2px; }\n .select2-container--classic[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]:hover {\n color: #555; }\n\n.select2-container--classic[dir="rtl"][_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice[_ngcontent-%COMP%] {\n float: right; }\n\n.select2-container--classic[dir="rtl"][_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice[_ngcontent-%COMP%] {\n margin-left: 5px;\n margin-right: auto; }\n\n.select2-container--classic[dir="rtl"][_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%] {\n margin-left: 2px;\n margin-right: auto; }\n\n.select2-container--classic.select2-container--open[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] {\n border: 1px solid #62BAE9; }\n\n.select2-container--classic.select2-container--open.select2-container--above[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] {\n border-top: none;\n border-top-left-radius: 0;\n border-top-right-radius: 0; }\n\n.select2-container--classic.select2-container--open.select2-container--below[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] {\n border-bottom: none;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0; }\n\n.select2-container--classic[_ngcontent-%COMP%] .select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%] {\n border: 1px solid #ccc;\n outline: 0; }\n\n.select2-container--classic[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%] {\n outline: 0;\n box-shadow: none; }\n\n.select2-container--classic[_ngcontent-%COMP%] .select2-dropdown[_ngcontent-%COMP%] {\n background-color: white;\n border: 1px solid transparent; }\n\n.select2-container--classic[_ngcontent-%COMP%] .select2-dropdown--above[_ngcontent-%COMP%] {\n border-bottom: none; }\n\n.select2-container--classic[_ngcontent-%COMP%] .select2-dropdown--below[_ngcontent-%COMP%] {\n border-top: none; }\n\n.select2-container--classic[_ngcontent-%COMP%] .select2-results[_ngcontent-%COMP%] > .select2-results__options[_ngcontent-%COMP%] {\n max-height: 200px;\n overflow-y: auto; }\n\n.select2-container--classic[_ngcontent-%COMP%] .select2-results__option[role=group][_ngcontent-%COMP%] {\n padding: 0; }\n\n.select2-container--classic[_ngcontent-%COMP%] .select2-results__option[aria-disabled=true][_ngcontent-%COMP%] {\n color: grey; }\n\n.select2-container--classic[_ngcontent-%COMP%] .select2-results__option--highlighted[aria-selected][_ngcontent-%COMP%] {\n background-color: #3875d7;\n color: white; }\n\n.select2-container--classic[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%] {\n cursor: default;\n display: block;\n padding: 6px; }\n\n.select2-container--classic.select2-container--open[_ngcontent-%COMP%] .select2-dropdown[_ngcontent-%COMP%] {\n border-color: #62BAE9; }']; | ||
const styles_SelectComponent:any[] = ['\n.select2-container {\n box-sizing: border-box;\n display: inline-block;\n margin: 0;\n position: relative;\n vertical-align: middle; }\n .select2-container .select2-selection--single {\n box-sizing: border-box;\n cursor: pointer;\n display: block;\n height: 30px;\n user-select: none;\n -webkit-user-select: none; }\n .select2-container .select2-selection--single .select2-selection__rendered {\n display: block;\n padding-left: 6px;\n padding-right: 20px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap; }\n .select2-container .select2-selection--single .select2-selection__clear {\n position: relative; }\n .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {\n padding-right: 8px;\n padding-left: 20px; }\n .select2-container .select2-selection--multiple {\n box-sizing: border-box;\n cursor: pointer;\n display: block;\n min-height: 32px;\n user-select: none;\n -webkit-user-select: none; }\n .select2-container .select2-selection--multiple .select2-selection__rendered {\n display: inline-block;\n overflow: hidden;\n padding-left: 6px;\n text-overflow: ellipsis;\n white-space: nowrap; }\n .select2-container .select2-search--inline {\n float: left; }\n .select2-container .select2-search--inline .select2-search__field {\n box-sizing: border-box;\n border: none;\n font-size: 100%;\n margin-top: 5px;\n padding: 0; }\n .select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {\n -webkit-appearance: none; }\n\n.select2-dropdown {\n background-color: white;\n border: 1px solid #aaa;\n border-radius: 1px;\n box-sizing: border-box;\n display: block;\n position: absolute;\n left: -100000px;\n width: 100%;\n z-index: 1051; }\n\n.select2-results {\n display: block; }\n\n.select2-results__options {\n list-style: none;\n margin: 0;\n padding: 0; }\n\n.select2-results__option {\n padding: 6px;\n user-select: none;\n -webkit-user-select: none; }\n .select2-results__option[aria-selected] {\n cursor: pointer; }\n\n.select2-container--open .select2-dropdown {\n left: 0; }\n\n.select2-container--open .select2-dropdown--above {\n border-bottom: none;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0; }\n\n.select2-container--open .select2-dropdown--below {\n border-top: none;\n border-top-left-radius: 0;\n border-top-right-radius: 0; }\n\n.select2-search--dropdown {\n display: block;\n padding: 4px; }\n .select2-search--dropdown .select2-search__field {\n padding: 4px;\n width: 100%;\n box-sizing: border-box; }\n .select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {\n -webkit-appearance: none; }\n .select2-search--dropdown.select2-search--hide {\n display: none; }\n\n.select2-close-mask {\n border: 0;\n margin: 0;\n padding: 0;\n display: block;\n position: fixed;\n left: 0;\n top: 0;\n min-height: 100%;\n min-width: 100%;\n height: auto;\n width: auto;\n opacity: 0;\n z-index: 99;\n background-color: #fff;\n filter: alpha(opacity=0); }\n\n.select2-hidden-accessible {\n border: 0 !important;\n clip: rect(0 0 0 0) !important;\n height: 1px !important;\n margin: -1px !important;\n overflow: hidden !important;\n padding: 0 !important;\n position: absolute !important;\n width: 1px !important; }\n\n.select2-container--default .select2-selection--single {\n background-color: #fff;\n border: 1px solid #ccc;\n border-radius: 1px; }\n .select2-container--default .select2-selection--single .select2-selection__rendered {\n color: #444;\n line-height: 28px; }\n .select2-container--default .select2-selection--single .select2-selection__clear {\n cursor: pointer;\n float: right;\n font-weight: bold; }\n .select2-container--default .select2-selection--single .select2-selection__arrow {\n height: 26px;\n position: absolute;\n top: 1px;\n right: 1px;\n width: 20px; }\n .select2-container--default .select2-selection--single .select2-selection__arrow b {\n border-color: #888 transparent transparent transparent;\n border-style: solid;\n border-width: 5px 4px 0 4px;\n height: 0;\n left: 50%;\n margin-left: -4px;\n margin-top: 0;\n position: absolute;\n top: 50%;\n width: 0; }\n\n.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {\n float: left; }\n\n.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {\n left: 1px;\n right: auto; }\n\n.select2-container--default.select2-container--disabled .select2-selection--single {\n background-color: #eee;\n cursor: default; }\n .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {\n display: none; }\n\n.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {\n border-color: transparent transparent #888 transparent;\n border-width: 0 4px 5px 4px; }\n\n.select2-container--default .select2-selection--multiple {\n background-color: white;\n border: 1px solid #ccc;\n border-radius: 1px;\n cursor: text; }\n .select2-container--default .select2-selection--multiple .select2-selection__rendered {\n box-sizing: border-box;\n list-style: none;\n margin: 0;\n padding: 0 5px;\n width: 100%; }\n .select2-container--default .select2-selection--multiple .select2-selection__rendered li {\n list-style: none; }\n .select2-container--default .select2-selection--multiple .select2-selection__placeholder {\n margin-top: 5px;\n float: left; }\n .select2-container--default .select2-selection--multiple .select2-selection__clear {\n cursor: pointer;\n float: right;\n font-weight: bold;\n margin-top: 5px;\n margin-right: 10px; }\n .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background-color: #e4e4e4;\n border: 1px solid #ccc;\n border-radius: 1px;\n cursor: default;\n float: left;\n margin-right: 5px;\n margin-top: 5px;\n padding: 0 5px; }\n .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {\n color: #999;\n cursor: pointer;\n display: inline-block;\n font-weight: bold;\n margin-right: 2px; }\n .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {\n color: #333; }\n\n.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline {\n float: right; }\n\n.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {\n margin-left: 5px;\n margin-right: auto; }\n\n.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {\n margin-left: 2px;\n margin-right: auto; }\n\n.select2-container--default.select2-container--focus .select2-selection--multiple {\n border: solid black 1px;\n outline: 0; }\n\n.select2-container--default.select2-container--disabled .select2-selection--multiple {\n background-color: #eee;\n cursor: default; }\n\n.select2-container--default.select2-container--disabled .select2-selection__choice__remove {\n display: none; }\n\n.select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {\n border-top-left-radius: 0;\n border-top-right-radius: 0; }\n\n.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0; }\n\n.select2-container--default .select2-search--dropdown .select2-search__field {\n border: 1px solid #ccc; }\n\n.select2-container--default .select2-search--inline .select2-search__field {\n background: transparent;\n border: none;\n outline: 0;\n box-shadow: none;\n -webkit-appearance: textfield; }\n\n.select2-container--default .select2-results > .select2-results__options {\n max-height: 200px;\n overflow-y: auto; }\n\n.select2-container--default .select2-results__option[role=group] {\n padding: 0; }\n\n.select2-container--default .select2-results__option[aria-disabled=true] {\n color: #999; }\n\n.select2-container--default .select2-results__option[aria-selected=true] {\n background-color: #ddd; }\n\n.select2-container--default .select2-results__option .select2-results__option {\n padding-left: 1em; }\n .select2-container--default .select2-results__option .select2-results__option .select2-results__group {\n padding-left: 0; }\n .select2-container--default .select2-results__option .select2-results__option .select2-results__option {\n margin-left: -1em;\n padding-left: 2em; }\n .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {\n margin-left: -2em;\n padding-left: 3em; }\n .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {\n margin-left: -3em;\n padding-left: 4em; }\n .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {\n margin-left: -4em;\n padding-left: 5em; }\n .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {\n margin-left: -5em;\n padding-left: 6em; }\n\n.select2-container--default .select2-results__option--highlighted[aria-selected] {\n background-color: #62BAE9;\n color: white; }\n\n.select2-container--default .select2-results__group {\n cursor: default;\n display: block;\n padding: 6px; }\n\n.select2-container--classic .select2-selection--single {\n background-color: #f7f7f7;\n border: 1px solid #ccc;\n border-radius: 1px;\n outline: 0;\n background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%);\n background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%);\n background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#FFFFFFFF\', endColorstr=\'#FFEEEEEE\', GradientType=0); }\n .select2-container--classic .select2-selection--single:focus {\n border: 1px solid #62BAE9; }\n .select2-container--classic .select2-selection--single .select2-selection__rendered {\n color: #444;\n line-height: 28px; }\n .select2-container--classic .select2-selection--single .select2-selection__clear {\n cursor: pointer;\n float: right;\n font-weight: bold;\n margin-right: 10px; }\n .select2-container--classic .select2-selection--single .select2-selection__arrow {\n background-color: #ddd;\n border: none;\n border-left: 1px solid #ccc;\n border-top-right-radius: 0px;\n border-bottom-right-radius: 0px;\n height: 26px;\n position: absolute;\n top: 1px;\n right: 1px;\n width: 20px;\n background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);\n background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);\n background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#FFEEEEEE\', endColorstr=\'#FFCCCCCC\', GradientType=0); }\n .select2-container--classic .select2-selection--single .select2-selection__arrow b {\n border-color: #888 transparent transparent transparent;\n border-style: solid;\n border-width: 5px 4px 0 4px;\n height: 0;\n left: 50%;\n margin-left: -4px;\n margin-top: 0;\n position: absolute;\n top: 50%;\n width: 0; }\n\n.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear {\n float: left; }\n\n.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow {\n border: none;\n border-right: 1px solid #aaa;\n border-radius: 0;\n border-top-left-radius: 0px;\n border-bottom-left-radius: 0px;\n left: 1px;\n right: auto; }\n\n.select2-container--classic.select2-container--open .select2-selection--single {\n border: 1px solid #62BAE9; }\n .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow {\n background: transparent;\n border: none; }\n .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {\n border-color: transparent transparent #888 transparent;\n border-width: 0 4px 5px 4px; }\n\n.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {\n border-top: none;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%);\n background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%);\n background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#FFFFFFFF\', endColorstr=\'#FFEEEEEE\', GradientType=0); }\n\n.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {\n border-bottom: none;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%);\n background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%);\n background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#FFEEEEEE\', endColorstr=\'#FFFFFFFF\', GradientType=0); }\n\n.select2-container--classic .select2-selection--multiple {\n background-color: white;\n border: 1px solid #ccc;\n border-radius: 1px;\n cursor: text;\n outline: 0; }\n .select2-container--classic .select2-selection--multiple:focus {\n border: 1px solid #62BAE9; }\n .select2-container--classic .select2-selection--multiple .select2-selection__rendered {\n list-style: none;\n margin: 0;\n padding: 0 5px; }\n .select2-container--classic .select2-selection--multiple .select2-selection__clear {\n display: none; }\n .select2-container--classic .select2-selection--multiple .select2-selection__choice {\n background-color: #e4e4e4;\n border: 1px solid #ccc;\n border-radius: 1px;\n cursor: default;\n float: left;\n margin-right: 5px;\n margin-top: 5px;\n padding: 0 5px; }\n .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {\n color: #888;\n cursor: pointer;\n display: inline-block;\n font-weight: bold;\n margin-right: 2px; }\n .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {\n color: #555; }\n\n.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {\n float: right; }\n\n.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {\n margin-left: 5px;\n margin-right: auto; }\n\n.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {\n margin-left: 2px;\n margin-right: auto; }\n\n.select2-container--classic.select2-container--open .select2-selection--multiple {\n border: 1px solid #62BAE9; }\n\n.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple {\n border-top: none;\n border-top-left-radius: 0;\n border-top-right-radius: 0; }\n\n.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple {\n border-bottom: none;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0; }\n\n.select2-container--classic .select2-search--dropdown .select2-search__field {\n border: 1px solid #ccc;\n outline: 0; }\n\n.select2-container--classic .select2-search--inline .select2-search__field {\n outline: 0;\n box-shadow: none; }\n\n.select2-container--classic .select2-dropdown {\n background-color: white;\n border: 1px solid transparent; }\n\n.select2-container--classic .select2-dropdown--above {\n border-bottom: none; }\n\n.select2-container--classic .select2-dropdown--below {\n border-top: none; }\n\n.select2-container--classic .select2-results > .select2-results__options {\n max-height: 200px;\n overflow-y: auto; }\n\n.select2-container--classic .select2-results__option[role=group] {\n padding: 0; }\n\n.select2-container--classic .select2-results__option[aria-disabled=true] {\n color: grey; }\n\n.select2-container--classic .select2-results__option--highlighted[aria-selected] {\n background-color: #3875d7;\n color: white; }\n\n.select2-container--classic .select2-results__group {\n cursor: default;\n display: block;\n padding: 6px; }\n\n.select2-container--classic.select2-container--open .select2-dropdown {\n border-color: #62BAE9; }\n']; | ||
var renderType_SelectComponent:import0.RenderComponentType = (null as any); | ||
@@ -313,3 +313,3 @@ class _View_SelectComponent0 extends import1.AppView<import3.SelectComponent> { | ||
export function viewFactory_SelectComponent0(viewUtils:import4.ViewUtils,parentInjector:import5.Injector,declarationEl:import2.AppElement):import1.AppView<import3.SelectComponent> { | ||
if ((renderType_SelectComponent === (null as any))) { (renderType_SelectComponent = viewUtils.createRenderComponentType('/home/bastiaan/Develop/angular2-select/src/select.component.ts class SelectComponent - inline template',0,import9.ViewEncapsulation.Emulated,styles_SelectComponent,{})); } | ||
if ((renderType_SelectComponent === (null as any))) { (renderType_SelectComponent = viewUtils.createRenderComponentType('',0,import9.ViewEncapsulation.None,styles_SelectComponent,{})); } | ||
return new _View_SelectComponent0(viewUtils,parentInjector,declarationEl); | ||
@@ -316,0 +316,0 @@ } |
@@ -11,15 +11,8 @@ { | ||
"sourceMap": false, | ||
"target": "es5", | ||
"typeRoots": [ | ||
"./node_modules/@types" | ||
], | ||
"types": [ | ||
"core-js", | ||
"jasmine", | ||
"node" | ||
] | ||
"target": "es5" | ||
}, | ||
"include": [ | ||
"index.ts", | ||
"src/*.ts" | ||
"src/*.ts", | ||
"node_modules/@types/**/*.d.ts" | ||
], | ||
@@ -26,0 +19,0 @@ "exclude": [ |
3
243393
4019
- Removed@types/node@~6.0.42
- Removed@types/node@6.0.118(transitive)