ng-select2-component
Advanced tools
Comparing version 6.0.3 to 7.0.0
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/forms"),require("rxjs"),require("@angular/common")):"function"==typeof define&&define.amd?define("ng-select2-component",["exports","@angular/core","@angular/forms","rxjs","@angular/common"],t):t(e["ng-select2-component"]={},e.ng.core,e.ng.forms,e.rxjs,e.ng.common)}(this,function(e,i,t,r,n){"use strict";function b(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}}}}var s=[{l:"a",s:/[ⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ]/gi},{l:"aa",s:/ꜳ/gi},{l:"ae",s:/[æǽǣ]/gi},{l:"ao",s:/ꜵ/gi},{l:"au",s:/ꜷ/gi},{l:"av",s:/[ꜹꜻ]/gi},{l:"ay",s:/ꜽ/gi},{l:"b",s:/[ⓑbḃḅḇƀƃɓ]/gi},{l:"c",s:/[ⓒcćĉċčçḉƈȼꜿↄ]/gi},{l:"d",s:/[ⓓdḋďḍḑḓḏđƌɖɗꝺ]/gi},{l:"dz",s:/[dzdž]/gi},{l:"e",s:/[ⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ]/gi},{l:"f",s:/[ⓕfḟƒꝼ]/gi},{l:"g",s:/[ⓖgǵĝḡğġǧģǥɠꞡᵹꝿ]/gi},{l:"h",s:/[ⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ]/gi},{l:"hv",s:/ƕ/gi},{l:"i",s:/[ⓘiìíîĩīĭİïḯỉǐȉȋịįḭɨı]/gi},{l:"j",s:/[ⓙjĵǰɉ]/gi},{l:"k",s:/[ⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ]/gi},{l:"l",s:/[ⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇꝆ]/gi},{l:"lj",s:/lj/gi},{l:"m",s:/[ⓜmḿṁṃɱɯ]/gi},{l:"n",s:/[ⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ]/gi},{l:"nj",s:/nj/gi},{l:"o",s:/[ⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔƟꝋꝍɵ]/gi},{l:"oi",s:/ƣ/gi},{l:"oe",s:/œ/gi},{l:"oo",s:/ꝏ/gi},{l:"ou",s:/ȣ/gi},{l:"p",s:/[ⓟpṕṗƥᵽꝑꝓꝕ]/gi},{l:"q",s:/[ⓠqɋꝗꝙ]/gi},{l:"r",s:/[ⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ]/gi},{l:"s",s:/[ⓢsßẞśṥŝṡšṧṣṩșşȿꞩꞅẛ]/gi},{l:"t",s:/[ⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ]/gi},{l:"tz",s:/ꜩ/gi},{l:"u",s:/[ⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ]/gi},{l:"v",s:/[ⓥvṽṿʋꝟʌ]/gi},{l:"vy",s:/ꝡ/gi},{l:"w",s:/[ⓦwẁẃŵẇẅẘẉⱳ]/gi},{l:"x",s:/[ⓧxẋẍ]/gi},{l:"y",s:/[ⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ]/gi},{l:"z",s:/[ⓩzźẑżžẓẕƶȥɀⱬꝣ]/gi}],l=function(){function m(){}return m.getScrollUpIndex=function(e,t){var n,l,o=0;try{for(var i=b(e),r=i.next();!r.done;r=i.next()){var s=r.value,a=s.options;if(a){o++;var c=a.findIndex(function(e){return e.value===t});if(-1!==c)return o+c;o+=a.length}else{if(s.value===t)return o;o++}}}catch(u){n={error:u}}finally{try{r&&!r.done&&(l=i["return"])&&l.call(i)}finally{if(n)throw n.error}}return 0},m.getOptionByValue=function(e,t){try{for(var n=b(e),l=n.next();!l.done;l=n.next()){var o=l.value,i=o.options;if(i)try{for(var r=b(i),s=r.next();!s.done;s=r.next()){var a=s.value;if(a.value===t)return a}}catch(h){p={error:h}}finally{try{s&&!s.done&&(d=r["return"])&&d.call(r)}finally{if(p)throw p.error}}else if(o.value===t)return o}}catch(f){c={error:f}}finally{try{l&&!l.done&&(u=n["return"])&&u.call(n)}finally{if(c)throw c.error}}return null;var c,u,p,d},m.getOptionsByValue=function(e,t,n){if(n){var l=Array.isArray(t)?t:[],o=[];try{for(var i=b(l),r=i.next();!r.done;r=i.next()){var s=r.value,a=m.getOptionByValue(e,s);a&&o.push(a)}}catch(p){c={error:p}}finally{try{r&&!r.done&&(u=i["return"])&&u.call(i)}finally{if(c)throw c.error}}return o}return m.getOptionByValue(e,t);var c,u},m.getFirstAvailableOption=function(e){try{for(var t=b(e),n=t.next();!n.done;n=t.next()){var l=n.value,o=l.options;if(o)try{for(var i=b(o),r=i.next();!r.done;r=i.next()){var s;if(!(s=r.value).disabled)return s.value}}catch(d){u={error:d}}finally{try{r&&!r.done&&(p=i["return"])&&p.call(i)}finally{if(u)throw u.error}}else if(!(s=l).disabled)return s.value}}catch(h){a={error:h}}finally{try{n&&!n.done&&(c=t["return"])&&c.call(t)}finally{if(a)throw a.error}}return null;var a,c,u,p},m.getOptionsCount=function(e){var t,n,l=0;try{for(var o=b(e),i=o.next();!i.done;i=o.next()){var r=i.value.options;r?l+=r.length:l++}}catch(s){t={error:s}}finally{try{i&&!i.done&&(n=o["return"])&&n.call(o)}finally{if(t)throw t.error}}return l},m.valueIsNotInFilteredData=function(e,t){if(m.isNullOrUndefined(t))return!0;try{for(var n=b(e),l=n.next();!l.done;l=n.next()){var o=l.value,i=o.options;if(i)try{for(var r=b(i),s=r.next();!s.done;s=r.next()){if(s.value.value===t)return!1}}catch(d){u={error:d}}finally{try{s&&!s.done&&(p=r["return"])&&p.call(r)}finally{if(u)throw u.error}}else if(o.value===t)return!1}}catch(h){a={error:h}}finally{try{l&&!l.done&&(c=n["return"])&&c.call(n)}finally{if(a)throw a.error}}return!0;var a,c,u,p},m.getPreviousOption=function(e,t){for(var n=m.isNullOrUndefined(t),l=e.length-1;0<=l;l--){var o=e[l],i=o.options;if(i)for(var r=i.length-1;0<=r;r--){var s=i[r];if(n&&!s.disabled)return s.value;n=s.value===t}else{s=o;if(n&&!s.disabled)return s.value;n=s.value===t}}return n?t:null},m.getNextOption=function(e,t){var n,l,o,i,r=m.isNullOrUndefined(t);try{for(var s=b(e),a=s.next();!a.done;a=s.next()){var c=a.value,u=c.options;if(u)try{for(var p=b(u),d=p.next();!d.done;d=p.next()){var h=d.value;if(r){if(!h.disabled)return h.value}else r=h.value===t}}catch(f){o={error:f}}finally{try{d&&!d.done&&(i=p["return"])&&i.call(p)}finally{if(o)throw o.error}}else{h=c;if(r){if(!h.disabled)return h.value}else r=h.value===t}}}catch(g){n={error:g}}finally{try{a&&!a.done&&(l=s["return"])&&l.call(s)}finally{if(n)throw n.error}}return r?t:null},m.isNullOrUndefined=function(e){return null===e||e===undefined},m.getLastScrollTopIndex=function(e,t,n,l){if(m.isNullOrUndefined(e))return t.scrollTop=0;var o,i=m.getScrollUpIndex(n,e);return 5<i-l?(l+=i-l-5,(o=t.querySelectorAll("li").item(i))&&(t.scrollTop=o.offsetTop-t.offsetHeight),l):0<l-i?(l-=l-i,(o=t.querySelectorAll("li").item(l-1))&&(t.scrollTop=o.offsetTop),l):null},m.containSearchText=function(e,t,n){return!t||null!==m.formatSansUnicode(e).match(new RegExp(m.formatPattern(t,n),"i"))},m.protectPattern=function(e){return e.replace(new RegExp("[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]","g"),"\\$&")},m.formatSansUnicode=function(e){try{for(var t=b(s),n=t.next();!n.done;n=t.next()){var l=n.value;e=e.replace(l.s,l.l)}}catch(r){o={error:r}}finally{try{n&&!n.done&&(i=t["return"])&&i.call(t)}finally{if(o)throw o.error}}return e;var o,i},m.formatPattern=function(e,t){return e=m.formatSansUnicode(m.protectPattern(e)),t&&"function"==typeof t&&(e=t(e)),e},m.getFilteredData=function(e,t,n){if(t){var l=[];try{for(var o=b(e),i=o.next();!i.done;i=o.next()){var r=i.value,s=r.options;if(s){if(s.some(function(e){return m.containSearchText(e.label,t,n)})){var a=s.filter(function(e){return m.containSearchText(e.label,t,n)});l.push({label:r.label,options:a})}}else m.containSearchText(r.label,t,n)&&l.push(r)}}catch(p){c={error:p}}finally{try{i&&!i.done&&(u=o["return"])&&u.call(o)}finally{if(c)throw c.error}}return l}return e;var c,u},m.getOptionStyle=function(e,t){return e===t?"select2-results__option select2-results__option--highlighted":"select2-results__option"},m.getDropdownStyle=function(e){return e?"select2-container select2-container--default select2-container-dropdown select2-container--open":"select2-container select2-container--default select2-container-dropdown"},m.getContainerStyle=function(e,t){return"select2 select2-container select2-container--default "+(e?"select2-container--disabled":"")+" "+(t?"select2-container--open":"")+" select2-container--below select2-container--focus"},m.getSelectionStyle=function(e){return"select2-selection select2-selection--"+(e?"multiple":"single")},m.isSearchboxHiddex=function(e,t){return"number"!=typeof t&&(t=6),m.getOptionsCount(e)<t},m.getSearchStyle=function(e){return e?"select2-search select2-search--dropdown select2-search--hide":"select2-search select2-search--dropdown"},m.isSelected=function(e,t,n){return n?e&&e.some(function(e){return e.value===t.value})?"true":"false":e&&t.value===e.value?"true":"false"},m.removeSelection=function(e,t){for(var n=0;n<e.length;n++)if(e[n].value===t.value)return void e.splice(n,1)},m}(),a=0,o=function(){function e(e,t,n,l,o){this._changeDetectorRef=e,this._parentForm=t,this._parentFormGroup=n,this._control=l,this.update=new i.EventEmitter,this.open=new i.EventEmitter,this.search=new i.EventEmitter,this.option=null,this.isOpen=!1,this.hoveringValue=null,this.innerSearchText="",this.lastScrollTopIndex=0,this._stateChanges=new r.Subject,this.focused=!1,this._onTouched=function(){},this._onChange=function(){},this._disabled=!1,this._required=!1,this._readonly=!1,this._clickDetection=!1,this._uid="select2-"+a++,this._previousNativeValue=this._value,this.id=this.id,this._tabIndex=parseInt(o,10)||0,this._control&&(this._control.valueAccessor=this),this._clickDetectionFc=this.clickDetection.bind(this)}return Object.defineProperty(e.prototype,"select2Options",{get:function(){return this.multiple?this.option:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"select2Option",{get:function(){return this.multiple?null:this.option},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"searchText",{get:function(){return this.innerSearchText},set:function(e){this.customSearchEnabled&&this.search.emit(e),this.innerSearchText=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dropdownStyle",{get:function(){return l.getDropdownStyle(this.isOpen)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filteredData",{get:function(){var e=this.customSearchEnabled?this.data:l.getFilteredData(this.data,this.searchText,this.editPattern);if(l.valueIsNotInFilteredData(e,this.hoveringValue)&&(this.hoveringValue=l.getFirstAvailableOption(e),this.resultsElement)){var t=l.getLastScrollTopIndex(this.hoveringValue,this.resultsElement,e,this.lastScrollTopIndex);null!==t&&(this.lastScrollTopIndex=t)}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"containerStyle",{get:function(){return l.getContainerStyle(this.disabled,this.isOpen)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectionStyle",{get:function(){return l.getSelectionStyle(this.multiple)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(e){this._id=e||this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(e){this._required=this._coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._control?this._control.disabled:this._disabled},set:function(e){this._disabled=this._coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readonly",{get:function(){return this._readonly},set:function(e){this._readonly=this._coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){var t=this;setTimeout(function(){t._value=e,t.writeValue(e)})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabIndex",{get:function(){return this.disabled?-1:this._tabIndex},set:function(e){void 0!==e&&(this._tabIndex=e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ariaInvalid",{get:function(){return this._isErrorState()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"classMaterial",{get:function(){return""===this.material||!0===this.material},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=l.getOptionsByValue(this.data,this._control?this._control.value:this.value,this.multiple);null!==e&&(this.option=e),Array.isArray(e)||(this.hoveringValue=this.value),this.isSearchboxHidden=!this.customSearchEnabled&&l.isSearchboxHiddex(this.data,this.minCountForSearch),this.searchStyle=l.getSearchStyle(this.isSearchboxHidden)},e.prototype.ngAfterViewInit=function(){this.selectionElement=this.selection.nativeElement,this.searchInputElement=this.searchInput.nativeElement,this.resultsElement=this.results.nativeElement},e.prototype.ngDoCheck=function(){this._dirtyCheckNativeValue()},e.prototype.ngOnDestroy=function(){window.document.body.removeEventListener("click",this._clickDetectionFc)},e.prototype.getOptionStyle=function(e){return l.getOptionStyle(e.value,this.hoveringValue)+(e.classes?" "+e.classes:"")},e.prototype.mouseenter=function(e){e.disabled||(this.hoveringValue=e.value)},e.prototype.click=function(e){e.disabled||this.select(e)},e.prototype.toggleOpenAndClose=function(){var e=this;if(!this.disabled){if(this.focused=!0,this.isOpen=!this.isOpen,this.isOpen){if(this.innerSearchText="",this.focusSearchboxOrResultsElement(),this.resultsElement){var t=l.getLastScrollTopIndex(this.hoveringValue,this.resultsElement,this.data,this.lastScrollTopIndex);null!==t&&(this.lastScrollTopIndex=t)}this.open.emit()}this.isOpen&&!this._clickDetection&&setTimeout(function(){window.document.body.addEventListener("click",e._clickDetectionFc,!1),e._clickDetection=!0},200),this._changeDetectorRef.markForCheck()}},e.prototype.clickDetection=function(e){this.ifParentContainsClass(e.target,"selection")?this.isOpen&&!this.ifParentContainsId(e.target,this._id)&&(this.toggleOpenAndClose(),this.clickExit()):(this.isOpen&&!this.ifParentContainsClass(e.target,"select2-dropdown")&&this.toggleOpenAndClose(),this.ifParentContainsId(e.target,this._id)||this.clickExit())},e.prototype.clickExit=function(){this.focused=!1,window.document.body.removeEventListener("click",this._clickDetectionFc),this._clickDetection=!1},e.prototype.ifParentContainsClass=function(e,t){return null!==this.getParentElementByClass(e,t)},e.prototype.ifParentContainsId=function(e,t){return null!==this.getParentElementById(e,t)},e.prototype.getParentElementByClass=function(e,t){return this.containClasses(e,t.trim().split(/\s+/))?e:e.parentElement?this.getParentElementByClass(e.parentElement,t):null},e.prototype.getParentElementById=function(e,t){return e.id===t?e:e.parentElement?this.getParentElementById(e.parentElement,t):null},e.prototype.containClasses=function(e,t){if(!e.classList)return!1;try{for(var n=b(t),l=n.next();!l.done;l=n.next()){var o=l.value;if(!e.classList.contains(o))return!1}}catch(s){i={error:s}}finally{try{l&&!l.done&&(r=n["return"])&&r.call(n)}finally{if(i)throw i.error}}return!0;var i,r},e.prototype.focusin=function(){this.disabled||(this.focused=!0)},e.prototype.focusout=function(){this.selectionElement&&!this.selectionElement.classList.contains("select2-focused")&&(this.focused=!1,this._onTouched())},e.prototype.moveUp=function(){if(this.hoveringValue=l.getPreviousOption(this.filteredData,this.hoveringValue),this.resultsElement){var e=l.getLastScrollTopIndex(this.hoveringValue,this.resultsElement,this.filteredData,this.lastScrollTopIndex);null!==e&&(this.lastScrollTopIndex=e)}},e.prototype.moveDown=function(){if(this.hoveringValue=l.getNextOption(this.filteredData,this.hoveringValue),this.resultsElement){var e=l.getLastScrollTopIndex(this.hoveringValue,this.resultsElement,this.filteredData,this.lastScrollTopIndex);null!==e&&(this.lastScrollTopIndex=e)}},e.prototype.selectByEnter=function(){if(this.hoveringValue){var e=l.getOptionByValue(this.data,this.hoveringValue);this.select(e)}},e.prototype.select=function(t){var e;if(null!==t)if(this.multiple){var n=this.option,l=n.findIndex(function(e){return e.value===t.value});-1===l?n.push(t):n.splice(l,1),e=this.option.map(function(e){return e.value})}else this.option=t,this.isOpen=!1,this.selectionElement&&this.selectionElement.focus(),e=this.option.value;else this._control&&(this.option=null);this._control&&this._onChange(e),this.update.emit(e)},e.prototype.keyDown=function(e){40===e.keyCode?(this.moveDown(),e.preventDefault()):38===e.keyCode?(this.moveUp(),e.preventDefault()):13===e.keyCode?(this.selectByEnter(),e.preventDefault()):9===e.keyCode&&this.isOpen&&(this.toggleOpenAndClose(),this.focused=!1)},e.prototype.openKey=function(e){40===e.keyCode||38===e.keyCode||13===e.keyCode?(this.toggleOpenAndClose(),e.preventDefault()):9===e.keyCode&&(this.focused=!1,this._onTouched())},e.prototype.trackBy=function(e,t){return t.value},e.prototype.searchUpdate=function(e){this.searchText=e.target.value},e.prototype.isSelected=function(e){return l.isSelected(this.option,e,this.multiple)},e.prototype.isDisabled=function(e){return e.disabled?"true":"false"},e.prototype.removeSelection=function(e,t){l.removeSelection(this.option,t);var n=this.option.map(function(e){return e.value});this._control&&this._onChange(n),this.update.emit(n),e.preventDefault(),e.stopPropagation(),this.isOpen&&this.focusSearchboxOrResultsElement()},e.prototype.writeValue=function(e){this._setSelectionByValue(e)},e.prototype.registerOnChange=function(e){this._onChange=e},e.prototype.registerOnTouched=function(e){this._onTouched=e},e.prototype.setDisabledState=function(e){this.disabled=e},e.prototype._isErrorState=function(){var e=this._control&&this._control.invalid,t=this._control&&this._control.touched,n=this._parentFormGroup&&this._parentFormGroup.submitted||this._parentForm&&this._parentForm.submitted;return!(!e||!t&&!n)},e.prototype._setSelectionByValue=function(e){var t=this;if(this.option||e!==undefined&&null!==e){var n=Array.isArray(e);if(this.multiple&&e&&!n)throw new Error("Non array value.");this.data?this._control&&this.multiple?(this.option=[],n&&l.getOptionsByValue(this.data,e,this.multiple).map(function(e){return t.select(e)})):this.select(l.getOptionByValue(this.data,e)):this._control&&this._control.viewToModelUpdate(e),this._changeDetectorRef.markForCheck()}},e.prototype._dirtyCheckNativeValue=function(){var e=this.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this._stateChanges.next())},e.prototype._coerceBooleanProperty=function(e){return null!=e&&""+e!="false"},e.prototype.focusSearchboxOrResultsElement=function(){this.isSearchboxHidden?this.resultsElement&&this.resultsElement.focus():this.searchInputElement&&this.searchInputElement.focus()},e.decorators=[{type:i.Component,args:[{selector:"select2",template:'<div [class]="containerStyle">\n <div class="selection"\n #selection\n [attr.tabindex]="!this.isOpen ? tabIndex : \'-1\'"\n (click)="toggleOpenAndClose()"\n (focus)="focusin()"\n (blur)="focusout()"\n (keydown)="openKey($event)"\n [class.select2-focused]="focused">\n <div [class]="selectionStyle"\n role="combobox">\n <span *ngIf="!multiple"\n class="select2-selection__rendered"\n [title]="select2Option ? select2Option.label : \'\'">\n <span *ngIf="!select2Option"> </span>\n <ng-container *ngIf="select2Option">{{select2Option.label}}</ng-container>\n <span [class.select2-selection__placeholder__option]="option"\n class="select2-selection__placeholder">{{placeholder}}</span>\n </span>\n <span *ngIf="!multiple"\n class="select2-selection__arrow"\n role="presentation">\n <b role="presentation"></b>\n </span>\n <ul *ngIf="multiple"\n class="select2-selection__rendered">\n <span [class.select2-selection__placeholder__option]="select2Options?.length > 0"\n class="select2-selection__placeholder">{{placeholder}}</span>\n <li *ngFor="let op of option; trackBy: trackBy"\n class="select2-selection__choice"\n [title]="op.label">\n <span (click)="removeSelection($event, op)"\n class="select2-selection__choice__remove"\n role="presentation">×</span>\n {{op.label}}\n </li>\n </ul>\n </div>\n <div class="select2-subscript-wrapper">\n <ng-content select="select2-hint"></ng-content>\n </div>\n </div>\n <div [class]="dropdownStyle">\n <div class="select2-dropdown select2-dropdown--below">\n <div [class]="searchStyle">\n <input #searchInput\n [id]="id + \'-search-field\'"\n [(value)]="searchText"\n (keydown)="keyDown($event)"\n (keyup)="searchUpdate($event)"\n class="select2-search__field"\n type="search"\n role="textbox"\n autocomplete="off"\n autocorrect="off"\n autocapitalize="off"\n spellcheck="false"\n [attr.tabindex]="this.isOpen ? tabIndex : \'-1\'">\n </div>\n <div class="select2-results">\n <ul #results\n class="select2-results__options"\n role="tree"\n tabindex="-1"\n (keydown)="keyDown($event)">\n <ng-template ngFor\n [ngForOf]="filteredData"\n let-groupOrOption\n [ngForTrackBy]="trackBy">\n <li *ngIf="groupOrOption.options"\n class="select2-results__option"\n role="group">\n <strong [attr.class]="\'select2-results__group\' + (groupOrOption.classes ? \' \' + groupOrOption.classes : \'\')">{{groupOrOption.label}}</strong>\n <ul class="select2-results__options select2-results__options--nested">\n <li *ngFor="let option of groupOrOption.options; trackBy:trackBy"\n [class]="getOptionStyle(option)"\n role="treeitem"\n [attr.aria-selected]="isSelected(option)"\n [attr.aria-disabled]="isDisabled(option)"\n (mouseenter)="mouseenter(option)"\n (click)="click(option)">{{option.label}}</li>\n </ul>\n </li>\n <li *ngIf="!groupOrOption.options"\n [class]="getOptionStyle(groupOrOption)"\n role="treeitem"\n [attr.aria-selected]="isSelected(groupOrOption)"\n [attr.aria-disabled]="isDisabled(groupOrOption)"\n (mouseenter)="mouseenter(groupOrOption)"\n (click)="click(groupOrOption)">\n {{groupOrOption.label}}\n </li>\n </ng-template>\n </ul>\n </div>\n </div>\n </div>\n</div>',styles:[".select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle;width:100%}.select2-container .select2-container-dropdown{position:absolute}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{position:relative}.select2-container .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:#fff;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{padding:6px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select2-results__option[aria-selected]{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff}.select2-hidden-accessible{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:4px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:700}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__placeholder__option{display:none}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent;border-style:solid;border-width:5px 4px 0;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888;border-width:0 4px 5px}.select2-container--default .select2-selection--multiple{background-color:#fff;border:1px solid #aaa;border-radius:4px;cursor:text}.select2-container--default .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection--multiple .select2-selection__rendered li{list-style:none}.select2-container--default .select2-selection--multiple .select2-selection__placeholder{color:#999;margin-top:5px;float:left}.select2-container--default .select2-selection--multiple .select2-selection__placeholder__option{display:none}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-top:5px;margin-right:10px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333}.select2-container--default.select2-container--focused .select2-selection--multiple,.select2-container--default:not(.select2-container--open) .select2-focused .select2-selection--multiple,.select2-container--default:not(.select2-container--open) .select2-focused .select2-selection--single{border:1px solid #000;outline:0}.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--above .select2-selection--single{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--below .select2-selection--single{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa}.select2-container--default .select2-search--inline .select2-search__field{background:0 0;border:none;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999}.select2-container--default .select2-results__option[aria-selected=true]{background-color:#ddd}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:#fff}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px;color:gray}:host.material{display:inline-block;width:300px}:host.material>.select2-container{padding-bottom:1.29688em;vertical-align:inherit}:host.material>.select2-container .selection{padding:.4375em 0;border-top:.84375em solid transparent;display:inline-flex;align-items:baseline;width:100%;height:auto}:host.material .select2-container--default .select2-selection--multiple,:host.material .select2-container--default .select2-selection--single{width:100%;border:0;border-radius:0;height:24px;box-sizing:border-box}:host.material .select2-container--default .select2-selection--multiple::before,:host.material .select2-container--default .select2-selection--single::before{content:' ';display:block;position:absolute;bottom:1.65em;background-color:#ddd;height:1px;width:100%}:host.material .select2-container--default .select2-selection--multiple::after,:host.material .select2-container--default .select2-selection--single::after{content:' ';display:block;position:absolute;bottom:1.63em;background-color:#5a419e;height:2px;width:0%;left:50%;transition:none}:host.material .select2-container--default .select2-selection--multiple .select2-selection__rendered,:host.material .select2-container--default .select2-selection--single .select2-selection__rendered{padding-left:1px;line-height:inherit}:host.material .select2-container--default .select2-selection--multiple .select2-selection__placeholder,:host.material .select2-container--default .select2-selection--single .select2-selection__placeholder{display:block;color:rgba(0,0,0,.38);transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;position:absolute;-webkit-transform-origin:0 21px;transform-origin:0 21px;left:0;top:20px}:host.material .select2-container--default .select2-container--open{left:0;bottom:1.6em}:host.material .select2-container--default .select2-selection__placeholder__option{-webkit-transform:translateY(-1.5em) scale(.75) perspective(100px) translateZ(.001px);transform:translateY(-1.5em) scale(.75) perspective(100px) translateZ(.001px);width:133.33333%}:host.material .select2-container--default .select2-selection__arrow{top:20px}:host.material .select2-container--default .select2-focused .select2-selection--multiple::after,:host.material .select2-container--default .select2-focused .select2-selection--single::after,:host.material .select2-container--default.select2-container--open .select2-selection--multiple::after,:host.material .select2-container--default.select2-container--open .select2-selection--single::after{transition:width .3s cubic-bezier(.12,1,.77,1),left .3s cubic-bezier(.12,1,.77,1);width:100%;left:0}:host.material .select2-container--default .select2-dropdown{border-radius:0;border:0;box-shadow:0 5px 5px rgba(0,0,0,.5)}:host.material .select2-container--default .select2-results__option--highlighted[aria-selected],:host.material .select2-container--default .select2-results__option[aria-selected=true]{background-color:rgba(0,0,0,.04);color:#000}:host.material .select2-container--default .select2-results__option[aria-selected=true]{color:#ff5722}:host.material .select2-container--default.select2-container--disabled .select2-selection--multiple,:host.material .select2-container--default.select2-container--disabled .select2-selection--single{background-color:transparent}:host.material .select2-container--default.select2-container--disabled .select2-selection--multiple::before,:host.material .select2-container--default.select2-container--disabled .select2-selection--single::before{background-image:linear-gradient(to right,rgba(0,0,0,.26) 0,rgba(0,0,0,.26) 33%,transparent 0);background-size:4px 1px;background-repeat:repeat-x;background-color:transparent;background-position:0 bottom}:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--multiple::after,:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--multiple::before,:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--single::after,:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--single::before{background-color:red}:host.material:not(.select2-container--open) .select2-focused .select2-selection--multiple,:host.material:not(.select2-container--open) .select2-focused .select2-selection--single{border:0}:host.material .select2-subscript-wrapper{position:absolute;top:calc(100% - 1.72917em);font-size:75%}@supports (-moz-appearance:none){select2.material .select2-container--default .select2-selection--multiple,select2.material .select2-container--default .select2-selection--single{height:26px}}@supports (-ms-scroll-limit:0){select2.material .select2-container--default .select2-selection--multiple,select2.material .select2-container--default .select2-selection--single{height:25px}}"]}]}],e.ctorParameters=function(){return[{type:i.ChangeDetectorRef},{type:t.NgForm,decorators:[{type:i.Optional}]},{type:t.FormGroupDirective,decorators:[{type:i.Optional}]},{type:t.NgControl,decorators:[{type:i.Self},{type:i.Optional}]},{type:String,decorators:[{type:i.Attribute,args:["tabindex"]}]}]},e.propDecorators={data:[{type:i.Input}],minCountForSearch:[{type:i.Input}],placeholder:[{type:i.Input}],customSearchEnabled:[{type:i.Input}],multiple:[{type:i.Input}],material:[{type:i.Input}],editPattern:[{type:i.Input}],update:[{type:i.Output}],open:[{type:i.Output}],search:[{type:i.Output}],selection:[{type:i.ViewChild,args:["selection"]}],results:[{type:i.ViewChild,args:["results"]}],searchInput:[{type:i.ViewChild,args:["searchInput"]}],id:[{type:i.Input},{type:i.HostBinding,args:["id"]}],required:[{type:i.Input}],disabled:[{type:i.Input}],readonly:[{type:i.Input}],value:[{type:i.Input}],tabIndex:[{type:i.Input}],ariaInvalid:[{type:i.HostBinding,args:["attr.aria-invalid"]}],classMaterial:[{type:i.HostBinding,args:["class.material"]}]},e}(),c=function(){function e(){}return e.decorators=[{type:i.Directive,args:[{selector:"select2-hint"}]}],e}(),u=function(){function e(){}return e.decorators=[{type:i.NgModule,args:[{imports:[n.CommonModule,t.FormsModule,t.ReactiveFormsModule],declarations:[c,o],exports:[t.FormsModule,t.ReactiveFormsModule,c,o]}]}],e}();e.Select2=o,e.Select2Hint=c,e.timeout=200,e.Select2Utils=l,e.Select2Module=u,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("rxjs"),require("@angular/core"),require("@angular/common"),require("@angular/forms")):"function"==typeof define&&define.amd?define("ng-select2-component",["exports","rxjs","@angular/core","@angular/common","@angular/forms"],t):t(e["ng-select2-component"]={},e.rxjs,e.ng.core,e.ng.common,e.ng.forms)}(this,function(e,r,i,t,n){"use strict";function b(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}}}}var s=[{l:"a",s:/[ⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ]/gi},{l:"aa",s:/ꜳ/gi},{l:"ae",s:/[æǽǣ]/gi},{l:"ao",s:/ꜵ/gi},{l:"au",s:/ꜷ/gi},{l:"av",s:/[ꜹꜻ]/gi},{l:"ay",s:/ꜽ/gi},{l:"b",s:/[ⓑbḃḅḇƀƃɓ]/gi},{l:"c",s:/[ⓒcćĉċčçḉƈȼꜿↄ]/gi},{l:"d",s:/[ⓓdḋďḍḑḓḏđƌɖɗꝺ]/gi},{l:"dz",s:/[dzdž]/gi},{l:"e",s:/[ⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ]/gi},{l:"f",s:/[ⓕfḟƒꝼ]/gi},{l:"g",s:/[ⓖgǵĝḡğġǧģǥɠꞡᵹꝿ]/gi},{l:"h",s:/[ⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ]/gi},{l:"hv",s:/ƕ/gi},{l:"i",s:/[ⓘiìíîĩīĭİïḯỉǐȉȋịįḭɨı]/gi},{l:"j",s:/[ⓙjĵǰɉ]/gi},{l:"k",s:/[ⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ]/gi},{l:"l",s:/[ⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇꝆ]/gi},{l:"lj",s:/lj/gi},{l:"m",s:/[ⓜmḿṁṃɱɯ]/gi},{l:"n",s:/[ⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ]/gi},{l:"nj",s:/nj/gi},{l:"o",s:/[ⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔƟꝋꝍɵ]/gi},{l:"oi",s:/ƣ/gi},{l:"oe",s:/œ/gi},{l:"oo",s:/ꝏ/gi},{l:"ou",s:/ȣ/gi},{l:"p",s:/[ⓟpṕṗƥᵽꝑꝓꝕ]/gi},{l:"q",s:/[ⓠqɋꝗꝙ]/gi},{l:"r",s:/[ⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ]/gi},{l:"s",s:/[ⓢsßẞśṥŝṡšṧṣṩșşȿꞩꞅẛ]/gi},{l:"t",s:/[ⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ]/gi},{l:"tz",s:/ꜩ/gi},{l:"u",s:/[ⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ]/gi},{l:"v",s:/[ⓥvṽṿʋꝟʌ]/gi},{l:"vy",s:/ꝡ/gi},{l:"w",s:/[ⓦwẁẃŵẇẅẘẉⱳ]/gi},{l:"x",s:/[ⓧxẋẍ]/gi},{l:"y",s:/[ⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ]/gi},{l:"z",s:/[ⓩzźẑżžẓẕƶȥɀⱬꝣ]/gi}],o=function(){function m(){}return m.getScrollUpIndex=function(e,t){var n,o,l=0;try{for(var r=b(e),i=r.next();!i.done;i=r.next()){var s=i.value,c=s.options;if(c){l++;var a=c.findIndex(function(e){return e.value===t});if(-1!==a)return l+a;l+=c.length}else{if(s.value===t)return l;l++}}}catch(u){n={error:u}}finally{try{i&&!i.done&&(o=r["return"])&&o.call(r)}finally{if(n)throw n.error}}return 0},m.getOptionByValue=function(e,t){var n,o,l,r;try{for(var i=b(e),s=i.next();!s.done;s=i.next()){var c=s.value,a=c.options;if(a)try{for(var u=b(a),p=u.next();!p.done;p=u.next()){var d=p.value;if(d.value===t)return d}}catch(h){l={error:h}}finally{try{p&&!p.done&&(r=u["return"])&&r.call(u)}finally{if(l)throw l.error}}else if(c.value===t)return c}}catch(f){n={error:f}}finally{try{s&&!s.done&&(o=i["return"])&&o.call(i)}finally{if(n)throw n.error}}return null},m.getOptionsByValue=function(e,t,n){var o,l;if(n){var r=Array.isArray(t)?t:[],i=[];try{for(var s=b(r),c=s.next();!c.done;c=s.next()){var a=c.value,u=m.getOptionByValue(e,a);u&&i.push(u)}}catch(p){o={error:p}}finally{try{c&&!c.done&&(l=s["return"])&&l.call(s)}finally{if(o)throw o.error}}return i}return m.getOptionByValue(e,t)},m.getFirstAvailableOption=function(e){var t,n,o,l;try{for(var r=b(e),i=r.next();!i.done;i=r.next()){var s=i.value,c=s.options;if(c)try{for(var a=b(c),u=a.next();!u.done;u=a.next()){var p;if(!(p=u.value).disabled)return p.value}}catch(d){o={error:d}}finally{try{u&&!u.done&&(l=a["return"])&&l.call(a)}finally{if(o)throw o.error}}else if(!(p=s).disabled)return p.value}}catch(h){t={error:h}}finally{try{i&&!i.done&&(n=r["return"])&&n.call(r)}finally{if(t)throw t.error}}return null},m.getOptionsCount=function(e){var t,n,o=0;try{for(var l=b(e),r=l.next();!r.done;r=l.next()){var i=r.value.options;i?o+=i.length:o++}}catch(s){t={error:s}}finally{try{r&&!r.done&&(n=l["return"])&&n.call(l)}finally{if(t)throw t.error}}return o},m.valueIsNotInFilteredData=function(e,t){var n,o,l,r;if(m.isNullOrUndefined(t))return!0;try{for(var i=b(e),s=i.next();!s.done;s=i.next()){var c=s.value,a=c.options;if(a)try{for(var u=b(a),p=u.next();!p.done;p=u.next()){if(p.value.value===t)return!1}}catch(d){l={error:d}}finally{try{p&&!p.done&&(r=u["return"])&&r.call(u)}finally{if(l)throw l.error}}else if(c.value===t)return!1}}catch(h){n={error:h}}finally{try{s&&!s.done&&(o=i["return"])&&o.call(i)}finally{if(n)throw n.error}}return!0},m.getPreviousOption=function(e,t){for(var n=m.isNullOrUndefined(t),o=e.length-1;0<=o;o--){var l=e[o],r=l.options;if(r)for(var i=r.length-1;0<=i;i--){var s=r[i];if(n&&!s.disabled)return s.value;n=s.value===t}else{s=l;if(n&&!s.disabled)return s.value;n=s.value===t}}return n?t:null},m.getNextOption=function(e,t){var n,o,l,r,i=m.isNullOrUndefined(t);try{for(var s=b(e),c=s.next();!c.done;c=s.next()){var a=c.value,u=a.options;if(u)try{for(var p=b(u),d=p.next();!d.done;d=p.next()){var h=d.value;if(i){if(!h.disabled)return h.value}else i=h.value===t}}catch(f){l={error:f}}finally{try{d&&!d.done&&(r=p["return"])&&r.call(p)}finally{if(l)throw l.error}}else{h=a;if(i){if(!h.disabled)return h.value}else i=h.value===t}}}catch(g){n={error:g}}finally{try{c&&!c.done&&(o=s["return"])&&o.call(s)}finally{if(n)throw n.error}}return i?t:null},m.isNullOrUndefined=function(e){return null===e||e===undefined},m.getLastScrollTopIndex=function(e,t,n,o){if(m.isNullOrUndefined(e))return t.scrollTop=0;var l,r=m.getScrollUpIndex(n,e);return 5<r-o?(o+=r-o-5,(l=t.querySelectorAll("li").item(r))&&(t.scrollTop=l.offsetTop-t.offsetHeight),o):0<o-r?(o-=o-r,(l=t.querySelectorAll("li").item(o-1))&&(t.scrollTop=l.offsetTop),o):null},m.containSearchText=function(e,t,n){return!t||null!==m.formatSansUnicode(e).match(new RegExp(m.formatPattern(t,n),"i"))},m.protectPattern=function(e){return e.replace(new RegExp("[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]","g"),"\\$&")},m.formatSansUnicode=function(e){var t,n;try{for(var o=b(s),l=o.next();!l.done;l=o.next()){var r=l.value;e=e.replace(r.s,r.l)}}catch(i){t={error:i}}finally{try{l&&!l.done&&(n=o["return"])&&n.call(o)}finally{if(t)throw t.error}}return e},m.formatPattern=function(e,t){return e=m.formatSansUnicode(m.protectPattern(e)),t&&"function"==typeof t&&(e=t(e)),e},m.getFilteredData=function(e,t,n){var o,l;if(t){var r=[];try{for(var i=b(e),s=i.next();!s.done;s=i.next()){var c=s.value,a=c.options;if(a){if(a.some(function(e){return m.containSearchText(e.label,t,n)})){var u=a.filter(function(e){return m.containSearchText(e.label,t,n)});r.push({label:c.label,options:u})}}else m.containSearchText(c.label,t,n)&&r.push(c)}}catch(p){o={error:p}}finally{try{s&&!s.done&&(l=i["return"])&&l.call(i)}finally{if(o)throw o.error}}return r}return e},m.getOptionStyle=function(e,t){return e===t?"select2-results__option select2-results__option--highlighted":"select2-results__option"},m.getDropdownStyle=function(e){return e?"select2-container select2-container--default select2-container-dropdown select2-container--open":"select2-container select2-container--default select2-container-dropdown"},m.getContainerStyle=function(e,t){return"select2 select2-container select2-container--default "+(e?"select2-container--disabled":"")+" "+(t?"select2-container--open":"")+" select2-container--below select2-container--focus"},m.getSelectionStyle=function(e){return"select2-selection select2-selection--"+(e?"multiple":"single")},m.isSearchboxHiddex=function(e,t){return"number"!=typeof t&&(t=6),m.getOptionsCount(e)<t},m.getSearchStyle=function(e){return e?"select2-search select2-search--dropdown select2-search--hide":"select2-search select2-search--dropdown"},m.isSelected=function(e,t,n){return n?e&&e.some(function(e){return e.value===t.value})?"true":"false":e&&t.value===e.value?"true":"false"},m.removeSelection=function(e,t){for(var n=0;n<e.length;n++)if(e[n].value===t.value)return void e.splice(n,1)},m}(),c=0,l=function(){function e(e,t,n,o,l){this._changeDetectorRef=e,this._parentForm=t,this._parentFormGroup=n,this._control=o,this.update=new i.EventEmitter,this.open=new i.EventEmitter,this.search=new i.EventEmitter,this.option=null,this.isOpen=!1,this.hoveringValue=null,this.innerSearchText="",this.lastScrollTopIndex=0,this._stateChanges=new r.Subject,this.focused=!1,this._onTouched=function(){},this._onChange=function(){},this._disabled=!1,this._required=!1,this._readonly=!1,this._clickDetection=!1,this._uid="select2-"+c++,this._previousNativeValue=this._value,this.id=this.id,this._tabIndex=parseInt(l,10)||0,this._control&&(this._control.valueAccessor=this),this._clickDetectionFc=this.clickDetection.bind(this)}return Object.defineProperty(e.prototype,"select2Options",{get:function(){return this.multiple?this.option:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"select2Option",{get:function(){return this.multiple?null:this.option},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"searchText",{get:function(){return this.innerSearchText},set:function(e){this.customSearchEnabled&&this.search.emit(e),this.innerSearchText=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dropdownStyle",{get:function(){return o.getDropdownStyle(this.isOpen)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filteredData",{get:function(){var e=this.customSearchEnabled?this.data:o.getFilteredData(this.data,this.searchText,this.editPattern);if(o.valueIsNotInFilteredData(e,this.hoveringValue)&&(this.hoveringValue=o.getFirstAvailableOption(e),this.resultsElement)){var t=o.getLastScrollTopIndex(this.hoveringValue,this.resultsElement,e,this.lastScrollTopIndex);null!==t&&(this.lastScrollTopIndex=t)}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"containerStyle",{get:function(){return o.getContainerStyle(this.disabled,this.isOpen)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectionStyle",{get:function(){return o.getSelectionStyle(this.multiple)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(e){this._id=e||this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(e){this._required=this._coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._control?this._control.disabled:this._disabled},set:function(e){this._disabled=this._coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readonly",{get:function(){return this._readonly},set:function(e){this._readonly=this._coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){var t=this;setTimeout(function(){t._value=e,t.writeValue(e)})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabIndex",{get:function(){return this.disabled?-1:this._tabIndex},set:function(e){void 0!==e&&(this._tabIndex=e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ariaInvalid",{get:function(){return this._isErrorState()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"classMaterial",{get:function(){return""===this.material||!0===this.material},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=o.getOptionsByValue(this.data,this._control?this._control.value:this.value,this.multiple);null!==e&&(this.option=e),Array.isArray(e)||(this.hoveringValue=this.value),this.isSearchboxHidden=!this.customSearchEnabled&&o.isSearchboxHiddex(this.data,this.minCountForSearch),this.searchStyle=o.getSearchStyle(this.isSearchboxHidden)},e.prototype.ngAfterViewInit=function(){this.selectionElement=this.selection.nativeElement,this.searchInputElement=this.searchInput.nativeElement,this.resultsElement=this.results.nativeElement},e.prototype.ngDoCheck=function(){this._dirtyCheckNativeValue()},e.prototype.ngOnDestroy=function(){window.document.body.removeEventListener("click",this._clickDetectionFc)},e.prototype.getOptionStyle=function(e){return o.getOptionStyle(e.value,this.hoveringValue)+(e.classes?" "+e.classes:"")},e.prototype.mouseenter=function(e){e.disabled||(this.hoveringValue=e.value)},e.prototype.click=function(e){e.disabled||this.select(e)},e.prototype.toggleOpenAndClose=function(){var e=this;if(!this.disabled){if(this.focused=!0,this.isOpen=!this.isOpen,this.isOpen){if(this.innerSearchText="",this.focusSearchboxOrResultsElement(),this.resultsElement){var t=o.getLastScrollTopIndex(this.hoveringValue,this.resultsElement,this.data,this.lastScrollTopIndex);null!==t&&(this.lastScrollTopIndex=t)}this.open.emit()}this.isOpen&&!this._clickDetection&&setTimeout(function(){window.document.body.addEventListener("click",e._clickDetectionFc,!1),e._clickDetection=!0},200),this._changeDetectorRef.markForCheck()}},e.prototype.clickDetection=function(e){this.ifParentContainsClass(e.target,"selection")?this.isOpen&&!this.ifParentContainsId(e.target,this._id)&&(this.toggleOpenAndClose(),this.clickExit()):(this.isOpen&&!this.ifParentContainsClass(e.target,"select2-dropdown")&&this.toggleOpenAndClose(),this.ifParentContainsId(e.target,this._id)||this.clickExit())},e.prototype.clickExit=function(){this.focused=!1,window.document.body.removeEventListener("click",this._clickDetectionFc),this._clickDetection=!1},e.prototype.ifParentContainsClass=function(e,t){return null!==this.getParentElementByClass(e,t)},e.prototype.ifParentContainsId=function(e,t){return null!==this.getParentElementById(e,t)},e.prototype.getParentElementByClass=function(e,t){return this.containClasses(e,t.trim().split(/\s+/))?e:e.parentElement?this.getParentElementByClass(e.parentElement,t):null},e.prototype.getParentElementById=function(e,t){return e.id===t?e:e.parentElement?this.getParentElementById(e.parentElement,t):null},e.prototype.containClasses=function(e,t){var n,o;if(!e.classList)return!1;try{for(var l=b(t),r=l.next();!r.done;r=l.next()){var i=r.value;if(!e.classList.contains(i))return!1}}catch(s){n={error:s}}finally{try{r&&!r.done&&(o=l["return"])&&o.call(l)}finally{if(n)throw n.error}}return!0},e.prototype.focusin=function(){this.disabled||(this.focused=!0)},e.prototype.focusout=function(){this.selectionElement&&!this.selectionElement.classList.contains("select2-focused")&&(this.focused=!1,this._onTouched())},e.prototype.moveUp=function(){if(this.hoveringValue=o.getPreviousOption(this.filteredData,this.hoveringValue),this.resultsElement){var e=o.getLastScrollTopIndex(this.hoveringValue,this.resultsElement,this.filteredData,this.lastScrollTopIndex);null!==e&&(this.lastScrollTopIndex=e)}},e.prototype.moveDown=function(){if(this.hoveringValue=o.getNextOption(this.filteredData,this.hoveringValue),this.resultsElement){var e=o.getLastScrollTopIndex(this.hoveringValue,this.resultsElement,this.filteredData,this.lastScrollTopIndex);null!==e&&(this.lastScrollTopIndex=e)}},e.prototype.selectByEnter=function(){if(this.hoveringValue){var e=o.getOptionByValue(this.data,this.hoveringValue);this.select(e)}},e.prototype.select=function(t){var e;if(null!==t)if(this.multiple){var n=this.option,o=n.findIndex(function(e){return e.value===t.value});-1===o?n.push(t):n.splice(o,1),e=this.option.map(function(e){return e.value})}else this.option=t,this.isOpen=!1,this.selectionElement&&this.selectionElement.focus(),e=this.option.value;else this._control&&(this.option=null);this._control&&this._onChange(e),this.update.emit(e)},e.prototype.keyDown=function(e){this._testKey(e,["ArrowDown",40])?(this.moveDown(),e.preventDefault()):this._testKey(e,["ArrowUp",38])?(this.moveUp(),e.preventDefault()):this._testKey(e,["Enter",13])?(this.selectByEnter(),e.preventDefault()):this._testKey(e,["Escape","Tab",9,27])&&this.isOpen&&(this.toggleOpenAndClose(),this.focused=!1)},e.prototype.openKey=function(e){this._testKey(e,["ArrowDown","ArrowUp","Enter",40,38,13])?(this.toggleOpenAndClose(),e.preventDefault()):this._testKey(e,["Escape",9])&&(this.focused=!1,this._onTouched())},e.prototype.trackBy=function(e,t){return t.value},e.prototype.searchUpdate=function(e){this.searchText=e.target.value},e.prototype.isSelected=function(e){return o.isSelected(this.option,e,this.multiple)},e.prototype.isDisabled=function(e){return e.disabled?"true":"false"},e.prototype.removeSelection=function(e,t){o.removeSelection(this.option,t);var n=this.option.map(function(e){return e.value});this._control&&this._onChange(n),this.update.emit(n),e.preventDefault(),e.stopPropagation(),this.isOpen&&this.focusSearchboxOrResultsElement()},e.prototype.writeValue=function(e){this._setSelectionByValue(e)},e.prototype.registerOnChange=function(e){this._onChange=e},e.prototype.registerOnTouched=function(e){this._onTouched=e},e.prototype.setDisabledState=function(e){this.disabled=e},e.prototype._isErrorState=function(){var e=this._control&&this._control.invalid,t=this._control&&this._control.touched,n=this._parentFormGroup&&this._parentFormGroup.submitted||this._parentForm&&this._parentForm.submitted;return!(!e||!t&&!n)},e.prototype._testKey=function(e,t){return void 0===t&&(t=[]),this._isKey(this._getKey(e),t)},e.prototype._getKey=function(e){var t;return e.key!==undefined?t=e.key:e.keyIdentifier!==undefined?t=e.keyIdentifier:e.keyCode!==undefined?t=e.keyCode:e.preventDefault(),t},e.prototype._isKey=function(e,t){return void 0===t&&(t=[]),!!(t&&0<t.length)&&-1!==t.indexOf(e)},e.prototype._setSelectionByValue=function(e){var t=this;if(this.option||e!==undefined&&null!==e){var n=Array.isArray(e);if(this.multiple&&e&&!n)throw new Error("Non array value.");this.data?this._control&&this.multiple?(this.option=[],n&&o.getOptionsByValue(this.data,e,this.multiple).map(function(e){return t.select(e)})):this.select(o.getOptionByValue(this.data,e)):this._control&&this._control.viewToModelUpdate(e),this._changeDetectorRef.markForCheck()}},e.prototype._dirtyCheckNativeValue=function(){var e=this.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this._stateChanges.next())},e.prototype._coerceBooleanProperty=function(e){return null!=e&&""+e!="false"},e.prototype.focusSearchboxOrResultsElement=function(){this.isSearchboxHidden?this.resultsElement&&this.resultsElement.focus():this.searchInputElement&&this.searchInputElement.focus()},e.decorators=[{type:i.Component,args:[{selector:"select2",template:'<div class="select2-lalel"\r\n (click)="toggleOpenAndClose()">\r\n <ng-content select="select2-label"></ng-content>\r\n</div>\r\n<div [class]="containerStyle">\r\n <div class="selection"\r\n #selection\r\n [attr.tabindex]="!this.isOpen ? tabIndex : \'-1\'"\r\n (click)="toggleOpenAndClose()"\r\n (focus)="focusin()"\r\n (blur)="focusout()"\r\n (keydown)="openKey($event)"\r\n [class.select2-focused]="focused">\r\n <div [class]="selectionStyle"\r\n role="combobox">\r\n <span *ngIf="!multiple"\r\n class="select2-selection__rendered"\r\n [title]="select2Option ? select2Option.label : \'\'">\r\n <span *ngIf="!select2Option"> </span>\r\n <ng-container *ngIf="select2Option">{{select2Option.label}}</ng-container>\r\n <span [class.select2-selection__placeholder__option]="option"\r\n class="select2-selection__placeholder">{{placeholder}}</span>\r\n </span>\r\n <span *ngIf="!multiple"\r\n class="select2-selection__arrow"\r\n role="presentation">\r\n <b role="presentation"></b>\r\n </span>\r\n <ul *ngIf="multiple"\r\n class="select2-selection__rendered">\r\n <span [class.select2-selection__placeholder__option]="select2Options?.length > 0"\r\n class="select2-selection__placeholder">{{placeholder}}</span>\r\n <li *ngFor="let op of option; trackBy: trackBy"\r\n class="select2-selection__choice"\r\n [title]="op.label">\r\n <span (click)="removeSelection($event, op)"\r\n class="select2-selection__choice__remove"\r\n role="presentation">×</span>\r\n {{op.label}}\r\n </li>\r\n </ul>\r\n </div>\r\n <div class="select2-subscript-wrapper">\r\n <ng-content select="select2-hint"></ng-content>\r\n </div>\r\n </div>\r\n <div [class]="dropdownStyle">\r\n <div class="select2-dropdown select2-dropdown--below">\r\n <div [class]="searchStyle">\r\n <input #searchInput\r\n [id]="id + \'-search-field\'"\r\n [(value)]="searchText"\r\n (keydown)="keyDown($event)"\r\n (keyup)="searchUpdate($event)"\r\n class="select2-search__field"\r\n type="search"\r\n role="textbox"\r\n autocomplete="off"\r\n autocorrect="off"\r\n autocapitalize="off"\r\n spellcheck="false"\r\n [attr.tabindex]="this.isOpen ? tabIndex : \'-1\'">\r\n </div>\r\n <div class="select2-results">\r\n <ul #results\r\n class="select2-results__options"\r\n role="tree"\r\n tabindex="-1"\r\n (keydown)="keyDown($event)">\r\n <ng-template ngFor\r\n [ngForOf]="filteredData"\r\n let-groupOrOption\r\n [ngForTrackBy]="trackBy">\r\n <li *ngIf="groupOrOption.options"\r\n class="select2-results__option"\r\n role="group">\r\n <strong [attr.class]="\'select2-results__group\' + (groupOrOption.classes ? \' \' + groupOrOption.classes : \'\')">{{groupOrOption.label}}</strong>\r\n <ul class="select2-results__options select2-results__options--nested">\r\n <li *ngFor="let option of groupOrOption.options; trackBy:trackBy"\r\n [class]="getOptionStyle(option)"\r\n role="treeitem"\r\n [attr.aria-selected]="isSelected(option)"\r\n [attr.aria-disabled]="isDisabled(option)"\r\n (mouseenter)="mouseenter(option)"\r\n (click)="click(option)">{{option.label}}</li>\r\n </ul>\r\n </li>\r\n <li *ngIf="!groupOrOption.options"\r\n [class]="getOptionStyle(groupOrOption)"\r\n role="treeitem"\r\n [attr.aria-selected]="isSelected(groupOrOption)"\r\n [attr.aria-disabled]="isDisabled(groupOrOption)"\r\n (mouseenter)="mouseenter(groupOrOption)"\r\n (click)="click(groupOrOption)">\r\n {{groupOrOption.label}}\r\n </li>\r\n </ng-template>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n</div>',styles:[".select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle;width:100%}.select2-container .select2-container-dropdown{position:absolute;width:0}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{position:relative}.select2-container .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:#fff;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{padding:6px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select2-results__option[aria-selected]{cursor:pointer}.select2-container.select2-container-dropdown.select2-container--open{width:100%}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff}.select2-hidden-accessible{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:4px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:700}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__placeholder__option{display:none}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent;border-style:solid;border-width:5px 4px 0;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888;border-width:0 4px 5px}.select2-container--default .select2-selection--multiple{background-color:#fff;border:1px solid #aaa;border-radius:4px;cursor:text}.select2-container--default .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection--multiple .select2-selection__rendered li{list-style:none}.select2-container--default .select2-selection--multiple .select2-selection__placeholder{color:#999;margin-top:5px;float:left}.select2-container--default .select2-selection--multiple .select2-selection__placeholder__option{display:none}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-top:5px;margin-right:10px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333}.select2-container--default.select2-container--focused .select2-selection--multiple,.select2-container--default:not(.select2-container--open) .select2-focused .select2-selection--multiple,.select2-container--default:not(.select2-container--open) .select2-focused .select2-selection--single{border:1px solid #000;outline:0}.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--above .select2-selection--single{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--below .select2-selection--single{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa}.select2-container--default .select2-search--inline .select2-search__field{background:0 0;border:none;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999}.select2-container--default .select2-results__option[aria-selected=true]{background-color:#ddd}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:#fff}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px;color:gray}:host.material{display:inline-block;width:300px}:host.material>.select2-container{padding-bottom:1.29688em;vertical-align:inherit}:host.material>.select2-container .selection{padding:.4375em 0;border-top:.84375em solid transparent;display:inline-flex;align-items:baseline;width:100%;height:auto}:host.material .select2-container--default .select2-selection--multiple,:host.material .select2-container--default .select2-selection--single{width:100%;border:0;border-radius:0;height:24px;box-sizing:border-box}:host.material .select2-container--default .select2-selection--multiple::before,:host.material .select2-container--default .select2-selection--single::before{content:' ';display:block;position:absolute;bottom:1.65em;background-color:#ddd;height:1px;width:100%}:host.material .select2-container--default .select2-selection--multiple::after,:host.material .select2-container--default .select2-selection--single::after{content:' ';display:block;position:absolute;bottom:1.63em;background-color:#5a419e;height:2px;width:0%;left:50%;transition:none}:host.material .select2-container--default .select2-selection--multiple .select2-selection__rendered,:host.material .select2-container--default .select2-selection--single .select2-selection__rendered{padding-left:1px;line-height:inherit}:host.material .select2-container--default .select2-selection--multiple .select2-selection__placeholder,:host.material .select2-container--default .select2-selection--single .select2-selection__placeholder{display:block;color:rgba(0,0,0,.38);transition:transform .3s;transition:transform .3s,-webkit-transform .3s;position:absolute;-webkit-transform-origin:0 21px;transform-origin:0 21px;left:0;top:20px}:host.material .select2-container--default .select2-container--open{left:0;bottom:1.6em}:host.material .select2-container--default .select2-selection__placeholder__option{-webkit-transform:translateY(-1.5em) scale(.75) perspective(100px) translateZ(.001px);transform:translateY(-1.5em) scale(.75) perspective(100px) translateZ(.001px);width:133.33333%}:host.material .select2-container--default .select2-selection__arrow{top:20px}:host.material .select2-container--default .select2-focused .select2-selection--multiple::after,:host.material .select2-container--default .select2-focused .select2-selection--single::after,:host.material .select2-container--default.select2-container--open .select2-selection--multiple::after,:host.material .select2-container--default.select2-container--open .select2-selection--single::after{transition:width .3s cubic-bezier(.12,1,.77,1),left .3s cubic-bezier(.12,1,.77,1);width:100%;left:0}:host.material .select2-container--default .select2-dropdown{border-radius:0;border:0;box-shadow:0 5px 5px rgba(0,0,0,.5)}:host.material .select2-container--default .select2-results__option--highlighted[aria-selected],:host.material .select2-container--default .select2-results__option[aria-selected=true]{background-color:rgba(0,0,0,.04);color:#000}:host.material .select2-container--default .select2-results__option[aria-selected=true]{color:#ff5722}:host.material .select2-container--default.select2-container--disabled .select2-selection--multiple,:host.material .select2-container--default.select2-container--disabled .select2-selection--single{background-color:transparent}:host.material .select2-container--default.select2-container--disabled .select2-selection--multiple::before,:host.material .select2-container--default.select2-container--disabled .select2-selection--single::before{background-image:linear-gradient(to right,rgba(0,0,0,.26) 0,rgba(0,0,0,.26) 33%,transparent 0);background-size:4px 1px;background-repeat:repeat-x;background-color:transparent;background-position:0 bottom}:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--multiple::after,:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--multiple::before,:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--single::after,:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--single::before{background-color:red}:host.material:not(.select2-container--open) .select2-focused .select2-selection--multiple,:host.material:not(.select2-container--open) .select2-focused .select2-selection--single{border:0}:host.material .select2-subscript-wrapper{position:absolute;top:calc(100% - 1.72917em);font-size:75%}@supports (-moz-appearance:none){select2.material .select2-container--default .select2-selection--multiple,select2.material .select2-container--default .select2-selection--single{height:26px}}@supports (-ms-scroll-limit:0){select2.material .select2-container--default .select2-selection--multiple,select2.material .select2-container--default .select2-selection--single{height:25px}}"]}]}],e.ctorParameters=function(){return[{type:i.ChangeDetectorRef},{type:n.NgForm,decorators:[{type:i.Optional}]},{type:n.FormGroupDirective,decorators:[{type:i.Optional}]},{type:n.NgControl,decorators:[{type:i.Self},{type:i.Optional}]},{type:String,decorators:[{type:i.Attribute,args:["tabindex"]}]}]},e.propDecorators={data:[{type:i.Input}],minCountForSearch:[{type:i.Input}],placeholder:[{type:i.Input}],customSearchEnabled:[{type:i.Input}],multiple:[{type:i.Input}],material:[{type:i.Input}],editPattern:[{type:i.Input}],update:[{type:i.Output}],open:[{type:i.Output}],search:[{type:i.Output}],selection:[{type:i.ViewChild,args:["selection"]}],results:[{type:i.ViewChild,args:["results"]}],searchInput:[{type:i.ViewChild,args:["searchInput"]}],id:[{type:i.Input},{type:i.HostBinding,args:["id"]}],required:[{type:i.Input}],disabled:[{type:i.Input}],readonly:[{type:i.Input}],value:[{type:i.Input}],tabIndex:[{type:i.Input}],ariaInvalid:[{type:i.HostBinding,args:["attr.aria-invalid"]}],classMaterial:[{type:i.HostBinding,args:["class.material"]}]},e}(),a=function(){function e(){}return e.decorators=[{type:i.Directive,args:[{selector:"select2-hint"}]}],e}(),u=function(){function e(){}return e.decorators=[{type:i.Directive,args:[{selector:"select2-label"}]}],e}(),p=function(){function e(){}return e.decorators=[{type:i.NgModule,args:[{imports:[t.CommonModule,n.FormsModule,n.ReactiveFormsModule],declarations:[a,u,l],exports:[n.FormsModule,n.ReactiveFormsModule,a,u,l]}]}],e}();e.Select2=l,e.Select2Hint=a,e.Select2Label=u,e.timeout=200,e.Select2Utils=o,e.Select2Module=p,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=ng-select2-component.umd.min.js.map |
# Changelog of ng-select2 | ||
## V7.0.0 (2018-12-05) | ||
### Changes | ||
- update to Angular 7 | ||
- add Label with `<select2-label>` tag | ||
### Corrections | ||
- ajust CSS | ||
- change the key detection | ||
## V6.0.3 (2018-10-29) | ||
@@ -4,0 +16,0 @@ |
@@ -9,5 +9,5 @@ /** | ||
Select2Hint.decorators = [ | ||
{ type: Directive, args: [{ selector: 'select2-hint' },] }, | ||
{ type: Directive, args: [{ selector: 'select2-hint' },] } | ||
]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0Mi1oaW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25nLXNlbGVjdDItY29tcG9uZW50LyIsInNvdXJjZXMiOlsibGliL3NlbGVjdDItaGludC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFHMUMsTUFBTTs7O1lBREwsU0FBUyxTQUFDLEVBQUUsUUFBUSxFQUFFLGNBQWMsRUFBRSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5cclxuQERpcmVjdGl2ZSh7IHNlbGVjdG9yOiAnc2VsZWN0Mi1oaW50JyB9KVxyXG5leHBvcnQgY2xhc3MgU2VsZWN0MkhpbnQgeyB9XHJcbiJdfQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0Mi1oaW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25nLXNlbGVjdDItY29tcG9uZW50LyIsInNvdXJjZXMiOlsibGliL3NlbGVjdDItaGludC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFHMUMsTUFBTSxPQUFPLFdBQVc7OztZQUR2QixTQUFTLFNBQUMsRUFBRSxRQUFRLEVBQUUsY0FBYyxFQUFFIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRGlyZWN0aXZlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5ARGlyZWN0aXZ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AgICAgICAgICAgICAgICBjb25zdCB2YWx1ZUluZGV4ID0gb3B0aW9ucy5maW5kSW5kZXgob3AgPT4gb3AudmFsdWUgPT09IHZhbHVlKTtcclxuICAgICAgICAgICAgICAgIGlmICh2YWx1ZUluZGV4ICE9PSAtMSkge1xyXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBpbmRleCArIHZhbHVlSW5kZXg7XHJcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xyXG4gICAgICAgICAgICAgICAgICAgIGluZGV4ICs9IG9wdGlvbnMubGVuZ3RoO1xyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9IGVsc2Uge1xyXG4gICAgICAgICAgICAgICAgaWYgKChncm91cE9yT3B0aW9uIGFzIFNlbGVjdDJPcHRpb24pLnZhbHVlID09PSB2YWx1ZSkge1xyXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBpbmRleDtcclxuICAgICAgICAgICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAgICAgICAgICAgaW5kZXgrKztcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgICAgICByZXR1cm4gMDtcclxuICAgIH1cclxuXHJcbiAgICBzdGF0aWMgZ2V0T3B0aW9uQnlWYWx1ZShkYXRhOiBTZWxlY3QyRGF0YSwgdmFsdWU6IFNlbGVjdDJWYWx1ZSB8IG51bGwgfCB1bmRlZmluZWQpIHtcclxuICAgICAgICBmb3IgKGNvbnN0IGdyb3VwT3JPcHRpb24gb2YgZGF0YSkge1xyXG4gICAgICAgICAgICBjb25zdCBvcHRpb25zID0gKGdyb3VwT3JPcHRpb24gYXMgU2VsZWN0Mkdyb3VwKS5vcHRpb25zO1xyXG4gICAgICAgICAgICBpZiAob3B0aW9ucykge1xyXG4gICAgICAgICAgICAgICAgZm9yIChjb25zdCBvcHRpb24gb2Ygb3B0aW9ucykge1xyXG4gICAgICAgICAgICAgICAgICAgIGlmIChvcHRpb24udmFsdWUgPT09IHZhbHVlKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBvcHRpb247XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9IGVsc2Uge1xyXG4gICAgICAgICAgICAgICAgaWYgKChncm91cE9yT3B0aW9uIGFzIFNlbGVjdDJPcHRpb24pLnZhbHVlID09PSB2YWx1ZSkge1xyXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBncm91cE9yT3B0aW9uIGFzIFNlbGVjdDJPcHRpb247XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICAgICAgcmV0dXJuIG51bGw7XHJcbiAgICB9XHJcblxyXG4gICAgc3RhdGljIGdldE9wdGlvbnNCeVZhbHVlKFxyXG4gICAgICAgIGRhdGE6IFNlbGVjdDJEYXRhLFxyXG4gICAgICAgIHZhbHVlOiBTZWxlY3QyVXBkYXRlVmFsdWUgfCBudWxsIHwgdW5kZWZpbmVkLFxyXG4gICAgICAgIG11bHRpcGxlOiBib29sZWFuIHwgbnVsbCB8IHVuZGVmaW5lZFxyXG4gICAgKSB7XHJcbiAgICAgICAgaWYgKG11bHRpcGxlKSB7XHJcbiAgICAgICAgICAgIGNvbnN0IHZhbHVlczogU2VsZWN0MlZhbHVlW10gPSBBcnJheS5pc0FycmF5KHZhbHVlKSA/IHZhbHVlIDogW107XHJcbiAgICAgICAgICAgIGNvbnN0IHJlc3VsdDogU2VsZWN0Mk9wdGlvbltdID0gW107XHJcbiAgICAgICAgICAgIGZvciAoY29uc3QgdiBvZiB2YWx1ZXMpIHtcclxuICAgICAgICAgICAgICAgIGNvbnN0IG9wdGlvbiA9IFNlbGVjdDJVdGlscy5nZXRPcHRpb25CeVZhbHVlKGRhdGEsIHYpO1xyXG4gICAgICAgICAgICAgICAgaWYgKG9wdGlvbikge1xyXG4gICAgICAgICAgICAgICAgICAgIHJlc3VsdC5wdXNoKG9wdGlvbik7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgcmV0dXJuIHJlc3VsdDtcclxuICAgICAgICB9XHJcbiAgICAgICAgcmV0dXJuIFNlbGVjdDJVdGlscy5nZXRPcHRpb25CeVZhbHVlKGRhdGEsIHZhbHVlIGFzIFNlbGVjdDJWYWx1ZSB8IG51bGwgfCB1bmRlZmluZWQpO1xyXG4gICAgfVxyXG5cclxuICAgIHN0YXRpYyBnZXRGaXJzdEF2YWlsYWJsZU9wdGlvbihkYXRhOiBTZWxlY3QyRGF0YSkge1xyXG4gICAgICAgIGZvciAoY29uc3QgZ3JvdXBPck9wdGlvbiBvZiBkYXRhKSB7XHJcbiAgICAgICAgICAgIGNvbnN0IG9wdGlvbnMgPSAoZ3JvdXBPck9wdGlvbiBhcyBTZWxlY3QyR3JvdXApLm9wdGlvbnM7XHJcbiAgICAgICAgICAgIGlmIChvcHRpb25zKSB7XHJcbiAgICAgICAgICAgICAgICBmb3IgKGNvbnN0IG9wdGlvbiBvZiBvcHRpb25zKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgaWYgKCFvcHRpb24uZGlzYWJsZWQpIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIG9wdGlvbi52YWx1ZTtcclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAgICAgICBjb25zdCBvcHRpb24gPSBncm91cE9yT3B0aW9uIGFzIFNlbGVjdDJPcHRpb247XHJcbiAgICAgICAgICAgICAgICBpZiAoIW9wdGlvbi5kaXNhYmxlZCkge1xyXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBvcHRpb24udmFsdWU7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICAgICAgcmV0dXJuIG51bGw7XHJcbiAgICB9XHJcblxyXG4gICAgcHJpdmF0ZSBzdGF0aWMgZ2V0T3B0aW9uc0NvdW50KGRhdGE6IFNlbGVjdDJEYXRhKSB7XHJcbiAgICAgICAgbGV0IGNvdW50ID0gMDtcclxuICAgICAgICBmb3IgKGNvbnN0IGdyb3VwT3JPcHRpb24gb2YgZGF0YSkge1xyXG4gICAgICAgICAgICBjb25zdCBvcHRpb25zID0gKGdyb3VwT3JPcHRpb24gYXMgU2VsZWN0Mkdyb3VwKS5vcHRpb25zO1xyXG4gICAgICAgICAgICBpZiAob3B0aW9ucykge1xyXG4gICAgICAgICAgICAgICAgY291bnQgKz0gb3B0aW9ucy5sZW5ndGg7XHJcbiAgICAgICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAgICAgICBjb3VudCsrO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgICAgIHJldHVybiBjb3VudDtcclxuICAgIH1cclxuXHJcbiAgICBzdGF0aWMgdmFsdWVJc05vdEluRmlsdGVyZWREYXRhKGZpbHRlcmVkRGF0YTogU2VsZWN0MkRhdGEsIHZhbHVlOiBTZWxlY3QyVmFsdWUgfCBudWxsIHwgdW5kZWZpbmVkKSB7XHJcbiAgICAgICAgaWYgKFNlbGVjdDJVdGlscy5pc051bGxPclVuZGVmaW5lZCh2YWx1ZSkpIHtcclxuICAgICAgICAgICAgcmV0dXJuIHRydWU7XHJcbiAgICAgICAgfVxyXG4gICAgICAgIGZvciAoY29uc3QgZ3JvdXBPck9wdGlvbiBvZiBmaWx0ZXJlZERhdGEpIHtcclxuICAgICAgICAgICAgY29uc3Qgb3B0aW9ucyA9IChncm91cE9yT3B0aW9uIGFzIFNlbGVjdDJHcm91cCkub3B0aW9ucztcclxuICAgICAgICAgICAgaWYgKG9wdGlvbnMpIHtcclxuICAgICAgICAgICAgICAgIGZvciAoY29uc3Qgb3B0aW9uIG9mIG9wdGlvbnMpIHtcclxuICAgICAgICAgICAgICAgICAgICBpZiAob3B0aW9uLnZhbHVlID09PSB2YWx1ZSkge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9IGVsc2Uge1xyXG4gICAgICAgICAgICAgICAgaWYgKChncm91cE9yT3B0aW9uIGFzIFNlbGVjdDJPcHRpb24pLnZhbHVlID09PSB2YWx1ZSkge1xyXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgICAgICByZXR1cm4gdHJ1ZTtcclxuICAgIH1cclxuXHJcbiAgICAvLyB0c2xpbnQ6ZGlzYWJsZS1uZXh0LWxpbmU6Y29nbml0aXZlLWNvbXBsZXhpdHlcclxuICAgIHN0YXRpYyBnZXRQcmV2aW91c09wdGlvbihmaWx0ZXJlZERhdGE6IFNlbGVjdDJEYXRhLCBob3ZlcmluZ1ZhbHVlOiBTZWxlY3QyVmFsdWUgfCBudWxsIHwgdW5kZWZpbmVkKSB7XHJcbiAgICAgICAgbGV0IGZpbmRJdCA9IFNlbGVjdDJVdGlscy5pc051bGxPclVuZGVmaW5lZChob3ZlcmluZ1ZhbHVlKTtcclxuICAgICAgICBmb3IgKGxldCBpID0gZmlsdGVyZWREYXRhLmxlbmd0aCAtIDE7IGkgPj0gMDsgaS0tKSB7XHJcbiAgICAgICAgICAgIGNvbnN0IGdyb3VwT3JPcHRpb24gPSBmaWx0ZXJlZERhdGFbaV07XHJcbiAgICAgICAgICAgIGNvbnN0IG9wdGlvbnMgPSAoZ3JvdXBPck9wdGlvbiBhcyBTZWxlY3QyR3JvdXApLm9wdGlvbnM7XHJcbiAgICAgICAgICAgIGlmIChvcHRpb25zKSB7XHJcbiAgICAgICAgICAgICAgICBmb3IgKGxldCBqID0gb3B0aW9ucy5sZW5ndGggLSAxOyBqID49IDA7IGotLSkge1xyXG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IG9wdGlvbiA9IG9wdGlvbnNbal07XHJcbiAgICAgICAgICAgICAgICAgICAgaWYgKGZpbmRJdCkge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoIW9wdGlvbi5kaXNhYmxlZCkge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIG9wdGlvbi52YWx1ZTtcclxuICAgICAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgICAgICBmaW5kSXQgPSBvcHRpb24udmFsdWUgPT09IGhvdmVyaW5nVmFsdWU7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAgICAgICBjb25zdCBvcHRpb24gPSBncm91cE9yT3B0aW9uIGFzIFNlbGVjdDJPcHRpb247XHJcbiAgICAgICAgICAgICAgICBpZiAoZmluZEl0KSB7XHJcbiAgICAgICAgICAgICAgICAgICAgaWYgKCFvcHRpb24uZGlzYWJsZWQpIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIG9wdGlvbi52YWx1ZTtcclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICBmaW5kSXQgPSBvcHRpb24udmFsdWUgPT09IGhvdmVyaW5nVmFsdWU7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICAgICAgcmV0dXJuIGZpbmRJdCA/IGhvdmVyaW5nVmFsdWUgOiBudWxsO1xyXG4gICAgfVxyXG4gICAgLy8gdHNsaW50OmRpc2FibGUtbmV4dC1saW5lOmNvZ25pdGl2ZS1jb21wbGV4aXR5XHJcbiAgICBzdGF0aWMgZ2V0TmV4dE9wdGlvbihmaWx0ZXJlZERhdGE6IFNlbGVjdDJEYXRhLCBob3ZlcmluZ1ZhbHVlOiBTZWxlY3QyVmFsdWUgfCBudWxsIHwgdW5kZWZpbmVkKSB7XHJcbiAgICAgICAgbGV0IGZpbmRJdCA9IFNlbGVjdDJVdGlscy5pc051bGxPclVuZGVmaW5lZChob3ZlcmluZ1ZhbHVlKTtcclxuICAgICAgICBmb3IgKGNvbnN0IGdyb3VwT3JPcHRpb24gb2YgZmlsdGVyZWREYXRhKSB7XHJcbiAgICAgICAgICAgIGNvbnN0IG9wdGlvbnMgPSAoZ3JvdXBPck9wdGlvbiBhcyBTZWxlY3QyR3JvdXApLm9wdGlvbnM7XHJcbiAgICAgICAgICAgIGlmIChvcHRpb25zKSB7XHJcbiAgICAgICAgICAgICAgICBmb3IgKGNvbnN0IG9wdGlvbiBvZiBvcHRpb25zKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgaWYgKGZpbmRJdCkge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoIW9wdGlvbi5kaXNhYmxlZCkge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIG9wdGlvbi52YWx1ZTtcclxuICAgICAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGZpbmRJdCA9IG9wdGlvbi52YWx1ZSA9PT0gaG92ZXJpbmdWYWx1ZTtcclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAgICAgICBjb25zdCBvcHRpb24gPSBncm91cE9yT3B0aW9uIGFzIFNlbGVjdDJPcHRpb247XHJcbiAgICAgICAgICAgICAgICBpZiAoZmluZEl0KSB7XHJcbiAgICAgICAgICAgICAgICAgICAgaWYgKCFvcHRpb24uZGlzYWJsZWQpIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIG9wdGlvbi52YWx1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9PiBTZWxlY3QyVXRpbHMuY29udGFpblNlYXJjaFRleHQoZ3JvdXAubGFiZWwsIHNlYXJjaFRleHQsIGVkaXRQYXR0ZXJuKSkpIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgY29uc3QgZmlsdGVyZWRPcHRpb25zID0gb3B0aW9ucy5maWx0ZXIoXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBncm91cCA9PiBTZWxlY3QyVXRpbHMuY29udGFpblNlYXJjaFRleHQoZ3JvdXAubGFiZWwsIHNlYXJjaFRleHQsIGVkaXRQYXR0ZXJuKVxyXG4gICAgICAgICAgICAgICAgICAgICAgICApO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICByZXN1bHQucHVzaCh7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBsYWJlbDogZ3JvdXBPck9wdGlvbi5sYWJlbCxcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIG9wdGlvbnM6IGZpbHRlcmVkT3B0aW9uc1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB9KTtcclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKFNlbGVjdDJVdGlscy5jb250YWluU2VhcmNoVGV4dChncm91cE9yT3B0aW9uLmxhYmVsLCBzZWFyY2hUZXh0LCBlZGl0UGF0dGVybikpIHtcclxuICAgICAgICAgICAgICAgICAgICByZXN1bHQucHVzaChncm91cE9yT3B0aW9uKTtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICByZXR1cm4gcmVzdWx0O1xyXG4gICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAgIHJldHVybiBkYXRhO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICBzdGF0aWMgZ2V0T3B0aW9uU3R5bGUodmFsdWU6IFNlbGVjdDJWYWx1ZSwgaG92ZXJpbmdWYWx1ZTogU2VsZWN0MlZhbHVl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clxuICAgICAgICBvcHRpb246IFNlbGVjdDJPcHRpb24sXHJcbiAgICAgICAgbXVsdGlwbGU6IGJvb2xlYW4gfCBudWxsIHwgdW5kZWZpbmVkXHJcbiAgICApIHtcclxuICAgICAgICBpZiAobXVsdGlwbGUpIHtcclxuICAgICAgICAgICAgcmV0dXJuIG9wdGlvbnMgJiYgKG9wdGlvbnMgYXMgU2VsZWN0Mk9wdGlvbltdKS5zb21lKG9wID0+IG9wLnZhbHVlID09PSBvcHRpb24udmFsdWUpID8gJ3RydWUnIDogJ2ZhbHNlJztcclxuICAgICAgICB9IGVsc2Uge1xyXG4gICAgICAgICAgICByZXR1cm4gb3B0aW9ucyAmJiBvcHRpb24udmFsdWUgPT09IChvcHRpb25zIGFzIFNlbGVjdDJPcHRpb24pLnZhbHVlID8gJ3RydWUnIDogJ2ZhbHNlJztcclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgc3RhdGljIHJlbW92ZVNlbGVjdGlvbihvcHRpb25zOiBTZWxlY3QyT3B0aW9uIHwgU2VsZWN0Mk9wdGlvbltdIHwgbnVsbCwgb3B0aW9uOiBTZWxlY3QyT3B0aW9uKSB7XHJcbiAgICAgICAgZm9yIChsZXQgaSA9IDA7IGkgPCAob3B0aW9ucyBhcyBTZWxlY3QyT3B0aW9uW10pLmxlbmd0aDsgaSsrKSB7XHJcbiAgICAgICAgICAgIGlmICgob3B0aW9ucyBhcyBTZWxlY3QyT3B0aW9uW10pW2ldLnZhbHVlID09PSBvcHRpb24udmFsdWUpIHtcclxuICAgICAgICAgICAgICAgIChvcHRpb25zIGFzIFNlbGVjdDJPcHRpb25bXSkuc3BsaWNlKGksIDEpO1xyXG4gICAgICAgICAgICAgICAgcmV0dXJuO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG59XHJcbiJdfQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0Mi11dGlscy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9PiBvcC52YWx1ZSA9PT0gdmFsdWUpO1xyXG4gICAgICAgICAgICAgICAgaWYgKHZhbHVlSW5kZXggIT09IC0xKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGluZGV4ICsgdmFsdWVJbmRleDtcclxuICAgICAgICAgICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAgICAgICAgICAgaW5kZXggKz0gb3B0aW9ucy5sZW5ndGg7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAgICAgICBpZiAoKGdyb3VwT3JPcHRpb24gYXMgU2VsZWN0Mk9wdGlvbikudmFsdWUgPT09IHZhbHVlKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGluZGV4O1xyXG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgICAgICAgICBpbmRleCsrO1xyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgICAgIHJldHVybiAwO1xyXG4gICAgfVxyXG5cclxuICAgIHN0YXRpYyBnZXRPcHRpb25CeVZhbHVlKGRhdGE6IFNlbGVjdDJEYXRhLCB2YWx1ZTogU2VsZWN0MlZhbHVlIHwgbnVsbCB8IHVuZGVmaW5lZCkge1xyXG4gICAgICAgIGZvciAoY29uc3QgZ3JvdXBPck9wdGlvbiBvZiBkYXRhKSB7XHJcbiAgICAgICAgICAgIGNvbnN0IG9wdGlvbnMgPSAoZ3JvdXBPck9wdGlvbiBhcyBTZWxlY3QyR3JvdXApLm9wdGlvbnM7XHJcbiAgICAgICAgICAgIGlmIChvcHRpb25zKSB7XHJcbiAgICAgICAgICAgICAgICBmb3IgKGNvbnN0IG9wdGlvbiBvZiBvcHRpb25zKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgaWYgKG9wdGlvbi52YWx1ZSA9PT0gdmFsdWUpIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIG9wdGlvbjtcclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAgICAgICBpZiAoKGdyb3VwT3JPcHRpb24gYXMgU2VsZWN0Mk9wdGlvbikudmFsdWUgPT09IHZhbHVlKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGdyb3VwT3JPcHRpb24gYXMgU2VsZWN0Mk9wdGlvbjtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgICAgICByZXR1cm4gbnVsbDtcclxuICAgIH1cclxuXHJcbiAgICBzdGF0aWMgZ2V0T3B0aW9uc0J5VmFsdWUoXHJcbiAgICAgICAgZGF0YTogU2VsZWN0MkRhdGEsXHJcbiAgICAgICAgdmFsdWU6IFNlbGVjdDJVcGRhdGVWYWx1ZSB8IG51bGwgfCB1bmRlZmluZWQsXHJcbiAgICAgICAgbXVsdGlwbGU6IGJvb2xlYW4gfCBudWxsIHwgdW5kZWZpbmVkXHJcbiAgICApIHtcclxuICAgICAgICBpZiAobXVsdGlwbGUpIHtcclxuICAgICAgICAgICAgY29uc3QgdmFsdWVzOiBTZWxlY3QyVmFsdWVbXSA9IEFycmF5LmlzQXJyYXkodmFsdWUpID8gdmFsdWUgOiBbXTtcclxuICAgICAgICAgICAgY29uc3QgcmVzdWx0OiBTZWxlY3QyT3B0aW9uW10gPSBbXTtcclxuICAgICAgICAgICAgZm9yIChjb25zdCB2IG9mIHZhbHVlcykge1xyXG4gICAgICAgICAgICAgICAgY29uc3Qgb3B0aW9uID0gU2VsZWN0MlV0aWxzLmdldE9wdGlvbkJ5VmFsdWUoZGF0YSwgdik7XHJcbiAgICAgICAgICAgICAgICBpZiAob3B0aW9uKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgcmVzdWx0LnB1c2gob3B0aW9uKTtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICByZXR1cm4gcmVzdWx0O1xyXG4gICAgICAgIH1cclxuICAgICAgICByZXR1cm4gU2VsZWN0MlV0aWxzLmdldE9wdGlvbkJ5VmFsdWUoZGF0YSwgdmFsdWUgYXMgU2VsZWN0MlZhbHVlIHwgbnVsbCB8IHVuZGVmaW5lZCk7XHJcbiAgICB9XHJcblxyXG4gICAgc3RhdGljIGdldEZpcnN0QXZhaWxhYmxlT3B0aW9uKGRhdGE6IFNlbGVjdDJEYXRhKSB7XHJcbiAgICAgICAgZm9yIChjb25zdCBncm91cE9yT3B0aW9uIG9mIGRhdGEpIHtcclxuICAgICAgICAgICAgY29uc3Qgb3B0aW9ucyA9IChncm91cE9yT3B0aW9uIGFzIFNlbGVjdDJHcm91cCkub3B0aW9ucztcclxuICAgICAgICAgICAgaWYgKG9wdGlvbnMpIHtcclxuICAgICAgICAgICAgICAgIGZvciAoY29uc3Qgb3B0aW9uIG9mIG9wdGlvbnMpIHtcclxuICAgICAgICAgICAgICAgICAgICBpZiAoIW9wdGlvbi5kaXNhYmxlZCkge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gb3B0aW9uLnZhbHVlO1xyXG4gICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgICAgIGNvbnN0IG9wdGlvbiA9IGdyb3VwT3JPcHRpb24gYXMgU2VsZWN0Mk9wdGlvbjtcclxuICAgICAgICAgICAgICAgIGlmICghb3B0aW9uLmRpc2FibGVkKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIG9wdGlvbi52YWx1ZTtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgICAgICByZXR1cm4gbnVsbDtcclxuICAgIH1cclxuXHJcbiAgICBwcml2YXRlIHN0YXRpYyBnZXRPcHRpb25zQ291bnQoZGF0YTogU2VsZWN0MkRhdGEpIHtcclxuICAgICAgICBsZXQgY291bnQgPSAwO1xyXG4gICAgICAgIGZvciAoY29uc3QgZ3JvdXBPck9wdGlvbiBvZiBkYXRhKSB7XHJcbiAgICAgICAgICAgIGNvbnN0IG9wdGlvbnMgPSAoZ3JvdXBPck9wdGlvbiBhcyBTZWxlY3QyR3JvdXApLm9wdGlvbnM7XHJcbiAgICAgICAgICAgIGlmIChvcHRpb25zKSB7XHJcbiAgICAgICAgICAgICAgICBjb3VudCArPSBvcHRpb25zLmxlbmd0aDtcclxuICAgICAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgICAgIGNvdW50Kys7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICAgICAgcmV0dXJuIGNvdW50O1xyXG4gICAgfVxyXG5cclxuICAgIHN0YXRpYyB2YWx1ZUlzTm90SW5GaWx0ZXJlZERhdGEoZmlsdGVyZWREYXRhOiBTZWxlY3QyRGF0YSwgdmFsdWU6IFNlbGVjdDJWYWx1ZSB8IG51bGwgfCB1bmRlZmluZWQpIHtcclxuICAgICAgICBpZiAoU2VsZWN0MlV0aWxzLmlzTnVsbE9yVW5kZWZpbmVkKHZhbHVlKSkge1xyXG4gICAgICAgICAgICByZXR1cm4gdHJ1ZTtcclxuICAgICAgICB9XHJcbiAgICAgICAgZm9yIChjb25zdCBncm91cE9yT3B0aW9uIG9mIGZpbHRlcmVkRGF0YSkge1xyXG4gICAgICAgICAgICBjb25zdCBvcHRpb25zID0gKGdyb3VwT3JPcHRpb24gYXMgU2VsZWN0Mkdyb3VwKS5vcHRpb25zO1xyXG4gICAgICAgICAgICBpZiAob3B0aW9ucykge1xyXG4gICAgICAgICAgICAgICAgZm9yIChjb25zdCBvcHRpb24gb2Ygb3B0aW9ucykge1xyXG4gICAgICAgICAgICAgICAgICAgIGlmIChvcHRpb24udmFsdWUgPT09IHZhbHVlKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTtcclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAgICAgICBpZiAoKGdyb3VwT3JPcHRpb24gYXMgU2VsZWN0Mk9wdGlvbikudmFsdWUgPT09IHZhbHVlKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgICAgIHJldHVybiB0cnVlO1xyXG4gICAgfVxyXG5cclxuICAgIC8vIHRzbGludDpkaXNhYmxlLW5leHQtbGluZTpjb2duaXRpdmUtY29tcGxleGl0eVxyXG4gICAgc3RhdGljIGdldFByZXZpb3VzT3B0aW9uKGZpbHRlcmVkRGF0YTogU2VsZWN0MkRhdGEsIGhvdmVyaW5nVmFsdWU6IFNlbGVjdDJWYWx1ZSB8IG51bGwgfCB1bmRlZmluZWQpIHtcclxuICAgICAgICBsZXQgZmluZEl0ID0gU2VsZWN0MlV0aWxzLmlzTnVsbE9yVW5kZWZpbmVkKGhvdmVyaW5nVmFsdWUpO1xyXG4gICAgICAgIGZvciAobGV0IGkgPSBmaWx0ZXJlZERhdGEubGVuZ3RoIC0gMTsgaSA+PSAwOyBpLS0pIHtcclxuICAgICAgICAgICAgY29uc3QgZ3JvdXBPck9wdGlvbiA9IGZpbHRlcmVkRGF0YVtpXTtcclxuICAgICAgICAgICAgY29uc3Qgb3B0aW9ucyA9IChncm91cE9yT3B0aW9uIGFzIFNlbGVjdDJHcm91cCkub3B0aW9ucztcclxuICAgICAgICAgICAgaWYgKG9wdGlvbnMpIHtcclxuICAgICAgICAgICAgICAgIGZvciAobGV0IGogPSBvcHRpb25zLmxlbmd0aCAtIDE7IGogPj0gMDsgai0tKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgY29uc3Qgb3B0aW9uID0gb3B0aW9uc1tqXTtcclxuICAgICAgICAgICAgICAgICAgICBpZiAoZmluZEl0KSB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmICghb3B0aW9uLmRpc2FibGVkKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gb3B0aW9uLnZhbHVlO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgICAgIGZpbmRJdCA9IG9wdGlvbi52YWx1ZSA9PT0gaG92ZXJpbmdWYWx1ZTtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgICAgIGNvbnN0IG9wdGlvbiA9IGdyb3VwT3JPcHRpb24gYXMgU2VsZWN0Mk9wdGlvbjtcclxuICAgICAgICAgICAgICAgIGlmIChmaW5kSXQpIHtcclxuICAgICAgICAgICAgICAgICAgICBpZiAoIW9wdGlvbi5kaXNhYmxlZCkge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gb3B0aW9uLnZhbHVlO1xyXG4gICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIGZpbmRJdCA9IG9wdGlvbi52YWx1ZSA9PT0gaG92ZXJpbmdWYWx1ZTtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgICAgICByZXR1cm4gZmluZEl0ID8gaG92ZXJpbmdWYWx1ZSA6IG51bGw7XHJcbiAgICB9XHJcbiAgICAvLyB0c2xpbnQ6ZGlzYWJsZS1uZXh0LWxpbmU6Y29nbml0aXZlLWNvbXBsZXhpdHlcclxuICAgIHN0YXRpYyBnZXROZXh0T3B0aW9uKGZpbHRlcmVkRGF0YTogU2VsZWN0MkRhdGEsIGhvdmVyaW5nVmFsdWU6IFNlbGVjdDJWYWx1ZSB8IG51bGwgfCB1bmRlZmluZWQpIHtcclxuICAgICAgICBsZXQgZmluZEl0ID0gU2VsZWN0MlV0aWxzLmlzTnVsbE9yVW5kZWZpbmVkKGhvdmVyaW5nVmFsdWUpO1xyXG4gICAgICAgIGZvciAoY29uc3QgZ3JvdXBPck9wdGlvbiBvZiBmaWx0ZXJlZERhdGEpIHtcclxuICAgICAgICAgICAgY29uc3Qgb3B0aW9ucyA9IChncm91cE9yT3B0aW9uIGFzIFNlbGVjdDJHcm91cCkub3B0aW9ucztcclxuICAgICAgICAgICAgaWYgKG9wdGlvbnMpIHtcclxuICAgICAgICAgICAgICAgIGZvciAoY29uc3Qgb3B0aW9uIG9mIG9wdGlvbnMpIHtcclxuICAgICAgICAgICAgICAgICAgICBpZiAoZmluZEl0KSB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmICghb3B0aW9uLmRpc2FibGVkKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gb3B0aW9uLnZhbHVlO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgZmluZEl0ID0gb3B0aW9uLnZhbHVlID09PSBob3ZlcmluZ1ZhbHVlO1xyXG4gICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgICAgIGNvbnN0IG9wdGlvbiA9IGdyb3VwT3JPcHRpb24gYXMgU2VsZWN0Mk9wdGlvbjtcclxuICAgICAgICAgICAgICAgIGlmIChmaW5kSXQpIHtcclxuICAgICAgICAgICAgICAgICAgICBpZiAoIW9wdGlvbi5kaXNhYmxlZCkge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gb3B0aW9uLnZhbHVlO1xyXG4gICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIH0gZWxzZSB7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vbGxUb3BJbmRleCArPSBzY3JvbGxUb3AgLSBsYXN0U2Nyb2xsVG9wSW5kZXggLSA1O1xyXG4gICAgICAgICAgICAgICAgY29uc3QgaXRlbSA9IHJlc3VsdHMucXVlcnlTZWxlY3RvckFsbCgnbGknKS5pdGVtKHNjcm9sbFRvcCk7XHJcbiAgICAgICAgICAgICAgICBpZiAoaXRlbSkge1xyXG4gICAgICAgICAgICAgICAgICAgIHJlc3VsdHMuc2Nyb2xsVG9wID0gaXRlbS5vZmZzZXRUb3AgLSByZXN1bHRzLm9mZnNldEhlaWdodDtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIHJldHVybiBsYXN0U2Nyb2xsVG9wSW5kZXg7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgaWYgKGxhc3RTY3JvbGxUb3BJbmRleCAtIHNjcm9sbFRvcCA+IDApIHtcclxuICAgICAgICAgICAgICAgIGxhc3RTY3JvbGxUb3BJbmRleCAtPSBsYXN0U2Nyb2xsVG9wSW5kZXggLSBzY3JvbGxUb3A7XHJcbiAgICAgICAgICAgICAgICBjb25zdCBpdGVtID0gcmVzdWx0cy5xdWVyeVNlbGVjdG9yQWxsKCdsaScpLml0ZW0obGFzdFNjcm9sbFRvcEluZGV4IC0gMSk7XHJcbiAgICAgICAgICAgICAgICBpZiAoaXRlbSkge1xyXG4gICAgICAgICAgICAgICAgICAgIHJlc3VsdHMuc2Nyb2xsVG9wID0gaXRlbS5vZmZzZXRUb3A7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICByZXR1cm4gbGFzdFNjcm9sbFRvcEluZGV4O1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICBwcml2YXRlIHN0YXRpYyBjb250YWluU2VhcmNoVGV4dChcclxuICAgICAgICBsYWJlbDogc3RyaW5nLFxyXG4gICAgICAgI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cm4pKSkge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBjb25zdCBmaWx0ZXJlZE9wdGlvbnMgPSBvcHRpb25zLmZpbHRlcihcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGdyb3VwID0+IFNlbGVjdDJVdGlscy5jb250YWluU2VhcmNoVGV4dChncm91cC5sYWJlbCwgc2VhcmNoVGV4dCwgZWRpdFBhdHRlcm4pXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICk7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHJlc3VsdC5wdXNoKHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxhYmVsOiBncm91cE9yT3B0aW9uLmxhYmVsLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgb3B0aW9uczogZmlsdGVyZWRPcHRpb25zXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoU2VsZWN0MlV0aWxzLmNvbnRhaW5TZWFyY2hUZXh0KGdyb3VwT3JPcHRpb24ubGFiZWwsIHNlYXJjaFRleHQsIGVkaXRQYXR0ZXJuKSkge1xyXG4gICAgICAgICAgICAgICAgICAgIHJlc3VsdC5wdXNoKGdyb3VwT3JPcHRpb24pO1xyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIHJldHVybiByZXN1bHQ7XHJcbiAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgcmV0dXJuIGRhdGE7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgIHN0YXRpYyBnZXRPcHRpb25TdHlsZSh2YWx1ZTogU2VsZWN0MlZhbHVlLCBob3ZlcmluZ1ZhbHVlOiBTZWxlY3QyVmFsdWUgfCBudWxsIHwgdW5kZWZpbmVkKSB7XHJcbiAgICAgICAgcmV0dXJuIHZhbHVlID09PSBob3Zlcmlu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hbiB8IG51bGwgfCB1bmRlZmluZWRcclxuICAgICkge1xyXG4gICAgICAgIGlmIChtdWx0aXBsZSkge1xyXG4gICAgICAgICAgICByZXR1cm4gb3B0aW9ucyAmJiAob3B0aW9ucyBhcyBTZWxlY3QyT3B0aW9uW10pLnNvbWUob3AgPT4gb3AudmFsdWUgPT09IG9wdGlvbi52YWx1ZSkgPyAndHJ1ZScgOiAnZmFsc2UnO1xyXG4gICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAgIHJldHVybiBvcHRpb25zICYmIG9wdGlvbi52YWx1ZSA9PT0gKG9wdGlvbnMgYXMgU2VsZWN0Mk9wdGlvbikudmFsdWUgPyAndHJ1ZScgOiAnZmFsc2UnO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICBzdGF0aWMgcmVtb3ZlU2VsZWN0aW9uKG9wdGlvbnM6IFNlbGVjdDJPcHRpb24gfCBTZWxlY3QyT3B0aW9uW10gfCBudWxsLCBvcHRpb246IFNlbGVjdDJPcHRpb24pIHtcclxuICAgICAgICBmb3IgKGxldCBpID0gMDsgaSA8IChvcHRpb25zIGFzIFNlbGVjdDJPcHRpb25bXSkubGVuZ3RoOyBpKyspIHtcclxuICAgICAgICAgICAgaWYgKChvcHRpb25zIGFzIFNlbGVjdDJPcHRpb25bXSlbaV0udmFsdWUgPT09IG9wdGlvbi52YWx1ZSkge1xyXG4gICAgICAgICAgICAgICAgKG9wdGlvbnMgYXMgU2VsZWN0Mk9wdGlvbltdKS5zcGxpY2UoaSwgMSk7XHJcbiAgICAgICAgICAgICAgICByZXR1cm47XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICB9XHJcbn1cclxuIl19 |
@@ -10,2 +10,3 @@ /** | ||
import { Select2Hint } from './select2-hint.component'; | ||
import { Select2Label } from './select2-label.component'; | ||
export class Select2Module { | ||
@@ -22,2 +23,3 @@ } | ||
Select2Hint, | ||
Select2Label, | ||
Select2 | ||
@@ -29,7 +31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JlYWN0aXZlRm9ybXNNb2R1bGVcclxuICBdLFxyXG4gIGRlY2xhcmF0aW9uczogW1xyXG4gICAgU2VsZWN0MkhpbnQsXHJcbiAgICBTZWxlY3QyTGFiZWwsXHJcbiAgICBTZWxlY3QyXHJcbiAgXSxcclxuICBleHBvcnRzOiBbXHJcbiAgICBGb3Jtc01vZHVsZSxcclxuICAgIFJlYWN0aXZlRm9ybXNNb2R1bGUsXHJcbiAgICBTZWxlY3QySGludCxcclxuICAgIFNlbGVjdDJMYWJlbCxcclxuICAgIFNlbGVjdDJcclxuICBdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBTZWxlY3QyTW9kdWxlIHsgfVxyXG4iXX0= |
@@ -8,4 +8,4 @@ /** | ||
*/ | ||
export { Select2, Select2Hint, timeout, Select2Utils, Select2Module } from './public_api'; | ||
export { Select2, Select2Hint, Select2Label, timeout, Select2Utils, Select2Module } from './public_api'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctc2VsZWN0Mi1jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZy1zZWxlY3QyLWNvbXBvbmVudC8iLCJzb3VyY2VzIjpbIm5nLXNlbGVjdDItY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSwyRUFBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctc2VsZWN0Mi1jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZy1zZWxlY3QyLWNvbXBvbmVudC8iLCJzb3VyY2VzIjpbIm5nLXNlbGVjdDItY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSx5RkFBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0= |
@@ -10,5 +10,6 @@ /** | ||
export { Select2Hint } from './lib/select2-hint.component'; | ||
export { Select2Label } from './lib/select2-label.component'; | ||
export { timeout, Select2Utils } from './lib/select2-utils'; | ||
export { Select2Module } from './lib/select2.module'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25nLXNlbGVjdDItY29tcG9uZW50LyIsInNvdXJjZXMiOlsicHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsd0JBQWMseUJBQXlCLENBQUM7QUFDeEMsNEJBQWMsOEJBQThCLENBQUM7QUFDN0Msc0NBQWMscUJBQXFCLENBQUM7QUFDcEMsOEJBQWMsc0JBQXNCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxyXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2Ygbmctc2VsZWN0Mi1jb21wb25lbnRcclxuICovXHJcblxyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9zZWxlY3QyLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL3NlbGVjdDItaGludC5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9zZWxlY3QyLXV0aWxzJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvc2VsZWN0Mi5tb2R1bGUnO1xyXG4iXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25nLXNlbGVjdDItY29tcG9uZW50LyIsInNvdXJjZXMiOlsicHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsd0JBQWMseUJBQXlCLENBQUM7QUFDeEMsNEJBQWMsOEJBQThCLENBQUM7QUFDN0MsNkJBQWMsK0JBQStCLENBQUM7QUFDOUMsc0NBQWMscUJBQXFCLENBQUM7QUFDcEMsOEJBQWMsc0JBQXNCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxyXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2Ygbmctc2VsZWN0Mi1jb21wb25lbnRcclxuICovXHJcblxyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9zZWxlY3QyLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL3NlbGVjdDItaGludC5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9zZWxlY3QyLWxhYmVsLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL3NlbGVjdDItdXRpbHMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9zZWxlY3QyLm1vZHVsZSc7XHJcbiJdfQ== |
@@ -10,3 +10,3 @@ /** | ||
Select2Hint.decorators = [ | ||
{ type: Directive, args: [{ selector: 'select2-hint' },] }, | ||
{ type: Directive, args: [{ selector: 'select2-hint' },] } | ||
]; | ||
@@ -13,0 +13,0 @@ return Select2Hint; |
@@ -10,2 +10,3 @@ /** | ||
import { Select2Hint } from './select2-hint.component'; | ||
import { Select2Label } from './select2-label.component'; | ||
var Select2Module = /** @class */ (function () { | ||
@@ -23,2 +24,3 @@ function Select2Module() { | ||
Select2Hint, | ||
Select2Label, | ||
Select2 | ||
@@ -30,5 +32,6 @@ ], | ||
Select2Hint, | ||
Select2Label, | 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UsXHJcbiAgICBSZWFjdGl2ZUZvcm1zTW9kdWxlXHJcbiAgXSxcclxuICBkZWNsYXJhdGlvbnM6IFtcclxuICAgIFNlbGVjdDJIaW50LFxyXG4gICAgU2VsZWN0MkxhYmVsLFxyXG4gICAgU2VsZWN0MlxyXG4gIF0sXHJcbiAgZXhwb3J0czogW1xyXG4gICAgRm9ybXNNb2R1bGUsXHJcbiAgICBSZWFjdGl2ZUZvcm1zTW9kdWxlLFxyXG4gICAgU2VsZWN0MkhpbnQsXHJcbiAgICBTZWxlY3QyTGFiZWwsXHJcbiAgICBTZWxlY3QyXHJcbiAgXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgU2VsZWN0Mk1vZHVsZSB7IH1cclxuIl19 |
@@ -8,4 +8,4 @@ /** | ||
*/ | ||
export { Select2, Select2Hint, timeout, Select2Utils, Select2Module } from './public_api'; | ||
export { Select2, Select2Hint, Select2Label, timeout, Select2Utils, Select2Module } from './public_api'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctc2VsZWN0Mi1jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZy1zZWxlY3QyLWNvbXBvbmVudC8iLCJzb3VyY2VzIjpbIm5nLXNlbGVjdDItY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSwyRUFBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctc2VsZWN0Mi1jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZy1zZWxlY3QyLWNvbXBvbmVudC8iLCJzb3VyY2VzIjpbIm5nLXNlbGVjdDItY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSx5RkFBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0= |
@@ -10,5 +10,6 @@ /** | ||
export { Select2Hint } from './lib/select2-hint.component'; | ||
export { Select2Label } from './lib/select2-label.component'; | ||
export { timeout, Select2Utils } from './lib/select2-utils'; | ||
export { Select2Module } from './lib/select2.module'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25nLXNlbGVjdDItY29tcG9uZW50LyIsInNvdXJjZXMiOlsicHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsd0JBQWMseUJBQXlCLENBQUM7QUFDeEMsNEJBQWMsOEJBQThCLENBQUM7QUFDN0Msc0NBQWMscUJBQXFCLENBQUM7QUFDcEMsOEJBQWMsc0JBQXNCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxyXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2Ygbmctc2VsZWN0Mi1jb21wb25lbnRcclxuICovXHJcblxyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9zZWxlY3QyLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL3NlbGVjdDItaGludC5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9zZWxlY3QyLXV0aWxzJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvc2VsZWN0Mi5tb2R1bGUnO1xyXG4iXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25nLXNlbGVjdDItY29tcG9uZW50LyIsInNvdXJjZXMiOlsicHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsd0JBQWMseUJBQXlCLENBQUM7QUFDeEMsNEJBQWMsOEJBQThCLENBQUM7QUFDN0MsNkJBQWMsK0JBQStCLENBQUM7QUFDOUMsc0NBQWMscUJBQXFCLENBQUM7QUFDcEMsOEJBQWMsc0JBQXNCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxyXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2Ygbmctc2VsZWN0Mi1jb21wb25lbnRcclxuICovXHJcblxyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9zZWxlY3QyLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL3NlbGVjdDItaGludC5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9zZWxlY3QyLWxhYmVsLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL3NlbGVjdDItdXRpbHMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9zZWxlY3QyLm1vZHVsZSc7XHJcbiJdfQ== |
@@ -18,16 +18,16 @@ export interface Select2Group { | ||
export declare class Select2Utils { | ||
private static getScrollUpIndex(data, value); | ||
private static getScrollUpIndex; | ||
static getOptionByValue(data: Select2Data, value: Select2Value | null | undefined): Select2Option; | ||
static getOptionsByValue(data: Select2Data, value: Select2UpdateValue | null | undefined, multiple: boolean | null | undefined): Select2Option | Select2Option[]; | ||
static getFirstAvailableOption(data: Select2Data): Select2Value; | ||
private static getOptionsCount(data); | ||
private static getOptionsCount; | ||
static valueIsNotInFilteredData(filteredData: Select2Data, value: Select2Value | null | undefined): boolean; | ||
static getPreviousOption(filteredData: Select2Data, hoveringValue: Select2Value | null | undefined): Select2Value; | ||
static getNextOption(filteredData: Select2Data, hoveringValue: Select2Value | null | undefined): Select2Value; | ||
private static isNullOrUndefined(value); | ||
private static isNullOrUndefined; | ||
static getLastScrollTopIndex(hoveringValue: Select2Value | null | undefined, results: HTMLElement, filteredData: Select2Data, lastScrollTopIndex: number): number; | ||
private static containSearchText(label, searchText, editPattern); | ||
private static protectPattern(str); | ||
private static formatSansUnicode(str); | ||
private static formatPattern(str, editPattern); | ||
private static containSearchText; | ||
private static protectPattern; | ||
private static formatSansUnicode; | ||
private static formatPattern; | ||
static getFilteredData(data: Select2Data, searchText: string | null, editPattern?: (str: string) => string): Select2Data; | ||
@@ -34,0 +34,0 @@ static getOptionStyle(value: Select2Value, hoveringValue: Select2Value | null | undefined): "select2-results__option select2-results__option--highlighted" | "select2-results__option"; |
@@ -46,3 +46,3 @@ import { EventEmitter, ElementRef, ChangeDetectorRef, OnInit, OnDestroy, DoCheck, AfterViewInit } from '@angular/core'; | ||
searchText: string; | ||
readonly dropdownStyle: string; | ||
readonly dropdownStyle: "select2-container select2-container--default select2-container-dropdown select2-container--open" | "select2-container select2-container--default select2-container-dropdown"; | ||
readonly filteredData: Select2Data; | ||
@@ -85,18 +85,18 @@ readonly containerStyle: string; | ||
toggleOpenAndClose(): void; | ||
private clickDetection(e); | ||
private clickExit(); | ||
private ifParentContainsClass(element, cssClass); | ||
private ifParentContainsId(element, id); | ||
private getParentElementByClass(element, cssClass); | ||
private getParentElementById(element, id); | ||
private containClasses(element, cssClasses); | ||
private clickDetection; | ||
private clickExit; | ||
private ifParentContainsClass; | ||
private ifParentContainsId; | ||
private getParentElementByClass; | ||
private getParentElementById; | ||
private containClasses; | ||
focusin(): void; | ||
focusout(): void; | ||
private moveUp(); | ||
private moveDown(); | ||
private selectByEnter(); | ||
private moveUp; | ||
private moveDown; | ||
private selectByEnter; | ||
select(option: Select2Option | null): void; | ||
keyDown(e: KeyboardEvent): void; | ||
openKey(e: KeyboardEvent): void; | ||
trackBy(index: number, item: Select2Option): any; | ||
trackBy(_index: number, item: Select2Option): any; | ||
searchUpdate(e: Event): void; | ||
@@ -134,2 +134,5 @@ isSelected(option: Select2Option): "true" | "false"; | ||
_isErrorState(): boolean; | ||
private _testKey; | ||
private _getKey; | ||
private _isKey; | ||
/** | ||
@@ -139,7 +142,7 @@ * Sets the selected option based on a value. If no option can be | ||
*/ | ||
private _setSelectionByValue(value); | ||
private _setSelectionByValue; | ||
/** Does some manual dirty checking on the native input `value` property. */ | ||
private _dirtyCheckNativeValue(); | ||
private _coerceBooleanProperty(value); | ||
private focusSearchboxOrResultsElement(); | ||
private _dirtyCheckNativeValue; | ||
private _coerceBooleanProperty; | ||
private focusSearchboxOrResultsElement; | ||
} |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"Select2":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":16,"character":1},"arguments":[{"selector":"select2","template":"<div [class]=\"containerStyle\">\n <div class=\"selection\"\n #selection\n [attr.tabindex]=\"!this.isOpen ? tabIndex : '-1'\"\n (click)=\"toggleOpenAndClose()\"\n (focus)=\"focusin()\"\n (blur)=\"focusout()\"\n (keydown)=\"openKey($event)\"\n [class.select2-focused]=\"focused\">\n <div [class]=\"selectionStyle\"\n role=\"combobox\">\n <span *ngIf=\"!multiple\"\n class=\"select2-selection__rendered\"\n [title]=\"select2Option ? select2Option.label : ''\">\n <span *ngIf=\"!select2Option\"> </span>\n <ng-container *ngIf=\"select2Option\">{{select2Option.label}}</ng-container>\n <span [class.select2-selection__placeholder__option]=\"option\"\n class=\"select2-selection__placeholder\">{{placeholder}}</span>\n </span>\n <span *ngIf=\"!multiple\"\n class=\"select2-selection__arrow\"\n role=\"presentation\">\n <b role=\"presentation\"></b>\n </span>\n <ul *ngIf=\"multiple\"\n class=\"select2-selection__rendered\">\n <span [class.select2-selection__placeholder__option]=\"select2Options?.length > 0\"\n class=\"select2-selection__placeholder\">{{placeholder}}</span>\n <li *ngFor=\"let op of option; trackBy: trackBy\"\n class=\"select2-selection__choice\"\n [title]=\"op.label\">\n <span (click)=\"removeSelection($event, op)\"\n class=\"select2-selection__choice__remove\"\n role=\"presentation\">×</span>\n {{op.label}}\n </li>\n </ul>\n </div>\n <div class=\"select2-subscript-wrapper\">\n <ng-content select=\"select2-hint\"></ng-content>\n </div>\n </div>\n <div [class]=\"dropdownStyle\">\n <div class=\"select2-dropdown select2-dropdown--below\">\n <div [class]=\"searchStyle\">\n <input #searchInput\n [id]=\"id + '-search-field'\"\n [(value)]=\"searchText\"\n (keydown)=\"keyDown($event)\"\n (keyup)=\"searchUpdate($event)\"\n class=\"select2-search__field\"\n type=\"search\"\n role=\"textbox\"\n autocomplete=\"off\"\n autocorrect=\"off\"\n autocapitalize=\"off\"\n spellcheck=\"false\"\n [attr.tabindex]=\"this.isOpen ? tabIndex : '-1'\">\n </div>\n <div class=\"select2-results\">\n <ul #results\n class=\"select2-results__options\"\n role=\"tree\"\n tabindex=\"-1\"\n (keydown)=\"keyDown($event)\">\n <ng-template ngFor\n [ngForOf]=\"filteredData\"\n let-groupOrOption\n [ngForTrackBy]=\"trackBy\">\n <li *ngIf=\"groupOrOption.options\"\n class=\"select2-results__option\"\n role=\"group\">\n <strong [attr.class]=\"'select2-results__group' + (groupOrOption.classes ? ' ' + groupOrOption.classes : '')\">{{groupOrOption.label}}</strong>\n <ul class=\"select2-results__options select2-results__options--nested\">\n <li *ngFor=\"let option of groupOrOption.options; trackBy:trackBy\"\n [class]=\"getOptionStyle(option)\"\n role=\"treeitem\"\n [attr.aria-selected]=\"isSelected(option)\"\n [attr.aria-disabled]=\"isDisabled(option)\"\n (mouseenter)=\"mouseenter(option)\"\n (click)=\"click(option)\">{{option.label}}</li>\n </ul>\n </li>\n <li *ngIf=\"!groupOrOption.options\"\n [class]=\"getOptionStyle(groupOrOption)\"\n role=\"treeitem\"\n [attr.aria-selected]=\"isSelected(groupOrOption)\"\n [attr.aria-disabled]=\"isDisabled(groupOrOption)\"\n (mouseenter)=\"mouseenter(groupOrOption)\"\n (click)=\"click(groupOrOption)\">\n {{groupOrOption.label}}\n </li>\n </ng-template>\n </ul>\n </div>\n </div>\n </div>\n</div>","styles":[".select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle;width:100%}.select2-container .select2-container-dropdown{position:absolute}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{position:relative}.select2-container .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:#fff;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{padding:6px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select2-results__option[aria-selected]{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff}.select2-hidden-accessible{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:4px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:700}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__placeholder__option{display:none}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent;border-style:solid;border-width:5px 4px 0;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888;border-width:0 4px 5px}.select2-container--default .select2-selection--multiple{background-color:#fff;border:1px solid #aaa;border-radius:4px;cursor:text}.select2-container--default .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection--multiple .select2-selection__rendered li{list-style:none}.select2-container--default .select2-selection--multiple .select2-selection__placeholder{color:#999;margin-top:5px;float:left}.select2-container--default .select2-selection--multiple .select2-selection__placeholder__option{display:none}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-top:5px;margin-right:10px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333}.select2-container--default.select2-container--focused .select2-selection--multiple,.select2-container--default:not(.select2-container--open) .select2-focused .select2-selection--multiple,.select2-container--default:not(.select2-container--open) .select2-focused .select2-selection--single{border:1px solid #000;outline:0}.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--above .select2-selection--single{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--below .select2-selection--single{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa}.select2-container--default .select2-search--inline .select2-search__field{background:0 0;border:none;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999}.select2-container--default .select2-results__option[aria-selected=true]{background-color:#ddd}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:#fff}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px;color:gray}:host.material{display:inline-block;width:300px}:host.material>.select2-container{padding-bottom:1.29688em;vertical-align:inherit}:host.material>.select2-container .selection{padding:.4375em 0;border-top:.84375em solid transparent;display:inline-flex;align-items:baseline;width:100%;height:auto}:host.material .select2-container--default .select2-selection--multiple,:host.material .select2-container--default .select2-selection--single{width:100%;border:0;border-radius:0;height:24px;box-sizing:border-box}:host.material .select2-container--default .select2-selection--multiple::before,:host.material .select2-container--default .select2-selection--single::before{content:' ';display:block;position:absolute;bottom:1.65em;background-color:#ddd;height:1px;width:100%}:host.material .select2-container--default .select2-selection--multiple::after,:host.material .select2-container--default .select2-selection--single::after{content:' ';display:block;position:absolute;bottom:1.63em;background-color:#5a419e;height:2px;width:0%;left:50%;transition:none}:host.material .select2-container--default .select2-selection--multiple .select2-selection__rendered,:host.material .select2-container--default .select2-selection--single .select2-selection__rendered{padding-left:1px;line-height:inherit}:host.material .select2-container--default .select2-selection--multiple .select2-selection__placeholder,:host.material .select2-container--default .select2-selection--single .select2-selection__placeholder{display:block;color:rgba(0,0,0,.38);transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;position:absolute;-webkit-transform-origin:0 21px;transform-origin:0 21px;left:0;top:20px}:host.material .select2-container--default .select2-container--open{left:0;bottom:1.6em}:host.material .select2-container--default .select2-selection__placeholder__option{-webkit-transform:translateY(-1.5em) scale(.75) perspective(100px) translateZ(.001px);transform:translateY(-1.5em) scale(.75) perspective(100px) translateZ(.001px);width:133.33333%}:host.material .select2-container--default .select2-selection__arrow{top:20px}:host.material .select2-container--default .select2-focused .select2-selection--multiple::after,:host.material .select2-container--default .select2-focused .select2-selection--single::after,:host.material .select2-container--default.select2-container--open .select2-selection--multiple::after,:host.material .select2-container--default.select2-container--open .select2-selection--single::after{transition:width .3s cubic-bezier(.12,1,.77,1),left .3s cubic-bezier(.12,1,.77,1);width:100%;left:0}:host.material .select2-container--default .select2-dropdown{border-radius:0;border:0;box-shadow:0 5px 5px rgba(0,0,0,.5)}:host.material .select2-container--default .select2-results__option--highlighted[aria-selected],:host.material .select2-container--default .select2-results__option[aria-selected=true]{background-color:rgba(0,0,0,.04);color:#000}:host.material .select2-container--default .select2-results__option[aria-selected=true]{color:#ff5722}:host.material .select2-container--default.select2-container--disabled .select2-selection--multiple,:host.material .select2-container--default.select2-container--disabled .select2-selection--single{background-color:transparent}:host.material .select2-container--default.select2-container--disabled .select2-selection--multiple::before,:host.material .select2-container--default.select2-container--disabled .select2-selection--single::before{background-image:linear-gradient(to right,rgba(0,0,0,.26) 0,rgba(0,0,0,.26) 33%,transparent 0);background-size:4px 1px;background-repeat:repeat-x;background-color:transparent;background-position:0 bottom}:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--multiple::after,:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--multiple::before,:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--single::after,:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--single::before{background-color:red}:host.material:not(.select2-container--open) .select2-focused .select2-selection--multiple,:host.material:not(.select2-container--open) .select2-focused .select2-selection--single{border:0}:host.material .select2-subscript-wrapper{position:absolute;top:calc(100% - 1.72917em);font-size:75%}@supports (-moz-appearance:none){select2.material .select2-container--default .select2-selection--multiple,select2.material .select2-container--default .select2-selection--single{height:26px}}@supports (-ms-scroll-limit:0){select2.material .select2-container--default .select2-selection--multiple,select2.material .select2-container--default .select2-selection--single{height:25px}}"]}]}],"members":{"data":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":121,"character":3}}]}],"minCountForSearch":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":123,"character":3}}]}],"placeholder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":124,"character":3}}]}],"customSearchEnabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":125,"character":3}}]}],"multiple":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":126,"character":3}}]}],"material":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":129,"character":3}}]}],"editPattern":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":132,"character":3}}]}],"update":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":134,"character":3}}]}],"open":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":135,"character":3}}]}],"search":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":136,"character":3}}]}],"selection":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":142,"character":3},"arguments":["selection"]}]}],"results":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":143,"character":3},"arguments":["results"]}]}],"searchInput":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":144,"character":3},"arguments":["searchInput"]}]}],"id":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":221,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":222,"character":3},"arguments":["id"]}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":227,"character":3}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":232,"character":3}}]}],"readonly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":237,"character":3}}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":242,"character":3}}]}],"tabIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":252,"character":3}}]}],"ariaInvalid":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":260,"character":3},"arguments":["attr.aria-invalid"]}]}],"classMaterial":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":265,"character":3},"arguments":["class.material"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":285,"character":5}}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":286,"character":5}}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Self","line":287,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":287,"character":13}}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Attribute","line":288,"character":5},"arguments":["tabindex"]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":284,"character":32},{"__symbolic":"reference","module":"@angular/forms","name":"NgForm","line":285,"character":37},{"__symbolic":"reference","module":"@angular/forms","name":"FormGroupDirective","line":286,"character":42},{"__symbolic":"reference","module":"@angular/forms","name":"NgControl","line":287,"character":41},{"__symbolic":"reference","name":"string"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngDoCheck":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"getOptionStyle":[{"__symbolic":"method"}],"mouseenter":[{"__symbolic":"method"}],"click":[{"__symbolic":"method"}],"toggleOpenAndClose":[{"__symbolic":"method"}],"clickDetection":[{"__symbolic":"method"}],"clickExit":[{"__symbolic":"method"}],"ifParentContainsClass":[{"__symbolic":"method"}],"ifParentContainsId":[{"__symbolic":"method"}],"getParentElementByClass":[{"__symbolic":"method"}],"getParentElementById":[{"__symbolic":"method"}],"containClasses":[{"__symbolic":"method"}],"focusin":[{"__symbolic":"method"}],"focusout":[{"__symbolic":"method"}],"moveUp":[{"__symbolic":"method"}],"moveDown":[{"__symbolic":"method"}],"selectByEnter":[{"__symbolic":"method"}],"select":[{"__symbolic":"method"}],"keyDown":[{"__symbolic":"method"}],"openKey":[{"__symbolic":"method"}],"trackBy":[{"__symbolic":"method"}],"searchUpdate":[{"__symbolic":"method"}],"isSelected":[{"__symbolic":"method"}],"isDisabled":[{"__symbolic":"method"}],"removeSelection":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"setDisabledState":[{"__symbolic":"method"}],"_isErrorState":[{"__symbolic":"method"}],"_setSelectionByValue":[{"__symbolic":"method"}],"_dirtyCheckNativeValue":[{"__symbolic":"method"}],"_coerceBooleanProperty":[{"__symbolic":"method"}],"focusSearchboxOrResultsElement":[{"__symbolic":"method"}]}},"Select2Hint":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":2,"character":1},"arguments":[{"selector":"select2-hint"}]}],"members":{}},"Select2Group":{"__symbolic":"interface"},"Select2Option":{"__symbolic":"interface"},"Select2Value":{"__symbolic":"interface"},"Select2UpdateValue":{"__symbolic":"interface"},"Select2Data":{"__symbolic":"interface"},"timeout":200,"Select2Utils":{"__symbolic":"class","members":{},"statics":{"isNullOrUndefined":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"value"},"right":null},"right":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"value"},"right":{"__symbolic":"reference","name":"undefined"}}}},"containSearchText":{"__symbolic":"function","parameters":["label","searchText","editPattern"],"value":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"searchText"},"thenExpression":{"__symbolic":"binop","operator":"!==","left":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"Select2Utils"},"member":"formatSansUnicode"},"arguments":[{"__symbolic":"reference","name":"label"}]},"member":"match"},"arguments":[{"__symbolic":"new","expression":{"__symbolic":"reference","name":"RegExp"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"Select2Utils"},"member":"formatPattern"},"arguments":[{"__symbolic":"reference","name":"searchText"},{"__symbolic":"reference","name":"editPattern"}]},"i"]}]},"right":null},"elseExpression":true}},"protectPattern":{"__symbolic":"function","parameters":["str"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"str"},"member":"replace"},"arguments":[{"__symbolic":"new","expression":{"__symbolic":"reference","name":"RegExp"},"arguments":["[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]","g"]},"\\$&"]}},"getOptionStyle":{"__symbolic":"function","parameters":["value","hoveringValue"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"value"},"right":{"__symbolic":"reference","name":"hoveringValue"}},"thenExpression":"select2-results__option select2-results__option--highlighted","elseExpression":"select2-results__option"}},"getDropdownStyle":{"__symbolic":"function","parameters":["isOpen"],"value":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"isOpen"},"thenExpression":"select2-container select2-container--default select2-container-dropdown select2-container--open","elseExpression":"select2-container select2-container--default select2-container-dropdown"}},"getContainerStyle":{"__symbolic":"function","parameters":["disabled","isOpen"],"value":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":"select2 select2-container select2-container--default ","right":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"disabled"},"thenExpression":"select2-container--disabled","elseExpression":""}},"right":" "},"right":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"isOpen"},"thenExpression":"select2-container--open","elseExpression":""},"right":" select2-container--below select2-container--focus"}}},"getSelectionStyle":{"__symbolic":"function","parameters":["multiple"],"value":{"__symbolic":"binop","operator":"+","left":"select2-selection select2-selection--","right":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"multiple"},"thenExpression":"multiple","elseExpression":"single"}}},"getSearchStyle":{"__symbolic":"function","parameters":["isHidden"],"value":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"isHidden"},"thenExpression":"select2-search select2-search--dropdown select2-search--hide","elseExpression":"select2-search select2-search--dropdown"}}}},"Select2Module":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":6,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":8,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":9,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":10,"character":4}],"declarations":[{"__symbolic":"reference","name":"Select2Hint"},{"__symbolic":"reference","name":"Select2"}],"exports":[{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":17,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":18,"character":4},{"__symbolic":"reference","name":"Select2Hint"},{"__symbolic":"reference","name":"Select2"}]}]}],"members":{}}},"origins":{"Select2":"./lib/select2.component","Select2Hint":"./lib/select2-hint.component","Select2Group":"./lib/select2-utils","Select2Option":"./lib/select2-utils","Select2Value":"./lib/select2-utils","Select2UpdateValue":"./lib/select2-utils","Select2Data":"./lib/select2-utils","timeout":"./lib/select2-utils","Select2Utils":"./lib/select2-utils","Select2Module":"./lib/select2.module"},"importAs":"ng-select2-component"} | ||
{"__symbolic":"module","version":4,"metadata":{"Select2":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":16,"character":1},"arguments":[{"selector":"select2","template":"<div class=\"select2-lalel\"\r\n (click)=\"toggleOpenAndClose()\">\r\n <ng-content select=\"select2-label\"></ng-content>\r\n</div>\r\n<div [class]=\"containerStyle\">\r\n <div class=\"selection\"\r\n #selection\r\n [attr.tabindex]=\"!this.isOpen ? tabIndex : '-1'\"\r\n (click)=\"toggleOpenAndClose()\"\r\n (focus)=\"focusin()\"\r\n (blur)=\"focusout()\"\r\n (keydown)=\"openKey($event)\"\r\n [class.select2-focused]=\"focused\">\r\n <div [class]=\"selectionStyle\"\r\n role=\"combobox\">\r\n <span *ngIf=\"!multiple\"\r\n class=\"select2-selection__rendered\"\r\n [title]=\"select2Option ? select2Option.label : ''\">\r\n <span *ngIf=\"!select2Option\"> </span>\r\n <ng-container *ngIf=\"select2Option\">{{select2Option.label}}</ng-container>\r\n <span [class.select2-selection__placeholder__option]=\"option\"\r\n class=\"select2-selection__placeholder\">{{placeholder}}</span>\r\n </span>\r\n <span *ngIf=\"!multiple\"\r\n class=\"select2-selection__arrow\"\r\n role=\"presentation\">\r\n <b role=\"presentation\"></b>\r\n </span>\r\n <ul *ngIf=\"multiple\"\r\n class=\"select2-selection__rendered\">\r\n <span [class.select2-selection__placeholder__option]=\"select2Options?.length > 0\"\r\n class=\"select2-selection__placeholder\">{{placeholder}}</span>\r\n <li *ngFor=\"let op of option; trackBy: trackBy\"\r\n class=\"select2-selection__choice\"\r\n [title]=\"op.label\">\r\n <span (click)=\"removeSelection($event, op)\"\r\n class=\"select2-selection__choice__remove\"\r\n role=\"presentation\">×</span>\r\n {{op.label}}\r\n </li>\r\n </ul>\r\n </div>\r\n <div class=\"select2-subscript-wrapper\">\r\n <ng-content select=\"select2-hint\"></ng-content>\r\n </div>\r\n </div>\r\n <div [class]=\"dropdownStyle\">\r\n <div class=\"select2-dropdown select2-dropdown--below\">\r\n <div [class]=\"searchStyle\">\r\n <input #searchInput\r\n [id]=\"id + '-search-field'\"\r\n [(value)]=\"searchText\"\r\n (keydown)=\"keyDown($event)\"\r\n (keyup)=\"searchUpdate($event)\"\r\n class=\"select2-search__field\"\r\n type=\"search\"\r\n role=\"textbox\"\r\n autocomplete=\"off\"\r\n autocorrect=\"off\"\r\n autocapitalize=\"off\"\r\n spellcheck=\"false\"\r\n [attr.tabindex]=\"this.isOpen ? tabIndex : '-1'\">\r\n </div>\r\n <div class=\"select2-results\">\r\n <ul #results\r\n class=\"select2-results__options\"\r\n role=\"tree\"\r\n tabindex=\"-1\"\r\n (keydown)=\"keyDown($event)\">\r\n <ng-template ngFor\r\n [ngForOf]=\"filteredData\"\r\n let-groupOrOption\r\n [ngForTrackBy]=\"trackBy\">\r\n <li *ngIf=\"groupOrOption.options\"\r\n class=\"select2-results__option\"\r\n role=\"group\">\r\n <strong [attr.class]=\"'select2-results__group' + (groupOrOption.classes ? ' ' + groupOrOption.classes : '')\">{{groupOrOption.label}}</strong>\r\n <ul class=\"select2-results__options select2-results__options--nested\">\r\n <li *ngFor=\"let option of groupOrOption.options; trackBy:trackBy\"\r\n [class]=\"getOptionStyle(option)\"\r\n role=\"treeitem\"\r\n [attr.aria-selected]=\"isSelected(option)\"\r\n [attr.aria-disabled]=\"isDisabled(option)\"\r\n (mouseenter)=\"mouseenter(option)\"\r\n (click)=\"click(option)\">{{option.label}}</li>\r\n </ul>\r\n </li>\r\n <li *ngIf=\"!groupOrOption.options\"\r\n [class]=\"getOptionStyle(groupOrOption)\"\r\n role=\"treeitem\"\r\n [attr.aria-selected]=\"isSelected(groupOrOption)\"\r\n [attr.aria-disabled]=\"isDisabled(groupOrOption)\"\r\n (mouseenter)=\"mouseenter(groupOrOption)\"\r\n (click)=\"click(groupOrOption)\">\r\n {{groupOrOption.label}}\r\n </li>\r\n </ng-template>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n</div>","styles":[".select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle;width:100%}.select2-container .select2-container-dropdown{position:absolute;width:0}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{position:relative}.select2-container .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:#fff;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{padding:6px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select2-results__option[aria-selected]{cursor:pointer}.select2-container.select2-container-dropdown.select2-container--open{width:100%}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff}.select2-hidden-accessible{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:4px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:700}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__placeholder__option{display:none}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent;border-style:solid;border-width:5px 4px 0;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888;border-width:0 4px 5px}.select2-container--default .select2-selection--multiple{background-color:#fff;border:1px solid #aaa;border-radius:4px;cursor:text}.select2-container--default .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection--multiple .select2-selection__rendered li{list-style:none}.select2-container--default .select2-selection--multiple .select2-selection__placeholder{color:#999;margin-top:5px;float:left}.select2-container--default .select2-selection--multiple .select2-selection__placeholder__option{display:none}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-top:5px;margin-right:10px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333}.select2-container--default.select2-container--focused .select2-selection--multiple,.select2-container--default:not(.select2-container--open) .select2-focused .select2-selection--multiple,.select2-container--default:not(.select2-container--open) .select2-focused .select2-selection--single{border:1px solid #000;outline:0}.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--above .select2-selection--single{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--below .select2-selection--single{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa}.select2-container--default .select2-search--inline .select2-search__field{background:0 0;border:none;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999}.select2-container--default .select2-results__option[aria-selected=true]{background-color:#ddd}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:#fff}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px;color:gray}:host.material{display:inline-block;width:300px}:host.material>.select2-container{padding-bottom:1.29688em;vertical-align:inherit}:host.material>.select2-container .selection{padding:.4375em 0;border-top:.84375em solid transparent;display:inline-flex;align-items:baseline;width:100%;height:auto}:host.material .select2-container--default .select2-selection--multiple,:host.material .select2-container--default .select2-selection--single{width:100%;border:0;border-radius:0;height:24px;box-sizing:border-box}:host.material .select2-container--default .select2-selection--multiple::before,:host.material .select2-container--default .select2-selection--single::before{content:' ';display:block;position:absolute;bottom:1.65em;background-color:#ddd;height:1px;width:100%}:host.material .select2-container--default .select2-selection--multiple::after,:host.material .select2-container--default .select2-selection--single::after{content:' ';display:block;position:absolute;bottom:1.63em;background-color:#5a419e;height:2px;width:0%;left:50%;transition:none}:host.material .select2-container--default .select2-selection--multiple .select2-selection__rendered,:host.material .select2-container--default .select2-selection--single .select2-selection__rendered{padding-left:1px;line-height:inherit}:host.material .select2-container--default .select2-selection--multiple .select2-selection__placeholder,:host.material .select2-container--default .select2-selection--single .select2-selection__placeholder{display:block;color:rgba(0,0,0,.38);transition:transform .3s;transition:transform .3s,-webkit-transform .3s;position:absolute;-webkit-transform-origin:0 21px;transform-origin:0 21px;left:0;top:20px}:host.material .select2-container--default .select2-container--open{left:0;bottom:1.6em}:host.material .select2-container--default .select2-selection__placeholder__option{-webkit-transform:translateY(-1.5em) scale(.75) perspective(100px) translateZ(.001px);transform:translateY(-1.5em) scale(.75) perspective(100px) translateZ(.001px);width:133.33333%}:host.material .select2-container--default .select2-selection__arrow{top:20px}:host.material .select2-container--default .select2-focused .select2-selection--multiple::after,:host.material .select2-container--default .select2-focused .select2-selection--single::after,:host.material .select2-container--default.select2-container--open .select2-selection--multiple::after,:host.material .select2-container--default.select2-container--open .select2-selection--single::after{transition:width .3s cubic-bezier(.12,1,.77,1),left .3s cubic-bezier(.12,1,.77,1);width:100%;left:0}:host.material .select2-container--default .select2-dropdown{border-radius:0;border:0;box-shadow:0 5px 5px rgba(0,0,0,.5)}:host.material .select2-container--default .select2-results__option--highlighted[aria-selected],:host.material .select2-container--default .select2-results__option[aria-selected=true]{background-color:rgba(0,0,0,.04);color:#000}:host.material .select2-container--default .select2-results__option[aria-selected=true]{color:#ff5722}:host.material .select2-container--default.select2-container--disabled .select2-selection--multiple,:host.material .select2-container--default.select2-container--disabled .select2-selection--single{background-color:transparent}:host.material .select2-container--default.select2-container--disabled .select2-selection--multiple::before,:host.material .select2-container--default.select2-container--disabled .select2-selection--single::before{background-image:linear-gradient(to right,rgba(0,0,0,.26) 0,rgba(0,0,0,.26) 33%,transparent 0);background-size:4px 1px;background-repeat:repeat-x;background-color:transparent;background-position:0 bottom}:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--multiple::after,:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--multiple::before,:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--single::after,:host.material.ng-invalid.ng-touched .select2-container--default .select2-selection--single::before{background-color:red}:host.material:not(.select2-container--open) .select2-focused .select2-selection--multiple,:host.material:not(.select2-container--open) .select2-focused .select2-selection--single{border:0}:host.material .select2-subscript-wrapper{position:absolute;top:calc(100% - 1.72917em);font-size:75%}@supports (-moz-appearance:none){select2.material .select2-container--default .select2-selection--multiple,select2.material .select2-container--default .select2-selection--single{height:26px}}@supports (-ms-scroll-limit:0){select2.material .select2-container--default .select2-selection--multiple,select2.material .select2-container--default .select2-selection--single{height:25px}}"]}]}],"members":{"data":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":24,"character":3}}]}],"minCountForSearch":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}}]}],"placeholder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}}]}],"customSearchEnabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":28,"character":3}}]}],"multiple":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":3}}]}],"material":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"editPattern":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"update":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":37,"character":3}}]}],"open":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":38,"character":3}}]}],"search":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":39,"character":3}}]}],"selection":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":45,"character":3},"arguments":["selection"]}]}],"results":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":46,"character":3},"arguments":["results"]}]}],"searchInput":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":47,"character":3},"arguments":["searchInput"]}]}],"id":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":124,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":125,"character":3},"arguments":["id"]}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":130,"character":3}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":135,"character":3}}]}],"readonly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":140,"character":3}}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":145,"character":3}}]}],"tabIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":155,"character":3}}]}],"ariaInvalid":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":163,"character":3},"arguments":["attr.aria-invalid"]}]}],"classMaterial":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":168,"character":3},"arguments":["class.material"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":188,"character":5}}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":189,"character":5}}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Self","line":190,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":190,"character":13}}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Attribute","line":191,"character":5},"arguments":["tabindex"]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":187,"character":32},{"__symbolic":"reference","module":"@angular/forms","name":"NgForm","line":188,"character":37},{"__symbolic":"reference","module":"@angular/forms","name":"FormGroupDirective","line":189,"character":42},{"__symbolic":"reference","module":"@angular/forms","name":"NgControl","line":190,"character":41},{"__symbolic":"reference","name":"string"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngDoCheck":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"getOptionStyle":[{"__symbolic":"method"}],"mouseenter":[{"__symbolic":"method"}],"click":[{"__symbolic":"method"}],"toggleOpenAndClose":[{"__symbolic":"method"}],"clickDetection":[{"__symbolic":"method"}],"clickExit":[{"__symbolic":"method"}],"ifParentContainsClass":[{"__symbolic":"method"}],"ifParentContainsId":[{"__symbolic":"method"}],"getParentElementByClass":[{"__symbolic":"method"}],"getParentElementById":[{"__symbolic":"method"}],"containClasses":[{"__symbolic":"method"}],"focusin":[{"__symbolic":"method"}],"focusout":[{"__symbolic":"method"}],"moveUp":[{"__symbolic":"method"}],"moveDown":[{"__symbolic":"method"}],"selectByEnter":[{"__symbolic":"method"}],"select":[{"__symbolic":"method"}],"keyDown":[{"__symbolic":"method"}],"openKey":[{"__symbolic":"method"}],"trackBy":[{"__symbolic":"method"}],"searchUpdate":[{"__symbolic":"method"}],"isSelected":[{"__symbolic":"method"}],"isDisabled":[{"__symbolic":"method"}],"removeSelection":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"setDisabledState":[{"__symbolic":"method"}],"_isErrorState":[{"__symbolic":"method"}],"_testKey":[{"__symbolic":"method"}],"_getKey":[{"__symbolic":"method"}],"_isKey":[{"__symbolic":"method"}],"_setSelectionByValue":[{"__symbolic":"method"}],"_dirtyCheckNativeValue":[{"__symbolic":"method"}],"_coerceBooleanProperty":[{"__symbolic":"method"}],"focusSearchboxOrResultsElement":[{"__symbolic":"method"}]}},"Select2Hint":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":2,"character":1},"arguments":[{"selector":"select2-hint"}]}],"members":{}},"Select2Label":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":2,"character":1},"arguments":[{"selector":"select2-label"}]}],"members":{}},"Select2Group":{"__symbolic":"interface"},"Select2Option":{"__symbolic":"interface"},"Select2Value":{"__symbolic":"interface"},"Select2UpdateValue":{"__symbolic":"interface"},"Select2Data":{"__symbolic":"interface"},"timeout":200,"Select2Utils":{"__symbolic":"class","members":{},"statics":{"isNullOrUndefined":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"value"},"right":null},"right":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"value"},"right":{"__symbolic":"reference","name":"undefined"}}}},"containSearchText":{"__symbolic":"function","parameters":["label","searchText","editPattern"],"value":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"searchText"},"thenExpression":{"__symbolic":"binop","operator":"!==","left":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"Select2Utils"},"member":"formatSansUnicode"},"arguments":[{"__symbolic":"reference","name":"label"}]},"member":"match"},"arguments":[{"__symbolic":"new","expression":{"__symbolic":"reference","name":"RegExp"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"Select2Utils"},"member":"formatPattern"},"arguments":[{"__symbolic":"reference","name":"searchText"},{"__symbolic":"reference","name":"editPattern"}]},"i"]}]},"right":null},"elseExpression":true}},"protectPattern":{"__symbolic":"function","parameters":["str"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"str"},"member":"replace"},"arguments":[{"__symbolic":"new","expression":{"__symbolic":"reference","name":"RegExp"},"arguments":["[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]","g"]},"\\$&"]}},"getOptionStyle":{"__symbolic":"function","parameters":["value","hoveringValue"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"value"},"right":{"__symbolic":"reference","name":"hoveringValue"}},"thenExpression":"select2-results__option select2-results__option--highlighted","elseExpression":"select2-results__option"}},"getDropdownStyle":{"__symbolic":"function","parameters":["isOpen"],"value":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"isOpen"},"thenExpression":"select2-container select2-container--default select2-container-dropdown select2-container--open","elseExpression":"select2-container select2-container--default select2-container-dropdown"}},"getContainerStyle":{"__symbolic":"function","parameters":["disabled","isOpen"],"value":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"binop","operator":"+","left":"select2 select2-container select2-container--default ","right":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"disabled"},"thenExpression":"select2-container--disabled","elseExpression":""}},"right":" "},"right":{"__symbolic":"binop","operator":"+","left":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"isOpen"},"thenExpression":"select2-container--open","elseExpression":""},"right":" select2-container--below select2-container--focus"}}},"getSelectionStyle":{"__symbolic":"function","parameters":["multiple"],"value":{"__symbolic":"binop","operator":"+","left":"select2-selection select2-selection--","right":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"multiple"},"thenExpression":"multiple","elseExpression":"single"}}},"getSearchStyle":{"__symbolic":"function","parameters":["isHidden"],"value":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"isHidden"},"thenExpression":"select2-search select2-search--dropdown select2-search--hide","elseExpression":"select2-search select2-search--dropdown"}}}},"Select2Module":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":7,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":9,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":10,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":11,"character":4}],"declarations":[{"__symbolic":"reference","name":"Select2Hint"},{"__symbolic":"reference","name":"Select2Label"},{"__symbolic":"reference","name":"Select2"}],"exports":[{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":19,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":20,"character":4},{"__symbolic":"reference","name":"Select2Hint"},{"__symbolic":"reference","name":"Select2Label"},{"__symbolic":"reference","name":"Select2"}]}]}],"members":{}}},"origins":{"Select2":"./lib/select2.component","Select2Hint":"./lib/select2-hint.component","Select2Label":"./lib/select2-label.component","Select2Group":"./lib/select2-utils","Select2Option":"./lib/select2-utils","Select2Value":"./lib/select2-utils","Select2UpdateValue":"./lib/select2-utils","Select2Data":"./lib/select2-utils","timeout":"./lib/select2-utils","Select2Utils":"./lib/select2-utils","Select2Module":"./lib/select2.module"},"importAs":"ng-select2-component"} |
{ | ||
"name": "ng-select2-component", | ||
"version": "6.0.3", | ||
"version": "7.0.0", | ||
"peerDependencies": { | ||
"@angular/common": "^6.0.0-rc.0 || ^6.0.0", | ||
"@angular/core": "^6.0.0-rc.0 || ^6.0.0" | ||
"@angular/common": "^7.0.0-rc.0 || ^7.0.0", | ||
"@angular/core": "^7.0.0-rc.0 || ^7.0.0" | ||
}, | ||
@@ -8,0 +8,0 @@ "repository": { |
export * from './lib/select2.component'; | ||
export * from './lib/select2-hint.component'; | ||
export * from './lib/select2-label.component'; | ||
export * from './lib/select2-utils'; | ||
export * from './lib/select2.module'; |
@@ -15,3 +15,3 @@ [![npm version](https://badge.fury.io/js/ng-select2-component.svg)](https://badge.fury.io/js/ng-select2-component) [![Downloads](https://img.shields.io/npm/dm/ng-select2-component.svg)](https://www.npmjs.com/package/ng-select2-component) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/Harvest-Dev/ng-select2/master/LICENSE.md) | ||
- Angular 6.0.0 and more | ||
- Angular 7.0.0 and more | ||
@@ -18,0 +18,0 @@ ## Demo |
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 too big to display
Sorry, the diff of this file is too big to display
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
35
8913
907339
12