@ng-select/ng-select
Advanced tools
Comparing version 0.34.3 to 0.35.0
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("rxjs/Subject"),require("rxjs/observable/merge"),require("rxjs/operators"),require("@angular/forms"),require("@angular/common")):"function"==typeof define&&define.amd?define(["exports","@angular/core","rxjs/Subject","rxjs/observable/merge","rxjs/operators","@angular/forms","@angular/common"],t):t((e["ng-select"]=e["ng-select"]||{},e["ng-select"]["ng-select"]={}),e.ng.core,e.Rx,e.Rx.Observable,e.Rx.Observable.prototype,e.ng.forms,e.ng.common)}(this,function(e,t,n,i,o,r,s){"use strict";function l(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function a(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(l){o={error:l}}finally{try{i&&!i.done&&(n=r["return"])&&n.call(r)}finally{if(o)throw o.error}}return s}function c(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(a(arguments[t]));return e}function p(e){return e.replace(/[^\u0000-\u007E]/g,function(e){return E[e]||e})}function u(e){return null!==e&&e!==undefined}function d(e){return u(e)&&"object"==typeof e}function h(e){return e instanceof Promise}function m(e){return e instanceof Function}var g=function(){return function(e){this.template=e}}();g.decorators=[{type:t.Directive,args:[{selector:"[ng-option-tmp]"}]}],g.ctorParameters=function(){return[{type:t.TemplateRef}]};var f=function(){return function(e){this.template=e}}();f.decorators=[{type:t.Directive,args:[{selector:"[ng-optgroup-tmp]"}]}],f.ctorParameters=function(){return[{type:t.TemplateRef}]};var v=function(){return function(e){this.template=e}}();v.decorators=[{type:t.Directive,args:[{selector:"[ng-label-tmp]"}]}],v.ctorParameters=function(){return[{type:t.TemplateRef}]};var y=function(){return function(e){this.template=e}}();y.decorators=[{type:t.Directive,args:[{selector:"[ng-multi-label-tmp]"}]}],y.ctorParameters=function(){return[{type:t.TemplateRef}]};var b=function(){return function(e){this.template=e}}();b.decorators=[{type:t.Directive,args:[{selector:"[ng-header-tmp]"}]}],b.ctorParameters=function(){return[{type:t.TemplateRef}]};var _=function(){return function(e){this.template=e}}();_.decorators=[{type:t.Directive,args:[{selector:"[ng-footer-tmp]"}]}],_.ctorParameters=function(){return[{type:t.TemplateRef}]};var T=function(){return function(e){this.template=e}}();T.decorators=[{type:t.Directive,args:[{selector:"[ng-notfound-tmp]"}]}],T.ctorParameters=function(){return[{type:t.TemplateRef}]};var I=function(){return function(e){this.template=e}}();I.decorators=[{type:t.Directive,args:[{selector:"[ng-typetosearch-tmp]"}]}],I.ctorParameters=function(){return[{type:t.TemplateRef}]};var w=function(){return function(e){this.template=e}}();w.decorators=[{type:t.Directive,args:[{selector:"[ng-loadingtext-tmp]"}]}],w.ctorParameters=function(){return[{type:t.TemplateRef}]};var x={Tab:9,Enter:13,Esc:27,Space:32,ArrowUp:38,ArrowDown:40,Backspace:8};x[x.Tab]="Tab",x[x.Enter]="Enter",x[x.Esc]="Esc",x[x.Space]="Space",x[x.ArrowUp]="ArrowUp",x[x.ArrowDown]="ArrowDown",x[x.Backspace]="Backspace";var E={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"},O=function(){function e(e){this._ngSelect=e,this._items=[],this._filteredItems=[],this._markedIndex=-1,this._selected=[]}return Object.defineProperty(e.prototype,"items",{get:function(){return this._items},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filteredItems",{get:function(){return this._filteredItems},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._selected},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"markedItem",{get:function(){return this._filteredItems[this._markedIndex]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"markedIndex",{get:function(){return this._markedIndex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"noItemsToSelect",{get:function(){return this._ngSelect.hideSelected&&this._items.length===this._selected.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxItemsSelected",{get:function(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this._selected.length},enumerable:!0,configurable:!0}),e.prototype.setItems=function(e){var t=this;this._items=e.map(function(e,n){return t.mapItem(e,n)}),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):this._groups={undefined:this._items},this._filteredItems=c(this._items)},e.prototype.select=function(e){e.selected||this.maxItemsSelected||(this._ngSelect.multiple||this.clearSelected(),this._selected.push(e),e.selected=!0,this._ngSelect.hideSelected&&(this._filteredItems=this._filteredItems.filter(function(t){return t!==e})))},e.prototype.findItem=function(e){var t=this;if(this._ngSelect.bindValue)return this._items.find(function(n){return!n.hasChildren&&t.resolveNested(n.value,t._ngSelect.bindValue)===e});var n=this._items.find(function(t){return t.value===e}),i=this._ngSelect.compareWith?function(n){return t._ngSelect.compareWith(n.value,e)}:function(n){return!n.hasChildren&&n.label&&n.label===t.resolveNested(e,t._ngSelect.bindLabel)};return n||this._items.find(function(e){return i(e)})},e.prototype.unselect=function(e){this._selected=this._selected.filter(function(t){return t!==e}),e.selected=!1,this._ngSelect.hideSelected&&(this._filteredItems.splice(e.index,0,e),this._filteredItems=c(this._filteredItems.sort(function(e,t){return e.index-t.index})))},e.prototype.unselectLast=function(){0!==this._selected.length&&this.unselect(this._lastSelectedItem)},e.prototype.addItem=function(e){var t=this.mapItem(e,this._items.length);return this._items.push(t),this._filteredItems.push(t),t},e.prototype.clearSelected=function(){this._selected.forEach(function(e){e.selected=!1,e.marked=!1}),this._selected=[],this._ngSelect.hideSelected&&this.resetItems()},e.prototype.filter=function(e){if(e){this._filteredItems=[],e=p(e).toLocaleLowerCase();var t=this;try{for(var n=l(Object.keys(this._groups)),i=n.next();!i.done;i=n.next())!function(n){var i=[];try{for(var o=l(t._groups[n]),r=o.next();!r.done;r=o.next()){var s=r.value,u=p(s.label).toLocaleLowerCase();t._ngSelect.hideSelected&&t._selected.indexOf(s)>-1||u.indexOf(e)>-1&&i.push(s)}}catch(v){m={error:v}}finally{try{r&&!r.done&&(g=o["return"])&&g.call(o)}finally{if(m)throw m.error}}if(i.length>0){var d=a(i.slice(-1),1)[0];if(d.parent){var h=t._items.find(function(e){return e===d.parent});t._filteredItems.push(h)}(f=t._filteredItems).push.apply(f,c(i))}var m,g,f}(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=n["return"])&&r.call(n)}finally{if(o)throw o.error}}var o,r}else this.resetItems()},e.prototype.resetItems=function(){var e=this;this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected?this._items.filter(function(t){return-1===e._selected.indexOf(t)}):this._items)},e.prototype.unmarkItem=function(){this._markedIndex=-1},e.prototype.markNextItem=function(){this._stepToItem(1)},e.prototype.markPreviousItem=function(){this._stepToItem(-1)},e.prototype.markItem=function(e){this._markedIndex=this._filteredItems.indexOf(e)},e.prototype.markSelectedOrDefault=function(e){if(0!==this._filteredItems.length){var t=this._ngSelect.hideSelected?-1:this._filteredItems.indexOf(this._lastSelectedItem);this._lastSelectedItem&&t>-1?this._markedIndex=t:this._markedIndex=e?this.filteredItems.findIndex(function(e){return!e.disabled}):-1}},e.prototype.resolveNested=function(e,t){if(!d(e))return e;if(-1===t.indexOf("."))return e[t];for(var n=t.split("."),i=e,o=0,r=n.length;o<r;++o){if(null==i)return null;i=i[n[o]]}return i},e.prototype.mapItem=function(e,t){var n=this.resolveNested(e,this._ngSelect.bindLabel);return{index:t,label:u(n)?n.toString():"",value:e,disabled:e.disabled}},e.prototype.mapSelectedItems=function(){var e=this;this._selected.forEach(function(t,n){var i=e._ngSelect.bindValue?t.value[e._ngSelect.bindValue]:t.value,o=e.findItem(i);o&&t!==o&&(o.selected=!0,e._selected[n]=o)}),this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(function(t){return-1===e._selected.indexOf(t)}))},e.prototype._getNextItemIndex=function(e){return e>0?this._markedIndex===this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1},e.prototype._stepToItem=function(e){0===this._filteredItems.length||this._filteredItems.every(function(e){return e.disabled})||(this._markedIndex=this._getNextItemIndex(e),this.markedItem.disabled&&this._stepToItem(e))},Object.defineProperty(e.prototype,"_lastSelectedItem",{get:function(){return this._selected[this._selected.length-1]},enumerable:!0,configurable:!0}),e.prototype._groupBy=function(e,t){var n=this,i=t instanceof Function;return e.reduce(function(e,o){var r=i?t.apply(n,[o.value]):o.value[t];return e[r]=e[r]||[],e[r].push(o),e},{})},e.prototype._flatten=function(e){var t=this,n=0;return Object.keys(e).reduce(function(i,o){var r={label:o,hasChildren:!0,index:n,disabled:!t._ngSelect.selectableGroup};r.value={},r.value[t._ngSelect.groupBy]=o,i.push(r),n++;var s=e[o].map(function(e){return e.parent=r,e.hasChildren=!1,n++,e});return i.push.apply(i,c(s)),i},[])},e}(),S=function(){function e(e){this.elementRef=e,this.stateChange$=new n.Subject,this._disabled=!1}return Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=this._isDisabled(e)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){e.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})},e.prototype._isDisabled=function(e){return null!=e&&""+e!="false"},e}();S.decorators=[{type:t.Component,args:[{selector:"ng-option",changeDetection:t.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>"}]}],S.ctorParameters=function(){return[{type:t.ElementRef}]},S.propDecorators={value:[{type:t.Input}],disabled:[{type:t.Input}]};var L=function(){function e(){}return e.prototype.requestAnimationFrame=function(e){return window.requestAnimationFrame(e)},e}();L.decorators=[{type:t.Injectable}],L.ctorParameters=function(){return[]};var k=function(){function e(){}return e.prototype.calculateItems=function(e,t,n){var i=e.childHeight*e.itemsLength;t.scrollTop>i&&(t.scrollTop=i);var o=Math.max(0,t.scrollTop)/i*e.itemsLength,r=Math.min(e.itemsLength,Math.ceil(o)+(e.itemsPerCol+1)),s=r,l=Math.max(0,s-e.itemsPerCol-1),a=Math.min(l,Math.floor(o)),c=e.childHeight*Math.ceil(a)-e.childHeight*Math.min(a,n);return c=isNaN(c)?0:c,a=isNaN(a)?-1:a,r=isNaN(r)?-1:r,a-=n,a=Math.max(0,a),r+=n,r=Math.min(e.itemsLength,r),{topPadding:c,scrollHeight:i,start:a,end:r}},e.prototype.calculateDimensions=function(e,t,n,i){var o=n.getBoundingClientRect(),r=i.children[t]?i.children[t].getBoundingClientRect():{width:o.width,height:o.height,top:0},s=Math.max(1,Math.floor(o.height/r.height));return{itemsLength:e,viewWidth:o.width,viewHeight:o.height,childWidth:r.width,childHeight:r.height,itemsPerCol:s}},e}();k.decorators=[{type:t.Injectable}],k.ctorParameters=function(){return[]};var C=function(){function e(e,n,i,o,r,s){this._renderer=n,this._elementRef=i,this._zone=o,this._virtualScrollService=r,this._window=s,this.items=[],this.position="auto",this.bufferAmount=4,this.virtualScroll=!1,this.update=new t.EventEmitter,this.scrollToEnd=new t.EventEmitter,this._startupLoop=!0,this._isScrolledToMarked=!1,this._scrollToEndFired=!1,this._disposeScrollListener=function(){},this._disposeDocumentResizeListener=function(){},this._selectElementRef=e.elementRef,this._itemsList=e.itemsList}return e.prototype.ngOnInit=function(){this._handleScroll()},e.prototype.ngOnChanges=function(e){e.items&&this._handleItemsChange(e.items)},e.prototype.ngOnDestroy=function(){this._disposeDocumentResizeListener(),this._disposeScrollListener(),this.appendTo&&this._renderer.removeChild(this._elementRef.nativeElement.parentNode,this._elementRef.nativeElement)},e.prototype.ngAfterContentInit=function(){var e=this;this._whenContentReady().then(function(){e._handleDropdownPosition()})},e.prototype.refresh=function(){var e=this;return new Promise(function(t){e._zone.runOutsideAngular(function(){e._window.requestAnimationFrame(function(){e._updateItems().then(t)})})})},e.prototype.scrollInto=function(e){if(e){var t=this.items.indexOf(e);if(!(t<0||t>=this.items.length)){var n=this._calculateDimensions(this.virtualScroll?0:t),i=this.scrollElementRef.nativeElement,o=Math.floor(n.viewHeight/n.childHeight)-1;if(this.virtualScroll)i.scrollTop=t*n.childHeight-n.childHeight*Math.min(t,o);else{var r=this.contentElementRef.nativeElement,s=Array.from(r.children).slice(0,t).reduce(function(e,t){return e+t.clientHeight},0);i.scrollTop=s-n.childHeight*Math.min(t,o)}}}},e.prototype.scrollIntoTag=function(){var e=this.scrollElementRef.nativeElement,t=this._calculateDimensions();e.scrollTop=t.childHeight*(t.itemsLength+1)},e.prototype._handleScroll=function(){var e=this;this._disposeScrollListener=this._renderer.listen(this.scrollElementRef.nativeElement,"scroll",function(){e.refresh(),e._fireScrollToEnd()})},e.prototype._handleItemsChange=function(e){var t=this;this._scrollToEndFired=!1,this._previousStart=undefined,this._previousEnd=undefined,(e!==undefined&&e.previousValue===undefined||e.previousValue!==undefined&&0===e.previousValue.length)&&(this._startupLoop=!0),this.items=e.currentValue||[],this.refresh().then(function(){t.appendTo&&"top"===t._currentPosition&&t._updateAppendedDropdownPosition()})},e.prototype._updateItems=function(){var e=this;if(t.NgZone.assertNotInAngularZone(),!this.virtualScroll)return this._zone.run(function(){e.update.emit(e.items.slice()),e._scrollToMarked()}),Promise.resolve();var n=function(t){var i=e._calculateDimensions(),o=e._virtualScrollService.calculateItems(i,e.scrollElementRef.nativeElement,e.bufferAmount||0);e.paddingElementRef.nativeElement.style.height=o.scrollHeight+"px";var r="translateY("+o.topPadding+"px)";e.contentElementRef.nativeElement.style.transform=r,o.start!==e._previousStart||o.end!==e._previousEnd?(e._zone.run(function(){e.update.emit(e.items.slice(o.start,o.end))}),e._previousStart=o.start,e._previousEnd=o.end,!0===e._startupLoop&&n(t)):!0===e._startupLoop&&(e._startupLoop=!1,e._scrollToMarked(),t())};return new Promise(function(e){return n(e)})},e.prototype._fireScrollToEnd=function(){if(!this._scrollToEndFired){var e=this.scrollElementRef.nativeElement,t=this._elementRef.nativeElement,n=this.virtualScroll?this.paddingElementRef.nativeElement:this.contentElementRef.nativeElement;e.scrollTop+t.clientHeight>=n.clientHeight&&(this.scrollToEnd.emit(),this._scrollToEndFired=!0)}},e.prototype._calculateDimensions=function(e){return void 0===e&&(e=0),this._virtualScrollService.calculateDimensions(this.items.length,e,this.scrollElementRef.nativeElement,this.contentElementRef.nativeElement)},e.prototype._handleDocumentResize=function(){var e=this;this.appendTo&&(this._disposeDocumentResizeListener=this._renderer.listen("window","resize",function(){e._updateAppendedDropdownPosition()}))},e.prototype._scrollToMarked=function(){this._isScrolledToMarked||(this._isScrolledToMarked=!0,this.scrollInto(this._itemsList.markedItem))},e.prototype._handleDropdownPosition=function(){this.appendTo&&(this._appendDropdown(),this._handleDocumentResize());var e=this._elementRef.nativeElement;this._currentPosition=this._calculateCurrentPosition(e);var t=this._selectElementRef.nativeElement;"top"===this._currentPosition?(this._renderer.addClass(e,"top"),this._renderer.removeClass(e,"bottom"),this._renderer.addClass(t,"top"),this._renderer.removeClass(t,"bottom")):(this._renderer.addClass(e,"bottom"),this._renderer.removeClass(e,"top"),this._renderer.addClass(t,"bottom"),this._renderer.removeClass(t,"top")),this.appendTo&&this._updateAppendedDropdownPosition(),e.style.opacity="1"},e.prototype._calculateCurrentPosition=function(e){if("auto"!==this.position)return this.position;var t=this._selectElementRef.nativeElement.getBoundingClientRect(),n=document.documentElement.scrollTop||document.body.scrollTop;return t.top+window.pageYOffset+t.height+e.getBoundingClientRect().height>n+document.documentElement.clientHeight?"top":"bottom"},e.prototype._appendDropdown=function(){var e=document.querySelector(this.appendTo);if(!e)throw new Error("appendTo selector "+this.appendTo+" did not found any parent element");e.appendChild(this._elementRef.nativeElement)},e.prototype._updateAppendedDropdownPosition=function(){var e=document.querySelector(this.appendTo)||document.body,t=this._selectElementRef.nativeElement.getBoundingClientRect(),n=this._elementRef.nativeElement,i=e.getBoundingClientRect(),o=t.top-i.top,r=t.left-i.left,s="bottom"===this._currentPosition?t.height:-n.clientHeight;n.style.top=o+s+"px",n.style.bottom="auto",n.style.left=r+"px",n.style.width=t.width+"px"},e.prototype._whenContentReady=function(){var e=this;if(0===this.items.length)return Promise.resolve();var t=this._elementRef.nativeElement,n=function(i){t.querySelector(".ng-option")?i():e._zone.runOutsideAngular(function(){setTimeout(function(){return n(i)},5)})};return new Promise(function(e){return n(e)})},e}();C.decorators=[{type:t.Component,args:[{changeDetection:t.ChangeDetectionStrategy.OnPush,encapsulation:t.ViewEncapsulation.None,selector:"ng-dropdown-panel",template:'\n <div *ngIf="headerTemplate" class="ng-dropdown-header" ngProjectAs="header" header>\n <ng-container [ngTemplateOutlet]="headerTemplate"></ng-container>\n </div>\n <div #scroll class="ng-dropdown-panel-items scroll-host">\n <div #padding [class.total-padding]="virtualScroll"></div>\n <div #content [class.scrollable-content]="virtualScroll && items.length > 0">\n <ng-content></ng-content>\n </div>\n </div>\n <div *ngIf="footerTemplate" class="ng-dropdown-footer" ngProjectAs="footer" footer>\n <ng-container [ngTemplateOutlet]="footerTemplate"></ng-container>\n </div>\n ',styles:[".ng-dropdown-panel{\n -webkit-box-sizing:border-box;\n box-sizing:border-box;\n position:absolute;\n opacity:0;\n width:100%;\n z-index:1050;\n -webkit-overflow-scrolling:touch; }\n .ng-dropdown-panel .ng-dropdown-panel-items{\n display:block;\n height:auto;\n -webkit-box-sizing:border-box;\n box-sizing:border-box;\n max-height:240px;\n overflow-y:auto; }\n .ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{\n white-space:nowrap;\n overflow:hidden;\n text-overflow:ellipsis; }\n .ng-dropdown-panel .ng-dropdown-panel-items .ng-option{\n -webkit-box-sizing:border-box;\n box-sizing:border-box;\n cursor:pointer;\n display:block;\n white-space:nowrap;\n overflow:hidden;\n text-overflow:ellipsis; }\n .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{\n font-weight:bold;\n text-decoration:underline; }\n .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{\n cursor:default; }\n .ng-dropdown-panel .scroll-host{\n overflow:hidden;\n overflow-y:auto;\n position:relative;\n display:block;\n -webkit-overflow-scrolling:touch; }\n .ng-dropdown-panel .scrollable-content{\n top:0;\n left:0;\n width:100%;\n height:100%;\n position:absolute; }\n .ng-dropdown-panel .total-padding{\n width:1px;\n opacity:0; }\n"]}]}],C.ctorParameters=function(){return[{type:D,decorators:[{type:t.Inject,args:[t.forwardRef(function(){return D})]}]},{type:t.Renderer2},{type:t.ElementRef},{type:t.NgZone},{type:k},{type:L}]},C.propDecorators={items:[{type:t.Input}],position:[{type:t.Input}],appendTo:[{type:t.Input}],bufferAmount:[{type:t.Input}],virtualScroll:[{type:t.Input}],headerTemplate:[{type:t.Input}],footerTemplate:[{type:t.Input}],update:[{type:t.Output}],scrollToEnd:[{type:t.Output}],contentElementRef:[{type:t.ViewChild,args:["content",{read:t.ElementRef}]}],scrollElementRef:[{type:t.ViewChild,args:["scroll",{read:t.ElementRef}]}],paddingElementRef:[{type:t.ViewChild,args:["padding",{read:t.ElementRef}]}]};var A=function(){function e(){}return e.prototype.warn=function(e){console.warn(e)},e}();A.decorators=[{type:t.Injectable}],A.ctorParameters=function(){return[]};var R=new t.InjectionToken("ng-select-default-options"),D=function(){function e(e,i,o,r){var s=this;this._cd=i,this._console=o,this.elementRef=r,this.items=[],this.clearable=!0,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.virtualScroll=!1,this.selectableGroup=!1,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.blurEvent=new t.EventEmitter,this.focusEvent=new t.EventEmitter,this.changeEvent=new t.EventEmitter,this.openEvent=new t.EventEmitter,this.closeEvent=new t.EventEmitter,this.searchEvent=new t.EventEmitter,this.clearEvent=new t.EventEmitter,this.addEvent=new t.EventEmitter,this.removeEvent=new t.EventEmitter,this.scrollToEnd=new t.EventEmitter,this.isOpen=!1,this.isFocused=!1,this.isDisabled=!1,this.itemsList=new O(this),this.viewPortItems=[],this.filterValue=null,this._defaultLabel="label",this._defaultValue="value",this._typeaheadLoading=!1,this._destroy$=new n.Subject,this._onChange=function(e){},this._onTouched=function(){},this.clearItem=function(e){var t=s.selectedItems.find(function(t){return t.value===e});s.unselect(t)},this._mergeGlobalConfig(e)}return Object.defineProperty(e.prototype,"compareWith",{get:function(){return this._compareWith},set:function(e){if(!m(e))throw Error("`compareWith` must be a function.");this._compareWith=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filtered",{get:function(){return!!this.filterValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedItems",{get:function(){return this.itemsList.value},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedValues",{get:function(){return this.selectedItems.map(function(e){return e.value})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isLoading",{get:function(){return this.loading||this._typeaheadLoading},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasValue",{get:function(){return this.selectedItems.length>0},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){e.multiple&&this.itemsList.clearSelected(),e.items&&this._setItems(e.items.currentValue||[])},e.prototype.ngAfterViewInit=function(){this.ngOptions.length>0&&0===this.items.length&&this._setItemsFromNgOptions()},e.prototype.ngOnDestroy=function(){this._destroy$.next(),this._destroy$.complete()},e.prototype.handleKeyDown=function(e){if(x[e.which])switch(e.which){case x.ArrowDown:this._handleArrowDown(e);break;case x.ArrowUp:this._handleArrowUp(e);break;case x.Space:this._handleSpace(e);break;case x.Enter:this._handleEnter(e);break;case x.Tab:this._handleTab(e);break;case x.Esc:this.close();break;case x.Backspace:this._handleBackspace()}},e.prototype.handleArrowClick=function(e){e.stopPropagation(),this.isOpen?this.close():this.open()},e.prototype.handleClearClick=function(e){e.stopPropagation(),this.hasValue&&this.clearModel(),this._clearSearch(),this.focusSearchInput(),this._isTypeahead&&this.typeahead.next(null),this.clearEvent.emit()},e.prototype.clearModel=function(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())},e.prototype.writeValue=function(e){this.itemsList.clearSelected(),this._handleWriteValue(e),this._cd.markForCheck()},e.prototype.registerOnChange=function(e){this._onChange=e},e.prototype.registerOnTouched=function(e){this._onTouched=e},e.prototype.setDisabledState=function(e){this.isDisabled=e,this._cd.markForCheck()},e.prototype.toggle=function(){this.isOpen?this.close():this.open()},e.prototype.open=function(){this.isDisabled||this.isOpen||this.itemsList.maxItemsSelected||this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.filterValue||this.focusSearchInput(),this.detectChanges())},e.prototype.close=function(){this.isOpen&&(this.isOpen=!1,this._clearSearch(),this._onTouched(),this.closeEvent.emit(),this.detectChanges())},e.prototype.toggleItem=function(e){!e||e.disabled||this.isDisabled||(this.multiple&&e.selected?this.unselect(e):this.select(e))},e.prototype.select=function(e){e.selected||(this.itemsList.select(e),this._clearSearch(),this._updateNgModel(),this.addEvent.emit(e.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()},e.prototype.unselect=function(e){this.itemsList.unselect(e),this._updateNgModel(),this.removeEvent.emit(e)},e.prototype.selectTag=function(){var e,t=this;h(e=m(this.addTag)?this.addTag(this.filterValue):this._primitive?this.filterValue:(n={},n[this.bindLabel]=this.filterValue,n))?e.then(function(e){return t.select(t.itemsList.addItem(e))})["catch"](function(){}):e&&this.select(this.itemsList.addItem(e));var n},e.prototype.showClear=function(){return this.clearable&&(this.hasValue||this.filterValue)&&!this.isDisabled},e.prototype.showAddTag=function(){var e=this;return this.addTag&&this.filterValue&&!this.itemsList.filteredItems.some(function(t){return t.label.toLowerCase()===e.filterValue.toLowerCase()})&&!this.isLoading},e.prototype.showFilter=function(){return!this.isDisabled},e.prototype.showNoItemsFound=function(){var e=0===this.itemsList.filteredItems.length;return(e&&!this._isTypeahead&&!this.loading||e&&this._isTypeahead&&this.filterValue&&!this.isLoading)&&!this.showAddTag()},e.prototype.showTypeToSearch=function(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this.filterValue&&!this.isLoading},e.prototype.filter=function(e){this.searchable&&(this.filterValue=e,this.open(),this._isTypeahead?(this._typeaheadLoading=!0,this.typeahead.next(this.filterValue)):(this.itemsList.filter(this.filterValue),this.itemsList.markSelectedOrDefault(this.markFirst)))},e.prototype.onInputFocus=function(){this.isFocused=!0,this.focusEvent.emit(null)},e.prototype.onInputBlur=function(){this.isFocused=!1,this.blurEvent.emit(null),this.isOpen||this.isDisabled||this._onTouched()},e.prototype.onItemHover=function(e){e.disabled||this.itemsList.markItem(e)},e.prototype.detectChanges=function(){this._cd.destroyed||this._cd.detectChanges()},e.prototype.focusSearchInput=function(){this.filterInput.nativeElement.focus(),this.filterInput.nativeElement.select()},e.prototype._setItems=function(e){var t=e[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=!d(t),this.itemsList.setItems(e),e.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this._isTypeahead&&(this._typeaheadLoading=!1,this.itemsList.markSelectedOrDefault(this.markFirst))},e.prototype._setItemsFromNgOptions=function(){var e=this;this.bindLabel=this.bindLabel||this._defaultLabel,this.bindValue=this.bindValue||this._defaultValue;var t=function(t){e.items=t.map(function(e){return{value:e.value,label:e.elementRef.nativeElement.innerHTML,disabled:e.disabled}}),e.itemsList.setItems(e.items),e.hasValue&&e.itemsList.mapSelectedItems(),e.detectChanges()},n=function(){var t=i.merge(e.ngOptions.changes,e._destroy$);i.merge.apply(void 0,c(e.ngOptions.map(function(e){return e.stateChange$}))).pipe(o.takeUntil(t)).subscribe(function(t){e.itemsList.findItem(t.value).disabled=t.disabled,e._cd.markForCheck()})};this.ngOptions.changes.pipe(o.startWith(this.ngOptions),o.takeUntil(this._destroy$)).subscribe(function(e){t(e),n()})},e.prototype._isValidWriteValue=function(e){var t=this;if(!u(e)||this.multiple&&""===e||Array.isArray(e)&&0===e.length)return!1;var n=function(e){return!d(e)||!t.bindValue||(t._console.warn("Binding object("+JSON.stringify(e)+") with bindValue is not allowed."),!1)};return this.multiple?Array.isArray(e)?e.every(function(e){return n(e)}):(this._console.warn("Multiple select ngModel should be array."),!1):n(e)},e.prototype._handleWriteValue=function(e){var t=this;if(this._isValidWriteValue(e)){var n=function(e){var n=t.itemsList.findItem(e);if(n)t.itemsList.select(n);else{var i=d(e),o=!i&&!t.bindValue;i||o?t.itemsList.select(t.itemsList.mapItem(e,null)):t.bindValue&&((r={})[t.bindLabel]=null,r[t.bindValue]=e,n=r,t.itemsList.select(t.itemsList.mapItem(n,null)))}var r};this.multiple?e.forEach(function(e){n(e)}):n(e)}},e.prototype._updateNgModel=function(){var e=[];try{for(var t=l(this.selectedItems),n=t.next();!n.done;n=t.next()){var i=n.value;if(this.bindValue){var o=null;o=i.hasChildren?i.value[this.groupBy]:this.itemsList.resolveNested(i.value,this.bindValue),e.push(o)}else e.push(i.value)}}catch(a){r={error:a}}finally{try{n&&!n.done&&(s=t["return"])&&s.call(t)}finally{if(r)throw r.error}}this.multiple?(this._onChange(e),this.changeEvent.emit(this.selectedItems.map(function(e){return e.value}))):(this._onChange(u(e[0])?e[0]:null),this.changeEvent.emit(this.selectedItems[0]&&this.selectedItems[0].value)),this._cd.markForCheck();var r,s},e.prototype._clearSearch=function(){this.filterValue&&(this.filterValue=null,this.itemsList.resetItems())},e.prototype._scrollToMarked=function(){this.isOpen&&this.dropdownPanel&&this.dropdownPanel.scrollInto(this.itemsList.markedItem)},e.prototype._scrollToTag=function(){this.isOpen&&this.dropdownPanel&&this.dropdownPanel.scrollIntoTag()},e.prototype._handleTab=function(e){this.isOpen&&(this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),e.preventDefault()):this.showAddTag()?(this.selectTag(),e.preventDefault()):this.close():this.close())},e.prototype._handleEnter=function(e){this.isOpen&&(this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.addTag&&this.selectTag()),e.preventDefault(),e.stopPropagation()},e.prototype._handleSpace=function(e){this.isOpen||(this.open(),e.preventDefault())},e.prototype._handleArrowDown=function(e){this.nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),e.preventDefault()},e.prototype._handleArrowUp=function(e){this.isOpen&&(this.nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),e.preventDefault())},e.prototype.nextItemIsTag=function(e){var t=this.itemsList.markedIndex+e;return this.addTag&&this.filterValue&&this.itemsList.markedItem&&(t<0||t===this.itemsList.filteredItems.length)},e.prototype._handleBackspace=function(){!this.filterValue&&this.clearable&&this.hasValue&&(this.multiple?(this.itemsList.unselectLast(),this._updateNgModel()):this.clearModel())},Object.defineProperty(e.prototype,"_isTypeahead",{get:function(){return this.typeahead&&this.typeahead.observers.length>0},enumerable:!0,configurable:!0}),e.prototype._mergeGlobalConfig=function(e){this.notFoundText=this.notFoundText||e.notFoundText,this.typeToSearchText=this.typeToSearchText||e.typeToSearchText,this.addTagText=this.addTagText||e.addTagText,this.loadingText=this.loadingText||e.loadingText,this.clearAllText=this.clearAllText||e.clearAllText},e}();D.decorators=[{type:t.Component,args:[{selector:"ng-select",template:'<div (click)="searchable ? open() : toggle()" [class.ng-has-value]="hasValue" class="ng-control">\n <div class="ng-value-container">\n <div class="ng-placeholder">{{placeholder}}</div>\n <ng-container *ngIf="!multiLabelTemplate && selectedItems.length > 0">\n <div [class.disabled]="item.disabled" class="ng-value" *ngFor="let item of selectedItems">\n <ng-template #defaultLabelTemplate>\n <span class="ng-value-icon left" (click)="unselect(item); $event.stopPropagation()" aria-hidden="true">×</span>\n <span class="ng-value-label" [innerHTML]="item.label"></span>\n </ng-template>\n <ng-template\n [ngTemplateOutlet]="labelTemplate || defaultLabelTemplate"\n [ngTemplateOutletContext]="{ item: item.value, clear: clearItem, label: item.label }">\n </ng-template>\n </div>\n </ng-container>\n <ng-template *ngIf="multiLabelTemplate && selectedValues.length > 0"\n [ngTemplateOutlet]="multiLabelTemplate"\n [ngTemplateOutletContext]="{ items: selectedValues, clear: clearItem }">\n </ng-template>\n <div *ngIf="showFilter()" class="ng-input">\n <input #filterInput\n type="text"\n autocomplete="off"\n [readOnly]="!searchable"\n [value]="filterValue"\n (input)="filter(filterInput.value)"\n (focus)="onInputFocus()"\n (blur)="onInputBlur()"\n (change)="$event.stopPropagation()"\n role="combobox">\n </div>\n </div>\n <div class="ng-spinner-loader" *ngIf="isLoading"></div>\n <span *ngIf="showClear()" (click)="handleClearClick($event)" class="ng-clear-zone" title="{{clearAllText}}">\n <span class="ng-clear" aria-hidden="true">×</span>\n </span>\n <span (click)="handleArrowClick($event)" class="ng-arrow-zone">\n <span class="ng-arrow"></span>\n </span>\n</div>\n<div class="ng-overlay-container" *ngIf="isOpen">\n <div class="ng-overlay" (click)="close()" ></div>\n</div>\n<ng-dropdown-panel *ngIf="isOpen"\n class="ng-dropdown-panel"\n [virtualScroll]="virtualScroll"\n [bufferAmount]="bufferAmount"\n [appendTo]="appendTo"\n [position]="dropdownPosition"\n [headerTemplate]="headerTemplate"\n [footerTemplate]="footerTemplate"\n [items]="itemsList.filteredItems"\n (update)="viewPortItems = $event"\n (scrollToEnd)="scrollToEnd.emit($event)"\n [ngClass]="{\'multiple\': multiple}">\n <ng-container>\n <div class="ng-option" role="option" (click)="toggleItem(item)" (mousedown)="$event.preventDefault()" (mouseover)="onItemHover(item)"\n *ngFor="let item of viewPortItems"\n [class.disabled]="item.disabled"\n [class.selected]="item.selected"\n [class.ng-optgroup]="item.hasChildren"\n [class.ng-option]="!item.hasChildren"\n [class.ng-option-child]="!!item.parent"\n [class.marked]="item === itemsList.markedItem">\n <ng-template #defaultOptionTemplate>\n <span class="ng-option-label" [innerHTML]="item.label" [ngOptionHighlight]="filterValue"></span>\n </ng-template>\n <ng-template #defaultOptGroupTemplate>\n <span class="ng-option-label" [innerHTML]="item.label" [ngOptionHighlight]="filterValue"></span>\n </ng-template>\n <ng-template\n [ngTemplateOutlet]="item.hasChildren ? (optgroupTemplate || defaultOptGroupTemplate) : (optionTemplate || defaultOptionTemplate)"\n [ngTemplateOutletContext]="{ item: item.value, index: item.index, searchTerm: filterValue }">\n </ng-template>\n </div>\n <div class="ng-option" [class.marked]="!itemsList.markedItem" (mouseover)="itemsList.unmarkItem()" role="option" (click)="selectTag()" *ngIf="showAddTag()">\n <span><span class="ng-tag-label">{{addTagText}}</span>"{{filterValue}}"</span>\n </div>\n </ng-container>\n <ng-container *ngIf="showNoItemsFound()">\n <ng-template #defaultNotfoundTemplate>\n <div class="ng-option disabled" [innerHTML]="notFoundText" *ngIf="showNoItemsFound()"></div>\n </ng-template>\n <ng-template\n [ngTemplateOutlet]="notFoundTemplate || defaultNotfoundTemplate"\n [ngTemplateOutletContext]="{ searchTerm: filterValue }">\n </ng-template>\n </ng-container>\n <ng-container *ngIf="showTypeToSearch()">\n <ng-template #defaultTypeToSearchTemplate>\n <div class="ng-option disabled" [innerHTML]="typeToSearchText"></div>\n </ng-template>\n <ng-template\n [ngTemplateOutlet]="typeToSearchTemplate || defaultTypeToSearchTemplate">\n </ng-template>\n </ng-container>\n <ng-container *ngIf="isLoading && itemsList.filteredItems.length === 0">\n <ng-template #defaultLoadingTextTemplate>\n <div class="ng-option disabled" [innerHTML]="loadingText"></div>\n </ng-template>\n <ng-template\n [ngTemplateOutlet]="loadingTextTemplate || defaultLoadingTextTemplate"\n [ngTemplateOutletContext]="{ searchTerm: filterValue }">\n </ng-template>\n </ng-container>\n</ng-dropdown-panel>\n',styles:[".ng-select{\n position:relative;\n display:block;\n -webkit-box-sizing:border-box;\n box-sizing:border-box; }\n .ng-select div,\n .ng-select input,\n .ng-select span{\n -webkit-box-sizing:border-box;\n box-sizing:border-box; }\n .ng-select [hidden]{\n display:none; }\n .ng-select.searchable .ng-control .ng-value-container .ng-input{\n opacity:1; }\n .ng-select.opened .ng-control{\n z-index:1001; }\n .ng-select.disabled .ng-control .ng-value-container .ng-placeholder,\n .ng-select.disabled .ng-control .ng-value-container .ng-value{\n -webkit-user-select:none;\n -moz-user-select:none;\n -ms-user-select:none;\n user-select:none;\n cursor:default; }\n .ng-select.disabled .ng-arrow-zone{\n cursor:default; }\n .ng-select.filtered .ng-placeholder{\n display:none; }\n .ng-select .ng-control{\n color:#333;\n cursor:default;\n display:-webkit-box;\n display:-ms-flexbox;\n display:flex;\n outline:none;\n overflow:hidden;\n position:relative;\n width:100%; }\n .ng-select .ng-control .ng-value-container{\n display:-webkit-box;\n display:-ms-flexbox;\n display:flex;\n -webkit-box-flex:1;\n -ms-flex:1;\n flex:1; }\n .ng-select .ng-control .ng-value-container .ng-input{\n opacity:0; }\n .ng-select .ng-control .ng-value-container .ng-input > input{\n -webkit-box-sizing:content-box;\n box-sizing:content-box;\n background:none transparent;\n border:0 none;\n -webkit-box-shadow:none;\n box-shadow:none;\n outline:none;\n cursor:default;\n width:100%; }\n .ng-select .ng-control .ng-value-container .ng-input > input::-ms-clear{\n display:none; }\n .ng-select.ng-single.filtered .ng-control .ng-value-container .ng-value{\n visibility:hidden; }\n .ng-select.ng-single .ng-control .ng-value-container{\n white-space:nowrap;\n overflow:hidden;\n text-overflow:ellipsis; }\n .ng-select.ng-single .ng-control .ng-value-container .ng-value{\n white-space:nowrap;\n overflow:hidden;\n text-overflow:ellipsis; }\n .ng-select.ng-single .ng-control .ng-value-container .ng-value .ng-value-icon{\n display:none; }\n .ng-select.ng-single .ng-control .ng-value-container .ng-input{\n position:absolute;\n left:0;\n width:100%; }\n .ng-select.ng-multiple.disabled > .ng-control .ng-value-container .ng-value .ng-value-icon{\n display:none; }\n .ng-select.ng-multiple .ng-control .ng-value-container{\n -ms-flex-wrap:wrap;\n flex-wrap:wrap; }\n .ng-select.ng-multiple .ng-control .ng-value-container .ng-placeholder{\n position:absolute; }\n .ng-select.ng-multiple .ng-control .ng-value-container .ng-value{\n white-space:nowrap; }\n .ng-select.ng-multiple .ng-control .ng-value-container .ng-value.disabled .ng-value-icon{\n display:none; }\n .ng-select.ng-multiple .ng-control .ng-value-container .ng-value .ng-value-icon{\n cursor:pointer; }\n .ng-select.ng-multiple .ng-control .ng-value-container .ng-input{\n -webkit-box-flex:1;\n -ms-flex:1;\n flex:1;\n z-index:2; }\n .ng-select.ng-multiple .ng-control .ng-value-container .ng-placeholder{\n z-index:1; }\n .ng-select .ng-clear-zone{\n cursor:pointer;\n position:relative;\n width:17px;\n -webkit-user-select:none;\n -moz-user-select:none;\n -ms-user-select:none;\n user-select:none; }\n .ng-select .ng-clear-zone .ng-clear{\n display:inline-block;\n font-size:18px;\n line-height:1; }\n .ng-select .ng-spinner-loader{\n border-radius:50%;\n width:17px;\n height:17px;\n margin-right:5px;\n font-size:10px;\n position:relative;\n text-indent:-9999em;\n border-top:2px solid rgba(66, 66, 66, 0.2);\n border-right:2px solid rgba(66, 66, 66, 0.2);\n border-bottom:2px solid rgba(66, 66, 66, 0.2);\n border-left:2px solid #424242;\n -webkit-transform:translateZ(0);\n transform:translateZ(0);\n -webkit-animation:load8 0.8s infinite linear;\n animation:load8 0.8s infinite linear; }\n .ng-select .ng-spinner-loader:after{\n border-radius:50%;\n width:17px;\n height:17px; }\n@-webkit-keyframes load8{\n 0%{\n -webkit-transform:rotate(0deg);\n transform:rotate(0deg); }\n 100%{\n -webkit-transform:rotate(360deg);\n transform:rotate(360deg); } }\n@keyframes load8{\n 0%{\n -webkit-transform:rotate(0deg);\n transform:rotate(0deg); }\n 100%{\n -webkit-transform:rotate(360deg);\n transform:rotate(360deg); } }\n .ng-select .ng-arrow-zone{\n cursor:pointer;\n position:relative;\n text-align:center;\n -webkit-user-select:none;\n -moz-user-select:none;\n -ms-user-select:none;\n user-select:none; }\n .ng-select .ng-arrow-zone .ng-arrow{\n display:inline-block;\n height:0;\n width:0;\n position:relative; }\n .ng-select .ng-overlay-container{\n pointer-events:none;\n top:0;\n left:0;\n height:100%;\n width:100%;\n position:fixed;\n z-index:1000; }\n .ng-select .ng-overlay-container .ng-overlay{\n top:0;\n bottom:0;\n left:0;\n right:0;\n opacity:0;\n position:absolute;\n pointer-events:auto;\n z-index:1000; }\n"],providers:[{provide:r.NG_VALUE_ACCESSOR,useExisting:t.forwardRef(function(){return D}),multi:!0}],encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.OnPush,host:{role:"listbox","class":"ng-select","[class.ng-single]":"!multiple"}}]}],D.ctorParameters=function(){return[{type:undefined,decorators:[{type:t.Inject,args:[R]}]},{type:t.ChangeDetectorRef},{type:A},{type:t.ElementRef}]},D.propDecorators={items:[{type:t.Input}],bindLabel:[{type:t.Input}],bindValue:[{type:t.Input}],clearable:[{type:t.Input}],markFirst:[{type:t.Input}],placeholder:[{type:t.Input}],notFoundText:[{type:t.Input}],typeToSearchText:[{type:t.Input}],addTagText:[{type:t.Input}],loadingText:[{type:t.Input}],clearAllText:[{type:t.Input}],dropdownPosition:[{type:t.Input}],appendTo:[{type:t.Input}],loading:[{type:t.Input}],closeOnSelect:[{type:t.Input}],hideSelected:[{type:t.Input}],selectOnTab:[{type:t.Input}],maxSelectedItems:[{type:t.Input}],groupBy:[{type:t.Input}],bufferAmount:[{type:t.Input}],virtualScroll:[{type:t.Input}],selectableGroup:[{type:t.Input}],typeahead:[{type:t.Input},{type:t.HostBinding,args:["class.typeahead"]}],multiple:[{type:t.Input},{type:t.HostBinding,args:["class.ng-multiple"]}],addTag:[{type:t.Input},{type:t.HostBinding,args:["class.taggable"]}],searchable:[{type:t.Input},{type:t.HostBinding,args:["class.searchable"]}],compareWith:[{type:t.Input}],blurEvent:[{type:t.Output,args:["blur"]}],focusEvent:[{type:t.Output,args:["focus"]}],changeEvent:[{type:t.Output,args:["change"]}],openEvent:[{type:t.Output,args:["open"]}],closeEvent:[{type:t.Output,args:["close"]}],searchEvent:[{type:t.Output,args:["search"]}],clearEvent:[{type:t.Output,args:["clear"]}],addEvent:[{type:t.Output,args:["add"]}],removeEvent:[{type:t.Output,args:["remove"]}],scrollToEnd:[{type:t.Output,args:["scrollToEnd"]}],optionTemplate:[{type:t.ContentChild,args:[g,{read:t.TemplateRef}]}],optgroupTemplate:[{type:t.ContentChild,args:[f,{read:t.TemplateRef}]}],labelTemplate:[{type:t.ContentChild,args:[v,{read:t.TemplateRef}]}],multiLabelTemplate:[{type:t.ContentChild,args:[y,{read:t.TemplateRef}]}],headerTemplate:[{type:t.ContentChild,args:[b,{read:t.TemplateRef}]}],footerTemplate:[{type:t.ContentChild,args:[_,{read:t.TemplateRef}]}],notFoundTemplate:[{type:t.ContentChild,args:[T,{read:t.TemplateRef}]}],typeToSearchTemplate:[{type:t.ContentChild,args:[I,{read:t.TemplateRef}]}],loadingTextTemplate:[{type:t.ContentChild,args:[w,{read:t.TemplateRef}]}],dropdownPanel:[{type:t.ViewChild,args:[t.forwardRef(function(){return C})]}],ngOptions:[{type:t.ContentChildren,args:[S,{descendants:!0}]}],filterInput:[{type:t.ViewChild,args:["filterInput"]}],isOpen:[{type:t.HostBinding,args:["class.opened"]}],isFocused:[{type:t.HostBinding,args:["class.focused"]}],isDisabled:[{type:t.HostBinding,args:["class.disabled"]}],filtered:[{type:t.HostBinding,args:["class.filtered"]}],handleKeyDown:[{type:t.HostListener,args:["keydown",["$event"]]}]};var P=function(){function e(e,t){this.elementRef=e,this.renderer=t}return e.prototype.ngOnChanges=function(){this._highlightLabelWithSearchTerm()},e.prototype._highlightLabelWithSearchTerm=function(){var e=this.label?this.label.toString():"";if(e&&this.term){var t=p(e).toLowerCase().indexOf(p(this.term).toLowerCase());t>-1?this._setInnerHtml(e.substring(0,t)+"<span class='highlighted'>"+e.substr(t,this.term.length)+"</span>"+e.substring(t+this.term.length,e.length)):this._setInnerHtml(e)}else this._setInnerHtml(e)},e.prototype._setInnerHtml=function(e){this.renderer.setProperty(this.elementRef.nativeElement,"innerHTML",e)},e}();P.decorators=[{type:t.Directive,args:[{selector:"[ngOptionHighlight]"}]}],P.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2}]},P.propDecorators={term:[{type:t.Input,args:["ngOptionHighlight"]}],label:[{type:t.Input,args:["innerHTML"]}]};var V=function(){return function(){}}();V.decorators=[{type:t.NgModule,args:[{declarations:[C,S,D,P,f,g,v,y,b,_,T,I,w],imports:[s.CommonModule],exports:[D,S,P,f,g,v,y,b,_,T,I,w],providers:[A,L,k,{provide:R,useValue:{notFoundText:"No items found",typeToSearchText:"Type to search",addTagText:"Add item",loadingText:"Loading...",clearAllText:"Clear all",disableVirtualScroll:!1}}]}]}],V.ctorParameters=function(){return[]},e.NgSelectComponent=D,e.NG_SELECT_DEFAULT_CONFIG=R,e.NgSelectModule=V,e.ɵn=A,e.ɵj=C,e.ɵo=P,e.ɵm=S,e.ɵf=_,e.ɵe=b,e.ɵc=v,e.ɵi=w,e.ɵd=y,e.ɵg=T,e.ɵb=f,e.ɵa=g,e.ɵh=I,e.ɵk=k,e.ɵl=L,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("rxjs/Subject"),require("rxjs/observable/merge"),require("rxjs/operators"),require("@angular/forms"),require("@angular/common")):"function"==typeof define&&define.amd?define(["exports","@angular/core","rxjs/Subject","rxjs/observable/merge","rxjs/operators","@angular/forms","@angular/common"],t):t((e["ng-select"]=e["ng-select"]||{},e["ng-select"]["ng-select"]={}),e.ng.core,e.Rx,e.Rx.Observable,e.Rx.Observable.prototype,e.ng.forms,e.ng.common)}(this,function(e,t,n,i,o,r,s){"use strict";function l(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function a(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(l){o={error:l}}finally{try{i&&!i.done&&(n=r["return"])&&n.call(r)}finally{if(o)throw o.error}}return s}function c(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(a(arguments[t]));return e}function p(e){return e.replace(/[^\u0000-\u007E]/g,function(e){return E[e]||e})}function u(e){return null!==e&&e!==undefined}function d(e){return u(e)&&"object"==typeof e}function h(e){return e instanceof Promise}function m(e){return e instanceof Function}var g=function(){return function(e){this.template=e}}();g.decorators=[{type:t.Directive,args:[{selector:"[ng-option-tmp]"}]}],g.ctorParameters=function(){return[{type:t.TemplateRef}]};var f=function(){return function(e){this.template=e}}();f.decorators=[{type:t.Directive,args:[{selector:"[ng-optgroup-tmp]"}]}],f.ctorParameters=function(){return[{type:t.TemplateRef}]};var v=function(){return function(e){this.template=e}}();v.decorators=[{type:t.Directive,args:[{selector:"[ng-label-tmp]"}]}],v.ctorParameters=function(){return[{type:t.TemplateRef}]};var y=function(){return function(e){this.template=e}}();y.decorators=[{type:t.Directive,args:[{selector:"[ng-multi-label-tmp]"}]}],y.ctorParameters=function(){return[{type:t.TemplateRef}]};var b=function(){return function(e){this.template=e}}();b.decorators=[{type:t.Directive,args:[{selector:"[ng-header-tmp]"}]}],b.ctorParameters=function(){return[{type:t.TemplateRef}]};var _=function(){return function(e){this.template=e}}();_.decorators=[{type:t.Directive,args:[{selector:"[ng-footer-tmp]"}]}],_.ctorParameters=function(){return[{type:t.TemplateRef}]};var T=function(){return function(e){this.template=e}}();T.decorators=[{type:t.Directive,args:[{selector:"[ng-notfound-tmp]"}]}],T.ctorParameters=function(){return[{type:t.TemplateRef}]};var I=function(){return function(e){this.template=e}}();I.decorators=[{type:t.Directive,args:[{selector:"[ng-typetosearch-tmp]"}]}],I.ctorParameters=function(){return[{type:t.TemplateRef}]};var w=function(){return function(e){this.template=e}}();w.decorators=[{type:t.Directive,args:[{selector:"[ng-loadingtext-tmp]"}]}],w.ctorParameters=function(){return[{type:t.TemplateRef}]};var x={Tab:9,Enter:13,Esc:27,Space:32,ArrowUp:38,ArrowDown:40,Backspace:8};x[x.Tab]="Tab",x[x.Enter]="Enter",x[x.Esc]="Esc",x[x.Space]="Space",x[x.ArrowUp]="ArrowUp",x[x.ArrowDown]="ArrowDown",x[x.Backspace]="Backspace";var E={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"},O=function(){function e(e){this._ngSelect=e,this._items=[],this._filteredItems=[],this._markedIndex=-1,this._selected=[]}return Object.defineProperty(e.prototype,"items",{get:function(){return this._items},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filteredItems",{get:function(){return this._filteredItems},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._selected},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"markedItem",{get:function(){return this._filteredItems[this._markedIndex]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"markedIndex",{get:function(){return this._markedIndex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"noItemsToSelect",{get:function(){return this._ngSelect.hideSelected&&this._items.length===this._selected.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxItemsSelected",{get:function(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this._selected.length},enumerable:!0,configurable:!0}),e.prototype.setItems=function(e){var t=this;this._items=e.map(function(e,n){return t.mapItem(e,n)}),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):this._groups={undefined:this._items},this._filteredItems=c(this._items)},e.prototype.select=function(e){e.selected||this.maxItemsSelected||(this._ngSelect.multiple||this.clearSelected(),this._selected.push(e),e.selected=!0,this._ngSelect.hideSelected&&(this._filteredItems=this._filteredItems.filter(function(t){return t!==e})))},e.prototype.findItem=function(e){var t=this;if(this._ngSelect.bindValue)return this._items.find(function(n){return!n.hasChildren&&t.resolveNested(n.value,t._ngSelect.bindValue)===e});var n=this._items.find(function(t){return t.value===e}),i=this._ngSelect.compareWith?function(n){return t._ngSelect.compareWith(n.value,e)}:function(n){return!n.hasChildren&&n.label&&n.label===t.resolveNested(e,t._ngSelect.bindLabel)};return n||this._items.find(function(e){return i(e)})},e.prototype.unselect=function(e){this._selected=this._selected.filter(function(t){return t!==e}),e.selected=!1,this._ngSelect.hideSelected&&(this._filteredItems.splice(e.index,0,e),this._filteredItems=c(this._filteredItems.sort(function(e,t){return e.index-t.index})))},e.prototype.unselectLast=function(){0!==this._selected.length&&this.unselect(this._lastSelectedItem)},e.prototype.addItem=function(e){var t=this.mapItem(e,this._items.length);return this._items.push(t),this._filteredItems.push(t),t},e.prototype.clearSelected=function(){this._selected.forEach(function(e){e.selected=!1,e.marked=!1}),this._selected=[],this._ngSelect.hideSelected&&this.resetItems()},e.prototype.filter=function(e){if(e){this._filteredItems=[],e=this._ngSelect.searchFn?e:p(e).toLocaleLowerCase();var t=this._ngSelect.searchFn||this._defaultSearchFn,n=this;try{for(var i=l(Object.keys(this._groups)),o=i.next();!o.done;o=i.next())!function(i){var o=[];try{for(var r=l(n._groups[i]),s=r.next();!s.done;s=r.next()){var p=s.value;if(!(n._ngSelect.hideSelected&&n._selected.indexOf(p)>-1)){var u=n._ngSelect.searchFn?p.value:p;t(e,u)&&o.push(p)}}}catch(v){m={error:v}}finally{try{s&&!s.done&&(g=r["return"])&&g.call(r)}finally{if(m)throw m.error}}if(o.length>0){var d=a(o.slice(-1),1)[0];if(d.parent){var h=n._items.find(function(e){return e===d.parent});n._filteredItems.push(h)}(f=n._filteredItems).push.apply(f,c(o))}var m,g,f}(o.value)}catch(u){r={error:u}}finally{try{o&&!o.done&&(s=i["return"])&&s.call(i)}finally{if(r)throw r.error}}var r,s}else this.resetItems()},e.prototype.resetItems=function(){var e=this;this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected?this._items.filter(function(t){return-1===e._selected.indexOf(t)}):this._items)},e.prototype.unmarkItem=function(){this._markedIndex=-1},e.prototype.markNextItem=function(){this._stepToItem(1)},e.prototype.markPreviousItem=function(){this._stepToItem(-1)},e.prototype.markItem=function(e){this._markedIndex=this._filteredItems.indexOf(e)},e.prototype.markSelectedOrDefault=function(e){if(0!==this._filteredItems.length){var t=this._ngSelect.hideSelected?-1:this._filteredItems.indexOf(this._lastSelectedItem);this._lastSelectedItem&&t>-1?this._markedIndex=t:this._markedIndex=e?this.filteredItems.findIndex(function(e){return!e.disabled}):-1}},e.prototype.resolveNested=function(e,t){if(!d(e))return e;if(-1===t.indexOf("."))return e[t];for(var n=t.split("."),i=e,o=0,r=n.length;o<r;++o){if(null==i)return null;i=i[n[o]]}return i},e.prototype.mapItem=function(e,t){var n=this.resolveNested(e,this._ngSelect.bindLabel);return{index:t,label:u(n)?n.toString():"",value:e,disabled:e.disabled}},e.prototype.mapSelectedItems=function(){var e=this;this._selected.forEach(function(t,n){var i=e._ngSelect.bindValue?t.value[e._ngSelect.bindValue]:t.value,o=e.findItem(i);o&&t!==o&&(o.selected=!0,e._selected[n]=o)}),this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(function(t){return-1===e._selected.indexOf(t)}))},e.prototype._defaultSearchFn=function(e,t){return p(t.label).toLocaleLowerCase().indexOf(e)>-1},e.prototype._getNextItemIndex=function(e){return e>0?this._markedIndex===this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1},e.prototype._stepToItem=function(e){0===this._filteredItems.length||this._filteredItems.every(function(e){return e.disabled})||(this._markedIndex=this._getNextItemIndex(e),this.markedItem.disabled&&this._stepToItem(e))},Object.defineProperty(e.prototype,"_lastSelectedItem",{get:function(){return this._selected[this._selected.length-1]},enumerable:!0,configurable:!0}),e.prototype._groupBy=function(e,t){var n=this,i=t instanceof Function;return e.reduce(function(e,o){var r=i?t.apply(n,[o.value]):o.value[t];return e[r]=e[r]||[],e[r].push(o),e},{})},e.prototype._flatten=function(e){var t=this,n=0;return Object.keys(e).reduce(function(i,o){var r={label:o,hasChildren:!0,index:n,disabled:!t._ngSelect.selectableGroup};r.value={},r.value[t._ngSelect.groupBy]=o,i.push(r),n++;var s=e[o].map(function(e){return e.parent=r,e.hasChildren=!1,n++,e});return i.push.apply(i,c(s)),i},[])},e}(),S=function(){function e(e){this.elementRef=e,this.stateChange$=new n.Subject,this._disabled=!1}return Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=this._isDisabled(e)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){e.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})},e.prototype._isDisabled=function(e){return null!=e&&""+e!="false"},e}();S.decorators=[{type:t.Component,args:[{selector:"ng-option",changeDetection:t.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>"}]}],S.ctorParameters=function(){return[{type:t.ElementRef}]},S.propDecorators={value:[{type:t.Input}],disabled:[{type:t.Input}]};var L=function(){function e(){}return e.prototype.requestAnimationFrame=function(e){return window.requestAnimationFrame(e)},e}();L.decorators=[{type:t.Injectable}],L.ctorParameters=function(){return[]};var k=function(){function e(){}return e.prototype.calculateItems=function(e,t,n){var i=e.childHeight*e.itemsLength;t.scrollTop>i&&(t.scrollTop=i);var o=Math.max(0,t.scrollTop)/i*e.itemsLength,r=Math.min(e.itemsLength,Math.ceil(o)+(e.itemsPerCol+1)),s=r,l=Math.max(0,s-e.itemsPerCol-1),a=Math.min(l,Math.floor(o)),c=e.childHeight*Math.ceil(a)-e.childHeight*Math.min(a,n);return c=isNaN(c)?0:c,a=isNaN(a)?-1:a,r=isNaN(r)?-1:r,a-=n,a=Math.max(0,a),r+=n,r=Math.min(e.itemsLength,r),{topPadding:c,scrollHeight:i,start:a,end:r}},e.prototype.calculateDimensions=function(e,t,n,i){var o=n.getBoundingClientRect(),r=i.children[t]?i.children[t].getBoundingClientRect():{width:o.width,height:o.height,top:0},s=Math.max(1,Math.floor(o.height/r.height));return{itemsLength:e,viewWidth:o.width,viewHeight:o.height,childWidth:r.width,childHeight:r.height,itemsPerCol:s}},e}();k.decorators=[{type:t.Injectable}],k.ctorParameters=function(){return[]};var C=function(){function e(e,n,i,o,r,s){this._renderer=n,this._elementRef=i,this._zone=o,this._virtualScrollService=r,this._window=s,this.items=[],this.position="auto",this.bufferAmount=4,this.virtualScroll=!1,this.update=new t.EventEmitter,this.scrollToEnd=new t.EventEmitter,this._startupLoop=!0,this._isScrolledToMarked=!1,this._scrollToEndFired=!1,this._disposeScrollListener=function(){},this._disposeDocumentResizeListener=function(){},this._selectElementRef=e.elementRef,this._itemsList=e.itemsList}return e.prototype.ngOnInit=function(){this._handleScroll()},e.prototype.ngOnChanges=function(e){e.items&&this._handleItemsChange(e.items)},e.prototype.ngOnDestroy=function(){this._disposeDocumentResizeListener(),this._disposeScrollListener(),this.appendTo&&this._renderer.removeChild(this._elementRef.nativeElement.parentNode,this._elementRef.nativeElement)},e.prototype.ngAfterContentInit=function(){var e=this;this._whenContentReady().then(function(){e._handleDropdownPosition()})},e.prototype.refresh=function(){var e=this;return new Promise(function(t){e._zone.runOutsideAngular(function(){e._window.requestAnimationFrame(function(){e._updateItems().then(t)})})})},e.prototype.scrollInto=function(e){if(e){var t=this.items.indexOf(e);if(!(t<0||t>=this.items.length)){var n=this._calculateDimensions(this.virtualScroll?0:t),i=this.scrollElementRef.nativeElement,o=Math.floor(n.viewHeight/n.childHeight)-1;if(this.virtualScroll)i.scrollTop=t*n.childHeight-n.childHeight*Math.min(t,o);else{var r=this.contentElementRef.nativeElement,s=Array.from(r.children).slice(0,t).reduce(function(e,t){return e+t.clientHeight},0);i.scrollTop=s-n.childHeight*Math.min(t,o)}}}},e.prototype.scrollIntoTag=function(){var e=this.scrollElementRef.nativeElement,t=this._calculateDimensions();e.scrollTop=t.childHeight*(t.itemsLength+1)},e.prototype._handleScroll=function(){var e=this;this._disposeScrollListener=this._renderer.listen(this.scrollElementRef.nativeElement,"scroll",function(){e.refresh(),e._fireScrollToEnd()})},e.prototype._handleItemsChange=function(e){var t=this;this._scrollToEndFired=!1,this._previousStart=undefined,this._previousEnd=undefined,(e!==undefined&&e.previousValue===undefined||e.previousValue!==undefined&&0===e.previousValue.length)&&(this._startupLoop=!0),this.items=e.currentValue||[],this.refresh().then(function(){t.appendTo&&"top"===t._currentPosition&&t._updateAppendedDropdownPosition()})},e.prototype._updateItems=function(){var e=this;if(t.NgZone.assertNotInAngularZone(),!this.virtualScroll)return this._zone.run(function(){e.update.emit(e.items.slice()),e._scrollToMarked()}),Promise.resolve();var n=function(t){var i=e._calculateDimensions(),o=e._virtualScrollService.calculateItems(i,e.scrollElementRef.nativeElement,e.bufferAmount||0);e.paddingElementRef.nativeElement.style.height=o.scrollHeight+"px";var r="translateY("+o.topPadding+"px)";e.contentElementRef.nativeElement.style.transform=r,o.start!==e._previousStart||o.end!==e._previousEnd?(e._zone.run(function(){e.update.emit(e.items.slice(o.start,o.end))}),e._previousStart=o.start,e._previousEnd=o.end,!0===e._startupLoop&&n(t)):!0===e._startupLoop&&(e._startupLoop=!1,e._scrollToMarked(),t())};return new Promise(function(e){return n(e)})},e.prototype._fireScrollToEnd=function(){if(!this._scrollToEndFired){var e=this.scrollElementRef.nativeElement,t=this._elementRef.nativeElement,n=this.virtualScroll?this.paddingElementRef.nativeElement:this.contentElementRef.nativeElement;e.scrollTop+t.clientHeight>=n.clientHeight&&(this.scrollToEnd.emit(),this._scrollToEndFired=!0)}},e.prototype._calculateDimensions=function(e){return void 0===e&&(e=0),this._virtualScrollService.calculateDimensions(this.items.length,e,this.scrollElementRef.nativeElement,this.contentElementRef.nativeElement)},e.prototype._handleDocumentResize=function(){var e=this;this.appendTo&&(this._disposeDocumentResizeListener=this._renderer.listen("window","resize",function(){e._updateAppendedDropdownPosition()}))},e.prototype._scrollToMarked=function(){this._isScrolledToMarked||(this._isScrolledToMarked=!0,this.scrollInto(this._itemsList.markedItem))},e.prototype._handleDropdownPosition=function(){this.appendTo&&(this._appendDropdown(),this._handleDocumentResize());var e=this._elementRef.nativeElement;this._currentPosition=this._calculateCurrentPosition(e);var t=this._selectElementRef.nativeElement;"top"===this._currentPosition?(this._renderer.addClass(e,"top"),this._renderer.removeClass(e,"bottom"),this._renderer.addClass(t,"top"),this._renderer.removeClass(t,"bottom")):(this._renderer.addClass(e,"bottom"),this._renderer.removeClass(e,"top"),this._renderer.addClass(t,"bottom"),this._renderer.removeClass(t,"top")),this.appendTo&&this._updateAppendedDropdownPosition(),e.style.opacity="1"},e.prototype._calculateCurrentPosition=function(e){if("auto"!==this.position)return this.position;var t=this._selectElementRef.nativeElement.getBoundingClientRect(),n=document.documentElement.scrollTop||document.body.scrollTop;return t.top+window.pageYOffset+t.height+e.getBoundingClientRect().height>n+document.documentElement.clientHeight?"top":"bottom"},e.prototype._appendDropdown=function(){var e=document.querySelector(this.appendTo);if(!e)throw new Error("appendTo selector "+this.appendTo+" did not found any parent element");e.appendChild(this._elementRef.nativeElement)},e.prototype._updateAppendedDropdownPosition=function(){var e=document.querySelector(this.appendTo)||document.body,t=this._selectElementRef.nativeElement.getBoundingClientRect(),n=this._elementRef.nativeElement,i=e.getBoundingClientRect(),o=t.top-i.top,r=t.left-i.left,s="bottom"===this._currentPosition?t.height:-n.clientHeight;n.style.top=o+s+"px",n.style.bottom="auto",n.style.left=r+"px",n.style.width=t.width+"px"},e.prototype._whenContentReady=function(){var e=this;if(0===this.items.length)return Promise.resolve();var t=this._elementRef.nativeElement,n=function(i){t.querySelector(".ng-option")?i():e._zone.runOutsideAngular(function(){setTimeout(function(){return n(i)},5)})};return new Promise(function(e){return n(e)})},e}();C.decorators=[{type:t.Component,args:[{changeDetection:t.ChangeDetectionStrategy.OnPush,encapsulation:t.ViewEncapsulation.None,selector:"ng-dropdown-panel",template:'\n <div *ngIf="headerTemplate" class="ng-dropdown-header" ngProjectAs="header" header>\n <ng-container [ngTemplateOutlet]="headerTemplate"></ng-container>\n </div>\n <div #scroll class="ng-dropdown-panel-items scroll-host">\n <div #padding [class.total-padding]="virtualScroll"></div>\n <div #content [class.scrollable-content]="virtualScroll && items.length > 0">\n <ng-content></ng-content>\n </div>\n </div>\n <div *ngIf="footerTemplate" class="ng-dropdown-footer" ngProjectAs="footer" footer>\n <ng-container [ngTemplateOutlet]="footerTemplate"></ng-container>\n </div>\n ',styles:[".ng-dropdown-panel{\n -webkit-box-sizing:border-box;\n box-sizing:border-box;\n position:absolute;\n opacity:0;\n width:100%;\n z-index:1050;\n -webkit-overflow-scrolling:touch; }\n .ng-dropdown-panel .ng-dropdown-panel-items{\n display:block;\n height:auto;\n -webkit-box-sizing:border-box;\n box-sizing:border-box;\n max-height:240px;\n overflow-y:auto; }\n .ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{\n white-space:nowrap;\n overflow:hidden;\n text-overflow:ellipsis; }\n .ng-dropdown-panel .ng-dropdown-panel-items .ng-option{\n -webkit-box-sizing:border-box;\n box-sizing:border-box;\n cursor:pointer;\n display:block;\n white-space:nowrap;\n overflow:hidden;\n text-overflow:ellipsis; }\n .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{\n font-weight:bold;\n text-decoration:underline; }\n .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{\n cursor:default; }\n .ng-dropdown-panel .scroll-host{\n overflow:hidden;\n overflow-y:auto;\n position:relative;\n display:block;\n -webkit-overflow-scrolling:touch; }\n .ng-dropdown-panel .scrollable-content{\n top:0;\n left:0;\n width:100%;\n height:100%;\n position:absolute; }\n .ng-dropdown-panel .total-padding{\n width:1px;\n opacity:0; }\n"]}]}],C.ctorParameters=function(){return[{type:D,decorators:[{type:t.Inject,args:[t.forwardRef(function(){return D})]}]},{type:t.Renderer2},{type:t.ElementRef},{type:t.NgZone},{type:k},{type:L}]},C.propDecorators={items:[{type:t.Input}],position:[{type:t.Input}],appendTo:[{type:t.Input}],bufferAmount:[{type:t.Input}],virtualScroll:[{type:t.Input}],headerTemplate:[{type:t.Input}],footerTemplate:[{type:t.Input}],update:[{type:t.Output}],scrollToEnd:[{type:t.Output}],contentElementRef:[{type:t.ViewChild,args:["content",{read:t.ElementRef}]}],scrollElementRef:[{type:t.ViewChild,args:["scroll",{read:t.ElementRef}]}],paddingElementRef:[{type:t.ViewChild,args:["padding",{read:t.ElementRef}]}]};var A=function(){function e(){}return e.prototype.warn=function(e){console.warn(e)},e}();A.decorators=[{type:t.Injectable}],A.ctorParameters=function(){return[]};var R=new t.InjectionToken("ng-select-default-options"),D=function(){function e(e,i,o,r){var s=this;this._cd=i,this._console=o,this.elementRef=r,this.items=[],this.clearable=!0,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.virtualScroll=!1,this.selectableGroup=!1,this.searchFn=null,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.blurEvent=new t.EventEmitter,this.focusEvent=new t.EventEmitter,this.changeEvent=new t.EventEmitter,this.openEvent=new t.EventEmitter,this.closeEvent=new t.EventEmitter,this.searchEvent=new t.EventEmitter,this.clearEvent=new t.EventEmitter,this.addEvent=new t.EventEmitter,this.removeEvent=new t.EventEmitter,this.scrollToEnd=new t.EventEmitter,this.isOpen=!1,this.isFocused=!1,this.isDisabled=!1,this.itemsList=new O(this),this.viewPortItems=[],this.filterValue=null,this._defaultLabel="label",this._defaultValue="value",this._typeaheadLoading=!1,this._destroy$=new n.Subject,this._onChange=function(e){},this._onTouched=function(){},this.clearItem=function(e){var t=s.selectedItems.find(function(t){return t.value===e});s.unselect(t)},this._mergeGlobalConfig(e)}return Object.defineProperty(e.prototype,"compareWith",{get:function(){return this._compareWith},set:function(e){if(!m(e))throw Error("`compareWith` must be a function.");this._compareWith=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filtered",{get:function(){return!!this.filterValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedItems",{get:function(){return this.itemsList.value},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedValues",{get:function(){return this.selectedItems.map(function(e){return e.value})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isLoading",{get:function(){return this.loading||this._typeaheadLoading},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasValue",{get:function(){return this.selectedItems.length>0},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){e.multiple&&this.itemsList.clearSelected(),e.items&&this._setItems(e.items.currentValue||[])},e.prototype.ngAfterViewInit=function(){this.ngOptions.length>0&&0===this.items.length&&this._setItemsFromNgOptions()},e.prototype.ngOnDestroy=function(){this._destroy$.next(),this._destroy$.complete()},e.prototype.handleKeyDown=function(e){if(x[e.which])switch(e.which){case x.ArrowDown:this._handleArrowDown(e);break;case x.ArrowUp:this._handleArrowUp(e);break;case x.Space:this._handleSpace(e);break;case x.Enter:this._handleEnter(e);break;case x.Tab:this._handleTab(e);break;case x.Esc:this.close();break;case x.Backspace:this._handleBackspace()}},e.prototype.handleArrowClick=function(e){e.stopPropagation(),this.isOpen?this.close():this.open()},e.prototype.handleClearClick=function(e){e.stopPropagation(),this.hasValue&&this.clearModel(),this._clearSearch(),this.focusSearchInput(),this._isTypeahead&&this.typeahead.next(null),this.clearEvent.emit()},e.prototype.clearModel=function(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())},e.prototype.writeValue=function(e){this.itemsList.clearSelected(),this._handleWriteValue(e),this._cd.markForCheck()},e.prototype.registerOnChange=function(e){this._onChange=e},e.prototype.registerOnTouched=function(e){this._onTouched=e},e.prototype.setDisabledState=function(e){this.isDisabled=e,this._cd.markForCheck()},e.prototype.toggle=function(){this.isOpen?this.close():this.open()},e.prototype.open=function(){this.isDisabled||this.isOpen||this.itemsList.maxItemsSelected||this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.filterValue||this.focusSearchInput(),this.detectChanges())},e.prototype.close=function(){this.isOpen&&(this.isOpen=!1,this._clearSearch(),this._onTouched(),this.closeEvent.emit(),this.detectChanges())},e.prototype.toggleItem=function(e){!e||e.disabled||this.isDisabled||(this.multiple&&e.selected?this.unselect(e):this.select(e))},e.prototype.select=function(e){e.selected||(this.itemsList.select(e),this._clearSearch(),this._updateNgModel(),this.addEvent.emit(e.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()},e.prototype.unselect=function(e){this.itemsList.unselect(e),this._updateNgModel(),this.removeEvent.emit(e)},e.prototype.selectTag=function(){var e,t=this;h(e=m(this.addTag)?this.addTag(this.filterValue):this._primitive?this.filterValue:(n={},n[this.bindLabel]=this.filterValue,n))?e.then(function(e){return t.select(t.itemsList.addItem(e))})["catch"](function(){}):e&&this.select(this.itemsList.addItem(e));var n},e.prototype.showClear=function(){return this.clearable&&(this.hasValue||this.filterValue)&&!this.isDisabled},e.prototype.showAddTag=function(){var e=this;return this.addTag&&this.filterValue&&!this.itemsList.filteredItems.some(function(t){return t.label.toLowerCase()===e.filterValue.toLowerCase()})&&!this.isLoading},e.prototype.showFilter=function(){return!this.isDisabled},e.prototype.showNoItemsFound=function(){var e=0===this.itemsList.filteredItems.length;return(e&&!this._isTypeahead&&!this.loading||e&&this._isTypeahead&&this.filterValue&&!this.isLoading)&&!this.showAddTag()},e.prototype.showTypeToSearch=function(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this.filterValue&&!this.isLoading},e.prototype.filter=function(e){this.searchable&&(this.filterValue=e,this.open(),this._isTypeahead?(this._typeaheadLoading=!0,this.typeahead.next(this.filterValue)):(this.itemsList.filter(this.filterValue),this.itemsList.markSelectedOrDefault(this.markFirst)))},e.prototype.onInputFocus=function(){this.isFocused=!0,this.focusEvent.emit(null)},e.prototype.onInputBlur=function(){this.isFocused=!1,this.blurEvent.emit(null),this.isOpen||this.isDisabled||this._onTouched()},e.prototype.onItemHover=function(e){e.disabled||this.itemsList.markItem(e)},e.prototype.detectChanges=function(){this._cd.destroyed||this._cd.detectChanges()},e.prototype.focusSearchInput=function(){this.filterInput.nativeElement.focus(),this.filterInput.nativeElement.select()},e.prototype._setItems=function(e){var t=e[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=!d(t),this.itemsList.setItems(e),e.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this._isTypeahead&&(this._typeaheadLoading=!1,this.itemsList.markSelectedOrDefault(this.markFirst))},e.prototype._setItemsFromNgOptions=function(){var e=this;this.bindLabel=this.bindLabel||this._defaultLabel,this.bindValue=this.bindValue||this._defaultValue;var t=function(t){e.items=t.map(function(e){return{value:e.value,label:e.elementRef.nativeElement.innerHTML,disabled:e.disabled}}),e.itemsList.setItems(e.items),e.hasValue&&e.itemsList.mapSelectedItems(),e.detectChanges()},n=function(){var t=i.merge(e.ngOptions.changes,e._destroy$);i.merge.apply(void 0,c(e.ngOptions.map(function(e){return e.stateChange$}))).pipe(o.takeUntil(t)).subscribe(function(t){e.itemsList.findItem(t.value).disabled=t.disabled,e._cd.markForCheck()})};this.ngOptions.changes.pipe(o.startWith(this.ngOptions),o.takeUntil(this._destroy$)).subscribe(function(e){t(e),n()})},e.prototype._isValidWriteValue=function(e){var t=this;if(!u(e)||this.multiple&&""===e||Array.isArray(e)&&0===e.length)return!1;var n=function(e){return!d(e)||!t.bindValue||(t._console.warn("Binding object("+JSON.stringify(e)+") with bindValue is not allowed."),!1)};return this.multiple?Array.isArray(e)?e.every(function(e){return n(e)}):(this._console.warn("Multiple select ngModel should be array."),!1):n(e)},e.prototype._handleWriteValue=function(e){var t=this;if(this._isValidWriteValue(e)){var n=function(e){var n=t.itemsList.findItem(e);if(n)t.itemsList.select(n);else{var i=d(e),o=!i&&!t.bindValue;i||o?t.itemsList.select(t.itemsList.mapItem(e,null)):t.bindValue&&((r={})[t.bindLabel]=null,r[t.bindValue]=e,n=r,t.itemsList.select(t.itemsList.mapItem(n,null)))}var r};this.multiple?e.forEach(function(e){n(e)}):n(e)}},e.prototype._updateNgModel=function(){var e=[];try{for(var t=l(this.selectedItems),n=t.next();!n.done;n=t.next()){var i=n.value;if(this.bindValue){var o=null;o=i.hasChildren?i.value[this.groupBy]:this.itemsList.resolveNested(i.value,this.bindValue),e.push(o)}else e.push(i.value)}}catch(a){r={error:a}}finally{try{n&&!n.done&&(s=t["return"])&&s.call(t)}finally{if(r)throw r.error}}this.multiple?(this._onChange(e),this.changeEvent.emit(this.selectedItems.map(function(e){return e.value}))):(this._onChange(u(e[0])?e[0]:null),this.changeEvent.emit(this.selectedItems[0]&&this.selectedItems[0].value)),this._cd.markForCheck();var r,s},e.prototype._clearSearch=function(){this.filterValue&&(this.filterValue=null,this.itemsList.resetItems())},e.prototype._scrollToMarked=function(){this.isOpen&&this.dropdownPanel&&this.dropdownPanel.scrollInto(this.itemsList.markedItem)},e.prototype._scrollToTag=function(){this.isOpen&&this.dropdownPanel&&this.dropdownPanel.scrollIntoTag()},e.prototype._handleTab=function(e){this.isOpen&&(this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),e.preventDefault()):this.showAddTag()?(this.selectTag(),e.preventDefault()):this.close():this.close())},e.prototype._handleEnter=function(e){this.isOpen&&(this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.addTag&&this.selectTag()),e.preventDefault(),e.stopPropagation()},e.prototype._handleSpace=function(e){this.isOpen||(this.open(),e.preventDefault())},e.prototype._handleArrowDown=function(e){this.nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),e.preventDefault()},e.prototype._handleArrowUp=function(e){this.isOpen&&(this.nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),e.preventDefault())},e.prototype.nextItemIsTag=function(e){var t=this.itemsList.markedIndex+e;return this.addTag&&this.filterValue&&this.itemsList.markedItem&&(t<0||t===this.itemsList.filteredItems.length)},e.prototype._handleBackspace=function(){!this.filterValue&&this.clearable&&this.hasValue&&(this.multiple?(this.itemsList.unselectLast(),this._updateNgModel()):this.clearModel())},Object.defineProperty(e.prototype,"_isTypeahead",{get:function(){return this.typeahead&&this.typeahead.observers.length>0},enumerable:!0,configurable:!0}),e.prototype._mergeGlobalConfig=function(e){this.notFoundText=this.notFoundText||e.notFoundText,this.typeToSearchText=this.typeToSearchText||e.typeToSearchText,this.addTagText=this.addTagText||e.addTagText,this.loadingText=this.loadingText||e.loadingText,this.clearAllText=this.clearAllText||e.clearAllText},e}();D.decorators=[{type:t.Component,args:[{selector:"ng-select",template:'<div (click)="searchable ? open() : toggle()" [class.ng-has-value]="hasValue" class="ng-control">\n <div class="ng-value-container">\n <div class="ng-placeholder">{{placeholder}}</div>\n <ng-container *ngIf="!multiLabelTemplate && selectedItems.length > 0">\n <div [class.disabled]="item.disabled" class="ng-value" *ngFor="let item of selectedItems">\n <ng-template #defaultLabelTemplate>\n <span class="ng-value-icon left" (click)="unselect(item); $event.stopPropagation()" aria-hidden="true">×</span>\n <span class="ng-value-label" [innerHTML]="item.label"></span>\n </ng-template>\n <ng-template\n [ngTemplateOutlet]="labelTemplate || defaultLabelTemplate"\n [ngTemplateOutletContext]="{ item: item.value, clear: clearItem, label: item.label }">\n </ng-template>\n </div>\n </ng-container>\n <ng-template *ngIf="multiLabelTemplate && selectedValues.length > 0"\n [ngTemplateOutlet]="multiLabelTemplate"\n [ngTemplateOutletContext]="{ items: selectedValues, clear: clearItem }">\n </ng-template>\n <div *ngIf="showFilter()" class="ng-input">\n <input #filterInput\n type="text"\n autocomplete="off"\n [readOnly]="!searchable"\n [value]="filterValue"\n (input)="filter(filterInput.value)"\n (focus)="onInputFocus()"\n (blur)="onInputBlur()"\n (change)="$event.stopPropagation()"\n role="combobox">\n </div>\n </div>\n <div class="ng-spinner-loader" *ngIf="isLoading"></div>\n <span *ngIf="showClear()" (click)="handleClearClick($event)" class="ng-clear-zone" title="{{clearAllText}}">\n <span class="ng-clear" aria-hidden="true">×</span>\n </span>\n <span (click)="handleArrowClick($event)" class="ng-arrow-zone">\n <span class="ng-arrow"></span>\n </span>\n</div>\n<div class="ng-overlay-container" *ngIf="isOpen">\n <div class="ng-overlay" (click)="close()" ></div>\n</div>\n<ng-dropdown-panel *ngIf="isOpen"\n class="ng-dropdown-panel"\n [virtualScroll]="virtualScroll"\n [bufferAmount]="bufferAmount"\n [appendTo]="appendTo"\n [position]="dropdownPosition"\n [headerTemplate]="headerTemplate"\n [footerTemplate]="footerTemplate"\n [items]="itemsList.filteredItems"\n (update)="viewPortItems = $event"\n (scrollToEnd)="scrollToEnd.emit($event)"\n [ngClass]="{\'multiple\': multiple}">\n <ng-container>\n <div class="ng-option" role="option" (click)="toggleItem(item)" (mousedown)="$event.preventDefault()" (mouseover)="onItemHover(item)"\n *ngFor="let item of viewPortItems"\n [class.disabled]="item.disabled"\n [class.selected]="item.selected"\n [class.ng-optgroup]="item.hasChildren"\n [class.ng-option]="!item.hasChildren"\n [class.ng-option-child]="!!item.parent"\n [class.marked]="item === itemsList.markedItem">\n <ng-template #defaultOptionTemplate>\n <span class="ng-option-label" [innerHTML]="item.label" [ngOptionHighlight]="filterValue"></span>\n </ng-template>\n <ng-template #defaultOptGroupTemplate>\n <span class="ng-option-label" [innerHTML]="item.label" [ngOptionHighlight]="filterValue"></span>\n </ng-template>\n <ng-template\n [ngTemplateOutlet]="item.hasChildren ? (optgroupTemplate || defaultOptGroupTemplate) : (optionTemplate || defaultOptionTemplate)"\n [ngTemplateOutletContext]="{ item: item.value, index: item.index, searchTerm: filterValue }">\n </ng-template>\n </div>\n <div class="ng-option" [class.marked]="!itemsList.markedItem" (mouseover)="itemsList.unmarkItem()" role="option" (click)="selectTag()" *ngIf="showAddTag()">\n <span><span class="ng-tag-label">{{addTagText}}</span>"{{filterValue}}"</span>\n </div>\n </ng-container>\n <ng-container *ngIf="showNoItemsFound()">\n <ng-template #defaultNotfoundTemplate>\n <div class="ng-option disabled" [innerHTML]="notFoundText" *ngIf="showNoItemsFound()"></div>\n </ng-template>\n <ng-template\n [ngTemplateOutlet]="notFoundTemplate || defaultNotfoundTemplate"\n [ngTemplateOutletContext]="{ searchTerm: filterValue }">\n </ng-template>\n </ng-container>\n <ng-container *ngIf="showTypeToSearch()">\n <ng-template #defaultTypeToSearchTemplate>\n <div class="ng-option disabled" [innerHTML]="typeToSearchText"></div>\n </ng-template>\n <ng-template\n [ngTemplateOutlet]="typeToSearchTemplate || defaultTypeToSearchTemplate">\n </ng-template>\n </ng-container>\n <ng-container *ngIf="isLoading && itemsList.filteredItems.length === 0">\n <ng-template #defaultLoadingTextTemplate>\n <div class="ng-option disabled" [innerHTML]="loadingText"></div>\n </ng-template>\n <ng-template\n [ngTemplateOutlet]="loadingTextTemplate || defaultLoadingTextTemplate"\n [ngTemplateOutletContext]="{ searchTerm: filterValue }">\n </ng-template>\n </ng-container>\n</ng-dropdown-panel>\n',styles:[".ng-select{\n position:relative;\n display:block;\n -webkit-box-sizing:border-box;\n box-sizing:border-box; }\n .ng-select div,\n .ng-select input,\n .ng-select span{\n -webkit-box-sizing:border-box;\n box-sizing:border-box; }\n .ng-select [hidden]{\n display:none; }\n .ng-select.searchable .ng-control .ng-value-container .ng-input{\n opacity:1; }\n .ng-select.opened .ng-control{\n z-index:1001; }\n .ng-select.disabled .ng-control .ng-value-container .ng-placeholder,\n .ng-select.disabled .ng-control .ng-value-container .ng-value{\n -webkit-user-select:none;\n -moz-user-select:none;\n -ms-user-select:none;\n user-select:none;\n cursor:default; }\n .ng-select.disabled .ng-arrow-zone{\n cursor:default; }\n .ng-select.filtered .ng-placeholder{\n display:none; }\n .ng-select .ng-control{\n color:#333;\n cursor:default;\n display:-webkit-box;\n display:-ms-flexbox;\n display:flex;\n outline:none;\n overflow:hidden;\n position:relative;\n width:100%; }\n .ng-select .ng-control .ng-value-container{\n display:-webkit-box;\n display:-ms-flexbox;\n display:flex;\n -webkit-box-flex:1;\n -ms-flex:1;\n flex:1; }\n .ng-select .ng-control .ng-value-container .ng-input{\n opacity:0; }\n .ng-select .ng-control .ng-value-container .ng-input > input{\n -webkit-box-sizing:content-box;\n box-sizing:content-box;\n background:none transparent;\n border:0 none;\n -webkit-box-shadow:none;\n box-shadow:none;\n outline:none;\n cursor:default;\n width:100%; }\n .ng-select .ng-control .ng-value-container .ng-input > input::-ms-clear{\n display:none; }\n .ng-select.ng-single.filtered .ng-control .ng-value-container .ng-value{\n visibility:hidden; }\n .ng-select.ng-single .ng-control .ng-value-container{\n white-space:nowrap;\n overflow:hidden;\n text-overflow:ellipsis; }\n .ng-select.ng-single .ng-control .ng-value-container .ng-value{\n white-space:nowrap;\n overflow:hidden;\n text-overflow:ellipsis; }\n .ng-select.ng-single .ng-control .ng-value-container .ng-value .ng-value-icon{\n display:none; }\n .ng-select.ng-single .ng-control .ng-value-container .ng-input{\n position:absolute;\n left:0;\n width:100%; }\n .ng-select.ng-multiple.disabled > .ng-control .ng-value-container .ng-value .ng-value-icon{\n display:none; }\n .ng-select.ng-multiple .ng-control .ng-value-container{\n -ms-flex-wrap:wrap;\n flex-wrap:wrap; }\n .ng-select.ng-multiple .ng-control .ng-value-container .ng-placeholder{\n position:absolute; }\n .ng-select.ng-multiple .ng-control .ng-value-container .ng-value{\n white-space:nowrap; }\n .ng-select.ng-multiple .ng-control .ng-value-container .ng-value.disabled .ng-value-icon{\n display:none; }\n .ng-select.ng-multiple .ng-control .ng-value-container .ng-value .ng-value-icon{\n cursor:pointer; }\n .ng-select.ng-multiple .ng-control .ng-value-container .ng-input{\n -webkit-box-flex:1;\n -ms-flex:1;\n flex:1;\n z-index:2; }\n .ng-select.ng-multiple .ng-control .ng-value-container .ng-placeholder{\n z-index:1; }\n .ng-select .ng-clear-zone{\n cursor:pointer;\n position:relative;\n width:17px;\n -webkit-user-select:none;\n -moz-user-select:none;\n -ms-user-select:none;\n user-select:none; }\n .ng-select .ng-clear-zone .ng-clear{\n display:inline-block;\n font-size:18px;\n line-height:1; }\n .ng-select .ng-spinner-loader{\n border-radius:50%;\n width:17px;\n height:17px;\n margin-right:5px;\n font-size:10px;\n position:relative;\n text-indent:-9999em;\n border-top:2px solid rgba(66, 66, 66, 0.2);\n border-right:2px solid rgba(66, 66, 66, 0.2);\n border-bottom:2px solid rgba(66, 66, 66, 0.2);\n border-left:2px solid #424242;\n -webkit-transform:translateZ(0);\n transform:translateZ(0);\n -webkit-animation:load8 0.8s infinite linear;\n animation:load8 0.8s infinite linear; }\n .ng-select .ng-spinner-loader:after{\n border-radius:50%;\n width:17px;\n height:17px; }\n@-webkit-keyframes load8{\n 0%{\n -webkit-transform:rotate(0deg);\n transform:rotate(0deg); }\n 100%{\n -webkit-transform:rotate(360deg);\n transform:rotate(360deg); } }\n@keyframes load8{\n 0%{\n -webkit-transform:rotate(0deg);\n transform:rotate(0deg); }\n 100%{\n -webkit-transform:rotate(360deg);\n transform:rotate(360deg); } }\n .ng-select .ng-arrow-zone{\n cursor:pointer;\n position:relative;\n text-align:center;\n -webkit-user-select:none;\n -moz-user-select:none;\n -ms-user-select:none;\n user-select:none; }\n .ng-select .ng-arrow-zone .ng-arrow{\n display:inline-block;\n height:0;\n width:0;\n position:relative; }\n .ng-select .ng-overlay-container{\n pointer-events:none;\n top:0;\n left:0;\n height:100%;\n width:100%;\n position:fixed;\n z-index:1000; }\n .ng-select .ng-overlay-container .ng-overlay{\n top:0;\n bottom:0;\n left:0;\n right:0;\n opacity:0;\n position:absolute;\n pointer-events:auto;\n z-index:1000; }\n"],providers:[{provide:r.NG_VALUE_ACCESSOR,useExisting:t.forwardRef(function(){return D}),multi:!0}],encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.OnPush,host:{role:"listbox","class":"ng-select","[class.ng-single]":"!multiple"}}]}],D.ctorParameters=function(){return[{type:undefined,decorators:[{type:t.Inject,args:[R]}]},{type:t.ChangeDetectorRef},{type:A},{type:t.ElementRef}]},D.propDecorators={items:[{type:t.Input}],bindLabel:[{type:t.Input}],bindValue:[{type:t.Input}],clearable:[{type:t.Input}],markFirst:[{type:t.Input}],placeholder:[{type:t.Input}],notFoundText:[{type:t.Input}],typeToSearchText:[{type:t.Input}],addTagText:[{type:t.Input}],loadingText:[{type:t.Input}],clearAllText:[{type:t.Input}],dropdownPosition:[{type:t.Input}],appendTo:[{type:t.Input}],loading:[{type:t.Input}],closeOnSelect:[{type:t.Input}],hideSelected:[{type:t.Input}],selectOnTab:[{type:t.Input}],maxSelectedItems:[{type:t.Input}],groupBy:[{type:t.Input}],bufferAmount:[{type:t.Input}],virtualScroll:[{type:t.Input}],selectableGroup:[{type:t.Input}],searchFn:[{type:t.Input}],typeahead:[{type:t.Input},{type:t.HostBinding,args:["class.typeahead"]}],multiple:[{type:t.Input},{type:t.HostBinding,args:["class.ng-multiple"]}],addTag:[{type:t.Input},{type:t.HostBinding,args:["class.taggable"]}],searchable:[{type:t.Input},{type:t.HostBinding,args:["class.searchable"]}],compareWith:[{type:t.Input}],blurEvent:[{type:t.Output,args:["blur"]}],focusEvent:[{type:t.Output,args:["focus"]}],changeEvent:[{type:t.Output,args:["change"]}],openEvent:[{type:t.Output,args:["open"]}],closeEvent:[{type:t.Output,args:["close"]}],searchEvent:[{type:t.Output,args:["search"]}],clearEvent:[{type:t.Output,args:["clear"]}],addEvent:[{type:t.Output,args:["add"]}],removeEvent:[{type:t.Output,args:["remove"]}],scrollToEnd:[{type:t.Output,args:["scrollToEnd"]}],optionTemplate:[{type:t.ContentChild,args:[g,{read:t.TemplateRef}]}],optgroupTemplate:[{type:t.ContentChild,args:[f,{read:t.TemplateRef}]}],labelTemplate:[{type:t.ContentChild,args:[v,{read:t.TemplateRef}]}],multiLabelTemplate:[{type:t.ContentChild,args:[y,{read:t.TemplateRef}]}],headerTemplate:[{type:t.ContentChild,args:[b,{read:t.TemplateRef}]}],footerTemplate:[{type:t.ContentChild,args:[_,{read:t.TemplateRef}]}],notFoundTemplate:[{type:t.ContentChild,args:[T,{read:t.TemplateRef}]}],typeToSearchTemplate:[{type:t.ContentChild,args:[I,{read:t.TemplateRef}]}],loadingTextTemplate:[{type:t.ContentChild,args:[w,{read:t.TemplateRef}]}],dropdownPanel:[{type:t.ViewChild,args:[t.forwardRef(function(){return C})]}],ngOptions:[{type:t.ContentChildren,args:[S,{descendants:!0}]}],filterInput:[{type:t.ViewChild,args:["filterInput"]}],isOpen:[{type:t.HostBinding,args:["class.opened"]}],isFocused:[{type:t.HostBinding,args:["class.focused"]}],isDisabled:[{type:t.HostBinding,args:["class.disabled"]}],filtered:[{type:t.HostBinding,args:["class.filtered"]}],handleKeyDown:[{type:t.HostListener,args:["keydown",["$event"]]}]};var P=function(){function e(e,t){this.elementRef=e,this.renderer=t}return e.prototype.ngOnChanges=function(){this._highlightLabelWithSearchTerm()},e.prototype._highlightLabelWithSearchTerm=function(){var e=this.label?this.label.toString():"";if(e&&this.term){var t=p(e).toLowerCase().indexOf(p(this.term).toLowerCase());t>-1?this._setInnerHtml(e.substring(0,t)+"<span class='highlighted'>"+e.substr(t,this.term.length)+"</span>"+e.substring(t+this.term.length,e.length)):this._setInnerHtml(e)}else this._setInnerHtml(e)},e.prototype._setInnerHtml=function(e){this.renderer.setProperty(this.elementRef.nativeElement,"innerHTML",e)},e}();P.decorators=[{type:t.Directive,args:[{selector:"[ngOptionHighlight]"}]}],P.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2}]},P.propDecorators={term:[{type:t.Input,args:["ngOptionHighlight"]}],label:[{type:t.Input,args:["innerHTML"]}]};var V=function(){return function(){}}();V.decorators=[{type:t.NgModule,args:[{declarations:[C,S,D,P,f,g,v,y,b,_,T,I,w],imports:[s.CommonModule],exports:[D,S,P,f,g,v,y,b,_,T,I,w],providers:[A,L,k,{provide:R,useValue:{notFoundText:"No items found",typeToSearchText:"Type to search",addTagText:"Add item",loadingText:"Loading...",clearAllText:"Clear all",disableVirtualScroll:!1}}]}]}],V.ctorParameters=function(){return[]},e.NgSelectComponent=D,e.NG_SELECT_DEFAULT_CONFIG=R,e.NgSelectModule=V,e.ɵn=A,e.ɵj=C,e.ɵo=P,e.ɵm=S,e.ɵf=_,e.ɵe=b,e.ɵc=v,e.ɵi=w,e.ɵd=y,e.ɵg=T,e.ɵb=f,e.ɵa=g,e.ɵh=I,e.ɵk=k,e.ɵl=L,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=ng-select.umd.min.js.map |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"NgSelectComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ng-select","template":"<div (click)=\"searchable ? open() : toggle()\" [class.ng-has-value]=\"hasValue\" class=\"ng-control\">\n <div class=\"ng-value-container\">\n <div class=\"ng-placeholder\">{{placeholder}}</div>\n\n <ng-container *ngIf=\"!multiLabelTemplate && selectedItems.length > 0\">\n <div [class.disabled]=\"item.disabled\" class=\"ng-value\" *ngFor=\"let item of selectedItems\">\n <ng-template #defaultLabelTemplate>\n <span class=\"ng-value-icon left\" (click)=\"unselect(item); $event.stopPropagation()\" aria-hidden=\"true\">×</span>\n <span class=\"ng-value-label\" [innerHTML]=\"item.label\"></span>\n </ng-template>\n \n <ng-template\n [ngTemplateOutlet]=\"labelTemplate || defaultLabelTemplate\"\n [ngTemplateOutletContext]=\"{ item: item.value, clear: clearItem, label: item.label }\">\n </ng-template>\n </div>\n </ng-container>\n\n <ng-template *ngIf=\"multiLabelTemplate && selectedValues.length > 0\"\n [ngTemplateOutlet]=\"multiLabelTemplate\"\n [ngTemplateOutletContext]=\"{ items: selectedValues, clear: clearItem }\">\n </ng-template>\n\n <div *ngIf=\"showFilter()\" class=\"ng-input\">\n <input #filterInput\n type=\"text\"\n autocomplete=\"off\"\n [readOnly]=\"!searchable\"\n [value]=\"filterValue\"\n (input)=\"filter(filterInput.value)\"\n (focus)=\"onInputFocus()\"\n (blur)=\"onInputBlur()\"\n (change)=\"$event.stopPropagation()\"\n role=\"combobox\">\n </div>\n </div>\n\n <div class=\"ng-spinner-loader\" *ngIf=\"isLoading\"></div>\n\n <span *ngIf=\"showClear()\" (click)=\"handleClearClick($event)\" class=\"ng-clear-zone\" title=\"{{clearAllText}}\">\n <span class=\"ng-clear\" aria-hidden=\"true\">×</span>\n </span>\n\n <span (click)=\"handleArrowClick($event)\" class=\"ng-arrow-zone\">\n <span class=\"ng-arrow\"></span>\n </span>\n</div>\n\n<div class=\"ng-overlay-container\" *ngIf=\"isOpen\">\n <div class=\"ng-overlay\" (click)=\"close()\" ></div>\n</div>\n\n<ng-dropdown-panel *ngIf=\"isOpen\"\n class=\"ng-dropdown-panel\"\n [virtualScroll]=\"virtualScroll\"\n [bufferAmount]=\"bufferAmount\"\n [appendTo]=\"appendTo\"\n [position]=\"dropdownPosition\"\n [headerTemplate]=\"headerTemplate\"\n [footerTemplate]=\"footerTemplate\"\n [items]=\"itemsList.filteredItems\"\n (update)=\"viewPortItems = $event\"\n (scrollToEnd)=\"scrollToEnd.emit($event)\"\n [ngClass]=\"{'multiple': multiple}\">\n \n <ng-container>\n <div class=\"ng-option\" role=\"option\" (click)=\"toggleItem(item)\" (mousedown)=\"$event.preventDefault()\" (mouseover)=\"onItemHover(item)\"\n *ngFor=\"let item of viewPortItems\"\n [class.disabled]=\"item.disabled\"\n [class.selected]=\"item.selected\"\n [class.ng-optgroup]=\"item.hasChildren\"\n [class.ng-option]=\"!item.hasChildren\"\n [class.ng-option-child]=\"!!item.parent\"\n [class.marked]=\"item === itemsList.markedItem\">\n\n <ng-template #defaultOptionTemplate>\n <span class=\"ng-option-label\" [innerHTML]=\"item.label\" [ngOptionHighlight]=\"filterValue\"></span>\n </ng-template>\n\n <ng-template #defaultOptGroupTemplate>\n <span class=\"ng-option-label\" [innerHTML]=\"item.label\" [ngOptionHighlight]=\"filterValue\"></span>\n </ng-template>\n\n <ng-template\n [ngTemplateOutlet]=\"item.hasChildren ? (optgroupTemplate || defaultOptGroupTemplate) : (optionTemplate || defaultOptionTemplate)\"\n [ngTemplateOutletContext]=\"{ item: item.value, index: item.index, searchTerm: filterValue }\">\n </ng-template>\n </div>\n\n <div class=\"ng-option\" [class.marked]=\"!itemsList.markedItem\" (mouseover)=\"itemsList.unmarkItem()\" role=\"option\" (click)=\"selectTag()\" *ngIf=\"showAddTag()\">\n <span><span class=\"ng-tag-label\">{{addTagText}}</span>\"{{filterValue}}\"</span>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"showNoItemsFound()\">\n <ng-template #defaultNotfoundTemplate>\n <div class=\"ng-option disabled\" [innerHTML]=\"notFoundText\" *ngIf=\"showNoItemsFound()\"></div>\n </ng-template>\n \n <ng-template\n [ngTemplateOutlet]=\"notFoundTemplate || defaultNotfoundTemplate\"\n [ngTemplateOutletContext]=\"{ searchTerm: filterValue }\">\n </ng-template>\n </ng-container>\n\n <ng-container *ngIf=\"showTypeToSearch()\">\n <ng-template #defaultTypeToSearchTemplate>\n <div class=\"ng-option disabled\" [innerHTML]=\"typeToSearchText\"></div>\n </ng-template>\n \n <ng-template\n [ngTemplateOutlet]=\"typeToSearchTemplate || defaultTypeToSearchTemplate\">\n </ng-template>\n </ng-container>\n \n <ng-container *ngIf=\"isLoading && itemsList.filteredItems.length === 0\">\n <ng-template #defaultLoadingTextTemplate>\n <div class=\"ng-option disabled\" [innerHTML]=\"loadingText\"></div>\n </ng-template>\n \n <ng-template\n [ngTemplateOutlet]=\"loadingTextTemplate || defaultLoadingTextTemplate\"\n [ngTemplateOutletContext]=\"{ searchTerm: filterValue }\">\n </ng-template>\n </ng-container>\n\n</ng-dropdown-panel>\n","styles":[".ng-select{\n position:relative;\n display:block;\n -webkit-box-sizing:border-box;\n box-sizing:border-box; }\n .ng-select div,\n .ng-select input,\n .ng-select span{\n -webkit-box-sizing:border-box;\n box-sizing:border-box; }\n .ng-select [hidden]{\n display:none; }\n .ng-select.searchable .ng-control .ng-value-container .ng-input{\n opacity:1; }\n .ng-select.opened .ng-control{\n z-index:1001; }\n .ng-select.disabled .ng-control .ng-value-container .ng-placeholder,\n .ng-select.disabled .ng-control .ng-value-container .ng-value{\n -webkit-user-select:none;\n -moz-user-select:none;\n -ms-user-select:none;\n user-select:none;\n cursor:default; }\n .ng-select.disabled .ng-arrow-zone{\n cursor:default; }\n .ng-select.filtered .ng-placeholder{\n display:none; }\n .ng-select .ng-control{\n color:#333;\n cursor:default;\n display:-webkit-box;\n display:-ms-flexbox;\n display:flex;\n outline:none;\n overflow:hidden;\n position:relative;\n width:100%; }\n .ng-select .ng-control .ng-value-container{\n display:-webkit-box;\n display:-ms-flexbox;\n display:flex;\n -webkit-box-flex:1;\n -ms-flex:1;\n flex:1; }\n .ng-select .ng-control .ng-value-container .ng-input{\n opacity:0; }\n .ng-select .ng-control .ng-value-container .ng-input > input{\n -webkit-box-sizing:content-box;\n box-sizing:content-box;\n background:none transparent;\n border:0 none;\n -webkit-box-shadow:none;\n box-shadow:none;\n outline:none;\n cursor:default;\n width:100%; }\n .ng-select .ng-control .ng-value-container .ng-input > input::-ms-clear{\n display:none; }\n .ng-select.ng-single.filtered .ng-control .ng-value-container .ng-value{\n visibility:hidden; }\n .ng-select.ng-single .ng-control .ng-value-container{\n white-space:nowrap;\n overflow:hidden;\n text-overflow:ellipsis; }\n .ng-select.ng-single .ng-control .ng-value-container .ng-value{\n white-space:nowrap;\n overflow:hidden;\n text-overflow:ellipsis; }\n .ng-select.ng-single .ng-control .ng-value-container .ng-value .ng-value-icon{\n display:none; }\n .ng-select.ng-single .ng-control .ng-value-container .ng-input{\n position:absolute;\n left:0;\n width:100%; }\n .ng-select.ng-multiple.disabled > .ng-control .ng-value-container .ng-value .ng-value-icon{\n display:none; }\n .ng-select.ng-multiple .ng-control .ng-value-container{\n -ms-flex-wrap:wrap;\n flex-wrap:wrap; }\n .ng-select.ng-multiple .ng-control .ng-value-container .ng-placeholder{\n position:absolute; }\n .ng-select.ng-multiple .ng-control .ng-value-container .ng-value{\n white-space:nowrap; }\n .ng-select.ng-multiple .ng-control .ng-value-container .ng-value.disabled .ng-value-icon{\n display:none; }\n .ng-select.ng-multiple .ng-control .ng-value-container .ng-value .ng-value-icon{\n cursor:pointer; }\n .ng-select.ng-multiple .ng-control .ng-value-container .ng-input{\n -webkit-box-flex:1;\n -ms-flex:1;\n flex:1;\n z-index:2; }\n .ng-select.ng-multiple .ng-control .ng-value-container .ng-placeholder{\n z-index:1; }\n .ng-select .ng-clear-zone{\n cursor:pointer;\n position:relative;\n width:17px;\n -webkit-user-select:none;\n -moz-user-select:none;\n -ms-user-select:none;\n user-select:none; }\n .ng-select .ng-clear-zone .ng-clear{\n display:inline-block;\n font-size:18px;\n line-height:1; }\n .ng-select .ng-spinner-loader{\n border-radius:50%;\n width:17px;\n height:17px;\n margin-right:5px;\n font-size:10px;\n position:relative;\n text-indent:-9999em;\n border-top:2px solid rgba(66, 66, 66, 0.2);\n border-right:2px solid rgba(66, 66, 66, 0.2);\n border-bottom:2px solid rgba(66, 66, 66, 0.2);\n border-left:2px solid #424242;\n -webkit-transform:translateZ(0);\n transform:translateZ(0);\n -webkit-animation:load8 0.8s infinite linear;\n animation:load8 0.8s infinite linear; }\n .ng-select .ng-spinner-loader:after{\n border-radius:50%;\n width:17px;\n height:17px; }\n\n@-webkit-keyframes load8{\n 0%{\n -webkit-transform:rotate(0deg);\n transform:rotate(0deg); }\n 100%{\n -webkit-transform:rotate(360deg);\n transform:rotate(360deg); } }\n\n@keyframes load8{\n 0%{\n -webkit-transform:rotate(0deg);\n transform:rotate(0deg); }\n 100%{\n -webkit-transform:rotate(360deg);\n transform:rotate(360deg); } }\n .ng-select .ng-arrow-zone{\n cursor:pointer;\n position:relative;\n text-align:center;\n -webkit-user-select:none;\n -moz-user-select:none;\n -ms-user-select:none;\n user-select:none; }\n .ng-select .ng-arrow-zone .ng-arrow{\n display:inline-block;\n height:0;\n width:0;\n position:relative; }\n .ng-select .ng-overlay-container{\n pointer-events:none;\n top:0;\n left:0;\n height:100%;\n width:100%;\n position:fixed;\n z-index:1000; }\n .ng-select .ng-overlay-container .ng-overlay{\n top:0;\n bottom:0;\n left:0;\n right:0;\n opacity:0;\n position:absolute;\n pointer-events:auto;\n z-index:1000; }\n"],"providers":[{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR"},"useExisting":{"__symbolic":"reference","name":"NgSelectComponent"},"multi":true}],"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation"},"member":"None"},"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy"},"member":"OnPush"},"host":{"role":"listbox","class":"ng-select","[class.ng-single]":"!multiple"}}]}],"members":{"items":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"bindLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"bindValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"clearable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"markFirst":[{"__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"}}]}],"notFoundText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"typeToSearchText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"addTagText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"loadingText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"clearAllText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dropdownPosition":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"appendTo":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"loading":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"closeOnSelect":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"hideSelected":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"selectOnTab":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"maxSelectedItems":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"groupBy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"bufferAmount":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"virtualScroll":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"selectableGroup":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"typeahead":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"},"arguments":["class.typeahead"]}]}],"multiple":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"},"arguments":["class.ng-multiple"]}]}],"addTag":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"},"arguments":["class.taggable"]}]}],"searchable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"},"arguments":["class.searchable"]}]}],"compareWith":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"blurEvent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["blur"]}]}],"focusEvent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["focus"]}]}],"changeEvent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["change"]}]}],"openEvent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["open"]}]}],"closeEvent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["close"]}]}],"searchEvent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["search"]}]}],"clearEvent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["clear"]}]}],"addEvent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["add"]}]}],"removeEvent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["remove"]}]}],"scrollToEnd":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["scrollToEnd"]}]}],"optionTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":[{"__symbolic":"reference","name":"ɵa"},{"read":{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef"}}]}]}],"optgroupTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":[{"__symbolic":"reference","name":"ɵb"},{"read":{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef"}}]}]}],"labelTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":[{"__symbolic":"reference","name":"ɵc"},{"read":{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef"}}]}]}],"multiLabelTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":[{"__symbolic":"reference","name":"ɵd"},{"read":{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef"}}]}]}],"headerTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":[{"__symbolic":"reference","name":"ɵe"},{"read":{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef"}}]}]}],"footerTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":[{"__symbolic":"reference","name":"ɵf"},{"read":{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef"}}]}]}],"notFoundTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":[{"__symbolic":"reference","name":"ɵg"},{"read":{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef"}}]}]}],"typeToSearchTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":[{"__symbolic":"reference","name":"ɵh"},{"read":{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef"}}]}]}],"loadingTextTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":[{"__symbolic":"reference","name":"ɵi"},{"read":{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef"}}]}]}],"dropdownPanel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":[{"__symbolic":"reference","name":"ɵj"}]}]}],"ngOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren"},"arguments":[{"__symbolic":"reference","name":"ɵm"},{"descendants":true}]}]}],"filterInput":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["filterInput"]}]}],"isOpen":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"},"arguments":["class.opened"]}]}],"isFocused":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"},"arguments":["class.focused"]}]}],"isDisabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"},"arguments":["class.disabled"]}]}],"filtered":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"},"arguments":["class.filtered"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"NG_SELECT_DEFAULT_CONFIG"}]}],null,null,null],"parameters":[{"__symbolic":"reference","name":"NgSelectConfig"},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"},{"__symbolic":"reference","name":"ɵn"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"handleKeyDown":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener"},"arguments":["keydown",["$event"]]}]}],"handleArrowClick":[{"__symbolic":"method"}],"handleClearClick":[{"__symbolic":"method"}],"clearModel":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"setDisabledState":[{"__symbolic":"method"}],"toggle":[{"__symbolic":"method"}],"open":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}],"toggleItem":[{"__symbolic":"method"}],"select":[{"__symbolic":"method"}],"unselect":[{"__symbolic":"method"}],"selectTag":[{"__symbolic":"method"}],"showClear":[{"__symbolic":"method"}],"showAddTag":[{"__symbolic":"method"}],"showFilter":[{"__symbolic":"method"}],"showNoItemsFound":[{"__symbolic":"method"}],"showTypeToSearch":[{"__symbolic":"method"}],"filter":[{"__symbolic":"method"}],"onInputFocus":[{"__symbolic":"method"}],"onInputBlur":[{"__symbolic":"method"}],"onItemHover":[{"__symbolic":"method"}],"detectChanges":[{"__symbolic":"method"}],"focusSearchInput":[{"__symbolic":"method"}],"_setItems":[{"__symbolic":"method"}],"_setItemsFromNgOptions":[{"__symbolic":"method"}],"_isValidWriteValue":[{"__symbolic":"method"}],"_handleWriteValue":[{"__symbolic":"method"}],"_updateNgModel":[{"__symbolic":"method"}],"_clearSearch":[{"__symbolic":"method"}],"_scrollToMarked":[{"__symbolic":"method"}],"_scrollToTag":[{"__symbolic":"method"}],"_handleTab":[{"__symbolic":"method"}],"_handleEnter":[{"__symbolic":"method"}],"_handleSpace":[{"__symbolic":"method"}],"_handleArrowDown":[{"__symbolic":"method"}],"_handleArrowUp":[{"__symbolic":"method"}],"nextItemIsTag":[{"__symbolic":"method"}],"_handleBackspace":[{"__symbolic":"method"}],"_mergeGlobalConfig":[{"__symbolic":"method"}]}},"NG_SELECT_DEFAULT_CONFIG":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken"},"arguments":["ng-select-default-options"]},"NgSelectModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵj"},{"__symbolic":"reference","name":"ɵm"},{"__symbolic":"reference","name":"NgSelectComponent"},{"__symbolic":"reference","name":"ɵo"},{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵd"},{"__symbolic":"reference","name":"ɵe"},{"__symbolic":"reference","name":"ɵf"},{"__symbolic":"reference","name":"ɵg"},{"__symbolic":"reference","name":"ɵh"},{"__symbolic":"reference","name":"ɵi"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}],"exports":[{"__symbolic":"reference","name":"NgSelectComponent"},{"__symbolic":"reference","name":"ɵm"},{"__symbolic":"reference","name":"ɵo"},{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵd"},{"__symbolic":"reference","name":"ɵe"},{"__symbolic":"reference","name":"ɵf"},{"__symbolic":"reference","name":"ɵg"},{"__symbolic":"reference","name":"ɵh"},{"__symbolic":"reference","name":"ɵi"}],"providers":[{"__symbolic":"reference","name":"ɵn"},{"__symbolic":"reference","name":"ɵl"},{"__symbolic":"reference","name":"ɵk"},{"provide":{"__symbolic":"reference","name":"NG_SELECT_DEFAULT_CONFIG"},"useValue":{"notFoundText":"No items found","typeToSearchText":"Type to search","addTagText":"Add item","loadingText":"Loading...","clearAllText":"Clear all","disableVirtualScroll":false}}]}]}],"members":{}},"NgOption":{"__symbolic":"interface"},"NgSelectConfig":{"__symbolic":"interface"},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ng-option-tmp]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]}]}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ng-optgroup-tmp]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]}]}]}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ng-label-tmp]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]}]}]}},"ɵd":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ng-multi-label-tmp]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]}]}]}},"ɵe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ng-header-tmp]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]}]}]}},"ɵf":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ng-footer-tmp]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]}]}]}},"ɵg":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ng-notfound-tmp]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]}]}]}},"ɵh":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ng-typetosearch-tmp]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]}]}]}},"ɵi":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ng-loadingtext-tmp]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]}]}]}},"ɵj":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy"},"member":"OnPush"},"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation"},"member":"None"},"selector":"ng-dropdown-panel","template":"\n <div *ngIf=\"headerTemplate\" class=\"ng-dropdown-header\" ngProjectAs=\"header\" header>\n <ng-container [ngTemplateOutlet]=\"headerTemplate\"></ng-container>\n </div>\n <div #scroll class=\"ng-dropdown-panel-items scroll-host\">\n <div #padding [class.total-padding]=\"virtualScroll\"></div>\n <div #content [class.scrollable-content]=\"virtualScroll && items.length > 0\">\n <ng-content></ng-content>\n </div>\n </div>\n <div *ngIf=\"footerTemplate\" class=\"ng-dropdown-footer\" ngProjectAs=\"footer\" footer>\n <ng-container [ngTemplateOutlet]=\"footerTemplate\"></ng-container>\n </div>\n ","styles":[".ng-dropdown-panel{\n -webkit-box-sizing:border-box;\n box-sizing:border-box;\n position:absolute;\n opacity:0;\n width:100%;\n z-index:1050;\n -webkit-overflow-scrolling:touch; }\n .ng-dropdown-panel .ng-dropdown-panel-items{\n display:block;\n height:auto;\n -webkit-box-sizing:border-box;\n box-sizing:border-box;\n max-height:240px;\n overflow-y:auto; }\n .ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{\n white-space:nowrap;\n overflow:hidden;\n text-overflow:ellipsis; }\n .ng-dropdown-panel .ng-dropdown-panel-items .ng-option{\n -webkit-box-sizing:border-box;\n box-sizing:border-box;\n cursor:pointer;\n display:block;\n white-space:nowrap;\n overflow:hidden;\n text-overflow:ellipsis; }\n .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{\n font-weight:bold;\n text-decoration:underline; }\n .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{\n cursor:default; }\n .ng-dropdown-panel .scroll-host{\n overflow:hidden;\n overflow-y:auto;\n position:relative;\n display:block;\n -webkit-overflow-scrolling:touch; }\n .ng-dropdown-panel .scrollable-content{\n top:0;\n left:0;\n width:100%;\n height:100%;\n position:absolute; }\n .ng-dropdown-panel .total-padding{\n width:1px;\n opacity:0; }\n"]}]}],"members":{"items":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"position":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"appendTo":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"bufferAmount":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"virtualScroll":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"headerTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"footerTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"update":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"scrollToEnd":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"contentElementRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["content",{"read":{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}}]}]}],"scrollElementRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["scroll",{"read":{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}}]}]}],"paddingElementRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["padding",{"read":{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}}]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"NgSelectComponent"}]}],null,null,null,null,null],"parameters":[{"__symbolic":"reference","name":"NgSelectComponent"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"@angular/core","name":"NgZone"},{"__symbolic":"reference","name":"ɵk"},{"__symbolic":"reference","name":"ɵl"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"ngAfterContentInit":[{"__symbolic":"method"}],"refresh":[{"__symbolic":"method"}],"scrollInto":[{"__symbolic":"method"}],"scrollIntoTag":[{"__symbolic":"method"}],"_handleScroll":[{"__symbolic":"method"}],"_handleItemsChange":[{"__symbolic":"method"}],"_updateItems":[{"__symbolic":"method"}],"_fireScrollToEnd":[{"__symbolic":"method"}],"_calculateDimensions":[{"__symbolic":"method"}],"_handleDocumentResize":[{"__symbolic":"method"}],"_scrollToMarked":[{"__symbolic":"method"}],"_handleDropdownPosition":[{"__symbolic":"method"}],"_calculateCurrentPosition":[{"__symbolic":"method"}],"_appendDropdown":[{"__symbolic":"method"}],"_updateAppendedDropdownPosition":[{"__symbolic":"method"}],"_whenContentReady":[{"__symbolic":"method"}]}},"ɵk":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"calculateItems":[{"__symbolic":"method"}],"calculateDimensions":[{"__symbolic":"method"}]}},"ɵl":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"requestAnimationFrame":[{"__symbolic":"method"}]}},"ɵm":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ng-option","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy"},"member":"OnPush"},"template":"<ng-content></ng-content>"}]}],"members":{"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}]}],"ngOnChanges":[{"__symbolic":"method"}],"_isDisabled":[{"__symbolic":"method"}]}},"ɵn":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"warn":[{"__symbolic":"method"}]}},"ɵo":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngOptionHighlight]"}]}],"members":{"term":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["ngOptionHighlight"]}]}],"label":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["innerHTML"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2"}]}],"ngOnChanges":[{"__symbolic":"method"}],"_highlightLabelWithSearchTerm":[{"__symbolic":"method"}],"_setInnerHtml":[{"__symbolic":"method"}]}}},"origins":{"NgSelectComponent":"./ng-select/ng-select.component","NG_SELECT_DEFAULT_CONFIG":"./ng-select/ng-select.component","NgSelectModule":"./ng-select/ng-select.module","NgOption":"./ng-select/ng-select.types","NgSelectConfig":"./ng-select/ng-select.types","ɵa":"./ng-select/ng-templates.directive","ɵb":"./ng-select/ng-templates.directive","ɵc":"./ng-select/ng-templates.directive","ɵd":"./ng-select/ng-templates.directive","ɵe":"./ng-select/ng-templates.directive","ɵf":"./ng-select/ng-templates.directive","ɵg":"./ng-select/ng-templates.directive","ɵh":"./ng-select/ng-templates.directive","ɵi":"./ng-select/ng-templates.directive","ɵj":"./ng-select/ng-dropdown-panel.component","ɵk":"./ng-select/virtual-scroll.service","ɵl":"./ng-select/window.service","ɵm":"./ng-select/ng-option.component","ɵn":"./ng-select/console.service","ɵo":"./ng-select/ng-option-highlight.directive"},"importAs":"@ng-select/ng-select"} | ||
{"__symbolic":"module","version":4,"metadata":{"NgSelectComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ng-select","template":"<div (click)=\"searchable ? open() : toggle()\" [class.ng-has-value]=\"hasValue\" class=\"ng-control\">\n <div class=\"ng-value-container\">\n <div class=\"ng-placeholder\">{{placeholder}}</div>\n\n <ng-container *ngIf=\"!multiLabelTemplate && selectedItems.length > 0\">\n <div [class.disabled]=\"item.disabled\" class=\"ng-value\" *ngFor=\"let item of selectedItems\">\n <ng-template #defaultLabelTemplate>\n <span class=\"ng-value-icon left\" (click)=\"unselect(item); $event.stopPropagation()\" aria-hidden=\"true\">×</span>\n <span class=\"ng-value-label\" [innerHTML]=\"item.label\"></span>\n </ng-template>\n \n <ng-template\n [ngTemplateOutlet]=\"labelTemplate || defaultLabelTemplate\"\n [ngTemplateOutletContext]=\"{ item: item.value, clear: clearItem, label: item.label }\">\n </ng-template>\n </div>\n </ng-container>\n\n <ng-template *ngIf=\"multiLabelTemplate && selectedValues.length > 0\"\n [ngTemplateOutlet]=\"multiLabelTemplate\"\n [ngTemplateOutletContext]=\"{ items: selectedValues, clear: clearItem }\">\n </ng-template>\n\n <div *ngIf=\"showFilter()\" class=\"ng-input\">\n <input #filterInput\n type=\"text\"\n autocomplete=\"off\"\n [readOnly]=\"!searchable\"\n [value]=\"filterValue\"\n (input)=\"filter(filterInput.value)\"\n (focus)=\"onInputFocus()\"\n (blur)=\"onInputBlur()\"\n (change)=\"$event.stopPropagation()\"\n role=\"combobox\">\n </div>\n </div>\n\n <div class=\"ng-spinner-loader\" *ngIf=\"isLoading\"></div>\n\n <span *ngIf=\"showClear()\" (click)=\"handleClearClick($event)\" class=\"ng-clear-zone\" title=\"{{clearAllText}}\">\n <span class=\"ng-clear\" aria-hidden=\"true\">×</span>\n </span>\n\n <span (click)=\"handleArrowClick($event)\" class=\"ng-arrow-zone\">\n <span class=\"ng-arrow\"></span>\n </span>\n</div>\n\n<div class=\"ng-overlay-container\" *ngIf=\"isOpen\">\n <div class=\"ng-overlay\" (click)=\"close()\" ></div>\n</div>\n\n<ng-dropdown-panel *ngIf=\"isOpen\"\n class=\"ng-dropdown-panel\"\n [virtualScroll]=\"virtualScroll\"\n [bufferAmount]=\"bufferAmount\"\n [appendTo]=\"appendTo\"\n [position]=\"dropdownPosition\"\n [headerTemplate]=\"headerTemplate\"\n [footerTemplate]=\"footerTemplate\"\n [items]=\"itemsList.filteredItems\"\n (update)=\"viewPortItems = $event\"\n (scrollToEnd)=\"scrollToEnd.emit($event)\"\n [ngClass]=\"{'multiple': multiple}\">\n \n <ng-container>\n <div class=\"ng-option\" role=\"option\" (click)=\"toggleItem(item)\" (mousedown)=\"$event.preventDefault()\" (mouseover)=\"onItemHover(item)\"\n *ngFor=\"let item of viewPortItems\"\n [class.disabled]=\"item.disabled\"\n [class.selected]=\"item.selected\"\n [class.ng-optgroup]=\"item.hasChildren\"\n [class.ng-option]=\"!item.hasChildren\"\n [class.ng-option-child]=\"!!item.parent\"\n [class.marked]=\"item === itemsList.markedItem\">\n\n <ng-template #defaultOptionTemplate>\n <span class=\"ng-option-label\" [innerHTML]=\"item.label\" [ngOptionHighlight]=\"filterValue\"></span>\n </ng-template>\n\n <ng-template #defaultOptGroupTemplate>\n <span class=\"ng-option-label\" [innerHTML]=\"item.label\" [ngOptionHighlight]=\"filterValue\"></span>\n </ng-template>\n\n <ng-template\n [ngTemplateOutlet]=\"item.hasChildren ? (optgroupTemplate || defaultOptGroupTemplate) : (optionTemplate || defaultOptionTemplate)\"\n [ngTemplateOutletContext]=\"{ item: item.value, index: item.index, searchTerm: filterValue }\">\n </ng-template>\n </div>\n\n <div class=\"ng-option\" [class.marked]=\"!itemsList.markedItem\" (mouseover)=\"itemsList.unmarkItem()\" role=\"option\" (click)=\"selectTag()\" *ngIf=\"showAddTag()\">\n <span><span class=\"ng-tag-label\">{{addTagText}}</span>\"{{filterValue}}\"</span>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"showNoItemsFound()\">\n <ng-template #defaultNotfoundTemplate>\n <div class=\"ng-option disabled\" [innerHTML]=\"notFoundText\" *ngIf=\"showNoItemsFound()\"></div>\n </ng-template>\n \n <ng-template\n [ngTemplateOutlet]=\"notFoundTemplate || defaultNotfoundTemplate\"\n [ngTemplateOutletContext]=\"{ searchTerm: filterValue }\">\n </ng-template>\n </ng-container>\n\n <ng-container *ngIf=\"showTypeToSearch()\">\n <ng-template #defaultTypeToSearchTemplate>\n <div class=\"ng-option disabled\" [innerHTML]=\"typeToSearchText\"></div>\n </ng-template>\n \n <ng-template\n [ngTemplateOutlet]=\"typeToSearchTemplate || defaultTypeToSearchTemplate\">\n </ng-template>\n </ng-container>\n \n <ng-container *ngIf=\"isLoading && itemsList.filteredItems.length === 0\">\n <ng-template #defaultLoadingTextTemplate>\n <div class=\"ng-option disabled\" [innerHTML]=\"loadingText\"></div>\n </ng-template>\n \n <ng-template\n [ngTemplateOutlet]=\"loadingTextTemplate || defaultLoadingTextTemplate\"\n [ngTemplateOutletContext]=\"{ searchTerm: filterValue }\">\n </ng-template>\n </ng-container>\n\n</ng-dropdown-panel>\n","styles":[".ng-select{\n position:relative;\n display:block;\n -webkit-box-sizing:border-box;\n box-sizing:border-box; }\n .ng-select div,\n .ng-select input,\n .ng-select span{\n -webkit-box-sizing:border-box;\n box-sizing:border-box; }\n .ng-select [hidden]{\n display:none; }\n .ng-select.searchable .ng-control .ng-value-container .ng-input{\n opacity:1; }\n .ng-select.opened .ng-control{\n z-index:1001; }\n .ng-select.disabled .ng-control .ng-value-container .ng-placeholder,\n .ng-select.disabled .ng-control .ng-value-container .ng-value{\n -webkit-user-select:none;\n -moz-user-select:none;\n -ms-user-select:none;\n user-select:none;\n cursor:default; }\n .ng-select.disabled .ng-arrow-zone{\n cursor:default; }\n .ng-select.filtered .ng-placeholder{\n display:none; }\n .ng-select .ng-control{\n color:#333;\n cursor:default;\n display:-webkit-box;\n display:-ms-flexbox;\n display:flex;\n outline:none;\n overflow:hidden;\n position:relative;\n width:100%; }\n .ng-select .ng-control .ng-value-container{\n display:-webkit-box;\n display:-ms-flexbox;\n display:flex;\n -webkit-box-flex:1;\n -ms-flex:1;\n flex:1; }\n .ng-select .ng-control .ng-value-container .ng-input{\n opacity:0; }\n .ng-select .ng-control .ng-value-container .ng-input > input{\n -webkit-box-sizing:content-box;\n box-sizing:content-box;\n background:none transparent;\n border:0 none;\n -webkit-box-shadow:none;\n box-shadow:none;\n outline:none;\n cursor:default;\n width:100%; }\n .ng-select .ng-control .ng-value-container .ng-input > input::-ms-clear{\n display:none; }\n .ng-select.ng-single.filtered .ng-control .ng-value-container .ng-value{\n visibility:hidden; }\n .ng-select.ng-single .ng-control .ng-value-container{\n white-space:nowrap;\n overflow:hidden;\n text-overflow:ellipsis; }\n .ng-select.ng-single .ng-control .ng-value-container .ng-value{\n white-space:nowrap;\n overflow:hidden;\n text-overflow:ellipsis; }\n .ng-select.ng-single .ng-control .ng-value-container .ng-value .ng-value-icon{\n display:none; }\n .ng-select.ng-single .ng-control .ng-value-container .ng-input{\n position:absolute;\n left:0;\n width:100%; }\n .ng-select.ng-multiple.disabled > .ng-control .ng-value-container .ng-value .ng-value-icon{\n display:none; }\n .ng-select.ng-multiple .ng-control .ng-value-container{\n -ms-flex-wrap:wrap;\n flex-wrap:wrap; }\n .ng-select.ng-multiple .ng-control .ng-value-container .ng-placeholder{\n position:absolute; }\n .ng-select.ng-multiple .ng-control .ng-value-container .ng-value{\n white-space:nowrap; }\n .ng-select.ng-multiple .ng-control .ng-value-container .ng-value.disabled .ng-value-icon{\n display:none; }\n .ng-select.ng-multiple .ng-control .ng-value-container .ng-value .ng-value-icon{\n cursor:pointer; }\n .ng-select.ng-multiple .ng-control .ng-value-container .ng-input{\n -webkit-box-flex:1;\n -ms-flex:1;\n flex:1;\n z-index:2; }\n .ng-select.ng-multiple .ng-control .ng-value-container .ng-placeholder{\n z-index:1; }\n .ng-select .ng-clear-zone{\n cursor:pointer;\n position:relative;\n width:17px;\n -webkit-user-select:none;\n -moz-user-select:none;\n -ms-user-select:none;\n user-select:none; }\n .ng-select .ng-clear-zone .ng-clear{\n display:inline-block;\n font-size:18px;\n line-height:1; }\n .ng-select .ng-spinner-loader{\n border-radius:50%;\n width:17px;\n height:17px;\n margin-right:5px;\n font-size:10px;\n position:relative;\n text-indent:-9999em;\n border-top:2px solid rgba(66, 66, 66, 0.2);\n border-right:2px solid rgba(66, 66, 66, 0.2);\n border-bottom:2px solid rgba(66, 66, 66, 0.2);\n border-left:2px solid #424242;\n -webkit-transform:translateZ(0);\n transform:translateZ(0);\n -webkit-animation:load8 0.8s infinite linear;\n animation:load8 0.8s infinite linear; }\n .ng-select .ng-spinner-loader:after{\n border-radius:50%;\n width:17px;\n height:17px; }\n\n@-webkit-keyframes load8{\n 0%{\n -webkit-transform:rotate(0deg);\n transform:rotate(0deg); }\n 100%{\n -webkit-transform:rotate(360deg);\n transform:rotate(360deg); } }\n\n@keyframes load8{\n 0%{\n -webkit-transform:rotate(0deg);\n transform:rotate(0deg); }\n 100%{\n -webkit-transform:rotate(360deg);\n transform:rotate(360deg); } }\n .ng-select .ng-arrow-zone{\n cursor:pointer;\n position:relative;\n text-align:center;\n -webkit-user-select:none;\n -moz-user-select:none;\n -ms-user-select:none;\n user-select:none; }\n .ng-select .ng-arrow-zone .ng-arrow{\n display:inline-block;\n height:0;\n width:0;\n position:relative; }\n .ng-select .ng-overlay-container{\n pointer-events:none;\n top:0;\n left:0;\n height:100%;\n width:100%;\n position:fixed;\n z-index:1000; }\n .ng-select .ng-overlay-container .ng-overlay{\n top:0;\n bottom:0;\n left:0;\n right:0;\n opacity:0;\n position:absolute;\n pointer-events:auto;\n z-index:1000; }\n"],"providers":[{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR"},"useExisting":{"__symbolic":"reference","name":"NgSelectComponent"},"multi":true}],"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation"},"member":"None"},"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy"},"member":"OnPush"},"host":{"role":"listbox","class":"ng-select","[class.ng-single]":"!multiple"}}]}],"members":{"items":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"bindLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"bindValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"clearable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"markFirst":[{"__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"}}]}],"notFoundText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"typeToSearchText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"addTagText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"loadingText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"clearAllText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dropdownPosition":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"appendTo":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"loading":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"closeOnSelect":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"hideSelected":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"selectOnTab":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"maxSelectedItems":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"groupBy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"bufferAmount":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"virtualScroll":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"selectableGroup":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"searchFn":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"typeahead":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"},"arguments":["class.typeahead"]}]}],"multiple":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"},"arguments":["class.ng-multiple"]}]}],"addTag":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"},"arguments":["class.taggable"]}]}],"searchable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"},"arguments":["class.searchable"]}]}],"compareWith":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"blurEvent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["blur"]}]}],"focusEvent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["focus"]}]}],"changeEvent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["change"]}]}],"openEvent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["open"]}]}],"closeEvent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["close"]}]}],"searchEvent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["search"]}]}],"clearEvent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["clear"]}]}],"addEvent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["add"]}]}],"removeEvent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["remove"]}]}],"scrollToEnd":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["scrollToEnd"]}]}],"optionTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":[{"__symbolic":"reference","name":"ɵa"},{"read":{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef"}}]}]}],"optgroupTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":[{"__symbolic":"reference","name":"ɵb"},{"read":{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef"}}]}]}],"labelTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":[{"__symbolic":"reference","name":"ɵc"},{"read":{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef"}}]}]}],"multiLabelTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":[{"__symbolic":"reference","name":"ɵd"},{"read":{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef"}}]}]}],"headerTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":[{"__symbolic":"reference","name":"ɵe"},{"read":{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef"}}]}]}],"footerTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":[{"__symbolic":"reference","name":"ɵf"},{"read":{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef"}}]}]}],"notFoundTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":[{"__symbolic":"reference","name":"ɵg"},{"read":{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef"}}]}]}],"typeToSearchTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":[{"__symbolic":"reference","name":"ɵh"},{"read":{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef"}}]}]}],"loadingTextTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":[{"__symbolic":"reference","name":"ɵi"},{"read":{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef"}}]}]}],"dropdownPanel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":[{"__symbolic":"reference","name":"ɵj"}]}]}],"ngOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren"},"arguments":[{"__symbolic":"reference","name":"ɵm"},{"descendants":true}]}]}],"filterInput":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["filterInput"]}]}],"isOpen":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"},"arguments":["class.opened"]}]}],"isFocused":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"},"arguments":["class.focused"]}]}],"isDisabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"},"arguments":["class.disabled"]}]}],"filtered":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"},"arguments":["class.filtered"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"NG_SELECT_DEFAULT_CONFIG"}]}],null,null,null],"parameters":[{"__symbolic":"reference","name":"NgSelectConfig"},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"},{"__symbolic":"reference","name":"ɵn"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"handleKeyDown":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener"},"arguments":["keydown",["$event"]]}]}],"handleArrowClick":[{"__symbolic":"method"}],"handleClearClick":[{"__symbolic":"method"}],"clearModel":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"setDisabledState":[{"__symbolic":"method"}],"toggle":[{"__symbolic":"method"}],"open":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}],"toggleItem":[{"__symbolic":"method"}],"select":[{"__symbolic":"method"}],"unselect":[{"__symbolic":"method"}],"selectTag":[{"__symbolic":"method"}],"showClear":[{"__symbolic":"method"}],"showAddTag":[{"__symbolic":"method"}],"showFilter":[{"__symbolic":"method"}],"showNoItemsFound":[{"__symbolic":"method"}],"showTypeToSearch":[{"__symbolic":"method"}],"filter":[{"__symbolic":"method"}],"onInputFocus":[{"__symbolic":"method"}],"onInputBlur":[{"__symbolic":"method"}],"onItemHover":[{"__symbolic":"method"}],"detectChanges":[{"__symbolic":"method"}],"focusSearchInput":[{"__symbolic":"method"}],"_setItems":[{"__symbolic":"method"}],"_setItemsFromNgOptions":[{"__symbolic":"method"}],"_isValidWriteValue":[{"__symbolic":"method"}],"_handleWriteValue":[{"__symbolic":"method"}],"_updateNgModel":[{"__symbolic":"method"}],"_clearSearch":[{"__symbolic":"method"}],"_scrollToMarked":[{"__symbolic":"method"}],"_scrollToTag":[{"__symbolic":"method"}],"_handleTab":[{"__symbolic":"method"}],"_handleEnter":[{"__symbolic":"method"}],"_handleSpace":[{"__symbolic":"method"}],"_handleArrowDown":[{"__symbolic":"method"}],"_handleArrowUp":[{"__symbolic":"method"}],"nextItemIsTag":[{"__symbolic":"method"}],"_handleBackspace":[{"__symbolic":"method"}],"_mergeGlobalConfig":[{"__symbolic":"method"}]}},"NG_SELECT_DEFAULT_CONFIG":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken"},"arguments":["ng-select-default-options"]},"NgSelectModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵj"},{"__symbolic":"reference","name":"ɵm"},{"__symbolic":"reference","name":"NgSelectComponent"},{"__symbolic":"reference","name":"ɵo"},{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵd"},{"__symbolic":"reference","name":"ɵe"},{"__symbolic":"reference","name":"ɵf"},{"__symbolic":"reference","name":"ɵg"},{"__symbolic":"reference","name":"ɵh"},{"__symbolic":"reference","name":"ɵi"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}],"exports":[{"__symbolic":"reference","name":"NgSelectComponent"},{"__symbolic":"reference","name":"ɵm"},{"__symbolic":"reference","name":"ɵo"},{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵd"},{"__symbolic":"reference","name":"ɵe"},{"__symbolic":"reference","name":"ɵf"},{"__symbolic":"reference","name":"ɵg"},{"__symbolic":"reference","name":"ɵh"},{"__symbolic":"reference","name":"ɵi"}],"providers":[{"__symbolic":"reference","name":"ɵn"},{"__symbolic":"reference","name":"ɵl"},{"__symbolic":"reference","name":"ɵk"},{"provide":{"__symbolic":"reference","name":"NG_SELECT_DEFAULT_CONFIG"},"useValue":{"notFoundText":"No items found","typeToSearchText":"Type to search","addTagText":"Add item","loadingText":"Loading...","clearAllText":"Clear all","disableVirtualScroll":false}}]}]}],"members":{}},"NgOption":{"__symbolic":"interface"},"NgSelectConfig":{"__symbolic":"interface"},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ng-option-tmp]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]}]}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ng-optgroup-tmp]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]}]}]}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ng-label-tmp]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]}]}]}},"ɵd":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ng-multi-label-tmp]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]}]}]}},"ɵe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ng-header-tmp]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]}]}]}},"ɵf":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ng-footer-tmp]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]}]}]}},"ɵg":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ng-notfound-tmp]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]}]}]}},"ɵh":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ng-typetosearch-tmp]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]}]}]}},"ɵi":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ng-loadingtext-tmp]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]}]}]}},"ɵj":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy"},"member":"OnPush"},"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation"},"member":"None"},"selector":"ng-dropdown-panel","template":"\n <div *ngIf=\"headerTemplate\" class=\"ng-dropdown-header\" ngProjectAs=\"header\" header>\n <ng-container [ngTemplateOutlet]=\"headerTemplate\"></ng-container>\n </div>\n <div #scroll class=\"ng-dropdown-panel-items scroll-host\">\n <div #padding [class.total-padding]=\"virtualScroll\"></div>\n <div #content [class.scrollable-content]=\"virtualScroll && items.length > 0\">\n <ng-content></ng-content>\n </div>\n </div>\n <div *ngIf=\"footerTemplate\" class=\"ng-dropdown-footer\" ngProjectAs=\"footer\" footer>\n <ng-container [ngTemplateOutlet]=\"footerTemplate\"></ng-container>\n </div>\n ","styles":[".ng-dropdown-panel{\n -webkit-box-sizing:border-box;\n box-sizing:border-box;\n position:absolute;\n opacity:0;\n width:100%;\n z-index:1050;\n -webkit-overflow-scrolling:touch; }\n .ng-dropdown-panel .ng-dropdown-panel-items{\n display:block;\n height:auto;\n -webkit-box-sizing:border-box;\n box-sizing:border-box;\n max-height:240px;\n overflow-y:auto; }\n .ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{\n white-space:nowrap;\n overflow:hidden;\n text-overflow:ellipsis; }\n .ng-dropdown-panel .ng-dropdown-panel-items .ng-option{\n -webkit-box-sizing:border-box;\n box-sizing:border-box;\n cursor:pointer;\n display:block;\n white-space:nowrap;\n overflow:hidden;\n text-overflow:ellipsis; }\n .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{\n font-weight:bold;\n text-decoration:underline; }\n .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{\n cursor:default; }\n .ng-dropdown-panel .scroll-host{\n overflow:hidden;\n overflow-y:auto;\n position:relative;\n display:block;\n -webkit-overflow-scrolling:touch; }\n .ng-dropdown-panel .scrollable-content{\n top:0;\n left:0;\n width:100%;\n height:100%;\n position:absolute; }\n .ng-dropdown-panel .total-padding{\n width:1px;\n opacity:0; }\n"]}]}],"members":{"items":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"position":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"appendTo":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"bufferAmount":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"virtualScroll":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"headerTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"footerTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"update":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"scrollToEnd":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"contentElementRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["content",{"read":{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}}]}]}],"scrollElementRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["scroll",{"read":{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}}]}]}],"paddingElementRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["padding",{"read":{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}}]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"NgSelectComponent"}]}],null,null,null,null,null],"parameters":[{"__symbolic":"reference","name":"NgSelectComponent"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"@angular/core","name":"NgZone"},{"__symbolic":"reference","name":"ɵk"},{"__symbolic":"reference","name":"ɵl"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"ngAfterContentInit":[{"__symbolic":"method"}],"refresh":[{"__symbolic":"method"}],"scrollInto":[{"__symbolic":"method"}],"scrollIntoTag":[{"__symbolic":"method"}],"_handleScroll":[{"__symbolic":"method"}],"_handleItemsChange":[{"__symbolic":"method"}],"_updateItems":[{"__symbolic":"method"}],"_fireScrollToEnd":[{"__symbolic":"method"}],"_calculateDimensions":[{"__symbolic":"method"}],"_handleDocumentResize":[{"__symbolic":"method"}],"_scrollToMarked":[{"__symbolic":"method"}],"_handleDropdownPosition":[{"__symbolic":"method"}],"_calculateCurrentPosition":[{"__symbolic":"method"}],"_appendDropdown":[{"__symbolic":"method"}],"_updateAppendedDropdownPosition":[{"__symbolic":"method"}],"_whenContentReady":[{"__symbolic":"method"}]}},"ɵk":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"calculateItems":[{"__symbolic":"method"}],"calculateDimensions":[{"__symbolic":"method"}]}},"ɵl":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"requestAnimationFrame":[{"__symbolic":"method"}]}},"ɵm":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ng-option","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy"},"member":"OnPush"},"template":"<ng-content></ng-content>"}]}],"members":{"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}]}],"ngOnChanges":[{"__symbolic":"method"}],"_isDisabled":[{"__symbolic":"method"}]}},"ɵn":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"warn":[{"__symbolic":"method"}]}},"ɵo":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngOptionHighlight]"}]}],"members":{"term":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["ngOptionHighlight"]}]}],"label":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["innerHTML"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2"}]}],"ngOnChanges":[{"__symbolic":"method"}],"_highlightLabelWithSearchTerm":[{"__symbolic":"method"}],"_setInnerHtml":[{"__symbolic":"method"}]}}},"origins":{"NgSelectComponent":"./ng-select/ng-select.component","NG_SELECT_DEFAULT_CONFIG":"./ng-select/ng-select.component","NgSelectModule":"./ng-select/ng-select.module","NgOption":"./ng-select/ng-select.types","NgSelectConfig":"./ng-select/ng-select.types","ɵa":"./ng-select/ng-templates.directive","ɵb":"./ng-select/ng-templates.directive","ɵc":"./ng-select/ng-templates.directive","ɵd":"./ng-select/ng-templates.directive","ɵe":"./ng-select/ng-templates.directive","ɵf":"./ng-select/ng-templates.directive","ɵg":"./ng-select/ng-templates.directive","ɵh":"./ng-select/ng-templates.directive","ɵi":"./ng-select/ng-templates.directive","ɵj":"./ng-select/ng-dropdown-panel.component","ɵk":"./ng-select/virtual-scroll.service","ɵl":"./ng-select/window.service","ɵm":"./ng-select/ng-option.component","ɵn":"./ng-select/console.service","ɵo":"./ng-select/ng-option-highlight.directive"},"importAs":"@ng-select/ng-select"} |
@@ -35,2 +35,3 @@ import { NgOption } from './ng-select.types'; | ||
mapSelectedItems(): void; | ||
private _defaultSearchFn(search, opt); | ||
private _getNextItemIndex(steps); | ||
@@ -37,0 +38,0 @@ private _stepToItem(steps); |
@@ -39,2 +39,3 @@ import { Subject } from 'rxjs/Subject'; | ||
selectableGroup: boolean; | ||
searchFn: any; | ||
typeahead: Subject<string>; | ||
@@ -41,0 +42,0 @@ multiple: boolean; |
{ | ||
"$schema": "../node_modules/ng-packagr/package.schema.json", | ||
"name": "@ng-select/ng-select", | ||
"version": "0.34.3", | ||
"version": "0.35.0", | ||
"description": "Angular ng-select - All in One UI Select, Multiselect and Autocomplete", | ||
@@ -6,0 +6,0 @@ "author": "@ng-select/ng-select", |
@@ -147,2 +147,3 @@ [![npm version](https://badge.fury.io/js/%40ng-select%2Fng-select.svg)](https://badge.fury.io/js/%40ng-select%2Fng-select) | ||
| [searchable] | `boolean` | `true` | no | Allow to search for value. Default `true`| | ||
| [searchFn] | `(term: string, item: any) => boolean` | `null` | no | Allow to search by custom search function expression | | ||
| [selectOnTab] | `boolean` | `false` | no | Select marked dropdown item using tab. Default `false`| | ||
@@ -149,0 +150,0 @@ | [typeahead] | `Subject` | `-` | no | Custom autocomplete or filter. | |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1038330
8928
390